@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 (HONEY EDITION) ================= */
:root {
    --bg-main: #fcfcfc;
    --bg-card: #ffffff;

    /* Honey Theme Palette */
    --accent-gold: #ebc744;
    /* Rich Honey Gold (Highlights) */
    --accent-amber: #856c10;
    /* Warm Amber (Primary Action) */
    --accent-dark: #604e0c;
    /* Darker Orange (Hover States) */
    --accent-light: #FFF8E1;
    /* Light Creamy Yellow (Backgrounds) */

    /* Text Colors */
    --text-main: #3E2723;
    /* Deep Chocolate Brown */
    --text-muted: #6D4C41;
    /* Lighter Brown */

    /* Functional Colors */
    --accent-red: #D32F2F;
    --shadow: 0 5px 15px rgba(245, 124, 0, 0.1);
    --shadow-hover: 0 10px 25px rgba(255, 179, 0, 0.25);
}

* {
    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: #edf1d13d;
    /* Amber Background */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(5px);
}

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: #615222;
    /* Cream color */
    cursor: pointer;
    transition: 0.3s;
}

.nav-icons i:hover {
    color: #90886e;
    /* 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: #ffffff;
    color: var(--accent-amber);
    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;
}



/* 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, #FFD54F, #FFB300, #F57C00);
    /* Gold Gradient */
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
    display: inline-block;
    filter: drop-shadow(0 0 15px rgba(255, 179, 0, 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-gold);
    /* Gold 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-amber), var(--accent-gold));
    color: white;
    box-shadow: 0 10px 25px rgba(245, 124, 0, 0.4);
    /* Orange Glow */
}

/* 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-gold);
    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;
    }

}

/* Banner Background Image */
.banner-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* Carousel Navigation Arrows */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgb(255 255 255 / 42%);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.carousel-nav:hover {
    background: var(--accent-amber);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(245, 124, 0, 0.4);
}

.carousel-nav i {
    font-size: 1.2rem;
    color: var(--accent-amber);
    transition: color 0.3s ease;
}

.carousel-nav:hover i {
    color: white;
}

.carousel-nav.prev {
    left: 30px;
}

.carousel-nav.next {
    right: 30px;
}

/* Carousel Indicators (Dots) */
.carousel-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 12px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.indicator.active {
    background: var(--accent-amber);
    border-color: var(--accent-amber);
    width: 30px;
    border-radius: 6px;
}

/* Mobile Adjustments for Controls */
@media (max-width: 768px) {
    .carousel-nav {
        width: 40px;
        height: 40px;
    }

    .carousel-nav.prev {
        left: 15px;
    }

    .carousel-nav.next {
        right: 15px;
    }

    .carousel-nav i {
        font-size: 1rem;
    }

    .carousel-indicators {
        bottom: 20px;
        gap: 8px;
    }

    .indicator {
        width: 10px;
        height: 10px;
    }

    .indicator.active {
        width: 24px;
    }
}

/* Wave Divider */
.wave-divider {
    position: absolute;
    bottom: -20px;

    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 3;
}

.wave-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 100px;
}

.wave-divider-bottom {
    bottom: -2px;
}

@media (max-width: 768px) {
    .wave-divider svg {
        height: 60px;
    }
}

/* Wave Divider at top of products section */
.wave-divider-top {
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 2;
    transform: rotate(0deg);
}

.wave-divider-top svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 120px;
}

@media (max-width: 768px) {
    .wave-divider-top svg {
        height: 80px;
    }
}

.category-cards-section {
    padding: 60px 50px 40px;
    background: #fff8e1;
    position: relative;
    overflow: hidden;
}

.category-cards-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.category-card {
    position: relative;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: floatIn 0.6s ease-out forwards;
    opacity: 0;
}

.category-card:nth-child(1) {
    animation-delay: 0.1s;
}

.category-card:nth-child(2) {
    animation-delay: 0.2s;
}

.category-card:nth-child(3) {
    animation-delay: 0.3s;
}

.category-card:nth-child(4) {
    animation-delay: 0.4s;
}

.category-card:nth-child(5) {
    animation-delay: 0.5s;
}

