/* =========================================================================
   SUGANTHA CRACKERS — DESIGN SYSTEM
   ---------------------------------------------------------------------
   Palette (from brand brief):
     --navy-deepest : #071D49   night-sky background
     --navy         : #123B8C   primary brand blue
     --blue         : #174EA6   secondary blue / gradients
     --gold-deep    : #D4A62A   dark gold (borders, text-on-light)
     --gold-bright  : #F5C542   bright gold (accents, CTAs)
     --orange       : #F28C28   warm accent (secondary CTA, sparks)
     --red          : #C62828   festive accent (badges, discounts)
     --white        : #FFFFFF   base background / text-on-dark

   Type:
     Display  — 'Cinzel', serif      → ceremonial, gold-foil festive feel
     Body/UI  — 'Poppins', sans-serif → clean, modern, highly legible
     Tamil    — 'Noto Sans Tamil'     → proper Tamil glyph support

   Signature element: the cinematic canvas fireworks display behind the
   hero headline (assets/js/fireworks.js) — launch/explode/fade cycles in
   navy-gold-orange, restrained rather than constantly flashing.
   ========================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700;900&family=Poppins:wght@300;400;500;600;700;800&family=Noto+Sans+Tamil:wght@400;500;600;700&display=swap');

:root {
    /* Brand palette */
    --navy-deepest: #071D49;
    --navy: #123B8C;
    --blue: #174EA6;
    --gold-deep: #D4A62A;
    --gold-bright: #F5C542;
    --orange: #F28C28;
    --red: #C62828;
    --white: #FFFFFF;

    /* Derived surface tones */
    --navy-glass: rgba(7, 29, 73, 0.72);
    --navy-soft: #0E2C63;
    --cream: #FFF9EC;
    --ink: #0B1730;
    --ink-soft: rgba(11, 23, 48, 0.65);
    --border-soft: rgba(212, 166, 42, 0.28);

    /* Type */
    --font-display: 'Cinzel', serif;
    --font-body: 'Poppins', 'Noto Sans Tamil', sans-serif;
    --font-tamil: 'Noto Sans Tamil', 'Poppins', sans-serif;

    /* Layout */
    --container-w: 1240px;
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 26px;
    --shadow-gold: 0 10px 30px rgba(212, 166, 42, 0.25);
    --shadow-deep: 0 20px 50px rgba(7, 29, 73, 0.35);
    --transition: 220ms cubic-bezier(.4,0,.2,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }

.container {
    width: 100%;
    max-width: var(--container-w);
    margin: 0 auto;
    padding: 0 22px;
}

.lang-ta { font-family: var(--font-tamil); }

/* Respect reduced-motion preference throughout */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* -------------------------------------------------------------------
   TOP MARQUEE
   ------------------------------------------------------------------- */
.top-marquee {
    background: linear-gradient(90deg, var(--navy-deepest), var(--navy) 50%, var(--navy-deepest));
    color: var(--gold-bright);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 8px 0;
    overflow: hidden;
    white-space: nowrap;
    border-bottom: 1px solid var(--border-soft);
}
.top-marquee__track {
    display: inline-flex;
    width: max-content;
    animation: marquee-scroll 26s linear infinite;
}
.top-marquee__track span {
    padding: 0 2.2em;
}
@keyframes marquee-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* -------------------------------------------------------------------
   NAVBAR
   ------------------------------------------------------------------- */
.navbar {
    position: sticky;
    top: 0;
    z-index: 200;
    background: rgba(7, 29, 73, 0.94);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-soft);
}
.navbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 10px 0;
}
.navbar__brand { display: flex; align-items: center; gap: 10px; }
.navbar__brand img { height: 52px; width: auto; }
.navbar__links {
    display: flex;
    align-items: center;
    gap: 28px;
}
.navbar__links a {
    color: var(--white);
    font-size: 14.5px;
    font-weight: 500;
    letter-spacing: 0.02em;
    padding: 6px 2px;
    position: relative;
}
.navbar__links a::after {
    content: '';
    position: absolute;
    left: 0; bottom: -2px;
    width: 0; height: 2px;
    background: var(--gold-bright);
    transition: width var(--transition);
}
.navbar__links a:hover::after { width: 100%; }
.navbar__actions { display: flex; align-items: center; gap: 14px; }
.navbar__icon-btn {
    position: relative;
    color: var(--white);
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    transition: background var(--transition);
}
.navbar__icon-btn:hover { background: rgba(245,197,66,0.22); }
.navbar__badge {
    position: absolute; top: -4px; right: -4px;
    background: var(--red); color: var(--white);
    font-size: 10.5px; font-weight: 700;
    min-width: 18px; height: 18px; border-radius: 999px;
    display: flex; align-items: center; justify-content: center;
    padding: 0 4px;
    border: 2px solid var(--navy-deepest);
}
.navbar__toggle {
    display: none;
    background: none; border: none; color: var(--white);
}
.lang-switch {
    display: flex; background: rgba(255,255,255,0.08); border-radius: 999px; padding: 3px;
}
.lang-switch button {
    border: none; background: none; color: var(--white); font-size: 12px; font-weight: 600;
    padding: 5px 10px; border-radius: 999px;
}
.lang-switch button.active { background: var(--gold-bright); color: var(--navy-deepest); }

