/* =========================================================
   FLEUR — Editorial minimal flower shop
   Design system + components (vanilla CSS)
   ========================================================= */

:root {
  /* Palette */
  --bg:        #FBF9F5;
  --bg-2:      #F3EDE4;
  --ink:       #26241F;
  --ink-soft:  #4A4740;
  --muted:     #8C8678;
  --line:      #E7DFD3;
  --blush:     #C39A92;
  --blush-soft:#ECD7D1;
  --sage:      #97A286;
  --sage-soft: #DBE0D2;
  --gold:      #B2945F;
  --white:     #FFFFFF;

  /* Type */
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans:  "Jost", "Inter", system-ui, -apple-system, sans-serif;

  /* Spacing / layout */
  --maxw: 1280px;
  --gut: clamp(20px, 5vw, 64px);
  --radius: 2px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
ul { list-style: none; padding: 0; }
input { font: inherit; }

/* ---------- Typography ---------- */
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.08; letter-spacing: -0.01em; }
.display {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.8rem, 8vw, 6.5rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
}
.eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--muted);
}
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--ink-soft); max-width: 52ch; }
em.it { font-family: var(--serif); font-style: italic; font-weight: 400; }

/* ---------- Layout helpers ---------- */
.container { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }
.section { padding-block: clamp(64px, 11vw, 140px); }
.section--tight { padding-block: clamp(48px, 7vw, 90px); }
.bg-2 { background: var(--bg-2); }

.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(32px, 5vw, 60px); }
.section-head h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); }
.section-head .eyebrow { margin-bottom: 14px; display: block; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 30px;
  font-size: 0.8rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.16em;
  border-radius: 100px;
  transition: background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease), transform .4s var(--ease);
  border: 1px solid var(--ink);
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn--solid { background: var(--ink); color: var(--bg); }
.btn--solid:hover { background: var(--blush); border-color: var(--blush); color: var(--white); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--bg); }
.btn--block { width: 100%; justify-content: center; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.76rem; font-weight: 500;
  padding-bottom: 4px; border-bottom: 1px solid var(--ink);
  transition: gap .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.link-arrow:hover { gap: 16px; color: var(--blush); border-color: var(--blush); }

/* =========================================================
   Header / navigation
   ========================================================= */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .45s var(--ease), box-shadow .45s var(--ease), transform .45s var(--ease);
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-block: 22px;
}
.brand { font-family: var(--serif); font-size: 1.7rem; letter-spacing: 0.18em; font-weight: 500; }
.brand sup { font-size: 0.5em; letter-spacing: 0; color: var(--blush); }
.nav { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 40px); }
.nav a {
  position: relative; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.14em; font-weight: 500;
  padding-block: 6px;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 1px; background: currentColor;
  transition: width .4s var(--ease);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { width: 100%; }
.header__actions { display: flex; align-items: center; gap: 18px; }
.icon-btn { display: inline-flex; align-items: center; gap: 7px; font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; }
.cart-count {
  display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding-inline: 5px;
  background: var(--blush); color: #fff; border-radius: 100px; font-size: 0.66rem; font-weight: 600; letter-spacing: 0;
}

/* Header state when scrolled / on light pages */
.header--solid { background: rgba(251,249,245,0.82); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); }

/* Transparent state over the photo hero: light text + soft scrim for legibility */
.header:not(.header--solid) {
  color: var(--bg);
  background: linear-gradient(180deg, rgba(20,18,15,0.55) 0%, rgba(20,18,15,0.16) 60%, rgba(20,18,15,0) 100%);
}

/* Burger */
.burger { display: none; width: 30px; height: 18px; position: relative; }
.burger span { position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .4s var(--ease), opacity .3s; }
.burger span:nth-child(1){ top: 0; }
.burger span:nth-child(2){ top: 50%; transform: translateY(-50%); }
.burger span:nth-child(3){ bottom: 0; }
body.nav-open .burger span:nth-child(1){ top:50%; transform: translateY(-50%) rotate(45deg); }
body.nav-open .burger span:nth-child(2){ opacity: 0; }
body.nav-open .burger span:nth-child(3){ bottom:50%; transform: translateY(50%) rotate(-45deg); }

