/* presents.pk: one stylesheet, no external fonts or frameworks. */
:root {
  --bg: #fdf8f3;
  --surface: #ffffff;
  --surface-2: #f7ede6;
  --ink: #241a1f;
  --muted: #6d5f66;
  --line: #eadcd3;
  --brand: #8a2846;
  --brand-ink: #ffffff;
  --brand-soft: #f6e3e8;
  --accent: #d69a2d;
  --accent-soft: #fbefd8;
  --ok: #1d7a4b;
  --ok-soft: #e4f4ea;
  --bad: #b3362c;
  --bad-soft: #fbe9e6;
  --wa: #1f9d55;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(36, 26, 31, .06), 0 8px 28px rgba(36, 26, 31, .07);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #17121a; --surface: #201922; --surface-2: #2a2029; --ink: #f1e9ec; --muted: #b3a3aa; --line: #3a2e37;
    --brand: #f08aa8; --brand-ink: #2a0f19; --brand-soft: #3a2230; --accent: #f0bf62; --accent-soft: #3a2f1c;
    --ok: #63c993; --ok-soft: #173126; --bad: #f08176; --bad-soft: #3a1d1b;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 28px rgba(0, 0, 0, .3);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #17121a; --surface: #201922; --surface-2: #2a2029; --ink: #f1e9ec; --muted: #b3a3aa; --line: #3a2e37;
  --brand: #f08aa8; --brand-ink: #2a0f19; --brand-soft: #3a2230; --accent: #f0bf62; --accent-soft: #3a2f1c;
  --ok: #63c993; --ok-soft: #173126; --bad: #f08176; --bad-soft: #3a1d1b; color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.015em; }
h1 { font-size: clamp(1.9rem, 4.5vw, 2.8rem); }
h2 { font-size: clamp(1.35rem, 3vw, 1.75rem); }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
a { color: var(--brand); }
img, svg { max-width: 100%; }
[hidden] { display: none !important; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.center-row { justify-content: center; }
.muted { color: var(--muted); }
.fine { color: var(--muted); font-size: .86rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -9999px; }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; font-weight: 700; color: var(--brand); margin-bottom: .6em; }
.eyebrow a { text-decoration: none; }
.lede { font-size: 1.12rem; color: var(--muted); }

/* Header & footer */
.site-header { border-bottom: 1px solid var(--line); background: var(--surface); position: sticky; top: 0; z-index: 10; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 1.25rem; letter-spacing: -.02em; }
.brand-mark { width: 30px; height: 30px; color: var(--brand); }
.brand-dot { color: var(--brand); }
.site-nav { display: flex; align-items: center; gap: 20px; font-size: .95rem; }
.site-nav a { color: var(--muted); text-decoration: none; }
.site-nav a:hover { color: var(--ink); }
.basket-link { display: inline-flex; align-items: center; gap: 6px; color: var(--ink) !important; font-weight: 600; }
.basket-link svg { width: 22px; height: 22px; }
.badge { background: var(--brand); color: var(--brand-ink); border-radius: 999px; font-size: .75rem; min-width: 20px; height: 20px; display: inline-grid; place-items: center; padding: 0 6px; }
@media (max-width: 1080px) { .site-nav { gap: 14px; font-size: .9rem; } }
@media (max-width: 980px) { .site-nav > a:nth-child(4), .site-nav > a:nth-child(5) { display: none; } }
@media (max-width: 860px) {
  .site-nav > a:not(.basket-link):not(.btn):nth-child(n+3) { display: none; }
  .basket-link span:not(.badge) { display: none; }
}
.site-nav a.btn { color: var(--brand-ink); }
@media (max-width: 560px) { .site-nav-soon > a:nth-child(2) { display: none; } }
.site-footer { border-top: 1px solid var(--line); padding: 36px 0 90px; margin-top: 24px; color: var(--muted); font-size: .9rem; background: var(--surface); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 24px; margin-bottom: 20px; }
.footer-grid a { display: block; color: var(--muted); text-decoration: none; padding: 3px 0; }
.footer-grid a:hover { color: var(--ink); }
.footer-h { font-weight: 700; color: var(--ink); margin-bottom: .4em; }
.wa-float { position: fixed; right: 18px; bottom: 18px; width: 56px; height: 56px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow); z-index: 20; }
.wa-float svg { width: 30px; height: 30px; }

/* Buttons & forms */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px;
  border-radius: 999px; border: 1px solid transparent; font: inherit; font-weight: 650; text-decoration: none;
  cursor: pointer; background: var(--surface-2); color: var(--ink);
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: var(--brand-ink); }
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--muted); }
.btn-small { min-height: 36px; padding: 0 16px; font-size: .9rem; background: var(--brand); color: var(--brand-ink); }
.btn-large { min-height: 54px; padding: 0 28px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { filter: brightness(1.08); }
.link-btn { background: none; border: 0; color: var(--muted); font-size: 1.4rem; cursor: pointer; padding: 4px 8px; line-height: 1; }
.link-btn:hover { color: var(--bad); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.4em 0; }
input:focus-visible, select:focus-visible, textarea:focus-visible, .btn:focus-visible, summary:focus-visible, a:focus-visible, .link-btn:focus-visible {
  outline: 3px solid var(--accent); outline-offset: 2px;
}

fieldset { border: 0; padding: 0; margin: 0 0 28px; }
legend { font-weight: 750; font-size: 1.2rem; margin-bottom: 8px; }
.field-wrap { margin-bottom: 14px; }
.field-label { display: block; font-weight: 600; margin-bottom: 6px; font-size: .95rem; }
.field {
  width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px;
  background: var(--surface); color: var(--ink); font: inherit;
}
textarea.field { min-height: 0; resize: vertical; }
.field.qty { width: auto; min-width: 84px; }
.hint { color: var(--muted); font-size: .86rem; margin: 6px 0 0; }
.hint:empty { display: none; }
.field-error { color: var(--bad); font-size: .9rem; margin: 6px 0 0; font-weight: 600; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; margin: 6px 0 14px; cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--brand); }