/* -------------------------------------------------------------------
   BUTTONS
   ------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 15px;
    padding: 14px 28px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.btn::before {
    content: '';
    position: absolute;
    top: 0; left: -60%;
    width: 40%; height: 100%;
    background: linear-gradient(115deg, transparent, rgba(255,255,255,0.55), transparent);
    transform: skewX(-20deg);
    transition: left 650ms ease;
    z-index: 1;
    pointer-events: none;
}
.btn:hover::before { left: 130%; }
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-gold {
    background: linear-gradient(135deg, var(--gold-bright), var(--gold-deep));
    color: var(--navy-deepest);
    box-shadow: var(--shadow-gold);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(212,166,42,0.38); }
.btn-whatsapp {
    background: linear-gradient(135deg, #25D366, #128C4A);
    color: var(--white);
    box-shadow: 0 12px 26px rgba(18, 140, 74, 0.35);
}
.btn-whatsapp:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(18,140,74,0.45); }
.btn-outline {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255,255,255,0.55);
}
.btn-outline:hover { border-color: var(--gold-bright); color: var(--gold-bright); }
.btn-navy {
    background: var(--navy);
    color: var(--white);
}
.btn-navy:hover { background: var(--blue); }
.btn-block { width: 100%; }
.btn-sm { padding: 9px 18px; font-size: 13px; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none !important; }

/* -------------------------------------------------------------------
   HERO
   ------------------------------------------------------------------- */
.hero {
    position: relative;
    min-height: 680px;
    display: flex;
    align-items: center;
    background: radial-gradient(ellipse at 50% -10%, var(--navy-soft) 0%, var(--navy-deepest) 60%, #050f2b 100%);
    overflow: hidden;
    color: var(--white);
}
.hero__canvas {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    z-index: 1;
}
.hero__scrim {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(7,29,73,0.12) 0%, rgba(7,29,73,0.5) 78%, rgba(5,15,43,0.92) 100%);
    z-index: 2;
}

/* Radial glow bloom behind the headline — reads as "the sky is lit up" */
.hero__glow {
    position: absolute;
    top: 8%; left: 50%;
    width: 900px; height: 900px;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(245,197,66,0.16) 0%, rgba(245,197,66,0.05) 40%, transparent 70%);
    z-index: 2;
    pointer-events: none;
    animation: glow-pulse 5s ease-in-out infinite;
}
@keyframes glow-pulse { 0%,100% { opacity: 0.7; transform: translateX(-50%) scale(1); } 50% { opacity: 1; transform: translateX(-50%) scale(1.08); } }

/* Festive bunting (paper-flag garland) strung across the top of the hero */
.hero__bunting {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 34px;
    z-index: 4;
    display: flex;
    justify-content: space-evenly;
    align-items: flex-start;
    pointer-events: none;
}
.hero__bunting span {
    width: 0; height: 0;
    border-left: 11px solid transparent;
    border-right: 11px solid transparent;
    border-top: 20px solid var(--gold-bright);
    opacity: 0.9;
    animation: bunting-sway 3.6s ease-in-out infinite;
    transform-origin: top center;
}
.hero__bunting span:nth-child(odd) { border-top-color: var(--orange); animation-delay: 0.3s; }
.hero__bunting span:nth-child(3n) { border-top-color: var(--red); animation-delay: 0.6s; }
.hero__bunting span:nth-child(4n) { border-top-color: var(--gold-deep); animation-delay: 0.9s; }
@keyframes bunting-sway { 0%,100% { transform: rotate(-4deg); } 50% { transform: rotate(4deg); } }

/* Diya (oil lamp) accents flanking the headline, with a flickering flame */
.hero__diya {
    position: absolute;
    bottom: 14%;
    z-index: 3;
    width: 46px; height: 56px;
    opacity: 0.85;
    pointer-events: none;
}
.hero__diya--left { left: 6%; }
.hero__diya--right { right: 6%; }
.hero__diya svg { width: 100%; height: 100%; }
.hero__diya .flame { animation: flame-flicker 1.6s ease-in-out infinite; transform-origin: center bottom; }
@keyframes flame-flicker {
    0%, 100% { transform: scaleY(1) scaleX(1) rotate(0deg); opacity: 1; }
    25% { transform: scaleY(1.08) scaleX(0.94) rotate(-2deg); opacity: 0.92; }
    50% { transform: scaleY(0.94) scaleX(1.05) rotate(1deg); opacity: 1; }
    75% { transform: scaleY(1.05) scaleX(0.97) rotate(2deg); opacity: 0.95; }
}

