:root {
    /* ---- Premium "night sky + fireworks" palette ---- */
    --ink: #15121E;
    --muted: #736C82;
    --bg: #FAF7F1;
    --surface: #FFFFFF;
    --line-soft: rgba(21,18,30,0.06);

    --night: #0A0912;
    --night-2: #1B1330;
    --night-3: #331B4D;

    --gold-1: #FFD873;
    --gold-2: #E7A93D;
    --gold-ink: #40260A;

    --magenta: #FF4D8D;
    --violet: #8B5CF6;
    --teal: #22C7AE;
    --success: #1FA36A;
    --danger: #FF5470;

    --radius: 22px;
    --radius-sm: 14px;

    --font-display: 'Bricolage Grotesque', system-ui, sans-serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --shadow-float: 0 10px 26px rgba(21,18,30,0.08), 0 2px 6px rgba(21,18,30,0.05);
    --shadow-float-lg: 0 24px 56px rgba(21,18,30,0.16), 0 6px 18px rgba(21,18,30,0.08);
    --shadow-gold: 0 10px 26px rgba(231,169,61,0.4);

    --main-pad: clamp(20px, 4vw, 56px);
}

* { box-sizing: border-box; }

html { font-size: 16px; }

body {
    margin: 0;
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--ink);
    -webkit-font-smoothing: antialiased;
    font-size: 1rem;
    line-height: 1.55;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

h1, h2, h3 { font-family: var(--font-display); color: var(--ink); margin: 0; }

button { font-family: var(--font-body); }

/* ================= Marquee (dark ticker, multiple rolling items) ================= */
.marquee-bar {
    background: linear-gradient(90deg, var(--night), var(--night-3), var(--night));
    color: #fff;
    overflow: hidden;
    white-space: nowrap;
    padding: 10px 0;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.03em;
}

.marquee-track {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 42s linear infinite;
}

.marquee-item { margin: 0 22px; }
.marquee-spark { color: var(--gold-1); margin-right: 4px; }

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* ================= Header (light, clean, sticky) ================= */
.site-header {
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 10px 32px;
    background: #FFFFFF;
    color: var(--ink);
    position: sticky;
    top: 0;
    z-index: 200;
    box-shadow: 0 2px 14px rgba(21,18,30,0.08);
}

.site-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.site-logo-img {
    height: 62px;
    width: auto;
    max-width: 260px;
    object-fit: contain;
}

.site-logo-mark {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 22px;
    color: var(--ink);
    letter-spacing: -0.01em;
}

.site-logo-tamil {
    font-family: 'Catamaran', var(--font-display), sans-serif;
    font-weight: 800;
    letter-spacing: 0;
    font-size: 20px;
}

.site-logo-sub {
    font-family: var(--font-body);
    font-size: 10.5px;
    font-weight: 700;
    color: var(--gold-2);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-top: 3px;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 15px;
    font-weight: 600;
}

.site-nav a {
    color: var(--muted);
    position: relative;
    padding: 8px 14px;
    border-radius: 999px;
    transition: color 0.15s ease, background 0.15s ease;
}
.site-nav a:hover { color: var(--ink); background: rgba(21,18,30,0.05); }
.site-nav a::after {
    content: '';
    position: absolute;
    left: 14px; right: 14px; bottom: 2px;
    height: 2px;
    background: linear-gradient(90deg, var(--gold-2), var(--magenta));
    transform: scaleX(0);
    transition: transform 0.2s ease;
}
.site-nav a:hover::after { transform: scaleX(1); }

.site-nav a.active {
    background: linear-gradient(90deg, var(--gold-2), var(--gold-1));
    color: var(--gold-ink);
    font-weight: 700;
}
.site-nav a.active::after { display: none; }
.site-nav a.active:hover { background: linear-gradient(90deg, var(--gold-2), var(--gold-1)); }

/* Contact pills (call / WhatsApp / track order) - desktop only, competitor-inspired */
.header-right-group {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-left: auto;
}

.header-contact-pills {
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-pill {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 7px 14px;
    border-radius: 12px;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--ink);
    white-space: nowrap;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.contact-pill:hover { transform: translateY(-1px); box-shadow: var(--shadow-float); }

.contact-pill-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.contact-pill-text { display: flex; flex-direction: column; line-height: 1.3; }
.contact-pill-text small {
    display: block;
    font-size: 10px;
    font-weight: 600;
    color: var(--muted);
    text-transform: none;
}

.contact-pill-blue { background: #E7EEFC; }
.contact-pill-green { background: #E4F7EE; }
.contact-pill-gold { background: #FDF0DE; }

.cart-icon-link {
    position: relative;
    font-size: 19px;
    color: var(--ink);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: #F3ECDC;
    border-radius: 50%;
    transition: background 0.15s ease, transform 0.15s ease;
    cursor: pointer;
}
.cart-icon-link:hover { background: #ecddc0; transform: translateY(-1px); }

.cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: linear-gradient(90deg, var(--magenta), var(--violet));
    color: #fff;
    font-size: 10.5px;
    font-weight: 800;
    min-width: 19px;
    height: 19px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    border: 2px solid #fff;
    animation: badge-pulse 2.2s ease-in-out infinite;
}

@keyframes badge-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 77, 141, 0.45); }
    50% { box-shadow: 0 0 0 5px rgba(255, 77, 141, 0); }
}

/* ================= Spark divider (between light header and page content) ================= */
.spark-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 20px 0;
    max-width: 260px;
    margin: 0 auto;
}

.spark-divider.section-divider {
    padding: 0;
    margin: 0 auto 50px;
}
.spark-divider span {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-2), transparent);
}
.spark-divider i {
    font-style: normal;
    color: var(--gold-2);
    font-size: 13px;
}

/* ================= Hero (premium, dark, glowing) ================= */
.hero-premium {
    position: relative;
    overflow: hidden;
    background: linear-gradient(160deg, var(--night) 0%, var(--night-2) 55%, var(--night-3) 100%);
    border-radius: 0 0 32px 32px;
    padding: 44px 24px 40px;
    text-align: center;
    margin: -32px calc(-1 * var(--main-pad)) 44px;
    width: calc(100% + 2 * var(--main-pad));
    min-height: 320px;
}

