/* =============================================================================
   DASHOR CLOTHING HOUSE — 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.
   ========================================================================== */

/* ---- Fonts ---------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400..700;1,9..144,400..600&family=Caveat:wght@500;600&family=Nunito+Sans:wght@300;400;600;700&display=swap');

/* ---- Design tokens (defaults; overridden by config at runtime) ------------ */
:root {
  --cream: #F7F5EF;
  --card: #FFFFFF;
  --ink: #1C2B24;
  --sage: #1F6F54;
  --sage-deep: #154D3B;
  --terracotta: #9C6B1A;
  --gold: #B8912F;

  --muted: #6b7280;
  --line: #e3e0d5;
  --shadow-sm: 0 2px 10px rgba(30, 32, 40, .06);
  --shadow-md: 0 16px 40px -18px rgba(30, 32, 40, .28);
  --shadow-lg: 0 30px 60px -24px rgba(30, 32, 40, .35);
  --radius: 18px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --maxw: 1200px;

  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-script: 'Caveat', cursive;
  --font-body: 'Nunito Sans', -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;
}

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

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

.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: var(--sage); color: #fff;
  padding: 15px 30px; border-radius: 999px;
  font-weight: 700; font-size: .92rem; letter-spacing: .03em;
  box-shadow: var(--shadow-sm);
  transition: background .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
  will-change: transform;
}
.btn:hover { background: var(--sage-deep); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }
.btn--ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); box-shadow: 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 {
  outline: 3px solid var(--sage); outline-offset: 3px; border-radius: 6px;
}

.eyebrow {
  font-family: var(--font-body); font-weight: 700; text-transform: uppercase;
  letter-spacing: .22em; font-size: .72rem; color: var(--sage-deep);
}
.script { font-family: var(--font-script); color: var(--terracotta); font-weight: 600; line-height: 1; }

/* =============================================================================
   ANNOUNCEMENT BAR
   ========================================================================== */
.announce {
  background: var(--ink); color: #eef0f4;
  font-size: .8rem; letter-spacing: .04em; text-align: center;
  padding: 9px 16px; position: relative; z-index: 60;
}

/* =============================================================================
   HEADER
   ========================================================================== */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 245, 239, .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); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 24px; }

.logo { display: flex; align-items: center; gap: 11px; line-height: 1; }
.logo__mark-svg { width: 42px; height: 42px; flex: none; display: block; }
.logo__img { height: 42px; width: auto; display: block; }
.logo__text { display: flex; flex-direction: column; }
.logo__name { font-family: var(--font-display); font-weight: 600; font-size: 1.42rem; letter-spacing: .015em; color: var(--sage-deep); line-height: 1.04; }
.logo__tag  { font-family: var(--font-body); font-weight: 700; font-size: .56rem; letter-spacing: .24em; text-transform: uppercase; color: var(--sage); margin-top: 5px; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a {
  position: relative; font-weight: 600; font-size: .9rem; 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(--terracotta); 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: 14px; }
.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(31, 111, 84, .14); 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); }

/* =============================================================================
   HERO
   ========================================================================== */
.hero { position: relative; padding: clamp(40px, 6vw, 80px) 0 clamp(70px, 9vw, 120px); }
.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);
}
.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__photo { transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.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: 10px; margin-bottom: 6px; }
.hero__eyebrow .script { font-size: 2.6rem; transform: rotate(-4deg); }
.hero h1 { font-size: clamp(2.4rem, 5vw, 3.7rem); margin: 8px 0 18px; }
.hero__desc { color: var(--muted); font-size: 1.08rem; max-width: 44ch; margin-bottom: 24px; }
.hero__price { display: flex; align-items: baseline; gap: 14px; margin-bottom: 30px; }
.hero__price .now { font-family: var(--font-display); font-size: 2rem; 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(156, 107, 26, .14); color: var(--terracotta); font-weight: 700;
  font-size: .78rem; padding: 5px 11px; border-radius: 999px; letter-spacing: .02em;
}

