/* ═══════════════════════════════════════════════════════
   Smart Kiddo Zone — Soft Pastel Theme (Redesigned Layout)
   Color values unchanged. Layout/typography/components new.
   Edit colors in :root tokens only.
   ═══════════════════════════════════════════════════════ */

:root {
    /* ── Core Colors — elegant coffee/cream palette (matches imranthegreat.com) ── */
    --primary: #9a6a3c;          /* terracotta */
    --primary-dark: #7d5430;
    --primary-light: #ece2d3;
    --secondary: #1f1c18;        /* coffee ink — premium dark CTA (no green) */
    --secondary-dark: #38322b;
    --accent: #b9885a;           /* warm tan */
    --accent-dark: #9a6a3c;
    --accent-soft: #efe7da;
    --warm: #dcc08a;             /* tan tint */
    --danger: #b3402f;

    --bg: #f4f0e9;               /* cream paper */
    --bg-alt: #ede7dd;
    --card: #fbf9f4;
    --dark: #1b1916;             /* coffee ink */
    --dark-light: #2a241d;

    --text: #1f1c18;
    --text-light: #837c70;
    --text-on-dark: #e8dcc8;
    --text-on-dark-bright: #fbf9f4;

    --border: #e3ddd0;

    /* ── Mockup-style aliases (map to existing palette) ── */
    --brand-primary: var(--primary);
    --brand-primary-deep: #6a4527;
    --brand-primary-soft: var(--primary-light);
    --brand-coral: var(--secondary);
    --brand-coral-dark: var(--secondary-dark);
    --brand-mint: var(--secondary);
    --brand-mint-deep: #1b1916;
    --brand-mint-soft: #efe7da;
    --brand-accent: var(--warm);
    --surface-bg: var(--bg);
    --surface-card: var(--card);
    --surface-elevated: var(--card);
    --surface-sunken: var(--bg-alt);
    --surface-dark: var(--dark);
    --ink-strong: var(--text);
    --ink-body: var(--text);
    --ink-muted: var(--text-light);
    --ink-on-dark: var(--text-on-dark-bright);
    --border-subtle: var(--border);
    --state-danger: var(--danger);
    --state-warning: var(--warm);
    --state-success: #7d5430;    /* deep terracotta — “in stock” reads warm, not green */

    /* ── Typography scale ── */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.375rem;
    --text-2xl: 1.75rem;
    --text-3xl: 2.25rem;
    --text-4xl: 3rem;

    --font-en: 'Segoe UI', system-ui, -apple-system, sans-serif;
    --font-bn: 'Hind Siliguri', 'Noto Sans Bengali', system-ui, sans-serif;

    --lh-tight: 1.2;
    --lh-snug: 1.4;
    --lh-normal: 1.6;
    --lh-relaxed: 1.75;
    --lh-bangla: 1.85;

    /* ── Spacing ── */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 20px;
    --space-6: 24px;
    --space-8: 32px;
    --space-10: 40px;
    --space-12: 48px;
    --space-16: 64px;
    --space-20: 80px;

    /* ── Radius ── */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-pill: 999px;
    --radius: 18px;

    /* ── Shadow ── */
    --shadow-sm: 0 1px 3px rgba(45, 55, 72, .06), 0 1px 2px rgba(45, 55, 72, .04);
    --shadow-md: 0 4px 12px rgba(45, 55, 72, .08);
    --shadow-lg: 0 12px 32px rgba(45, 55, 72, .10);
    --shadow-cta: 0 4px 14px rgba(226, 92, 92, .35);
    --shadow: 0 4px 20px rgba(0, 0, 0, .06);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, .12);

    /* ── Motion ── */
    --dur-fast: 150ms;
    --dur-base: 200ms;
    --dur-slow: 300ms;
    --ease-std: cubic-bezier(.2, 0, 0, 1);
    --ease-emph: cubic-bezier(.3, 0, 0, 1.15);

    --container-max: 1200px;
    --nav-h: 72px;
}

/* ── Reset & base ── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font-en); font-size: var(--text-base); line-height: var(--lh-normal);
    color: var(--ink-body); background: var(--surface-bg);
    -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 { color: var(--ink-strong); line-height: var(--lh-tight); font-weight: 700; }
a { color: var(--brand-primary); text-decoration: none; transition: color var(--dur-base) var(--ease-std); }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; }
:lang(bn), .bn { font-family: var(--font-bn); line-height: var(--lh-bangla); }
::selection { background: var(--primary-light); color: var(--primary-dark); }

:focus-visible {
    outline: 3px solid var(--brand-primary-soft); outline-offset: 1px;
    box-shadow: 0 0 0 1px var(--brand-primary); border-radius: var(--radius-sm);
}

.skip-link {
    position: absolute; left: var(--space-4); top: -120px; z-index: 200;
    background: var(--surface-card); color: var(--ink-strong);
    padding: var(--space-3) var(--space-5); border-radius: var(--radius-md);
    box-shadow: var(--shadow-md); font-weight: 600;
    transition: top var(--dur-base) var(--ease-std);
}
.skip-link:focus { top: var(--space-4); }

.container {
    width: 100%; max-width: var(--container-max);
    margin-inline: auto; padding-inline: var(--space-4);
}
@media (min-width: 768px) { .container { padding-inline: var(--space-6); } }

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

/* ── Utilities ── */
.u-text-xs { font-size: var(--text-xs); }
.u-text-sm { font-size: var(--text-sm); }
.u-muted { color: var(--ink-muted); }
.u-mt-2 { margin-top: var(--space-2); }
.u-mt-4 { margin-top: var(--space-4); }
.u-mt-6 { margin-top: var(--space-6); }

.section { padding-block: var(--space-12); }
.section--tight { padding-block: var(--space-8); }
.section-head {
    display: flex; align-items: baseline; justify-content: space-between;
    gap: var(--space-4); margin-bottom: var(--space-6); flex-wrap: wrap;
}
.section-head h2 { font-size: var(--text-2xl); }
.section-head .link-more { font-weight: 600; font-size: var(--text-sm); }

