/* ═══════════════════════════════════════════════════════════
   FRESH BAZAAR — MAIN STYLESHEET (Enhanced Pro Edition)
   Mobile-first • Customer-friendly • Production-grade
═══════════════════════════════════════════════════════════ */

/* ─── DESIGN TOKENS ──────────────────────────────────────── */
:root {
    /* Brand greens — refined palette */
    --green-950: #022c22;
    --green-900: #064e3b;
    --green-800: #065f46;
    --green-700: #047857;
    --green-600: #059669;
    --green-500: #10b981;
    --green-400: #34d399;
    --green-300: #6ee7b7;
    --green-200: #a7f3d0;
    --green-100: #d1fae5;
    --green-50:  #ecfdf5;

    /* Accents */
    --orange:     #f97316;
    --orange-50:  #fff7ed;
    --red:        #dc2626;
    --red-50:     #fef2f2;
    --yellow:     #f59e0b;
    --yellow-50:  #fffbeb;
    --blue:       #2563eb;
    --blue-50:    #eff6ff;

    /* Neutrals */
    --dark:     #0d1117;
    --dark-800: #1c2431;
    --muted:    #6b7280;
    --muted-lt: #9ca3af;
    --border:   #e5e7eb;
    --border-lt:#f3f4f6;
    --light:    #f8fafc;
    --white:    #ffffff;

    /* Elevation — softer, more layered */
    --shadow-xs:    0 1px 2px rgba(15,23,42,.04), 0 1px 3px rgba(15,23,42,.06);
    --shadow-sm:    0 2px 4px rgba(15,23,42,.04), 0 4px 12px rgba(15,23,42,.06);
    --shadow:       0 4px 8px rgba(15,23,42,.05), 0 8px 24px rgba(15,23,42,.08);
    --shadow-md:    0 8px 16px rgba(15,23,42,.06), 0 16px 40px rgba(15,23,42,.10);
    --shadow-lg:    0 16px 32px rgba(15,23,42,.08), 0 24px 56px rgba(15,23,42,.12);
    --shadow-green: 0 8px 24px rgba(4,120,87,.20), 0 16px 40px rgba(4,120,87,.15);
    --shadow-orange:0 8px 24px rgba(249,115,22,.25);

    /* Radii */
    --radius-xs:   6px;
    --radius-sm:   10px;
    --radius:      14px;
    --radius-md:   18px;
    --radius-lg:   22px;
    --radius-xl:   28px;
    --radius-2xl:  36px;
    --radius-full: 999px;

    /* Typography */
    --font-display: 'DM Serif Display', Georgia, serif;
    --font-body:    'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Motion */
    --ease-out:    cubic-bezier(.16, 1, .3, 1);
    --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
    --ease-smooth: cubic-bezier(.4, 0, .2, 1);
    --dur-instant: 80ms;
    --dur-fast:    160ms;
    --dur-base:    240ms;
    --dur-slow:    400ms;
    --dur-slower:  600ms;

    /* Layout */
    --page-bg: #f4faf7;
    --header-h: 90px;
}

/* ─── RESET & BASE ───────────────────────────────────────── */
*, *::before, *::after {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    overflow-x: clip;
    scroll-behavior: smooth;
    scrollbar-gutter: stable;
}

body {
    margin: 0;
    overflow-x: clip;
    width: 100%;
    max-width: 100vw;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    background: var(--page-bg);
    color: var(--dark);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overscroll-behavior-x: none;
    text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; transition: color var(--dur-fast) var(--ease-out); }

img, video, svg, iframe {
    max-width: 100%;
    display: block;
    height: auto;
}

button, input, select, textarea { font: inherit; }

button {
    touch-action: manipulation;
    cursor: pointer;
}

* { min-width: 0; }
input, button, select, textarea { min-width: unset; }

::selection { background: var(--green-200); color: var(--green-950); }

/* Subtle scrollbars where they appear */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(15,23,42,.18); border-radius: 999px; border: 2px solid var(--page-bg); }
::-webkit-scrollbar-thumb:hover { background: rgba(15,23,42,.30); }

/* ─── ACCESSIBILITY ──────────────────────────────────────── */
.skip-link {
    position: fixed;
    top: 10px; left: 10px;
    z-index: 99999;
    transform: translateY(-150%);
    background: var(--green-800);
    color: #fff;
    border-radius: var(--radius-full);
    padding: 10px 18px;
    font-weight: 900;
    font-size: 14px;
    box-shadow: var(--shadow-lg);
    transition: transform var(--dur-fast) var(--ease-out);
}
.skip-link:focus { transform: translateY(0); }

:focus-visible {
    outline: 2px solid var(--green-600);
    outline-offset: 2px;
    border-radius: var(--radius-xs);
}

/* ─── CONTAINER ─────────────────────────────────────────── */
.container {
    width: min(1200px, calc(100% - 32px));
    margin-inline: auto;
}

/* ═══════════════════════════════════════════════════════════
   SITE HEADER — Refined glass effect
═══════════════════════════════════════════════════════════ */
.site-header {
    background: rgba(255,255,255,.85);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(6,95,70,.08);
    position: sticky;
    top: 0;
    z-index: 200;
    width: 100%;
    transition: box-shadow var(--dur-base) var(--ease-out), background var(--dur-base);
}

.site-header.scrolled {
    background: rgba(255,255,255,.95);
    box-shadow: 0 1px 0 rgba(6,95,70,.05), 0 4px 24px rgba(15,23,42,.08);
}

/* ── Top Bar — animated marquee feel on desktop ── */
.top-bar {
    display: none;
    background: linear-gradient(90deg, var(--green-950), var(--green-800), var(--green-950));
    color: rgba(255,255,255,.92);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .015em;
    position: relative;
    overflow: hidden;
}

.top-bar::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(110,231,183,.08), transparent);
    transform: translateX(-100%);
    animation: topBarShine 8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes topBarShine {
    0%, 100% { transform: translateX(-100%); }
    50%      { transform: translateX(100%); }
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    position: relative;
    z-index: 1;
}

.top-bar-inner > span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.top-bar-inner a {
    color: var(--green-300);
    font-weight: 800;
    transition: color var(--dur-fast);
}
.top-bar-inner a:hover { color: var(--green-200); }

/* ── Nav Wrapper ── */
.nav-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 0;
    width: 100%;
}

/* ── Brand ── */
.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
    text-decoration: none;
    transition: transform var(--dur-fast) var(--ease-spring);
}

.brand:hover { transform: scale(1.02); }
.brand:active { transform: scale(.98); }

.brand-logo-img {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    object-fit: cover;
    object-position: bottom center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(4,120,87,.30), 0 0 0 1.5px rgba(255,255,255,.9), 0 0 0 3px var(--green-200);
}

.brand-text {
    display: none;
    flex-direction: column;
}

.brand-text strong {
    display: block;
    font-family: var(--font-display);
    font-size: 19px;
    color: var(--green-900);
    letter-spacing: -.015em;
    line-height: 1;
}

.brand-text small {
    display: block;
    color: var(--green-700);
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-top: 4px;
    opacity: .85;
}

/* ── Search form ── */
.search-form {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    align-items: center;
    border: 1.5px solid rgba(6,95,70,.14);
    border-radius: var(--radius-full);
    overflow: hidden;
    background: #fff;
    height: 44px;
    box-shadow: 0 1px 2px rgba(15,23,42,.04), 0 4px 12px rgba(15,23,42,.04);
    transition: border-color var(--dur-fast), box-shadow var(--dur-fast), transform var(--dur-fast);
}

.search-form:focus-within {
    border-color: var(--green-500);
    box-shadow: 0 0 0 4px rgba(16,185,129,.14), 0 4px 12px rgba(15,23,42,.06);
    transform: translateY(-1px);
}

.search-form input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 0 14px;
    outline: none;
    font-size: 14px;
    font-weight: 500;
    color: var(--dark);
    min-width: 0;
}

.search-form input::placeholder { color: var(--muted-lt); }

.search-form button {
    border: none;
    background: linear-gradient(135deg, var(--green-500), var(--green-700) 60%, var(--green-800));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 100%;
    flex-shrink: 0;
    min-height: unset;
    border-radius: 0;
    transition: background var(--dur-fast), filter var(--dur-fast);
}

.search-form button:hover { filter: brightness(1.08); }
.search-form button:active { filter: brightness(.95); }
.search-form button svg { pointer-events: none; }

/* ── Nav actions ── */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 0 0 auto;
}

.nav-icon-btn {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    min-width: 42px;
    min-height: 42px;
    padding: 6px 8px;
    border-radius: var(--radius);
    color: var(--dark-800);
    font-weight: 700;
    font-size: 10px;
    transition: background var(--dur-fast), color var(--dur-fast), transform var(--dur-fast) var(--ease-spring);
    border: none;
    background: transparent;
    cursor: pointer;
}

.nav-icon-btn:hover {
    background: var(--green-50);
    color: var(--green-800);
}

.nav-icon-btn:active { transform: scale(.94); }

/* Staff portal nav button — distinct amber accent so staff can find it instantly */
.nav-staff-btn {
    color: var(--dark-800);
}
.nav-staff-btn:hover {
    background: #fef3c7;
    color: #92400e;
}
.nav-staff-btn svg {
    color: #d97706;
}


.nav-label {
    display: none;
    font-size: 11px;
    font-weight: 700;
    color: var(--muted);
    line-height: 1;
}

/* ── Cart link with bouncy badge ── */
.cart-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-width: 46px;
    min-height: 46px;
    padding: 6px 8px;
    border-radius: var(--radius);
    background: linear-gradient(145deg, var(--green-50), #fff);
    border: 1.5px solid var(--green-200);
    color: var(--green-900);
    transition: all var(--dur-fast) var(--ease-out);
    box-shadow: 0 2px 6px rgba(4,120,87,.08);
}

.cart-link:hover {
    background: linear-gradient(145deg, var(--green-100), var(--green-50));
    box-shadow: 0 6px 16px rgba(4,120,87,.18);
    transform: translateY(-1px);
}

.cart-link:active { transform: translateY(0) scale(.96); }

