/* ===================================================== */
/* KHYBER TEA - THE NEON GLASS MASTERPIECE EDITION      */
/* ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;600;700&family=Montserrat:wght@300;400;600&display=swap');

:root {
    --deep-emerald: #061a17;
    --royal-green: #0a2520;
    --gold-leaf: #d4af37;
    --gold-glow: rgba(212, 175, 55, 0.4);
    --neon-glow: 0 0 15px rgba(212, 175, 55, 0.3), 0 0 30px rgba(212, 175, 55, 0.1);
    --glass: rgba(255, 255, 255, 0.03);
    --glass-navbar: rgba(44, 40, 36, 0.75);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-silver: #e0e0e0;
    --white: #ffffff;
    --transition-base: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ================= 1. BASE RESET & RESPONSIVENESS ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px; /* Base for rem units */
}

@media (max-width: 1024px) { html { font-size: 15px; } }
@media (max-width: 768px) { html { font-size: 14px; } }

body {
    background-color: var(--deep-emerald);
    color: var(--text-silver);
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Cormorant Garamond', serif;
    color: var(--white);
    letter-spacing: 1px;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

/* ================= 2. NEON GLASS NAVBAR ================= */
.site-header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1100px;
    padding: 0.7rem 2rem;
    border-radius: 50px;
    
    /* Sheesha (Glass) Effect */
    background: var(--glass-navbar);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    
    /* Neon Glow Border */
    border: 1px solid var(--gold-leaf);
    box-shadow: var(--neon-glow);
    
    z-index: 10000;
    transition: var(--transition-base);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 45px;
    width: auto;
    transform: scale(1.75);
    transform-origin: left center;
    transition: var(--transition-base);
}

@media (max-width:768px){
    .logo{
        transform: scale(1.75);
    }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu li a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition-base);
}

.nav-menu li a:hover {
    color: var(--gold-leaf);
    text-shadow: 0 0 8px var(--gold-glow);
}

/* ================= 3. SECTIONS WITH NEON GLOW ================= */
.premium-section {
    padding: 80px 0;
    margin: 40px 5%;
    border-radius: 30px;
    background: rgba(10, 37, 32, 0.4);
    
    /* Section Neon Boundary */
    border: 1px solid var(--glass-border);
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    transition: var(--transition-base);
}

.premium-section:hover {
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: var(--neon-glow);
}

/* Specific Section Colors */
.section-dark { background: rgba(5, 20, 18, 0.6); }
.section-light { background: rgba(255, 255, 255, 0.02); }

/* ================= 4. HERO SECTION ================= */
.hero {
    min-height: 100vh;
    padding-top: 100px; /* space for fixed navbar */
    padding-bottom: 60px;

    display: flex;
    align-items: center;
    justify-content: center;

    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at center, var(--royal-green) 0%, var(--deep-emerald) 100%);
    margin: 0;
    border-radius: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: auto;
    padding: 40px 50px;
    
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(2px);
    border-radius: 25px;
    
    box-shadow: 0 20px 60px rgba(0,0,0,0.6);
    text-align: center;
}
.hero-description {
    color: #ffffff;
}

