/* =========================================================
   The Backdrop Club — Home
   ========================================================= */

:root {
  --cream: #f5f0ea;
  --cream-2: #efe7de;
  --paper: #fbf8f4;
  --ink: #1f1a17;
  --ink-2: #3a322d;
  --muted: #74685f;
  --line: #e2d8cd;
  --burgundy: #5a1620;
  --blush: #e3c2b2;

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;

  --container: 1200px;
  --gutter: 24px;
  --header-h: 72px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.no-scroll { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Type ---------- */
.eyebrow {
  font-size: 11px;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.eyebrow-light { color: rgba(255,255,255,.85); }
.section-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(32px, 3.6vw, 46px);
  line-height: 1.08;
  letter-spacing: -.005em;
}
.section-title.light { color: #fff; }
.body-text { color: var(--ink-2); font-size: 15px; max-width: 34ch; }
.small-text { font-size: 12px; color: var(--muted); max-width: 40ch; line-height: 1.55; }
.mini-head { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; margin: 22px 0 10px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px;
  font-size: 11.5px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  border: 1px solid transparent; border-radius: 1px;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
  white-space: nowrap;
}
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--burgundy); }
.btn-dark:disabled { opacity: .35; cursor: not-allowed; background: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--cream-2); }
.btn-outline-light { border-color: rgba(255,255,255,.85); color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--ink); }
.btn-outline { border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-block { width: 100%; margin-top: 10px; }
.text-btn { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: 14px; }
.text-btn:hover { color: var(--ink); }

.link-arrow {
  font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  border-bottom: 1px solid var(--ink); padding-bottom: 3px; display: inline-flex; gap: 8px;
}
.link-arrow .arrow { transition: transform .3s var(--ease); }
.link-arrow:hover .arrow { transform: translateX(4px); }

.round-btn {
  width: 40px; height: 40px; border-radius: 50%;
  display: inline-grid; place-items: center; font-size: 16px;
  transition: background .3s, color .3s, transform .3s;
}
.round-btn-light { background: #fff; color: var(--ink); box-shadow: 0 4px 16px rgba(31,26,23,.12); }
.round-btn-light:hover { transform: scale(1.06); }
.round-btn-ghost { color: #fff; }
.round-btn-ghost:hover { background: rgba(255,255,255,.15); }

.circle-arrow {
  flex: none; width: 30px; height: 30px; border: 1px solid var(--ink); border-radius: 50%;
  display: grid; place-items: center; font-size: 13px;
  transition: background .3s, color .3s;
}

.icon-btn { width: 36px; height: 36px; display: inline-grid; place-items: center; position: relative; }
.icon-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245,240,234,.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 32px; }
.logo {
  font-family: var(--serif); font-size: 22px; font-weight: 500;
  letter-spacing: .02em; text-transform: uppercase; white-space: nowrap;
}
.main-nav { display: flex; gap: 30px; margin: 0 auto; }
.main-nav a { font-size: 13px; position: relative; padding: 4px 0; white-space: nowrap; }
.main-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.main-nav a:hover::after { transform: scaleX(1); }
.main-nav .nav-quote-mobile { display: none; }
.header-actions { display: flex; align-items: center; gap: 4px; }
.header-quote { margin-left: 14px; padding: 12px 20px; }
.menu-toggle { display: none; }
.look-count {
  position: absolute; top: 2px; right: 0; min-width: 16px; height: 16px; border-radius: 8px;
  background: var(--burgundy); color: #fff; font-size: 10px; line-height: 16px; text-align: center; padding: 0 4px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  min-height: clamp(520px, 78vh, 760px);
  display: flex; align-items: center;
  background: #2a1714;
}
.hero-slides, .hero-slide, .hero-shade { position: absolute; inset: 0; }
.hero-slide {
  background-size: cover; background-position: center right;
  opacity: 0; transform: scale(1.06);
  transition: opacity 1.2s var(--ease), transform 7s linear;
}
.hero-slide.is-active { opacity: 1; transform: scale(1); }
.hero-shade {
  background:
    linear-gradient(90deg, rgba(20,12,10,.92) 0%, rgba(20,12,10,.7) 32%, rgba(20,12,10,.1) 62%, rgba(20,12,10,0) 100%),
    linear-gradient(0deg, rgba(20,12,10,.35), transparent 30%);
}
.hero-content { position: relative; z-index: 2; width: 100%; padding-top: 60px; padding-bottom: 80px; }
.hero-title {
  font-family: var(--serif); font-weight: 400; text-transform: uppercase;
  font-size: clamp(48px, 6.4vw, 88px); line-height: .94; letter-spacing: -.01em;
  margin-bottom: 22px;
}
.hero-text { font-size: 16px; font-weight: 300; max-width: 30ch; margin-bottom: 34px; color: rgba(255,255,255,.9); }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-content > * { opacity: 0; transform: translateY(18px); animation: rise .9s var(--ease) forwards; }
.hero-content > :nth-child(2) { animation-delay: .12s; }
.hero-content > :nth-child(3) { animation-delay: .24s; }
.hero-content > :nth-child(4) { animation-delay: .36s; }
@keyframes rise { to { opacity: 1; transform: none; } }

.hero-controls {
  position: absolute; z-index: 3; right: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
  bottom: 28px; display: flex; align-items: center; gap: 12px;
}
.hero-counter { font-size: 12px; letter-spacing: .12em; margin-right: 18px; }

/* ---------- Sections ---------- */
.section { padding: 84px 0; border-bottom: 1px solid var(--line); }
.section-head { margin-bottom: 40px; }
.section-head.center { text-align: center; }
.section-head.split { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; }
.split-right { display: flex; align-items: flex-end; gap: 48px; }

/* image hover shared */
.path-img, .look-img, .product-img, .cat-img, .world-card { overflow: hidden; }
.path-img img, .look-img img, .product-img img, .cat-card img, .world-card img {
  width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease);
}

/* ---------- 3 paths ---------- */
.paths { padding-top: 64px; }
.paths-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.path-card {
  display: flex; flex-direction: column; text-align: left; width: 100%;
  background: var(--paper); border: 1px solid var(--line);
  transition: border-color .35s, box-shadow .35s var(--ease), transform .35s var(--ease);
}
.path-img { aspect-ratio: 2 / 1; }
.path-body { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 18px 24px; }
.path-body h3 { font-size: 14px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 4px; }
.path-body p { font-size: 13px; color: var(--muted); }
.path-card:hover { border-color: var(--burgundy); box-shadow: 0 18px 40px -22px rgba(90,22,32,.45); transform: translateY(-3px); }
.path-card:hover img { transform: scale(1.05); }
.path-card:hover .circle-arrow { background: var(--ink); color: #fff; }

/* ---------- Collection ---------- */
.collection-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 12px; }
.cat-card { display: block; }
.cat-img { aspect-ratio: 1 / 1; }
.cat-card span {
  display: flex; justify-content: space-between; margin-top: 12px;
  font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
}
.cat-card i { font-style: normal; transition: transform .3s var(--ease); }
.cat-card:hover img { transform: scale(1.04); }
.cat-card:hover i { transform: translateX(4px); }

/* ---------- Shop by look ---------- */
.looks-layout { display: grid; grid-template-columns: 280px 1fr; gap: 40px; align-items: start; }
.looks-intro .body-text { margin: 18px 0 28px; }
.looks-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.look-img { aspect-ratio: 1 / .96; margin-bottom: 14px; }
.look-card h3 {
  display: flex; justify-content: space-between; font-size: 12.5px; font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase; margin-bottom: 2px;
}
.look-card h3 i { font-style: normal; transition: transform .3s var(--ease); }
.look-card p { font-size: 12px; color: var(--muted); }
.look-card:hover img { transform: scale(1.05); }
.look-card:hover h3 i { transform: translateX(4px); }

/* ---------- Featured ---------- */
.featured-layout { display: grid; grid-template-columns: 240px 1fr; gap: 40px; align-items: start; }
.featured-intro .section-title { margin-bottom: 30px; }
.featured-track-wrap { position: relative; min-width: 0; }
.featured-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 14px) / 4); gap: 14px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth;
}
.featured-track::-webkit-scrollbar { display: none; }
.product-card { position: relative; background: var(--paper); border: 1px solid var(--line); scroll-snap-align: start; }
.product-img { display: block; aspect-ratio: 3 / 2; }
.product-card:hover img { transform: scale(1.05); }
.product-body { padding: 12px 12px 14px; }
.product-body h3 { font-size: 13px; font-weight: 500; }
.product-body p { font-size: 12px; color: var(--muted); margin-bottom: 10px; }
.swatches { display: flex; gap: 6px; }
.swatches i { width: 12px; height: 12px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.06); }
.fav-btn {
  position: absolute; top: 8px; right: 8px; width: 28px; height: 28px; border-radius: 50%;
  background: rgba(255,255,255,.85); font-size: 14px; display: grid; place-items: center; transition: color .2s;
}
.fav-btn[aria-pressed="true"] { color: var(--burgundy); }
.featured-next { position: absolute; right: -20px; top: 32%; z-index: 2; }

