/* =========================================================
   CB KITCHEN — refined boutique-bakery theme
   sage green · dusty rose · ivory · warm gold accents
   ========================================================= */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Great+Vibes&family=Playfair+Display:wght@500;600;700&display=swap');

:root {
    --green: #4f7a3d;
    --green-dk: #2f4a26;
    --green-deep: #1f2e1a;
    --sage: #eef2e8;
    --rose: #c9607f;
    --rose-dk: #b04a69;
    --blush: #f9eeee;
    --ivory: #fdfaf4;
    --cream: #f6f0e4;
    --gold: #b8935a;
    --ink: #2a2c25;
    --muted: #707366;
    --line: #e7e0d2;
    --cocoa: var(--ink);
    --serif: 'Cormorant Garamond', Georgia, serif;
    --sans: 'Jost', system-ui, sans-serif;
    --script: var(--serif);
    --r: 14px;
    --shadow: 0 24px 40px -28px rgba(31, 46, 26, .45);
}

* { box-sizing: border-box; margin: 0; padding: 0 }
html { scroll-behavior: smooth; scroll-padding-top: 84px }
body { font-family: var(--sans); color: var(--ink); background: var(--ivory); line-height: 1.65; -webkit-font-smoothing: antialiased }
img { max-width: 100%; display: block }
a { color: inherit; text-decoration: none }
button, input, select { font: inherit; color: inherit }
button { cursor: pointer; border: 0; background: none }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.1; letter-spacing: -.2px }
em { font-style: italic; color: var(--rose) }

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

/* ---------- buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 13px 28px; border-radius: 999px; background: var(--green-dk); color: #fff;
    font: 500 14px var(--sans); letter-spacing: .8px; text-transform: uppercase;
    transition: background .25s, transform .25s, box-shadow .25s;
}
.btn:hover { background: var(--green); transform: translateY(-1px) }
.btn-wa { background: var(--rose) }
.btn-wa:hover { background: var(--rose-dk) }
.btn-ghost { background: transparent; color: var(--green-dk); box-shadow: inset 0 0 0 1.5px var(--green-dk) }
.btn-ghost:hover { background: var(--green-dk); color: #fff }
.icon-btn { width: 42px; height: 42px; border-radius: 50%; font-size: 20px; box-shadow: inset 0 0 0 1px var(--line) }

/* ---------- announcement + header ---------- */
.announcement { background: var(--green-deep); color: #e9e3d3; text-align: center; padding: 8px 14px; font: 400 12.5px var(--sans); letter-spacing: 1.6px; text-transform: uppercase }
.header {
    position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 20px;
    padding: 12px 5vw; background: rgba(253, 250, 244, .94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 12px }
.brand-logo { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px var(--line) }
.brand-text { display: flex; flex-direction: column; font: 700 26px/1 var(--serif); color: var(--green-dk); letter-spacing: .3px }
.brand-text small { font: 500 10px var(--sans); letter-spacing: 3px; text-transform: uppercase; color: var(--rose); margin-top: 5px }
.nav { display: flex; gap: 30px }
.nav a { font: 500 14px var(--sans); letter-spacing: .6px; color: var(--ink); position: relative; padding: 4px 0 }
.nav a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 1.5px; background: var(--rose); transition: width .3s }
.nav a:hover::after { width: 100% }
.header-right { display: flex; align-items: center; gap: 10px }
.menu-btn { display: none }
.mobile-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; background: var(--ivory); padding: 8px 5vw 18px; border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px -22px rgba(0, 0, 0, .25) }
.mobile-nav a { padding: 13px 0; font: 500 16px var(--sans); border-bottom: 1px solid var(--line) }
.mobile-nav.open { display: flex }

/* ---------- hero ---------- */
.hero {
    display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 50px; padding: 80px 5vw 72px;
    background: radial-gradient(circle at 85% 20%, var(--blush) 0, transparent 45%), radial-gradient(circle at 0% 100%, var(--sage) 0, transparent 45%), var(--ivory);
}
.eyebrow { font: 500 12.5px var(--sans); letter-spacing: 3px; text-transform: uppercase; color: var(--gold); display: flex; align-items: center; gap: 12px }
.eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--gold) }
.hero h1 { font-size: clamp(42px, 5.8vw, 76px); margin: 20px 0 20px; color: var(--green-dk); font-weight: 600 }
.hero h1 em { font-weight: 500 }
.hero-copy p { max-width: 500px; font-size: 17.5px; color: var(--muted) }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px }

/* rotating collage */
.hero-collage { position: relative; width: 100%; max-width: 460px; aspect-ratio: 1 / 1.05; justify-self: center }
.collage-glow { position: absolute; inset: 6%; border-radius: 50%; background: radial-gradient(circle at 35% 30%, var(--blush) 0%, var(--sage) 62%, transparent 76%); animation: breathe 7s ease-in-out infinite }
.collage-ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--gold); opacity: .5 }
.collage-card {
    position: absolute; left: 50%; top: 50%; width: 66%; margin: 0; padding: 10px 10px 0; background: #fff; border-radius: 6px; box-shadow: var(--shadow);
    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(-2deg) }