/* ── Buttons (new system) ── */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    gap: var(--space-2); font-weight: 600; font-size: var(--text-base);
    padding: 12px 24px; border-radius: var(--radius-md);
    border: 1px solid transparent; min-height: 44px; white-space: nowrap;
    text-align: center;
    transition: background var(--dur-base) var(--ease-std),
                transform var(--dur-base) var(--ease-std),
                box-shadow var(--dur-base) var(--ease-std),
                border-color var(--dur-base) var(--ease-std);
}
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.btn--primary, .btn-primary {
    background: var(--brand-coral); color: #fff; box-shadow: var(--shadow-cta);
    border-color: var(--brand-coral);
}
.btn--primary:hover, .btn-primary:hover {
    background: var(--brand-coral-dark); border-color: var(--brand-coral-dark);
    transform: translateY(-1px);
}
.btn--primary:active, .btn-primary:active { transform: translateY(0); }
.btn--secondary {
    background: var(--brand-primary-soft); color: var(--brand-primary);
}
.btn--secondary:hover { background: #c4dff0; }
.btn--ghost, .btn-outline {
    background: transparent; color: var(--ink-body);
    border-color: var(--border-subtle);
}
.btn--ghost:hover, .btn-outline:hover {
    background: var(--surface-sunken); color: var(--brand-primary);
    border-color: var(--brand-primary);
}
.btn--accent, .btn-accent {
    background: var(--brand-mint); color: #fff; border-color: var(--brand-mint);
}
.btn--accent:hover, .btn-accent:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn-danger {
    background: var(--brand-coral); color: #fff; border-color: var(--brand-coral);
}
.btn-danger:hover { background: var(--brand-coral-dark); border-color: var(--brand-coral-dark); }
.btn--block, .btn-full { width: 100%; }
.btn--sm, .btn-sm { padding: 8px 14px; font-size: var(--text-sm); min-height: 38px; }
.btn--lg, .btn-lg { padding: 16px 32px; font-size: var(--text-lg); min-height: 56px; }
.btn:disabled { opacity: .55; cursor: not-allowed; box-shadow: none; transform: none; }

/* ── Chips & badges ── */
.chip {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: var(--text-xs); font-weight: 700;
    padding: 4px 10px; border-radius: var(--radius-pill); line-height: 1.3;
}
.chip svg { width: 14px; height: 14px; }
.chip--age { background: var(--brand-primary-soft); color: var(--brand-primary-deep); }
.chip--safety { background: var(--brand-mint-soft); color: var(--brand-mint-deep); }
.chip--save { background: var(--brand-coral); color: #fff; }
.chip--in { background: var(--brand-mint); color: #fff; }
.chip--pre { background: var(--warm); color: var(--brand-coral-dark); }
.chip--out { background: var(--surface-sunken); color: var(--ink-muted); }

.cat-chips {
    display: flex; gap: var(--space-2); overflow-x: auto;
    padding-block: var(--space-2);
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.cat-chips::-webkit-scrollbar { display: none; }
.cat-chip {
    flex: 0 0 auto; background: var(--surface-card);
    border: 1.5px solid var(--border-subtle); color: var(--ink-body);
    font-weight: 600; font-size: var(--text-sm);
    padding: 9px 16px; border-radius: var(--radius-pill);
    min-height: 44px; cursor: pointer;
    transition: all var(--dur-base) var(--ease-std);
}
.cat-chip:hover { border-color: var(--brand-primary); }
.cat-chip[aria-pressed="true"] {
    background: var(--brand-primary); border-color: var(--brand-primary); color: #fff;
}

/* ── Navbar ── */
.nav {
    position: sticky; top: 0; z-index: 100;
    background: var(--surface-card);
    border-bottom: 1px solid var(--border-subtle);
}
.nav__inner { height: 56px; display: flex; align-items: center; gap: var(--space-3); }
.nav__brand { display: flex; align-items: center; gap: var(--space-2); flex-shrink: 0; color: var(--ink-strong); }
.nav__logo { width: 36px; height: 36px; border-radius: 10px; object-fit: cover; }
.nav__wordmark { font-weight: 800; font-size: var(--text-lg); color: var(--ink-strong); white-space: nowrap; }
.nav__wordmark .accent { color: var(--brand-coral); }
.nav__wordmark--hide-sm { display: none; }

.nav__search { position: relative; flex: 1 1 auto; min-width: 0; }
.nav__search input {
    width: 100%; height: 44px;
    border: 1.5px solid transparent;
    background: var(--brand-primary-soft);
    border-radius: var(--radius-pill);
    padding: 0 16px 0 42px;
    font-size: var(--text-base); color: var(--ink-strong);
    transition: border-color var(--dur-base) var(--ease-std), background var(--dur-base) var(--ease-std);
}
.nav__search input::placeholder { color: var(--ink-muted); }
.nav__search input:focus {
    outline: none; border-color: var(--brand-primary); background: var(--surface-card);
}
.nav__search .search-icon {
    position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
    width: 18px; height: 18px; color: var(--ink-muted); pointer-events: none;
}

.nav__links { display: none; align-items: center; gap: var(--space-2); }
.nav__link {
    color: var(--ink-body); font-weight: 600; font-size: var(--text-sm);
    padding: 8px 12px; border-radius: var(--radius-md);
}
.nav__link:hover { background: var(--surface-sunken); }

.nav__cart {
    position: relative; display: inline-flex; align-items: center; gap: 6px;
    color: var(--ink-body); font-weight: 600; font-size: var(--text-sm);
    padding: 8px 10px; border-radius: var(--radius-md); min-height: 44px;
}
.nav__cart:hover { background: var(--surface-sunken); }
.nav__cart svg { width: 24px; height: 24px; }
.nav__cart .cart-label--hide-sm { display: none; }

.cart-count {
    position: absolute; top: 2px; right: 2px;
    background: var(--brand-coral); color: #fff;
    font-size: 11px; font-weight: 700;
    min-width: 18px; height: 18px; padding: 0 5px;
    border-radius: var(--radius-pill);
    display: flex; align-items: center; justify-content: center;
    border: 2px solid var(--surface-card);
}
.cart-count[data-empty="true"] { display: none; }

.nav__hamburger {
    width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
    background: transparent; border: none; border-radius: var(--radius-md); flex-shrink: 0;
}
.nav__hamburger:hover { background: var(--surface-sunken); }
.hamburger-box { width: 22px; height: 16px; position: relative; }
.hamburger-box span {
    position: absolute; left: 0; width: 100%; height: 2px;
    background: var(--ink-strong); border-radius: 2px;
    transition: transform var(--dur-base) var(--ease-std), opacity var(--dur-fast) var(--ease-std);
}
.hamburger-box span:nth-child(1) { top: 0; }
.hamburger-box span:nth-child(2) { top: 7px; }
.hamburger-box span:nth-child(3) { top: 14px; }
.nav__hamburger[aria-expanded="true"] .hamburger-box span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger[aria-expanded="true"] .hamburger-box span:nth-child(2) { opacity: 0; }
.nav__hamburger[aria-expanded="true"] .hamburger-box span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (min-width: 768px) {
    .nav__inner { height: var(--nav-h); gap: var(--space-5); }
    .nav__logo { width: 44px; height: 44px; }
    .nav__wordmark--hide-sm { display: inline; }
    .nav__links { display: flex; }
    .nav__cart .cart-label--hide-sm { display: inline; }
    .nav__hamburger { display: none; }
    .nav__search { max-width: 480px; margin-inline: auto; }
}

/* ── Drawer ── */
.overlay {
    position: fixed; inset: 0; z-index: 140;
    background: rgba(31, 41, 55, .45);
    opacity: 0; visibility: hidden;
    transition: opacity var(--dur-base) var(--ease-std), visibility var(--dur-base);
}
.overlay[data-open="true"] { opacity: 1; visibility: visible; }
.drawer {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 150;
    width: 80%; max-width: 340px; background: var(--surface-card);
    box-shadow: var(--shadow-lg);
    transform: translateX(100%);
    transition: transform var(--dur-slow) var(--ease-std);
    display: flex; flex-direction: column;
}
.drawer[data-open="true"] { transform: translateX(0); }
.drawer__head {
    display: flex; align-items: center; justify-content: space-between;
    padding: var(--space-4) var(--space-5);
    border-bottom: 1px solid var(--border-subtle);
}
.drawer__head .nav__wordmark { font-size: var(--text-base); }
.drawer__close {
    width: 44px; height: 44px; border: none; background: transparent;
    border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center;
}
.drawer__close:hover { background: var(--surface-sunken); }
.drawer__close svg { width: 22px; height: 22px; color: var(--ink-strong); }
.drawer__items { padding: var(--space-2) 0; }
.drawer__item {
    display: flex; align-items: center; gap: var(--space-3);
    min-height: 56px; padding: 0 var(--space-5);
    color: var(--ink-strong); font-weight: 600; font-size: var(--text-lg);
    border-bottom: 1px solid var(--border-subtle);
}
.drawer__item:hover { background: var(--surface-sunken); }
.drawer__item svg { width: 22px; height: 22px; color: var(--ink-muted); }

/* ── Search dropdown ── */
.search-results {
    position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 120;
    background: var(--surface-elevated); border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg); border: 1px solid var(--border-subtle);
    overflow: hidden; display: none;
}
.search-results[data-open="true"] { display: block; }
.search-result {
    display: flex; align-items: center; gap: var(--space-3);
    padding: var(--space-3) var(--space-4);
    border-bottom: 1px solid var(--border-subtle);
    cursor: pointer; color: var(--ink-strong);
    transition: background var(--dur-fast) var(--ease-std);
}
.search-result:last-child { border-bottom: none; }
.search-result:hover, .search-result[aria-selected="true"] { background: var(--brand-primary-soft); }
.search-result__thumb {
    width: 48px; height: 48px; border-radius: var(--radius-sm);
    background: var(--surface-sunken); flex-shrink: 0; overflow: hidden;
    object-fit: cover;
}
.search-result__name {
    font-weight: 600; color: var(--ink-strong); font-size: var(--text-sm);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.search-result__price { font-size: var(--text-xs); color: var(--ink-muted); }
.search-result__price .old { text-decoration: line-through; margin-right: 4px; }
.search-result__body { flex: 1; min-width: 0; }
.search-result .chev { width: 18px; height: 18px; color: var(--ink-muted); flex-shrink: 0; }
.search-empty { padding: var(--space-6); text-align: center; color: var(--ink-muted); font-size: var(--text-sm); }

/* ── Hero ── */
.hero { background: var(--brand-primary-soft); }
.hero__inner {
    display: grid; gap: var(--space-6);
    padding-block: var(--space-10);
}
.hero__image-wrap {
    position: relative; background: var(--surface-card);
    border-radius: var(--radius-xl); box-shadow: var(--shadow-lg);
    overflow: hidden; aspect-ratio: 16/10;
    animation: float 4s ease-in-out infinite;
}
.hero__image-wrap img { width: 100%; height: 100%; object-fit: cover; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* Hero tile cluster — 3 overlapping clickable product tiles */
.hero__cluster {
    position: relative; aspect-ratio: 1/1.1; width: 100%;
    max-width: 560px; margin: 0 auto;
}
.hero__tile {
    position: absolute; border-radius: 22px; overflow: hidden;
    background: #fff; border: 14px solid #fff;
    box-shadow: 0 18px 40px rgba(45, 55, 72, .18);
    text-decoration: none; color: var(--ink-strong);
    display: flex; flex-direction: column;
    transition: transform var(--dur-base) var(--ease-std), box-shadow var(--dur-base) var(--ease-std);
}
.hero__tile-img {
    width: 100%; aspect-ratio: 1/1;
    background: var(--surface-sunken); overflow: hidden;
    border-radius: 10px;
}
.hero__tile-img img { width: 100%; height: 100%; object-fit: cover; }
.hero__tile-info {
    padding: 10px 2px 2px;
    display: flex; flex-direction: column; gap: 4px;
}
.hero__tile-name {
    font-size: 14px; font-weight: 700; color: var(--ink-strong);
    line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.hero__tile-price {
    font-size: 16px; font-weight: 800; color: var(--brand-coral);
    line-height: 1.1;
}
.hero__tile--a { width: 58%; top: 6%; left: 0; transform: rotate(-6deg); z-index: 2; }
.hero__tile--b { width: 54%; top: 0; right: 0; transform: rotate(5deg); z-index: 3; }
.hero__tile--c { width: 52%; bottom: 0; left: 26%; transform: rotate(3deg); z-index: 4; }
.hero__tile--a:hover { transform: rotate(-6deg) translateY(-6px) scale(1.02); }
.hero__tile--b:hover { transform: rotate(5deg) translateY(-6px) scale(1.02); }
.hero__tile--c:hover { transform: rotate(3deg) translateY(-6px) scale(1.02); }
.hero__tile:hover { box-shadow: 0 24px 56px rgba(45, 55, 72, .26); z-index: 5; }
.hero__spark {
    position: absolute; border-radius: 50%;
    background: var(--brand-accent); pointer-events: none;
}
.hero__spark--1 { width: 14px; height: 14px; top: 4%; right: 40%; opacity: .5; }
.hero__spark--2 { width: 9px; height: 9px; top: 28%; right: 50%; opacity: .35; }
.hero__spark--3 { width: 18px; height: 18px; bottom: 14%; right: 36%; opacity: .3; }
@media (max-width: 767px) {
    .hero__cluster { max-width: 420px; }
    .hero__tile { border-width: 10px; }
    .hero__tile-name { font-size: 13px; }
    .hero__tile-price { font-size: 15px; }
}
.hero__eyebrow {
    display: inline-flex; align-items: center; gap: 6px;
    font-weight: 700; font-size: var(--text-sm);
    color: var(--brand-coral); letter-spacing: .02em;
}
.hero h1 { font-size: var(--text-2xl); font-weight: 800; margin-top: var(--space-3); text-wrap: balance; }
.hero__sub { font-size: var(--text-base); color: var(--ink-muted); margin-top: var(--space-3); max-width: 46ch; }
.hero__cta {
    display: flex; flex-direction: column; gap: var(--space-3);
    margin-top: var(--space-6);
}
.hero__cta .btn--primary { width: 100%; }
.hero__secondary {
    background: transparent; border: none; color: var(--brand-primary);
    font-weight: 600; align-self: center; min-height: 44px;
}
.trust-strip {
    display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-6);
}
.trust-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--surface-card); border: 1px solid var(--border-subtle);
    border-radius: var(--radius-pill); padding: 8px 14px;
    font-size: var(--text-sm); font-weight: 600; color: var(--ink-body);
}
.trust-badge svg { width: 18px; height: 18px; color: var(--brand-mint); }

@media (min-width: 768px) {
    .hero__inner {
        grid-template-columns: 1.3fr 1fr; align-items: center;
        padding-block: var(--space-16); gap: var(--space-12);
    }
    .hero__text { order: 1; }
    .hero__image-wrap { order: 2; aspect-ratio: 4/3; }
    .hero__cluster { order: 2; }
    .hero h1 { font-size: var(--text-4xl); }
    .hero__sub { font-size: var(--text-lg); }
    .hero__cta { flex-direction: row; align-items: center; }
    .hero__cta .btn--primary { width: auto; }
    .hero__secondary { align-self: auto; }
}

/* ── Product grid & card ── */
.product-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-3);
}
@media (min-width: 768px) {
    .product-grid { grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
}
@media (min-width: 1024px) { .product-grid { grid-template-columns: repeat(4, 1fr); } }

.product-card {
    background: var(--surface-card); border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex; flex-direction: column;
    transition: transform var(--dur-base) var(--ease-std), box-shadow var(--dur-base) var(--ease-std);
}
.product-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.product-card--out { opacity: .72; }
.product-card__image {
    position: relative; aspect-ratio: 1/1;
    background: var(--surface-sunken); overflow: hidden; display: block;
}
.product-card__image img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform var(--dur-slow) var(--ease-std);
}
.product-card:hover .product-card__image img { transform: scale(1.03); }
.product-card__save { position: absolute; top: 10px; left: 10px; z-index: 2; }
.product-card__age {
    position: absolute; top: 10px; right: 10px; z-index: 2;
    background: var(--surface-card); color: var(--ink-body); box-shadow: var(--shadow-sm);
}
.product-card__watermark {
    position: absolute; bottom: 8px; left: 8px; z-index: 1;
    width: 36px; height: 36px; object-fit: contain;
    opacity: 0.08; pointer-events: none; border-radius: 4px;
}
.product-card__stock-overlay {
    position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
    background: linear-gradient(0deg, rgba(31, 41, 55, .82), rgba(31, 41, 55, 0));
    color: #fff; font-size: var(--text-xs); font-weight: 700;
    padding: 18px 12px 8px; text-align: center;
}
.product-card__body {
    padding: var(--space-4); display: flex; flex-direction: column;
    gap: var(--space-2); flex: 1;
}
.product-card__title {
    font-size: var(--text-base); font-weight: 600; color: var(--ink-strong);
    line-height: var(--lh-snug);
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.product-card__title-bn {
    font-size: var(--text-sm); color: var(--ink-muted);
    display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
}
.product-card__price-row {
    display: flex; align-items: baseline; gap: var(--space-2);
    margin-top: auto; padding-top: var(--space-1);
}
.price-current { font-size: var(--text-xl); font-weight: 800; color: var(--ink-strong); }
.price-original { font-size: var(--text-sm); color: var(--ink-muted); text-decoration: line-through; }
.product-card__actions { display: flex; gap: var(--space-2); margin-top: var(--space-2); }
.product-card__actions .btn { flex: 1; padding: 10px 14px; font-size: var(--text-sm); min-height: 40px; }
.icon-btn {
    width: 44px; height: 44px; flex: 0 0 44px;
    border: 1px solid var(--border-subtle); background: var(--surface-card);
    border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center;
    color: var(--ink-body);
    transition: all var(--dur-base) var(--ease-std);
}
.icon-btn:hover { border-color: var(--brand-primary); color: var(--brand-primary); }
.icon-btn svg { width: 20px; height: 20px; }
.in-cart-link {
    display: flex; align-items: center; justify-content: center; gap: 6px;
    flex: 1; min-height: 40px;
    background: var(--brand-mint-soft); color: var(--brand-mint-deep);
    font-weight: 600; border-radius: var(--radius-md);
    font-size: var(--text-sm); padding: 0 14px;
}
.in-cart-link svg { width: 18px; height: 18px; }
@media (max-width: 360px) {
    .product-card__body { padding: var(--space-2); }
    .product-card__title { -webkit-line-clamp: 1; }
}

/* ── Feature row ── */
.feature-row { display: grid; grid-template-columns: 1fr; gap: var(--space-4); }
@media (min-width: 768px) {
    .feature-row { grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
}
.feature {
    background: var(--surface-card); border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg); padding: var(--space-6);
    display: flex; gap: var(--space-4); align-items: flex-start;
}
.feature__icon {
    width: 48px; height: 48px; flex-shrink: 0;
    border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center;
    background: var(--brand-mint-soft); color: var(--brand-mint-deep);
}
.feature__icon svg { width: 26px; height: 26px; }
.feature h3 { font-size: var(--text-lg); margin-bottom: var(--space-1); }
.feature p { font-size: var(--text-sm); color: var(--ink-muted); }

/* ── How to order ── */
.steps { background: var(--brand-primary-soft); border-radius: var(--radius-xl); padding: var(--space-8); }
.steps__grid { display: grid; grid-template-columns: 1fr; gap: var(--space-6); }
@media (min-width: 768px) { .steps__grid { grid-template-columns: repeat(4, 1fr); } }
.step { text-align: center; }
.step__num {
    width: 56px; height: 56px; margin: 0 auto var(--space-3);
    border-radius: var(--radius-pill); background: var(--surface-card);
    display: flex; align-items: center; justify-content: center;
    color: var(--brand-coral); box-shadow: var(--shadow-sm);
}
.step__num svg { width: 26px; height: 26px; }
.step__badge { display: inline-block; font-size: var(--text-xs); font-weight: 700; color: var(--brand-primary); margin-bottom: 4px; letter-spacing: .04em; }
.step h3 { font-size: var(--text-base); margin-bottom: 4px; }
.step p { font-size: var(--text-sm); color: var(--ink-muted); }

/* ── Follow / WhatsApp CTA ── */
.follow-cta {
    background: var(--brand-mint-soft); border-radius: var(--radius-xl);
    padding: var(--space-8);
    display: flex; flex-direction: column; gap: var(--space-4);
    align-items: center; text-align: center;
}
.follow-cta h2 { font-size: var(--text-2xl); }
.follow-cta p { color: var(--ink-muted); max-width: 48ch; }
@media (min-width: 768px) {
    .follow-cta { flex-direction: row; justify-content: space-between; text-align: left; }
}
.wa-btn {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--primary); color: #fff; font-weight: 600;
    padding: 12px 20px; border-radius: var(--radius-pill);
    width: max-content;
}
.wa-btn svg { width: 18px; height: 18px; }
.wa-btn:hover { background: var(--primary-dark); color: #fff; }

/* ── Footer ── */
.footer { background: var(--surface-dark); color: var(--ink-on-dark); margin-top: var(--space-16); }
.footer a { color: rgba(255, 255, 255, .8); }
.footer a:hover { color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1fr; gap: 0; padding-block: var(--space-8); }
.footer__col { border-bottom: 1px solid rgba(255, 255, 255, .12); }
.footer__head {
    display: flex; align-items: center; justify-content: space-between; width: 100%;
    background: none; border: none; color: #fff;
    font-weight: 700; font-size: var(--text-base);
    padding: var(--space-4) 0; cursor: pointer; text-align: left;
}
.footer__head .chev { width: 20px; height: 20px; transition: transform var(--dur-base) var(--ease-std); }
.footer__col[data-open="true"] .footer__head .chev { transform: rotate(180deg); }
.footer__panel { max-height: 0; overflow: hidden; transition: max-height var(--dur-slow) var(--ease-std); }
.footer__col[data-open="true"] .footer__panel { max-height: 600px; }
.footer__panel-inner {
    padding-bottom: var(--space-5);
    display: flex; flex-direction: column; gap: var(--space-3);
    font-size: var(--text-sm);
}
.footer__brand-row { display: flex; align-items: center; gap: var(--space-3); margin-bottom: var(--space-2); }
.footer__brand-row img { width: 48px; height: 48px; border-radius: 12px; }
.footer__contact-big { font-size: var(--text-lg); font-weight: 700; color: #fff; }
.footer__wa {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--primary); color: #fff; font-weight: 600;
    padding: 8px 14px; border-radius: var(--radius-pill);
    width: max-content;
}
.footer__wa svg { width: 18px; height: 18px; }
.footer__deliv-cards {
    display: flex; gap: var(--space-3); overflow-x: auto;
    scrollbar-width: none;
}
.footer__deliv-cards::-webkit-scrollbar { display: none; }
.footer__deliv-card {
    flex: 0 0 auto; background: rgba(255, 255, 255, .08);
    border-radius: var(--radius-md);
    padding: var(--space-3) var(--space-4);
    display: flex; align-items: center; gap: var(--space-2);
    font-size: var(--text-sm);
}
.footer__deliv-card svg { width: 22px; height: 22px; color: var(--warm); }
.footer__deliv-card strong { color: #fff; }
.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, .12);
    padding-block: var(--space-4); font-size: var(--text-xs);
    color: rgba(255, 255, 255, .6);
    display: flex; flex-wrap: wrap; gap: var(--space-2); justify-content: space-between;
    align-items: center;
}
.footer__bottom a { color: var(--warm); }
@media (min-width: 768px) {
    .footer__grid {
        grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
        gap: var(--space-8); padding-block: var(--space-12);
    }
    .footer__col { border-bottom: none; }
    .footer__head { cursor: default; padding-bottom: var(--space-4); pointer-events: none; }
    .footer__head .chev { display: none; }
    .footer__panel { max-height: none !important; overflow: visible; }
}

/* ── Floating cart ── */
.fab-cart {
    position: fixed; right: 24px; bottom: max(24px, env(safe-area-inset-bottom));
    z-index: 90; width: 56px; height: 56px;
    border-radius: var(--radius-pill);
    background: var(--brand-coral); box-shadow: var(--shadow-cta);
    border: none; display: flex; align-items: center; justify-content: center;
    color: #fff;
    transform: translateY(120px); opacity: 0;
    transition: transform var(--dur-slow) var(--ease-emph), opacity var(--dur-base) var(--ease-std);
}
.fab-cart[data-show="true"] { transform: translateY(0); opacity: 1; }
.fab-cart svg { width: 26px; height: 26px; }
.fab-cart .cart-count {
    background: var(--warm); color: var(--brand-coral-dark);
    border-color: var(--brand-coral); top: -2px; right: -2px;
}

/* ── Toast ── */
.toast-stack {
    position: fixed; z-index: 200;
    display: flex; flex-direction: column; gap: var(--space-2);
    top: calc(56px + var(--space-3));
    left: var(--space-4); right: var(--space-4);
    pointer-events: none;
}
@media (min-width: 768px) {
    .toast-stack { top: calc(var(--nav-h) + var(--space-4)); left: auto; right: var(--space-6); width: 380px; }
}
.toast {
    display: flex; align-items: flex-start; gap: var(--space-3);
    background: var(--surface-card);
    border-left: 4px solid var(--brand-mint);
    border-radius: var(--radius-md); box-shadow: var(--shadow-lg);
    padding: var(--space-3) var(--space-4);
    pointer-events: auto;
    transform: translateY(-12px); opacity: 0;
    transition: transform var(--dur-slow) var(--ease-emph), opacity var(--dur-base) var(--ease-std);
}
.toast[data-show="true"] { transform: translateY(0); opacity: 1; }
.toast.toast-success { border-left-color: var(--brand-mint); }
.toast.toast-error { border-left-color: var(--brand-coral); }
.toast__icon { width: 24px; height: 24px; flex-shrink: 0; color: var(--brand-mint); }
.toast-error .toast__icon { color: var(--brand-coral); }
.toast__body { flex: 1; font-size: var(--text-sm); color: var(--ink-body); }
.toast__body strong { display: block; color: var(--ink-strong); font-size: var(--text-base); margin-bottom: 1px; }
.toast__close {
    background: none; border: none; color: var(--ink-muted);
    width: 28px; height: 28px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    border-radius: var(--radius-sm);
}
.toast__close:hover { background: var(--surface-sunken); }
.toast__close svg { width: 18px; height: 18px; }

/* ── Product detail (PDP) ── */
.breadcrumb {
    display: flex; flex-wrap: wrap; gap: 6px; align-items: center;
    font-size: var(--text-sm); color: var(--ink-muted);
    margin-bottom: var(--space-4);
}
.breadcrumb a { color: var(--ink-muted); }
.breadcrumb a:hover { color: var(--brand-primary); }
.breadcrumb .sep { opacity: .5; }

.pdp { display: grid; grid-template-columns: 1fr; gap: var(--space-6); }
.pdp__card {
    background: var(--surface-card); border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl); padding: var(--space-4);
    box-shadow: var(--shadow-sm);
}
@media (min-width: 768px) { .pdp__card { padding: var(--space-8); } }

