@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@500;700&display=swap');

/* ================= THEME VARIABLES (Mushroom EDITION) ================= */
:root {
    --bg-main: #f8f9f6;
    --bg-card: #ffffff;

    /* Mushroom Theme Palette */
    --accent-green: #2d5a27;
    /* Deep Forest Green */
    --accent-brown: #4a3728;
    /* Earthy Brown */
    --accent-red: #d32f2f;
    /* Toadstool Red */
    --accent-cream: #f1f3e9;
    /* Soft Forest Floor */
    --accent-white: #ffffff;

    /* Text Colors */
    --text-main: #2b1f1a;
    /* Deep Earth */
    --text-muted: #5d4a44;
    /* Soil Brown */

    /* Functional Colors */
    --accent-error: #D32F2F;
    --shadow: 0 5px 15px rgba(45, 90, 39, 0.1);
    --shadow-hover: 0 10px 25px rgba(45, 90, 39, 0.2);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ================= HEADER ================= */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 15px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: var(--accent-green);
    /* Forest Green Background */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

header .logo img {
    height: 45px;
    width: auto;
    display: block;
}

/* --- NAV ICONS --- */
.nav-icons {
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-icons i {
    font-size: 1.2rem;
    color: #FFF8E1;
    /* Cream color */
    cursor: pointer;
    transition: 0.3s;
}

.nav-icons i:hover {
    color: #FFECB3;
    /* Lighter gold on hover */
    transform: scale(1.1);
}

/* Cart Badge */
.cart-icon-wrapper {
    position: relative;
    cursor: pointer;
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--accent-red);
    color: white;
    font-size: 0.75rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* ================= MODAL CLOSE ICONS ================= */
.close-cart,
.close-auth {
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--text-main);
    transition: 0.3s;
    position: absolute;
    top: 20px;
    right: 20px;
}

.close-cart:hover,
.close-auth:hover {
    color: var(--accent-red);
    transform: rotate(90deg);
}

/* ================= BANNER & CINEMATIC HERO ================= */
.banner-section {
    width: 100%;
    height: 92vh;
    position: relative;
    overflow: hidden;
    margin-top: 75px;
}

.carousel-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    /* Aligns content to left */
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.banner-slide.active {
    opacity: 1;
    z-index: 2;
}

/* --- 1. CINEMATIC VIGNETTE OVERLAY --- */
/* Instead of a flat dark screen, we use a radial gradient. 
   The center is clearer, the edges are dark. Focuses eye on mushrooms. */
.banner-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 60% 50%, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.85) 90%);
    z-index: 1;
}

/* Background Video Styling */
.banner-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    transform: scale(1.1);
    /* Slight Zoom for cinematic feel */
}

.luxury-hero {
    position: relative;
    z-index: 2;
    max-width: 1300px;
    width: 100%;
    margin: 0 auto;
    padding: 0 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.luxury-left {
    max-width: 650px;
    animation: heroFadeIn 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

/* --- 2. LIQUID GOLD TYPOGRAPHY --- */
.luxury-left h1 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 4.5rem;
    /* Larger font */
    line-height: 1.1;
    margin-bottom: 25px;
    font-weight: 700;
    color: white;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* The Gradient Text Effect */
.luxury-left h1 span {
    background: linear-gradient(to bottom, #a5d6a7, #4caf50, #2e7d32);
    /* Green Gradient */
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
    display: inline-block;
    filter: drop-shadow(0 0 15px rgba(46, 125, 50, 0.4));
    /* Glow effect */
}

.luxury-left p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin-bottom: 35px;
    max-width: 500px;
    border-left: 3px solid var(--accent-green);
    /* Green accent line on left */
    padding-left: 20px;
    backdrop-filter: blur(2px);
    /* Subtle frosted glass behind text */
}

/* --- 3. GLOWING BUTTONS --- */
.luxury-actions {
    display: flex;
    gap: 20px;
    align-items: center;
}

.luxury-btn {
    padding: 14px 35px;
    border-radius: 50px;
    /* Fully rounded looks more premium */
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.luxury-btn.primary {
    background: linear-gradient(45deg, var(--accent-green), var(--accent-brown));
    color: white;
    box-shadow: 0 10px 25px rgba(45, 90, 39, 0.4);
}

/* Shine Animation on Hover */
.luxury-btn.primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: 0.5s;
}

.luxury-btn.primary:hover::after {
    left: 100%;
}

.luxury-btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(245, 124, 0, 0.6);
}

.luxury-btn.secondary {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: white;
    backdrop-filter: blur(5px);
}

.luxury-btn.secondary:hover {
    background: white;
    color: var(--text-main);
    border-color: white;
}

/* --- 4. SCROLL INDICATOR (New Feature) --- */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0.8;
    animation: bounce 2s infinite;
}

.mouse {
    width: 26px;
    height: 42px;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--accent-green);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s infinite;
}

/* Animations */
@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scrollWheel {
    0% {
        top: 6px;
        opacity: 1;
    }

    100% {
        top: 18px;
        opacity: 0;
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .banner-slide {
        justify-content: center;
    }

    /* Center text on mobile */
    .banner-slide::before {
        background: rgba(0, 0, 0, 0.6);
    }

    /* Darker overlay for mobile readability */
    .luxury-hero {
        padding: 0 20px;
        text-align: center;
    }

    .luxury-left h1 {
        font-size: 3rem;
    }

    .luxury-left p {
        border-left: none;
        padding-left: 0;
        margin: 0 auto 30px;
        font-size: 1rem;
    }

    .luxury-actions {
        justify-content: center;
    }

    .scroll-indicator {
        display: none;
    }

    /* Hide scroll on mobile */
}

/* ================= PRODUCT GRID ================= */
.products-section {
    padding: 60px 50px;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.section-static-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.section-static-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.section-static-bg .bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.41);
    /* Slightly opaque for brown text */
    z-index: 1;
    backdrop-filter: blur(3px);
}

.section-header,
.product-grid {
    position: relative;
    z-index: 2;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--text-main);
    font-weight: 700;
    margin-bottom: 10px;
    font-family: 'Rajdhani', sans-serif;
}