.collage-card[data-pos="1"] { opacity: 1; z-index: 4; transform: translate(-50%, -50%) translate(26%, -5%) rotate(5deg) scale(.92) }
.collage-card[data-pos="2"] { opacity: 1; z-index: 3; transform: translate(-50%, -50%) translate(-27%, -7%) rotate(-7deg) scale(.88) }
.collage-card .photo { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 3px; background: linear-gradient(160deg, var(--a), var(--b)) }
.collage-card .ph { font-size: 80px }
.collage-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover }
.collage-card figcaption { padding: 10px 4px 14px; text-align: center; font: italic 600 20px/1.2 var(--serif); color: var(--green-dk) }
.sprinkle { position: absolute; z-index: 6; font-size: 22px; color: var(--pink); pointer-events: none; animation: floaty 5s ease-in-out infinite }
.sprinkle.s1 { top: 2%; left: 8%; animation-delay: 0s }
.sprinkle.s2 { top: 36%; right: -2%; animation-delay: 1.2s; font-size: 26px; color: var(--mint) }
.sprinkle.s3 { bottom: 8%; left: 2%; animation-delay: 2.1s; font-size: 26px; color: var(--lilac) }
.sprinkle.s4 { bottom: 2%; right: 10%; animation-delay: .6s }
@keyframes breathe { 50% { transform: scale(1.04) } }
@media (prefers-reduced-motion: reduce) {
    .collage-glow { animation: none }
    .collage-card { transition: none }
    html { scroll-behavior: auto }
}

/* ---------- ticker ---------- */
.ticker { display: flex; justify-content: center; flex-wrap: wrap; gap: 26px; padding: 15px 5vw; background: var(--green-dk); color: #efe9da; font: 500 12.5px var(--sans); letter-spacing: 3px; text-transform: uppercase }
.ticker span:nth-child(even) { color: var(--gold) }

/* ---------- sections ---------- */
.section { padding: 84px 5vw }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 40px }
.kicker { font: 500 12px var(--sans); letter-spacing: 3px; text-transform: uppercase; color: var(--rose); margin-bottom: 10px }
.section-head h2, .story-copy h2, .cta h2, .qr-copy h2 { font-size: clamp(32px, 4vw, 48px); color: var(--green-dk) }
.sub { color: var(--muted); max-width: 400px }

/* collections */
.categories { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px }
.category {
    display: flex; flex-direction: column; gap: 6px; padding: 28px 22px; border-radius: var(--r); background: #fff; border: 1px solid var(--line);
    transition: transform .3s, box-shadow .3s, border-color .3s;
}
.category:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--green) }
.cat-emoji { font-size: 26px; filter: saturate(.7); margin-bottom: 6px }
.category b { font: 600 23px var(--serif); color: var(--green-dk) }
.category small { color: var(--muted); font-size: 14px }
.category em { margin-top: 12px; font: 500 12.5px var(--sans); letter-spacing: 1.5px; text-transform: uppercase; color: var(--rose) }

/* ---------- catalogue ---------- */
.catalogue { background: var(--cream) }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 34px }
.search, .sort { padding: 12px 20px; border-radius: 999px; border: 1px solid var(--line); background: #fff; outline: none; transition: border-color .2s }
.search { flex: 1 1 220px; min-width: 200px }
.search:focus, .sort:focus { border-color: var(--green) }
.filters { display: flex; flex-wrap: wrap; gap: 8px; flex: 1 1 100%; order: 3 }
.filter { padding: 8px 20px; border-radius: 999px; background: transparent; font: 500 13.5px var(--sans); letter-spacing: .4px; box-shadow: inset 0 0 0 1px var(--line); transition: .2s }
.filter:hover { box-shadow: inset 0 0 0 1px var(--green) }
.filter.active { background: var(--green-dk); color: #fff; box-shadow: none }

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 26px }
.product-card { background: #fff; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); transition: transform .3s, box-shadow .3s }
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow) }
.product-image { position: relative; aspect-ratio: 1; overflow: hidden; cursor: pointer; background: linear-gradient(160deg, var(--blush), var(--sage)) }
.product-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s }
.product-card:hover .product-image img { transform: scale(1.05) }
.product-badge { position: absolute; top: 14px; left: 14px; z-index: 2; padding: 5px 12px; border-radius: 3px; background: rgba(255, 255, 255, .95); color: var(--rose-dk); font: 600 10.5px var(--sans); letter-spacing: 1.6px }
.tag-eggless { position: absolute; left: 14px; bottom: 14px; z-index: 2; display: flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px; background: rgba(255, 255, 255, .95); font: 500 11.5px var(--sans); color: var(--green-dk) }
.tag-eggless i { width: 8px; height: 8px; border-radius: 50%; background: var(--green) }
.quick-view { position: absolute; right: 14px; bottom: 14px; z-index: 2; padding: 7px 15px; border-radius: 999px; background: var(--green-deep); color: #fff; font: 500 12px var(--sans); letter-spacing: .6px; opacity: 0; transform: translateY(8px); transition: .3s }
.product-card:hover .quick-view { opacity: 1; transform: none }
.product-info { padding: 18px 20px 20px }
.product-category { font: 500 11px var(--sans); letter-spacing: 2px; text-transform: uppercase; color: var(--gold) }
.product-name { font: 600 22px/1.2 var(--serif); margin: 5px 0 14px; color: var(--green-dk); cursor: pointer }
.product-bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line) }
.price { font: 600 20px var(--serif); color: var(--ink) }
.price .from, .price .unit { font: 400 12px var(--sans); color: var(--muted) }
.card-wa { font: 500 12.5px var(--sans); letter-spacing: 1px; text-transform: uppercase; color: var(--rose-dk); border-bottom: 1px solid transparent; padding-bottom: 1px; transition: .2s }
.card-wa:hover { border-color: var(--rose-dk) }
.empty { grid-column: 1 / -1; text-align: center; padding: 40px; color: var(--muted) }