.hero-title {
    font-size: clamp(2.2rem, 7vw, 4.2rem);
    margin-bottom: 1.5rem;
    background: linear-gradient(to bottom, #fff 40%, var(--gold-leaf));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(212,175,55,0.15), transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(255,255,255,0.05), transparent 40%);
    pointer-events: none;
}

/* ================= 5. BREATHING CARDS ================= */
.premium-card {
    background: var(--glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: var(--transition-base);
    height: 100%;
}

@keyframes cardBreathe {
    0% { transform: scale(1); box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
    50% { transform: scale(1.03); box-shadow: var(--neon-glow); }
    100% { transform: scale(1); box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
}

.premium-card:hover {
    animation: cardBreathe 3s ease-in-out infinite;
    border-color: var(--gold-leaf);
}

/* Purane grid styles ki jagah ise paste karein */
.why-grid, .vm-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    margin-top: 3rem;
}

/* Product Grid Adjustment: Desktop par 3 cards ke liye */
.product-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    margin-top: 3rem;
}

/* ================= 6. BUTTONS & INPUTS ================= */
.btn {
    padding: 12px 30px;
    border-radius: 50px;
    text-transform: uppercase;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-base);
    border: none;
    display: inline-block;
    font-size: 0.85rem;
}

/* ================================================= */
/* CINEMATIC GOLD BUTTON                             */
/* ================================================= */

/* ================================================= */
/* CLEAN GOLD BUTTON STYLE */
/* ================================================= */

.btn-gold {
    background: linear-gradient(135deg, #d4af37, #f5d76e);
    color: #000;
    font-weight: 600;
    letter-spacing: 0.5px;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(212,175,55,0.25);
    margin-top: 12px;
}

/* REMOVE OLD SHINE EFFECT */
.btn-gold::after {
    display: none !important;
}
/* ================================================= */
/* NEW HOVER EFFECT */
/* ================================================= */

.btn-gold:hover {
    background: linear-gradient(135deg, #f5d76e, #d4af37);
    transform: translateY(-3px);
    box-shadow: 
        0 12px 30px rgba(212,175,55,0.45),
        0 0 15px rgba(212,175,55,0.3);
}

.contact-form input, .contact-form textarea {
    width: 100%;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--glass-border);
    padding: 1rem;
    border-radius: 12px;
    color: #fff;
    margin-bottom: 1.5rem;
    transition: var(--transition-base);
}

.contact-form input:focus {
    outline: none;
    border-color: var(--gold-leaf);
    box-shadow: 0 0 10px var(--gold-glow);
}

/* ===================================== */
/* PREMIUM MOBILE MENU DRAWER */
/* ===================================== */

@media (max-width: 850px) {

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        max-width: 320px;
        height: 100vh;

        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;

        background: linear-gradient(
            180deg,
            rgba(6,26,23,0.95),
            rgba(10,37,32,0.95)
        );

       backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);

        border-left: 1px solid rgba(212,175,55,0.4);
        box-shadow: -10px 0 40px rgba(0,0,0,0.8);

        transition: right 0.5s cubic-bezier(.2,.8,.2,1);
        z-index: 10000;
    }

    .nav-menu.show {
        right: 0;
    }

    .nav-menu li a {
        font-size: 1rem;
        letter-spacing: 2px;
    }

    .menu-toggle {
        display: block;
        z-index: 10001;
    }
}

/* Particle effect */
.particle {
    position: absolute;
    background: var(--gold-leaf);
    border-radius: 50%;
    opacity: 0.3;
    pointer-events: none;
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--gold-leaf);
    box-shadow: 0 0 10px var(--gold-leaf);
    z-index: 10001;
    width: 0;
}

/* Footer Styling */
.site-footer {
    padding: 30px 0;
    text-align: center;
    border-top: 1px solid var(--glass-border);
    margin-top: 50px;
}
.menu-toggle {
    background: none;
    border: none;
    color: var(--gold-leaf);
    font-size: 26px;
    cursor: pointer;
    z-index: 10002;
}

/* Hide on desktop only */
@media (min-width: 851px) {
    .menu-toggle {
        display: none;
    }
}

.nav-menu {
    display: flex; /* Badi screen par menu dikhayen */
    gap: 2rem;
    list-style: none;
}


/* Product Images Fitting Fix - Ise file ke end mein add kar dein */
.product-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden; /* Image card se bahar nahi jayegi */
}

.product-card img {
    width: 100% !important;
    height: 220px !important; /* Saari images ka size barabar karne ke liye */
    object-fit: contain !important; /* Image kategi nahi balkay fit ho jayegi */
    background: rgba(255, 255, 255, 0.05); /* Halka sheesha background */
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    transition: var(--transition-base);
}

