/* ==========================================================================
   Helen Kandy Bakery — styles
   ========================================================================== */
/* Brand colors from Helen's business card: tomato red on white */
:root {
  --cream: #ffffff;
  --paper: #ffffff;
  --oat: #fdf1ef;
  --butter: #fde2de;
  --cocoa: #2a1513;
  --cocoa-soft: #5e4542;
  --muted: #8f7471;
  --berry: #d9261c;
  --berry-dark: #b51d14;
  --sage: #6f8467;
  --line: #f2dfdc;
  --shadow: 0 10px 30px rgba(120, 20, 14, 0.08);
  --radius: 18px;
  --radius-sm: 10px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "DM Sans", system-ui, -apple-system, Segoe UI, sans-serif;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--cocoa);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; font-variation-settings: "SOFT" 100; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4.4rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--oat { background: var(--oat); }
.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--berry); margin-bottom: 14px;
}
.lede { font-size: 1.15rem; color: var(--cocoa-soft); max-width: 58ch; }
.center { text-align: center; }
.center .lede { margin-inline: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 999; background: var(--paper); padding: 8px 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px; border: 2px solid var(--berry);
  background: var(--berry); color: #fff; font-weight: 700; text-decoration: none;
  cursor: pointer; transition: transform .15s ease, background .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-1px); background: var(--berry-dark); border-color: var(--berry-dark); }
.btn--ghost { background: transparent; color: var(--berry); }
.btn--ghost:hover { color: #fff; background: var(--berry); border-color: var(--berry); }
.btn:focus-visible, .chip:focus-visible, .card:focus-visible { outline: 3px solid var(--cocoa); outline-offset: 3px; }
.btn--berry { background: var(--berry); border-color: var(--berry); }
.btn--berry:hover { background: var(--berry-dark); border-color: var(--berry-dark); }
.btn--sm { padding: 9px 16px; font-size: .9rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }

/* ---------- Preview ribbon ---------- */
.preview-ribbon {
  background: var(--butter); color: var(--cocoa); text-align: center;
  font-size: .85rem; padding: 7px 16px; font-weight: 500;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 16px; }
.logo { font-family: var(--font-display); text-decoration: none; display: flex; align-items: center; gap: 10px; color: var(--berry); line-height: 1; }
.logo-icon { width: 34px; height: 40px; flex: none; }
.logo-text { display: grid; justify-items: center; gap: 3px; }
.logo-name { font-size: 1.6rem; font-weight: 800; font-variation-settings: "SOFT" 100, "WONK" 1; letter-spacing: -0.01em; white-space: nowrap; }
.logo-sub { font-size: .62rem; font-weight: 800; letter-spacing: .38em; margin-right: -.38em; text-transform: uppercase; }
.logo-mark {
  width: 38px; height: 38px; border-radius: 50%; background: var(--berry); color: var(--cream);
  display: grid; place-items: center; font-size: .8rem; font-weight: 700; letter-spacing: .04em;
}
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { text-decoration: none; font-weight: 500; color: var(--cocoa-soft); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--berry); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.cart-btn {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 999px; background: var(--berry); color: #fff;
  border: 0; font-weight: 700; cursor: pointer;
}
.cart-count {
  min-width: 22px; height: 22px; border-radius: 999px; background: #fff; color: var(--berry); font-weight: 800;
  font-size: .75rem; display: grid; place-items: center; padding: 0 6px;
}
.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--cocoa); margin: 5px 0; border-radius: 2px; }

@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .nav {
    position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line); display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 16px; width: 100%; text-align: center; border-top: 1px solid var(--line); }
  .cart-btn .cart-label { display: none; }
}
@media (max-width: 480px) {
  .site-header .logo { gap: 8px; }
  .site-header .logo-name { font-size: 1.25rem; }
  .site-header .logo-icon { width: 28px; height: 33px; }
  .site-header .logo-sub { font-size: .52rem; }
  .cart-btn { padding: 9px 14px; }
}
@media (max-width: 400px) {
  .site-header .logo-name { font-size: 1.1rem; }
  .header-actions { gap: 4px; }
}

