/* =========================================================
   ABSOLUTE BROWNIES — "Love at first bite"  (v4, pinboard)
   A Pinterest-style moodboard: paper-dot background, pin cards with a
   "Save" chip, sticker sprinkles, handwritten accents, washi-tape ticker.
   Presentation only: every class / id / data-attribute used by
   index.html and script.js is kept.

   BUILD PROGRESS (4 steps)  — ALL DONE
   [x] STEP 1  tokens · base · buttons · header · hero · ticker   (v4)
   [x] STEP 2  collections · catalogue · product cards            (v4)
   [x] STEP 3  how to order · story · QR · CTA · footer           (v4)
   [x] STEP 4  product full-page view · buybar · snow · polish    (v4)
   ========================================================= */
@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@500;600;700&family=Fraunces:ital,opsz,wght@0,9..144,500;0,9..144,600;0,9..144,700;1,9..144,500;1,9..144,600&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
    --cocoa: #35201c;
    --cocoa-2: #4d2f29;
    --cocoa-deep: #271612;
    --cream: #fffaf5;
    --cream-2: #f8ede5;
    --blush: #fbe4e1;
    --blush-dk: #f0c4c0;
    --sky-soft: #e3f0f6;
    --teal: #4b95ae;
    --teal-dk: #2f7189;
    --rose: #e58f9a;
    --rose-dk: #b9566b;
    --butter: #fbeec3;
    --ink: #4a342f;
    --muted: #8a7570;
    --line: #eddcd4;

    --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
    --sans: 'Plus Jakarta Sans', system-ui, sans-serif;
    --script: 'Caveat', 'Segoe Script', cursive;

    --r: 24px;
    --soft: 0 18px 36px -22px rgba(53, 32, 28, .35);
    --lift: 0 28px 46px -24px rgba(53, 32, 28, .45);
    --dots: radial-gradient(rgba(53, 32, 28, .07) 1px, transparent 1.3px) 0 0 / 22px 22px;

    /* scalloped badge outline from the logo (used once, softly, behind the hero) */
    --scallop: 50.00% 0.00%, 54.65% 5.74%, 60.40% 1.09%, 63.75% 7.68%, 70.34% 4.32%, 72.25% 11.46%, 79.39% 9.55%, 79.78% 16.93%, 87.16% 16.54%, 86.00% 23.84%, 93.30% 25.00%, 90.65% 31.90%, 97.55% 34.55%, 93.53% 40.75%, 99.73% 44.77%, 94.50% 50.00%, 99.73% 55.23%, 93.53% 59.25%, 97.55% 65.45%, 90.65% 68.10%, 93.30% 75.00%, 86.00% 76.16%, 87.16% 83.46%, 79.78% 83.07%, 79.39% 90.45%, 72.25% 88.54%, 70.34% 95.68%, 63.75% 92.32%, 60.40% 98.91%, 54.65% 94.26%, 50.00% 100.00%, 45.35% 94.26%, 39.60% 98.91%, 36.25% 92.32%, 29.66% 95.68%, 27.75% 88.54%, 20.61% 90.45%, 20.22% 83.07%, 12.84% 83.46%, 14.00% 76.16%, 6.70% 75.00%, 9.35% 68.10%, 2.45% 65.45%, 6.47% 59.25%, 0.27% 55.23%, 5.50% 50.00%, 0.27% 44.77%, 6.47% 40.75%, 2.45% 34.55%, 9.35% 31.90%, 6.70% 25.00%, 14.00% 23.84%, 12.84% 16.54%, 20.22% 16.93%, 20.61% 9.55%, 27.75% 11.46%, 29.66% 4.32%, 36.25% 7.68%, 39.60% 1.09%, 45.35% 5.74%;
}

/* ---------- reset + base ---------- */
* { box-sizing: border-box; margin: 0; padding: 0 }
html { scroll-behavior: smooth; scroll-padding-top: 96px; width: 100%; overflow-x: hidden }
body {
    width: 100%; min-width: 320px; overflow-x: hidden; overflow-wrap: break-word;
    font: 400 15.5px/1.75 var(--sans); color: var(--ink); background: var(--dots), var(--cream); -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block }
a { color: inherit; text-decoration: none }
button, input, select { font: inherit; color: inherit }
button { cursor: pointer; border: 0; background: none }
button, a, input, select { -webkit-tap-highlight-color: transparent }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.12; letter-spacing: -.01em; color: var(--cocoa) }
em { font-style: italic; color: var(--rose-dk) }
::selection { background: var(--blush-dk); color: var(--cocoa) }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px }

.ph { position: absolute; inset: 0; display: grid; place-items: center; font-size: 56px; opacity: .55 }

