/* =============================================================================
   Chabuk — storefront visual system
   Warm-paper palette · Manrope display · original SVG illustration language.
   Layered on Bootstrap 5.3 (grid + utilities + bundle.js only). No markup
   contract changes: form actions / input names / routes / JS hooks untouched.
   ========================================================================== */

/* ---- Tokens --------------------------------------------------------------- */
:root {
    --font: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

    --paper:        #f6f8f7;            /* clean, faintly-green off-white page */
    --surface:      #ffffff;
    --surface-warm: #eef2f0;            /* cool light panel */
    --surface-3:    #e2e7e4;

    --ink:          #1b1d1c;            /* neutral near-black text */
    --ink-2:        #3b423e;
    --muted:        #6c7570;
    --faint:        #9aa39d;

    --line:         #e6eae8;
    --line-strong:  #d3d9d5;

    --brand:        #0c831f;            /* Blinkit grass green */
    --brand-600:    #0a6d19;
    --brand-700:    #085a15;
    --brand-tint:   #e2f4e4;
    --brand-tint-2: #c3e9c8;

    --coral:        #e6492d;            /* bright accent — offers / sale */
    --coral-600:    #c93d24;
    --coral-tint:   #fde7e1;

    --sun:          #f8cb46;            /* Blinkit yellow — highlights / badges */
    --sun-600:      #e6b21f;
    --sun-tint:     #fef3d2;

    --gold:         #8a6410;            /* dark mustard — rating text (needs contrast) */
    --gold-tint:    #fbeecb;

    --success:      #0c831f;
    --success-tint: #e2f4e4;
    --danger:       #d63a26;
    --danger-tint:  #fde7e2;
    --info-tint:    #e4eefb;

    /* illustration theme (overridden per category tile) */
    --il-a: var(--brand);
    --il-b: var(--brand-tint-2);
    --il-c: var(--brand-700);

    --r-xs: 8px;  --r-sm: 12px;  --r: 16px;  --r-lg: 22px;  --r-xl: 30px;  --r-pill: 999px;

    --sh-xs: 0 1px 2px rgba(20,28,22,.06);
    --sh-sm: 0 2px 8px rgba(20,28,22,.07), 0 1px 2px rgba(20,28,22,.05);
    --sh:    0 12px 32px rgba(20,28,22,.12);
    --sh-lg: 0 24px 60px rgba(20,28,22,.18);

    --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 72px; --s9: 104px;

    --container: 1220px;
    --header-h: 68px;

    /* Bootstrap bridge */
    --bs-body-bg: var(--paper);
    --bs-body-color: var(--ink);
    --bs-body-font-family: var(--font);
    --bs-border-color: var(--line);
    --bs-border-radius: var(--r-xs);
    --bs-border-radius-sm: 6px;
    --bs-border-radius-lg: var(--r-sm);
    --bs-primary: var(--brand);
    --bs-primary-rgb: 12, 131, 31;
    --bs-link-color: var(--brand);
    --bs-link-color-rgb: 12, 131, 31;
    --bs-link-hover-color: var(--brand-600);
    --bs-emphasis-color: var(--ink);
    --bs-secondary-color: var(--muted);
    --bs-tertiary-bg: var(--surface-warm);
}

/* ---- Base -------------------------------------------------------------- */
* { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
html { -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font);
    background: var(--paper);
    color: var(--ink);
    font-size: 0.95rem;
    line-height: 1.6;
    font-weight: 450;
}
img { max-width: 100%; height: auto; display: block; }
svg { display: block; }
::selection { background: var(--brand-tint-2); }
a { text-decoration: none; color: inherit; }
hr { border-color: var(--line); opacity: 1; }
.container { max-width: var(--container); padding-left: 22px; padding-right: 22px; }
main { min-height: 60vh; }

/* ---- Typography ------------------------------------------------------------ */
h1,h2,h3,h4,h5,h6,.h1,.h2,.h3,.h4,.h5,.h6 {
    font-family: var(--font); color: var(--ink); line-height: 1.14; letter-spacing: -0.022em;
    font-weight: 780; margin-top: 0;
}
.display-1,.display-2,.display-6 { font-weight: 800; letter-spacing: -0.035em; }
h1,.h1 { font-size: clamp(1.9rem, 1.3rem + 2.6vw, 3rem); }
h2,.h2 { font-size: clamp(1.45rem, 1.1rem + 1.6vw, 2rem); font-weight: 760; }
h3,.h3 { font-size: 1.28rem; font-weight: 740; }
h4,.h4 { font-size: 1.08rem; font-weight: 720; }
h5,.h5 { font-size: 0.98rem; font-weight: 700; }
h6,.h6 { font-size: 0.74rem; letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
p { margin-top: 0; }
.lead { font-size: 1.12rem; line-height: 1.55; color: var(--ink-2); font-weight: 450; }
.text-muted { color: var(--muted) !important; }
small,.small { font-size: 0.83rem; }
.fw-semibold { font-weight: 650 !important; }
.fw-bold { font-weight: 780 !important; }
.eyebrow {
    display: inline-flex; align-items: center; gap: 7px;
    font-size: 0.72rem; font-weight: 750; letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--brand-600);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--brand); border-radius: 2px; }

.section { padding-block: var(--s6); }
.section + .section { padding-top: 0; }
.section-head { margin-bottom: var(--s5); max-width: 640px; }
.section-head .eyebrow { margin-bottom: var(--s3); }
.section-head h2 { margin-bottom: var(--s2); }
.section-head p { color: var(--muted); margin: 0; }
.section-head.row-head { display: flex; align-items: flex-end; justify-content: space-between; max-width: none; gap: var(--s4); }
.section-head.row-head .link-more { font-size: 0.88rem; font-weight: 650; color: var(--brand); white-space: nowrap; padding-bottom: 4px; }
.link-more::after { content: " →"; }