/* Countdown */
.countdown { display: flex; gap: 12px; margin-bottom: 30px; }
.countdown__unit {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 10px 6px; min-width: 60px; text-align: center; box-shadow: var(--shadow-sm);
}
.countdown__num { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.countdown__label { font-size: .58rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }
.countdown__intro { font-size: .8rem; color: var(--muted); margin-bottom: 8px; letter-spacing: .04em; }

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

/* =============================================================================
   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(31, 111, 84, .12); color: var(--sage-deep); }
.benefit__icon svg { width: 23px; height: 23px; }
.benefit h4 { font-family: var(--font-body); font-weight: 700; font-size: .95rem; }
.benefit p { font-size: .82rem; color: var(--muted); }

/* =============================================================================
   SECTION HEADINGS
   ========================================================================== */
.sec-head { text-align: center; max-width: 620px; margin: 0 auto clamp(36px, 5vw, 60px); }
.sec-head h2 { font-size: clamp(2rem, 4vw, 2.9rem); margin: 10px 0 12px; }
.sec-head p { color: var(--muted); font-size: 1.05rem; }
.sec-head .script { font-size: 1.9rem; display: inline-block; transform: rotate(-3deg); }

/* =============================================================================
   PRODUCT GRID
   ========================================================================== */
.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 2.4vw, 30px); }
.card {
  background: var(--card); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  display: flex; flex-direction: column; will-change: transform;
}
.card:hover { transform: translateY(-7px); box-shadow: var(--shadow-md); }
.card__media { position: relative; aspect-ratio: 4/5; overflow: hidden; background: var(--line); display: block; }
.card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), opacity .5s var(--ease); }
.card__img--back { opacity: 0; }
.card:hover .card__img--front { transform: scale(1.05); }
.card__media--dual:hover .card__img--front { opacity: 0; }
.card__media--dual:hover .card__img--back { opacity: 1; transform: scale(1.05); }
.card__badge {
  position: absolute; top: 12px; left: 12px; background: var(--ink); color: #eef0f4;
  font-size: .68rem; font-weight: 700; letter-spacing: .04em; padding: 6px 11px; border-radius: 999px; z-index: 2;
}
.card__badge--hot { background: var(--terracotta); color: #fff; }
.card__body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 5px; flex: 1; }
.card__cat { font-size: .68rem; text-transform: uppercase; letter-spacing: .16em; color: var(--sage-deep); font-weight: 700; }
.card__name { font-family: var(--font-display); font-size: 1.16rem; font-weight: 600; line-height: 1.25; }
.card__price { display: flex; align-items: baseline; gap: 9px; margin-top: 2px; flex-wrap: wrap; }
.card__now { font-weight: 700; font-size: 1.12rem; color: var(--ink); }
.card__was { color: var(--muted); text-decoration: line-through; font-size: .92rem; }
.card__add { margin-top: 12px; width: 100%; justify-content: center; white-space: nowrap; }
.card__add svg { width: 18px; height: 18px; flex: none; }

/* =============================================================================
   COLLECTIONS
   ========================================================================== */
.collections-sec { background: var(--card); }
.collections { display: grid; grid-template-columns: repeat(3, 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 .6s var(--ease); }
.collection:hover img { transform: scale(1.08); }
.collection::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20,22,28,.74), rgba(20,22,28,.05) 55%); }
.collection__label {
  position: absolute; left: 18px; right: 18px; bottom: 18px; z-index: 2; color: #fff;
  font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; display: flex; align-items: center; justify-content: space-between;
}
.collection__label svg { width: 20px; height: 20px; 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: var(--sage); 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.8rem; font-weight: 600; }
.story__stat .l { font-size: .72rem; letter-spacing: .06em; opacity: .9; }
.story h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin-bottom: 18px; }
.story p { color: var(--muted); margin-bottom: 16px; font-size: 1.05rem; }
.story__sign { font-family: var(--font-script); color: var(--terracotta); font-size: 1.8rem; 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;
}
.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.12rem; line-height: 1.5; }
.review__who { font-size: .85rem; color: var(--muted); margin-top: auto; }
.review__who strong { color: var(--ink); font-weight: 700; }