@keyframes floatIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.category-image-wrapper {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    border: 4px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1),
        0 0 0 8px rgba(255, 248, 225, 0.5);
    transition: all 0.4s ease;
}

.category-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(245, 124, 0, 0.2), rgba(255, 179, 0, 0.2));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.category-name {
    text-align: center;
    margin-top: 15px;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

/* Hover Effects */
.category-card:hover .category-image-wrapper {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 40px rgba(245, 124, 0, 0.3),
        0 0 0 12px rgba(255, 179, 0, 0.2);
    border-color: var(--accent-amber);
}

.category-card:hover .category-image-wrapper img {
    transform: scale(1.1) rotate(2deg);
}

.category-card:hover .category-overlay {
    opacity: 1;
}

.category-card:hover .category-name {
    color: var(--accent-amber);
    transform: scale(1.05);
}

/* Active State */
.category-card.active .category-image-wrapper {
    border-color: var(--accent-amber);
    box-shadow: 0 15px 35px rgba(245, 124, 0, 0.4),
        0 0 0 10px rgba(255, 179, 0, 0.3),
        inset 0 0 20px rgba(255, 179, 0, 0.1);
}

.category-card.active .category-overlay {
    opacity: 0.6;
}

.category-card.active .category-name {
    color: var(--accent-amber);
    font-weight: 800;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .category-cards-container {
        gap: 25px;
    }

    .category-image-wrapper {
        width: 150px;
        height: 150px;
    }

    .category-name {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .category-cards-section {
        padding: 40px 20px 30px;
    }

    .category-cards-container {
        gap: 20px;
    }

    .category-image-wrapper {
        width: 130px;
        height: 130px;
        border-width: 3px;
    }

    .category-name {
        font-size: 0.9rem;
        margin-top: 10px;
    }
}

@media (max-width: 480px) {
    .category-cards-container {
        gap: 15px;
    }

    .category-image-wrapper {
        width: 110px;
        height: 110px;
    }

    .category-name {
        font-size: 0.8rem;
    }
}

/* ================= PRODUCT GRID ================= */
.products-section {
    padding: 120px 50px 60px;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {
    .products-section {
        padding-top: 80px;
    }
}

.section-video-bg {
    position: fixed;
    /* CHANGED: Locks it to the screen */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    /* Puts it behind everything else */
    overflow: hidden;
    pointer-events: none;
    /* Ensures you can still click things above it */
}

.section-video-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Ensures no black bars */
}

/* Update the overlay to cover the fixed video */
.section-video-bg .bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.377);
    /* Adjusted opacity for better text readability */
    backdrop-filter: blur(2px);
    /* Optional: Slight blur for premium feel */
    z-index: 1;
}



.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: white;
    font-weight: 700;
    margin-bottom: 10px;
    font-family: 'Rajdhani', sans-serif;
}

.section-header h2 span {
    color: #413300;
}

.section-header p {
    color: black;
}

