/* ============================================================
   Pret — Clothing Store Theme
   Pakistan Lawn / Pret Fashion Aesthetic
   Palette: Burgundy #6B1F3A · Gold #C9A84C · Cream #FAF6F0 · Charcoal #2C2C2C
   Typography: Playfair Display (display) · Inter (body)
   ============================================================ */

/* ===== CSS VARIABLES ===== */
:root {
  --clr-primary:       #6B1F3A;
  --clr-primary-light: #8D2E52;
  --clr-accent:        #C9A84C;
  --clr-accent-dark:   #A8872A;
  --clr-bg:            #FAF6F0;
  --clr-dark:          #1A0A12;
  --clr-surface:       #F3ECE4;
  --clr-surface-2:     #EBE0D4;
  --clr-border:        #E5D9CF;
  --clr-muted:         #7A6355;
  --clr-text:          #2C2C2C;
  --ff-display:        'Playfair Display', Georgia, serif;
  --ff-body:           'Inter', system-ui, sans-serif;
  --radius:            4px;
  --radius-lg:         12px;
  --radius-xl:         20px;
  --shadow-sm:         0 1px 4px rgba(26,10,18,.08);
  --shadow-md:         0 4px 20px rgba(26,10,18,.12);
  --shadow-lg:         0 12px 40px rgba(26,10,18,.18);
  --transition:        .3s cubic-bezier(.4,0,.2,1);
  --transition-fast:   .18s cubic-bezier(.4,0,.2,1);
  --wa-green:          #25D366;
  --wa-green-dark:     #128C7E;
}

/* ===== 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;
  -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.15;
  letter-spacing: -.01em;
  color: inherit;
}
h1 { font-size: clamp(2.8rem, 6vw, 5rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 600; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); font-weight: 500; }
h4 { font-size: 1.15rem; font-weight: 500; }
p  { line-height: 1.7; }

.eyebrow {
  font-family: var(--ff-body);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--clr-accent);
  display: inline-block;
  margin-bottom: .75rem;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .8rem 2rem;
  border-radius: var(--radius);
  font-family: var(--ff-body);
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
  cursor: pointer;
  border: 2px solid transparent;
}
.btn:hover  { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }
.btn--primary   { background: var(--clr-primary); color: #fff; }
.btn--primary:hover { background: var(--clr-primary-light); }
.btn--accent    { background: var(--clr-accent); color: var(--clr-dark); color: oklch(from var(--clr-accent) clamp(0, (0.57 - l) * 1000, 1) 0 0); }
.btn--accent:hover { background: var(--clr-accent-dark); color: #fff; }
.btn--outline   { background: transparent; border-color: currentColor; color: var(--clr-primary); }
.btn--outline:hover { background: var(--clr-primary); color: #fff; border-color: var(--clr-primary); }
.btn--ghost-light { background: transparent; border-color: rgba(255,255,255,.5); color: #fff; }
.btn--ghost-light:hover { background: rgba(255,255,255,.12); border-color: #fff; }

.section-header { text-align: center; max-width: 640px; margin-inline: auto; margin-bottom: 3rem; }
.section-header p { color: var(--clr-muted); margin-top: .75rem; }

/* ===== ACCESSIBILITY ===== */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  padding: .6rem 1.2rem;
  background: var(--clr-primary);
  color: #fff;
  border-radius: 0 0 var(--radius) var(--radius);
  font-size: .875rem;
  z-index: 9999;
  transition: top var(--transition-fast);
}
.skip-link:focus { top: 0; }

/* ===== SCROLL PROGRESS ===== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--clr-primary), var(--clr-accent));
  z-index: 9999;
  transition: width .1s linear;
}

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 6rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--clr-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 800;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity var(--transition), transform var(--transition);
  box-shadow: var(--shadow-md);
}
.back-to-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { background: var(--clr-primary-light); }

/* ===== WHATSAPP FLOAT ===== */
.wa-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 850;
  display: flex;
  align-items: center;
  gap: .65rem;
  background: var(--wa-green);
  color: #fff;
  border-radius: 99px;
  padding: .7rem 1.2rem .7rem .85rem;
  box-shadow: 0 4px 20px rgba(37,211,102,.35);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition: opacity var(--transition), transform var(--transition), background var(--transition-fast), box-shadow var(--transition-fast);
  text-decoration: none;
}
.wa-float.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.wa-float:hover { background: var(--wa-green-dark); box-shadow: 0 6px 28px rgba(37,211,102,.45); }
.wa-float__icon { width: 26px; height: 26px; flex-shrink: 0; }

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: var(--background, rgba(250,246,240,.94));
  border-bottom: 1px solid var(--clr-border);
  transition: box-shadow var(--transition);
}
/* The blur lives on a layer, not the header: backdrop-filter on the header makes it the containing
   block of the position:fixed mobile drawer, which then sizes to the header and widens the page. */