.section-header h2 span {
    color: var(--accent-red);
}

.section-header p {
    color: var(--text-muted);
}

/* ================= PRODUCT GRID (4 Per Row & Centered) ================= */
.product-grid {
    display: flex;
    /* Flexbox for centering */
    flex-wrap: wrap;
    /* Wraps to next line */
    justify-content: center;
    /* Centers the orphan cards in the last row */
    gap: 30px;
    /* Spacing between cards */
    max-width: 1400px;
    /* Increased max-width to fit 4 cards comfortably */
    margin: 0 auto;
    padding: 0 20px;
    /* Prevents touching edges on smaller screens */
}

.p-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: 0.3s;
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;

    /* DESKTOP: 4 Items per row */
    /* Formula: 25% width minus the gap adjustment */
    flex: 0 0 calc(25% - 23px);

    min-width: 250px;
    /* Prevents cards from becoming too skinny */
}

/* Hover Effect */
.p-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-green);
}

/* --- RESPONSIVE BREAKPOINTS --- */

/* Laptop/Tablet: 3 Per Row */
@media (max-width: 1200px) {
    .p-card {
        flex: 0 0 calc(33.333% - 20px);
    }
}

/* Small Tablet: 2 Per Row */
@media (max-width: 850px) {
    .p-card {
        flex: 0 0 calc(50% - 15px);
    }
}

/* Mobile: 1 Per Row */
@media (max-width: 550px) {
    .p-card {
        flex: 0 0 100%;
        max-width: 380px;
        /* Limits width on large phones */
    }
}

.p-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    background: #f9f9f9;
}

.p-details {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}


.p-name {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-main);
    font-family: 'Rajdhani', sans-serif;
    margin-top: 0;
}

.p-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 15px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.p-price {
    font-size: 1.3rem;
    color: var(--accent-red);
    font-weight: 700;
    margin-bottom: 15px;
}

.qty-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.qty-label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Quantity Controls in Card */
.qty-control-wrapper {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
    width: fit-content;
    margin-bottom: 15px;
}

.qty-input-styled {
    width: 40px;
    text-align: center;
    border: none;
    font-weight: 600;
    color: var(--text-main);
    outline: none;
    -moz-appearance: textfield;
    appearance: none;
}

.qty-input-styled::-webkit-outer-spin-button,
.qty-input-styled::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.qty-btn-card {
    background: #f9f9f9;
    border: none;
    padding: 5px 12px;
    cursor: pointer;
    color: var(--accent-red);
    font-weight: bold;
    font-size: 1.1rem;
    transition: 0.2s;
}

.qty-btn-card:hover {
    background: var(--accent-red);
    color: white;
}

.qty-btn-card:disabled {
    color: #ccc;
    cursor: not-allowed;
}

/* Product Buttons */
.btn-group {
    margin-top: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.btn-card {
    padding: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.2s;
}

.btn-add {
    background: var(--accent-cream);
    color: var(--accent-red);
}

.btn-add:hover {
    background: #FFECB3;
}

.btn-buy {
    background: var(--accent-red);
    color: white;
}

.btn-buy:hover {
    background: #b71c1c;
}

/* ================= FEATURES SECTION (PREMIUM FOREST EDITION) ================= */
.features-section {
    padding: 100px 50px;
    position: relative;
    overflow: hidden;
    /* Forest background */
    background: linear-gradient(135deg, #f1f3e9 0%, #e8f5e9 100%);
    z-index: 1;
}

/* --- 1. FOREST BACKGROUND PATTERN --- */
.forest-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* CSS Pattern creating a subtle spore look */
    background-image: radial-gradient(var(--accent-green) 0.5px, transparent 0.5px);
    background-size: 30px 30px;
    opacity: 0.05;
    z-index: -2;
}

/* Floating Glow Orb in background */
.glow-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 179, 0, 0.2) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    z-index: -1;
    pointer-events: none;
}

.section-header h2 {
    font-size: 3rem;
    text-shadow: 0 5px 15px rgba(245, 124, 0, 0.1);
}

/* ================= FEATURES GRID ================= */
.features-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1400px;
    margin: 50px auto 0;
}

.feature-box {
    position: relative;
    /* Glassmorphism Base */
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    padding: 0;
    /* Content padding handled by inner div */
    border-radius: 20px;
    text-align: center;

    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.05),
        inset 0 0 20px rgba(255, 255, 255, 0.5);

    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    overflow: hidden;

    /* Responsive Sizes */
    flex: 0 0 calc(25% - 23px);
    min-width: 260px;
    cursor: default;
}

/* Inner content wrapper to keep text above the liquid fill */
.box-content {
    padding: 40px 25px;
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* --- THE LIQUID FILL HOVER EFFECT --- */
.feature-box::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(to top, var(--accent-red), var(--accent-green));
    transition: height 0.5s ease-in-out;
    z-index: 0;
    border-radius: 0 0 20px 20px;
    opacity: 0.1;
    /* Initial subtle tint */
}

/* On Hover: Fill with mushrooms Color */
.feature-box:hover::before {
    height: 100%;
    opacity: 1;
    border-radius: 20px;
}

.feature-box:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(245, 124, 0, 0.3);
    border-color: var(--accent-green);
}

/* --- ICON STYLING --- */
.icon-wrapper {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    box-shadow: 0 8px 20px rgba(245, 124, 0, 0.15);
    transition: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    border: 2px solid var(--accent-cream);
}

.feature-box i {
    font-size: 2.2rem;
    color: var(--accent-red);
    transition: 0.4s ease;
}

/* Hover: Icon Pop & Spin */
.feature-box:hover .icon-wrapper {
    transform: scale(1.1);
    background: white;
    /* Keep white so icon is visible against mushrooms fill */
    box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.3);
    /* Ring effect */
    border-color: white;
}

.feature-box:hover i {
    color: var(--accent-brown);
    transform: rotateY(360deg);
}

/* --- TEXT STYLING --- */
.feature-box h3 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-main);
    transition: 0.3s;
}