/* ---------- Custom ---------- */
.custom { display: grid; grid-template-columns: 1fr 1fr; background: var(--cream-2); border-bottom: 1px solid var(--line); }
.custom-img { min-height: 460px; }
.custom-img img { width: 100%; height: 100%; object-fit: cover; }
.custom-content { padding: 80px clamp(24px, 6vw, 96px); align-self: center; }
.custom-content .body-text { margin: 18px 0 22px; max-width: 42ch; }
.custom-list { list-style: none; padding: 0; margin: 0 0 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.custom-list li { font-size: 13px; padding-left: 18px; position: relative; }
.custom-list li::before { content: ""; position: absolute; left: 0; top: .65em; width: 8px; height: 1px; background: var(--burgundy); }

/* ---------- Worlds ---------- */
.worlds-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.world-card { position: relative; aspect-ratio: 3 / 4; color: #fff; }
.world-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20,12,10,.85) 0%, rgba(20,12,10,.15) 55%, transparent); }
.world-body { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 22px; }
.world-num { font-size: 11px; letter-spacing: .2em; opacity: .8; }
.world-body h3 { font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.05; margin: 6px 0 8px; }
.world-body p { font-size: 12.5px; color: rgba(255,255,255,.82); max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s var(--ease), opacity .5s; }
.world-card:hover img { transform: scale(1.06); }
.world-card:hover p { max-height: 80px; opacity: 1; }

/* ---------- How it works ---------- */
.how-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.how-steps li { text-align: center; }
.how-num {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--burgundy); color: #fff; font-family: var(--serif); font-size: 22px; margin-bottom: 16px;
}
.how-steps h3 { font-family: var(--serif); font-size: 26px; font-weight: 400; margin-bottom: 8px; }
.how-steps p { font-size: 14px; color: var(--muted); max-width: 32ch; margin: 0 auto; }