.product-card:hover img {
    transform: translateY(-5px); /* Hover par image thori upar uthegi */
}
/* ================================================= */
/* PREMIUM PRODUCT SELECT UPGRADE                   */
/* ================================================= */

/* Remove breathing animation */
.premium-card:hover {
    animation: none !important;
}

/* Stable hover instead */
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}

/* Wrapper stability */
.product-card {
    transform: translateY(0);
    transition: all 0.3s ease;
}

/* PREMIUM SELECT STYLING */

.weight-select {
    width: 100%;
    padding: 14px 20px;
    border-radius: 40px;
    border: 1px solid var(--gold-leaf);
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(8px);
    color: #fff;
    font-weight: 500;
    font-size: 0.95rem;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

/* Custom arrow */
.weight-select {
    background-image: url("data:image/svg+xml;utf8,<svg fill='%23d4af37' height='20' viewBox='0 0 24 24' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 18px center;
    background-size: 18px;
}

/* Focus effect */
.weight-select:focus {
    outline: none;
    border-color: var(--gold-leaf);
    box-shadow: 0 0 15px rgba(212,175,55,0.4);
    transform: scale(1.02);
}

/* Dropdown options */
.weight-select option {
    background: #061a17;
    color: #fff;
    padding: 10px;
}

/* Prevent jump while opening */
.product-card select:focus {
    position: relative;
    z-index: 10;
}
/* ================= LUXURY PARAGRAPH STYLE ================= */

.section-description,
.premium-section p {
    font-size: 1.05rem;
    line-height: 1.9;
    color: #ffff;
    max-width: 850px;
    margin: 0 auto 25px;
    text-align: center;
}

/* ================= NEON BORDER AROUND ALL SECTIONS ================= */

.premium-section {
    border: 1px solid rgba(212,175,55,0.25);
    box-shadow: 0 0 25px rgba(212,175,55,0.15);
}

/* ================= PRODUCT BUTTON ALIGN FIX ================= */
/* ================================================= */
/* PRODUCT BUTTONS CLEAN ALIGNMENT */
/* ================================================= */

.btn-group {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.btn-group .btn {
    flex: 1;
    text-align: center;
    padding: 12px 0;
}

/* ================= TOAST NOTIFICATION ================= */

.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: rgba(0,0,0,0.9);
    color: #fff;
    padding: 15px 25px;
    border-left: 4px solid #d4af37;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    z-index: 99999;
    opacity: 0;
    transform: translateY(20px);
    transition: 0.4s ease;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

/* ================================================= */
/* ORIGINAL WHATSAPP FLOATING BUTTON */
/* ================================================= */
/* ================================================= */
/* GLASS WHATSAPP – ULTRA PREMIUM VERSION */
/* ================================================= */

.whatsapp-float {
    position: fixed;
    bottom: 35px;
    left: 35px;
    width: 75px;
    height: 75px;
    border-radius: 50%;

    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    background: radial-gradient(circle at 30% 30%, rgba(37,211,102,0.5), rgba(0,0,0,0.2));
    border: 1px solid rgba(37,211,102,0.6);

    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow:
        0 15px 40px rgba(0,0,0,0.6),
        0 0 25px rgba(37,211,102,0.5);

    transition: all .4s cubic-bezier(.2,.8,.2,1);
    z-index: 9999;
}

/* Hover Effect */

.whatsapp-float:hover {
    transform: translateY(-8px) scale(1.08);
    box-shadow:
        0 20px 50px rgba(0,0,0,0.7),
        0 0 35px rgba(37,211,102,0.8);
}

/* SVG Icon */

.whatsapp-float svg {
    width: 30px;
    height: 30px;
}

/* ================================================= */
/* UNREAD BADGE */
/* ================================================= */

.wa-badge {
    position: absolute;
    top: 5px;
    right: 5px;
    background: #ff3b3b;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 7px;
    border-radius: 20px;
    box-shadow: 0 0 10px rgba(255,0,0,0.6);
    animation: badgePulse 1.5s infinite;
}

@keyframes badgePulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.15); }
    100% { transform: scale(1); }
}