.gallery { display: flex; flex-direction: column; gap: var(--space-3); }
.gallery__main {
    position: relative; aspect-ratio: 1/1;
    border-radius: var(--radius-lg); overflow: hidden;
    background: var(--surface-sunken);
}
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.gallery__watermark {
    position: absolute; top: 10px; left: 10px; z-index: 2;
    width: 42px; height: 42px; object-fit: contain;
    opacity: 0.08; pointer-events: none; border-radius: 4px;
}
.gallery__stock-banner {
    position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 2;
    background: rgba(31, 41, 55, .75); color: #fff;
    padding: 10px; border-radius: var(--radius-md);
    text-align: center; font-weight: 700; font-size: var(--text-sm);
    backdrop-filter: blur(4px);
}
.gallery__slides {
    display: flex; overflow-x: auto;
    scroll-snap-type: x mandatory; scrollbar-width: none;
}
.gallery__slides::-webkit-scrollbar { display: none; }
.gallery__slide { flex: 0 0 100%; scroll-snap-align: center; aspect-ratio: 1/1; }
.gallery__slide img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumbs { display: none; }

@media (min-width: 768px) {
    .pdp { grid-template-columns: 1fr 1fr; gap: var(--space-10); align-items: start; }
    .gallery { flex-direction: row-reverse; gap: var(--space-4); }
    .gallery__main { flex: 1; }
    .gallery__slides { display: none; }
    .gallery__thumbs { display: flex; flex-direction: column; gap: var(--space-2); width: 64px; flex-shrink: 0; }
    .gallery__thumb {
        width: 64px; height: 64px; border-radius: var(--radius-sm); overflow: hidden;
        border: 2px solid transparent; background: var(--surface-sunken);
        padding: 0; cursor: pointer;
        transition: border-color var(--dur-base) var(--ease-std);
    }
    .gallery__thumb[aria-current="true"] { border-color: var(--brand-primary); }
    .gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
}