.feature-box p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    transition: 0.3s;
}

/* Change text color on hover for readability against gold bg */
.feature-box:hover h3 {
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.feature-box:hover p {
    color: rgba(255, 255, 255, 0.95);
}


/* --- RESPONSIVE --- */
@media (max-width: 1100px) {
    .feature-box {
        flex: 0 0 calc(33.333% - 20px);
    }
}

@media (max-width: 850px) {
    .feature-box {
        flex: 0 0 calc(50% - 15px);
    }
}

@media (max-width: 550px) {
    .feature-box {
        flex: 0 0 100%;
    }

    .features-section {
        padding: 60px 20px;
    }
}

/* ================= PROVENANCE SECTION (mushrooms THEME) ================= */
.provenance-section {
    position: relative;
    background: linear-gradient(rgba(255, 248, 225, 0.9), rgba(255, 248, 225, 0.95)),
        url('../static/im/mushrooms-bg.jpg');
    /* Ensure this image exists or use placeholder */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 80px 20px;
    overflow: hidden;
}

.provenance-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.provenance-image {
    flex: 0 0 320px;
    height: 450px;
    border-radius: 50%;
    border: 8px solid #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    transform: rotate(-3deg);
}

.provenance-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.provenance-content {
    flex: 1;
    min-width: 300px;
}

.provenance-content h2 {
    font-size: 3rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: var(--text-main);
    line-height: 1.1;
}

.provenance-content h2 span {
    color: var(--accent-red);
}

.provenance-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-main);
    margin-bottom: 30px;
    background: rgba(255, 255, 255, 0.5);
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid var(--accent-red);
}

.provenance-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.badge {
    background: #ffffff;
    color: var(--accent-red);
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 6px rgba(245, 124, 0, 0.05);
    transition: transform 0.3s ease;
}

.badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(245, 124, 0, 0.15);
}

/* ================= INSTAGRAM REELS ================= */
.reels-section {
    padding: 60px 0;
    background: #fff;
}

.reels-container {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding: 40px 50px;
    scroll-snap-type: x mandatory;
    align-items: flex-start;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.reels-container::-webkit-scrollbar {
    display: none;
}

.reel-card {
    flex: 0 0 auto;
    width: 330px;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    border: 1px solid #eee;
    display: flex;
    justify-content: center;
    padding: 10px 0;
}

.reel-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(245, 124, 0, 0.2);
    border-color: var(--accent-red);
}

.instagram-media {
    min-width: 300px !important;
    width: 100% !important;
    margin: 0 !important;
    box-shadow: none !important;
    border-radius: 10px !important;
}

/* ================= FOOTER ================= */
footer {
    background: #ffffff;
    color: var(--accent-green);
    padding: 60px 50px 20px;
    margin-top: 0;
    z-index: 1000;
    border-top: 1px solid #eee;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 40px;
}

.footer-col h4 {
    margin-bottom: 20px;
    color: var(--accent-green);
    font-family: 'Rajdhani', sans-serif;
}

.footer-col a {
    display: block;
    color: var(--text-muted);
    margin-bottom: 10px;
    text-decoration: none;
    transition: 0.3s;
}

.footer-col a:hover {
    color: var(--accent-green);
    padding-left: 5px;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #eee;
    color: var(--text-muted);
    font-size: 0.8rem;
}

.copyright a {
    color: inherit;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.copyright a:hover {
    color: var(--accent-red);
    text-shadow: 0 0 10px var(--accent-red);
}

/* ================= STRUCTURAL (MODALS/CART) ================= */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
    z-index: 1500;
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
}

.cart-overlay.open {
    opacity: 1;
    pointer-events: all;
}

.cart-sidebar {
    position: fixed;
    top: 0;
    right: -450px;
    width: 400px;
    height: 100vh;
    background: white;
    border-left: 1px solid #ddd;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    transition: right 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
}

.cart-sidebar.open {
    right: 0;
}

.cart-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h2 {
    margin: 0;
    font-size: 1.2rem;
    font-family: 'Rajdhani', sans-serif;
    text-transform: uppercase;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.cart-footer {
    padding: 20px;
    border-top: 1px solid #eee;
    background: #f9f9f9;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--accent-red) !important;
}

/* Auth Overlay */
.auth-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
}

.auth-overlay.open {
    opacity: 1;
    pointer-events: all;
}

.auth-modal {
    background: white;
    width: 400px;
    padding: 40px;
    border-radius: 12px;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    max-height: 90vh;
    overflow-y: auto;
}

.auth-tabs {
    display: flex;
    border-bottom: 1px solid #eee;
    margin-bottom: 25px;
}

.auth-tabs .tab {
    flex: 1;
    text-align: center;
    padding: 10px;
    cursor: pointer;
    color: #999;
    font-weight: 600;
    font-family: 'Rajdhani', sans-serif;
    text-transform: uppercase;
}

.auth-tabs .tab.active {
    color: var(--accent-red);
    border-bottom: 2px solid var(--accent-red);
}

.auth-form {
    display: none;
    flex-direction: column;
    gap: 15px;
}

.auth-form.active {
    display: flex;
}

.auth-form h3 {
    margin-bottom: 5px;
    color: var(--text-main);
    font-family: 'Rajdhani', sans-serif;
    text-transform: uppercase;
}

.auth-form input {
    padding: 12px;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 6px;
    outline: none;
    width: 100%;
}

.auth-form input:focus {
    border-color: var(--accent-red);
    background: white;
}

.btn-primary {
    background: var(--accent-red);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
}

.btn-primary:hover {
    background: var(--accent-brown);
}

.btn-secondary {
    background: white;
    color: var(--text-main);
    border: 1px solid #ddd;
    padding: 12px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
    transition: 0.2s;
}

.btn-secondary:hover {
    border-color: var(--accent-red);
    color: var(--accent-red);
}

.btn-google {
    background: white;
    color: var(--text-main);
    border: 1px solid #ddd;
    padding: 12px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 6px;
    width: 100%;
}