.hero__content {
    position: relative;
    z-index: 3;
    max-width: 760px;
    padding: 110px 0 120px;
    margin: 0 auto;
    text-align: center;
}
.hero__logo {
    display: block;
    margin: 0 auto 22px;
    height: 128px;
    width: auto;
    max-width: 90%;
    padding: 10px 16px;
    background: rgba(255,255,255,0.96);
    border-radius: 18px;
    border: 1.5px solid rgba(245,197,66,0.55);
    box-shadow: 0 18px 44px rgba(0,0,0,0.35), 0 0 0 1px rgba(245,197,66,0.15);
    object-fit: contain;
}
@media (max-width: 640px) {
    .hero__logo { height: 92px; margin-bottom: 16px; padding: 8px 12px; }
}
.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    letter-spacing: 0.14em;
    font-weight: 600;
    color: var(--gold-bright);
    background: rgba(245,197,66,0.14);
    border: 1px solid rgba(245,197,66,0.4);
    padding: 7px 18px;
    border-radius: 999px;
    margin-bottom: 26px;
    box-shadow: 0 0 0 0 rgba(245,197,66,0.5);
    animation: eyebrow-pulse 2.6s ease-in-out infinite;
}
@keyframes eyebrow-pulse {
    0%,100% { box-shadow: 0 0 0 0 rgba(245,197,66,0.35); }
    50% { box-shadow: 0 0 0 8px rgba(245,197,66,0); }
}
.hero__headline {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(36px, 5.8vw, 68px);
    line-height: 1.14;
    margin: 0 0 18px;
    background: linear-gradient(100deg, #FFFFFF 10%, var(--gold-bright) 35%, #FFF7DE 45%, var(--gold-deep) 55%, #FFFFFF 75%, var(--gold-bright) 100%);
    background-size: 260% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 2px 26px rgba(245,197,66,0.45));
    animation: headline-shimmer 7s linear infinite;
}
@keyframes headline-shimmer {
    0% { background-position: 0% center; }
    100% { background-position: -260% center; }
}
.hero__headline.lang-ta { font-family: var(--font-tamil); font-weight: 700; font-size: clamp(26px, 4.4vw, 44px); }
.hero__subheading {
    font-size: clamp(16px, 1.8vw, 20px);
    color: rgba(255,255,255,0.86);
    margin: 0 0 40px;
    font-weight: 300;
    letter-spacing: 0.01em;
}
.hero__ctas {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}
.hero__scroll-cue {
    position: absolute;
    bottom: 22px; left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    color: rgba(255,255,255,0.55);
    font-size: 11px;
    letter-spacing: 0.12em;
    display: flex; flex-direction: column; align-items: center; gap: 6px;
    animation: bob 2.4s ease-in-out infinite;
}
@keyframes bob { 0%,100% { transform: translate(-50%,0); } 50% { transform: translate(-50%,6px); } }

/* -------------------------------------------------------------------
   STRING LIGHTS DIVIDER — festive strand of glowing bulbs between sections
   ------------------------------------------------------------------- */
.string-lights {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding: 14px 22px;
    background: var(--navy-deepest);
    position: relative;
    overflow: hidden;
}
.string-lights::before {
    content: '';
    position: absolute;
    top: 6px; left: 0; right: 0;
    height: 1px;
    background: rgba(245,197,66,0.25);
}
.string-lights span {
    width: 9px; height: 9px;
    border-radius: 50%;
    background: var(--gold-bright);
    box-shadow: 0 0 8px 2px rgba(245,197,66,0.7);
    animation: bulb-twinkle 1.8s ease-in-out infinite;
}
.string-lights span:nth-child(3n+1) { background: var(--orange); box-shadow: 0 0 8px 2px rgba(242,140,40,0.7); animation-delay: 0.2s; }
.string-lights span:nth-child(3n+2) { background: var(--red); box-shadow: 0 0 8px 2px rgba(198,40,40,0.7); animation-delay: 0.5s; }
.string-lights span:nth-child(4n) { animation-delay: 0.9s; }
.string-lights span:nth-child(5n) { animation-delay: 1.3s; }
@keyframes bulb-twinkle {
    0%, 100% { opacity: 0.45; transform: scale(0.85); }
    50% { opacity: 1; transform: scale(1.1); }
}
@media (max-width: 600px) {
    .string-lights span:nth-child(even) { display: none; }
}