/* ---------- buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 12px 30px; border-radius: 999px;
    background: var(--cocoa); color: var(--cream); font: 700 12px var(--sans); letter-spacing: 1.3px; text-transform: uppercase;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 10px 20px -14px rgba(53, 32, 28, .8);
    transition: background .25s, transform .25s, box-shadow .25s;
}
.btn:hover { background: var(--cocoa-2); transform: translateY(-2px) rotate(-.6deg); box-shadow: 0 16px 24px -14px rgba(53, 32, 28, .7) }
.btn-wa { background: var(--teal-dk) }
.btn-wa:hover { background: var(--teal) }
.btn-ghost { background: #fff; color: var(--cocoa); box-shadow: inset 0 0 0 1.5px var(--cocoa) }
.btn-ghost:hover { background: var(--cocoa); color: var(--cream) }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; font-size: 20px; box-shadow: inset 0 0 0 1px var(--line); background: #fff; transition: transform .2s }
.icon-btn:hover { transform: scale(1.06) }

/* ---------- announcement + floating pill header ---------- */
.announcement { padding: 9px 14px; background: linear-gradient(90deg, var(--blush), var(--butter) 50%, var(--sky-soft)); color: var(--cocoa); text-align: center; font: 600 11px var(--sans); letter-spacing: 1.8px; text-transform: uppercase }
.header {
    position: sticky; top: 10px; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 20px;
    margin: 12px 3vw 0; padding: 8px 10px 8px 14px; border-radius: 999px; background: rgba(255, 250, 245, .84);
    backdrop-filter: blur(16px) saturate(1.3); box-shadow: 0 0 0 1px var(--line), 0 14px 30px -18px rgba(53, 32, 28, .5);
}
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 0 }
.brand-logo { width: 48px; height: 48px; flex: 0 0 auto; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--blush-dk) }
.brand-text { display: flex; flex-direction: column; font: 700 22px/1 var(--serif); color: var(--cocoa); white-space: nowrap }
.brand-text small { margin-top: 6px; font: 700 9px var(--sans); letter-spacing: 3px; text-transform: uppercase; color: var(--rose-dk) }

.nav { display: flex; gap: 4px }
.nav a { padding: 9px 17px; border-radius: 999px; font: 600 11.5px var(--sans); letter-spacing: 1.5px; text-transform: uppercase; color: var(--ink); transition: background .25s, color .25s }
.nav a:hover { background: var(--blush); color: var(--cocoa) }

.header-right { display: flex; align-items: center; gap: 10px }
.header-right .btn { min-height: 44px; padding: 10px 24px }
.menu-btn { display: none }
.mobile-nav {
    display: none; position: absolute; left: 0; right: 0; top: calc(100% + 10px); flex-direction: column; padding: 6px 22px 14px;
    border-radius: 28px; background: rgba(255, 250, 245, .98); box-shadow: 0 0 0 1px var(--line), 0 28px 40px -24px rgba(53, 32, 28, .5);
}
.mobile-nav a { display: flex; align-items: center; min-height: 52px; border-bottom: 1px dashed var(--blush-dk); font: 600 15px var(--sans) }
.mobile-nav a:last-child { border-bottom: 0; color: var(--rose-dk) }
.mobile-nav.open { display: flex }

/* ---------- hero ---------- */
.hero {
    position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 50px;
    padding: 70px 5vw 96px; background: var(--dots), var(--cream);
}
.hero::before { content: ""; position: absolute; z-index: -1; right: -140px; top: -190px; width: 540px; height: 540px; border-radius: 50%; background: var(--sky-soft) }
.hero::after { content: ""; position: absolute; z-index: -1; left: -130px; bottom: -190px; width: 440px; height: 440px; border-radius: 50%; background: var(--blush) }
.eyebrow {
    display: inline-flex; align-items: center; gap: 10px; width: fit-content; padding: 8px 18px 8px 14px; border-radius: 999px; background: #fff;
    box-shadow: 0 0 0 1px var(--line), 0 8px 16px -12px rgba(53, 32, 28, .4); font: 700 11px var(--sans); letter-spacing: 2.4px; text-transform: uppercase; color: var(--rose-dk)
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--rose); box-shadow: 0 0 0 4px var(--blush) }
.hero h1 { margin: 22px 0 20px; font-size: clamp(40px, 5.6vw, 74px); font-weight: 600; line-height: 1.04; letter-spacing: -.025em; color: var(--cocoa); text-wrap: balance }
.hero h1 br { display: none }
.hero h1 em { display: block; margin-top: 4px; font: 700 1.22em/.95 var(--script); letter-spacing: 0; color: var(--rose-dk); text-decoration: underline wavy var(--blush-dk) 3px; text-underline-offset: 9px; text-decoration-skip-ink: none }
.hero-copy p { max-width: 470px; font-size: 17px; line-height: 1.8; color: var(--muted) }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px }

