/* =============================================================================
   RANI KITCHEN — STYLESHEET
   Hand-crafted, framework-free. Colors are driven by CSS variables that are
   set from site-config.js, so you rarely need to touch this file.

   Theme: deep navy + warm brass + paprika on warm ivory.
   Type:  Cormorant Garamond (display) · Jost (body).
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600&family=Jost:wght@300;400;500;600;700&display=swap');

/* ---- Design tokens (defaults; overridden by config at runtime) ---------- */
:root {
  --cream: #F7F3EC;
  --card: #FFFFFF;
  --ink: #212836;
  --sage: #1E3A5F;         /* primary (deep navy) */
  --sage-deep: #14273F;    /* hover */
  --terracotta: #C6603D;   /* accent (paprika) */
  --gold: #B8863B;         /* brass */

  --muted: #6d716c;
  --line: #E4DBC9;
  --shadow-sm: 0 1px 2px rgba(33,40,54,.05), 0 6px 16px -6px rgba(33,40,54,.10);
  --shadow-md: 0 12px 32px -14px rgba(33,40,54,.26), 0 4px 12px rgba(33,40,54,.07);
  --shadow-lg: 0 36px 80px -30px rgba(20,39,63,.40), 0 12px 28px rgba(33,40,54,.12);
  --radius: 16px;
  --ease: cubic-bezier(.16,.84,.44,1);
  --maxw: 1200px;

  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-script: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ---- Reset ------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  background-image:
    radial-gradient(1100px 560px at 84% -8%, rgba(184,134,59,.10), transparent 60%),
    radial-gradient(820px 480px at -8% 6%, rgba(30,58,95,.09), transparent 55%);
  background-attachment: fixed;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }
::selection { background: rgba(30,58,95,.20); }

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.08; letter-spacing: 0; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(20px, 5vw, 48px); }
.section { padding: clamp(60px, 9vw, 120px) 0; }

/* ---- Buttons --------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  background: linear-gradient(135deg, var(--sage), var(--sage-deep)); color: #fff;
  padding: 15px 30px; border-radius: 999px;
  font-family: var(--font-body); font-weight: 600; font-size: .84rem;
  letter-spacing: .09em; text-transform: uppercase;
  position: relative; overflow: hidden;
  box-shadow: 0 8px 20px -10px rgba(20,39,63,.6);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
  will-change: transform;
}
.btn::after { content: ""; position: absolute; top: 0; left: -130%; width: 55%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.4), transparent); transform: skewX(-18deg); transition: left .65s var(--ease); }
.btn:hover::after { left: 140%; }
.btn:hover { transform: translateY(-3px); box-shadow: 0 16px 32px -12px rgba(20,39,63,.72); }
.btn:active { transform: translateY(0); }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn--ghost { background: rgba(255,255,255,.65); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); color: var(--ink); border: 1.5px solid var(--line); box-shadow: none; }
.btn--ghost::after { display: none; }
.btn--ghost:hover { background: #fff; border-color: var(--sage); color: var(--sage-deep); }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 3px solid var(--sage); outline-offset: 3px; border-radius: 6px;
}

.eyebrow {
  font-family: var(--font-body); font-weight: 600; text-transform: uppercase;
  letter-spacing: .24em; font-size: .7rem; color: var(--sage-deep);
}
.script { font-family: var(--font-script); font-style: italic; font-weight: 500; color: var(--terracotta); line-height: 1; }

/* =============================================================================
   ANNOUNCEMENT BAR
   ========================================================================== */
.announce {
  background: linear-gradient(90deg, var(--sage-deep), var(--sage), var(--sage-deep));
  background-size: 200% 100%; animation: shimmerBar 12s linear infinite;
  color: #f0ead9;
  font-size: .76rem; letter-spacing: .06em; text-align: center;
  padding: 9px 16px; position: relative; z-index: 60;
}
@keyframes shimmerBar { to { background-position: 200% 0; } }

/* =============================================================================
   HEADER
   ========================================================================== */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 243, 236, .82);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease);
}
.header.is-scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); background: rgba(247,243,236,.94); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 80px; gap: 24px; transition: height .4s var(--ease); }
.header.is-scrolled .header__inner { height: 62px; }