.btn-google:hover {
    background: #f5f5f5;
}

.divider {
    text-align: center;
    position: relative;
    margin: 10px 0;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: #eee;
    z-index: 0;
}

.divider span {
    background: white;
    padding: 0 10px;
    position: relative;
    z-index: 1;
    color: #999;
    font-size: 0.8rem;
}

.forgot-link {
    font-size: 0.8rem;
    color: #666;
    cursor: pointer;
    text-align: center;
    margin-top: 5px;
}

.forgot-link:hover {
    color: var(--accent-red);
    text-decoration: underline;
}

/* ================= ADDRESS & ORDERS ================= */
.lbl-small {
    color: #aaa;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.address-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 200px;
    overflow-y: auto;
}

.addr-card {
    background: #f9f9f9;
    padding: 12px;
    border: 1px solid #eee;
    border-radius: 6px;
    position: relative;
}

.addr-card h5 {
    color: var(--text-main);
    margin-bottom: 3px;
    font-size: 0.9rem;
    font-weight: 600;
}

.addr-card p {
    color: var(--text-muted);
    font-size: 0.8rem;
    line-height: 1.4;
}

.addr-card .del-addr {
    position: absolute;
    top: 10px;
    right: 10px;
    color: var(--accent-red);
    cursor: pointer;
    font-size: 0.8rem;
}

.addr-card .edit-addr {
    position: absolute;
    top: 10px;
    right: 35px;
    color: #777;
    cursor: pointer;
    font-size: 0.8rem;
}

.addr-card .edit-addr:hover {
    color: var(--accent-red);
}

.row-2 {
    display: flex;
    gap: 10px;
}

.row-2 input {
    flex: 1;
}

.radio-group {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.radio-container {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.9rem;
    color: #555;
    user-select: none;
}

.radio-container input {
    margin-right: 8px;
    accent-color: var(--accent-red);
}

.cart-address-section {
    padding: 15px 20px;
    background: #f9f9f9;
    border-top: 1px solid #eee;
}

.cart-addr-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.cart-addr-header h4 {
    font-size: 0.9rem;
    color: var(--text-main);
    text-transform: uppercase;
    font-family: 'Rajdhani', sans-serif;
}

.cart-addr-header span {
    color: var(--accent-red);
    font-size: 0.8rem;
    cursor: pointer;
    font-weight: bold;
}

.cart-addr-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    transition: 0.2s;
}

.cart-addr-item:hover {
    border-color: var(--accent-red);
}

.cart-addr-item.selected {
    border-color: var(--accent-red);
    background: var(--accent-cream);
}

.addr-details {
    font-size: 0.8rem;
    color: #666;
    line-height: 1.3;
}

.addr-details strong {
    color: var(--text-main);
    display: block;
    margin-bottom: 2px;
}

/* Order History */
.order-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.order-id {
    font-size: 0.8rem;
    color: var(--text-main);
    font-weight: bold;
    font-family: 'Rajdhani', sans-serif;
}

.order-date {
    font-size: 0.7rem;
    color: #999;
}

.order-status {
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 10px;
    text-transform: uppercase;
    font-weight: bold;
}

.status-Paid {
    background: #FFF9C4;
    color: var(--accent-red);
    border: 1px solid var(--accent-red);
}

.status-Accepted {
    background: #E8F5E9;
    color: #2E7D32;
    border: 1px solid #2E7D32;
}

.status-Rejected {
    background: #FFEBEE;
    color: #C62828;
    border: 1px solid #C62828;
}

.order-items-list {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 10px;
}

.order-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
    border-top: 1px solid #eee;
    font-weight: bold;
    color: var(--accent-red);
}

.order-card.new-order {
    border: 1px solid var(--accent-red);
    box-shadow: 0 0 10px rgba(245, 124, 0, 0.2);
}

/* ================= ALERTS & UTILS ================= */
.alert-btn {
    min-width: 80px;
    padding: 8px 16px;
    margin: 0 5px;
}

#customAlertOverlay .auth-modal {
    width: 350px;
    text-align: center;
}

/* Cart Qty Wrapper in Sidebar */
.cart-qty-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 5px;
}

.qty-btn {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    border: 1px solid var(--accent-red);
    background: white;
    color: var(--accent-red);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    transition: 0.2s;
}

.qty-btn:hover {
    background: var(--accent-red);
    color: white;
}

.qty-display {
    font-size: 0.9rem;
    font-weight: 600;
    width: 20px;
    text-align: center;
}

/* Marquee Bar */
.marquee-bar {
    position: fixed;
    top: 75px;
    left: 0;
    width: 100%;
    background-color: var(--accent-cream);
    color: var(--accent-orange);
    z-index: 999;
    padding: 8px 0;
    overflow: hidden;
    white-space: nowrap;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid #FFE082;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.marquee-bar a {
    color: var(--accent-orange);
    text-decoration: none;
    font-weight: 700;
}

.marquee-content {
    display: inline-block;
    padding-left: 100%;
    animation: scroll-left 25s linear infinite;
}

