/* ============================================================
   Boutique — Clothing Store Theme
   Premium editorial boutique aesthetic
   Palette: Charcoal #1C1C1C · Champagne #D4B896 · Blush #F5EDE4 · Off-white #FDFAF7 · Gold #B8965A
   Typography: Cormorant Garamond (display) · Jost (body)
   ============================================================ */

/* ===== CSS VARIABLES ===== */
:root {
  --clr-dark:          #1C1C1C;
  --clr-dark-2:        #2A2A2A;
  --clr-champagne:     #D4B896;
  --clr-champagne-2:   #C4A07C;
  --clr-gold:          #B8965A;
  --clr-blush:         #F5EDE4;
  --clr-bg:            #FDFAF7;
  --clr-surface:       #F5EDE4;
  --clr-border:        #E8DDD4;
  --clr-muted:         #8C7B70;
  --clr-text:          #1C1C1C;
  --ff-display:        'Cormorant Garamond', Georgia, serif;
  --ff-body:           'Jost', system-ui, sans-serif;
  --radius:            2px;
  --radius-lg:         8px;
  --shadow-sm:         0 1px 4px rgba(28,28,28,.06);
  --shadow-md:         0 4px 24px rgba(28,28,28,.1);
  --shadow-lg:         0 12px 48px rgba(28,28,28,.15);
  --transition:        .3s cubic-bezier(.4,0,.2,1);
  --transition-fast:   .18s cubic-bezier(.4,0,.2,1);
  --wa-green:          #25D366;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--ff-body);
  background: var(--clr-bg);
  color: var(--clr-text);
  line-height: 1.65;
  font-size: 1rem;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
  font-family: var(--ff-display);
  line-height: 1.1;
  letter-spacing: .01em;
  color: inherit;
  font-weight: 400;
}
h1 { font-size: clamp(3rem, 7vw, 6rem); }
h2 { font-size: clamp(2.2rem, 4.5vw, 3.8rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); }
h4 { font-size: 1.1rem; font-weight: 500; }
p  { line-height: 1.75; font-weight: 300; }

.eyebrow {
  font-family: var(--ff-body);
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--clr-champagne-2);
  display: inline-block;
  margin-bottom: .75rem;
}
.eyebrow--light { color: var(--clr-champagne); }

.prose p { margin-bottom: 1rem; }
.prose p:last-child { margin-bottom: 0; }

/* ===== UTILITIES ===== */
.container {
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2.5rem);
}

.section-head {
  text-align: center;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}
.section-head--light { color: var(--clr-bg); }
.section-subtitle {
  font-size: 1rem;
  color: var(--clr-muted);
  margin-top: .5rem;
  font-weight: 300;
}
.section-cta {
  text-align: center;
  margin-top: 2.5rem;
}

/* ===== SKIP LINK ===== */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--clr-dark);
  color: var(--clr-champagne);
  padding: .5rem 1rem;
  font-size: .875rem;
  z-index: 9999;
  transition: top var(--transition-fast);
}
.skip-link:focus { top: 1rem; }

/* ===== SCROLL PROGRESS ===== */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: var(--clr-champagne);
  z-index: 1000;
  transition: width .1s linear;
}

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 2rem; right: 2rem;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--clr-dark);
  color: var(--clr-champagne);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
  z-index: 300;
  box-shadow: var(--shadow-md);
}
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { transform: translateY(-3px); }

/* ===== WHATSAPP FLOAT ===== */
.wa-float {
  position: fixed;
  bottom: 5.5rem; right: 1.75rem;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--wa-green);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  z-index: 299;
  opacity: 0; pointer-events: none;
  transition: opacity .4s ease, transform .4s ease;
}
.wa-float.visible { opacity: 1; pointer-events: auto; }
.wa-float:hover { transform: scale(1.08); }
.wa-float__icon { width: 28px; height: 28px; }
/* Suppress the generic auto-injected widget — theme provides its own styled button */
.theme-whatsapp-widget { display: none !important; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .75rem 1.75rem;
  font-family: var(--ff-body);
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: var(--transition);
  cursor: pointer;
  white-space: nowrap;
}
.btn--primary {
  background: var(--clr-dark);
  color: var(--clr-champagne);
  border: 1px solid var(--clr-dark);
}
.btn--primary:hover { background: var(--clr-dark-2); border-color: var(--clr-dark-2); }

.btn--champagne {
  background: var(--clr-champagne);
  color: var(--clr-dark);
  border: 1px solid var(--clr-champagne);
}
.btn--champagne:hover { background: var(--clr-champagne-2); border-color: var(--clr-champagne-2); }

.btn--outline {
  background: transparent;
  color: var(--clr-dark);
  border: 1px solid var(--clr-dark);
}
.btn--outline:hover { background: var(--clr-dark); color: var(--clr-champagne); }

.btn--outline-light {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,.6);
}
.btn--outline-light:hover { background: rgba(255,255,255,.1); border-color: #fff; }

.btn--ghost {
  background: transparent;
  color: var(--clr-dark);
  border: 1px solid var(--clr-border);
  padding: .65rem 1.5rem;
}
.btn--ghost:hover { border-color: var(--clr-dark); }

.btn--atc {
  background: var(--clr-dark);
  color: var(--clr-champagne);
  border: 1px solid var(--clr-dark);
  padding: .6rem 1.25rem;
  font-size: .75rem;
  width: 100%;
  justify-content: center;
  margin-top: .75rem;
  border-radius: var(--radius);
}
.btn--atc:hover { background: var(--clr-dark-2); }

.btn--wa-large {
  background: var(--wa-green);
  color: #fff;
  border: none;
  padding: 1rem 2rem;
  font-size: .875rem;
  font-weight: 500;
  letter-spacing: .05em;
  text-transform: none;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 20px rgba(37,211,102,.3);
}
.btn--wa-large:hover { box-shadow: 0 6px 28px rgba(37,211,102,.45); transform: translateY(-2px); }

/* ===== CART DRAWER ===== */
.cart-drawer-overlay {
  position: fixed; inset: 0;
  background: rgba(28,28,28,.5);
  backdrop-filter: blur(3px);
  z-index: 500;
  opacity: 0; pointer-events: none;
  transition: opacity var(--transition);
}
.cart-drawer-overlay.open { opacity: 1; pointer-events: auto; }

.cart-drawer {
  position: fixed; top: 0; right: 0;
  width: min(400px, 100vw);
  height: 100dvh;
  background: var(--clr-bg);
  z-index: 501;
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
  box-shadow: var(--shadow-lg);
}
.cart-drawer.open { transform: translateX(0); }
.cart-drawer:focus { outline: none; }

.cart-drawer__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--clr-border);
}
.cart-drawer__head h2 {
  font-family: var(--ff-display);
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: .05em;
}
.cart-drawer__close {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  color: var(--clr-muted);
  transition: color var(--transition-fast);
}
.cart-drawer__close:hover { color: var(--clr-dark); }

