/* ==========================================================================
   BLESSINGS OF PRODUCE: STYLES
   Main colours are set once in :root below. Change them there to restyle
   the whole site. Fonts are stored in the fonts/ folder (no outside requests).
   ========================================================================== */

/* ---------- Fonts (SIL Open Font License, see fonts/*-OFL.txt) ---------- */
@font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("fonts/Poppins-400-latin.woff2") format("woff2");
}
@font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("fonts/Poppins-500-latin.woff2") format("woff2");
}
@font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("fonts/Poppins-600-latin.woff2") format("woff2");
}
@font-face {
    font-family: "Playfair Display";
    font-style: normal;
    font-weight: 600 700;
    font-display: swap;
    src: url("fonts/PlayfairDisplay-latin.woff2") format("woff2");
}

:root {
    --navy: #0b2e59;        /* deep blue: headings, footer */
    --navy-2: #123f78;
    --blue: #1565c0;        /* main brand blue: buttons, links */
    --blue-light: #4fa3f7;
    --sky: #e8f2fc;         /* soft blue backgrounds */
    --sky-2: #f4f9ff;
    --white: #ffffff;
    --text: #1d3557;
    --muted: #5b6b82;
    --border: #d8e6f5;
    --gold: #f4b400;        /* small Jamaican-gold accent */
    --whatsapp: #14803f;    /* darker WhatsApp green: white text passes contrast checks */
    --whatsapp-dark: #0f6a33;
    --danger: #c62828;
    --ok: #0b5c34;
    --focus: #1565c0;
    --focus-on-dark: #ffd54a;

    --radius: 18px;
    --radius-sm: 10px;
    --shadow: 0 10px 30px rgba(11, 46, 89, 0.08);
    --shadow-hover: 0 16px 40px rgba(11, 46, 89, 0.16);

    --font-body: "Poppins", "Segoe UI", Arial, sans-serif;
    --font-heading: "Playfair Display", Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--white);
}
body.no-scroll { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: var(--blue); }
[hidden] { display: none !important; }

h1, h2, h3 { font-family: var(--font-heading); color: var(--navy); line-height: 1.2; margin: 0 0 .5em; }
h3, h4 { font-family: var(--font-body); font-weight: 600; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.container.narrow { max-width: 860px; }
.section { padding: 80px 0; }
.small { font-size: .88rem; color: var(--muted); }

.eyebrow {
    display: inline-block;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--blue);
    margin: 0 0 10px;
}

.section-heading { text-align: center; max-width: 680px; margin: 0 auto 40px; }
.section-heading h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.section-heading p { color: var(--muted); }
.section-heading.light h2 { color: var(--white); }
.section-heading.light .eyebrow { color: #a9d1ff; }

.visually-hidden {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.25em; height: 1.25em; flex-shrink: 0; vertical-align: -0.22em; }
.icon-xl { width: 56px; height: 56px; }

/* Keyboard focus: always visible */
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.topbar :focus-visible, .why :focus-visible, .site-footer :focus-visible, .toast :focus-visible { outline-color: var(--focus-on-dark); }

/* Headings that receive focus when a view changes (for screen readers) don't need an outline */
h1[tabindex="-1"]:focus, h2[tabindex="-1"]:focus { outline: none; }

/* "Skip to the shop" for keyboard users. Until it is focused it is clipped to nothing: it used to wait
   just above the top of the page, where phones show it as a dark box when the page bounces */
.skip-link {
    position: absolute; left: 12px; top: 12px; z-index: 200;
    background: var(--navy); color: var(--white); padding: 10px 16px; border-radius: 8px;
    font-weight: 600; text-decoration: none;
}
.skip-link:not(:focus) {
    width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; white-space: nowrap;
    clip: rect(0 0 0 0); clip-path: inset(50%); border: 0;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 26px;
    border-radius: 999px;
    border: 2px solid transparent;
    font: 600 1rem var(--font-body);
    line-height: 1.3;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: transform .2s, box-shadow .2s, background .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-primary { background: var(--blue); color: var(--white); box-shadow: 0 8px 20px rgba(21, 101, 192, .3); }
.btn-primary:hover { background: var(--navy); }
.btn-outline { background: var(--white); color: var(--navy); border-color: #a9c8ea; box-shadow: 0 3px 10px rgba(11, 46, 89, .06); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); background: var(--sky-2); }
.hero-buttons .btn-outline .icon { color: var(--whatsapp); }
.btn-whatsapp { background: var(--whatsapp); color: var(--white); box-shadow: 0 8px 20px rgba(20, 128, 63, .28); }
.btn-whatsapp:hover { background: var(--whatsapp-dark); }
.btn-small { padding: 9px 16px; font-size: .9rem; }
.btn-block { width: 100%; }

.text-button {
    background: none; border: 0; color: var(--muted);
    font: 500 .9rem var(--font-body); cursor: pointer;
    text-decoration: underline; padding: 8px; border-radius: 6px;
}
.text-button:hover { color: var(--navy); }
.text-button.inline { padding: 0; font-size: inherit; color: inherit; font-weight: 600; }
.link-button { background: none; border: 0; padding: 0; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; }
.icon-button {
    width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid var(--border); background: var(--white);
    cursor: pointer; color: var(--navy);
}
.icon-button:hover { background: var(--sky); }

/* ---------- Notices ---------- */
.preview-banner {
    background: #fff1cc; color: #7a4b00; border-bottom: 1px solid #f1d58b;
    text-align: center; font-size: .85rem; padding: 8px 16px; line-height: 1.4;
}
.owner-check {
    background: #fff4f4; color: #7f1d1d; border-bottom: 2px solid #f5b5b5;
    padding: 10px 20px; font-size: .9rem;
}
.owner-check summary { cursor: pointer; font-weight: 600; }
.owner-check ul { margin: 8px 0 4px; padding-left: 20px; }
.owner-check li.warning { color: #7a4b00; }
.load-error {
    background: #fff4f4; color: #7f1d1d; border: 1px solid #f5b5b5;
    border-radius: var(--radius-sm); padding: 16px 20px; margin: 16px 0;
}
.load-error small { display: block; margin-top: 6px; }
.notice { text-align: center; padding: 20px; background: var(--sky); border-radius: var(--radius-sm); }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--navy); color: #dbeaff; font-size: .82rem; padding: 8px 16px; }
.topbar p { margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; }
.topbar a { color: var(--white); font-weight: 600; text-decoration: none; }
.topbar a:hover { text-decoration: underline; }

.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 74px; }

.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; border-radius: 8px; }
.logo-text { font-family: var(--font-heading); font-size: 1.45rem; font-weight: 700; color: var(--navy); white-space: nowrap; }
.logo-mark { display: flex; align-items: center; }
/* Your own logo (Settings → Logo & homepage photo): keeps its shape, never stretched */
.logo-mark .logo-img { display: block; width: 44px; height: 44px; object-fit: contain; }
.logo-mark .logo-img.is-wide { width: auto; max-width: 200px; }
.logo-text em, .footer-logo em { font-style: italic; color: var(--blue); font-weight: 600; }

.main-nav { display: flex; gap: 26px; }
.main-nav a { color: var(--text); text-decoration: none; font-weight: 500; position: relative; padding: 4px 0; }
.main-nav a::after {
    content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px;
    background: var(--blue); transition: width .2s;
}
.main-nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 10px; }