/* Subtle twinkling starfield, always-on CSS layer beneath the canvas bursts */
.hero-premium::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        radial-gradient(1.6px 1.6px at 18% 25%, rgba(255,255,255,0.55), transparent),
        radial-gradient(1.4px 1.4px at 68% 18%, rgba(255,255,255,0.4), transparent),
        radial-gradient(1.2px 1.2px at 38% 65%, rgba(255,255,255,0.35), transparent),
        radial-gradient(1.6px 1.6px at 84% 55%, rgba(255,255,255,0.45), transparent),
        radial-gradient(1.2px 1.2px at 58% 82%, rgba(255,255,255,0.3), transparent),
        radial-gradient(1.4px 1.4px at 9% 78%, rgba(255,255,255,0.4), transparent),
        radial-gradient(1.2px 1.2px at 92% 85%, rgba(255,255,255,0.3), transparent);
    animation: twinkle 4.5s ease-in-out infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.55; }
    50% { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .hero-premium::before { animation: none; opacity: 0.8; }
}

.hero-glow {
    position: absolute;
    z-index: 0;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.55;
    pointer-events: none;
}
.hero-glow-gold { width: 380px; height: 380px; background: var(--gold-2); top: -140px; left: -80px; }
.hero-glow-violet { width: 340px; height: 340px; background: var(--violet); bottom: -160px; right: -60px; }
.hero-glow-magenta { width: 260px; height: 260px; background: var(--magenta); top: 20%; right: 18%; opacity: 0.35; }

/* ================= Hero banner slider (admin-managed, replaces text hero when banners exist) ================= */
.hero-slider {
    position: relative;
    overflow: hidden;
    border-radius: 0 0 32px 32px;
    margin: -32px calc(-1 * var(--main-pad)) 44px;
    width: calc(100% + 2 * var(--main-pad));
    background: var(--night);
}

.hero-slider-track {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 6;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.7s ease;
    pointer-events: none;
}

.hero-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.hero-slide img,
.hero-slide a {
    display: block;
    width: 100%;
    height: 100%;
}

.hero-slide img {
    object-fit: cover;
}

.hero-slider-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 16px;
    display: flex;
    justify-content: center;
    gap: 8px;
    z-index: 2;
}

.hero-slider-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    padding: 0;
    transition: background 0.2s ease, transform 0.2s ease;
}

.hero-slider-dot.active {
    background: var(--gold-1);
    transform: scale(1.3);
}

.hero-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(10,9,18,0.4);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    cursor: pointer;
    z-index: 2;
    transition: background 0.15s ease;
    user-select: none;
}
.hero-slider-arrow:hover { background: rgba(10,9,18,0.65); }
.hero-slider-prev { left: 14px; }
.hero-slider-next { right: 14px; }

@media (max-width: 768px) {
    .hero-slider { border-radius: 0 0 20px 20px; }
    .hero-slider-track { aspect-ratio: 4 / 3; }
    .hero-slider-arrow { display: none; }
}

.hero-fireworks-canvas {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

/* Floating product photos filling the empty sides on wide screens */
.hero-float {
    position: absolute;
    top: 50%;
    z-index: 1;
    width: 168px;
    height: 168px;
    padding: 10px;
    border-radius: 24px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.14);
    box-shadow: 0 20px 50px rgba(0,0,0,0.35);
    backdrop-filter: blur(2px);
    animation: hero-float-bob 5s ease-in-out infinite;
}

.hero-float img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 16px;
}

.hero-float-left {
    left: 4%;
    transform: translateY(-58%) rotate(-7deg);
    box-shadow: 0 20px 50px rgba(0,0,0,0.35), 0 0 0 1px rgba(231,169,61,0.3), 0 0 32px rgba(231,169,61,0.25);
}

.hero-float-right {
    right: 4%;
    transform: translateY(-42%) rotate(6deg);
    animation-delay: 1.4s;
    box-shadow: 0 20px 50px rgba(0,0,0,0.35), 0 0 0 1px rgba(255,77,141,0.3), 0 0 32px rgba(139,92,246,0.28);
}

@keyframes hero-float-bob {
    0%, 100% { margin-top: 0; }
    50% { margin-top: -14px; }
}

@media (max-width: 1180px) {
    .hero-float { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .hero-float { animation: none; }
}

/* ================= Layout ================= */
.site-main {
    width: 100%;
    margin: 0 auto;
    padding: 32px var(--main-pad) 60px;
}

.section { margin-bottom: 48px; }

/* Subtle spark-motif background for light sections (Shop by Category / Shop by Products) */
.section-sparkle {
    position: relative;
}

.section-sparkle::before {
    content: '';
    position: absolute;
    inset: -16px;
    z-index: -1;
    pointer-events: none;
    background-image:
        radial-gradient(1.6px 1.6px at 8% 15%, rgba(231,169,61,0.55), transparent),
        radial-gradient(1.4px 1.4px at 82% 10%, rgba(139,92,246,0.4), transparent),
        radial-gradient(1.3px 1.3px at 28% 85%, rgba(255,77,141,0.35), transparent),
        radial-gradient(1.6px 1.6px at 92% 75%, rgba(231,169,61,0.45), transparent),
        radial-gradient(1.3px 1.3px at 52% 45%, rgba(34,199,174,0.35), transparent),
        radial-gradient(1.4px 1.4px at 14% 60%, rgba(139,92,246,0.35), transparent),
        radial-gradient(1.3px 1.3px at 68% 90%, rgba(255,77,141,0.3), transparent);
    animation: twinkle 5.5s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
    .section-sparkle::before { animation: none; }
}

.section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 24px;
    gap: 16px;
    flex-wrap: wrap;
}

.section-eyebrow {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold-2);
    margin-bottom: 6px;
}

.section-header h2 {
    font-size: 26px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: -0.01em;
    position: relative;
    padding-bottom: 12px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 56px;
    height: 4px;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--gold-2), var(--magenta), var(--violet));
}

.section-header h2::before {
    content: '\2726';
    color: var(--gold-2);
    font-size: 17px;
}

.view-all-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--ink);
    font-size: 13.5px;
    font-weight: 700;
    background: var(--surface);
    box-shadow: var(--shadow-float);
    padding: 10px 18px;
    border-radius: 999px;
    white-space: nowrap;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.view-all-link:hover { transform: translateY(-1px); box-shadow: var(--shadow-float-lg); }

.empty-msg {
    color: var(--muted);
    font-size: 15px;
}