.cart-drawer__body {
  flex: 1; overflow-y: auto;
  padding: 1rem 1.5rem;
}
.cart-drawer__empty {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1rem; height: 200px;
  color: var(--clr-muted);
  font-size: .9rem;
}

.drawer-item {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--clr-border);
}
.drawer-item__img img {
  width: 64px; height: 80px; object-fit: cover;
  border-radius: var(--radius);
}
.drawer-item__info { flex: 1; }
.drawer-item__title { font-size: .9rem; font-weight: 400; margin-bottom: .25rem; }
.drawer-item__price { font-size: .8rem; color: var(--clr-muted); }
.drawer-item__remove {
  color: var(--clr-muted); font-size: .75rem;
  width: 24px; height: 24px;
  display: flex; align-items: center; justify-content: center;
  transition: color var(--transition-fast);
}
.drawer-item__remove:hover { color: var(--clr-dark); }

.cart-drawer__foot {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--clr-border);
}
.cart-drawer__total {
  display: flex; justify-content: space-between;
  font-size: .9rem; margin-bottom: 1rem;
  font-weight: 400;
}
.cart-drawer__actions {
  display: grid; grid-template-columns: 1fr 1fr; gap: .75rem;
}
.cart-drawer__actions .btn { justify-content: center; }

/* ===== HEADER ===== */
.site-header-wrap {
  position: sticky; top: 0; z-index: 400;
  background: var(--clr-bg);
  border-bottom: 1px solid var(--clr-border);
}
.site-header-top {
  padding: 1rem 0;
}
.header-top-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}
.site-nav-left {
  display: flex; gap: 2rem;
}
.site-nav-left a {
  font-size: .75rem;
  font-weight: 400;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--clr-muted);
  transition: color var(--transition-fast);
}
.site-nav-left a:hover { color: var(--clr-dark); }