/* =========================================================
   Hero
   ========================================================= */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; }
.hero .hero__bg { position: absolute; inset: 0; z-index: 0; background: #4a4438 url("../img/flower-09.jpg") center 30% / cover no-repeat; }
.hero__bg::after { content:""; position:absolute; inset:0; background:
    linear-gradient(110deg, rgba(30,28,24,0.72) 0%, rgba(30,28,24,0.34) 42%, rgba(30,28,24,0.12) 70%),
    linear-gradient(180deg, rgba(30,28,24,0.25) 0%, rgba(30,28,24,0) 40%, rgba(30,28,24,0.45) 100%); }
.hero__inner { position: relative; z-index: 2; width: 100%; padding-bottom: clamp(48px, 8vw, 100px); padding-top: 140px; }
.hero__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: flex-end; }
.hero .display { color: var(--bg); text-shadow: 0 1px 40px rgba(0,0,0,.15); }
.hero__sub { color: rgba(251,249,245,0.92); max-width: 40ch; margin-top: 22px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.hero .btn--ghost { color: var(--bg); border-color: rgba(251,249,245,0.6); }
.hero .btn--ghost:hover { background: var(--bg); color: var(--ink); border-color: var(--bg); }
.hero .btn--solid { background: var(--bg); color: var(--ink); border-color: var(--bg); }
.hero .btn--solid:hover { background: var(--blush); color: #fff; border-color: var(--blush); }
.hero__meta { color: rgba(251,249,245,0.9); }
.hero__meta .eyebrow { color: rgba(251,249,245,0.7); }
.hero__meta p { font-family: var(--serif); font-size: 1.35rem; line-height: 1.4; margin-top: 8px; }

/* Decorative gradient "photo" tiles (placeholders for real imagery) */
.media {
  position: relative; overflow: hidden; background: var(--bg-2);
  --t1: var(--blush-soft); --t2: var(--sage-soft);
}
.media::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 75% 15%, var(--t1) 0%, transparent 55%),
    radial-gradient(120% 110% at 15% 95%, var(--t2) 0%, transparent 60%),
    linear-gradient(160deg, #fff 0%, var(--bg-2) 100%);
}
.media svg.sprig { position: absolute; z-index: 1; }
.media__tag { position: absolute; top: 14px; left: 14px; z-index: 3; background: rgba(255,255,255,.86); backdrop-filter: blur(4px); padding: 6px 12px; border-radius: 100px; font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--ink-soft); }

/* =========================================================
   Marquee strip
   ========================================================= */
.strip { border-block: 1px solid var(--line); overflow: hidden; }
.marquee { display: flex; gap: 56px; white-space: nowrap; padding-block: 16px; animation: marquee 28s linear infinite; }
.marquee span { font-family: var(--serif); font-size: 1.15rem; font-style: italic; color: var(--ink-soft); display: inline-flex; align-items: center; gap: 56px; }
.marquee span::after { content: "✦"; color: var(--blush); font-style: normal; font-size: 0.7em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================
   Product cards / grid
   ========================================================= */
.grid { display: grid; gap: clamp(20px, 2.4vw, 36px); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card { display: flex; flex-direction: column; color: inherit; }
.card__media { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--bg-2); }
.card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .9s var(--ease); }
.card:hover .card__media img { transform: scale(1.05); }
.card__add {
  position: absolute; bottom: 14px; left: 14px; right: 14px; z-index: 3;
  background: var(--ink); color: var(--bg); padding: 13px; border-radius: 100px;
  text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.72rem; font-weight: 500;
  opacity: 0; transform: translateY(12px); transition: opacity .4s var(--ease), transform .4s var(--ease), background .3s;
}
.card:hover .card__add { opacity: 1; transform: translateY(0); }
.card__add:hover { background: var(--blush); }
.card__body { padding-top: 16px; display: flex; justify-content: space-between; gap: 16px; align-items: baseline; }
.card__name { font-family: var(--serif); font-size: 1.4rem; }
.card__desc { color: var(--muted); font-size: 0.86rem; margin-top: 2px; }
.card__price { font-family: var(--serif); font-size: 1.3rem; white-space: nowrap; }
.card__price .cur { font-size: 0.7em; color: var(--muted); }