/* ================================================= */
/* TOOLTIP */
/* ================================================= */

.wa-tooltip {
    position: absolute;
    left: 90px;
    white-space: nowrap;
    background: rgba(0,0,0,0.85);
    color: #fff;
    padding: 10px 16px;
    border-radius: 30px;
    font-size: 14px;
    opacity: 0;
    transform: translateX(-10px);
    transition: all .3s ease;
    pointer-events: none;
}

.whatsapp-float:hover .wa-tooltip {
    opacity: 1;
    transform: translateX(0);
}

/* ================================================= */
/* SOFT OUTER PULSE */
/* ================================================= */

@keyframes whatsappOuterPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37,211,102,0.6);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(37,211,102,0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37,211,102,0);
    }
}

.whatsapp-float {
    animation: whatsappOuterPulse 2.5s infinite;
}

/* ================================================= */
/* MOBILE OPTIMIZATION */
/* ================================================= */

@media (max-width:768px) {

    .whatsapp-float {
        width: 65px;
        height: 65px;
        bottom: 25px;
        left: 25px;
    }

    .wa-tooltip {
        display: none;
    }
}
/* ================= CHECKOUT ================= */

.checkout-form {
    max-width: 600px;
    margin: 0 auto;
}

.checkout-form input,
.checkout-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
}
/* ================= FLOATING CART ================= */

.floating-cart {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #d4af37;
    color: #000;
    padding: 12px 18px;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
    z-index: 9999;
    transition: 0.3s ease;
}

.floating-cart:hover {
    transform: scale(1.08);
}

#floating-count {
    background: #000;
    color: #fff;
    padding: 3px 8px;
    border-radius: 20px;
    margin-left: 8px;
}

/* ================================================= */
/* CINEMATIC CART DRAWER                             */
/* ================================================= */

.cart-drawer {
    position: fixed;
    top: 0;
    right: -450px;
    width: 420px;
    height: 100%;
    backdrop-filter: blur(25px);
    background: linear-gradient(
        to bottom,
        rgba(6,26,23,0.95),
        rgba(10,37,32,0.95)
    );
    border-left: 1px solid rgba(212,175,55,0.4);
    box-shadow: -10px 0 40px rgba(0,0,0,0.8);
    padding: 40px 30px;
    transition: 0.6s cubic-bezier(.2,.8,.2,1);
    z-index: 10000;
    display: flex;
    flex-direction: column;
}

.cart-drawer.open {
    right: 0;
}

.cart-header h3 {
    font-size: 1.8rem;
    letter-spacing: 2px;
    background: linear-gradient(to right, #fff, #d4af37);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cart-item{
    padding:16px 0;
    border-bottom:1px solid rgba(255,255,255,0.06);
}

.cart-item:hover {
    transform: translateX(5px);
}

/* ================= SUCCESS SCREEN ================= */

.order-success {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 20000;
}

.order-success.active {
    display: flex;
}

.success-box {
    background: #1a1a1a;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid #d4af37;
}
/* ================================================= */
/* ULTRA LUXURY FLOATING ORB SYSTEM                  */
/* ================================================= */

.floating-cart {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 75px;
    height: 75px;
    border-radius: 50%;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.25), rgba(255,255,255,0.05));
    border: 1px solid rgba(212,175,55,0.5);
    box-shadow:
        0 10px 30px rgba(0,0,0,0.6),
        0 0 20px rgba(212,175,55,0.3),
        inset 0 0 15px rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(.2,.8,.2,1);
    z-index: 9999;
}

.floating-cart::before {
    content: "";
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: linear-gradient(45deg, transparent, rgba(212,175,55,0.4), transparent);
    opacity: 0;
    transition: 0.4s ease;
}

.floating-cart:hover {
    transform: translateY(-8px) scale(1.08);
    box-shadow:
        0 15px 40px rgba(0,0,0,0.7),
        0 0 30px rgba(212,175,55,0.6);
}