/* ================= 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: #ffffff8f;
    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-gold);
}

/* --- 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) {
    /* 1. Adjust Grid Spacing */
    .product-grid {
        gap: 12px; /* Smaller gap between cards */
        padding: 0 12px; /* Use more screen width */
    }

    /* 2. Force 2 Columns & Override Min-Width (CRITICAL FIX) */
    .p-card {
        /* Exactly 50% minus half the gap */
        flex: 0 0 calc(50% - 6px); 
        /* IMPORTANT: Override default min-width so they don't stack */
        min-width: 0 !important; 
        margin: 0;
    }

    /* 3. Proportional Scaling (The "Zoom Out" Effect) */

    /* Image height must be reduced to stop it looking "thin" */
    .p-image-container {
        height: 140px; /* Reduced from 250px */
    }
    .p-image {
        height: 100%;
    }

    /* Reduce internal padding so content reaches edges */
    .p-details {
        padding: 10px;
    }

    /* Scale down fonts */
    .p-name {
        font-size: 0.9rem;
        margin-bottom: 4px;
        /* Ensure title stays on one line with dots if too long */
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    /* Hide description on mobile to save space */
    .p-desc {
        display: none;
    }

    .p-price {
        font-size: 1rem;
        margin-bottom: 8px;
    }
    
    .original-price {
        font-size: 0.75rem;
    }

    /* Scale down Variant Buttons */
    .variant-selector-wrapper {
        gap: 4px;
        margin-bottom: 8px;
    }
    .btn-variant {
        padding: 4px 8px;
        font-size: 0.7rem;
    }

    /* Scale down Quantity Selector */
    .qty-control-wrapper {
        margin-bottom: 8px;
        height: 28px;
    }
    .qty-label { display: none; } /* Hide 'Qty:' text */
    
    .qty-btn-card {
        padding: 0 8px;
        font-size: 0.9rem;
        line-height: 28px;
    }
    .qty-input-styled {
        width: 30px;
        font-size: 0.85rem;
        height: 28px;
    }

    /* Scale down Action Buttons */
    .btn-group {
        gap: 6px;
        margin-top: 5px;
    }
    .btn-card {
        padding: 6px 0;
        font-size: 0.75rem;
    }

    /* Adjust Ribbon */
    .discount-ribbon {
        font-size: 0.6rem;
        padding: 2px 25px;
        top: 8px;
        right: -25px;
    }
}

/* ================= MOBILE: 2 PER ROW (COMPACT / ZOOMED OUT) ================= */
/* ================= MOBILE: BALANCED 2-COLUMN LAYOUT ================= */
@media (max-width: 550px) {
    /* 1. Grid: Tight gap to allow maximum card width */
    .product-grid {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        padding: 0 8px;
    }

    .p-card {
        flex: 0 0 calc(50% - 4px); /* Exact 50% split */
        width: calc(50% - 4px);
        min-width: 0 !important;
        margin: 0;
    }

    /* 2. INCREASED Image Height (Makes the product look better) */
    .p-image-container, 
    .p-image {
        height: 155px !important; /* Increased from 105px to 155px */
    }

    /* 3. COMPACT CONTENT AREA (Fixes "Empty Spaces") */
    .p-details {
        padding: 8px !important; /* Tighter padding */
    }

    /* 4. REDUCED TEXT SIZES */
    .p-name {
        font-size: 0.8rem; /* Smaller, neat title */
        margin-bottom: 2px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        line-height: 1.2;
    }

    /* Hide Description */
    .p-desc { display: none; }

    /* Compact Price */
    .p-price {
        font-size: 0.6rem;
        font-weight: 700;
        margin-bottom: 4px; /* Reduced margin */
    }
    .original-price { font-size: 0.7rem; }

    /* 5. TINY VARIANT BUTTONS */
    .variant-selector-wrapper {
        gap: 4px;
        margin-bottom: 4px; /* Reduced empty space */
    }
    .btn-variant {
        padding: 2px 8px;
        font-size: 0.4rem; /* Tiny text */
        height: 22px; /* Fixed height */
        border-radius: 4px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* 6. COMPACT QUANTITY SELECTOR */
    .qty-control-wrapper {
        height: 24px;
        margin-bottom: 6px; /* Reduced empty space */
        border-radius: 4px;
    }
    .qty-btn-card {
        padding: 0;
        width: 24px;
        font-size: 0.9rem;
        line-height: 22px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .qty-input-styled {
        width: 24px;
        font-size: 0.8rem;
        height: 24px;
    }
    .qty-label { display: none; }

    /* 7. COMPACT ACTION BUTTONS */
    .btn-group {
        gap: 5px;
        margin-top: 2px;
    }
    .btn-card {
        padding: 0; 
        height: 32px; /* Fixed height buttons */
        font-size: 0.4rem; /* Small text */
        border-radius: 4px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .btn-card i {
        font-size: 0.7rem;
        margin-right: 4px;
    }

    /* 8. Micro Ribbon */
    .discount-ribbon {
        font-size: 0.5rem;
        padding: 2px 20px;
        top: 6px;
        right: -24px;
    }
    
    /* Hide stock text to clean up UI */
    .stock-warning-text { display: none; }
}

.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;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.p-price {
    font-size: 1.3rem;
    color: var(--accent-amber);
    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;
    background-color: #55555500;
}

.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-amber);
    font-weight: bold;
    font-size: 1.1rem;
    transition: 0.2s;
}

.qty-btn-card:hover {
    background: var(--accent-amber);
    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-light);
    color: var(--accent-amber);
}