/* -------------------------------------------------------------------
   SECTION HEADERS
   ------------------------------------------------------------------- */
.section { padding: 92px 0; position: relative; }
.section--tint {
    background:
        radial-gradient(circle at 8% 12%, rgba(212,166,42,0.05) 0%, transparent 45%),
        radial-gradient(circle at 94% 82%, rgba(23,78,166,0.045) 0%, transparent 45%),
        var(--cream);
}
.section--navy {
    background: linear-gradient(180deg, var(--navy-deepest), #0A2557);
    color: var(--white);
    position: relative;
    overflow: hidden;
}
.section--navy::before {
    content: '';
    position: absolute; inset: 0;
    background-image: radial-gradient(rgba(245,197,66,0.5) 1px, transparent 1px);
    background-size: 46px 46px;
    opacity: 0.08;
    pointer-events: none;
}
.section-head { text-align: center; max-width: 620px; margin: 0 auto 50px; position: relative; z-index: 1; }
.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px; font-weight: 700; letter-spacing: 0.16em;
    color: var(--red); text-transform: uppercase;
    margin-bottom: 14px;
}
.section-eyebrow::before, .section-eyebrow::after {
    content: '';
    width: 20px; height: 1px;
    background: currentColor;
    opacity: 0.5;
}
.section--navy .section-eyebrow { color: var(--gold-bright); }
.section-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 3.4vw, 40px);
    font-weight: 700;
    color: var(--navy-deepest);
    margin: 0 0 12px;
    letter-spacing: 0.01em;
}
.section--navy .section-title { color: var(--white); }
.section-desc { color: var(--ink-soft); font-size: 15.5px; line-height: 1.65; }
.section--navy .section-desc { color: rgba(255,255,255,0.72); }

/* -------------------------------------------------------------------
   CATEGORY CHIPS
   ------------------------------------------------------------------- */
.category-row {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding: 4px 2px 14px;
    scrollbar-width: thin;
}
.category-chip {
    flex: 0 0 auto;
    display: flex; flex-direction: column; align-items: center; gap: 12px;
    width: 108px;
    text-align: center;
}
.category-chip__ring {
    width: 92px; height: 92px; border-radius: 50%;
    padding: 3px;
    background: conic-gradient(from 0deg, var(--gold-bright), var(--orange), var(--red), var(--gold-deep), var(--gold-bright));
    display: flex; align-items: center; justify-content: center;
    transition: transform var(--transition);
    animation: ring-rotate 6s linear infinite;
}
.category-chip:hover .category-chip__ring { transform: translateY(-4px) scale(1.06); }
@keyframes ring-rotate { to { filter: hue-rotate(0deg); transform: rotate(360deg); } }
.category-chip__img {
    width: 100%; height: 100%; border-radius: 50%;
    background: linear-gradient(145deg, var(--navy), var(--blue));
    display: flex; align-items: center; justify-content: center;
    border: 2px solid var(--navy-deepest);
    color: var(--gold-bright);
    font-size: 28px;
}
.category-chip__label { font-size: 13px; font-weight: 600; color: var(--navy-deepest); }