.floating-cart:hover::before {
    opacity: 1;
}

#floating-count {
    position: absolute;
    top: -8px;
    right: -5px;
    background: linear-gradient(135deg, #d4af37, #f5d76e);
    color: #000;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 20px;
    box-shadow: 0 0 10px rgba(212,175,55,0.5);
}
/* ================================================= */
/* SECTION TEXT ALIGNMENT FIX */
/* ================================================= */

.premium-section {
    padding: 100px 0;
}

.premium-section .container {
    max-width: 1000px;
}

.section-title {
    text-align: center;
    margin-bottom: 25px;
}

.premium-section p {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 20px auto;
    font-size: 1.05rem;
    line-height: 1.8;
    color: #d6d6d6;
}

/* Wholesale section buttons alignment */
.wholesale .btn,
.about .btn,
.contact .btn {
    display: inline-block;   /* 👈 change */
    margin: 30px auto 0 auto;
}
/* ================================================= */
/* ADD TO CART BUTTON – PREMIUM STYLE */
/* ================================================= */

/* Normal State */

.cart-btn {
    background: transparent;
    color: var(--gold-leaf);
    border: 1px solid var(--gold-leaf);
    font-weight: 600;
    transition: all 0.3s ease;
}

/* Hover State */

.cart-btn:hover {
    background: var(--gold-leaf);
    color: #000;
    transform: translateY(-3px);
    box-shadow: 
        0 10px 25px rgba(212,175,55,0.35);
}

/* Click (Active) Effect */

.cart-btn:active {
    transform: scale(0.96);
}
/* =============================================== */
/* PREMIUM NOTIFICATION SYSTEM */
/* =============================================== */

.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: rgba(0,0,0,0.9);
    color: #fff;
    padding: 16px 22px;
    border-radius: 12px;
    font-size: 14px;
    min-width: 260px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
    transform: translateY(30px);
    opacity: 0;
    transition: all .4s ease;
    z-index: 99999;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

.toast.success {
    border-left: 4px solid #2ecc71;
}

.toast.error {
    border-left: 4px solid #e74c3c;
}
/* =============================================== */
/* CART REMOVE BUTTON */
/* =============================================== */

.cart-item button {
    margin-top: 8px;
    padding: 6px 14px;
    background: transparent;
    border: 1px solid #e74c3c;
    color: #e74c3c;
    border-radius: 20px;
    font-size: 12px;
    cursor: pointer;
    transition: all .3s ease;
}

.cart-item button:hover {
    background: #e74c3c;
    color: #fff;
    transform: scale(1.05);
}
.hero-tagline span {
    transition: opacity .4s ease;
}
/* ================================================= */
/* SCROLL REVEAL SYSTEM */
/* ================================================= */

.reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: all 0.9s cubic-bezier(.2,.8,.2,1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delay for children */
.reveal-stagger > * {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.7s ease;
}

.reveal-stagger.active > * {
    opacity: 1;
    transform: translateY(0);
}

.reveal-stagger.active > *:nth-child(1) { transition-delay: .1s; }
.reveal-stagger.active > *:nth-child(2) { transition-delay: .2s; }
.reveal-stagger.active > *:nth-child(3) { transition-delay: .3s; }
.reveal-stagger.active > *:nth-child(4) { transition-delay: .4s; }
.reveal-stagger.active > *:nth-child(5) { transition-delay: .5s; }
/* ================================================= */
/* 3D PRODUCT INTERACTION */
/* ================================================= */

.product-card {
    transform-style: preserve-3d;
    transition: transform 0.2s ease;
}

.product-card.tilt {
    transition: none;
}
/* ================================================= */
/* CINEMATIC DRAWER OVERLAY & PAGE SCALE */
/* ================================================= */

.drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
    z-index: 9998;
}

.drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

body.drawer-open {
    overflow: hidden;
}