.logo { display: flex; align-items: center; gap: 12px; }
.logo__mark { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 12px; background: linear-gradient(140deg, var(--sage), var(--sage-deep)); color: #F7F3EC; transition: width .35s var(--ease), height .35s var(--ease); }
.logo__mark svg { width: 22px; height: 22px; }
.header.is-scrolled .logo__mark { width: 34px; height: 34px; }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__name { font-family: var(--font-display); font-weight: 600; font-size: 1.55rem; letter-spacing: .02em; transition: font-size .35s var(--ease); }
.header.is-scrolled .logo__name { font-size: 1.32rem; }
.logo__tag  { font-size: .6rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-top: 4px; transition: opacity .3s var(--ease); }
.header.is-scrolled .logo__tag { opacity: 0; }

.nav { display: flex; align-items: center; gap: 26px; }
.nav a {
  position: relative; font-weight: 500; font-size: .82rem; letter-spacing: .07em; text-transform: uppercase;
  padding: 4px 0; color: var(--ink); transition: color .2s var(--ease);
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 100%;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav a:hover { color: var(--sage-deep); }
.nav a:hover::after { transform: scaleX(1); }

.header__actions { display: flex; align-items: center; gap: 12px; }
.icon-btn {
  width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%;
  position: relative; transition: background .2s var(--ease), transform .2s var(--ease);
}
.icon-btn:hover { background: rgba(30,58,95,.12); transform: translateY(-1px); }
.icon-btn svg { width: 21px; height: 21px; }
.cart-count {
  position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px;
  background: var(--terracotta); color: #fff; font-size: .66rem; font-weight: 700;
  border-radius: 999px; display: grid; place-items: center; line-height: 1;
  transform: scale(0); transition: transform .3s var(--ease);
}
.cart-count.is-active { transform: scale(1); }

.burger { display: none; width: 42px; height: 42px; place-items: center; }
.burger span, .burger span::before, .burger span::after {
  content: ""; display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.burger span::before { transform: translateY(-7px); } .burger span::after { transform: translateY(5px); }
body.nav-open .burger span { background: transparent; }
body.nav-open .burger span::before { transform: rotate(45deg); }
body.nav-open .burger span::after { transform: rotate(-45deg) translateY(-1px); }

/* Header: search + dropdown + account chip */
.nav__item.has-dropdown { position: relative; }
.nav__item.has-dropdown > a { display: inline-flex; align-items: center; gap: 4px; }
.nav__item .caret svg { width: 14px; height: 14px; transition: transform .25s var(--ease); }
.nav__item.has-dropdown:hover .caret svg, .nav__item.has-dropdown:focus-within .caret svg { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(8px);
  background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-md);
  padding: 8px; min-width: 232px; display: flex; flex-direction: column; gap: 2px;
  opacity: 0; visibility: hidden; transition: opacity .25s var(--ease), transform .25s var(--ease); z-index: 40;
}
.nav__item.has-dropdown:hover .dropdown, .nav__item.has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(6px); }
.dropdown a { padding: 10px 14px; border-radius: 9px; font-size: .78rem; letter-spacing: .05em; transition: background .18s var(--ease), color .18s; }
.dropdown a::after { display: none; }
.dropdown a:hover { background: rgba(30,58,95,.10); color: var(--sage-deep); }

.search { display: flex; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px 6px 4px 10px; transition: border-color .2s var(--ease), box-shadow .2s; }
.search:focus-within { border-color: var(--sage); box-shadow: 0 0 0 3px rgba(30,58,95,.15); }
.search__btn { width: 30px; height: 30px; display: grid; place-items: center; color: var(--muted); flex: none; }
.search__btn svg { width: 18px; height: 18px; }
.search__input { border: none; outline: none; background: none; font-size: .88rem; width: 168px; padding: 6px 4px; color: var(--ink); }
.search-toggle { display: none; }
.account-chip { width: auto; padding: 0 14px; border-radius: 999px; background: rgba(30,58,95,.12); }
.account-chip__hi { font-size: .8rem; font-weight: 600; color: var(--sage-deep); white-space: nowrap; }

/* =============================================================================
   HERO
   ========================================================================== */
.hero { position: relative; padding: clamp(40px, 6vw, 80px) 0 clamp(70px, 9vw, 120px); }
.hero::before { content: ""; position: absolute; top: -12%; right: -6%; width: 62%; height: 92%; z-index: -1; background: radial-gradient(circle at 62% 42%, rgba(184,134,59,.16), transparent 60%); animation: glowPulse 10s ease-in-out infinite; }
@keyframes glowPulse { 0%, 100% { opacity: .5; transform: scale(1); } 50% { opacity: 1; transform: scale(1.07); } }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 70px); align-items: center; }