.notice { border-radius: 10px; padding: 12px 16px; font-size: .95rem; }
.notice p:last-child { margin: 0; }
.notice-ok { background: var(--ok-soft); color: var(--ok); }
.notice-bad { background: var(--bad-soft); color: var(--bad); }
.notice-express { background: var(--accent-soft); color: var(--ink); border-left: 4px solid var(--accent); }

/* Sections */
.section { padding: 56px 0; }
.section-alt { background: var(--surface-2); }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 20px; }
.section-head h2 { margin: 0; }
.split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; } }
.note-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.empty { text-align: center; padding: 40px 20px; background: var(--surface); border: 1px dashed var(--line); border-radius: var(--radius); }
.empty .btn { margin: 6px; }

/* Hero */
.hero { padding: 56px 0 64px; background: radial-gradient(1200px 400px at 80% 0%, var(--brand-soft), transparent 70%); }
.hero-inner { display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; align-items: center; }
.hl { color: var(--brand); }
.trust-row { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--muted); font-size: .92rem; }
.trust-row li::before { content: "✓ "; color: var(--ok); font-weight: 800; }
.trust-row strong { color: var(--ink); }
.phone { background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: 18px; box-shadow: var(--shadow); max-width: 340px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.msg { padding: 10px 14px; border-radius: 16px; font-size: .9rem; max-width: 88%; }
.msg-in { background: var(--surface-2); align-self: flex-start; border-bottom-left-radius: 4px; }
.msg-out { background: #d9fdd3; color: #1b2a1d; align-self: flex-end; border-bottom-right-radius: 4px; }
.msg-photo { padding: 0; overflow: hidden; align-self: flex-start; width: 70%; }
.msg-photo svg { display: block; width: 100%; height: auto; }
@media (max-width: 800px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { order: 2; }
}

/* Product cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; }
@media (max-width: 520px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.card-media, .product-media, .line-media { position: relative; display: block; aspect-ratio: 4 / 3; background: var(--surface-2); color: var(--brand); }
.card-media img, .product-media img, .line-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.placeholder { width: 100%; height: 100%; display: block; padding: 12%; }
.cat-flowers, .cat-keepsakes { background: var(--brand-soft); }
.cat-sweets, .cat-cakes { background: var(--accent-soft); }
.tag { position: absolute; left: 10px; top: 10px; font-size: .75rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.tag-express { background: var(--accent); color: #2a1a00; }
.tag-out { background: var(--surface); color: var(--muted); }
.card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.card-title { font-size: 1rem; margin: 0 0 4px; }
.card-title a { color: var(--ink); text-decoration: none; }
.card-title a:hover { color: var(--brand); }
.card-tagline { color: var(--muted); font-size: .88rem; margin: 0 0 10px; }
.card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.card-foot form { margin: 0; }
.price { font-weight: 750; }
.price-big { font-size: 1.6rem; color: var(--brand); }
@media (max-width: 520px) {
  .card-body { padding: 10px 12px 12px; }
  .card-tagline { display: none; }
  .card-foot { flex-direction: column; align-items: stretch; }
  .card-foot .btn { width: 100%; }
}

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0; }
.chip { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); text-decoration: none; font-size: .9rem; }
.chip:hover { border-color: var(--muted); }
.chip.on { background: var(--brand); color: var(--brand-ink); border-color: var(--brand); }
.chip-express:not(.on) { border-color: var(--accent); }

/* Product page */
.product { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.product-media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 1; }
@media (max-width: 800px) { .product { grid-template-columns: 1fr; gap: 24px; } }
.facts { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 8px; font-size: .95rem; }
.facts li { padding-left: 26px; position: relative; }
.facts li::before { content: "•"; position: absolute; left: 8px; color: var(--brand); font-weight: 800; }
.fact-express::before { content: "⚡" !important; left: 2px !important; }
.fact-out { color: var(--bad); }
.add-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.add-row .btn { flex: 1; }
.prose { max-width: 70ch; }
.prose h2 { margin-top: 1.6em; }

/* Basket, checkout & summary */
.lines { list-style: none; padding: 0; margin: 0 0 20px; }
.line { display: grid; grid-template-columns: 72px 1fr auto auto auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.line-media { width: 72px; border-radius: 10px; overflow: hidden; aspect-ratio: 1; }
.line-info { display: flex; flex-direction: column; min-width: 0; }
.line-info a { color: var(--ink); text-decoration: none; }
.line-info .muted { font-size: .86rem; }
.line-total { font-weight: 650; white-space: nowrap; }
@media (max-width: 560px) {
  .line { grid-template-columns: 56px 1fr auto; grid-template-areas: "m i x" "m q t"; gap: 8px 12px; }
  .line-media { width: 56px; grid-area: m; }
  .line-info { grid-area: i; }
  .line .qty { grid-area: q; justify-self: start; }
  .line-total { grid-area: t; }
  .line .link-btn { grid-area: x; }
}
.summary { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin: 20px 0; }
.summary h2 { font-size: 1.2rem; }
.summary-row { display: flex; justify-content: space-between; gap: 12px; margin: 0 0 8px; }
.summary-total { border-top: 1px solid var(--line); padding-top: 10px; font-size: 1.15rem; }
.mini-lines { list-style: none; padding: 0; margin: 0 0 14px; font-size: .92rem; }
.mini-lines li { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; }
.checkout { display: grid; grid-template-columns: 1fr 360px; gap: 40px; align-items: start; }
.summary-side { position: sticky; top: 84px; margin-top: 0; }
@media (max-width: 860px) {
  .checkout { grid-template-columns: 1fr; }
  .summary-side { position: static; order: -1; }
}

/* Order page */
.tracker { list-style: none; padding: 0; margin: 28px 0; display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: step; }
.tracker li { position: relative; text-align: center; font-size: .82rem; color: var(--muted); padding-top: 34px; }
.tracker li::before { counter-increment: step; content: counter(step); position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); border: 2px solid var(--line); font-weight: 700; z-index: 1; }
.tracker li::after { content: ""; position: absolute; top: 12px; left: -50%; width: 100%; height: 2px; background: var(--line); }
.tracker li:first-child::after { display: none; }
.tracker li.done { color: var(--ink); }
.tracker li.done::before { content: "✓"; background: var(--ok); border-color: var(--ok); color: #fff; }
.tracker li.done::after { background: var(--ok); }
.tracker li.current { font-weight: 700; }
.pay { background: var(--surface); border: 2px solid var(--brand); border-radius: var(--radius); padding: 22px; margin: 24px 0; }
.pay-amount { font-size: 1.1rem; }
.ref { color: var(--brand); letter-spacing: .04em; }
.pay-method { border-top: 1px solid var(--line); padding-top: 14px; margin-top: 14px; }
.pay-method h3 { margin-bottom: 4px; }
.pay-details { white-space: pre-wrap; font: inherit; font-family: ui-monospace, Consolas, monospace; font-size: .95rem; background: var(--surface-2); padding: 12px 14px; border-radius: 10px; margin: 8px 0 0; user-select: all; }
.proof { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin: 24px 0; }
.proof figure { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.proof img { display: block; width: 100%; height: auto; }
.proof figcaption { padding: 10px 14px; font-size: .9rem; font-weight: 600; }
.details { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin: 0 0 18px; }
.details dt { color: var(--muted); }
.details dd { margin: 0; }
.card-msg { font-style: italic; }

/* Content */
.steps { list-style: none; padding: 0; margin: 28px 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.steps li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.step-n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: var(--brand-ink); font-weight: 800; margin-bottom: 12px; }
.steps p { color: var(--muted); font-size: .95rem; margin: 0; }
.benefits { padding-left: 1.2em; }
.benefits li { margin-bottom: 10px; }
.plain-steps li { margin-bottom: 6px; }
.contact-form { margin-top: 32px; }
.faq { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq summary { font-weight: 650; cursor: pointer; }
.faq p { margin: 10px 0 0; color: var(--muted); }
.table { width: 100%; border-collapse: collapse; margin: 0 0 1em; font-size: .95rem; }
.table th, .table td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); }
.table th { color: var(--muted); font-weight: 600; }

/* Any store */
.steps-compact li { padding: 18px; }
.store-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.store { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: flex; flex-direction: column; justify-content: space-between; gap: 12px; }
.store h3 { margin-bottom: 4px; }
.store .eyebrow { font-size: .7rem; margin-bottom: .4em; }
.store-note { margin-top: 28px; }
.contact-form .notice { margin: 8px 0 18px; }
.store p { margin: 0; font-size: .9rem; }
.store-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: .9rem; }
.line-store { display: grid; place-items: center; color: var(--brand); background: var(--brand-soft); }
.line-store svg { width: 60%; height: 60%; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .two-col { grid-template-columns: 1fr; } }
.any-store-band { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 28px; margin-top: 32px; }
.any-store-band h3 { margin: 0 0 4px; font-size: 1.2rem; }
.any-store-band p { margin: 0; color: var(--muted); }

/* Synced store products */
.search { display: flex; gap: 10px; margin: 8px 0 20px; max-width: 640px; }
.search .field { flex: 1; }
.card-store { font-size: .78rem; font-weight: 700; color: var(--brand); text-transform: uppercase; letter-spacing: .04em; margin: 0 0 4px; }
.pager { display: flex; align-items: center; justify-content: center; gap: 16px; margin: 28px 0 0; flex-wrap: wrap; }

/* ---------- Motion ---------- */
/* Everything below is decoration: content is fully visible without JS, and motion is off for visitors who ask
   their device for less of it. */
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes chat-in { from { opacity: 0; transform: translateY(10px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes typing-out { to { opacity: 0; height: 0; padding-top: 0; padding-bottom: 0; margin-top: -10px; } }
@keyframes dot { 0%, 80%, 100% { transform: translateY(0); opacity: .4; } 40% { transform: translateY(-4px); opacity: 1; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes wiggle { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-4deg); } 75% { transform: rotate(4deg); } }
@keyframes twinkle { 0%, 100% { opacity: 0; transform: scale(.4); } 50% { opacity: .9; transform: scale(1); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes shine { 0%, 70% { transform: translateX(-120%) skewX(-20deg); } 100% { transform: translateX(260%) skewX(-20deg); } }
@keyframes pop { 0% { transform: scale(1); } 40% { transform: scale(1.5); } 100% { transform: scale(1); } }

.msg-typing { display: inline-flex; gap: 4px; align-self: flex-start; background: var(--surface-2); padding: 12px 14px; }
.msg-typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); }
.hero { position: relative; overflow: hidden; }
.hero-sparkles i { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); opacity: 0; }
.hero-sparkles i:nth-child(1) { top: 14%; left: 54%; }
.hero-sparkles i:nth-child(2) { top: 70%; left: 48%; width: 6px; height: 6px; background: var(--brand); }
.hero-sparkles i:nth-child(3) { top: 22%; right: 8%; }
.hero-sparkles i:nth-child(4) { bottom: 12%; right: 30%; width: 5px; height: 5px; }
.hero-sparkles i:nth-child(5) { top: 8%; left: 20%; width: 5px; height: 5px; background: var(--brand); }
.hero-sparkles i:nth-child(6) { bottom: 20%; left: 6%; }
.gift-float, .gift-bow { transform-box: fill-box; transform-origin: center; }

@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--d, 0) * 110ms); }
  .chat { animation: chat-in .45s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(.5s + var(--d, 0) * .9s); }
  .msg-typing { animation: chat-in .3s both, typing-out .3s forwards; animation-delay: calc(.5s + 3 * .9s), calc(.5s + 3.85 * .9s); }
  .msg-typing span { animation: dot 1s infinite; }
  .msg-typing span:nth-child(2) { animation-delay: .15s; }
  .msg-typing span:nth-child(3) { animation-delay: .3s; }
  .gift-float { animation: float 3.2s ease-in-out infinite; }
  .gift-bow { animation: wiggle 2.4s ease-in-out infinite; }
  .hero-sparkles i { animation: twinkle 3.6s ease-in-out infinite; }
  .hero-sparkles i:nth-child(2n) { animation-duration: 4.4s; animation-delay: 1.2s; }
  .hero-sparkles i:nth-child(3n) { animation-delay: 2.1s; }
  .marquee-track { animation: marquee 45s linear infinite; }
  .marquee:hover .marquee-track { animation-play-state: paused; }
  .btn-shine { position: relative; overflow: hidden; }
  .btn-shine::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 40%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .35), transparent); animation: shine 4.5s ease-in-out infinite 1.5s; }
  .badge.pop { animation: pop .6s cubic-bezier(.3, 1.6, .5, 1) .2s; }
  .js-reveal [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .65s cubic-bezier(.2, .7, .2, 1), transform .65s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--d, 0) * 80ms); }
  .js-reveal [data-reveal].in { opacity: 1; transform: none; }
  .card, .occasion, .promise, .guide-card, .store, .mini-card { transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
  .card:hover, .guide-card:hover, .store:hover, .mini-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
  .card-media img, .guide-media img { transition: transform .5s ease; }
  .card:hover .card-media img, .guide-card:hover .guide-media img { transform: scale(1.05); }
  .card:hover .placeholder { animation: float 1.6s ease-in-out infinite; }
  .occasion:hover .occasion-icon { animation: wiggle .6s ease-in-out; }
  .btn { transition: transform .15s ease, filter .15s ease, background-color .2s ease, border-color .2s ease; }
  .btn:hover { transform: translateY(-1px); }
  .site-header { transition: box-shadow .25s ease; }
}
.site-header.scrolled { box-shadow: 0 6px 20px rgba(36, 26, 31, .08); }
.btn.adding { pointer-events: none; opacity: .75; }