/* ---------- how to order ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0; border-top: 1px solid var(--line) }
.step { padding: 34px 30px 10px 0 }
.step + .step { padding-left: 30px; border-left: 1px solid var(--line) }
.num { display: block; font: italic 500 54px/1 var(--serif); color: var(--rose); margin-bottom: 12px }
.step h3 { font-size: 24px; margin-bottom: 8px; color: var(--green-dk) }
.step p { color: var(--muted) }

/* ---------- story ---------- */
.story { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 64px; padding: 84px 5vw; background: var(--sage) }
.story-image { position: relative; aspect-ratio: 4 / 5; max-width: 440px; width: 100%; justify-self: center; overflow: hidden; border-radius: 220px 220px 8px 8px; background: linear-gradient(160deg, var(--blush), var(--cream)) }
.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 { color: var(--muted); font-size: 17px; max-width: 480px; margin-top: 6px }

/* ---------- QR ---------- */
.qr-wrap { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 50px }
.qr-copy p { color: var(--muted); margin: 14px 0 26px; max-width: 480px }
.qr-actions { display: flex; flex-wrap: wrap; gap: 12px }
.qr-card { justify-self: center; padding: 10px; border-radius: 6px; border: 1px solid var(--gold) }
.qr-card-inner { padding: 28px; background: #fff; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px }
.qr-title { font: 700 28px/1 var(--serif); color: var(--green-dk) }
.qr-title small { display: block; font: 500 10px var(--sans); letter-spacing: 3px; text-transform: uppercase; color: var(--rose); margin-top: 6px }
.qr-card-inner img { width: 220px; height: 220px }
.qr-card-inner p { font-size: 14px; color: var(--muted) }
.qr-url { font: 500 11.5px var(--sans); letter-spacing: 1.5px; text-transform: uppercase; color: var(--green-dk) }

/* ---------- CTA ---------- */
.cta { text-align: center; padding: 88px 5vw; color: #fff; background: var(--green-deep) }
.cta .kicker { color: var(--gold) }
.cta h2 { color: #fff; margin-bottom: 12px }
.cta p { max-width: 520px; margin: 0 auto 28px; opacity: .8 }

/* ---------- footer ---------- */
.footer { background: #172214; color: #d8dccf; padding: 64px 5vw 24px; border-top: 1px solid rgba(184, 147, 90, .4) }
.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 p { margin-top: 14px; opacity: .7; font-size: 15px }
.footer h4 { font: 500 12px var(--sans); letter-spacing: 2.5px; text-transform: uppercase; color: var(--gold); margin-bottom: 14px }
.footer-top a { display: block; padding: 4px 0; opacity: .8; font-size: 15px; transition: .2s }
.footer-top a[href]:hover, .footer-top a[data-wa]:hover { opacity: 1; color: #fff }
.copyright { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-top: 44px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); font: 400 11.5px var(--sans); letter-spacing: 2px; opacity: .6 }

/* ---------- modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: none; place-items: center; padding: 18px; background: rgba(25, 35, 22, .6); backdrop-filter: blur(4px) }
.modal.open { display: grid }
.modal-box { position: relative; display: grid; grid-template-columns: 1fr 1fr; width: min(860px, 100%); max-height: 92vh; overflow: auto; background: #fff; border-radius: 16px; animation: pop .3s ease }
@keyframes pop { from { opacity: 0; transform: translateY(12px) } }
.close { position: absolute; top: 12px; right: 12px; z-index: 5; width: 38px; height: 38px; border-radius: 50%; background: #fff; font-size: 24px; line-height: 1; box-shadow: 0 2px 10px rgba(0, 0, 0, .15) }
.close:hover { background: var(--green-dk); color: #fff }
.modal-media { position: relative; min-height: 340px; background: linear-gradient(160deg, var(--blush), var(--sage)) }
.modal-media .ph { font-size: 100px }
.modal-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover }
.modal-content { display: flex; flex-direction: column; gap: 10px; padding: 38px 32px }
.modal-content h3 { font-size: 34px; color: var(--green-dk) }
.eggless-line { font: 500 13px var(--sans); color: var(--green) }
.size-label { font: 500 11.5px var(--sans); text-transform: uppercase; letter-spacing: 2px; color: var(--muted); margin-top: 8px }
.sizes { display: flex; flex-wrap: wrap; gap: 8px }
.size-btn { padding: 9px 20px; border-radius: 999px; font: 500 14px var(--sans); box-shadow: inset 0 0 0 1px var(--line); transition: .2s }
.size-btn:hover { box-shadow: inset 0 0 0 1px var(--green) }
.size-btn.active { background: var(--green-dk); color: #fff; box-shadow: none }
.modal-price { font-size: 32px; color: var(--ink); margin: 8px 0 }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
    .nav { display: none }
    .menu-btn { display: grid; place-items: center }
    .header-right .btn { display: none }
    .hero, .story, .qr-wrap { grid-template-columns: 1fr }
    .hero { padding: 52px 5vw }
    .footer-top { grid-template-columns: 1fr 1fr }
    .section-head { flex-direction: column; align-items: flex-start }
    .story-image { border-radius: 180px 180px 8px 8px }
    .step, .step + .step { padding: 28px 0; border-left: 0; border-bottom: 1px solid var(--line) }
}
@media (max-width: 640px) {
    .section, .story { padding: 56px 5vw }
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 14px }
    .product-info { padding: 12px 12px 14px }
    .product-name { font-size: 18px }
    .product-bottom { flex-direction: column; align-items: flex-start; gap: 6px }
    .quick-view { display: none }
    .modal-box { grid-template-columns: 1fr }
    .modal-media { min-height: 240px }
    .footer-top { grid-template-columns: 1fr }
    .ticker { gap: 14px; letter-spacing: 2px }
}


/* =========================================================
   RESPONSIVE POLISH — layout-only overrides
   Keeps existing classes, selectors, and JavaScript hooks.
   ========================================================= */

/* Prevent long names, controls, and images from forcing overflow */
html,
body {
    width: 100%;
    min-width: 320px;
    overflow-x: hidden;
}

body {
    overflow-wrap: break-word;
}

img {
    height: auto;
}

button,
a,
input,
select {
    -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
    outline: 2px solid var(--rose);
    outline-offset: 3px;
}

/* Large tablets and compact laptops */
@media (max-width: 1100px) {
    .hero {
        gap: 30px;
    }

    .section,
    .story {
        padding-left: 4vw;
        padding-right: 4vw;
    }

    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 20px;
    }

    .footer-top {
        gap: 28px;
    }
}

/* Tablet and below */
@media (max-width: 900px) {
    .header {
        padding: 10px 4vw;
        gap: 12px;
    }

    .hero {
        grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
        gap: 24px;
        padding: 58px 5vw;
    }

    .hero h1 {
        font-size: clamp(42px, 6vw, 62px);
    }

    .hero-copy p {
        font-size: 16px;
    }

    .hero-collage {
        max-width: 390px;
    }

    .story {
        gap: 36px;
    }

    .qr-wrap {
        gap: 30px;
    }

    .modal-box {
        width: min(760px, 100%);
    }
}

/* Phones */
@media (max-width: 640px) {
    html {
        scroll-padding-top: 72px;
    }

    .announcement {
        padding: 7px 12px;
        font-size: 10px;
        letter-spacing: 1px;
        line-height: 1.45;
    }

    .header {
        min-height: 68px;
        padding: 8px 4.5vw;
        gap: 8px;
    }

    .brand {
        gap: 9px;
        min-width: 0;
    }

    .brand-logo {
        width: 42px;
        height: 42px;
        flex: 0 0 auto;
    }

    .brand-text {
        font-size: clamp(19px, 5.5vw, 24px);
        white-space: nowrap;
    }

    .brand-text small {
        font-size: 8px;
        letter-spacing: 2px;
    }

    .menu-btn {
        width: 42px;
        height: 42px;
        flex: 0 0 42px;
    }

    .mobile-nav {
        padding: 6px 5vw 14px;
    }

    .mobile-nav a {
        min-height: 46px;
        display: flex;
        align-items: center;
        font-size: 15px;
    }

    .hero {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
        padding: 46px 5vw 38px;
        text-align: center;
    }

    .hero-copy {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .eyebrow {
        justify-content: center;
        font-size: 10px;
        letter-spacing: 2px;
    }

    .eyebrow::before {
        width: 22px;
    }

    .hero h1 {
        max-width: 560px;
        margin: 15px 0;
        font-size: clamp(39px, 10vw, 54px);
        line-height: 1.02;
    }

    .hero-copy p {
        max-width: 460px;
        font-size: 15px;
        line-height: 1.65;
    }

    .hero-actions {
        justify-content: center;
        gap: 10px;
        margin-top: 22px;
        width: 100%;
    }

    .btn {
        min-height: 44px;
        padding: 12px 20px;
        font-size: 12px;
        letter-spacing: .6px;
    }

    .hero-collage {
        width: min(88vw, 360px);
        max-width: none;
        aspect-ratio: 1 / .92;
    }

    .collage-card {
        width: 62%;
        padding: 7px 7px 0;
    }

    .collage-card figcaption {
        padding: 8px 3px 10px;
        font-size: 16px;
    }

    .collage-card .ph {
        font-size: 58px;
    }

    .ticker {
        gap: 9px 15px;
        padding: 13px 4vw;
        font-size: 10px;
        letter-spacing: 1.4px;
    }

    .section,
    .story {
        padding: 48px 5vw;
    }

    .section-head {
        align-items: flex-start;
        gap: 8px;
        margin-bottom: 25px;
    }

    .kicker {
        font-size: 10px;
        letter-spacing: 2px;
        margin-bottom: 7px;
    }

    .section-head h2,
    .story-copy h2,
    .cta h2,
    .qr-copy h2 {
        font-size: clamp(30px, 8vw, 40px);
        line-height: 1.05;
    }

    .sub {
        font-size: 14px;
        line-height: 1.55;
    }

    .categories {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 11px;
    }

    .category {
        min-width: 0;
        padding: 18px 15px;
        gap: 5px;
        border-radius: 12px;
    }

    .cat-emoji {
        font-size: 23px;
        margin-bottom: 3px;
    }

    .category b {
        font-size: clamp(18px, 5vw, 21px);
        line-height: 1.1;
    }

    .category small {
        font-size: 12px;
        line-height: 1.4;
    }

    .category em {
        margin-top: 7px;
        font-size: 10px;
        letter-spacing: 1px;
    }

    /* Catalogue controls stack cleanly and remain easy to tap */
    .toolbar {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
        margin-bottom: 22px;
    }

    .search,
    .sort {
        width: 100%;
        min-width: 0;
        min-height: 46px;
        padding: 11px 16px;
        font-size: 14px;
    }

    .filters {
        display: flex;
        flex-wrap: nowrap;
        gap: 8px;
        width: calc(100vw - 10vw);
        margin-right: -5vw;
        padding: 2px 5vw 8px 1px;
        overflow-x: auto;
        overflow-y: hidden;
        order: 3;
        scrollbar-width: thin;
        -webkit-overflow-scrolling: touch;
    }

    .filter {
        flex: 0 0 auto;
        min-height: 38px;
        padding: 8px 15px;
        white-space: nowrap;
        font-size: 12px;
    }

    /* Two comfortable columns on most phones */
    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .product-card {
        min-width: 0;
        border-radius: 12px;
        box-shadow: 0 3px 14px rgba(31, 46, 26, .045);
    }

    .product-image {
        aspect-ratio: 1 / 1.08;
    }

    .product-badge {
        top: 8px;
        left: 8px;
        max-width: calc(100% - 16px);
        padding: 4px 7px;
        font-size: 8px;
        letter-spacing: .8px;
    }

    .tag-eggless {
        left: 7px;
        bottom: 7px;
        gap: 4px;
        padding: 4px 7px;
        font-size: 9px;
    }

    .tag-eggless i {
        width: 6px;
        height: 6px;
        flex: 0 0 6px;
    }

    .quick-view {
        display: none;
    }

    .product-info {
        padding: 10px 10px 11px;
    }

    .product-category {
        font-size: 9px;
        letter-spacing: 1.2px;
        line-height: 1.3;
    }

    .product-name {
        margin: 4px 0 10px;
        font-size: clamp(16px, 4.5vw, 19px);
        line-height: 1.15;
        overflow-wrap: anywhere;
    }

    .product-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
        padding-top: 9px;
    }

    .price {
        font-size: 19px;
        line-height: 1.1;
    }

    .price .from,
    .price .unit {
        font-size: 10px;
    }

    .card-wa {
        display: inline-block;
        min-height: 28px;
        padding: 5px 0 2px;
        font-size: 10px;
        letter-spacing: .7px;
    }

    .empty {
        padding: 30px 15px;
        font-size: 14px;
    }

    .steps {
        grid-template-columns: minmax(0, 1fr);
    }

    .step,
    .step + .step {
        padding: 22px 0;
    }

    .num {
        font-size: 44px;
        margin-bottom: 8px;
    }

    .step h3 {
        font-size: 22px;
    }

    .step p {
        font-size: 14px;
    }

    .story {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }

    .story-image {
        width: min(78vw, 340px);
        aspect-ratio: 4 / 4.5;
        border-radius: 170px 170px 8px 8px;
    }

    .story-copy {
        gap: 8px;
    }

    .story-copy p {
        font-size: 15px;
        line-height: 1.65;
    }

    .qr-wrap {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }

    .qr-copy p {
        margin: 10px 0 20px;
        font-size: 14px;
    }

    .qr-actions {
        gap: 9px;
    }

    .qr-card-inner {
        padding: 20px;
    }

    .qr-card-inner img {
        width: min(58vw, 210px);
        height: auto;
        aspect-ratio: 1;
    }

    .qr-title {
        font-size: 25px;
    }

    .cta {
        padding: 58px 6vw;
    }

    .cta p {
        font-size: 14px;
        line-height: 1.6;
    }

    .footer {
        padding: 44px 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: 23px;
    }

    .footer p,
    .footer-top a {
        font-size: 13px;
        line-height: 1.6;
    }

    .footer h4 {
        font-size: 10px;
        letter-spacing: 1.8px;
    }

    .copyright {
        flex-direction: column;
        gap: 6px;
        margin-top: 30px;
        padding-top: 16px;
        font-size: 9px;
        letter-spacing: 1.2px;
        line-height: 1.5;
    }

    /* Product detail modal: scrollable, touch-friendly, no clipped content */
    .modal {
        padding: 10px;
        align-items: center;
    }

    .modal-box {
        grid-template-columns: minmax(0, 1fr);
        width: 100%;
        max-width: 480px;
        max-height: calc(100dvh - 20px);
        border-radius: 14px;
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    .modal-media {
        min-height: 0;
        height: clamp(190px, 43vh, 290px);
    }

    .modal-content {
        gap: 8px;
        padding: 22px 20px 24px;
    }

    .modal-content h3 {
        padding-right: 30px;
        font-size: 29px;
        line-height: 1.1;
    }

    .close {
        top: 9px;
        right: 9px;
        width: 36px;
        height: 36px;
    }

    .size-label {
        margin-top: 5px;
    }

    .size-btn {
        min-height: 40px;
        padding: 8px 16px;
    }

    .modal-price {
        font-size: 29px;
        margin: 5px 0;
    }
}

/* Very narrow phones */
@media (max-width: 380px) {
    .brand-logo {
        width: 36px;
        height: 36px;
    }

    .brand-text {
        font-size: 19px;
    }

    .hero h1 {
        font-size: 38px;
    }

    .product-grid {
        gap: 9px;
    }

    .product-info {
        padding: 9px 8px 10px;
    }

    .product-name {
        font-size: 16px;
    }

    .price {
        font-size: 17px;
    }

    .category {
        padding: 15px 12px;
    }

    .footer-top {
        gap: 24px 12px;
    }
}

/* Short landscape phones */
@media (max-width: 900px) and (orientation: landscape) {
    .hero {
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .hero-collage {
        max-width: 270px;
    }

    .modal-box {
        max-height: 94dvh;
    }

    .modal-media {
        min-height: 220px;
    }
}

/* Avoid hover-only effects on touch devices */
@media (hover: none) {
    .product-card:hover,
    .category:hover {
        transform: none;
        box-shadow: none;
    }

    .product-card:hover .product-image img {
        transform: none;
    }
}

/* Reduced motion accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}
/* Falling snow */
.snow {
    position: fixed;
    inset: 0;
    z-index: 15;
    pointer-events: none;
    overflow: hidden
}
.flake {
    position: absolute;
    top: -20px;
    color: #fff;
    text-shadow: 0 0 4px rgba(74, 42, 28, .5);
    animation: snowfall linear infinite;
    will-change: transform
}
@keyframes snowfall {
    to { transform: translate3d(var(--drift, 30px), 105vh, 0) rotate(360deg) }
}
@media (prefers-reduced-motion: reduce) { .snow { display: none } }

/* =========================================================
   FULL-PAGE PRODUCT VIEW (same behaviour as Anaya Baking)
   Paste at the END of style.css so it overrides older modal rules
   ========================================================= */
.modal {
    position: fixed; inset: 0; z-index: 100;
    display: none; align-items: stretch; justify-content: center;
    place-items: initial; padding: 0;
    background: var(--blush);
    backdrop-filter: none;
}
.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(31, 46, 26, .14);
    overflow-x: hidden; overflow-y: auto;
    overscroll-behavior: contain;
    animation: sheetIn .28s cubic-bezier(.2, .8, .25, 1);
}
@keyframes sheetIn { from { opacity: 0; transform: translateY(28px) } to { opacity: 1; transform: none } }

/* big square image so the picture is not cut */
.modal-media {
    position: relative; flex: none; width: 100%;
    height: auto; min-height: 0; max-height: 62dvh;
    aspect-ratio: 1 / 1;
    background: linear-gradient(160deg, var(--blush), var(--sage));
}
.modal-media .ph { font-size: 100px }
.modal-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover }

.modal-content {
    flex: 1 0 auto; display: flex; flex-direction: column;
    justify-content: flex-start; gap: 8px;
    padding: 24px 22px 28px;
}
.modal-content h3 { font-size: 32px; line-height: 1.12; padding-right: 0; margin: 4px 0 }
.modal-price { font-size: 28px; margin: 10px 0 14px }
.size-btn { min-height: 40px }

/* cross button always visible on top of the page */
.close {
    position: fixed;
    top: max(12px, env(safe-area-inset-top)); right: 12px; z-index: 110;
    width: 42px; height: 42px; border-radius: 50%;
    background: #fff; font-size: 24px; line-height: 1;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .2);
}

/* optional sticky bottom bar (price + order button) if you add .buybar in the HTML */
.buybar {
    position: sticky; bottom: 0; z-index: 4;
    display: flex; align-items: center; gap: 14px;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line); background: #fff;
    box-shadow: 0 -8px 24px rgba(31, 46, 26, .07);
}
.buybar .modal-price { flex: none; margin: 0; line-height: 1 }
.buybar .btn { flex: 1; min-height: 50px }

/* laptop / landscape: image left, details right, full screen */
@media (orientation: landscape) and (min-width: 640px), (min-width: 1100px) {
    .modal-box {
        display: grid; max-width: 1280px; overflow: hidden;
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
        grid-template-rows: minmax(0, 1fr) auto;
    }
    .modal-media { grid-column: 1; grid-row: 1 / 3; height: 100%; max-height: none; aspect-ratio: auto }
    .modal-content { grid-column: 2; grid-row: 1; min-height: 0; overflow-y: auto; padding: 64px 44px 24px }
    .buybar { grid-column: 2; grid-row: 2; position: static; padding: 16px 44px 28px; box-shadow: none }
    .close { position: absolute; top: 16px; right: 16px }
}
@media (orientation: landscape) and (max-height: 520px) {
    .modal-content { padding: 20px 24px 10px }
    .modal-content h3 { font-size: 24px }
}

/* =========================================================
   CB KITCHEN: font refresh + cute cards + better hero
   Paste at the END of style.css
   ========================================================= */
:root {
    --serif: 'Playfair Display', Georgia, serif;
    --sans: 'DM Sans', system-ui, sans-serif;
    --script: 'Great Vibes', cursive;
    /* these were used by the sprinkles but never defined */
    --pink: #e8a0b4;
    --mint: #9cc08a;
    --lilac: #d9b8c8;
}

body { font-family: var(--sans); font-size: 15px; line-height: 1.7 }
h1, h2, h3, h4 { font-weight: 500; letter-spacing: 0; line-height: 1.15 }
.section-head h2, .story-copy h2, .cta h2, .qr-copy h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 500 }
.sub { font-size: 14px; line-height: 1.7 }
.kicker { font-size: 11px; letter-spacing: 2.6px }
.num { font: 500 46px/1 var(--serif) }
.step h3 { font-size: 22px }
.step p { font-size: 14px }

/* ---------- brand + nav ---------- */
.brand-text { font: 600 24px/1 var(--serif); letter-spacing: .3px }
.brand-text small { font: 20px/1 var(--script); letter-spacing: 0; text-transform: none; color: var(--rose); margin-top: 3px }
.footer .brand-text small { color: var(--pink) }
.nav { gap: 24px }
.nav a { font: 500 11.5px var(--sans); letter-spacing: 1.4px; text-transform: uppercase }
.btn { font: 600 12px var(--sans); letter-spacing: 1.4px }
.announcement { font-size: 11px; letter-spacing: 1.8px }

/* ---------- hero ---------- */
.hero h1 { font-size: clamp(36px, 5.2vw, 66px); font-weight: 600; line-height: 1.1; margin: 18px 0; text-wrap: balance }
.hero h1 br { display: none }
.hero h1 em { display: block; font: 400 1.2em/1.05 var(--script); color: var(--rose); margin-top: 4px }
.hero-copy p { font-size: 16px; line-height: 1.8; max-width: 470px }
.collage-card figcaption { font: 400 24px/1.2 var(--script); color: var(--green-dk) }

/* ---------- collections ---------- */
.category { background: var(--blush); border: 0; border-radius: 20px; min-height: 200px; justify-content: flex-end }
.category:nth-child(even) { background: var(--sage) }
.cat-emoji { font-size: 42px; margin-bottom: auto; filter: none }
.category b { font: 500 21px var(--serif) }
.category small { font-size: 12.5px }
.category em { font: 600 10px var(--sans); letter-spacing: 2px }

/* ---------- cute product cards ---------- */
.product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 18px }
.product-card { background: transparent; border: 0; border-radius: 0; overflow: visible; min-width: 0 }
.product-card:hover { transform: none; box-shadow: none }

