:root {
  --pink: #ff0082;
  --pink-dark: #d1006b;
  --pink-mid: #fe81b9;
  --pink-soft: #fff0f6;
  --pink-line: #ffd3e7;
  --bg: #ffffff;
  --soft: #fff7fa;
  --ink: #2b1f24;
  --muted: #7d6870;
  --line: #f1e3e9;
  --gold: #b7791f;
  --gold-soft: #fff6e5;
  --green: #2f7a46;
  --danger: #a6303d;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(43, 31, 36, .05), 0 8px 24px rgba(43, 31, 36, .07);
  --serif: "Fraunces", Georgia, serif; /* headings: soft serif that stays readable on phones */
  --brand-serif: "Bodoni Moda", Didot, Georgia, serif; /* SUGAR LANE wordmark only, to match the logo */
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.55 Inter, -apple-system, "Segoe UI", Arial, sans-serif; }
img { max-width: 100%; display: block; }
a { color: var(--pink-dark); }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0; letter-spacing: -.01em; }
h2 { font-size: clamp(28px, 4vw, 40px); color: var(--ink); }
.muted { color: var(--muted); }
.small { font-size: 14px; }
body.locked { overflow: hidden; }

/* ---------- Top bar ---------- */
.topbar { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.topbar-inner { display: flex; align-items: center; gap: 16px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.logo img { width: 48px; height: auto; }
.logo span { font-family: var(--brand-serif); font-weight: 700; font-size: 22px; letter-spacing: .08em; text-transform: uppercase; color: var(--pink); }
.nav { display: flex; gap: 22px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px; }
.nav a:hover { color: var(--pink); }
.cart-btn { position: relative; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; display: grid; place-items: center; cursor: pointer; color: var(--ink); }
.cart-btn:hover { border-color: var(--pink); color: var(--pink); }
.cart-count { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--pink); color: #fff; font-size: 12px; font-weight: 700; display: grid; place-items: center; }
.cart-btn.bump { animation: bump .35s ease; }
@keyframes bump { 50% { transform: scale(1.15); } }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; }

@media (max-width: 820px) {
  .menu-toggle { display: grid; place-items: center; }
  .nav { position: absolute; top: 68px; left: 0; right: 0; background: #fff; flex-direction: column; gap: 0; border-bottom: 1px solid var(--line); display: none; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 16px; border-top: 1px solid var(--line); }
  .logo span { font-size: 18px; }
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 999px; padding: 14px 24px; font-weight: 700; font-size: 16px; cursor: pointer; text-decoration: none; transition: background .15s, transform .1s; }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--pink); color: #fff; }
.btn-primary:hover { background: var(--pink-dark); }
.btn-primary:disabled { background: #f5a9cd; cursor: default; transform: none; }
.btn-outline { background: #fff; color: var(--pink-dark); border: 2px solid var(--pink); }
.btn-outline:hover { background: var(--pink-soft); }
.btn-ghost { background: #fff; color: var(--ink); border: 1.5px solid var(--line); }
.btn-block { width: 100%; }
.link-btn { background: none; border: 0; color: var(--muted); padding: 0; cursor: pointer; font-size: 14px; text-decoration: underline; }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(180deg, var(--pink-soft), #fff 85%); overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; padding-top: 56px; padding-bottom: 56px; }
.eyebrow { color: var(--pink-dark); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; font-size: 13px; margin: 0 0 12px; }
.hero h1 { font-size: clamp(38px, 6vw, 64px); color: var(--ink); }
.hero-lead { font-size: 18px; color: var(--muted); margin: 18px 0 28px; max-width: 520px; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-collage { position: relative; height: 460px; }
.hero-collage img { position: absolute; object-fit: cover; border-radius: 20px; box-shadow: var(--shadow); border: 6px solid #fff; }
.hero-collage .c1 { width: 62%; height: 70%; left: 0; top: 0; transform: rotate(-3deg); }
.hero-collage .c2 { width: 48%; height: 56%; right: 0; top: 8%; transform: rotate(4deg); }
.hero-collage .c3 { width: 46%; height: 46%; left: 24%; bottom: 0; transform: rotate(-1deg); }
.hero-collage .badge { width: 120px; height: 120px; right: 4%; bottom: 4%; border: 0; box-shadow: none; border-radius: 50%; background: #fff; }
@media (max-width: 820px) {
  .hero-inner { grid-template-columns: 1fr; padding-top: 32px; padding-bottom: 32px; gap: 24px; }
  .hero-collage { height: 300px; }
  .hero-collage .badge { width: 84px; height: 84px; }
}

/* ---------- How it works ---------- */
.how { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding-top: 24px; padding-bottom: 24px; }
.how-step { display: flex; gap: 14px; align-items: flex-start; }
.how-step span { flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--pink); color: #fff; font-weight: 700; display: grid; place-items: center; }
.how-step p { margin: 2px 0 0; color: var(--muted); font-size: 15px; }
@media (max-width: 820px) { .how-grid { grid-template-columns: 1fr; gap: 16px; } }

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
.section-soft { background: var(--soft); }
.section-pink { background: var(--pink-soft); }
.section-lead { color: var(--muted); margin: 8px 0 28px; max-width: 680px; font-size: 17px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split p { font-size: 17px; }
.split h2 { margin-bottom: 12px; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; gap: 28px; } .section { padding: 44px 0; } }
.ticks { padding: 0; list-style: none; margin: 16px 0; }
.ticks li { padding-left: 28px; position: relative; margin: 8px 0; }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--pink); font-weight: 700; }
.split-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.split-photos img { border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; box-shadow: var(--shadow); }
.split-photos img:last-child { margin-top: 40px; }
.about-photo { border-radius: 24px; box-shadow: var(--shadow); width: 100%; aspect-ratio: auto; object-fit: cover; }
.signature { font-family: var(--serif); font-size: 22px; color: var(--pink-dark); }

/* ---------- Menu ---------- */
.menu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 960px) { .menu-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .menu-grid { grid-template-columns: 1fr; } }
.product { background: #fff; border-radius: 20px; box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; cursor: pointer; border: 1px solid var(--line); transition: transform .15s, box-shadow .15s; text-align: left; padding: 0; }
.product:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(43, 31, 36, .06), 0 14px 32px rgba(43, 31, 36, .1); }
.product-photo { position: relative; aspect-ratio: 4 / 3; background: var(--pink-soft); overflow: hidden; }
.product-photo img { width: 100%; height: 100%; object-fit: cover; }
.product-photo.collage { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 3px; }
.product-photo.collage img:first-child { grid-row: span 2; }
.placeholder { width: 100%; height: 100%; display: grid; place-items: center; background:
  radial-gradient(circle at 20% 20%, #fff 0 6px, transparent 7px) 0 0 / 40px 40px,
  linear-gradient(135deg, var(--pink-soft), #ffe1ee); }
.placeholder img { width: 46%; height: auto; object-fit: contain; }
.in-cart-badge { position: absolute; top: 12px; left: 12px; background: var(--pink); color: #fff; font-weight: 700; font-size: 13px; padding: 4px 10px; border-radius: 99px; }
.product-body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-body h3 { font-size: 23px; }
.product-price { color: var(--pink-dark); font-weight: 700; }
.product-blurb { color: var(--muted); font-size: 15px; margin: 0; flex: 1; }
.product-cta { margin-top: 10px; align-self: flex-start; padding: 10px 18px; font-size: 15px; }

/* ---------- Gallery / reviews / events ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 24px; }
.gallery img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 14px; }
@media (max-width: 600px) { .gallery { grid-template-columns: repeat(2, 1fr); gap: 8px; } }
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 24px; }
.reviews blockquote { margin: 0; background: #fff; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); font-family: var(--serif); font-size: 19px; line-height: 1.45; position: relative; }
.reviews blockquote::before { content: "★★★★★"; display: block; font-family: Inter, sans-serif; color: var(--pink); font-size: 15px; letter-spacing: 2px; margin-bottom: 10px; }
@media (max-width: 820px) { .reviews { grid-template-columns: 1fr; } }
.events-layout { display: grid; grid-template-columns: 1fr 320px; gap: 40px; align-items: start; }
.booth-photo { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 24px; box-shadow: var(--shadow); margin-top: 8px; }
@media (max-width: 960px) { .events-layout { grid-template-columns: 1fr; } .booth-photo { max-width: 420px; } }
.events { display: grid; gap: 18px; }
.event { grid-template-columns: 96px 1fr 220px !important; }
@media (max-width: 820px) { .event { grid-template-columns: 72px 1fr !important; } }
.event { display: grid; grid-template-columns: 96px 1fr 280px; gap: 20px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 18px; box-shadow: var(--shadow); }
.event-date { text-align: center; background: var(--pink); color: #fff; border-radius: 14px; padding: 12px 6px; }
.event-date b { display: block; font-family: var(--serif); font-size: 34px; line-height: 1; }
.event-date span { font-size: 13px; text-transform: uppercase; font-weight: 600; letter-spacing: .06em; }
.event h3 { font-size: 22px; }
.event p { margin: 4px 0 0; color: var(--muted); }
.event img { border-radius: 12px; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
@media (max-width: 820px) { .event { grid-template-columns: 72px 1fr; } .event img { grid-column: 1 / -1; } .event-date b { font-size: 26px; } }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #f6e9ee; padding: 48px 0 calc(48px + env(safe-area-inset-bottom)); }
.footer a { color: #fff; }
.footer h3 { font-size: 20px; margin-bottom: 8px; color: var(--pink-mid); }
.footer .muted { color: #c9b5bd; }
.footer-grid { display: grid; grid-template-columns: 160px 1fr 1fr; gap: 32px; }
.footer img { border-radius: 50%; background: #fff; }
.social { display: flex; gap: 10px; }
.social a { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid #6f5a62; display: grid; place-items: center; text-decoration: none; font-weight: 700; font-size: 14px; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr; gap: 20px; } }

/* ---------- Overlays: product sheet + cart drawer ---------- */
/* Sized to the visible screen (set from app.js) so phone browser toolbars never cover the bottom buttons. */
.overlay { position: fixed; left: 0; right: 0; top: var(--vv-top, 0); height: 100vh; height: 100dvh; height: var(--vv-h, 100dvh); z-index: 50; background: rgba(43, 31, 36, .45); display: flex; animation: fade .15s ease; }
@keyframes fade { from { opacity: 0; } }
.sheet { background: #fff; margin: auto; width: min(640px, 100%); max-height: 92%; border-radius: 24px; overflow: auto; display: flex; flex-direction: column; animation: rise .2s ease; }
@keyframes rise { from { transform: translateY(24px); opacity: 0; } }
@media (max-width: 600px) { .sheet { margin: auto 0 0; border-radius: 24px 24px 0 0; max-height: calc(100% - 16px); } }
.sheet-photo { aspect-ratio: 16 / 9; max-height: 30vh; width: 100%; flex-shrink: 0; background: var(--pink-soft); position: relative; overflow: hidden; }
.sheet-photo.collage { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3px; }
.sheet-photo img { width: 100%; height: 100%; object-fit: cover; }
.sheet-close { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: #fff; box-shadow: var(--shadow); font-size: 22px; cursor: pointer; display: grid; place-items: center; }
.sheet-body { padding: 20px 20px 8px; }
.sheet-body h3 { font-size: 30px; }
.sheet-sub { margin: 24px 0 4px; display: flex; justify-content: space-between; gap: 12px; align-items: baseline; flex-wrap: wrap; border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.sheet-sub b { font-size: 17px; }
.sheet-foot { position: sticky; bottom: 0; background: #fff; border-top: 1px solid var(--line); padding: 14px 20px calc(14px + env(safe-area-inset-bottom)); display: flex; gap: 12px; align-items: center; margin-top: auto; }
.sheet-foot .sum { flex: 1; }

.item { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.item:last-child { border-bottom: 0; }
.item-info { flex: 1; min-width: 0; }
.item-name { font-weight: 600; }
.item-desc { color: var(--muted); font-size: 14px; }
.stepper { display: flex; align-items: center; gap: 2px; flex-shrink: 0; }
.stepper button { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; font-size: 22px; line-height: 1; color: var(--pink-dark); cursor: pointer; display: grid; place-items: center; }
.stepper button:disabled { opacity: .35; cursor: default; }
.stepper .qty { min-width: 54px; text-align: center; font-weight: 700; font-size: 15px; }
.stepper .qty small { display: block; font-weight: 500; color: var(--muted); font-size: 11px; margin-top: -2px; }
.item.has-qty .stepper .add { background: var(--pink); border-color: var(--pink); color: #fff; }

.pick-row { display: flex; align-items: center; gap: 10px; margin: 10px 0; }
.pick-row label { width: 70px; color: var(--muted); font-size: 14px; flex-shrink: 0; }
select, input[type=text], input[type=email], input[type=tel], textarea { width: 100%; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px; font: inherit; color: var(--ink); background: #fff; }
select:focus, input:focus, textarea:focus { outline: none; border-color: var(--pink); box-shadow: 0 0 0 3px var(--pink-soft); }
textarea { min-height: 96px; resize: vertical; }

.drawer { margin-left: auto; width: min(440px, 100%); height: 100%; background: #fff; display: flex; flex-direction: column; animation: slide .2s ease; }
@keyframes slide { from { transform: translateX(40px); opacity: 0; } }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { font-size: 26px; }
.drawer-head button { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; font-size: 20px; cursor: pointer; }
.drawer-body { flex: 1; overflow: auto; padding: 8px 20px; }
.drawer-foot { border-top: 1px solid var(--line); padding: 16px 20px calc(16px + env(safe-area-inset-bottom)); }
.cart-line { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-line img, .cart-line .thumb { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; flex-shrink: 0; background: var(--pink-soft); }
.cart-line .info { flex: 1; min-width: 0; }
.cart-line .name { font-weight: 600; }
.cart-line .sub { color: var(--muted); font-size: 13px; }
.cart-line .right { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.cart-line .stepper button { width: 32px; height: 32px; font-size: 18px; }
.cart-line .stepper .qty { min-width: 40px; font-size: 14px; }
.empty { text-align: center; padding: 48px 0; color: var(--muted); }
.total-row { display: flex; justify-content: space-between; font-weight: 700; font-size: 18px; margin-bottom: 4px; }

.floatbar { position: fixed; left: 12px; right: 12px; bottom: calc(12px + var(--vv-gap, 0px) + env(safe-area-inset-bottom)); z-index: 40; display: none; }
.floatbar button { width: 100%; box-shadow: 0 8px 24px rgba(255, 0, 130, .35); justify-content: space-between; }
@media (max-width: 820px) { .floatbar:not([hidden]) { display: block; } }

.toast { position: fixed; left: 50%; top: 84px; transform: translateX(-50%); z-index: 60; background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 99px; font-weight: 600; font-size: 15px; box-shadow: var(--shadow); animation: rise .2s ease; }

/* ---------- Checkout ---------- */
#checkout { background: var(--soft); min-height: 70vh; padding-bottom: 120px; }
#checkout .wrap { max-width: 720px; }
#checkout h2 { font-size: 30px; margin: 24px 0 4px; }
.steps { display: flex; gap: 4px; padding-top: 16px; }
.step { flex: 1; min-width: 0; border: 0; background: none; padding: 6px 4px 8px; color: var(--muted); font-size: 13px; font-weight: 600; border-bottom: 3px solid var(--line); white-space: nowrap; cursor: default; }
.step.done { color: var(--ink); border-color: var(--pink-line); cursor: pointer; }
.step.active { color: var(--pink-dark); border-color: var(--pink); }
.loading { color: var(--muted); padding: 32px 0; text-align: center; }
.lead { color: var(--muted); margin: 4px 0 16px; }
.notice { background: var(--gold-soft); border-radius: var(--radius); padding: 12px 14px; margin: 16px 0; font-size: 15px; }
.error { background: #fbe9ec; color: var(--danger); border-radius: var(--radius); padding: 12px 14px; margin: 12px 0; font-weight: 500; }
.panel { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; margin: 16px 0; }
.field { margin: 14px 0; }
.field > label, .field > .label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 15px; }
.field .hint { color: var(--muted); font-size: 13px; font-weight: 400; }
.choices { display: grid; gap: 8px; }
.choice { display: flex; gap: 10px; align-items: flex-start; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px; cursor: pointer; background: #fff; }
.choice input { margin-top: 3px; accent-color: var(--pink); }
.choice.selected { border-color: var(--pink); background: var(--pink-soft); }
.seg { display: flex; gap: 8px; }
.seg .chip { flex: 1; text-align: center; }
.dates { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 10px; scroll-snap-type: x proximity; }
.chip { border: 1.5px solid var(--line); background: #fff; border-radius: 12px; padding: 10px 12px; cursor: pointer; font-weight: 600; color: var(--ink); scroll-snap-align: start; }
.chip.selected { border-color: var(--pink); background: var(--pink); color: #fff; }
.date-chip { min-width: 84px; text-align: center; flex-shrink: 0; }
.date-chip .dow { display: block; font-size: 12px; font-weight: 600; text-transform: uppercase; opacity: .75; }
.date-chip .day { display: block; font-size: 17px; }
.date-chip .rush { display: block; font-size: 11px; color: var(--gold); font-weight: 700; }
.date-chip.selected .rush { color: #ffe7b8; }
.times { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 8px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--pink); flex-shrink: 0; }
.policy { font-size: 14px; color: var(--muted); }
.policy p { margin: 6px 0; }
.summary-line { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; }
.summary-line .sub { color: var(--muted); font-size: 13px; }
.summary-total { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 10px; font-weight: 700; font-size: 18px; }
.pay-methods { display: grid; gap: 10px; }
.pay-divider { text-align: center; color: var(--muted); font-size: 13px; margin: 6px 0; }
#card-container { min-height: 90px; }
.apple-pay-button { display: block; width: 100%; height: 48px; border-radius: 10px; cursor: pointer; -webkit-appearance: -apple-pay-button; -apple-pay-button-type: plain; -apple-pay-button-style: black; }
#google-pay-button, #cash-app-pay { min-height: 48px; }
.checkout-bar { position: fixed; left: 0; right: 0; bottom: var(--vv-gap, 0px); z-index: 20; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -4px 20px rgba(43, 31, 36, .08); padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); }
.checkout-bar-inner { max-width: 720px; margin: 0 auto; display: flex; align-items: center; gap: 12px; }
.checkout-bar .sum { flex: 1; min-width: 0; }
.checkout-bar .sum b { font-size: 18px; }
.checkout-bar .sum div { color: var(--muted); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.done { text-align: center; padding: 32px 0; }
.done img { width: 140px; margin: 0 auto 8px; }

/* ---------- Showcase galleries ---------- */
.showcase { columns: 3 260px; column-gap: 14px; margin-top: 8px; }
.showcase button { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; margin: 0 0 14px; break-inside: avoid; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); }
.showcase img { width: 100%; height: auto; display: block; transition: transform .25s; }
.showcase button:hover img { transform: scale(1.03); }
.showcase .extra { display: none; }
.showcase.expanded .extra { display: block; }
.showcase-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 18px; }
#cookies .eyebrow { margin-bottom: 6px; }
@media (max-width: 600px) { .showcase { columns: 2; column-gap: 8px; } .showcase button { margin-bottom: 8px; border-radius: 12px; } }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; left: 0; right: 0; top: var(--vv-top, 0); height: 100vh; height: 100dvh; height: var(--vv-h, 100dvh); z-index: 70; background: rgba(20, 12, 16, .92); display: flex; align-items: center; justify-content: center; }
.lightbox figure { margin: 0; max-width: 92vw; max-height: 88vh; text-align: center; }
.lightbox img { max-width: 92vw; max-height: 80vh; border-radius: 12px; margin: 0 auto; }
.lightbox figcaption { color: #f6e9ee; margin-top: 10px; font-size: 15px; }
.lightbox button { position: absolute; background: rgba(255, 255, 255, .14); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; font-size: 30px; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.lightbox button:hover { background: rgba(255, 255, 255, .28); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) { .lb-prev, .lb-next { top: auto; bottom: 20px; transform: none; } .lb-prev { left: calc(50% - 60px); } .lb-next { right: calc(50% - 60px); } }

/* ---------- Item photos inside the product sheet ---------- */
.item-thumb { width: 56px; height: 56px; border-radius: 12px; overflow: hidden; flex-shrink: 0; border: 0; padding: 0; cursor: zoom-in; position: relative; background: var(--pink-soft); }
.item-thumb img { width: 100%; height: 100%; object-fit: cover; }
.item-thumb span { position: absolute; right: 3px; bottom: 3px; background: rgba(0, 0, 0, .6); color: #fff; font-size: 10px; font-weight: 700; padding: 0 4px; border-radius: 6px; }
.sheet-strip { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 8px; margin-top: 12px; }
.sheet-strip button { flex: 0 0 92px; height: 92px; border: 0; padding: 0; border-radius: 12px; overflow: hidden; cursor: zoom-in; }
.sheet-strip img { width: 100%; height: 100%; object-fit: cover; }
.showcase .lead { column-span: all; margin-bottom: 14px; }
.showcase .lead img { width: 100%; max-height: 560px; object-fit: cover; }
@media (max-width: 600px) { .showcase .lead { margin-bottom: 8px; } .showcase .lead img { max-height: 360px; } }

/* ---------- Grid layout galleries (cake pops) ---------- */
.showcase.grid { columns: auto; display: block; }
.showcase.grid .big-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 14px; }
.showcase.grid .small-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.showcase.grid button { margin: 0; }
.showcase.grid .big-row img { aspect-ratio: 4 / 5; object-fit: cover; height: auto; }
.showcase.grid .small-grid img { aspect-ratio: 1 / 1; object-fit: cover; height: 100%; }
.showcase.grid .small-grid .wide { grid-column: span 2; }
.showcase.grid .small-grid .wide img { aspect-ratio: 2 / 1; }
.showcase.grid .small-grid .extra { display: none; }
.showcase.grid.expanded .small-grid .extra { display: block; }
@media (max-width: 700px) {
  .showcase.grid .big-row { grid-template-columns: 1fr; gap: 10px; margin-bottom: 10px; }
  .showcase.grid .big-row img { aspect-ratio: 4 / 3; }
  .showcase.grid .small-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
}
.showcase.grid .small-grid .tall { grid-row: span 2; }
.showcase.grid .small-grid .tall img, .showcase.grid .small-grid .wide.tall img { aspect-ratio: auto; height: 100%; }
.showcase.grid .small-grid button { height: 100%; }

/* ---------- Multi-page layout ---------- */
.page-head { background: linear-gradient(180deg, var(--pink-soft), #fff); padding: 48px 0 24px; }
.page-head h1, .page-title { font-size: clamp(34px, 5vw, 52px); margin-bottom: 4px; }
.page-head .hero-btns { margin-top: 4px; }
.section-tight { padding-top: 16px; }
.nav a.active { color: var(--pink); font-weight: 700; }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.tile { background: #fff; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); text-decoration: none; color: var(--ink); display: flex; flex-direction: column; border: 1px solid var(--line); transition: transform .15s; }
.tile:hover { transform: translateY(-3px); }
.tile img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.tile div { padding: 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.tile h3 { font-size: 21px; }
.tile p { margin: 0; color: var(--muted); font-size: 14px; flex: 1; }
.tile span { color: var(--pink-dark); font-weight: 700; font-size: 14px; margin-top: 6px; }
@media (max-width: 960px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .tiles { gap: 10px; } .tile div { padding: 12px; } .tile h3 { font-size: 18px; } }
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 20px; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px; box-shadow: var(--shadow); text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 4px; }
.contact-card span { color: var(--pink-dark); }
@media (max-width: 700px) { .contact-cards { grid-template-columns: 1fr; } }
.showcase.grid .big-row img { max-height: 620px; }
.meet .about-photo { aspect-ratio: 4 / 5; object-position: center 35%; max-height: 620px; }
.meet .eyebrow { margin-bottom: 6px; }

/* ---------- Order page sections + header order button ---------- */
.menu-section + .menu-section { margin-top: 40px; }
.menu-section h2 { margin-bottom: 16px; }
a.product { color: inherit; text-decoration: none; }
.order-cta { display: none; padding: 9px 16px; font-size: 14px; white-space: nowrap; }
@media (max-width: 820px) {
  .order-cta { display: inline-flex; }
  .topbar-inner { gap: 10px; }
}
/* Wordmark: one line, optically centered next to the SL mark (all-caps text sits high in a normal line box) */
.logo span { line-height: 1; white-space: nowrap; padding-top: 3px; }
/* Phones: the SL mark alone is the logo, so the header isn't crowded with two */
@media (max-width: 600px) {
  .logo span { display: none; }
  .logo img { width: 52px; }
}
@media (max-width: 420px) {
  .topbar-inner { gap: 8px; }
  .order-cta { padding: 8px 12px; font-size: 13px; }
  .cart-btn, .menu-toggle { width: 40px; height: 40px; }
}

/* ---------- Phone-first fixes ---------- */
@media (max-width: 700px) {
  /* Cake pop grid: no tall/wide tiles on phones, so there are no gaps */
  .showcase.grid .big-row { grid-template-columns: 1fr !important; } /* overrides the inline column count */
  .showcase.grid .small-grid .tall { grid-row: auto; }
  .showcase.grid .small-grid .wide { grid-column: auto; }
  .showcase.grid .small-grid .wide img, .showcase.grid .small-grid .tall img,
  .showcase.grid .small-grid .wide.tall img { aspect-ratio: 1 / 1; height: auto; }
}
@media (max-width: 480px) {
  /* Category tiles: photo, name, link. Captions made the cards uneven. */
  .tile p { display: none; }
}

/* ---------- Home hero: Laney's photo + bio, with Order now on the first screen ---------- */
.hero-meet .hero-inner { grid-template-columns: 1fr 1.1fr; }
.hero-photo { width: 100%; aspect-ratio: 4 / 5; max-height: 560px; object-fit: cover; object-position: center 30%; border-radius: 24px; box-shadow: var(--shadow); }
.hero-links { margin: 18px 0 0; font-size: 15px; color: var(--muted); }
.hero-links a { color: var(--pink-dark); font-weight: 600; text-decoration: none; }
@media (max-width: 820px) {
  .hero-meet .hero-inner { grid-template-columns: 1fr; padding-top: 16px; gap: 18px; }
  .hero-photo { aspect-ratio: 5 / 4; max-height: 255px; object-position: center 22%; }
  .hero-meet .hero-lead { margin: 10px 0 20px; font-size: 17px; }
}

/* Section right under the hero: tighter and centered on phones so it reads as one block with the tiles */
@media (max-width: 820px) {
  .hero-meet { padding-bottom: 8px; }
  .home-intro { padding-top: 28px; }
  .home-intro h2, .home-intro .section-lead { text-align: center; }
  .home-intro h2 { font-size: 26px; text-wrap: balance; }
  .home-intro .section-lead { margin: 8px auto 20px; font-size: 16px; text-wrap: balance; }
}