.marquee-content:hover {
    animation-play-state: paused;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    /* Standard WhatsApp Green */
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(245, 124, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    z-index: 3000;
    transition: background-color 0.3s ease;
    animation: quiet-jump 4s ease-in-out infinite;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    animation-play-state: paused;
}

.whatsapp-float i {
    font-size: 1.4rem;
}

@keyframes quiet-jump {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

/* Bulk Message Box */
.bulk-msg-box {
    position: fixed;
    bottom: 95px;
    right: 30px;
    background: white;
    padding: 12px 15px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    font-size: 0.85rem;
    color: #333;
    z-index: 3000;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid var(--accent-cream);
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    animation: fadeUp 0.5s ease-out 1s backwards;
}

.bulk-msg-box::after {
    content: '';
    position: absolute;
    bottom: -6px;
    right: 24px;
    width: 12px;
    height: 12px;
    background: white;
    transform: rotate(45deg);
    border-bottom: 1px solid var(--accent-cream);
    border-right: 1px solid var(--accent-cream);
}

.close-bulk {
    cursor: pointer;
    color: #bbb;
    font-size: 0.9rem;
    padding: 2px;
    transition: 0.2s;
}

.close-bulk:hover {
    color: var(--accent-red);
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {
    header {
        padding: 15px 20px;
    }

    .banner-section {
        height: 90vh;
        margin-top: 75px;
    }

    .banner-content h1 {
        font-size: 2rem;
    }

    .products-section {
        padding: 40px 20px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .cart-sidebar {
        width: 100%;
        right: -100%;
    }

    .auth-modal {
        width: 90%;
        padding: 25px;
    }

    .luxury-hero {
        grid-template-columns: 1fr;
        padding: 0 20px;
        margin: auto;
        text-align: center;
    }

    .luxury-left {
        text-align: center;
    }

    .luxury-left p {
        margin: auto;
    }

    .luxury-actions {
        justify-content: center;
    }

    .luxury-right img {
        max-width: 260px;
        margin-top: 30px;
    }

    .marquee-bar {
        font-size: 0.85rem;
        top: 75px;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        padding: 10px 18px;
        font-size: 0.9rem;
    }

    .bulk-msg-box {
        bottom: 80px;
        right: 20px;
        font-size: 0.75rem;
        padding: 10px;
    }

    .provenance-container {
        flex-direction: column;
        text-align: center;
    }

    .provenance-image {
        width: 260px;
        height: 360px;
        transform: rotate(0deg);
        margin-bottom: 30px;
    }

    .provenance-content p {
        border-left: none;
        border-top: 4px solid var(--accent-red);
    }

    .provenance-badges {
        justify-content: center;
    }

    .reels-container {
        padding: 20px;
        gap: 15px;
    }

    .reel-card {
        width: 300px;
    }
}


/* Video styling to act as background cover */
.banner-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Ensures video fills screen without stretching */
    z-index: 0;
    /* Sits at the very bottom */
}

/* Ensure the dark overlay sits ON TOP of the video */
.banner-slide::before {
    z-index: 1 !important;
    /* Forces overlay above video */
}

/* Ensure content sits ON TOP of the overlay */
.luxury-hero {
    position: relative;
    z-index: 2;
    /* Highest priority */
}

/* ================= BENEFITS SECTION (mushrooms THEME) ================= */
.benefits-section {
    /* Added extra top padding as requested */
    padding: 100px 0 80px;
    position: relative;
    /* Light Cream to White gradient to match the "sky" effect in mushrooms colors */
    background: linear-gradient(to bottom, var(--accent-cream) 0%, #fcfcfc 100%);
    overflow: hidden;
}

/* Background Layer for your future images */
.benefits-bg-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;

    /* --- ADDED BACKGROUND IMAGE --- */
    /* Replace 'mushrooms-pattern.jpg' with your actual image filename */
    background-image: url('../static/im/products.jpg');

    /* Ensures the image covers the entire section */
    background-size: cover;

    /* Centers the image */
    background-position: center;

    /* Prevents tiling (unless you are using a seamless pattern) */
    background-repeat: no-repeat;

    /* IMPORTANT: Adjust this value (0.1 to 1.0) to make the text readable */

}

.benefits-section .section-header,
.benefits-section .benefits-grid {
    position: relative;
    z-index: 2;
}

/* Section Header Styling */
.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 10px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* ================= BENEFITS GRID ================= */
/* ================= BENEFITS GRID (Fixed Spacing) ================= */
.benefits-grid {
    display: grid;
    /* CHANGE: Restrict column width so they don't stretch too wide */
    grid-template-columns: repeat(5, minmax(140px, 220px));

    /* CHANGE: Group items in the center of the strip */
    justify-content: center;

    gap: 40px 20px;
    /* Reduced gap slightly */

    /* Full width settings (Touching corners) */
    width: 100%;
    max-width: none;
    margin: 60px 0 0;
    border-radius: 0;

    /* Opaque Layer Styles */
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(8px);
    padding: 50px 20px;

    /* Borders */
    border-top: 1px solid rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.9);
    border-left: none;
    border-right: none;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 2;
}

/* Ensure responsiveness works with the new column sizing */
@media (max-width: 1100px) {
    .benefits-grid {
        /* Switch to 3 columns on tablets */
        grid-template-columns: repeat(3, minmax(140px, 220px));
    }
}

@media (max-width: 650px) {
    .benefits-grid {
        /* Switch to 2 columns on mobile */
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 10px;
    }
}

.benefit-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease;
    padding: 10px;
}

.benefit-item:hover {
    transform: translateY(-5px);
}

/* --- ICON STYLING (Attractive Circles) --- */
.b-icon {
    width: 100px;
    /* Slightly larger for better visibility */
    height: 100px;
    background: #ffffff;
    /* Clean white background */
    border-radius: 50%;
    /* Makes it a perfect circle */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Bouncy transition */

    /* Attractive Styling */
    box-shadow: 0 10px 30px rgba(245, 124, 0, 0.15);
    /* Soft mushrooms Shadow */
    border: 4px solid var(--accent-cream);
    /* Light cream border ring */
    position: relative;
    z-index: 1;
}

/* Optional: Outer decorative ring on hover */
.b-icon::after {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border-radius: 50%;
    border: 1px dashed var(--accent-red);
    opacity: 0;
    transform: scale(0.8) rotate(0deg);
    transition: all 0.4s ease;
    z-index: -1;
}

/* Icon (Phosphor Icon) Styling */
.b-icon i {
    font-size: 3.2rem;
    color: var(--accent-red);
    transition: 0.3s ease;
    filter: drop-shadow(0 2px 5px rgba(245, 124, 0, 0.2));
}

/* --- HOVER EFFECTS --- */
.benefit-item:hover .b-icon {
    transform: translateY(-10px);
    background: var(--accent-red);
    /* Fills circle with mushrooms color */
    border-color: var(--accent-green);
    box-shadow: 0 20px 40px rgba(245, 124, 0, 0.35);
}

.benefit-item:hover .b-icon i {
    color: #ffffff;
    /* Icon turns white */
    transform: scale(1.1);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.benefit-item:hover .b-icon::after {
    opacity: 1;
    transform: scale(1) rotate(180deg);
    /* Spins the outer ring */
}

/* --- RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 1024px) {
    .benefits-grid {
        grid-template-columns: repeat(3, 1fr);
        /* 3 items per row on tablets */
        gap: 40px 20px;
    }
}

