/* =====================================================================
   BAB BAKERY — v2 STYLES
   Mobile-first. Single bottom nav. Off-canvas sidebar. Hero with photo.
   ===================================================================== */

:root {
    --brand: #8b1e3f;
    --brand-dark: #61132b;
    --brand-2: #c13a66;
    --brand-soft: #f8dfe7;
    --gold: #f6c667;
    --cream: #fff8f2;
    --text: #23161b;
    --muted: #6b5b62;
    --muted-soft: rgba(35, 22, 27, .55);
    --surface: #ffffff;
    --surface-2: #fff4ec;
    --surface-3: #fff9f5;
    --border: rgba(139, 30, 63, 0.12);
    --shadow: 0 20px 60px rgba(38, 14, 22, 0.08);
    --shadow-soft: 0 10px 30px rgba(38, 14, 22, 0.06);
    --shadow-lifted: 0 24px 50px rgba(38, 14, 22, 0.14);
    --radius-xl: 28px;
    --radius-lg: 22px;
    --radius-md: 18px;
    --radius-sm: 12px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    letter-spacing: -0.01em;
    background:
        radial-gradient(circle at top left, rgba(246, 198, 103, .14), transparent 22%),
        linear-gradient(180deg, #fffaf6 0%, #fff5ef 42%, #fffdfa 100%);
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
}
main.pb-6 { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
@media (min-width: 992px) { main.pb-6 { padding-bottom: 3rem; } }
a { color: inherit; }
img { max-width: 100%; }

/* -------- Common utilities -------- */
.fw-800 { font-weight: 800; }
.text-brand { color: var(--brand) !important; }
.bg-brand, .btn-brand {
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%) !important;
    color: #fff !important;
    border: 0 !important;
    box-shadow: 0 14px 30px rgba(139, 30, 63, 0.22);
}
.btn-brand:hover, .btn-brand:focus {
    background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand) 100%) !important;
    transform: translateY(-1px);
}
.btn-outline-brand {
    color: var(--brand);
    border: 1.5px solid rgba(139, 30, 63, 0.28);
    background: transparent;
}
.btn-outline-brand:hover { color: #fff; background: var(--brand); border-color: var(--brand); }
.btn-soft {
    background: #fff;
    border: 1px solid rgba(20, 20, 20, 0.08);
    color: var(--text);
    border-radius: 999px;
    padding: .65rem 1rem;
    text-decoration: none;
}
.btn-soft:hover { background: var(--surface-2); color: var(--brand); }
.section-space { padding: 3.2rem 0; }
@media (min-width: 768px) { .section-space { padding: 4.5rem 0; } }
.section-tag {
    align-items: center;
    gap: .45rem;
    padding: .45rem .85rem;
    border-radius: 999px;
    background: rgba(139, 30, 63, 0.08);
    color: var(--brand);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .02em;
}
.section-tag::before {
    content: '';
    width: .5rem;
    height: .5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand), var(--gold));
}
.section-tag-light {
    background: rgba(255, 255, 255, .14);
    color: #fff;
}
.section-tag-light::before { background: linear-gradient(135deg, var(--gold), #fff); }
.page-h1 { font-size: clamp(1.5rem, 4.6vw, 2.1rem); font-weight: 800; line-height: 1.15; }
.clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* -------- Top utility strip -------- */
.top-utility-strip {
    background: linear-gradient(90deg, #3c0d1c 0%, #7b1835 60%, #a62f55 100%);
    color: rgba(255, 255, 255, .92);
    font-size: .78rem;
    padding: .45rem 0;
}
.top-utility-strip .util-left { font-weight: 600; }
.top-utility-strip i { font-size: .9rem; }
.theme-switcher {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    background: rgba(255,255,255,.1);
    padding: .2rem;
    border-radius: 999px;
}
.theme-chip {
    border: 0;
    border-radius: 999px;
    padding: .3rem .55rem;
    line-height: 1;
    font-size: .78rem;
    font-weight: 700;
    background: transparent;
    color: #fff;
    cursor: pointer;
    transition: all .2s ease;
}
.theme-chip.active {
    background: #fff;
    color: var(--brand-dark);
    box-shadow: 0 4px 12px rgba(0,0,0,.18);
}
.language-switch {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    background: rgba(255, 255, 255, .14);
    color: #fff;
    border-radius: 999px;
    padding: .25rem .6rem;
    border: 1px solid rgba(255, 255, 255, .2);
    font-size: .78rem;
    font-weight: 600;
}
.language-switch select {
    border: 0; background: transparent; color: inherit; outline: none;
    min-width: 38px; padding: 0;
}
.language-switch option { color: #1f1620; }

/* -------- Premium Navbar -------- */
.premium-navbar {
    background: rgba(255, 255, 255, .9);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(139, 30, 63, .08);
    padding: .65rem 0;
    z-index: 1040;
}
.brand-logo {
    width: 40px; height: 40px;
    border-radius: 13px;
    background: linear-gradient(135deg, rgba(139,30,63,.14), rgba(246,198,103,.35));
    display: inline-flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 18px rgba(139,30,63,.12);
}
.brand-logo-lg { width: 52px; height: 52px; border-radius: 16px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-title { font-size: 1rem; font-weight: 800; color: var(--text); }
.brand-subtitle { color: var(--muted); font-size: .68rem; font-weight: 500; }
@media (max-width: 380px) { .brand-subtitle { display: none; } }

.icon-pill {
    width: 42px; height: 42px;
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: #fff;
    border: 1px solid rgba(139,30,63,.12);
    color: var(--brand);
    position: relative;
    text-decoration: none;
    font-size: 1.15rem;
    transition: all .2s;
}
.icon-pill:hover { background: var(--brand); color: #fff; transform: translateY(-1px); }
.install-pill {
    background: linear-gradient(135deg, #f6c667, #f5a73a);
    border-color: transparent;
    color: #5d3a08;
}
.install-pill:hover { background: linear-gradient(135deg, #f5a73a, #e98f1a); color: #fff; }
.menu-toggle { padding: 0; }
.menu-bars { display: inline-flex; flex-direction: column; gap: 4px; }
.menu-bars span {
    display: block; width: 18px; height: 2px;
    background: var(--brand);
    border-radius: 2px;
    transition: all .25s;
}
.menu-toggle:hover .menu-bars span { background: #fff; }
.cart-count-badge {
    position: absolute;
    top: -3px; right: -3px;
    min-width: 18px; height: 18px;
    padding: 0 .3rem;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 999px;
    background: #e8d6db;
    color: var(--brand);
    font-size: .65rem;
    font-weight: 800;
    border: 2px solid #fff;
}
.cart-count-badge.has-items {
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    color: #fff;
}

/* -------- Off-canvas Side Menu -------- */
.side-menu {
    width: min(360px, 88vw);
    background: linear-gradient(180deg, #fffefb 0%, #fff6f0 100%);
    border-left: 1px solid var(--border);
}
.side-menu-header {
    padding: 1rem 1.1rem;
    display: flex; align-items: center; justify-content: space-between;
    border-bottom: 1px solid var(--border);
    background: rgba(255,255,255,.7);
}
.side-brand-title { font-weight: 800; font-size: 1.05rem; }
.side-brand-sub { color: var(--muted); font-size: .72rem; }
.side-close {
    width: 38px; height: 38px;
    border: 0; background: rgba(139,30,63,.08); color: var(--brand);
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
}
.side-close:hover { background: var(--brand); color: #fff; }
.side-menu-body {
    overflow-y: auto;
    padding: 1rem 1rem calc(1.4rem + env(safe-area-inset-bottom, 0px));
    flex: 1 1 auto;
}
.side-search {
    display: flex; align-items: center; gap: .5rem;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: .35rem .5rem .35rem .9rem;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-soft);
}
.side-search i { color: var(--muted); }
.side-search input { border: 0; background: transparent; flex: 1; outline: none; padding: .5rem 0; font-size: .92rem; }
.side-search-btn {
    width: 36px; height: 36px;
    border: 0; border-radius: 50%;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    color: #fff;
}

.side-nav-section { display: grid; gap: .25rem; margin-bottom: .85rem; }
.side-nav-link {
    display: flex; align-items: center; gap: .8rem;
    padding: .8rem .9rem;
    border-radius: 14px;
    text-decoration: none;
    color: var(--text);
    font-weight: 600;
    font-size: .94rem;
    transition: all .2s;
}
.side-nav-link i { color: var(--brand); font-size: 1.15rem; width: 22px; text-align: center; }
.side-nav-link:hover { background: rgba(139,30,63,.06); color: var(--brand); }
.side-nav-link.active {
    background: linear-gradient(135deg, rgba(139,30,63,.12), rgba(246,198,103,.18));
    color: var(--brand);
}
.side-link-tag {
    margin-left: auto;
    background: var(--brand);
    color: #fff;
    font-size: .7rem;
    font-weight: 800;
    padding: .15rem .5rem;
    border-radius: 999px;
    min-width: 22px;
    text-align: center;
}
.side-link-tag.has-items { background: linear-gradient(135deg, var(--brand), var(--brand-2)); }

.side-collapse-group {
    margin-top: .9rem;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 18px;
    overflow: hidden;
}
.side-collapse-toggle {
    width: 100%; border: 0;
    background: transparent;
    display: flex; align-items: center; justify-content: space-between;
    padding: .85rem 1rem;
    font-weight: 700;
    font-size: .92rem;
    color: var(--text);
    text-align: left;
}
.side-collapse-toggle i { color: var(--brand); }
.side-collapse-toggle .side-chev { transition: transform .25s; font-size: .85rem; }
.side-collapse-toggle[aria-expanded="false"] .side-chev { transform: rotate(-90deg); }

.side-cat-list { padding: .25rem .5rem .7rem; display: grid; gap: .3rem; }
.side-cat-row {
    display: flex; align-items: center; gap: .8rem;
    padding: .55rem .55rem;
    border-radius: 14px;
    text-decoration: none;
    color: var(--text);
    transition: background .2s;
}
.side-cat-row:hover { background: var(--surface-2); color: var(--brand); }
.side-cat-row img {
    width: 50px; height: 50px;
    border-radius: 13px;
    object-fit: cover;
    box-shadow: var(--shadow-soft);
}
.side-cat-row strong { display: block; font-size: .92rem; line-height: 1.2; }
.side-cat-row span { display: block; font-size: .73rem; color: var(--muted); }
.side-cat-row > .bi-chevron-right { margin-left: auto; color: var(--muted); font-size: .8rem; }

.side-quick-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: .55rem;
    padding: .25rem .65rem .8rem;
}
.side-quick-tile {
    display: flex; flex-direction: column; align-items: center; gap: .35rem;
    padding: .85rem .5rem;
    border-radius: 14px;
    text-decoration: none;
    color: var(--text);
    background: var(--surface-3);
    border: 1px solid var(--border);
    font-size: .8rem;
    font-weight: 600;
}
.side-quick-tile i { color: var(--brand); font-size: 1.4rem; }
.side-quick-tile:hover { background: var(--brand); color: #fff; }
.side-quick-tile:hover i { color: #fff; }

.side-pref-row {
    display: flex; align-items: center; justify-content: space-between;
    gap: .75rem;
    padding: .65rem 1rem .9rem;
}
.side-pref-label { font-size: .85rem; font-weight: 600; color: var(--muted); }
.side-theme-switcher { background: rgba(139,30,63,.08); }
.side-theme-switcher .theme-chip { color: var(--brand); padding: .35rem .65rem; font-size: .72rem; }
.side-theme-switcher .theme-chip.active { background: var(--brand); color: #fff; }
.side-language-switch { background: rgba(139,30,63,.08); color: var(--brand); border-color: transparent; }
.side-language-switch select { color: var(--brand); font-weight: 700; }

.side-install-cta {
    width: 100%;
    display: flex; align-items: center; gap: .8rem;
    padding: .85rem 1rem;
    border: 0;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    color: #fff;
    font-size: .92rem;
    margin-top: 1rem;
    box-shadow: var(--shadow-lifted);
    text-align: left;
}
.side-install-cta strong { display: block; font-weight: 800; }
.side-install-cta small { display: block; font-size: .72rem; opacity: .82; }
.side-install-cta i { font-size: 1.2rem; }

.side-support-block { margin-top: 1.1rem; padding: 1rem; background: rgba(139,30,63,.04); border-radius: 18px; }
.side-support-title { font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: .5rem; }
.side-support-row {
    display: flex; align-items: center; gap: .55rem;
    padding: .35rem 0;
    text-decoration: none;
    color: var(--text);
    font-size: .85rem;
    font-weight: 600;
}
.side-support-row i { color: var(--brand); }
.side-support-row.text-muted-soft { color: var(--muted); font-weight: 500; }

/* -------- HERO Section v2 (Hyperrealistic image) -------- */
.hero-shell-v2 {
    position: relative;
    padding: 1rem 0 2rem;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-bg-img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.05);
}
.hero-bg-overlay {
    position: absolute; inset: 0;
    background:
        linear-gradient(180deg, rgba(60, 13, 28, .55) 0%, rgba(60, 13, 28, .82) 50%, rgba(60, 13, 28, .92) 100%),
        radial-gradient(circle at 70% 30%, rgba(246, 198, 103, .25), transparent 55%);
}
.hero-inner {
    position: relative;
    z-index: 1;
    padding: 1.2rem 16px 1rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    align-items: center;
}
@media (min-width: 992px) {
    .hero-shell-v2 { padding: 2rem 0 3rem; }
    .hero-inner { grid-template-columns: 1.1fr .9fr; padding: 2rem 1rem; gap: 2rem; }
}
.hero-content { color: #fff; max-width: 640px; }
.hero-badge {
    display: inline-flex; align-items: center; gap: .5rem;
    background: rgba(255,255,255,.14);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,.2);
    padding: .4rem .85rem;
    border-radius: 999px;
    font-size: .76rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #fff;
}
.hero-badge-dot {
    width: .55rem; height: .55rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), #fff);
    box-shadow: 0 0 0 4px rgba(246, 198, 103, .22);
    animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 4px rgba(246, 198, 103, .22); }
    50% { box-shadow: 0 0 0 9px rgba(246, 198, 103, .05); }
}
.hero-title {
    font-size: clamp(2.1rem, 8vw, 3.6rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: .8rem;
}
.hero-title-accent {
    display: block;
    background: linear-gradient(135deg, var(--gold) 0%, #ffe4a8 60%, #fff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-lead {
    font-size: clamp(.95rem, 2.6vw, 1.1rem);
    color: rgba(255,255,255,.82);
    max-width: 52ch;
    margin-bottom: 1.2rem;
}
.hero-meta {
    display: flex; flex-wrap: wrap; gap: .6rem .85rem;
    margin-bottom: 1.3rem;
}
.hero-meta-item {
    display: inline-flex; align-items: center; gap: .55rem;
    padding: .55rem .8rem;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 999px;
    font-size: .8rem;
    backdrop-filter: blur(10px);
}
.hero-meta-item i {
    width: 28px; height: 28px;
    background: rgba(246,198,103,.22);
    color: var(--gold);
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
}
.hero-meta-item strong { display: block; color: #fff; font-size: .9rem; line-height: 1; }
.hero-meta-item span { display: block; color: rgba(255,255,255,.7); font-size: .68rem; }

.hero-actions {
    display: flex; flex-wrap: wrap; gap: .6rem;
    margin-bottom: 1.1rem;
}
.btn-hero-primary,
.btn-hero-secondary,
.btn-hero-ghost {
    display: inline-flex; align-items: center; justify-content: center;
    padding: .85rem 1.4rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    font-size: .92rem;
    border: 1.5px solid transparent;
    transition: all .25s;
    cursor: pointer;
}
.btn-hero-primary {
    background: linear-gradient(135deg, var(--gold) 0%, #ffd07a 100%);
    color: #4a2a05;
    box-shadow: 0 12px 30px rgba(246, 198, 103, .35);
}
.btn-hero-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 38px rgba(246, 198, 103, .5); color: #4a2a05; }
.btn-hero-secondary {
    background: rgba(255,255,255,.95);
    color: var(--brand-dark);
}
.btn-hero-secondary:hover { background: #fff; transform: translateY(-2px); }
.btn-hero-ghost {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,.4);
}
.btn-hero-ghost:hover { background: rgba(255,255,255,.12); color: #fff; }

.hero-trust {
    display: inline-flex; align-items: center; gap: .6rem;
    color: rgba(255,255,255,.78);
    font-size: .82rem;
}
.trust-stars { color: var(--gold); font-size: .92rem; }

/* Floating product cards next to hero on desktop */
.hero-float-cards {
    position: relative;
    height: 420px;
    display: flex !important;
    align-items: center; justify-content: center;
}
.float-card {
    position: absolute;
    background: rgba(255,255,255,.96);
    border-radius: 22px;
    padding: .7rem;
    box-shadow: 0 22px 50px rgba(20,20,20,.32);
    display: flex; align-items: center; gap: .7rem;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,.4);
}
.float-card img {
    width: 70px; height: 70px;
    object-fit: cover; border-radius: 16px;
}
.float-card-body strong { display: block; font-size: .9rem; color: var(--text); }
.float-card-body span { display: block; font-size: .76rem; color: var(--muted); }
.float-card-1 { top: 8%; left: 6%; animation: floatY 5s ease-in-out infinite; }
.float-card-2 { top: 38%; right: 4%; animation: floatY 6s ease-in-out infinite .3s; }
.float-card-3 { bottom: 8%; left: 16%; animation: floatY 5.4s ease-in-out infinite .6s; }
@keyframes floatY {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* Hero banner ribbon */
.hero-banner-ribbon {
    margin-top: 1.5rem;
    position: relative;
    z-index: 2;
}
.banner-strip {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: var(--shadow-lifted);
    aspect-ratio: 16/6;
    background: #000;
}
.banner-strip img {
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: .85;
}
.banner-strip-body {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 1.1rem 1.4rem;
    background: linear-gradient(180deg, transparent, rgba(0,0,0,.7));
    color: #fff;
}
.banner-strip-badge {
    display: inline-flex; align-items: center; gap: .35rem;
    background: var(--gold);
    color: #4a2a05;
    padding: .25rem .6rem;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 800;
    margin-bottom: .35rem;
}
.banner-strip-body h3 { font-weight: 800; margin-bottom: .15rem; font-size: 1.1rem; }
.banner-strip-body p { font-size: .82rem; opacity: .8; margin: 0; }

/* -------- Quick strip (4 tiles) -------- */
.quick-strip-section {
    margin-top: -1rem;
    position: relative;
    z-index: 3;
    padding: 0 12px;
}
@media (min-width: 992px) { .quick-strip-section { margin-top: -2rem; padding: 0 1rem; } }
.quick-strip-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: .65rem;
    background: #fff;
    padding: .9rem;
    border-radius: 22px;
    box-shadow: var(--shadow-lifted);
    border: 1px solid var(--border);
}
@media (min-width: 768px) { .quick-strip-grid { grid-template-columns: repeat(4, 1fr); gap: 1rem; padding: 1.2rem; } }
.quick-strip-tile {
    display: flex; align-items: center; gap: .7rem;
    padding: .7rem .8rem;
    border-radius: 16px;
    background: var(--surface-3);
    text-decoration: none;
    color: var(--text);
    border: 1px solid transparent;
    transition: all .25s;
}
.quick-strip-tile:hover {
    transform: translateY(-2px);
    background: #fff;
    border-color: var(--border);
    box-shadow: var(--shadow-soft);
    color: var(--brand);
}
.qs-icon {
    width: 44px; height: 44px; min-width: 44px;
    border-radius: 14px;
    display: inline-flex; align-items: center; justify-content: center;
    color: #fff;
    font-size: 1.2rem;
}
.qs-icon-1 { background: linear-gradient(135deg, #f59e0b, #f97316); }
.qs-icon-2 { background: linear-gradient(135deg, #16a34a, #15803d); }
.qs-icon-3 { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.qs-icon-4 { background: linear-gradient(135deg, var(--brand), var(--brand-2)); }
.quick-strip-tile strong { display: block; font-size: .9rem; font-weight: 700; }
.quick-strip-tile span { display: block; font-size: .72rem; color: var(--muted); }

/* -------- Category cards v2 (hyperrealistic images) -------- */
.section-head h2 { font-weight: 800; font-size: clamp(1.4rem, 4vw, 1.9rem); }
.category-grid .category-card-v2 {
    display: block;
    background: #fff;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
    transition: all .3s;
    color: var(--text);
    height: 100%;
}
.category-card-v2:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lifted);
    color: var(--brand);
}
.category-card-media {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}
.category-card-media img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .5s;
}
.category-card-v2:hover .category-card-media img { transform: scale(1.08); }
.category-card-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(60, 13, 28, .55) 100%);
}
.category-card-arrow {
    position: absolute;
    top: .7rem; right: .7rem;
    width: 36px; height: 36px;
    background: rgba(255,255,255,.92);
    color: var(--brand);
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    backdrop-filter: blur(8px);
    transition: all .25s;
}
.category-card-v2:hover .category-card-arrow {
    background: var(--brand);
    color: #fff;
    transform: rotate(45deg);
}
.category-card-body {
    padding: .9rem 1rem 1rem;
}
.category-card-body h3 {
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: .25rem;
    color: var(--text);
}
.category-card-body p {
    font-size: .78rem;
    color: var(--muted);
    margin: 0;
}

/* -------- Product cards v2 -------- */
.product-card-v2 {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
    transition: all .3s;
    display: flex;
    flex-direction: column;
}
.product-card-v2:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lifted);
}
.product-media-link {
    position: relative;
    display: block;
    aspect-ratio: 4/3;
    overflow: hidden;
    text-decoration: none;
}
.product-media-link img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .5s;
}
.product-card-v2:hover .product-media-link img { transform: scale(1.06); }
.product-cat-badge {
    position: absolute;
    left: .65rem; top: .65rem;
    background: rgba(255,255,255,.94);
    color: var(--brand);
    border-radius: 999px;
    padding: .25rem .6rem;
    font-size: .68rem;
    font-weight: 800;
    box-shadow: var(--shadow-soft);
}
.product-cat-badge-lg { font-size: .78rem; padding: .4rem .85rem; left: 1rem; top: 1rem; }
.product-card-body {
    padding: .8rem .9rem 1rem;
    display: flex; flex-direction: column;
    flex: 1 1 auto;
}
.product-card-body h3,
.product-card-body .h-prod {
    font-size: .98rem;
    font-weight: 700;
    margin-bottom: .25rem;
    line-height: 1.2;
}
.product-card-body p {
    font-size: .78rem;
    color: var(--muted);
    margin-bottom: .65rem;
    flex: 1 1 auto;
}
.product-card-foot {
    display: flex; align-items: center; justify-content: space-between;
    gap: .5rem;
}
.price-block strong {
    display: block;
    font-size: 1.05rem;
    color: var(--brand);
    font-weight: 800;
}
.price-block span {
    display: block;
    font-size: .68rem;
    color: var(--muted);
}
.btn-add-circle {
    width: 42px; height: 42px;
    border: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    color: #fff;
    font-size: 1.15rem;
    display: inline-flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 20px rgba(139,30,63,.28);
    transition: all .25s;
}
.btn-add-circle:hover { transform: scale(1.08) rotate(90deg); }

/* -------- Category chips row on menu page -------- */
.category-chips-row {
    display: flex;
    gap: .55rem;
    overflow-x: auto;
    padding: .25rem 0 .65rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.category-chips-row::-webkit-scrollbar { display: none; }
.cat-chip {
    display: inline-flex; align-items: center; gap: .5rem;
    background: #fff;
    border: 1px solid var(--border);
    color: var(--text);
    padding: .35rem .85rem .35rem .35rem;
    border-radius: 999px;
    text-decoration: none;
    font-size: .85rem;
    font-weight: 600;
    white-space: nowrap;
    transition: all .25s;
    flex: 0 0 auto;
}
.cat-chip:hover { background: var(--surface-2); color: var(--brand); }
.cat-chip.active {
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    color: #fff;
    border-color: transparent;
}
.cat-chip-icon {
    width: 32px; height: 32px;
    background: rgba(139,30,63,.08);
    color: var(--brand);
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: .9rem;
}
.cat-chip.active .cat-chip-icon { background: rgba(255,255,255,.22); color: #fff; }
.cat-chip-thumb {
    width: 32px; height: 32px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--surface-2);
}
.cat-chip-thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
}

/* -------- Premium search (legacy) -------- */
.premium-search {
    position: relative;
    display: flex; align-items: center; gap: .55rem;
    background: rgba(255, 255, 255, .92);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: .35rem .5rem .35rem 1rem;
    min-width: min(100%, 320px);
    box-shadow: var(--shadow-soft);
}
.premium-search i { color: var(--muted); }
.premium-search .form-control {
    border: 0;
    background: transparent;
    box-shadow: none !important;
    padding-left: 0;
}
.menu-search .btn { padding: .55rem 1.1rem; font-size: .85rem; }

/* -------- Page hero (lightweight) -------- */
.page-hero-light {
    background: linear-gradient(180deg, rgba(139,30,63,.04), rgba(255,255,255,0));
}

/* -------- Checkout progress -------- */
.checkout-progress-shell { padding: .9rem 0 .4rem; }
.checkout-steps {
    display: flex; align-items: center; gap: .55rem;
    max-width: 460px; margin: 0 auto;
    padding: 0 .5rem;
}
.checkout-steps .step {
    display: flex; flex-direction: column; align-items: center; gap: .25rem;
    flex: 0 0 auto;
}
.checkout-steps .step span {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: var(--surface-2);
    color: var(--muted);
    font-weight: 800;
    font-size: .85rem;
    display: inline-flex; align-items: center; justify-content: center;
    border: 1.5px solid var(--border);
}
.checkout-steps .step strong { font-size: .72rem; font-weight: 700; color: var(--muted); }
.checkout-steps .step.active span {
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    color: #fff;
    border-color: transparent;
    box-shadow: 0 6px 14px rgba(139,30,63,.28);
}
.checkout-steps .step.active strong { color: var(--brand); }
.checkout-steps .step.done span {
    background: #16a34a;
    color: #fff;
    border-color: transparent;
}
.checkout-steps .step.done strong { color: #15803d; }
.checkout-steps .step-line {
    flex: 1; height: 2px;
    background: var(--border);
    border-radius: 2px;
    margin-top: -1.1rem;
}
.checkout-steps .step-line.done { background: #16a34a; }

/* -------- Cart shell -------- */
.cart-shell-card,
.cart-summary-card,
.checkout-card,
.checkout-summary-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 22px;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}
.cart-shell-head,
.cart-summary-head,
.checkout-card-head,
.checkout-summary-head {
    padding: 1rem 1.1rem;
    border-bottom: 1px solid var(--border);
    display: flex; align-items: center; justify-content: space-between;
    gap: .75rem; flex-wrap: wrap;
    background: linear-gradient(180deg, #fff, var(--surface-3));
}
.cart-shell-body,
.cart-summary-body,
.checkout-summary-body {
    padding: 1rem 1.1rem;
}
.checkout-form-grid { padding: 1rem 1.1rem; display: grid; gap: 1.3rem; }
.cake-form-grid { padding: 1rem 1.1rem; display: grid; gap: 1.3rem; }
.checkout-section { display: grid; gap: .65rem; }
.checkout-section-title {
    display: inline-flex; align-items: center; gap: .55rem;
    font-weight: 800;
    font-size: .92rem;
    color: var(--brand);
}
.checkout-section-title i {
    width: 30px; height: 30px;
    background: rgba(139,30,63,.08);
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
}
.btn-soft-pill {
    display: inline-flex; align-items: center;
    padding: .45rem .9rem;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--brand);
    border-radius: 999px;
    font-weight: 700;
    font-size: .82rem;
    text-decoration: none;
}
.btn-soft-pill:hover { background: var(--brand); color: #fff; border-color: transparent; }

.fulfilment-toggle,
.payment-toggle {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .5rem;
    padding: .35rem;
    background: var(--surface-2);
    border-radius: 16px;
}
.fulfilment-toggle input,
.payment-toggle input { display: none; }
.fulfilment-toggle label,
.payment-toggle label {
    display: flex; align-items: center; justify-content: center; gap: .5rem;
    padding: .7rem;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 700;
    font-size: .88rem;
    color: var(--muted);
    transition: all .25s;
}
.fulfilment-toggle label i,
.payment-toggle label i { font-size: 1.05rem; }
.fulfilment-toggle input:checked + label,
.payment-toggle input:checked + label {
    background: #fff;
    color: var(--brand);
    box-shadow: var(--shadow-soft);
}

.checkout-badge {
    padding: .42rem .85rem;
    border-radius: 999px;
    background: rgba(22,163,74,.1);
    color: #15803d;
    font-weight: 700;
    font-size: .78rem;
    display: inline-flex; align-items: center;
}
.checkout-helper-note {
    padding: .85rem 1.1rem;
    color: var(--muted);
    background: var(--surface-2);
    border-top: 1px solid var(--border);
}

/* -------- Cart items -------- */
.cart-card-list { display: grid; gap: .85rem; }
.cart-item-card {
    display: grid;
    grid-template-columns: 92px 1fr;
    gap: .85rem;
    padding: .8rem;
    background: linear-gradient(180deg, #fff, var(--surface-3));
    border: 1px solid var(--border);
    border-radius: 18px;
}
.cart-item-media img {
    width: 92px; height: 92px;
    object-fit: cover;
    border-radius: 14px;
}
.cart-item-body h3 { font-size: 1rem; font-weight: 700; margin-bottom: .15rem; line-height: 1.2; }
.cart-item-body p { color: var(--muted); margin-bottom: 0; font-size: .8rem; }
.cart-item-price { color: var(--brand); font-weight: 800; font-size: 1.05rem; }
.cart-custom-tags {
    display: flex; flex-wrap: wrap; gap: .35rem;
    margin: .55rem 0 .7rem;
}
.cart-custom-tags span {
    padding: .3rem .55rem;
    border-radius: 999px;
    background: rgba(139,30,63,.07);
    font-size: .72rem;
    color: var(--brand);
}
.cart-item-actions {
    display: flex; justify-content: space-between; align-items: center;
    gap: .55rem; flex-wrap: wrap;
}
.qty-stepper { display: flex; align-items: center; gap: .55rem; flex-wrap: wrap; }
.qty-box {
    display: inline-flex; align-items: center;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: .2rem;
    gap: .15rem;
}
.qty-btn {
    width: 32px; height: 32px;
    border: 0;
    border-radius: 50%;
    background: rgba(139,30,63,.08);
    color: var(--brand);
    font-size: .85rem;
    display: inline-flex; align-items: center; justify-content: center;
}
.qty-btn:active { transform: scale(.92); }
.qty-input {
    width: 38px;
    text-align: center;
    border: 0;
    background: transparent;
    font-weight: 800;
    color: var(--text);
}
.qty-box.large .qty-btn { width: 38px; height: 38px; font-size: 1rem; }
.qty-box.large .qty-input { width: 44px; font-size: 1.05rem; }

.summary-row {
    display: flex; justify-content: space-between; gap: 1rem;
    margin-bottom: .65rem;
    font-size: .9rem;
    color: #4f4549;
}
.summary-row.total-row strong,
.summary-row.total-row span { font-size: 1.1rem; font-weight: 800; }
.summary-row.total-row strong { color: var(--brand); }
.checkout-line-item {
    display: flex; justify-content: space-between; gap: 1rem;
    padding: .8rem 0;
    border-bottom: 1px solid var(--border);
    font-size: .88rem;
}
.checkout-line-item:last-child { border-bottom: 0; }

/* -------- Product detail -------- */
.product-detail-section { }
.back-link {
    align-items: center;
    gap: .45rem;
    padding: .5rem .85rem;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 999px;
    text-decoration: none;
    color: var(--text);
    font-weight: 600;
    font-size: .85rem;
}
.back-link:hover { background: var(--brand); color: #fff; border-color: transparent; }
.product-gallery-card {
    position: relative;
    background: #fff;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
}
.product-view {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    display: block;
}
.product-gallery-card .carousel-control-prev,
.product-gallery-card .carousel-control-next {
    width: 42px; height: 42px;
    background: rgba(255,255,255,.92);
    border-radius: 50%;
    top: 50%; transform: translateY(-50%);
    opacity: 1;
}
.product-gallery-card .carousel-control-prev { left: .65rem; }
.product-gallery-card .carousel-control-next { right: .65rem; }
.product-gallery-card .carousel-control-prev-icon,
.product-gallery-card .carousel-control-next-icon {
    filter: invert(20%) sepia(70%) saturate(2000%) hue-rotate(330deg);
    width: 18px; height: 18px;
}
.carousel-indicators-pill {
    position: absolute; bottom: 1rem; left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,.5);
    border-radius: 999px;
    padding: .4rem .55rem;
    display: flex; gap: .35rem;
}
.carousel-indicators-pill button {
    width: 8px; height: 8px; border-radius: 50%; border: 0;
    background: rgba(255,255,255,.5);
    padding: 0;
}
.carousel-indicators-pill button.active { background: #fff; width: 22px; border-radius: 5px; }

.product-info-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 1.2rem;
    box-shadow: var(--shadow-soft);
}
.prod-title { font-size: clamp(1.3rem, 4vw, 1.8rem); font-weight: 800; line-height: 1.2; }
.prod-price {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--brand);
}
.quick-custom-card {
    background: linear-gradient(180deg, #fff, var(--surface-3));
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 1rem;
}
.product-action-bar {
    display: grid;
    gap: .55rem;
    grid-template-columns: 1fr;
}
@media (min-width: 768px) { .product-action-bar { grid-template-columns: 1fr 1fr 1fr; } }

/* -------- Cake price bar -------- */
.cake-price-bar {
    display: flex; align-items: center; justify-content: space-between;
    gap: 1rem; flex-wrap: wrap;
    padding: 1rem 1.1rem;
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
    color: #fff;
    border-radius: 18px;
    margin-top: .35rem;
}
.cake-price-bar > div:first-child span { display: block; font-size: .72rem; opacity: .85; }
.cake-price-bar > div:first-child strong { font-size: 1.65rem; font-weight: 800; }

/* -------- Feature list -------- */
.feature-list { display: grid; gap: .65rem; }
.feature-list.single-column { grid-template-columns: 1fr; }
.feature-list div {
    display: flex; align-items: center; gap: .65rem;
    padding: .75rem .9rem;
    border-radius: 14px;
    background: rgba(255,255,255,.72);
    border: 1px solid var(--border);
    font-size: .88rem;
}
.feature-list i { color: #15803d; font-size: 1rem; }
.premium-strip {
    padding: 1.25rem;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(139,30,63,.06), rgba(246,198,103,.16));
    border: 1px solid var(--border);
}

/* -------- Chatbot box (legacy) -------- */
.premium-card {
    background: #fff;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}
.info-card { height: 100%; }
.premium-chatbox {
    border-radius: 18px;
    background: linear-gradient(180deg, #fff, var(--surface-3));
    border: 1px solid var(--border);
    padding: .85rem;
}
.status-dot { width: .65rem; height: .65rem; border-radius: 50%; background: #3fc882; box-shadow: 0 0 0 6px rgba(63, 200, 130, 0.12); }
.chatbox {
    background: linear-gradient(180deg, #fff, var(--surface-3));
    border-radius: 16px;
    padding: 12px;
    min-height: 200px;
    max-height: 280px;
    overflow: auto;
    border: 1px solid var(--border);
}
.bubble {
    padding: .6rem .8rem;
    border-radius: 14px;
    display: inline-block;
    max-width: 92%;
    margin-bottom: .55rem;
    font-size: .88rem;
}
.bot { background: #fff; border: 1px solid var(--border); }
.user {
    background: linear-gradient(135deg, var(--brand-soft), #ffd6d9);
    border: 1px solid rgba(193, 58, 102, 0.16);
    margin-left: auto; display: block;
}

/* -------- Footer -------- */
.footer-shell { padding: 1rem 0 calc(96px + env(safe-area-inset-bottom, 0px)); }
@media (min-width: 992px) { .footer-shell { padding-bottom: 2rem; } }
.footer-card {
    background: linear-gradient(135deg, #2b0f17 0%, #4d1428 45%, #782541 100%);
    border-radius: 28px;
    padding: 1.6rem;
    box-shadow: 0 25px 55px rgba(33, 9, 16, 0.16);
}
.footer-actions { }
.footer-action {
    display: inline-flex; align-items: center; gap: .45rem;
    padding: .5rem .9rem;
    border-radius: 999px;
    background: rgba(255,255,255,.12);
    color: #fff;
    text-decoration: none;
    font-size: .85rem;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,.14);
}
.footer-action:hover { background: rgba(255,255,255,.22); color: #fff; }
.footer-metrics .metric-card {
    height: 100%;
    padding: .9rem 1rem;
    border-radius: 18px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.08);
    color: rgba(255,255,255,.92);
}
.metric-card span, .metric-card strong { display: block; }
.metric-card span { color: rgba(255,255,255,.6); font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: .2rem; }
.metric-card strong { font-size: .92rem; }
.footer-fineprint { padding-top: 1rem; }

/* -------- SINGLE bottom navigation (ONE line only) -------- */
.bottom-nav {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(20px);
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    padding: .4rem .2rem calc(.4rem + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--border);
    z-index: 1030;
    box-shadow: 0 -12px 28px rgba(20,20,20,.06);
}
.bottom-nav a {
    text-decoration: none;
    color: #6b5d62;
    font-size: .65rem;
    font-weight: 600;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: .18rem;
    padding: .35rem .15rem;
    border-radius: 14px;
    min-height: 48px;
    position: relative;
    transition: color .2s;
}
.bottom-nav a i { font-size: 1.15rem; }
.bottom-nav a:hover,
.bottom-nav a:focus { color: var(--brand); }
.bottom-nav a.active { color: var(--brand); }
.bottom-nav a.active::before {
    content: '';
    position: absolute;
    top: 2px; left: 50%; transform: translateX(-50%);
    width: 22px; height: 3px;
    border-radius: 3px;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
}
/* Raised cart in middle */
.cart-nav-cta .cart-nav-bubble {
    width: 52px; height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    box-shadow: 0 12px 28px rgba(139,30,63,.4);
    margin-top: -28px;
    position: relative;
    font-size: 1.4rem;
}
.cart-nav-cta .cart-nav-bubble .cart-count-badge {
    position: absolute;
    top: -4px; right: -4px;
    background: var(--gold);
    color: #4a2a05;
    font-size: .68rem;
    border: 2px solid #fff;
}
.cart-nav-cta .cart-nav-bubble .cart-count-badge.has-items {
    background: var(--gold);
    color: #4a2a05;
}
.cart-nav-cta {
    color: var(--brand) !important;
    font-weight: 700;
}
.cart-nav-cta::before { display: none !important; }
.cart-nav-cta span:last-child { margin-top: -2px; }

/* -------- Mobile sticky bottom action bar (cart/checkout/product) -------- */
.cart-mobile-action-bar {
    position: fixed;
    left: 12px; right: 12px;
    bottom: calc(74px + env(safe-area-inset-bottom, 0px));
    z-index: 1029;
    display: flex;
    gap: .55rem;
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(18px);
    padding: .55rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    box-shadow: 0 20px 40px rgba(20,20,20,.18);
}
.product-mobile-bar { gap: .5rem; }
.btn-wa-icon {
    width: 50px; height: 50px;
    border: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, #25d366, #15803d);
    color: #fff;
    font-size: 1.45rem;
    display: inline-flex; align-items: center; justify-content: center;
    flex: 0 0 auto;
    box-shadow: 0 8px 20px rgba(22,163,74,.32);
}
.btn-checkout-cta {
    flex: 1 1 auto;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    color: #fff;
    font-weight: 800;
    font-size: 1rem;
    padding: .85rem 1.2rem;
    display: inline-flex; align-items: center; justify-content: center;
    text-decoration: none;
    box-shadow: 0 12px 28px rgba(139,30,63,.32);
}
.btn-checkout-cta:hover { color: #fff; }

/* -------- Form controls -------- */
.form-control,
.form-select {
    border-radius: 14px;
    border: 1px solid var(--border);
    padding: .7rem .9rem;
    box-shadow: none !important;
    font-size: .92rem;
}
.form-control:focus,
.form-select:focus {
    border-color: rgba(139, 30, 63, 0.4);
    box-shadow: 0 0 0 .22rem rgba(139, 30, 63, 0.1) !important;
}
.form-control-lg, .form-select-lg { padding: .85rem 1rem; font-size: 1rem; }
.form-label { font-weight: 600; font-size: .82rem; color: var(--muted); margin-bottom: .35rem; }

/* -------- Toasts -------- */
.toast-container { padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }
.toast.text-bg-dark { background: #2d1019 !important; border-radius: 14px; box-shadow: 0 12px 30px rgba(20,20,20,.18); }

#chatbotActions .btn { border-radius: 12px; padding: .6rem .9rem; font-weight: 600; font-size: .85rem; }

/* -------- Install modal -------- */
.install-modal { border-radius: 26px; }
.install-modal .modal-content { border-radius: 26px; }
.install-modal .modal-body { background: linear-gradient(180deg, #fff, var(--surface-3)); border-radius: 26px; }
.install-panel { background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 1rem; }
.manual-install-steps { display: grid; gap: .55rem; }
.step-item {
    display: flex; align-items: flex-start; gap: .85rem;
    padding: .85rem;
    border-radius: 14px;
    background: rgba(139, 30, 63, 0.04);
}
.step-item > span {
    width: 28px; height: 28px; min-width: 28px;
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    color: #fff; font-weight: 800; font-size: .82rem;
}

/* -------- Track result -------- */
.track-result-card {
    border-radius: 22px;
    padding: 1.2rem;
    background: linear-gradient(180deg, #fff, var(--surface-3));
    border: 1px solid var(--border);
}
.track-result-card.success { box-shadow: var(--shadow-soft); }
.track-result-card.error { border-color: rgba(220,53,69,.18); }
.track-result-card.muted { color: var(--muted); }
.metric-soft-card {
    height: 100%;
    border-radius: 16px;
    background: linear-gradient(180deg, #fff, var(--surface-3));
    border: 1px solid var(--border);
    padding: .85rem;
}
.metric-soft-card span,
.metric-soft-card strong { display: block; }
.metric-soft-card span { color: var(--muted); font-size: .72rem; margin-bottom: .25rem; }
.metric-soft-card strong { font-weight: 800; }

/* -------- Telugu language -------- */
html.lang-te body,
html.lang-te body *:not(.bi) {
    font-family: 'Noto Sans Telugu', 'Plus Jakarta Sans', sans-serif;
    letter-spacing: 0;
}

/* -------- Themes -------- */
body[data-theme="berry"] {
    --brand: #8b1e3f;
    --brand-dark: #61132b;
    --brand-2: #c13a66;
    --brand-soft: #f8dfe7;
    --gold: #f6c667;
}
body[data-theme="ocean"] {
    --brand: #0f766e;
    --brand-dark: #115e59;
    --brand-2: #14b8a6;
    --brand-soft: #d8f5f0;
    --gold: #5eead4;
    --surface-2: #eefdfa;
    --surface-3: #f2fffc;
    --border: rgba(15, 118, 110, 0.14);
    --text: #102a2b;
    --muted: #4f6f6d;
}
body[data-theme="night"] {
    --brand: #6366f1;
    --brand-dark: #4338ca;
    --brand-2: #8b5cf6;
    --brand-soft: #dde5f5;
    --gold: #7dd3fc;
    --cream: #eff6ff;
    --text: #e5eefb;
    --muted: #a9b6cc;
    --surface: #111827;
    --surface-2: #172033;
    --surface-3: #1f2a44;
    --border: rgba(125, 211, 252, 0.18);
    --shadow: 0 20px 60px rgba(1, 6, 19, 0.35);
    --shadow-soft: 0 10px 30px rgba(1, 6, 19, 0.25);
}
body[data-theme="night"] {
    background: radial-gradient(circle at top left, rgba(125,211,252,.10), transparent 24%), linear-gradient(180deg, #0b1220 0%, #111827 42%, #0f172a 100%);
    color: var(--text);
}
body[data-theme="night"] .premium-navbar,
body[data-theme="night"] .product-card-v2,
body[data-theme="night"] .category-card-v2,
body[data-theme="night"] .cart-shell-card,
body[data-theme="night"] .cart-summary-card,
body[data-theme="night"] .checkout-card,
body[data-theme="night"] .checkout-summary-card,
body[data-theme="night"] .quick-strip-grid,
body[data-theme="night"] .quick-strip-tile,
body[data-theme="night"] .product-info-card,
body[data-theme="night"] .product-gallery-card,
body[data-theme="night"] .premium-card,
body[data-theme="night"] .cart-item-card,
body[data-theme="night"] .track-result-card,
body[data-theme="night"] .install-modal,
body[data-theme="night"] .install-modal .modal-content,
body[data-theme="night"] .premium-chatbox,
body[data-theme="night"] .chatbox,
body[data-theme="night"] .install-panel,
body[data-theme="night"] .side-menu,
body[data-theme="night"] .side-collapse-group,
body[data-theme="night"] .side-search,
body[data-theme="night"] .side-quick-tile,
body[data-theme="night"] .bottom-nav,
body[data-theme="night"] .cart-mobile-action-bar,
body[data-theme="night"] .float-card {
    background: rgba(23, 32, 51, 0.92) !important;
    color: var(--text);
    border-color: var(--border) !important;
}
body[data-theme="night"] .form-control,
body[data-theme="night"] .form-select,
body[data-theme="night"] textarea {
    background: rgba(15, 23, 42, .8);
    border-color: var(--border);
    color: var(--text);
}
body[data-theme="night"] .text-muted,
body[data-theme="night"] .price-block span,
body[data-theme="night"] .quick-strip-tile span,
body[data-theme="night"] .product-card-body p,
body[data-theme="night"] .category-card-body p { color: var(--muted) !important; }
body[data-theme="night"] .brand-title,
body[data-theme="night"] .side-brand-title,
body[data-theme="night"] .side-nav-link,
body[data-theme="night"] .product-card-body h3,
body[data-theme="night"] .product-card-body .h-prod,
body[data-theme="night"] .category-card-body h3,
body[data-theme="night"] .bottom-nav a { color: var(--text) !important; }

/* -------- Responsive tweaks -------- */
@media (max-width: 575.98px) {
    .hero-meta { gap: .4rem; }
    .hero-meta-item { padding: .45rem .65rem; font-size: .72rem; }
    .hero-meta-item strong { font-size: .8rem; }
    .hero-meta-item i { width: 24px; height: 24px; font-size: .85rem; }
    .btn-hero-primary, .btn-hero-secondary, .btn-hero-ghost { padding: .75rem 1.1rem; font-size: .85rem; }
    .product-card-body h3, .product-card-body .h-prod { font-size: .9rem; }
    .price-block strong { font-size: .95rem; }
    .cart-item-card { grid-template-columns: 76px 1fr; gap: .65rem; padding: .65rem; }
    .cart-item-media img { width: 76px; height: 76px; }
}
@media (max-width: 991.98px) {
    .checkout-card-head, .cart-shell-head, .cart-summary-head, .checkout-summary-head { padding: .8rem .95rem; }
    .checkout-form-grid, .cake-form-grid { padding: .9rem .95rem; gap: 1.1rem; }
    .checkout-summary-body, .cart-summary-body, .cart-shell-body { padding: .9rem .95rem; }
    .product-detail-section { padding-top: .5rem; }
    .product-info-card { padding: 1rem; }
}
@media (min-width: 992px) {
    .bottom-nav { display: none; }
    .cart-mobile-action-bar { display: none; }
}

/* Hide legacy floating mobile quicklinks if any leftover */
.mobile-quicklinks { display: none !important; }