.pdp__badges { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-bottom: var(--space-3); }
.pdp h1 { font-size: var(--text-2xl); }
@media (min-width: 768px) { .pdp h1 { font-size: var(--text-3xl); } }
.pdp__title-bn { font-size: var(--text-lg); color: var(--ink-muted); margin-top: var(--space-1); font-weight: 600; }
@media (min-width: 768px) { .pdp__title-bn { font-size: var(--text-xl); } }

.pdp__price-block { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--space-3); margin-top: var(--space-4); }
.pdp__price { font-size: var(--text-3xl); font-weight: 800; color: var(--ink-strong); }
@media (min-width: 768px) { .pdp__price { font-size: var(--text-4xl); } }
.pdp__price-old { font-size: var(--text-lg); color: var(--ink-muted); text-decoration: line-through; }
.pdp__tax { font-size: var(--text-xs); color: var(--ink-muted); margin-top: var(--space-2); }
.pdp__divider { height: 1px; background: var(--border-subtle); margin-block: var(--space-6); }
.pdp__desc { font-size: var(--text-base); color: var(--ink-body); line-height: var(--lh-relaxed); }

.pdp__bn-panel {
    background: var(--brand-primary-soft); border-radius: var(--radius-lg);
    padding: var(--space-5); margin-top: var(--space-4);
}
.pdp__bn-toggle {
    display: flex; align-items: center; justify-content: space-between; width: 100%;
    background: none; border: none;
    font-weight: 700; color: var(--ink-strong);
    font-size: var(--text-base); cursor: pointer;
}
.pdp__bn-toggle .chev { width: 20px; height: 20px; transition: transform var(--dur-base) var(--ease-std); }
.pdp__bn-panel[data-open="false"] .chev { transform: rotate(-90deg); }
.pdp__bn-body { margin-top: var(--space-3); color: var(--ink-body); }
.pdp__bn-panel[data-open="false"] .pdp__bn-body { display: none; }

