/* ==========================================================
   AFA Pastry – style.css  (mobile-first)
   ========================================================== */

/* ---------- Design tokens (edit colors / fonts here) ---------- */
:root {
  --charcoal: #2A1A10;
  --gold: #C89C6B;
  --linen: #F3E9DA;
  --beige: #E8D6BD;
  --ink: #3A2414;
  --muted: #8A6A4E;

  --serif: "Lora", Georgia, serif;
  --sans: "Poppins", system-ui, sans-serif;

  --gutter: 20px;
  --max: 1440px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 20px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--linen);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; }
em { font-style: italic; }
:focus-visible { outline: 1px solid var(--gold); outline-offset: 4px; }
[hidden] { display: none !important; }

.container { max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }

/* Small uppercase letter-spaced label */
.label {
  display: block;
  font-size: 10px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 300;
}
.label--gold, .gold { color: var(--gold); }
.muted-serif { color: var(--muted); }

/* Outline gold button */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 10px;
  letter-spacing: .3em;
  text-transform: uppercase;
  font-weight: 400;
  transition: background .4s ease, color .4s ease;
}
.btn:hover { background: var(--gold); color: var(--charcoal); }

/* Underlined text link */
.link {
  display: inline-block;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--ink);
  font-size: 10px;
  letter-spacing: .25em;
  text-transform: uppercase;
  font-weight: 400;
  transition: color .3s ease, border-color .3s ease;
}
.link:hover { color: var(--muted); border-color: var(--muted); }

/* Gentle image hover zoom (desktop only, see media query below) */
.zoom { overflow: hidden; }
.zoom img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }

/* Fade-in on scroll (only active when JS is running) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 1s ease, transform 1s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ==========================================================
   HERO
   ========================================================== */
.hero {
  position: relative;
  background:
    radial-gradient(ellipse 70% 55% at 75% 40%, rgba(160, 100, 50, .25), transparent 70%),
    var(--charcoal);
  color: var(--linen);
  padding-bottom: 56px;
}

.header {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px var(--gutter);
  max-width: var(--max);
  margin: 0 auto;
}
.logo { display: block; line-height: 0; }
.logo img { height: 52px; width: auto; }
.nav { display: none; }
.nav a {
  font-size: 9.5px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--linen);
  font-weight: 400;
  transition: color .3s ease;
}
.nav a:hover { color: var(--gold); }
.nav a.is-active, .nav a.gold { color: var(--gold); }

/* Hamburger */
.burger {
  width: 32px; height: 20px;
  background: none; border: 0; padding: 0;
  display: flex; flex-direction: column; align-items: flex-end; justify-content: center; gap: 7px;
  cursor: pointer;
}
.burger span { display: block; height: 1px; background: var(--linen); transition: transform .3s ease, width .3s ease; }
.burger span:first-child { width: 22px; }
.burger span:last-child { width: 14px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); width: 22px; }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); width: 22px; }

/* Mobile menu overlay */
.mobile-menu {
  position: fixed; inset: 0; z-index: 10;
  background: var(--charcoal);
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 26px;
}
.mobile-menu a {
  font-family: var(--serif);
  font-size: 28px;
  color: var(--linen);
}
.mobile-menu a.gold { color: var(--gold); }

.hero__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 36px var(--gutter) 0;
  display: grid;
  gap: 40px;
}
.hero h1 {
  font-size: clamp(44px, 12vw, 56px);
  line-height: 1.1;
  margin: 18px 0 20px;
}
.hero h1 em { color: var(--gold); }
.hero__lead {
  max-width: 330px;
  font-size: 13px;
  color: rgba(243, 233, 218, .75);
  margin-bottom: 30px;
}
.hero__img { aspect-ratio: 280 / 337; }
.hero__figure figcaption { padding-top: 14px; }
.caption-serif {
  display: block;
  margin-top: 4px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--linen);
}

/* ==========================================================
   SECTIONS (light)
   ========================================================== */
.section { padding: 72px 0; }