/* =============================================================================
   NEWSLETTER
   ========================================================================== */
.newsletter { text-align: center; }
.newsletter__box {
  background: var(--ink); color: #eef0f4; border-radius: 28px; padding: clamp(40px, 6vw, 70px);
  position: relative; overflow: hidden;
}
.newsletter__box::before, .newsletter__box::after {
  content: ""; position: absolute; border-radius: 50%; background: rgba(31, 111, 84,.3); filter: blur(2px);
}
.newsletter__box::before { width: 240px; height: 240px; top: -90px; left: -70px; }
.newsletter__box::after { width: 200px; height: 200px; bottom: -90px; right: -60px; background: rgba(156, 107, 26,.24); }
.newsletter h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); color: #fff; position: relative; }
.newsletter p { color: #cfd2da; max-width: 46ch; 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: .9rem; color: #a9c6a0; 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.6rem; font-weight: 600; letter-spacing: .04em; }
.footer p, .footer li, .footer a { color: var(--muted); font-size: .92rem; }
.footer h5 { font-family: var(--font-body); font-weight: 700; font-size: .82rem; text-transform: uppercase; letter-spacing: .14em; color: var(--ink); margin-bottom: 16px; }
.footer__list li { margin-bottom: 10px; }
.footer__list a:hover { color: var(--sage-deep); }
.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; }
.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,.06); }
.paymarks--sm svg { width: 34px; height: 21px; }

/* =============================================================================
   CART DRAWER
   ========================================================================== */
.overlay { position: fixed; inset: 0; background: rgba(20,22,28,.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.3rem; }
.drawer__close { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; }
.drawer__close:hover { background: rgba(31, 111, 84,.14); }
.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: .98rem; line-height: 1.2; }
.cart-item__price { color: var(--muted); font-size: .82rem; }
.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: .76rem; 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: 700; margin-bottom: 14px; font-family: var(--font-display); }
.drawer__foot .btn { width: 100%; justify-content: center; white-space: nowrap; padding-inline: 16px; gap: .4em; }
.drawer__foot .btn svg { width: 15px; height: 15px; }