/* =========================================================
   Editorial split (about)
   ========================================================= */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.split__media { position: relative; aspect-ratio: 5 / 6; border-radius: var(--radius); min-height: 320px; overflow: hidden; background: var(--bg-2); }
.split__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split__body h2 { font-size: clamp(2rem, 4vw, 3.2rem); margin-block: 16px 22px; }
.stat-row { display: flex; gap: clamp(24px, 5vw, 56px); margin-top: 36px; }
.stat b { font-family: var(--serif); font-size: 2.4rem; font-weight: 500; display: block; line-height: 1; }
.stat span { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); }

/* =========================================================
   Steps
   ========================================================= */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 56px); }
.step__num { font-family: var(--serif); font-size: 1.1rem; color: var(--blush); border: 1px solid var(--line); width: 46px; height: 46px; display: grid; place-items: center; border-radius: 100px; margin-bottom: 20px; }
.step h3 { font-size: 1.5rem; margin-bottom: 8px; }
.step p { color: var(--muted); }

/* =========================================================
   Categories
   ========================================================= */
.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cat { position: relative; aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; display: flex; align-items: flex-end; padding: 22px; background: var(--bg-2); }
.cat img { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.cat:hover img { transform: scale(1.05); }
.cat__label { position: relative; z-index: 2; color: #fff; font-family: var(--serif); font-size: 1.5rem; text-shadow: 0 1px 18px rgba(0,0,0,.4); }
.cat::after { content:""; position:absolute; inset:0; z-index:1; background: linear-gradient(180deg, transparent 38%, rgba(20,18,15,.62)); }

/* =========================================================
   Quote
   ========================================================= */
.quote { text-align: center; max-width: min(92vw, 880px); margin-inline: auto; }
.quote p { font-family: var(--serif); font-style: italic; font-size: clamp(1.8rem, 4.5vw, 3.4rem); line-height: 1.18; }
.quote cite { display: block; margin-top: 26px; font-style: normal; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.2em; color: var(--muted); }

/* =========================================================
   Newsletter
   ========================================================= */
.subscribe { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 70px); align-items: center; }
.subscribe h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); }
.field { display: flex; gap: 10px; margin-top: 24px; border-bottom: 1px solid var(--ink); padding-bottom: 10px; }
.field input { flex: 1; border: none; background: none; outline: none; font-size: 1rem; }
.field input::placeholder { color: var(--muted); }
.field button { white-space: nowrap; text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.78rem; font-weight: 500; }
.field button:hover { color: var(--blush); }
.note { font-size: 0.78rem; color: var(--muted); margin-top: 12px; }

/* =========================================================
   Footer
   ========================================================= */