.product-image { aspect-ratio: 4 / 5; border-radius: 18px; transition: box-shadow .4s }
.product-card:hover .product-image { box-shadow: var(--shadow) }

.product-badge {
    top: 12px; left: 12px; padding: 7px 12px; border-radius: 999px;
    background: #fff; color: var(--rose-dk); font: 600 9px var(--sans); letter-spacing: 1.2px; text-transform: uppercase;
}
.tag-eggless {
    top: 12px; right: 12px; left: auto; bottom: auto; padding: 6px 11px;
    background: rgba(255, 255, 255, .95); font: 500 10px var(--sans); color: var(--green-dk);
}
.quick-view {
    left: 12px; right: 12px; bottom: 12px; padding: 12px; border-radius: 999px;
    background: rgba(255, 255, 255, .96); color: var(--ink);
    font: 600 10px var(--sans); letter-spacing: 1.6px; text-transform: uppercase;
}

.product-info { padding: 14px 2px 0 }
.product-category { font: 600 10px var(--sans); letter-spacing: 1.8px; color: var(--gold) }
.product-name { font: 600 19px/1.25 var(--serif); margin: 6px 0 12px; color: var(--ink) }
.product-bottom { padding-top: 0; border-top: 0; gap: 8px }
.price { font: 700 16px var(--sans); color: var(--ink) }
.price .from, .price .unit { font: 400 11px var(--sans); color: var(--muted) }