/* ---------- Home sections ---------- */
.section-tight { padding-top: 8px; }
.from-strip { border-block: 1px solid var(--line); background: var(--surface); padding: 14px 0; display: flex; align-items: center; gap: 18px; overflow: hidden; }
.from-label { margin: 0 0 0 max(16px, calc((100vw - 1120px) / 2 + 16px)); font-size: .8rem; font-weight: 700; color: var(--brand); text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; }
.marquee { overflow: hidden; flex: 1; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee-track { display: flex; width: max-content; }
.from-item { padding: 0 16px; white-space: nowrap; color: var(--ink); font-size: .95rem; font-weight: 500; }
.from-item::before { content: "\2665"; color: var(--brand); margin-right: 16px; font-size: .8rem; }
@media (max-width: 640px) { .from-label { display: none; } .occasion { font-size: .8rem; } .occasion-icon { font-size: 1.6rem; } }

.occasions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
@media (min-width: 900px) { .occasions { grid-template-columns: repeat(8, 1fr); } }
.occasion { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 18px 6px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 600; font-size: .92rem; text-align: center; }
.occasion:hover { border-color: var(--brand); }
.occasion-icon { font-size: 2rem; line-height: 1; display: inline-block; }
.chips-occasion { margin-top: -10px; }

.any-store-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 36px; align-items: center; background: linear-gradient(135deg, var(--brand-soft), var(--accent-soft)); border-radius: 22px; padding: 40px; }
@media (max-width: 800px) { .any-store-hero { grid-template-columns: 1fr; padding: 26px; } }
.mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mini-card { background: var(--surface); border-radius: 12px; overflow: hidden; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; border: 1px solid var(--line); }
.mini-card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.mini-title { font-size: .85rem; font-weight: 600; padding: 8px 10px 0; }
.mini-meta { font-size: .78rem; color: var(--muted); padding: 2px 10px 10px; }
.shop-illustration svg { width: 100%; max-width: 340px; display: block; margin: 0 auto; }