/* -------------------------------------------------------------------
   PRODUCT GRID / CARD
   ------------------------------------------------------------------- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 24px;
}
.product-card {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid rgba(7,29,73,0.08);
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(7,29,73,0.06);
    transition: transform 320ms cubic-bezier(.2,.8,.3,1.1), box-shadow var(--transition);
    display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-8px); box-shadow: 0 26px 54px rgba(7,29,73,0.18), 0 0 0 1px rgba(212,166,42,0.15); }
.product-card__media {
    position: relative;
    aspect-ratio: 1 / 0.82;
    background: linear-gradient(145deg, #EAF0FB, #F7F2E2);
    overflow: hidden;
}
.product-card__media img {
    width: 100%; height: 100%; object-fit: cover;
    transition: opacity 420ms ease, transform 600ms ease;
}
.product-card__media img.product-card__img--secondary {
    position: absolute; inset: 0;
    opacity: 0;
}
.product-card:hover .product-card__media img.product-card__img--primary { opacity: 0; }
.product-card:hover .product-card__media img.product-card__img--secondary { opacity: 1; }
.product-card:hover .product-card__media img { transform: scale(1.05); }
.product-card__badge {
    position: absolute; top: 12px; left: 12px;
    background: var(--red); color: var(--white);
    font-size: 11.5px; font-weight: 700;
    padding: 5px 11px; border-radius: 999px;
    box-shadow: 0 4px 10px rgba(198,40,40,0.35);
    z-index: 2;
}
.product-card__badge--featured { background: var(--gold-deep); left: auto; right: 12px; }
.product-card__soldout {
    position: absolute; inset: 0;
    background: rgba(7,29,73,0.72);
    display: flex; align-items: center; justify-content: center;
    color: var(--white); font-family: var(--font-display); font-weight: 700;
    font-size: 18px; letter-spacing: 0.1em;
    z-index: 2;
}
.product-card__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-card__cat { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; color: var(--blue); text-transform: uppercase; }
.product-card__name { font-size: 16px; font-weight: 600; color: var(--navy-deepest); line-height: 1.35; min-height: 44px; }
.product-card__name-ta { font-family: var(--font-tamil); font-size: 13px; color: var(--ink-soft); }
.product-card__price-row { display: flex; align-items: baseline; gap: 9px; margin-top: 2px; }
.product-card__price { font-size: 19px; font-weight: 700; color: var(--navy); }
.product-card__price-orig { font-size: 13.5px; color: #9AA5B8; text-decoration: line-through; }
.product-card__discount-tag { font-size: 11.5px; font-weight: 700; color: var(--red); }
.product-card__footer { display: flex; gap: 8px; margin-top: auto; padding-top: 10px; }
.product-card__footer .btn { flex: 1; padding: 10px 12px; font-size: 12.5px; }
.qty-stepper {
    display: flex; align-items: center; justify-content: space-between;
    border: 1.5px solid rgba(7,29,73,0.15); border-radius: 999px;
    padding: 4px; margin-bottom: 4px;
}
.qty-stepper button {
    width: 28px; height: 28px; border-radius: 50%; border: none;
    background: var(--cream); color: var(--navy-deepest); font-weight: 700; font-size: 15px;
    display: flex; align-items: center; justify-content: center;
}
.qty-stepper input {
    width: 40px; text-align: center; border: none; font-weight: 600; font-size: 14px; background: transparent;
}

/* -------------------------------------------------------------------
   WHY US / FEATURE GRID
   ------------------------------------------------------------------- */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 22px;
}
.feature-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(245,197,66,0.18);
    border-radius: var(--radius-md);
    padding: 28px 24px;
    text-align: center;
}
.feature-card__icon {
    width: 58px; height: 58px; margin: 0 auto 16px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold-bright), var(--orange));
    display: flex; align-items: center; justify-content: center;
    color: var(--navy-deepest); font-size: 24px;
}
.feature-card__title { font-weight: 700; font-size: 16px; margin-bottom: 8px; color: var(--white); }
.feature-card__desc { font-size: 13.5px; color: rgba(255,255,255,0.68); line-height: 1.6; }

/* -------------------------------------------------------------------
   HOW TO ORDER (numbered process — real 5-step sequence, order matters)
   ------------------------------------------------------------------- */
.steps-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}
.step-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 26px 18px;
    text-align: center;
    border: 1px solid rgba(7,29,73,0.08);
    position: relative;
}
.step-card__num {
    font-family: var(--font-display);
    font-size: 30px; font-weight: 700;
    color: var(--gold-deep);
    margin-bottom: 10px;
}
.step-card__title { font-weight: 700; font-size: 14.5px; color: var(--navy-deepest); margin-bottom: 6px; letter-spacing: 0.02em;}
.step-card__desc { font-size: 12.5px; color: var(--ink-soft); line-height: 1.55; }

/* -------------------------------------------------------------------
   CART PAGE
   ------------------------------------------------------------------- */
.cart-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 28px; align-items: start; }
.cart-item {
    display: grid; grid-template-columns: 76px 1fr auto auto; gap: 16px; align-items: center;
    padding: 16px; border-radius: var(--radius-sm); background: var(--white);
    border: 1px solid rgba(7,29,73,0.08); margin-bottom: 12px;
}
.cart-item__img { width: 76px; height: 76px; border-radius: 10px; object-fit: cover; background: var(--cream); }
.cart-item__name { font-weight: 600; color: var(--navy-deepest); font-size: 14.5px; }
.cart-item__unit { font-size: 12.5px; color: var(--ink-soft); }
.cart-item__remove { color: var(--red); font-size: 12px; font-weight: 600; background:none; border:none; }