.site-logo {
  display: flex; flex-direction: column; align-items: center; gap: .25rem;
  text-decoration: none;
}
.site-logo img {
  width: 36px; height: 36px; object-fit: contain;
}
.site-logo span {
  font-family: var(--ff-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 400;
  letter-spacing: .08em;
  color: var(--clr-dark);
  white-space: nowrap;
}

.header-actions {
  display: flex; align-items: center; justify-content: flex-end; gap: 1rem;
}
.header-wa {
  color: var(--clr-muted);
  transition: color var(--transition-fast);
  display: flex; align-items: center;
}
.header-wa:hover { color: var(--wa-green); }

.cart-toggle {
  position: relative;
  display: flex; align-items: center;
  color: var(--clr-dark);
  padding: .25rem;
}
.cart-badge {
  position: absolute; top: -4px; right: -6px;
  background: var(--clr-champagne);
  color: var(--clr-dark);
  font-size: .65rem; font-weight: 600;
  width: 18px; height: 18px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  line-height: 1;
}

.menu-toggle {
  display: none;
  flex-direction: column; gap: 5px;
  padding: .25rem;
}
.menu-toggle span {
  display: block; width: 22px; height: 1.5px;
  background: var(--clr-dark);
  transition: var(--transition);
}
.menu-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.site-nav-mobile {
  display: none;
  flex-direction: column;
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--clr-border);
  background: var(--clr-bg);
  gap: 1rem;
}
.site-nav-mobile.open { display: flex; }
.site-nav-mobile a {
  font-size: .9rem;
  font-weight: 300;
  letter-spacing: .08em;
  color: var(--clr-dark);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  /* A floor, not a fixed height: a long owner title on a short screen (the editor frame) grew the bottom-aligned
     content upward past the hero's top, and the badge was clipped under the header (team 12702, psp-ecommerce-1013c). */
  min-height: clamp(520px, 90vh, 900px);
  display: flex; align-items: flex-end;
  overflow: hidden;
  background: var(--wb-dark-surface, #1C1C1C);
}
.hero__bg {
  position: absolute; inset: 0;
}
.hero__bg--placeholder {
  background: var(--wb-dark-surface, linear-gradient(135deg, #2A2318, #1C1C1C));
}
.hero__bg img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: center top;
}
.hero__overlay {
  position: absolute; inset: 0;
  /* Scrim over the hero photo: the token must TINT the gradient, never
     replace it — `background: var(--background, <gradient>)` here renders
     an opaque flat fill the moment any recolor writes a background token,
     veiling the photo entirely. Keep every stop translucent. */
  background: linear-gradient(
    to top,
    color-mix(in srgb, var(--wb-dark-surface, #1C1C1C) 85%, transparent) 0%,
    color-mix(in srgb, var(--wb-dark-surface, #1C1C1C) 40%, transparent) 50%,
    color-mix(in srgb, var(--wb-dark-surface, #1C1C1C) 10%, transparent) 100%
  );
}

.hero__content {
  position: relative; z-index: 1;
  padding-top: clamp(3rem, 7vw, 6rem);
  padding-bottom: clamp(3rem, 7vw, 6rem);
  max-width: 780px;
}
.hero__badge {
  display: inline-block;
  font-family: var(--ff-body);
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--clr-champagne);
  border: 1px solid rgba(212,184,150,.4);
  padding: .35rem .875rem;
  margin-bottom: 1.25rem;
}
.hero h1 {
  color: var(--wb-on-dark, #fff);
  margin-bottom: 1rem;
}
.hero__title-prefix {
  display: block;
  font-weight: 300;
}
.hero__title-italic {
  display: block;
  font-style: italic;
  color: var(--clr-champagne);
}
.hero__subtitle {
  color: var(--wb-on-dark, rgba(255,255,255,.75));
  font-size: 1rem;
  font-weight: 300;
  max-width: 480px;
  margin-bottom: 2rem;
  letter-spacing: .02em;
}
.hero__ctas {
  display: flex; flex-wrap: wrap; gap: 1rem;
}

.hero__scroll-hint {
  position: absolute; bottom: 2rem; right: 2.5rem;
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  color: var(--wb-on-dark, rgba(255,255,255,.5));
  font-size: .65rem;
  font-family: var(--ff-body);
  letter-spacing: .15em;
  text-transform: uppercase;
  z-index: 1;
}
.hero__scroll-line {
  width: 1px; height: 48px;
  background: var(--background, linear-gradient(to bottom, rgba(255,255,255,.5), transparent));
  animation: scrollLine 1.8s ease infinite;
}
@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  100% { transform: scaleY(1); transform-origin: bottom; opacity: 0; }
}

/* ===== CATEGORIES STRIP ===== */
.categories-section {
  padding: 2rem 0;
  /* clip, not hidden: this is a non-scrolling ancestor of .category-pill,
     which carries a view()-timeline reveal below. `overflow: hidden` makes
     ANY element a scroll container regardless of whether it actually
     scrolls, and a scroll container ancestor breaks view() timing for
     descendants — clip keeps the same visual clipping without that side
     effect. */
  overflow: clip;
  background: var(--clr-bg);
  border-bottom: 1px solid var(--clr-border);
}
.categories-track {
  display: flex; gap: 1.5rem;
  overflow-x: auto;
  padding: .5rem clamp(1rem, 4vw, 2.5rem);
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.categories-track::-webkit-scrollbar { display: none; }
.category-pill {
  display: flex; flex-direction: column; align-items: center; gap: .75rem;
  min-width: 100px;
  scroll-snap-align: start;
  text-decoration: none;
  transition: transform var(--transition);
}
.category-pill:hover { transform: translateY(-4px); }
.category-pill__img {
  width: 80px; height: 80px; border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--clr-border);
  background: var(--clr-surface);
}
.category-pill__img img {
  width: 100%; height: 100%; object-fit: cover;
}
.category-pill__name {
  font-size: .75rem;
  font-weight: 400;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--clr-dark);
  text-align: center;
}

/* ===== PRODUCTS SECTION ===== */
.products-section {
  padding: clamp(3rem, 6vw, 5rem) 0;
}
.products-runway-wrap {
  position: relative;
  margin-top: 2rem;
}
.products-runway {
  display: flex; gap: 1.25rem;
  overflow-x: auto;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.products-runway::-webkit-scrollbar { display: none; }

.runway-empty {
  min-width: 300px;
  padding: 3rem;
  color: var(--clr-muted);
  font-size: .9rem;
}

.product-card {
  flex: 0 0 280px;
  scroll-snap-align: start;
  background: var(--clr-bg);
}
.product-card__img-wrap {
  position: relative;
  display: block;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--clr-surface);
}
.product-card__img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s cubic-bezier(.4,0,.2,1);
}
.product-card__img-wrap:hover img { transform: scale(1.04); }
.product-card__img-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--clr-surface), var(--clr-border));
  display: flex; align-items: center; justify-content: center;
  color: var(--clr-dark);
}
.product-card__img-placeholder svg { width: 42px; height: 42px; opacity: .28; }
.product-card__badge {
  position: absolute; top: .875rem; left: .875rem;
  background: var(--wb-dark-surface, #1C1C1C);
  color: var(--clr-champagne);
  font-size: .65rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .25rem .625rem;
  border-radius: var(--radius);
}

.product-card__info { padding: 1rem 0 .5rem; }
.product-card__category {
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--clr-muted);
  display: block;
  margin-bottom: .3rem;
}
.product-card__title {
  font-family: var(--ff-display);
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: .5rem;
}
.product-card__title a:hover { color: var(--clr-champagne-2); }
.product-card__price-row { display: flex; align-items: baseline; gap: .5rem; }
.product-card__price { font-weight: 400; font-size: .95rem; }
.product-card__original {
  font-size: .8rem;
  color: var(--clr-muted);
  text-decoration: line-through;
}

.runway-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--clr-bg);
  border: 1px solid var(--clr-border);
  display: flex; align-items: center; justify-content: center;
  color: var(--clr-dark);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  z-index: 2;
}
.runway-nav:hover { background: var(--clr-dark); color: var(--clr-champagne); border-color: var(--clr-dark); }
.runway-nav--prev { left: .5rem; }
.runway-nav--next { right: .5rem; }

/* ===== LOOKBOOK SECTION ===== */
.lookbook-section {
  padding: clamp(3rem, 6vw, 5rem) 0;
  background: var(--clr-dark);
  color: var(--clr-bg);
}
.lookbook-section .section-head h2 { color: var(--clr-bg); }
.lookbook-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1rem;
}
@media (min-width: 768px) {
  .lookbook-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
  .lookbook-card--featured {
    grid-row: span 2;
  }
}

.lookbook-card {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--clr-dark-2);
}
.lookbook-card--featured { aspect-ratio: auto; }

.lookbook-card__img {
  width: 100%; height: 100%;
  position: absolute; inset: 0;
}
.lookbook-card__img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s cubic-bezier(.4,0,.2,1);
}
.lookbook-card__img--placeholder {
  background: linear-gradient(135deg, #2A2318, #1C1C1C);
  width: 100%; height: 100%;
  position: absolute; inset: 0;
}
.lookbook-card:hover .lookbook-card__img img { transform: scale(1.05); }

.lookbook-card__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(28,28,28,.8) 0%, transparent 55%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.5rem;
  transition: background var(--transition);
}
.lookbook-card:hover .lookbook-card__overlay {
  background: linear-gradient(to top, rgba(28,28,28,.9) 0%, rgba(28,28,28,.1) 55%);
}
.lookbook-card__caption {
  font-size: .7rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--clr-champagne);
  margin-bottom: .5rem;
  display: block;
}
.lookbook-card__title {
  font-family: var(--ff-display);
  font-size: 1.4rem;
  font-weight: 400;
  color: #fff;
  margin-bottom: .5rem;
}
.lookbook-card__cta {
  font-size: .75rem;
  letter-spacing: .1em;
  color: var(--clr-champagne);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--transition), transform var(--transition);
}
.lookbook-card:hover .lookbook-card__cta { opacity: 1; transform: translateY(0); }