.pdp__features { display: grid; grid-template-columns: 1fr; gap: var(--space-3); margin-top: var(--space-5); }
@media (min-width: 540px) { .pdp__features { grid-template-columns: 1fr 1fr; } }
.pdp__feature {
    display: flex; gap: var(--space-2); align-items: flex-start;
    font-size: var(--text-sm); color: var(--ink-body);
}
.pdp__feature svg { width: 20px; height: 20px; color: var(--brand-mint); flex-shrink: 0; margin-top: 1px; }
.pdp__safety { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-5); }

.qty {
    display: inline-flex; align-items: center;
    border: 1.5px solid var(--border-subtle); border-radius: var(--radius-md); overflow: hidden;
}
.qty button {
    width: 44px; height: 44px; background: var(--surface-card); border: none;
    color: var(--ink-strong); font-size: var(--text-xl); font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    transition: background var(--dur-fast) var(--ease-std);
}
.qty button:hover { background: var(--surface-sunken); }
.qty button:disabled { color: var(--ink-muted); cursor: not-allowed; }
.qty input {
    width: 48px; height: 44px; text-align: center;
    border: none; font-size: var(--text-base); font-weight: 700;
    color: var(--ink-strong); background: var(--surface-card);
}
.qty input::-webkit-outer-spin-button,
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty input[type="number"] { -moz-appearance: textfield; }