/* Collection */
.section__head { margin-bottom: 36px; }
.section h2 { font-size: clamp(34px, 9vw, 58px); line-height: 1.15; }
.note { margin-top: 14px; font-size: 12px; color: var(--muted); max-width: 340px; }

.cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 14px;
  align-items: start;
}
.card .zoom { margin-bottom: 14px; }
.card--1 .zoom, .card--3 .zoom { aspect-ratio: 281 / 336; }
.card--2 .zoom { aspect-ratio: 280 / 317; }
.card--4 .zoom { aspect-ratio: 281 / 330; }
.card--2, .card--4 { margin-top: 26px; }
.card h3 { font-size: 17px; margin: 6px 0 2px; }
.card p { font-size: 11px; color: var(--muted); line-height: 1.5; }

/* Crepe */
.crepe { padding-top: 24px; }
.crepe__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.crepe__img--a { aspect-ratio: 281 / 320; }
.crepe__img--b { aspect-ratio: 281 / 300; margin-top: 40px; }
.crepe__text { grid-column: 1 / -1; grid-row: 2; padding-top: 34px; }
.crepe h2 { margin: 12px 0 14px; }
.crepe__p { font-size: 12px; color: var(--muted); max-width: 340px; margin-bottom: 22px; }

/* Steps */
.steps { padding: 24px 0 80px; }
.steps__list { border-bottom: 1px solid rgba(138, 106, 78, .4); }
.steps__list li {
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: baseline;
  padding: 20px 0;
  border-top: 1px solid rgba(138, 106, 78, .4);
}
.steps__list p { font-size: 13px; font-weight: 300; }

/* ==========================================================
   CTA + FOOTER (dark)
   ========================================================== */
.cta {
  background: var(--charcoal);
  color: var(--linen);
  text-align: center;
  padding: 96px var(--gutter) 88px;
}
.cta h2 { font-size: clamp(32px, 8.5vw, 52px); line-height: 1.2; }
.cta h2 em { color: var(--gold); }
.cta p { margin: 22px 0 36px; font-size: 12px; color: rgba(243, 233, 218, .75); }

.footer {
  background: var(--charcoal);
  color: var(--muted);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 26px var(--gutter) 90px; /* extra bottom space for sticky button on mobile */
  font-size: 9px;
  letter-spacing: .22em;
  text-transform: uppercase;
  border-top: 1px solid rgba(138, 106, 78, .15);
}

/* Sticky WhatsApp button (mobile) */
.wa-sticky {
  position: fixed; right: 18px; bottom: 18px; z-index: 30;
  width: 58px; height: 58px;
  display: flex; align-items: center; justify-content: center;
  background: #25D366;
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .28);
  transition: transform .3s ease;
}
.wa-sticky:hover { transform: scale(1.08); }
body.menu-open .wa-sticky { display: none; }

/* ==========================================================
   DESKTOP (>= 900px)
   ========================================================== */
