:root {
  --teal: #274536;
  --teal-2: #35594a;
  --teal-3: #1b3326;
  --teal-soft: #e7ede4;
  --gold: #f0cf55;
  --gold-2: #85660c;
  --gold-soft: #faf0c6;
  --cream: #fbf7ec;
  --cream-2: #f3ecdb;
  --paper: #ffffff;
  --ink: #26302a;
  --ink-2: #5a635c;
  --muted: #7b807d;
  --line: #ebe4d2;
  --danger: #b3412f;
  --ok: #2e7d4f;
  --wa: #1fa855;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(74, 52, 30, .04), 0 2px 8px rgba(74, 52, 30, .04);
  --shadow: 0 1px 2px rgba(74, 52, 30, .04), 0 6px 16px rgba(74, 52, 30, .05), 0 18px 40px rgba(74, 52, 30, .06);
  --shadow-hover: 0 2px 4px rgba(74, 52, 30, .04), 0 12px 24px rgba(74, 52, 30, .07), 0 28px 56px rgba(74, 52, 30, .09);
  --shadow-lg: 0 2px 6px rgba(74, 52, 30, .05), 0 16px 32px rgba(74, 52, 30, .08), 0 40px 80px rgba(74, 52, 30, .14);
  --display: 'DM Sans', system-ui, -apple-system, sans-serif;
  --serif: var(--display);
  --hand: 'Playball', 'Brush Script MT', cursive;
  --sans: 'DM Sans', system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-in: cubic-bezier(.5, 0, .75, 0);
  --ease-calm: cubic-bezier(.2, 0, 0, 1);
  --topbar-h: 72px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(72px, 9vw, 112px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--topbar-h) + 56px); -webkit-text-size-adjust: 100%; }
html:has(dialog[open]) { overflow: hidden; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 16px/1.6 var(--sans); overflow-x: hidden; -webkit-tap-highlight-color: transparent; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold-2); outline-offset: 2px; }
h1, h2, h3, h4 { font-weight: 600; line-height: 1.15; margin: 0 0 .5em; }
h1, h2 { font-family: var(--display); font-weight: 600; line-height: 1.08; letter-spacing: -.025em; }
h2 { font-size: clamp(2rem, 3.8vw, 2.9rem); color: var(--teal); }
h2 em, h1 em { font-style: normal; color: var(--gold-2); }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }
.muted { color: var(--muted); }
.small { font-size: .86rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--teal); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }
.eyebrow { text-transform: uppercase; letter-spacing: .2em; font-size: .74rem; font-weight: 600; color: var(--gold-2); margin-bottom: 14px; }
.section-head { margin-bottom: 40px; max-width: 620px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .muted { font-size: 1.04rem; margin: 0; }
.section-head h2:last-child { margin-bottom: 0; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; border: 0; border-radius: 999px; padding: .85em 1.5em; font-weight: 500; letter-spacing: .01em; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer; transition: transform .25s var(--ease), background .2s, box-shadow .25s, color .2s, opacity .2s; white-space: nowrap; }
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .6; cursor: progress; }
.btn.block { display: flex; width: 100%; }
.btn-sm { padding: .6em 1.1em; font-size: .9rem; }
.btn-lg { padding: 1em 1.9em; font-size: 1.02rem; }
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-2); box-shadow: 0 10px 24px rgba(39, 69, 54, .22); }
.btn-soft { background: var(--cream); color: var(--teal); box-shadow: inset 0 0 0 1px var(--line); }
.btn-soft:hover { box-shadow: inset 0 0 0 1.5px var(--teal); }
.btn-ghost { background: transparent; color: var(--teal); box-shadow: inset 0 0 0 1.5px var(--teal); }
.btn-ghost:hover { background: var(--teal-soft); }
.btn-light { background: var(--cream); color: var(--teal); }
.btn-light:hover { background: #fff; box-shadow: 0 10px 28px rgba(0, 0, 0, .18); }
.btn-outline-light { background: transparent; color: var(--cream); box-shadow: inset 0 0 0 1.5px rgba(251, 247, 236, .5); }
.btn-outline-light:hover { background: rgba(251, 247, 236, .08); box-shadow: inset 0 0 0 1.5px var(--cream); }
.btn-gold { background: var(--gold); color: var(--teal-3); }
.btn-gold:hover { background: #f5da72; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #1a9449; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.link-btn { border: 0; background: none; padding: 0; color: var(--teal); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-size: inherit; font-weight: 600; }
.grow { flex: 1; }

/* ---------- Top bar ---------- */
.topbar { position: sticky; top: 0; z-index: 20; background: rgba(251, 247, 236, .9); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, background .3s; }
.topbar.scrolled { border-bottom-color: var(--line); background: rgba(251, 247, 236, .96); }
.topbar-in { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; min-height: 72px; padding-block: 10px; }
.brand { display: block; justify-self: start; text-decoration: none; }
.brand img { height: 40px; width: auto; }
.topnav { display: flex; justify-content: center; gap: 4px; }
.topnav a { position: relative; text-decoration: none; font-weight: 600; color: var(--ink-2); font-size: .94rem; padding: 8px 14px; transition: color .2s; white-space: nowrap; }
.topnav a::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; border-radius: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.topnav a:hover, .topnav a[aria-current="true"] { color: var(--teal); }
.topnav a:hover::after, .topnav a[aria-current="true"]::after { transform: none; }
.top-actions { display: flex; align-items: center; gap: 8px; justify-self: end; }
.icon-btn { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); color: var(--teal); display: grid; place-items: center; cursor: pointer; text-decoration: none; transition: border-color .2s; }
.icon-btn:hover { border-color: var(--teal); }
.icon-btn svg { width: 21px; height: 21px; }
.menu-btn { display: none; }
.loc-chip { display: flex; align-items: center; gap: 8px; max-width: 210px; height: 44px; padding: 0 16px 0 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); cursor: pointer; text-align: left; transition: border-color .2s; }
.loc-chip:hover { border-color: var(--teal); }
.loc-chip svg { width: 19px; height: 19px; color: var(--gold-2); flex: none; }
.loc-chip span { display: grid; line-height: 1.1; min-width: 0; }
.loc-chip small { font-size: .7rem; color: var(--muted); }
.loc-chip b { font-size: .86rem; font-weight: 600; color: var(--teal); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-btn { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 7px 0 14px; border-radius: 999px; border: 0; background: var(--teal); color: #fff; cursor: pointer; font-weight: 600; font-size: .92rem; animation: fade-in .4s var(--ease); }
.cart-btn svg { width: 20px; height: 20px; }
.cart-count { min-width: 28px; height: 28px; padding: 0 7px; border-radius: 14px; background: var(--gold); color: var(--teal-3); font-size: .8rem; font-weight: 700; display: grid; place-items: center; }
.bump { animation: bump .35s var(--ease-calm); }
@keyframes bump { 40% { transform: scale(1.06); } }
.loc-bar { display: none; }
.help-btn { display: inline-flex; align-items: center; gap: 7px; height: 44px; padding: 0 16px 0 13px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); color: var(--teal); font-weight: 600; font-size: .9rem; text-decoration: none; white-space: nowrap; transition: border-color .2s, color .2s; }
.help-btn:hover { border-color: var(--wa); color: var(--wa); }
.help-btn svg { width: 19px; height: 19px; color: var(--wa); flex: none; }

/* ---------- Hero ---------- */
/* One photo, the slogan, and at the foot the way into the menu. Desktop: the photo
   fills the right and melts into the teal. Mobile: it fills the whole block. */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--teal); color: #cfdccf; }
