/* ==========================================================================
   1. COLOR SYSTEM & DESIGN VARIABLES
   ========================================================================== */
:root {
    --primary-green: #235937;        /* Vibrant mint leaf organic focus */
    --accent-light-green: #eaf5ee;   /* Soft refreshing backdrop highlight */
    --warning-gold: #f1b827;         /* High-visibility warm sun gold accent */
    --clean-white: #ffffff;
    --soft-cloud: #f6f8f6;           /* Premium anti-fatigue light gray */
    --text-dark: #2d372e;            /* Softened slate forest dark */
    --text-muted: #616c62;           /* Gentle secondary reading text */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   2. FULL-WIDTH CORE SYSTEM RESET (SOFT TEXT)
   ========================================================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    /* Premium Standard Soft Font Stack */
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: var(--text-dark);
    background-color: var(--soft-cloud);
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100vw;
    letter-spacing: -0.01em; /* Gives standard system font a sleek, premium look */
}

/* Soft Typography Headers Override */
h1, h2, h3, h4, h5, h6, .fw-bold {
    font-weight: 600 !important; /* Replaces hard bold with premium semi-bold */
    letter-spacing: -0.02em;
}

.text-muted, .card-text.text-muted {
    color: var(--text-muted) !important;
}

/* Force container overrides to stretch edge-to-edge seamlessly */
.container, .container-fluid {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 4% !important;
    padding-right: 4% !important;
}

/* Custom Selection Highlights */
::selection {
    background-color: var(--accent-light-green);
    color: var(--primary-green);
}

/* ==========================================================================
   3. GLOBAL COMMON MODIFIERS & UI THEME UTILITIES
   ========================================================================== */
.text-success { color: var(--primary-green) !important; }
.bg-success-light { background-color: var(--accent-light-green) !important; }
.text-warning-gold { color: var(--warning-gold) !important; }
.text-whatsapp-green { color: #2bf36f !important; }

/* Interactive Buttons */
.btn-success {
    background-color: var(--primary-green) !important;
    border-color: var(--primary-green) !important;
    color: var(--clean-white) !important;
    font-weight: 500 !important; /* Soft medium weight */
    transition: var(--transition-smooth);
}
.btn-success:hover {
    background-color: #183f26 !important;
    border-color: #183f26 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(35, 89, 55, 0.15);
}

.btn-warning-gold {
    background-color: var(--warning-gold) !important;
    border-color: var(--warning-gold) !important;
    color: var(--text-dark) !important;
    font-weight: 500 !important;
    transition: var(--transition-smooth);
}
.btn-warning-gold:hover {
    background-color: #d8a21b !important;
    border-color: #d8a21b !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(241, 184, 39, 0.15);
}

/* Clean UI Section Containers */
.card-clean {
    background-color: var(--clean-white);
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(35, 89, 55, 0.05);
    padding: 3rem !important;
}

/* ==========================================================================
   4. FIXED NAVIGATION HEADER ARRAYS (SCROLL DETECTIVE)
   ========================================================================== */
.top-bar {
    background-color: var(--primary-green);
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    z-index: 1041;
    box-shadow: 0 2px 10px rgba(35, 89, 55, 0.12);
    transition: transform 0.3s ease;
}

.navbar {
    position: fixed !important;
    top: 40px; 
    left: 0;
    width: 100vw;
    background-color: rgba(255, 255, 255, 0.75) !important; 
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(12px); 
    -webkit-backdrop-filter: blur(12px);
    z-index: 1040;
    padding: 0.8rem 0 !important;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease !important;
}

.navbar-hidden { transform: translateY(-130px) !important; }
.top-bar-hidden { transform: translateY(-40px) !important; }

.navbar-scrolled {
    top: 0 !important;
    background-color: rgba(255, 255, 255, 0.85) !important;
    box-shadow: 0 10px 30px rgba(35, 89, 55, 0.03);
}

.navbar-brand img {
    height: 48px !important;
    width: auto !important;
    object-fit: contain;
}

.nav-link {
    color: var(--text-dark) !important;
    font-size: 0.92rem;
    font-weight: 500 !important;
    transition: color 0.2s ease;
}
.nav-link:hover { color: var(--primary-green) !important; }

/* ==========================================================================
   5. TRUE 100VH FULL-HEIGHT HERO CAROUSEL
   ========================================================================== */
#heroCarousel {
    width: 100vw;
    height: calc(100vh - 40px);
    margin-top: 0px;
}