/* ===== ATELIER / ABOUT ===== */
/* These bands hold wbRevealRight elements, which sit 40px right of the edge until revealed. */
.atelier-section,
.contact-section { overflow-x: clip; }
.atelier-section {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: var(--clr-blush);
}
.atelier-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
@media (max-width: 768px) {
  .atelier-grid { grid-template-columns: 1fr; }
}
.atelier__image img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.atelier__content { max-width: 520px; }
.atelier__content h2 { margin-bottom: 1.25rem; }
.atelier__body {
  color: var(--clr-muted);
  font-size: 1rem;
  margin-bottom: 2rem;
  line-height: 1.8;
}

/* ===== TESTIMONIALS ===== */
.testimonials-section {
  padding: clamp(3.5rem, 6vw, 5rem) 0;
  background: var(--clr-bg);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}
.testimonial-card {
  background: var(--clr-surface);
  padding: 2rem 2rem 1.75rem;
  border-radius: var(--radius-lg);
  display: flex; flex-direction: column; gap: 1.5rem;
  border: 1px solid var(--clr-border);
}
.testimonial-card__quote {
  position: relative;
}
.quote-mark {
  position: absolute; top: -8px; left: -4px;
  color: var(--clr-champagne);
}
.testimonial-card__quote p {
  font-family: var(--ff-display);
  font-size: 1.25rem;
  font-weight: 400;
  font-style: italic;
  line-height: 1.6;
  color: var(--clr-dark);
  padding-top: .5rem;
}
.testimonial-card__author {
  display: flex; align-items: center; gap: 1rem;
}
.testimonial-card__avatar {
  width: 44px; height: 44px; border-radius: 50%;
  object-fit: cover; flex-shrink: 0;
}
.testimonial-card__name {
  display: block;
  font-style: normal;
  font-weight: 500;
  font-size: .9rem;
}
.testimonial-card__role {
  display: block;
  font-size: .75rem;
  color: var(--clr-muted);
  margin-top: .1rem;
}

/* ===== FAQS ===== */
.faqs-section {
  padding: clamp(3rem, 6vw, 5rem) 0;
  background: var(--clr-blush);
}
.faqs-inner { max-width: 760px; }
.faqs-title {
  margin-bottom: 2.5rem;
  font-family: var(--ff-display);
}
.faq-item {
  border-bottom: 1px solid var(--clr-border);
}
.faq-question {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 0;
  font-size: 1rem;
  font-weight: 400;
  text-align: left;
  color: var(--clr-dark);
  background: none;
  gap: 1rem;
}
.faq-chevron { flex-shrink: 0; transition: transform var(--transition); }
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height .35s cubic-bezier(.4,0,.2,1);
}
.faq-answer p {
  padding-bottom: 1.25rem;
  font-size: .95rem;
  color: var(--clr-muted);
  font-weight: 300;
}

/* ===== POLICIES ===== */
.policies-section {
  padding: clamp(2.5rem, 4vw, 4rem) 0;
  background: var(--clr-bg);
  border-top: 1px solid var(--clr-border);
}
.policies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
}
.policy-card {
  padding: 1.5rem;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
}
.policy-card__title {
  font-family: var(--ff-display);
  font-size: 1.1rem;
  font-weight: 400;
  margin-bottom: .5rem;
  color: var(--clr-dark);
}
.policy-card__content {
  font-size: .875rem;
  color: var(--clr-muted);
  line-height: 1.65;
}

/* ===== CONTACT ===== */
.contact-section {
  padding: clamp(3.5rem, 6vw, 5.5rem) 0;
  background: var(--clr-dark);
  color: var(--clr-bg);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (max-width: 640px) {
  .contact-grid { grid-template-columns: 1fr; }
}
.contact-info h2 { color: var(--clr-champagne); margin-bottom: 1.5rem; }
.contact-list {
  display: flex; flex-direction: column; gap: 1rem;
}
.contact-list li {
  display: flex; align-items: flex-start; gap: .875rem;
  font-size: .95rem;
  color: rgba(253,250,247,.75);
}
.contact-list li svg { flex-shrink: 0; margin-top: 2px; color: var(--clr-champagne); }
.contact-list a { color: var(--wb-on-dark, rgba(253,250,247,.85)); }
.contact-list a:hover { color: var(--clr-champagne); }

.contact-wa-cta {
  display: flex; align-items: center; justify-content: center;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--clr-dark-2);
  color: rgba(253,250,247,.65);
  border-top: 1px solid rgba(212,184,150,.15);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-top: 3rem;
  padding-bottom: 3rem;
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-logo {
  display: flex; align-items: center; gap: .625rem;
  text-decoration: none;
  margin-bottom: .875rem;
}
.footer-logo img { width: 32px; height: 32px; object-fit: contain; }
.footer-logo span {
  font-family: var(--ff-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--clr-champagne);
}
.footer-tagline {
  font-size: .875rem;
  color: rgba(253,250,247,.45);
  font-weight: 300;
  max-width: 240px;
  line-height: 1.6;
}
.footer-col h4 {
  font-family: var(--ff-body);
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--clr-champagne);
  margin-bottom: 1rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: .6rem; }
.footer-col a {
  font-size: .875rem;
  color: var(--wb-on-dark, rgba(253,250,247,.55));
  font-weight: 300;
  transition: color var(--transition-fast);
}
.footer-col a:hover { color: var(--clr-champagne); }
.footer-bottom {
  padding: 1.25rem 0;
  border-top: 1px solid rgba(212,184,150,.1);
  font-size: .8rem;
  color: rgba(253,250,247,.3);
  font-weight: 300;
}