.hero-bg { position: absolute; z-index: -1; top: 0; right: 0; width: 64%; height: 100%; object-fit: cover; object-position: 50% 35%; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 38%); mask-image: linear-gradient(90deg, transparent 0, #000 38%); }
.hero::after { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, var(--teal) 30%, rgba(39, 69, 54, .55) 58%, rgba(39, 69, 54, 0) 80%); pointer-events: none; }
.hero-in { display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; min-height: clamp(520px, calc(100svh - var(--topbar-h)), 980px); padding-block: 56px clamp(40px, 6vh, 72px); }
.hero-title { font-family: var(--display); font-weight: 600; letter-spacing: -.03em; margin-top: 0; font-size: clamp(2.8rem, 5.6vw, 5.2rem); line-height: 1.02; color: var(--cream); margin-bottom: clamp(28px, 5vh, 44px); }
.hero-title .line { white-space: nowrap; display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.hero-title .a-line { display: inline-block; }
.hero-kicker { font-family: var(--sans); text-transform: uppercase; letter-spacing: .22em; font-size: .76rem; font-weight: 500; line-height: 1.4; color: var(--gold); margin: 0 0 18px; }
.hero-title em { font-style: normal; color: var(--gold); }
.lead { font-size: clamp(1.04rem, 1.4vw, 1.2rem); max-width: 32em; margin-bottom: 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.again { display: flex; align-items: center; gap: 12px; width: 380px; max-width: 100%; padding: 7px 7px 7px 10px; border-radius: 999px; background: rgba(18, 38, 28, .55); border: 1px solid rgba(251, 247, 236, .16); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); text-align: left; }
.again[hidden] { display: none; }
.again-imgs { display: flex; }
.again-imgs img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; border: 2px solid var(--teal); }
.again-imgs img + img { margin-left: -10px; }
.again-text { flex: 1; min-width: 0; display: grid; line-height: 1.25; }
.again-text small { font-size: .74rem; color: #b9ccbb; }
.again-text b { font-size: .9rem; font-weight: 600; color: var(--cream); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.js .hero-bg { opacity: 0; }
.ready .hero-bg { animation: fade-in 1.2s var(--ease-calm) both; opacity: 1; }

/* Entrance animations (only with JS, so the page never stays hidden) */
.js .a-up, .js .a-rise { opacity: 0; }
.js .a-line { transform: translateY(105%); }
.ready .a-up { animation: a-up 1s var(--ease) var(--d, 0s) both; }
.ready .a-line { animation: a-line 1.1s var(--ease) var(--d, 0s) both; }
.ready .a-rise { animation: a-rise 1.3s var(--ease) var(--d, 0s) both; }
.ready .a-rise img { animation: a-zoom 2s var(--ease) var(--d, 0s) both; }
@keyframes a-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes a-line { from { transform: translateY(105%); } to { transform: none; } }
@keyframes a-rise { from { opacity: 0; transform: translateY(60px); } to { opacity: 1; transform: none; } }
@keyframes a-zoom { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes fade-in { from { opacity: 0; } }

.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease-calm), transform 1s var(--ease-calm); transition-delay: var(--rd, 0s); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* ---------- Gifts ---------- */
.gifts { padding-block: 72px var(--section); }
.gift-hero { display: grid; grid-template-columns: 1fr 1fr; background: var(--paper); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.gh-photo { position: relative; margin: 0; min-height: 320px; overflow: hidden; }
.gh-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; transition: transform 1.6s var(--ease-calm); }
.gh-photo::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(24, 40, 32, 0) 50%, rgba(24, 40, 32, .5)), radial-gradient(130% 100% at 50% 35%, rgba(24, 40, 32, 0) 55%, rgba(24, 40, 32, .22)); }
.gh-photo figcaption { position: absolute; z-index: 1; left: 24px; bottom: 20px; font-family: var(--hand); font-size: 1.9rem; color: var(--cream); text-shadow: 0 1px 12px rgba(0, 0, 0, .3); }
.js .gift-hero[data-reveal] .gh-photo img { transform: scale(1.06); }
.js .gift-hero[data-reveal].in .gh-photo img { transform: none; }
.gh-text { padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.invite { position: relative; margin: 6px 0 28px; padding: 20px 24px 16px; min-width: 270px; background: #fffdf8; border: 1px solid #eadfcb; border-radius: 6px; box-shadow: 0 10px 24px rgba(30, 40, 34, .07); transform: rotate(-2deg); }
.invite::before { content: ''; position: absolute; inset: 6px; border: 1px solid #eadfcb; border-radius: 3px; pointer-events: none; }
.inv-flap { position: absolute; right: 16px; top: -10px; width: 24px; height: 24px; border-radius: 50%; background: var(--gold); box-shadow: inset 0 0 0 3px #ecd27a; }
.inv-script { font-family: var(--hand); font-weight: 400; font-size: 2.3rem; line-height: 1; color: var(--teal); margin: 0 0 6px; }
.inv-note { font-size: .78rem; color: var(--muted); margin: 0; }
.gh-points { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; color: var(--ink-2); }
.gh-points li { display: flex; gap: 12px; align-items: flex-start; }
.gh-points li::before { content: ''; flex: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%; background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12'%3E%3Cpath d='m2.5 6.2 2.3 2.3 4.7-5' fill='none' stroke='%23faf6f0' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center; }
.gh-points li[data-gift-deadline] { font-weight: 600; color: var(--teal); }

/* ---------- Menu ---------- */
.catalog { padding-block: var(--section); background: linear-gradient(var(--cream), var(--paper) 240px); }
.catalog-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: start; }
.catalog-main { min-width: 0; }
.chips { position: sticky; top: var(--topbar-h); z-index: 10; display: flex; gap: 6px; overflow-x: auto; padding: 12px 0; background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); scrollbar-width: none; overscroll-behavior-x: contain; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; border-radius: 999px; padding: 8px 16px; font-weight: 600; font-size: .9rem; color: var(--ink-2); text-decoration: none; white-space: nowrap; transition: background .25s, color .25s; }
.chip:hover { background: var(--cream); color: var(--teal); }
.chip[aria-current="true"] { background: var(--teal); color: #fff; }
.cat-block { padding-top: 40px; scroll-margin-top: calc(var(--topbar-h) + 60px); }
.cat-head { margin-bottom: 18px; }
.cat-head h3 { font-family: var(--display); font-weight: 600; letter-spacing: -.015em; font-size: 1.45rem; color: var(--teal); margin: 0 0 2px; }
.cat-head p { margin: 0; font-size: .92rem; color: var(--muted); }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }

.card { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 120px; gap: 16px; align-items: center; padding: 14px 14px 14px 18px; background: var(--paper); border: 1px solid #f0eae1; border-radius: 20px; box-shadow: var(--shadow-sm); transition: border-color .3s, box-shadow .5s var(--ease-calm); }
.card:hover { border-color: transparent; box-shadow: var(--shadow-hover); }
.card.in-cart { border-color: var(--teal); }
.card-hit { position: absolute; inset: 0; z-index: 1; border: 0; background: none; cursor: pointer; border-radius: inherit; }
.card-body { min-width: 0; }
.card h4 { font-size: 1.04rem; line-height: 1.25; margin: 0 0 4px; color: var(--ink); }
.card .desc { font-size: .88rem; line-height: 1.45; color: var(--muted); margin: 0 0 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.price { margin: 0; font-weight: 700; font-size: 1rem; color: var(--ink); }
.price small { font-weight: 500; color: var(--muted); font-size: .8rem; }
.card .media { position: relative; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: var(--cream-2); box-shadow: 0 4px 12px rgba(74, 52, 30, .08); }
.card .media::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(74, 52, 30, .05); pointer-events: none; }
.card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.card:hover .media img { transform: scale(1.03); }
.card-act { position: absolute; z-index: 2; right: 6px; bottom: 6px; }
.add { position: relative; width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--paper); color: var(--teal); display: grid; place-items: center; font-size: 1.35rem; font-weight: 500; line-height: 1; cursor: pointer; box-shadow: 0 4px 12px rgba(30, 40, 34, .18); transition: background .2s, color .2s, transform .3s var(--ease); }
.add:hover { background: var(--teal); color: #fff; transform: scale(1.08); }
.add .n { position: absolute; top: -5px; right: -5px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: var(--gold); color: var(--teal-3); font-size: .68rem; font-weight: 700; display: grid; place-items: center; }

/* Qty stepper */
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); }
.qty button { width: 44px; height: 44px; border: 0; background: none; font-size: 1.25rem; cursor: pointer; color: var(--teal); border-radius: 50%; display: grid; place-items: center; transition: background .2s; }
.qty button:hover { background: var(--teal-soft); }
.qty button svg { width: 16px; height: 16px; color: var(--muted); }
.qty output { min-width: 26px; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }
.qty.sm button { width: 34px; height: 34px; font-size: 1.05rem; }
.qty.on-card { border: 0; background: var(--teal); color: #fff; box-shadow: 0 4px 12px rgba(30, 40, 34, .2); }
.qty.on-card button { color: #fff; width: 30px; height: 32px; }
.qty.on-card output { min-width: 16px; font-size: .9rem; }
.qty.on-card button:hover { background: rgba(255, 255, 255, .15); }

/* Order aside (desktop) */
.order-aside { position: sticky; top: calc(var(--topbar-h) + 16px); }
.aside-card { background: var(--paper); border: 1px solid #f0eae1; box-shadow: var(--shadow); border-radius: var(--radius-lg); padding: 22px; max-height: calc(100dvh - var(--topbar-h) - 32px); overflow-y: auto; }
.aside-card h3 { font-size: 1.15rem; margin-bottom: 12px; }
.aside-empty p { margin: 0; color: var(--muted); font-size: .92rem; }
.ae-perk { margin-top: 8px !important; color: var(--ok) !important; font-weight: 600; font-size: .84rem !important; }
.ae-perk:empty { display: none; }
.aside-card .total-row { padding-bottom: 14px; }

/* Free-shipping nudge */
.nudge { margin: 10px 0 4px; padding: 10px 14px; border-radius: 14px; background: var(--cream); font-size: .84rem; color: var(--ink-2); }
.aside-card .nudge { background: var(--cream); }
.nudge b { color: var(--teal); }
.nudge .bar { height: 4px; margin-top: 8px; border-radius: 2px; background: var(--line); overflow: hidden; }
.nudge .bar i { display: block; height: 100%; border-radius: inherit; background: var(--teal); transition: width .6s var(--ease); }
.nudge.done { background: #eaf4ee; color: var(--ok); font-weight: 600; }

/* Cart lines */
.cart-lines { list-style: none; margin: 0; padding: 0; }
.cart-lines li { display: grid; grid-template-columns: 68px minmax(0, 1fr); gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); animation: fade-in .25s var(--ease-calm); }
.cart-lines li:last-child { border-bottom: 0; }
.cart-lines img { width: 68px; height: 68px; border-radius: 14px; object-fit: cover; }
.ln-main { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ln-top { display: flex; justify-content: space-between; gap: 12px; }
.ln-name { font-weight: 600; font-size: .96rem; line-height: 1.3; }
.ln-top strong { font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ln-opt { font-size: .84rem; color: var(--muted); }
.ln-main .qty { align-self: flex-start; margin-top: 8px; }
.cart-lines.compact li { grid-template-columns: 48px minmax(0, 1fr); gap: 12px; padding: 12px 0; }
.cart-lines.compact img { width: 48px; height: 48px; border-radius: 10px; }
.cart-lines.compact .ln-name { font-size: .88rem; }
.cart-lines.compact .ln-top strong { font-size: .88rem; }
.cart-lines.compact .qty { margin-top: 6px; }
.cart-lines.compact .qty.sm button { width: 30px; height: 30px; }
.cart-lines.static li { grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; animation: none; }
.cart-lines.static img { width: 44px; height: 44px; }
.cart-lines.static strong { font-size: .9rem; font-weight: 600; }
.cart-lines li.reward strong { color: var(--ok); }
.total-row { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 0; font-weight: 600; }
.total-row strong { font-size: 1.3rem; font-variant-numeric: tabular-nums; }

/* Upsell */
.upsell { margin-top: 8px; padding-top: 16px; border-top: 1px solid var(--line); }
.upsell-title { font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 10px; }
.upsell-list { display: grid; gap: 8px; }
.up-item { position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 8px 10px 8px 8px; background: var(--cream); border-radius: 14px; text-align: left; }
.up-item img { width: 48px; height: 48px; border-radius: 10px; object-fit: cover; }
.up-item b { display: block; font-size: .9rem; font-weight: 600; line-height: 1.2; }
.up-item span { font-size: .82rem; color: var(--muted); }
.up-item .card-act { position: static; }
.up-item .add { width: 34px; height: 34px; font-size: 1.2rem; box-shadow: none; border: 1px solid var(--line); }
.up-item .qty.sm button { width: 30px; height: 30px; }

.paylogos { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.pl { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 34px; min-width: 52px; padding: 0 10px; border-radius: 8px; background: #fff; border: 1px solid var(--line); font-size: .78rem; font-weight: 700; color: var(--ink); white-space: nowrap; }
.pl .pi { width: 22px; height: 22px; }
.pl .pi-visa { width: 40px; height: 20px; }
.pl .pi-master { width: 34px; height: 22px; }
.pl-mp b { color: #00a6e0; font-weight: 700; }
.pl-bank b { color: var(--teal); font-weight: 600; }
.pl-word { font-size: .82rem; letter-spacing: -.01em; }
.pl-naranja { color: #fe5000; }
.pl-cabal { color: #0a4f96; font-style: italic; }
.paylogos.sm .pl { height: 28px; min-width: 42px; padding: 0 8px; border-radius: 7px; }
.paylogos.sm .pl .pi { width: 18px; height: 18px; }
.paylogos.sm .pl .pi-visa { width: 34px; height: 16px; }
.paylogos.sm .pl .pi-master { width: 28px; height: 18px; }
.paylogos.sm .pl-mp b { font-size: .74rem; }
.paylogos.sm .pl-word { font-size: .74rem; }

/* ---------- Club ---------- */
.club { padding-block: var(--section); background: var(--teal); color: #cad8cb; }
.club h2 { color: var(--cream); }
.club h2 em { color: var(--gold); }
.club-in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.club-lead { font-size: 1.06rem; max-width: 30em; margin-bottom: 28px; }
.club-lead b { color: var(--cream); font-weight: 600; }
.club-look { display: flex; gap: 6px; max-width: 460px; padding: 6px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); transition: border-color .2s; }
.club-look:focus-within { border-color: rgba(255, 255, 255, .4); }
.club-look input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; color: #fff; padding: 0 14px; font-size: 16px; }
.club-look input::placeholder { color: #94ab98; }
.club-look .tel, .club-look .tel:focus-within { flex: 1; min-width: 0; margin: 0; border: 0; background: none; box-shadow: none; }
.club-look .tel-area { color: #fff; border-color: rgba(255, 255, 255, .18); }
.club-look .tel-area svg, .club-look .tel-cc { color: #94ab98; }
.club-look .tel-num { color: #fff; }
.club-look .tel-list { color: var(--ink); }
.club-text .tel-hint { color: #a9bdab; }
.club-text .tel-hint.ok { color: #9fd9b4; }

/* Phone: area code picked from a list, only the number typed */
.tel { position: relative; display: flex; align-items: stretch; margin-top: 6px; min-height: 50px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--paper); font-weight: 400; transition: border-color .2s, box-shadow .2s; }
.tel:focus-within { border-color: var(--teal); box-shadow: 0 0 0 4px var(--teal-soft); }
.tel-area { flex: none; display: flex; align-items: center; gap: 6px; padding: 0 10px 0 14px; border: 0; border-right: 1px solid var(--line); background: none; color: var(--ink); font-size: 1rem; cursor: pointer; border-radius: 14px 0 0 14px; }
.tel-area b { font-weight: 600; }
.tel-cc { color: var(--muted); font-size: .92rem; }
.tel-area svg { width: 16px; height: 16px; color: var(--teal); transition: transform .25s var(--ease); }
.tel.open .tel-area svg { transform: rotate(180deg); }
.tel .tel-num { flex: 1; min-width: 0; width: auto; margin: 0; min-height: 0; padding: 0 14px; border: 0; border-radius: 0 14px 14px 0; box-shadow: none !important; background: none; font-size: 16px; letter-spacing: .02em; outline: none; }
.tel-list { right: auto; width: 250px; max-height: 300px; overflow-y: auto; overscroll-behavior: contain; }
.tel-list b { font-weight: 700; }
.tel-hint { margin: 6px 2px 0; font-size: .82rem; font-weight: 400; color: var(--muted); min-height: 1.2em; }
.tel-hint.ok { color: var(--ok, #2e7d4f); }
.field.invalid .tel { border-color: var(--danger); }
.field.invalid .tel-hint { display: none; }
.club-look .btn { padding: .75em 1.2em; font-size: .92rem; }
.club-msg { min-height: 1.4em; margin: 12px 4px 0; font-size: .9rem; color: var(--gold-soft); }
.stamp-card { padding: 24px; border-radius: var(--radius-lg); background: var(--cream); color: var(--ink); box-shadow: 0 2px 6px rgba(0, 0, 0, .08), 0 24px 48px rgba(0, 0, 0, .16), 0 48px 96px rgba(0, 0, 0, .12); max-width: 400px; width: 100%; justify-self: center; }
.sc-top { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; margin-bottom: 20px; border-bottom: 1px dashed #d9ccb3; }
.sc-top div { display: grid; line-height: 1.2; }
.sc-top small { font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-2); }
.sc-top b { font-weight: 700; font-size: 1.1rem; color: var(--teal); }
.sc-count { margin-left: auto; white-space: nowrap; font-size: .8rem; font-weight: 700; color: var(--teal); }
.sc-grid { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 16px; }
.stamp { aspect-ratio: 1; border-radius: 50%; border: 2px dashed #cdbd9f; display: grid; place-items: center; font-weight: 600; font-size: 1.1rem; color: #b5a687; position: relative; overflow: hidden; }
.stamp.on { border: 0; }
.stamp.on:not(.prize) { background: var(--teal); color: var(--gold); }
.stamp.on svg { width: 52%; height: 52%; animation: stamp .45s var(--ease-calm) calc(var(--i) * .08s) both; }
@keyframes stamp { from { transform: scale(.8); opacity: 0; } }
.stamp.prize { border: 2px solid var(--gold); background: #fffaf0; overflow: visible; }
.stamp.prize svg { width: 54%; height: 54%; margin-top: -8%; transition: transform .5s var(--ease); }
.stamp.prize em { position: absolute; bottom: -9px; left: 50%; translate: -50% 0; font-style: normal; font-size: .62rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: #fff; background: var(--gold-2); padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.stamp.prize.on { background: var(--gold-soft); box-shadow: 0 0 0 4px rgba(240, 207, 85, .25); }
.stamp.prize.on svg { transform: rotate(-8deg) scale(1.08); }
.sc-foot { margin: 18px 0 0; font-size: .9rem; color: var(--ink-2); text-align: center; }

/* ---------- Companies and events ---------- */
.biz { padding-block: var(--section); }
.biz-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: stretch; }
.biz-photo { position: relative; margin: 0; min-height: 100%; border-radius: var(--radius-lg); overflow: hidden; background: var(--cream-2); box-shadow: var(--shadow); }
.biz-photo::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(24, 40, 32, 0) 60%, rgba(24, 40, 32, .22)); }
.biz-photo img { width: 100%; height: 100%; min-height: 520px; object-fit: cover; object-position: center 70%; transition: transform 1.4s var(--ease); }
.biz-photo:hover img { transform: scale(1.03); }
.biz-side { display: flex; flex-direction: column; justify-content: center; }
.biz-text .muted { font-size: 1.06rem; max-width: 28em; margin-bottom: 24px; }
.biz-form { background: var(--paper); border: 1px solid #f0eae1; border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: clamp(20px, 3vw, 30px); }
.biz-form .field-grid > .field:first-child { margin-top: 0; }
.field-label { display: block; }
.pick { position: relative; margin-top: 6px; font-weight: 400; }
.pick-btn { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--paper); text-align: left; font-size: 1rem; cursor: pointer; transition: border-color .2s, box-shadow .2s; }
.pick-btn span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pick-btn .ph { color: var(--muted); }
.pick-btn svg { width: 18px; height: 18px; flex: none; color: var(--teal); transition: transform .3s var(--ease); }
.pick-btn span + svg { order: 2; }
.pick-btn:hover { border-color: #cfc3b0; }
.pick.open .pick-btn { border-color: var(--teal); box-shadow: 0 0 0 4px var(--teal-soft); }
.pick.open .pick-btn span + svg { transform: rotate(180deg); }
.pick-list, .cal { position: absolute; z-index: 12; left: 0; top: calc(100% + 6px); margin: 0; padding: 6px; list-style: none; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); animation: pop-down .28s var(--ease); outline: none; }
.pick-list { right: 0; }
@keyframes pop-down { from { opacity: 0; transform: translateY(-6px) scale(.98); } }
.pick-list li { padding: 11px 12px; border-radius: 10px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: background .15s; }
.pick-list li:hover { background: var(--cream); }
.pick-list li[aria-selected="true"] { color: var(--teal); font-weight: 600; background: var(--teal-soft); }
.pick-list li[aria-selected="true"]::after { content: '✓'; font-weight: 700; }
.cal { width: 292px; padding: 12px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.cal-head b { font-weight: 600; }
.cal-head button { width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--cream); color: var(--teal); font-size: 1.3rem; line-height: 1; cursor: pointer; }
.cal-head button:disabled { opacity: .35; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; text-align: center; }
.cal-grid small { font-size: .72rem; font-weight: 600; color: var(--muted); padding: 4px 0; }
.cal-grid button { aspect-ratio: 1; border: 0; border-radius: 50%; background: none; font-size: .9rem; cursor: pointer; transition: background .15s, color .15s; }
.cal-grid button:hover:not(:disabled) { background: var(--teal-soft); color: var(--teal); }
.cal-grid button:disabled { color: #c9c3b8; cursor: default; }
.cal-grid button[aria-pressed="true"] { background: var(--teal); color: #fff; font-weight: 600; }
.cal.inline { position: static; width: 100%; max-width: 360px; margin-top: 10px; box-shadow: none; animation: fade-in .2s var(--ease-calm); }
.day-more { border: 0; padding: 0; background: none; font: inherit; color: var(--teal); }
.day-more span { height: 100%; align-content: center; gap: 4px; border-style: dashed; }
.day-more svg { width: 22px; height: 22px; }
.day.day-more small { color: var(--teal); font-weight: 600; text-transform: none; }
.day-more.on span { border-style: solid; border-color: var(--teal); background: var(--teal-soft); }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; margin-bottom: 8px; }
.field-grid .span-2 { grid-column: 1 / -1; }
.biz-form .field { margin: 14px 0 0; }
.biz-form .btn { margin-top: 18px; }
.form-note { margin: 10px 0 0; font-size: .82rem; color: var(--muted); text-align: center; }
.biz-form .field input::placeholder, .biz-form .field textarea::placeholder { color: #a3a6a2; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* ---------- Address sheet, tiers, results ---------- */
.addr-box { position: relative; margin-top: 20px; }
.addr-input { display: flex; align-items: center; gap: 10px; padding: 0 6px 0 16px; min-height: 54px; background: var(--paper); border: 1.5px solid var(--line); border-radius: 16px; transition: border-color .2s, box-shadow .2s; }
.addr-input:focus-within { border-color: var(--teal); box-shadow: 0 0 0 4px var(--teal-soft); }
.addr-input > svg { width: 20px; height: 20px; color: var(--gold-2); flex: none; }
.addr-input input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font-size: 16px; padding: 14px 0; }
.addr-input.invalid { border-color: var(--danger); }
.locate { flex: none; width: 42px; height: 42px; border-radius: 12px; border: 0; background: var(--cream); color: var(--teal); display: grid; place-items: center; cursor: pointer; transition: background .2s; }
.locate:hover { background: var(--teal-soft); }
.locate svg { width: 20px; height: 20px; }
.busy svg { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.addr-list { position: absolute; z-index: 15; left: 0; right: 0; margin: 6px 0 0; padding: 6px; list-style: none; background: var(--paper); border-radius: 16px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); max-height: 320px; overflow-y: auto; }
.addr-list li { display: grid; padding: 10px 12px; border-radius: 10px; cursor: pointer; line-height: 1.3; }
.addr-list li[aria-selected="true"], .addr-list li:hover { background: var(--cream); }
.addr-list b { font-weight: 600; font-size: .95rem; }
.addr-list small { color: var(--muted); font-size: .82rem; }
.addr-list .none { cursor: default; color: var(--muted); font-size: .9rem; }
.addr-list .none:hover { background: none; }
.ship-result:empty { display: none; }
.ship-result { margin-top: 12px; display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; background: var(--paper); border: 1px solid var(--line); animation: a-up .45s var(--ease); }
.ship-result .sr-icon { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--teal-soft); color: var(--teal); }
.ship-result .sr-icon svg { width: 21px; height: 21px; }
.ship-result .sr-main { flex: 1; min-width: 0; line-height: 1.35; }
.ship-result .sr-main b { display: block; }
.ship-result .sr-main small { color: var(--muted); font-size: .84rem; }
.ship-result .sr-price { font-weight: 700; font-size: 1.1rem; white-space: nowrap; }
.ship-result.free .sr-price { color: var(--ok); }
.ship-result.free .sr-icon { background: #eaf4ee; color: var(--ok); }
.ship-result.far .sr-icon { background: var(--gold-soft); color: var(--gold-2); }
.ship-result.loading { color: var(--muted); }
.tiers { margin-top: 18px; border-top: 1px solid var(--line); }
.tiers summary { list-style: none; display: flex; align-items: center; justify-content: space-between; padding: 14px 0; cursor: pointer; font-weight: 600; font-size: .94rem; color: var(--teal); }
.tiers summary::-webkit-details-marker { display: none; }
.tiers summary::after { content: ''; width: 8px; height: 8px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg); margin: -4px 4px 0 0; transition: transform .3s var(--ease); }
.tiers[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.tier-list { list-style: none; margin: 0 0 10px; padding: 0; }
.tier-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 12px; padding: 9px 10px; border-radius: 10px; font-size: .88rem; }
.tier-list li:nth-child(odd) { background: var(--cream); }
.tier-list li.here { background: var(--gold-soft); }
.tier-list li.here .km::after { content: ' · tu zona'; color: var(--gold-2); font-weight: 700; }
.tier-list .km { font-weight: 600; }
.tier-list .ex { grid-column: 1; font-size: .8rem; color: var(--muted); line-height: 1.35; }
.tier-list .pr { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-weight: 700; white-space: nowrap; }
.tier-list .pr.free { color: var(--ok); }

/* Map */
.map-wrap { margin-top: 12px; }
.map { height: 220px; border-radius: 16px; overflow: hidden; background: var(--cream-2); border: 1px solid var(--line); z-index: 0; }
.map-hint { font-size: .8rem; color: var(--muted); margin: 6px 2px 0; }
.pin { width: 34px; height: 44px; }
.pin svg { width: 34px; height: 44px; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .25)); }

/* ---------- Reviews ---------- */
.reviews { padding-block: var(--section) 0; }
.review-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.review-card { margin: 0; padding: 22px; background: var(--paper); border: 1px solid #f0eae1; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.review-card blockquote { margin: 0 0 12px; font-size: 1.08rem; line-height: 1.5; color: var(--ink); }
.review-card figcaption { font-size: .88rem; color: var(--muted); font-weight: 600; }

/* ---------- About ---------- */
.about { padding-block: var(--section); background: var(--cream-2); }
.about-in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.about-text p { font-size: 1.08rem; color: var(--ink-2); max-width: 28em; margin: 0; }
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 20px; box-shadow: var(--shadow); }
.gallery img:nth-child(2) { translate: 0 28px; }
.gallery img:nth-child(4) { translate: 0 28px; }

/* ---------- FAQ ---------- */
.faq { padding-block: var(--section); }
.faq-in { max-width: 820px; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 4px; cursor: pointer; font-weight: 500; font-size: 1.06rem; transition: color .2s; }
.faq-list summary:hover { color: var(--teal); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ''; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12'%3E%3Cpath d='M6 1v10M1 6h10' stroke='%2323494a' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center; border: 1px solid var(--line); transition: transform .4s var(--ease); }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { color: var(--ink-2); margin: -6px 4px 20px; max-width: 40em; }
.faq-list details p a { color: var(--teal); font-weight: 600; }
.faq-list details[open] p { animation: a-up .5s var(--ease); }

/* ---------- Footer ---------- */
.footer { background: var(--teal-3); color: #c4d2c5; padding-block: 64px 28px; font-size: .92rem; }
.footer-in { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand img { height: 72px; width: auto; margin-bottom: 18px; }
.footer-brand p { max-width: 22em; color: #a9bdab; }
.footer h4 { font-size: .72rem; text-transform: uppercase; letter-spacing: .2em; color: var(--gold); margin-bottom: 14px; font-weight: 600; }
.flinks { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer a { text-decoration: none; transition: color .2s; }
.footer a:hover { color: #fff; }
.muted-light { color: #8fa693; font-size: .86rem; }
.footer-pay { margin-top: 44px; padding-top: 24px; }
.footer-pay, .footer-legal { background: linear-gradient(rgba(255, 255, 255, .1), rgba(255, 255, 255, .1)) var(--gutter) 0 / calc(100% - 2 * var(--gutter)) 1px no-repeat; }
.footer-pay .pl { border-color: transparent; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 24px; padding-top: 22px; font-size: .82rem; color: #8fa693; }
.footer-legal p { margin: 0; }
.footer-legal p + p { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer-legal a { color: #c4d2c5; text-decoration: underline; text-underline-offset: 3px; }

/* Floating cart (mobile/tablet) */
.floating-cart { position: fixed; z-index: 30; left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); display: flex; gap: 12px; align-items: center; border: 0; border-radius: 999px; background: var(--teal); color: #fff; padding: 12px 22px 12px 12px; font-weight: 600; font-size: 1rem; box-shadow: 0 14px 34px rgba(39, 69, 54, .35); cursor: pointer; max-width: 560px; margin: 0 auto; animation: rise .3s var(--ease-calm); }
.floating-cart strong { margin-left: auto; }
.fc-count { display: grid; place-items: center; min-width: 32px; height: 32px; padding: 0 8px; border-radius: 16px; background: var(--gold); color: var(--teal-3); font-size: .9rem; }
@keyframes rise { from { transform: translateY(10px); opacity: 0; } }

/* ---------- Dialogs ---------- */
dialog { border: 0; padding: 0; color: var(--ink); background: transparent; max-width: none; max-height: none; overscroll-behavior: contain; }
dialog::backdrop { background: rgba(20, 30, 24, .45); }
dialog[open]::backdrop { animation: fade-in .25s ease-out; }
dialog.closing::backdrop { animation: fade-out .2s ease-in forwards; }
@keyframes fade-out { to { opacity: 0; } }
.x { position: absolute; top: 14px; right: 14px; z-index: 3; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--cream); color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: transform .2s var(--ease), background .2s; }
.x:hover { background: var(--cream-2); }
.x:active { transform: scale(.96); }
.x svg { width: 17px; height: 17px; }
.grip { display: none; }

/* Bottom sheets: product, address, cart. Centred card on wide screens. */
.sheet { width: min(500px, calc(100vw - 32px)); margin: auto; }
.sheet-inner { position: relative; background: var(--paper); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; max-height: min(90dvh, 840px); box-shadow: 0 -1rem 3rem -1rem rgba(0, 0, 0, .3); transition: transform .35s var(--ease); }
.sheet[open] .sheet-inner { animation: pop-in .24s var(--ease-calm); }
.sheet.closing .sheet-inner { animation: pop-out .18s ease-in forwards; }
@keyframes pop-in { from { opacity: 0; transform: translateY(8px); } }
@keyframes pop-out { to { opacity: 0; transform: translateY(6px); } }
.sheet-scroll { overflow-y: auto; }
.sheet-scroll > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.sheet-body { padding: 22px 22px 4px; }
.sheet-body h3 { font-size: 1.5rem; margin-bottom: 2px; }
.ps-facts { list-style: none; padding: 14px 0 0; margin: 4px 0 12px; border-top: 1px solid var(--line); font-size: .86rem; color: var(--ink-2); display: grid; gap: 6px; }
.ps-facts li::before { content: '✓'; color: var(--ok); font-weight: 700; margin-right: 8px; }
.sheet-foot { display: flex; gap: 12px; align-items: center; padding: 14px 22px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--paper); }
.opt-group { border: 0; padding: 0; margin: 0 0 16px; }
.opt-group legend { font-weight: 600; font-size: .9rem; margin-bottom: 8px; }
.opt-list { display: flex; flex-wrap: wrap; gap: 8px; }
.opt-list label { cursor: pointer; }
.opt-list input { position: absolute; opacity: 0; pointer-events: none; }
.opt-list span { display: inline-block; border: 1.5px solid var(--line); border-radius: 999px; padding: .5em 1.05em; font-size: .92rem; transition: border-color .2s, background .2s; }
.opt-list input:checked + span { border-color: var(--teal); background: var(--teal-soft); color: var(--teal); font-weight: 600; }
.opt-list input:focus-visible + span { outline: 3px solid var(--gold); }
.addr-sheet .sheet-inner { overflow: visible; }
.addr-sheet .sheet-body { padding: 26px 22px 18px; overflow-y: auto; }
.addr-sheet h3 { padding-right: 44px; font-size: 1.4rem; }
.locate-big { margin-top: 6px; }
.or { display: flex; align-items: center; gap: 12px; margin: 16px 0 -8px; font-size: .82rem; color: var(--muted); }
.or::before, .or::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.addr-sheet .addr-list { max-height: 240px; }

/* Cart sheet (OwnGo style) */
.cart-sheet { width: min(460px, calc(100vw - 32px)); }
.cs-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 24px 22px 12px; }
.cs-head h2 { font-family: var(--sans); text-transform: none; letter-spacing: -.02em; font-size: 1.6rem; font-weight: 700; color: var(--ink); line-height: 1; margin: 0; }
.cs-head p { margin: 6px 0 0; font-size: .88rem; color: var(--muted); }
.cs-head p:empty { display: none; }
.cs-head .x { position: static; flex: none; }
.cs-body { flex: 1; min-height: 120px; overflow-y: auto; overscroll-behavior: contain; padding: 0 22px 16px; }
.cs-foot { padding: 12px 22px calc(18px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--paper); }
.cs-foot .total-row { padding-top: 6px; }
.empty { padding: 32px 0; text-align: center; color: var(--muted); }
.empty p { margin-bottom: 16px; }

/* Side menu */
.side { margin: 0 auto 0 0; height: 100dvh; width: min(380px, 88vw); }
.side-inner { height: 100%; display: flex; flex-direction: column; background: var(--paper); }
.side[open] .side-inner { animation: side-in .32s var(--ease-calm); }
.side.closing .side-inner { animation: side-out .28s var(--ease-in) forwards; }
@keyframes side-in { from { transform: translateX(-100%); } }
@keyframes side-out { to { transform: translateX(-100%); } }
.side-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; padding-top: calc(16px + env(safe-area-inset-top)); }
.side-head img { height: 34px; width: auto; }
.side-head .x { position: static; }
.side-nav { flex: 1; overflow-y: auto; display: flex; flex-direction: column; padding: 12px 20px; }
.side-nav a { display: flex; align-items: center; justify-content: space-between; padding: 15px 2px; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 600; font-size: 1.08rem; color: var(--ink); transition: color .2s, padding .3s var(--ease); }
.side-nav a::after { content: ''; width: 7px; height: 7px; border: solid var(--muted); border-width: 2px 2px 0 0; transform: rotate(45deg); transition: border-color .2s; }
.side-nav a:hover { color: var(--teal); padding-left: 6px; }
.side-nav a:hover::after { border-color: var(--teal); }
.side[open] .side-nav a { animation: side-link .6s var(--ease) both; }
.side-nav a:nth-child(2) { animation-delay: .04s !important; }
.side-nav a:nth-child(3) { animation-delay: .08s !important; }
.side-nav a:nth-child(4) { animation-delay: .12s !important; }
.side-nav a:nth-child(5) { animation-delay: .16s !important; }
.side-nav a:nth-child(6) { animation-delay: .2s !important; }
.side-nav a:nth-child(7) { animation-delay: .24s !important; }
@keyframes side-link { from { opacity: 0; } }
.side-club { display: grid; grid-template-columns: 1fr auto; gap: 10px 12px; align-items: center; margin: 4px 20px 16px; padding: 16px; border-radius: 18px; background: var(--teal); color: #cfdccf; text-decoration: none; }
.scl-top { grid-column: 1 / -1; display: grid; line-height: 1.3; }
.scl-top small { font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.scl-top b { color: #fff; font-weight: 600; font-size: .98rem; }
.scl-dots { display: flex; gap: 6px; }
.scl-dots i { width: 26px; height: 26px; border-radius: 50%; border: 1.5px dashed rgba(255, 255, 255, .35); display: grid; place-items: center; }
.scl-dots i.on { border: 0; background: var(--gold); }
.scl-dots i.on:not(.prize)::after { content: '✓'; color: var(--teal-3); font-size: .8rem; font-weight: 700; }
.scl-dots i.prize { border-style: solid; border-color: rgba(240, 207, 85, .6); }
.scl-dots i.prize svg { width: 16px; height: 16px; }
.scl-go { font-size: .84rem; font-weight: 600; color: var(--gold); }
.scl-go::after { content: ' →'; }
.side-foot { display: grid; gap: 10px; padding: 16px 20px calc(20px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--cream); }
.side-loc { display: flex; align-items: center; gap: 10px; width: 100%; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--paper); cursor: pointer; text-align: left; font-size: .9rem; }
.side-loc svg { width: 20px; height: 20px; color: var(--gold-2); flex: none; }
.side-loc b { color: var(--teal); }

/* Welcome pop-up */
.promo { width: min(720px, calc(100vw - 32px)); margin: auto; }
.promo[open] .promo-in { animation: pop-in .5s var(--ease); }
.promo-in { position: relative; display: grid; grid-template-columns: 1fr 1.1fr; background: var(--paper); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.promo-img img { width: 100%; height: 100%; object-fit: cover; }
.promo-body { position: relative; padding: 48px 32px 28px; text-align: center; display: flex; flex-direction: column; justify-content: center; }
.promo h3 { font-family: var(--display); font-weight: 600; letter-spacing: -.02em; font-size: clamp(1.7rem, 3vw, 2.1rem); line-height: 1.05; color: var(--teal); }
.promo h3 em { font-style: normal; color: var(--gold-2); }
.promo-no { display: block; margin: 14px auto 0; color: var(--muted); font-weight: 500; }

/* ---------- Checkout ---------- */
.checkout { width: 100vw; height: var(--vvh, 100dvh); margin: 0; overflow: clip; translate: 0 var(--vvt, 0); }
.checkout .co-body [data-addr], .checkout .field { scroll-margin: 12px 0; }
/* Typing on a phone: a slimmer top bar leaves the form more room above the keyboard. */
.checkout.kb .co-top { padding-block: 6px; padding-top: calc(6px + env(safe-area-inset-top)); }
.checkout.kb .co-foot { padding-block: 8px; }
.checkout.kb .co-body { padding-top: 12px; }
.checkout[open] { animation: fade .3s ease-out; }
@keyframes fade { from { opacity: 0; } }
.co-shell { height: 100%; display: flex; flex-direction: column; background: var(--cream); }
.co-top { display: flex; align-items: center; gap: 16px; padding: 10px var(--gutter); padding-top: calc(10px + env(safe-area-inset-top)); background: var(--paper); border-bottom: 1px solid var(--line); }
.co-back { flex: none; width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--paper); color: var(--teal); display: grid; place-items: center; cursor: pointer; }
.co-back svg { width: 20px; height: 20px; }
.co-logo { height: 36px; width: auto; }
.co-progress { list-style: none; display: flex; gap: 6px; margin: 0 0 0 auto; padding: 0; }
.co-progress button { display: flex; align-items: center; gap: 8px; border: 0; background: none; padding: 6px 8px; cursor: default; color: var(--muted); font-size: .88rem; font-weight: 500; }
.co-progress span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--line); font-size: .78rem; font-weight: 700; transition: background .3s, border-color .3s; }
.co-progress em { font-style: normal; }
.co-progress li + li::before { content: ''; display: inline-block; width: 18px; height: 1.5px; background: var(--line); vertical-align: middle; margin-right: 6px; }
.co-progress li.current button { color: var(--ink); }
.co-progress li.current span { background: var(--teal); border-color: var(--teal); color: #fff; }
.co-progress li.done button { color: var(--teal); cursor: pointer; }
.co-progress li.done span { background: var(--teal-soft); border-color: var(--teal-soft); color: var(--teal); font-size: 0; }
.co-progress li.done span::after { content: '✓'; font-size: .8rem; }
.co-progress li { display: flex; align-items: center; }
.co-secure { display: flex; align-items: center; gap: 6px; font-size: .82rem; color: var(--muted); font-weight: 500; padding-left: 12px; border-left: 1px solid var(--line); }
.co-secure svg { width: 16px; height: 16px; color: var(--ok); }

.co-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; display: grid; grid-template-columns: minmax(0, 560px) 360px; justify-content: center; align-content: start; gap: 48px; padding: 36px var(--gutter) 40px; }
.co-main { min-width: 0; }
.co-step:not([hidden]) { animation: step-in .45s var(--ease); }
@keyframes step-in { from { opacity: 0; transform: translateX(14px); } }
.co-h { font-size: clamp(1.7rem, 4vw, 2.2rem); color: var(--teal); margin-bottom: 22px; }
.co-label { display: block; font-weight: 600; font-size: .92rem; margin: 24px 0 10px; }
.co-step .choice-row + [data-ship-fields] .co-label { margin-top: 4px; }
.err-line { display: none; color: var(--danger); font-size: .86rem; margin: 8px 0 0; }
.err-line.show, .err-line[data-err="submit"]:not(:empty) { display: block; }
.co-fine { font-size: .82rem; color: var(--muted); margin: 14px 0 0; }
.co-fine a { color: var(--teal); }
.co-paylogos { margin-top: 12px; }

.day-chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 6px; margin: 0 -2px; scrollbar-width: none; scroll-snap-type: x proximity; }
.day-chips::-webkit-scrollbar { display: none; }
.day { position: relative; flex: none; scroll-snap-align: start; cursor: pointer; }
.pill, .choice, .opt-list label { position: relative; }
.day input, .pill input, .choice input, .opt-list input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
.day span { display: grid; justify-items: center; width: 64px; padding: 8px 0 7px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--paper); line-height: 1.15; transition: background .2s, border-color .2s; }
.day small { font-size: .72rem; color: var(--muted); text-transform: capitalize; }
.day b { font-size: 1.3rem; font-weight: 600; margin: 2px 0; }
.day input:checked + span { border-color: var(--teal); background: var(--teal); color: #fff; }
.day input:checked + span small { color: #d3e0d3; }
.day input:focus-visible + span, .pill input:focus-visible + span, .choice input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }

.pill-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.pill { cursor: pointer; }
.pill span { display: block; text-align: center; white-space: nowrap; padding: .62em .6em; border: 1.5px solid var(--line); border-radius: 999px; background: var(--paper); font-size: .94rem; transition: background .2s, border-color .2s; }
.pill input:checked + span { border-color: var(--teal); background: var(--teal-soft); color: var(--teal); font-weight: 600; }

.choice-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 18px; }
.choice { cursor: pointer; display: block; }
.choice span { display: block; height: 100%; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--paper); line-height: 1.3; position: relative; transition: border-color .2s, box-shadow .2s; }
.choice b { display: block; font-weight: 600; }
.choice small { color: var(--muted); font-size: .84rem; }
.choice input:checked + span { border-color: var(--teal); box-shadow: inset 0 0 0 1px var(--teal); background: #fbfdfc; }
.choice.wide span { padding-left: 48px; }
.choice.wide span::before { content: ''; position: absolute; left: 16px; top: 50%; width: 20px; height: 20px; margin-top: -10px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--paper); transition: border .2s; }
.choice.wide input:checked + span::before { border: 6px solid var(--teal); }
.choice .pay-ico { position: absolute; right: 16px; top: 50%; width: 26px; height: 26px; margin-top: -13px; }
.pay-how { margin-top: 12px; padding: 12px 14px; border-radius: 14px; background: var(--teal-soft); color: var(--ink-2); font-size: .9rem; }
.pay-how p { margin: 0; }
.pay-how b { color: var(--teal); }
.pay-list { display: grid; gap: 10px; }
.pickup-box { padding: 16px; border-radius: 16px; background: var(--paper); border: 1px solid var(--line); font-size: .94rem; color: var(--ink-2); }
.pickup-box b { color: var(--ink); }

.field { display: block; font-weight: 600; font-size: .92rem; margin: 16px 0; }
.field .opt { font-weight: 400; color: var(--muted); font-size: .84rem; margin-left: 4px; }
.field input, .field textarea, .field select { display: block; width: 100%; margin-top: 6px; font-size: 16px; font-weight: 400; padding: 12px 14px; min-height: 50px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--paper); color: var(--ink); appearance: none; -webkit-appearance: none; transition: border-color .2s, box-shadow .2s; }
.field select { background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%2323494a' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 16px center; padding-right: 40px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px var(--teal-soft); }
.field .err { display: none; color: var(--danger); font-weight: 400; font-size: .84rem; margin-top: 6px; }
.field.invalid input, .field.invalid select { border-color: var(--danger); }
.field.invalid .err { display: block; }

.check { display: flex; align-items: center; gap: 10px; margin: 4px 0 16px; cursor: pointer; font-weight: 500; }
.check input { width: 20px; height: 20px; accent-color: var(--teal); margin: 0; }
.gift-fields { padding: 2px 16px; margin: -4px 0 16px; background: var(--cream-2); border-radius: 14px; }

.co-club { margin: -4px 0 18px; padding: 12px 14px; border-radius: 14px; background: var(--teal-soft); display: grid; gap: 8px; animation: a-up .35s var(--ease); }
.club-line { margin: 0; font-size: .88rem; color: var(--ink-2); }
.club-line b { color: var(--teal); }
.club-line.ok { color: var(--ok); font-weight: 600; }
.club-redeem { display: flex; align-items: center; gap: 12px; cursor: pointer; }
.club-redeem input { width: 20px; height: 20px; accent-color: var(--teal); margin: 0; flex: none; }
.club-redeem img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; flex: none; }
.club-redeem span { display: grid; line-height: 1.3; }
.club-redeem b { color: var(--teal); }
.club-redeem small { font-size: .84rem; color: var(--ink-2); }
.perk-line { margin: 10px 0 0; padding: 8px 12px; border-radius: 10px; background: #eaf4ee; color: var(--ok); font-size: .84rem; font-weight: 600; }

.review { display: grid; gap: 10px; margin-bottom: 8px; }
.rv { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 14px 16px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; }
.rv small { display: block; text-transform: uppercase; letter-spacing: .1em; font-size: .7rem; font-weight: 600; color: var(--muted); margin-bottom: 4px; }
.rv p { margin: 0; font-size: .95rem; }
.rv .muted { font-size: .88rem; }

.co-summary { min-width: 0; }
.co-sum-box { position: sticky; top: 0; background: var(--paper); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 4px 20px 16px; }
.co-sum-box summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 14px 0 10px; font-family: var(--display); font-weight: 600; font-size: 1.25rem; color: var(--teal); cursor: pointer; }
.co-sum-box summary::-webkit-details-marker { display: none; }
.co-sum-box summary strong { font-family: var(--sans); font-size: 1rem; color: var(--ink); font-weight: 600; }
.sums { margin: 6px 0 0; padding-top: 10px; border-top: 1px solid var(--line); display: grid; gap: 4px; }
.sums div { display: flex; justify-content: space-between; font-size: .92rem; color: var(--ink-2); }
.sums dt small { color: var(--muted); }
.sums dd { margin: 0; }
.sums .grand { font-size: 1.1rem; color: var(--ink); font-weight: 700; margin-top: 4px; }

.co-foot { background: var(--paper); border-top: 1px solid var(--line); padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom)); }
.co-foot-in { max-width: 968px; margin: 0 auto; display: flex; align-items: center; gap: 16px; }
.co-foot-total { display: grid; line-height: 1.2; }
.co-foot-total small { color: var(--muted); font-size: .8rem; }
.co-foot-total strong { font-size: 1.15rem; }
.co-next { margin-left: auto; min-width: 220px; }

.co-body:has(.co-done:not([hidden])) { grid-template-columns: minmax(0, 560px); }
.co-done { max-width: 560px; margin: 0 auto; }
.co-done > * { animation: a-up .7s var(--ease) both; }
.co-done > :nth-child(2) { animation-delay: .06s; }
.co-done > :nth-child(3) { animation-delay: .12s; }
.co-done > :nth-child(n+4) { animation-delay: .18s; }
.done-head { display: flex; align-items: center; gap: 16px; margin-bottom: 12px; }
.done-icon { flex: none; width: 56px; height: 56px; border-radius: 50%; background: var(--ok); color: #fff; display: grid; place-items: center; box-shadow: 0 0 0 8px #eaf4ee; animation: done-pop .7s cubic-bezier(.34, 1.4, .64, 1) .1s both; }
.done-icon svg { width: 26px; height: 26px; }
@keyframes done-pop { from { transform: scale(.4); opacity: 0; } }
.co-done .co-h { margin: 0; font-size: clamp(1.5rem, 4vw, 2rem); }
.done-code { margin: 0 0 2px; font-size: .86rem; color: var(--muted); }
.done-code strong { color: var(--ink); letter-spacing: .04em; }
.done-lead { font-size: 1.02rem; color: var(--ink-2); margin: 0 0 18px; }
.done-lead b { color: var(--ink); }
.done-steps { list-style: none; margin: 0 0 18px; padding: 16px 18px; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; display: grid; gap: 12px; }
.done-steps li { position: relative; display: flex; align-items: center; gap: 12px; font-size: .94rem; color: var(--ink-2); }
.done-steps li + li::before { content: ''; position: absolute; left: 13px; top: -12px; height: 12px; width: 2px; background: var(--line); }
.done-steps span { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: .78rem; font-weight: 700; border: 1.5px solid var(--line); color: var(--muted); background: var(--paper); }
.done-steps li.ok { color: var(--ink); font-weight: 600; }
.done-steps li.ok span { background: var(--ok); border-color: var(--ok); color: #fff; }
.receipt:empty { display: none; }
.receipt { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; margin-bottom: 18px; }
.rc-where { padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.rc-where span { display: block; text-transform: uppercase; letter-spacing: .1em; font-size: .7rem; font-weight: 700; color: var(--muted); margin-bottom: 4px; }
.rc-where p { margin: 0; text-transform: none; }
.rc-where b { font-weight: 600; }
.rc-where p b::first-letter { text-transform: uppercase; }
.receipt .cart-lines { margin-top: 4px; }
.done-actions { display: grid; gap: 10px; }
.done-actions .btn { margin: 0; }
.co-done [data-done-body] > * { margin-bottom: 18px; }
.done-club { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; padding: 16px 18px; border-radius: 18px; background: var(--teal); color: #d9e3d8; font-size: .92rem; }
.done-club p { margin: 0; }
.done-club b { color: #fff; }
.dc-title { font-weight: 700; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold) !important; margin-bottom: 4px !important; }
.dc-dots { display: flex; gap: 6px; flex: none; }
.dc-dots i { width: 26px; height: 26px; border-radius: 50%; border: 1.5px dashed rgba(255, 255, 255, .35); }
.dc-dots i.on { border: 0; background: var(--gold); display: grid; place-items: center; }
.dc-dots i.on::after { content: '✓'; color: var(--teal-3); font-size: .8rem; font-weight: 700; font-style: normal; }
.pay-box { text-align: left; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 16px; margin: 0 0 4px; }
.pay-box p { margin: 0 0 6px; }
.pay-box .alias { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: var(--cream); border-radius: 10px; padding: 10px 12px; font-weight: 700; margin: 8px 0; word-break: break-all; }
.pay-box .alias button { flex: none; border: 0; background: var(--teal); color: #fff; border-radius: 999px; padding: 6px 12px; font-weight: 600; font-size: .82rem; cursor: pointer; }
.done-detail { text-align: left; margin-top: 20px; font-size: .9rem; }
.done-detail summary { cursor: pointer; color: var(--teal); font-weight: 600; }
.done-detail pre { white-space: pre-wrap; font: .85rem/1.5 var(--sans); background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 14px; margin: 10px 0 0; color: var(--ink-2); }

.toast { position: fixed; z-index: 50; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom)); transform: translate(-50%, 20px); display: flex; align-items: center; gap: 12px; background: var(--ink); color: #fff; padding: 10px 10px 10px 18px; border-radius: 999px; font-weight: 500; opacity: 0; pointer-events: none; transition: .3s var(--ease); max-width: calc(100vw - 32px); white-space: nowrap; }
.toast:not(:has(button)) { padding-right: 18px; }
.toast.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast button { border: 0; border-radius: 999px; background: var(--gold); color: var(--teal-3); font-weight: 700; font-size: .86rem; padding: 6px 12px; cursor: pointer; }

/* Leaflet bits we rely on without its full theme */
.leaflet-container { font: inherit; }
.leaflet-control-attribution { font-size: 10px !important; }

/* ---------- Legal page ---------- */
.legal-top { grid-template-columns: 1fr auto; }
.legal { max-width: 820px; padding-block: 32px 72px; }
.legal-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.legal-nav a { padding: 8px 14px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); text-decoration: none; font-weight: 500; font-size: .92rem; }
.legal section { padding-top: 32px; scroll-margin-top: 90px; }
.legal section + section { border-top: 1px solid var(--line); margin-top: 32px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.6rem); color: var(--teal); }
.legal h2 { font-size: 1.3rem; margin-top: 1.4em; }
.legal p, .legal li { color: var(--ink-2); }
.legal a { color: var(--teal); font-weight: 600; }
.legal ul { padding-left: 1.2em; display: grid; gap: 8px; }
.legal-foot { padding-block: 8px 28px; }

/* ---------- Responsive ---------- */
@media (min-width: 1024px) {
  .floating-cart { display: none !important; }
  .toast { bottom: 32px; }
}
@media (min-width: 1024px) and (max-width: 1180px) {
  .brand img { height: 36px; }
  .help-btn span { display: none; }
  .help-btn { width: 44px; padding: 0; justify-content: center; }
  .topnav a { padding-inline: 10px; }
  .topnav a::after { left: 10px; right: 10px; }
}
@media (max-width: 1023px) {
  .topnav { display: none; }
  .menu-btn { display: grid; }
  .catalog-layout { grid-template-columns: minmax(0, 1fr); }
  .order-aside { display: none; }
  body:has(.floating-cart:not([hidden])) .footer { padding-bottom: 110px; }
  .club-in, .biz-in, .about-in { grid-template-columns: minmax(0, 1fr); }
  .biz-photo img { min-height: 0; aspect-ratio: 16 / 10; }
  .gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .gallery img:nth-child(2), .gallery img:nth-child(4) { translate: none; }

  /* Sheets slide up from the bottom edge */
  .sheet, .cart-sheet { width: min(560px, 100vw); margin: auto auto 0; }
  .sheet-inner { border-radius: 28px 28px 0 0; max-height: 92dvh; }
  .sheet[open] .sheet-inner { animation: sheet-up .3s var(--ease-calm); }
  .sheet.closing .sheet-inner { animation: sheet-down .2s ease-in forwards; }
  .grip { display: block; position: absolute; z-index: 4; left: 50%; top: 9px; width: 40px; height: 4px; margin-left: -20px; border-radius: 2px; background: rgba(30, 40, 34, .2); }
  .sheet-scroll > img + .sheet-body { padding-top: 20px; }
  .cart-sheet .cs-head { padding-top: 28px; }
  .cart-sheet .sheet-inner { max-height: 90dvh; }
  .addr-sheet .sheet-inner { min-height: 60dvh; }
}
@keyframes sheet-up { from { opacity: 0; transform: translateY(28px); } }
@keyframes sheet-down { to { opacity: 0; transform: translateY(20px); } }
@media (max-width: 899px) {
  .co-body { grid-template-columns: minmax(0, 560px); gap: 16px; padding-top: 16px; }
  .co-summary { order: -1; }
  .co-sum-box { position: static; }
  .co-sum-box summary { font-size: 1.05rem; }
  .co-sum-box:not([open]) { padding-bottom: 4px; }
  .co-sum-box summary::after { content: ''; width: 8px; height: 8px; border: solid var(--muted); border-width: 0 2px 2px 0; transform: rotate(45deg); margin: -4px 0 0 10px; }
  .co-sum-box[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
  .co-sum-box summary strong { margin-left: auto; }
  .co-secure { display: none; }
}
@media (min-width: 900px) {
  .co-sum-box summary { pointer-events: none; }
  .co-sum-box summary strong { display: none; }
}
@media (max-width: 860px) {
  .topbar-in { min-height: 60px; padding-block: 8px; gap: 10px; }
  .brand img { height: 32px; }
  .help-btn span { display: none; }
  .help-btn { width: 44px; padding: 0; justify-content: center; }
  .help-btn svg { width: 21px; height: 21px; }
  .loc-chip { display: none; }
  .loc-bar { display: flex; align-items: center; gap: 8px; width: 100%; padding: 9px var(--gutter); border: 0; border-top: 1px solid var(--line); background: var(--cream-2); color: var(--ink-2); font-size: .86rem; cursor: pointer; text-align: left; }
  .loc-bar svg { width: 18px; height: 18px; color: var(--gold-2); flex: none; }
  .loc-bar span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .loc-bar b { color: var(--teal); font-weight: 600; }
  .loc-bar .chev { color: var(--muted); }
  .cart-btn { padding: 0 6px 0 11px; }
  .cart-label { display: none; }
  .hero-bg { width: 100%; object-position: 42% 20%; -webkit-mask-image: none; mask-image: none; }
  .hero::after { background: linear-gradient(0deg, var(--teal) 0, rgba(39, 69, 54, .94) 32%, rgba(39, 69, 54, .5) 58%, rgba(39, 69, 54, 0) 82%); }
  .hero-in { min-height: max(520px, calc(100svh - var(--topbar-h))); padding-block: 40px calc(28px + env(safe-area-inset-bottom)); }
  .hero-title { font-size: clamp(2.5rem, 10.6vw, 3.6rem); margin-bottom: 28px; }
  .gifts { padding-top: 56px; }
  .gift-hero { grid-template-columns: minmax(0, 1fr); }
  .gh-photo { min-height: 0; aspect-ratio: 4 / 3; }
  .grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .chips { margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
  .section-head { margin-bottom: 28px; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-in { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .footer-brand { grid-column: 1 / -1; }
  .co-progress em { display: none; }
  .promo-in { grid-template-columns: minmax(0, 1fr); }
  .promo-img { height: 160px; }
  .promo-body { padding: 24px 22px 22px; }
  .promo .x { background: rgba(255, 255, 255, .92); }
}
@media (max-width: 640px) {
  .card { grid-template-columns: minmax(0, 1fr) 104px; gap: 12px; padding: 12px 12px 12px 14px; }
  .card h4 { font-size: 1rem; }
  .card .desc { font-size: .84rem; }
  .hero-foot { width: 100%; gap: 10px; }
  .hero-foot > .btn, .again { width: 100%; }
  .gh-text { padding: 24px 20px 26px; }
  .invite { min-width: 0; width: 100%; }
  .club-look { flex-direction: column; border-radius: 20px; }
  .club-look input { padding: 12px 14px; }
  .stamp-card { padding: 20px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .sheet, .cart-sheet { width: 100vw; }
  .co-logo { display: none; }
  .co-progress { margin-left: auto; }
  .co-next { min-width: 0; flex: 1; }
  .pill-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .biz-photo img { aspect-ratio: 4 / 3; }
  .cal { width: min(292px, calc(100vw - 2 * var(--gutter) - 40px)); }
  .done-club { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 400px) {
  .choice span { padding: 12px; }
  .hero-title { font-size: 2.35rem; }
  .brand img { height: 30px; }
  .footer-in { grid-template-columns: minmax(0, 1fr); }
}
@media (hover: none) { .card:hover { transform: none; box-shadow: none; border-color: var(--line); } .card:hover .media img { transform: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .a-up, .js .a-rise, .js [data-reveal] { opacity: 1; transform: none; }
  .js .a-line { transform: none; }
}

/* ---------- Landing pages (one per search) ---------- */
.lp-top { display: flex; justify-content: space-between; }
.lp-top .top-actions { display: flex; align-items: center; gap: 8px; }
.lp-hero { background: var(--teal); color: #cfdccf; }
.lp-hero-in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; padding-block: clamp(36px, 6vw, 72px); }
.lp-hero h1 { font-size: clamp(2.6rem, 5.4vw, 4.4rem); color: var(--cream); margin-bottom: 18px; }
.lp-hero h1 em { color: var(--gold); }
.lp-hero .lead { margin-bottom: 26px; }
.crumbs { font-size: .84rem; margin-bottom: 18px; color: #a9bdab; }
.crumbs a { color: #cfdccf; }
.lp-points { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .9rem; }
.lp-points li::before { content: '✓'; color: var(--gold); font-weight: 700; margin-right: 6px; }
.lp-hero-img img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 28px; box-shadow: 0 30px 60px rgba(16, 32, 24, .25); }
.lp-section { padding-block: clamp(48px, 7vw, 88px) 0; }
.lp-section > h2 + .muted { margin-top: -6px; margin-bottom: 26px; }
.lp-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.lp-card { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; text-decoration: none; color: var(--ink); transition: box-shadow .3s var(--ease-calm), border-color .3s; }
.lp-card:hover { border-color: transparent; box-shadow: var(--shadow); }
.lp-card img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.lp-card-body { display: grid; gap: 4px; padding: 14px 16px 16px; }
.lp-card-body b { font-size: 1.02rem; }
.lp-card-body > small { color: var(--muted); font-size: .84rem; line-height: 1.4; }
.lp-price { font-weight: 700; color: var(--teal); margin-top: 4px; }
.lp-price small { font-weight: 500; color: var(--muted); }
.lp-text { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 56px; }
.lp-text h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.lp-text p { color: var(--ink-2); }
.lp-steps { padding-left: 1.2em; margin: 0 0 22px; display: grid; gap: 8px; }
.lp-tiers { width: 100%; border-collapse: collapse; font-size: .92rem; background: var(--paper); border-radius: 16px; overflow: hidden; }
.lp-tiers th, .lp-tiers td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.lp-tiers th { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.lp-note { font-size: .9rem; color: var(--muted); }
.lp-more ul { list-style: none; padding: 0; margin: 0 0 clamp(48px, 7vw, 88px); display: flex; flex-wrap: wrap; gap: 10px; }
.lp-more a { display: inline-block; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); color: var(--teal); font-weight: 600; text-decoration: none; }
.lp-more a:hover { border-color: var(--teal); }
.lp .faq-list { max-width: 760px; }
@media (max-width: 1023px) {
  .lp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .lp-hero-in { grid-template-columns: minmax(0, 1fr); }
  .lp-hero-img { order: -1; }
  .lp-hero-img img { aspect-ratio: 16 / 10; border-radius: 20px; }
  .lp-text { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .lp-top .help-btn span { display: none; }
  .lp-top .help-btn { width: 44px; padding: 0; justify-content: center; }
}
@media (max-width: 640px) {
  .lp-tiers td:nth-child(3), .lp-tiers th:nth-child(3) { display: none; }
  .lp-hero .hero-cta { flex-direction: column; }
  .lp-hero .hero-cta .btn { width: 100%; }
}