#heroCarousel .carousel-inner, 
#heroCarousel .carousel-item {
    height: 100% !important;
    width: 100%;
}

#heroCarousel .carousel-item {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
}

/*
#heroCarousel .carousel-item::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.5) 20%, rgba(0,0,0,0.15) 100%);
    z-index: 1;
}   */

.carousel-caption {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    bottom: auto !important;
    left: 6% !important;
    right: 6% !important;
    max-width: 750px;
    z-index: 2;
}

.badge-hero {
    background-color: rgba(255, 255, 255, 0.18) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--clean-white) !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.85rem;
    font-weight: 500 !important;
}

.carousel-caption h1 {
    font-size: 4rem;
    font-weight: 600 !important; /* Soft header appearance */
    line-height: 1.15;
    margin-top: 10px;
    margin-bottom: 20px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.carousel-caption p {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 35px;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* ==========================================================================
   6. PREMIUM FULL-WIDTH CATALOG GRID & CARDS
   ========================================================================== */
.certifications-bar {
    background-color: var(--clean-white);
    border-bottom: 1px solid rgba(35, 89, 55, 0.06);
    width: 100vw;
}

.badge-cert {
    background-color: var(--accent-light-green);
    color: var(--primary-green);
    font-weight: 500 !important;
}

.product-card {
    border: 0 !important;
    border-radius: 20px;
    background-color: var(--clean-white);
    transition: var(--transition-smooth);
    box-shadow: 0 4px 25px rgba(35, 89, 55, 0.02);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(35, 89, 55, 0.08) !important;
}

.product-card .card-img-top {
    height: 240px !important;
    width: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .card-img-top {
    transform: scale(1.03);
}

.category-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    font-size: 0.68rem;
    font-weight: 600 !important;
    text-transform: uppercase;
    background-color: var(--primary-green) !important;
    color: var(--clean-white) !important;
    padding: 6px 14px !important;
    border-radius: 30px !important;
    z-index: 2;
}

.filter-group {
    background-color: var(--clean-white);
    padding: 8px;
    border-radius: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    display: inline-flex;
}

.btn-filter {
    border: 0 !important;
    color: var(--text-dark);
    font-weight: 500 !important;
    padding: 10px 28px !important;
    border-radius: 30px !important;
    transition: var(--transition-smooth);
}

.btn-filter.active, .btn-filter:hover {
    background-color: var(--primary-green) !important;
    color: var(--clean-white) !important;
}

/* ==========================================================================
   7. HEALTH BENEFITS LISTINGS SYSTEM
   ========================================================================== */
.benefit-item-card {
    background-color: var(--soft-cloud);
    border: 1px solid rgba(35, 89, 55, 0.04);
    border-radius: 16px;
    padding: 24px !important;
    transition: var(--transition-smooth);
}

.benefit-item-card:hover {
    background-color: var(--clean-white);
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(35, 89, 55, 0.05);
    border-color: var(--primary-green) !important;
}

/* ==========================================================================
   8. SIDE BASKET SLIDE DRAWER
   ========================================================================== */
.cart-drawer {
    position: fixed;
    top: 0;
    right: -460px;
    width: 440px;
    max-width: 100%;
    height: 100vh;
    background: var(--clean-white);
    box-shadow: -15px 0 50px rgba(0, 0, 0, 0.06);
    z-index: 1060;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 30px;
    display: flex;
    flex-direction: column;
}

.cart-drawer.open { right: 0; }

.cart-overlay {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(42, 51, 44, 0.25);
    backdrop-filter: blur(4px);
    z-index: 1050;
    display: none;
}
.cart-overlay.show { display: block; }

/* ==========================================================================
   9. BRANDED FOOTER STYLING
   ========================================================================== */
.site-footer {
    background-color: var(--clean-white);
    border-top: 1px solid rgba(35, 89, 55, 0.08);
    width: 100vw;
}

.footer-brand-img {
    height: 44px !important;
    width: auto !important;
    object-fit: contain;
}

/* ==========================================================================
   10. MEDIA RESPONSIVE FLUID RULES
   ========================================================================== */
@media (max-width: 991px) {
    .carousel-caption h1 { font-size: 2.8rem; }
    .carousel-caption p { font-size: 1.1rem; }
    .card-clean { padding: 1.5rem !important; }
}

@media (max-width: 768px) {
    .carousel-caption h1 { font-size: 2.2rem; }
    .navigation-shifted { top: 72px !important; }
    #heroCarousel { height: calc(100vh - 72px); }
    .cart-drawer { width: 100%; right: -100%; }
}