@media (max-width: 600px) {
    .benefits-section {
        padding: 60px 20px;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 items per row on mobile */
        gap: 30px 10px;
    }

    .b-icon i {
        font-size: 2.8rem;
    }

    .benefit-item h4 {
        font-size: 0.9rem;
    }
}

/* ================= OUR SOURCES CAROUSEL (UPDATED) ================= */
/* ================= OUR SOURCES CAROUSEL (UPDATED) ================= */
.sources-section {
    position: relative;
    padding: 80px 20px;
    /* Default background if image fails to load */
    background-color: var(--accent-cream);
    /* Dynamic Background Properties */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* Smooth transition when image changes */
    transition: background-image 0.6s ease-in-out;
    overflow: hidden;
}

/* Add a white overlay so text remains readable over the image */
.sources-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Adjust opacity (0.85) to make image more or less visible */
    background: rgba(255, 255, 255, 0.421);
    z-index: 1;
    backdrop-filter: blur(2px);
    /* Optional: slight blur for premium feel */
}

/* Ensure content sits ON TOP of the overlay */
.source-bg-decoration,
.section-header,
.source-container {
    position: relative;
    z-index: 2;
}

.source-bg-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(var(--accent-red) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.1;
    z-index: 1;
    pointer-events: none;
}

.source-container {
    max-width: 1200px;
    width: 100%;
    margin: 40px auto 0;
    /* Adds space between Header and Carousel */
    position: relative;
    z-index: 2;
}

/* --- SLIDE ANIMATIONS & LAYOUT --- */
.source-slide {
    display: flex;
    align-items: center;
    gap: 50px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease-out;
    /* Faster transition for manual clicks */
    display: none;
}

.source-slide.active {
    display: flex;
    opacity: 1;
    transform: translateY(0);
    animation: fadeUp 0.6s ease-out forwards;
}

/* Images & Content */
.source-image-wrapper {
    flex: 1;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 5px solid white;
}

.source-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 6s linear;
}

.source-slide.active img {
    transform: scale(1.1);
}

.source-content-box {
    flex: 1;
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(245, 124, 0, 0.08);
    border-left: 5px solid var(--accent-red);
}

.source-content-box h2 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 2.2rem;
    color: var(--text-main);
    margin-bottom: 15px;
}

.source-content-box h2 span {
    color: var(--accent-red);
}

.source-content-box p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 25px;
}

/* Badges */
.source-badges {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.s-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    color: #444;
}

.s-badge i {
    color: var(--accent-red);
    font-size: 1.2rem;
}

/* Indicators */
.source-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.dot {
    width: 12px;
    height: 12px;
    background: #ddd;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.dot:hover {
    background: var(--accent-green);
}

.dot.active {
    background: var(--accent-red);
    width: 30px;
    border-radius: 10px;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile */
@media (max-width: 900px) {
    .source-slide.active {
        flex-direction: column;
        text-align: center;
    }

    .source-image-wrapper {
        width: 100%;
        height: 250px;
    }

    .source-content-box {
        border-left: none;
        border-top: 5px solid var(--accent-red);
        padding: 25px;
    }

    .source-badges {
        justify-content: center;
    }
}


/* ================= mushrooms TRAIL EFFECT ================= */
#mushroomsTrail {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    /* Allows clicks to pass through */
    z-index: 900;
    /* Sits on top of everything */
}


/* Container for the image */
.footer-bottom-image {
    width: 100%;
    background: #ffffff;
    display: flex;
    justify-content: center;
    padding-bottom: 0;
    margin-top: -1px;
    position: relative;
    z-index: 1000;
}

/* The Image itself */
.footer-bottom-image img {
    width: 100%;

    /* --- HEIGHT CONTROL --- */
    height: 450px;
    /* Set this to whatever pixel height you want (e.g., 200px, 300px) */

    /* --- PREVENT DISTORTION --- */
    object-fit: cover;
    /* This crops the top/bottom slightly so the image doesn't look squashed */
    /* object-fit: contain;  <-- Use this instead if you want to see the whole image but accept empty side spaces */

    display: block;
}

/* Mobile Adjustment: Make it shorter on phones if needed */
@media (max-width: 768px) {
    .footer-bottom-image img {
        height: 150px;
        /* Smaller height for mobile screens */
    }
}


/* ================= DESKTOP NAVIGATION ================= */
.desktop-nav {
    display: flex;
    gap: 40px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-link {
    text-decoration: none;
    color: var(--accent-cream);
    /* Creamy yellow color from your theme */
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    position: relative;
    transition: all 0.3s ease;
    letter-spacing: 1px;
    padding: 5px 0;
}

/* Hover Effect: Glow */
.nav-link:hover {
    color: white;
    text-shadow: 0 0 8px rgba(255, 248, 225, 0.6);
}

/* Active State: Animated Underline */
.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: white;
    transition: width 0.3s ease, left 0.3s ease;
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.8);
}

.nav-link.active::after {
    width: 100%;
    left: 0;
}

.nav-link.active {
    color: white;
}

/* Hide on Mobile/Tablet */
@media (max-width: 900px) {
    .desktop-nav {
        display: none;
    }
}


/* ================= MOBILE MENU STYLES ================= */

/* 1. Hamburger Icon */
#mobileMenuBtn {
    display: none;
    /* Hidden on Desktop */
    font-size: 1.4rem;
    margin-right: 10px;
}

/* 2. The Full Screen Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--accent-red);
    /* mushrooms Theme Background */
    z-index: 3000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: translateY(-100%);
    /* Hidden above screen */
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    opacity: 0;
}

.mobile-menu-overlay.open {
    transform: translateY(0);
    /* Slide down */
    opacity: 1;
}