.footer { background: var(--ink); color: #E9E3D7; padding-block: clamp(56px, 8vw, 90px) 32px; }
.footer a:hover { color: var(--blush); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer .brand { color: #fff; }
.footer__col h4 { text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.74rem; font-family: var(--sans); font-weight: 500; color: #B8B2A4; margin-bottom: 18px; }
.footer__col li { margin-bottom: 11px; font-size: 0.92rem; }
.footer__about { color: #B8B2A4; max-width: 34ch; margin-top: 16px; font-size: 0.92rem; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: clamp(40px, 6vw, 70px); padding-top: 26px; border-top: 1px solid rgba(255,255,255,.12); font-size: 0.8rem; color: #948E80; }

/* =========================================================
   Catalog page
   ========================================================= */
.page-hero { padding-top: clamp(130px, 16vw, 180px); padding-bottom: clamp(30px, 5vw, 56px); }
.page-hero h1 { font-size: clamp(2.6rem, 7vw, 5rem); }
.page-hero .lead { margin-top: 18px; }

.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding-block: 22px; border-block: 1px solid var(--line); position: sticky; top: 64px; background: var(--bg); z-index: 50; }
.filters { display: flex; gap: 10px; flex-wrap: wrap; }
.chip {
  padding: 9px 18px; border: 1px solid var(--line); border-radius: 100px;
  font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-soft);
  transition: all .3s var(--ease);
}
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.sort { display: flex; align-items: center; gap: 10px; font-size: 0.8rem; color: var(--muted); }
.sort select { border: 1px solid var(--line); border-radius: 100px; padding: 9px 16px; background: var(--bg); color: var(--ink); cursor: pointer; }

.catalog-grid { padding-top: clamp(32px, 5vw, 52px); }
.empty { text-align: center; padding-block: 80px; color: var(--muted); font-family: var(--serif); font-size: 1.4rem; font-style: italic; }

/* =========================================================
   Product detail page
   ========================================================= */
.crumbs { padding-top: clamp(110px, 14vw, 152px); font-size: 0.76rem; letter-spacing: 0.06em; color: var(--muted); text-transform: uppercase; }
.crumbs a:hover { color: var(--ink); }
.crumbs span { color: var(--ink); }
.product { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 70px); align-items: start; padding-top: 24px; }
.product__main { aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--bg-2); }
.product__main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product__thumbs { display: flex; gap: 12px; margin-top: 12px; }
.thumb { width: 84px; height: 104px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); padding: 0; opacity: .6; transition: opacity .3s var(--ease), border-color .3s; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.is-active, .thumb:hover { opacity: 1; border-color: var(--ink); }
.product__info { position: sticky; top: 100px; }
.product__info h1 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); margin-block: 10px 8px; }
.product__price { font-family: var(--serif); font-size: 1.85rem; }
.product__desc { color: var(--ink-soft); margin-block: 18px 30px; max-width: 46ch; }
.opt { margin-bottom: 24px; }
.opt__label { display: block; text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.74rem; color: var(--muted); margin-bottom: 12px; }
.sizes { display: flex; gap: 10px; }
.size { display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 80px; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .3s var(--ease), background .3s, color .3s; }
.size b { font-family: var(--serif); font-size: 1.15rem; font-weight: 500; }
.size span { font-size: 0.72rem; color: var(--muted); }
.size:hover { border-color: var(--ink); }
.size.is-active { border-color: var(--ink); background: var(--ink); color: var(--bg); }
.size.is-active span { color: rgba(251,249,245,.7); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 100px; overflow: hidden; }
.qty button { width: 46px; height: 46px; font-size: 1.25rem; color: var(--ink); transition: background .3s; }
.qty button:hover { background: var(--bg-2); }
.qty span { min-width: 42px; text-align: center; font-family: var(--serif); font-size: 1.2rem; }
#p-add { margin-top: 8px; }
#p-add.is-added { background: var(--sage); border-color: var(--sage); color: #fff; }
.product__perks { margin-top: 28px; border-top: 1px solid var(--line); padding-top: 22px; display: grid; gap: 12px; }
.product__perks li { position: relative; padding-left: 26px; color: var(--ink-soft); font-size: 0.92rem; }
.product__perks li::before { content: "✦"; position: absolute; left: 0; color: var(--blush); }

/* =========================================================
   Cart + checkout
   ========================================================= */
.cart-empty { text-align: center; padding-block: clamp(40px, 8vw, 90px); }
.cart-empty__title { font-family: var(--serif); font-size: clamp(1.8rem, 4vw, 2.6rem); }
.cart-empty__sub { color: var(--muted); margin-block: 10px 26px; }