.promises { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; margin-top: 24px; }
.promise { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.promise-icon { font-size: 1.8rem; display: block; margin-bottom: 10px; }
.promise p { color: var(--muted); font-size: .95rem; margin: 0; }

.cta-band { background: linear-gradient(135deg, #8a2846, #5e1730); color: #fff; padding: 64px 0; margin-bottom: -24px; }
.cta-band .lede { color: rgba(255, 255, 255, .85); }
.btn-light { background: #fff; color: #5e1730; }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .6); }
.btn-outline-light:hover { border-color: #fff; }

/* ---------- Gift guides ---------- */
.guide-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.grid > .reveal-wrap, .guide-grid > .reveal-wrap { display: flex; min-width: 0; }
.reveal-wrap > * { flex: 1; min-width: 0; }
.guide-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.guide-media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: linear-gradient(135deg, var(--brand-soft), var(--accent-soft)); }
.guide-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.guide-media-plain { display: grid; place-items: center; }
.guide-emoji { font-size: 3rem; }
.guide-body { padding: 16px 18px 20px; }
.guide-body h3 { margin-bottom: 6px; }
.guide-body h3 a { color: var(--ink); text-decoration: none; }
.guide-body h3 a:hover { color: var(--brand); }
.guide-body .muted { font-size: .92rem; margin: 0; }
.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: 16px; }
.crumbs a { color: var(--muted); }
.byline { color: var(--muted); font-size: .9rem; }
.guide-cover { width: 100%; border-radius: var(--radius); margin: 8px 0 24px; }
.article { font-size: 1.05rem; }
.article h2 { font-size: 1.4rem; margin-top: 1.8em; }
.article h3 { margin-top: 1.4em; }
.article li { margin-bottom: .4em; }
.related-h { margin-top: 40px; }

/* ---------- Currency ---------- */
.cur select { font: inherit; font-size: .82rem; font-weight: 600; color: var(--ink); background: var(--surface-2); border: 1px solid var(--line); border-radius: 999px; padding: 4px 8px; cursor: pointer; }
.approx { display: block; font-size: .75rem; font-weight: 500; color: var(--muted); }
.price-big .approx { display: inline; font-size: .9rem; }
.pay-amount .approx { display: inline; }
.approx-total { text-align: right; margin: -4px 0 8px; }
.approx-row { color: var(--muted); font-size: .92rem; }

/* ---------- Express countdown ---------- */
.countdown { display: inline-flex; align-items: flex-start; gap: 10px; background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); color: var(--ink); border-radius: 12px; padding: 10px 14px; font-size: .92rem; margin: 0 0 16px; max-width: 640px; }
.countdown-dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--ok); margin-top: 6px; box-shadow: 0 0 0 0 color-mix(in srgb, var(--ok) 60%, transparent); }
.countdown.soon .countdown-dot { background: var(--accent); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--ok) 55%, transparent); } 100% { box-shadow: 0 0 0 10px transparent; } }
@media (prefers-reduced-motion: no-preference) { .countdown-dot { animation: pulse 1.8s ease-out infinite; } }
.hero .countdown { margin-top: 4px; }