@media (min-width: 900px) {
  :root { --gutter: clamp(40px, 4.9vw, 70px); }

  .burger, .mobile-menu { display: none !important; }
  .wa-sticky { right: 28px; bottom: 28px; }
  .footer { padding-bottom: 28px; }

  .header { width: 100%; display: grid; grid-template-columns: 1fr auto 1fr; padding-top: 48px; }
  .logo { justify-self: center; }
  .logo img { height: 78px; }
  .nav { display: flex; gap: clamp(20px, 2.6vw, 38px); }
  .nav--right { justify-content: flex-end; }

  .hero { padding-bottom: 0; min-height: min(820px, 100vh); min-height: max(640px, min(820px, 100vh)); display: flex; flex-direction: column; }
  .hero__inner {
    flex: 1;
    width: 100%;
    grid-template-columns: 1fr auto;
    align-items: end;
    padding-top: 0;
    margin-top: -40px;
    padding-bottom: 56px;
  }
  .hero__text { padding-bottom: 60px; }
  .hero__img { aspect-ratio: 430 / 600; }
  .hero h1 { font-size: clamp(60px, 5.6vw, 82px); margin: 22px 0 28px; }
  .hero__lead { font-size: 12px; max-width: 320px; margin-bottom: 36px; }
  .hero__figure { width: clamp(300px, 30vw, 430px); }
  .hero__figure figcaption { text-align: right; }
  .caption-serif { font-size: 15px; }

  .section { padding: 110px 0; }
  .section__head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 64px; }
  .note { margin: 0; text-align: left; max-width: 250px; font-size: 11px; }

  .cards { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .card--2 { margin-top: 56px; }
  .card--4 { margin-top: 32px; }
  .card--1 .zoom, .card--3 .zoom { aspect-ratio: 186 / 264; }
  .card--2 .zoom { aspect-ratio: 186 / 246; }
  .card--4 .zoom { aspect-ratio: 186 / 233; }
  .card h3 { font-size: 19px; }

  .crepe { padding-top: 40px; }
  .crepe__grid { grid-template-columns: 1fr 1fr 1fr; gap: 24px; align-items: center; }
  .crepe__text { grid-column: auto; grid-row: auto; padding: 0 16px; }
  .crepe__img--a { aspect-ratio: 1 / 1; }
  .crepe__img--b { aspect-ratio: 250 / 246; margin-top: 90px; }
  .crepe__p { font-size: 11px; max-width: 280px; }

  .steps { padding: 20px 0 130px; }
  .steps__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; border-bottom: 0; }
  .steps__list li { display: block; padding: 22px 0 0; }
  .steps__list p { margin-top: 14px; font-size: 12px; }

  .cta { padding: 130px var(--gutter) 130px; }
  .cta p { font-size: 11px; }

  .footer { flex-direction: row; justify-content: space-between; padding: 26px var(--gutter) 28px; max-width: none; }
}

/* Hover zoom only where a real hover exists and motion is allowed */
@media (hover: hover) and (min-width: 900px) and (prefers-reduced-motion: no-preference) {
  .zoom:hover img { transform: scale(1.05); }
}

/* ==========================================================
   MULTI-PAGE ADDITIONS
   ========================================================== */
@keyframes pagein { from { opacity: 0; } to { opacity: 1; } }
body { animation: pagein .7s ease both; }

/* Inner page title block (inside dark .hero) */
.hero--page { padding-bottom: 0; }
.page-title { max-width: var(--max); margin: 0 auto; padding: 40px var(--gutter) 64px; }
.page-title h1 { font-size: clamp(44px, 12vw, 80px); line-height: 1.08; margin: 16px 0 18px; }
.page-title h1 em { color: var(--gold); }
.page-title p.lead { max-width: 420px; font-size: 13px; color: rgba(243, 233, 218, .75); }

/* Home: three entry tiles */
.tiles { display: grid; gap: 14px; }
.tile { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 3.4; background: var(--charcoal); }
.tile img { width: 100%; height: 100%; object-fit: cover; opacity: .82; transition: transform 1.2s ease, opacity .6s ease; }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(42,26,16,.82), transparent 60%); }
.tile__text { position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 1; color: var(--linen); }
.tile__text h3 { font-size: 26px; margin: 6px 0 8px; }
.tile__text .arrow { font-size: 10px; letter-spacing: .25em; text-transform: uppercase; color: var(--gold); transition: letter-spacing .4s ease; }
.tile:hover .arrow { letter-spacing: .4em; }
.tile:hover img { opacity: 1; }

/* Story page */
.story { display: grid; gap: 40px; }
.story__img { aspect-ratio: 281 / 337; }
.story h2 { margin: 12px 0 18px; }
.story p.body { font-size: 13px; color: var(--muted); margin-bottom: 14px; max-width: 460px; }
.values { display: grid; gap: 0; margin-top: 56px; border-top: 1px solid rgba(138,106,78,.4); }
.values li { padding: 22px 0; border-bottom: 1px solid rgba(138,106,78,.4); }
.values h3 { font-size: 22px; margin: 6px 0 6px; }
.values p { font-size: 12px; color: var(--muted); max-width: 420px; }