.pdp__cta-inline { display: flex; gap: var(--space-3); align-items: center; margin-top: var(--space-6); flex-wrap: wrap; }
.pdp__cta-inline .btn--primary { flex: 1; min-width: 200px; }
.pdp__free-deliv {
    font-size: var(--text-sm); color: var(--brand-mint-deep);
    font-weight: 600; margin-top: var(--space-3);
    display: flex; align-items: center; gap: 6px;
}
.pdp__free-deliv svg { width: 16px; height: 16px; }

.deliv-strip {
    display: grid; grid-template-columns: 1fr; gap: var(--space-3);
    margin-top: var(--space-6);
}
@media (min-width: 540px) { .deliv-strip { grid-template-columns: repeat(3, 1fr); } }
.deliv-strip__item {
    background: var(--surface-sunken); border-radius: var(--radius-md);
    padding: var(--space-4);
    display: flex; flex-direction: column; gap: 6px;
}
.deliv-strip__item svg { width: 24px; height: 24px; color: var(--brand-primary); }
.deliv-strip__item .lbl { font-size: var(--text-xs); color: var(--ink-muted); font-weight: 600; text-transform: uppercase; letter-spacing: .03em; }
.deliv-strip__item .val { font-size: var(--text-base); font-weight: 700; color: var(--ink-strong); }

/* Sticky mobile CTA */
.sticky-cta {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
    background: var(--surface-card);
    border-top: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-lg);
    padding: var(--space-3) var(--space-4) calc(var(--space-3) + env(safe-area-inset-bottom));
    display: flex; align-items: center; gap: var(--space-3);
}
.sticky-cta__price { display: flex; flex-direction: column; line-height: 1.1; }
.sticky-cta__price .lbl { font-size: var(--text-xs); color: var(--ink-muted); }
.sticky-cta__price .val { font-size: var(--text-xl); font-weight: 800; color: var(--ink-strong); }
.sticky-cta .qty { flex-shrink: 0; }
.sticky-cta .btn--primary { flex: 1; }
@media (min-width: 768px) { .sticky-cta { display: none; } }

/* ── Cart ── */
.cart-layout { display: grid; grid-template-columns: 1fr; gap: var(--space-6); }
@media (min-width: 900px) { .cart-layout { grid-template-columns: 1fr 360px; align-items: start; } }

.cart-item {
    display: grid; grid-template-columns: 80px 1fr; gap: var(--space-4);
    background: var(--surface-card); border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg); padding: var(--space-4);
    position: relative;
}
.cart-item + .cart-item { margin-top: var(--space-3); }
.cart-item__img { width: 80px; height: 80px; border-radius: var(--radius-md); overflow: hidden; background: var(--surface-sunken); }
.cart-item__img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item__name { font-weight: 600; color: var(--ink-strong); padding-right: 40px; }
.cart-item__name-bn { font-size: var(--text-sm); color: var(--ink-muted); margin-top: 2px; }
.cart-item__meta { font-size: var(--text-xs); color: var(--ink-muted); margin-top: 2px; }
.cart-item__row {
    display: flex; align-items: center; justify-content: space-between;
    gap: var(--space-3); margin-top: var(--space-3); flex-wrap: wrap;
}
.cart-item__subtotal { font-size: var(--text-lg); font-weight: 800; color: var(--ink-strong); }
.cart-item__remove {
    position: absolute; top: var(--space-3); right: var(--space-3);
    width: 40px; height: 40px; border: none; background: transparent;
    color: var(--state-danger); opacity: .7;
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    transition: all var(--dur-fast) var(--ease-std);
}
.cart-item__remove:hover { opacity: 1; background: rgba(232, 135, 155, .12); }
.cart-item__remove svg { width: 20px; height: 20px; }
@media (min-width: 768px) {
    .cart-item { grid-template-columns: 100px 1fr; }
    .cart-item__img { width: 100px; height: 100px; }
}

.summary {
    background: var(--surface-card); border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg); padding: var(--space-6);
    box-shadow: var(--shadow-sm);
}
@media (min-width: 900px) { .summary { position: sticky; top: 88px; } }
.summary h2 { font-size: var(--text-lg); margin-bottom: var(--space-4); }
.summary__row {
    display: flex; justify-content: space-between;
    padding-block: var(--space-2); font-size: var(--text-sm); color: var(--ink-body);
}
.summary__row.total {
    border-top: 1px solid var(--border-subtle);
    margin-top: var(--space-2); padding-top: var(--space-4);
    font-size: var(--text-lg); font-weight: 800; color: var(--ink-strong);
}
.summary__cta { margin-top: var(--space-5); display: flex; flex-direction: column; gap: var(--space-3); }