/* ---------- Image placeholders ---------- */
.ph {
  position: relative; overflow: hidden; background:
    radial-gradient(circle at 30% 30%, rgba(253,226,222,.95), transparent 55%),
    radial-gradient(circle at 75% 70%, rgba(217,38,28,.16), transparent 50%),
    var(--oat);
  display: grid; place-items: center; color: var(--muted); text-align: center;
}
.ph::after {
  content: attr(data-label); font-size: .8rem; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; padding: 6px 12px; border: 1px dashed var(--muted); border-radius: 999px;
  background: rgba(255,253,249,.7); max-width: 80%;
}
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph.has-img::after { display: none; }

/* ---------- Hero ---------- */
.hero { padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 8vw, 100px); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 em { font-style: italic; color: var(--berry); }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero-meta { display: flex; gap: 28px; margin-top: 36px; flex-wrap: wrap; color: var(--cocoa-soft); font-size: .95rem; }
.hero-meta strong { display: block; font-family: var(--font-display); font-size: 1.5rem; color: var(--cocoa); }
.hero-art { position: relative; }
.hero-art .ph { aspect-ratio: 4/5; border-radius: 200px 200px var(--radius) var(--radius); box-shadow: var(--shadow); }
.hero-badge {
  position: absolute; bottom: 24px; left: -24px; background: var(--paper); border-radius: var(--radius);
  padding: 14px 18px; box-shadow: var(--shadow); display: flex; gap: 12px; align-items: center; max-width: 260px;
}
.hero-badge .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--sage); flex: none; }
.hero-badge small { display: block; color: var(--muted); }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-badge { left: 12px; }
}

/* ---------- Scroll banner (mango) ---------- */
/* Background matches the grey studio backdrop in the video */
.scrolly { --studio: #e4e0e0; --studio-edge: #d4d0d0; position: relative; height: 320vh; background: var(--studio-edge); }
.scrolly-sticky {
  position: sticky; top: 76px; height: calc(100vh - 76px); overflow: hidden;
  background: radial-gradient(ellipse at 50% 45%, #ece8e8 0%, var(--studio) 45%, var(--studio-edge) 100%);
  display: grid; align-items: center;
}
.scrolly-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
/* Soft fade behind the text so the mango never fights the headline */
.scrolly-sticky::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(228, 224, 224, .92) 0%, rgba(228, 224, 224, .7) 28%, rgba(228, 224, 224, 0) 46%);
}
.scrolly-copy { position: relative; z-index: 2; width: min(var(--wrap), 100% - 32px); }
.scrolly-copy > * { max-width: 340px; }
.scrolly-copy h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); }
.scrolly-copy h2 em { color: var(--berry); }
.scrolly-layers { list-style: none; padding: 0; margin: 20px 0 28px; display: grid; gap: 10px; }
.scrolly-layers li {
  display: flex; align-items: center; gap: 12px; font-weight: 500; color: var(--muted);
  transition: color .3s ease;
}
.scrolly-layers li::before {
  content: ""; width: 10px; height: 10px; border-radius: 50%; border: 2px solid currentColor; flex: none;
  transition: background .3s ease;
}
.scrolly-layers li.on { color: var(--cocoa); }
.scrolly-layers li.on::before { background: var(--berry); border-color: var(--berry); }
.scrolly-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(46,31,24,.08); }
.scrolly-progress span { display: block; height: 100%; background: var(--berry); transform-origin: left; transform: scaleX(0); }
.scrolly-hint {
  position: absolute; right: max(24px, env(safe-area-inset-right, 0px)); bottom: 22px; z-index: 2;
  display: grid; justify-items: center; gap: 6px; font-size: .72rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--cocoa-soft); transition: opacity .3s ease;
}
.scrolly-hint span { width: 2px; height: 26px; border-radius: 2px; background: currentColor; animation: hint 1.6s ease-in-out infinite; transform-origin: top; }
.scrolly-hint.gone { opacity: 0; }
@keyframes hint { 0%, 100% { transform: scaleY(.3); opacity: .4; } 50% { transform: scaleY(1); opacity: 1; } }
.has-owner-bar .scrolly-hint { bottom: 92px; }
.scrolly--static { height: auto; }
.scrolly--static .scrolly-hint { display: none; }
.scrolly--static .scrolly-sticky { position: relative; top: 0; height: min(80vh, 720px); }
.scrolly--static .scrolly-layers li { color: var(--cocoa); }
.scrolly--static .scrolly-progress { display: none; }
@media (max-width: 800px) {
  .scrolly { height: 260vh; }
  .scrolly-sticky { align-items: start; padding-top: 28px; }
  .scrolly-sticky::before { display: none; }
  .scrolly-copy > * { max-width: none; }
  .scrolly-video {
    top: auto; bottom: 0; height: 50%; object-fit: cover; object-position: 56% 50%;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 18%);
    mask-image: linear-gradient(to bottom, transparent 0, #000 18%);
  }
  .scrolly-copy h2 { font-size: 1.9rem; }
  .scrolly-layers { margin: 12px 0 16px; gap: 6px; font-size: .92rem; }
}
@media (prefers-reduced-motion: reduce) {
  .scrolly-layers li, .scrolly-layers li::before, .scrolly-hint { transition: none; }
  .scrolly-hint span { animation: none; }
}

