/* J'Renee Bejeweled: pink, black and gold, with room to breathe. */
:root {
  color-scheme: light;
  --pink: #f606AC;
  --pink-deep: #c9058d;
  --ink: #010a11;
  --gold: #fcde94;
  --gold-deep: #b8924a;
  --paper: #ffffff;
  --ivory: #faf7f4;
  --tint: #f5f1ee;
  --muted: #6f6a6d;
  --line: #e9e4e1;
  --tabbar-h: 58px;
  --serif: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --sans: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: var(--sans); font-size: 15px; line-height: 1.5;
  color: var(--ink); background: var(--paper);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; color: inherit; }

/* ---------- top ---------- */
.top { position: sticky; top: 0; z-index: 20; }
.announce {
  display: block; text-align: center; background: var(--ink); color: var(--gold);
  padding: calc(env(safe-area-inset-top) + 9px) 16px 9px;
  font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
}
.topbar { background: rgba(255,255,255,.97); text-align: center; padding: 10px 16px; border-bottom: 1px solid var(--line); }
.wordmark { display: inline-block; }
.wordmark img { height: 46px; width: auto; margin: 0 auto; }

.banner {
  background: var(--ivory); color: var(--muted); font-size: 12px;
  padding: 8px 16px; display: flex; gap: 12px; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.banner button { background: none; border: 0; color: var(--ink); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; padding: 6px; }

.view {
  max-width: 1120px; margin: 0 auto;
  padding: 28px 20px calc(var(--tabbar-h) + env(safe-area-inset-bottom) + 32px);
  outline: none;
}

/* ---------- tab bar (words only) ---------- */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  display: grid; grid-template-columns: repeat(4, 1fr);
  height: calc(var(--tabbar-h) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  background: rgba(255,255,255,.97); border-top: 1px solid var(--line);
}
.tabbar a {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #8d878a;
}
.tabbar a.active { color: var(--ink); box-shadow: inset 0 2px 0 var(--pink); }
.count {
  background: var(--ink); color: var(--gold); border-radius: 999px;
  font-size: 10px; letter-spacing: 0; min-width: 18px; height: 18px; padding: 0 5px;
  display: inline-flex; align-items: center; justify-content: center;
}
.count[hidden] { display: none; }

/* ---------- type ---------- */
h1, h2 { font-family: var(--serif); font-weight: 600; margin: 0 0 14px; letter-spacing: .01em; line-height: 1.1; }
h1 { font-size: 36px; }
h2 { font-size: 30px; }
.eyebrow { font-size: 11px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-deep); margin: 0 0 10px; }
.sub { color: var(--muted); font-size: 13px; }
.sec { margin-top: 56px; }
.sec-head { text-align: center; margin-bottom: 22px; }
.sec-head h2 { margin: 0; }
.sec-head::after { content: ""; display: block; width: 36px; height: 1px; background: var(--gold-deep); margin: 16px auto 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--ink); border-radius: 0; padding: 15px 26px;
  font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  background: var(--ink); color: #fff; transition: background .2s, color .2s;
}
.btn.light { background: #fff; color: var(--ink); border-color: #fff; }
.btn.ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.8); }
.btn.outline { background: transparent; color: var(--ink); }
.btn.pink { background: var(--pink); border-color: var(--pink); color: #fff; }
.btn.block { width: 100%; }
.btn:disabled { background: #d9d4d6; border-color: #d9d4d6; color: #fff; cursor: not-allowed; }

/* ---------- full-bleed sections ---------- */
.bleed { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
.hero { position: relative; margin-top: -28px; background: var(--ink); color: #fff; overflow: hidden; }
.hero-img { position: relative; aspect-ratio: 4 / 5; max-height: 560px; width: 100%; }
.hero-img picture { display: block; width: 100%; height: 100%; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero-img::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 28%; background: linear-gradient(to top, var(--ink), rgba(1,10,17,0)); pointer-events: none; }
.hero-copy { padding: 6px 24px 40px; max-width: 560px; }
.hero .eyebrow { color: var(--gold); }
.hero h1 { color: #fff; font-size: 44px; font-weight: 500; margin-bottom: 10px; }
.hero p.lead { margin: 0 0 22px; font-size: 15px; color: rgba(255,255,255,.88); max-width: 34ch; }
.hero .acts { display: flex; gap: 10px; }
.hero .acts .btn { flex: 1; padding: 15px 12px; }
@media (min-width: 860px) {
  .hero { display: grid; grid-template-columns: 1fr 1fr; height: 600px; }
  .hero-img { order: 2; height: 600px; max-height: none; aspect-ratio: auto; }
  .hero-img::after { display: none; }
  .hero-img img { object-position: 50% 50%; }
  .hero-copy { align-self: center; padding: 56px 56px 56px max(56px, calc(50vw - 560px)); max-width: none; }
  .hero h1 { font-size: 60px; }
  .hero .acts .btn { flex: none; padding: 15px 26px; }
}

/* ---------- welcome ---------- */
.welcome { text-align: center; }
.welcome .quote { font-family: var(--serif); font-style: italic; font-size: 27px; line-height: 1.3; margin: 0 0 12px; }
.welcome .sig { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-deep); margin: 0 0 18px; }
.welcome p { color: var(--muted); margin: 0 auto; max-width: 52ch; }

/* ---------- categories and looks ---------- */
.cats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.cat {
  display: flex; align-items: center; justify-content: center; text-align: center;
  min-height: 84px; padding: 16px 12px; background: #fff; border: 1px solid var(--line);
  font-family: var(--serif); font-size: 20px; font-weight: 600; line-height: 1.15; transition: border-color .2s;
}
.cat:hover { border-color: var(--ink); }
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; justify-content: flex-start; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; padding: 10px 16px; border: 1px solid var(--line); background: #fff;
  font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
}
@media (min-width: 640px) { .cats { grid-template-columns: repeat(3, 1fr); } .chips { flex-wrap: wrap; justify-content: center; } }
@media (min-width: 960px) { .cats { grid-template-columns: repeat(5, 1fr); } }

/* ---------- product grid ---------- */
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px 14px; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(3, 1fr); gap: 34px 20px; } }
@media (min-width: 960px) { .grid { grid-template-columns: repeat(4, 1fr); } }
.card { display: flex; flex-direction: column; }
.card .ph { aspect-ratio: 4 / 5; background: var(--tint); position: relative; overflow: hidden; }
.card .ph img { position: relative; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .ph img { transform: scale(1.03); }
.ph .fb { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center; padding: 14px; font-family: var(--serif); font-style: italic; font-size: 16px; color: var(--muted); }
img.broken { visibility: hidden; }
.card .meta { padding: 12px 2px 0; display: flex; flex-direction: column; gap: 4px; }
.card .t { font-size: 13px; line-height: 1.35; color: #2a2427; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.price { font-weight: 600; font-size: 14px; color: var(--ink); letter-spacing: .02em; }
.price s { color: #9a9497; font-weight: 400; margin-left: 8px; }
.tag {
  position: absolute; top: 10px; left: 10px; z-index: 1;
  font-size: 9.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  background: #fff; color: var(--ink); padding: 5px 8px;
}
.tag.sale { background: var(--pink); color: #fff; }
.card.soldout img { opacity: .5; }

/* ---------- listing ---------- */
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 0 0 22px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
select {
  font: inherit; font-size: 12px; letter-spacing: .08em; padding: 9px 12px; border-radius: 0;
  border: 1px solid var(--line); background: #fff; color: var(--ink);
}
.more { display: flex; justify-content: center; margin-top: 34px; }
.back { display: inline-block; margin-bottom: 14px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-weight: 600; }

/* ---------- product page ---------- */
.pdp { display: grid; gap: 24px; }
@media (min-width: 800px) { .pdp { grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: start; } }
.gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 8px; scrollbar-width: none; }
.gallery::-webkit-scrollbar { display: none; }
.gallery img { flex: none; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; scroll-snap-align: start; background: var(--tint); }
.dots { display: flex; justify-content: center; gap: 8px; margin-top: 12px; }
.dots i { width: 6px; height: 6px; border-radius: 50%; background: #d8d2d4; }
.dots i.on { background: var(--ink); }
.pdp h1 { font-size: 32px; margin-bottom: 8px; }
.pdp .price { font-size: 18px; margin-bottom: 8px; }
.opt { margin-bottom: 18px; }
.opt label { display: block; font-size: 11px; font-weight: 600; margin-bottom: 8px; color: var(--muted); text-transform: uppercase; letter-spacing: .18em; }
.opt .vals { display: flex; flex-wrap: wrap; gap: 8px; }
.opt button { border: 1px solid var(--line); background: #fff; padding: 9px 15px; font-size: 13px; }
.opt button.on { border-color: var(--ink); font-weight: 600; }
.opt button.na { text-decoration: line-through; color: #b5afb2; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); background: #fff; }
.qty button { border: 0; background: none; width: 42px; height: 46px; font-size: 18px; }
.qty span { min-width: 22px; text-align: center; font-weight: 600; }
.buy { display: flex; gap: 10px; align-items: stretch; margin: 10px 0 26px; }
.buy .btn { flex: 1; }
.desc { line-height: 1.7; font-size: 14.5px; color: #3b3437; border-top: 1px solid var(--line); padding-top: 20px; }
.desc p { margin: 0 0 12px; }
.stock { font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 18px; }
.stock.out { color: var(--pink-deep); }

/* ---------- search ---------- */
.search { display: flex; gap: 0; margin-bottom: 22px; }
.search input {
  flex: 1; font: inherit; font-size: 16px; padding: 13px 14px;
  border: 1px solid var(--ink); border-right: 0; border-radius: 0; background: #fff; min-width: 0;
}

/* ---------- bag ---------- */
.cart-line { display: grid; grid-template-columns: 88px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart-line img { width: 88px; height: 110px; object-fit: cover; background: var(--tint); }
.cart-line .t { font-size: 14px; font-weight: 600; }
.cart-line .v { font-size: 13px; color: var(--muted); }
.cart-line .row { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; }
.cart-line .qty button { height: 36px; width: 36px; }
.link { background: none; border: 0; color: var(--muted); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; padding: 8px 0 0; }
.summary { background: var(--ivory); padding: 22px 20px; margin-top: 24px; }
.summary .line { display: flex; justify-content: space-between; font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.summary p { font-size: 13px; color: var(--muted); margin: 0 0 16px; }

/* ---------- Bling Bus ---------- */
.bus { margin-top: 64px; background: var(--ink); color: #fff; text-align: center; padding: 56px 24px 60px; }
.bus .inner { max-width: 880px; margin: 0 auto; }
.bus .eyebrow { color: var(--gold); }
.bus h2 { color: #fff; font-size: 36px; font-weight: 500; margin-bottom: 8px; }
.bus img { display: block; width: min(100%, 640px); height: auto; margin: 22px auto 24px; border: 1px solid rgba(252,222,148,.55); }
.bus p { margin: 0 auto 22px; max-width: 46ch; color: rgba(255,255,255,.82); }
.events { list-style: none; padding: 0; margin: 0 auto 30px; max-width: 520px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.events li { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.9); padding: 11px 0; border-bottom: 1px solid rgba(252,222,148,.28); }
.bus .acts { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

/* ---------- footer, install, misc ---------- */
.foot { padding: 44px 8px 0; text-align: center; font-size: 13px; color: var(--muted); line-height: 1.6; }
.foot img { height: 42px; width: auto; margin: 0 auto 14px; }
.foot b { color: var(--ink); font-weight: 600; }
.foot .links { display: flex; gap: 22px; justify-content: center; margin-top: 10px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink); }
.install { margin: 48px auto 0; max-width: 560px; text-align: center; border: 1px solid var(--line); padding: 20px; font-size: 14px; color: var(--muted); }
.install b { color: var(--ink); }
.install .btn { margin-top: 12px; }

.empty { text-align: center; padding: 56px 12px; color: var(--muted); }
.empty h1 { color: var(--ink); }
.empty .btn { margin-top: 12px; }
.skel { background: linear-gradient(90deg, #f3efec, #faf8f6, #f3efec); background-size: 200% 100%; animation: sh 1.2s infinite; }
@keyframes sh { to { background-position: -200% 0; } }

.toast {
  position: fixed; left: 50%; transform: translate(-50%, 16px); opacity: 0;
  bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom) + 16px);
  background: var(--ink); color: #fff; padding: 13px 20px;
  font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  transition: .25s; pointer-events: none; z-index: 30;
  max-width: calc(100% - 32px); text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Photo features: About, Cachet, Styling */
.feature { margin-top: 64px; display: grid; gap: 26px; text-align: center; }
.feature .f-img { margin: 0 auto; width: min(100%, 440px); aspect-ratio: 4 / 5; overflow: hidden; background: var(--tint); }
.feature .f-img.wide { width: 100%; max-width: 640px; aspect-ratio: 3 / 2; }
.feature .f-img img { width: 100%; height: 100%; object-fit: cover; }
.feature .f-copy { max-width: 46ch; margin: 0 auto; }
.feature h2 { margin-bottom: 12px; }
.feature .f-copy > p:not(.eyebrow):not(.quote):not(.sig) { color: var(--muted); margin: 0 0 22px; }
.welcome .f-copy > p:last-child { margin-bottom: 0; }
.feature .btn { min-width: 240px; }
@media (min-width: 860px) {
  .feature { grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; text-align: left; max-width: 1040px; margin-left: auto; margin-right: auto; }
  .feature .f-img { width: 100%; margin: 0; }
  .feature .f-copy { margin: 0; }
  .feature.rev .f-img { order: 2; }
  .welcome .quote { font-size: 32px; }
}