.summary-card {
    background: linear-gradient(165deg, var(--navy-deepest), #0E2C63);
    color: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px;
    position: sticky; top: 90px;
}
.summary-card h3 { font-family: var(--font-display); margin: 0 0 18px; font-size: 20px; }
.summary-row { display: flex; justify-content: space-between; font-size: 14px; padding: 8px 0; color: rgba(255,255,255,0.82); }
.summary-row.total { border-top: 1px solid rgba(255,255,255,0.18); margin-top: 8px; padding-top: 14px; font-size: 18px; font-weight: 700; color: var(--gold-bright); }
.summary-nudge {
    background: rgba(245,197,66,0.12); border: 1px dashed rgba(245,197,66,0.45);
    border-radius: 10px; padding: 10px 12px; font-size: 12.5px; margin: 14px 0; color: var(--gold-bright);
}
.summary-card .btn { margin-top: 6px; }

/* -------------------------------------------------------------------
   CONFIRMATION MODAL (WhatsApp return flow)
   ------------------------------------------------------------------- */
.modal-overlay {
    position: fixed; inset: 0; z-index: 1000;
    background: rgba(5, 15, 43, 0.72);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center; justify-content: center;
    padding: 18px;
}
.modal-overlay.is-open { display: flex; }
.modal-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    max-width: 440px; width: 100%;
    padding: 34px 28px 28px;
    text-align: center;
    box-shadow: 0 30px 70px rgba(0,0,0,0.4);
    position: relative;
    animation: modal-pop 320ms cubic-bezier(.2,.9,.3,1.2);
}
@keyframes modal-pop { from { transform: scale(0.9) translateY(10px); opacity: 0; } to { transform: scale(1) translateY(0); opacity: 1; } }
.modal-card__icon { font-size: 44px; margin-bottom: 10px; }
.modal-card h2 { font-family: var(--font-display); font-size: 21px; color: var(--navy-deepest); margin: 0 0 10px; }
.modal-card p { font-size: 13.5px; color: var(--ink-soft); line-height: 1.6; margin: 0 0 18px; }
.modal-ref {
    display: inline-block; background: var(--cream); border: 1px dashed var(--gold-deep);
    border-radius: 8px; padding: 8px 14px; font-weight: 700; color: var(--navy); font-size: 13px; margin-bottom: 18px;
}
.field-group { text-align: left; margin-bottom: 16px; }
.field-group label { display: block; font-size: 12.5px; font-weight: 600; color: var(--navy-deepest); margin-bottom: 6px; }
.mobile-input-row { display: flex; align-items: stretch; border: 1.5px solid rgba(7,29,73,0.18); border-radius: 10px; overflow: hidden; }
.mobile-input-row span { background: var(--cream); display: flex; align-items: center; padding: 0 12px; font-weight: 600; color: var(--navy-deepest); font-size: 14px; }
.mobile-input-row input { flex: 1; border: none; padding: 12px; font-size: 15px; outline: none; }
.field-error { color: var(--red); font-size: 12px; margin-top: 6px; display: none; }
.modal-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }
.modal-secondary-link { background: none; border: none; color: var(--ink-soft); font-size: 13px; font-weight: 500; padding: 6px; }
.modal-secondary-link:hover { color: var(--red); }

/* Order review block inside the Place Order popup */
.order-review {
    background: var(--cream);
    border: 1px solid var(--border-soft);
    border-radius: 12px;
    padding: 14px 16px;
    text-align: left;
    margin-top: 4px;
}
.order-review__row {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 7px 0;
    border-bottom: 1px dashed rgba(212,166,42,0.35);
    font-size: 13px;
}
.order-review__row:last-child { border-bottom: none; }
.order-review__label { color: var(--ink-soft); flex-shrink: 0; font-weight: 500; }
.order-review__value { color: var(--navy-deepest); font-weight: 600; text-align: right; }
.order-review__row--total { padding-top: 10px; }
.order-review__row--total .order-review__label,
.order-review__row--total .order-review__value {
    font-size: 15px; font-weight: 700; color: var(--navy);
}

/* -------------------------------------------------------------------
   ORDER TRACKING TIMELINE
   ------------------------------------------------------------------- */
.order-timeline { display: flex; justify-content: space-between; position: relative; margin: 36px 0 10px; }
.order-timeline::before {
    content: ''; position: absolute; top: 17px; left: 6%; right: 6%; height: 3px; background: rgba(7,29,73,0.12); z-index: 0;
}
.order-timeline__fill { position: absolute; top: 17px; left: 6%; height: 3px; background: linear-gradient(90deg, var(--gold-deep), var(--orange)); z-index: 1; transition: width 500ms ease; }
.timeline-step { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 8px; flex: 1; }
.timeline-step__dot {
    width: 34px; height: 34px; border-radius: 50%; background: var(--white); border: 3px solid rgba(7,29,73,0.18);
    display: flex; align-items: center; justify-content: center; color: rgba(7,29,73,0.35); font-size: 14px; font-weight: 700;
    transition: all var(--transition);
}
.timeline-step.is-done .timeline-step__dot { border-color: var(--gold-deep); background: var(--gold-bright); color: var(--navy-deepest); }
.timeline-step.is-current .timeline-step__dot { border-color: var(--red); box-shadow: 0 0 0 5px rgba(198,40,40,0.15); color: var(--red); }
.timeline-step__label { font-size: 11.5px; font-weight: 600; color: var(--ink-soft); text-align: center; }
.timeline-step.is-done .timeline-step__label { color: var(--navy-deepest); }