.cart-count {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 20px;
    height: 20px;
    border-radius: var(--radius-full);
    background: linear-gradient(145deg, var(--orange), #ea580c);
    color: #fff;
    display: inline-grid;
    place-items: center;
    font-size: 10px;
    font-weight: 900;
    padding: 0 4px;
    line-height: 1;
    border: 2px solid #fff;
    box-shadow: 0 2px 6px rgba(249,115,22,.4);
    animation: cartBadgePop var(--dur-base) var(--ease-spring);
}

@keyframes cartBadgePop {
    0%   { transform: scale(0); }
    60%  { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.cart-count.is-empty { display: none; }

/* ── Category Nav — pills with underline indicator ── */
.category-nav-wrap {
    background: linear-gradient(180deg, rgba(255,255,255,.6), rgba(236,253,245,.7));
    border-top: 1px solid rgba(6,95,70,.06);
    overflow: hidden;
    width: 100%;
}

.category-nav {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 6px;
    padding: 9px 0;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
    mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 16px), transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 16px), transparent 100%);
}

.category-nav::-webkit-scrollbar { display: none; }

.category-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    flex-shrink: 0;
    min-height: 34px;
    padding: 7px 16px;
    border-radius: var(--radius-full);
    border: 1.5px solid rgba(4,120,87,.12);
    background: #fff;
    color: var(--green-900);
    font-size: 12.5px;
    font-weight: 700;
    box-shadow: 0 1px 3px rgba(15,23,42,.04);
    transition: all var(--dur-fast) var(--ease-out);
    position: relative;
}

.category-nav a:hover,
.category-nav a:focus-visible {
    background: var(--green-50);
    border-color: var(--green-300);
    color: var(--green-800);
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(4,120,87,.10);
    outline: none;
}

.category-nav a.active {
    background: linear-gradient(145deg, var(--green-700), var(--green-800));
    color: #fff;
    border-color: var(--green-800);
    box-shadow: 0 4px 12px rgba(4,120,87,.30);
}

/* Hide category nav on checkout */
body.is-checkout-page .category-nav-wrap,
html.is-checkout-route .category-nav-wrap { display: none; }

/* ─── ALERTS / MESSAGES ─────────────────────────────────── */
.messages { margin-top: 14px; }

.message {
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: #fff;
    padding: 13px 16px;
    margin-bottom: 8px;
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    box-shadow: var(--shadow-sm);
    animation: messageSlide var(--dur-base) var(--ease-out);
}

@keyframes messageSlide {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.message-success  { background: linear-gradient(145deg, var(--green-50), #fff); color: var(--green-900); border-color: var(--green-200); border-left: 4px solid var(--green-600); }
.message-error,
.message-danger   { background: linear-gradient(145deg, var(--red-50), #fff); color: #991b1b; border-color: #fecaca; border-left: 4px solid var(--red); }
.message-warning  { background: linear-gradient(145deg, var(--yellow-50), #fff); color: #92400e; border-color: #fde68a; border-left: 4px solid var(--yellow); }
.message-info     { background: linear-gradient(145deg, var(--blue-50), #fff); color: #1e3a8a; border-color: #bfdbfe; border-left: 4px solid var(--blue); }

.alert { border-radius: var(--radius); border: 1px solid var(--border); padding: 14px 18px; margin-bottom: 10px; font-weight: 600; font-size: 14px; display: flex; align-items: flex-start; gap: 10px; }
.alert-success  { background: var(--green-50); color: var(--green-900); border-color: var(--green-200); }
.alert-error,
.alert-danger   { background: var(--red-50); color: #991b1b; border-color: #fecaca; }
.alert-warning  { background: var(--yellow-50); color: #92400e; border-color: #fde68a; }
.alert-info     { background: var(--blue-50); color: #1e3a8a; border-color: #bfdbfe; }

/* ═══════════════════════════════════════════════════════════
   HERO — Vibrant, modern, with subtle decorative elements
═══════════════════════════════════════════════════════════ */
.hero {
    background:
        radial-gradient(ellipse at top right, rgba(110,231,183,.25), transparent 50%),
        radial-gradient(ellipse at bottom left, rgba(167,243,208,.30), transparent 50%),
        linear-gradient(160deg, #f0fdf8 0%, #fff 70%);
    padding: 32px 0 36px;
    overflow: hidden;
    width: 100%;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(16,185,129,.15), transparent 70%);
    border-radius: 50%;
    filter: blur(40px);
    pointer-events: none;
    animation: heroBlob 12s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 240px;
    height: 240px;
    background: radial-gradient(circle, rgba(5,150,105,.12), transparent 70%);
    border-radius: 50%;
    filter: blur(40px);
    pointer-events: none;
    animation: heroBlob 15s ease-in-out infinite reverse;
}

@keyframes heroBlob {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50%      { transform: translate(20px, -30px) scale(1.1); }
}

.hero-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content { width: 100%; animation: heroFadeIn 0.8s var(--ease-out); }

@keyframes heroFadeIn {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    border: 1.5px solid var(--green-200);
    color: var(--green-700);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: .12em;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    margin-bottom: 14px;
    box-shadow: 0 2px 8px rgba(4,120,87,.08);
}

.eyebrow::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--green-500);
    box-shadow: 0 0 0 4px rgba(16,185,129,.2);
    animation: eyebrowPulse 2s ease-in-out infinite;
}

@keyframes eyebrowPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(16,185,129,.4); }
    50%      { box-shadow: 0 0 0 6px rgba(16,185,129,0); }
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(28px, 7.5vw, 56px);
    line-height: 1.05;
    margin: 0 0 14px;
    color: var(--green-950);
    letter-spacing: -.028em;
}

.hero h1 em {
    font-style: italic;
    color: var(--green-700);
    background: linear-gradient(120deg, var(--green-700), var(--green-500));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    color: #4b5563;
    font-size: 15.5px;
    line-height: 1.7;
    margin: 0 0 20px;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    font-size: 13px;
    font-weight: 700;
    color: var(--green-800);
}

.hero-trust span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* Hero image */
.hero-image-wrap {
    width: 100%;
    max-width: 320px;
    margin-inline: auto;
    position: relative;
    animation: heroFadeIn 1s 0.2s var(--ease-out) backwards;
}

.hero-image-wrap::before {
    content: "";
    position: absolute;
    inset: -16px;
    background: linear-gradient(135deg, var(--green-200), transparent 60%);
    border-radius: 28px;
    z-index: -1;
    opacity: .6;
    filter: blur(16px);
}

.hero-logo-img {
    width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(4,120,87,.22), 0 0 0 1px rgba(255,255,255,.6);
    border: 3px solid #fff;
}

/* ─── BUTTONS ────────────────────────────────────────────── */
.primary-btn,
.secondary-btn {
    padding: 14px 26px;
    border-radius: var(--radius-full);
    font-weight: 800;
    font-size: 15px;
    letter-spacing: -.005em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 52px;
    border: none;
    cursor: pointer;
    transition: transform var(--dur-fast) var(--ease-spring), box-shadow var(--dur-fast), filter var(--dur-fast);
    width: 100%;
    position: relative;
    overflow: hidden;
}

.primary-btn {
    background: linear-gradient(135deg, var(--green-500) 0%, var(--green-700) 50%, var(--green-800) 100%);
    color: #fff;
    box-shadow: 0 6px 20px rgba(4,120,87,.30), inset 0 1px 0 rgba(255,255,255,.18);
}

.primary-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.18), transparent);
    transform: translateX(-100%);
    transition: transform var(--dur-slower) var(--ease-out);
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-green);
    filter: brightness(1.05);
}

.primary-btn:hover::before { transform: translateX(100%); }
.primary-btn:active { transform: translateY(0) scale(.98); }

.secondary-btn {
    background: #fff;
    color: var(--green-900);
    border: 1.5px solid var(--border);
    box-shadow: var(--shadow-xs);
}

.secondary-btn:hover {
    background: var(--green-50);
    border-color: var(--green-300);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(4,120,87,.10);
}

.secondary-btn:active { transform: translateY(0); }

/* ─── VIEW ALL LINK ─────────────────────────────────────── */
.view-all-link {
    color: var(--green-700);
    font-weight: 800;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    transition: gap var(--dur-fast), color var(--dur-fast);
}

.view-all-link::after {
    content: "→";
    transition: transform var(--dur-fast) var(--ease-out);
}

.view-all-link:hover { color: var(--green-800); gap: 8px; }
.view-all-link:hover::after { transform: translateX(2px); }

/* ─── SECTIONS ───────────────────────────────────────────── */
.section { padding: 32px 0; }

.section-light {
    background:
        radial-gradient(circle at 10% 10%, rgba(16,185,129,.05), transparent 30rem),
        #f8fafc;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 12px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.section-heading h2 {
    margin: 6px 0 0;
    font-family: var(--font-display);
    font-size: 28px;
    color: var(--dark);
    letter-spacing: -.022em;
    line-height: 1.15;
}

.section-heading h2::after {
    content: "";
    display: block;
    width: 36px;
    height: 3px;
    background: linear-gradient(90deg, var(--green-500), var(--green-700));
    border-radius: 999px;
    margin-top: 8px;
}

/* ─── TRUST SECTION ─────────────────────────────────────── */
.trust-section {
    background: #fff;
    border-top: 1px solid var(--border-lt);
    border-bottom: 1px solid var(--border-lt);
    padding: 24px 0;
}

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

.trust-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px;
    border: 1px solid var(--border-lt);
    border-radius: var(--radius);
    background: linear-gradient(145deg, var(--light), #fff);
    transition: transform var(--dur-fast), border-color var(--dur-fast), box-shadow var(--dur-fast);
}

.trust-item:hover {
    transform: translateY(-2px);
    border-color: var(--green-200);
    box-shadow: 0 6px 16px rgba(4,120,87,.08);
}

.trust-icon {
    font-size: 26px;
    flex-shrink: 0;
    line-height: 1;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    background: var(--green-50);
    border-radius: var(--radius);
    border: 1.5px solid var(--green-100);
}

.trust-item strong {
    display: block;
    color: var(--dark);
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 3px;
}

.trust-item span {
    display: block;
    color: var(--muted);
    font-size: 12.5px;
    line-height: 1.45;
}

.trust-item a { color: var(--green-700); font-weight: 800; }

/* ─── CATEGORY GRID ──────────────────────────────────────── */
.category-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.category-card {
    background: #fff;
    border: 1px solid rgba(15,23,42,.06);
    border-radius: var(--radius-lg);
    padding: 18px;
    box-shadow: 0 2px 8px rgba(15,23,42,.04), 0 4px 14px rgba(15,23,42,.04);
    min-height: 130px;
    display: grid;
    align-content: start;
    cursor: pointer;
    transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base), border-color var(--dur-base);
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: "";
    position: absolute;
    top: -40%;
    right: -40%;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(167,243,208,.4), transparent 70%);
    border-radius: 50%;
    opacity: 0;
    transition: opacity var(--dur-base);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(15,23,42,.10), 0 4px 12px rgba(4,120,87,.10);
    border-color: var(--green-200);
}

.category-card:hover::before { opacity: 1; }

.category-card img {
    height: 80px;
    width: 100%;
    object-fit: cover;
    border-radius: var(--radius);
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.category-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius);
    background: linear-gradient(145deg, var(--green-50), var(--green-100));
    color: var(--green-800);
    display: grid;
    place-items: center;
    font-size: 24px;
    font-weight: 900;
    margin-bottom: 12px;
    border: 1.5px solid var(--green-200);
    box-shadow: 0 4px 10px rgba(4,120,87,.12);
    position: relative;
    z-index: 1;
}

.category-card strong {
    display: block;
    font-size: 14.5px;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.25;
    position: relative;
    z-index: 1;
}

.category-card span {
    display: block;
    margin-top: 4px;
    color: var(--green-700);
    font-weight: 700;
    font-size: 12px;
    position: relative;
    z-index: 1;
}

/* ─── PRODUCT GRID ───────────────────────────────────────── */
.product-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.product-card {
    background: #fff;
    border: 1px solid rgba(15,23,42,.06);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(15,23,42,.04), 0 4px 14px rgba(15,23,42,.04);
    transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base), border-color var(--dur-base);
    display: flex;
    flex-direction: column;
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(15,23,42,.12), 0 6px 16px rgba(4,120,87,.10);
    border-color: var(--green-200);
}