/* ---- Buttons ------------------------------------------------------------- */
.btn {
    font-family: var(--font); font-weight: 680; letter-spacing: -0.01em;
    border-radius: var(--r-pill); padding: 0.66rem 1.35rem; line-height: 1.2;
    border: 1.5px solid transparent;
    transition: transform .12s cubic-bezier(.2,.7,.3,1), background-color .15s, border-color .15s, color .15s, box-shadow .15s;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-lg { padding: 0.9rem 1.8rem; font-size: 1.02rem; }
.btn-sm { padding: 0.44rem 0.95rem; font-size: 0.82rem; border-width: 1.5px; }

.btn-primary { --bs-btn-bg: var(--brand); --bs-btn-border-color: var(--brand);
    --bs-btn-hover-bg: var(--brand-600); --bs-btn-hover-border-color: var(--brand-600);
    --bs-btn-active-bg: var(--brand-700); --bs-btn-active-border-color: var(--brand-700);
    --bs-btn-disabled-bg: var(--faint); --bs-btn-disabled-border-color: var(--faint);
    color: #fff; box-shadow: 0 4px 14px rgba(12,131,31,.26); }
.btn-primary:hover { color: #fff; box-shadow: 0 8px 22px rgba(12,131,31,.34); transform: translateY(-1px); }

.btn-dark, .btn-ink { --bs-btn-bg: var(--ink); --bs-btn-border-color: var(--ink);
    --bs-btn-hover-bg: #35302a; --bs-btn-hover-border-color: #35302a; color: #fff; }

.btn-outline-primary { --bs-btn-color: var(--ink); --bs-btn-border-color: var(--line-strong);
    --bs-btn-hover-bg: var(--ink); --bs-btn-hover-border-color: var(--ink); --bs-btn-hover-color: #fff;
    --bs-btn-active-bg: var(--ink); --bs-btn-active-color: #fff; background: var(--surface); }
.btn-outline-secondary, .btn-outline-dark { --bs-btn-color: var(--ink-2); --bs-btn-border-color: var(--line-strong);
    --bs-btn-hover-bg: var(--surface-warm); --bs-btn-hover-border-color: var(--ink); --bs-btn-hover-color: var(--ink);
    background: var(--surface); }
.btn-outline-danger { --bs-btn-color: var(--danger); --bs-btn-border-color: #e3bab5; --bs-btn-hover-bg: var(--danger); --bs-btn-hover-border-color: var(--danger); }
.btn-light { --bs-btn-bg: #fff; --bs-btn-border-color: #fff; --bs-btn-hover-bg: var(--surface-warm); --bs-btn-hover-border-color: var(--surface-warm); color: var(--ink); }
.btn-outline-light { --bs-btn-border-color: rgba(255,255,255,.55); --bs-btn-hover-bg: rgba(255,255,255,.16); color: #fff; }
.btn-success { --bs-btn-bg: var(--brand); --bs-btn-border-color: var(--brand); --bs-btn-hover-bg: var(--brand-600); --bs-btn-hover-border-color: var(--brand-600); color: #fff; }
.btn-link { color: var(--brand); font-weight: 650; padding: 0; border: 0; }
.btn:disabled,.btn.disabled { opacity: .5; box-shadow: none; }

/* ---- Forms ------------------------------------------------------------- */
.form-label { font-weight: 650; font-size: 0.84rem; color: var(--ink-2); margin-bottom: 0.35rem; }
.form-text { color: var(--muted); font-size: 0.78rem; }
.form-control, .form-select {
    border: 1.5px solid var(--line-strong); border-radius: var(--r-xs);
    padding: 0.66rem 0.9rem; font-size: 0.92rem; color: var(--ink);
    background-color: var(--surface); transition: border-color .12s, box-shadow .12s;
    font-family: var(--font);
}
.form-control::placeholder { color: var(--faint); }
.form-control:focus, .form-select:focus { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-tint); }
.form-control-sm, .form-select-sm { padding: 0.42rem 0.7rem; font-size: 0.84rem; border-radius: 8px; }
.form-control-lg { padding: 0.85rem 1.1rem; font-size: 1.02rem; border-radius: var(--r-sm); }
textarea.form-control { line-height: 1.55; }
.input-group-text { background: var(--surface-warm); border: 1.5px solid var(--line-strong); color: var(--muted); font-weight: 600; }
.input-group > .form-control { border-radius: 0 var(--r-xs) var(--r-xs) 0; }
.input-group > .input-group-text:first-child { border-radius: var(--r-xs) 0 0 var(--r-xs); border-right: 0; }
.form-check-input { border: 1.5px solid var(--line-strong); }
.form-check-input:checked { background-color: var(--brand); border-color: var(--brand); }
.form-check-input:focus { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-tint); }
.form-check-label { font-size: 0.9rem; color: var(--ink-2); }
.form-control.is-invalid, .was-validated .form-control:invalid { border-color: var(--danger); }
.invalid-feedback { color: var(--danger); }

details > summary { cursor: pointer; list-style: none; font-weight: 680; color: var(--ink); user-select: none;
    display: flex; align-items: center; justify-content: space-between; }
details > summary::-webkit-details-marker { display: none; }
details > summary::after { content: "＋"; color: var(--muted); font-weight: 400; margin-left: auto; }
details[open] > summary::after { content: "－"; }

/* Sign-in method chooser — two equal options, not a primary and a hidden one. */
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; background: var(--surface-warm);
    padding: 4px; border-radius: var(--r-pill); }
.auth-tabs a { text-align: center; padding: 9px 6px; border-radius: var(--r-pill); font-size: 0.85rem;
    font-weight: 650; color: var(--muted); transition: background-color .15s, color .15s; }
.auth-tabs a:hover { color: var(--ink); }
.auth-tabs a.active { background: var(--surface); color: var(--ink); box-shadow: var(--sh-xs); }

.divider-or { display: flex; align-items: center; gap: 14px; color: var(--faint); font-size: 0.78rem;
    letter-spacing: 0.08em; text-transform: uppercase; margin: var(--s5) 0; }
.divider-or::before, .divider-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* ---- Cards ------------------------------------------------------------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh-xs); }
.card-body { padding: var(--s5); }
.card-header { background: transparent; border-bottom: 1px solid var(--line); font-weight: 700; padding: var(--s4) var(--s5); }
.card-footer { background: transparent; border-top: 1px solid var(--line); padding: var(--s4) var(--s5); }
.border, .border-top, .border-bottom, .border-start, .border-end { border-color: var(--line) !important; }
.rounded-3, .rounded-2 { border-radius: var(--r-sm) !important; }
.bg-light { background-color: var(--surface-warm) !important; }
.bg-white { background-color: var(--surface) !important; }
.shadow-sm { box-shadow: var(--sh-sm) !important; }
.shadow { box-shadow: var(--sh) !important; }

/* ---- Badges ---------------------------------------------------------- */
.badge { font-weight: 700; font-size: 0.7rem; letter-spacing: 0.02em; padding: 0.36em 0.66em; border-radius: 7px; }
.badge.rounded-pill { border-radius: var(--r-pill); }
.text-bg-primary { background: var(--ink) !important; color: #fff !important; }
.text-bg-danger { background: var(--coral-tint) !important; color: var(--coral-600) !important; }
.text-bg-success { background: var(--success-tint) !important; color: var(--brand-700) !important; }
.text-bg-warning { background: var(--gold-tint) !important; color: var(--gold) !important; }
.text-bg-secondary { background: var(--surface-3) !important; color: var(--ink-2) !important; }
.text-bg-info { background: var(--info-tint) !important; color: #2c5487 !important; }
.text-bg-light { background: var(--surface-warm) !important; color: var(--ink-2) !important; }

/* ---- Alerts / toasts -------------------------------------------------- */
.alert { border: 1px solid var(--line); border-radius: var(--r-sm); padding: var(--s4) var(--s5); font-size: 0.9rem; box-shadow: var(--sh-xs); }
.alert-success { background: var(--success-tint); border-color: #c6e2d5; color: var(--brand-700); }
.alert-danger { background: var(--danger-tint); border-color: #eecdc8; color: var(--danger); }
.alert-warning { background: var(--gold-tint); border-color: #ecdcbc; color: var(--gold); }
.alert-info { background: var(--info-tint); border-color: #d2ddec; color: #2c5487; }
.toast { border-radius: var(--r-sm); box-shadow: var(--sh-lg); border: 0; font-size: 0.88rem; font-weight: 600; }
.toast.text-bg-success { background: var(--ink) !important; color: #fff !important; }
.toast.text-bg-danger { background: var(--coral-600) !important; color: #fff !important; }
.toast .toast-body { padding: 0.9rem 1.05rem; }

/* ---- Tables ---------------------------------------------------------- */
.table { color: var(--ink); font-size: 0.9rem; margin-bottom: 0; --bs-table-bg: transparent; }
.table > thead th, .table thead.table-light th {
    background: var(--surface-warm); font-weight: 700; font-size: 0.72rem; text-transform: uppercase;
    letter-spacing: 0.05em; color: var(--muted); border-bottom: 1px solid var(--line); padding: 0.72rem 0.9rem; white-space: nowrap;
}
.table > tbody td { padding: 0.85rem 0.9rem; border-color: var(--line); vertical-align: middle; }
.table-sm > :not(caption) > * > * { padding: 0.55rem 0.7rem; }
.table-hover > tbody > tr:hover > * { background: var(--surface-warm); }

/* ---- Breadcrumb / pagination -------------------------------------------- */
.breadcrumb { font-size: 0.8rem; margin-bottom: var(--s4); }
.breadcrumb-item a { color: var(--muted); font-weight: 550; }
.breadcrumb-item a:hover { color: var(--brand); }
.breadcrumb-item.active { color: var(--ink-2); font-weight: 600; }
.breadcrumb-item + .breadcrumb-item::before { content: "›"; color: var(--faint); }
.pagination { gap: 5px; }
.page-link { color: var(--ink-2); border: 1.5px solid var(--line); border-radius: 9px !important;
    padding: 0.5rem 0.85rem; font-size: 0.85rem; font-weight: 650; background: var(--surface); }
.page-link:hover { background: var(--surface-warm); color: var(--ink); border-color: var(--line-strong); }
.page-item.active .page-link { background: var(--ink); border-color: var(--ink); color: #fff; }
.page-item.disabled .page-link { color: var(--faint); background: transparent; }

/* =============================================================================
   HEADER
   ========================================================================== */
.site-header { position: sticky; top: 0; z-index: 1030; background: var(--surface); }

.announce { background: var(--brand); color: rgba(255,255,255,.92); font-size: 0.76rem; font-weight: 600; }
.announce .container { display: flex; align-items: center; justify-content: center; gap: 28px; height: 36px; text-align: center; }
.announce a { color: #fff; font-weight: 750; text-decoration: underline; text-underline-offset: 2px; }
.announce .an-tag { color: #fff; font-weight: 800; letter-spacing: 0.02em; }
.announce .an-extra { display: none; }
@media (min-width: 992px) { .announce .an-extra { display: inline; color: rgba(255,255,255,.6); } }

.main-head { border-bottom: 1px solid var(--line); }
.main-head .container { display: flex; align-items: center; gap: 26px; height: var(--header-h); }

.brand { font-family: var(--font); font-weight: 800; font-size: 1.32rem; letter-spacing: -0.035em; color: var(--ink);
    white-space: nowrap; display: inline-flex; align-items: center; gap: 9px; }
.brand:hover { color: var(--ink); }
/* The logo lockup carries the name itself, so no text sits beside it. Height is
   set inline per placement; width follows the aspect ratio. The tagline is set
   as live text rather than baked into the image — at header sizes the printed
   one would render about three pixels tall. */
.brand-logo { display: block; width: auto; max-width: 100%; }
.brand-stack { flex-direction: column; align-items: flex-start; gap: 3px; }
.brand-tag { font-size: 0.64rem; font-weight: 650; letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--brand-600); }
.brand .mk { width: 32px; height: 32px; border-radius: 10px; background: var(--brand); color: #fff;
    display: grid; place-items: center; font-size: 1rem; font-weight: 850; box-shadow: 0 3px 10px rgba(12,131,31,.32); }
.brand .mk svg { width: 19px; height: 19px; }

.head-search { flex: 1; position: relative; max-width: 640px; }
.head-search input { width: 100%; height: 46px; border: 1.5px solid var(--line-strong); border-radius: var(--r-pill);
    padding: 0 50px 0 20px; font-size: 0.92rem; background: var(--surface-warm); font-weight: 500;
    transition: background .12s, border-color .12s, box-shadow .12s; }
.head-search input:focus { outline: none; background: var(--surface); border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-tint); }
.head-search .search-btn { position: absolute; right: 5px; top: 5px; width: 36px; height: 36px; border: 0;
    background: var(--ink); color: #fff; border-radius: var(--r-pill); display: grid; place-items: center; cursor: pointer; }
.head-search .search-btn:hover { background: var(--brand); }
.head-search .search-btn svg { width: 18px; height: 18px; }

.head-actions { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.head-link { display: flex; flex-direction: column; align-items: center; gap: 2px; color: var(--ink-2);
    font-size: 0.68rem; font-weight: 650; padding: 7px 11px; border-radius: var(--r-xs); position: relative; min-width: 58px; }
.head-link:hover { background: var(--surface-warm); color: var(--ink); }
.head-link svg { width: 22px; height: 22px; }
.head-link .cart-count { position: absolute; top: 1px; right: 8px; background: var(--coral); color: #fff;
    font-size: 0.62rem; font-weight: 800; min-width: 18px; height: 18px; padding: 0 4px; border-radius: var(--r-pill);
    display: grid; place-items: center; border: 2px solid var(--surface); }

.cat-nav { border-bottom: 1px solid var(--line); background: var(--surface); }
.cat-nav .container { display: flex; align-items: center; gap: 2px; height: 48px; overflow-x: auto; scrollbar-width: none; }
.cat-nav .container::-webkit-scrollbar { display: none; }
.cat-nav a { color: var(--ink-2); font-size: 0.87rem; font-weight: 600; padding: 9px 14px; border-radius: var(--r-xs); white-space: nowrap; }
.cat-nav a:hover { background: var(--surface-warm); color: var(--ink); }
.cat-nav a.active { color: var(--brand); }
.cat-nav a.accent { color: var(--coral-600); }
.cat-nav a.accent:hover { background: var(--coral-tint); }

.mobile-head { display: none; border-bottom: 1px solid var(--line); }
.mobile-head .row1 { display: flex; align-items: center; gap: 10px; height: 58px; }
.icon-btn { width: 42px; height: 42px; border: 0; background: transparent; color: var(--ink); display: grid;
    place-items: center; border-radius: var(--r-xs); cursor: pointer; position: relative; }
.icon-btn:hover { background: var(--surface-warm); }
.icon-btn svg { width: 24px; height: 24px; }
.icon-btn .cart-count { position: absolute; top: 3px; right: 3px; background: var(--coral); color: #fff;
    font-size: 0.6rem; font-weight: 800; min-width: 16px; height: 16px; padding: 0 3px; border-radius: var(--r-pill); display: grid; place-items: center; }
.mobile-head .row2 { padding-bottom: 12px; position: relative; }
.mobile-head .row2 input { width: 100%; height: 42px; border: 1.5px solid var(--line-strong); border-radius: var(--r-pill);
    padding: 0 18px; font-size: 0.9rem; background: var(--surface-warm); }
.mobile-head .row2 input:focus { outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px var(--brand-tint); }

.offcanvas { border: 0; background: var(--surface); }
.offcanvas-header { border-bottom: 1px solid var(--line); padding: var(--s4) var(--s5); }
.offcanvas-body { padding: var(--s3) 0; }
.drawer-link { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); padding: 14px var(--s5);
    color: var(--ink); font-weight: 600; font-size: 0.96rem; }
/* Without an explicit size a bare inline SVG has no intrinsic width, so as a
   flex item it stretched to fill the row. */
.drawer-link svg { width: 18px; height: 18px; flex: none; color: var(--faint); }
.drawer-link:hover { background: var(--surface-warm); color: var(--ink); }
.drawer-link:hover svg { color: var(--brand); }
.drawer-section { padding: var(--s4) var(--s5) 6px; font-size: 0.68rem; text-transform: uppercase;
    letter-spacing: 0.09em; color: var(--faint); font-weight: 700; }

.bottom-nav { display: none; }

[data-live-search-results].list-group, .mobile-head [data-live-search-results] {
    border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; box-shadow: var(--sh-lg);
    margin-top: 8px; background: var(--surface);
}
[data-live-search-results] .list-group-item { border: 0; border-bottom: 1px solid var(--line); padding: 11px 15px; font-weight: 550; }
[data-live-search-results] .list-group-item:last-child { border-bottom: 0; }
[data-live-search-results] .list-group-item:hover { background: var(--surface-warm); }

/* =============================================================================
   HERO
   ========================================================================== */
.hero { position: relative; overflow: hidden; margin-top: var(--s4); margin-bottom: var(--s6);
    border-radius: var(--r-xl); background: linear-gradient(135deg, #d8f0dc 0%, var(--brand-tint) 45%, var(--sun-tint) 100%); }
.hero-inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: var(--s6); align-items: center;
    padding: clamp(32px, 4vw, 68px); }
.hero-copy h1 { margin: var(--s3) 0 var(--s4); max-width: 15ch; }
.hero-copy .lead { max-width: 40ch; margin-bottom: var(--s5); color: var(--ink-2); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: var(--s5); color: var(--ink-2);
    font-size: 0.8rem; font-weight: 600; }
.hero-trust span { display: inline-flex; align-items: center; gap: 6px; }
.hero-trust span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }

.hero-art { position: relative; aspect-ratio: 1.12; }
.hero-art .art-ring { position: absolute; inset: 6% 4% 6% 8%; background: radial-gradient(circle at 40% 35%, #fff, #fbf7ee);
    border-radius: 46% 54% 55% 45% / 52% 48% 52% 48%; box-shadow: var(--sh); }
.hero-art .obj { position: absolute; background: var(--surface); border: 1px solid var(--line);
    box-shadow: var(--sh-sm); display: grid; place-items: center; }
.hero-art .obj svg { width: 62%; height: 62%; }
.hero-art .obj.o1 { left: 6%; bottom: 8%; width: 40%; aspect-ratio: 1; border-radius: var(--r-lg); --il-a: var(--brand); --il-b: var(--brand-tint-2); --il-c: var(--brand-700); }
.hero-art .obj.o2 { right: 4%; top: 4%; width: 44%; aspect-ratio: .86; border-radius: var(--r-lg); transform: rotate(4deg); --il-a:#3f8fb2; --il-b:#dcecf3; --il-c:#2b6a87; }
.hero-art .obj.o3 { right: 8%; bottom: 6%; width: 34%; aspect-ratio: 1; border-radius: var(--r-lg); transform: rotate(-5deg); --il-a:#c58a3a; --il-b:#f4e9d6; --il-c:#9a6a26; }
.hero-art .obj.o1 svg, .hero-art .obj.o2 svg, .hero-art .obj.o3 svg { width: 70%; height: 70%; }
.hero-art .spark { position: absolute; color: var(--coral); }
.hero-art .spark.s1 { top: 12%; left: 44%; width: 22px; }
.hero-art .spark.s2 { bottom: 30%; left: 2%; width: 14px; }

/* =============================================================================
   HERO SLIDER  (configurable sliding banner)
   ========================================================================== */
.hero-slider { position: relative; margin-top: var(--s4); margin-bottom: var(--s6);
    border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--line); background: var(--surface-warm); }
.hs-viewport { position: relative; }
.hs-slide { position: relative; overflow: hidden; min-height: clamp(210px, 25vw, 330px);
    background: var(--tile-bg, var(--brand-tint)); animation: hsFade .5s ease; }
.hs-slide[hidden] { display: none; }
.hs-image-only .hs-img img { object-fit: cover; }
.hs-hit { position: absolute; inset: 0; z-index: 3; }
/* Image-only slides have no normal-flow content (no .hs-content) to give the
   slide a height, so pin one via aspect-ratio - otherwise it collapses to 0
   wherever min-height is reset to 0 (mobile). */
.hs-slide.hs-image-only { aspect-ratio: 3.6 / 1; min-height: 0; }
@keyframes hsFade { from { opacity: .35; } to { opacity: 1; } }

.hs-img { position: absolute; inset: 0; display: block; }
.hs-img img { width: 100%; height: 100%; object-fit: cover; }
.hs-scrim { position: absolute; inset: 0; }
.hs-scrim-left { background: linear-gradient(96deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.82) 38%,
    rgba(255,255,255,.30) 70%, rgba(255,255,255,0) 100%); }
.hs-scrim-center { background: linear-gradient(0deg, rgba(255,255,255,.72), rgba(255,255,255,.58)); }
.hs-decor { position: absolute; right: -18px; bottom: -18px; width: clamp(150px, 22vw, 260px); opacity: .9; }
.hs-decor svg { width: 100%; height: 100%; }

.hs-content { position: relative; z-index: 2; min-height: inherit; max-width: 600px;
    display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: var(--s2);
    padding: clamp(22px, 3.4vw, 52px); }
.hs-content.hs-center { max-width: 760px; margin-inline: auto; align-items: center; text-align: center; }
.hs-content h1 { margin: 0; max-width: 18ch; font-size: clamp(1.35rem, 2.7vw, 2.15rem); }
.hs-content .eyebrow { margin: 0; }
.hs-content .lead { margin: 0; max-width: 44ch; color: var(--ink-2); font-size: clamp(.9rem, 1.1vw, 1.05rem);
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hs-content .hero-cta { margin-top: var(--s2); }
.hs-content .hero-cta .btn-lg { padding: 0.6rem 1.3rem; font-size: 0.92rem; }
.hs-badge { display: inline-block; background: var(--sun); color: #1b1d1c; font-weight: 850; font-size: 0.72rem;
    letter-spacing: 0.06em; text-transform: uppercase; padding: 6px 12px; border-radius: var(--r-pill); }

.hs-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 5; width: 40px; height: 40px;
    border-radius: 50%; border: 1px solid var(--line-strong); background: rgba(255,255,255,.9); color: var(--ink);
    font-size: 1.4rem; line-height: 1; display: grid; place-items: center; cursor: pointer; transition: background .15s; }
.hs-arrow:hover { background: #fff; }
.hs-prev { left: 14px; }
.hs-next { right: 14px; }
.hs-dots { position: absolute; left: 0; right: 0; bottom: 14px; z-index: 5; display: flex; gap: 7px; justify-content: center; }
.hs-dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: var(--r-pill); cursor: pointer;
    background: rgba(20,28,22,.28); transition: width .2s, background .2s; }
.hs-dot.active { width: 22px; background: var(--ink); }

@media (prefers-reduced-motion: reduce) { .hs-slide { animation: none; } }

/* =============================================================================
   TRUST BAR
   ========================================================================== */
.trustbar { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line);
    border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; margin-bottom: var(--s6); }
.trustbar .t { background: var(--surface); padding: var(--s4) var(--s3); display: flex; align-items: center;
    gap: 10px; font-size: 0.82rem; }
.trustbar .t svg { width: 26px; height: 26px; color: var(--brand); flex-shrink: 0; }
.trustbar .t strong { display: block; font-weight: 700; font-size: 0.86rem; color: var(--ink); }
.trustbar .t span { color: var(--muted); }

/* =============================================================================
   CATEGORY TILES  (icon-card: image on a tinted square, name below - not
   overlaid) - homepage "Shop by category" rail
   ========================================================================== */
.cat-tile { display: flex; flex-direction: column; align-items: center; gap: var(--s2); color: var(--ink); text-align: center; }
.cat-tile-img { width: 100%; aspect-ratio: 1; border-radius: var(--r-lg); background: var(--tile-bg, var(--surface-warm));
    display: grid; place-items: center; overflow: hidden; transition: transform .18s cubic-bezier(.2,.7,.3,1), box-shadow .18s; }
.cat-tile-img img { width: 100%; height: 100%; object-fit: cover; }
.cat-tile-img svg { width: 58%; height: 58%; }
.cat-tile:hover .cat-tile-img { transform: translateY(-3px); box-shadow: var(--sh-sm); }
.cat-tile-name { font-size: 0.84rem; font-weight: 650; line-height: 1.25; letter-spacing: -0.01em; }
/* tile themes */
.tile-green  { --tile-bg: #d8f0dc; --il-a: var(--brand);  --il-b: #aee0b6; --il-c: var(--brand-700); }
.tile-sky    { --tile-bg: #d9ebfb; --il-a: #1f77d6; --il-b: #b9dbf7; --il-c: #14548f; }
.tile-amber  { --tile-bg: #fdedc2; --il-a: #e0982a; --il-b: #f6db9c; --il-c: #a06710; }
.tile-coral  { --tile-bg: #fde2da; --il-a: var(--coral); --il-b: #f8c8ba; --il-c: var(--coral-600); }
.tile-violet { --tile-bg: #e8e1fb; --il-a: #6d54c9; --il-b: #d1c5f3; --il-c: #46349e; }

/* =============================================================================
   PRODUCT CARD  (product is the hero)
   ========================================================================== */
.pgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s4); }
.pgrid.pgrid-3 { grid-template-columns: repeat(3, 1fr); }
.pcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
    overflow: hidden; display: flex; flex-direction: column; height: 100%;
    transition: transform .18s cubic-bezier(.2,.7,.3,1), box-shadow .18s, border-color .18s; }
.pcard:hover { transform: translateY(-4px); box-shadow: var(--sh); border-color: var(--line-strong); }
.pcard .pc-media { position: relative; display: block; aspect-ratio: 1; background: var(--surface-warm); overflow: hidden; }
.pcard .pc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.pcard:hover .pc-media img { transform: scale(1.04); }
.pcard .pc-fallback { position: absolute; inset: 0; display: grid; place-items: center; padding: 22%;
    --il-a: var(--brand); --il-b: #c9e3d6; --il-c: var(--brand-700); }
.pcard .pc-fallback svg { width: 100%; height: 100%; opacity: .5; }
.pcard .pc-badges { position: absolute; top: 12px; left: 12px; display: flex; flex-direction: column; gap: 6px; }
.pcard .b-sale { background: var(--coral); color: #fff; font-size: 0.68rem; font-weight: 800; padding: 4px 9px; border-radius: var(--r-pill); box-shadow: 0 3px 8px rgba(230,73,45,.32); }
.pcard .b-oos { position: absolute; top: 12px; right: 12px; background: rgba(34,30,24,.82); color: #fff; font-size: 0.66rem; font-weight: 700; padding: 4px 9px; border-radius: var(--r-pill); }
.pcard .pc-body { padding: 15px 15px 16px; display: flex; flex-direction: column; flex: 1; }
.pcard .pc-brand { font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--faint); font-weight: 750; margin-bottom: 4px; }
.pcard .pc-name { color: var(--ink); font-weight: 620; font-size: 0.92rem; line-height: 1.36; letter-spacing: -0.01em;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.5em; }
.pcard .pc-name:hover { color: var(--brand); }
.pcard .pc-rating { font-size: 0.75rem; color: var(--gold); font-weight: 650; margin-top: 5px; }
.pcard .pc-foot { margin-top: auto; padding-top: 12px; }
.pcard .pc-price { display: flex; align-items: baseline; gap: 7px; flex-wrap: wrap; }
.pcard .pc-now { font-weight: 800; font-size: 1.12rem; color: var(--ink); letter-spacing: -0.02em; }
.pcard .pc-unit { color: var(--muted); font-size: 0.74rem; font-weight: 500; }
.pcard .pc-mrp { color: var(--faint); text-decoration: line-through; font-size: 0.8rem; }
.pcard .pc-save { color: var(--brand); font-size: 0.75rem; font-weight: 700; margin-top: 1px; }
.pcard .pc-b2b { margin-top: 6px; font-size: 0.7rem; font-weight: 650; color: var(--brand-700); background: var(--brand-tint); border-radius: 6px; padding: 3px 7px; display: inline-block; }
.pcard .pc-add { margin-top: 12px; }
.pcard .pc-add .btn { width: 100%; }
.pcard .pc-add .btn-outline-primary { --bs-btn-color: var(--brand); --bs-btn-border-color: var(--brand-tint-2);
    --bs-btn-hover-bg: var(--brand); --bs-btn-hover-border-color: var(--brand); --bs-btn-hover-color: #fff;
    --bs-btn-active-bg: var(--brand-700); background: var(--brand-tint); font-weight: 800; letter-spacing: 0.02em; }

/* horizontal scroll rail (homepage carousels) --------------------------- */
.rail-wrap { position: relative; }
.rail { display: flex; gap: var(--s4); overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none;
    padding: 4px 2px var(--s2); scroll-padding-left: 2px; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { flex: 0 0 clamp(156px, 44vw, 210px); scroll-snap-align: start; height: auto; }
.rail.rail-wide > * { flex-basis: clamp(248px, 74vw, 320px); }
.rail.rail-cats > * { flex-basis: clamp(104px, 22vw, 132px); }

.rail-nav { position: absolute; top: 92px; z-index: 4; width: 40px; height: 40px; border-radius: 50%;
    border: 1px solid var(--line-strong); background: rgba(255,255,255,.96); color: var(--ink);
    font-size: 1.4rem; line-height: 1; display: none; place-items: center; cursor: pointer;
    box-shadow: var(--sh-sm); transition: opacity .15s, background .15s; }
.rail-nav:hover { background: #fff; }
.rail-nav:disabled { opacity: .3; cursor: default; }
.rail-prev { left: -18px; }
.rail-next { right: -18px; }
.rail-wrap.rail-scrollable .rail-nav { display: grid; }
@media (max-width: 991.98px) { .rail-wrap .rail-nav { display: none !important; } }

/* promo cards (sub-banners under the hero) ----------------------------- */
.promo-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s4); margin-bottom: var(--s6); }
.promo-card { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start;
    min-height: 176px; padding: var(--s5); padding-right: 42%; border-radius: var(--r-lg); border: 1px solid var(--line);
    background: var(--tile-bg, var(--brand-tint)); color: var(--ink);
    transition: transform .18s cubic-bezier(.2,.7,.3,1), box-shadow .18s; }
.promo-card:hover { transform: translateY(-4px); box-shadow: var(--sh); color: var(--ink); }
.promo-card > * { position: relative; z-index: 2; }
.promo-card .pm-img { position: absolute; right: 0; top: 0; height: 100%; width: 50%; object-fit: cover; z-index: 0; }
.promo-card .pm-scrim { position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(90deg, var(--tile-bg, var(--brand-tint)) 46%, rgba(255,255,255,0) 82%); }
.promo-card h3 { font-size: 1.1rem; margin-bottom: 4px; }
.promo-card p { font-size: 0.84rem; color: var(--ink-2); margin: 0 0 var(--s4); }
.promo-card .pm-cta { margin-top: auto; font-size: 0.82rem; font-weight: 700; color: var(--brand-700);
    display: inline-flex; align-items: center; gap: 6px; }
.promo-card .pm-cta::after { content: "→"; }
.promo-card .pm-art { position: absolute; right: 4%; top: 50%; transform: translateY(-50%);
    width: 30%; max-width: 118px; opacity: .7; z-index: 1; }
.promo-card .pm-art svg { width: 100%; height: 100%; }

/* =============================================================================
   OFFERS
   ========================================================================== */
.offer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s4); }
.offer-card { position: relative; overflow: hidden; border-radius: var(--r-lg); padding: var(--s5) var(--s5) var(--s6);
    background: linear-gradient(135deg, var(--coral-tint), #fdeee9); border: 1px solid #f6d3c8; color: var(--ink); min-height: 168px; }
.offer-card:hover { color: var(--ink); box-shadow: var(--sh-sm); }
.offer-card .oc-badge { display: inline-block; background: var(--coral); color: #fff; font-weight: 800; font-size: 0.72rem;
    letter-spacing: 0.04em; padding: 5px 11px; border-radius: var(--r-pill); margin-bottom: var(--s3); }
.offer-card h3 { font-size: 1.05rem; margin-bottom: 4px; }
.offer-card p { color: var(--ink-2); font-size: 0.85rem; margin: 0; }
.offer-card .oc-art { position: absolute; right: -14px; bottom: -14px; width: 96px; color: var(--coral); opacity: .35; }
.offer-card:first-child { background: linear-gradient(135deg, var(--brand-tint), #e8f7ea); border-color: #c3e9c8; }
.offer-card:first-child .oc-badge { background: var(--brand); }
.offer-card:first-child .oc-art { color: var(--brand); }

/* =============================================================================
   B2B SECTION
   ========================================================================== */
.b2b-band { background: linear-gradient(135deg, var(--brand-700) 0%, var(--brand) 60%, #0b9223 100%);
    color: #fff; border-radius: var(--r-xl); overflow: hidden; }
.b2b-inner { display: grid; grid-template-columns: 0.85fr 1.15fr; align-items: center; gap: var(--s6); padding: clamp(28px,3.5vw,56px); }
.b2b-art { position: relative; aspect-ratio: 1; background: rgba(255,255,255,.08); border-radius: var(--r-lg);
    display: grid; place-items: center; --il-a: var(--sun); --il-b: rgba(255,255,255,.16); --il-c: #ffe08a; }
.b2b-art svg { width: 58%; height: 58%; }
.b2b-copy h2 { color: #fff; }
.b2b-copy .lead { color: rgba(255,255,255,.82); }
.b2b-copy .eyebrow::before { background: currentColor; }
.b2b-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: var(--s4) 0; }
.b2b-tags span { background: rgba(255,255,255,.1); color: rgba(255,255,255,.9); font-size: 0.78rem; font-weight: 600; padding: 5px 12px; border-radius: var(--r-pill); }
.b2b-benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; margin-bottom: var(--s5); font-size: 0.88rem; }
.b2b-benefits li { list-style: none; display: flex; gap: 8px; align-items: flex-start; color: rgba(255,255,255,.82); }
.b2b-benefits li::before { content: ""; width: 18px; height: 18px; flex-shrink: 0; border-radius: 50%;
    background: var(--sun) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b1d1c' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5L20 7'/%3E%3C/svg%3E") center/11px no-repeat; }

/* =============================================================================
   COMBO CARDS
   ========================================================================== */
.combo-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden;
    height: 100%; display: flex; flex-direction: column; transition: transform .18s, box-shadow .18s; }
.combo-card:hover { transform: translateY(-4px); box-shadow: var(--sh); }
.combo-card .cb-media { aspect-ratio: 1.35; background: var(--brand-tint); position: relative; display: grid; place-items: center;
    --il-a: var(--brand); --il-b:#c9e3d6; --il-c: var(--brand-700); }
.combo-card .cb-media svg { width: 45%; height: 45%; opacity: .55; }
.combo-card .cb-media .cb-save { position: absolute; top: 12px; right: 12px; background: var(--coral); color: #fff;
    font-weight: 800; font-size: 0.72rem; padding: 4px 10px; border-radius: var(--r-pill); }
.combo-card .cb-body { padding: 16px; display: flex; flex-direction: column; flex: 1; }

/* =============================================================================
   WHY-US
   ========================================================================== */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: var(--s4); }
.why { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: var(--s5); }
.why .why-ico { width: 44px; height: 44px; border-radius: 12px; background: var(--brand-tint); color: var(--brand);
    display: grid; place-items: center; margin-bottom: var(--s3); }
.why .why-ico svg { width: 24px; height: 24px; }
.why h3 { font-size: 1rem; margin-bottom: 4px; }
.why p { color: var(--muted); font-size: 0.86rem; margin: 0; }

/* =============================================================================
   SEO / prose
   ========================================================================== */
.prose-note { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: var(--s6); }
.prose-note h2 { font-size: 1.15rem; margin-bottom: var(--s3); }
.prose-note p { color: var(--muted); font-size: 0.88rem; line-height: 1.7; margin: 0; }

/* =============================================================================
   LISTING PAGE
   ========================================================================== */
.list-hero { position: relative; overflow: hidden; border-radius: var(--r-lg); padding: clamp(24px,3vw,44px);
    background: linear-gradient(120deg, var(--tile-bg, var(--brand-tint)), #eef2f0); border: 1px solid var(--line); margin-bottom: var(--s6); }
.list-hero .lh-art { position: absolute; right: 20px; bottom: -14px; width: 130px; height: 130px; opacity: .9; }
.list-hero .lh-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.list-hero .lh-scrim { position: absolute; inset: 0; z-index: 1; background:
    linear-gradient(96deg, rgba(255,255,255,.97) 0%, rgba(255,255,255,.86) 42%, rgba(255,255,255,.4) 78%, rgba(255,255,255,.12) 100%); }
.list-hero h1 { margin-bottom: var(--s2); max-width: 20ch; position: relative; z-index: 2; }
.list-hero p, .list-hero > div { color: var(--ink-2); max-width: 56ch; margin: 0; font-size: 0.92rem; position: relative; z-index: 2; }
.subcat-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.subcat-chips a { background: var(--surface); border: 1.5px solid var(--line-strong); color: var(--ink-2);
    font-size: 0.82rem; font-weight: 650; padding: 7px 15px; border-radius: var(--r-pill); }
.subcat-chips a:hover { border-color: var(--ink); color: var(--ink); }

/* =============================================================================
   PDP / cart shared bits
   ========================================================================== */
.buybox { border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); padding: var(--s5); }
@media (min-width: 992px) { .buybox-sticky { position: sticky; top: calc(var(--header-h) + 64px); } }
.pdp-main { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--surface-warm);
    aspect-ratio: 1; display: grid; place-items: center; }
.pdp-main img { width: 100%; height: 100%; object-fit: contain; padding: 7%; }
.pdp-main .pdp-fallback { width: 55%; --il-a: var(--brand); --il-b:#c9e3d6; --il-c: var(--brand-700); opacity: .55; }
.pdp-thumb { width: 62px; height: 62px; border: 1.5px solid var(--line); border-radius: 10px; object-fit: cover; cursor: pointer; }
.pdp-thumb:hover, .pdp-thumb.active { border-color: var(--brand); }
.spec-table th { width: 38%; color: var(--muted); font-weight: 600; }
.price-now { font-size: 1.7rem; font-weight: 820; color: var(--ink); letter-spacing: -0.03em; }
.price-was { color: var(--faint); text-decoration: line-through; font-size: 1rem; }
.price-off { color: var(--coral-600); font-weight: 750; font-size: 0.9rem; }

.qty-stepper { display: inline-flex; align-items: stretch; border: 1.5px solid var(--line-strong); border-radius: var(--r-pill); overflow: hidden; }
.qty-stepper input { width: 56px; border: 0; text-align: center; font-weight: 750; background: var(--surface); }
.qty-stepper input:focus { outline: none; box-shadow: none; }
.qty-stepper button { border: 0; background: var(--surface-warm); width: 40px; font-size: 1.15rem; color: var(--ink-2); cursor: pointer; }
.qty-stepper button:hover { background: var(--surface-3); }

/* =============================================================================
   ACCOUNT
   ========================================================================== */
.acc-nav .list-group-item { border: 0; border-radius: var(--r-xs); padding: 11px 15px; font-weight: 600; color: var(--ink-2); font-size: 0.9rem; }
.acc-nav .list-group-item:hover { background: var(--surface-warm); color: var(--ink); }
.acc-nav .list-group-item.active { background: var(--ink); color: #fff; }
.stat-tile { border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); padding: var(--s5); }
.stat-tile .stat-label { color: var(--muted); font-size: 0.76rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }
.stat-tile .stat-value { font-size: 1.6rem; font-weight: 820; letter-spacing: -0.03em; margin-top: 4px; }

/* =============================================================================
   EMPTY / ERROR
   ========================================================================== */
.empty-state { text-align: center; padding: var(--s7) var(--s4); border: 1px dashed var(--line-strong);
    border-radius: var(--r-lg); background: var(--surface); }
.empty-state .empty-ico { width: 64px; height: 64px; margin: 0 auto var(--s4); border-radius: var(--r);
    background: var(--brand-tint); color: var(--brand); display: grid; place-items: center; }
.empty-state .empty-ico svg { width: 30px; height: 30px; }
.empty-state h2 { margin-bottom: var(--s2); }
.empty-state p { color: var(--muted); margin-bottom: var(--s4); }
.error-page { min-height: 72vh; display: grid; place-items: center; text-align: center; padding: var(--s6); }
.error-page .code { font-size: clamp(4.5rem, 3rem + 8vw, 8rem); font-weight: 850; letter-spacing: -0.05em; color: var(--surface-3); line-height: 1; }

/* =============================================================================
   FOOTER
   ========================================================================== */
.site-footer { background: var(--ink); color: rgba(255,255,255,.62); margin-top: var(--s7); font-size: 0.87rem; }
.site-footer .container { padding-top: var(--s7); padding-bottom: var(--s5); }
.site-footer h6 { color: rgba(255,255,255,.9); font-size: 0.72rem; margin-bottom: var(--s3); }
.site-footer a { color: rgba(255,255,255,.62); display: block; padding: 5px 0; font-weight: 500; }
.site-footer a:hover { color: #fff; }
.site-footer .f-brand { display: inline-flex; align-items: center; gap: 9px; font-size: 1.15rem; font-weight: 800; color: #fff; letter-spacing: -0.03em; margin-bottom: var(--s3); }
.site-footer .f-tagline { color: var(--sun); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em;
    text-transform: uppercase; margin: -6px 0 var(--s3); }
/* Dark footer: the cart glyph is mid-green, so it needs a light tile to read. */
.site-footer .f-brand .mk { width: 32px; height: 32px; border-radius: 9px; background: #fff; display: grid; place-items: center; overflow: hidden; }
.site-footer .f-brand .mk img { width: 28px; height: 28px; object-fit: contain; }
.site-footer .f-brand .mk svg { width: 17px; height: 17px; }
.site-footer .f-pay { display: flex; gap: 8px; margin-top: var(--s4); flex-wrap: wrap; }
.site-footer .f-pay span { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.75);
    font-size: 0.68rem; font-weight: 650; padding: 4px 9px; border-radius: 6px; }
.site-footer .f-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: var(--s6); padding-top: var(--s4);
    display: flex; flex-wrap: wrap; gap: var(--s3); justify-content: space-between; font-size: 0.8rem; }

/* =============================================================================
   UTIL
   ========================================================================== */
.text-success, .text-primary, .link-primary { color: var(--brand) !important; }
.text-coral { color: var(--coral-600) !important; }
.bg-brand-tint { background: var(--brand-tint) !important; }
.min-w-0 { min-width: 0; }

/* =============================================================================
   ADDRESS MAP PICKER  (checkout + account address forms)
   ========================================================================== */
.addr-map { margin-bottom: var(--s3); }
.addr-map-bar { display: flex; align-items: center; gap: var(--s3); margin-bottom: var(--s2); flex-wrap: wrap; }
.addr-map-status { font-size: 0.78rem; color: var(--muted); }
.addr-map-canvas { height: 240px; border-radius: var(--r-sm); overflow: hidden; border: 1.5px solid var(--line-strong);
    background: var(--surface-warm); position: relative; }
.addr-map-canvas.is-loading::after { content: "Loading map…"; position: absolute; inset: 0; display: grid; place-items: center;
    color: var(--muted); font-size: 0.85rem; }
.addr-map-hint { font-size: 0.78rem; color: var(--muted); margin: 6px 0 0; }
.addr-pin { width: 34px; height: 34px; display: block; filter: drop-shadow(0 3px 4px rgba(0,0,0,.35)); }
.leaflet-container { font-family: var(--font); }

/* =============================================================================
   DELIVERY BADGES  (checkout + order detail)
   ========================================================================== */
.badge-delivery { display: inline-block; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.02em;
    padding: 4px 10px; border-radius: var(--r-pill); text-transform: uppercase; }
.badge-local { background: var(--brand-tint); color: var(--brand-700); }
.badge-courier { background: var(--surface-3); color: var(--ink-2); }
.badge-tbc { background: var(--sun-tint); color: #8a6410; }
.delivery-eta { font-size: 0.82rem; color: var(--ink-2); font-weight: 650; margin-left: 6px; }

/* =============================================================================
   RIDER PORTAL  (mobile-first)
   ========================================================================== */
.rider-body { background: var(--paper); }
.rider-head { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.rider-brand { font-weight: 800; letter-spacing: -0.02em; display: inline-flex; align-items: center; gap: 8px; }
.rider-brand img { flex: none; }
.rider-card { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
    padding: var(--s4); color: var(--ink); transition: box-shadow .15s, transform .15s; }
.rider-card:hover { box-shadow: var(--sh-sm); transform: translateY(-1px); color: var(--ink); }

/* =============================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1199.98px) { .pgrid, .pgrid.pgrid-3 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 991.98px) {
    .hero-inner { grid-template-columns: 1fr; gap: var(--s5); }
    .hero-art { max-width: 380px; margin-inline: auto; }
    .promo-row { grid-template-columns: 1fr 1fr; }
    .offer-grid { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr; }
    .b2b-inner { grid-template-columns: 1fr; }
    .b2b-art { max-width: 260px; }
    .trustbar { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767.98px) {
    body { font-size: 0.93rem; padding-bottom: 66px; }
    .main-head, .announce, .cat-nav { display: none; }
    .mobile-head { display: block; }
    .container { padding-left: 16px; padding-right: 16px; }
    main.container { padding-top: var(--s3); }
    .section { padding-block: var(--s5); }
    .hero { margin-top: var(--s4); margin-bottom: var(--s6); border-radius: var(--r-lg); }
    .hero-inner { padding: 26px 22px; }
    .hero-slider { margin-top: var(--s4); margin-bottom: var(--s6); border-radius: var(--r-lg); }
    .hs-slide { min-height: 0; }
    .hs-slide.hs-image-only { aspect-ratio: 2 / 1; }
    .hs-content, .hs-content.hs-center { min-height: 150px; padding: 20px 18px; gap: var(--s3);
        align-items: flex-start; text-align: left; margin-inline: 0; }
    .hs-content h1 { font-size: 1.28rem; }
    .hs-content .lead { display: none; }
    .hs-slide.has-img .hs-content { background: linear-gradient(90deg, rgba(255,255,255,.92) 60%, rgba(255,255,255,.4) 100%); }
    .hs-scrim-left, .hs-scrim-center { background: none; }
    .hs-arrow { display: none; }
    .pgrid, .pgrid.pgrid-3 { grid-template-columns: repeat(2, 1fr); gap: var(--s3); }
    .pcard .pc-name { font-size: 0.86rem; }
    .pcard .pc-now { font-size: 1rem; }
    .trustbar { grid-template-columns: 1fr; }
    .promo-row { grid-template-columns: 1fr; gap: var(--s3); margin-bottom: var(--s5); }
    .promo-card { min-height: 150px; }
    .price-now { font-size: 1.4rem; }
    .b2b-benefits { grid-template-columns: 1fr; }
    .table-responsive .table { font-size: 0.85rem; }

    .bottom-nav { display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 1035;
        background: var(--surface); border-top: 1px solid var(--line); height: 62px;
        padding-bottom: env(safe-area-inset-bottom, 0); box-shadow: 0 -4px 20px rgba(20,28,22,.08); }
    .bottom-nav a { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
        color: var(--muted); font-size: 0.63rem; font-weight: 650; position: relative; }
    .bottom-nav a.active { color: var(--brand); }
    .bottom-nav a svg { width: 22px; height: 22px; }
    .bottom-nav a .cart-count { position: absolute; top: 7px; right: 50%; margin-right: -20px; background: var(--coral);
        color: #fff; font-size: 0.55rem; font-weight: 800; min-width: 15px; height: 15px; padding: 0 3px;
        border-radius: var(--r-pill); display: grid; place-items: center; }

    /* Sit the "added to cart" toast above the bottom nav, not over its cart badge. */
    .toast-container { bottom: calc(62px + env(safe-area-inset-bottom, 0px)) !important; }
}
@media (max-width: 400px) { .pgrid, .pgrid.pgrid-3 { grid-template-columns: 1fr 1fr; } }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* Honeypot for public forms - off-screen, not display:none (some bots skip hidden fields) */
.hp-field{position:absolute!important;left:-10000px!important;width:1px;height:1px;overflow:hidden}