/* ================= Category cards: floating circular avatars with gradient ring ================= */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(128px, 1fr));
    gap: 26px 16px;
}

.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
}

.category-card-ring {
    width: 100%;
    max-width: 138px;
    aspect-ratio: 1 / 1;
    margin: 0 auto;
    border-radius: 50%;
    padding: 3px;
    background: conic-gradient(from 180deg, var(--gold-2), var(--magenta), var(--violet), var(--teal), var(--gold-2));
    transition: transform 0.25s ease;
}

/* Rotate the starting hue per card so the row shows varied color combinations, not identical rings */
.category-grid a:nth-child(4n+2) .category-card-ring {
    background: conic-gradient(from 90deg, var(--magenta), var(--violet), var(--teal), var(--gold-2), var(--magenta));
}
.category-grid a:nth-child(4n+3) .category-card-ring {
    background: conic-gradient(from 270deg, var(--violet), var(--teal), var(--gold-2), var(--magenta), var(--violet));
}
.category-grid a:nth-child(4n+4) .category-card-ring {
    background: conic-gradient(from 0deg, var(--teal), var(--gold-2), var(--magenta), var(--violet), var(--teal));
}

.category-card:hover .category-card-ring {
    transform: translateY(-6px) scale(1.04);
}

.category-card-avatar {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    background: var(--surface);
    border: 3px solid var(--bg);
    box-shadow: var(--shadow-float);
}

.category-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}
.category-card:hover img { transform: scale(1.1); }

.category-card .no-image {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #F3EBDD, #F9F3E6);
    color: var(--muted);
    font-size: 11px;
}

.category-card span {
    font-size: 14px;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.3;
}

.category-card em {
    font-style: normal;
    font-size: 11px;
    font-weight: 700;
    color: var(--gold-ink);
    background: linear-gradient(90deg, rgba(231,169,61,0.18), rgba(139,92,246,0.18));
    padding: 3px 10px;
    border-radius: 999px;
}

/* ================= Sidebar category browser (homepage) ================= */
.browse-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 24px;
    align-items: start;
}

.browse-sidebar {
    position: sticky;
    top: 90px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow-float);
    padding: 10px;
    max-height: calc(100vh - 110px);
    overflow-y: auto;
}

.browse-cat-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 11px 14px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
    transition: background 0.15s ease, color 0.15s ease;
}

.browse-cat-link:hover { background: #F3ECDC; }

.browse-cat-link.active {
    background: linear-gradient(90deg, var(--night), var(--night-3));
    color: #fff;
}

.browse-cat-count {
    font-size: 12px;
    font-weight: 600;
    opacity: 0.7;
}

.browse-content {
    min-width: 0;
}

.browse-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.browse-current-title {
    font-size: 19px;
    font-weight: 800;
}

.browse-search {
    position: relative;
    width: 260px;
    max-width: 100%;
}

.browse-search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: var(--muted);
}

.browse-search input {
    width: 100%;
    padding: 11px 14px 11px 38px;
    border: none;
    background: var(--surface);
    box-shadow: var(--shadow-float);
    border-radius: 999px;
    font-size: 13.5px;
    font-family: var(--font-body);
}
.browse-search input:focus {
    outline: 2px solid var(--gold-2);
    outline-offset: 1px;
}

@media (max-width: 900px) {
    .browse-layout { grid-template-columns: 1fr; }
    .browse-sidebar {
        position: static;
        flex-direction: row;
        flex-wrap: wrap;
        max-height: none;
        overflow: visible;
    }
    .browse-cat-link { flex: 0 0 auto; }
}

/* ================= Category filter tabs (shop page) ================= */
.category-filter {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 22px;
}

.category-filter a {
    padding: 10px 18px;
    background: var(--surface);
    box-shadow: var(--shadow-float);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    color: var(--muted);
    transition: all 0.15s ease;
}

.category-filter a.active {
    background: linear-gradient(90deg, var(--night), var(--night-3));
    color: #fff;
}

/* ================= Product subsections (per-category grouping within Shop by Products) ================= */
.product-subsection {
    margin-bottom: 38px;
}
.product-subsection:last-child {
    margin-bottom: 0;
}

.product-subsection-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.product-subsection-header h3 {
    font-size: 18px;
    font-weight: 800;
    color: var(--ink);
    position: relative;
    padding-left: 14px;
}

.product-subsection-header h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 2px;
    bottom: 2px;
    width: 4px;
    border-radius: 4px;
    background: linear-gradient(180deg, var(--gold-2), var(--magenta));
}

/* ================= Product cards: floating, no borders, larger image ================= */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
}

.product-card {
    position: relative;
    background: var(--surface);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-float);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    z-index: 3;
    background: linear-gradient(90deg, var(--gold-2), var(--gold-1));
}