.product-image {
    height: 160px;
    background: linear-gradient(145deg, #f8fafc, #eefbf3);
    display: block;
    position: relative;
    overflow: hidden;
}

.product-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 70%, rgba(0,0,0,.04));
    pointer-events: none;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--dur-slow) var(--ease-out);
}

.product-card:hover .product-image img { transform: scale(1.08); }

.image-placeholder,
.detail-placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    color: var(--muted-lt);
    background: linear-gradient(145deg, #f8fafc, #f1f5f9);
    font-size: 12px;
    font-weight: 600;
}

.discount-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(135deg, var(--orange), #ea580c);
    color: #fff;
    padding: 5px 10px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .03em;
    box-shadow: 0 4px 12px rgba(249,115,22,.45);
    z-index: 2;
}

.product-card-body  { padding: 14px; flex: 1; display: flex; flex-direction: column; }
.product-category   { color: var(--green-700); font-size: 10px; font-weight: 800; margin: 0 0 4px; letter-spacing: .08em; text-transform: uppercase; }
.product-card h3    { margin: 0; font-size: 13.5px; line-height: 1.35; font-weight: 700; color: var(--dark); }
.product-card h3 a { transition: color var(--dur-fast); }
.product-card h3 a:hover { color: var(--green-800); }
.product-unit       { color: var(--muted-lt); margin: 5px 0; font-size: 12px; }

.price-row { display: flex; align-items: baseline; gap: 8px; margin-top: auto; padding-top: 8px; flex-wrap: wrap; }
.price-row strong { color: var(--green-800); font-size: 17px; font-weight: 900; letter-spacing: -.02em; }
.price-row span   { color: var(--muted-lt); text-decoration: line-through; font-size: 12px; }

.stock     { font-size: 11px; font-weight: 800; margin-top: 6px; display: inline-flex; align-items: center; gap: 4px; }
.stock::before { content: ""; width: 6px; height: 6px; border-radius: 50%; }
.in-stock  { color: var(--green-600); }
.in-stock::before { background: var(--green-500); box-shadow: 0 0 0 3px rgba(16,185,129,.2); }
.out-stock { color: var(--red); }
.out-stock::before { background: var(--red); }

/* ─── QUANTITY & CART FORMS ──────────────────────────────── */
.product-card-cart-form,
.add-cart-form { margin-top: 12px; }

.quantity-control {
    display: grid;
    grid-template-columns: 42px 1fr 42px;
    align-items: center;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    background: #fff;
    margin-bottom: 8px;
    transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}

.quantity-control:focus-within {
    border-color: var(--green-500);
    box-shadow: 0 0 0 3px rgba(16,185,129,.12);
}

.quantity-btn {
    height: 42px;
    border: none;
    background: var(--light);
    color: var(--green-900);
    font-size: 20px;
    font-weight: 900;
    cursor: pointer;
    min-width: 42px;
    min-height: unset;
    transition: background var(--dur-fast), color var(--dur-fast);
}

.quantity-btn:hover { background: var(--green-100); color: var(--green-800); }
.quantity-btn:active { background: var(--green-200); }

.quantity-input {
    width: 100%;
    height: 42px;
    border: none;
    outline: none;
    text-align: center;
    font-weight: 800;
    font-size: 15px;
    color: var(--green-900);
    background: #fff;
    -moz-appearance: textfield;
    appearance: textfield;
}

.quantity-input::-webkit-outer-spin-button,
.quantity-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.add-cart-btn,
.detail-cart-btn {
    width: 100%;
    border: none;
    border-radius: var(--radius);
    padding: 12px 14px;
    font-weight: 800;
    font-size: 14px;
    background: linear-gradient(135deg, var(--green-500), var(--green-700) 60%, var(--green-800));
    color: #fff;
    cursor: pointer;
    min-height: 46px;
    letter-spacing: -.005em;
    box-shadow: 0 4px 12px rgba(4,120,87,.22), inset 0 1px 0 rgba(255,255,255,.15);
    transition: transform var(--dur-fast) var(--ease-spring), box-shadow var(--dur-fast), filter var(--dur-fast);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.add-cart-btn:hover,
.detail-cart-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-green);
    filter: brightness(1.06);
}

.add-cart-btn:active,
.detail-cart-btn:active { transform: translateY(0) scale(.98); }

.add-cart-btn.disabled,
.detail-cart-btn.disabled,
.add-cart-btn:disabled,
.detail-cart-btn:disabled {
    background: #e5e7eb;
    color: #9ca3af;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
    filter: none;
}

.discount-rule-label { font-size: 11px; color: var(--orange); font-weight: 800; margin: 4px 0; display: inline-flex; align-items: center; gap: 4px; }

/* ─── PAGE HERO ──────────────────────────────────────────── */
.page-hero {
    background:
        radial-gradient(ellipse at top right, rgba(110,231,183,.20), transparent 50%),
        linear-gradient(160deg, #f0fdf8 0%, #ffffff 60%);
    padding: 32px 0 36px;
    border-bottom: 1px solid var(--border);
    overflow: clip;
    width: 100%;
    position: relative;
}

.page-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(28px, 7vw, 52px);
    line-height: 1.1;
    margin: 0 0 12px;
    color: var(--green-950);
    letter-spacing: -.025em;
}

.page-hero p {
    color: #4b5563;
    font-size: 15.5px;
    line-height: 1.7;
    max-width: 540px;
}

/* ─── SHOP LAYOUT ────────────────────────────────────────── */
.shop-layout {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
}

/* Prevents shop-content from overflowing viewport on mobile.
   Without width:100% + min-width:0, the product grid has no
   reliable container width for 1fr columns and spills off-screen. */
.shop-content {
    width: 100%;
    min-width: 0;
    overflow: hidden;
}

.filters-card {
    width: 100%;
    background: #fff;
    border: 1px solid rgba(15,23,42,.06);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-sm);
}

.filters-card h3 {
    margin-top: 0;
    margin-bottom: 4px;
    font-family: var(--font-display);
    color: var(--green-900);
    font-size: 19px;
}

.filters-card label {
    display: block;
    margin: 14px 0 6px;
    font-weight: 800;
    font-size: 12.5px;
    color: var(--dark);
    letter-spacing: .03em;
    text-transform: uppercase;
}

.filters-card input,
.filters-card select {
    width: 100%;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 12px 14px;
    outline: none;
    min-height: 46px;
    font-size: 15px;
    background: var(--light);
    color: var(--dark);
    transition: border-color var(--dur-fast), box-shadow var(--dur-fast), background var(--dur-fast);
}

.filters-card input:focus,
.filters-card select:focus {
    border-color: var(--green-500);
    box-shadow: 0 0 0 4px rgba(16,185,129,.12);
    background: #fff;
}

.filters-card button {
    width: 100%;
    margin-top: 16px;
    background: linear-gradient(135deg, var(--green-500), var(--green-700) 60%, var(--green-800));
    color: #fff;
    border: none;
    border-radius: var(--radius);
    padding: 13px;
    font-weight: 800;
    cursor: pointer;
    min-height: 48px;
    box-shadow: 0 4px 14px rgba(4,120,87,.22);
    transition: transform var(--dur-fast) var(--ease-spring), box-shadow var(--dur-fast), filter var(--dur-fast);
}

.filters-card button:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-green);
    filter: brightness(1.05);
}

.clear-filter {
    display: block;
    text-align: center;
    margin-top: 10px;
    color: var(--muted);
    font-weight: 700;
    font-size: 13px;
    transition: color var(--dur-fast);
}

.clear-filter:hover { color: var(--red); }

.filter-categories {
    border-top: 1px solid var(--border-lt);
    margin-top: 18px;
    padding-top: 16px;
}

.filter-categories a {
    display: block;
    padding: 10px 12px;
    color: var(--dark-800);
    font-weight: 600;
    font-size: 14px;
    min-height: 44px;
    border-radius: var(--radius-sm);
    transition: background var(--dur-fast), color var(--dur-fast), padding-left var(--dur-fast);
}

.filter-categories a:hover {
    background: var(--green-50);
    color: var(--green-800);
    padding-left: 16px;
}

.result-bar {
    margin-bottom: 14px;
    color: var(--muted);
    font-weight: 600;
    font-size: 14px;
}

.empty-box,
.empty-message {
    background: #fff;
    border: 1.5px dashed var(--border);
    border-radius: var(--radius-md);
    padding: 36px 28px;
    color: var(--muted);
    text-align: center;
    font-size: 15px;
    grid-column: 1 / -1;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 28px;
    flex-wrap: wrap;
}

.pagination a {
    background: #fff;
    border: 1.5px solid var(--green-200);
    color: var(--green-800);
    padding: 10px 18px;
    border-radius: var(--radius-full);
    font-weight: 800;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    box-shadow: var(--shadow-xs);
    transition: all var(--dur-fast) var(--ease-out);
}