/* ===== PAGE HERO (products / product / cart / checkout) ===== */
.page-hero {
  background: var(--wb-dark-surface, #1C1C1C);
  color: var(--clr-bg);
  padding: clamp(3rem, 5vw, 4.5rem) 0;
  text-align: center;
}
.page-hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 400;
  color: var(--clr-champagne);
  margin-bottom: .5rem;
}
.page-hero p {
  font-size: .95rem;
  color: var(--wb-on-dark, rgba(253,250,247,.6));
  font-weight: 300;
}

/* ===== BREADCRUMBS ===== */
.breadcrumbs ol {
  display: flex; gap: .5rem; flex-wrap: wrap;
  font-size: .75rem;
  color: var(--clr-muted);
  margin-bottom: 2rem;
}
.breadcrumbs li + li::before { content: '/'; margin-right: .5rem; }
.breadcrumbs a { color: var(--clr-muted); }
.breadcrumbs a:hover { color: var(--clr-dark); }

/* ===== PRODUCTS PAGE ===== */
.products-page { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.filter-bar {
  display: flex; flex-wrap: wrap; gap: .75rem;
  margin-bottom: 2.5rem;
}
.filter-chip {
  padding: .45rem 1rem;
  border: 1px solid var(--clr-border);
  border-radius: 99px;
  font-size: .75rem;
  font-weight: 400;
  letter-spacing: .06em;
  color: var(--clr-muted);
  background: transparent;
  cursor: pointer;
  transition: var(--transition);
}
.filter-chip--active, .filter-chip:hover {
  background: var(--clr-dark);
  color: var(--clr-champagne);
  border-color: var(--clr-dark);
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 2rem;
}
.products-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 2rem;
  color: var(--clr-muted);
}

/* ===== PRODUCT DETAIL PAGE ===== */
.product-detail { padding: clamp(2rem, 5vw, 4rem) 0; }
.product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
@media (max-width: 768px) {
  .product-layout { grid-template-columns: 1fr; }
}
.product-gallery {}
.product-gallery__main {
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--clr-surface);
  border-radius: var(--radius-lg);
  margin-bottom: .75rem;
}
.product-gallery__main img {
  width: 100%; height: 100%; object-fit: cover;
  transition: opacity .25s, transform .25s;
}
@media (prefers-reduced-motion: no-preference) {
  .product-gallery__main img.is-swapping {
    opacity: .75;
    transform: scale(.98);
  }
}
.product-gallery__thumbs {
  display: flex; gap: .5rem; flex-wrap: wrap;
}
.product-gallery__thumbs button {
  width: 72px; height: 90px;
  overflow: hidden;
  border-radius: var(--radius);
  border: 2px solid transparent;
  padding: 0;
  background: var(--clr-surface);
  transition: border-color var(--transition-fast);
}
.product-gallery__thumbs button.active,
.product-gallery__thumbs button:hover { border-color: var(--clr-champagne); }
.product-gallery__thumbs img {
  width: 100%; height: 100%; object-fit: cover;
}

.product-info {}
.product-info__category {
  font-size: .7rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--clr-muted);
  display: block;
  margin-bottom: .5rem;
}
.product-info h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  margin-bottom: .875rem;
}
.product-info__price-row {
  display: flex; align-items: baseline; gap: .75rem;
  margin-bottom: 1.25rem;
}
.product-info__price { font-family: var(--ff-display); font-size: 1.8rem; font-weight: 400; }
.product-info__original { font-size: 1.1rem; color: var(--clr-muted); text-decoration: line-through; }
.product-info__desc {
  font-size: .95rem; line-height: 1.8;
  color: var(--clr-muted);
  font-weight: 300;
  margin-bottom: 1.5rem;
}

.variant-group { margin-bottom: 1.5rem; }
.variant-group__label {
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: .625rem;
  display: block;
}
.variant-swatches { display: flex; flex-wrap: wrap; gap: .5rem; }
.variant-btn {
  padding: .4rem .875rem;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  font-size: .8rem;
  background: transparent;
  cursor: pointer;
  transition: var(--transition);
}
.variant-btn:hover, .variant-btn.active {
  border-color: var(--clr-dark);
  background: var(--clr-dark);
  color: var(--clr-champagne);
}

.qty-selector {
  display: flex; align-items: center; gap: .75rem;
  margin-bottom: 1.5rem;
}
.qty-selector__label {
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.qty-controls {
  display: flex; align-items: center; gap: .5rem;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  overflow: hidden;
}
.qty-btn {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  background: transparent;
  color: var(--clr-dark);
  transition: background var(--transition-fast);
  border: none; cursor: pointer;
}
.qty-btn:hover { background: var(--clr-surface); }
.qty-val { min-width: 36px; text-align: center; font-size: .95rem; }

.product-info__actions {
  display: flex; flex-wrap: wrap; gap: .875rem;
  margin-bottom: 1.5rem;
}
.product-info__actions .btn {
  flex: 1; justify-content: center; padding: .875rem;
}
.btn--wa-order {
  background: var(--wa-green);
  color: #fff;
  border: 1px solid var(--wa-green);
  font-size: .8rem;
  display: flex; align-items: center; gap: .5rem;
}
.btn--wa-order:hover { background: #1da355; border-color: #1da355; }

/* Sticky ATC */
.sticky-atc {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--clr-dark);
  color: var(--clr-champagne);
  padding: 1rem clamp(1rem, 4vw, 2.5rem);
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  z-index: 350;
  transform: translateY(100%);
  transition: transform .3s cubic-bezier(.4,0,.2,1);
  opacity: 0;
  pointer-events: none;
}
.sticky-atc.visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.sticky-atc__title {
  font-family: var(--ff-display);
  font-size: 1.1rem;
  font-weight: 400;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
}

/* Reviews section */
.reviews-section { padding: clamp(2.5rem, 5vw, 4rem) 0; background: var(--clr-blush); }
.reviews-header {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
  margin-bottom: 2rem;
}
.reviews-score { display: flex; align-items: center; gap: .875rem; }
.reviews-score__avg {
  font-family: var(--ff-display);
  font-size: 3rem;
  font-weight: 400;
  line-height: 1;
}
.reviews-stars { display: flex; gap: 2px; }
.reviews-stars span { font-size: 1rem; }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.review-card {
  background: var(--clr-bg);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--clr-border);
}
.review-card__stars { display: flex; gap: 2px; margin-bottom: .5rem; }
.review-card__text { font-size: .9rem; color: var(--clr-muted); margin-bottom: .875rem; font-weight: 300; }
.review-card__author { font-size: .8rem; font-weight: 500; }
.review-card__date { font-size: .75rem; color: var(--clr-muted); margin-top: .2rem; }