/* ---------- Share ---------- */
.share { margin: 28px 0; }
.share-title { font-weight: 650; margin-bottom: 10px; }
.share-row { display: flex; flex-wrap: wrap; gap: 10px; }
.btn-share { min-height: 42px; padding: 0 18px; font-size: .92rem; }
.btn-share svg { width: 18px; height: 18px; }
.idea-box { border-top: 1px solid var(--line); margin-top: 22px; padding-top: 18px; }
.idea-box .share { margin: 14px 0 0; }

/* ---------- Promos (home) ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 800px) { .duo { grid-template-columns: 1fr; } }
.promo { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; gap: 6px 16px; align-items: start; padding: 24px; border-radius: 18px; text-decoration: none; color: var(--ink); border: 1px solid var(--line); }
.promo-finder { background: linear-gradient(135deg, var(--accent-soft), var(--surface)); }
.promo-cards { background: linear-gradient(135deg, var(--brand-soft), var(--surface)); }
.promo-icon { font-size: 2.2rem; grid-row: span 2; }
.promo strong { display: block; font-size: 1.15rem; margin-bottom: 4px; }
.promo span span { color: var(--muted); font-size: .95rem; }
.promo-cta { grid-column: 2; color: var(--brand); font-weight: 650; }
@media (prefers-reduced-motion: no-preference) {
  .promo { transition: transform .25s ease, box-shadow .25s ease; }
  .promo:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
  .promo:hover .promo-icon { animation: wiggle .6s ease-in-out; }
}

/* ---------- Gift finder ---------- */
.finder-progress { height: 6px; background: var(--surface-2); border-radius: 999px; overflow: hidden; margin: 24px 0; }
.finder-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--brand), var(--accent)); transition: width .35s ease; }
.finder-step legend { font-size: 1.35rem; text-align: center; width: 100%; margin-bottom: 16px; }
.choices { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span { display: block; text-align: center; padding: 16px 12px; border-radius: 14px; border: 2px solid var(--line); background: var(--surface); font-weight: 600; transition: border-color .15s ease, background-color .15s ease, transform .15s ease; }
.choice input:checked + span { border-color: var(--brand); background: var(--brand-soft); }
.choice input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.choice:hover span { border-color: var(--muted); transform: translateY(-2px); }
.stepped .finder-step { display: none; }
.stepped .finder-step.active { display: block; animation: rise .35s ease both; }
.finder-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 24px; }
.finder-nav [data-submit] { margin-left: auto; }
.finder-answers { display: flex; flex-wrap: wrap; gap: 8px; }
.finder-answers .chip { margin: 0; }