.pagination a:hover {
    background: var(--green-50);
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(4,120,87,.15);
    border-color: var(--green-400);
}

.pagination .page-current {
    background: linear-gradient(135deg, var(--green-700), var(--green-900));
    color: #fff;
    padding: 10px 18px;
    border-radius: var(--radius-full);
    font-weight: 900;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 4px 12px rgba(4,120,87,.30);
}

/* ─── PRODUCT DETAIL ─────────────────────────────────────── */
.product-detail {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 24px 0;
}

.main-product-image {
    width: 100%;
    height: 300px;
    background: linear-gradient(145deg, #f8fafc, #eefbf3);
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    box-shadow: 0 8px 24px rgba(15,23,42,.06);
}

.main-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-thumbnails {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
}

.product-thumbnails::-webkit-scrollbar { display: none; }

.product-thumb {
    width: 76px;
    height: 76px;
    border-radius: var(--radius);
    border: 2px solid var(--border);
    overflow: hidden;
    cursor: pointer;
    flex-shrink: 0;
    transition: border-color var(--dur-fast), transform var(--dur-fast);
}

.product-thumb.active,
.product-thumb:hover {
    border-color: var(--green-500);
    transform: translateY(-2px);
}

.product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info h1 {
    font-family: var(--font-display);
    font-size: clamp(24px, 6vw, 40px);
    line-height: 1.15;
    margin: 0 0 10px;
    color: var(--green-950);
    letter-spacing: -.025em;
}

.product-info .product-category { margin-bottom: 6px; }
.product-info .product-unit { margin: 6px 0; font-size: 14px; }

.detail-price {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin: 14px 0 18px;
    padding: 14px 16px;
    background: linear-gradient(145deg, var(--green-50), #fff);
    border: 1px solid var(--green-100);
    border-radius: var(--radius);
}

.detail-price strong {
    color: var(--green-800);
    font-size: 32px;
    font-weight: 900;
    letter-spacing: -.03em;
}

.detail-price span { color: var(--muted-lt); text-decoration: line-through; font-size: 16px; }

.detail-cart-row {
    display: flex;
    gap: 10px;
    flex-direction: column;
}

.detail-cart-row .quantity-control { max-width: 100%; }
.detail-cart-row .detail-cart-btn  { min-width: 0; }

.product-meta {
    margin-top: 18px;
    display: grid;
    gap: 10px;
}

.product-meta-row {
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding: 12px 14px;
    background: var(--light);
    border-radius: var(--radius);
    border: 1px solid var(--border-lt);
}

.product-meta-row dt {
    color: var(--muted);
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    white-space: nowrap;
}

.product-meta-row dd {
    color: var(--dark);
    font-weight: 700;
    font-size: 14px;
    margin: 0;
}

.product-description {
    margin-top: 18px;
    color: #4b5563;
    font-size: 15px;
    line-height: 1.75;
}

.product-description h2,
.product-description h3 {
    color: var(--dark);
    font-family: var(--font-display);
}

/* ─── CART ────────────────────────────────────────────────── */
.cart-layout { display: flex; flex-direction: column; gap: 20px; padding: 24px 0; }

.cart-panel {
    background: #fff;
    border: 1px solid rgba(15,23,42,.06);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-sm);
}

.cart-panel-title {
    font-family: var(--font-display);
    font-size: 22px;
    color: var(--green-900);
    margin: 0 0 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-empty { text-align: center; padding: 56px 24px; }
.cart-empty svg { margin: 0 auto 16px; opacity: .3; }
.cart-empty h2 { color: var(--dark); font-size: 22px; }
.cart-empty p  { color: var(--muted); }

.cart-table-header { display: none; }

.cart-line {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-lt);
}

.cart-line:last-child { border-bottom: none; }

.cart-product-info {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.cart-product-image {
    width: 76px;
    height: 76px;
    border-radius: var(--radius);
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid var(--border);
    background: var(--light);
}

.cart-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-product-info h3 { font-size: 14px; font-weight: 800; margin: 0 0 4px; }
.cart-product-info .product-category { font-size: 10px; }
.cart-product-info .product-unit { font-size: 12px; margin: 2px 0; }

.cart-price::before    { content: "Price: "; color: var(--muted); font-weight: 700; font-size: 12px; }
.cart-line-total::before { content: "Total: "; color: var(--muted); font-weight: 700; font-size: 12px; }

.cart-quantity-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    align-items: center;
}

.remove-link {
    color: var(--red);
    font-size: 13px;
    font-weight: 700;
    transition: opacity var(--dur-fast);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.remove-link:hover { opacity: .7; }

.cart-summary-card {
    background: #fff;
    border: 1px solid rgba(15,23,42,.06);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-sm);
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 8px;
    padding: 11px 0;
    border-bottom: 1px solid var(--border-lt);
    font-weight: 600;
    font-size: 14px;
}

.cart-summary-row.total {
    font-size: 19px;
    font-weight: 900;
    border-bottom: none;
    color: var(--green-900);
    padding-top: 14px;
    border-top: 2px solid var(--green-100);
    margin-top: 6px;
}

.checkout-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--green-500), var(--green-700) 60%, var(--green-800));
    color: #fff;
    border: none;
    border-radius: var(--radius-full);
    padding: 16px;
    font-weight: 900;
    font-size: 16px;
    cursor: pointer;
    min-height: 54px;
    margin-top: 16px;
    box-shadow: 0 8px 22px rgba(4,120,87,.32), inset 0 1px 0 rgba(255,255,255,.18);
    transition: transform var(--dur-fast) var(--ease-spring), box-shadow var(--dur-fast), filter var(--dur-fast);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.checkout-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-green);
    filter: brightness(1.05);
}

.checkout-btn:active { transform: translateY(0) scale(.98); }

/* ─── COUPON ──────────────────────────────────────────────── */
.coupon-input-row {
    display: flex;
    gap: 8px;
    margin-top: 14px;
}

.coupon-input-row input {
    flex: 1;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 11px 14px;
    outline: none;
    font-size: 15px;
    font-weight: 600;
    transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}

.coupon-input-row input:focus {
    border-color: var(--green-500);
    box-shadow: 0 0 0 3px rgba(16,185,129,.12);
}

.apply-coupon-btn {
    background: var(--green-700);
    color: #fff;
    border: none;
    border-radius: var(--radius);
    padding: 0 18px;
    font-weight: 800;
    font-size: 14px;
    cursor: pointer;
    min-height: 46px;
    white-space: nowrap;
    transition: background var(--dur-fast), transform var(--dur-fast);
}

.apply-coupon-btn:hover { background: var(--green-800); transform: translateY(-1px); }

.applied-coupon-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 12px;
    padding: 12px 14px;
    background: linear-gradient(145deg, var(--green-50), #fff);
    border: 1px solid var(--green-200);
    border-radius: var(--radius);
    border-left: 4px solid var(--green-600);
}

.applied-coupon-box span { color: var(--green-900); font-weight: 800; font-size: 14px; }

.remove-coupon-btn {
    background: none;
    border: none;
    color: var(--red);
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    min-height: unset;
    padding: 4px 8px;
}

/* ─── CHECKOUT ───────────────────────────────────────────── */
.checkout-layout { display: flex; flex-direction: column; gap: 20px; padding: 24px 0; }

.checkout-section-card {
    background: #fff;
    border: 1px solid rgba(15,23,42,.06);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 16px;
}

.checkout-section-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border-lt);
}

.checkout-section-heading h2 {
    font-family: var(--font-display);
    font-size: 20px;
    margin: 0;
    color: var(--green-900);
}

.checkout-address-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: 1fr;
}

.checkout-summary-card {
    background: #fff;
    border: 1px solid rgba(15,23,42,.06);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-sm);
}

.order-item-row {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-lt);
    align-items: center;
}

.order-item-row:last-child { border-bottom: none; }

.order-item-row img {
    width: 52px;
    height: 52px;
    border-radius: var(--radius);
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid var(--border);
}

/* ─── ORDER DETAIL ───────────────────────────────────────── */
.order-detail-layout { display: flex; flex-direction: column; gap: 20px; padding: 24px 0; }

.order-detail-hero {
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: linear-gradient(145deg, #fff, var(--green-50));
    border: 1px solid var(--green-200);
    border-radius: var(--radius-lg);
    padding: 22px;
    box-shadow: var(--shadow-sm);
}

.order-number {
    font-family: var(--font-display);
    font-size: 22px;
    color: var(--green-900);
    margin: 0;
}

.order-status-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .03em;
    background: #fff;
    color: var(--green-800);
    border: 1.5px solid var(--green-300);
    box-shadow: 0 2px 6px rgba(4,120,87,.10);
}

.status-tracker {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 16px 0;
}

.status-step {
    background: var(--light);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 14px;
    font-size: 13px;
    font-weight: 800;
    color: var(--muted);
    text-align: center;
    transition: background var(--dur-base), border-color var(--dur-base), color var(--dur-base);
}

.status-step.done {
    background: var(--green-50);
    border-color: var(--green-200);
    color: var(--green-800);
}

.status-step.current {
    background: linear-gradient(135deg, var(--green-600), var(--green-800));
    border-color: var(--green-700);
    color: #fff;
    box-shadow: 0 4px 14px rgba(4,120,87,.30);
}

/* ─── ACCOUNT ────────────────────────────────────────────── */
.account-hero-grid { display: flex; flex-direction: column; gap: 20px; }
.account-dashboard-grid { display: flex; flex-direction: column; gap: 20px; }

.account-hero-card,
.account-panel {
    background: #fff;
    border: 1px solid rgba(15,23,42,.06);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-sm);
}

.account-sidebar {
    display: flex;
    overflow-x: auto;
    gap: 6px;
    padding: 10px;
    border-radius: var(--radius-md);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    background: #fff;
    border: 1px solid var(--border);
}

.account-sidebar::-webkit-scrollbar { display: none; }

.account-sidebar a {
    white-space: nowrap;
    flex-shrink: 0;
    border-radius: var(--radius-full);
    padding: 9px 16px;
    font-weight: 800;
    font-size: 14px;
    color: var(--dark-800);
    border: 1px solid transparent;
    transition: all var(--dur-fast) var(--ease-out);
}

.account-sidebar a:hover,
.account-sidebar a.active {
    background: var(--green-50);
    color: var(--green-800);
    border-color: var(--green-200);
}

.auth-card {
    background: #fff;
    border: 1px solid rgba(15,23,42,.06);
    border-radius: var(--radius-xl);
    padding: 28px 24px;
    box-shadow: var(--shadow-md);
    max-width: 440px;
    margin: 36px auto;
}

