@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,500;0,600;0,700;0,800;1,600&family=Mulish:wght@400;500;600;700;800&family=Sacramento&display=swap');

/* =============================================================
   Sue's House of Fudge — Vintage candy-shop design system
   Palette pulled from the shop logo: parchment cream, deep
   chocolate, muted burgundy, soft gold. Nostalgic + modern.
   ============================================================= */

:root {
  /* Parchment & cream (from logo label #fcf3e8) */
  --cream-50:  #fdf6ea;   /* card surface */
  --cream-100: #f3e6cd;   /* page parchment */
  --cream-200: #ecdcbe;   /* alt panels */
  --cream-300: #e2ceaa;   /* subtle */
  --line:      #e2ceaa;

  /* Chocolate (from script #3d1402) */
  --choc-900: #2a1305;
  --choc-800: #3a2013;
  --choc-700: #5a3520;
  --choc-600: #6f4a2c;
  --choc-500: #855a34;

  /* Muted burgundy (ribbon #7a1b29) */
  --burgundy: #7a1b29;
  --burgundy-dark: #5c1420;

  /* Soft gold (flourish #ddad73) */
  --gold: #c1963f;
  --gold-soft: #ddad73;

  /* Warm caramel accents (fudge #824820) + brick roof (#86302e) */
  --caramel: #a5652a;
  --caramel-dark: #8a4f22;
  --berry: #86302e;

  --ink:   #3a2013;
  --muted: #8a6f52;

  --ok:   #2f5d43;   /* forest green from logo grass */
  --star: #c1963f;

  /* Type */
  --serif:  'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans:   'Mulish', 'Segoe UI', system-ui, -apple-system, Arial, sans-serif;
  --script: 'Sacramento', 'Segoe Script', 'Brush Script MT', cursive;

  /* Radius & shadow (warm brown tint) */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --shadow-sm: 0 2px 8px rgba(58,32,19,0.09);
  --shadow-md: 0 12px 30px rgba(58,32,19,0.14);
  --shadow-lg: 0 26px 60px rgba(58,32,19,0.22);

  --maxw: 1200px;
  --nav-h: 84px;

  /* Reusable vintage flourish (gold filigree, burgundy center dot) */
  --flourish: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='170' height='18' viewBox='0 0 170 18'%3E%3Cg fill='none' stroke='%23c1963f' stroke-width='1.5' stroke-linecap='round'%3E%3Cpath d='M6 9h56M108 9h56'/%3E%3Cpath d='M64 9c4-5 9-5 13 0-4 5-9 5-13 0z'/%3E%3Cpath d='M106 9c-4-5-9-5-13 0 4 5 9 5 13 0z'/%3E%3C/g%3E%3Ccircle cx='85' cy='9' r='3.2' fill='%237a1b29'/%3E%3C/svg%3E");
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background-color: var(--cream-100);
  /* soft parchment glow + faint paper grain */
  background-image:
    radial-gradient(1100px 620px at 50% -8%, rgba(255,250,238,0.55), transparent 62%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.045'/%3E%3C/svg%3E");
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
h1, h2, h3, h4 { font-family: var(--serif); line-height: 1.14; color: var(--choc-900); font-weight: 700; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 76px 0; }
.section--tight { padding: 48px 0; }
.section-head { text-align: center; max-width: 660px; margin: 0 auto 46px; }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.section-head h2::after {
  content: ""; display: block; width: 170px; height: 18px; margin: 18px auto 0;
  background: center / contain no-repeat var(--flourish);
}
.section-head p { color: var(--muted); margin-top: 14px; font-size: 1.06rem; }
.eyebrow {
  display: inline-block; font-family: var(--script); font-weight: 400;
  letter-spacing: 0; text-transform: none; font-size: 1.7rem; line-height: 1;
  color: var(--burgundy); margin-bottom: 6px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: 999px; font-weight: 700; font-size: .95rem;
  font-family: var(--sans); letter-spacing: .01em;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
  white-space: nowrap; border: 1px solid transparent;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--burgundy); color: #fdf3e6; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--burgundy-dark); box-shadow: var(--shadow-md); }
.btn--dark { background: var(--choc-800); color: var(--cream-50); }
.btn--dark:hover { background: var(--choc-900); }
.btn--ghost { background: transparent; color: var(--choc-800); border-color: var(--choc-600); }
.btn--ghost:hover { border-color: var(--burgundy); color: var(--burgundy); background: rgba(122,27,41,.05); }
.btn--sm { padding: 10px 18px; font-size: .85rem; }
.btn--block { width: 100%; }

/* ---------- Announcement bar ---------- */
.topbar {
  background: var(--burgundy); color: #f7e7cf; text-align: center;
  font-size: .8rem; font-weight: 600; letter-spacing: .03em; padding: 9px 16px;
}
.topbar span { opacity: .55; margin: 0 10px; color: var(--gold-soft); }

/* ---------- Header / Nav ---------- */
.header {
  position: sticky; top: 0; z-index: 60;
  background: linear-gradient(180deg, rgba(248,238,219,.95), rgba(242,228,202,.95));
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--gold);
  box-shadow: 0 2px 0 rgba(90,53,32,.12), var(--shadow-sm);
}
.nav { height: var(--nav-h); display: flex; align-items: center; gap: 20px; }
.brand { display: flex; align-items: center; margin-right: auto; }
.brand__logo { height: 60px; width: auto; display: block; filter: drop-shadow(0 1px 2px rgba(58,32,19,.18)); }

.nav__links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav__links a {
  padding: 8px 14px; border-radius: 999px; font-weight: 700; font-size: .95rem;
  color: var(--choc-800); transition: background .18s ease, color .18s ease;
}
.nav__links a:hover { background: var(--cream-200); color: var(--burgundy); }
.nav__links a.is-active { color: var(--burgundy); }

.nav__actions { display: flex; align-items: center; gap: 8px; }
.cart-btn { position: relative; display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 999px; background: var(--choc-800); color: var(--cream-50); font-weight: 700; font-size: .9rem; }
.cart-btn:hover { background: var(--burgundy); }
.cart-btn__count {
  min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px;
  background: var(--gold); color: var(--choc-900); font-size: .72rem; font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center;
}
.nav__toggle { display: none; width: 44px; height: 44px; border-radius: 10px; align-items: center; justify-content: center; color: var(--choc-800); }
.nav__toggle svg { width: 26px; height: 26px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 480px at 82% -10%, rgba(193,150,63,0.18), transparent 60%),
    linear-gradient(180deg, #f7ecd7, var(--cream-200));
  border-bottom: 1px solid var(--line);
}
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; padding: 78px 0 88px; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.pill {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--cream-50); border: 1px solid var(--line); color: var(--choc-700);
  padding: 7px 14px; border-radius: 999px; font-size: .82rem; font-weight: 600;
  box-shadow: var(--shadow-sm);
}
.pill svg { width: 15px; height: 15px; color: var(--burgundy); }
.hero h1 { font-size: clamp(2.4rem, 5.2vw, 4.2rem); letter-spacing: -.005em; }
.hero h1 em { color: var(--burgundy); font-style: italic; }
.hero__lead { font-size: 1.18rem; color: var(--choc-700); margin: 20px 0 30px; max-width: 36ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__proof { display: flex; align-items: center; gap: 18px; margin-top: 30px; flex-wrap: wrap; }
.hero__stars { display: flex; align-items: center; gap: 10px; font-family: var(--serif); }
.hero__stars strong { font-size: 1.2rem; color: var(--choc-900); }
.hero__proof small { color: var(--muted); }

.hero__art { position: relative; }
.hero__card {
  position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5; background: var(--choc-700); border: 6px solid var(--cream-50);
  outline: 1px solid var(--gold);
}
.hero__float {
  position: absolute; background: var(--cream-50); border-radius: var(--r-md);
  box-shadow: var(--shadow-md); padding: 14px 18px; display: flex; align-items: center; gap: 12px;
  border: 1px solid var(--line);
}
.hero__float--tl { top: 22px; left: -18px; }
.hero__float--br { bottom: 26px; right: -14px; }
.hero__float b { font-family: var(--serif); font-size: 1.15rem; }
.hero__float span { font-size: .78rem; color: var(--muted); display: block; }
.hero__float .ic { width: 40px; height: 40px; border-radius: 10px; background: var(--cream-200); display: grid; place-items: center; color: var(--burgundy); }
.hero__float .ic svg { width: 22px; height: 22px; }

/* ---------- Fudge image placeholders (warm, slightly illustrated) ---------- */
.fudge {
  position: relative; width: 100%; height: 100%;
  background:
    radial-gradient(120% 90% at 26% 16%, rgba(255,244,224,0.34), transparent 46%),
    var(--fudge-a, linear-gradient(160deg, #8a5a34, #3a2013));
  box-shadow: inset 0 -34px 60px rgba(42,19,5,0.38), inset 0 0 0 1px rgba(42,19,5,0.12);
}
.fudge::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(118deg, rgba(0,0,0,.05) 0 2px, transparent 2px 15px),
    radial-gradient(circle at 32% 26%, rgba(255,244,224,.20), transparent 32%);
  mix-blend-mode: overlay;
}
.fudge--vanilla   { --fudge-a: linear-gradient(160deg,#f3e2be,#d3ac74); }
.fudge--choc      { --fudge-a: linear-gradient(160deg,#6f4526,#331d10); }
.fudge--caramel   { --fudge-a: linear-gradient(160deg,#d4934a,#8a4f1e); }
.fudge--mint      { --fudge-a: linear-gradient(160deg,#bcd9b7,#3a6b47); }
.fudge--berry     { --fudge-a: linear-gradient(160deg,#c47f83,#7a1b29); }
.fudge--peanut    { --fudge-a: linear-gradient(160deg,#dfb26f,#9c6224); }
.fudge--cookies   { --fudge-a: linear-gradient(160deg,#e6dcc7,#54402f); }
.fudge--rocky     { --fudge-a: linear-gradient(160deg,#563723,#2a1305); }
.fudge--maple     { --fudge-a: linear-gradient(160deg,#d6954a,#8a4a1c); }
.fudge--box       { --fudge-a: linear-gradient(160deg,#8a5730,#402616); }

/* Vintage matted-label frame on imagery */
.card__media, .collection__media, .about__media, .hero__card, .flavor__media { position: relative; }
.card__media::after, .collection__media::after, .about__media::after, .flavor__media::after {
  content: ""; position: absolute; inset: 8px; border: 1.5px solid rgba(253,246,234,0.55);
  border-radius: 8px; pointer-events: none; z-index: 1;
}

/* ---------- Collections (gift box tiers) ---------- */
.collections { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.collection {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  background: var(--cream-50); border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease;
  display: flex; flex-direction: column;
}
.collection:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.collection__media { aspect-ratio: 3/2; }
.collection__tag {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: var(--choc-900); color: var(--cream-50); font-size: .72rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px;
  border: 1px solid rgba(193,150,63,.5);
}
.collection__tag--gold { background: var(--gold); color: var(--choc-900); border-color: rgba(42,19,5,.2); }
.collection__body { padding: 24px 22px 26px; display: flex; flex-direction: column; flex: 1; }
.collection__body h3 { font-size: 1.4rem; }
.collection__price { font-family: var(--serif); font-size: 1.55rem; color: var(--burgundy); font-weight: 700; margin: 6px 0 10px; }
.collection__price span { font-size: .85rem; color: var(--muted); font-family: var(--sans); font-weight: 500; }
.collection__desc { color: var(--muted); font-size: .95rem; flex: 1; }
.collection__list { list-style: none; margin: 14px 0 18px; padding: 0; display: grid; gap: 7px; }
.collection__list li { font-size: .9rem; color: var(--choc-700); display: flex; gap: 9px; align-items: flex-start; }
.collection__list li svg { width: 16px; height: 16px; color: var(--ok); flex: none; margin-top: 3px; }

/* ---------- Product cards ---------- */
.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.card {
  background: var(--cream-50); border: 1px solid var(--line); border-radius: var(--r-md);
  overflow: hidden; display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.card__media { aspect-ratio: 1/1; }
.card__flag {
  position: absolute; top: 12px; left: 12px; z-index: 2; font-size: .68rem; font-weight: 800;
  letter-spacing: .06em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px;
  background: var(--burgundy); color: #fdf3e6; border: 1px solid rgba(193,150,63,.45);
}
.card__flag--fresh { background: var(--ok); }
.card__flag--berry { background: var(--berry); }
.card__body { padding: 16px 16px 18px; display: flex; flex-direction: column; flex: 1; }
.card__rating { display: flex; align-items: center; gap: 6px; margin-bottom: 6px; }
.stars { display: inline-flex; gap: 1px; color: var(--star); }
.stars svg { width: 14px; height: 14px; }
.card__rating small { color: var(--muted); font-size: .78rem; }
.card__name { font-size: 1.12rem; }
.card__benefit { color: var(--muted); font-size: .88rem; margin: 5px 0 10px; flex: 1; }
.card__freshness { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; color: var(--ok); font-weight: 700; margin-bottom: 12px; }
.card__freshness svg { width: 14px; height: 14px; }
.card__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.card__price { font-family: var(--serif); font-size: 1.3rem; font-weight: 700; color: var(--choc-900); }
.card__price small { font-size: .78rem; color: var(--muted); font-weight: 400; font-family: var(--sans); }

/* ---------- Trust signals ---------- */
.trust {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E"),
    linear-gradient(180deg, #34190a, #2a1305);
  color: var(--cream-100);
  border-top: 3px solid var(--gold); border-bottom: 3px solid var(--gold);
}
.trust .eyebrow { color: var(--gold-soft); }
.trust h2 { color: var(--cream-50); }
.trust .section-head h2::after { opacity: .95; }
.trust__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.trust__features { display: grid; gap: 18px; }
.trust__feat { display: flex; gap: 16px; align-items: flex-start; }
.trust__feat .ic { width: 48px; height: 48px; border-radius: 12px; background: rgba(193,150,63,.16); color: var(--gold-soft); display: grid; place-items: center; flex: none; border: 1px solid rgba(193,150,63,.3); }
.trust__feat .ic svg { width: 24px; height: 24px; }
.trust__feat h4 { color: var(--cream-50); font-size: 1.15rem; }
.trust__feat p { color: rgba(243,230,205,.78); font-size: .92rem; margin-top: 3px; }

.reviews { display: grid; gap: 16px; }
.review {
  background: rgba(255,255,255,.05); border: 1px solid rgba(193,150,63,.22);
  border-radius: var(--r-md); padding: 20px 22px;
}
.review__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.review__who { display: flex; align-items: center; gap: 12px; }
.review__avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--burgundy); color: #fdf3e6; display: grid; place-items: center; font-weight: 800; font-family: var(--serif); }
.review__who b { color: var(--cream-50); font-size: .95rem; display: block; }
.review__who small { color: rgba(243,230,205,.6); font-size: .76rem; }
.review p { color: rgba(243,230,205,.9); font-size: .95rem; font-style: italic; }
.review .stars { color: var(--star); }
.grev { display: inline-flex; align-items: center; gap: 8px; color: rgba(243,230,205,.7); font-size: .82rem; margin-top: 4px; }
.grev b { color: var(--cream-50); }

/* ---------- Testimonials (light) ---------- */
.tgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.tcard {
  background: var(--cream-50); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 24px 22px; display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
  position: relative;
}
.tcard::before {
  content: "\201C"; position: absolute; top: 6px; right: 18px;
  font-family: var(--serif); font-size: 3.4rem; color: var(--gold-soft); opacity: .5; line-height: 1;
}
.tcard .stars { color: var(--star); margin-bottom: 12px; }
.tcard__quote { color: var(--choc-800); font-size: .98rem; flex: 1; font-style: italic; }
.tcard__occasion { display: inline-block; align-self: flex-start; margin: 14px 0 16px;
  font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px; background: var(--cream-200); color: var(--burgundy); }
.tcard__who { display: flex; align-items: center; gap: 12px; border-top: 1px solid var(--line); padding-top: 16px; }
.tcard__avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--choc-700); color: var(--cream-50); display: grid; place-items: center; font-weight: 800; flex: none; font-family: var(--serif); }
.tcard__who b { display: block; font-size: .95rem; color: var(--choc-900); }
.tcard__who small { color: var(--muted); font-size: .78rem; }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 52px; align-items: center; }
.about__media { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 4/5; border: 6px solid var(--cream-50); outline: 1px solid var(--gold); }
.about__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about__body h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin-bottom: 6px; }
.about__body p { color: var(--choc-700); margin-top: 16px; font-size: 1.04rem; }
.about__sig { font-family: var(--script); font-style: normal; font-size: 2.2rem; color: var(--burgundy); margin-top: 20px; }
.about__stats { display: flex; gap: 34px; margin-top: 28px; flex-wrap: wrap; }
.about__stat b { font-family: var(--serif); font-size: 2.1rem; color: var(--burgundy); display: block; }
.about__stat span { color: var(--muted); font-size: .86rem; }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.info-card { background: var(--cream-50); border: 1px solid var(--line); border-radius: var(--r-md); padding: 24px; margin-bottom: 18px; box-shadow: var(--shadow-sm); }
.info-card h3 { font-size: 1.25rem; margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.info-card h3 svg { width: 20px; height: 20px; color: var(--burgundy); }
.hours { list-style: none; padding: 0; margin: 0; }
.hours li { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px dashed var(--line); font-size: .95rem; }
.hours li:last-child { border-bottom: none; }
.hours .day { color: var(--choc-700); font-weight: 600; }
.hours .time { color: var(--muted); }
.hours .closed { color: var(--berry); }

.form { background: var(--cream-50); border: 1px solid var(--line); border-radius: var(--r-md); padding: 28px; box-shadow: var(--shadow-sm); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; font-size: .88rem; margin-bottom: 7px; color: var(--choc-700); }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--r-sm);
  font: inherit; background: #fffdf8; color: var(--ink); transition: border-color .15s ease;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--burgundy); }
.field textarea { resize: vertical; min-height: 120px; }
.form__note { font-size: .82rem; color: var(--muted); margin-top: 10px; }
.form__ok { display: none; background: rgba(47,93,67,.12); border: 1px solid var(--ok); color: var(--ok);
  padding: 14px 16px; border-radius: var(--r-sm); font-weight: 600; margin-top: 16px; }
.form__ok.show { display: block; }
.map { border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16/7;
  background: repeating-linear-gradient(45deg, var(--cream-200) 0 20px, var(--cream-100) 20px 40px);
  display: grid; place-items: center; margin-top: 18px; color: var(--muted); text-align: center; }
.map svg { width: 40px; height: 40px; color: var(--burgundy); margin: 0 auto 8px; }

/* ---------- Page banner (interior pages) ---------- */
.banner {
  background:
    radial-gradient(900px 380px at 50% -20%, rgba(193,150,63,.16), transparent 60%),
    linear-gradient(180deg, #f7ecd7, var(--cream-100));
  padding: 60px 0 46px; text-align: center; border-bottom: 1px solid var(--line);
}
.banner h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
.banner h1::after {
  content: ""; display: block; width: 170px; height: 18px; margin: 18px auto 0;
  background: center / contain no-repeat var(--flourish);
}
.banner p { color: var(--muted); margin-top: 6px; max-width: 580px; margin-inline: auto; }
.crumbs { font-size: .82rem; color: var(--muted); margin-bottom: 14px; }
.crumbs a:hover { color: var(--burgundy); }

/* ---------- Flavors grid ---------- */
.flavor-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.flavor {
  background: var(--cream-50); border: 1px solid var(--line); border-radius: var(--r-md);
  overflow: hidden; display: flex; box-shadow: var(--shadow-sm);
}
.flavor__media { width: 120px; flex: none; }
.flavor__body { padding: 16px 18px; }
.flavor__body h3 { font-size: 1.15rem; }
.flavor__body p { color: var(--muted); font-size: .88rem; margin-top: 5px; }
.flavor__tags { display: flex; gap: 6px; margin-top: 10px; flex-wrap: wrap; }
.tag { font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em;
  padding: 3px 9px; border-radius: 999px; background: var(--cream-200); color: var(--choc-700); }
.tag--new { background: var(--burgundy); color: #fdf3e6; }
.tag--vegan { background: rgba(47,93,67,.16); color: var(--ok); }

/* ---------- CTA strip (burgundy ribbon) ---------- */
.cta-strip {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E"),
    linear-gradient(120deg, var(--burgundy), var(--burgundy-dark));
  color: #f7e7cf; text-align: center; border-top: 3px solid var(--gold); border-bottom: 3px solid var(--gold);
}
.cta-strip h2 { color: #fff; font-size: clamp(1.9rem, 3.8vw, 2.7rem); }
.cta-strip h2::after { content: ""; display: block; width: 170px; height: 18px; margin: 16px auto 0; background: center / contain no-repeat var(--flourish); filter: brightness(1.4); }
.cta-strip p { color: rgba(247,231,207,.92); margin: 12px auto 26px; max-width: 540px; }
.cta-strip .btn--dark { background: var(--choc-900); }
.cta-strip .btn--dark:hover { background: #1c0d04; }

/* ---------- Footer ---------- */
.footer {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E"),
    var(--choc-900);
  color: rgba(243,230,205,.8); padding: 60px 0 28px; border-top: 4px solid var(--gold);
}
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 40px; }
.footer h4 { color: var(--gold-soft); font-family: var(--sans); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.footer a:hover { color: var(--gold-soft); }
.footer__brand .brand__name { color: var(--cream-50); font-family: var(--serif); font-size: 1.5rem; font-weight: 700; }
.footer__brand .brand__script { display: block; font-family: var(--script); font-size: 1.5rem; color: var(--gold-soft); line-height: 1; margin-top: 2px; }
.footer__brand p { margin-top: 14px; font-size: .92rem; max-width: 34ch; }
.footer__social { display: flex; gap: 10px; margin-top: 18px; }
.footer__social a { width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,.07); display: grid; place-items: center; color: var(--cream-100); border: 1px solid rgba(193,150,63,.25); }
.footer__social a:hover { background: var(--burgundy); }
.footer__social svg { width: 20px; height: 20px; }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; }
.footer__contact svg { width: 18px; height: 18px; color: var(--gold-soft); flex: none; margin-top: 3px; }
.footer__bar { border-top: 1px solid rgba(193,150,63,.22); padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .82rem; color: rgba(243,230,205,.6); }

/* ---------- Cart drawer ---------- */
.overlay { position: fixed; inset: 0; background: rgba(42,19,5,.55); opacity: 0; visibility: hidden; transition: opacity .25s ease; z-index: 90; }
.overlay.open { opacity: 1; visibility: visible; }
.drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: min(400px, 92vw);
  background: var(--cream-50); z-index: 100; transform: translateX(100%);
  transition: transform .3s cubic-bezier(.4,0,.2,1); display: flex; flex-direction: column;
  box-shadow: var(--shadow-lg); border-left: 4px solid var(--gold);
}
.drawer.open { transform: translateX(0); }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.drawer__head h3 { font-size: 1.3rem; }
.drawer__close { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; color: var(--choc-700); }
.drawer__close:hover { background: var(--cream-200); }
.drawer__body { flex: 1; overflow-y: auto; padding: 18px 22px; }
.drawer__empty { text-align: center; color: var(--muted); padding: 40px 0; }
.drawer__empty svg { width: 54px; height: 54px; color: var(--cream-300); margin: 0 auto 14px; }
.line-item { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.line-item__media { width: 60px; height: 60px; border-radius: 10px; overflow: hidden; flex: none; }
.line-item__info { flex: 1; }
.line-item__info b { font-size: .95rem; display: block; }
.line-item__info small { color: var(--muted); }
.line-item__qty { display: flex; align-items: center; gap: 10px; margin-top: 6px; }
.line-item__qty button { width: 26px; height: 26px; border-radius: 7px; background: var(--cream-200); display: grid; place-items: center; font-weight: 800; color: var(--choc-700); }
.line-item__qty button:hover { background: var(--cream-300); }
.line-item__price { font-weight: 700; font-family: var(--serif); }
.drawer__foot { padding: 20px 22px; border-top: 1px solid var(--line); }
.drawer__total { display: flex; justify-content: space-between; font-size: 1.2rem; margin-bottom: 16px; }
.drawer__total b { font-family: var(--serif); }

/* ---------- Toast ---------- */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 120%);
  background: var(--choc-900); color: var(--cream-50); padding: 14px 22px; border-radius: 999px;
  box-shadow: var(--shadow-lg); z-index: 120; font-weight: 600; font-size: .92rem;
  transition: transform .35s cubic-bezier(.4,0,.2,1); display: flex; align-items: center; gap: 10px;
  border: 1px solid rgba(193,150,63,.35);
}
.toast.show { transform: translate(-50%, 0); }
.toast svg { width: 20px; height: 20px; color: var(--gold-soft); }

/* =============================================================
   Responsive
   ============================================================= */
@media (max-width: 1024px) {
  .products { grid-template-columns: repeat(2, 1fr); }
  .flavor-grid { grid-template-columns: repeat(2, 1fr); }
  .tgrid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 860px) {
  .nav__links, .nav__actions .cart-label { display: none; }
  .nav__toggle { display: flex; }
  .brand__logo { height: 46px; }
  .nav__links.open {
    display: flex; flex-direction: column; align-items: stretch; gap: 4px;
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    background: var(--cream-50); border-bottom: 1px solid var(--line);
    padding: 12px 16px 20px; box-shadow: var(--shadow-md);
  }
  .nav__links.open a { padding: 12px 14px; }

  .hero__grid { grid-template-columns: 1fr; gap: 36px; padding: 48px 0 60px; }
  .hero__lead { max-width: none; }
  .hero__art { max-width: 420px; margin: 0 auto; width: 100%; }

  .collections { grid-template-columns: 1fr; }
  .trust__grid, .about__grid, .contact__grid { grid-template-columns: 1fr; gap: 34px; }
  .about__media { max-width: 380px; }
  .section { padding: 56px 0; }
}

@media (max-width: 560px) {
  .products, .flavor-grid, .tgrid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__float--tl { left: 0; }
  .hero__float--br { right: 0; }
  .flavor { flex-direction: column; }
  .flavor__media { width: 100%; aspect-ratio: 16/9; }
  .container { padding: 0 18px; }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
:focus-visible { outline: 3px solid var(--burgundy); outline-offset: 2px; border-radius: 4px; }
