/* ==========================================================================
   Mama's Basket - Design System
   Brand: deep green + warm gold/orange + cream. Premium, soft, professional.
   ========================================================================== */

:root {
    /* Brand */
    --green-900: #0c3a17;
    --green-800: #124a1d;
    --green-700: #1b5e20;
    --green-600: #2e7d32;
    --green-500: #3c9142;
    --green-050: #eaf3ea;

    --gold: #e8a33d;
    --orange: #f47b20;
    --orange-600: #e06a12;

    --cream: #ffffff;
    --cream-2: #ffffff;
    --paper: #ffffff;
    --tint: #f4f6f3; /* faint backdrop for thumbs/table headers only */

    --ink: #16201a;
    --ink-2: #44514a;
    --muted: #79857d;
    --line: #e7e3d6;
    --line-2: #efece2;

    /* Effects */
    --shadow-sm: 0 1px 2px rgba(16, 32, 22, .06), 0 2px 8px rgba(16, 32, 22, .05);
    --shadow-md: 0 8px 24px rgba(16, 32, 22, .10);
    --shadow-lg: 0 24px 60px rgba(12, 58, 23, .18);
    --shadow-green: 0 16px 40px rgba(27, 94, 32, .30);

    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 24px;
    --radius-pill: 999px;

    --container: 1240px;
    --nav-h: 90px;

    --ease: cubic-bezier(.22, 1, .36, 1);

    --font-head: "Sora", system-ui, sans-serif;
    --font-body: "Plus Jakarta Sans", system-ui, sans-serif;
}

/* ----------------------------------------------------------- Reset / base */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; overflow-x: hidden; }
html, body { max-width: 100%; }

body {
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--cream);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
ul { list-style: none; padding: 0; }

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.1; letter-spacing: -.02em; }

.icon { flex: none; }

/* ----------------------------------------------------------- Layout */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }

.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }

.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--font-head); font-weight: 600; font-size: .8rem;
    letter-spacing: .14em; text-transform: uppercase; color: var(--green-600);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--gold); border-radius: 2px; }

.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(2rem, 4vw, 3.1rem); margin: 16px 0 14px; color: var(--green-900); }
.section-head p { color: var(--ink-2); font-size: 1.05rem; }

.text-gold { color: var(--gold); }
.text-orange { color: var(--orange); }
.text-green { color: var(--green-700); }

/* ----------------------------------------------------------- Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 14px 26px; border-radius: var(--radius-pill);
    font-family: var(--font-head); font-weight: 600; font-size: .98rem;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
    white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn .icon { width: 20px; height: 20px; }

.btn-green { background: var(--green-700); color: #fff; box-shadow: var(--shadow-green); }
.btn-green:hover { background: var(--green-800); }

.btn-gold { background: var(--orange); color: #fff; box-shadow: 0 16px 40px rgba(244, 123, 32, .32); }
.btn-gold:hover { background: var(--orange-600); }

.btn-white { background: #fff; color: var(--green-800); box-shadow: var(--shadow-md); }
.btn-white:hover { background: #fff; }

.btn-ghost { background: transparent; color: var(--green-800); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--green-600); background: var(--green-050); }

.btn-block { width: 100%; }
.btn-lg { padding: 17px 32px; font-size: 1.05rem; }
.btn-sm { padding: 10px 18px; font-size: .9rem; }

/* ----------------------------------------------------------- Navbar */
.nav {
    position: fixed; inset: 0 0 auto 0; height: var(--nav-h); z-index: 100;
    display: flex; align-items: center;
    background: rgba(255, 255, 255, .72);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid transparent;
    transition: background .3s, border-color .3s, box-shadow .3s;
}
.nav.scrolled { background: rgba(255, 255, 255, .9); border-color: var(--line-2); box-shadow: var(--shadow-sm); }
.nav .container { display: flex; align-items: center; gap: 24px; }

/* Horizontal brand lockup: mark on the left, name + tagline stacked on the right */
.brand { display: flex; align-items: center; gap: 12px; }
.brand-ico { flex: none; display: flex; color: var(--green-700); }
.brand-ico .icon { width: 56px; height: 56px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.04; }
.brand-name { display: inline-flex; align-items: baseline; gap: 6px; }
.brand-name .ms { font-family: 'Pacifico', cursive; font-weight: 400; font-size: 1.6rem; color: var(--green-800); }
.brand-name .bk { font-family: var(--font-head); font-weight: 800; font-size: 1rem; letter-spacing: .2em; text-transform: uppercase; color: var(--orange); }
.brand-tag { font-style: italic; font-size: .72rem; color: var(--muted); letter-spacing: .01em; margin-top: 4px; }

/* on dark backgrounds (footer, dashboards, auth side) */
.brand.on-dark .brand-ico { color: var(--gold); }
.brand.on-dark .brand-name .ms { color: #fff; }
.brand.on-dark .brand-name .bk { color: var(--gold); }
.brand.on-dark .brand-tag { color: rgba(255,255,255,.7); }

/* green badge mark, used in empty states / placeholders */
.brand-mark {
    width: 44px; height: 44px; border-radius: 13px;
    background: linear-gradient(150deg, var(--green-600), var(--green-800));
    display: grid; place-items: center; color: #fff; box-shadow: var(--shadow-sm);
}
.brand-mark .icon { width: 26px; height: 26px; }

.nav-links { display: flex; align-items: center; gap: 4px; margin-inline: auto; }
.nav-links a {
    position: relative;
    padding: 5px 9px; border-radius: 6px;
    font-weight: 600; font-size: .92rem; color: var(--ink-2);
    transition: color .2s, background .2s, transform .2s var(--ease);
}
/* animated underline indicator */
.nav-links a::after {
    content: ""; position: absolute; left: 9px; right: 9px; bottom: 2px; height: 2px;
    background: var(--orange); border-radius: 2px; transform: scaleX(0); transform-origin: left;
    transition: transform .28s var(--ease);
}
.nav-links a:hover { color: var(--green-800); background: var(--green-050); transform: translateY(-1px); }
.nav-links a:hover::after { transform: scaleX(1); }
/* active page: bold filled pill */
.nav-links a.active { color: #fff; background: var(--green-700); box-shadow: 0 6px 16px rgba(27,94,32,.3); }
.nav-links a.active::after { display: none; }

.nav-actions { display: flex; align-items: center; gap: 10px; margin-right: 150px; }

.cart-btn { position: relative; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--cream); color: var(--green-800); border: 1px solid var(--line); transition: background .2s; }
.cart-btn:hover { background: var(--green-050); }
.cart-badge {
    position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px;
    border-radius: var(--radius-pill); background: var(--orange); color: #fff;
    font-size: .72rem; font-weight: 700; display: grid; place-items: center; border: 2px solid var(--cream);
}
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; place-items: center; color: var(--green-900); }