body.drawer-open .site-header,
body.drawer-open .premium-section,
body.drawer-open .hero,
body.drawer-open .site-footer {
    transform: scale(0.97);
    transition: transform 0.5s cubic-bezier(.2,.8,.2,1);
}
/* ================================================= */
/* ADD TO CART PARTICLE BURST */
/* ================================================= */

.cart-particle {
    position: fixed;
    width: 8px;
    height: 8px;
    background: var(--gold-leaf);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99999;
    animation: particleBurst 700ms ease-out forwards;
}

@keyframes particleBurst {
    to {
        transform: translate(var(--x), var(--y)) scale(0);
        opacity: 0;
    }
}
/* ================================================= */
/* STEAM ANIMATION */
/* ================================================= */

.product-image-wrapper {
    position: relative;
}

.steam {
    position: absolute;
    top: 0;
    left: 50%;
    width: 60px;
    height: 80px;
    transform: translateX(-50%);
    pointer-events: none;
    overflow: hidden;
}

.steam::before,
.steam::after {
    content: "";
    position: absolute;
    bottom: 0;
    width: 15px;
    height: 60px;
    background: radial-gradient(ellipse at center, rgba(255,255,255,0.5) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0;
    animation: steamRise 6s infinite ease-in-out;
}

.steam::after {
    left: 20px;
    animation-delay: 2s;
}

@keyframes steamRise {
    0% {
        transform: translateY(0) scale(1);
        opacity: 0;
    }
    30% {
        opacity: 0.4;
    }
    100% {
        transform: translateY(-70px) scale(1.4);
        opacity: 0;
    }
}
/* ================================================= */
/* FAKE LIVE PURCHASE NOTIFICATION */
/* ================================================= */

.live-notification {
    position: fixed;
    bottom: 120px;
    left: 30px;
    background: rgba(0,0,0,0.85);
    color: #fff;
    padding: 14px 20px;
    border-radius: 12px;
    font-size: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
    opacity: 0;
    transform: translateY(30px);
    transition: all .5s ease;
    z-index: 8000;
    border-left: 4px solid var(--gold-leaf);
    max-width: 280px;
}

.live-notification.show {
    opacity: 1;
    transform: translateY(0);
}
/* ================================================= */
/* CART BOUNCE ANIMATION */
/* ================================================= */

@keyframes cartBounce {
    0% { transform: scale(1); }
    30% { transform: scale(1.3); }
    60% { transform: scale(0.9); }
    100% { transform: scale(1); }
}

.floating-cart.bounce {
    animation: cartBounce 600ms ease;
}
/* ================================================= */
/* LIQUID GOLD SCROLL PROGRESS */
/* ================================================= */

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    width: 0%;
    background: linear-gradient(90deg, #d4af37, #f5d76e, #d4af37);
    box-shadow: 0 0 10px rgba(212,175,55,0.6);
    z-index: 99999;
    transition: width 0.2s ease;
}
/* ================================================= */
/* STOCK SCARCITY */
/* ================================================= */

.stock-status {
    font-size: 13px;
    color: #ff4d4d;
    margin-top: 6px;
    font-weight: 500;
    animation: stockPulse 1.5s infinite;
}

@keyframes stockPulse {
    0% { opacity: 0.7; }
    50% { opacity: 1; }
    100% { opacity: 0.7; }
}
/* ================================================= */
/* VIEW COUNTER */
/* ================================================= */

.view-counter {
    font-size: 13px;
    color: #bbb;
    margin-top: 4px;
}
/* ===================================== */
/* HERO PARALLAX DEPTH */
/* ===================================== */

.hero {
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 30%, rgba(212,175,55,0.15), transparent 60%);
    transform: translateY(0);
    transition: transform 0.2s ease;
    pointer-events: none;
}
/* ===================================== */
/* TESTIMONIAL SLIDER */
/* ===================================== */

.testimonial-slider {
    position: relative;
    max-width: 700px;
    margin: auto;
}

.testimonial {
    opacity: 0;
    position: absolute;
    transition: opacity 0.6s ease;
    text-align: center;
}