/* =============================================================================
   SCROLL-REVEAL ANIMATION  (GPU-friendly: opacity + transform only)
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.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; }

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

/* =============================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
  .products { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 768px) {
  .nav, .header__actions .icon-btn--account { display: none; }
  .burger { display: grid; }
  .header__inner { height: auto; padding-block: 8px 10px; gap: 6px 8px; flex-wrap: wrap; }
  .burger { order: 1; }
  .header__actions { order: 2; gap: 2px; }
  .logo { order: 3; flex-basis: 100%; justify-content: center; align-items: center; text-align: center; margin-top: 2px; gap: 10px; }
  .logo__mark-svg, .logo__img { width: 36px; height: 36px; }
  .logo__text { align-items: flex-start; }
  .logo__name { font-size: 1.12rem; line-height: 1.05; letter-spacing: .03em; }
  .logo__tag { display: block; font-size: .46rem; letter-spacing: .2em; margin-top: 3px; }
  .nav.is-mobile {
    display: flex; position: fixed; inset: 78px 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);
  }
  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; }

  .hero__grid { grid-template-columns: 1fr; }
  .hero__eyebrow { flex-direction: column; align-items: flex-start; gap: 2px; }
  .hero__eyebrow .script { font-size: 2.1rem; }
  .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); }
  .collections { grid-template-columns: 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: 460px) {
  .products { grid-template-columns: 1fr 1fr; gap: 14px; }
  .countdown__unit { min-width: 0; flex: 1; }
  .card__name { font-size: 1rem; }
  .card__body { padding: 14px 14px 16px; }
  .card__add { padding: 12px 16px; font-size: .82rem; }
  .footer__grid { grid-template-columns: 1fr; }
  .logo__name { font-size: 1rem; letter-spacing: .02em; }
  .logo__tag { font-size: .42rem; letter-spacing: .16em; }
  .announce { font-size: .72rem; }
}
@media (max-width: 380px) {
  .products { grid-template-columns: 1fr; }
}

/* =============================================================================
   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; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }
.sec-cta { text-align: center; margin-top: 40px; }

/* ---- Header: search + dropdown + account chip ----------------------------- */
.nav { gap: 26px; }
.nav__item.has-dropdown { position: relative; }
.nav__item.has-dropdown > a { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; font-size: .9rem; }
.nav__item .caret svg { width: 15px; height: 15px; 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: 210px; 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: .9rem; font-weight: 600; transition: background .18s var(--ease), color .18s; }
.dropdown a::after { display: none; }
.dropdown a:hover { background: rgba(31, 111, 84, .12); 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(31, 111, 84,.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: .9rem; width: 168px; padding: 6px 4px; color: var(--ink); }
.search-toggle { display: none; }
.account-chip { width: auto; padding: 0 14px; border-radius: 999px; background: rgba(31, 111, 84,.14); }
.account-chip__hi { font-size: .82rem; font-weight: 700; color: var(--sage-deep); white-space: nowrap; }

/* ---- 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.1rem, 5vw, 3.3rem); }
.banner p { color: var(--muted); margin-top: 10px; font-size: 1.08rem; }
.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(20,22,28,.5), rgba(20,22,28,.62)); }
.banner--img .wrap { position: relative; z-index: 2; }
.banner--img h1 { color: #fff; } .banner--img p { color: #e9eaee; }

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

/* ---- 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: 600; font-size: .85rem; 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: .85rem; color: var(--muted); }
.sortwrap select { font: inherit; font-size: .88rem; 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: .9rem; margin-bottom: 18px; }
.card__save { position: absolute; bottom: 12px; left: 12px; background: rgba(255,255,255,.92); color: var(--terracotta); font-weight: 800; font-size: .72rem; padding: 5px 9px; border-radius: 999px; z-index: 2; }

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

/* ---- Product detail ------------------------------------------------------- */
.pdp__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }

.pdp__gallery { position: sticky; top: 96px; }
.pdp__stage { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 4/5; background: var(--line); }
.pdp__stage img { width: 100%; height: 100%; object-fit: cover; }
.pdp__thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.pdp__thumb { width: 72px; height: 88px; border-radius: 10px; overflow: hidden; border: 2px solid transparent; background: var(--line); transition: border-color .2s var(--ease); }
.pdp__thumb img { width: 100%; height: 100%; object-fit: cover; }
.pdp__thumb.is-active { border-color: var(--sage); }
.pdp__thumb:hover { border-color: var(--sage-deep); }

.pdp__cat { display: inline-block; font-size: .72rem; text-transform: uppercase; letter-spacing: .16em; color: var(--sage-deep); font-weight: 700; margin-bottom: 10px; }
.pdp__cat:hover { color: var(--terracotta); }
.pdp__info h1 { font-size: clamp(1.8rem, 4vw, 2.7rem); margin-bottom: 12px; }
.pdp__info .review__stars { margin-bottom: 16px; }
.pdp__price { display: flex; align-items: baseline; gap: 12px; margin-bottom: 6px; }
.pdp__price .now { font-family: var(--font-display); font-size: 1.9rem; 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(156, 107, 26,.14); color: var(--terracotta); font-weight: 700; font-size: .78rem; padding: 5px 11px; border-radius: 999px; }
.pdp__pricehint { color: var(--muted); font-size: .86rem; margin-bottom: 14px; }
.pdp__blurb { font-size: 1.1rem; margin: 12px 0 22px; }