.cart-empty { text-align: center; padding: var(--space-16) var(--space-4); }
.cart-empty svg { width: 80px; height: 80px; color: var(--border-subtle); margin: 0 auto var(--space-4); }
.cart-empty h2 { font-size: var(--text-xl); margin-bottom: var(--space-2); }
.cart-empty p { color: var(--ink-muted); margin-bottom: var(--space-6); }

/* Mobile sticky checkout bar */
.cart-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
    background: var(--surface-card);
    border-top: 1px solid var(--border-subtle); box-shadow: var(--shadow-lg);
    padding: var(--space-3) var(--space-4) calc(var(--space-3) + env(safe-area-inset-bottom));
    display: flex; align-items: center; gap: var(--space-3);
}
.cart-bar .total-lbl { display: flex; flex-direction: column; line-height: 1.1; }
.cart-bar .total-lbl .lbl { font-size: var(--text-xs); color: var(--ink-muted); }
.cart-bar .total-lbl .val { font-size: var(--text-xl); font-weight: 800; color: var(--ink-strong); }
.cart-bar .btn { flex: 1; }
@media (min-width: 900px) { .cart-bar { display: none; } }

/* ── Checkout & forms ── */
.checkout-layout { display: grid; grid-template-columns: 1fr; gap: var(--space-6); }
@media (min-width: 900px) { .checkout-layout { grid-template-columns: 1.4fr 1fr; align-items: start; } }
.form-card {
    background: var(--surface-card); border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg); padding: var(--space-6);
    box-shadow: var(--shadow-sm);
}
@media (min-width: 768px) { .form-card { padding: var(--space-8); } }
.form-card + .form-card { margin-top: var(--space-5); }
.form-card h2 { font-size: var(--text-lg); margin-bottom: var(--space-5); }

.field { margin-bottom: var(--space-5); }
.field:last-child { margin-bottom: 0; }
.field label { display: block; font-size: var(--text-sm); font-weight: 600; color: var(--ink-body); margin-bottom: 6px; }
.field .hint { font-size: var(--text-xs); color: var(--ink-muted); margin-top: 4px; }
.field input, .field textarea, .field select {
    width: 100%; padding: 12px 16px;
    border: 1.5px solid var(--border-subtle); border-radius: var(--radius-md);
    background: var(--surface-card); font-size: var(--text-base);
    color: var(--ink-strong); font-family: inherit;
    transition: border-color var(--dur-base) var(--ease-std), box-shadow var(--dur-base) var(--ease-std);
}
.field input:focus, .field textarea:focus, .field select:focus {
    outline: none; border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px var(--brand-primary-soft);
}
.field textarea { resize: vertical; min-height: 84px; line-height: var(--lh-normal); }
.field--error input, .field--error textarea { border-color: var(--state-danger); }
.field__error { font-size: var(--text-sm); color: var(--state-danger); margin-top: 4px; display: none; }
.field--error .field__error { display: block; }

.zone-cards { display: grid; grid-template-columns: 1fr; gap: var(--space-3); }
.zone-card {
    display: flex; align-items: center; gap: var(--space-3);
    border: 1.5px solid var(--border-subtle); border-radius: var(--radius-md);
    padding: var(--space-4); cursor: pointer;
    transition: all var(--dur-base) var(--ease-std);
}
.zone-card:hover { border-color: var(--brand-primary); }
.zone-card input {
    appearance: none; -webkit-appearance: none;
    width: 22px; height: 22px;
    border: 2px solid var(--border-subtle); border-radius: 50%;
    flex-shrink: 0; position: relative; margin: 0;
    transition: border-color var(--dur-base) var(--ease-std);
}
.zone-card input:checked { border-color: var(--brand-primary); }
.zone-card input:checked::after {
    content: ""; position: absolute; inset: 3px;
    border-radius: 50%; background: var(--brand-primary);
}
.zone-card__body { flex: 1; }
.zone-card__title { font-weight: 700; color: var(--ink-strong); }
.zone-card__sub { font-size: var(--text-sm); color: var(--ink-muted); }
.zone-card__price { font-weight: 800; color: var(--ink-strong); }
.zone-card:has(input:checked) { border-color: var(--brand-primary); background: var(--brand-primary-soft); }

.confirm-note {
    font-size: var(--text-sm); color: var(--ink-muted);
    margin-top: var(--space-3); text-align: center;
    display: flex; align-items: center; justify-content: center; gap: 6px;
}
.confirm-note svg { width: 16px; height: 16px; color: var(--brand-mint); }

.checkout-summary-toggle {
    display: flex; align-items: center; justify-content: space-between; width: 100%;
    background: var(--surface-card); border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg); padding: var(--space-4);
    font-weight: 700; color: var(--ink-strong); cursor: pointer;
    margin-bottom: var(--space-4);
}
.checkout-summary-toggle .val { color: var(--brand-coral); }
@media (min-width: 900px) { .checkout-summary-toggle { display: none; } }

.order-line {
    display: flex; gap: var(--space-3);
    padding-block: var(--space-3);
    border-bottom: 1px solid var(--border-subtle);
}
.order-line:last-of-type { border-bottom: none; }
.order-line__img {
    width: 48px; height: 48px; border-radius: var(--radius-sm);
    overflow: hidden; background: var(--surface-sunken); flex-shrink: 0;
}
.order-line__img img { width: 100%; height: 100%; object-fit: cover; }
.order-line__body { flex: 1; min-width: 0; }
.order-line__name { font-size: var(--text-sm); font-weight: 600; color: var(--ink-strong); }
.order-line__qty { font-size: var(--text-xs); color: var(--ink-muted); }
.order-line__price {
    font-weight: 700; color: var(--ink-strong);
    font-size: var(--text-sm); margin-left: auto; align-self: center;
}

/* Page-level padding for sticky bars */
.has-sticky-cta { padding-bottom: 96px; }
@media (min-width: 768px) { .has-sticky-cta { padding-bottom: 0; } }
.has-cart-bar { padding-bottom: 96px; }
@media (min-width: 900px) { .has-cart-bar { padding-bottom: 0; } }

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
    }
    .hero__image-wrap { animation: none; }
    .product-card:hover { transform: none; }
    .btn--primary:hover, .btn-primary:hover { transform: none; }
    .toast, .fab-cart { transition: opacity var(--dur-base) var(--ease-std); }
}

/* ════════════════════════════════════════════════
   ADMIN (preserved — used by admin/* templates)
   ════════════════════════════════════════════════ */