/* pinboard collage: pin cards with a "Save" chip, scalloped badge + dashed ring behind */
.hero-collage { position: relative; width: 100%; max-width: 470px; aspect-ratio: 1 / 1.04; justify-self: center }
.collage-glow { position: absolute; inset: 0; background: linear-gradient(145deg, var(--blush), var(--butter)); clip-path: polygon(var(--scallop)); animation: spin 90s linear infinite }
.collage-ring { position: absolute; inset: 6%; border-radius: 50%; border: 2px dashed var(--rose); opacity: .6; animation: spin 70s linear infinite reverse }
.collage-ring::after { content: ""; position: absolute; inset: 9px; border-radius: 50%; border: 1.5px dotted var(--teal); opacity: .7 }
.collage-card {
    position: absolute; left: 50%; top: 50%; width: 58%; margin: 0; padding: 9px 9px 0; background: #fff; border-radius: 24px; box-shadow: var(--lift);
    opacity: 0; z-index: 0; transform: translate(-50%, -50%) scale(.8);
    transition: transform .9s cubic-bezier(.22, .8, .3, 1), opacity .9s ease; will-change: transform;
}
.collage-card[data-pos="0"] { opacity: 1; z-index: 5; transform: translate(-50%, -50%) rotate(-3deg) }
.collage-card[data-pos="1"] { opacity: 1; z-index: 4; transform: translate(-50%, -50%) translate(28%, -5%) rotate(6deg) scale(.92) }
.collage-card[data-pos="2"] { opacity: 1; z-index: 3; transform: translate(-50%, -50%) translate(-29%, -6%) rotate(-7deg) scale(.88) }
.collage-card .photo { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 17px; background: linear-gradient(160deg, var(--a), var(--b)) }
.collage-card .photo::after {
    content: "♥ Save"; position: absolute; top: 10px; right: 10px; z-index: 2; padding: 6px 13px; border-radius: 999px; background: var(--rose-dk); color: #fff;
    font: 700 10.5px var(--sans); letter-spacing: .6px; box-shadow: 0 6px 12px -6px rgba(53, 32, 28, .6)
}
.collage-card .ph { font-size: 76px }
.collage-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover }
.collage-card figcaption { padding: 6px 4px 12px; text-align: center; font: 600 25px/1.1 var(--script); color: var(--cocoa) }

/* sticker sprinkles */
.sprinkle { position: absolute; z-index: 6; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #fff; box-shadow: 0 10px 18px -10px rgba(53, 32, 28, .5), 0 0 0 3px rgba(255, 255, 255, .6); font-size: 22px; pointer-events: none; animation: floaty 5s ease-in-out infinite }
.sprinkle.s1 { top: 2%; left: 8%; animation-delay: 0s }
.sprinkle.s2 { top: 34%; right: -3%; animation-delay: 1.2s }
.sprinkle.s3 { bottom: 8%; left: 0; animation-delay: 2.1s }
.sprinkle.s4 { bottom: 1%; right: 10%; animation-delay: .6s }
@keyframes spin { to { transform: rotate(360deg) } }
@keyframes floaty { 50% { transform: translateY(-9px) rotate(8deg) } }

/* ---------- ticker: washi-tape strip ---------- */
.ticker {
    position: relative; z-index: 3; display: flex; justify-content: center; flex-wrap: wrap; gap: 26px; margin: -26px -3vw 0; padding: 15px 8vw; transform: rotate(-1deg);
    background: var(--butter); color: var(--cocoa); border-block: 2px dashed rgba(53, 32, 28, .22); box-shadow: 0 14px 24px -18px rgba(53, 32, 28, .5);
    font: 700 11.5px var(--sans); letter-spacing: 3px; text-transform: uppercase;
}
.ticker span:nth-child(even) { color: var(--rose-dk) }

/* ---------- STEP 1 responsive ---------- */
@media (max-width: 1100px) {
    .header-right .btn { display: none }
    .hero { gap: 30px }
}
@media (max-width: 900px) {
    .header { margin: 10px 3vw 0; padding: 7px 8px 7px 12px; gap: 12px }
    .nav { display: none }
    .menu-btn { display: grid; place-items: center }
    .hero { grid-template-columns: minmax(0, 1fr); gap: 30px; padding: 44px 6vw 64px; text-align: center }
    .hero-copy { display: flex; flex-direction: column; align-items: center }
    .hero h1 { font-size: clamp(38px, 9vw, 56px) }
    .hero-copy p { margin: 0 auto; font-size: 16px }
    .hero-actions { justify-content: center }
    .hero-collage { width: min(84vw, 390px); max-width: none; margin: 0 auto }
    .hero::before { width: 380px; height: 380px; right: -150px; top: -150px }
    .hero::after { width: 320px; height: 320px; left: -120px; bottom: -150px }
}
@media (max-width: 640px) {
    html { scroll-padding-top: 84px }
    .announcement { padding: 7px 12px; font-size: 9.5px; letter-spacing: 1.1px; line-height: 1.45 }
    .header { top: 8px; min-height: 62px; margin: 8px 3vw 0; padding: 6px 6px 6px 10px; gap: 8px }
    .brand { gap: 9px }
    .brand-logo { width: 40px; height: 40px }
    .brand-text { font-size: clamp(18px, 5.4vw, 21px) }
    .brand-text small { margin-top: 4px; font-size: 7.5px; letter-spacing: 2.2px }
    .menu-btn { flex: 0 0 44px }
    .hero { padding: 30px 6vw 56px; gap: 26px }
    .eyebrow { padding: 7px 14px 7px 12px; font-size: 9.5px; letter-spacing: 1.8px }
    .hero h1 { margin: 16px 0 12px }
    .hero-copy p { font-size: 14.5px }
    .hero-actions { width: 100%; gap: 10px; margin-top: 22px }
    .hero-actions .btn { flex: 1 1 calc(50% - 5px); padding: 12px; font-size: 10.5px; letter-spacing: 1px }
    .hero-collage { width: min(82vw, 330px) }
    .collage-card { width: 62%; padding: 7px 7px 0; border-radius: 20px }
    .collage-card .photo { border-radius: 14px }
    .collage-card .photo::after { top: 7px; right: 7px; padding: 4px 9px; font-size: 8.5px }
    .collage-card .ph { font-size: 56px }
    .collage-card figcaption { padding: 4px 3px 8px; font-size: 19px }
    .sprinkle { width: 38px; height: 38px; font-size: 18px }
    .ticker { gap: 8px 14px; margin: -18px -3vw 0; padding: 13px 8vw; transform: rotate(-.8deg); font-size: 9.5px; letter-spacing: 1.6px }
}
@media (max-width: 380px) {
    .brand-logo { width: 36px; height: 36px }
    .brand-text { font-size: 17px }
    .hero h1 { font-size: 34px }
}
@media (max-width: 900px) and (orientation: landscape) {
    .hero { padding-top: 26px; padding-bottom: 44px }
    .hero-collage { max-width: 270px }
}
/* ===== END STEP 1 ===== */
/* =========================================================
   STEP 2 — collections · catalogue · product cards   (v4)
   Pin-style masonry: white cards with soft ring, varied photo heights,
   handwritten kickers, clean pill search with a magnifier icon.
   ========================================================= */

/* ---------- section heads ---------- */
.section { position: relative; padding: 92px 5vw }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 44px }
.kicker { margin-bottom: 4px; font: 700 26px/1 var(--script); letter-spacing: .2px; text-transform: none; color: var(--rose-dk) }
.section-head h2, .story-copy h2, .cta h2, .qr-copy h2 { font-size: clamp(32px, 4.2vw, 50px); font-weight: 600; letter-spacing: -.02em; color: var(--cocoa) }
.sub { max-width: 400px; font-size: 15px; line-height: 1.75; color: var(--muted) }