/* ---------- Trade ---------- */
.trade { background: var(--burgundy); color: #fff; padding: 72px 0; }
.trade-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: end; }
.trade-right p { color: rgba(255,255,255,.82); margin-bottom: 24px; max-width: 46ch; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.75); padding: 72px 0 28px; font-size: 13px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-grid h4 { color: #fff; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; font-weight: 500; margin-bottom: 16px; }
.footer-grid a:not(.btn) { display: block; margin-bottom: 9px; transition: color .2s; }
.footer-grid a:not(.btn):hover { color: #fff; }
.footer-brand .logo { color: #fff; display: inline-block; margin-bottom: 10px; }
.footer-brand p { max-width: 32ch; margin-bottom: 24px; }
.footer-quote { margin-top: 10px; }
.newsletter { display: flex; flex-wrap: wrap; max-width: 340px; border-bottom: 1px solid rgba(255,255,255,.3); }
.newsletter input { flex: 1; background: none; border: 0; color: #fff; font: inherit; padding: 10px 0; outline: none; }
.newsletter input::placeholder { color: rgba(255,255,255,.5); }
.newsletter button { color: #fff; padding: 0 4px; font-size: 16px; }
.newsletter-ok { display: none; width: 100%; padding: 8px 0; color: var(--blush); }
.newsletter.is-sent input, .newsletter.is-sent button { display: none; }
.newsletter.is-sent .newsletter-ok { display: block; }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 56px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); font-size: 12px; }
.footer-bottom a:hover { color: #fff; }

/* ---------- Quiz overlay ---------- */
.quiz { position: fixed; inset: 0; z-index: 100; background: var(--cream); overflow-y: auto; animation: fade .4s var(--ease); }
.quiz[hidden] { display: none; }
@keyframes fade { from { opacity: 0; } }
.quiz-bar {
  position: sticky; top: 0; z-index: 2; height: var(--header-h); display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--gutter); background: rgba(245,240,234,.95); border-bottom: 1px solid var(--line);
}
.quiz-inner { max-width: 900px; margin: 0 auto; padding: 36px var(--gutter) 64px; }
.quiz-progress { display: flex; align-items: center; gap: 16px; margin-bottom: 36px; font-size: 12px; }
.quiz-progress-track { flex: 1; height: 4px; background: var(--line); border-radius: 2px; overflow: hidden; }
.quiz-progress-fill { height: 100%; width: 33.33%; background: var(--burgundy); transition: width .6s var(--ease); }
.quiz-step { display: none; text-align: center; }
.quiz-step.is-active { display: block; animation: stepIn .5s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateX(24px); } }
.quiz-title { font-family: var(--serif); font-weight: 400; text-transform: uppercase; font-size: clamp(30px, 4vw, 44px); line-height: 1.05; }
.quiz-sub { color: var(--muted); font-size: 14px; margin: 10px 0 30px; }
.quiz-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.quiz-option { display: block; text-align: center; padding: 6px; border: 1px solid transparent; transition: border-color .25s, background .25s; }
.quiz-option img { width: 100%; aspect-ratio: 8 / 7; object-fit: cover; transition: transform .6s var(--ease); }
.quiz-option span { display: block; padding: 10px 0 4px; font-size: 14px; }
.quiz-option:hover img { transform: scale(1.02); }
.quiz-option.is-selected { border-color: var(--burgundy); background: var(--paper); }
.quiz-option.is-selected span { color: var(--burgundy); font-weight: 500; }
.quiz-nav { display: flex; flex-direction: column; align-items: center; margin-top: 32px; }
.quiz-nav .btn { min-width: 200px; }
.quiz-result { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; text-align: left; align-items: center; }
.quiz-result-img img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.quiz-result-body .quiz-sub { margin-bottom: 0; }
.result-pieces { list-style: none; padding: 0; margin: 0 0 18px; border-top: 1px solid var(--line); }
.result-pieces li { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.result-pieces li span { color: var(--muted); font-size: 12px; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .header-inner { gap: 20px; }
  .main-nav { gap: 18px; }
  .header-quote { margin-left: 6px; padding: 11px 14px; }
}

@media (max-width: 1080px) {
  .main-nav { gap: 16px; }
  .collection-grid { grid-template-columns: repeat(4, 1fr); row-gap: 24px; }
  .looks-layout, .featured-layout { grid-template-columns: 1fr; gap: 28px; }
  .looks-intro .body-text { max-width: 52ch; }
  .featured-intro { display: flex; justify-content: space-between; align-items: flex-end; }
  .featured-intro .section-title { margin-bottom: 0; }
  .featured-next { right: 8px; }
  .worlds-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .menu-toggle { display: inline-grid; }
  .header-quote { display: none; }
  .header-inner { justify-content: space-between; }
  .main-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
    flex-direction: column; gap: 0; padding: 24px var(--gutter);
    background: var(--cream); transform: translateX(100%); transition: transform .45s var(--ease);
  }
  .main-nav.is-open { transform: none; }
  .main-nav a { font-family: var(--serif); font-size: 30px; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .main-nav a::after { display: none; }
  .main-nav .nav-quote-mobile { display: inline-flex; font-family: var(--sans); font-size: 12px; margin-top: 28px; padding: 16px; border: 0; }
  .paths-grid { grid-template-columns: 1fr; }
  .path-card { display: grid; grid-template-columns: 42% 1fr; }
  .path-img { aspect-ratio: auto; height: 100%; min-height: 120px; }
  .section-head.split { flex-direction: column; align-items: flex-start; }
  .split-right { gap: 24px; width: 100%; justify-content: space-between; }
  .looks-grid { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .featured-track { grid-auto-columns: 42%; }
  .custom { grid-template-columns: 1fr; }
  .custom-img { min-height: 300px; }
  .custom-content { padding: 56px var(--gutter); }
  .how-steps { grid-template-columns: 1fr; gap: 36px; }
  .trade-inner { grid-template-columns: 1fr; gap: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .quiz-result { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 600px) {
  :root { --gutter: 16px; }
  body { font-size: 14px; }
  .logo { font-size: 18px; }
  .header-actions .icon-btn[aria-label="Search"], .header-actions .icon-btn[aria-label="Saved pieces"] { display: none; }
  .hero { min-height: 600px; align-items: flex-end; }
  .hero-slide { background-position: 70% center; }
  .hero-shade { background: linear-gradient(0deg, rgba(20,12,10,.95) 0%, rgba(20,12,10,.7) 45%, rgba(20,12,10,.15) 100%); }
  .hero-content { padding-bottom: 96px; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .hero-controls { left: var(--gutter); right: auto; bottom: 24px; }
  .section { padding: 60px 0; }
  .section-head { margin-bottom: 28px; }
  .path-card { grid-template-columns: 38% 1fr; }
  .path-body { padding: 14px; }
  .path-body h3 { font-size: 12.5px; }
  .collection-grid { grid-template-columns: repeat(2, 1fr); }
  .featured-intro { flex-direction: column; align-items: flex-start; gap: 18px; }
  .featured-track { grid-auto-columns: 72%; }
  .featured-next { display: none; }
  .worlds-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .world-body { padding: 14px; }
  .world-body h3 { font-size: 20px; }
  .world-body p { display: none; }
  .custom-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .quiz-options { grid-template-columns: 1fr 1fr; gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .hero-content > * { opacity: 1; transform: none; }
}

/* =========================================================
   Shared UI: drawer, search, toast, qty, chips, tint
   ========================================================= */
.main-nav a.is-current::after { transform: scaleX(1); }
.btn-sm { padding: 10px 16px; font-size: 10.5px; }
.text-link { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid currentColor; padding-bottom: 1px; display: inline-block; }
.text-link:hover { color: var(--ink); }
.center { text-align: center; }

/* Color preview overlay */
.tint { position: absolute; inset: 0; background: var(--tint); mix-blend-mode: color; pointer-events: none; transition: opacity .4s var(--ease), background .4s var(--ease); }
.mini-img, .pdp-thumb, .pdp-main, .preview-img, .b-backdrop-img, .look-item-img { position: relative; overflow: hidden; display: block; }

/* Quantity stepper */
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); background: var(--paper); height: 46px; }
.qty button { width: 40px; height: 100%; font-size: 16px; }
.qty button:hover { background: var(--cream-2); }
.qty span { min-width: 28px; text-align: center; font-size: 14px; }
.qty-sm { height: 32px; }
.qty-sm button { width: 30px; }

/* Chips */
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 32px; }
.chip-row.center { justify-content: center; }
.chip { border: 1px solid var(--line); background: var(--paper); padding: 8px 16px; font-size: 12px; letter-spacing: .04em; border-radius: 40px; transition: border-color .2s, background .2s, color .2s; }
.chip:hover { border-color: var(--ink); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip-label { font-size: 12px; color: var(--muted); margin-right: 4px; }

/* Toast */
.toast { position: fixed; z-index: 200; left: 50%; bottom: 24px; transform: translate(-50%, 140%); background: var(--ink); color: #fff; padding: 14px 22px; font-size: 13px; box-shadow: 0 12px 30px rgba(0,0,0,.2); transition: transform .45s var(--ease); max-width: calc(100% - 32px); }
.toast.is-on { transform: translate(-50%, 0); }
.toast a { color: var(--blush); margin-left: 10px; text-decoration: underline; }

/* Cart drawer */
.drawer-backdrop { position: fixed; inset: 0; z-index: 90; background: rgba(31,26,23,.4); animation: fade .3s; }
.drawer { position: fixed; z-index: 95; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: var(--cream); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .45s var(--ease); box-shadow: -20px 0 40px rgba(0,0,0,.12); }
.drawer.is-open { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-family: var(--serif); font-weight: 400; font-size: 26px; }
.drawer-head h2 span { font-family: var(--sans); font-size: 13px; color: var(--muted); }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 22px; }
.drawer-foot { padding: 18px 22px 22px; border-top: 1px solid var(--line); background: var(--paper); }
.drawer-total { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; }
.drawer-total strong { font-family: var(--serif); font-size: 26px; font-weight: 500; }
.drawer-note { font-size: 11.5px; color: var(--muted); margin: 6px 0 6px; }
.mini-item { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.mini-img img { width: 76px; height: 76px; object-fit: cover; }
.mini-info h3 { font-size: 13.5px; font-weight: 500; }
.mini-info p { font-size: 12px; color: var(--muted); margin: 2px 0 8px; }
.mini-side { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; font-size: 13px; }
.drawer-empty { text-align: center; padding: 48px 8px; }
.drawer-empty-title { font-family: var(--serif); font-size: 28px; margin-bottom: 6px; }
.drawer-empty p { color: var(--muted); margin-bottom: 18px; }
.drawer-empty .text-link { margin-top: 18px; }

/* Search panel */
.search-panel { position: fixed; z-index: 80; top: 0; left: 0; right: 0; background: var(--cream); border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px rgba(0,0,0,.08); padding: 18px 0 26px; animation: fade .3s; }
.search-row { display: flex; align-items: center; gap: 14px; border-bottom: 1px solid var(--ink); padding-bottom: 10px; }
.search-row > svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.search-row input { flex: 1; border: 0; background: none; font-family: var(--serif); font-size: 28px; outline: none; color: var(--ink); }
.search-results { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 8px 24px; margin-top: 18px; max-height: 60vh; overflow-y: auto; }
.search-item { display: flex; gap: 12px; align-items: center; padding: 6px; transition: background .2s; }
.search-item:hover { background: var(--paper); }
.search-item img { width: 56px; height: 56px; object-fit: cover; }
.search-item span { display: flex; flex-direction: column; font-size: 12px; color: var(--muted); }
.search-item strong { font-size: 14px; color: var(--ink); font-weight: 500; }
.search-hint { color: var(--muted); font-size: 13px; }
.search-hint a { text-decoration: underline; }

/* =========================================================
   Inner pages
   ========================================================= */
.page { padding: 28px 0 88px; min-height: 60vh; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 12px; color: var(--muted); margin-bottom: 28px; }
.breadcrumb a:hover { color: var(--ink); }
.page-head { margin-bottom: 36px; }
.page-title { font-family: var(--serif); font-weight: 400; text-transform: uppercase; font-size: clamp(32px, 4vw, 48px); line-height: 1.05; }
.page-sub { color: var(--ink-2); font-size: 14.5px; margin-top: 10px; max-width: 60ch; }
.page-head.center .page-sub { margin-left: auto; margin-right: auto; }
.back-link { font-size: 12px; letter-spacing: .08em; color: var(--muted); display: inline-block; margin-bottom: 8px; }
.back-link:hover { color: var(--ink); }
.empty-state { grid-column: 1 / -1; text-align: center; padding: 56px 16px; color: var(--muted); }
.empty-state p { margin-bottom: 18px; }

/* Product grid (collection, related, favorites) */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.product-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.product-grid .product-img { aspect-ratio: 1 / 1; }
.product-foot { display: flex; justify-content: space-between; align-items: center; min-height: 26px; }
.quick-add { width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 16px; line-height: 1; transition: background .2s; }
.quick-add:hover { background: var(--burgundy); }

/* Collection landing: families */
.family-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.family-card { background: var(--paper); border: 1px solid var(--line); transition: border-color .3s, transform .3s var(--ease), box-shadow .3s; }
.family-img { aspect-ratio: 1 / 1; overflow: hidden; }
.family-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.family-body { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px 16px; }
.family-body h3 { font-family: var(--serif); font-weight: 500; font-size: 22px; }
.family-body p { font-size: 12px; color: var(--muted); }
.family-body .arrow { transition: transform .3s var(--ease); }
.family-card:hover { border-color: var(--burgundy); transform: translateY(-3px); box-shadow: 0 18px 40px -24px rgba(90,22,32,.45); }
.family-card:hover img { transform: scale(1.05); }
.family-card:hover .arrow { transform: translateX(4px); }
.also { margin-top: 56px; text-align: center; }
.also .chip-row { justify-content: center; }
.family-tabs { margin-top: -12px; }

/* Listing + filters */
.listing { display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: start; }
.filters { position: sticky; top: calc(var(--header-h) + 20px); }
.filters-head { display: flex; justify-content: space-between; align-items: center; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.filters-close, .filters-open { display: none; }
.filter-group { border-bottom: 1px solid var(--line); padding: 14px 0; }
.filter-group summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; font-size: 13px; font-weight: 500; }
.filter-group summary::-webkit-details-marker { display: none; }
.filter-group summary::after { content: "⌄"; transition: transform .3s; }
.filter-group[open] summary::after { transform: rotate(180deg); }
.filter-body { padding-top: 12px; display: grid; gap: 8px; }
.check { display: flex; align-items: center; gap: 10px; font-size: 13px; cursor: pointer; }
.check input { accent-color: var(--burgundy); width: 15px; height: 15px; margin: 0; }
.swatch-filter { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch-btn { width: 24px; height: 24px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.1); outline-offset: 3px; }
.swatch-btn[aria-pressed="true"] { outline: 1.5px solid var(--ink); }
.filters .text-link { margin-top: 16px; }
.listing-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 18px; font-size: 12.5px; color: var(--muted); }
.sort { display: flex; align-items: center; gap: 10px; }
.sort select, .field-select { font: inherit; font-size: 13px; color: var(--ink); background: var(--paper); border: 1px solid var(--line); padding: 9px 12px; border-radius: 0; }

/* Product detail */
.pdp { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: start; }
.pdp-gallery { display: grid; grid-template-columns: 76px 1fr; gap: 14px; position: sticky; top: calc(var(--header-h) + 20px); }
.pdp-thumbs { display: flex; flex-direction: column; gap: 10px; }
.pdp-thumb { border: 1px solid transparent; opacity: .7; transition: opacity .2s, border-color .2s; }
.pdp-thumb img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.pdp-thumb.is-active, .pdp-thumb:hover { opacity: 1; border-color: var(--ink); }
.pdp-main img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.pdp-info { position: relative; padding-top: 4px; }
.pdp-tools { position: absolute; top: 0; right: 0; display: flex; gap: 4px; }
.fav-inline { font-size: 18px; }
.fav-inline[aria-pressed="true"] { color: var(--burgundy); }
.pdp-title { font-family: var(--serif); font-weight: 400; text-transform: uppercase; font-size: clamp(30px, 3.4vw, 42px); line-height: 1.05; padding-right: 80px; }
.pdp-price { font-size: 15px; margin: 8px 0 14px; }
.pdp-desc { color: var(--ink-2); max-width: 46ch; margin-bottom: 26px; }
.opt { margin-bottom: 24px; }
.opt-label { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 12px; }
.opt-label span { text-transform: none; letter-spacing: 0; color: var(--muted); }
.opt-buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.opt-btn { border: 1px solid var(--line); background: var(--paper); padding: 11px 18px; font-size: 13px; display: inline-flex; gap: 6px; align-items: baseline; transition: border-color .2s; }
.opt-btn small { font-size: 10.5px; color: var(--muted); }
.opt-btn:hover { border-color: var(--muted); }
.opt-btn.is-selected { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.color-row { display: flex; flex-wrap: wrap; gap: 12px 10px; }
.color-btn { position: relative; width: 40px; height: 40px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); outline-offset: 3px; margin-bottom: 18px; transition: transform .2s; }
.color-btn:hover { transform: scale(1.06); }
.color-btn.is-selected { outline: 1.5px solid var(--ink); }
.color-btn span { position: absolute; top: calc(100% + 6px); left: 50%; transform: translateX(-50%); font-size: 10.5px; white-space: nowrap; color: var(--muted); opacity: 0; transition: opacity .2s; }
.color-btn.is-selected span, .color-btn:hover span { opacity: 1; }
.builder .color-btn span { opacity: 1; }
.pdp-buy { display: flex; gap: 12px; margin-top: 8px; }
.pdp-buy .btn { flex: 1; }
.pdp-note { font-size: 12px; color: var(--muted); margin-top: 10px; }
.pdp-info-tabs { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--line); }
.info-tab { font-size: 12px; color: var(--muted); padding: 4px 0; border-bottom: 1px solid transparent; }
.info-tab:hover, .info-tab.is-active { color: var(--ink); border-color: var(--ink); }
.info-panel { font-size: 13px; color: var(--ink-2); padding: 14px 0 0; }
.info-panel a { text-decoration: underline; }
.related { border-top: 1px solid var(--line); border-bottom: 0; margin-top: 72px; }

/* Complete your look */
.narrow-wide { max-width: 980px; }
.tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 26px; border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.tab { padding: 10px 0; font-size: 13px; color: var(--muted); border-bottom: 1.5px solid transparent; margin-bottom: -1px; display: inline-flex; gap: 6px; align-items: center; }
.tab[aria-selected="true"] { color: var(--ink); border-color: var(--ink); }
.tab-count { background: var(--burgundy); color: #fff; font-size: 10px; min-width: 16px; height: 16px; border-radius: 8px; display: inline-grid; place-items: center; padding: 0 4px; }
.addon-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; min-height: 280px; }
.addon-card { background: var(--paper); border: 1px solid var(--line); transition: border-color .2s; }
.addon-card.is-picked { border-color: var(--burgundy); box-shadow: inset 0 0 0 1px var(--burgundy); }
.addon-img { display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.addon-img img { width: 100%; height: 100%; object-fit: cover; }
.addon-body { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px 14px; }
.addon-body h3 { font-size: 13.5px; font-weight: 500; }
.addon-body p { font-size: 12px; color: var(--muted); }
.add-toggle { width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 16px; transition: background .2s, transform .2s; }
.add-toggle:hover { transform: scale(1.08); }
.addon-card.is-picked .add-toggle { background: var(--burgundy); }
.complete-bar { position: sticky; bottom: 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 28px; padding: 16px 0; background: linear-gradient(0deg, var(--cream) 70%, rgba(245,240,234,0)); }
.complete-bar .btn { min-width: 280px; }

/* Shop by look */
.looks-overview { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 18px; }
.looks-overview .look-img { aspect-ratio: 4 / 3; }
.look-help .look-img { background: var(--burgundy); color: #fff; display: grid; place-items: center; text-align: center; font-family: var(--serif); font-size: 28px; line-height: 1.15; padding: 20px; }
.look-help em { font-size: 18px; opacity: .85; }
.look-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; margin-bottom: 56px; }
.look-hero-img img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.look-events { font-size: 13px; color: var(--muted); margin-top: 14px; }
.look-price { margin: 18px 0 24px; font-size: 14px; }
.look-price strong { font-family: var(--serif); font-size: 26px; font-weight: 500; margin-left: 6px; }
.look-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.look-block { padding: 36px 0; border-top: 1px solid var(--line); }
.block-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.block-head .mini-head { margin: 0; }
.includes { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 18px; }
.include { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.include-img { width: 96px; height: 96px; border-radius: 50%; overflow: hidden; margin-bottom: 8px; background: var(--cream-2); display: grid; place-items: center; transition: transform .3s var(--ease); }
.include-img img { width: 100%; height: 100%; object-fit: cover; }
.include-img > span { font-size: 30px; color: var(--muted); }
.include strong { font-size: 13px; font-weight: 500; }
.include small { font-size: 11.5px; color: var(--muted); }
.include:hover .include-img { transform: scale(1.05); }
.look-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.look-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* Build / customize */
.start-from { margin-bottom: 28px; }
.builder { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: start; }
.builder-preview { position: sticky; top: calc(var(--header-h) + 20px); }
.preview-img img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: opacity .3s; }
.preview-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.preview-tags span { font-size: 11.5px; background: var(--paper); border: 1px solid var(--line); padding: 5px 10px; border-radius: 20px; }
.b-step { padding-bottom: 24px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.b-title { font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
.b-title small { text-transform: none; letter-spacing: 0; color: var(--muted); font-weight: 400; }
.b-backdrops { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.b-backdrop, .b-piece { text-align: center; font-size: 12px; display: flex; flex-direction: column; gap: 6px; }
.b-backdrop-img { border: 1px solid var(--line); aspect-ratio: 1; }
.b-backdrop-img img { width: 100%; height: 100%; object-fit: cover; }
.b-backdrop.is-selected .b-backdrop-img { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.b-backdrop.is-selected { font-weight: 500; }
.b-pieces { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 10px; }
.b-piece-img { position: relative; aspect-ratio: 1; border: 1px solid var(--line); overflow: hidden; }
.b-piece-img img { width: 100%; height: 100%; object-fit: cover; }
.b-piece-img i { position: absolute; right: 5px; bottom: 5px; width: 22px; height: 22px; border-radius: 50%; background: var(--ink); color: #fff; font-style: normal; font-size: 13px; display: grid; place-items: center; }
.b-piece.is-selected .b-piece-img { border-color: var(--burgundy); box-shadow: inset 0 0 0 1px var(--burgundy); }
.b-piece.is-selected .b-piece-img i { background: var(--burgundy); }
.builder-steps .field-select { width: 100%; }
.builder-total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 4px; font-size: 13px; }
.builder-total strong { font-family: var(--serif); font-size: 28px; font-weight: 500; }

/* Your look (cart) */
.look-banner { display: flex; align-items: center; gap: 16px; padding: 14px; background: var(--paper); border: 1px solid var(--line); margin-bottom: 24px; }
.look-banner img { width: 64px; height: 64px; object-fit: cover; }
.look-banner .eyebrow { margin: 0; }
.look-banner strong { font-family: var(--serif); font-size: 22px; font-weight: 500; }
.look-banner .btn { margin-left: auto; }
.look-items { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.look-item { background: var(--paper); border: 1px solid var(--line); display: flex; flex-direction: column; }
.look-item-img img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.look-item-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.look-item-top { display: flex; justify-content: space-between; gap: 8px; }
.look-item-top h3 { font-size: 13.5px; font-weight: 500; }
.trash { width: 28px; height: 28px; margin: -4px -6px 0 0; color: var(--muted); }
.trash:hover { color: var(--burgundy); }
.look-item-meta { font-size: 12px; color: var(--muted); }
.look-item-foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 6px; }
.look-item-price { font-size: 13.5px; }
.look-item .text-link { align-self: flex-start; }
.look-summary { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); }
.look-total { display: flex; flex-direction: column; gap: 2px; font-size: 13px; }
.look-total strong { font-family: var(--serif); font-size: 36px; font-weight: 500; line-height: 1.1; }
.look-total small { color: var(--muted); font-size: 12px; }
.look-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.look-actions .btn { min-width: 220px; }
.empty-look { text-align: center; padding: 24px 0; }
.empty-look-title { font-family: var(--serif); font-size: 32px; }
.empty-look > p { color: var(--muted); margin-bottom: 24px; }
.empty-paths { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 840px; margin: 0 auto; }
.empty-path { background: var(--paper); border: 1px solid var(--line); padding: 26px 18px; display: flex; flex-direction: column; gap: 6px; transition: border-color .2s; }
.empty-path strong { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; font-weight: 500; }
.empty-path span { font-size: 13px; color: var(--muted); }
.empty-path:hover { border-color: var(--burgundy); }

/* Quote */
.quote { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.quote-img { position: sticky; top: calc(var(--header-h) + 20px); }
.quote-img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.quote-form { margin-top: 28px; display: flex; flex-direction: column; gap: 18px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 12px; color: var(--ink-2); }
.field input, .field select, .field textarea { font: inherit; font-size: 14px; color: var(--ink); background: var(--paper); border: 1px solid var(--line); padding: 12px 14px; border-radius: 0; outline: none; transition: border-color .2s; width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); }
.field textarea { resize: vertical; }
.field-full { grid-column: 1 / -1; }
.field.has-error input, .field.has-error select { border-color: #b3261e; }
.field.has-error span { color: #b3261e; }
.form-error { color: #b3261e; font-size: 13px; }
.quote-look { display: flex; gap: 16px; padding: 16px; background: var(--paper); border: 1px solid var(--line); }
.quote-look > img { width: 92px; height: 92px; object-fit: cover; flex: none; }
.quote-look > div { flex: 1; min-width: 0; }
.quote-look-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.quote-look ul { margin: 0; padding: 0; list-style: none; font-size: 13px; color: var(--ink-2); }
.quote-look-total { font-size: 13px; margin-top: 8px; font-weight: 500; }
.quote-empty { font-size: 13px; color: var(--muted); }
.quote-empty a { text-decoration: underline; }
.thanks { display: grid; grid-template-columns: 1fr 1fr; min-height: 560px; background: var(--paper); border: 1px solid var(--line); }
.thanks-body { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 14px; padding: 56px 32px; }
.thanks-body p { color: var(--ink-2); max-width: 40ch; }
.thanks-check { width: 72px; height: 72px; border: 1px solid var(--ink); border-radius: 50%; display: grid; place-items: center; font-size: 30px; margin-bottom: 8px; }
.thanks-ref { font-size: 13px; color: var(--muted) !important; margin-bottom: 10px; }
.thanks-img img { width: 100%; height: 100%; object-fit: cover; }

/* Quiz: 8 event options → 4 columns */
.quiz-options[data-name="event"] { grid-template-columns: repeat(4, 1fr); }

/* ---------- Inner pages responsive ---------- */
@media (max-width: 1080px) {
  .product-grid.cols-4, .look-items { grid-template-columns: repeat(3, 1fr); }
  .b-backdrops { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .listing { grid-template-columns: 1fr; }
  .filters { position: fixed; z-index: 70; inset: 0 auto 0 0; width: min(320px, 88%); background: var(--cream); padding: 20px; overflow-y: auto; transform: translateX(-100%); transition: transform .4s var(--ease); box-shadow: 20px 0 40px rgba(0,0,0,.12); top: 0; }
  .filters.is-open { transform: none; }
  .filters-close, .filters-open { display: inline-grid; }
  .filters-open { display: inline-flex; }
  .product-grid, .family-grid, .addon-grid, .looks-overview { grid-template-columns: repeat(2, 1fr); }
  .pdp, .look-hero, .builder, .quote, .thanks { grid-template-columns: 1fr; gap: 32px; }
  .pdp-gallery, .builder-preview, .quote-img { position: static; }
  .quote-img img { aspect-ratio: 16 / 9; }
  .thanks-img { display: none; }
  .look-items { grid-template-columns: repeat(2, 1fr); }
  .look-gallery { grid-template-columns: repeat(2, 1fr); }
  .empty-paths { grid-template-columns: 1fr; }
  .quiz-options[data-name="event"] { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .page { padding-top: 18px; }
  .pdp-gallery { grid-template-columns: 1fr; }
  .pdp-thumbs { flex-direction: row; order: 2; }
  .pdp-thumb { width: 64px; }
  .product-grid, .product-grid.cols-4, .family-grid, .addon-grid { gap: 10px; }
  .form-grid { grid-template-columns: 1fr; }
  .complete-bar { flex-direction: column-reverse; }
  .complete-bar .btn { width: 100%; min-width: 0; }
  .look-banner { flex-wrap: wrap; }
  .look-banner .btn { margin-left: 0; width: 100%; }
  .look-actions .btn { width: 100%; }
  .listing-bar .result-count { display: none; }
  .b-backdrops { grid-template-columns: repeat(5, 1fr); gap: 6px; }
  .b-backdrop { font-size: 10.5px; }
}

/* ---------- Product placeholders (SVG until real photos) ---------- */
.ph-svg, .ph-slot { display: block; width: 100%; height: 100%; }
.ph-svg { transition: transform 1s var(--ease); }
.product-card:hover .ph-svg, .family-card:hover .ph-svg, .cat-card:hover .ph-svg { transform: scale(1.04); }
.look-item-img, .pdp-main, .pdp-thumb, .preview-img { aspect-ratio: 1 / 1; }
.mini-img { width: 76px; height: 76px; }
.quote-img { aspect-ratio: 4 / 5; overflow: hidden; }
.quote-img img { height: 100%; aspect-ratio: auto; }
.quote-look-media { width: 92px; height: 92px; flex: none; overflow: hidden; display: block; }
.quote-look-media img { width: 100%; height: 100%; object-fit: cover; }
.thanks-img { overflow: hidden; }
.search-media { width: 56px; height: 56px; flex: none; overflow: hidden; display: block; }
.search-media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .quote-img { aspect-ratio: 16 / 9; } }

/* ---------- Custom request (product page) ---------- */
.custom-box { margin-top: 22px; border: 1px solid var(--line); background: var(--paper); transition: border-color .3s; }
.custom-box.is-open { border-color: var(--ink); }
.custom-toggle { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px; text-align: left; }
.custom-toggle-text { display: flex; flex-direction: column; gap: 2px; }
.custom-toggle strong { font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.custom-toggle small { font-size: 12.5px; color: var(--muted); }
.custom-toggle i { flex: none; width: 30px; height: 30px; border: 1px solid var(--ink); border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 16px; transition: transform .35s var(--ease), background .3s, color .3s; }
.custom-toggle:hover i { background: var(--ink); color: #fff; }
.custom-box.is-open .custom-toggle i { transform: rotate(45deg); background: var(--ink); color: #fff; }
.custom-panel { padding: 4px 18px 20px; border-top: 1px solid var(--line); animation: stepIn .45s var(--ease); }
.custom-form { display: flex; flex-direction: column; gap: 16px; padding-top: 16px; }
.custom-form .opt-label { margin-bottom: 0; }
.custom-form .text-link { align-self: center; }
.custom-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-check input { position: absolute; opacity: 0; pointer-events: none; }
.chip-check span { display: inline-block; border: 1px solid var(--line); background: var(--cream); padding: 8px 14px; border-radius: 40px; font-size: 12px; cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
.chip-check span:hover { border-color: var(--ink); }
.chip-check input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip-check input:focus-visible + span { outline: 2px solid var(--burgundy); outline-offset: 2px; }
.custom-form .field.has-error textarea { border-color: #b3261e; }
.dropzone { border: 1px dashed #c9bcad; background: var(--cream); transition: border-color .2s, background .2s; }
.dropzone.is-over { border-color: var(--burgundy); background: #f1e6e1; }
.dropzone-label { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 22px 16px; text-align: center; cursor: pointer; }
.dropzone-label svg { width: 26px; height: 26px; fill: none; stroke: var(--ink); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 4px; }
.dropzone-label strong { font-size: 13px; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.dropzone-label small { font-size: 11.5px; color: var(--muted); }
.dropzone-label:focus-within, .dropzone:has(input:focus-visible) { outline: 2px solid var(--burgundy); outline-offset: 2px; }
.ref-list { display: grid; gap: 8px; padding: 0 12px; }
.ref-list:not(:empty) { padding-bottom: 12px; }
.ref-item { display: flex; align-items: center; gap: 12px; background: var(--paper); border: 1px solid var(--line); padding: 6px 8px; }
.ref-item img, .ref-file { width: 44px; height: 44px; object-fit: cover; flex: none; }
.ref-file { display: grid; place-items: center; background: var(--cream-2); font-size: 10px; font-weight: 500; letter-spacing: .08em; color: var(--muted); }
.ref-name { flex: 1; min-width: 0; font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: flex; flex-direction: column; }
.ref-name small { color: var(--muted); font-size: 11px; }
.ref-remove { width: 28px; height: 28px; font-size: 18px; color: var(--muted); }
.ref-remove:hover { color: var(--burgundy); }

/* Custom request summary (drawer, Your Look, quote) */
.custom-summary { border-left: 2px solid var(--burgundy); padding: 2px 0 2px 10px; margin: 4px 0 6px; }
.custom-summary-title { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--burgundy); font-weight: 500; }
.custom-summary-title span { text-transform: none; letter-spacing: 0; color: var(--muted); font-weight: 400; }
.custom-summary-notes { font-size: 12px; color: var(--ink-2); font-style: italic; margin-top: 2px; }
.custom-summary-refs { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.custom-summary-refs img, .custom-summary-refs .ref-file { width: 30px; height: 30px; object-fit: cover; }
.custom-summary-refs .ref-file { font-size: 8px; }
.quote-look li { margin-bottom: 4px; }

.custom-contact-label { margin: 4px 0 -4px; }