.product-grid > .product-card:nth-child(4n+2)::before {
    background: linear-gradient(90deg, var(--magenta), #ff8ab3);
}
.product-grid > .product-card:nth-child(4n+3)::before {
    background: linear-gradient(90deg, var(--violet), #b39dff);
}
.product-grid > .product-card:nth-child(4n+4)::before {
    background: linear-gradient(90deg, var(--teal), #6fe3d1);
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-float-lg);
}

.product-img {
    position: relative;
    aspect-ratio: 1 / 1;
    background: linear-gradient(160deg, #FBF7EF, #F3ECDC);
    overflow: hidden;
    cursor: pointer;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.35s ease;
}

.product-card:hover .product-img img {
    transform: scale(1.06);
}

.product-img .no-image {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    font-size: 12px;
}

.product-category-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--ink);
    background: rgba(255,255,255,0.88);
    backdrop-filter: blur(3px);
    padding: 5px 11px;
    border-radius: 999px;
    box-shadow: var(--shadow-float);
}

.product-img-zoom {
    position: absolute;
    right: 10px;
    bottom: 10px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,0.92);
    box-shadow: var(--shadow-float);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.product-card:hover .product-img-zoom {
    opacity: 1;
    transform: translateY(0);
}

.product-info {
    padding: 10px 12px 2px;
    flex-grow: 1;
}

.product-name {
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 2px;
    color: var(--ink);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.1em;
}

.product-quantity {
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
    margin-bottom: 3px;
}

.product-price {
    font-size: 16px;
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -0.01em;
}

.product-cart-controls {
    padding: 8px 12px 12px;
}

.btn-add {
    width: 100%;
    padding: 9px;
    background: var(--night);
    background: linear-gradient(90deg, var(--night), var(--night-3));
    color: #fff;
    border: none;
    border-radius: 999px;
    font-weight: 700;
    font-size: 14.5px;
    cursor: pointer;
    letter-spacing: 0.01em;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-add:hover { transform: translateY(-1px); box-shadow: var(--shadow-float); }
.btn-add:active { transform: scale(0.97); }

.qty-pill.qty-stepper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    background: #F3ECDC;
    border-radius: 999px;
    padding: 4px;
    gap: 2px;
}

.qty-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: transparent;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    color: var(--ink);
    transition: background 0.15s ease, transform 0.1s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.qty-btn:hover { background: #fff; }
.qty-btn:active { transform: scale(0.88); }

.qty-value {
    min-width: 32px;
    text-align: center;
    font-weight: 800;
    font-size: 15.5px;
}

.product-card.just-added {
    animation: added-flash 0.6s ease;
}
@keyframes added-flash {
    0% { box-shadow: var(--shadow-float); }
    35% { box-shadow: 0 0 0 3px rgba(34, 199, 174, 0.5), var(--shadow-float-lg); }
    100% { box-shadow: var(--shadow-float); }
}

/* ================= Buttons (generic) ================= */
.btn {
    display: inline-block;
    padding: 13px 26px;
    border-radius: 999px;
    border: none;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    font-family: var(--font-body);
    transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.btn-primary {
    background: linear-gradient(90deg, var(--night), var(--night-3));
    color: #fff;
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: var(--shadow-float-lg); }

.btn-secondary {
    background: var(--surface);
    color: var(--ink);
    box-shadow: var(--shadow-float);
}
.btn-secondary:hover { transform: translateY(-1px); box-shadow: var(--shadow-float-lg); }

.btn-block { width: 100%; }

/* ================= Cart page ================= */
.empty-cart {
    text-align: center;
    padding: 70px 20px;
    color: var(--muted);
}

.cart-list { display: flex; flex-direction: column; gap: 14px; max-width: 760px; margin: 0 auto; }

.cart-row {
    display: grid;
    grid-template-columns: 64px 1fr auto auto auto;
    align-items: center;
    gap: 14px;
    background: var(--surface);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    box-shadow: var(--shadow-float);
}

.cart-row-img img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    border-radius: 10px;
    background: #F3ECDC;
}

.cart-row-name { font-weight: 700; font-size: 15px; }
.cart-row-price { font-size: 12.5px; color: var(--muted); }

.cart-row-qty {
    display: flex;
    align-items: center;
    gap: 2px;
    background: #F3ECDC;
    border-radius: 999px;
    padding: 3px;
    width: fit-content;
}

.cart-row-total {
    font-weight: 800;
    color: var(--ink);
    min-width: 74px;
    text-align: right;
    font-size: 15px;
}

.cart-row-remove {
    background: none;
    border: none;
    font-size: 22px;
    color: var(--danger);
    cursor: pointer;
    transition: transform 0.1s ease;
}
.cart-row-remove:hover { transform: scale(1.15); }

.cart-summary {
    max-width: 760px;
    margin: 24px auto 0;
    background: var(--surface);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow-float);
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 17px;
    margin-bottom: 14px;
    font-weight: 700;
}

.cart-min-note {
    font-size: 13.5px;
    padding: 10px 14px;
    border-radius: 10px;
    margin-bottom: 16px;
    font-weight: 600;
}

.cart-min-note.not-met { background: #FDF0DE; color: #9A6317; }
.cart-min-note.met { background: #E4F7EE; color: var(--success); }

/* ================= Checkout ================= */
.checkout-grid {
    max-width: 1080px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 24px;
}

.checkout-form-card, .order-summary-card, .table-card {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 26px;
    box-shadow: var(--shadow-float);
}

.checkout-form-card h3, .order-summary-card h3, .table-card h3 {
    font-size: 17px;
    font-weight: 800;
    margin-bottom: 14px;
}

.checkout-form-card label {
    display: block;
    font-size: 13.5px;
    font-weight: 700;
    margin: 16px 0 7px;
}

.checkout-form-card label:first-of-type { margin-top: 0; }

.checkout-form-card input,
.checkout-form-card textarea {
    width: 100%;
    padding: 12px 15px;
    border: none;
    background: #F6F1E7;
    border-radius: 12px;
    font-size: 15px;
    font-family: var(--font-body);
}

.checkout-form-card input:focus,
.checkout-form-card textarea:focus {
    outline: 2px solid var(--gold-2);
    outline-offset: 1px;
}

.checkout-form-card textarea { resize: vertical; }

.payment-box {
    margin-top: 26px;
    padding-top: 22px;
    border-top: 1px dashed var(--line-soft);
}

.qr-code-img {
    width: 170px;
    height: 170px;
    object-fit: contain;
    border-radius: 14px;
    margin-bottom: 12px;
    padding: 10px;
    background: #F6F1E7;
}

.bank-details { font-size: 14px; }

.payment-instructions {
    font-size: 13.5px;
    color: #7A5A22;
    background: #FDF0DE;
    padding: 13px 15px;
    border-radius: 12px;
    margin-top: 12px;
    line-height: 1.6;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    padding: 8px 0;
    border-bottom: 1px solid var(--line-soft);
}

.summary-total {
    font-weight: 800;
    font-size: 17px;
    color: var(--ink);
    border-bottom: none;
    padding-top: 12px;
}

/* ================= Order success ================= */
.order-success {
    text-align: center;
    padding: 50px 16px;
    max-width: 560px;
    margin: 0 auto;
}

.success-icon {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--success), var(--teal));
    color: #fff;
    font-size: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: var(--shadow-float-lg);
}

.order-id-line { font-size: 17px; }

.success-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
}

/* ================= Track order ================= */
.track-form {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    max-width: 440px;
}

.track-form input {
    flex-grow: 1;
    padding: 13px 16px;
    border: none;
    background: var(--surface);
    box-shadow: var(--shadow-float);
    border-radius: 12px;
    font-size: 15px;
    font-family: var(--font-body);
}

.track-result { display: flex; flex-direction: column; gap: 18px; max-width: 760px; margin: 0 auto; }