.auth-card h1 {
    font-family: var(--font-display);
    font-size: 30px;
    color: var(--green-900);
    margin: 0 0 22px;
    letter-spacing: -.02em;
}

.form-group { margin-bottom: 16px; }

.form-group label {
    display: block;
    font-weight: 800;
    font-size: 12.5px;
    color: var(--dark);
    margin-bottom: 6px;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 13px 14px;
    outline: none;
    font-size: 15px;
    background: #fff;
    color: var(--dark);
    transition: border-color var(--dur-fast), box-shadow var(--dur-fast), background var(--dur-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--green-500);
    box-shadow: 0 0 0 4px rgba(16,185,129,.12);
}

.form-submit-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--green-500), var(--green-700) 60%, var(--green-800));
    color: #fff;
    border: none;
    border-radius: var(--radius-full);
    padding: 15px;
    font-weight: 900;
    font-size: 16px;
    cursor: pointer;
    min-height: 54px;
    margin-top: 6px;
    box-shadow: 0 8px 22px rgba(4,120,87,.30), inset 0 1px 0 rgba(255,255,255,.18);
    transition: transform var(--dur-fast) var(--ease-spring), box-shadow var(--dur-fast), filter var(--dur-fast);
}

.form-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-green);
    filter: brightness(1.05);
}

.panel-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border-lt);
}

.panel-heading h2 {
    font-family: var(--font-display);
    font-size: 20px;
    margin: 0;
    color: var(--green-900);
}

.two-columns,
.three-columns { display: flex; flex-direction: column; gap: 16px; }

.address-grid  { display: flex; flex-direction: column; gap: 12px; }

.address-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 16px;
    position: relative;
    transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}

.address-card:hover {
    border-color: var(--green-300);
    box-shadow: 0 6px 16px rgba(4,120,87,.08);
}

.address-card.is-default {
    border-color: var(--green-300);
    background: linear-gradient(145deg, var(--green-50), #fff);
    box-shadow: 0 4px 12px rgba(4,120,87,.08);
}

/* ─── ORDER HISTORY ──────────────────────────────────────── */
.order-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 18px;
    box-shadow: var(--shadow-xs);
    margin-bottom: 12px;
    transition: transform var(--dur-fast), box-shadow var(--dur-fast), border-color var(--dur-fast);
}

.order-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(15,23,42,.08);
    border-color: var(--green-200);
}

.order-card-side {
    display: grid;
    gap: 8px;
    width: 100%;
}

.order-card-side a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--green-50);
    border: 1.5px solid var(--green-200);
    border-radius: var(--radius-full);
    padding: 9px 14px;
    min-height: 44px;
    font-weight: 800;
    font-size: 14px;
    color: var(--green-900);
    transition: all var(--dur-fast) var(--ease-out);
}

.order-card-side a:hover {
    background: var(--green-100);
    border-color: var(--green-400);
    transform: translateY(-1px);
}

/* ─── FOOTER ─────────────────────────────────────────────── */
.site-footer {
    background:
        radial-gradient(ellipse at top right, rgba(16,185,129,.10), transparent 50%),
        linear-gradient(160deg, var(--green-950), var(--green-900) 60%, #053023);
    color: rgba(255,255,255,.85);
    margin-top: 48px;
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--green-400), transparent);
    opacity: .4;
}

.footer-top {
    padding: 40px 0 32px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.footer-brand-block {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.footer-logo {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    object-fit: cover;
    object-position: bottom center;
    flex-shrink: 0;
    border: 2px solid rgba(255,255,255,.18);
    box-shadow: 0 8px 20px rgba(0,0,0,.20);
}

.footer-brand-info h3 {
    font-family: var(--font-display);
    font-size: 24px;
    color: #fff;
    margin: 0 0 6px;
    letter-spacing: -.01em;
}

.footer-brand-info p {
    font-size: 13.5px;
    line-height: 1.65;
    color: rgba(255,255,255,.72);
    margin: 0 0 14px;
}

.footer-trust-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    font-size: 13px;
    font-weight: 800;
    color: var(--green-300);
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.footer-links-grid h4 {
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin: 0 0 14px;
    position: relative;
    padding-bottom: 8px;
}

.footer-links-grid h4::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 24px;
    height: 2px;
    background: var(--green-400);
    border-radius: 999px;
}

.footer-links-grid a {
    display: block;
    color: rgba(255,255,255,.70);
    font-size: 13px;
    font-weight: 600;
    padding: 5px 0;
    transition: color var(--dur-fast), padding-left var(--dur-fast);
}

.footer-links-grid a:hover {
    color: var(--green-300);
    padding-left: 4px;
}

.footer-logout-btn {
    background: none;
    border: none;
    color: rgba(255,255,255,.70);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    padding: 5px 0;
    min-height: unset;
    text-align: left;
    transition: color var(--dur-fast), padding-left var(--dur-fast);
}

.footer-logout-btn:hover { color: var(--green-300); padding-left: 4px; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.10);
    padding: 16px 0;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255,255,255,.50);
    margin-inline: 16px;
}

/* ─── DELIVERY SLOT ──────────────────────────────────────── */
.slot-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 10px;
}

.slot-card {
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 14px;
    cursor: pointer;
    transition: all var(--dur-fast) var(--ease-out);
    font-size: 14px;
    font-weight: 800;
    text-align: center;
    background: #fff;
}

.slot-card:hover {
    border-color: var(--green-400);
    background: var(--green-50);
}

.slot-card.selected {
    border-color: var(--green-600);
    background: linear-gradient(145deg, var(--green-50), var(--green-100));
    color: var(--green-900);
    box-shadow: 0 4px 12px rgba(4,120,87,.15);
}

/* ─── TOAST ──────────────────────────────────────────────── */
.ajax-cart-toast {
    position: fixed;
    bottom: 16px;
    left: 12px;
    right: 12px;
    z-index: 9999;
    background: linear-gradient(135deg, var(--green-800), var(--green-900));
    color: #fff;
    padding: 14px 18px;
    border-radius: var(--radius);
    font-weight: 800;
    font-size: 14px;
    box-shadow: 0 12px 32px rgba(0,0,0,.25), 0 4px 12px rgba(4,120,87,.30);
    text-align: center;
    pointer-events: none;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-spring);
    border: 1px solid rgba(110,231,183,.20);
}

.ajax-cart-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ─── ERROR PAGES ────────────────────────────────────────── */
.error-page-card {
    max-width: 480px;
    margin: 56px auto;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-2xl);
    padding: 44px 28px;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.error-code {
    font-family: var(--font-display);
    font-size: 80px;
    background: linear-gradient(135deg, var(--green-300), var(--green-600));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin: 0 0 12px;
}

.error-page-card h1 { color: var(--green-900); margin: 0 0 10px; }
.error-page-card p  { color: var(--muted); }

/* ─── STAFF ALERTS ───────────────────────────────────────── */
.staff-alert-page  { padding: 16px 0 40px; }

.staff-alert-hero {
    background: linear-gradient(145deg, #fff, var(--green-50));
    border: 1px solid var(--green-200);
    border-radius: var(--radius-xl);
    padding: 24px;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-shadow: var(--shadow-sm);
}

.staff-alert-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: var(--radius-full);
    min-height: 32px;
    padding: 0 14px;
    color: #fff;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: 12px;
    animation: staffAlertPulse 1.1s infinite;
    box-shadow: 0 4px 12px rgba(220,38,38,.30);
}

.staff-alert-order-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 14px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.staff-alert-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.staff-alert-status-grid { display: grid; gap: 10px; }

.staff-alert-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.65);
    backdrop-filter: blur(4px);
    z-index: 500;
    display: grid;
    place-items: center;
    padding: 16px;
}

.staff-alert-modal-card {
    background: #fff;
    border-radius: var(--radius-xl);
    padding: 26px;
    max-width: 520px;
    width: 100%;
    box-shadow: var(--shadow-lg);
    max-height: 90vh;
    overflow-y: auto;
    animation: staffAlertPop .25s var(--ease-out);
}

.staff-alert-modal-open { overflow: hidden; }

@keyframes staffAlertPop {
    from { opacity: 0; transform: translateY(12px) scale(.98); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes staffAlertPulse {
    0%   { box-shadow: 0 0 0 0 rgba(220,38,38,.52), 0 4px 12px rgba(220,38,38,.30); }
    70%  { box-shadow: 0 0 0 14px rgba(220,38,38,0), 0 4px 12px rgba(220,38,38,.30); }
    100% { box-shadow: 0 0 0 0 rgba(220,38,38,0), 0 4px 12px rgba(220,38,38,.30); }
}

/* ─── LOCATION / CHECKOUT ────────────────────────────────── */
.checkout-location-card {
    border-color: rgba(16,185,129,.18);
    background: linear-gradient(145deg, rgba(255,255,255,.99), rgba(236,253,245,.74));
}

.location-share-box {
    display: flex;
    flex-direction: column;
    gap: 14px;
    border: 1px solid rgba(16,185,129,.16);
    border-radius: var(--radius-md);
    background: rgba(255,255,255,.86);
    padding: 18px;
}

.location-share-box strong { display: block; color: var(--green-900); font-size: 16px; font-weight: 900; margin-bottom: 4px; }
.location-share-box p { color: var(--muted); margin: 0; line-height: 1.6; font-size: 14px; }

.location-share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--green-600), var(--green-800));
    color: #fff;
    font-weight: 900;
    padding: 0 22px;
    min-height: 52px;
    width: 100%;
    box-shadow: 0 10px 28px rgba(4,120,87,.24);
    transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast), filter var(--dur-fast);
    cursor: pointer;
}

.location-share-btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-green); filter: brightness(1.05); }
.location-share-btn:disabled { transform: none; }

@keyframes locationBtnShimmer {
    0%   { background-position: 200% center; }
    100% { background-position: -200% center; }
}

.location-share-btn.is-loading {
    background: linear-gradient(90deg, var(--green-700) 25%, var(--green-400) 50%, var(--green-700) 75%);
    background-size: 200% auto;
    animation: locationBtnShimmer 1.6s linear infinite;
    cursor: wait;
    pointer-events: none;
}

.location-status-box {
    display: grid;
    gap: 6px;
    margin-top: 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--light);
    padding: 14px 16px;
    transition: border-color .25s, background .25s;
}