.cart-button {
    display: flex; align-items: center; gap: 8px;
    background: var(--blue); color: var(--white);
    border: 0; border-radius: 999px; padding: 10px 16px;
    font: 600 .95rem var(--font-body); cursor: pointer;
}
.cart-button:hover { background: var(--navy); }
.cart-count {
    background: var(--white); color: var(--blue);
    min-width: 24px; height: 24px; padding: 0 6px; border-radius: 999px;
    display: inline-flex; align-items: center; justify-content: center; font-size: .8rem;
}
.cart-count.bump { animation: bump .4s; }
@keyframes bump { 50% { transform: scale(1.35); } }

.menu-toggle {
    display: none; width: 44px; height: 44px; border: 1px solid var(--border); border-radius: 12px;
    background: var(--white); cursor: pointer; padding: 12px 10px; flex-direction: column; justify-content: space-between;
}
.menu-toggle span { display: block; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .25s, opacity .25s; }
.menu-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
    background:
        radial-gradient(circle at 85% 10%, rgba(79, 163, 247, .18), transparent 45%),
        linear-gradient(180deg, var(--sky-2), var(--white));
    padding: 64px 0 40px;
    overflow: hidden;
}
.hero-inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: 18px; }
.hero-sub { font-size: 1.1rem; color: var(--muted); max-width: 540px; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 20px; }
.hero-areas {
    display: flex; gap: 10px; align-items: flex-start;
    background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-sm);
    padding: 12px 14px; max-width: 540px; margin: 0 0 18px; font-size: .95rem;
}
.hero-areas .icon { color: var(--blue); margin-top: 2px; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--navy); font-size: .92rem; font-weight: 500; }
.hero-points li { display: flex; align-items: center; gap: 6px; }
.hero-points .icon { color: var(--blue); }
.hero-art:empty { display: none; }
.hero-art .hero-photo { width: 100%; height: auto; aspect-ratio: 520 / 460; object-fit: cover; border-radius: 36px; box-shadow: 0 25px 40px rgba(11, 46, 89, .18); background: var(--sky); }
.hero-inner.no-art { grid-template-columns: minmax(0, 1fr); max-width: 760px; }

/* The featured bundle (Fruit Splash first), shown in the welcome section until you add your own photo */
.hero-spotlight {
    background: var(--white); border: 2px solid var(--gold); border-radius: 28px; overflow: hidden;
    box-shadow: 0 25px 50px rgba(11, 46, 89, .16);
}
.hero-spotlight .bundle-media { aspect-ratio: 16 / 11; }
.spotlight-body { padding: 18px 22px 22px; }
.spotlight-label { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 6px; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
.spotlight-label::before { content: "★"; color: var(--gold); font-size: 1rem; letter-spacing: 0; }
.spotlight-name { font-size: clamp(1.5rem, 3vw, 2rem); margin: 0 0 4px; }
.spotlight-purpose { margin: 0 0 10px; color: var(--muted); font-size: .95rem; }
.spotlight-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin: 0 0 14px; }
.spotlight-price strong { font-size: 1.6rem; color: var(--blue); }
.spotlight-price span { color: var(--muted); font-size: .9rem; }
.spotlight-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.spotlight-actions .btn { padding: 12px 14px; font-size: .95rem; }