/* Contact page */
.contact { display: grid; gap: 14px; margin-top: 8px; }
.contact a, .contact div { display: block; padding: 26px 24px; border: 1px solid rgba(138,106,78,.4); transition: background .4s ease, color .4s ease; }
.contact a:hover { background: var(--charcoal); color: var(--linen); }
.contact h3 { font-size: 22px; margin: 8px 0 4px; }
.contact p { font-size: 12px; color: var(--muted); }
.contact a:hover p { color: rgba(243,233,218,.7); }
.sec-title { font-size: clamp(30px, 8vw, 46px); margin-bottom: 28px; }

@media (min-width: 900px) {
  .hero--page { min-height: 0; display: block; }
  .page-title { padding: 70px var(--gutter) 100px; }
  .page-title p.lead { font-size: 12px; }
  .tiles { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .tile { aspect-ratio: 3 / 4; }
  .tile__text h3 { font-size: 30px; }
  .story { grid-template-columns: 5fr 6fr; gap: 90px; align-items: center; }
  .story__img { max-width: 440px; }
  .values { grid-template-columns: repeat(3, 1fr); gap: 40px; border-top: 0; margin-top: 90px; }
  .values li { border-top: 1px solid rgba(138,106,78,.4); border-bottom: 0; padding: 26px 0 0; }
  .contact { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .section--tight { padding-top: 90px; }
}
@media (hover: hover) and (min-width: 900px) and (prefers-reduced-motion: no-preference) {
  .tile:hover img { transform: scale(1.05); }
}

/* Ribbon marquee + manifesto */
.ribbon { background: var(--gold); color: var(--charcoal); overflow: hidden; white-space: nowrap; padding: 13px 0; }
.ribbon__track { display: inline-flex; animation: ribbon 40s linear infinite; }
.ribbon__set { display: inline-flex; gap: 28px; padding-right: 28px; flex-shrink: 0; }
.ribbon span { font-family: var(--serif); font-style: italic; font-size: 17px; }
.ribbon i { font-style: normal; font-size: 10px; align-self: center; }
@keyframes ribbon { to { transform: translateX(-50%); } }
.manifesto { text-align: center; padding-bottom: 24px; }
.manifesto .container { max-width: 900px; }
.manifesto__text { font-family: var(--serif); font-size: clamp(26px, 7vw, 46px); line-height: 1.3; margin: 22px 0 20px; }
.manifesto__text em { color: var(--muted); }
.manifesto__sub { font-size: 12px; color: var(--muted); }

/* Full-screen hero (home) */
.hero:not(.hero--page) { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; padding-bottom: 0; background: var(--charcoal); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 45% 62%; }
.hero__bg::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(42,26,16,.92) 0%, rgba(42,26,16,.7) 50%, rgba(42,26,16,.4) 100%); }
.hero:not(.hero--page) .hero__inner { position: relative; z-index: 2; flex: 1; display: flex; align-items: flex-end; width: 100%; margin: 0 auto; padding: 0 var(--gutter) 64px; }
.hero:not(.hero--page) .hero__text { padding: 0; }
.hero:not(.hero--page) .hero__lead { color: rgba(243,233,218,.88); max-width: 360px; }
.btn--solid { background: var(--gold); color: var(--charcoal); }
.btn--solid:hover { background: transparent; color: var(--gold); }
@media (min-width: 900px) {
  .hero:not(.hero--page) { min-height: 100vh; min-height: 100svh; }
  .hero__bg::after { background: linear-gradient(to right, rgba(42,26,16,.85) 0%, rgba(42,26,16,.45) 50%, rgba(42,26,16,.15) 100%), linear-gradient(to top, rgba(42,26,16,.6), transparent 40%); }
  .hero__bg img { object-position: 50% 40%; }
  .hero:not(.hero--page) .hero__inner { padding-bottom: 90px; margin-top: 0; }
  .hero:not(.hero--page) .hero__lead { font-size: 13px; max-width: 400px; }
}

