/* Global Theme Overrides - Light & Colorful Theme */
body {
    background-color: #f8fafc;
    color: #1e293b;
    font-family: 'Inter', sans-serif;
}

/* Glassmorphism Classes (Light Theme) */
.glass-panel {
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(0, 212, 255, 0.15);
    box-shadow: 0 10px 30px -5px rgba(0, 180, 220, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
}

.glass-panel-hover {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-panel-hover:hover {
    background: rgba(255, 255, 255, 0.98);
    border-color: rgba(0, 212, 255, 0.4);
    box-shadow: 0 20px 40px -10px rgba(0, 212, 255, 0.22);
    transform: translateY(-4px);
}

/* Neon Glow Utilities (Tailored for Light Theme) */
.neon-glow-text {
    text-shadow: 0 0 12px rgba(0, 180, 230, 0.25);
    color: #0284c7;
}

.neon-border-glow {
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.25);
    border-color: rgba(0, 212, 255, 0.4);
}

/* Background Radial Glow Blobs */
.glow-blob {
    position: absolute;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    filter: blur(120px);
    z-index: 0;
    pointer-events: none;
    opacity: 0.35;
}

.glow-cyan {
    background: radial-gradient(circle, rgba(56, 189, 248, 0.4) 0%, rgba(56, 189, 248, 0) 70%);
}

.glow-purple {
    background: radial-gradient(circle, rgba(192, 132, 252, 0.4) 0%, rgba(192, 132, 252, 0) 70%);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: rgba(14, 165, 233, 0.35);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(14, 165, 233, 0.65);
}

/* Slow spin for graphics */
@keyframes spin-slow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.animate-spin-slow {
    animation: spin-slow 20s linear infinite;
}

/* Animated Flow Highlights */
@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

.animate-float {
    animation: float 4s ease-in-out infinite;
}

/* Flavor specific color variables */
.flavor-mango {
    --glow-color: rgba(245, 158, 11, 0.4);
}

.flavor-orange {
    --glow-color: rgba(249, 115, 22, 0.4);
}

.flavor-jeera {
    --glow-color: rgba(34, 197, 94, 0.4);
}

.flavor-kalakhatta {
    --glow-color: rgba(147, 51, 234, 0.4);
}

/* Preloader Animations */
@keyframes svg-circle-spin {
    0% {
        transform: rotate(0deg) scale(1);
        filter: drop-shadow(0 0 15px rgba(0, 212, 255, 0.7));
    }

    50% {
        transform: rotate(180deg) scale(1.08);
        filter: drop-shadow(0 0 30px rgba(0, 212, 255, 0.95));
    }

    100% {
        transform: rotate(360deg) scale(1);
        filter: drop-shadow(0 0 15px rgba(0, 212, 255, 0.7));
    }
}

.animate-svg-circle {
    animation: svg-circle-spin 2.2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

#preloader {
    will-change: opacity;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

#preloader.loaded {
    opacity: 0 !important;
    pointer-events: none !important;
}

.flavor-pineapple {
    --glow-color: rgba(234, 179, 8, 0.4);
}

.flavor-teti {
    --glow-color: rgba(163, 230, 53, 0.4);
}

/* Arch Backdrop for Hero Product Section (Kōri aesthetic) */
.hero-arch-shape {
    border-top-left-radius: 240px;
    border-top-right-radius: 240px;
    border-bottom-left-radius: 24px;
    border-bottom-right-radius: 24px;
}

@media (min-width: 768px) {
    .hero-arch-shape {
        border-top-left-radius: 300px;
        border-top-right-radius: 300px;
        border-bottom-left-radius: 32px;
        border-bottom-right-radius: 32px;
    }
}

/* Warm Cream Background */
.bg-cream-warm {
    background-color: #FAF7F2;
}

.text-sage-dark {
    color: #557147;
}

.bg-sage-pill {
    background-color: #5d7a4e;
}

.bg-sage-pill:hover {
    background-color: #4f6942;
}

/* ── Mobile Responsive Overrides ──────────────────────────────────────── */

/* Hero section top padding: account for navbar + announcement bar */
#product-showcase-section {
    padding-top: 8.5rem !important;
}

@media (max-width: 479px) {
    #product-showcase-section {
        padding-top: 8.5rem !important;
        padding-bottom: 2rem !important;
    }

    /* Tighter arch shape on very small phones */
    .hero-arch-shape {
        border-top-left-radius: 160px;
        border-top-right-radius: 160px;
        border-bottom-left-radius: 16px;
        border-bottom-right-radius: 16px;
    }
}

@media (max-width: 639px) {
    /* Prevent horizontal overflow on mobile */
    html, body {
        max-width: 100vw;
        overflow-x: hidden;
    }

    /* Tighten announcement bar text on small phones */
    #top-announcement-bar {
        font-size: 10px !important;
        padding-top: 6px !important;
        padding-bottom: 6px !important;
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
        line-height: 1.3 !important;
    }

    /* Ensure product cards don't overflow in 2-col grid */
    #products-carousel-track > div {
        min-width: 0;
        overflow: hidden;
    }

    /* Reviews: single column on small phones */
    .grid.grid-cols-1.md\:grid-cols-2.lg\:grid-cols-3 {
        grid-template-columns: 1fr;
    }
}

/* Ensure no-scrollbar utility works everywhere */
.no-scrollbar {
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.no-scrollbar::-webkit-scrollbar {
    display: none;
}

/* Safe area padding for modern mobile browsers (notch/home-bar) */
@supports (padding: max(0px)) {
    body {
        padding-left: max(0px, env(safe-area-inset-left));
        padding-right: max(0px, env(safe-area-inset-right));
    }
}