/* -------------------------------------------------------------------
   FLOATING WHATSAPP BUTTON (mobile-first, always accessible)
   ------------------------------------------------------------------- */
.fab-whatsapp {
    position: fixed; bottom: 22px; right: 20px; z-index: 500;
    bottom: calc(22px + env(safe-area-inset-bottom, 0px));
    right: calc(20px + env(safe-area-inset-right, 0px));
    width: 58px; height: 58px; border-radius: 50%;
    background: linear-gradient(135deg, #25D366, #128C4A);
    display: flex; align-items: center; justify-content: center;
    color: var(--white); font-size: 26px;
    box-shadow: 0 12px 28px rgba(18,140,74,0.45);
    animation: fab-pulse 2.6s ease-in-out infinite;
}
.fab-whatsapp svg { width: 30px; height: 30px; }
@keyframes fab-pulse { 0%,100% { box-shadow: 0 12px 28px rgba(18,140,74,0.45); } 50% { box-shadow: 0 12px 34px rgba(18,140,74,0.7), 0 0 0 8px rgba(37,211,102,0.12); } }
@media (max-width: 480px) {
    .fab-whatsapp {
        width: 52px; height: 52px;
        bottom: calc(16px + env(safe-area-inset-bottom, 0px));
        right: calc(14px + env(safe-area-inset-right, 0px));
    }
    .fab-whatsapp svg { width: 26px; height: 26px; }
}

/* -------------------------------------------------------------------
   FOOTER
   ------------------------------------------------------------------- */
.footer { background: var(--navy-deepest); color: rgba(255,255,255,0.75); padding: 60px 0 24px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; margin-bottom: 40px; }
.footer__brand img { height: 46px; margin-bottom: 14px; }
.footer__brand p { font-size: 13.5px; line-height: 1.7; color: rgba(255,255,255,0.55); }
.footer h4 { color: var(--gold-bright); font-size: 13.5px; letter-spacing: 0.08em; text-transform: uppercase; margin: 0 0 16px; }
.footer ul li { margin-bottom: 10px; font-size: 13.5px; }
.footer ul li a:hover { color: var(--gold-bright); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 22px; font-size: 12.5px; text-align: center; color: rgba(255,255,255,0.45); }
.footer__legal-note { max-width: 720px; margin: 10px auto 0; text-align: center; font-size: 11.5px; color: rgba(255,255,255,0.35); line-height: 1.6; }

/* -------------------------------------------------------------------
   PRODUCT IMAGE LIGHTBOX (product.php gallery)
   ------------------------------------------------------------------- */
.pdp-gallery__main {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 1/0.9;
    background: var(--cream);
    margin-bottom: 14px;
    cursor: zoom-in;
}
.pdp-gallery__main img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms ease; }
.pdp-gallery__main:hover img { transform: scale(1.04); }
.pdp-gallery__zoom-hint {
    position: absolute; bottom: 12px; right: 12px;
    background: rgba(7,29,73,0.7); color: var(--white);
    font-size: 11.5px; font-weight: 600;
    padding: 6px 12px; border-radius: 999px;
    display: flex; align-items: center; gap: 6px;
    backdrop-filter: blur(4px);
}
.pdp-gallery__thumbs { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 2px; }
.pdp-gallery__thumbs img {
    width: 68px; height: 68px; object-fit: cover; border-radius: 10px; cursor: pointer;
    border: 2px solid transparent; opacity: 0.75;
    transition: border-color var(--transition), opacity var(--transition), transform var(--transition);
    flex-shrink: 0;
}
.pdp-gallery__thumbs img:hover { opacity: 1; transform: translateY(-2px); }
.pdp-gallery__thumbs img.is-active { border-color: var(--gold-deep); opacity: 1; box-shadow: 0 4px 14px rgba(212,166,42,0.3); }

.lightbox-overlay {
    position: fixed; inset: 0; z-index: 1500;
    background: rgba(5,15,43,0.94);
    display: none;
    align-items: center; justify-content: center;
    padding: 40px 16px;
}
.lightbox-overlay.is-open { display: flex; }
.lightbox-overlay__stage { position: relative; max-width: 900px; width: 100%; text-align: center; }
.lightbox-overlay__stage img {
    max-width: 100%; max-height: 78vh; object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.5);
    animation: modal-pop 260ms cubic-bezier(.2,.9,.3,1.2);
}
.lightbox-overlay__close {
    position: absolute; top: -46px; right: 0;
    background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.25);
    color: var(--white); width: 38px; height: 38px; border-radius: 50%;
    font-size: 20px; cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.lightbox-overlay__nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.25);
    color: var(--white); width: 46px; height: 46px; border-radius: 50%;
    font-size: 20px; cursor: pointer; display: flex; align-items: center; justify-content: center;
    transition: background var(--transition);
}
.lightbox-overlay__nav:hover { background: rgba(245,197,66,0.3); }
.lightbox-overlay__nav--prev { left: -60px; }
.lightbox-overlay__nav--next { right: -60px; }
@media (max-width: 900px) {
    .lightbox-overlay__nav--prev { left: 6px; }
    .lightbox-overlay__nav--next { right: 6px; }
    .lightbox-overlay__close { top: 6px; right: 6px; background: rgba(5,15,43,0.6); }
}
.lightbox-overlay__counter {
    color: rgba(255,255,255,0.6); font-size: 12.5px; margin-top: 14px; letter-spacing: 0.04em;
}