/* Collection: single crepe photo (full cake) */
.crepe__grid--single { grid-template-columns: 1fr; gap: 28px; }
.crepe__grid--single .crepe__img--solo { aspect-ratio: 281 / 337; margin-top: 0; order: -1; max-width: 420px; }
.crepe__grid--single .crepe__text { grid-column: auto; grid-row: auto; padding: 0; }
@media (min-width: 900px) {
  .crepe__grid--single { grid-template-columns: 5fr 6fr; gap: 90px; }
  .crepe__grid--single .crepe__img--solo { order: 0; margin-top: 0; width: 100%; }
  .crepe__grid--single .crepe__text { padding: 0; }
  .crepe__grid--single .crepe__p { font-size: 13px; max-width: 420px; }
}

/* ---------- Sticky header ---------- */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 40; width: 100%; max-width: none; margin: 0;
  padding: 14px var(--gutter); transition: background .4s ease, padding .4s ease, box-shadow .4s ease; }
.header.is-scrolled { background: rgba(42,26,16,.9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); padding-top: 8px; padding-bottom: 8px; box-shadow: 0 1px 0 rgba(200,156,107,.18); }
.logo img { height: 60px; width: 60px; border-radius: 50%; transition: height .4s ease, width .4s ease; }
.header.is-scrolled .logo img { height: 46px; width: 46px; }
.hero--page { padding-top: 84px; }
.hero__cake { display: none; }
@media (min-width: 900px) {
  .header { display: grid; padding: 26px var(--gutter); }
  .header.is-scrolled { padding-top: 10px; padding-bottom: 10px; }
  .logo img { height: 92px; width: 92px; }
  .header.is-scrolled .logo img { height: 56px; width: 56px; }
  .hero--page { padding-top: 130px; }
  .page-title { padding-top: 40px; }

  /* Hero: blurred full-bleed backdrop + the whole cake shown sharp on the right */
  .hero__bgimg { filter: blur(30px) brightness(.6) saturate(1.1); transform: scale(1.2); }
  .hero__cake { display: block; position: absolute; top: 0; right: 7%; height: 100%; width: auto; max-width: 62%; object-fit: cover; object-position: 50% 40%;
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 22%, #000 78%, transparent 100%);
            mask-image: linear-gradient(to right, transparent 0, #000 22%, #000 78%, transparent 100%); }
}

/* ---------- Collection grid (6 desserts) ---------- */
.cards .card .zoom { aspect-ratio: 4 / 5; }
.cards .card:nth-child(even) { margin-top: 26px; }
.card h3 { font-size: 18px; }
.card p { font-size: 12px; }
.add-btn { margin-top: 14px; width: 100%; padding: 12px 10px; background: transparent; border: 1px solid var(--ink); color: var(--ink);
  font: 400 10px var(--sans); letter-spacing: .22em; text-transform: uppercase; cursor: pointer; transition: background .3s ease, color .3s ease, border-color .3s ease; }
.add-btn:hover { background: var(--ink); color: var(--linen); }
.add-btn.is-added { background: var(--gold); border-color: var(--gold); color: var(--charcoal); }
@media (min-width: 900px) {
  .cards { grid-template-columns: repeat(3, 1fr); gap: 56px 28px; }
  .cards .card:nth-child(even) { margin-top: 0; }
  .cards .card:nth-child(3n+2) { margin-top: 56px; }
  .card h3 { font-size: 22px; }
  .card p { font-size: 12px; max-width: 360px; }
}

/* ---------- Cart ---------- */
.cart-btn { position: relative; background: none; border: 0; padding: 0; color: var(--linen); cursor: pointer; font: inherit; }
.cart-btn--icon { order: 2; margin-left: auto; margin-right: 18px; display: flex; align-items: center; }
.header .burger { order: 3; }
.cart-btn--nav { display: none; font-size: 9.5px; letter-spacing: .24em; text-transform: uppercase; font-weight: 400; transition: color .3s ease; }
.cart-btn--nav:hover { color: var(--gold); }
.cart-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px;
  background: var(--gold); color: var(--charcoal); font-size: 10px; letter-spacing: 0; font-weight: 400; }
.cart-btn--icon .cart-badge { position: absolute; top: -8px; right: -10px; }
.cart-btn--nav .cart-badge { margin-left: 4px; }
.cart-btn.bump { animation: bump .45s ease; }
@keyframes bump { 40% { transform: scale(1.25); } }

.cart-overlay { position: fixed; inset: 0; z-index: 60; background: rgba(42,26,16,.55); opacity: 0; transition: opacity .3s ease; }
.cart-drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 61; width: min(100%, 420px); background: var(--linen); color: var(--ink);
  display: flex; flex-direction: column; padding: 24px 22px; transform: translateX(100%); transition: transform .3s ease; overflow-y: auto; }