.cart-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.cart-lines { display: flex; flex-direction: column; }
.cart-line { display: grid; grid-template-columns: 92px 1fr auto; gap: 20px; align-items: center; padding-block: 22px; border-bottom: 1px solid var(--line); }
.cart-line:first-child { border-top: 1px solid var(--line); }
.cart-line__media { width: 92px; height: 115px; border-radius: var(--radius); overflow: hidden; background: var(--bg-2); }
.cart-line__media img { width: 100%; height: 100%; object-fit: cover; }
.cart-line__info h3 { font-family: var(--serif); font-size: 1.35rem; font-weight: 500; }
.cart-line__meta { color: var(--muted); font-size: 0.85rem; margin-top: 2px; }
.cart-line__remove { color: var(--muted); font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.1em; margin-top: 10px; border-bottom: 1px solid transparent; }
.cart-line__remove:hover { color: var(--blush); border-color: var(--blush); }
.cart-line__controls { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.cart-line__total { font-family: var(--serif); font-size: 1.2rem; white-space: nowrap; }
.qty--sm button { width: 36px; height: 36px; font-size: 1.05rem; }
.qty--sm span { min-width: 34px; font-size: 1.05rem; }

.cart-summary { position: sticky; top: 96px; background: var(--bg-2); border-radius: var(--radius); padding: clamp(22px, 3vw, 32px); }
.cart-summary h3 { font-size: 1.6rem; margin-bottom: 18px; }
.sum-row { display: flex; justify-content: space-between; padding-block: 9px; color: var(--ink-soft); }
.sum-row--total { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 16px; font-family: var(--serif); font-size: 1.35rem; color: var(--ink); }
.sum-note { font-size: 0.82rem; color: var(--muted); margin: 10px 0 4px; }

.checkout { margin-top: 26px; border-top: 1px solid var(--line); padding-top: 24px; }
.checkout h3 { font-size: 1.3rem; margin-bottom: 18px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fields label { display: flex; flex-direction: column; gap: 7px; font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.fields label.full { grid-column: 1 / -1; }
.fields .muted { text-transform: none; letter-spacing: 0; }
.fields input, .fields select, .fields textarea {
  font-family: var(--sans); font-size: 0.95rem; color: var(--ink); text-transform: none; letter-spacing: 0;
  border: 1px solid var(--line); border-radius: var(--radius); padding: 11px 13px; background: #fff; outline: none; transition: border-color .25s var(--ease);
}
.fields input:focus, .fields select:focus, .fields textarea:focus { border-color: var(--ink); }
.fields textarea { resize: vertical; }
.pay { border: none; padding: 0; margin: 20px 0 22px; display: grid; gap: 10px; }
.radio { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: 0.95rem; }
.radio input { accent-color: var(--blush); width: 16px; height: 16px; }

.cart-success { text-align: center; padding-block: clamp(40px, 8vw, 90px); max-width: 48ch; margin-inline: auto; }
.cart-success__mark { width: 64px; height: 64px; border-radius: 100px; display: grid; place-items: center; margin: 0 auto 22px; background: var(--sage-soft); color: var(--sage); font-size: 1.6rem; }
.cart-success h2 { font-size: clamp(2rem, 5vw, 3rem); }
.cart-success p { color: var(--ink-soft); margin-block: 16px 28px; }

/* =========================================================
   Scroll reveal
   ========================================================= */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { 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; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 980px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .cats { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .hero__grid { grid-template-columns: 1fr; gap: 28px; }
  .split, .subscribe { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 30px; }
  .product { grid-template-columns: 1fr; gap: 28px; }
  .product__info { position: static; }
  .cart-layout { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
}
@media (max-width: 640px) {
  .nav, .header__actions .icon-btn span { display: none; }
  .burger { display: block; }
  .nav {
    position: fixed; inset: 0; z-index: 90; background: var(--bg);
    flex-direction: column; justify-content: center; gap: 30px;
    transform: translateX(100%); transition: transform .5s var(--ease);
  }
  .nav a { font-size: 1.6rem; font-family: var(--serif); text-transform: none; letter-spacing: 0; }
  body.nav-open .nav { transform: none; display: flex; }
  .grid--4, .grid--3, .cats { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .toolbar { top: 58px; }
  .section-head { align-items: flex-start; }
  .fields { grid-template-columns: 1fr; }
  .cart-line { grid-template-columns: 72px 1fr; row-gap: 14px; }
  .cart-line__media { width: 72px; height: 90px; }
  .cart-line__controls { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