/* Options (size / colour) */
.opt { margin-bottom: 22px; }
.opt__head { display: flex; align-items: baseline; gap: 8px; margin-bottom: 10px; }
.opt__label { font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; }
.opt__value { color: var(--muted); font-size: .9rem; }
.opt__row { display: flex; gap: 8px; flex-wrap: wrap; }
.opt__pill {
  min-width: 46px; padding: 10px 14px; border-radius: 10px; border: 1px solid var(--line);
  background: #fff; font-weight: 700; font-size: .88rem; color: var(--ink);
  transition: border-color .18s var(--ease), background .18s var(--ease), color .18s var(--ease);
}
.opt__pill:hover { border-color: var(--sage); }
.opt__pill.is-active { background: var(--sage); border-color: var(--sage); color: #fff; }
.opt__link { display: inline-block; margin-top: 10px; font-size: .82rem; color: var(--sage-deep); text-decoration: underline; }

.pdp__stage img { transition: opacity .25s var(--ease); }
.pdp__stage img.is-swap { animation: pdpFade .3s var(--ease); }
@keyframes pdpFade { from { opacity: .35; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .pdp__stage img.is-swap { animation: none; } }

.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(31, 111, 84,.12); }
.qtybox span { min-width: 38px; text-align: center; font-weight: 700; }
.pdp__add { flex: 1; min-width: 220px; justify-content: center; white-space: nowrap; }
.pdp__add svg { width: 20px; height: 20px; flex: none; }
.pdp__add-dot { opacity: .55; }
.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: .95rem; }
.pdp__perks svg { width: 22px; height: 22px; color: var(--sage-deep); flex: none; }

.pdp__accordion { margin-top: 24px; border-top: 1px solid var(--line); }
.pdp__accordion details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.pdp__accordion summary { cursor: pointer; padding: 14px 0; font-weight: 700; font-size: .95rem; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.pdp__accordion summary::-webkit-details-marker { display: none; }
.pdp__accordion summary::after { content: "+"; font-size: 1.3rem; color: var(--muted); font-weight: 400; }
.pdp__accordion details[open] summary::after { content: "–"; }
.pdp__accordion p { color: var(--muted); font-size: .95rem; padding-bottom: 16px; }

.related { margin-top: clamp(50px, 8vw, 90px); }
.related .sec-head { margin-bottom: 30px; }

/* ---- Auth (sign in / sign up) -------------------------------------------- */
.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: 700; font-size: .92rem; 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: 700; font-size: .85rem; 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(31, 111, 84,.15); }
.auth-form .btn { justify-content: center; margin-top: 4px; }
.auth-alt { font-size: .88rem; color: var(--muted); text-align: center; }
.auth-alt a { color: var(--sage-deep); font-weight: 700; text-decoration: underline; }
.auth-msg { font-size: .9rem; min-height: 1.1em; }
.auth-msg.is-err { color: #b1493a; } .auth-msg.is-ok { color: var(--sage-deep); }
.auth-msg:empty { display: 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(31, 111, 84,.14); 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: .76rem; 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: 700; font-size: .82rem; 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; }
.drawer__note { font-size: .8rem; color: var(--muted); margin-top: 10px; text-align: center; }

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

/* ---- Responsive for new pieces ------------------------------------------- */
@media (min-width: 769px) { .nav.is-mobile { display: none !important; } }

@media (max-width: 900px) {
  .pdp__grid { grid-template-columns: 1fr; }
  .pdp__gallery { position: static; max-width: 520px; }
  .contact__grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .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; }
  .nav__item.has-dropdown .dropdown { display: none; }
  .nav.is-mobile a.sub { padding-left: clamp(34px, 9vw, 64px); font-size: .9rem; color: var(--muted); }
  .nav.is-mobile .nav__item { width: 100%; }
}
@media (max-width: 540px) {
  .field-row { grid-template-columns: 1fr; }
  .acct-stats { grid-template-columns: 1fr; }
  .account-chip { padding: 0 10px; }
}