/* ---------- Category tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 16px; margin-top: 36px; }
.tile { text-decoration: none; display: block; }
.tile .ph { aspect-ratio: 1; border-radius: 50%; transition: transform .2s ease; }
.tile:hover .ph { transform: scale(1.03); }
.tile .ph::after { display: none; }
.tile h3 { text-align: center; margin-top: 14px; font-size: 1.1rem; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; counter-reset: step; }
.step { background: var(--paper); border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--butter); font-family: var(--font-display); font-weight: 700; margin-bottom: 16px;
}
.step p { color: var(--cocoa-soft); margin: 0; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Split / story ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split .ph { aspect-ratio: 5/4; border-radius: var(--radius); }
.split-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.split-photos .ph:first-child { grid-row: span 2; aspect-ratio: auto; height: 100%; }
.split-photos .ph { aspect-ratio: 1; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* ---------- Quotes ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.quote { background: var(--paper); border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); }
.quote p { font-family: var(--font-display); font-size: 1.15rem; line-height: 1.4; }
.quote cite { font-style: normal; color: var(--muted); font-size: .9rem; }
@media (max-width: 860px) { .quotes { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta-band { background: var(--berry); color: #fff; border-radius: calc(var(--radius) * 1.5); padding: clamp(36px, 6vw, 64px); display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { margin: 0; color: #fff; }
.cta-band p { color: #ffe1dd; margin: 8px 0 0; }
.cta-band .btn { background: #fff; color: var(--berry); border-color: #fff; }
.cta-band .btn:hover { background: var(--butter); border-color: var(--butter); }

/* ---------- Page header ---------- */
.page-head { padding: clamp(40px, 6vw, 72px) 0 24px; }
.page-head .lede { margin-bottom: 0; }