/* ---------- collections (JS fills #collectionGrid with .category) ---------- */
.categories { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px }
.category {
    display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; min-height: 230px; padding: 24px 24px 26px; border-radius: 28px;
    background: var(--blush); box-shadow: 0 0 0 1px rgba(255, 255, 255, .7) inset; transition: transform .35s cubic-bezier(.2, .8, .25, 1), box-shadow .35s;
}
.category:nth-child(4n+2) { background: var(--sky-soft) }
.category:nth-child(4n+3) { background: var(--butter) }
.category:nth-child(4n+4) { background: #f3dfd9 }
.category:nth-child(even) { transform: translateY(14px) }
.category:hover { transform: translateY(-6px) rotate(-.8deg); box-shadow: var(--lift) }
.cat-emoji { display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: auto; border-radius: 50%; background: #fff; font-size: 28px; line-height: 1; box-shadow: 0 10px 18px -12px rgba(53, 32, 28, .5) }
.category b { font: 600 22px/1.2 var(--serif); color: var(--cocoa) }
.category small { font-size: 13.5px; line-height: 1.5; color: var(--ink); opacity: .7 }
.category em { margin-top: 12px; font: 700 11px var(--sans); font-style: normal; letter-spacing: 1.8px; text-transform: uppercase; color: var(--rose-dk) }

/* ---------- catalogue ---------- */
.catalogue { background: var(--dots), var(--cream-2) }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 34px }
.search, .sort { min-height: 50px; padding: 12px 22px; border: 0; border-radius: 999px; background-color: #fff; box-shadow: 0 0 0 1px var(--line), 0 10px 20px -16px rgba(53, 32, 28, .5); outline: none; transition: box-shadow .2s }
.search {
    flex: 1 1 260px; min-width: 200px; max-width: 420px; padding-left: 48px; font-size: 14px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%238a7570' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='8' cy='8' r='6'/%3E%3Cpath d='m13 13 4 4'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: 20px center;
}
.search::placeholder { color: var(--muted) }
.sort { font-size: 13.5px; font-weight: 500; cursor: pointer }
.search:focus, .sort:focus { box-shadow: 0 0 0 2px var(--rose), 0 0 0 7px var(--blush) }
.filters { display: flex; flex-wrap: wrap; gap: 8px; flex: 1 1 100%; order: 3 }
.filter { padding: 10px 20px; border-radius: 999px; background: #fff; font: 600 12.5px var(--sans); color: var(--ink); box-shadow: 0 0 0 1px var(--line); transition: .2s }
.filter:hover { box-shadow: 0 0 0 1.5px var(--rose); transform: translateY(-1px) }
.filter.active { background: var(--cocoa); color: var(--cream); box-shadow: none }

/* ---------- product cards: masonry pins ---------- */
.product-grid { display: block; column-count: 4; column-gap: 22px }
.product-card {
    display: block; break-inside: avoid; margin: 0 0 24px; padding: 8px; min-width: 0; border-radius: 26px; background: #fff;
    box-shadow: 0 0 0 1px var(--line), 0 16px 28px -24px rgba(53, 32, 28, .55); transition: transform .35s cubic-bezier(.2, .8, .25, 1), box-shadow .35s;
}
.product-card:hover { transform: translateY(-5px); box-shadow: 0 0 0 1px var(--blush-dk), var(--lift) }
.product-image {
    position: relative; aspect-ratio: 4 / 5; overflow: hidden; cursor: pointer; border-radius: 19px;
    background: linear-gradient(160deg, var(--blush), var(--butter))
}
.product-card:nth-child(5n+2) .product-image { aspect-ratio: 1 / 1 }
.product-card:nth-child(5n+4) .product-image { aspect-ratio: 4 / 5.5 }
.product-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s }
.product-card:hover .product-image img { transform: scale(1.05) }
.product-badge { position: absolute; top: 10px; left: 10px; z-index: 2; padding: 6px 12px; border-radius: 999px; background: #fff; color: var(--rose-dk); font: 700 9px var(--sans); letter-spacing: 1.3px; text-transform: uppercase; box-shadow: 0 6px 12px -8px rgba(53, 32, 28, .5) }
.tag-eggless { position: absolute; top: 10px; right: 10px; z-index: 2; display: flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; background: rgba(255, 255, 255, .96); font: 700 9.5px var(--sans); color: var(--teal-dk) }
.tag-eggless i { width: 7px; height: 7px; border-radius: 50%; background: var(--teal) }
.quick-view {
    position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2; padding: 11px; border-radius: 999px; background: rgba(255, 255, 255, .97); color: var(--cocoa);
    font: 700 10px var(--sans); letter-spacing: 1.5px; text-transform: uppercase; opacity: 0; transform: translateY(10px); transition: .3s
}
.product-card:hover .quick-view { opacity: 1; transform: none }

.product-info { padding: 14px 8px 8px }
.product-category { font: 700 9.5px var(--sans); letter-spacing: 1.8px; text-transform: uppercase; color: var(--rose-dk) }
.product-name { margin: 6px 0 14px; font: 600 18px/1.28 var(--serif); letter-spacing: -.01em; color: var(--cocoa); cursor: pointer; transition: color .2s }
.product-name:hover { color: var(--rose-dk) }
.product-bottom { display: flex; align-items: center; justify-content: space-between; gap: 8px }
.price { font: 600 18px/1.1 var(--serif); color: var(--cocoa); white-space: nowrap }
.price .from, .price .unit { font: 500 11px var(--sans); color: var(--muted) }
.card-wa {
    flex: 0 0 auto; padding: 9px 16px; border-radius: 999px; background: var(--blush); font: 700 10px var(--sans); letter-spacing: 1.1px;
    text-transform: uppercase; white-space: nowrap; color: var(--cocoa); transition: .2s
}
.card-wa:hover { background: var(--cocoa); color: var(--cream) }
.empty { column-span: all; padding: 40px; text-align: center; font: italic 500 20px var(--serif); color: var(--muted) }

/* ---------- STEP 2 responsive ---------- */
@media (max-width: 1100px) {
    .section, .story { padding-left: 4vw; padding-right: 4vw }
    .product-grid { column-count: 3; column-gap: 18px }
}
@media (max-width: 900px) {
    .section-head { flex-direction: column; align-items: flex-start }
    .product-grid { column-count: 2; column-gap: 14px }
}
@media (max-width: 640px) {
    .section { padding: 56px 5vw }
    .section-head { gap: 6px; margin-bottom: 26px }
    .kicker { font-size: 22px }
    .section-head h2, .story-copy h2, .cta h2, .qr-copy h2 { font-size: clamp(29px, 8vw, 37px); line-height: 1.1 }
    .sub { font-size: 14px }

    .categories { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px }
    .category { min-width: 0; min-height: 172px; padding: 16px 14px; border-radius: 22px }
    .category:nth-child(even) { transform: translateY(8px) }
    .cat-emoji { width: 44px; height: 44px; font-size: 22px }
    .category b { font-size: clamp(16px, 4.8vw, 19px) }
    .category small { font-size: 11.5px; line-height: 1.4 }
    .category em { margin-top: 7px; font-size: 9.5px; letter-spacing: 1.2px }

    .toolbar { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin-bottom: 24px }
    .search, .sort { width: 100%; max-width: none; min-width: 0; min-height: 48px; font-size: 14px }
    .search { padding-left: 46px }
    /* chips scroll sideways instead of wrapping */
    .filters { flex-wrap: nowrap; width: calc(100vw - 10vw); margin-right: -5vw; padding: 3px 5vw 8px 3px; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; -webkit-overflow-scrolling: touch }
    .filter { flex: 0 0 auto; min-height: 40px; padding: 8px 16px; white-space: nowrap; font-size: 12px }

    .product-grid { column-gap: 10px }
    .product-card { margin-bottom: 12px; padding: 6px; border-radius: 20px }
    .product-image { border-radius: 15px }
    .product-badge { top: 7px; left: 7px; max-width: calc(100% - 14px); padding: 4px 9px; font-size: 7.5px }
    .tag-eggless { top: 7px; right: 7px; padding: 4px 8px; font-size: 8px }
    .quick-view { display: none }
    .product-info { padding: 11px 5px 5px }
    .product-category { font-size: 8px; letter-spacing: 1.1px; line-height: 1.3 }
    .product-name { margin: 4px 0 10px; font-size: 15px; line-height: 1.25; overflow-wrap: anywhere }
    .product-bottom { flex-wrap: wrap; gap: 8px 6px }
    .price { font-size: 15px }
    .price .from, .price .unit { font-size: 9.5px }
    .card-wa { width: 100%; padding: 8px 10px; text-align: center; font-size: 9px; letter-spacing: .8px }
    .empty { padding: 30px 15px; font-size: 17px }
}
@media (max-width: 380px) {
    .product-grid { column-gap: 8px }
    .category { padding: 14px 11px }
}
/* touch devices: no sticky hover lifts */
@media (hover: none) {
    .product-card:hover, .category:hover { transform: none; box-shadow: 0 0 0 1px var(--line), 0 16px 28px -24px rgba(53, 32, 28, .55) }
    .category:hover { box-shadow: none }
    .product-card:hover .product-image img { transform: none }
}
/* ===== END STEP 2 ===== */
/* =========================================================
   STEP 3 — how to order · story · QR · CTA · footer   (v4)
   Scrapbook feel: taped pastel note cards, arch photo with a white
   frame, polaroid-style QR card, warm cocoa CTA + footer.
   ========================================================= */

/* ---------- how to order: taped note cards ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 22px }
.step {
    position: relative; padding: 38px 28px 30px; border-radius: 28px; background: var(--blush); transform: rotate(-1.2deg);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .7) inset, 0 18px 30px -24px rgba(53, 32, 28, .5); transition: transform .35s cubic-bezier(.2, .8, .25, 1), box-shadow .35s;
}
.step:nth-child(2) { background: var(--sky-soft); transform: rotate(1deg) translateY(10px) }
.step:nth-child(3) { background: var(--butter); transform: rotate(-.6deg) }
.step::before {
    content: ""; position: absolute; top: -11px; left: 50%; width: 78px; height: 24px; transform: translateX(-50%) rotate(-3deg);
    background: rgba(255, 255, 255, .75); border-inline: 2px dashed rgba(53, 32, 28, .18); box-shadow: 0 4px 8px -6px rgba(53, 32, 28, .4)
}
.step:hover { transform: rotate(0) translateY(-6px); box-shadow: var(--lift) }
.num { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 16px; border-radius: 50%; background: #fff; font: 700 32px/1 var(--script); color: var(--rose-dk); box-shadow: 0 10px 18px -12px rgba(53, 32, 28, .5) }
.step h3 { margin-bottom: 8px; font-size: 22px }
.step p { font-size: 14.5px; color: var(--ink); opacity: .75 }

/* ---------- story ---------- */
.story { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 70px; padding: 100px 5vw; background: var(--dots), var(--blush) }
.story-image {
    position: relative; width: 100%; max-width: 440px; aspect-ratio: 4 / 5; justify-self: center; overflow: hidden; transform: rotate(-1.5deg);
    border-radius: 220px 220px 24px 24px; box-shadow: 0 0 0 10px #fff, var(--lift); background: linear-gradient(160deg, #fff, var(--cream-2));
}
.story-image .ph { font-size: 100px }
.story-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover }
.story-copy { display: flex; flex-direction: column; gap: 10px }
.story-copy p { max-width: 480px; margin-top: 6px; font-size: 17px; color: var(--ink) }

/* ---------- QR: polaroid card ---------- */
.qr-wrap { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 50px }
.qr-copy p { max-width: 480px; margin: 14px 0 26px; color: var(--muted) }
.qr-actions { display: flex; flex-wrap: wrap; gap: 12px }
.qr-card { justify-self: center; padding: 12px; border-radius: 32px; background: var(--butter); transform: rotate(2deg); box-shadow: 0 24px 40px -26px rgba(53, 32, 28, .5) }
.qr-card-inner { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 30px; border-radius: 22px; background: #fff; text-align: center }
.qr-title { font: 700 27px/1 var(--serif); color: var(--cocoa) }
.qr-title small { display: block; margin-top: 8px; font: 700 9.5px var(--sans); letter-spacing: 3px; text-transform: uppercase; color: var(--rose-dk) }
.qr-card-inner img { width: 220px; height: 220px; border-radius: 12px }
.qr-card-inner p { font-size: 14px; color: var(--muted) }
.qr-url { font: 700 11px var(--sans); letter-spacing: 1.6px; text-transform: uppercase; color: var(--cocoa) }

/* ---------- CTA ---------- */
.cta {
    padding: 100px 5vw; text-align: center; color: var(--cream);
    background: radial-gradient(circle at 12% 18%, rgba(229, 143, 154, .28), transparent 42%), radial-gradient(circle at 92% 88%, rgba(75, 149, 174, .26), transparent 42%), var(--cocoa)
}
.cta .kicker { color: var(--blush-dk) }
.cta h2 { margin-bottom: 12px; color: var(--cream) }
.cta p { max-width: 520px; margin: 0 auto 30px; color: var(--cream); opacity: .8 }
.cta .btn { background: var(--cream); color: var(--cocoa) }
.cta .btn:hover { background: var(--blush) }

/* ---------- footer ---------- */
.footer { padding: 68px 5vw 24px; background: var(--cocoa-deep); color: #e8d9d4 }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1fr; gap: 36px }
.footer .brand { display: inline-flex }
.footer .brand-text { color: #fff }
.footer .brand-text small { color: var(--blush-dk) }
.footer p { margin-top: 14px; font-size: 15px; opacity: .72 }
.footer h4 { margin-bottom: 14px; font: 700 24px/1 var(--script); letter-spacing: .3px; text-transform: none; color: var(--blush-dk) }
.footer-top a { display: block; padding: 4px 0; font-size: 15px; opacity: .8; transition: .2s }
.footer-top a[href]:hover, .footer-top a[data-wa]:hover { opacity: 1; color: #fff; transform: translateX(3px) }
.copyright { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-top: 46px; padding-top: 20px; border-top: 1px dashed rgba(255, 255, 255, .18); font: 500 11.5px var(--sans); letter-spacing: 2px; opacity: .6 }

/* ---------- STEP 3 responsive ---------- */
@media (max-width: 1100px) { .footer-top { gap: 28px } }
@media (max-width: 900px) {
    .story, .qr-wrap { grid-template-columns: minmax(0, 1fr) }
    .story { gap: 42px }
    .qr-wrap { gap: 36px }
    .story-image { border-radius: 180px 180px 20px 20px }
    .footer-top { grid-template-columns: 1fr 1fr }
}
@media (max-width: 640px) {
    .steps { grid-template-columns: minmax(0, 1fr); gap: 20px }
    .step, .step:nth-child(2), .step:nth-child(3) { padding: 32px 22px 24px; transform: rotate(-.6deg) }
    .step:nth-child(2) { transform: rotate(.6deg) }
    .num { width: 46px; height: 46px; margin-bottom: 12px; font-size: 27px }
    .step h3 { font-size: 21px }
    .step p { font-size: 14px }
    .story { padding: 60px 6vw; gap: 36px }
    .story-image { width: min(76vw, 330px); aspect-ratio: 4 / 4.5; border-radius: 170px 170px 18px 18px; box-shadow: 0 0 0 8px #fff, var(--lift) }
    .story-copy { gap: 8px }
    .story-copy p { font-size: 15px; line-height: 1.65 }
    .qr-wrap { gap: 30px }
    .qr-copy p { margin: 10px 0 20px; font-size: 14px }
    .qr-actions { gap: 10px }
    .qr-card-inner { padding: 22px }
    .qr-card-inner img { width: min(58vw, 210px); height: auto; aspect-ratio: 1 }
    .qr-title { font-size: 24px }
    .cta { padding: 66px 6vw }
    .cta p { font-size: 14px; line-height: 1.6 }
    .footer { padding: 48px 5vw 20px }
    .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 18px }
    .footer-top > :first-child { grid-column: 1 / -1 }
    .footer .brand-text { font-size: 22px }
    .footer p, .footer-top a { font-size: 13px; line-height: 1.6 }
    .footer h4 { font-size: 21px }
    .copyright { flex-direction: column; gap: 6px; margin-top: 30px; padding-top: 16px; font-size: 9px; letter-spacing: 1.2px; line-height: 1.5 }
}
/* ===== END STEP 3 ===== */
/* =========================================================
   STEP 4 — full-page product view · buybar · snow · polish   (v4)
   Behaviour unchanged: .modal toggles .open, .modal-box is the scroll
   container used by the smooth-scroll code, #sizeLabel / #modalSizes /
   #modalPrice / #modalWa untouched.
   ========================================================= */

/* ---------- full-page product view ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: stretch; justify-content: center; padding: 0; background: var(--dots), var(--blush) }
.modal.open { display: flex }
.modal-box {
    position: relative; display: flex; flex-direction: column; width: 100%; max-width: 640px; height: 100dvh; max-height: none; margin: 0 auto;
    background: #fff; border-radius: 0; box-shadow: 0 0 60px rgba(53, 32, 28, .16); overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--blush-dk) transparent;
    animation: sheetIn .3s cubic-bezier(.2, .8, .25, 1);
}
@keyframes sheetIn { from { opacity: 0; transform: translateY(28px) scale(.99) } to { opacity: 1; transform: none } }

/* whole picture visible, never cropped (phones) */
.modal-media { position: relative; flex: none; display: flex; align-items: center; justify-content: center; width: 100%; min-height: 240px; overflow: hidden; border-radius: 0 0 32px 32px; background: linear-gradient(160deg, var(--blush), var(--butter)) }
.modal-media .ph { font-size: 100px }
.modal-media img { position: relative; width: 100%; height: auto; max-height: 68dvh; object-fit: contain }

.modal-content { flex: 1 0 auto; display: flex; flex-direction: column; gap: 8px; padding: 28px 24px 28px }
.modal-content h3 { margin: 2px 0 4px; font: 600 31px/1.12 var(--serif); letter-spacing: -.02em; color: var(--cocoa) }
.eggless-line { width: fit-content; padding: 5px 14px; border-radius: 999px; background: var(--sky-soft); font: 700 12px var(--sans); color: var(--teal-dk) }
.eggless-line:empty { display: none }
.size-label { margin-top: 12px; font: 700 24px/1 var(--script); letter-spacing: .2px; text-transform: none; color: var(--rose-dk) }
.sizes { display: flex; flex-wrap: wrap; gap: 10px }
.size-btn { min-height: 44px; padding: 9px 22px; border-radius: 999px; background: #fff; font: 600 13.5px var(--sans); box-shadow: inset 0 0 0 1px var(--blush-dk); transition: .2s }
.size-btn:hover { box-shadow: inset 0 0 0 1.5px var(--rose); transform: translateY(-1px) }
.size-btn.active { background: var(--cocoa); color: var(--cream); box-shadow: none }
#sizeLabel, #modalSizes { scroll-margin-top: 28px }

.close {
    position: fixed; top: max(12px, env(safe-area-inset-top)); right: 12px; z-index: 110; width: 44px; height: 44px; border-radius: 50%;
    background: #fff; font-size: 24px; line-height: 1; box-shadow: 0 8px 18px -6px rgba(53, 32, 28, .35); transition: .2s;
}
.close:hover { background: var(--cocoa); color: var(--cream); transform: rotate(90deg) }

/* sticky price + order bar */
.modal-price { margin: 0; font: 600 27px/1 var(--serif); color: var(--cocoa); white-space: nowrap }
.modal:not(.open) .buybar { display: none }
.modal.open .modal-content { padding-bottom: 100px }
.modal.open .buybar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 120; display: flex; align-items: center; justify-content: space-between; gap: 14px;
    width: 100%; max-width: 640px; margin: 0 auto; padding: 14px 18px calc(14px + env(safe-area-inset-bottom)); border-radius: 26px 26px 0 0;
    background: rgba(255, 255, 255, .97); backdrop-filter: blur(10px); box-shadow: 0 -14px 30px -12px rgba(53, 32, 28, .18);
}
.buybar .btn { flex: 1 1 auto; min-height: 52px; padding: 12px 18px; white-space: nowrap }

/* laptop / landscape: picture left, details right, floating card on the blush board */
@media (orientation: landscape) and (min-width: 640px), (min-width: 1100px) {
    .modal.open { padding: 22px }
    .modal.open .modal-box { display: grid; max-width: 1240px; height: calc(100dvh - 44px); overflow: hidden; border-radius: 34px; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto }
    .modal.open .modal-media { grid-column: 1; grid-row: 1 / 3; height: 100%; min-height: 0; border-radius: 0 }
    .modal.open .modal-media img { position: absolute; inset: 0; width: 100%; height: 100%; max-height: none }
    .modal.open .modal-content { grid-column: 2; grid-row: 1; min-height: 0; overflow-y: auto; padding: 68px 46px 20px }
    .modal.open .modal-content h3 { font-size: 38px }
    .modal.open .buybar { grid-column: 2; grid-row: 2; position: static; max-width: none; margin: 0; padding: 18px 46px 30px; border-radius: 0; background: #fff; backdrop-filter: none; box-shadow: 0 -1px 0 var(--line) }
    .close { position: absolute; top: 18px; right: 18px }
}
@media (orientation: landscape) and (max-height: 520px) {
    .modal.open { padding: 0 }
    .modal.open .modal-box { height: 100dvh; border-radius: 0 }
    .modal-content { padding: 20px 24px 10px }
    .modal-content h3 { font-size: 24px }
}
@media (max-width: 640px) {
    .modal-content h3 { font-size: 27px }
    .modal-price { font-size: 24px }
}

/* ---------- falling snow (js/snow.js stays as is) ----------
   soft rose glow so flakes also show on the pale cream / blush sections */
.snow { position: fixed; inset: 0; z-index: 15; pointer-events: none; overflow: hidden }
.flake { position: absolute; top: -20px; color: #fff; will-change: transform; animation: snowfall linear infinite; text-shadow: 0 0 2px var(--rose), 0 0 7px rgba(229, 143, 154, .65) }
@keyframes snowfall { to { transform: translate3d(var(--drift, 30px), 105vh, 0) rotate(360deg) } }

/* ---------- polish ---------- */
html { scrollbar-width: thin; scrollbar-color: var(--blush-dk) var(--cream) }
.search::selection, input::selection { background: var(--blush-dk) }

/* ---------- touch + reduced motion ---------- */
@media (hover: none) {
    .step:hover { transform: rotate(-.6deg); box-shadow: none }
    .step:nth-child(2):hover { transform: rotate(.6deg) }
    .btn:hover { transform: none; box-shadow: none }
    .close:hover { transform: none }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important }
    .snow { display: none }
}
/* ===== END STEP 4 ===== */