/* ==========================================================================
   Continental Vogue — design system
   Editorial, warm, low-noise. Hairline rules instead of heavy shadows.
   ========================================================================== */

/* --- self-hosted variable fonts (no external calls) --------------------- */
@font-face {
  font-family: 'Fraunces';
  src: url('../fonts/fraunces-var.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-var.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
/* Neither Fraunces nor Inter carries Bengali codepoints, so the taka sign (৳)
   renders as a tofu box without this. unicode-range means the browser only
   downloads and uses it for Bangla characters — nothing else is affected. */
@font-face {
  font-family: 'Bengali Taka';
  src: url('../fonts/noto-bengali-subset.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0980-09FF, U+200C-200D;
}

/* --- tokens ------------------------------------------------------------- */
:root {
  --ink:        #14110F;
  --ink-soft:   #3A342E;
  --muted:      #6E655C;
  --muted-2:    #9A9187;
  --paper:      #FAF8F5;
  --paper-2:    #F2EDE6;
  --paper-3:    #E8E1D7;
  --line:       #E4DDD3;
  --line-strong:#CFC6B9;
  --accent:     #7C2D2D;
  --accent-ink: #FFFFFF;
  --accent-soft:#F4E7E5;
  --wa:         #25D366;

  --font-display: 'Fraunces', 'Iowan Old Style', Georgia, 'Times New Roman', 'Bengali Taka', serif;
  --font-ui:      'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Bengali Taka', sans-serif;

  --wrap: 1320px;
  --gut: clamp(16px, 4vw, 56px);
  --r-sm: 2px;
  --r-md: 4px;
  --r-pill: 999px;

  --step--1: clamp(12px, 0.78rem, 13px);
  --step-0:  clamp(15px, 0.95rem, 16px);
  --step-1:  clamp(17px, 1.1rem, 19px);
  --step-2:  clamp(21px, 1.5rem, 26px);
  --step-3:  clamp(27px, 2.3rem, 40px);
  --step-4:  clamp(34px, 3.6rem, 62px);
  --step-5:  clamp(42px, 5.6rem, 92px);

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

/* --- base --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: var(--step-0);
  line-height: 1.6;
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: var(--r-sm); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}

/* --- type --------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  font-variation-settings: 'SOFT' 0, 'WONK' 1;
  letter-spacing: -.015em;
  line-height: 1.06;
  margin: 0 0 .5em;
}
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); font-weight: 600; font-family: var(--font-ui); letter-spacing: 0; }
p { margin: 0 0 1em; max-width: 68ch; }
.eyebrow {
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 .9em;
}
.lead { font-size: var(--step-1); color: var(--ink-soft); }
.serif { font-family: var(--font-display); font-variation-settings: 'SOFT' 0, 'WONK' 1; }

/* --- layout ------------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.section { padding-block: clamp(48px, 7vw, 104px); }
.section--tight { padding-block: clamp(32px, 4vw, 56px); }
.section--alt { background: var(--paper-2); }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; margin-bottom: clamp(24px, 3vw, 44px);
}
.section-head h2 { margin: 0; }
.section-head .link-more {
  font-size: var(--step--1); font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted);
  border-bottom: 1px solid var(--line-strong); padding-bottom: 3px;
  white-space: nowrap; transition: color .2s var(--ease), border-color .2s var(--ease);
}
.section-head .link-more:hover { color: var(--ink); border-color: var(--ink); }

/* --- buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px;
  border-radius: var(--r-pill);
  background: var(--ink); color: var(--paper);
  font-size: var(--step--1); font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  border: 1px solid var(--ink);
  transition: background .22s var(--ease), color .22s var(--ease), transform .22s var(--ease), border-color .22s var(--ease);
}
.btn:hover { background: var(--accent); border-color: var(--accent); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn--block { width: 100%; }
.btn--lg { padding: 18px 38px; font-size: var(--step-0); }
.btn[disabled] { opacity: .45; pointer-events: none; }

/* --- badges & pills ----------------------------------------------------- */
.badge {
  display: inline-block; padding: 4px 10px; border-radius: var(--r-sm);
  font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  background: var(--accent); color: var(--accent-ink);
}
.badge--soft { background: var(--paper-3); color: var(--ink-soft); }
.pill {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; height: 42px; padding: 0 14px;
  border: 1px solid var(--line-strong); border-radius: var(--r-sm);
  font-size: var(--step--1); font-weight: 600; letter-spacing: .04em;
  background: var(--paper); cursor: pointer;
  transition: border-color .18s var(--ease), background .18s var(--ease), color .18s var(--ease);
}
.pill:hover { border-color: var(--ink); }
.pill[aria-pressed="true"], .pill.is-active { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.pill[disabled] { opacity: .35; pointer-events: none; text-decoration: line-through; }

/* --- placeholder artwork ------------------------------------------------ */
/* No real photography yet, so tiles get a deliberate warm weave rather than
   a broken-image box. Swap for <img> when the product shots arrive. */
.ph {
  position: relative; overflow: hidden; background: var(--paper-3);
  background-image:
    repeating-linear-gradient(115deg, rgba(255,255,255,.30) 0 2px, transparent 2px 5px),
    linear-gradient(160deg, var(--paper-2), var(--paper-3));
}
.ph::after {
  content: attr(data-mark);
  position: absolute; inset: auto 0 50% 0; text-align: center;
  font-family: var(--font-display); font-size: clamp(18px, 3vw, 30px);
  color: rgba(20,17,15,.16); letter-spacing: .2em; text-transform: uppercase;
}
.ph--a { background-image: repeating-linear-gradient(115deg, rgba(255,255,255,.30) 0 2px, transparent 2px 5px), linear-gradient(160deg, #EFE7DC, #DED2C2); }
.ph--b { background-image: repeating-linear-gradient(115deg, rgba(255,255,255,.26) 0 2px, transparent 2px 5px), linear-gradient(160deg, #E9E2DA, #CFC3B4); }
.ph--c { background-image: repeating-linear-gradient(115deg, rgba(255,255,255,.30) 0 2px, transparent 2px 5px), linear-gradient(160deg, #E6E4DE, #C9C7BF); }
.ph--d { background-image: repeating-linear-gradient(115deg, rgba(255,255,255,.26) 0 2px, transparent 2px 5px), linear-gradient(160deg, #EFE3E0, #D8C2BD); }
.ph--e { background-image: repeating-linear-gradient(115deg, rgba(255,255,255,.28) 0 2px, transparent 2px 5px), linear-gradient(160deg, #E4E6E1, #C6CBC2); }
.ph--f { background-image: repeating-linear-gradient(115deg, rgba(255,255,255,.30) 0 2px, transparent 2px 5px), linear-gradient(160deg, #EDE6DA, #D4C8B2); }

/* ==========================================================================
   Splash
   ========================================================================== */
#splash {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center;
  background: var(--paper);
  transition: opacity .6s var(--ease), visibility .6s;
}
#splash .splash-mark {
  text-align: center;
  opacity: 0; transform: translateY(10px) scale(.97);
  animation: splash-in .9s var(--ease) .12s forwards;
}
#splash .splash-name {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(30px, 6.4vw, 76px); letter-spacing: .02em; line-height: 1;
  margin: 0;
}
#splash .splash-sub {
  margin: 14px 0 0; font-size: var(--step--1); font-weight: 600;
  letter-spacing: .42em; text-transform: uppercase; color: var(--muted);
}
#splash .splash-bar {
  width: 68px; height: 1px; background: var(--line-strong); margin: 26px auto 0;
  transform-origin: left; animation: splash-bar 1.1s var(--ease) .3s both;
}
@keyframes splash-in { to { opacity: 1; transform: none; } }
@keyframes splash-bar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
#splash.is-out { opacity: 0; visibility: hidden; }
body.splash-done #splash { display: none; }

/* ==========================================================================
   Header
   ========================================================================== */
.header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(250,248,245,.88);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header__inner {
  height: var(--header-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
}
.header__left  { display: flex; align-items: center; gap: 6px; }
.header__right { display: flex; align-items: center; gap: 6px; justify-content: flex-end; }
.brand {
  font-family: var(--font-display); font-variation-settings: 'SOFT' 0, 'WONK' 1;
  font-weight: 500; font-size: clamp(19px, 2vw, 25px);
  letter-spacing: .01em; white-space: nowrap;
}
.brand small {
  display: block; font-family: var(--font-ui); font-size: 8.5px; font-weight: 600;
  letter-spacing: .34em; text-transform: uppercase; color: var(--muted);
  margin-top: 2px; text-align: center;
}
.icon-btn {
  width: 42px; height: 42px; display: grid; place-items: center;
  border-radius: var(--r-pill); color: var(--ink); position: relative;
  transition: background .18s var(--ease), color .18s var(--ease);
}
.icon-btn:hover { background: var(--paper-2); }
.cart-count {
  position: absolute; top: 3px; right: 2px;
  min-width: 17px; height: 17px; padding: 0 4px;
  border-radius: var(--r-pill); background: var(--accent); color: var(--accent-ink);
  font-size: 10px; font-weight: 700; line-height: 17px; text-align: center;
}
.announce {
  background: var(--ink); color: var(--paper);
  font-size: 12px; letter-spacing: .08em; text-align: center;
  padding: 9px var(--gut);
}

/* search drawer */
.searchbar { border-bottom: 1px solid var(--line); background: var(--paper); display: none; }
.searchbar.is-open { display: block; }
.searchbar form { display: flex; align-items: center; gap: 12px; padding-block: 14px; }
.searchbar input {
  flex: 1; border: 0; border-bottom: 1px solid var(--line-strong);
  background: transparent; padding: 10px 2px; font-size: var(--step-1);
}
.searchbar input:focus { outline: none; border-color: var(--ink); }

/* nav drawer */
.drawer {
  position: fixed; inset: 0 auto 0 0; width: min(400px, 88vw); z-index: 80;
  background: var(--paper); border-right: 1px solid var(--line);
  transform: translateX(-102%); transition: transform .38s var(--ease);
  display: flex; flex-direction: column; overflow-y: auto;
}
.drawer.is-open { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 18px var(--gut); border-bottom: 1px solid var(--line); }
.drawer nav { padding: 8px 0; }
.drawer nav a {
  display: block; padding: 15px var(--gut);
  font-family: var(--font-display); font-size: var(--step-2);
  border-bottom: 1px solid var(--line);
  transition: background .18s var(--ease), padding-left .18s var(--ease);
}
.drawer nav a:hover { background: var(--paper-2); padding-left: calc(var(--gut) + 8px); }
.drawer__foot { margin-top: auto; padding: 22px var(--gut); border-top: 1px solid var(--line); color: var(--muted); font-size: var(--step--1); }
.scrim {
  position: fixed; inset: 0; z-index: 70; background: rgba(20,17,15,.38);
  opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s;
}
.scrim.is-open { opacity: 1; visibility: visible; }

/* ==========================================================================
   Carousel
   ========================================================================== */
.carousel { position: relative; overflow: hidden; background: var(--paper-3); }
.carousel__track { display: flex; transition: transform .7s var(--ease); }
.slide {
  flex: 0 0 100%; position: relative;
  aspect-ratio: 16 / 7; min-height: 300px;
  display: grid; align-items: end;
}
.slide__media { position: absolute; inset: 0; }
.slide__media.ph::after { content: none; }
.slide__body {
  position: relative; z-index: 2; width: 100%; max-width: var(--wrap);
  margin-inline: auto; padding: clamp(24px, 5vw, 72px) var(--gut);
  color: var(--paper);
}
.slide__body h2 { color: var(--paper); font-size: var(--step-4); margin-bottom: .3em; max-width: 18ch; }
.slide__body p { color: rgba(250,248,245,.88); max-width: 44ch; margin-bottom: 1.6em; }
.slide__body .btn { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.slide__body .btn:hover { background: var(--accent); color: var(--paper); border-color: var(--accent); }
.slide::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(20,17,15,.06) 0%, rgba(20,17,15,.58) 100%);
}
.carousel__nav {
  position: absolute; bottom: clamp(16px, 3vw, 34px); right: var(--gut); z-index: 3;
  display: flex; gap: 8px;
}
.carousel__nav button {
  width: 44px; height: 44px; border-radius: var(--r-pill);
  border: 1px solid rgba(250,248,245,.5); color: var(--paper);
  display: grid; place-items: center; background: rgba(20,17,15,.18);
  transition: background .2s var(--ease), border-color .2s var(--ease);
}
.carousel__nav button:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.carousel__dots {
  position: absolute; bottom: clamp(24px, 3.4vw, 44px); left: 50%; transform: translateX(-50%);
  z-index: 3; display: flex; gap: 9px;
}
.carousel__dots button {
  width: 26px; height: 2px; background: rgba(250,248,245,.42); border-radius: 2px; padding: 0;
  transition: background .25s var(--ease), width .25s var(--ease);
}
.carousel__dots button[aria-current="true"] { background: var(--paper); width: 44px; }

/* ==========================================================================
   Category strip
   ========================================================================== */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(10px, 1.6vw, 20px); }
.cat-card { position: relative; display: block; overflow: hidden; border-radius: var(--r-md); }
.cat-card .ph { aspect-ratio: 4 / 5; transition: transform .7s var(--ease); }
.cat-card:hover .ph { transform: scale(1.045); }
.cat-card__label {
  position: absolute; inset: auto 0 0 0; padding: 16px;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 8px;
  background: linear-gradient(180deg, transparent, rgba(20,17,15,.62));
  color: var(--paper);
}
.cat-card__label span {
  font-size: var(--step--1); font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
}
.cat-card__label em { font-style: normal; font-size: 11px; color: rgba(250,248,245,.75); }

/* ==========================================================================
   Product grid + card
   ========================================================================== */
.grid-products { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 34px) clamp(12px, 1.8vw, 26px); }
.grid-products--2 { grid-template-columns: repeat(2, 1fr); }

.card { position: relative; display: flex; flex-direction: column; }
.card__media { position: relative; overflow: hidden; border-radius: var(--r-md); }
.card__media .ph { aspect-ratio: 4 / 5; transition: transform .8s var(--ease); }
.card:hover .card__media .ph { transform: scale(1.04); }
.card__flags { position: absolute; top: 12px; left: 12px; z-index: 2; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.card__wish {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  width: 36px; height: 36px; border-radius: var(--r-pill);
  display: grid; place-items: center; background: rgba(250,248,245,.9); color: var(--ink);
  opacity: 0; transform: translateY(-4px); transition: opacity .22s var(--ease), transform .22s var(--ease);
}
.card:hover .card__wish, .card__wish[aria-pressed="true"] { opacity: 1; transform: none; }
.card__quick {
  position: absolute; inset: auto 12px 12px 12px; z-index: 2;
  opacity: 0; transform: translateY(8px);
  transition: opacity .24s var(--ease), transform .24s var(--ease);
}
.card:hover .card__quick, .card:focus-within .card__quick { opacity: 1; transform: none; }
.card__quick .btn { width: 100%; padding: 13px 18px; background: rgba(250,248,245,.96); color: var(--ink); border-color: transparent; }
.card__quick .btn:hover { background: var(--ink); color: var(--paper); }
.card__body { padding-top: 14px; display: flex; flex-direction: column; gap: 4px; }
.card__name { font-size: var(--step-0); font-weight: 500; line-height: 1.35; }
.card__name:hover { text-decoration: underline; text-underline-offset: 3px; }
.card__meta { font-size: var(--step--1); color: var(--muted); letter-spacing: .04em; }
.card__price { display: flex; align-items: baseline; gap: 9px; margin-top: 2px; }
.price { font-weight: 600; letter-spacing: .01em; }
.price--now { color: var(--accent); }
.price--was { color: var(--muted-2); text-decoration: line-through; font-weight: 500; font-size: var(--step--1); }
.swatches { display: flex; gap: 6px; margin-top: 6px; }
.swatch {
  width: 13px; height: 13px; border-radius: var(--r-pill);
  border: 1px solid rgba(20,17,15,.18);
}
.swatch--ink { background: #14110F; } .swatch--cream { background: #E8DFD2; }
.swatch--clay { background: #A0563E; } .swatch--olive { background: #4E5A44; }
.swatch--denim { background: #3C4C63; } .swatch--oxblood { background: #7C2D2D; }

/* ==========================================================================
   Lookbook band
   ========================================================================== */
.lookbook { position: relative; overflow: hidden; }
.lookbook .ph { aspect-ratio: 21 / 9; min-height: 240px; }
.lookbook__body {
  position: absolute; inset: 0; z-index: 2; display: grid; place-items: center;
  text-align: center; padding: var(--gut);
}
.lookbook__inner { max-width: 620px; }
.lookbook__inner h2 { font-size: var(--step-3); }
.lookbook__inner .btn { margin-top: 12px; }

/* ==========================================================================
   Trust row
   ========================================================================== */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust__grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.trust__item { padding: clamp(20px, 3vw, 34px) clamp(14px, 2vw, 26px); border-left: 1px solid var(--line); }
.trust__item:first-child { border-left: 0; }
.trust__item h4 { margin: 0 0 4px; font-size: var(--step--1); letter-spacing: .12em; text-transform: uppercase; }
.trust__item p { margin: 0; font-size: var(--step--1); color: var(--muted); }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { background: var(--ink); color: var(--paper); padding-top: clamp(40px, 5vw, 72px); }
.footer a { color: rgba(250,248,245,.72); transition: color .18s var(--ease); }
.footer a:hover { color: var(--paper); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: clamp(20px, 3vw, 44px); }
.footer .brand { color: var(--paper); }
.footer .brand small { color: rgba(250,248,245,.55); }
.footer__col h4 {
  margin: 0 0 14px; font-size: 11px; letter-spacing: .18em;
  text-transform: uppercase; color: rgba(250,248,245,.5);
}
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: var(--step--1); }
.footer__note { font-size: var(--step--1); color: rgba(250,248,245,.6); max-width: 34ch; margin-top: 16px; }
.footer__bottom {
  margin-top: clamp(32px, 4vw, 56px); border-top: 1px solid rgba(250,248,245,.14);
  padding-block: 20px; display: flex; flex-wrap: wrap; gap: 12px 24px;
  align-items: center; justify-content: space-between;
  font-size: 12px; color: rgba(250,248,245,.58);
}
.footer__pay { display: flex; gap: 8px; flex-wrap: wrap; }
.footer__pay span {
  border: 1px solid rgba(250,248,245,.2); border-radius: var(--r-sm);
  padding: 3px 9px; font-size: 10.5px; letter-spacing: .06em;
}

/* ==========================================================================
   WhatsApp float
   ========================================================================== */
.wa {
  position: fixed; right: clamp(14px, 2vw, 26px); bottom: clamp(14px, 2vw, 26px); z-index: 90;
  display: inline-flex; align-items: center; gap: 0;
  height: 56px; padding: 0 16px; border-radius: var(--r-pill);
  background: var(--wa); color: #06331A;
  box-shadow: 0 10px 28px rgba(20,17,15,.22), 0 2px 6px rgba(20,17,15,.14);
  transition: transform .24s var(--ease), box-shadow .24s var(--ease), padding .3s var(--ease);
}
.wa svg { width: 26px; height: 26px; flex: none; }
.wa__label {
  max-width: 0; overflow: hidden; white-space: nowrap;
  font-size: var(--step--1); font-weight: 600; letter-spacing: .04em;
  transition: max-width .34s var(--ease), margin-left .34s var(--ease);
}
.wa:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(20,17,15,.28); }
.wa:hover .wa__label { max-width: 150px; margin-left: 10px; }
.wa::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  border: 2px solid var(--wa); animation: wa-pulse 2.6s var(--ease) infinite; pointer-events: none;
}
@keyframes wa-pulse {
  0%   { transform: scale(1);    opacity: .55; }
  70%  { transform: scale(1.28); opacity: 0; }
  100% { transform: scale(1.28); opacity: 0; }
}

/* ==========================================================================
   Breadcrumbs
   ========================================================================== */
.crumbs { padding-block: 18px; font-size: var(--step--1); color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--ink); }
.crumbs span[aria-hidden] { color: var(--muted-2); }

/* ==========================================================================
   Product page
   ========================================================================== */
.product-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 72px); align-items: start; }
.gallery { position: sticky; top: calc(var(--header-h) + 20px); }
.gallery__main { border-radius: var(--r-md); overflow: hidden; }
.gallery__main .ph { aspect-ratio: 4 / 5; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 10px; }
.gallery__thumbs button { border-radius: var(--r-sm); overflow: hidden; border: 1px solid transparent; transition: border-color .18s var(--ease); }
.gallery__thumbs button[aria-current="true"] { border-color: var(--ink); }
.gallery__thumbs .ph { aspect-ratio: 1 / 1; }

.buybox { display: grid; gap: 18px; }
.buybox h1 { font-size: var(--step-3); margin-bottom: 6px; }
.buybox__price { display: flex; align-items: baseline; gap: 12px; }
.buybox__price .price { font-size: var(--step-2); }
.buybox__rating { display: flex; align-items: center; gap: 8px; font-size: var(--step--1); color: var(--muted); }
.stars { color: #C08A2E; letter-spacing: 2px; }
.opt { display: grid; gap: 9px; }
.opt__head { display: flex; align-items: baseline; justify-content: space-between; }
.opt__head h4 { margin: 0; font-size: var(--step--1); letter-spacing: .12em; text-transform: uppercase; }
.opt__head a { font-size: var(--step--1); color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.opt__row { display: flex; gap: 8px; flex-wrap: wrap; }
.swatch-btn {
  width: 32px; height: 32px; border-radius: var(--r-pill); padding: 0;
  border: 1px solid rgba(20,17,15,.2); position: relative;
  transition: box-shadow .18s var(--ease);
}
.swatch-btn[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px var(--ink); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: var(--r-sm); }
.qty button { width: 44px; height: 46px; font-size: var(--step-1); color: var(--ink-soft); }
.qty button:hover { color: var(--accent); }
.qty input {
  width: 48px; height: 46px; text-align: center; border: 0; border-inline: 1px solid var(--line);
  background: transparent; -moz-appearance: textfield;
}
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.buybox__actions { display: flex; gap: 10px; align-items: stretch; }
.buybox__actions .btn { flex: 1; }
.deliver-note {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--paper-2); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 15px 17px; font-size: var(--step--1); color: var(--ink-soft);
}
.deliver-note strong { color: var(--ink); }
.deliver-note ul { margin: 6px 0 0; padding-left: 17px; display: grid; gap: 3px; }

.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary {
  list-style: none; cursor: pointer; padding: 19px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-size: var(--step--1); font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: '+'; font-size: var(--step-2); font-weight: 400; color: var(--muted); line-height: 1; }
.accordion details[open] summary::after { content: '–'; }
.accordion__body { padding: 0 0 24px; color: var(--ink-soft); font-size: var(--step-0); }
.accordion__body table { width: 100%; border-collapse: collapse; font-size: var(--step--1); }
.accordion__body th, .accordion__body td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); }
.accordion__body th { font-weight: 600; letter-spacing: .06em; text-transform: uppercase; font-size: 11px; color: var(--muted); }

/* ==========================================================================
   Checkout
   ========================================================================== */
.checkout-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.field { display: grid; gap: 6px; margin-bottom: 15px; }
.field label { font-size: var(--step--1); font-weight: 600; letter-spacing: .06em; color: var(--ink-soft); }
.field .hint { font-size: 12px; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; background: var(--paper);
  border: 1px solid var(--line-strong); border-radius: var(--r-sm);
  transition: border-color .18s var(--ease), background .18s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: #fff; }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field--row-3 { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 14px; }
.card-block {
  border: 1px solid var(--line); border-radius: var(--r-md);
  padding: clamp(18px, 2.4vw, 28px); background: var(--paper);
}
.card-block + .card-block { margin-top: 18px; }
.card-block > h3 { font-family: var(--font-ui); font-size: var(--step-1); font-weight: 600; letter-spacing: 0; margin: 0 0 16px; }

.area-options { display: grid; gap: 10px; }
.area-option {
  display: flex; align-items: center; gap: 13px;
  border: 1px solid var(--line-strong); border-radius: var(--r-md);
  padding: 14px 16px; cursor: pointer; background: var(--paper);
  transition: border-color .18s var(--ease), background .18s var(--ease);
}
.area-option:hover { border-color: var(--ink); }
.area-option:has(input:checked) { border-color: var(--ink); background: var(--paper-2); }
.area-option input { accent-color: var(--accent); width: 18px; height: 18px; }
.area-option__text { display: grid; }
.area-option__text strong { font-size: var(--step-0); font-weight: 600; }
.area-option__text em { font-style: normal; font-size: 12px; color: var(--muted); }
.area-option__price { margin-left: auto; font-weight: 600; }

.pay-options { display: grid; gap: 10px; }
.pay-option { display: flex; gap: 13px; align-items: flex-start; border: 1px solid var(--line-strong); border-radius: var(--r-md); padding: 15px 16px; cursor: pointer; }
.pay-option:has(input:checked) { border-color: var(--ink); background: var(--paper-2); }
.pay-option input { accent-color: var(--accent); width: 18px; height: 18px; margin-top: 3px; }
.pay-option__text strong { display: block; font-weight: 600; }
.pay-option__text em { font-style: normal; font-size: var(--step--1); color: var(--muted); }
.pay-option.is-disabled { opacity: .55; cursor: not-allowed; }

/* The order summary on checkout is sticky; scope it so it never hits
   WooCommerce's single-product `.summary.entry-summary` (which would pin the
   buy box in place while the related-products section scrolls over it). */
.checkout-layout .summary { position: sticky; top: calc(var(--header-h) + 20px); }
.summary__items { display: grid; gap: 14px; margin-bottom: 18px; }
.line-item { display: grid; grid-template-columns: 62px 1fr auto; gap: 13px; align-items: center; }
.line-item .ph { aspect-ratio: 4 / 5; border-radius: var(--r-sm); }
.line-item--plain .ph { grid-column: 1; }
.line-item__name { font-size: var(--step--1); font-weight: 600; line-height: 1.35; }
.line-item__meta { font-size: 12px; color: var(--muted); }
.summary__totals { border-top: 1px solid var(--line); padding-top: 16px; display: grid; gap: 10px; font-size: var(--step--1); }
.summary__totals .row { display: flex; justify-content: space-between; gap: 12px; }
.summary__totals .row--total {
  border-top: 1px solid var(--line); margin-top: 6px; padding-top: 14px;
  font-size: var(--step-1); font-weight: 600;
}
.summary__totals .row--total .price { font-family: var(--font-display); font-variation-settings: 'SOFT' 0, 'WONK' 1; }
.coupon { display: flex; gap: 8px; margin-top: 16px; }
.coupon input { flex: 1; padding: 11px 12px; border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: var(--paper); }
.summary__note { font-size: 12px; color: var(--muted); margin-top: 14px; display: flex; gap: 8px; align-items: flex-start; }
.progress-steps { display: flex; gap: 8px; align-items: center; font-size: 12px; color: var(--muted); margin-bottom: 20px; }
.progress-steps b { color: var(--ink); font-weight: 600; }

/* ==========================================================================
   Mobile sticky buy bar
   ========================================================================== */
.sticky-buy {
  position: fixed; inset: auto 0 0 0; z-index: 65;
  background: rgba(250,248,245,.96); backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  padding: 11px var(--gut) calc(11px + env(safe-area-inset-bottom));
  display: none; align-items: center; gap: 12px;
  transform: translateY(110%); transition: transform .3s var(--ease);
}
.sticky-buy.is-visible { transform: none; }
.sticky-buy__info { display: grid; line-height: 1.25; min-width: 0; }
.sticky-buy__info strong { font-size: var(--step--1); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-buy .btn { padding: 13px 22px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .grid-products { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .product-layout, .checkout-layout { grid-template-columns: 1fr; }
  .gallery, .checkout-layout .summary { position: static; }
  .checkout-layout .summary { order: -1; }
}
@media (max-width: 760px) {
  :root { --header-h: 62px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .trust__grid { grid-template-columns: 1fr; }
  .trust__item { border-left: 0; border-top: 1px solid var(--line); }
  .trust__item:first-child { border-top: 0; }
  .slide { aspect-ratio: 4 / 5; }
  .carousel__nav { display: none; }
  .footer__grid { grid-template-columns: 1fr; }
  .field--row, .field--row-3 { grid-template-columns: 1fr; }
  .brand small { display: none; }
  .sticky-buy { display: flex; }
  /* The sticky buy bar and the WhatsApp button both want the bottom of the
     screen on mobile. Without this the chat button sits on top of
     "Add to cart" and eats the tap. shop.js adds .has-sticky-buy. */
  body.has-sticky-buy .wa { bottom: calc(88px + env(safe-area-inset-bottom)); }
  .wa { height: 52px; padding: 0 14px; }
  .wa::after { animation: none; }
  body.has-sticky-buy { padding-bottom: 78px; }
}
@media (max-width: 520px) {
  .grid-products { grid-template-columns: repeat(2, 1fr); gap: 14px 10px; }
  .card__quick { display: none; }
  .gallery__thumbs { grid-template-columns: repeat(4, 1fr); gap: 7px; }
}

/* ==========================================================================
   Motion preferences
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  #splash { display: none !important; }
  .wa::after { animation: none; }
}

/* ==========================================================================
   Footer contact — shop information, contact details, physical address
   ========================================================================== */
.footer__contact {
  margin-top: clamp(28px, 3.4vw, 48px);
  border-top: 1px solid rgba(250,248,245,.14);
  padding-top: clamp(24px, 3vw, 40px);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 44px);
}
.footer__contact-item h4 {
  margin: 0 0 10px; font-size: 11px; letter-spacing: .18em;
  text-transform: uppercase; color: rgba(250,248,245,.5);
}
.footer__contact-value {
  display: block; font-family: var(--font-display);
  font-variation-settings: 'SOFT' 0, 'WONK' 1;
  font-size: var(--step-1); color: var(--paper); font-style: normal; line-height: 1.45;
}
.footer__contact-value:hover { color: #fff; }
.footer__contact-note { display: block; margin-top: 6px; font-size: var(--step--1); color: rgba(250,248,245,.6); }

/* ==========================================================================
   Real photography (replaces .ph placeholders once images exist)
   ========================================================================== */
.card__img, .cat-card__img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block;
  transition: transform .8s var(--ease);
}
.cat-card:hover .cat-card__img { transform: scale(1.045); }
.card:hover .card__media .card__img { transform: scale(1.04); }
.slide__media--photo {
  position: absolute; inset: 0; background-size: cover; background-position: center;
}
.lookbook__media {
  aspect-ratio: 21 / 9; min-height: 240px;
  background-size: cover; background-position: center;
}

/* ==========================================================================
   Editorial content (pages, posts, intros)
   ========================================================================== */
.entry-content { max-width: 76ch; }
.entry-content > * + * { margin-top: 1em; }
.entry-content h2, .entry-content h3 { margin-top: 1.6em; }
.entry-content img { border-radius: var(--r-md); height: auto; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; display: grid; gap: .4em; }
.entry-content a { text-decoration: underline; text-underline-offset: 3px; }
.entry-content blockquote {
  margin: 1.6em 0; padding-left: 22px; border-left: 2px solid var(--accent);
  font-family: var(--font-display); font-size: var(--step-1); color: var(--ink-soft);
}
.post-list { display: grid; gap: clamp(24px, 3vw, 40px); max-width: 76ch; }
.post-list h2 { font-size: var(--step-2); margin-bottom: .2em; }
.post-hero img { width: 100%; height: auto; border-radius: var(--r-md); }
.post-item + .post-item { border-top: 1px solid var(--line); padding-top: clamp(24px,3vw,40px); }

@media (max-width: 1080px) {
  .footer__contact { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .footer__contact { grid-template-columns: 1fr; }
}