/* ---------- Menu / shop ---------- */
.cat-nav {
  position: sticky; top: 76px; z-index: 40; background: var(--cream);
  border-bottom: 1px solid var(--line); padding: 12px 0;
}
.cat-nav .wrap { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.cat-nav .wrap::-webkit-scrollbar { display: none; }
.chip {
  flex: none; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--paper); text-decoration: none; font-weight: 500; font-size: .92rem; white-space: nowrap;
}
.chip:hover, .chip.active { background: var(--berry); color: #fff; border-color: var(--berry); }

.menu-cat { padding: 48px 0 8px; scroll-margin-top: 140px; }
.menu-cat-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.menu-cat-head p { color: var(--cocoa-soft); margin: 0; }
.lead-note { font-size: .85rem; color: var(--sage); font-weight: 600; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }

.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s ease, transform .2s ease;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card .ph { aspect-ratio: 1; }
.card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card h3 { margin: 0; font-size: 1.2rem; }
.card-desc { color: var(--cocoa-soft); font-size: .93rem; margin: 0; flex: 1; }
.tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tag { font-size: .72rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--oat); color: var(--cocoa-soft); }
.tag--Bestseller, .tag--Signature { background: var(--berry); color: #fff; }
.tag--Seasonal { background: #e3ead9; color: #4b5c45; }
.card-buy { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: end; margin-top: 4px; }
.field-label { font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); display: block; margin-bottom: 4px; }
.select, .input, .textarea {
  width: 100%; padding: 11px 12px; border-radius: var(--radius-sm); border: 1px solid var(--line);
  background: #fff; outline: none;
}
.select:focus, .input:focus, .textarea:focus { border-color: var(--cocoa-soft); box-shadow: 0 0 0 3px rgba(217,38,28,.14); }
.price { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; }
.price.tbd { font-family: var(--font-body); font-size: .85rem; font-weight: 600; color: var(--muted); white-space: nowrap; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.card-foot > div:last-child { margin-left: auto; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.qty button { width: 34px; height: 34px; border: 0; background: none; cursor: pointer; font-size: 1.1rem; color: var(--cocoa); }
.qty button:disabled { opacity: .3; cursor: not-allowed; }
.qty span, .qty input { width: 28px; text-align: center; border: 0; background: none; font-weight: 700; }

/* ---------- Shop cards (open the product popup) ---------- */
.card--shop { position: relative; cursor: pointer; }
.card--shop .card-desc { flex: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card--shop .card-foot { margin-top: auto; padding-top: 6px; }
.card-cta { font-weight: 700; font-size: .92rem; color: var(--berry); }
.card--shop:hover .card-cta span { margin-left: 2px; }
.card-hit { position: absolute; inset: 0; z-index: 1; border: 0; padding: 0; background: none; cursor: pointer; border-radius: var(--radius); }
.card-hit:focus-visible { outline: 3px solid var(--berry); outline-offset: 3px; }

/* ---------- Product popup ---------- */
.pm { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; padding: 24px; }
.pm[hidden] { display: none; }
.pm-backdrop { position: absolute; inset: 0; background: rgba(42, 21, 19, .55); }
.pm-panel {
  position: relative; width: min(1000px, 100%); max-height: min(720px, 100%); background: var(--paper);
  border-radius: calc(var(--radius) + 4px); box-shadow: 0 30px 80px rgba(42, 21, 19, .35);
  display: grid; grid-template-columns: 1.1fr 1fr; overflow: hidden; min-height: min(560px, 100%);
}
.pm-close {
  position: absolute; top: 12px; right: 12px; z-index: 3; width: 40px; height: 40px; border-radius: 50%;
  border: 0; background: var(--paper); color: var(--cocoa); font-size: 1.6rem; line-height: 1; cursor: pointer;
  box-shadow: 0 2px 10px rgba(42, 21, 19, .15);
}
.pm-close:focus-visible, .pm-arrow:focus-visible, .pm-thumbs button:focus-visible { outline: 3px solid var(--berry); outline-offset: 2px; }
.pm-media { background: var(--oat); display: grid; grid-template-rows: minmax(0, 1fr) auto; min-height: 0; }
.pm-main { position: relative; min-height: 0; }
.pm-main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pm-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%;
  border: 0; background: rgba(255, 255, 255, .9); color: var(--cocoa); font-size: 1.6rem; line-height: 1; cursor: pointer;
}
.pm-arrow--prev { left: 12px; }
.pm-arrow--next { right: 12px; }
.pm--single .pm-arrow, .pm--single .pm-thumbs { display: none; }
.pm-thumbs { display: flex; gap: 8px; padding: 10px; overflow-x: auto; background: var(--paper); border-top: 1px solid var(--line); }
.pm-thumbs button { flex: none; width: 58px; height: 58px; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; cursor: pointer; background: var(--oat); }
.pm-thumbs button[aria-current="true"] { border-color: var(--berry); }
.pm-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pm-thumbs button { position: relative; }
.pm-thumb-tag {
  position: absolute; left: 3px; right: 3px; bottom: 3px; border-radius: 6px; padding: 1px 0;
  background: rgba(255, 255, 255, .92); color: var(--berry); font-size: .62rem; font-weight: 700; text-align: center;
}
.pm-badge {
  position: absolute; left: 12px; top: 12px; z-index: 2; padding: 4px 10px; border-radius: 999px;
  background: var(--paper); color: var(--berry); font-size: .78rem; font-weight: 700; box-shadow: 0 2px 10px rgba(42, 21, 19, .15);
}
.pm-badge[hidden] { display: none; }
.pm-dots { display: none; }
.pm-inside .field-label { margin-bottom: 6px; }
.pm-inside ul { margin: 0; padding-left: 18px; color: var(--cocoa-soft); font-size: .95rem; display: grid; gap: 2px; }
.pm-inside[hidden] { display: none; }
.pm-option-note { margin: 0; }
.pm-info { padding: clamp(24px, 3.5vw, 40px); overflow-y: auto; display: flex; flex-direction: column; gap: 12px; }
.pm-info .eyebrow { margin: 0; }
.pm-info h2 { margin: 0; font-size: clamp(1.7rem, 3vw, 2.3rem); padding-right: 36px; }
.pm-price { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; color: var(--berry); font-variant-numeric: tabular-nums; }
.pm-price.tbd { font-family: var(--font-body); font-size: 1rem; font-weight: 600; color: var(--muted); }
.pm-desc { color: var(--cocoa-soft); margin: 0; }
.pm-info .lead-note { margin: 0; }
.pm-fields { display: grid; gap: 12px; margin-top: 4px; }
.pm-buy { display: flex; gap: 12px; align-items: center; margin-top: 4px; }
.pm-buy .qty button { width: 40px; height: 44px; }
.pm-add { flex: 1; }
.pm-open { overflow: hidden; }
@media (max-width: 760px) {
  .pm { padding: 0; place-items: end stretch; }
  .pm-panel { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); max-height: 94vh; border-radius: 20px 20px 0 0; }
  .pm-main { aspect-ratio: 4 / 3; }
  .pm-thumbs { padding: 8px 10px; }
  .pm-thumbs button { width: 48px; height: 48px; }
  .pm-info { padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px)); }
}

