/* =========================================
   DESKTOP STYLES (Min-Width: 992px)
   Separated from components.css
   ========================================= */

@media (min-width: 992px) {

    /* 1. Header & Navigation Fixes */
    /* Target the correct container class from index.html */
    /* 1. Header & Navigation Fixes */
    /* Target the correct container class from index.html */
    .main-header {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 0 var(--spacing-lg) !important;
        gap: 3rem !important;
        /* Ensure separation */
        height: 90px;
        /* Reduced from 110px to 90px for sleeker look */
        position: relative !important;
        width: 100% !important;
        background-color: #fff;
        /* Ensure background matches */
        z-index: 1000;
    }

    .header-container {
        /* Fallback if class exists or unused */
        display: contents;
    }

    .main-nav {
        /* Flex centering method */
        margin: 0 auto !important;
        position: static !important;
        transform: none !important;
        width: auto !important;
    }

    .main-nav ul {
        display: flex !important;
        gap: 3rem !important;
        margin: 0;
        padding: 0;
        justify-content: center;
    }

    .main-nav a {
        font-size: 0.95rem !important;
        /* Reduced from 1.1rem */
        font-weight: 500;
        letter-spacing: 0.5px;
        color: var(--color-secondary);
        text-transform: uppercase;
        /* Added for cleaner look with smaller text */
    }

    .header-actions {
        display: flex !important;
        gap: 1.5rem !important;
        align-items: center;
    }

    /* CRITICAL: Hide Mobile Toggle on Desktop */
    /* Toggle Visibility Restored */
    .mobile-menu-toggle {
        display: flex !important;
        /* Restored visibility */
    }

    /* Fix Logo Scaling & Messiness */
    .main-header .logo img {
        height: 220px !important;
        /* Increased to 220px */
        width: auto !important;
        transform: none !important;
        margin: 0 !important;
        object-fit: contain !important;
        position: relative;
        z-index: 1002;
        margin-top: 20px !important;
        /* Adjusted margin for larger size */
    }

    /* ... existing styles ... */

    /* Enhanced Benefits Section (Traditional Ayurveda Advantage) */
    .benefits-section h2 {
        font-size: 3rem !important;
        margin-bottom: 2rem !important;
    }

    .benefits-section p {
        font-size: 1.3rem !important;
    }

    .benefit-item .benefit-icon {
        width: 80px !important;
        height: 80px !important;
        font-size: 2.5rem !important;
        margin-bottom: 15px !important;
    }

    .benefit-item h3 {
        font-size: 1.6rem !important;
        font-weight: 700 !important;
    }

    .benefit-item p {
        font-size: 1.15rem !important;
    }

    /* Enhanced Why Choose Us Section */
    .why-choose-section h2 {
        font-size: 3rem !important;
        margin-bottom: 1.5rem !important;
    }

    .why-choose-section p {
        font-size: 1.3rem !important;
    }

    .feature-box {
        padding: 3rem !important;
    }

    .feature-box .icon {
        font-size: 3.5rem !important;
        margin-bottom: 1.5rem !important;
    }

    .feature-box h4 {
        font-size: 1.5rem !important;
        margin-bottom: 1rem !important;
    }

    .feature-box p {
        font-size: 1.1rem !important;
    }

    .nav-cart-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        color: var(--color-main-text);
        margin: 0 !important;
        /* Remove inline margin */
    }


    /* 2. Desktop Slider Overhaul */
    .hero-slider-container {
        height: 500px !important;
        /* Reverted to 500px */
        min-height: 500px !important;
        border-radius: 0 0 50px 50px;
        margin-bottom: 2rem;
        position: relative;
        /* Ensure containment */
    }

    .hero-slide {
        display: flex !important;
        opacity: 0;
        transition: opacity 0.8s ease-in-out;
        z-index: 1;
        position: absolute;
        /* Force absolute positioning for stacking */
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

    /* FAILSAFE: Make first slide visible by default */
    .hero-slide.slide-1 {
        opacity: 1 !important;
        z-index: 5 !important;
    }

    .hero-slide.active {
        opacity: 1 !important;
        z-index: 10 !important;
        /* Higher z-index */
    }

    .hero-slide.active {
        opacity: 1 !important;
        z-index: 10 !important;
        /* Higher z-index */
    }

    .slide-content-wrapper {
        gap: 2rem;
        max-width: 1400px;
        padding: 0 4rem;
        align-items: center;
        justify-content: space-between;
    }

    /* Fixed Button Positioning & Spacing */
    .slide-text {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: flex-start !important;
        /* Start from top */
        text-align: center !important;
        max-width: 650px;
        margin: 0 auto;
        height: 100%;
        /* Occupy full height */
        padding-top: 2rem;
        /* Spacing from top */
    }

    /* REORDERING via Flex Order */
    /* 1. Badge (Top) */
    .hero-badge {
        display: inline-block !important;
        order: 1 !important;
        margin-bottom: 1.5rem !important;
        /* Reverted margin */
        padding: 0.6rem 1.5rem !important;
        font-size: 1rem !important;
        border-radius: 50px;
        align-self: center !important;
    }

    /* 2. Title (Deep Heat / Freedom) */
    .hero-title {
        order: 2 !important;
        font-size: 4rem !important;
        /* Reverted to 4rem */
        font-weight: 800 !important;
        line-height: 1.1 !important;
        margin-bottom: 0.5rem !important;
        color: var(--color-secondary);
        text-align: center !important;
    }

    /* 3. Subtitle (Potli Sekh / Info) - GREEN */
    .hero-subtitle {
        order: 3 !important;
        font-size: 1.5rem !important;
        /* Reverted to 1.5rem */
        font-weight: 600 !important;
        color: var(--color-primary) !important;
        margin-bottom: 2.5rem !important;
        /* Reverted margin */
        max-width: 90%;
        line-height: 1.6;
        text-align: center !important;
    }

    /* 4. Buttons (Add to Cart) - Bottom (Fixed Position) */
    .hero-actions {
        order: 4 !important;
        display: flex !important;
        justify-content: center !important;
        /* Center buttons */
        gap: 1.5rem !important;
        margin-top: auto !important;
        /* Pushes to bottom */
        margin-bottom: 5rem !important;
        /* RAISED: Increased bottom spacing to push button UP */
        width: 100%;
    }

    .hero-actions .btn {
        padding: 12px 35px !important;
        font-size: 1.1rem !important;
        border-radius: 50px !important;
    }

    /* SPECIAL: Remove Background for Potlika Slide (Desktop Only) */
    .hero-slide.slide-3 .hero-bg-overlay {
        background: none !important;
        display: none !important;
    }

    /* Adjust slide text position for smaller slider */
    .slide-text {
        justify-content: flex-start !important;
        /* Changed from center to accommodate top padding */
        padding-top: 3rem !important;
        /* Kept 3rem for 110px header */
        /* Added 5rem padding to clear header */
    }

    /* Image Enhancements & Centering Fix */
    .slide-image {
        flex: 1;
        display: flex !important;
        justify-content: center !important;
        align-items: flex-end !important;
        height: 100% !important;
        /* Force to match container */
        overflow: hidden;
        /* Prevent overflow */
    }

    .slide-image img {
        max-height: 480px !important;
        /* Increased to 480px */
        width: auto;
        object-fit: contain;
        margin-bottom: 0 !important;
        object-position: bottom;
        filter: none !important;
    }

    /* Target Potlika Slide Image Specifically */
    .hero-slide.slide-3 .slide-image img {
        max-height: 550px !important;
        transform: scale(1.1);
        transform-origin: bottom center;
    }


    /* Target Potlika Grid Image Specifically */
    .product-card[data-category="potli"] .product-image img {
        height: 400px !important;
        /* Increased to 400px */
        transform: scale(1.1);
    }

    /* 3. Product Selection Menu (Filters) */
    .category-filter-container {
        display: flex !important;
        justify-content: center !important;
        gap: 25px !important;
        padding: 2.5rem 0 !important;
        margin-bottom: 4rem !important;
        flex-wrap: wrap !important;
        overflow: visible !important;
    }

    .filter-btn {
        font-size: 1.2rem !important;
        /* Increased from 0.9rem */
        padding: 12px 35px !important;
        /* Increased padding */
        border-width: 1px !important;
        /* Reduced border */
        border-radius: 50px !important;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
        cursor: pointer;
        background: #fff;
        color: #555;
        border: 1px solid #ddd;
        transition: all 0.3s ease;
        min-width: 140px;
        /* Increased min-width */
    }

    .filter-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    }

    .filter-btn.active {
        background: var(--color-primary) !important;
        color: #fff !important;
        border-color: var(--color-primary) !important;
    }


    /* 4. Background Colors / Benefits */
    .healing-philosophy-section h2 {
        font-size: 3rem !important;
        /* Increased from 2rem */
        margin-bottom: 1.5rem !important;
    }

    .healing-philosophy-section p {
        font-size: 1.3rem !important;
        /* Increased from 1rem */
        max-width: 800px !important;
        /* Increased width for larger text */
        line-height: 1.8 !important;
    }

    .benefits-section {
        background-color: #F8F9FA !important;
        background-image: none !important;
        /* Wallpaper removed */
    }

    .healing-philosophy-section {
        background-image: none !important;
        background-color: #F9F6EE !important;
        /* Cream Color */
    }

    .benefits-layout {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
        max-width: 1200px !important;
        margin: 0 auto;
        position: relative !important;
        min-height: 600px !important;
        overflow: visible !important;
        padding: 0 20px !important;
        /* Ensure side padding */
    }

    .benefits-column {
        width: 300px !important;
        flex: 0 0 300px !important;
        z-index: 10;
        position: relative;
    }

    .benefits-center-image {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%) !important;
        width: 450px;
        z-index: 5;
        display: flex;
        justify-content: center;
        align-items: center;
        pointer-events: none;
        margin: 0 !important;
    }

    .floating-product {
        max-height: 500px;
        width: auto;
        object-fit: contain;
        filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
    }

    .benefit-item {
        margin-bottom: 3rem;
        display: flex;
        align-items: center;
        gap: 1.5rem;
        /* Increased gap for better spacing */
        width: 100%;
        /* Ensure it spans the column */
    }

    .benefit-item h3 {
        font-size: 1.25rem !important;
        /* Original Size */
        margin-bottom: 0.5rem !important;
        color: #2C332B;
        /* Original Color */
    }

    .benefit-item p {
        font-size: 1rem !important;
        /* Original Size */
        line-height: 1.6 !important;
        margin: 0;
        color: #555;
    }

    /* Left Column: Text -> Icon (Reverse) */
    .benefits-column.left .benefit-item {
        flex-direction: row-reverse;
        text-align: right;
        justify-content: flex-end;
    }

    /* Right Column: Icon -> Text (Standard) */
    .benefits-column.right .benefit-item {
        flex-direction: row;
        text-align: left;
        justify-content: flex-start;
    }

    .benefit-item:last-child {
        margin-bottom: 0;
    }

    .benefits-column.left .benefit-item {
        flex-direction: row-reverse;
        text-align: right;
    }

    .benefits-column.right .benefit-item {
        flex-direction: row;
        text-align: left;
    }

    .benefit-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    /* Trust Strip Horizontal */
    .trust-strip .container {
        flex-direction: row;
        justify-content: space-around;
        gap: 2rem;
    }

    .trust-stat {
        width: auto;
    }
}