/* A small link to the featured bundle, under the welcome buttons when the section has your photo */
.hero-teaser {
    display: flex; align-items: center; gap: 14px; margin: 0 0 18px; padding: 10px 14px 10px 10px;
    background: var(--white); border: 1.5px solid var(--gold); border-radius: 18px; text-decoration: none; color: var(--text);
    box-shadow: var(--shadow); max-width: 520px; transition: transform .2s, box-shadow .2s;
}
.hero-teaser:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.teaser-thumb { width: 64px; height: 64px; border-radius: 12px; overflow: hidden; flex-shrink: 0; background: var(--sky); }
.teaser-thumb img { width: 100%; height: 100%; object-fit: cover; }
.teaser-text { display: flex; flex-direction: column; min-width: 0; flex: 1; line-height: 1.3; }
.teaser-label { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
.teaser-text strong { font-family: var(--font-heading); font-size: 1.15rem; color: var(--navy); }
.teaser-text span:last-child { font-size: .85rem; color: var(--muted); }
.teaser-go { width: 36px; height: 36px; border-radius: 50%; background: var(--blue); color: var(--white); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 1.1rem; }

/* ---------- Category cards ---------- */
.categories { padding: 20px 0 10px; }
.category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.category-card {
    display: flex; flex-direction: column; text-decoration: none; color: var(--text);
    background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
    overflow: hidden; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s;
}
.category-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.category-photo { display: block; aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--sky), #cfe3fa); overflow: hidden; }
.category-photo img { width: 100%; height: 100%; object-fit: cover; }
.category-photo.is-missing img { display: none; }
.category-body { display: flex; flex-direction: column; gap: 6px; padding: 20px 22px 22px; }
.category-title { font-family: var(--font-heading); font-size: 1.4rem; font-weight: 700; color: var(--navy); }
.category-text { color: var(--muted); }
.category-link { color: var(--blue); font-weight: 600; margin-top: 4px; }

/* ---------- Shop toolbar ---------- */
.shop-toolbar { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.search-box { position: relative; flex: 1 1 320px; max-width: 520px; margin: 0; }
.search-box .icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.search-box input { padding-left: 46px; border-radius: 999px; background: var(--white); }
.sort-box { display: flex; align-items: center; gap: 10px; }
.sort-box label { margin: 0; white-space: nowrap; }
.sort-box select { width: auto; border-radius: 999px; background: var(--white); padding-right: 36px; }

.filter-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 10px; }
.chip {
    border: 1.5px solid #bcd5ef; background: var(--white); color: var(--navy);
    padding: 9px 16px; min-height: 44px; border-radius: 999px; font: 600 .93rem var(--font-body); cursor: pointer;
    display: inline-flex; align-items: center; gap: 8px;
    box-shadow: 0 2px 8px rgba(11, 46, 89, .05);
    transition: background .2s, color .2s, border-color .2s;
}
.chip:hover { border-color: var(--blue); background: var(--sky-2); }
.chip:active { transform: scale(.98); }
.chip[aria-pressed="true"] { background: var(--navy); color: var(--white); border-color: var(--navy); }
.chip-count { background: var(--sky); color: var(--navy); border-radius: 999px; padding: 0 8px; font-size: .78rem; font-weight: 600; }
.chip[aria-pressed="true"] .chip-count { background: rgba(255, 255, 255, .18); color: var(--white); }
.results-status { color: var(--muted); font-size: .9rem; margin: 0 0 26px; min-height: 1.4em; }

.empty-results { text-align: center; background: var(--sky-2); border: 1px dashed var(--border); border-radius: var(--radius); padding: 30px 20px; margin-bottom: 30px; }
.empty-results p { margin: 0 0 10px; }
.photo-note { color: var(--muted); font-size: .85rem; text-align: center; margin: 10px 0 0; }

/* ---------- Product sections & cards ---------- */
.product-category { margin-bottom: 52px; }
.product-category-header { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 6px 16px; border-bottom: 2px solid var(--sky); padding-bottom: 12px; margin-bottom: 24px; }
.product-category-header h3 { font-family: var(--font-heading); font-size: 1.7rem; font-weight: 700; margin: 0; }
.product-category-header p { margin: 0; color: var(--muted); }

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

.product-card {
    position: relative; display: flex; flex-direction: column;
    background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
    overflow: hidden; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s;
}
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.product-card.is-highlighted { box-shadow: 0 0 0 4px var(--gold), var(--shadow-hover); }

.product-media { position: relative; aspect-ratio: 4 / 3; background: linear-gradient(135deg, var(--sky), #cfe3fa); overflow: hidden; }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.product-card:hover .product-media img { transform: scale(1.04); }
.photo-placeholder {
    width: 100%; height: 100%; display: flex; flex-direction: column; gap: 6px;
    align-items: center; justify-content: center; color: var(--blue);
    background: linear-gradient(135deg, var(--sky), #cfe3fa); font-size: .8rem; font-weight: 500;
}
.photo-placeholder svg { width: 54px; height: 54px; }
.photo-placeholder span { color: var(--navy); opacity: .75; }

.product-tag, .stock-badge {
    position: absolute; top: 10px;
    font-size: .72rem; font-weight: 600; letter-spacing: .02em;
    padding: 4px 10px; border-radius: 999px; line-height: 1.4;
}
.product-tag { left: 10px; background: var(--navy); color: var(--white); }
.stock-badge { right: 10px; }
.stock-limited { background: #fff4dc; color: #8a5300; border: 1px solid #f1d58b; }
.stock-out { background: #eef1f5; color: #4b5563; border: 1px solid #d5dbe3; }
.product-card.is-sold-out .product-media img { filter: grayscale(.7); opacity: .75; }

.product-body { padding: 16px 16px 18px; display: flex; flex-direction: column; flex: 1; }
.product-name { margin: 0 0 4px; font-size: 1.06rem; color: var(--navy); }
.product-desc { margin: 0 0 10px; font-size: .88rem; color: var(--muted); flex: 1; }
.product-note { margin: -4px 0 10px; font-size: .78rem; color: #7a4b00; background: #fff8e6; border-radius: 8px; padding: 6px 8px; }
.product-price { margin: 0 0 2px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 6px; }
.product-price strong { font-size: 1.3rem; color: var(--blue); }
.product-price span { font-size: .85rem; color: var(--muted); }
.product-hint { margin: 0; font-size: .78rem; color: var(--muted); }
/* Sale prices (while a promotion is running) */
.price-was { color: var(--muted); font-size: .88rem; text-decoration: line-through; text-decoration-thickness: 1.5px; }
.sale-badge { display: inline-block; background: #fdecea; color: #a01818; border: 1px solid #f3c2c2; border-radius: 999px; padding: 1px 9px; font-size: .74rem; font-weight: 700; letter-spacing: .02em; }
.bundle-price .sale-badge, .spotlight-price .sale-badge { color: #a01818; font-size: .74rem; }
.bundle-price .bundle-was + .sale-badge { text-decoration: none; }
.product-card.is-on-sale .product-price strong { color: #b3261e; }
.cart-savings { margin: 2px 0 6px; color: var(--ok); font-weight: 600; font-size: .88rem; }
.summary-row.saving strong { color: var(--ok); }
.promo-strip { background: var(--blue); color: var(--white); text-align: center; font-size: .86rem; padding: 8px 16px; line-height: 1.4; }
.promo-strip strong { color: #ffe08a; }

.card-controls { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px 10px; margin-top: 12px; }
.line-preview { margin: 0; font-size: .85rem; color: var(--navy); font-weight: 500; }
.qty-message { margin: 6px 0 0; font-size: .8rem; min-height: 0; color: var(--muted); }
.qty-message:empty { display: none; }
.qty-message.is-error { color: var(--danger); }
.qty-message.is-info { color: #7a4b00; }

.add-button {
    width: 100%; min-height: 46px; margin-top: 12px; border: 0; border-radius: 12px; padding: 12px;
    background: var(--blue); color: var(--white);
    font: 600 .95rem var(--font-body); cursor: pointer;
    box-shadow: 0 6px 14px rgba(21, 101, 192, .22);
    transition: background .2s, color .2s, transform .15s;
}
.add-button:hover { background: var(--navy); }
.add-button:active { transform: scale(.98); }
.in-cart-note { margin: 8px 0 0; font-size: .8rem; color: var(--ok); font-weight: 500; text-align: center; }
.soldout-text { margin: 10px 0 8px; font-size: .88rem; color: #4b5563; font-weight: 500; }

/* Quantity stepper (cards and basket) */
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--border); border-radius: 999px; background: var(--white); }
.step-btn {
    width: 40px; height: 40px; border: 0; background: none; border-radius: 50%;
    font: 500 1.25rem/1 var(--font-body); color: var(--navy); cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center;
}
.step-btn:hover:not(:disabled) { background: var(--sky); }
.step-btn:disabled { color: #a3b1c2; cursor: not-allowed; }
.qty-input {
    width: 3.2em; border: 0; background: transparent; text-align: center;
    font: 600 1rem var(--font-body); color: var(--navy); padding: 6px 0; border-radius: 6px;
}
.qty-input:focus { background: var(--sky-2); outline: 2px solid var(--blue-light); outline-offset: 0; }
.qty-unit { font-size: .85rem; color: var(--muted); padding-right: 2px; }

/* ---------- How it works ---------- */
.how { background: var(--sky-2); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.steps li { background: var(--white); border-radius: var(--radius); padding: 26px; border: 1px solid var(--border); }
.steps h3 { font-size: 1.05rem; margin: 14px 0 6px; }
.steps p { margin: 0; color: var(--muted); font-size: .93rem; }
.step-number { display: inline-flex; width: 40px; height: 40px; border-radius: 50%; align-items: center; justify-content: center; background: var(--blue); color: var(--white); font-weight: 600; }

/* ---------- Why choose us ---------- */
.why { background: linear-gradient(160deg, var(--navy), var(--navy-2) 70%, #164f93); color: #dbeaff; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.why-card { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius); padding: 28px; }
.why-card h3 { color: var(--white); font-size: 1.1rem; margin: 14px 0 8px; }
.why-card p { margin: 0; font-size: .95rem; }
.why-icon { display: inline-flex; width: 54px; height: 54px; align-items: center; justify-content: center; background: rgba(255, 255, 255, .12); border-radius: 16px; color: #bfe0ff; }
.why-icon .icon { width: 28px; height: 28px; }

/* ---------- Delivery & payment ---------- */
.info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.info-card { background: var(--white); border-radius: var(--radius); padding: 28px; border: 1px solid var(--border); box-shadow: var(--shadow); }
.info-card h3 { font-size: 1.15rem; display: flex; align-items: center; gap: 10px; }
.info-card h3 .icon { color: var(--blue); }
.info-card p { margin: 10px 0 0; }
.zone-list, .check-list, .plain-list { list-style: none; padding: 0; margin: 0; }
.zone-list li { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px dashed var(--border); }
.zone-list li strong { color: var(--blue); white-space: nowrap; text-align: right; }
.check-list li { position: relative; padding: 6px 0 6px 28px; }
.check-list li::before {
    content: ""; position: absolute; left: 2px; top: 12px; width: 14px; height: 14px; border-radius: 50%;
    background: var(--sky); box-shadow: inset 0 0 0 3px var(--blue);
}
.info-list { margin: 0; }
.info-list > div { display: grid; grid-template-columns: 140px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--border); }
.info-list dt { color: var(--muted); }
.info-list dd { margin: 0; font-weight: 500; color: var(--navy); }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-list details { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-sm); box-shadow: var(--shadow); }
.faq-list summary {
    list-style: none; cursor: pointer; padding: 16px 52px 16px 20px; position: relative;
    font-weight: 600; color: var(--navy); border-radius: var(--radius-sm);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
    content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
    font-size: 1.4rem; color: var(--blue); line-height: 1;
}
.faq-list details[open] summary::after { content: "−"; }
.faq-answer { padding: 0 20px 16px; color: var(--text); }
.faq-answer p { margin: 0 0 8px; }
.faq-answer ul { margin: 0 0 8px; padding-left: 20px; }
.faq-answer .zone-list { padding-left: 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-info h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
.contact-info > p { color: var(--muted); }
.contact-info .btn { margin: 12px 0 24px; }
.contact-list { list-style: none; padding: 0; margin: 0 0 16px; }
.contact-list li { display: flex; align-items: center; gap: 14px; padding: 8px 0; }
.contact-icon { width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; background: var(--sky); border-radius: 12px; color: var(--blue); flex-shrink: 0; }
.contact-list a { color: var(--text); }
.contact-list a:hover { color: var(--blue); }
.social-links { display: flex; flex-wrap: wrap; gap: 8px 16px; color: var(--muted); margin: 0; }
.social-links a { font-weight: 600; }

/* ---------- Forms ---------- */
.contact-form { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.contact-form h3 { font-family: var(--font-heading); font-size: 1.5rem; margin-bottom: 4px; }
.contact-form .btn { margin-top: 18px; }
.field { display: flex; flex-direction: column; margin: 0 0 14px; border: 0; padding: 0; min-width: 0; }
label, legend { font-weight: 500; font-size: .92rem; margin: 0 0 6px; color: var(--navy); padding: 0; }
.req { color: var(--danger); }
.optional { color: var(--muted); font-weight: 400; }
.hint { margin: -2px 0 6px; font-size: .82rem; color: var(--muted); }
input, textarea, select {
    font: 400 1rem var(--font-body); color: var(--text);
    padding: 12px 14px; border: 1px solid #c3d5ea; border-radius: var(--radius-sm);
    background: var(--sky-2); width: 100%;
}
textarea { resize: vertical; }
input:focus, textarea:focus, select:focus { outline: 2px solid var(--blue-light); outline-offset: 1px; border-color: var(--blue); background: var(--white); }
input[aria-invalid="true"], textarea[aria-invalid="true"], select[aria-invalid="true"] { border-color: var(--danger); background: #fff8f8; }
.field-error { color: var(--danger); font-size: .85rem; margin: 6px 0 0; }
.form-error { color: var(--danger); font-size: .9rem; margin: 10px 0; font-weight: 500; }
.radio-group { display: flex; flex-direction: column; gap: 8px; }
.radio { display: flex; align-items: center; gap: 10px; font-weight: 400; margin: 0; cursor: pointer; padding: 10px 12px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--white); }
.radio input { width: 18px; height: 18px; margin: 0; accent-color: var(--blue); flex-shrink: 0; }
.radio:has(input:checked) { border-color: var(--blue); background: var(--sky-2); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #c4d8f2; padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer-logo { font-family: var(--font-heading); font-size: 1.6rem; font-weight: 700; color: var(--white); margin: 0 0 8px; }
.footer-logo em { color: #8fc3ff; }
.footer-heading { font-family: var(--font-body); color: var(--white); margin: 0 0 12px; font-size: 1rem; font-weight: 600; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { padding: 4px 0; }
.site-footer a, .site-footer .link-button { color: #c4d8f2; text-decoration: none; }
.site-footer a:hover, .site-footer .link-button:hover { color: var(--white); text-decoration: underline; }
.site-footer .small { color: #9db7d9; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 40px; padding-top: 20px; padding-bottom: 24px; text-align: center; font-size: .85rem; }
.footer-bottom p { margin: 0; }
.footer-bottom .link-button { margin-left: 8px; text-decoration: underline; }

/* ---------- Basket drawer ---------- */
.cart-overlay { position: fixed; inset: 0; background: rgba(11, 46, 89, .45); z-index: 90; }
.cart-drawer {
    position: fixed; top: 0; right: 0; z-index: 100;
    width: 440px; max-width: 100%; height: 100%; height: 100dvh;
    background: var(--white); display: flex; flex-direction: column;
    transform: translateX(100%); visibility: hidden;
    transition: transform .3s ease, visibility 0s linear .3s;
    box-shadow: -20px 0 50px rgba(11, 46, 89, .2);
}
.cart-drawer.open { transform: none; visibility: visible; transition: transform .3s ease; }
.drawer-view { display: flex; flex-direction: column; height: 100%; min-height: 0; }
.drawer-header { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--border); }
.drawer-header h2 { flex: 1; margin: 0; font-size: 1.4rem; }
.drawer-body { flex: 1; overflow-y: auto; padding: 6px 20px 24px; overscroll-behavior: contain; }
.drawer-footer { border-top: 1px solid var(--border); padding: 14px 20px calc(14px + env(safe-area-inset-bottom, 0px)); background: var(--sky-2); }
.drawer-links { display: flex; justify-content: space-between; margin-top: 4px; }

.cart-empty { text-align: center; padding: 56px 10px; color: var(--muted); }
.cart-empty .icon-xl { color: var(--blue); opacity: .55; margin: 0 auto 6px; }

.cart-items { list-style: none; padding: 0; margin: 0; }
.cart-line { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: start; padding: 14px 0; border-bottom: 1px solid var(--border); }
.cart-thumb { width: 64px; height: 64px; border-radius: 12px; overflow: hidden; background: var(--sky); }
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-thumb .photo-placeholder svg { width: 34px; height: 34px; }
.cart-line h4 { margin: 0; font-size: .98rem; color: var(--navy); }
.cart-line-price { margin: 0 0 6px; font-size: .8rem; color: var(--muted); }
.cart-line .stepper .step-btn { width: 34px; height: 34px; }
.cart-line .qty-input { width: 3em; font-size: .95rem; }
.cart-line-side { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.cart-line-total { color: var(--navy); font-size: 1rem; }
.remove-btn { background: none; border: 0; color: var(--muted); font: 500 .85rem var(--font-body); cursor: pointer; text-decoration: underline; padding: 6px 4px; min-height: 36px; border-radius: 6px; }
.remove-btn:hover { color: var(--danger); }
.cart-line.is-sold-out h4, .cart-line.is-sold-out .cart-line-price { opacity: .6; }

.cart-notes { margin-top: 14px; display: flex; flex-direction: column; gap: 10px; }
.cart-note { margin: 0; font-size: .85rem; border-radius: var(--radius-sm); padding: 10px 12px; }
.cart-note-info { background: var(--sky-2); border: 1px solid var(--border); color: var(--text); }
.cart-note-warning { background: #fff8e6; border: 1px solid #f1d58b; color: #7a4b00; }

.summary-row { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; color: var(--muted); }
.summary-row strong { color: var(--navy); text-align: right; }
.summary-row.total { color: var(--navy); font-weight: 600; font-size: 1.1rem; }
.summary-hint { font-size: .82rem; color: var(--muted); margin: 4px 0 8px; }
.cart-minimum { font-size: .85rem; color: #7a4b00; background: #fff8e6; border-radius: 8px; padding: 8px 10px; margin: 0 0 10px; }

.checkout-form { padding-top: 12px; }
.form-intro { font-size: .85rem; color: var(--muted); margin: 0 0 12px; }
.order-summary { background: var(--sky-2); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 14px 16px; margin: 6px 0 12px; }
.order-summary .summary-row.total { border-top: 1px solid var(--border); margin-top: 6px; padding-top: 8px; }
.summary-note { font-size: .8rem; color: var(--muted); margin: 8px 0 0; }
.confirm-note { font-size: .88rem; background: #fff8e6; border: 1px solid #f1d58b; color: #5c3b00; border-radius: var(--radius-sm); padding: 10px 12px; margin: 0 0 12px; }
.privacy-line { text-align: center; margin: 12px 0 0; }

.sent-box { padding: 18px 0; display: flex; flex-direction: column; gap: 12px; }
.sent-box p { margin: 0; }
.sent-icon { width: 64px; height: 64px; border-radius: 50%; background: #e3f6ea; color: var(--whatsapp); display: inline-flex; align-items: center; justify-content: center; }
.sent-icon .icon { width: 34px; height: 34px; }
.sent-lead { font-size: 1.05rem; font-weight: 600; color: var(--navy); }
.sent-steps { margin: 0; padding-left: 22px; }
.sent-steps li { margin: 4px 0; }
.fallback { border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 10px 14px; }
.fallback summary { cursor: pointer; font-weight: 600; color: var(--navy); }
.fallback p { margin: 10px 0; font-size: .9rem; }
.fallback textarea { font-size: .82rem; font-family: Consolas, "Courier New", monospace; }
.sent-actions { border-top: 1px solid var(--border); padding-top: 14px; display: flex; flex-direction: column; align-items: center; gap: 6px; }

/* ---------- Choosing one of our WhatsApp numbers ---------- */
.number-chooser {
    width: min(380px, calc(100% - 32px)); max-width: none; padding: 26px 24px 16px;
    border: 0; border-radius: var(--radius); background: var(--white); color: var(--text);
    box-shadow: var(--shadow-hover); text-align: center;
}
.number-chooser::backdrop { background: rgba(11, 46, 89, .45); }
.number-chooser h2 { font-size: 1.4rem; margin: 0 0 4px; }
.number-chooser p { margin: 0 0 18px; color: var(--muted); font-size: .95rem; }
.chooser-options { display: flex; flex-direction: column; gap: 10px; }
.number-chooser .text-button { margin-top: 8px; }

/* ---------- Toast & consent ---------- */
.toast {
    position: fixed; left: 50%; bottom: 24px; z-index: 120;
    transform: translate(-50%, 140%); opacity: 0; pointer-events: none;
    display: flex; align-items: center; gap: 14px;
    background: var(--navy); color: var(--white);
    padding: 12px 18px 12px 22px; border-radius: 999px; font-weight: 500; font-size: .95rem;
    box-shadow: var(--shadow-hover); transition: transform .3s ease, opacity .3s ease;
    max-width: calc(100% - 32px); width: max-content;
}
.toast.show { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.toast-action { background: none; border: 1px solid rgba(255, 255, 255, .5); color: var(--white); border-radius: 999px; padding: 6px 14px; font: 600 .85rem var(--font-body); cursor: pointer; white-space: nowrap; }
.toast-action:hover { background: rgba(255, 255, 255, .12); }

.consent-banner {
    position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 110;
    max-width: 680px; margin: 0 auto; background: var(--white); border: 1px solid var(--border);
    border-radius: var(--radius); box-shadow: var(--shadow-hover); padding: 18px 20px;
    display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center;
}
.consent-banner p { margin: 0; flex: 1 1 320px; font-size: .9rem; }
.consent-buttons { display: flex; gap: 10px; }

/* ---------- Policy pages (privacy, terms, credits) ---------- */
.page-header .header-inner { height: 70px; }
.page-header .btn { padding: 10px 18px; font-size: .92rem; }
.prose { max-width: 800px; margin: 0 auto; padding: 48px 20px 72px; }
.prose h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.prose h2 { font-size: 1.45rem; margin-top: 2em; }
.prose h3 { font-size: 1.05rem; margin-top: 1.4em; }
.prose p, .prose li { color: var(--text); }
.prose ul { padding-left: 22px; }
.prose .zone-list { padding-left: 0; max-width: 520px; }
.prose .updated { color: var(--muted); font-size: .9rem; }
.draft-note { background: #fff8e6; border: 1px solid #f1d58b; color: #5c3b00; border-radius: var(--radius-sm); padding: 12px 16px; margin: 0 0 24px; }
.credits-table-wrap { overflow-x: auto; }
.credits-table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.credits-table th, .credits-table td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--border); vertical-align: top; }
.credits-table th { color: var(--navy); }
.credits-table img { width: 72px; height: 54px; object-fit: cover; border-radius: 6px; }

/* ---------- Bundles (ready-made baskets) ---------- */
.bundles { background: linear-gradient(180deg, var(--white), var(--sky-2)); }
.bundle-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 22px; margin-top: 18px; }
.bundle-card {
    display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--border);
    border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s;
}
.bundle-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.bundle-card.is-featured { border-color: #f1d58b; }
.bundle-media {
    position: relative; aspect-ratio: 4 / 3; display: grid; gap: 2px; background: var(--sky);
    grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; overflow: hidden;
}
.bundle-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bundle-media.tiles-1 img, .bundle-media.tiles-1 .photo-placeholder { grid-column: 1 / -1; grid-row: 1 / -1; }
.bundle-media.tiles-2 img { grid-row: 1 / -1; }
.bundle-media.tiles-3 img:first-of-type { grid-row: 1 / -1; }
.bundle-kind-badge, .bundle-popular {
    position: absolute; top: 10px; font-size: .72rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; line-height: 1.4;
}
.bundle-kind-badge { left: 10px; background: var(--navy); color: var(--white); }
.bundle-popular { right: 10px; background: var(--gold); color: #3d2a00; }
.bundle-preview-badge { position: absolute; left: 10px; right: 10px; bottom: 10px; background: rgba(122, 75, 0, .92); color: #fff; font-size: .75rem; font-weight: 600; border-radius: 8px; padding: 6px 10px; text-align: center; }
.bundle-preview-badge.is-inline { position: static; margin: 0 0 14px; }
.bundle-card.is-preview-only { opacity: .85; border-style: dashed; }
.bundle-body { padding: 16px 16px 18px; display: flex; flex-direction: column; flex: 1; }
.bundle-name { margin: 0 0 4px; font-family: var(--font-heading); font-size: 1.35rem; color: var(--navy); }
.bundle-purpose { margin: 0 0 6px; font-weight: 600; font-size: .92rem; color: var(--blue); }
.bundle-desc { margin: 0 0 8px; font-size: .88rem; color: var(--muted); }
.bundle-includes { margin: 0 0 10px; font-size: .84rem; color: var(--text); flex: 1; }
.bundle-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 10px; margin: 0 0 6px; }
.bundle-price strong { font-size: 1.45rem; color: var(--blue); }
.bundle-price span { font-size: .85rem; color: var(--muted); }
.bundle-price .bundle-was { text-decoration: line-through; }
.bundle-price .bundle-save { color: var(--ok); font-weight: 600; text-decoration: none; }
.bundle-contents { margin-top: 8px; font-size: .88rem; }
/* "What's inside": a clear button that opens the list of contents */
.bundle-contents summary {
    cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 10px;
    min-height: 46px; padding: 10px 16px; border: 1.5px solid #a9c8ea; border-radius: 12px;
    background: var(--sky-2); color: var(--navy); font-weight: 600; font-size: .95rem;
    transition: background .2s, border-color .2s;
}
.bundle-contents summary::-webkit-details-marker { display: none; }
.bundle-contents summary::after {
    content: ""; width: 9px; height: 9px; flex-shrink: 0; margin-top: -4px;
    border-right: 2.5px solid var(--blue); border-bottom: 2.5px solid var(--blue); transform: rotate(45deg); transition: transform .2s;
}
.bundle-contents summary:hover { border-color: var(--blue); background: var(--sky); }
.bundle-contents[open] summary { border-color: var(--blue); background: var(--sky); border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.bundle-contents[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.bundle-contents[open] ul { border: 1.5px solid var(--blue); border-top: 0; border-radius: 0 0 12px 12px; padding: 4px 14px 6px; margin: 0; }
.bundle-media { cursor: pointer; }
.bundle-card.is-first { border: 2px solid var(--gold); box-shadow: 0 14px 34px rgba(11, 46, 89, .14); }
.bundle-first-ribbon {
    position: absolute; left: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 6px;
    background: var(--white); color: var(--navy); border-radius: 999px; padding: 5px 12px;
    font-size: .76rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; box-shadow: 0 4px 12px rgba(11, 46, 89, .18);
}
.bundle-first-ribbon::before { content: "★"; color: var(--gold); font-size: .9rem; letter-spacing: 0; }
.bundle-media .bundle-photo { grid-column: 1 / -1; grid-row: 1 / -1; }
.bundle-contents ul { list-style: none; margin: 6px 0 0; padding: 0; }
.bundle-contents li { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; border-bottom: 1px dashed var(--border); }
.bundle-contents li:last-child { border-bottom: 0; }
.bundle-qty { color: var(--muted); white-space: nowrap; }
.bundle-weigh { margin: 8px 0 0; font-size: .78rem; color: var(--muted); }
.bundle-note { color: var(--muted); font-size: .85rem; text-align: center; margin: 22px 0 0; }

/* Bundles in the basket */
.bundle-tag { display: inline-block; margin-left: 4px; font-size: .68rem; font-weight: 600; background: var(--sky); color: var(--navy); border-radius: 999px; padding: 1px 8px; vertical-align: middle; }
.cart-bundle-contents { font-size: .8rem; margin: 0 0 8px; }
.cart-bundle-contents summary { cursor: pointer; color: var(--blue); font-weight: 500; }
.cart-bundle-contents ul { margin: 6px 0 0; padding-left: 18px; color: var(--text); }
.qty-count { min-width: 2.4em; text-align: center; font-weight: 600; color: var(--navy); }
.cart-line.is-changed { background: #fffaf0; }
.bundle-change { background: #fff8e6; border: 1px solid #f1d58b; border-radius: var(--radius-sm); padding: 10px 12px; font-size: .82rem; color: #5c3b00; margin-top: 6px; }
.bundle-change p { margin: 0 0 4px; font-weight: 600; }
.bundle-change ul { margin: 0 0 10px; padding-left: 18px; }

/* Build Yuh Own Basket */
.builder-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; }
.builder-controls { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 20px; margin-bottom: 18px; }
.builder-budget label, .builder-styles legend, .builder-add label { display: block; font-weight: 600; color: var(--navy); margin: 0 0 8px; font-size: .95rem; }
.budget-row { display: flex; align-items: center; gap: 14px; }
.budget-row input[type="range"] { flex: 1; accent-color: var(--blue); min-height: 36px; padding: 0; border: 0; background: none; }
.money-input { display: flex; align-items: center; gap: 4px; border: 1px solid var(--border); border-radius: 12px; padding: 0 10px; background: var(--white); }
.money-input span { color: var(--muted); font-weight: 500; }
.money-input input { width: 6.5em; border: 0; padding: 10px 0; font: 600 1rem var(--font-body); color: var(--navy); background: transparent; }
.builder-hint { margin: 6px 0 0; font-size: .8rem; color: var(--muted); }
.builder-styles { border: 0; padding: 0; margin: 0; }
.style-choices { display: flex; flex-wrap: wrap; gap: 8px; }
.style-choice { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--border); border-radius: 999px; padding: 8px 14px; cursor: pointer; font-size: .9rem; }
.style-choice input { accent-color: var(--blue); width: 18px; height: 18px; margin: 0; }
.style-choice:has(input:checked) { border-color: var(--navy); background: var(--sky); font-weight: 600; }
.builder-items { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--border); }
.builder-item { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 12px; align-items: start; padding: 12px 0; border-bottom: 1px solid var(--border); }
.builder-item h4 { margin: 0; font-size: .98rem; color: var(--navy); }
.builder-item .cart-thumb { width: 100%; height: auto; aspect-ratio: 1 / 1; }
.builder-item-main { min-width: 0; }
.builder-item .stepper .step-btn { width: 34px; height: 34px; }
.builder-empty { background: var(--sky-2); border-radius: var(--radius-sm); padding: 14px; text-align: center; }
.builder-add { margin: 16px 0; }
.builder-add select { width: 100%; border-radius: 12px; }
.builder-total { display: flex; justify-content: space-between; align-items: baseline; margin: 0; font-size: 1.05rem; }
.builder-total strong { font-size: 1.35rem; color: var(--navy); }
.builder-status { margin: 6px 0 0; font-size: .9rem; border-radius: var(--radius-sm); padding: 8px 12px; }
.builder-status.is-within { background: #e9f7ef; color: var(--ok); }
.builder-status.is-over { background: #fdecea; color: #a11; font-weight: 600; }
.builder-delivery { margin: 6px 0 0; font-size: .8rem; color: var(--muted); }
.builder-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; margin-top: 16px; }

/* ==========================================================================
   TABLET & PHONE LAYOUTS
   ========================================================================== */
@media (max-width: 1100px) {
    .main-nav { gap: 18px; }
    .main-nav a { white-space: nowrap; }
    .logo-text { font-size: 1.3rem; }
    .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 960px) {
    .hero-inner { grid-template-columns: 1fr; gap: 32px; }
    .hero-art { max-width: 480px; margin: 0 auto; width: 100%; }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* The menu button takes over before the links get crowded next to the brand name */
@media (max-width: 960px) {
    .menu-toggle { display: flex; }
    .main-nav {
        position: absolute; top: 100%; left: 0; right: 0;
        flex-direction: column; gap: 0;
        background: var(--white); border-bottom: 1px solid var(--border);
        box-shadow: 0 20px 30px rgba(11, 46, 89, .1);
        visibility: hidden; opacity: 0; transform: translateY(-8px);
        transition: opacity .2s, transform .2s, visibility 0s linear .2s;
    }
    .main-nav.open { visibility: visible; opacity: 1; transform: none; transition: opacity .2s, transform .2s; }
    .main-nav a { padding: 15px 20px; border-top: 1px solid var(--sky); min-height: 48px; }
    .main-nav a::after { display: none; }
}

@media (max-width: 860px) {
    .category-grid { grid-template-columns: 1fr; }
    .category-card { flex-direction: row; }
    .category-photo { aspect-ratio: auto; width: 38%; flex-shrink: 0; }
    .info-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 600px) {
    .container { padding: 0 16px; }
    .section { padding: 56px 0; }
    .topbar-areas { display: none; }
    .header-inner { height: 66px; }
    /* The brand name in two lines, so it can be bigger and still fit next to the basket and menu */
    .logo { gap: 9px; }
    .logo-text { display: flex; flex-direction: column; font-size: 1.42rem; line-height: 1.02; white-space: nowrap; }
    .logo-text .logo-line2 { font-size: .76em; letter-spacing: .01em; }
    .logo-mark svg, .logo-mark .logo-img { width: 40px; height: 40px; }
    .logo-mark .logo-img.is-wide { width: auto; max-width: 132px; }
    .cart-label { display: none; }
    .cart-button { padding: 10px 13px; min-height: 44px; }
    .preview-banner { font-size: .76rem; padding: 6px 12px; }
    .topbar { padding: 7px 12px; }
    .hero { padding: 26px 0 32px; }
    .hero h1 { font-size: 2.05rem; margin-bottom: 12px; }
    .hero-sub { font-size: 1rem; }
    .hero-buttons { margin: 20px 0 16px; }
    .hero-buttons .btn { width: 100%; min-height: 52px; }
    .hero-spotlight { border-radius: 22px; }
    .spotlight-body { padding: 16px 16px 18px; }
    .spotlight-actions .btn { padding: 12px 8px; }
    .why-grid, .steps { grid-template-columns: 1fr; }
    .category-photo { width: 34%; }
    .category-body { padding: 14px 16px; }
    .category-title { font-size: 1.15rem; }
    .category-text { font-size: .85rem; }
    .shop-toolbar { flex-direction: column; align-items: stretch; }
    .search-box { max-width: none; flex-basis: auto; }
    .sort-box select { flex: 1; }
    /* Categories in a grid on phones: every category and its count is visible, no sideways swiping */
    .filter-chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .chip { justify-content: space-between; text-align: left; padding: 10px 12px 10px 14px; min-height: 48px; border-radius: 14px; font-size: .9rem; line-height: 1.25; }
    .chip > span:first-child { min-width: 0; overflow-wrap: anywhere; }
    .chip-count { flex-shrink: 0; }
    .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .product-body { padding: 12px 10px 14px; }
    .product-name { font-size: .95rem; }
    .product-desc { font-size: .8rem; }
    .product-price strong { font-size: 1.1rem; }
    .product-price span { font-size: .78rem; }
    .card-controls { flex-direction: column; align-items: stretch; }
    .stepper { justify-content: space-between; }
    .line-preview { text-align: center; font-size: .8rem; }
    .add-button { font-size: .88rem; padding: 11px 6px; }
    .product-tag, .stock-badge { font-size: .66rem; padding: 3px 8px; top: 8px; }
    .product-tag { left: 8px; }
    .stock-badge { right: 8px; }
    .info-card, .contact-form { padding: 22px; }
    .info-list > div { grid-template-columns: 1fr; gap: 2px; }
    .zone-list li strong { white-space: normal; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .toast { border-radius: 16px; bottom: 16px; }
    .drawer-body { padding: 6px 16px 20px; }
    .drawer-footer { padding-left: 16px; padding-right: 16px; }
}

@media (max-width: 380px) {
    .header-inner { gap: 8px; }
    .logo { gap: 8px; }
    .logo-text { font-size: 1.3rem; }
    .logo-mark svg, .logo-mark .logo-img { width: 36px; height: 36px; }
    .header-actions { gap: 6px; }
    .cart-button { padding: 9px 11px; gap: 6px; }
    .menu-toggle { width: 42px; height: 42px; }
}

@media (max-width: 370px) {
    .product-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .category-card { flex-direction: column; }
    .category-photo { width: 100%; aspect-ratio: 16 / 9; }
}

@media (max-width: 760px) {
    .builder-controls { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 600px) {
    .bundle-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    .bundle-name { font-size: 1.2rem; }
    .builder-card { padding: 16px; }
    .builder-item { grid-template-columns: 48px minmax(0, 1fr) auto; gap: 10px; }
    .builder-actions .btn { width: 100%; }
    .money-input input { width: 5.5em; }
}

/* On bigger screens the first featured bundle gets a wide card: photos on the left, details on the right */
@media (min-width: 900px) {
    .bundle-card.is-first { grid-column: span 2; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
    /* The photos fill the card's height but never set it (contain: size), so there's no empty space beside the text */
    .bundle-card.is-first .bundle-media { aspect-ratio: auto; height: auto; min-height: 340px; contain: size; grid-template-rows: repeat(2, minmax(0, 1fr)); }
    .bundle-card.is-first .bundle-includes { flex: 0 0 auto; }
    .bundle-card.is-first .bundle-body { justify-content: center; padding: 24px 26px; }
    .bundle-card.is-first .bundle-name { font-size: 1.7rem; }
}
.is-preview-only .bundle-first-ribbon { bottom: 46px; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; }
    html { scroll-behavior: auto; }
}