body.cart-open .cart-overlay { opacity: 1; }
body.cart-open .cart-drawer { transform: none; }
body.cart-open { overflow: hidden; }
.cart-drawer__head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 16px; border-bottom: 1px solid rgba(138,106,78,.4); }
.cart-drawer__head h2 { font-size: 26px; }
.cart-close { background: none; border: 0; font-size: 30px; line-height: 1; color: var(--ink); cursor: pointer; padding: 0 4px; }
.cart-list { flex: 0 0 auto; }
.cart-list li { display: grid; grid-template-columns: 1fr auto auto; gap: 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid rgba(138,106,78,.25); }
.cart-name { font-family: var(--serif); font-size: 17px; line-height: 1.3; }
.cart-qty { display: inline-flex; align-items: center; gap: 10px; }
.cart-qty button { width: 28px; height: 28px; border: 1px solid var(--ink); background: none; color: var(--ink); cursor: pointer; font-size: 16px; line-height: 1; }
.cart-qty button:hover { background: var(--ink); color: var(--linen); }
.cart-qty b { min-width: 18px; text-align: center; font-weight: 400; font-size: 14px; }
.cart-remove { background: none; border: 0; color: var(--muted); font-size: 22px; cursor: pointer; line-height: 1; }
.cart-empty { margin: 36px 0; color: var(--muted); font-size: 13px; text-align: center; }
.cart-foot { margin-top: auto; padding-top: 24px; display: grid; gap: 14px; text-align: center; }
.cart-send { text-align: center; padding: 16px 20px; }
.cart-clear { background: none; border: 0; color: var(--muted); font: 300 11px var(--sans); letter-spacing: .15em; text-transform: uppercase; cursor: pointer; text-decoration: underline; }
@media (min-width: 900px) {
  .cart-btn--icon { display: none; }
  .cart-btn--nav { display: inline-block; }
}

/* Mobile: desserts with long descriptions span the full width; no stagger */
@media (max-width: 899px) {
  .cards .card:nth-child(even) { margin-top: 0; }
  .card--wide { grid-column: 1 / -1; }
  .cards .card--wide .zoom { aspect-ratio: 1 / 1; }
}