.location-status-box strong { color: var(--dark); font-weight: 900; }
.location-status-box span   { color: var(--muted); font-size: 14px; line-height: 1.55; }

.location-status-box[data-state="success"] { border-color: var(--green-200); background: var(--green-50); }
.location-status-box[data-state="success"] strong { color: var(--green-900); }

@keyframes locationLoadingPulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: .65; }
}

.location-status-box[data-state="loading"] {
    border-color: #bfdbfe;
    background: var(--blue-50);
    animation: locationLoadingPulse 1.8s ease-in-out infinite;
}

.location-status-box[data-state="loading"] strong { color: #1e3a8a; }
.location-status-box[data-state="error"]   { border-color: #fecaca; background: var(--red-50); }
.location-status-box[data-state="error"] strong { color: #991b1b; }

.location-status-box a {
    display: inline-flex;
    width: fit-content;
    color: var(--green-800);
    font-size: 14px;
    font-weight: 900;
    margin-top: 2px;
    text-decoration: underline;
}

.location-status-box a[hidden],
.location-status-box a[aria-hidden="true"] { display: none !important; }

.location-accuracy-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
    padding: 4px 12px;
    width: fit-content;
}

.location-accuracy-badge[data-quality="excellent"] { background: #dcfce7; color: #14532d; }
.location-accuracy-badge[data-quality="good"]      { background: #fef9c3; color: #713f12; }
.location-accuracy-badge[data-quality="fair"]      { background: #ffedd5; color: #7c2d12; }
.location-accuracy-badge[data-quality="rough"]     { background: #fee2e2; color: #7f1d1d; }
.location-accuracy-badge[hidden] { display: none !important; }

.location-coords-display {
    display: block;
    color: var(--muted);
    font-family: ui-monospace, monospace;
    font-size: 12px;
    letter-spacing: .03em;
    line-height: 1.4;
}
.location-coords-display[hidden] { display: none !important; }

.location-retry-btn {
    display: inline-flex;
    align-items: center;
    border: 1.5px solid var(--green-200);
    border-radius: 999px;
    background: #fff;
    color: var(--green-800);
    cursor: pointer;
    font-size: 13px;
    font-weight: 900;
    min-height: 36px;
    padding: 0 16px;
    width: fit-content;
    transition: background var(--dur-fast), border-color var(--dur-fast);
    margin-top: 4px;
}

.location-retry-btn:hover { background: var(--green-50); border-color: var(--green-300); }
.location-retry-btn[hidden] { display: none !important; }

.location-status-box[data-state="error"] .location-retry-btn { border-color: #fecaca; color: #991b1b; }
.location-status-box[data-state="error"] .location-retry-btn:hover { background: var(--red-50); border-color: #f87171; }

.location-diagnostic-text {
    display: block;
    color: #7f1d1d;
    font-family: ui-monospace, monospace;
    font-size: 11px;
    line-height: 1.45;
    margin-top: 2px;
    word-break: break-word;
    opacity: .7;
}
.location-diagnostic-text[hidden] { display: none !important; }

.manual-location-panel {
    margin-top: 14px;
    border: 1px dashed rgba(4,120,87,.28);
    border-radius: var(--radius-md);
    background: rgba(255,255,255,.82);
    overflow: hidden;
}

.manual-location-toggle {
    width: 100%;
    border: 0;
    background: rgba(236,253,245,.9);
    color: var(--green-900);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-weight: 900;
    min-height: 52px;
    padding: 0 18px;
    text-align: left;
}

.manual-location-toggle::after {
    content: "+";
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 999px;
    background: #fff;
    color: var(--green-800);
    box-shadow: inset 0 0 0 1px var(--green-200);
    flex: 0 0 auto;
    transition: transform var(--dur-fast);
}

.manual-location-toggle[aria-expanded="true"]::after { content: "−"; transform: rotate(180deg); }

.manual-location-fields {
    display: grid;
    gap: 10px;
    padding: 18px;
    border-top: 1px solid rgba(4,120,87,.14);
}

.manual-location-fields[hidden] { display: none !important; }
.manual-location-fields label  { color: var(--dark); font-size: 14px; font-weight: 900; }
.manual-location-fields input  { width: 100%; border: 1px solid var(--border); border-radius: 14px; min-height: 48px; padding: 0 14px; color: var(--dark); background: #fff; outline: none; transition: border-color var(--dur-fast), box-shadow var(--dur-fast); }
.manual-location-fields input:focus { border-color: var(--green-500); box-shadow: 0 0 0 4px rgba(16,185,129,.12); }
.manual-location-help { color: var(--muted); font-size: 13px; line-height: 1.55; margin: 0; }
.manual-location-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.manual-location-apply,
.manual-location-clear { border-radius: 999px; cursor: pointer; font-weight: 900; min-height: 44px; padding: 0 18px; }
.manual-location-apply { border: 0; background: var(--green-700); color: #fff; }
.manual-location-clear { border: 1px solid var(--border); background: #fff; color: var(--muted); }

.delivery-update-card { border-color: rgba(59,130,246,.18); background: linear-gradient(145deg, #fff, rgba(239,246,255,.72)); }
.delivery-update-message { display: grid; gap: 6px; border: 1px solid rgba(59,130,246,.16); border-radius: var(--radius-lg); background: #fff; padding: 18px; }
.delivery-update-message span   { color: var(--muted-lt); display: block; font-size: 11px; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; }
.delivery-update-message strong { color: #1e3a8a; font-size: 20px; font-weight: 900; line-height: 1.35; }
.delivery-update-message small  { color: var(--muted); font-size: 13px; line-height: 1.45; }
.delivery-update-grid { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 14px; }
.delivery-update-mini-card { display: grid; gap: 5px; border: 1px solid var(--border-lt); border-radius: var(--radius-md); background: rgba(255,255,255,.86); padding: 14px; }
.delivery-update-mini-card span   { color: var(--muted-lt); display: block; font-size: 11px; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; }
.delivery-update-mini-card strong { color: var(--green-900); font-size: 15px; font-weight: 900; line-height: 1.35; }
.delivery-update-mini-card small  { color: var(--muted); font-size: 13px; line-height: 1.45; }

.customer-location-saved a,
.whatsapp-support-link {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    font-weight: 900;
    min-height: 50px;
    margin-top: 12px;
    gap: 8px;
}

.customer-location-saved a { background: var(--green-50); border: 1px solid var(--green-200); color: var(--green-900); }
.whatsapp-support-link { background: linear-gradient(135deg, var(--green-600), var(--green-800)); color: #fff; padding: 0 18px; box-shadow: 0 10px 24px rgba(4,120,87,.20); transition: transform var(--dur-fast), box-shadow var(--dur-fast); }
.whatsapp-support-link:hover { transform: translateY(-2px); box-shadow: var(--shadow-green); }

/* ─── LEGACY / MISC ──────────────────────────────────────── */
.brand-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius);
    background: linear-gradient(145deg, var(--green-50), var(--green-100));
    color: var(--green-800);
    display: grid;
    place-items: center;
    font-size: 22px;
    font-weight: 900;
    margin-bottom: 10px;
    border: 1.5px solid var(--green-200);
    flex-shrink: 0;
}

.messages-wrapper { margin-top: 16px; }

.category-strip { border-top: 1px solid var(--border-lt); background: #fff; overflow: clip; width: 100%; }
.category-strip-inner {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 10px 0;
    font-size: 13px;
    font-weight: 800;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.category-strip-inner::-webkit-scrollbar { display: none; }
.category-strip-inner a {
    color: var(--dark-800);
    white-space: nowrap;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    border: 1.5px solid transparent;
    flex-shrink: 0;
    transition: background var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast);
}
.category-strip-inner a:hover,
.category-strip-inner a.active {
    background: var(--green-50);
    color: var(--green-800);
    border-color: var(--green-200);
}

.enhanced-status-tracker .status-step small {
    display: block;
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.35;
    margin-top: 7px;
}
.enhanced-status-tracker .status-step.done small,
.enhanced-status-tracker .status-step.current small { color: var(--green-700); }
.enhanced-status-tracker .status-step.current small { color: rgba(255,255,255,.85); }

.sticky-mobile-bar {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid var(--border);
    padding: 12px 14px;
    z-index: 100;
    box-shadow: 0 -8px 28px rgba(15,23,42,.10);
}
.has-sticky-bar { padding-bottom: 84px; }

/* ─── INPUT / iOS ZOOM FIX ───────────────────────────────── */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="search"],
input[type="password"],
select,
textarea {
    font-size: 16px !important;
}

/* ─── UTILITY: Loading skeleton ───────────────────────────── */
.skeleton {
    background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
    background-size: 200% 100%;
    animation: skeletonShimmer 1.4s linear infinite;
    border-radius: var(--radius);
}

@keyframes skeletonShimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — ≥ 480px
═══════════════════════════════════════════════════════════ */
@media (min-width: 480px) {
    .brand-text { display: flex; }

    .hero-actions { flex-direction: row; }
    .primary-btn,
    .secondary-btn { width: auto; }

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

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — ≥ 640px
═══════════════════════════════════════════════════════════ */
@media (min-width: 640px) {
    .top-bar { display: block; }

    .nav-wrapper { padding: 12px 0; gap: 14px; }

    .brand-logo-img { width: 46px; height: 46px; border-radius: 13px; }

    .search-form { height: 48px; }
    .search-form input { padding: 0 18px; font-size: 15px; }
    .search-form button { width: 52px; }

    .nav-icon-btn { flex-direction: row; gap: 6px; padding: 8px 14px; }
    .nav-label { display: block; font-size: 13px; }

    .hero { padding: 56px 0; }

    .hero-grid {
        flex-direction: row;
        align-items: center;
        gap: 40px;
    }

    .hero-content { flex: 1; }
    .hero-image-wrap { flex: 0 0 300px; }

    .section { padding: 52px 0; }

    .category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .product-grid  { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }

    .product-image { height: 190px; }
    .product-card h3 { font-size: 14.5px; }

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

    .shop-layout {
        display: grid;
        grid-template-columns: 260px minmax(0, 1fr);
        gap: 28px;
    }

    .filters-card {
        width: auto;
        position: sticky;
        top: 100px;
    }

    .cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; }
    .cart-summary-card { position: sticky; top: 100px; }

    .checkout-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; }
    .checkout-summary-card { position: sticky; top: 100px; }

    .order-detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; }

    .detail-cart-row { flex-direction: row; }

    .account-sidebar { display: block; background: transparent; border: none; padding: 0; }
    .account-sidebar a { white-space: normal; border-radius: var(--radius); display: block; }
    .account-dashboard-grid { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 28px; }
    .account-hero-grid { flex-direction: row; }

    .two-columns   { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
    .three-columns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
    .address-grid  { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }

    .order-card { flex-direction: row; align-items: center; }
    .order-card-side { width: auto; }

    .status-tracker { grid-template-columns: repeat(4, minmax(0, 1fr)); }

    .footer-top { flex-direction: row; gap: 40px; }
    .footer-brand-block { flex-direction: column; flex: 0 0 240px; }
    .footer-links-grid { flex: 1; }

    .cart-quantity-form { grid-template-columns: 160px auto; }

    .ajax-cart-toast { left: auto; right: 24px; bottom: 24px; max-width: 360px; text-align: left; }

    .delivery-update-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .location-share-box { flex-direction: row; align-items: center; }
    .location-share-btn { width: auto; }
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — ≥ 900px (desktop)
═══════════════════════════════════════════════════════════ */
@media (min-width: 900px) {
    .container { width: min(1200px, calc(100% - 40px)); }

    .nav-wrapper { padding: 14px 0; gap: 18px; }

    .brand-logo-img { width: 50px; height: 50px; }

    .search-form { height: 52px; }

    .category-nav a { font-size: 13px; padding: 8px 18px; min-height: 36px; }

    .hero { padding: 80px 0; }
    .hero h1 { font-size: clamp(38px, 4.5vw, 62px); }
    .hero-image-wrap { flex: 0 0 400px; max-width: 400px; }

    .section { padding: 72px 0; }
    .section-heading h2 { font-size: 36px; }

    .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
    .product-image { height: 220px; }
    .product-card h3 { font-size: 15px; }
    .price-row strong { font-size: 19px; }

    .category-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }

    .product-detail { flex-direction: row; gap: 36px; }
    .main-product-image { height: 440px; flex: 0 0 48%; }

    .staff-alert-hero { flex-direction: row; align-items: center; }
    .staff-alert-order-card { flex-direction: row; align-items: flex-start; }
    .staff-alert-actions { flex-direction: column; }
    .staff-alert-status-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ═══════════════════════════════════════════════════════════
   REDUCED MOTION
═══════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ═══════════════════════════════════════════════════════════
   CUSTOMER ORDER CANCELLATION
═══════════════════════════════════════════════════════════ */
.cancel-order-section {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--color-border, #e5e7eb);
}

.cancel-order-hint {
    font-size: 13px;
    color: var(--color-muted, #6b7280);
    margin-bottom: 10px;
    line-height: 1.5;
}

.cancel-order-btn {
    width: 100%;
    padding: 10px 16px;
    background: transparent;
    color: #dc2626;
    border: 1.5px solid #dc2626;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}

.cancel-order-btn:hover {
    background: #dc2626;
    color: #fff;
}

/* ═══════════════════════════════════════════════════════════
   FORM HELP TEXT
═══════════════════════════════════════════════════════════ */
.form-help-text {
    display: block;
    font-size: 12px;
    color: var(--color-muted, #6b7280);
    margin-top: 4px;
}

/* ═══════════════════════════════════════════════════════════
   INFO / TRUST PAGES  (About, Contact, Policies)
═══════════════════════════════════════════════════════════ */

/* ── Footer: 4-column grid ── */
.footer-links-grid { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 720px) { .footer-links-grid { grid-template-columns: repeat(4, 1fr); } }

/* ── Page wrapper ── */
.info-page {
    min-height: 60vh;
}

/* ── Hero ── */
.info-hero {
    background: linear-gradient(135deg, var(--green-950) 0%, var(--green-800) 60%, var(--green-700) 100%);
    padding: 56px 0 52px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.info-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% 110%, rgba(16,185,129,.18) 0%, transparent 70%);
    pointer-events: none;
}
.info-hero--trust {
    background: linear-gradient(135deg, #1a3a2a 0%, var(--green-800) 60%, #065f46 100%);
}
.info-hero-inner {
    position: relative;
    max-width: 680px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}
.info-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,.12);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,.2);
    color: var(--green-200);
    font-size: 13px;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    letter-spacing: .4px;
}
.info-hero-title {
    color: #fff;
    font-size: clamp(26px, 5vw, 42px);
    font-weight: 800;
    line-height: 1.15;
    margin: 0;
}
.info-hero-subtitle {
    color: var(--green-200);
    font-size: clamp(15px, 2.2vw, 18px);
    line-height: 1.6;
    max-width: 580px;
    margin: 0;
}

/* ── Body ── */
.info-body {
    padding: 56px 0 80px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* ── Section ── */
.info-section {
    margin-bottom: 56px;
}
.info-section-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--green-700);
    margin-bottom: 8px;
}
.info-section-title {
    font-size: clamp(22px, 3.5vw, 30px);
    font-weight: 800;
    color: var(--dark);
    margin: 0 0 24px;
    line-height: 1.2;
}
.info-section-intro {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 24px;
    max-width: 680px;
}

/* ── Generic info card ── */
.info-card {
    background: var(--green-50);
    border: 1px solid var(--green-100);
    border-radius: var(--radius-md);
    padding: 28px 32px;
}
.info-card p {
    color: #374151;
    line-height: 1.75;
    margin: 0 0 14px;
    font-size: 15px;
}
.info-card p:last-child { margin-bottom: 0; }

/* ── Story card ── */
.story-card {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}
.story-icon {
    font-size: 40px;
    flex-shrink: 0;
    line-height: 1;
    margin-top: 4px;
}
.story-text p {
    color: #374151;
    line-height: 1.8;
    font-size: 16px;
    margin: 0 0 14px;
}
.story-text p:last-child { margin-bottom: 0; }

/* ── Mission card ── */
.mission-card {
    position: relative;
    background: linear-gradient(135deg, var(--green-900) 0%, var(--green-800) 100%);
    border-radius: var(--radius-lg);
    padding: 40px 40px 36px;
    overflow: hidden;
}
.mission-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 80% at 80% 20%, rgba(52,211,153,.18) 0%, transparent 60%);
    pointer-events: none;
}
.mission-quote-mark {
    position: absolute;
    top: 10px;
    left: 24px;
    font-size: 120px;
    line-height: 1;
    color: rgba(255,255,255,.08);
    font-family: Georgia, serif;
    pointer-events: none;
}
.mission-text {
    position: relative;
    color: #fff;
    font-size: clamp(17px, 2.4vw, 21px);
    line-height: 1.7;
    font-weight: 500;
    margin: 0;
}

/* ── Trust stats ── */
.trust-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}
@media (min-width: 600px) { .trust-stats-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .trust-stats-grid { grid-template-columns: repeat(6, 1fr); } }

.trust-stat-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: var(--radius);
    padding: 22px 16px;
    text-align: center;
    transition: box-shadow var(--dur-fast), transform var(--dur-fast);
}
.trust-stat-card:hover {
    box-shadow: 0 6px 24px rgba(4,120,87,.1);
    transform: translateY(-2px);
}
.trust-stat-icon { font-size: 26px; margin-bottom: 8px; }
.trust-stat-value {
    font-size: 15px;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.2;
    margin-bottom: 4px;
}
.trust-stat-label { font-size: 11px; color: var(--muted); line-height: 1.4; }

/* ── Founder card ── */
.founder-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: var(--radius-lg);
    padding: 32px;
    display: flex;
    gap: 28px;
    align-items: flex-start;
    box-shadow: 0 2px 12px rgba(0,0,0,.05);
}
.founder-avatar {
    width: 80px;
    height: 80px;
    min-width: 80px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--green-700), var(--green-500));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: .5px;
}
.founder-name {
    font-size: 20px;
    font-weight: 800;
    color: var(--dark);
    margin: 0 0 4px;
}
.founder-title {
    font-size: 13px;
    color: var(--green-700);
    font-weight: 600;
    margin-bottom: 14px;
}
.founder-bio {
    font-size: 15px;
    color: #374151;
    line-height: 1.75;
    margin: 0 0 18px;
}
.founder-contact { display: flex; flex-wrap: wrap; gap: 12px; }
.founder-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--green-800);
    font-weight: 600;
    padding: 6px 12px;
    background: var(--green-50);
    border-radius: var(--radius);
    border: 1px solid var(--green-100);
    transition: background var(--dur-fast), color var(--dur-fast);
}
.founder-contact-link:hover {
    background: var(--green-100);
    color: var(--green-900);
}

/* ── Values grid ── */
.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}
@media (min-width: 600px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }

.value-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: var(--radius);
    padding: 26px 24px;
    transition: box-shadow var(--dur-fast), border-color var(--dur-fast);
}
.value-card:hover {
    border-color: var(--green-300);
    box-shadow: 0 4px 20px rgba(4,120,87,.08);
}
.value-icon { font-size: 30px; margin-bottom: 12px; }
.value-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
    margin: 0 0 8px;
}
.value-card p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.7;
    margin: 0;
}