.btn-add:hover {
    background: #FFECB3;
}

.btn-buy {
    background: var(--accent-amber);
    color: white;
}

.btn-buy:hover {
    background: var(--accent-dark);
}







/* ================= FOOTER ================= */
footer {
    background: #866a16;
    color: white;
    padding: 60px 50px 20px;
    margin-top: 0;
    z-index: 1000;
}

.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-gold);
    font-family: 'Rajdhani', sans-serif;
}

.footer-col a {
    display: block;
    color: #aaa;
    margin-bottom: 10px;
    text-decoration: none;
    transition: 0.3s;
}

.footer-col a:hover {
    color: white;
    padding-left: 5px;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #9f9f9f;
    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-amber);
}

/* ================= 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-amber) !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-amber);
    border-bottom: 2px solid var(--accent-amber);
}

.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-amber);
    background: white;
}

.btn-primary {
    background: var(--accent-amber);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
}

.btn-primary:hover {
    background: var(--accent-dark);
}

.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-amber);
    color: var(--accent-amber);
}

.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-amber);
    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-amber);
}

.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-amber);
}

.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-amber);
    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-amber);
}

.cart-addr-item.selected {
    border-color: var(--accent-amber);
    background: var(--accent-light);
}

.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-amber);
    border: 1px solid var(--accent-amber);
}

.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-amber);
}

.order-card.new-order {
    border: 1px solid var(--accent-amber);
    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-amber);
    background: white;
    color: var(--accent-amber);
    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-amber);
    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-light);
    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-light);
    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-light);
    border-right: 1px solid var(--accent-light);
}

.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: 30vh;
        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;
    }
}



/* 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 (HONEY 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 Honey colors */
    background: linear-gradient(to bottom, var(--accent-light) 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 'honey-pattern.jpg' with your actual image filename */
    background-image: url('../static/im/section23.png');

    /* 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: black;
    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 Honey Shadow */
    border: 4px solid var(--accent-light);
    /* 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-amber);
    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-amber);
    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-amber);
    /* Fills circle with Honey color */
    border-color: var(--accent-gold);
    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;
    }
}


.dot {
    width: 12px;
    height: 12px;
    background: #ddd;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.dot:hover {
    background: var(--accent-gold);
}

.dot.active {
    background: var(--accent-amber);
    width: 30px;
    border-radius: 10px;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}




/* ================= HONEY TRAIL EFFECT ================= */
#honeyTrail {
    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: #2D1B16;
    /* Matches your footer color */
    display: block;
    line-height: 0;
    /* Removes tiny gap at bottom */
    margin-top: -1px;
    position: relative;
    z-index: 1000;
}

/* The Image itself */
.footer-bottom-image img {
    width: 100%;
    /* Change from fixed height to auto to show the full image */
    height: auto;

    /* Change from cover to contain/unset to prevent cropping */
    object-fit: contain;

    display: block;
}

/* Optional: Max-height limit if the image is naturally too tall */
@media (min-width: 1200px) {
    .footer-bottom-image img {
        max-height: 600px;
        /* Adjust this value based on your image aspect ratio */
    }
}

/* Mobile Adjustment */
@media (max-width: 768px) {
    .footer-bottom-image img {
        height: auto;
        width: 100%;
    }
}




/* ================= DESKTOP NAVIGATION ================= */
.desktop-nav {
    display: flex;
    gap: 40px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-link {
    text-decoration: none;
    color: #9c8431;
    /* 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: #cebf8d;
    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: rgb(44, 33, 17);
    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: #574a14;
}

/* 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-amber);
    /* Honey 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-light);
    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;
}


/* ================= HONEY DRIP CARD EFFECT ================= */
.p-card {
    position: relative;
    /* Enables absolute positioning inside the card */
}

.honey-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-amber);
    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-amber);
}