/* ----------------------------------------------------------- Hero */
.hero { position: relative; padding-top: calc(var(--nav-h) + 40px); overflow: hidden; background: #fff; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; min-height: calc(100vh - var(--nav-h)); padding-bottom: 60px; }

.hero-badge {
    display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px; border-radius: var(--radius-pill);
    background: #fff; box-shadow: var(--shadow-sm); font-weight: 600; font-size: .85rem; color: var(--green-800);
}
.hero-badge .icon { width: 18px; height: 18px; color: var(--green-600); }

.hero h1 { font-size: clamp(2.6rem, 6.2vw, 4.7rem); margin: 22px 0; color: var(--green-900); }
.hero h1 .l1 { color: var(--ink); }
.hero h1 .l2 { color: var(--green-700); }
.hero h1 .l3 { color: var(--orange); }
.hero-sub { font-size: 1.15rem; color: var(--ink-2); max-width: 520px; margin-bottom: 32px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-stats { display: flex; gap: 30px; margin-top: 40px; flex-wrap: wrap; }
.hero-stat .num { font-family: var(--font-head); font-weight: 800; font-size: 1.7rem; color: var(--green-800); }
.hero-stat .lbl { font-size: .85rem; color: var(--muted); }

/* 3D canvas stage */
.hero-stage { position: relative; aspect-ratio: 1 / 1; width: 100%; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-stage .glow { position: absolute; inset: 8% 8% 14% 8%; border-radius: 50%;
    background: radial-gradient(circle at 50% 45%, rgba(46,125,50,.22), transparent 62%); filter: blur(10px); z-index: 0; }
.hero-fallback { position: absolute; inset: 0; display: none; place-items: center; }

.float-card {
    position: absolute; z-index: 3; background: rgba(255,255,255,.92);
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    border: 1px solid var(--line-2); border-radius: 16px; padding: 12px 16px; box-shadow: var(--shadow-lg);
    display: flex; align-items: center; gap: 12px;
}
.float-card .dot { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; color: #fff; }
.float-card .t { font-family: var(--font-head); font-weight: 700; font-size: .95rem; line-height: 1.15; }
.float-card .s { font-size: .76rem; color: var(--muted); }
.float-card.fc-1 { top: 12%; left: -4%; animation: floaty 6s var(--ease) infinite; }
.float-card.fc-2 { bottom: 16%; right: -3%; animation: floaty 7s var(--ease) infinite .8s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* ----------------------------------------------------------- Trust bar */
.trustbar { background: var(--green-800); color: #fff; }
.trustbar .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; padding-block: 22px; }
.trust-item { display: flex; align-items: center; gap: 12px; }
.trust-item .icon { width: 26px; height: 26px; color: var(--gold); }
.trust-item b { font-family: var(--font-head); display: block; font-size: .98rem; }
.trust-item span { font-size: .8rem; color: rgba(255,255,255,.72); }

/* ----------------------------------------------------------- Process steps */
.process { background: var(--cream-2); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step {
    position: relative; background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius);
    padding: 30px 24px; box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.step-ico { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; color: #fff;
    background: linear-gradient(150deg, var(--green-600), var(--green-800)); margin-bottom: 18px; }
.step-ico .icon { width: 28px; height: 28px; }
.step:nth-child(2) .step-ico, .step:nth-child(4) .step-ico { background: linear-gradient(150deg, var(--gold), var(--orange)); }
.step h3 { font-size: 1.18rem; margin-bottom: 8px; color: var(--green-900); }
.step p { font-size: .94rem; color: var(--ink-2); }
.step-no { position: absolute; top: 22px; right: 24px; font-family: var(--font-head); font-weight: 800; font-size: 1.6rem; color: var(--line); }

/* ----------------------------------------------------------- Categories */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cat-card { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line-2);
    border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), border-color .3s; }
.cat-card:hover { transform: translateY(-4px); border-color: var(--green-500); }
.cat-card .ci { width: 50px; height: 50px; border-radius: 14px; background: var(--green-050); color: var(--green-700); display: grid; place-items: center; }
.cat-card .ci .icon { width: 26px; height: 26px; }
.cat-card b { font-family: var(--font-head); font-size: 1rem; color: var(--green-900); }
.cat-card span { font-size: .82rem; color: var(--muted); }

/* ----------------------------------------------------------- Product cards */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }
.product-card { background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden;
    box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s var(--ease); display: flex; flex-direction: column; }
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.product-thumb { position: relative; aspect-ratio: 4/3; background: var(--tint); overflow: hidden; }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.product-card:hover .product-thumb img { transform: scale(1.06); }
.product-thumb .ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--line); }
.product-thumb .ph .icon { width: 54px; height: 54px; }
.product-tag { position: absolute; top: 12px; left: 12px; padding: 5px 12px; border-radius: var(--radius-pill);
    background: rgba(255,255,255,.92); font-size: .72rem; font-weight: 700; color: var(--green-800); }
.product-body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-vendor { font-size: .74rem; color: var(--muted); display: flex; align-items: center; gap: 5px; }
.product-name { font-family: var(--font-head); font-weight: 700; font-size: 1.02rem; color: var(--green-900); }
.product-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; padding-top: 12px; }
.product-price { font-family: var(--font-head); font-weight: 800; font-size: 1.12rem; color: var(--green-800); }
.product-price small { font-weight: 500; font-size: .72rem; color: var(--muted); }
.add-btn { width: 42px; height: 42px; border-radius: 12px; background: var(--green-700); color: #fff; display: grid; place-items: center; transition: background .2s, transform .2s; }
.add-btn:hover { background: var(--green-800); transform: scale(1.05); }
.out-stock { font-size: .78rem; color: var(--orange); font-weight: 600; }

/* ----------------------------------------------------------- Why us */
.why { background: var(--green-900); color: #fff; position: relative; overflow: hidden; }
.why::after { content: ""; position: absolute; inset: auto -10% -40% auto; width: 460px; height: 460px;
    background: radial-gradient(circle, rgba(232,163,61,.25), transparent 65%); }
.why .section-head h2 { color: #fff; }
.why .section-head p { color: rgba(255,255,255,.74); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; position: relative; z-index: 1; }
.why-card { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 28px 24px; transition: background .3s, transform .3s var(--ease); }
.why-card:hover { background: rgba(255,255,255,.09); transform: translateY(-5px); }
.why-card .wi { width: 52px; height: 52px; border-radius: 14px; background: rgba(232,163,61,.16); color: var(--gold); display: grid; place-items: center; margin-bottom: 16px; }
.why-card h3 { font-size: 1.18rem; margin-bottom: 8px; }
.why-card p { color: rgba(255,255,255,.72); font-size: .94rem; }

/* ----------------------------------------------------------- Reviews */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review-card { background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.stars { display: flex; gap: 3px; color: var(--gold); margin-bottom: 14px; }
.stars .icon { width: 18px; height: 18px; fill: var(--gold); }
.review-card p { color: var(--ink-2); margin-bottom: 18px; }
.reviewer { display: flex; align-items: center; gap: 12px; }
.reviewer .av { width: 44px; height: 44px; border-radius: 50%; background: var(--green-050); color: var(--green-700); display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; }
.reviewer b { font-family: var(--font-head); display: block; font-size: .96rem; color: var(--green-900); }
.reviewer span { font-size: .8rem; color: var(--muted); }

/* ----------------------------------------------------------- CTA band */
.cta-band { background: linear-gradient(135deg, var(--green-700), var(--green-900)); border-radius: var(--radius-lg);
    padding: 56px; text-align: center; color: #fff; position: relative; overflow: hidden; }
.cta-band h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 12px; position: relative; }
.cta-band p { color: rgba(255,255,255,.82); margin-bottom: 26px; position: relative; }
.cta-band .hero-cta { justify-content: center; position: relative; }

/* ----------------------------------------------------------- Footer */
.footer { background: var(--green-900); color: rgba(255,255,255,.72); padding: 70px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 36px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer .brand-name { color: #fff; }
.footer p { font-size: .92rem; margin-top: 14px; max-width: 300px; }
.footer h4 { font-family: var(--font-head); color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer-links a { display: block; padding: 6px 0; font-size: .92rem; transition: color .2s; }
.footer-links a:hover { color: var(--gold); }
.footer-contact li { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: .92rem; }
.footer-contact .icon { width: 18px; height: 18px; color: var(--gold); }
.footer-bottom { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding-top: 24px; font-size: .85rem; }

/* ----------------------------------------------------------- WhatsApp float */
.wa-float { position: fixed; bottom: 26px; right: 170px; z-index: 90; width: 54px; height: 54px;
    display: grid; place-items: center; border-radius: 50%; background: #1faa55; color: #fff;
    transition: transform .25s var(--ease); }
.wa-float:hover { transform: translateY(-3px) scale(1.06); }
.wa-float .icon { width: 28px; height: 28px; }

/* ----------------------------------------------------------- Forms */
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--font-head); font-weight: 600; font-size: .9rem; margin-bottom: 7px; color: var(--green-900); }
.input, .textarea, .select {
    width: 100%; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
    background: #fff; transition: border-color .2s, box-shadow .2s;
}
.input:focus, .textarea:focus, .select:focus { outline: none; border-color: var(--green-500); box-shadow: 0 0 0 4px var(--green-050); }
.textarea { min-height: 110px; resize: vertical; }
.hint { font-size: .82rem; color: var(--muted); margin-top: 6px; }

/* ----------------------------------------------------------- Utility cards / panels */
.panel { background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.alert { padding: 14px 16px; border-radius: var(--radius-sm); font-size: .92rem; font-weight: 500; }
.alert-ok { background: var(--green-050); color: var(--green-800); border: 1px solid #cfe6cf; }
.alert-err { background: #fdeee6; color: var(--orange-600); border: 1px solid #f6d2bb; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: var(--radius-pill); font-size: .76rem; font-weight: 700; }
.badge-pending { background: #fef3e0; color: var(--orange-600); }
.badge-approved { background: var(--green-050); color: var(--green-700); }
.badge-suspended { background: #fbe4e4; color: #b53a3a; }

/* ----------------------------------------------------------- Reveal animation (GSAP fallback friendly) */
.reveal { opacity: 0; transform: translateY(28px); }
.reveal.in { opacity: 1; transform: none; transition: opacity .7s var(--ease), transform .7s var(--ease); }

/* ----------------------------------------------------------- Responsive */
@media (max-width: 1024px) {
    .steps, .cat-grid { grid-template-columns: repeat(2, 1fr); }
    .why-grid, .review-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .hero-grid { grid-template-columns: 1fr; }
    .hero-stage { max-width: 460px; margin-inline: auto; order: -1; }
    .float-card.fc-1 { left: 2%; } .float-card.fc-2 { right: 2%; }
}
/* Nav collapses to a hamburger on tablet and below */
@media (max-width: 920px) {
    .nav-links { position: fixed; inset: var(--nav-h) 0 auto 0; flex-direction: column; gap: 0; background: #fff;
        padding: 12px 24px 20px; box-shadow: var(--shadow-md); transform: translateY(-130%); transition: transform .35s var(--ease); margin: 0; }
    .nav-links.open { transform: none; }
    .nav-links a { width: 100%; padding: 14px 12px; border-bottom: 1px solid var(--line-2); border-radius: 0; }
    .nav-toggle { display: grid; }
    .nav-actions .label-hide { display: none; }
    .brand-tag { display: none; }
}
@media (max-width: 760px) {
    .section { padding: 64px 0; }
    .steps, .cat-grid, .why-grid, .review-grid { grid-template-columns: 1fr; }
    /* compact two-column footer on mobile */
    .footer { padding: 46px 0 22px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 22px 16px; padding-bottom: 28px; }
    .footer-grid > div:first-child { grid-column: 1 / -1; }
    .footer p { font-size: .85rem; margin-top: 10px; }
    .footer h4 { font-size: .9rem; margin-bottom: 10px; }
    .footer-links a { font-size: .84rem; padding: 4px 0; }
    .footer-contact li { font-size: .84rem; padding: 4px 0; gap: 8px; }
    .footer-bottom { font-size: .78rem; padding-top: 18px; }
    .cta-band { padding: 40px 24px; }
    .wa-float .lbl { display: none; }
    .container { padding-inline: 18px; }
}

/* ==========================================================================
   Shop, product, cart, checkout and portal pages
   ========================================================================== */

/* ---- Shop ---- */
.shop-hero { padding-top: calc(var(--nav-h) + 48px); padding-bottom: 8px;
    background: radial-gradient(900px 360px at 85% -20%, rgba(46,125,50,.12), transparent 60%), var(--cream); }
.shop-hero h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); color: var(--green-900); margin: 12px 0 8px; }
.shop-hero p { color: var(--ink-2); }
.shop-search { display: flex; gap: 10px; margin-top: 22px; max-width: 620px; position: relative; }
.shop-search .si { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.shop-search .input { padding-left: 46px; }

.shop-layout { display: grid; grid-template-columns: 250px 1fr; gap: 32px; align-items: start; }
.shop-side { position: sticky; top: calc(var(--nav-h) + 16px); background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.shop-side h4 { font-family: var(--font-head); color: var(--green-900); margin-bottom: 14px; }
.cat-list a { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 10px; font-weight: 500; font-size: .94rem; color: var(--ink-2); transition: background .2s, color .2s; }
.cat-list a:hover { background: var(--green-050); color: var(--green-800); }
.cat-list a.active { background: var(--green-700); color: #fff; }
.shop-count { color: var(--muted); font-size: .92rem; margin-bottom: 18px; }
.add-btn.added { background: var(--orange); }

/* ---- Breadcrumbs ---- */
.crumbs { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: .88rem; color: var(--muted); margin-bottom: 26px; }
.crumbs a { color: var(--green-700); font-weight: 600; }
.crumbs .icon { color: var(--line); }

/* ---- Product detail ---- */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.pd-media { aspect-ratio: 1/1; border-radius: var(--radius-lg); overflow: hidden; background: #fff; border: 1px solid var(--line-2);
    box-shadow: var(--shadow-md); display: grid; place-items: center; }
.pd-media img { width: 100%; height: 100%; object-fit: cover; }
.pd-media .ph { color: var(--line); }
.pd-info h1 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); color: var(--green-900); margin: 10px 0 14px; }
.pd-price { font-family: var(--font-head); font-weight: 800; font-size: 1.9rem; color: var(--green-800); margin-bottom: 18px; }
.pd-price small { font-size: .9rem; font-weight: 500; color: var(--muted); }
.pd-desc { color: var(--ink-2); margin-bottom: 26px; }
.pd-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.pd-cartlink { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-weight: 600; color: var(--green-700); }
.pd-perks { margin-top: 28px; border-top: 1px solid var(--line-2); padding-top: 20px; display: grid; gap: 12px; }
.pd-perks li { display: flex; align-items: center; gap: 10px; color: var(--ink-2); font-size: .94rem; }
.pd-perks .icon { color: var(--green-600); }

/* ---- Quantity stepper ---- */
.qty { display: inline-flex; align-items: center; gap: 4px; border: 1.5px solid var(--line); border-radius: var(--radius-pill); padding: 5px; }
.qty button { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: var(--green-800); transition: background .2s; }
.qty button:hover { background: var(--green-050); }
.qty span { min-width: 30px; text-align: center; font-family: var(--font-head); font-weight: 700; }

/* ---- Cart ---- */
.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 28px; align-items: start; }
.cart-lines { padding: 8px 22px; }
.cart-line { display: grid; grid-template-columns: 72px 1fr auto auto auto; gap: 16px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line-2); }
.cart-line:last-child { border-bottom: none; }
.cl-thumb { width: 72px; height: 72px; border-radius: 12px; overflow: hidden; background: var(--tint); display: grid; place-items: center; }
.cl-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cl-thumb .ph { color: var(--line); }
.cl-info b { font-family: var(--font-head); color: var(--green-900); display: block; }
.cl-unit { font-size: .86rem; color: var(--muted); }
.cl-sub { font-family: var(--font-head); font-weight: 800; color: var(--green-800); min-width: 90px; text-align: right; }
.cl-remove { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; color: var(--muted); transition: background .2s, color .2s; }
.cl-remove:hover { background: #fbe4e4; color: #b53a3a; }
.cart-summary { padding: 26px; position: sticky; top: calc(var(--nav-h) + 16px); }
.cart-summary h3 { font-family: var(--font-head); color: var(--green-900); margin-bottom: 18px; }
.cs-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; color: var(--ink-2); }
.cs-divider { height: 1px; background: var(--line-2); margin: 10px 0; }
.cs-total { font-size: 1.15rem; }
.cs-total b { font-family: var(--font-head); font-size: 1.4rem; color: var(--green-800); }

/* ---- Checkout / payment ---- */
.checkout-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: start; }
.pay-step { background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); margin-bottom: 20px; }
.pay-step-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.pay-num { width: 38px; height: 38px; border-radius: 50%; background: var(--green-700); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; flex: none; }
.pay-step-head h3 { font-family: var(--font-head); color: var(--green-900); font-size: 1.18rem; }
.pay-step-head p { font-size: .85rem; color: var(--muted); }

.momo-box { background: var(--green-050); border: 1.5px dashed var(--green-500); border-radius: var(--radius); padding: 20px; }
.momo-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.momo-row + .momo-row { margin-top: 14px; padding-top: 14px; border-top: 1px solid #cfe6cf; }
.momo-label { font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.momo-value { font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; color: var(--green-900); letter-spacing: .02em; }
.momo-name { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; color: var(--green-900); }
.copy-btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: var(--radius-pill); background: var(--green-700); color: #fff; font-family: var(--font-head); font-weight: 600; font-size: .9rem; transition: background .2s, transform .2s; }
.copy-btn:hover { background: var(--green-800); transform: translateY(-1px); }
.copy-btn.copied { background: var(--orange); }
.copy-btn .icon { width: 18px; height: 18px; }

.upload-zone { border: 1.5px dashed var(--line); border-radius: var(--radius); padding: 26px; text-align: center; cursor: pointer; transition: border-color .2s, background .2s; }
.upload-zone:hover { border-color: var(--green-500); background: var(--green-050); }
.upload-zone .ui { width: 52px; height: 52px; border-radius: 14px; background: var(--green-050); color: var(--green-700); display: grid; place-items: center; margin: 0 auto 12px; }
.upload-zone b { font-family: var(--font-head); color: var(--green-900); display: block; }
.upload-zone span { font-size: .84rem; color: var(--muted); }
.upload-preview { margin-top: 14px; display: none; align-items: center; gap: 14px; padding: 12px; border: 1px solid var(--line-2); border-radius: 12px; }
.upload-preview.show { display: flex; }
.upload-preview img { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; }
.upload-preview .pn { font-size: .88rem; color: var(--ink-2); word-break: break-all; }

.order-summary { position: sticky; top: calc(var(--nav-h) + 16px); }
.os-line { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; font-size: .94rem; color: var(--ink-2); border-bottom: 1px solid var(--line-2); }
.os-line:last-of-type { border-bottom: none; }
.os-line .q { color: var(--muted); }

/* ---- Auth / portal shell ---- */
.auth-wrap { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.auth-side { background: linear-gradient(160deg, var(--green-700), var(--green-900)); color: #fff; padding: 56px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.auth-side::after { content: ""; position: absolute; inset: auto -20% -25% auto; width: 420px; height: 420px; background: radial-gradient(circle, rgba(232,163,61,.28), transparent 65%); }
.auth-side h2 { font-size: 2.2rem; margin: 20px 0 12px; position: relative; }
.auth-side p { color: rgba(255,255,255,.8); position: relative; max-width: 360px; }
.auth-perks { margin-top: 30px; display: grid; gap: 14px; position: relative; }
.auth-perks li { display: flex; align-items: center; gap: 10px; }
.auth-perks .icon { color: var(--gold); }
.auth-main { display: grid; place-items: center; padding: 40px; }
.auth-card { width: 100%; max-width: 420px; }
.auth-card h1 { font-size: 1.9rem; color: var(--green-900); margin-bottom: 6px; }
.auth-card .sub { color: var(--muted); margin-bottom: 26px; }
.auth-foot { text-align: center; margin-top: 18px; font-size: .92rem; color: var(--ink-2); }
.auth-foot a { color: var(--green-700); font-weight: 600; }

/* ---- Dashboard shell ---- */
.dash { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; }
.dash-side { background: var(--green-900); color: rgba(255,255,255,.74); padding: 24px 18px; display: flex; flex-direction: column; gap: 6px; }
.dash-brand { display: flex; align-items: center; gap: 10px; padding: 8px 10px 20px; }
.dash-brand .brand-name { color: #fff; font-size: 1.05rem; }
.dash-side a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 11px; font-weight: 500; font-size: .94rem; transition: background .2s, color .2s; }
.dash-side a:hover { background: rgba(255,255,255,.08); color: #fff; }
.dash-side a.active { background: var(--green-700); color: #fff; }
.dash-side .icon { width: 20px; height: 20px; }
.dash-side .spacer { flex: 1; }
.dash-main { background: var(--cream-2); padding: 32px; }
.dash-head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.dash-head h1 { font-size: 1.7rem; color: var(--green-900); }
.dash-head p { color: var(--muted); font-size: .92rem; }

.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 28px; }
.stat-card { background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.stat-card .si { width: 44px; height: 44px; border-radius: 12px; background: var(--green-050); color: var(--green-700); display: grid; place-items: center; margin-bottom: 14px; }
.stat-card .v { font-family: var(--font-head); font-weight: 800; font-size: 1.9rem; color: var(--green-900); }
.stat-card .l { font-size: .86rem; color: var(--muted); }

.table-wrap { background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.table-wrap .th { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--line-2); }
.table-wrap .th h3 { font-family: var(--font-head); color: var(--green-900); font-size: 1.1rem; }
table.data { width: 100%; border-collapse: collapse; }
table.data th, table.data td { text-align: left; padding: 14px 22px; font-size: .92rem; }
table.data th { background: var(--tint); color: var(--ink-2); font-family: var(--font-head); font-weight: 600; font-size: .82rem; text-transform: uppercase; letter-spacing: .05em; }
table.data td { border-top: 1px solid var(--line-2); color: var(--ink-2); }
table.data tr:hover td { background: var(--cream-2); }
.t-thumb { width: 46px; height: 46px; border-radius: 10px; object-fit: cover; background: var(--tint); }
.t-actions { display: flex; gap: 8px; }
.icon-btn { width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center; border: 1px solid var(--line); color: var(--ink-2); transition: background .2s, color .2s, border-color .2s; }
.icon-btn:hover { background: var(--green-050); color: var(--green-700); border-color: var(--green-500); }
.icon-btn.danger:hover { background: #fbe4e4; color: #b53a3a; border-color: #e9b8b8; }

.dash-grid-2 { display: grid; grid-template-columns: 1.3fr 1fr; gap: 22px; align-items: start; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }

.img-drop { border: 1.5px dashed var(--line); border-radius: var(--radius); padding: 22px; text-align: center; cursor: pointer; transition: border-color .2s, background .2s; }
.img-drop:hover { border-color: var(--green-500); background: var(--green-050); }
.img-drop img { max-height: 150px; border-radius: 10px; margin: 0 auto; }

@media (max-width: 1024px) {
    .product-detail { grid-template-columns: 1fr; gap: 28px; }
    .cart-layout, .checkout-layout, .dash-grid-2 { grid-template-columns: 1fr; }
    .shop-layout { grid-template-columns: 1fr; }
    .shop-side { position: static; }
    .auth-wrap { grid-template-columns: 1fr; }
    .auth-side { display: none; }
    .stat-grid { grid-template-columns: repeat(2, 1fr); }
    .dash { grid-template-columns: 1fr; }
    .dash-side { flex-direction: row; flex-wrap: wrap; position: sticky; top: 0; z-index: 20; }
    .dash-side .spacer { display: none; }
    .dash-brand { width: 100%; padding-bottom: 6px; }
    .cart-summary, .order-summary { position: static; }
}
@media (max-width: 620px) {
    .cart-line { grid-template-columns: 56px 1fr auto; grid-template-areas: "thumb info remove" "thumb qty sub"; row-gap: 10px; }
    .cl-thumb { grid-area: thumb; } .cl-info { grid-area: info; } .cl-qty { grid-area: qty; } .cl-sub { grid-area: sub; text-align: left; } .cl-remove { grid-area: remove; justify-self: end; }
    .form-grid-2 { grid-template-columns: 1fr; }
    .stat-grid { grid-template-columns: 1fr; }
    table.data th:nth-child(3), table.data td:nth-child(3) { display: none; }
}

/* ==========================================================================
   Animated hero delivery scene (replaces the old 3D canvas)
   ========================================================================== */

.hero-stage { aspect-ratio: auto; width: 100%; order: 0; }

.hero-pills { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 30px; max-width: 520px; }
.hpill { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line-2); border-radius: 14px; padding: 11px 14px; box-shadow: var(--shadow-sm); }
.hpi { width: 40px; height: 40px; border-radius: 11px; background: var(--green-050); color: var(--green-700); display: grid; place-items: center; flex: none; }
.hpill b { font-family: var(--font-head); font-size: .9rem; color: var(--green-900); display: block; line-height: 1.2; }
.hpill > span:last-child > span { font-size: .76rem; color: var(--muted); display: block; }

.hero-trust { display: flex; align-items: center; gap: 16px; margin-top: 26px; }
.avatars { display: flex; }
.avatars .av { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: .95rem; color: #fff; border: 3px solid var(--cream); margin-left: -12px; }
.avatars .av:first-child { margin-left: 0; }
.avatars .av:nth-child(1) { background: linear-gradient(150deg, #2e7d32, #13491b); }
.avatars .av:nth-child(2) { background: linear-gradient(150deg, #e8a33d, #e0760f); }
.avatars .av:nth-child(3) { background: linear-gradient(150deg, #3c9142, #1b5e20); }
.avatars .av:nth-child(4) { background: linear-gradient(150deg, #f47b20, #c85a10); }
.trust-meta .stars { margin-bottom: 3px; }
.trust-meta > span { font-size: .86rem; color: var(--ink-2); }
.trust-meta b { color: var(--green-800); }

/* ---- Scene stage ---- */
.scene {
    position: relative; width: 100%; height: 480px; border-radius: 28px; overflow: hidden;
    background: linear-gradient(180deg, #dff0f7 0%, #e9f4ee 46%, #f1eee1 72%);
    box-shadow: var(--shadow-lg);
}
.sun { position: absolute; top: 28px; left: 36px; width: 66px; height: 66px; border-radius: 50%;
    background: radial-gradient(circle, #fff3cf, #ffd97a); box-shadow: 0 0 50px rgba(255,209,122,.7); }

.cloud { position: absolute; width: 70px; height: 22px; border-radius: 20px; background: #fff;
    box-shadow: 20px 6px 0 -2px #fff, 42px 1px 0 -4px #fff; opacity: .9; }
.cloud-1 { top: 44px; right: 16%; animation: cloud-drift 26s linear infinite; }
.cloud-2 { top: 92px; left: 8%; width: 52px; animation: cloud-drift 36s linear infinite reverse; }
@keyframes cloud-drift { from { transform: translateX(40px); } to { transform: translateX(-260px); } }

.skyline { position: absolute; left: 0; bottom: 62px; width: 200%; height: 130px; display: flex; opacity: .92;
    animation: skyline-scroll 26s linear infinite; }
.skyline svg { width: 50%; height: 100%; }
@keyframes skyline-scroll { to { transform: translateX(-50%); } }

.streak { position: absolute; height: 4px; border-radius: 4px; right: 6%;
    background: linear-gradient(90deg, transparent, rgba(46,125,50,.55)); }
.streak.s1 { top: 44%; width: 64px; animation: streak 1.1s linear infinite; }
.streak.s2 { top: 52%; width: 46px; animation: streak 1.3s linear infinite .3s; }
.streak.s3 { top: 60%; width: 54px; animation: streak 1s linear infinite .6s; }
@keyframes streak { 0% { transform: translateX(50px); opacity: 0; } 30% { opacity: .85; } 100% { transform: translateX(-180px); opacity: 0; } }

.bike { position: absolute; left: 50%; bottom: 26px; width: 80%; max-width: 530px; height: auto; transform: translateX(-50%); }
.bike-bob { animation: bike-bob .9s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes bike-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
.spokes { animation: wheel-spin .55s linear infinite; transform-box: fill-box; transform-origin: center; }
@keyframes wheel-spin { to { transform: rotate(360deg); } }
.bike-shadow { animation: shadow-pulse .9s ease-in-out infinite; transform-box: fill-box; transform-origin: center; opacity: .16; }
@keyframes shadow-pulse { 0%, 100% { transform: scaleX(1); opacity: .16; } 50% { transform: scaleX(.9); opacity: .1; } }
.beam { animation: beam-flicker 2.6s ease-in-out infinite; opacity: .6; }
@keyframes beam-flicker { 0%, 100% { opacity: .45; } 50% { opacity: .8; } }

.road { position: absolute; left: 0; right: 0; bottom: 0; height: 64px; background: linear-gradient(180deg, #3b4842, #2b352f); }
.road .lane { position: absolute; top: 50%; left: 0; right: 0; height: 6px; transform: translateY(-50%);
    background: repeating-linear-gradient(90deg, #f3c969 0 38px, transparent 38px 76px); animation: lane-move .5s linear infinite; }
@keyframes lane-move { to { background-position-x: -76px; } }

.float-card.fc-track { top: 12%; right: -2%; animation: floaty 6s var(--ease) infinite; }
.float-card.fc-fresh { bottom: 16%; left: -4%; animation: floaty 7s var(--ease) infinite .8s; }

@media (prefers-reduced-motion: reduce) {
    .spokes, .bike-bob, .lane, .skyline, .cloud, .streak, .bike-shadow, .beam, .float-card { animation: none !important; }
}

@media (max-width: 1024px) {
    .scene { height: 400px; }
    .hero-pills { max-width: none; }
    .float-card.fc-track { right: 2%; } .float-card.fc-fresh { left: 2%; }
}
@media (max-width: 760px) {
    .scene { height: 320px; }
    .hero-pills { grid-template-columns: 1fr 1fr; gap: 10px; }
    .hpill { padding: 10px; }
    .hero-trust { flex-wrap: wrap; }
    .nav-actions { margin-right: 4px; }
    .wa-float { right: 20px; }
}
@media (max-width: 460px) {
    .hero-pills { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Redesigned hero headline + real photo / video media frame
   ========================================================================== */

.hero-title { font-size: clamp(2.2rem, 4.8vw, 3.6rem); line-height: 1.08; letter-spacing: -.026em; margin: 22px 0; font-family: var(--font-head); font-weight: 800; }
/* soft white glow so the headline stays legible where it sits over the photo */
.hero-photo .hero-title { text-shadow: 0 2px 12px rgba(255,255,255,.9), 0 0 4px rgba(255,255,255,.85); }
.hero-photo .hero-sub { text-shadow: 0 1px 8px rgba(255,255,255,.85); }
.hero-title .line { display: block; }
.hero-title .hl { display: inline-block; white-space: nowrap; }
.hero-title .hl-ink { color: var(--ink); }
.hero-title .hl-green { color: var(--green-700); }
.hero-title .hl-orange { color: var(--orange); position: relative; }
.hero-title .line:nth-child(1) .hl { animation: hl-rise .7s .05s var(--ease) both; }
.hero-title .line:nth-child(2) .hl { animation: hl-rise .7s .18s var(--ease) both; }
.hero-title .line:nth-child(3) .hl { animation: hl-rise .7s .31s var(--ease) both; }
@keyframes hl-rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

.hl-stroke { position: absolute; left: -2%; bottom: -.16em; width: 104%; height: .34em; overflow: visible; }
.hl-stroke path { stroke: var(--gold); stroke-width: 7; fill: none; stroke-linecap: round;
    stroke-dasharray: 340; stroke-dashoffset: 340; animation: hl-draw 1s 1.05s var(--ease) forwards; }
@keyframes hl-draw { to { stroke-dashoffset: 0; } }

/* Media frame: holds the Spiro photo or a looping video clip */
.hero-media { position: relative; width: 100%; aspect-ratio: 4 / 3; border-radius: 28px; overflow: hidden;
    box-shadow: var(--shadow-lg); background: linear-gradient(180deg, #e9f1f5, #eef3ec); }
.hero-media img, .hero-media video { width: 100%; height: 100%; object-fit: cover; object-position: right center; display: block; }
.hero-media.kenburns img { animation: kenburns 16s ease-in-out infinite alternate; will-change: transform; }
@keyframes kenburns { from { transform: scale(1.03); } to { transform: scale(1.12) translateX(-3%); } }

.hero-media .ph-scene { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 24px; }
.hero-media .ph-scene .brand-mark { width: 88px; height: 88px; border-radius: 26px; margin: 0 auto 16px; }
.hero-media .ph-scene b { font-family: var(--font-head); color: var(--green-900); font-size: 1.1rem; display: block; }
.hero-media .ph-scene span { color: var(--muted); font-size: .9rem; }

@media (prefers-reduced-motion: reduce) {
    .hero-title .hl, .hl-stroke path, .hero-media.kenburns img { animation: none !important; }
    .hl-stroke path { stroke-dashoffset: 0; }
}
@media (max-width: 1024px) {
    .hero-media { aspect-ratio: 16 / 10; max-width: 560px; margin-inline: auto; }
}

/* ==========================================================================
   Full-bleed photo hero (rider cutout as a background element, text on white)
   ========================================================================== */
.hero-photo { background: #fff; padding-top: 0; display: flex; flex-direction: column; min-height: 94vh; overflow: hidden;
    /* side gutter so the rider aligns with the centred 1240px content container */
    --gutter: max(0px, calc((100vw - 1240px) / 2)); }
.hero-photo .hero-main { position: relative; flex: 1; display: flex; align-items: center;
    padding-top: calc(var(--nav-h) + 36px); padding-bottom: 48px; }

.hero-rider { position: absolute; right: -1%; bottom: 0; width: 60%; max-width: 860px; height: auto;
    z-index: 1; object-fit: contain; object-position: right bottom; pointer-events: none;
    filter: drop-shadow(0 26px 26px rgba(12, 32, 20, .18));
    animation: rider-bob 6s ease-in-out infinite; will-change: transform; }
@keyframes rider-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* White only hugs the text column; the far-left edge stays clear so the road photo shows */
.hero-scrim { position: absolute; inset: 0; z-index: 2; pointer-events: none;
    background: linear-gradient(90deg,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,.45) 8%,
        rgba(255,255,255,.92) 22%,
        rgba(255,255,255,.92) 40%,
        rgba(255,255,255,.5) 50%,
        rgba(255,255,255,0) 62%); }

/* Real city-street background photo */
.hero-bg { position: absolute; inset: 0; z-index: 0;
    background: url("/assets/img/hero-bg.png") center bottom / cover no-repeat; }
/* contact shadow sits right under the wheels on the tarmac */
.hs-bike-shadow { position: absolute; right: calc(var(--gutter) * 0.3 + 5%); bottom: 3.5%; width: 36%; max-width: 540px; height: 3.5%;
    background: radial-gradient(ellipse at center, rgba(8,18,10,.5), rgba(8,18,10,0) 70%); filter: blur(7px); z-index: 1; }

/* larger rider, shifted right of the content container so it clears the cards, and pushed
   down so the tyres meet the road (the SVG has ~10% empty padding below the wheels). */
.hero-photo .hero-rider { left: auto; right: calc(var(--gutter) * 0.3 + 3%); transform: none; margin: 0;
    width: auto; height: 106%; max-width: 920px; bottom: -6%;
    object-position: center bottom; animation: none;
    filter: drop-shadow(0 10px 12px rgba(8,20,12,.3)); }

.hero-photo .container { position: relative; z-index: 3; }
.hero-photo .hero-copy { max-width: 620px; }

/* secondary hero button needs a clearly visible outline over the photo */
.hero-cta .btn-ghost { border-width: 2px; border-color: var(--green-700); background: rgba(255,255,255,.9); color: var(--green-800); }

/* clear, lively hover effects on the two hero buttons */
.hero-cta .btn { transition: transform .28s var(--ease), box-shadow .28s var(--ease), background .28s var(--ease), color .2s var(--ease), border-color .2s var(--ease); }
.hero-cta .btn .icon { transition: transform .28s var(--ease); }
.hero-cta .btn:hover .icon { transform: translateX(3px); }
.hero-cta .btn-green:hover { transform: translateY(-3px) scale(1.03); background: var(--green-800); box-shadow: 0 22px 48px rgba(27,94,32,.48); }
.hero-cta .btn-green:active { transform: translateY(-1px) scale(1.01); }
.hero-cta .btn-ghost:hover { transform: translateY(-3px) scale(1.03); background: var(--green-700); border-color: var(--green-700); color: #fff; box-shadow: 0 18px 40px rgba(27,94,32,.34); }
.hero-cta .btn-ghost:active { transform: translateY(-1px) scale(1.01); }

.hero-photo .float-card { z-index: 4; left: auto; right: auto; }
.hero-photo .float-card.fc-track { top: 14%; right: var(--gutter); left: auto; animation: floaty 6s var(--ease) infinite; }
.hero-photo .float-card.fc-fresh { bottom: 8%; right: calc(var(--gutter) + 3%); left: auto; animation: floaty 7s var(--ease) infinite .8s; }

.hero-ecobar { position: relative; z-index: 3; background: var(--green-800); color: #fff; }
.hero-ecobar .container { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding-block: 20px; }

@media (max-width: 1024px) {
    .hero-photo { min-height: 0; }
    .hero-photo .hero-main { flex-direction: column; align-items: stretch; padding-bottom: 24px; }
    .hero-scrim { display: none; }
    .hero-photo .float-card { display: none; }
    .hs-bike-shadow { display: none; }
    /* text first, rider stacked below and contained (override the desktop rule) */
    .hero-photo .container { order: 1; position: relative; z-index: 3; width: 100%; max-width: 100%; }
    .hero-photo .hero-copy { width: 100%; max-width: 100%; }
    .hero-title, .hero-sub { max-width: 100%; overflow-wrap: break-word; }
    .hero-title .hl { max-width: 100%; }
    .hero-photo .hero-rider {
        order: 2; position: relative; left: auto; right: auto; bottom: auto; z-index: 2;
        transform: none; height: auto; width: 86%; max-width: 520px; margin: 18px auto 0;
    }
    /* keep hero text readable over the photo on stacked layouts */
    .hero-photo .hero-main::before { content: ""; position: absolute; inset: 0; z-index: 1;
        background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.78)); }
}
@media (max-width: 620px) {
    .hero-ecobar .container { flex-direction: column; gap: 12px; text-align: left; }
    /* let the headline wrap and scale so it never overflows narrow screens */
    .hero-title { font-size: clamp(2rem, 8.5vw, 2.7rem); margin: 16px 0; }
    .hero-title .hl { display: block; white-space: normal; }
    .hero-sub { font-size: 1rem; }
    .hero-pills { grid-template-columns: 1fr; }
    .hero-cta .btn { flex: 1 1 auto; }
}

/* ==========================================================================
   Compact card sizing for the home sections
   ========================================================================== */
.steps { gap: 16px; }
.step { padding: 20px 18px; border-radius: var(--radius-sm); }
.step-ico { width: 44px; height: 44px; border-radius: 12px; margin-bottom: 12px; }
.step-ico .icon { width: 22px; height: 22px; }
.step h3 { font-size: 1.02rem; margin-bottom: 5px; }
.step p { font-size: .85rem; }
.step-no { font-size: 1.2rem; top: 14px; right: 16px; }

.cat-grid { gap: 14px; }
.cat-card { padding: 12px 14px; gap: 11px; border-radius: var(--radius-sm); }
.cat-card .ci { width: 40px; height: 40px; border-radius: 11px; }
.cat-card .ci .icon { width: 21px; height: 21px; }
.cat-card b { font-size: .9rem; }
.cat-card span { font-size: .76rem; }

.product-thumb { aspect-ratio: 16 / 10; }
.product-thumb .ph .icon { width: 34px; height: 34px; }
.product-body { padding: 10px 11px 12px; gap: 3px; }
.product-vendor { font-size: .66rem; }
.product-name { font-size: .86rem; }
.product-price { font-size: .92rem; }
.product-price small { font-size: .62rem; }
.product-foot { padding-top: 6px; }
.add-btn { width: 32px; height: 32px; border-radius: 9px; }
.add-btn .icon { width: 16px; height: 16px; }
.product-tag { font-size: .66rem; padding: 4px 9px; top: 9px; left: 9px; }

.why-grid { gap: 16px; }
.why-card { padding: 18px; }
.why-card .wi { width: 42px; height: 42px; border-radius: 12px; margin-bottom: 11px; }
.why-card .wi .icon { width: 22px; height: 22px; }
.why-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.why-card p { font-size: .86rem; }

/* smaller CTA band buttons */
.cta-band .hero-cta .btn { padding: 11px 22px; font-size: .92rem; }
.cta-band .hero-cta .btn .icon { width: 18px; height: 18px; }

/* section divider */
.sec-divider { display: flex; align-items: center; gap: 18px; padding: 10px 0; }
.sec-divider span { flex: 1; height: 1px; }
.sec-divider span:first-child { background: linear-gradient(90deg, transparent, var(--line)); }
.sec-divider span:last-child { background: linear-gradient(90deg, var(--line), transparent); }
.sec-divider .icon { width: 22px; height: 22px; color: var(--gold); flex: none; }

/* bolder, more visible divider */
.sec-divider-bold { gap: 20px; padding: 18px 0; }
.sec-divider-bold span { height: 2px; border-radius: 2px; }
.sec-divider-bold span:first-child { background: linear-gradient(90deg, transparent, var(--green-500)); }
.sec-divider-bold span:last-child { background: linear-gradient(90deg, var(--green-500), transparent); }
.sec-divider-bold .dv-badge { width: 46px; height: 46px; border-radius: 50%; flex: none;
    background: linear-gradient(150deg, var(--green-600), var(--green-800)); color: #fff; display: grid; place-items: center; }
.sec-divider-bold .dv-badge .icon { width: 24px; height: 24px; color: #fff; }