/* ---------- Prices, sizes, custom dessert, reviews ---------- */
.card__buy { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 14px; }
.price { font-family: var(--serif); font-size: 20px; color: var(--ink); }
.fixed-size { font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.size-select, .custom__form select, .custom__form input, .custom__form textarea, .cart-info input[type="date"], .cart-info input[type="text"], .cart-info textarea, .cart-wish {
  font: 300 13px var(--sans); color: inherit; background: transparent; border: 0; border-bottom: 1px solid rgba(138,106,78,.55); border-radius: 0; padding: 8px 2px; width: 100%; }
.size-select { width: auto; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; padding: 6px 2px; cursor: pointer; }
.size-select option, .custom__form option { color: #2A1A10; background: #F3E9DA; }
.cards .zoom { cursor: zoom-in; }
.lead-link { display: inline-block; margin-top: 10px; color: var(--gold); border-bottom: 1px solid var(--gold); }

.custom { background: var(--charcoal); color: var(--linen); padding: 80px 0; }
.custom__inner { display: grid; gap: 36px; }
.custom h2 { font-size: clamp(32px, 8.5vw, 52px); line-height: 1.2; margin: 14px 0 18px; }
.custom h2 em { color: var(--gold); }
.custom__text p:not(.label) { font-size: 13px; color: rgba(243,233,218,.8); max-width: 440px; }
.custom__form { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; align-content: start; }
.custom__form label { display: grid; gap: 4px; font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.custom__form input, .custom__form textarea, .custom__form select { color: var(--linen); border-bottom-color: rgba(200,156,107,.55); font-size: 14px; letter-spacing: 0; text-transform: none; }
.custom__form input::placeholder, .custom__form textarea::placeholder { color: rgba(243,233,218,.45); }
.custom__form .wide { grid-column: 1 / -1; }
.custom__form .btn { cursor: pointer; text-align: center; }
.steps__list--3 { }
.sec-title { font-size: clamp(30px, 8vw, 46px); margin-bottom: 28px; }

.reviews__track { scrollbar-width: none; display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
.reviews__track::-webkit-scrollbar { display: none; }
.review { flex: 0 0 min(86%, 420px); scroll-snap-align: start; margin: 0; padding: 32px 28px; background: var(--charcoal); color: var(--linen); border: 1px solid rgba(200,156,107,.35); }
.review p { font-family: var(--serif); font-style: italic; font-size: 19px; line-height: 1.5; }
.review footer { margin-top: 18px; font-size: 10px; letter-spacing: .25em; text-transform: uppercase; color: var(--gold); }

@media (min-width: 900px) {
  .custom { padding: 120px 0; }
  .custom__inner { grid-template-columns: 5fr 6fr; gap: 90px; align-items: center; }
  .steps__list--3 { grid-template-columns: repeat(3, 1fr); }
  .review { flex-basis: 380px; }
}

/* ---------- Cart drawer details ---------- */
.cart-row { display: grid; grid-template-columns: 1fr auto auto; gap: 14px; align-items: center; }
.cart-list li { display: block; padding: 16px 0; }
.cart-name small { display: block; font-family: var(--sans); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-top: 2px; }
.cart-price { margin-top: 6px; font-size: 13px; color: var(--muted); }
.cart-wish { margin-top: 8px; font-size: 12px; }
.cart-custom { margin-top: 8px; font-size: 12px; color: var(--muted); line-height: 1.6; }
.cart-info { display: grid; gap: 14px; text-align: left; }
.cart-info label, .cart-info legend { display: grid; gap: 2px; font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.cart-info fieldset { border: 0; padding: 0; margin: 0; display: flex; gap: 22px; flex-wrap: wrap; }
.cart-info legend { padding: 0; margin-bottom: 6px; width: 100%; }
.cart-info .radio { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; letter-spacing: .08em; text-transform: none; color: var(--ink); cursor: pointer; }
.cart-info .radio input { width: auto; accent-color: var(--ink); }
.cart-info textarea { resize: vertical; }
.cart-total { font-family: var(--serif); font-size: 22px; text-align: left; margin-top: 4px; }
.cart-total small { display: block; font-family: var(--sans); font-size: 11px; color: var(--muted); }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 80; background: rgba(42,26,16,.94); display: flex; align-items: center; justify-content: center; padding: 20px; opacity: 0; transition: opacity .25s ease; cursor: zoom-out; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; box-shadow: 0 10px 50px rgba(0,0,0,.5); }
.lightbox__close { position: absolute; top: 16px; right: 20px; background: none; border: 0; color: var(--linen); font-size: 38px; line-height: 1; cursor: pointer; }
body.lightbox-open .lightbox { opacity: 1; }
body.lightbox-open { overflow: hidden; }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