/* =============================================================================
   PROMO BANNER  (home + shop)
   ========================================================================== */
.promo {
  background: linear-gradient(105deg, var(--sage-deep), var(--sage) 55%, #2c8a68);
  color: #fff; position: relative; overflow: hidden;
}
.promo::after {
  content: ""; position: absolute; right: -60px; top: -80px; width: 260px; height: 260px;
  border-radius: 50%; background: rgba(184, 145, 47, .28); filter: blur(4px);
}
.promo__inner {
  position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between;
  gap: clamp(16px, 4vw, 48px); padding: clamp(22px, 4vw, 34px) 0; flex-wrap: wrap;
}
.promo__kicker {
  display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: .72rem;
  text-transform: uppercase; letter-spacing: .16em; color: #ffe9c2;
}
.promo__kicker svg { width: 15px; height: 15px; }
.promo__heading { color: #fff; font-size: clamp(1.4rem, 3vw, 2rem); margin: 8px 0 6px; }
.promo__sub { color: #eaf3ef; font-size: .98rem; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.promo__code {
  font-family: var(--font-body); font-weight: 800; letter-spacing: .08em; font-size: .82rem;
  background: rgba(255,255,255,.16); border: 1px dashed rgba(255,255,255,.6); color: #fff;
  padding: 5px 12px; border-radius: 8px; transition: background .2s var(--ease);
}
.promo__code:hover { background: rgba(255,255,255,.28); }
.promo__code.is-copied { background: #fff; color: var(--sage-deep); border-style: solid; }
.promo__cta { background: #fff; color: var(--sage-deep); flex: none; }
.promo__cta:hover { background: var(--gold); color: #1c1c1c; }
@media (max-width: 640px) { .promo__cta { width: 100%; justify-content: center; } }

/* =============================================================================
   CHECKOUT
   ========================================================================== */
.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.15rem; 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; font-weight: 400; padding: 13px 14px; border-radius: 10px; border: 1px solid var(--line);
  background: #fff; color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.co-field input:focus, .co-field select:focus { outline: none; border-color: var(--sage); box-shadow: 0 0 0 3px rgba(31,111,84,.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; gap: 12px; justify-content: space-between;
  border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; cursor: pointer;
  font-size: .92rem; transition: border-color .18s var(--ease), background .18s var(--ease);
}
.co-choice:hover { border-color: var(--sage); }
.co-choice:has(input:checked) { border-color: var(--sage); background: rgba(31,111,84,.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: #fbfaf6; }
.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; }
.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: 62px; }
.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: 20px; height: 20px; padding: 0 5px;
  background: var(--muted); color: #fff; font-size: .7rem; font-weight: 700; border-radius: 999px;
  display: grid; place-items: center;
}
.co-item__name { font-weight: 700; font-size: .9rem; line-height: 1.25; display: block; }
.co-item__meta { font-size: .8rem; color: var(--muted); }
.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 .btn { flex: none; }
.co-disc input:focus { outline: none; border-color: var(--sage); box-shadow: 0 0 0 3px rgba(31,111,84,.15); }
.co-disc .btn { 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: .8rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); font-weight: 700; }
.co-confirm h1 { font-size: clamp(1.6rem, 4vw, 2.3rem); margin: 6px 0 12px; }
.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: 520px) {
  .co-row, .co-row--3 { grid-template-columns: 1fr; }
}

/* ---- Drawer: continue-shopping link ------------------------------------- */
.drawer__cont { display: block; text-align: center; margin-top: 12px; font-size: .85rem; color: var(--sage-deep); text-decoration: underline; }