/* neat outlined order pill */
.card-wa {
  padding: 9px 16px;
  border: 1px solid var(--rose);
  border-radius: 999px;
  font: 600 10.5px var(--sans);
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--rose-dk);
  white-space: nowrap;
  flex: 0 0 auto;
  width: auto;
  transition: .25s;
}

.card-wa:hover {
  background: var(--rose);
  border-color: var(--rose);
  color: #fff;
}

/* ---------- full-page product view: fonts + price ---------- */
.modal-content h3 { font: 500 28px/1.15 var(--serif) }
.modal-price { font: 700 26px var(--sans) }
.eggless-line { font-size: 12.5px }
.size-label { font-size: 10px }
.size-btn { font-size: 13px }

/* ---------- header fit on small laptops ---------- */
@media (max-width: 1100px) {
    .header-right .btn { display: none }
    .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) }
}

/* ---------- tablet + phone hero ---------- */
@media (max-width: 900px) {
    .hero {
        grid-template-columns: minmax(0, 1fr);
        gap: 26px; padding: 40px 6vw 44px; text-align: center; overflow-x: clip;
    }
    .hero-copy { display: flex; flex-direction: column; align-items: center }
    .eyebrow { justify-content: center }
    .hero h1 { font-size: clamp(34px, 8.6vw, 54px) }
    .hero-copy p { margin: 0 auto; font-size: 15.5px }
    .hero-actions { justify-content: center }
    .hero-collage { width: min(84vw, 380px); max-width: none; aspect-ratio: 1 / .95; margin: 0 auto }
    .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 12px }
}