.testimonial.active {
    opacity: 1;
    position: relative;
}
/* ===================================== */
/* FREE DELIVERY BANNER */
/* ===================================== */

.delivery-banner {
    position: fixed;
    bottom: -60px;
    left: 0;
    width: 100%;
    background: linear-gradient(90deg,#d4af37,#f5d76e);
    color: #000;
    text-align: center;
    padding: 15px;
    font-weight: 600;
    transition: bottom 0.5s ease;
    z-index: 9999;
}

.delivery-banner.show {
    bottom: 0;
}
/* ===================================== */
/* WEBGL TEA PARTICLE BACKGROUND */
/* ===================================== */

.tea-particles {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
}

canvas.webgl-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
/* ===================================== */
/* SOFT GLOW OVERLAY */
/* ===================================== */

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(212,175,55,0.08), transparent 70%);
    pointer-events: none;
    z-index: 1;
}
.free-delivery-box{
    margin-bottom:15px;
}

.free-progress-bar{
    width:100%;
    height:8px;
    background:rgba(255,255,255,0.1);
    border-radius:20px;
    overflow:hidden;
    margin-bottom:8px;
}

#free-progress-fill{
    height:100%;
    width:0%;
    background:linear-gradient(90deg,#d4af37,#f5d76e);
    transition:width .4s ease;
}
.qty-control{
    display:flex;
    align-items:center;
    gap:10px;
    margin:8px 0;
}

.qty-control button{
    width:28px;
    height:28px;
    border-radius:50%;
    border:1px solid #d4af37;
    background:transparent;
    color:#d4af37;
    cursor:pointer;
}

.qty-control button:hover{
    background:#d4af37;
    color:#000;
}
.checkout-modal{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.8);
    display:none;
    align-items:center;
    justify-content:center;
    z-index:20000;
}

.checkout-modal.active{
    display:flex;
}

.checkout-box{
    background:#111;
    padding:30px;
    border-radius:20px;
    width:90%;
    max-width:400px;
}

.checkout-box input,
.checkout-box textarea{
    width:100%;
    margin-bottom:12px;
    padding:10px;
}
.hero .hero-description {
    color: #ffffff !important;
}
/* ================= TESTIMONIAL RATING SYSTEM ================= */

.overall-rating{
    text-align:center;
    margin-bottom:40px;
}

.rating-score{
    font-size:3rem;
    font-weight:700;
    color: var(--gold-leaf);
}

.rating-stars{
    font-size:1.5rem;
    color: var(--gold-leaf);
    letter-spacing:4px;
    margin:8px 0;
}

.overall-rating p{
    font-size:14px;
    opacity:.8;
}

.stars{
    font-size:1.2rem;
    color: var(--gold-leaf);
    margin-bottom:10px;
}

.stars span{
    margin-left:10px;
    font-weight:600;
    color:#fff;
}
/* ===== LEFT ALIGNED COMPACT COUNTER ===== */

.order-counter{
    margin-top:30px;
    display:flex;
    align-items:center;
    gap:18px;

    justify-content:flex-start;   /* left side */
    position:relative;
    z-index:5;
}

.counter-box{
    padding:10px 20px;
    border-radius:14px;

    background:rgba(0,0,0,0.6);
    backdrop-filter:blur(10px);
    -webkit-backdrop-filter:blur(10px);

    border:1px solid rgba(212,175,55,0.5);

    box-shadow:
        inset 0 0 15px rgba(0,0,0,0.8),
        0 0 15px rgba(212,175,55,0.2);
}

#order-number{
    font-size:1.8rem;   /* smaller */
    font-weight:700;
    color:#d4af37;
    font-family:'Courier New', monospace;
    letter-spacing:3px;
}

.counter-label{
    font-size:13px;
    letter-spacing:2px;
    text-transform:uppercase;
    color:rgba(255,255,255,0.8);
}
@media (max-width:768px){
    .order-counter{
        justify-content:center;
        flex-direction:column;
        gap:8px;
    }
}
/* ========================================= */
/* GLOBAL RESPONSIVE MASTER FIX */
/* ========================================= */