.track-status-row {
    display: flex;
    gap: 32px;
    background: var(--surface);
    border-radius: var(--radius);
    padding: 20px 24px;
    box-shadow: var(--shadow-float);
}

.track-label {
    font-size: 12.5px;
    color: var(--muted);
    margin-bottom: 5px;
}

/* ================= Shared table / badge styles ================= */
.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.data-table th, .data-table td {
    padding: 12px 8px;
    text-align: left;
    border-bottom: 1px solid var(--line-soft);
}

.data-table th {
    color: var(--muted);
    font-size: 11.5px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.badge {
    display: inline-block;
    padding: 5px 13px;
    border-radius: 20px;
    font-size: 12.5px;
    font-weight: 700;
}

.badge-active { background: #E4F7EE; color: var(--success); }
.badge-inactive { background: #F1ECE3; color: var(--muted); }

.badge-status-pending { background: #FDF0DE; color: #9A6317; }
.badge-status-confirmed { background: #E4F7EE; color: var(--success); }
.badge-status-processing { background: #E7EEFC; color: #2563C9; }
.badge-status-shipped { background: #F0E7FC; color: #7A3FC9; }
.badge-status-delivered { background: #E4F7EE; color: var(--success); }
.badge-status-cancelled { background: #FFE7EB; color: var(--danger); }

.alert {
    padding: 14px 18px;
    border-radius: 14px;
    font-size: 14.5px;
    margin-bottom: 20px;
    font-weight: 600;
}

.alert-error { background: #FFE7EB; color: var(--danger); }
.alert-success { background: #E4F7EE; color: var(--success); }

/* ================= Quick Order page (table layout) ================= */
.quick-order-header-flex {
    display: flex;
    align-items: center;
    gap: 16px;
}

.quick-order-header-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold-2), var(--gold-1));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    flex-shrink: 0;
    box-shadow: var(--shadow-gold);
}

.quick-order-intro {
    font-size: 14.5px;
    color: var(--muted);
    max-width: 640px;
    line-height: 1.6;
    margin-bottom: 26px;
}

.quick-order-table-wrapper {
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow-float);
    overflow: hidden;
}

.quick-order-table-header {
    display: grid;
    grid-template-columns: 40px 56px 1fr 90px 160px 100px;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    background: #F6F1E7;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--muted);
}

.qoh-total { text-align: right; }

.quick-order-group-title {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px 8px;
    font-size: 15px;
    font-weight: 800;
    color: var(--ink);
    background: #FBF8F1;
}

.quick-order-group-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold-2), var(--gold-1));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    flex-shrink: 0;
    box-shadow: var(--shadow-gold);
}

.quick-order-row {
    display: grid;
    grid-template-columns: 40px 56px 1fr 90px 160px 100px;
    align-items: center;
    gap: 14px;
    padding: 10px 16px;
    border-bottom: 1px solid var(--line-soft);
    transition: background 0.3s ease;
}

.quick-order-row:last-child { border-bottom: none; }

.quick-order-row.just-added-row {
    background: #EAF8F1;
}

.quick-order-num {
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
    text-align: center;
}

.quick-order-img {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: #F3ECDC;
    overflow: hidden;
    flex-shrink: 0;
    display: block;
}
.quick-order-img img { width: 100%; height: 100%; object-fit: contain; }
.quick-order-img .no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8px;
    color: var(--muted);
    text-align: center;
}

.quick-order-name-cell {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.quick-order-name {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
}

.quick-order-unit {
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
}

.quick-order-price {
    font-size: 14px;
    font-weight: 700;
    color: var(--ink);
}

.quick-order-qty-cell .product-cart-controls {
    display: flex;
}

.quick-order-qty-cell .btn-add {
    background: #fff;
    border: 2px solid var(--night);
    color: var(--night);
    padding: 8px 16px;
    font-size: 12.5px;
    width: auto;
}
.quick-order-qty-cell .btn-add:hover { background: var(--night); color: #fff; }

.quick-order-qty-cell .qty-pill.qty-stepper {
    background: var(--night);
    width: auto;
}
.quick-order-qty-cell .qty-btn { color: #fff; }
.quick-order-qty-cell .qty-btn:hover { background: rgba(255,255,255,0.15); }
.quick-order-qty-cell .qty-value { color: #fff; }

.quick-order-total {
    font-size: 14.5px;
    font-weight: 800;
    color: var(--ink);
    text-align: right;
}

/* ================= Bulk order page ================= */
.bulk-order-section { display: flex; justify-content: center; }

.bulk-order-card {
    max-width: 640px;
    width: 100%;
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow-float-lg);
    padding: 46px clamp(24px, 5vw, 52px);
    text-align: center;
}

.bulk-order-eyebrow {
    display: inline-block;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold-ink);
    background: linear-gradient(90deg, var(--gold-1), var(--gold-2));
    padding: 7px 16px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.bulk-order-card h1 { font-size: 28px; margin-bottom: 16px; }

.bulk-order-lead {
    font-size: 15.5px;
    color: var(--muted);
    line-height: 1.65;
    margin-bottom: 28px;
}

.bulk-order-points {
    display: flex;
    flex-direction: column;
    gap: 13px;
    text-align: left;
    margin-bottom: 28px;
}

.bulk-point {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    font-size: 14.5px;
    color: var(--ink);
    font-weight: 500;
}

.bulk-point-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #E4F7EE;
    color: var(--success);
    font-size: 12px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
}

.bulk-order-note {
    font-size: 14px;
    color: var(--muted);
    background: #F6F1E7;
    border-radius: 12px;
    padding: 15px 17px;
    margin-bottom: 26px;
    line-height: 1.65;
}

.bulk-whatsapp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    font-size: 16px;
    background: linear-gradient(90deg, #25D366, #1AAE56);
    color: #fff;
    box-shadow: 0 10px 26px rgba(37,211,102,0.35);
}

.bulk-order-number {
    margin-top: 16px;
    font-size: 13.5px;
    color: var(--muted);
}

/* ================= Stats / achievements section ================= */
/* ================= Scroll-reveal (progressive enhancement - see reveal.js) ================= */
.reveal-init {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-init.revealed {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .reveal-init { opacity: 1; transform: none; transition: none; }
}

.stats-section {
    background: linear-gradient(160deg, var(--night) 0%, var(--night-2) 100%);
    border-radius: var(--radius);
    padding: 46px clamp(20px, 4vw, 40px) 34px;
    margin-bottom: 50px;
}

.stats-section .stats-card {
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.stats-section.reveal-init .stats-card {
    opacity: 0;
    transform: translateY(20px);
}

.stats-section.reveal-init.revealed .stats-card:nth-child(1) { transition-delay: 0.05s; }
.stats-section.reveal-init.revealed .stats-card:nth-child(2) { transition-delay: 0.15s; }
.stats-section.reveal-init.revealed .stats-card:nth-child(3) { transition-delay: 0.25s; }
.stats-section.reveal-init.revealed .stats-card:nth-child(4) { transition-delay: 0.35s; }

.stats-section.reveal-init.revealed .stats-card {
    opacity: 1;
    transform: translateY(0);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.stats-card {
    position: relative;
    background: var(--surface);
    border-radius: var(--radius-sm);
    padding: 30px 16px 20px;
    text-align: center;
    box-shadow: var(--shadow-float-lg);
}

.stats-icon-circle {
    position: absolute;
    top: -24px;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold-2), var(--gold-1));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: var(--shadow-gold);
}

.stats-value {
    font-family: var(--font-display);
    font-size: 30px;
    font-weight: 800;
    color: var(--ink);
    margin-top: 10px;
}

.stats-label {
    font-size: 13px;
    font-weight: 700;
    margin-top: 4px;
}

.stats-label-gold { color: var(--gold-2); }
.stats-label-teal { color: var(--teal); }
.stats-label-blue { color: #2A6FB0; }
.stats-label-green { color: var(--success); }

/* ================= Footer CTA banner ================= */
.footer-cta-banner {
    background: linear-gradient(90deg, var(--night-3), var(--night-2) 55%, var(--night-3));
    margin-top: 50px;
}

.footer-cta-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px clamp(20px, 4vw, 56px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-cta-text {
    color: #fff;
    font-size: 15.5px;
    font-weight: 700;
}

.footer-cta-spark { color: var(--gold-1); margin-right: 6px; }

.footer-cta-btn {
    background: linear-gradient(90deg, var(--gold-2), var(--gold-1));
    color: var(--gold-ink);
    font-weight: 800;
    font-size: 14px;
    padding: 11px 24px;
    border-radius: 999px;
    white-space: nowrap;
    box-shadow: var(--shadow-gold);
    transition: transform 0.15s ease, filter 0.15s ease;
}
.footer-cta-btn:hover { transform: translateY(-1px); filter: brightness(1.05); }
.footer-cta-btn:active { transform: scale(0.97); }

/* ================= Trust strip ================= */
.trust-strip {
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px clamp(20px, 4vw, 56px) 8px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.trust-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    background: rgba(255,255,255,0.05);
    border-radius: 14px;
    padding: 14px 16px;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    transition: background 0.15s ease, transform 0.15s ease;
}
.trust-item:hover { background: rgba(255,255,255,0.09); transform: translateY(-2px); }

.trust-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.trust-gold .trust-icon { background: linear-gradient(135deg, var(--gold-2), var(--gold-1)); }
.trust-teal .trust-icon { background: linear-gradient(135deg, var(--teal), #17A798); }
.trust-blue .trust-icon { background: linear-gradient(135deg, #4C86D6, #2A5FA8); }
.trust-green .trust-icon { background: linear-gradient(135deg, #25D366, #1AAE56); }

/* ================= Site footer ================= */
.site-footer {
    position: relative;
    overflow: hidden;
    background: linear-gradient(160deg, var(--night) 0%, var(--night-2) 100%);
    color: rgba(255,255,255,0.72);
}

.site-footer::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        radial-gradient(1.5px 1.5px at 12% 20%, rgba(255,255,255,0.4), transparent),
        radial-gradient(1.3px 1.3px at 75% 15%, rgba(255,255,255,0.3), transparent),
        radial-gradient(1.2px 1.2px at 40% 60%, rgba(255,255,255,0.28), transparent),
        radial-gradient(1.5px 1.5px at 88% 50%, rgba(255,255,255,0.35), transparent),
        radial-gradient(1.2px 1.2px at 55% 85%, rgba(255,255,255,0.25), transparent),
        radial-gradient(1.3px 1.3px at 6% 75%, rgba(255,255,255,0.3), transparent),
        radial-gradient(1.2px 1.2px at 95% 88%, rgba(255,255,255,0.22), transparent);
    animation: twinkle 5s ease-in-out infinite;
}

.site-footer > * {
    position: relative;
    z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
    .site-footer::before { animation: none; }
}

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 44px clamp(20px, 4vw, 56px) 30px;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 28px;
}

.footer-brand-mark {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 20px;
    color: #fff;
}

.footer-tagline {
    margin: 10px 0 0;
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    max-width: 320px;
    line-height: 1.6;
}

.footer-col h4 {
    margin: 0 0 14px;
    font-size: 12.5px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gold-1);
}

.footer-col a {
    display: block;
    font-size: 14.5px;
    color: rgba(255,255,255,0.72);
    margin-bottom: 10px;
    transition: color 0.15s ease, transform 0.15s ease;
}
.footer-col a:hover { transform: translateX(3px); }

.footer-col a:hover { color: #fff; }

.footer-payment-note {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    font-size: 12.5px;
    font-weight: 600;
    color: rgba(255,255,255,0.6);
    background: rgba(255,255,255,0.06);
    border-radius: 999px;
    padding: 7px 14px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 18px clamp(20px, 4vw, 56px);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    text-align: center;
    font-size: 12.5px;
    color: rgba(255,255,255,0.5);
}

.back-to-top {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.14);
    color: rgba(255,255,255,0.75);
    font-size: 12px;
    font-weight: 700;
    padding: 7px 16px;
    border-radius: 999px;
    cursor: pointer;
    font-family: var(--font-body);
    transition: background 0.15s ease, transform 0.15s ease;
}
.back-to-top:hover { background: rgba(255,255,255,0.16); transform: translateY(-2px); }

/* ================= WhatsApp premium floating button ================= */
.whatsapp-float {
    position: fixed;
    left: 24px;
    bottom: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(90deg, #1AAE56, #25D366);
    border-radius: 999px;
    padding: 13px;
    box-shadow: 0 12px 32px rgba(37,211,102,0.45);
    z-index: 90;
    transition: padding 0.25s ease, box-shadow 0.25s ease, transform 0.15s ease;
    overflow: hidden;
    animation: wa-pulse 2.6s ease-in-out infinite;
}

.whatsapp-float:hover {
    padding: 13px 22px 13px 16px;
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(37,211,102,0.55);
}

.whatsapp-float-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-float-icon svg {
    width: 38px;
    height: 38px;
}

.whatsapp-float-label {
    max-width: 0;
    overflow: hidden;
    white-space: nowrap;
    color: #fff;
    font-weight: 800;
    font-size: 15px;
    transition: max-width 0.25s ease;
}

.whatsapp-float:hover .whatsapp-float-label { max-width: 140px; }

@keyframes wa-pulse {
    0%, 100% { box-shadow: 0 12px 32px rgba(37,211,102,0.45), 0 0 0 0 rgba(37,211,102,0.35); }
    50% { box-shadow: 0 12px 32px rgba(37,211,102,0.45), 0 0 0 8px rgba(37,211,102,0); }
}

.quick-order-float {
    position: fixed;
    right: 24px;
    bottom: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(90deg, var(--gold-2), var(--gold-1));
    color: var(--gold-ink);
    border-radius: 999px;
    padding: 13px;
    box-shadow: var(--shadow-gold);
    z-index: 90;
    transition: padding 0.25s ease, box-shadow 0.25s ease, transform 0.15s ease;
    overflow: hidden;
    animation: qo-pulse 2.6s ease-in-out infinite;
    animation-delay: 1.3s;
}

.quick-order-float:hover {
    padding: 13px 20px 13px 13px;
    transform: translateY(-2px);
}

.quick-order-float-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.quick-order-float-label {
    max-width: 0;
    overflow: hidden;
    white-space: nowrap;
    font-weight: 800;
    font-size: 14px;
    transition: max-width 0.25s ease;
}

.quick-order-float:hover .quick-order-float-label { max-width: 140px; }

@keyframes qo-pulse {
    0%, 100% { box-shadow: var(--shadow-gold), 0 0 0 0 rgba(231,169,61,0.4); }
    50% { box-shadow: var(--shadow-gold), 0 0 0 8px rgba(231,169,61,0); }
}

/* ================= Bottom total bar (shows once cart has items) ================= */
.cart-total-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 95;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px clamp(16px, 4vw, 40px);
    background: linear-gradient(90deg, var(--night), var(--night-3));
    color: #fff;
    box-shadow: 0 -8px 28px rgba(10,9,18,0.3);
}

.cart-total-bar-info {
    display: flex;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
}

.cart-total-bar-count {
    font-size: 12.5px;
    font-weight: 700;
    background: rgba(255,255,255,0.14);
    padding: 4px 12px;
    border-radius: 999px;
}

.cart-total-bar-label {
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    font-weight: 600;
}

.cart-total-bar-amount {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 800;
    color: var(--gold-1);
}

.cart-total-bar-btn {
    background: linear-gradient(90deg, var(--gold-2), var(--gold-1));
    color: var(--gold-ink);
    border: none;
    border-radius: 999px;
    padding: 11px 24px;
    font-size: 14px;
    font-weight: 800;
    font-family: var(--font-body);
    cursor: pointer;
    white-space: nowrap;
    transition: transform 0.1s ease, filter 0.15s ease;
}
.cart-total-bar-btn:hover { filter: brightness(1.05); }
.cart-total-bar-btn:active { transform: scale(0.96); }

/* While the bar is visible, lift the floating buttons clear of it and leave room at the page bottom */
body.has-cart-bar { padding-bottom: 76px; }
body.has-cart-bar .whatsapp-float,
body.has-cart-bar .quick-order-float { bottom: 90px; }

/* ================= Floating side cart shortcut (shows once cart has items) ================= */
.cart-float-side {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 89;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    background: linear-gradient(135deg, var(--night), var(--night-3));
    border-radius: 999px 0 0 999px;
    box-shadow: -6px 6px 24px rgba(10,9,18,0.3);
    transition: width 0.2s ease, transform 0.15s ease;
}

.cart-float-side:hover {
    width: 60px;
    transform: translateY(-50%) translateX(-2px);
}

.cart-float-side-icon {
    font-size: 24px;
}

.cart-float-side-badge {
    position: absolute;
    top: -4px;
    left: -4px;
    background: linear-gradient(90deg, var(--magenta), var(--violet));
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    min-width: 21px;
    height: 21px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    border: 2px solid var(--bg);
}

@media (max-width: 768px) {
    .cart-float-side { display: none !important; }
}

/* ================= Cart drawer ================= */
.cart-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10,9,18,0.55);
    backdrop-filter: blur(3px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 300;
}

body.cart-drawer-open .cart-drawer-overlay {
    opacity: 1;
    pointer-events: auto;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(400px, 92vw);
    background: var(--bg);
    z-index: 301;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(.25,.8,.35,1);
    box-shadow: -20px 0 50px rgba(10,9,18,0.25);
}

body.cart-drawer-open .cart-drawer {
    transform: translateX(0);
}

.cart-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 22px;
    background: linear-gradient(115deg, var(--night), var(--night-3));
    color: #fff;
}

.cart-drawer-header h3 { font-size: 19px; font-weight: 800; }

.cart-drawer-close {
    background: rgba(255,255,255,0.1);
    border: none;
    color: #fff;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    line-height: 1;
    transition: background 0.15s ease;
}
.cart-drawer-close:hover { background: rgba(255,255,255,0.2); }

.cart-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cart-drawer-empty {
    text-align: center;
    padding: 60px 16px;
    color: var(--muted);
}

.drawer-item {
    display: grid;
    grid-template-columns: 56px 1fr auto;
    gap: 12px;
    align-items: center;
    background: var(--surface);
    border-radius: var(--radius-sm);
    padding: 12px;
    box-shadow: var(--shadow-float);
}

.drawer-item-img {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    background: #F3ECDC;
    overflow: hidden;
}
.drawer-item-img img { width: 100%; height: 100%; object-fit: contain; }

.drawer-item-name {
    font-size: 13.5px;
    font-weight: 700;
    margin-bottom: 4px;
    line-height: 1.3;
}

.drawer-item-price { font-size: 12px; color: var(--muted); margin-bottom: 6px; }

.drawer-item-qty {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    background: #F3ECDC;
    border-radius: 999px;
    padding: 3px;
}
.drawer-item-qty .qty-btn { width: 24px; height: 24px; font-size: 14px; }
.drawer-item-qty .qty-value { font-size: 13px; min-width: 18px; }

.drawer-item-remove {
    background: none;
    border: none;
    font-size: 19px;
    color: var(--danger);
    cursor: pointer;
    align-self: start;
}

.cart-drawer-footer {
    padding: 18px 22px 22px;
    background: var(--surface);
    box-shadow: 0 -6px 20px rgba(21,18,30,0.06);
}

.cart-drawer-total {
    display: flex;
    justify-content: space-between;
    font-size: 17px;
    font-weight: 800;
    margin-bottom: 14px;
}

.cart-drawer-viewcart {
    display: block;
    text-align: center;
    margin-top: 10px;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--muted);
    text-decoration: underline;
}

/* ================= Quick View modal (product image click) ================= */
.quickview-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10,9,18,0.6);
    backdrop-filter: blur(3px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 310;
}

body.quickview-open .quickview-overlay {
    opacity: 1;
    pointer-events: auto;
}

.quickview-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -46%) scale(0.96);
    width: min(560px, 92vw);
    max-height: 88vh;
    overflow-y: auto;
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow-float-lg);
    z-index: 311;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease;
    display: flex;
    flex-direction: column;
}

body.quickview-open .quickview-modal {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1);
}

@media (min-width: 560px) {
    .quickview-modal { flex-direction: row; }
    .quickview-image { width: 50%; }
    .quickview-info { width: 50%; }
}

.quickview-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: rgba(21,18,30,0.08);
    font-size: 20px;
    cursor: pointer;
    z-index: 2;
    transition: background 0.15s ease;
}
.quickview-close:hover { background: rgba(21,18,30,0.16); }

.quickview-image {
    aspect-ratio: 1 / 1;
    background: linear-gradient(160deg, #FBF7EF, #F3ECDC);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius) var(--radius) 0 0;
    overflow: hidden;
    flex-shrink: 0;
}

@media (min-width: 560px) {
    .quickview-image { border-radius: var(--radius) 0 0 var(--radius); }
}

.quickview-image img { width: 100%; height: 100%; object-fit: contain; padding: 20px; }

.quickview-info {
    padding: 26px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.quickview-info h3 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 10px;
    line-height: 1.3;
}

.quickview-price {
    font-size: 22px;
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 22px;
}

.quickview-controls .btn-add {
    padding: 14px;
    font-size: 15px;
}

.quickview-controls .qty-pill.qty-stepper {
    padding: 6px;
}

.quickview-controls .qty-btn {
    width: 38px;
    height: 38px;
    font-size: 19px;
}

/* ================= Bottom nav (mobile only) ================= */
.bottom-nav { display: none; }

/* ================= Responsive ================= */
@media (max-width: 1200px) {
    .header-contact-pills { display: none; }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .stats-section { padding: 40px 16px 26px; border-radius: 20px; }
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 30px 14px; }
    .stats-value { font-size: 24px; }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .product-name { font-size: 13px; min-height: 2.6em; }
    .product-price { font-size: 15px; }
    .product-cart-controls { padding: 8px 10px 10px; }
    .product-info { padding: 10px 10px 4px; }

    .quick-order-header-icon { width: 44px; height: 44px; font-size: 22px; }
    .quick-order-table-header { display: none; }

    .quick-order-row {
        grid-template-columns: 44px 1fr;
        grid-template-areas:
            "img name"
            "img price"
            "img qtyc"
            "img total";
        row-gap: 6px;
        padding: 12px 10px;
        gap: 4px 10px;
    }
    .quick-order-num { display: none; }
    .quick-order-img { grid-area: img; width: 44px; height: 44px; align-self: start; }
    .quick-order-name-cell { grid-area: name; }
    .quick-order-name { font-size: 13px; }
    .quick-order-price { grid-area: price; font-size: 13px; }
    .quick-order-qty-cell { grid-area: qtyc; margin: 4px 0; }
    .quick-order-total { grid-area: total; text-align: left; }
    .quick-order-total::before { content: "Total: "; font-weight: 600; color: var(--muted); }

    .site-logo-img { height: 46px; }
    .product-subsection { margin-bottom: 28px; }
    .product-subsection-header h3 { font-size: 16px; }

    .site-nav { display: none; }

    .hero-premium { border-radius: 0 0 24px 24px; padding: 36px 20px 34px; min-height: 220px; }

    .footer-inner { grid-template-columns: 1fr; gap: 24px; }

    .trust-strip { grid-template-columns: 1fr 1fr; }

    .footer-cta-inner { flex-direction: column; align-items: flex-start; text-align: left; }

    .checkout-grid { grid-template-columns: 1fr; }

    .cart-row {
        grid-template-columns: 48px 1fr;
        row-gap: 8px;
    }

    .cart-row-qty, .cart-row-total, .cart-row-remove {
        grid-column: 2;
    }

    body { padding-bottom: 70px; }

    .cart-total-bar { bottom: 58px; padding: 10px 14px; }
    .cart-total-bar-amount { font-size: 19px; }
    .cart-total-bar-label { display: none; }
    .cart-total-bar-btn { padding: 10px 18px; font-size: 13px; }
    body.has-cart-bar { padding-bottom: 134px; }
    body.has-cart-bar .whatsapp-float,
    body.has-cart-bar .quick-order-float { bottom: 142px; }

    .whatsapp-float { bottom: 82px; }
    .quick-order-float { bottom: 82px; }

    .cart-drawer { width: 100vw; }

    .bottom-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: var(--surface);
        box-shadow: 0 -4px 16px rgba(21,18,30,0.08);
        z-index: 55;
    }

    .bottom-nav a {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2px;
        padding: 8px 0 6px;
        font-size: 10px;
        font-weight: 600;
        color: var(--muted);
        position: relative;
    }

    .bn-icon { font-size: 18px; }

    .bottom-nav-badge {
        position: absolute;
        top: 2px;
        right: 22%;
        background: linear-gradient(90deg, var(--magenta), var(--violet));
        color: #fff;
        font-size: 9.5px;
        font-weight: 800;
        min-width: 16px;
        height: 16px;
        border-radius: 10px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0 3px;
    }
}