.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-gold);
}

.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-amber);
    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-amber);
    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-amber);
    color: var(--accent-amber);
    transform: translateY(-2px);
}

/* Selected (Active) State */
.btn-variant.active {
    background: linear-gradient(45deg, var(--accent-amber), var(--accent-gold));
    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;
    }
}



/* --- 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;
    /* Aligns icon and text side-by-side */
    gap: 12px;
    /* Space between icon and text */
    margin-top: 20px;
    /* Space between text and address */
    color: #aaa;
    /* Standard footer link color */
    text-decoration: none;
    font-size: 0.9rem;
    line-height: 1.5;
    transition: all 0.3s ease;
    align-items: flex-start;
    /* Aligns icon with the top line of text */
}

.footer-address i {
    color: var(--accent-gold);
    /* 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: white;
    /* Text turns white */
    transform: translateX(5px);
    /* Slight movement to the right */
}

.footer-address:hover i {
    color: var(--accent-amber);
    /* 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 Honey 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 */
.honey-drip-overlay {
    z-index: 20 !important;
    /* */
}



/* --- MODERN PREMIUM MARQUEE (EDGE-TO-EDGE) --- */
.premium-marquee-container {
    /* Break out of parent padding */
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;

    overflow: hidden;
    padding: 15px 0;
    margin-top: 10px;
    margin-bottom: 50px;

    /* Glassmorphism & Theme */
    background: rgb(255 255 255 / 20%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(133, 108, 16, 0.15);
    border-bottom: 1px solid rgba(133, 108, 16, 0.15);
    z-index: 5;
}

.marquee-wrapper {
    display: flex;
    width: 100%;
}

.marquee-content {
    display: flex;
    white-space: nowrap;
    /* Use a very large gap to ensure icons don't bunch up on wide screens */
    gap: 100px;
    align-items: center;
    padding-right: 100px;
    /* Matches the gap for seamless looping */
    animation: premiumScroll 40s linear infinite;
}

.marquee-item {
    display: flex;
    align-items: center;
    gap: 18px;
    color: var(--text-main);
    /* Deep Chocolate Brown */
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.marquee-item i {
    font-size: 2rem;
    color: var(--accent-amber);
    /* Warm Amber */
    filter: drop-shadow(0 2px 4px rgba(133, 108, 16, 0.2));
}

/* Premium Gradient Text */
.marquee-item span {
    background: linear-gradient(to right, #3E2723, #856c10);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

@keyframes premiumScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Mobile Tweaks */
@media (max-width: 768px) {
    .premium-marquee-container {
        padding: 15px 0;
    }

    .marquee-item {
        font-size: 1rem;
        gap: 10px;
    }

    .marquee-content {
        gap: 60px;
        padding-right: 60px;
    }
}

.process-section {
    padding: 80px 20px;
    background: #fdfdfc;
}

.process-steps {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    max-width: 1000px;
    margin: 40px auto 0;
    gap: 10px;
}

.step-item {
    text-align: center;
    flex: 1;
    max-width: 200px;
}

.step-icon {
    width: 50px;
    height: 50px;
    background: var(--accent-amber);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    margin: 0 auto 20px;
    box-shadow: 0 5px 15px rgba(245, 124, 0, 0.3);
}

.step-line {
    flex: 1;
    height: 2px;
    background: #eee;
    margin-top: 25px;
    display: none;
}

/* Show on desktop only if needed */
.step-item h3 {
    font-family: 'Rajdhani', sans-serif;
    margin-bottom: 10px;
    color: var(--text-main);
}

.step-item p {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.5;
}

@media (min-width: 768px) {
    .step-line {
        display: block;
    }
}

@media (max-width: 768px) {
    .process-steps {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    .step-line {
        display: none;
    }
}


/* ================= IMPROVED CATEGORY HEADER (GOLDEN THREAD STYLE) ================= */
.category-group-header {
    width: 100%;
    font-family: 'Rajdhani', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-main);
    /* Deep Chocolate */

    /* Remove the old hard border */
    border-bottom: none;

    padding-bottom: 5px;
    margin-bottom: 35px;
    margin-top: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;

    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
}

/* 1. The Glowing Diamond Bullet */
.category-group-header::before {
    content: '';
    display: block;
    width: 12px;
    height: 12px;
    background: var(--accent-amber);
    transform: rotate(45deg);
    /* Diamond shape */
    box-shadow: 0 0 10px var(--accent-gold);
    /* Soft Glow */
    border-radius: 2px;
}

/* 2. The Fading Gold Line */
.category-group-header::after {
    content: '';
    flex: 1;
    /* Takes up remaining space */
    height: 3px;
    /* Gradient fades from Solid Amber to Transparent */
    background: linear-gradient(90deg, var(--accent-amber) 0%, rgba(255, 248, 225, 0) 100%);
    border-radius: 50px;
    opacity: 0.8;
}

/* 3. The Highlighted Text (Category Name) */
.category-group-header span {
    /* Gradient Text Effect matching your Luxury Hero */
    background: linear-gradient(to bottom, #000000, #9f6f33);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;

    /* Subtle drop shadow for depth */
    filter: drop-shadow(0 2px 2px rgba(133, 108, 16, 0.2));
    padding-right: 5px;
}

/* Mobile Adjustment */
@media (max-width: 768px) {
    .category-group-header {
        font-size: 1.5rem;
        gap: 10px;
        margin-bottom: 25px;
    }

    .category-group-header::before {
        width: 8px;
        height: 8px;
    }
}

/* --- REFER & EARN STYLES --- */
.referral-code-box,
.wallet-balance-box {
    background: #f9f9f9;
    border: 1px dashed #ddd;
    border-radius: 8px;
    padding: 15px;
    margin: 10px 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.referral-code-box:hover {
    background: #fff8e1;
    border-color: var(--accent-amber);
}

.code-display {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.code-display h2 {
    margin: 0;
    font-family: monospace;
    letter-spacing: 2px;
    color: #333;
}

/* Cart Referral Section */
.cart-referral-section {
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.referral-input-wrapper {
    display: flex;
    gap: 5px;
}

.referral-input-wrapper input {
    flex: 1;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.referral-input-wrapper button {
    background: #333;
    color: white;
    border: none;
    padding: 0 15px;
    border-radius: 4px;
    cursor: pointer;
}

.referral-msg {
    font-size: 0.8rem;
    margin-top: 5px;
    margin-bottom: 0;
}

.referral-msg.success {
    color: var(--accent-green);
}

.referral-msg.error {
    color: #d32f2f;
}

/* Wallet Usage Section */
.cart-wallet-section {
    padding: 15px;
    background: #f0fdf4;
    border-bottom: 1px solid #eee;
}

.wallet-checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.wallet-info {
    display: flex;
    flex-direction: column;
}

.wallet-info span {
    font-weight: 600;
    font-size: 0.9rem;
}

.wallet-info small {
    color: #555;
}



/* ================= PREMIUM ABOUT SECTION STYLES ================= */
.about-section {
    padding: 100px 50px;
    background: linear-gradient(135deg, #fffcf5 0%, #fff8e1 100%);
    position: relative;
    overflow: hidden;
}

/* Background Effects */
.gold-blur-circle {
    position: absolute;
    top: -10%;
    right: -5%;
    width: 500px;
    height: 500px;
    background: var(--accent-amber);
    opacity: 0.08;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 1;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.1fr; /* Right side slightly wider for text */
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* --- LEFT COLUMN: IMAGE --- */
.about-image-col {
    position: relative;
    padding-left: 20px; 
}

.image-frame-back {
    position: absolute;
    top: -20px;
    left: 0;
    width: 90%;
    height: 100%;
    border: 2px solid var(--accent-amber);
    opacity: 0.3;
    z-index: 1;
    border-radius: 20px;
}

.main-image-wrapper {
    position: relative;
    z-index: 2;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(133, 108, 16, 0.2);
    transform: rotate(-2deg);
    transition: transform 0.5s ease;
    background: #fff;
    min-height: 400px; /* Placeholder height */
}

.about-image-col:hover .main-image-wrapper {
    transform: rotate(0deg) scale(1.02);
}

.about-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Badge */
.floating-badge {
    position: absolute;
    bottom: 30px;
    right: -20px;
    background: white;
    padding: 15px 25px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    border-left: 4px solid var(--accent-amber);
    animation: floatBadge 3s ease-in-out infinite;
}
.badge-year { font-size: 0.7rem; color: #888; text-transform: uppercase; letter-spacing: 1px; }
.badge-date { font-size: 1.5rem; font-weight: 700; color: var(--text-main); font-family: 'Rajdhani', sans-serif; line-height: 1; margin: 2px 0; }

@keyframes floatBadge {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* --- RIGHT COLUMN: CONTENT --- */
.gold-subheading {
    color: var(--accent-amber);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.gold-subheading::before {
    content: '';
    width: 40px;
    height: 2px;
    background: var(--accent-amber);
}

.premium-heading {
    font-family: 'Rajdhani', sans-serif;
    font-size: 3.2rem;
    line-height: 1.1;
    color: var(--text-main);
    margin-bottom: 25px;
}
.premium-heading span { color: var(--accent-amber); font-style: italic; }

.about-text {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Custom Features Row */
.custom-features-row {
    display: flex;
    gap: 20px;
    margin: 25px 0;
}

.c-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    background: white;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid rgba(133, 108, 16, 0.1);
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    min-width: 100px;
}

.c-feature i {
    font-size: 1.5rem;
    color: var(--accent-amber);
}

.c-feature span {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-main);
    text-transform: uppercase;
}

/* Signature Block */
.signature-block {
    margin-top: 10px;
    padding-left: 15px;
    border-left: 3px solid var(--accent-amber);
}

.hygiene-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #555;
}

/* Mobile Responsive */
@media (max-width: 900px) {
    .about-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .about-image-col {
        padding-left: 0;
        max-width: 500px;
        margin: 0 auto;
    }
    .main-image-wrapper { min-height: 300px; }
    .premium-heading { font-size: 2.2rem; }
    .custom-features-row { flex-wrap: wrap; justify-content: center; }
    .c-feature { flex: 1; }
}


/* Update the .main-image-wrapper to handle video */
.main-image-wrapper.video-wrapper {
    position: relative;
    z-index: 2;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(133, 108, 16, 0.2);
    transform: rotate(-2deg);
    transition: transform 0.5s ease;
    background: #000; /* Black background while video loads */
    min-height: 400px; 
    height: 100%;
}

/* Style the video element itself */
.about-video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures video fills the box without stretching */
    display: block;
}

/* Hover effect remains the same */
.about-image-col:hover .main-image-wrapper {
    transform: rotate(0deg) scale(1.02);
}

/* Mobile Adjustment for Video */
@media (max-width: 900px) {
    .main-image-wrapper.video-wrapper {
        min-height: 300px;
        max-height: 400px; /* Prevents it from being too tall on phone */
    }
}


/* ================= VIDEO BACKGROUND ABOUT SECTION (LIGHT VERSION) ================= */
.about-section-video {
    position: relative;
    width: 100%;
    min-height: 80vh; 
    display: flex;
    align-items: center; 
    overflow: hidden;
    padding: 80px 50px;
    background: #f9f9f9; /* Fallback color */
}

/* 1. Background Video Setup */
.video-bg-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8; /* Slight opacity to blend with white background if needed */
}

/* White Overlay (Crucial for dark text readability on left) */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Fades from solid white (left) to transparent (right) */
    /* background: linear-gradient(to right, rgba(255,255,255,1) 10%, rgba(255,255,255,0.8) 50%, rgba(255,255,255,0) 100%); */
    z-index: 1;
}

/* 2. Content Styling */
.about-content-container {
    position: relative;
    z-index: 2; 
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.content-left {
    max-width: 650px; 
}

/* Typography Overrides for Light Background */
.premium-heading-white {
    font-family: 'Rajdhani', sans-serif;
    font-size: 3.5rem;
    line-height: 1.1;
    color: var(--text-main); /* Changed to Dark Brown */
    margin-bottom: 25px;
    /* Removed heavy drop shadow, added subtle glow */
    text-shadow: none; 
}

.about-text-white {
    font-size: 1.1rem;
    color: var(--text-muted); /* Changed to Muted Brown/Grey */
    line-height: 1.8;
    margin-bottom: 30px;
    font-weight: 500;
}

/* Glass Effect Features (Amber Tinted Glass) */
.c-feature.glass-effect {
    background: rgba(255, 248, 225, 0.6); /* Warm creamy glass */
    backdrop-filter: blur(8px);
    border: 1px solid var(--accent-amber); /* Amber border */
    box-shadow: 0 10px 30px rgba(133, 108, 16, 0.1); /* Soft gold shadow */
}

.c-feature.glass-effect span {
    color: var(--text-main); /* Dark Text */
    font-weight: 600;
}

.c-feature.glass-effect i {
    color: var(--accent-amber); /* Amber Icons */
}

/* Signature & Stats */
.signature-row {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-top: 30px;
}

.signature-block.white-border {
    border-left: 3px solid var(--accent-amber);
    padding-left: 15px;
}

/* Update signature text colors to dark */
.sig-content h5 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.2rem;
    color: var(--text-main) !important; /* Force Dark */
    margin-bottom: 2px;
    text-shadow: none !important;
}

.mini-stat {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-family: 'Rajdhani', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-amber);
    line-height: 1;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-muted); /* Darker Grey */
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hygiene-badge.white-text {
    color: var(--text-main); /* Dark Text */
    font-weight: 600;
    text-shadow: none;
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .about-section-video {
        padding: 60px 20px;
        min-height: auto; /* Let content dictate height */
    }

    .premium-heading-white {
        font-size: 2.2rem; /* Slightly smaller for mobile */
    }

    /* --- CRITICAL UPDATE: VIDEO POSITIONING --- */
    .bg-video {
        /* 80% means: Shift the video to show the 80% mark (Right side).
           50% means: Center vertically.
           Adjust "80%" to "100%" if you need it even further right.
        */
        object-position: 80% 50%; 
    }

    /* --- ADJUST OVERLAY FOR MOBILE --- */
    .video-overlay {
        /* Since text is on top of the video on mobile, 
           we use a semi-transparent white to make text readable 
           but still let the video show through.
        */
        /* background: rgba(255, 255, 255, 0.75);  */
    }

    .about-content-container {
        /* Ensure text sits on top nicely */
        padding-top: 20px;
        padding-bottom: 20px;
    }

    /* Stack features vertically or in a tighter grid */
    .custom-features-row {
        gap: 10px;
        flex-wrap: wrap;
    }
    
    .c-feature.glass-effect {
        flex: 1 1 45%; /* 2 per row */
        padding: 10px;
        min-width: 120px;
    }
}





.cart-sidebar {
    background: transparent !important; /* Overrides the previous white bg */
    overflow: hidden; /* Ensures video doesn't spill out */
}

/* 2. Position the Video Behind Content */
.cart-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0; /* Sits at the back */
    pointer-events: none; /* Allows clicks to pass through to items */
}

/* style.css */

/* style.css */

.cart-video-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    
    /* CHANGE THIS LINE: */
    /* 80% moves the view to the right side of the video */
    object-position: 80% 50%; 
}

/* 3. Add a Glass/Blur Overlay so text is readable */
.cart-overlay-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.529); /* High opacity white */
    z-index: 1;
}

/* 4. Ensure Cart Content sits ON TOP of the video */
.cart-header,
.cart-items,
.cart-footer,
.cart-referral-section,
.cart-wallet-section,
.cart-address-section {
    position: relative;
    z-index: 2; /* Brings text above the video */
    background: transparent !important; /* Removes default white backgrounds */
}

/* 5. Polish the Footer area */
.cart-footer {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.6) !important; /* Semi-transparent footer */
    backdrop-filter: blur(10px); /* Extra blur for the checkout button area */
}

/* 6. Polish the Scrollbar (Optional, makes it look cleaner over video) */
.cart-items::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.05);
}