.review-form-wrap { background: var(--clr-bg); padding: 2rem; border-radius: var(--radius-lg); border: 1px solid var(--clr-border); max-width: 560px; }
.review-success { padding: 1.5rem; background: #e8f5e9; border-radius: var(--radius-lg); color: #2e7d32; font-size: .9rem; }

/* ===== CART PAGE ===== */
.cart-section { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.empty-state {
  text-align: center;
  padding: 5rem 2rem;
}
.empty-state__icon { margin: 0 auto 1.5rem; color: var(--clr-muted); }
.empty-state h2 { font-family: var(--ff-display); font-size: 2rem; font-weight: 400; margin-bottom: .75rem; }
.empty-state p { color: var(--clr-muted); font-size: .95rem; margin-bottom: 1.5rem; }

.cart-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}
@media (max-width: 768px) {
  .cart-layout { grid-template-columns: 1fr; }
}
.cart-item {
  display: flex; align-items: flex-start; gap: 1.25rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--clr-border);
}
.cart-item__img-wrap img {
  width: 90px; height: 110px; object-fit: cover;
  border-radius: var(--radius);
  flex-shrink: 0;
}
.cart-item__details { flex: 1; }
.cart-item__title { font-family: var(--ff-display); font-size: 1.2rem; font-weight: 400; display: block; margin-bottom: .5rem; }
.cart-item__title:hover { color: var(--clr-champagne-2); }
.cart-item__original { font-size: .8rem; color: var(--clr-muted); text-decoration: line-through; display: block; }
.cart-item__price { font-size: .95rem; display: block; margin-top: .1rem; }
.cart-item__qty {
  display: flex; align-items: center; gap: .5rem;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  overflow: hidden;
  align-self: flex-end;
}
.cart-item__line-total { font-weight: 400; min-width: 80px; text-align: right; align-self: flex-end; }
.cart-item__remove {
  align-self: flex-start;
  color: var(--clr-muted); width: 24px; height: 24px;
  display: flex; align-items: center; justify-content: center;
  transition: color var(--transition-fast);
}
.cart-item__remove:hover { color: var(--clr-dark); }

.cart-summary {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  position: sticky; top: 100px;
}
.cart-summary h3 {
  font-family: var(--ff-display);
  font-size: 1.4rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--clr-border);
}
.cart-total-row {
  display: flex; justify-content: space-between;
  font-size: .9rem; padding: .5rem 0;
}
.cart-total-row--grand {
  font-family: var(--ff-display);
  font-size: 1.3rem;
  font-weight: 400;
  border-top: 1px solid var(--clr-border);
  padding-top: 1rem; margin-top: .5rem;
}
.cart-summary__actions { display: flex; flex-direction: column; gap: .75rem; margin-top: 1.5rem; }
.cart-summary__actions .btn { justify-content: center; }
.trust-signals {
  display: flex; flex-wrap: wrap; gap: .875rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--clr-border);
}
.trust-signals__item {
  display: flex; align-items: center; gap: .375rem;
  font-size: .75rem; color: var(--clr-muted);
}

/* ===== CHECKOUT ===== */
.checkout-section { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.checkout-progress { margin-bottom: 2.5rem; }
.checkout-progress ol {
  display: flex; align-items: center; gap: 0;
  list-style: none;
}
.checkout-progress__step {
  display: flex; align-items: center;
  flex: 1; gap: .5rem; font-size: .8rem; color: var(--clr-muted);
  letter-spacing: .05em;
}
.checkout-progress__step span:first-child {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--clr-border);
  display: flex; align-items: center; justify-content: center;
  font-size: .8rem;
  flex-shrink: 0;
}
.checkout-progress__step--completed span:first-child {
  background: var(--clr-champagne); border-color: var(--clr-champagne);
  color: var(--clr-dark);
}
.checkout-progress__step--active span:first-child {
  background: var(--clr-dark); border-color: var(--clr-dark);
  color: var(--clr-champagne);
}
.checkout-progress__step--active { color: var(--clr-dark); font-weight: 500; }
.checkout-progress__label { font-size: .75rem; }

.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}
@media (max-width: 900px) {
  .checkout-layout { grid-template-columns: 1fr; }
}
.checkout-form-col h1 {
  font-family: var(--ff-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 400;
  margin-bottom: .5rem;
}
.checkout-sub { font-size: .9rem; color: var(--clr-muted); margin-bottom: 2rem; font-weight: 300; }

.form-section { margin-bottom: 2rem; }
.form-section__title {
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--clr-muted);
  margin-bottom: 1.25rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid var(--clr-border);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 540px) { .form-row { grid-template-columns: 1fr; } }
.form-field { display: flex; flex-direction: column; gap: .375rem; margin-bottom: 1rem; }
.form-field:last-child { margin-bottom: 0; }
.form-field label { font-size: .75rem; font-weight: 500; letter-spacing: .08em; color: var(--clr-dark); }
.form-field input, .form-field select, .form-field textarea {
  padding: .7rem .875rem;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  font-size: .9rem;
  font-weight: 300;
  background: var(--clr-bg);
  color: var(--clr-dark);
  transition: border-color var(--transition-fast);
  width: 100%;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--clr-champagne);
}