/* ── CTA section ── */
.info-cta-section { margin-top: 16px; }
.info-cta-card {
    background: var(--green-50);
    border: 1px solid var(--green-100);
    border-radius: var(--radius-xl);
    padding: 48px 40px;
    text-align: center;
}
.info-cta-card--green {
    background: linear-gradient(135deg, var(--green-900), var(--green-800));
    border-color: transparent;
    color: #fff;
}
.info-cta-card--green h2 { color: #fff; }
.info-cta-card--green p  { color: var(--green-200); }
.info-cta-icon { font-size: 42px; margin-bottom: 16px; }
.info-cta-card h2 {
    font-size: clamp(22px, 3.5vw, 30px);
    font-weight: 800;
    color: var(--dark);
    margin: 0 0 12px;
}
.info-cta-card p {
    font-size: 16px;
    color: var(--muted);
    margin: 0 0 28px;
    line-height: 1.6;
}
.info-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

/* ── Shared button styles for info pages ── */
.btn-primary-lg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    background: var(--green-700);
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    border-radius: var(--radius);
    transition: background var(--dur-fast), transform var(--dur-fast);
    border: none;
    cursor: pointer;
}
.btn-primary-lg:hover { background: var(--green-800); color: #fff; transform: translateY(-1px); }
.btn-outline-lg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    background: transparent;
    color: var(--green-800);
    font-weight: 700;
    font-size: 15px;
    border-radius: var(--radius);
    border: 2px solid var(--green-300);
    transition: all var(--dur-fast);
    cursor: pointer;
}
.btn-outline-lg:hover { background: var(--green-50); color: var(--green-900); }
.info-cta-card--green .btn-outline-lg {
    color: #fff;
    border-color: rgba(255,255,255,.4);
}
.info-cta-card--green .btn-outline-lg:hover {
    background: rgba(255,255,255,.12);
    color: #fff;
}