.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.site-header.scrolled { box-shadow: var(--shadow-md); }
.header-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  height: 68px;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: .65rem;
  flex-shrink: 0;
  font-family: var(--ff-display);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--clr-primary);
  letter-spacing: .01em;
}
.site-logo img { height: 36px; width: auto; }
.site-nav {
  display: flex;
  align-items: center;
  gap: .25rem;
  margin-inline-start: auto;
}
.site-nav a {
  position: relative;
  font-size: .875rem;
  font-weight: 500;
  color: var(--clr-text);
  padding: .4rem .8rem;
  border-radius: var(--radius);
  transition: color var(--transition-fast);
}
.site-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: .8rem;
  width: 0;
  height: 1.5px;
  background: var(--clr-accent);
  transition: width var(--transition);
}
.site-nav a:hover { color: var(--clr-primary); }
.site-nav a:hover::after { width: calc(100% - 1.6rem); }
.header-actions { display: flex; align-items: center; gap: .5rem; margin-inline-start: 1rem; }
.header-wa-btn {
  display: flex;
  align-items: center;
  gap: .4rem;
  background: var(--wa-green);
  color: #fff;
  padding: .45rem 1rem;
  border-radius: 99px;
  font-size: .775rem;
  font-weight: 600;
  letter-spacing: .03em;
  transition: background var(--transition-fast);
  white-space: nowrap;
}
.header-wa-btn:hover { background: var(--wa-green-dark); }
.cart-toggle {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--clr-text);
  transition: background var(--transition-fast), color var(--transition-fast);
}
.cart-toggle:hover { background: var(--clr-surface); color: var(--clr-primary); }
.cart-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  background: var(--clr-accent);
  color: var(--clr-dark);
  font-size: .65rem;
  font-weight: 700;
  border-radius: 99px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: transform .2s;
  color: oklch(from var(--clr-accent) clamp(0, (0.57 - l) * 1000, 1) 0 0);
}
.cart-badge.pulse { animation: badgePulse .3s ease; }
@keyframes badgePulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.35); } }
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 10px;
}
.menu-toggle span {
  display: block;
  height: 1.5px;
  background: var(--clr-text);
  transition: transform var(--transition), opacity var(--transition);
  border-radius: 2px;
}
.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); }

/* ===== CART DRAWER ===== */
.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26,10,18,.5);
  z-index: 1000;
  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;
  bottom: 0;
  width: min(400px, 95vw);
  background: var(--clr-bg);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform var(--transition);
  box-shadow: var(--shadow-lg);
}
.cart-drawer.open { transform: translateX(0); }
.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-size: 1.25rem; font-family: var(--ff-display); color: var(--clr-primary); }
.cart-drawer__close { color: var(--clr-muted); padding: .4rem; border-radius: var(--radius); transition: color var(--transition-fast); }
.cart-drawer__close:hover { color: var(--clr-primary); }
.cart-drawer__body { flex: 1; overflow-y: auto; padding: 1rem 1.5rem; }
.cart-drawer__empty { text-align: center; padding: 3rem 1rem; color: var(--clr-muted); }
.cart-drawer__empty svg { margin: 0 auto 1rem; opacity: .35; }
.cart-drawer__foot {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--clr-border);
  background: var(--clr-surface);
}
.cart-drawer__total { display: flex; justify-content: space-between; font-weight: 600; margin-bottom: 1rem; font-size: 1rem; }
.cart-drawer__actions { display: flex; gap: .75rem; }
.cart-drawer__actions .btn { flex: 1; justify-content: center; }
.drawer-item {
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: .85rem 0;
  border-bottom: 1px solid var(--clr-border);
}
.drawer-item:last-child { border-bottom: none; }
.drawer-item__img { width: 68px; flex-shrink: 0; border-radius: var(--radius); overflow: hidden; }
.drawer-item__img img { width: 100%; height: 84px; object-fit: cover; }
.drawer-item__info { flex: 1; min-width: 0; }
.drawer-item__title { font-size: .875rem; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: .25rem; }
.drawer-item__price { font-size: .8rem; color: var(--clr-primary); font-weight: 600; }
.drawer-item__remove { color: var(--clr-muted); font-size: .875rem; padding: .35rem; flex-shrink: 0; transition: color var(--transition-fast); }
.drawer-item__remove:hover { color: var(--clr-primary); }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}
.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem clamp(2rem,5vw,4rem) 5rem clamp(2rem,5vw,4rem);
  background: var(--clr-dark);
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .35rem .9rem;
  border: 1px solid rgba(201,168,76,.4);
  border-radius: var(--radius, 99px);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--clr-accent);
  width: fit-content;
  margin-bottom: 1.5rem;
}
.hero__badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--clr-accent);
  flex-shrink: 0;
}
.hero h1 {
  font-size: clamp(3rem, 5.5vw, 5.5rem);
  font-weight: 700;
  color: var(--wb-on-dark, #fff);
  line-height: 1.05;
  margin-bottom: 1.25rem;
}
.hero h1 em { font-style: italic; color: var(--clr-accent); }
.hero__subtitle { font-size: 1.05rem; color: var(--wb-on-dark, rgba(255,255,255,.68)); margin-bottom: 2.5rem; max-width: 440px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero__image { position: relative; overflow: hidden; }
.hero__image img { width: 100%; height: 100%; object-fit: cover; transition: transform 12s ease; }
.hero__image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--clr-dark) 0%, transparent 30%);
  pointer-events: none;
}

/* ===== TRUST BAND ===== */
.trust-band {
  background: var(--clr-primary);
  padding: 1.25rem 0;
}
.trust-band__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem 3rem;
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: .65rem;
  font-size: .82rem;
  font-weight: 600;
  color: rgba(255,255,255,.9);
  letter-spacing: .04em;
}
.trust-badge svg { color: var(--clr-accent); flex-shrink: 0; }
.trust-divider { width: 1px; height: 22px; background: rgba(255,255,255,.2); }
/* Each badge renders only when the owner's setting or note backs it: no trailing divider, no empty band. */
.trust-divider:last-child { display: none; }
.trust-band:not(:has(.trust-badge)) { display: none; }