.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar {
    width: 240px; background: var(--dark); color: var(--text-on-dark-bright);
    padding: 24px 0; position: fixed; top: 0; left: 0; bottom: 0;
    overflow-y: auto; z-index: 200;
    transition: transform 0.3s ease;
}
.admin-sidebar .sidebar-brand {
    padding: 0 20px 24px; border-bottom: 1px solid var(--dark-light);
    font-size: 1.1rem; font-weight: 800;
    display: flex; justify-content: space-between; align-items: center;
}
.admin-sidebar .sidebar-brand span { color: var(--secondary); }
.sidebar-close { display: none; background: none; border: none; color: var(--text-on-dark); font-size: 1.6rem; cursor: pointer; }
.admin-sidebar nav { padding: 14px 12px; display: flex; flex-direction: column; gap: 4px; }
.admin-sidebar nav a {
    display: flex; align-items: center; gap: 10px; padding: 11px 18px;
    color: var(--text-on-dark); font-weight: 600; font-size: 0.88rem;
    transition: all 0.2s; border-radius: 10px;
}
.admin-sidebar nav a svg { flex-shrink: 0; opacity: 0.7; }
.admin-sidebar nav a:hover svg, .admin-sidebar nav a.active svg { opacity: 1; }
.admin-sidebar nav a:hover { background: rgba(255, 255, 255, 0.1); color: var(--text-on-dark-bright); }
.admin-sidebar nav a.active { background: rgba(255, 255, 255, 0.15); color: var(--text-on-dark-bright); }
.admin-main { margin-left: 240px; flex: 1; padding: 30px; background: var(--bg); min-height: 100vh; }
.admin-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; flex-wrap: wrap; gap: 12px; }
.admin-header h1 { font-size: 1.6rem; font-weight: 800; }
.admin-mobile-bar { display: none; }
.admin-overlay { display: none; }

.admin-card {
    background: var(--card); border-radius: var(--radius); padding: 24px;
    box-shadow: var(--shadow); margin-bottom: 24px;
}
.admin-card h2 { font-size: 1.1rem; font-weight: 800; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px solid var(--border); }

.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-bottom: 28px; }
.stat-card {
    background: var(--card); border-radius: var(--radius); padding: 24px;
    box-shadow: var(--shadow); border-left: 5px solid var(--primary);
}
.stat-card.orange { border-left-color: var(--secondary); }
.stat-card.green { border-left-color: var(--accent); }
.stat-card.pink { border-left-color: var(--danger); }
.stat-card .stat-num { font-size: 2rem; font-weight: 800; color: var(--text); }
.stat-card .stat-label { font-size: 0.8rem; color: var(--text-light); text-transform: uppercase; letter-spacing: 1px; margin-top: 4px; }

.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th {
    background: var(--bg-alt); padding: 12px 14px; text-align: left;
    font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.5px;
    color: var(--text-light); border-bottom: 2px solid var(--border);
}
.admin-table td { padding: 12px 14px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.admin-table tr:hover { background: var(--bg); }
.admin-table img { width: 50px; height: 50px; border-radius: 8px; object-fit: cover; }

.status-badge { display: inline-block; padding: 4px 12px; border-radius: 20px; font-size: 0.75rem; font-weight: 700; }
.status-pending { background: #fff3cd; color: #856404; }
.status-confirmed { background: #d4edda; color: #155724; }
.status-delivered { background: #cce5ff; color: #004085; }
.status-cancelled { background: #f8d7da; color: #721c24; }

.admin-form .form-group { margin-bottom: 20px; }
.admin-form label { display: block; font-weight: 700; margin-bottom: 6px; font-size: 0.88rem; }
.admin-form input, .admin-form textarea, .admin-form select {
    width: 100%; padding: 12px 16px; border: 2px solid var(--border);
    border-radius: 12px; font-size: 0.95rem; font-family: inherit;
}
.admin-form input:focus, .admin-form textarea:focus, .admin-form select:focus { outline: none; border-color: var(--primary); }
.admin-form .hint { font-size: 0.78rem; color: var(--text-light); margin-top: 4px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-actions { display: flex; gap: 12px; margin-top: 8px; }
.img-preview { width: 120px; height: 120px; border-radius: 12px; object-fit: cover; border: 2px solid var(--border); margin-top: 8px; }

/* Admin flash messages */
.flash {
    padding: 12px 18px; border-radius: 10px; margin-bottom: 16px;
    font-weight: 600; font-size: 0.9rem;
}
.flash-success { background: #d4edda; color: #155724; border-left: 4px solid #28a745; }
.flash-error { background: #f8d7da; color: #721c24; border-left: 4px solid var(--secondary); }

/* Admin login */
.login-page {
    display: flex; align-items: center; justify-content: center; min-height: 100vh;
    background: linear-gradient(135deg, var(--primary-light), var(--secondary), var(--warm));
}
.login-card {
    background: var(--card); padding: 36px 28px; border-radius: 20px;
    width: 400px; max-width: 92vw; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}
.login-card h1 { text-align: center; font-size: 1.5rem; font-weight: 800; margin-bottom: 8px; color: var(--primary); }
.login-card p { text-align: center; color: var(--text-light); margin-bottom: 28px; }

/* Invoice card */
.invoice-card {
    background: var(--card); padding: 44px; border-radius: var(--radius);
    box-shadow: var(--shadow); max-width: 800px; margin: 0 auto;
}

/* Admin print */
@media print {
    .nav, .footer, .fab-cart, .toast-stack, .no-print, .flash, .cart-bar, .sticky-cta { display: none !important; }
    body { background: var(--card); }
    .invoice-card { box-shadow: none; padding: 20px; }
}

/* Admin mobile */
@media (max-width: 900px) {
    .admin-sidebar { transform: translateX(-100%) !important; width: 260px; }
    .admin-sidebar.open { transform: translateX(0) !important; }
    .sidebar-close { display: block !important; }
    .admin-main { margin-left: 0 !important; padding: 20px 14px !important; padding-top: 72px !important; }
    .admin-mobile-bar {
        display: flex !important; align-items: center; gap: 12px;
        position: fixed; top: 0; left: 0; right: 0; z-index: 100;
        background: var(--dark); padding: 12px 16px; height: 58px;
        box-shadow: 0 2px 10px rgba(61, 52, 85, 0.2);
    }
    .admin-menu-btn {
        background: rgba(255, 255, 255, 0.1); border: none; color: var(--text-on-dark-bright);
        font-size: 1.4rem; cursor: pointer; padding: 6px 10px; border-radius: 8px;
    }
    .admin-mobile-title { color: var(--text-on-dark-bright); font-weight: 700; font-size: 1rem; }
    .admin-overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.5); z-index: 150; display: none; }
    .admin-overlay.show { display: block !important; }
    .admin-header { flex-direction: column; align-items: flex-start; gap: 10px; }
    .admin-header h1 { font-size: 1.2rem; }
    .admin-header .btn { width: 100%; text-align: center; }
    .stat-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .stat-card { padding: 16px; }
    .stat-card .stat-num { font-size: 1.5rem; }
    .admin-card { padding: 14px; overflow-x: auto; }
    .admin-card h2 { font-size: 1rem; }
    .admin-table { font-size: 0.76rem; min-width: 500px; }
    .admin-table th { padding: 8px 10px; font-size: 0.68rem; }
    .admin-table td { padding: 8px 10px; }
    .admin-table img { width: 40px; height: 40px; }
    .form-row { grid-template-columns: 1fr !important; }
    .form-actions { flex-direction: column; }
    .form-actions .btn { width: 100%; }
}

/* ── Elegant/premium type — matches imranthegreat.com (coffee/cream + serif display) ── */
:root { --font-en: 'Inter', system-ui, -apple-system, sans-serif; }
h1, h2, h3, h4,
.logo, .site-title, .brand, .section-title, .hero-title, .page-title {
    font-family: 'Playfair Display', Georgia, serif;
    letter-spacing: -0.01em;
}