/* -------------------------------------------------------------------
   MISC / ALERTS / FORMS
   ------------------------------------------------------------------- */
.alert { padding: 12px 16px; border-radius: 10px; font-size: 13.5px; margin-bottom: 18px; }
.alert-error { background: #FDECEC; color: var(--red); border: 1px solid rgba(198,40,40,0.25); }
.alert-success { background: #EAF7EE; color: #1E7E34; border: 1px solid rgba(30,126,52,0.25); }
.form-card { max-width: 440px; margin: 60px auto; background: var(--white); border-radius: var(--radius-lg); padding: 36px 32px; box-shadow: var(--shadow-deep); border: 1px solid rgba(7,29,73,0.06); }
.form-card h1 { font-family: var(--font-display); font-size: 24px; color: var(--navy-deepest); text-align: center; margin: 0 0 6px; }
.form-card .subtext { text-align: center; color: var(--ink-soft); font-size: 13.5px; margin-bottom: 26px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--navy-deepest); margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 12px 14px; border-radius: 10px; border: 1.5px solid rgba(7,29,73,0.15);
    font-size: 14.5px; font-family: inherit; outline: none; transition: border-color var(--transition);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--gold-deep); }
.form-divider { display: flex; align-items: center; gap: 12px; margin: 20px 0; color: var(--ink-soft); font-size: 12px; }
.form-divider::before, .form-divider::after { content: ''; flex: 1; height: 1px; background: rgba(7,29,73,0.12); }
.btn-google {
    background: var(--white); border: 1.5px solid rgba(7,29,73,0.15); color: var(--ink);
}
.btn-google:hover { border-color: var(--navy); }
.form-foot { text-align: center; font-size: 13.5px; color: var(--ink-soft); margin-top: 18px; }
.form-foot a { color: var(--navy); font-weight: 600; }

/* Skip link for accessibility */
.skip-link {
    position: absolute; left: -999px; top: 0; background: var(--gold-bright); color: var(--navy-deepest);
    padding: 10px 16px; z-index: 2000; font-weight: 700; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* Visible keyboard focus */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 2.5px solid var(--gold-bright); outline-offset: 2px;
}

/* -------------------------------------------------------------------
   RESPONSIVE
   ------------------------------------------------------------------- */
@media (max-width: 980px) {
    .cart-layout { grid-template-columns: 1fr; }
    .summary-card { position: static; }
    .footer__grid { grid-template-columns: 1fr 1fr; }
    .steps-row { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
    .navbar__links { display: none; }
    .navbar__toggle { display: block; }
    .steps-row { grid-template-columns: repeat(2, 1fr); }
    .hero__content { padding: 60px 0 90px; }
    .hero__diya { width: 32px; height: 40px; opacity: 0.6; }
    .hero__diya--left { left: 3%; }
    .hero__diya--right { right: 3%; }
    .hero__bunting span { border-left-width: 8px; border-right-width: 8px; border-top-width: 14px; }
    .footer__grid { grid-template-columns: 1fr; gap: 28px; }
    .cart-item { grid-template-columns: 60px 1fr; grid-template-rows: auto auto; }
}
@media (max-width: 480px) {
    .steps-row { grid-template-columns: 1fr 1fr; }
    .product-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
}

/* Mobile nav drawer */
.mobile-drawer {
    position: fixed; inset: 0; z-index: 999; display: none;
}
.mobile-drawer.is-open { display: block; }
.mobile-drawer__scrim { position: absolute; inset: 0; background: rgba(5,15,43,0.6); }
.mobile-drawer__panel {
    position: absolute; top: 0; right: 0; bottom: 0; width: 78%; max-width: 320px;
    background: var(--navy-deepest); padding: 26px 22px; overflow-y: auto;
}
.mobile-drawer__panel a { display: block; color: var(--white); font-size: 15px; font-weight: 500; padding: 14px 4px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.mobile-drawer__close { color: var(--white); background: none; border: none; font-size: 22px; float: right; }