/* ===== CATEGORIES ===== */
.categories { padding: 5rem 0; background: var(--clr-bg); }
.categories-bento {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  grid-template-rows: 280px 280px;
  gap: 1rem;
}
.category-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
}
.category-card:nth-child(1) { grid-row: 1 / 3; }
.category-card:nth-child(4) { grid-column: 2 / 4; }
.category-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.4,0,.2,1); }
.category-card:hover img { transform: scale(1.06); }
.category-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,10,18,.75) 0%, transparent 55%);
  transition: background var(--transition);
}
.category-card:hover .category-card__overlay { background: linear-gradient(to top, rgba(107,31,58,.85) 0%, rgba(201,168,76,.1) 60%); }
.category-card__info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  transform: translateY(8px);
  transition: transform var(--transition);
}
.category-card:hover .category-card__info { transform: translateY(0); }
.category-card__name { font-family: var(--ff-display); font-size: 1.5rem; font-weight: 700; color: #fff; display: block; margin-bottom: .4rem; }
.category-card__cta { font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--clr-accent); opacity: 0; transition: opacity var(--transition); }
.category-card:hover .category-card__cta { opacity: 1; }

/* ===== PRODUCTS SECTION ===== */
.products-section { padding: 5rem 0; background: var(--clr-surface); }
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}
.products-cta-wrap { text-align: center; margin-top: 3rem; }

/* ===== PRODUCT CARD ===== */
.product-card {
  background: var(--clr-bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}
.product-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.product-card__image-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
  display: block;
}
.product-card__image-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.4,0,.2,1); }
.product-card:hover .product-card__image-wrap img { transform: scale(1.05); }
.product-card__quick-view {
  position: absolute;
  bottom: .75rem;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--clr-primary);
  color: #fff;
  padding: .4rem .9rem;
  border-radius: 99px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .06em;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: .4rem;
  opacity: 0;
  transition: opacity var(--transition), transform var(--transition);
}
.product-card:hover .product-card__quick-view { opacity: 1; transform: translateX(-50%) translateY(0); }
.product-card__info { padding: 1rem 1.1rem 1.1rem; }
.product-card__title { font-size: .95rem; font-weight: 500; margin-bottom: .5rem; }
.product-card__title a { color: var(--clr-text); transition: color var(--transition-fast); }
.product-card__title a:hover { color: var(--clr-primary); }
.product-card__price { display: flex; align-items: center; gap: .5rem; margin-bottom: .75rem; }
.product-card__price-current { font-weight: 700; color: var(--clr-primary); font-size: 1rem; }
.product-card__price-original { font-size: .82rem; color: var(--clr-muted); text-decoration: line-through; }
.product-card__add-btn {
  width: 100%;
  padding: .55rem;
  background: var(--clr-primary);
  color: #fff;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: background var(--transition-fast);
}
.product-card__add-btn:hover { background: var(--clr-primary-light); }

/* ===== SEASONAL COLLECTIONS ===== */
.collections { padding: 5rem 0; background: var(--wb-dark-surface, #1A0A12); }
.collections .section-header { color: #fff; }
.collections .section-header p { color: var(--wb-on-dark, rgba(255,255,255,.55)); }
.collections-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.collection-card {
  display: block;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: pointer;
}
.collection-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .65s cubic-bezier(.4,0,.2,1); }
.collection-card:hover img { transform: scale(1.07); }
.collection-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,10,18,.88) 0%, rgba(26,10,18,.2) 50%, transparent 100%);
}
.collection-card__body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.75rem 1.5rem;
}
.collection-card__name { font-family: var(--ff-display); font-size: 1.5rem; font-weight: 700; color: #fff; display: block; margin-bottom: .4rem; }
.collection-card__desc { font-size: .85rem; color: rgba(255,255,255,.65); margin-bottom: 1rem; line-height: 1.5; }
.collection-card__cta {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--clr-accent);
  transition: gap var(--transition-fast);
}
.collection-card:hover .collection-card__cta { gap: .7rem; }

/* ===== ABOUT ===== */
/* overflow-x: clip — these bands hold wbFadeInRight reveals, which start 32px right of the edge
   and would widen a phone's layout viewport until they scroll into view. */
.about { padding: 6rem 0; background: var(--clr-bg); overflow-x: clip; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about__image { position: relative; border-radius: var(--radius-xl); overflow: hidden; }
.about__image img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.about__image::before {
  content: '';
  position: absolute;
  top: -1.5rem;
  left: -1.5rem;
  right: 1.5rem;
  bottom: 1.5rem;
  border: 2px solid var(--clr-accent);
  border-radius: var(--radius-xl);
  z-index: -1;
}
.about__content { padding: 1rem 0; }
.about__content h2 { margin-bottom: 1.25rem; color: var(--clr-primary); }
.about__content p { color: var(--clr-muted); margin-bottom: 1.25rem; }
.about__cta { margin-top: .5rem; }

/* ===== TESTIMONIALS ===== */
.testimonials { padding: 5rem 0; background: var(--clr-surface); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.testimonial-card {
  background: var(--clr-bg);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--clr-border);
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  font-family: var(--ff-display);
  font-size: 4rem;
  color: var(--clr-accent);
  opacity: .3;
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  line-height: 1;
}
.testimonial-card__stars { color: var(--clr-accent); font-size: 1rem; margin-bottom: .75rem; letter-spacing: .05em; }
.testimonial-card__quote { font-size: .95rem; color: var(--clr-text); line-height: 1.7; margin-bottom: 1.5rem; font-style: italic; }
.testimonial-card__author { display: flex; align-items: center; gap: .85rem; }
.testimonial-card__avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 2px solid var(--clr-accent); }
.testimonial-card__name { font-weight: 600; font-size: .9rem; color: var(--clr-primary); }
.testimonial-card__role { font-size: .78rem; color: var(--clr-muted); }