/* 3. Links inside the menu */
.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 30px;
    text-align: center;
}

.mobile-nav-links a {
    color: white;
    font-family: 'Rajdhani', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: 0.3s;
}

.mobile-nav-links a:hover {
    color: var(--accent-cream);
    transform: scale(1.1);
}

/* 4. Close Button */
.mobile-menu-overlay .close-menu {
    position: absolute;
    top: 30px;
    right: 30px;
    color: white;
    font-size: 2rem;
    cursor: pointer;
}

/* 5. Footer inside menu */
.mobile-menu-footer {
    position: absolute;
    bottom: 40px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* ================= MEDIA QUERIES ================= */
@media (max-width: 900px) {

    /* Show Hamburger on Mobile */
    #mobileMenuBtn {
        display: block;
    }

    /* Keep Desktop Nav Hidden */
    .desktop-nav {
        display: none;
    }
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}


/* ================= mushrooms DRIP CARD EFFECT ================= */
.p-card {
    position: relative;
    /* Enables absolute positioning inside the card */
}

.mushrooms-drip-overlay {
    position: absolute;
    top: 250px;
    /* Sits slightly above the bottom of the 250px image */
    left: 0;
    width: 100%;
    height: auto;
    z-index: 10;
    /* Ensures it sits on top of image and text */
    pointer-events: none;
    /* Lets clicks pass through to the card */
    filter: drop-shadow(0 4px 2px rgba(0, 0, 0, 0.1));
    /* Adds depth */
}

/* Adjust padding in details so text doesn't hit the drip */
.p-details {
    padding-top: 25px !important;
}


/* ================= SCROLL REVEAL ANIMATIONS ================= */
.reveal-up {
    opacity: 0;
    transform: translateY(50px);
    /* Starts 50px lower */
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-up.active {
    opacity: 1;
    transform: translateY(0);
}

/* Add delays for grid items to create a "staggered" effect */
.reveal-delay-100 {
    transition-delay: 0.1s;
}

.reveal-delay-200 {
    transition-delay: 0.2s;
}

.reveal-delay-300 {
    transition-delay: 0.3s;
}


/* ================= PROFESSIONAL CART STYLES ================= */

/* The Item Container */
.cart-item-row {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s;
}

.cart-item-row:last-child {
    border-bottom: none;
}

/* Image Styling */
.cart-img-wrapper {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid #eee;
}

.cart-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Details Section */
.cart-item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Header (Title & Price) */
.ci-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2px;
}

.ci-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-main);
    line-height: 1.2;
}

.ci-total {
    font-weight: 700;
    color: var(--accent-red);
    font-size: 0.95rem;
}

/* Variant Text */
.ci-variant {
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 8px;
}

/* Actions Row (Qty & Remove) */
.ci-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Pill-shaped Quantity Control */
.qty-pill {
    display: flex;
    align-items: center;
    background: #f5f5f5;
    border-radius: 20px;
    padding: 2px 4px;
    border: 1px solid #eee;
}

.qty-pill button {
    background: none;
    border: none;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.7rem;
    color: #555;
    transition: color 0.2s;
}

.qty-pill button:hover {
    color: var(--accent-red);
}

.qty-pill span {
    font-size: 0.85rem;
    font-weight: 600;
    width: 20px;
    text-align: center;
    color: var(--text-main);
}

/* Remove Button */
.btn-remove {
    background: none;
    border: none;
    font-size: 0.75rem;
    color: #aaa;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.2s;
    padding: 5px;
}

.btn-remove:hover {
    color: var(--accent-red);
}

/* ================= PARTNERS / AVAILABLE IN SECTION ================= */


.partners-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 40px auto 0;
}

.partner-card {
    background: white;
    width: 180px;
    height: 100px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.partner-card img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: none;
    /* CHANGED: Removed grayscale(100%) */
    opacity: 1;
    /* CHANGED: Full opacity by default */
    transition: 0.3s;
}

/* Hover Effects */
.partner-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(245, 124, 0, 0.15);
    border-color: var(--accent-green);
}

.partner-card:hover img {
    /* REMOVED: filter: grayscale(0%); and opacity: 1; as they are now default */
    transform: scale(1.1);
    /* Keep the zoom effect */
}

/* Mobile Responsiveness */
@media (max-width: 600px) {
    .partners-grid {
        gap: 15px;
    }

    .partner-card {
        width: 45%;
        /* 2 per row on mobile */
        height: 80px;
        padding: 15px;
    }
}


/* ================= PRODUCT FILTERS ================= */
.filter-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    position: relative;
    z-index: 2;
}

.filter-btn {
    padding: 10px 25px;
    border-radius: 50px;
    /* Pill shape */
    border: 2px solid var(--accent-red);
    background: transparent;
    color: var(--text-main);
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}

/* Hover Effect */
.filter-btn:hover {
    background: rgba(245, 124, 0, 0.1);
    /* Light amber tint */
    transform: translateY(-2px);
}

/* Active State (Selected) */
.filter-btn.active {
    background: var(--accent-red);
    color: white;
    box-shadow: 0 5px 15px rgba(245, 124, 0, 0.3);
    /* Glow effect */
}

/* Mobile Adjustment */
@media (max-width: 480px) {
    .filter-btn {
        padding: 8px 18px;
        font-size: 0.85rem;
    }
}

/* ================= CERTIFIED SECTION ================= */


/* Adjust Partners Section to remove top gap for a better blend */
.partners-section {
    padding-top: 40px;
}