/* 1️⃣ Prevent any horizontal overflow globally */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

/* 2️⃣ Make all media elements fluid */
img, video, iframe, canvas {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 3️⃣ Universal section spacing scaling */
section,
.premium-section {
    padding-left: 5%;
    padding-right: 5%;
}

/* 4️⃣ Hero height fix for small devices */
@media (max-width: 768px) {
    .hero {
        height: auto;
        padding: 60px 20px 80px 20px;
        text-align: center;
    }

    .hero-content {
        padding: 30px 20px;
    }
}

/* 5️⃣ Grid auto adjustment improvement */
@media (max-width: 992px) {
    .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 600px) {
    .product-grid,
    .why-grid,
    .vm-grid {
        grid-template-columns: 1fr;
    }
}

/* 6️⃣ Navbar container safety */
@media (max-width: 768px) {
    .site-header {
        width: 95%;
        padding: 0.7rem 1.2rem;
    }
}

/* 7️⃣ Cart drawer full width on mobile */
@media (max-width: 768px) {
    .cart-drawer {
        width: 100%;
        right: -100%;
    }

    .cart-drawer.open {
        right: 0;
    }
}

/* 8️⃣ Floating buttons reposition on very small screens */
@media (max-width: 480px) {

    .floating-cart {
        bottom: 60px;
        right: 20px;
        width: 65px;
        height: 65px;
    }

.whatsapp-float {
    position: fixed;
    bottom: 60px;
    left: 25px;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    z-index: 10000;
}
}

/* 9️⃣ Typography auto scaling */
h1 { font-size: clamp(1.8rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.2rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.5rem); }
p  { font-size: clamp(0.95rem, 2.5vw, 1.05rem); }

/* 🔟 Make buttons wrap properly */
.btn-group {
    flex-wrap: wrap;
}

@media (max-width: 500px) {
    .btn-group .btn {
        flex: 100%;
    }
}
.menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(6px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    z-index: 9999;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}
.live-notification {
    pointer-events: none;
}

.toast {
    pointer-events: none;
}
img {
    content-visibility: auto;
}
.hero,
.product-card,
.premium-section,
.whatsapp-float,
.floating-cart {
    will-change: transform;
}
/* ===================================== */
/* CART ITEMS SCROLL FIX */
/* ===================================== */

#cart-items{
    flex: 1;
    overflow-y: auto;
    padding-right: 8px;
    margin-top: 20px;
}

/* Smooth scrollbar */

#cart-items::-webkit-scrollbar{
    width:6px;
}

#cart-items::-webkit-scrollbar-track{
    background: rgba(255,255,255,0.05);
}

#cart-items::-webkit-scrollbar-thumb{
    background: var(--gold-leaf);
    border-radius: 10px;
}
.cart-header{
    flex-shrink:0;
}

#drawer-total{
    margin-top:auto;
    padding-top:15px;
}
/* ===================================== */
/* CHECKOUT HEADER CONTROLS */
/* ===================================== */

.checkout-header{
display:flex;
justify-content:space-between;
align-items:center;
margin-bottom:20px;
}

.checkout-back{
background:none;
border:none;
color:var(--gold-leaf);
font-size:16px;
cursor:pointer;
}

.checkout-close{
background:none;
border:none;
color:#fff;
font-size:22px;
cursor:pointer;
}

.checkout-close:hover{
color:#ff4d4d;
}
/* ===================================== */
/* ORDER SUMMARY */
/* ===================================== */

.order-summary{
background:rgba(0,0,0,0.4);
border:1px solid rgba(212,175,55,0.3);
padding:20px;
border-radius:12px;
margin-bottom:25px;
}

.order-summary h3{
margin-bottom:15px;
}

.summary-item{
display:flex;
justify-content:space-between;
margin-bottom:10px;
font-size:14px;
}

.summary-total{
margin-top:15px;
font-weight:700;
color:var(--gold-leaf);
}