.method-option {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  margin-bottom: .75rem;
  cursor: pointer;
  transition: border-color var(--transition-fast);
}
.method-option.selected { border-color: var(--clr-champagne); background: #fef9f4; }
.method-option__label { flex: 1; }
.method-option__sub { font-size: .8rem; color: var(--clr-muted); margin-top: .2rem; }
.method-option__price { font-weight: 400; font-size: .9rem; }

.checkout-summary-col {
  background: var(--clr-dark);
  color: var(--clr-bg);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: sticky; top: 100px;
}
.checkout-summary-col h3 {
  font-family: var(--ff-display);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--clr-champagne);
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(212,184,150,.2);
}
.checkout-summary-item {
  display: flex; align-items: center; gap: 1rem;
  padding: .875rem 0;
  border-bottom: 1px solid rgba(253,250,247,.08);
}
.checkout-summary-item img { border-radius: var(--radius); }
.checkout-summary-item__info { flex: 1; }
.checkout-summary-item__title { font-size: .9rem; display: block; margin-bottom: .2rem; }
.checkout-summary-item__qty { font-size: .8rem; color: rgba(253,250,247,.5); }
.checkout-summary-item__price { font-size: .9rem; font-weight: 400; }
.checkout-total-row {
  display: flex; justify-content: space-between;
  font-size: .9rem; padding: .5rem 0;
  color: rgba(253,250,247,.65);
}
.checkout-total-row--grand {
  font-family: var(--ff-display);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--clr-champagne);
  border-top: 1px solid rgba(212,184,150,.2);
  padding-top: 1rem; margin-top: .5rem;
}

.place-order-btn {
  width: 100%;
  justify-content: center;
  padding: 1rem;
  font-size: .875rem;
  margin-top: 1.5rem;
}

/* ===== ANNOUNCEMENT BAR ===== */
.announcement-bar {
  background: var(--clr-dark);
  color: var(--clr-champagne);
  text-align: center;
  padding: .5rem 1rem;
  font-size: .75rem;
  letter-spacing: .1em;
  font-family: var(--ff-body);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .site-nav-left { display: none; }
  .menu-toggle { display: flex; }
  /* With the left nav hidden the 3-column grid keeps a min-content logo column, so a long
     brand name widens the phone's layout viewport. Logo fills, actions sit right, name truncates. */
  .header-top-inner { grid-template-columns: minmax(0, 1fr) auto; gap: 1rem; }
  .site-logo { min-width: 0; align-items: flex-start; }
  .site-logo span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
}
@media (min-width: 769px) {
  .site-nav-mobile { display: none !important; }
}

/* Hide wire:loading elements before Livewire mounts (mirrors Livewire's runtime CSS) */
[wire\:loading],
[wire\:loading\.delay],
[wire\:loading\.inline-block],
[wire\:loading\.inline] { display: none; }

/* ===== MOTION — GSAP REPLACEMENT (CSS-native reveals) =====
   Resting state for every selector below is fully visible at rule level
   (no rule-level opacity:0 anywhere in this file) — a browser that supports
   neither prefers-reduced-motion nor view() timelines still renders full
   content. Everything past this point is additive polish only. */

@media (prefers-reduced-motion: no-preference) {

  @keyframes wbRevealUp {
    from { opacity: 0; transform: translateY(32px); }
    /* `to` intentionally omits `transform` — see
       les-filling-view-animation-outranks-hover-and-inline-transform.
       A filling animation's `to` frame is a PERMANENT declaration; writing
       `transform: translateY(0)` (or worse, `none`) here would out-rank
       every later `:hover` lift / JS tilt on the same element forever.
       Omitting it lets the implicit end keyframe resolve to the element's
       own underlying transform, so hover and JS stay free to write on top
       once the reveal has played. */
    to { opacity: 1; }
  }
  @keyframes wbRevealUpSmall {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; }
  }
  @keyframes wbRevealScale {
    from { opacity: 0; transform: scale(.97); }
    to { opacity: 1; }
  }
  @keyframes wbRevealLeft {
    from { opacity: 0; transform: translateX(-40px); }
    to { opacity: 1; }
  }
  @keyframes wbRevealRight {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; }
  }

  /* ---- Page-load entrances (hero + inner-page heroes + product detail) ----
     These never used ScrollTrigger — GSAP fired them once on DOMContentLoaded,
     so a plain wall-clock animation-delay reproduces them exactly. */
  .hero__badge[data-reveal] {
    animation: wbRevealUpSmall .7s cubic-bezier(.16,1,.3,1) .15s both;
  }
  .hero h1[data-reveal] {
    animation: wbRevealUp 1s cubic-bezier(.16,1,.3,1) .3s both;
  }
  .hero__subtitle[data-reveal] {
    animation: wbRevealUpSmall .75s cubic-bezier(.16,1,.3,1) .6s both;
  }
  .hero__ctas[data-reveal] {
    animation: wbRevealUpSmall .6s cubic-bezier(.16,1,.3,1) .8s both;
  }
  .page-hero h1 {
    animation: wbRevealUpSmall .65s cubic-bezier(.16,1,.3,1) both;
  }
  .page-hero p {
    animation: wbRevealUpSmall .55s cubic-bezier(.16,1,.3,1) .15s both;
  }
  .product-gallery {
    animation: wbRevealLeft .75s cubic-bezier(.16,1,.3,1) both;
  }
  .product-info {
    animation: wbRevealRight .75s cubic-bezier(.16,1,.3,1) both;
  }

  /* .category-pill and the runway .product-card live inside
     .categories-track / .products-runway, which are GENUINELY
     horizontally-scrolling (overflow-x: auto, scroll-snap) — left alone
     per the commerce doctrine. That makes each the nearest ANCESTOR
     scroll container, in any axis, ahead of the page itself, so a
     view()-timeline on their children would measure against a container
     that never moves in the block axis and permanently reads progress 1.
     These reveal on page load with a short stagger instead of on scroll. */
  .category-pill {
    animation: wbRevealUpSmall .5s cubic-bezier(.16,1,.3,1) both;
  }
  .category-pill:nth-child(2) { animation-delay: .08s; }
  .category-pill:nth-child(3) { animation-delay: .16s; }
  .category-pill:nth-child(4) { animation-delay: .24s; }
  .category-pill:nth-child(5) { animation-delay: .32s; }
  .category-pill:nth-child(n+6) { animation-delay: .4s; }

  .products-runway .product-card {
    animation: wbRevealUp .55s cubic-bezier(.16,1,.3,1) both;
  }
  .products-runway .product-card:nth-child(2) { animation-delay: .08s; }
  .products-runway .product-card:nth-child(3) { animation-delay: .16s; }
  .products-runway .product-card:nth-child(4) { animation-delay: .24s; }
  .products-runway .product-card:nth-child(n+5) { animation-delay: .32s; }
}