/* ---------- E-cards ---------- */
.theme-night { --c1: #1d2a5b; --c2: #3b2a6b; --fg: #fdf3d8; --hl: #f0c45a; }
.theme-party { --c1: #ffd9e4; --c2: #ffe9b8; --fg: #3a1626; --hl: #c72b5c; }
.theme-bloom { --c1: #fde4ec; --c2: #e9f6e5; --fg: #3b1d2a; --hl: #b63a6a; }
.theme-gold { --c1: #6e1d38; --c2: #a8742a; --fg: #fff6e6; --hl: #ffd98a; }
.theme-soft { --c1: #e3f0ff; --c2: #fdeef6; --fg: #23324d; --hl: #5a6fd1; }
.design-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; margin: 28px 0 18px; }
.design-tile { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 26px 22px; border-radius: 18px; min-height: 180px; text-decoration: none; color: var(--fg); background: linear-gradient(135deg, var(--c1), var(--c2)); box-shadow: var(--shadow); }
.design-icon { font-size: 2.6rem; line-height: 1; }
.design-icon.big { font-size: 3.6rem; }
.design-label { font-size: 1.3rem; font-weight: 750; }
.design-cta { margin-top: auto; font-weight: 600; opacity: .85; }
@media (prefers-reduced-motion: no-preference) {
  .design-tile { transition: transform .25s ease; }
  .design-tile:hover { transform: translateY(-4px) rotate(-1deg); }
  .design-tile:hover .design-icon { animation: wiggle .6s ease-in-out; }
}

.card-maker { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: start; }
@media (max-width: 820px) { .card-maker { grid-template-columns: 1fr; } }
.card-preview, .ecard { color: var(--fg); background: linear-gradient(150deg, var(--c1), var(--c2)); border-radius: 20px; padding: 36px 30px; text-align: center; box-shadow: 0 18px 50px rgba(36, 26, 31, .18); position: relative; overflow: hidden; }
.card-preview { position: sticky; top: 90px; }
/* One column: the preview sits above the form instead of sticking (it would slide over the text below). */
@media (max-width: 820px) { .card-preview { position: relative; top: auto; } }
.card-headline { font-size: 1.9rem; font-weight: 800; color: var(--hl); margin: 12px 0 18px; font-family: Georgia, "Times New Roman", serif; font-style: italic; }
.card-to { font-weight: 600; text-align: left; }
.card-msg-preview, .card-msg-text { font-size: 1.1rem; line-height: 1.7; text-align: left; white-space: pre-line; min-height: 3em; }
.card-from { text-align: right; margin-top: 18px; }
.presets { display: grid; gap: 8px; margin: -4px 0 18px; }
.preset { text-align: left; font: inherit; font-size: .88rem; background: var(--surface); border: 1px dashed var(--line); border-radius: 10px; padding: 8px 12px; cursor: pointer; color: var(--ink); }
.preset:hover { border-color: var(--brand); }
.card-headline { overflow-wrap: anywhere; }
/* Custom card: title ideas as chips, and icon and colour pickers (radio buttons styled as tiles) */
.presets-row { display: flex; flex-wrap: wrap; }
.presets-row .preset { border-radius: 999px; padding: 6px 12px; }
.picker { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
.icon-picker, .theme-picker { display: flex; flex-wrap: wrap; gap: 8px; }
.icon-picker label, .theme-picker label { position: relative; }
.icon-picker input, .theme-picker input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.icon-picker span { display: grid; place-items: center; width: 44px; height: 44px; font-size: 1.5rem; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); cursor: pointer; }
.theme-picker label { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); cursor: pointer; font-size: .9rem; }
.swatch { width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(135deg, var(--c1), var(--c2)); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); }
.icon-picker input:checked + span, .icon-picker input:focus-visible + span,
.theme-picker input:checked + .swatch, .theme-picker input:focus-visible + .swatch { outline: 3px solid var(--brand); outline-offset: 2px; }
.theme-picker label:has(input:checked) { border-color: var(--brand); }

.card-stage { min-height: 70vh; }
.card-made { text-align: left; margin-bottom: 28px; }
.card-made .share { margin: 12px 0 0; }
.envelope { position: relative; max-width: 480px; margin: 0 auto 28px; }
.envelope-front { display: none; }
.envelope.closed .ecard { display: none; }
.envelope.closed .envelope-front {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; width: 100%; aspect-ratio: 3 / 2;
  border: 0; border-radius: 16px; cursor: pointer; font: inherit; color: #5e1730; position: relative; overflow: hidden;
  background: linear-gradient(160deg, #fbe9df, #f3d3c4); box-shadow: 0 18px 50px rgba(36, 26, 31, .2);
}
.envelope-flap { position: absolute; inset: 0 0 auto 0; height: 55%; background: linear-gradient(160deg, #f6dccd, #e9bfa9); clip-path: polygon(0 0, 100% 0, 50% 100%); }
.envelope-label { position: relative; margin-top: 30%; font-size: 1.3rem; font-weight: 700; font-family: Georgia, "Times New Roman", serif; font-style: italic; }
.envelope-seal { position: absolute; top: 42%; left: 50%; transform: translate(-50%, -50%); width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-size: 1.8rem; background: #8a2846; box-shadow: 0 4px 12px rgba(0, 0, 0, .2); }
.envelope-hint { position: relative; font-size: .85rem; opacity: .75; }
.card-after { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 8px; }
.ecard-confetti i { position: absolute; top: -10px; width: 8px; height: 14px; border-radius: 2px; background: var(--hl); opacity: 0; }
.ecard-confetti i:nth-child(odd) { background: #fff; }
.ecard-confetti i:nth-child(3n) { background: #f08aa8; }
@keyframes env-shake { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(-2deg); } 40% { transform: rotate(2deg); } 60% { transform: rotate(-1deg); } }
@keyframes card-out { from { opacity: 0; transform: translateY(40px) scale(.92); } to { opacity: 1; transform: none; } }
@keyframes confetti { 0% { opacity: 1; transform: translateY(0) rotate(0); } 100% { opacity: 0; transform: translateY(420px) rotate(540deg); } }
@media (prefers-reduced-motion: no-preference) {
  .envelope.closed .envelope-front { animation: env-shake 2.4s ease-in-out infinite 1s; }
  .envelope.opened .ecard { animation: card-out .7s cubic-bezier(.2, .8, .2, 1) both; }
  .envelope.opened .ecard-confetti i { animation: confetti 2.6s ease-in forwards; }
  .ecard-confetti i:nth-child(1) { left: 6%; animation-delay: .2s; } .ecard-confetti i:nth-child(2) { left: 14%; animation-delay: .5s; }
  .ecard-confetti i:nth-child(3) { left: 23%; animation-delay: .3s; } .ecard-confetti i:nth-child(4) { left: 31%; animation-delay: .7s; }
  .ecard-confetti i:nth-child(5) { left: 40%; animation-delay: .25s; } .ecard-confetti i:nth-child(6) { left: 49%; animation-delay: .6s; }
  .ecard-confetti i:nth-child(7) { left: 57%; animation-delay: .35s; } .ecard-confetti i:nth-child(8) { left: 66%; animation-delay: .8s; }
  .ecard-confetti i:nth-child(9) { left: 74%; animation-delay: .45s; } .ecard-confetti i:nth-child(10) { left: 82%; animation-delay: .3s; }
  .ecard-confetti i:nth-child(11) { left: 90%; animation-delay: .65s; } .ecard-confetti i:nth-child(12) { left: 96%; animation-delay: .4s; }
}

.message-ideas { padding-left: 1.2em; color: var(--muted); }
.message-ideas li { margin-bottom: 8px; font-style: italic; }

/* ---------- Send any gift (SHOP_OPEN off) ---------- */
.hero-caption { text-align: center; color: var(--muted); font-size: .85rem; margin: 10px 0 0; }
.soon-badge { display: inline-flex; align-items: center; gap: 8px; background: var(--accent-soft); color: var(--ink); border-radius: 999px; padding: 6px 14px; font-size: .85rem; font-weight: 650; }
.soon-badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }

/* ---------- Home page gift builder ---------- */
.hero-build { margin: 14px 0 0; font-size: .95rem; }
.hero-build a { color: var(--brand); font-weight: 650; text-decoration: none; border-bottom: 1px dashed currentColor; }
.builder-section { background: linear-gradient(180deg, var(--brand-soft), var(--bg) 70%); scroll-margin-top: 70px; }
.builder-lede { max-width: 640px; margin: 0 auto; }
.recipe { list-style: none; padding: 0; margin: 28px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: part; }
.recipe li { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px; }
.recipe li + li::before { content: "+"; position: absolute; left: -16px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: var(--brand); color: var(--brand-ink); font-weight: 800; font-size: .95rem; z-index: 1; }
.recipe h3 { margin: 10px 0 6px; font-size: 1.05rem; }
.recipe p { margin: 0; color: var(--muted); font-size: .95rem; }
.part-icon { font-size: 1.9rem; line-height: 1; }
@media (max-width: 820px) {
  .recipe { grid-template-columns: 1fr 1fr; }
  .recipe li:nth-child(3)::before { display: none; }
}
@media (max-width: 480px) {
  /* The intro stays a compact 2 x 2 so the first question is on screen; the result reads top to bottom. */
  .recipe { gap: 10px; }
  .recipe li { padding: 14px 12px; }
  .recipe li::before { display: none !important; }
  .recipe h3 { font-size: .95rem; margin: 6px 0 4px; }
  .recipe p { font-size: .85rem; }
  .part-icon { font-size: 1.5rem; }
  .recipe-result { grid-template-columns: 1fr; gap: 22px; }
  .recipe-result li { padding: 18px 16px; }
  .recipe-result li + li::before { display: grid !important; left: 50%; top: -17px; transform: translateX(-50%); }
  .recipe-result p { font-size: 1rem; }
}
.builder { max-width: 760px; margin: 8px auto 0; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 28px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.builder-top { display: flex; align-items: center; gap: 14px; }
.builder-top .finder-progress { flex: 1; margin: 0; }
.builder-count { font-size: .85rem; font-weight: 700; color: var(--muted); white-space: nowrap; }
.builder .finder-step { border: 0; padding: 0; margin: 20px 0 0; min-width: 0; }
.builder .choice em { font-style: normal; margin-right: 4px; }
.builder .finder-nav { margin-top: 16px; min-height: 44px; }
.builder-result .recipe { margin: 14px 0 22px; }
.builder-result .recipe p { color: var(--ink); font-size: 1rem; }
.recipe-result .part-card p { font-family: Georgia, "Times New Roman", serif; font-style: italic; }
.builder-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.builder-confetti { position: absolute; inset: 0; pointer-events: none; }
.builder-confetti i { position: absolute; top: -12px; left: var(--x); width: 8px; height: 14px; border-radius: 2px; background: var(--accent); opacity: 0; }
.builder-confetti i:nth-child(odd) { background: var(--brand); }
@media (prefers-reduced-motion: no-preference) {
  .builder-result.show .builder-confetti i { animation: confetti 2.2s ease-in var(--t) forwards; }
  .builder-result.show .recipe li { animation: rise .45s ease both; }
  .builder-result.show .recipe li:nth-child(2) { animation-delay: .12s; }
  .builder-result.show .recipe li:nth-child(3) { animation-delay: .24s; }
  .builder-result.show .recipe li:nth-child(4) { animation-delay: .36s; }
}
@media (max-width: 480px) {
  .builder { padding: 20px 16px; }
  .builder .choices { grid-template-columns: 1fr 1fr; gap: 8px; }
  .builder .choice span { padding: 12px 8px; font-size: .92rem; }
}

/* ---------- Home: coming up ---------- */
.coming { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.coming-tile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.coming-icon { font-size: 1.8rem; line-height: 1; }
.coming-tile h3 { margin: 8px 0 2px; font-size: 1.05rem; }
.coming-date { margin: 0; color: var(--muted); font-size: .9rem; }
.coming-count { margin: 8px 0 0; font-size: 1.15rem; color: var(--brand); }
.coming-by { margin: 2px 0 0; font-size: .85rem; color: var(--ink); }
.coming-links { margin: 10px 0 0; font-size: .9rem; font-weight: 600; display: flex; flex-wrap: wrap; gap: 4px 14px; }
.coming-links a { color: var(--brand); text-decoration: none; white-space: nowrap; }
@media (max-width: 820px) { .coming { grid-template-columns: 1fr 1fr; } }

/* ---------- Home: family gifts ---------- */
.group-band { display: grid; grid-template-columns: 1fr 1.1fr; gap: 36px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 32px; box-shadow: var(--shadow); }
.group-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.group-steps li { display: flex; gap: 14px; align-items: flex-start; }
.group-steps .step-n { flex: none; margin: 0; }
.group-steps h3 { margin: 4px 0 2px; font-size: 1rem; }
.group-steps p { margin: 0; color: var(--muted); font-size: .93rem; }
@media (max-width: 820px) { .group-band { grid-template-columns: 1fr; padding: 22px; gap: 22px; } }

/* ---------- Home: words helper ---------- */
.words { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 24px; box-shadow: var(--shadow); }
.words-pick { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 12px; }
.pill { position: relative; cursor: pointer; }
.pill input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.pill span { display: inline-block; padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: .9rem; font-weight: 600; }
.pill em { font-style: normal; }
.pill input:checked + span { border-color: var(--brand); background: var(--brand-soft); }
.pill input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.words-out { margin: 18px 0 20px; padding: 22px 24px; border-radius: 16px; background: var(--brand-soft); font-family: Georgia, "Times New Roman", serif; font-style: italic; font-size: 1.2rem; line-height: 1.6; text-align: center; min-height: 5em; display: grid; place-items: center; }
@media (prefers-reduced-motion: no-preference) { .words-out { transition: opacity .2s ease; } }
@media (max-width: 480px) { .words { padding: 18px 14px; } .words-out { font-size: 1.05rem; padding: 18px 16px; } }

/* ---------- Home and its own page: reminders ---------- */
.remind-wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: 36px; align-items: start; }
.remind-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.remind-grid > .field-wrap:nth-child(3) { grid-column: 1 / -1; }
.remind-date { display: grid; grid-template-columns: 1fr 2fr; gap: 8px; }
.remind-date select { min-width: 0; }
@media (max-width: 820px) { .remind-wrap { grid-template-columns: 1fr; gap: 12px; } }
@media (max-width: 560px) { .remind-grid { grid-template-columns: 1fr; } }

/* ---------- Joining a family gift ---------- */
.join-names { font-weight: 600; color: var(--ink); }
.join-form { margin-top: 20px; }
.invite-box { text-align: left; margin: 26px 0; padding: 22px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.invite-box h2 { font-size: 1.3rem; margin: 0 0 6px; }
.invite-box p { color: var(--muted); }

/* ---------- Contact form ---------- */
.contact-card { margin-top: 36px; padding: 26px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.contact-card h2 { margin: 0 0 4px; font-size: 1.35rem; }
.contact-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
@media (max-width: 560px) { .contact-pair { grid-template-columns: 1fr; } .contact-card { padding: 20px 16px; } }

.guide-link { color: var(--brand); font-weight: 650; text-decoration: none; white-space: nowrap; }

/* ---------- Tables in Gift Guides (e.g. the gift calendar) ---------- */
.article table { width: 100%; border-collapse: collapse; margin: 18px 0 24px; font-size: .95rem; display: block; overflow-x: auto; }
.article th, .article td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
@media (max-width: 560px) { .article table { display: table; font-size: .88rem; } .article th, .article td { padding: 8px 6px; } }
.article th { background: var(--surface-2); font-weight: 700; }
.article tr:nth-child(even) td { background: var(--surface); }