.hero__collage { position: relative; min-height: 460px; }
.hero__photo {
  position: absolute; border-radius: 8px; overflow: hidden;
  border: 8px solid #fff; box-shadow: var(--shadow-lg); background: var(--line);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__photo--1 { width: 64%; left: 0; top: 4%; aspect-ratio: 4/5; z-index: 3; transform: rotate(-4deg); }
.hero__photo--2 { width: 44%; right: 6%; top: 0; aspect-ratio: 3/4; z-index: 2; transform: rotate(5deg); }
.hero__photo--3 { width: 38%; right: 0; bottom: 2%; aspect-ratio: 1/1; z-index: 4; transform: rotate(-3deg); }
.hero__collage:hover .hero__photo--1 { transform: rotate(-5deg) translateY(-6px); }
.hero__collage:hover .hero__photo--2 { transform: rotate(6deg) translateY(-10px); }
.hero__collage:hover .hero__photo--3 { transform: rotate(-2deg) translateY(-4px); }

.hero__eyebrow { display: flex; align-items: baseline; gap: 12px; margin-bottom: 6px; flex-wrap: wrap; }
.hero__eyebrow .script { font-size: 2.4rem; }
.hero h1 { font-size: clamp(2.6rem, 5.4vw, 4rem); font-weight: 600; margin: 6px 0 18px; }
.hero__desc { color: var(--muted); font-size: 1.06rem; max-width: 44ch; margin-bottom: 24px; }
.hero__price { display: flex; align-items: baseline; gap: 14px; margin-bottom: 26px; }
.hero__price .now { font-family: var(--font-display); font-size: 2.1rem; font-weight: 600; color: var(--sage-deep); }
.hero__price .was { color: var(--muted); text-decoration: line-through; font-size: 1.15rem; }
.hero__price .save {
  background: rgba(198,96,61,.14); color: var(--terracotta); font-weight: 600;
  font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px;
}

/* Hero highlights — a short, concrete checklist instead of a scarcity timer */
.hero__highlights { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.hero__highlights li { display: flex; align-items: flex-start; gap: 10px; font-size: .94rem; color: var(--ink); }
.hero__highlights svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--sage-deep); }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* Scalloped divider */
.scallop { height: 24px; background: var(--cream);
  -webkit-mask: radial-gradient(12px at 50% 0, transparent 98%, #000) repeat-x 0 0 / 24px 24px;
          mask: radial-gradient(12px at 50% 0, transparent 98%, #000) repeat-x 0 0 / 24px 24px; }

/* =============================================================================
   BENEFITS
   ========================================================================== */
.benefits { background: var(--card); border-block: 1px solid var(--line); }
.benefits__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 34px 0; }
.benefit { display: flex; gap: 14px; align-items: center; justify-content: center; text-align: left; }
.benefit__icon { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(30,58,95,.10); color: var(--sage-deep); }
.benefit__icon svg { width: 23px; height: 23px; }
.benefit h4 { font-family: var(--font-body); font-weight: 600; font-size: .92rem; }
.benefit p { font-size: .8rem; color: var(--muted); }

/* =============================================================================
   SECTION HEADINGS
   ========================================================================== */
.sec-head { text-align: center; max-width: 640px; margin: 0 auto clamp(36px, 5vw, 60px); }
.sec-head h2 { font-size: clamp(2.1rem, 4.4vw, 3.1rem); margin: 8px 0 12px; }
.sec-head p { color: var(--muted); font-size: 1.02rem; }
.sec-head .script { font-size: 1.7rem; display: inline-block; position: relative; padding: 0 20px; }
.sec-head .script::before, .sec-head .script::after { content: ""; position: absolute; top: 58%; width: 40px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.sec-head .script::before { right: 100%; transform: scaleX(-1); }
.sec-head .script::after { left: 100%; }
.sec-cta { text-align: center; margin-top: 40px; }

/* =============================================================================
   PRODUCT GRID
   ========================================================================== */
.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 2.4vw, 28px); }
.card {
  background: var(--card); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line);
  transition: transform .28s var(--ease), box-shadow .5s var(--ease);
  display: flex; flex-direction: column; will-change: transform; transform-style: preserve-3d;
}
.card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.card__media { position: relative; aspect-ratio: 1/1; overflow: hidden; background: var(--line); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .85s var(--ease); }
.card:hover .card__media img { transform: scale(1.07); }
.card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(20,39,63,.5), transparent 48%); opacity: 0; transition: opacity .45s var(--ease); pointer-events: none; }
.card:hover .card__media::after { opacity: 1; }
.card__sheen { position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0; transition: opacity .4s var(--ease); mix-blend-mode: soft-light; background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.35), transparent 60%); }
.card:hover .card__sheen { opacity: 1; }
.card__view { position: absolute; left: 0; right: 0; bottom: 14px; z-index: 3; text-align: center; color: #fff; font-size: .68rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; opacity: 0; transform: translateY(12px); transition: opacity .45s var(--ease), transform .45s var(--ease); pointer-events: none; }
.card:hover .card__view { opacity: 1; transform: translateY(0); }
.card__badge {
  position: absolute; top: 12px; left: 12px; background: var(--ink); color: #f0ead9;
  font-size: .62rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 6px 11px; border-radius: 999px;
}
.card__badge--hot { background: var(--terracotta); color: #fff; }
.card__save { position: absolute; bottom: 12px; left: 12px; background: rgba(255,255,255,.92); color: var(--terracotta); font-weight: 700; font-size: .72rem; padding: 5px 9px; border-radius: 999px; }
.card__body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card__cat { font-size: .62rem; text-transform: uppercase; letter-spacing: .16em; color: var(--sage-deep); font-weight: 600; }
.card__name { font-family: var(--font-display); font-size: 1.28rem; font-weight: 600; line-height: 1.22; }
.card__price { display: flex; align-items: baseline; gap: 9px; margin-top: 2px; margin-bottom: 14px; }
.card__now { font-weight: 600; font-size: 1.12rem; color: var(--ink); }
.card__was { color: var(--muted); text-decoration: line-through; font-size: .9rem; }
.card__add { margin-top: auto; width: 100%; justify-content: center; padding: 13px 10px; font-size: .72rem; letter-spacing: .04em; white-space: nowrap; }

/* subcategory groups on the category page */
.subcat { margin-bottom: clamp(38px, 6vw, 64px); scroll-margin-top: 120px; }
.subcat:last-child { margin-bottom: 0; }
.subcat__head { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.subcat__head span { font-family: var(--font-display); font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 600; white-space: nowrap; }
.subcat__head::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--gold), transparent); }
.subnav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.subnav__link { padding: 8px 15px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: .74rem; letter-spacing: .05em; text-transform: uppercase; color: var(--sage-deep); transition: all .2s var(--ease); }
.subnav__link:hover { background: var(--sage); border-color: var(--sage); color: #fff; }

/* =============================================================================
   COLLECTIONS
   ========================================================================== */
.collections-sec { background: var(--card); }
.collections { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.collection {
  position: relative; aspect-ratio: 3/4; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); display: block;
}
.collection img { width: 100%; height: 100%; object-fit: cover; transition: transform .95s var(--ease); }
.collection:hover img { transform: scale(1.1); }
.collection::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(16,26,42,.78), rgba(16,26,42,.05) 58%); }
.collection__label {
  position: absolute; left: 18px; right: 18px; bottom: 18px; z-index: 2; color: #fff;
  font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
.collection__label svg { width: 20px; height: 20px; flex: none; transition: transform .3s var(--ease); }
.collection:hover .collection__label svg { transform: translateX(5px); }

/* =============================================================================
   STORY
   ========================================================================== */
.story__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(34px, 6vw, 80px); align-items: center; }
.story__media { position: relative; }
.story__media img { border-radius: var(--radius); box-shadow: var(--shadow-md); aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.story__stat {
  position: absolute; bottom: -22px; right: -10px; background: linear-gradient(140deg, var(--sage), var(--sage-deep)); color: #fff;
  padding: 18px 24px; border-radius: 14px; box-shadow: var(--shadow-md); text-align: center;
}
.story__stat .v { font-family: var(--font-display); font-size: 1.9rem; font-weight: 600; }
.story__stat .l { font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; opacity: .9; }
.story h2 { font-size: clamp(2rem, 3.8vw, 2.9rem); margin-bottom: 18px; }
.story p { color: var(--muted); margin-bottom: 16px; font-size: 1.04rem; }
.story__sign { font-family: var(--font-script); font-style: italic; color: var(--terracotta); font-size: 1.5rem; margin-top: 6px; }

/* =============================================================================
   REVIEWS
   ========================================================================== */
.reviews-sec { background: var(--card); }
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review {
  background: var(--cream); border-radius: var(--radius); padding: 30px 28px;
  border: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.review:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.review__stars { color: var(--gold); display: flex; gap: 2px; }
.review__stars svg { width: 18px; height: 18px; }
.review__text { font-family: var(--font-display); font-style: italic; font-size: 1.2rem; line-height: 1.5; }
.review__who { font-size: .82rem; color: var(--muted); margin-top: auto; letter-spacing: .02em; }
.review__who strong { color: var(--ink); font-weight: 600; }

/* =============================================================================
   NEWSLETTER
   ========================================================================== */
.newsletter { text-align: center; }
.newsletter__box {
  background: linear-gradient(140deg, #132338, var(--ink)); color: #f0ead9; border-radius: 26px; padding: clamp(40px, 6vw, 70px);
  position: relative; overflow: hidden;
}
.newsletter__box::before, .newsletter__box::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(2px);
}
.newsletter__box::before { width: 240px; height: 240px; top: -90px; left: -70px; background: rgba(30,58,95,.3); }
.newsletter__box::after { width: 200px; height: 200px; bottom: -90px; right: -60px; background: rgba(184,134,59,.24); }
.newsletter h2 { font-size: clamp(2rem, 4vw, 2.9rem); color: #fff; position: relative; }
.newsletter p { color: #d7cfba; max-width: 48ch; margin: 12px auto 26px; position: relative; }
.newsletter__form { display: flex; gap: 10px; max-width: 480px; margin: 0 auto; position: relative; flex-wrap: wrap; justify-content: center; }
.newsletter__form input {
  flex: 1; min-width: 220px; padding: 15px 20px; border-radius: 999px; border: none;
  font-size: .95rem; background: #fff; color: var(--ink);
}
.newsletter__msg { margin-top: 14px; font-size: .88rem; color: #cdb98f; min-height: 1.2em; position: relative; }

/* =============================================================================
   FOOTER
   ========================================================================== */
.footer { background: var(--cream); padding-top: clamp(50px, 7vw, 90px); }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; }
.footer__name { font-family: var(--font-display); font-size: 1.7rem; font-weight: 600; letter-spacing: .02em; }
.footer p, .footer li, .footer a { color: var(--muted); font-size: .9rem; }
.footer h5 { font-family: var(--font-body); font-weight: 600; font-size: .76rem; text-transform: uppercase; letter-spacing: .16em; color: var(--ink); margin-bottom: 16px; }
.footer__list li { margin-bottom: 10px; }
.footer__list a:hover { color: var(--sage-deep); }
.footer__visit-name { font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; color: var(--ink); margin-bottom: 10px; }
.footer__hours { display: flex; justify-content: space-between; margin-bottom: 8px; }
.socials { display: flex; gap: 12px; margin-top: 16px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink); transition: background .2s var(--ease), color .2s, transform .2s; }
.socials a:hover { background: var(--sage); color: #fff; transform: translateY(-2px); }
.socials svg { width: 18px; height: 18px; }
.footer__bottom { border-top: 1px solid var(--line); margin-top: 8px; padding: 26px 0 40px; display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.footer__policies { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; }
.footer__policies a { font-size: .84rem; color: var(--muted); }
.footer__policies a:hover { color: var(--sage-deep); text-decoration: underline; }
.footer__copy { font-size: .8rem; color: var(--muted); letter-spacing: .01em; }

/* =============================================================================
   CART DRAWER
   ========================================================================== */
.overlay { position: fixed; inset: 0; background: rgba(16,26,42,.45); opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s; z-index: 90; }
.overlay.is-open { opacity: 1; visibility: visible; }
.drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: min(410px, 90vw); background: var(--cream);
  z-index: 95; transform: translateX(100%); transition: transform .4s var(--ease);
  display: flex; flex-direction: column; box-shadow: var(--shadow-lg);
}
.drawer.is-open { transform: translateX(0); }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.drawer__head h3 { font-size: 1.4rem; }
.drawer__close { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; }
.drawer__close:hover { background: rgba(30,58,95,.12); }
.drawer__items { flex: 1; overflow-y: auto; padding: 16px 24px; }
.drawer__empty { text-align: center; color: var(--muted); margin-top: 60px; }
.drawer__empty svg { width: 54px; height: 54px; margin: 0 auto 14px; color: var(--line); }
.cart-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-item img { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; }
.cart-item__name { font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; line-height: 1.2; }
.cart-item__price { color: var(--muted); font-size: .84rem; }
.cart-item__qty { display: flex; align-items: center; gap: 8px; margin-top: 4px; }
.cart-item__qty button { width: 24px; height: 24px; border-radius: 6px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; font-weight: 700; }
.cart-item__remove { color: var(--muted); font-size: .74rem; text-decoration: underline; }
.drawer__foot { padding: 20px 24px; border-top: 1px solid var(--line); background: var(--card); }
.drawer__total { display: flex; justify-content: space-between; font-size: 1.15rem; font-weight: 600; margin-bottom: 14px; font-family: var(--font-display); }
.drawer__foot .btn { width: 100%; justify-content: center; }
.drawer__note { font-size: .78rem; color: var(--muted); margin-top: 10px; text-align: center; }

/* =============================================================================
   SCROLL-REVEAL ANIMATION
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal--left { transform: translateX(-38px); }
.reveal--right { transform: translateX(38px); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }
.reveal[data-delay="5"] { transition-delay: .40s; }
.reveal[data-delay="6"] { transition-delay: .48s; }
.reveal[data-delay="7"] { transition-delay: .56s; }

@keyframes cartBump { 0% { transform: scale(1); } 30% { transform: scale(1.28); } 60% { transform: scale(.9); } 100% { transform: scale(1); } }
.icon-btn.bump { animation: cartBump .45s var(--ease); }

/* scroll-progress bar */
.scrollprog { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 80; pointer-events: none; }
.scrollprog span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--sage), var(--gold)); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero__photo, .card, .card__media img, .collection img, .btn { transition: none !important; }
  .announce, .hero::before, .icon-btn.bump { animation: none !important; }
  .btn::after { display: none !important; }
  .card__sheen { display: none !important; }
  *::after, *::before { animation: none !important; }
}

/* =============================================================================
   MULTI-PAGE ADDITIONS
   ========================================================================== */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap.narrow { max-width: 760px; }

/* ---- Banner / breadcrumb ------------------------------------------- */
.banner { padding: clamp(46px, 7vw, 86px) 0 clamp(34px, 4vw, 46px); text-align: center; background: var(--card); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.banner h1 { font-size: clamp(2.3rem, 5vw, 3.5rem); font-weight: 600; }
.banner p { color: var(--muted); margin-top: 10px; font-size: 1.06rem; }
.banner--img { border-bottom: none; color: #fff; }
.banner--img::before { content: ""; position: absolute; inset: 0; background-image: var(--bnr); background-size: cover; background-position: center; }
.banner--img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(16,26,42,.52), rgba(16,26,42,.66)); }
.banner--img .wrap { position: relative; z-index: 2; }
.banner--img h1 { color: #fff; } .banner--img p { color: #eee7d8; }

.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: .82rem; color: var(--muted); margin-bottom: 24px; }
.crumbs a:hover { color: var(--sage-deep); }
.crumbs__here { color: var(--ink); font-weight: 600; }

/* ---- Toolbar / filter chips / sort ------------------------------- */
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-weight: 500; font-size: .78rem; letter-spacing: .04em; color: var(--ink); transition: all .2s var(--ease); }
.chip:hover { border-color: var(--sage); color: var(--sage-deep); }
.chip.is-active { background: var(--sage); border-color: var(--sage); color: #fff; }
.sortwrap { display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; color: var(--muted); }
.sortwrap select { font: inherit; font-size: .85rem; padding: 9px 12px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; }
.result-count { color: var(--muted); font-size: .88rem; margin-bottom: 18px; }

/* ---- Empty / not-found states ------------------------------------ */
.empty { text-align: center; color: var(--muted); padding: 50px 0; }
.empty--lg { padding: 30px 0 10px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.empty--lg svg { width: 50px; height: 50px; color: var(--line); }
.empty--lg p { font-size: 1.04rem; max-width: 46ch; }

/* ---- Product detail --------------------------------------------- */
.pdp__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.pdp__media-wrap { display: flex; flex-direction: column; gap: 14px; }
.pdp__media { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 1/1; background: var(--line); }
.pdp__media img { width: 100%; height: 100%; object-fit: cover; transition: opacity .3s var(--ease); }
.pdp__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.pdp__thumb { position: relative; aspect-ratio: 1/1; border-radius: 12px; overflow: hidden; border: 2px solid transparent; background: var(--line); cursor: pointer; padding: 0; transition: border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease); }
.pdp__thumb img { width: 100%; height: 100%; object-fit: cover; }
.pdp__thumb:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.pdp__thumb.is-active { border-color: var(--sage); }
.pdp__cat { display: inline-block; font-size: .68rem; text-transform: uppercase; letter-spacing: .14em; color: var(--sage-deep); font-weight: 600; margin-bottom: 10px; }
.pdp__cat:hover { color: var(--terracotta); }
.pdp__info h1 { font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 600; margin-bottom: 12px; }
.pdp__info .review__stars { margin-bottom: 16px; }
.pdp__price { display: flex; align-items: baseline; gap: 12px; margin-bottom: 18px; }
.pdp__price .now { font-family: var(--font-display); font-size: 2rem; font-weight: 600; color: var(--sage-deep); }
.pdp__price .was { color: var(--muted); text-decoration: line-through; font-size: 1.1rem; }
.pdp__price .save { background: rgba(198,96,61,.14); color: var(--terracotta); font-weight: 600; font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; padding: 5px 11px; border-radius: 999px; }
.pdp__blurb { font-size: 1.14rem; margin-bottom: 12px; }
.pdp__desc { color: var(--muted); margin-bottom: 26px; }
.pdp__buy { display: flex; gap: 12px; align-items: stretch; flex-wrap: wrap; margin-bottom: 26px; }
.qtybox { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: #fff; overflow: hidden; }
.qtybox button { width: 44px; height: 100%; min-height: 48px; font-size: 1.2rem; font-weight: 700; color: var(--ink); transition: background .15s; }
.qtybox button:hover { background: rgba(30,58,95,.10); }
.qtybox span { min-width: 38px; text-align: center; font-weight: 600; }
.pdp__add { flex: 1; min-width: 200px; justify-content: center; }
.pdp__add svg { width: 18px; height: 18px; }
.pdp__perks { display: grid; gap: 12px; border-top: 1px solid var(--line); padding-top: 22px; }
.pdp__perks li { display: flex; align-items: center; gap: 12px; color: var(--ink); font-size: .92rem; }
.pdp__perks svg { width: 22px; height: 22px; color: var(--sage-deep); flex: none; }
.related { margin-top: clamp(50px, 8vw, 90px); }
.related .sec-head { margin-bottom: 30px; }

/* ---- Auth ------------------------------------------------------- */
.auth-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow-sm); }
.tabs { display: flex; gap: 6px; background: var(--cream); border-radius: 999px; padding: 5px; margin-bottom: 26px; }
.tab { flex: 1; padding: 11px; border-radius: 999px; font-weight: 600; font-size: .88rem; color: var(--muted); transition: all .2s var(--ease); }
.tab.is-active { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.auth-form { display: flex; flex-direction: column; gap: 16px; }
.auth-form.is-hidden { display: none; }
.auth-form label { display: flex; flex-direction: column; gap: 7px; font-weight: 600; font-size: .8rem; letter-spacing: .03em; color: var(--ink); }
.auth-form input, .auth-form textarea { font: inherit; padding: 13px 15px; border-radius: 11px; border: 1px solid var(--line); background: #fff; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.auth-form input:focus, .auth-form textarea:focus { outline: none; border-color: var(--sage); box-shadow: 0 0 0 3px rgba(30,58,95,.15); }
.auth-form .btn { justify-content: center; margin-top: 4px; }
.auth-alt { font-size: .86rem; color: var(--muted); text-align: center; }
.auth-alt a { color: var(--sage-deep); font-weight: 600; text-decoration: underline; }
.auth-msg { font-size: .88rem; min-height: 1.1em; }
.auth-msg.is-err { color: #b1493a; } .auth-msg.is-ok { color: var(--sage-deep); }
.auth-msg:empty { display: none; }
.auth-fineprint { display: flex; align-items: center; gap: 8px; justify-content: center; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .78rem; color: var(--muted); }
.auth-fineprint svg { width: 16px; height: 16px; flex: none; }
.acct-hi { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.acct-hi svg { width: 48px; height: 48px; padding: 11px; border-radius: 50%; background: rgba(30,58,95,.12); color: var(--sage-deep); }
.acct-hi p { color: var(--muted); }
.acct-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 26px; }
.acct-stats > div { background: var(--cream); border-radius: 12px; padding: 18px; text-align: center; }
.acct-stats .v { display: block; font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; }
.acct-stats .l { font-size: .74rem; color: var(--muted); }
.auth-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.auth-actions .btn { flex: 1; justify-content: center; min-width: 160px; }

/* ---- Contact --------------------------------------------------- */
.contact__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(28px, 5vw, 60px); align-items: start; }
.contact-form { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 4vw, 36px); box-shadow: var(--shadow-sm); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact__info h3 { font-family: var(--font-body); font-weight: 600; font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; margin: 22px 0 8px; }
.contact__info h3:first-child { margin-top: 0; }
.contact__info p { color: var(--muted); }
.contact__info a:hover { color: var(--sage-deep); }
.search--page { max-width: 560px; margin: 0 auto 30px; padding: 8px 8px 8px 16px; }
.search--page .search__input { width: 100%; font-size: 1rem; }

/* ---- Legal pages --------------------------------------------- */
.legal p { color: var(--muted); margin-bottom: 16px; font-size: 1rem; }
.legal h2 { font-size: 1.4rem; margin: 28px 0 10px; }

/* =============================================================================
   CHECKOUT — order summary, delivery/shipping/payment forms, confirmation
   ========================================================================== */
.paymarks { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.paymarks svg { width: 40px; height: 24px; border-radius: 4px; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
.paymarks--sm svg { width: 34px; height: 21px; }

.checkout { padding-top: clamp(28px, 4vw, 44px); }
.checkout__grid { display: grid; grid-template-columns: 1.2fr .9fr; gap: clamp(28px, 5vw, 60px); align-items: start; }
.checkout__grid > * { min-width: 0; }
.checkout__h { font-family: var(--font-display); font-size: 1.18rem; font-weight: 600; margin-bottom: 4px; }
.checkout__main { display: flex; flex-direction: column; gap: 26px; }
.co-fs { border: none; display: flex; flex-direction: column; gap: 12px; }
.co-fs legend { padding: 0; margin-bottom: 6px; }
.co-field { display: flex; flex-direction: column; gap: 6px; font-weight: 700; font-size: .82rem; color: var(--ink); }
.co-field input, .co-field select {
  font: inherit; padding: 13px 15px; border-radius: 11px; border: 1px solid var(--line); background: #fff; color: var(--ink);
  transition: border-color .2s, box-shadow .2s; font-weight: 400;
}
.co-field input:focus, .co-field select:focus { outline: none; border-color: var(--sage); box-shadow: 0 0 0 3px rgba(30,58,95,.15); }
.co-opt { font-weight: 400; color: var(--muted); }
.co-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.co-row--3 { grid-template-columns: 1.3fr .8fr 1fr; }
.co-check { display: flex; align-items: center; gap: 9px; font-size: .88rem; color: var(--muted); font-weight: 400; }
.co-check input { width: 16px; height: 16px; accent-color: var(--sage); }
.co-choices { display: flex; flex-direction: column; gap: 10px; }
.co-choice {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; cursor: pointer;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.co-choice:hover { border-color: var(--sage); }
.co-choice:has(input:checked) { border-color: var(--sage); background: rgba(30,58,95,.05); box-shadow: 0 0 0 1px var(--sage) inset; }
.co-choice input { width: 17px; height: 17px; accent-color: var(--sage); flex: none; }
.co-choice__left { display: flex; align-items: center; gap: 10px; }
.co-choice__label { font-weight: 700; }
.co-choice__note { display: block; font-weight: 400; color: var(--muted); font-size: .82rem; }
.co-choice__price { font-weight: 700; white-space: nowrap; }
.co-cardbox { display: flex; flex-direction: column; gap: 12px; border: 1px solid var(--line); border-top: none; border-radius: 0 0 10px 10px; padding: 16px; margin-top: -12px; background: var(--cream); }
.co-secure { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .84rem; margin-bottom: 4px; }
.co-secure svg { width: 15px; height: 15px; }
.co-pay-btn { justify-content: center; font-size: 1rem; padding: 17px 30px; margin-top: 4px; width: 100%; }
.co-pay-btn svg { width: 17px; height: 17px; }
.co-demo { font-size: .78rem; color: var(--muted); text-align: center; }
.co-foot-links { display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: center; border-top: 1px solid var(--line); padding-top: 18px; margin-top: 4px; }
.co-foot-links a { font-size: .8rem; color: var(--sage-deep); text-decoration: underline; }

.checkout__summary {
  position: sticky; top: 96px; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: clamp(20px, 3vw, 28px); box-shadow: var(--shadow-sm);
}
.co-items { display: flex; flex-direction: column; gap: 14px; margin: 14px 0 18px; }
.co-item { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; }
.co-item__media { position: relative; width: 52px; height: 52px; }
.co-item__media img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }
.co-item__qty {
  position: absolute; top: -8px; right: -8px; min-width: 18px; height: 18px; padding: 0 4px;
  background: var(--ink); color: #fff; font-size: .66rem; font-weight: 700; border-radius: 999px;
  display: grid; place-items: center; line-height: 1;
}
.co-item__name { font-weight: 700; font-size: .9rem; line-height: 1.25; display: block; }
.co-item__meta { font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.co-item__price { font-weight: 700; font-size: .9rem; white-space: nowrap; }
.co-disc { display: flex; gap: 8px; margin: 16px 0 4px; }
.co-disc input { flex: 1; min-width: 0; font: inherit; padding: 11px 13px; border-radius: 9px; border: 1px solid var(--line); background: #fff; }
.co-disc input:focus { outline: none; border-color: var(--sage); box-shadow: 0 0 0 3px rgba(30,58,95,.15); }
.co-disc .btn { flex: none; padding: 11px 20px; }
.co-disc__msg { font-size: .82rem; min-height: 1em; margin-bottom: 4px; }
.co-disc__msg.is-ok { color: var(--sage-deep); } .co-disc__msg.is-err { color: #b1493a; } .co-disc__msg:empty { display: none; }
.co-tot { display: flex; flex-direction: column; gap: 10px; border-top: 1px solid var(--line); padding-top: 16px; margin-top: 8px; }
.co-tot > div { display: flex; justify-content: space-between; font-size: .92rem; color: var(--muted); }
.co-tot dt { font-weight: 400; } .co-tot dd { color: var(--ink); font-weight: 600; }
.co-tot__disc dd { color: var(--sage-deep); }
.co-tot__grand { border-top: 1px solid var(--line); padding-top: 12px; margin-top: 2px; }
.co-tot__grand dt { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; color: var(--ink); }
.co-tot__grand dd { font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; }
.co-cur { font-size: .72rem; color: var(--muted); font-weight: 400; }

.co-confirm { text-align: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(28px, 5vw, 48px); box-shadow: var(--shadow-sm); }
.co-confirm__tick { width: 58px; height: 58px; border-radius: 50%; background: var(--sage); color: #fff; display: grid; place-items: center; margin: 0 auto 16px; }
.co-confirm__tick svg { width: 28px; height: 28px; }
.co-confirm__order { font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); font-weight: 700; }
.co-confirm h1 { font-size: clamp(1.7rem, 4vw, 2.4rem); margin: 6px 0 12px; font-weight: 600; }
.co-confirm__lead { color: var(--muted); max-width: 46ch; margin: 0 auto 24px; }
.co-confirm__card { text-align: left; border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; margin-bottom: 22px; display: flex; flex-direction: column; gap: 10px; }
.co-confirm__row { display: flex; justify-content: space-between; gap: 18px; font-size: .88rem; }
.co-confirm__row > span:first-child { color: var(--muted); flex: none; }
.co-confirm__row > span:last-child { text-align: right; }
.co-confirm__row--total { border-top: 1px solid var(--line); padding-top: 10px; font-weight: 700; }
.co-items--confirm { text-align: left; max-width: 420px; margin: 0 auto 24px; }

@media (max-width: 900px) {
  .checkout__grid { grid-template-columns: 1fr; }
  .checkout__summary { position: static; order: -1; }
}
@media (max-width: 540px) {
  .co-row, .co-row--3 { grid-template-columns: 1fr; }
}

/* =============================================================================
   SCROLL SHOWCASE — 3D container-scroll hero
   ========================================================================== */
.cscroll { position: relative; height: 175vh; }
.cscroll__sticky { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; perspective: 1000px; overflow: hidden; padding: clamp(40px, 6vh, 84px) clamp(12px, 4vw, 48px) 0; }
.cscroll__title { max-width: 60rem; text-align: center; margin-bottom: clamp(20px, 3.5vh, 48px); will-change: transform; }
.cscroll__eyebrow { display: inline-flex; align-items: center; gap: 16px; font-weight: 600; text-transform: uppercase; letter-spacing: .2em; font-size: clamp(.78rem, 1.4vw, .94rem); color: var(--sage-deep); margin-bottom: 20px; }
.cscroll__eyebrow::before, .cscroll__eyebrow::after { content: ""; width: clamp(20px, 4vw, 40px); height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.cscroll__eyebrow::after { transform: scaleX(-1); }
.cscroll__title h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); line-height: 1.05; font-weight: 500; }
.cscroll__title .big { display: inline-block; font-size: clamp(2.6rem, 8.5vw, 6rem); font-weight: 600; line-height: 1; margin-top: 6px; color: var(--ink); font-style: italic; }
.cscroll__card {
  width: min(1100px, 92vw); height: clamp(380px, 62vh, 730px);
  border: 4px solid #d8ccae; background: #22302e; border-radius: 30px;
  padding: clamp(8px, 1.4vw, 24px); transform-style: preserve-3d; will-change: transform;
  box-shadow: 0 0 #0000004d, 0 9px 20px #0000004a, 0 37px 37px #00000042, 0 84px 50px #00000026, 0 149px 60px #0000000a, 0 233px 65px #00000003;
}
.cscroll__inner { height: 100%; width: 100%; overflow: hidden; border-radius: 16px; background: var(--cream); display: grid; place-items: center; }
.cscroll__inner img { width: 100%; height: 100%; object-fit: contain; object-position: center; display: block; }
@media (max-width: 768px) { .cscroll { height: 140vh; } }
@media (prefers-reduced-motion: reduce) {
  .cscroll { height: auto; padding: clamp(40px,8vw,90px) 0; }
  .cscroll__sticky { position: static; height: auto; }
  .cscroll__card, .cscroll__title { transform: none !important; }
}

/* refined scrollbar (desktop) */
@media (pointer: fine) {
  * { scrollbar-width: thin; scrollbar-color: rgba(30,58,95,.55) transparent; }
  *::-webkit-scrollbar { width: 11px; height: 11px; }
  *::-webkit-scrollbar-thumb { background: rgba(30,58,95,.45); border-radius: 999px; border: 3px solid transparent; background-clip: content-box; }
  *::-webkit-scrollbar-thumb:hover { background: rgba(20,39,63,.7); background-clip: content-box; }
}

/* =============================================================================
   RESPONSIVE
   ========================================================================== */
@media (min-width: 769px) { .nav.is-mobile { display: none !important; } }

@media (max-width: 1024px) {
  .products { grid-template-columns: repeat(3, 1fr); }
  .collections { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 900px) {
  .pdp__grid { grid-template-columns: 1fr; }
  .pdp__media { max-width: 520px; }
  .contact__grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav, .header__actions .icon-btn--account { display: none; }
  .burger { display: grid; }
  .nav.is-mobile {
    display: flex; position: fixed; inset: 80px 0 auto 0; flex-direction: column; gap: 0;
    background: var(--cream); padding: 12px 0; box-shadow: var(--shadow-md); z-index: 40;
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: opacity .3s var(--ease), transform .3s var(--ease);
    max-height: calc(100vh - 80px); overflow-y: auto;
  }
  body.nav-open .nav.is-mobile { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav.is-mobile a { padding: 14px clamp(20px,5vw,48px); width: 100%; border-bottom: 1px solid var(--line); }
  .nav.is-mobile a::after { display: none; }
  .nav.is-mobile a.sub { padding-left: clamp(34px, 9vw, 64px); font-size: .9rem; color: var(--muted); text-transform: none; letter-spacing: 0; }

  .search { display: none; }
  body.search-open .search {
    display: flex; position: absolute; top: 100%; left: 0; right: 0; margin: 0; border-radius: 0;
    border-left: none; border-right: none; padding: 12px clamp(20px,5vw,48px); background: var(--cream); z-index: 45;
  }
  body.search-open .search__input { width: 100%; }
  .search-toggle { display: grid; }

  .hero__grid { grid-template-columns: 1fr; }
  .hero__collage { order: -1; min-height: 380px; max-width: 460px; margin: 0 auto; width: 100%; }
  .benefits__grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .products { grid-template-columns: repeat(2, 1fr); }
  .story__grid { grid-template-columns: 1fr; }
  .story__media { max-width: 420px; margin: 0 auto; }
  .story__stat { right: 10px; }
  .reviews { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
  .field-row { grid-template-columns: 1fr; }
  .acct-stats { grid-template-columns: 1fr; }
  .account-chip { padding: 0 10px; }
}
@media (max-width: 520px) {
  .card__add { font-size: .64rem; letter-spacing: .02em; padding: 12px 6px; }
  .card__add svg { display: none; }
}
@media (max-width: 460px) {
  .products, .collections { grid-template-columns: 1fr 1fr; gap: 14px; }
  .card__name { font-size: 1.08rem; }
  .card__body { padding: 15px 14px 16px; }
  .footer__grid { grid-template-columns: 1fr; }
  .subcat__head span { white-space: normal; }
}