/* ---------- phones ---------- */
@media (max-width: 640px) {
    .announcement { font-size: 9px; letter-spacing: 1.2px }
    .brand-text { font-size: 21px }
    .brand-text small { font-size: 17px; letter-spacing: 0 }

    .hero { padding: 30px 6vw 36px; gap: 22px }
    .hero h1 { margin: 14px 0 12px }
    .hero-copy p { font-size: 14.5px }
    .hero-actions { gap: 10px; margin-top: 20px }
    .hero-actions .btn { flex: 1 1 calc(50% - 5px); padding: 13px 12px; font-size: 11px; letter-spacing: 1px }
    .hero-collage { width: min(80vw, 320px) }
    .collage-card { width: 64% }
    .collage-card figcaption { font-size: 20px; padding: 6px 3px 8px }

    .category { min-height: 160px }
    .category b { font-size: 18px }

    .product-name { font-size: 16px; margin: 5px 0 10px }
    .product-category { font-size: 8.5px; letter-spacing: 1.2px }
    .product-badge { top: 8px; left: 8px; padding: 5px 8px; font-size: 7.5px }
    .tag-eggless { top: 8px; right: 8px; padding: 5px 8px; font-size: 8px }
    .quick-view { display: block; opacity: 1; transform: none; left: 7px; right: 7px; bottom: 7px; padding: 8px; font-size: 8px; letter-spacing: 1.2px }

    /* price on one line, full-width order button below */
    .product-bottom {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
}
.price { font-size: 14px; white-space: nowrap }
.product-bottom .card-wa {
    flex: 0 0 auto;
    width: auto;
    padding: 6px 10px;
    font-size: 8.5px;
    letter-spacing: .8px;
    text-align: left;
}

    .modal-content h3 { font-size: 25px }
    .modal-price { font-size: 22px }
    @media (max-width: 640px) {
  
}
}
/* =========================================================
   FULL PICTURE IN THE OPENED CARD (no cropping)
   Paste at the VERY END of style.css
   ========================================================= */

/* Phone / portrait: the image sets its own height, so any shape fits */
.modal-media {
    aspect-ratio: auto;
    height: auto;
    max-height: none;
    min-height: 240px;              /* keeps room for the emoji if a photo is missing */
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--blush);
}
.modal-media img {
    position: relative;             /* in the page flow, not stretched to a fixed box */
    inset: auto;
    width: 100%;
    height: auto;
    max-height: 68dvh;              /* very tall photos never push the details off screen */
    object-fit: contain;            /* show the entire picture */
    background: var(--blush);
}

/* Laptop / landscape: image fills the left half, fully visible inside it */
@media (orientation: landscape) and (min-width: 640px), (min-width: 1100px) {
    .modal-media {
        height: 100%;
        min-height: 0;
        position: relative;
    }
    .modal-media img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        max-height: none;
        object-fit: contain;
    }
}