/* ---- Scroll-driven reveals (replaces every ScrollTrigger tween) ----
   Scoped to browsers that both allow motion AND support scroll-driven
   animations; everywhere else the elements above are simply visible with
   no reveal, which is the correct fallback, not a regression. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {

    .section-head h2[data-reveal] {
      animation: wbRevealUp .75s cubic-bezier(.16,1,.3,1) both;
      animation-timeline: view();
      animation-range: entry 0% entry 60%;
    }

    /* `.product-card--reveal` (products.blade.php only) — NOT the bare
       `.product-card` class, which is reused inside `.products-runway`
       (a genuine horizontal scroller left un-clipped per the commerce
       doctrine below). A view()-timeline keyed to the bare class would
       also match those runway cards and read a permanent progress of 1. */
    .product-card--reveal {
      animation: wbRevealUp .65s cubic-bezier(.16,1,.3,1) both;
      animation-timeline: view();
      animation-range: entry 0% entry 62%;
    }
    .product-card--reveal:nth-child(2) { animation-range: entry 8% entry 70%; }
    .product-card--reveal:nth-child(3) { animation-range: entry 16% entry 78%; }
    .product-card--reveal:nth-child(4) { animation-range: entry 24% entry 86%; }
    .product-card--reveal:nth-child(n+5) { animation-range: entry 32% entry 94%; }

    .lookbook-card {
      animation: wbRevealScale .7s cubic-bezier(.16,1,.3,1) both;
      animation-timeline: view();
      animation-range: entry 0% entry 60%;
    }
    .lookbook-card:nth-child(2) { animation-range: entry 10% entry 70%; }
    .lookbook-card:nth-child(3) { animation-range: entry 20% entry 80%; }
    .lookbook-card:nth-child(n+4) { animation-range: entry 30% entry 90%; }

    .atelier__image[data-reveal] {
      animation: wbRevealLeft .85s cubic-bezier(.16,1,.3,1) both;
      animation-timeline: view();
      animation-range: entry 0% entry 65%;
    }
    .atelier__content[data-reveal] {
      animation: wbRevealRight .85s cubic-bezier(.16,1,.3,1) both;
      animation-timeline: view();
      animation-range: entry 0% entry 65%;
    }

    .testimonial-card {
      animation: wbRevealUp .7s cubic-bezier(.16,1,.3,1) both;
      animation-timeline: view();
      animation-range: entry 0% entry 65%;
    }
    .testimonial-card:nth-child(2) { animation-range: entry 12% entry 77%; }
    .testimonial-card:nth-child(3) { animation-range: entry 24% entry 89%; }
    .testimonial-card:nth-child(n+4) { animation-range: entry 36% entry 100%; }

    .faq-item {
      animation: wbRevealLeft .5s cubic-bezier(.16,1,.3,1) both;
      animation-timeline: view();
      animation-range: entry 0% entry 65%;
    }
    .faq-item:nth-child(2) { animation-range: entry 7% entry 72%; }
    .faq-item:nth-child(3) { animation-range: entry 14% entry 79%; }
    .faq-item:nth-child(4) { animation-range: entry 21% entry 86%; }
    .faq-item:nth-child(n+5) { animation-range: entry 28% entry 93%; }

    .policy-card {
      animation: wbRevealUpSmall .55s cubic-bezier(.16,1,.3,1) both;
      animation-timeline: view();
      animation-range: entry 0% entry 68%;
    }
    .policy-card:nth-child(2) { animation-range: entry 9% entry 77%; }
    .policy-card:nth-child(3) { animation-range: entry 18% entry 86%; }
    .policy-card:nth-child(n+4) { animation-range: entry 27% entry 95%; }

    .contact-info[data-reveal] {
      animation: wbRevealLeft .75s cubic-bezier(.16,1,.3,1) both;
      animation-timeline: view();
      animation-range: entry 0% entry 65%;
    }
    .contact-wa-cta[data-reveal] {
      animation: wbRevealRight .75s cubic-bezier(.16,1,.3,1) both;
      animation-timeline: view();
      animation-range: entry 0% entry 65%;
    }

    .footer-grid > * {
      animation: wbRevealUpSmall .55s cubic-bezier(.16,1,.3,1) both;
      animation-timeline: view();
      animation-range: entry 0% entry 100%;
    }
    .footer-grid > *:nth-child(2) { animation-range: entry 10% entry 100%; }
    .footer-grid > *:nth-child(3) { animation-range: entry 20% entry 100%; }
    .footer-grid > *:nth-child(n+4) { animation-range: entry 30% entry 100%; }
  }
}

/* WoBooks empty-image guard (theme:editor-compliance --fix --scope=img-empty-guard):
   image_url('') renders <img src=""> until the owner uploads a photo — hide it
   instead of leaking the browser's broken-image icon + alt text onto the page. */
img[src=""], img:not([src]) { display: none !important; }

/* phone-header-fit: at phone width a real business name fills the logo, so the brand truncates
   before it can push the menu toggle off-screen, and the toggle stays pinned right.
   With the left nav hidden, the 1fr/auto/1fr grid put the actions in the middle column; the WhatsApp
   icon is hidden because the floating WhatsApp button carries it.
   Gate: tests/Feature/Themes/MobileHeaderFitTest.php (it strips this block and expects the overhang back). */
@media (max-width: 768px) {
  [data-section="header"] .header-top-inner { grid-template-columns: minmax(0, 1fr) auto; column-gap: 1rem; }
  [data-section="header"] .site-logo { min-width: 0; align-items: flex-start; }
  [data-section="header"] .site-logo span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
  [data-section="header"] .header-wa { display: none; }
}
/* /phone-header-fit */

/* Own contrast (Weave item 54, theme:palette-stress --heal): with no palette, these read 4.5:1 on the theme's own
   backgrounds; each was proven by rendering the page. The palette block (html:root) still overrides the tokens. */
:root {
  --clr-muted: #77675c; /* was #8C7B70 */
  --clr-champagne-2: #765634; /* was #C4A07C */
}
.footer-bottom { color: oklch(from rgba(253, 250, 247, 0.3) calc(l + 0.07) c h / calc(min(1, alpha + 0.21))); }