/* ===== FAQS ===== */
.faqs { padding: 5rem 0; background: var(--clr-bg); }
.faqs__inner { max-width: 760px; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--clr-border); }
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.25rem 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--clr-text);
  text-align: left;
  gap: 1rem;
  transition: color var(--transition-fast);
}
.faq-question:hover { color: var(--clr-primary); }
.faq-icon { flex-shrink: 0; transition: transform var(--transition); color: var(--clr-accent); }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-answer p { padding-bottom: 1.25rem; color: var(--clr-muted); line-height: 1.75; }

/* ===== POLICIES ===== */
.policies { padding: 5rem 0; background: var(--clr-surface); }
.policies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
}
.policy-card {
  background: var(--clr-bg);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  border: 1px solid var(--clr-border);
}
.policy-card__title {
  font-family: var(--ff-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--clr-primary);
  margin-bottom: .65rem;
}
.policy-card__content { font-size: .875rem; color: var(--clr-muted); line-height: 1.7; }

/* ===== CONTACT ===== */
.contact { padding: 5rem 0; background: var(--clr-bg); overflow-x: clip; } /* see .about */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.contact-info .eyebrow { margin-bottom: .5rem; }
.contact-info h2 { margin-bottom: 2rem; color: var(--clr-primary); }
.contact-detail { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.5rem; }
.contact-detail__icon { width: 40px; height: 40px; border-radius: 50%; background: var(--clr-surface); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--clr-primary); }
.contact-detail__label { font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--clr-muted); margin-bottom: .2rem; }
.contact-detail__value { font-size: .95rem; font-weight: 500; color: var(--clr-text); }
.contact-form-wrap { background: var(--clr-surface); border-radius: var(--radius-xl); padding: 2.5rem; }
.form-field { margin-bottom: 1.25rem; }
.form-field label { display: block; font-size: .8rem; font-weight: 600; letter-spacing: .04em; color: var(--clr-muted); margin-bottom: .4rem; }
.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid var(--clr-border);
  border-radius: var(--radius);
  background: var(--clr-bg);
  font-size: .9rem;
  color: var(--clr-text);
  transition: border-color var(--transition-fast);
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus { outline: none; border-color: var(--clr-primary); }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--clr-dark);
  color: rgba(255,255,255,.8);
  padding-top: 4rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand .site-logo { color: #fff; margin-bottom: 1rem; }
.footer-brand p { font-size: .875rem; color: var(--wb-on-dark, rgba(255,255,255,.5)); line-height: 1.7; margin-bottom: 1.25rem; }
.footer-social { display: flex; gap: .6rem; }
.social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.6);
  transition: border-color var(--transition-fast), color var(--transition-fast), background var(--transition-fast);
}
.social-link:hover { border-color: var(--clr-accent); color: var(--clr-accent); background: rgba(201,168,76,.08); }
.footer-col h4 { font-family: var(--ff-body); font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--wb-on-dark, rgba(255,255,255,.4)); margin-bottom: 1.1rem; }
.footer-col ul li { margin-bottom: .55rem; }
.footer-col ul a { font-size: .875rem; color: var(--wb-on-dark, rgba(255,255,255,.6)); transition: color var(--transition-fast); }
.footer-col ul a:hover { color: var(--clr-accent); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  font-size: .82rem;
  color: rgba(255,255,255,.35);
  flex-wrap: wrap;
  gap: .75rem;
}
.footer-newsletter-form { display: flex; gap: .5rem; }
.footer-newsletter-form input {
  flex: 1;
  padding: .55rem .9rem;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius);
  background: rgba(255,255,255,.06);
  color: #fff;
  font-size: .875rem;
}
.footer-newsletter-form input::placeholder { color: rgba(255,255,255,.35); }
.footer-newsletter-form button {
  padding: .55rem 1.1rem;
  background: var(--clr-accent);
  color: var(--clr-dark);
  border-radius: var(--radius);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .06em;
  transition: background var(--transition-fast);
  color: oklch(from var(--clr-accent) clamp(0, (0.57 - l) * 1000, 1) 0 0);
}
.footer-newsletter-form button:hover { background: var(--clr-accent-dark); color: var(--wb-on-dark, #fff); }

/* ===== BREADCRUMBS ===== */
.breadcrumbs ol { display: flex; align-items: center; flex-wrap: wrap; gap: .4rem; list-style: none; padding: 0; margin-bottom: 1.5rem; }
.breadcrumbs li { font-size: .8rem; color: var(--clr-muted); }
.breadcrumbs li:not(:last-child)::after { content: '/'; margin-inline-start: .4rem; }
.breadcrumbs a { color: var(--clr-primary); }

/* ===== PAGE HERO ===== */
.page-hero {
  background: var(--surface, linear-gradient(135deg, var(--clr-dark) 0%, var(--clr-primary) 100%));
  padding: 5rem 0;
  text-align: center;
  color: #fff;
}
.page-hero .eyebrow { color: var(--clr-accent); }
.page-hero h1 { color: var(--wb-on-dark, #fff); margin-bottom: .75rem; }
.page-hero p { color: var(--wb-on-dark, rgba(255,255,255,.68)); max-width: 520px; margin-inline: auto; }
.page-hero .breadcrumbs li { color: rgba(255,255,255,.45); }
.page-hero .breadcrumbs a { color: var(--clr-accent); }

/* ===== PRODUCT FILTER ===== */
.product-filter { margin-bottom: 2rem; }
.product-filter__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--clr-bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--clr-border);
}
.product-filter__categories { display: flex; flex-wrap: wrap; gap: .5rem; }
.filter-chip {
  padding: .4rem 1rem;
  border: 1.5px solid var(--clr-border);
  border-radius: 99px;
  font-size: .78rem;
  font-weight: 600;
  color: var(--clr-muted);
  background: transparent;
  transition: border-color var(--transition-fast), color var(--transition-fast), background var(--transition-fast);
  cursor: pointer;
}
.filter-chip:hover { border-color: var(--clr-primary); color: var(--clr-primary); }
.filter-chip--active { border-color: var(--clr-primary); background: var(--clr-primary); color: #fff; }
.product-sort select {
  padding: .4rem .85rem;
  border: 1.5px solid var(--clr-border);
  border-radius: var(--radius);
  font-size: .8rem;
  font-weight: 500;
  color: var(--clr-text);
  background: transparent;
  cursor: pointer;
}

/* ===== CART PAGE ===== */
.cart-section { padding: 4rem 0; }
.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 2.5rem; align-items: start; }
.cart-items-wrap {}
.cart-item {
  display: grid;
  grid-template-columns: 90px 1fr auto auto auto;
  gap: 1rem;
  align-items: center;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--clr-border);
}
.cart-item__img-wrap { width: 90px; border-radius: var(--radius); overflow: hidden; }
.cart-item__img-wrap img { width: 100%; height: 110px; object-fit: cover; }
.cart-item__details { min-width: 0; }
.cart-item__title { font-size: .9rem; font-weight: 500; color: var(--clr-text); display: block; margin-bottom: .35rem; }
.cart-item__title:hover { color: var(--clr-primary); }
.cart-item__original { font-size: .8rem; color: var(--clr-muted); text-decoration: line-through; display: block; }
.cart-item__price { font-size: .95rem; font-weight: 600; color: var(--clr-primary); }
.cart-item__qty { display: flex; align-items: center; gap: .5rem; }
.qty-btn {
  width: 28px;
  height: 28px;
  border-radius: var(--radius);
  border: 1.5px solid var(--clr-border);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color var(--transition-fast), color var(--transition-fast);
}
.qty-btn:hover { border-color: var(--clr-primary); color: var(--clr-primary); }
.qty-val { min-width: 24px; text-align: center; font-weight: 600; font-size: .9rem; }
.cart-item__line-total { font-weight: 700; font-size: .95rem; color: var(--clr-primary); white-space: nowrap; }
.cart-item__remove { color: var(--clr-muted); padding: .3rem; transition: color var(--transition-fast); }
.cart-item__remove:hover { color: var(--clr-primary); }
.cart-summary {
  background: var(--clr-surface);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  border: 1px solid var(--clr-border);
  position: sticky;
  top: 80px;
}
.cart-summary h2 { font-size: 1.15rem; font-family: var(--ff-display); margin-bottom: 1.25rem; color: var(--clr-primary); }
.summary-row { display: flex; justify-content: space-between; padding: .65rem 0; border-bottom: 1px solid var(--clr-border); font-size: .9rem; }
.summary-row--total { border-bottom: none; font-weight: 700; font-size: 1.05rem; color: var(--clr-primary); padding-top: 1rem; }
.cart-cta { width: 100%; justify-content: center; margin-top: 1.25rem; }
.trust-signals { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; margin-top: 1rem; }
.trust-signals__item { display: flex; align-items: center; gap: .4rem; font-size: .78rem; color: var(--clr-muted); }

/* ===== EMPTY STATE ===== */
.empty-state {
  text-align: center;
  padding: 5rem 1rem;
  max-width: 420px;
  margin-inline: auto;
}
.empty-state__icon { color: var(--clr-border); margin: 0 auto 1.5rem; }
.empty-state h2 { font-size: 1.5rem; margin-bottom: .75rem; color: var(--clr-primary); }
.empty-state p { color: var(--clr-muted); margin-bottom: 1.5rem; }

/* ===== CHECKOUT ===== */
.checkout-section { padding: 4rem 0; }
.checkout-layout { display: grid; grid-template-columns: 1fr 380px; gap: 2.5rem; align-items: start; }
.checkout-form-col h1 { font-size: clamp(1.8rem,3vw,2.5rem); color: var(--clr-primary); margin-bottom: .5rem; }
.checkout-sub { color: var(--clr-muted); font-size: .9rem; margin-bottom: 2rem; }
.form-section { margin-bottom: 2rem; padding: 1.75rem; background: var(--clr-surface); border-radius: var(--radius-lg); border: 1px solid var(--clr-border); }
.form-section__title { font-family: var(--ff-display); font-size: 1.1rem; color: var(--clr-primary); margin-bottom: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.place-order-btn { width: 100%; justify-content: center; font-size: 1rem; padding: 1rem; }
.checkout-progress { margin-bottom: 2rem; }
.checkout-progress ol { display: flex; align-items: center; gap: 0; }
.checkout-progress__step { display: flex; align-items: center; gap: .5rem; font-size: .82rem; font-weight: 600; color: var(--clr-muted); }
.checkout-progress__step span:first-child { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--clr-border); display: flex; align-items: center; justify-content: center; font-size: .8rem; }
.checkout-progress__step--completed span:first-child { background: var(--clr-primary); border-color: var(--clr-primary); color: #fff; }
.checkout-progress__step--active span:first-child { border-color: var(--clr-accent); color: var(--clr-primary); }
.checkout-progress__step--active .checkout-progress__label { color: var(--clr-primary); }
.checkout-progress__step:not(:last-child)::after { content: ''; flex: 1; height: 1px; background: var(--clr-border); margin: 0 .75rem; min-width: 40px; }
.checkout-summary-col {
  background: var(--clr-dark);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  position: sticky;
  top: 80px;
  color: #fff;
}
.checkout-summary-col h3 { font-size: 1rem; font-weight: 600; color: var(--wb-on-dark, rgba(255,255,255,.6)); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 1.25rem; }
.checkout-summary-item {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: .75rem 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.checkout-summary-item img { width: 52px; height: 64px; object-fit: cover; border-radius: var(--radius); }
.checkout-summary-item__info { flex: 1; min-width: 0; }
.checkout-summary-item__title { font-size: .875rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.checkout-summary-item__qty { font-size: .78rem; color: rgba(255,255,255,.45); }
.checkout-summary-item__price { font-size: .9rem; font-weight: 600; color: var(--clr-accent); white-space: nowrap; }
.checkout-total-row { display: flex; justify-content: space-between; padding: .65rem 0; border-top: 1px solid rgba(255,255,255,.07); font-size: .875rem; color: rgba(255,255,255,.6); margin-top: .5rem; }
.checkout-total-row--grand { font-size: 1.1rem; font-weight: 700; color: #fff; }
.method-option {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .9rem 1rem;
  border: 1.5px solid var(--clr-border);
  border-radius: var(--radius);
  cursor: pointer;
  margin-bottom: .65rem;
  transition: border-color var(--transition-fast);
}
.method-option.selected { border-color: var(--clr-primary); background: rgba(107,31,58,.04); }
.method-option input { accent-color: var(--clr-primary); }
.method-option__label { flex: 1; font-size: .9rem; font-weight: 500; }
.method-option__sub { font-size: .78rem; color: var(--clr-muted); }
.method-option__price { font-weight: 600; font-size: .9rem; color: var(--clr-primary); }

/* ===== PRODUCT DETAIL ===== */
.product-detail-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; margin-top: 2rem; }
.product-gallery {}
.product-gallery__main { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: .75rem; }
.product-gallery__main img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.product-gallery__thumbs { display: flex; gap: .6rem; flex-wrap: wrap; }
.product-gallery__thumb { border-radius: var(--radius); overflow: hidden; border: 2px solid transparent; transition: border-color var(--transition-fast); }
.product-gallery__thumb.active { border-color: var(--clr-primary); }
.product-gallery__thumb img { width: 72px; height: 72px; object-fit: cover; }
.product-info {}
.product-info__category { font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--clr-accent); display: block; margin-bottom: .5rem; }
.product-info h1 { font-size: clamp(1.8rem,3vw,2.5rem); color: var(--clr-primary); margin-bottom: .75rem; }
.product-info__rating { display: flex; align-items: center; gap: .5rem; font-size: .875rem; color: var(--clr-accent); margin-bottom: 1rem; }
.product-price { display: flex; align-items: center; gap: .85rem; margin-bottom: 1.25rem; }
.product-price__current { font-size: 1.75rem; font-weight: 700; color: var(--clr-primary); }
.product-price__badge { background: var(--clr-accent); color: var(--clr-dark); font-size: .7rem; font-weight: 700; padding: .2rem .6rem; border-radius: 99px; letter-spacing: .06em; color: oklch(from var(--clr-accent) clamp(0, (0.57 - l) * 1000, 1) 0 0); }
.product-info__desc { font-size: .95rem; color: var(--clr-muted); line-height: 1.75; margin-bottom: 1.5rem; }
.variant-selector { margin-bottom: 1.25rem; }
.variant-selector__label { font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--clr-muted); margin-bottom: .6rem; display: block; }
.variant-selector__options { display: flex; flex-wrap: wrap; gap: .5rem; }
.variant-chip { padding: .35rem .85rem; border: 1.5px solid var(--clr-border); border-radius: var(--radius); font-size: .82rem; cursor: pointer; transition: border-color var(--transition-fast), background var(--transition-fast); }
.variant-chip input { display: none; }
.variant-chip--active { border-color: var(--clr-primary); background: rgba(107,31,58,.06); color: var(--clr-primary); font-weight: 600; }
.product-atc-row { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.qty-selector { display: flex; align-items: center; gap: .5rem; border: 1.5px solid var(--clr-border); border-radius: var(--radius); padding: .3rem .6rem; }
.qty-selector button { width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; color: var(--clr-text); transition: color var(--transition-fast); }
.qty-selector button:hover { color: var(--clr-primary); }
.sticky-atc {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--clr-bg);
  border-top: 1px solid var(--clr-border);
  padding: .9rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  z-index: 800;
  box-shadow: 0 -4px 20px rgba(26,10,18,.08);
  transform: translateY(100%);
  transition: transform var(--transition);
}
.sticky-atc.visible { transform: translateY(0); }
.sticky-atc__title { font-weight: 600; font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-atc__price { font-size: .9rem; color: var(--clr-primary); font-weight: 700; }

/* ===== REVIEWS ===== */
.reviews-section { padding: 4rem 0; background: var(--clr-surface); }
.reviews-section .container { max-width: 760px; }
.reviews-section h2 { font-size: clamp(1.5rem,3vw,2rem); color: var(--clr-primary); margin-bottom: 1.5rem; }
.reviews-list { display: flex; flex-direction: column; gap: 1.25rem; }
.review-item { background: var(--clr-bg); border-radius: var(--radius-lg); padding: 1.5rem; border: 1px solid var(--clr-border); }
.review-author { font-family: var(--ff-display); }
.review-body { color: var(--clr-muted); line-height: 1.7; margin-top: .5rem; }
.review-form h3 { font-size: 1.25rem; color: var(--clr-primary); margin-bottom: 1.25rem; }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-size: .8rem; font-weight: 600; color: var(--clr-muted); margin-bottom: .35rem; }
.form-input { width: 100%; padding: .65rem .9rem; border: 1.5px solid var(--clr-border); border-radius: var(--radius); background: var(--clr-bg); font-size: .9rem; color: var(--clr-text); transition: border-color var(--transition-fast); }
.form-input:focus { outline: none; border-color: var(--clr-primary); }

/* ===== GALLERY MAIN-IMAGE CROSSFADE (replaces GSAP fromTo swap) ===== */
.product-gallery__main img { transition: opacity .25s ease, transform .25s ease; }
.product-gallery__main img.is-swapping { opacity: .7; transform: scale(.98); }

/* =====================================================================
   ENTRANCE + SCROLL REVEALS
   GSAP + ScrollTrigger removed from this theme (2026-09-16): the CDN
   dependency sat on the checkout/cart/product/products/home render path.
   Everything below is CSS-native. Resting state is fully visible at rule
   level — the hidden from-state lives ONLY inside @keyframes, so a browser
   that ignores prefers-reduced-motion or lacks animation-timeline support
   still shows full content, never a stranded/blank section.
   ===================================================================== */

@keyframes wbFadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes wbFadeInLeft {
  from { opacity: 0; transform: translateX(-32px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes wbFadeInRight {
  from { opacity: 0; transform: translateX(32px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* ── Above-the-fold entrances (document timeline — visible on load, so a
   wall-clock animation is appropriate; no scroll-timeline involved). ── */
@media (prefers-reduced-motion: no-preference) {
  .hero__badge,
  .hero h1,
  .hero__subtitle,
  .hero__ctas {
    animation: wbFadeUp .7s cubic-bezier(.16,1,.3,1) both;
  }
  .hero__badge     { animation-delay: .05s; }
  .hero h1         { animation-delay: .2s; animation-duration: .9s; }
  .hero__subtitle  { animation-delay: .4s; }
  .hero__ctas      { animation-delay: .55s; }

  .page-hero h1,
  .page-hero p {
    animation: wbFadeUp .65s cubic-bezier(.16,1,.3,1) both;
  }
  .page-hero p { animation-delay: .15s; }

  .product-gallery { animation: wbFadeInLeft .7s cubic-bezier(.16,1,.3,1) both; }
  .product-info    { animation: wbFadeInRight .7s cubic-bezier(.16,1,.3,1) both; animation-delay: .08s; }
}

/* ── Below-the-fold scroll reveals (view-timeline). Stagger is expressed
   entirely through animation-range shifts — never animation-delay, which
   is meaningless once the effect is scrubbed by scroll position. Every
   selector here carries exactly one animation shorthand; range/timeline
   longhands are declared AFTER the shorthand so it can't reset them. ── */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .trust-badge {
      animation: wbFadeUp .5s cubic-bezier(.16,1,.3,1) both;
      animation-timeline: view();
      animation-range: entry 0% entry 40%;
    }
    .trust-badge:nth-child(1) { animation-range: entry 0% entry 35%; }
    .trust-badge:nth-child(3) { animation-range: entry 6% entry 41%; }
    .trust-badge:nth-child(5) { animation-range: entry 12% entry 47%; }
    .trust-badge:nth-child(7) { animation-range: entry 18% entry 53%; }

    .category-card {
      animation: wbFadeUp .65s cubic-bezier(.16,1,.3,1) both;
      animation-timeline: view();
      animation-range: entry 0% entry 40%;
    }
    .category-card:nth-child(1) { animation-range: entry 0% entry 38%; }
    .category-card:nth-child(2) { animation-range: entry 8% entry 46%; }
    .category-card:nth-child(3) { animation-range: entry 16% entry 54%; }
    .category-card:nth-child(4) { animation-range: entry 24% entry 62%; }

    .product-card {
      animation: wbFadeUp .6s cubic-bezier(.16,1,.3,1) both;
      animation-timeline: view();
      animation-range: entry 0% entry 40%;
    }
    .product-card:nth-child(1) { animation-range: entry 0% entry 38%; }
    .product-card:nth-child(2) { animation-range: entry 8% entry 46%; }
    .product-card:nth-child(3) { animation-range: entry 16% entry 54%; }
    .product-card:nth-child(4) { animation-range: entry 24% entry 62%; }

    .collection-card {
      animation: wbFadeUp .7s cubic-bezier(.16,1,.3,1) both;
      animation-timeline: view();
      animation-range: entry 0% entry 42%;
    }
    .collection-card:nth-child(1) { animation-range: entry 0% entry 40%; }
    .collection-card:nth-child(2) { animation-range: entry 8% entry 48%; }
    .collection-card:nth-child(3) { animation-range: entry 16% entry 56%; }

    .about__image {
      animation: wbFadeInLeft .8s cubic-bezier(.16,1,.3,1) both;
      animation-timeline: view();
      animation-range: entry 0% entry 45%;
    }
    .about__content {
      animation: wbFadeInRight .8s cubic-bezier(.16,1,.3,1) both;
      animation-timeline: view();
      animation-range: entry 0% entry 45%;
    }

    .testimonial-card {
      animation: wbFadeUp .7s cubic-bezier(.16,1,.3,1) both;
      animation-timeline: view();
      animation-range: entry 0% entry 40%;
    }
    .testimonial-card:nth-child(1) { animation-range: entry 0% entry 38%; }
    .testimonial-card:nth-child(2) { animation-range: entry 8% entry 46%; }
    .testimonial-card:nth-child(3) { animation-range: entry 16% entry 54%; }

    .faq-item {
      animation: wbFadeInLeft .5s cubic-bezier(.16,1,.3,1) both;
      animation-timeline: view();
      animation-range: entry 0% entry 35%;
    }
    .faq-item:nth-child(1) { animation-range: entry 0% entry 32%; }
    .faq-item:nth-child(2) { animation-range: entry 7% entry 39%; }
    .faq-item:nth-child(3) { animation-range: entry 14% entry 46%; }
    .faq-item:nth-child(4) { animation-range: entry 21% entry 53%; }

    .policy-card {
      animation: wbFadeUp .55s cubic-bezier(.16,1,.3,1) both;
      animation-timeline: view();
      animation-range: entry 0% entry 40%;
    }
    .policy-card:nth-child(1) { animation-range: entry 0% entry 38%; }
    .policy-card:nth-child(2) { animation-range: entry 8% entry 46%; }
    .policy-card:nth-child(3) { animation-range: entry 16% entry 54%; }

    .contact-info {
      animation: wbFadeInLeft .75s cubic-bezier(.16,1,.3,1) both;
      animation-timeline: view();
      animation-range: entry 0% entry 45%;
    }
    .contact-form-wrap {
      animation: wbFadeInRight .75s cubic-bezier(.16,1,.3,1) both;
      animation-timeline: view();
      animation-range: entry 0% entry 45%;
    }

    .footer-grid > * {
      animation: wbFadeUp .55s cubic-bezier(.16,1,.3,1) both;
      animation-timeline: view();
      animation-range: entry 0% entry 40%;
    }
    .footer-grid > *:nth-child(1) { animation-range: entry 0% entry 36%; }
    .footer-grid > *:nth-child(2) { animation-range: entry 6% entry 42%; }
    .footer-grid > *:nth-child(3) { animation-range: entry 12% entry 48%; }
    .footer-grid > *:nth-child(4) { animation-range: entry 18% entry 54%; }
  }
}

/* ===== MOBILE NAV OPEN STATE ===== */
@media (max-width: 768px) {
  .menu-toggle { display: flex; }
  /* A long brand name gives way instead of widening the phone's layout viewport. */
  .header-inner { gap: 1rem; }
  .site-logo { flex-shrink: 1; min-width: 0; }
  .site-logo img { flex-shrink: 0; }
  .site-logo span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .header-actions { margin-inline-start: auto; flex-shrink: 0; }
  .site-nav {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--clr-bg);
    border-top: 1px solid var(--clr-border);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    gap: 0;
    margin-inline-start: 0;
    box-shadow: var(--shadow-md);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition), opacity var(--transition);
    z-index: 899;
  }
  .site-nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .site-nav a { padding: .85rem 1rem; border-radius: var(--radius); display: block; border-bottom: 1px solid var(--clr-border); }
  .site-nav a:last-child { border-bottom: none; }
  .header-wa-btn span { display: none; }

  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero__content { padding: 3.5rem 1.5rem; order: 2; }
  .hero__image { min-height: 55vw; order: 1; }
  .hero__image::after { background: linear-gradient(to bottom, transparent 50%, var(--clr-dark) 100%); }

  .categories-bento {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    grid-auto-rows: 180px;
  }
  .category-card:nth-child(1) { grid-row: auto; grid-column: 1 / -1; height: 220px; }
  .category-card:nth-child(4) { grid-column: auto; }

  .about-grid { grid-template-columns: 1fr; }
  .about__image::before { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .cart-layout { grid-template-columns: 1fr; }
  .checkout-layout { grid-template-columns: 1fr; }
  .checkout-summary-col { order: -1; }
  .form-row { grid-template-columns: 1fr; }
  .product-detail-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .trust-band__inner { gap: 1rem 2rem; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .cart-item { grid-template-columns: 72px 1fr; }
  .cart-item__qty,
  .cart-item__line-total,
  .cart-item__remove { grid-column: 2; }
  .collections-grid { grid-template-columns: 1fr; }
}

/* 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; }

/* 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.
   The WhatsApp pill 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-inner { gap: 1rem; }
  [data-section="header"] .site-logo { flex-shrink: 1; min-width: 0; }
  [data-section="header"] .site-logo span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  [data-section="header"] .header-actions { margin-inline-start: auto; flex-shrink: 0; }
  [data-section="header"] .header-wa-btn { display: none; }
}
/* /phone-header-fit */

/* Palette roles (BrandColourRoles, 2026-10-06): brand-coloured text on a band this theme draws dark keeps a lightness floor; text on a brand fill follows the fill. */
:where(.hero__content) .hero__badge { color: oklch(from var(--clr-accent) max(l, 0.75) c h); }

/* Palette roles, item 53 (BrandColourRoles, 2026-10-06): text on a band filled with a palette brand colour follows the fill; brand-coloured text on a band this theme draws dark keeps a lightness floor. */
:where(.trust-band) .trust-badge { color: oklch(from var(--clr-primary) clamp(0, (0.57 - l) * 1000, 1) 0 0); }

/* 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. */
.footer-col h4 { color: oklch(from var(--wb-on-dark, rgba(255,255,255,.4)) calc(l + 0.02) c h / calc(min(1, alpha + 0.06))); }
.footer-bottom { color: oklch(from rgba(255, 255, 255, 0.35) calc(l + 0.04) c h / calc(min(1, alpha + 0.12))); }

/* 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. */
.eyebrow { color: oklch(from var(--clr-accent) min(l, 0.493) c h / alpha); }

/* 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. */
:where([data-section="services"]) .eyebrow { color: oklch(from oklch(from var(--clr-accent) min(l, 0.493) c h / alpha) max(l, 0.593) c h / alpha); }

/* 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 {
  --wa-green: #00830f; /* was #25D366 */
}