/* ================= VARIANT BUTTONS (NEW) ================= */
.variant-selector-wrapper {
    margin-bottom: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.btn-variant {
    padding: 6px 14px;
    border: 1px solid #ddd;
    background: #fff;
    color: var(--text-muted);
    border-radius: 50px;
    /* Pill shape */
    font-size: 0.85rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Hover Effect */
.btn-variant:hover:not(:disabled) {
    border-color: var(--accent-red);
    color: var(--accent-red);
    transform: translateY(-2px);
}

/* Selected (Active) State */
.btn-variant.active {
    background: linear-gradient(45deg, var(--accent-red), var(--accent-green));
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 10px rgba(245, 124, 0, 0.3);
    transform: translateY(-2px);
}

/* Out of Stock State */
.btn-variant:disabled {
    opacity: 0.5;
    background: #f0f0f0;
    color: #aaa;
    cursor: not-allowed;
    text-decoration: line-through;
    border-color: #eee;
}

/* Optional: "Only X left" text styling if you want to show it elsewhere */
.stock-warning-text {
    font-size: 0.75rem;
    color: var(--accent-red);
    margin-top: -10px;
    margin-bottom: 10px;
    display: block;
    height: 18px;
    /* Prevent layout shift */
}

/* --- PRODUCT IMAGE HOVER EFFECTS --- */
.p-image-container {
    position: relative;
    width: 100%;
    height: 250px;
    background: #f9f9f9;
    overflow: hidden;
}

.p-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.4s ease-in-out;
}

/* By default, main image is visible */
.main-img {
    opacity: 1;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

/* Benefits image sits on top but is invisible */
.hover-reveal {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    /* Higher z-index to sit on top */
}

/* On Hover: Hide main image, Show benefits image */
.p-card:hover .hover-reveal {
    opacity: 1;
}

/* ================= SOCIAL ICONS (FIXED ALIGNMENT) ================= */

/* Wrapper */
.card.social-card-footer {
    width: fit-content;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 15px 0;
    gap: 20px;
}

/* Base Container Style */
.socialContainer {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background-color: rgb(44, 44, 44);

    /* FORCE CENTERING */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    /* RESET GLOBAL LINK STYLES */
    padding: 0 !important;
    border: none !important;
    overflow: hidden;
    transition-duration: 0.3s;
}

/* Instagram Hover */
.containerOne:hover {
    background-color: #d62976;
    transition-duration: 0.3s;
}

/* Facebook Hover */
.containerTwo:hover {
    background-color: #1877F2;
    transition-duration: 0.3s;
}

.containerThree:hover {
    background-color: #FF0000;
    transition-duration: 0.3s;
}

.socialContainer:active {
    transform: scale(0.9);
}

/* Icon Sizing */
.socialSvg {
    width: 22px !important;
    /* Fixed Width */
    height: 22px !important;
    /* Fixed Height */
    fill: white;
    /* Ensure icon is white */
    transition: 0.3s;
}

.socialContainer:hover .socialSvg {
    animation: slide-in-top 0.3s both;
}

@keyframes slide-in-top {
    0% {
        transform: translateY(-50px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}


/* ================= CERTIFIED & PARTNERS (PURE mushroomsCOMB STRUCTURE) ================= */

.certified-section,
.partners-section {
    position: relative;
    z-index: 2;
    text-align: center;

    /* 1. GLOWING GOLDEN BACKGROUND (The color theme you liked) */
    background: radial-gradient(circle at center, #ffecb3 10%, #ffca28 60%, #ffa000 100%);

    /* 2. mushroomsCOMB PATTERN (Corrected Geometry) */
    /* I removed the internal "Y" lines so it looks like mushroomscomb, not cubes */
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='100' viewBox='0 0 56 100'%3E%3Cpath d='M28 66L0 50L0 16L28 0L56 16L56 50L28 66L28 100' fill='none' stroke='%23ffffff' stroke-width='2' opacity='0.5'/%3E%3C/svg%3E"),
        radial-gradient(circle at center, #ffecb3 10%, #ffca28 60%, #ffa000 100%);

    /* 3. SIZE & SCROLL EFFECT */
    background-size: 56px 100px, cover;
    /* Adjust '56px' to make hexes Bigger/Smaller */
    background-position: center;
    background-attachment: fixed;
    /* Parallax: Pattern stays still while you scroll */

    /* 4. SEAMLESS LAYOUT */
    margin-bottom: 0;
}

/* Specific Spacing */
.certified-section {
    padding: 80px 20px 30px;
    border-top: 5px solid #ff6f00;
    /* Dark Amber Border */
}

.partners-section {
    padding: 10px 20px 100px;
}

/* --- TEXT STYLING --- */
.certified-section h2,
.partners-section h2 {
    color: #4e342e;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.6);
    font-weight: 800;
}

.certified-section p,
.partners-section p {
    color: #5d4037;
    font-weight: 600;
}

/* --- 3D FLOATING CARDS --- */
.partner-card {
    background: #ffffff;
    border-radius: 16px;
    border: 2px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 10px 20px rgba(160, 60, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Ensure logos look sharp */
.partner-card img {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

/* Hover Effect: Lift & Glow */
.partner-card:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 20px 40px rgba(160, 60, 0, 0.25);
    border-color: #ffb300;
}

/* --- FOOTER ADDRESS STYLE --- */
.footer-address {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    line-height: 1.5;
    transition: all 0.3s ease;
    align-items: flex-start;
}

.footer-address i {
    color: var(--accent-green);
    /* Gold Icon */
    font-size: 1.1rem;
    margin-top: 3px;
    /* visual adjustment */
}

.footer-address span {
    border-bottom: 1px solid transparent;
    /* Prepare for hover underline */
}

/* Hover Effect */
.footer-address:hover {
    color: var(--accent-green);
    transform: translateX(5px);
}

.footer-address:hover i {
    color: var(--accent-red);
    /* Icon glows amber */
}


/* Crossed out original price */
.original-price {
    text-decoration: line-through;
    color: #999;
    font-size: 0.9rem;
    margin-right: 8px;
    font-weight: 400;
}

/* Premium Discount Ribbon */
.discount-ribbon {
    position: absolute;
    top: 15px;
    right: -35px;
    background: linear-gradient(45deg, #d38c2f, #d38c2f);
    /* Deep mushrooms Red */
    color: white;
    padding: 5px 40px;
    transform: rotate(45deg);
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 15;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Ensure the drip overlay stays above the ribbon if they overlap */
.mushrooms-drip-overlay {
    z-index: 20 !important;
    /* */
}