/* ---------- Cart drawer ---------- */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(46,31,24,.4); opacity: 0; pointer-events: none; transition: opacity .2s; z-index: 90; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: var(--paper);
  z-index: 100; transform: translateX(100%); transition: transform .25s ease; display: flex; flex-direction: column;
}
.drawer-open .drawer { transform: none; }
.drawer-open .drawer-backdrop { opacity: 1; pointer-events: auto; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { margin: 0; }
.icon-btn { background: none; border: 0; font-size: 1.6rem; line-height: 1; cursor: pointer; padding: 4px 8px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 24px; }
.drawer-foot { padding: 20px 24px; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.line-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: center; }
.line-item .ph { width: 64px; height: 64px; border-radius: 12px; }
.line-item .ph::after { display: none; }
.line-item h4 { font-family: var(--font-body); font-size: .98rem; margin: 0; }
.line-item small { color: var(--muted); display: block; }
.line-item .min-note { color: var(--berry); font-weight: 600; }
.min-warn { color: var(--berry); font-weight: 600; margin: 4px 0; }
.line-right { display: grid; justify-items: end; gap: 6px; }
.link-btn { background: none; border: 0; color: var(--muted); font-size: .8rem; text-decoration: underline; cursor: pointer; padding: 0; }
.totals { display: grid; gap: 6px; }
.totals div { display: flex; justify-content: space-between; }
.totals .grand { font-weight: 700; font-size: 1.1rem; }
.empty { text-align: center; padding: 48px 8px; color: var(--muted); }
.note { font-size: .85rem; color: var(--muted); margin: 0; }

/* ---------- Forms / checkout ---------- */
.checkout { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: start; padding-bottom: 80px; }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); }
.panel h3 { margin-bottom: 18px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.textarea { min-height: 110px; resize: vertical; }
.radio-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.radio-card { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px; cursor: pointer; display: flex; gap: 10px; align-items: flex-start; background: #fff; }
.radio-card:has(input:checked) { border-color: var(--berry); box-shadow: 0 0 0 1px var(--berry) inset; background: var(--oat); }
.radio-card:has(input:disabled) { opacity: .5; cursor: not-allowed; }
input[type="radio"], input[type="checkbox"] { accent-color: var(--berry); }
.radio-card small { display: block; color: var(--muted); }
.summary { position: sticky; top: 100px; }
.alert { padding: 14px 16px; border-radius: var(--radius-sm); background: var(--oat); font-size: .92rem; margin-bottom: 16px; }
.alert--warn { background: #fdf0d2; }
.alert--ok { background: #e3ead9; }
.error { color: var(--berry); font-size: .85rem; margin-top: 4px; }
@media (max-width: 900px) {
  .checkout { grid-template-columns: 1fr; }
  .summary { position: static; }
}
@media (max-width: 560px) {
  .form-grid, .radio-cards { grid-template-columns: 1fr; }
}

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin: 0 auto; padding-bottom: 80px; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 12px; }
.faq summary { cursor: pointer; padding: 18px 22px; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--berry); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 22px 18px; margin: 0; color: var(--cocoa-soft); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 32px; padding-bottom: 80px; }
.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; }
.info-list strong { display: block; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table td { padding: 6px 0; border-bottom: 1px dashed var(--line); }
.hours-table td:last-child { text-align: right; }
.hours-table tr.today td { font-weight: 700; color: var(--berry); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--berry); color: #ffe1dd; padding: 64px 0 28px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.site-footer h4 { font-family: var(--font-body); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; opacity: .85; margin-bottom: 14px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer .logo { color: #fff; margin-bottom: 14px; width: fit-content; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 48px; padding-top: 20px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .85rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Showcase (home) ---------- */
.showcase-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; }
.showcase { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 36px; }
.showcase figure { margin: 0; }
.showcase .ph { aspect-ratio: 3/4; border-radius: var(--radius); }
.showcase figcaption { margin-top: 10px; font-size: .92rem; color: var(--cocoa-soft); }
@media (max-width: 860px) { .showcase { grid-template-columns: 1fr 1fr; } }

/* ---------- Gallery ---------- */
.masonry { columns: 4 240px; column-gap: 14px; padding-bottom: 80px; }
.m-item {
  display: block; width: 100%; margin: 0 0 14px; padding: 0; border: 0; border-radius: 14px;
  overflow: hidden; background: var(--oat); cursor: zoom-in; break-inside: avoid;
}
.m-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.m-item:hover img { transform: scale(1.03); }
.m-item:focus-visible { outline: 3px solid var(--berry); outline-offset: 2px; }
.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(20, 13, 10, .94);
  display: grid; place-items: center; padding: 56px 16px;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(1100px, 100%); max-height: 100%; object-fit: contain; border-radius: 10px; }
.lb-btn {
  position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; width: 48px; height: 48px;
  border-radius: 50%; font-size: 1.8rem; line-height: 1; cursor: pointer; display: grid; place-items: center;
}
.lb-btn:hover { background: rgba(255,255,255,.25); }
.lb-close { top: 12px; right: 12px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); color: #d8c8b8; font-size: .85rem; }
@media (prefers-reduced-motion: reduce) { .m-item img { transition: none; } }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0;
  background: var(--cocoa); color: var(--cream); padding: 12px 20px; border-radius: 999px;
  font-weight: 500; z-index: 120; transition: all .2s ease; pointer-events: none;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