/* ═══ CONTACT PAGE ═══ */
.contact-cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 48px;
}
@media (min-width: 640px) { .contact-cards-grid { grid-template-columns: repeat(3, 1fr); } }

.contact-card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 24px 22px;
    background: #fff;
    border: 1.5px solid #e5e7eb;
    border-radius: var(--radius-md);
    text-decoration: none;
    color: inherit;
    transition: box-shadow var(--dur-fast), border-color var(--dur-fast), transform var(--dur-fast);
    position: relative;
}
.contact-card:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,.1);
    transform: translateY(-2px);
}
.contact-card--phone:hover  { border-color: #047857; }
.contact-card--whatsapp:hover { border-color: #25d366; }
.contact-card--email:hover  { border-color: #2563eb; }

.contact-card-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.contact-card--phone   .contact-card-icon { background: #dcfce7; color: #047857; }
.contact-card--whatsapp .contact-card-icon { background: #dcfce7; color: #25d366; }
.contact-card--email   .contact-card-icon { background: #dbeafe; color: #2563eb; }

.contact-card-body { flex: 1; min-width: 0; }
.contact-card-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .8px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 4px;
}
.contact-card-value {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
    word-break: break-all;
    line-height: 1.3;
}
.contact-card-note { font-size: 12px; color: var(--muted); margin-top: 3px; }
.contact-card-arrow {
    font-size: 20px;
    color: var(--muted-lt);
    font-weight: 300;
    flex-shrink: 0;
}

/* Business info cards */
.biz-info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}
@media (min-width: 640px) { .biz-info-grid { grid-template-columns: repeat(3, 1fr); } }

.biz-info-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: var(--radius);
    padding: 26px 24px;
}
.biz-info-icon { font-size: 28px; margin-bottom: 12px; }
.biz-info-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
    margin: 0 0 14px;
}
.biz-info-card p { font-size: 14px; color: #374151; line-height: 1.7; margin: 0 0 14px; }

.biz-hours-table { margin-bottom: 14px; }
.biz-hours-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    border-bottom: 1px dashed #f3f4f6;
    gap: 8px;
    font-size: 13px;
}
.biz-hours-row:last-child { border-bottom: none; }
.biz-hours-day { color: var(--muted); }
.biz-hours-time { font-weight: 700; }
.biz-hours-open { color: var(--green-700); }
.biz-hours-highlight .biz-hours-day { color: var(--dark); font-weight: 600; }
.biz-info-note { font-size: 12px; color: var(--muted); font-style: italic; margin: 0; }

.biz-area-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--green-800);
    background: var(--green-50);
    border: 1px solid var(--green-100);
    border-radius: var(--radius-full);
    padding: 4px 10px;
    margin: 0 6px 6px 0;
}
.biz-area-badge svg { color: var(--green-600); }

.biz-help-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.biz-help-list li {
    font-size: 14px;
    color: #374151;
    display: flex;
    align-items: center;
    gap: 8px;
}
.biz-help-list li::before {
    content: "→";
    color: var(--green-600);
    font-weight: 700;
    flex-shrink: 0;
}

/* ═══ DELIVERY POLICY ═══ */
.delivery-quick-facts {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-bottom: 8px;
}
@media (min-width: 640px) { .delivery-quick-facts { grid-template-columns: repeat(4, 1fr); } }

.quick-fact {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: var(--radius);
    padding: 18px 16px;
    display: flex;
    align-items: center;
    gap: 14px;
}
.quick-fact-icon { font-size: 28px; flex-shrink: 0; }
.quick-fact strong { display: block; font-size: 14px; font-weight: 700; color: var(--dark); }
.quick-fact span   { font-size: 12px; color: var(--muted); }

.delivery-table-wrap {
    overflow-x: auto;
    border-radius: var(--radius);
    border: 1px solid #e5e7eb;
    margin-bottom: 12px;
}
.delivery-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    min-width: 520px;
}
.delivery-table thead th {
    background: var(--green-800);
    color: #fff;
    padding: 14px 18px;
    text-align: left;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
}
.delivery-table tbody td {
    padding: 14px 18px;
    border-bottom: 1px solid #f3f4f6;
    color: #374151;
    vertical-align: middle;
}
.delivery-table tbody tr:last-child td { border-bottom: none; }
.delivery-table tbody tr:hover { background: #f9fafb; }
.delivery-table-row--best { background: var(--green-50) !important; }
.delivery-table-row--free { background: #fef9c3 !important; }
.delivery-table-row--free td { border-top: 2px dashed #fde047 !important; }

.zone-badge {
    display: inline-flex;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .5px;
}
.zone-badge--1 { background: #dcfce7; color: #166534; }
.zone-badge--2 { background: #dbeafe; color: #1e40af; }
.zone-badge--3 { background: #fef3c7; color: #92400e; }
.zone-badge--4 { background: #fee2e2; color: #991b1b; }

.free-badge {
    font-size: 14px;
    font-weight: 700;
    color: #854d0e;
}
.charge-amount { font-size: 16px; font-weight: 800; color: var(--dark); }
.charge-amount--free { color: #16a34a; font-size: 18px; }

.delivery-table-note {
    font-size: 12px;
    color: var(--muted);
    font-style: italic;
}

/* ═══ POLICY ITEMS (shared by all policy pages) ═══ */
.policy-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.policy-item {
    display: flex;
    gap: 24px;
    padding: 28px 0;
    border-bottom: 1px solid #f3f4f6;
    align-items: flex-start;
}
.policy-item:last-child { border-bottom: none; }
.policy-item--highlight {
    background: var(--green-50);
    border: 1px solid var(--green-100);
    border-radius: var(--radius);
    padding: 28px 28px;
    margin: 8px 0;
}
.policy-item-num {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    background: var(--green-800);
    color: #fff;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .5px;
}
.policy-item--highlight .policy-item-num { background: var(--green-700); }
.policy-item-body h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--dark);
    margin: 0 0 10px;
}
.policy-item-body p {
    font-size: 15px;
    color: #374151;
    line-height: 1.75;
    margin: 0 0 12px;
}
.policy-item-body p:last-child { margin-bottom: 0; }
.policy-item-body a { color: var(--green-700); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ═══ RETURN POLICY ═══ */
.guarantee-banner {
    background: linear-gradient(135deg, var(--green-900), var(--green-700));
    border-radius: var(--radius-lg);
    padding: 32px;
    display: flex;
    gap: 24px;
    align-items: flex-start;
    color: #fff;
}
.guarantee-icon { font-size: 52px; flex-shrink: 0; line-height: 1; margin-top: 4px; }
.guarantee-text h2 { color: #fff; font-size: clamp(20px, 3vw, 26px); font-weight: 800; margin: 0 0 10px; }
.guarantee-text p  { color: var(--green-100); font-size: 15px; line-height: 1.75; margin: 0; }

.return-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.return-step {
    display: flex;
    gap: 22px;
    align-items: flex-start;
    padding: 28px 0;
}
.return-step-num {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    background: var(--green-800);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 800;
}
.return-step-body h3 { font-size: 17px; font-weight: 700; color: var(--dark); margin: 0 0 10px; }
.return-step-body p  { font-size: 15px; color: #374151; line-height: 1.75; margin: 0 0 14px; }
.return-step-connector {
    width: 2px;
    height: 24px;
    background: var(--green-200);
    margin-left: 23px;
}

.return-contact-options { display: flex; flex-wrap: wrap; gap: 10px; }
.return-contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 18px;
    border-radius: var(--radius);
    font-size: 13px;
    font-weight: 700;
    transition: all var(--dur-fast);
    border: 2px solid transparent;
}
.return-contact-btn--phone    { background: #dcfce7; color: #166534; border-color: #bbf7d0; }
.return-contact-btn--whatsapp { background: #dcfce7; color: #166534; border-color: #25d366; }
.return-contact-btn--email    { background: #dbeafe; color: #1e40af; border-color: #bfdbfe; }
.return-contact-btn:hover { filter: brightness(.92); transform: translateY(-1px); }

.return-reasons-list {
    list-style: none;
    padding: 0;
    margin: 12px 0 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.return-reasons-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #374151;
}
.return-reasons-list li svg { color: var(--green-600); flex-shrink: 0; }

.return-example-card {
    background: #fffbeb;
    border: 1.5px solid #fde68a;
    border-radius: var(--radius);
    padding: 26px 28px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}
.return-example-icon { font-size: 32px; flex-shrink: 0; margin-top: 2px; }
.return-example-card h3 { font-size: 15px; font-weight: 700; color: #92400e; margin: 0 0 8px; }
.return-example-card p  { font-size: 14px; color: #78350f; line-height: 1.75; margin: 0; }

/* ═══ PRIVACY POLICY ═══ */
.privacy-meta {
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 32px;
    padding-bottom: 18px;
    border-bottom: 1px solid #f3f4f6;
}
.privacy-list {
    list-style: none;
    padding: 0;
    margin: 12px 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.privacy-list li {
    font-size: 14px;
    color: #374151;
    line-height: 1.7;
    padding-left: 20px;
    position: relative;
}
.privacy-list li::before {
    content: "·";
    position: absolute;
    left: 6px;
    color: var(--green-600);
    font-weight: 900;
    font-size: 18px;
    line-height: 1.3;
}
.privacy-contact-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}
.privacy-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--green-800);
    background: var(--green-50);
    border: 1px solid var(--green-100);
    border-radius: var(--radius);
    padding: 7px 14px;
    transition: background var(--dur-fast);
}
.privacy-contact-link:hover { background: var(--green-100); color: var(--green-900); }

/* ── Responsive: mobile tweaks ── */
@media (max-width: 540px) {
    .info-hero { padding: 40px 0 36px; }
    .info-body { padding: 36px 0 56px; }
    .info-section { margin-bottom: 40px; }
    .story-card { flex-direction: column; gap: 16px; }
    .founder-card { flex-direction: column; }
    .mission-card { padding: 28px 24px; }
    .guarantee-banner { flex-direction: column; gap: 16px; }
    .biz-hours-row { font-size: 12px; }
    .policy-item { gap: 16px; }
    .info-cta-card { padding: 36px 24px; }
}
