@font-face {
    font-family: 'Playwrite NG Modern';
    src: url('Attachements/static/PlaywriteNGModern-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* ===== GLOBAL RESET & BASE ===== */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth !important;
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

img, video, svg {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===== CUSTOM SCROLLBAR ===== */

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 15px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #3B82F6;
    border-radius: 10px;
    border: 2px solid #f1f1f1;
}

::-webkit-scrollbar-thumb:hover {
    background: #2563EB;
}

@font-face {
    font-family: 'Playwrite NG Modern';
    src: url('Attachements/static/PlaywriteNGModern-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

/* ===== NAV PILL ===== */
.nav-pill {
    z-index: 60 !important;
    background-color: rgba(255,255,255,0.55) !important;
    border: 1px solid rgba(255,255,255,0.6) !important;
    backdrop-filter: blur(28px) !important;
    -webkit-backdrop-filter: blur(28px) !important;
    box-shadow: 0 12px 34px rgba(2,6,23,0.12) !important;
    /* Responsive width clamp */
    width: min(92%, 1100px) !important;
    max-width: 1100px !important;
    padding-left: clamp(1rem, 3vw, 2rem) !important;
    padding-right: clamp(1rem, 3vw, 2rem) !important;
}

/* الهيرو سيكشن */
.hero-section {
    position: relative;
    z-index: 20; /* فوق الوصف */
    min-height: 100vh;
    width: 100% !important;
    background-color: #F9FAFA;
    overflow: hidden;
    overflow-y: visible !important;
}

#nav-contactIcons i:hover {
    color: var(--accent-blue);
    transition: .5s;
}

/* ===== PRODUCT DESCRIPTION SECTION ===== */
#productDescription {
    position: relative;
    z-index: 10;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-inline: clamp(1.25rem, 8vw, 10%);
    background-color: #ffffff;
    margin-top: -100vh;
    overflow: visible !important;
}

/* product description text (styled below again with blue tint) */

/* الزرار - إصلاح الهوفر والظهور */
#exploreBtn {
    all: unset;
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 12px 35px !important;
    border: 2px solid #3B82F6 !important;
    border-radius: 50px !important;
    background-color: #3B82F6 !important;
    color: #ffffff !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-weight: 700 !important;
    font-size: 11px !important;
    letter-spacing: 0.2em !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    pointer-events: auto !important; /* مهم جداً للهوفر */
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease-in-out !important;
    position: relative;
    z-index: 50;
}

#exploreBtn:hover {
    background-color: transparent !important;
    color: #3B82F6 !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.18);
}


#productDescription_txt {
    font-size: clamp(16px, 2.5vw, 20px);
    font-weight: 400;
    line-height: 1.6;
    text-align: justify;
    font-family: 'Playwrite NG Modern', 'Plus Jakarta Sans', sans-serif !important;
    color: rgba(59, 130, 246, 1); 
}

/* كلاس الكلمة الواحدة (مهم جداً لمنع التقطع) */
.word {
    display: inline-block; /* يضمن بقاء الكلمة ككتلة واحدة */
    margin-right: 0.2em;   /* مسافة طبيعية بين الكلمات */
    color: #000000; /* نص افتراضي أسود */
    opacity: 0.7; /* جعل النص بشكل افتراضي نصف شفاف كما طلبت */
    font-family: 'Playwrite NG Modern', 'Plus Jakarta Sans', sans-serif !important;
    font-weight: 400;
    font-style: normal;
}

/* ===== تعديلات طلبتها: تعطيل هوفر على الأعمدة بين أزرار الترجمة ===== */
/* يبقي اللون نفس الحاله بدون أي تغيير عند الهوفر */
/* تعطيل أي تغير لوني/تحويلي عند الهوفر على الأعمدة بين أزرار الترجمة
   وجعل النص فيها غير قابل للاختيار (user-select: none) */
.nav-pill .hidden.md\:flex span,
#sideDrawer .flex.gap-4 span {
    user-select: none !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    cursor: default !important;
}
.nav-pill .hidden.md\:flex span:hover,
.nav-pill .hidden.md\:flex span:focus,
#sideDrawer .flex.gap-4 span:hover,
#sideDrawer .flex.gap-4 span:focus {
    color: inherit !important;
    transform: none !important;
    text-decoration: none !important;
}

/* ===== كلاسات لسهولة تلوين كلمات محددة (طبقها على العناصر التي تحتوي العناوين) ===== */
.highlight-mobile-app { color: var(--accent-blue) !important; opacity: 1 !important; }
.highlight-intelligence { color: #10B981 !important; opacity: 1 !important; }

/* تحديد شفافية كلمات .word داخل وصف المنتج لتكون 0.7 */
#productDescription_txt .word { opacity: 0.3; }

/* حركة السهم */
.arrow-icon {
    font-size: 18px !important;
    transition: transform 0.3s ease !important;
}

#exploreBtn:hover .arrow-icon {
    transform: translateY(3px);
}

/* الألوان والخطوط */
:root {
    --primary-color: #4A7C6F; /* الدرجة الزيتي في الصورة */
    --solar-accent: #F5C344;
    --sensor-accent: #88D3CE;
}

#categoriesWrapper {
    background-color: #ffffff;
    padding-bottom: 8rem;
}

/* ===== GLASS PANEL (EDITION CARDS) ===== */
.glass-panel {
    background: #ffffff;
    border: 2px solid #E5E7EB;
    border-radius: clamp(20px, 4vw, 32px);
    padding: clamp(24px, 5vw, 48px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.03);
    transition: all 0.6s ease;
    opacity: 0.15;
    transform: scale(0.96);
    transform-origin: center;
    width: 100%;
    max-width: 90%;
    margin-inline: auto;
}

.category-trigger.active .glass-panel {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 20px 50px rgba(0,0,0,0.06);
}

.glass-panel:hover {
    border-color: var(--primary-color);
}

/* Edition-specific hover border colors and accents */
.edition-basic .glass-panel:hover {
    border-color: rgba(59, 130, 246, 1);
    box-shadow: 0 20px 50px rgba(59, 130, 246, 0.12);
}
.edition-solar .glass-panel:hover {
    border-color: rgba(245, 195, 68, 1);
    box-shadow: 0 20px 50px rgba(245, 195, 68, 0.12);
}
.edition-sensor .glass-panel:hover {
    border-color: rgba(16, 185, 129, 1);
    box-shadow: 0 20px 50px rgba(16, 185, 129, 0.12);
}

/* Ensure the transition targets border and shadow for a smoother hover */
.glass-panel {
    transition: border-color 0.28s ease, box-shadow 0.28s ease, transform 0.28s ease, opacity 0.28s ease;
}

/* Accent blue utilities for selected elements */
:root {
    --accent-blue: #3B82F6;
}

/* About Us specific button override (hero) */
.accent-blue-btn {
    background-color: var(--accent-blue) !important;
    border-color: var(--accent-blue) !important;
}
.accent-blue-btn:hover { filter: brightness(1.05); }

/* Specifications badge (blue) */
.spec-badge {
    background-color: rgba(59,130,246,0.08) !important;
    color: var(--accent-blue) !important;
    border: 1px solid rgba(59,130,246,0.12);
}

/* Nav pill water drop icon to accent blue */
.nav-pill .material-symbols-outlined {
    color: var(--accent-blue) !important;
}

/* Glance header small dot -> blue */
.glance-hover .pulse-dot {
    background-color: var(--accent-blue) !important;
    box-shadow: 0 0 8px rgba(59,130,246,0.25);
}

#sideDrawer {
    z-index: 80;
}

/* Side drawer: ensure hover and accents are blue */
#sideDrawer a.group:hover, #sideDrawer a.group:focus {
    color: var(--accent-blue) !important;
}
#sideDrawer a.group:hover .material-symbols-outlined, #sideDrawer a.group:focus .material-symbols-outlined {
    color: var(--accent-blue) !important;
}

/* Drawer cart/count bubble override */
#sideDrawer .absolute.bg-primary, #sideDrawer .bg-primary {
    background-color: var(--accent-blue) !important;
    border-color: var(--accent-blue) !important;
}

/* Drawer PRE-ORDER button force-blue */
#sideDrawer button.w-full.py-4, #sideDrawer .w-full.py-4 {
    background-color: var(--accent-blue) !important;
    border-color: var(--accent-blue) !important;
}

/* Nav cart count bubble */
.nav-cart-count {
    background-color: var(--accent-blue) !important;
    box-shadow: 0 6px 14px rgba(59,130,246,0.18);
}

/* Watch video button - hover styles */
.watch-btn .material-symbols-outlined {
    transition: all 0.22s ease;
}
.watch-btn:hover .material-symbols-outlined {
    background-color: var(--accent-blue) !important;
    color: #ffffff !important;
    transform: translateY(2px);
    border-color: var(--accent-blue) !important;
}

/* Drawer icons - normal and hover */
.drawer-icon .material-symbols-outlined { color: inherit; transition: color 0.18s ease, transform 0.18s ease; }
.drawer-icon:hover .material-symbols-outlined { color: var(--accent-blue) !important; transform: translateY(-2px); }

/* Stronger specificity to override any remaining green hover rules in drawer */
#sideDrawer a.drawer-icon:hover .material-symbols-outlined,
#sideDrawer a.drawer-icon:focus .material-symbols-outlined,
#sideDrawer .drawer-icon:hover .material-symbols-outlined {
    color: var(--accent-blue) !important;
}

/* Drawer PRE-ORDER smooth hover */
.drawer-preorder { 
    transition: transform 0.32s cubic-bezier(.2,.9,.3,1), box-shadow 0.32s ease, background-color 0.24s ease; 
    padding: 18px 28px !important;
    font-size: 13px !important;
    letter-spacing: 0.15em !important;
    border-radius: 50px !important;
    width: 100% !important;
    height: auto !important;
    min-height: 50px !important;
}
.drawer-preorder:hover { 
    transform: translateY(-4px); 
    box-shadow: 0 22px 54px rgba(59,130,246,0.18); 
    background-color: #256EE8 !important; 
}

/* Also make the drawer PRE-ORDER transition a bit stronger when focused/active */
.drawer-preorder:active,
.drawer-preorder:focus {
    transform: translateY(-2px) scale(0.997);
    box-shadow: 0 14px 38px rgba(59,130,246,0.14);
}

/* Drawer cart hover and language hover */
#sideDrawer .cart-bounce-hover:hover { border-color: var(--accent-blue) !important; }
#sideDrawer .cart-bounce-hover:hover .material-symbols-outlined { color: var(--accent-blue) !important; }
/* language links inside drawer */
#sideDrawer .flex.gap-4 span { transition: color 0.18s ease; }
#sideDrawer .flex.gap-4 span:hover, #sideDrawer .flex.gap-4 span:focus { color: var(--accent-blue) !important; }

/* Nav pill language buttons (top-right) - stronger specificity */
.nav-pill .hidden.md\:flex .hover\:text-primary:hover,
.nav-pill .hidden.md\:flex span:hover,
.nav-pill .hidden.md\:flex span:focus {
    color: var(--accent-blue) !important;
}

/* Explore button already has id; ensure hover uses accent blue */
#exploreBtn:hover {
    background-color: transparent !important;
    color: var(--accent-blue) !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(59,130,246,0.18);
}

/* Side drawer: make primary-colored items use the blue accent inside drawer */
#sideDrawer .text-primary { color: var(--accent-blue) !important; }
#sideDrawer .bg-primary { background-color: var(--accent-blue) !important; border-color: var(--accent-blue) !important; }
#sideDrawer .material-symbols-outlined { color: var(--accent-blue) !important; }
#sideDrawer .group:hover .material-symbols-outlined { color: var(--accent-blue) !important; }

/* Pre-order button inside drawer should also be blue */
#sideDrawer button.w-full.py-4 { background-color: var(--accent-blue) !important; border-color: var(--accent-blue) !important; }

/* الجزء الثابت */
.sticky-render {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Shake animation for product images */
@keyframes shake {
    0% { transform: translateX(0) rotate(0deg); }
    20% { transform: translateX(-8px) rotate(-4deg); }
    40% { transform: translateX(8px) rotate(4deg); }
    60% { transform: translateX(-8px) rotate(-4deg); }
    80% { transform: translateX(8px) rotate(4deg); }
    100% { transform: translateX(0) rotate(0deg); }
}

.shake {
    animation: shake 0.6s cubic-bezier(0.36, 0, 0.66, -0.56) forwards;
}

/* زرار PRE-ORDER NOW */
.pre-order-btn {
    background-color: #333;
    color: white;
    width: 100%;
    margin-inline: auto;
    padding: 20px;
    border-radius: 4px; /* زوايا حادة شوية زي الصورة */
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.pre-order-btn:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
}

/* Edition-specific button colors */
.edition-basic .pre-order-btn {
    background-color: rgba(59, 130, 246, 1) !important;
}

.edition-solar .pre-order-btn {
    background-color: rgba(245, 195, 68, 1) !important;
    color: #111827 !important;
}

.edition-sensor .pre-order-btn {
    background-color: rgba(16, 185, 129, 1) !important;
}

/* ستايل كروت المميزات */
.glass-feature {
    background: rgba(255, 255, 255, 0.8);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(229, 231, 235, 0.5);
}

.dark .glass-feature {
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* أنيميشن بسيط عند ظهور السيكشن */
    @layer utilities {
        .glass {
            background: rgba(255, 255, 255, 0.7);
            -webkit-backdrop-filter: blur(12px);
            backdrop-filter: blur(12px);
            border: 1px solid rgba(255, 255, 255, 0.3);
        }
        .dark .glass {
            background: rgba(30, 41, 59, 0.7);
            border: 1px solid rgba(255, 255, 255, 0.1);
        }
        .wave-animation { animation: wave-move 2s linear infinite; }
        .wave-animation-slow { animation: wave-move 3s linear infinite; }
        .wave-animation-reverse { animation: wave-move-reverse 2.5s linear infinite; }
        .pulsing-green-glow { animation: pulse-green 2s ease-in-out infinite; }
        .animate-data-stream { animation: data-stream 2s linear infinite; }
        .animate-ripple { animation: ripple 3s infinite; }
        
        .confetti-particle {
            position: absolute;
            width: 6px;
            height: 6px;
            border-radius: 2px;
            animation: confetti-burst 4s ease-out infinite;
            opacity: 0;
        }
    }

    @keyframes confetti-burst {
        0% { transform: translate(0, 0) rotate(0); opacity: 0; }
        10% { opacity: 1; }
        40% { opacity: 1; }
        100% { transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(45deg); opacity: 0; }
    }

    @keyframes data-stream {
        0% { transform: translateX(-100%); opacity: 0; }
        50% { opacity: 1; }
        100% { transform: translateX(100%); opacity: 0; }
    }

    @keyframes wave-move {
        0% { transform: translateX(-50%) translateY(0); }
        50% { transform: translateX(-25%) translateY(-2%); }
        100% { transform: translateX(-50%) translateY(0); }
    }

    @keyframes wave-move-reverse {
        0% { transform: translateX(0%); }
        50% { transform: translateX(-25%) translateY(2%); }
        100% { transform: translateX(0%); }
    }

    @keyframes pulse-green {
        0%, 100% { transform: scale(1); filter: drop-shadow(0 0 2px rgba(16, 185, 129, 0.6)); }
          50% { transform: scale(1.1); filter: drop-shadow(0 0 8px rgba(59, 130, 246, 0.9)); }
    }

    @keyframes ripple {
        0% { transform: scale(0.8); opacity: 0.5; }
        100% { transform: scale(2); opacity: 0; }
    }

    @layer utilities {
        /* تأثير الصندوق الغاطس */
        .recessed {
            background: #f1f5f9;
            box-shadow: inset 2px 2px 10px rgba(0,0,0,0.02), 
                        inset -2px -2px 10px rgba(255,255,255,0.8);
        }
        
        /* تحسينات الأزرار للحركة */
        button {
            transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
        }
    }

    @layer utilities {
        /* أساس النيون */
        .neon-border {
            position: relative;
            z-index: 0;
            overflow: hidden;
        }

        /* الطبقة اللي بتلف (نفس تأثير الكود اللي عجبك) */
        .neon-border::before {
            content: '';
            position: absolute;
            z-index: -1;
            /* توسيع الخلفية عشان الدوران يغطي الحواف */
            top: -150%; 
            left: -150%;
            width: 400%;
            height: 400%;
            /* التدرج اللوني اللي بيخلق تأثير "الخيط اللي بيلف" */
            background: conic-gradient(
                transparent, 
                #3B82F6, 
                #A855F7, 
                #10b981, 
                transparent 25%
            );
            animation: rotate-neon 4s linear infinite;
        }
    }

    /* أنيميشن الدوران السلس */
    @keyframes rotate-neon {
        0% { transform: rotate(0deg); }
        100% { transform: rotate(360deg); }
    }


            /* إضافة ستايل الأنيميشن للزراير ولون الخلفية */
        .hero-gradient { 
            background: radial-gradient(circle at top right, #3b82f6 0%, #1e40af 40%, #0f172a 100%);
            background-attachment: fixed;
            background-size: cover;
        }

        .bottle-float { animation: float 6s ease-in-out infinite; }
        @keyframes float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-20px) rotate(2deg); } }

        .bluetooth-badge {
            background: #2563eb;
            box-shadow: 0 0 15px rgba(37, 99, 235, 0.7);
            animation: pulse-glow 2s infinite;
        }
        @keyframes pulse-glow {
            0%, 100% { transform: scale(1); box-shadow: 0 0 10px rgba(37, 99, 235, 0.6); }
              50% { transform: scale(1.1); box-shadow: 0 0 25px rgba(59, 130, 246, 0.9); }
        }

        /* تأثير الترانزيشن على الزراير */
        .btn-premium {
            position: relative;
            background: rgba(255, 255, 255, 0.08);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.15);
            overflow: hidden;
            transition: all 0.3s ease;
        }
        .btn-premium::before {
            content: '';
            position: absolute;
            top: 0; left: -100%;
            width: 100%; height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
            transition: 0.5s;
        }
        .btn-premium:hover::before { left: 100%; }
        .btn-premium:hover {
            background: rgba(255, 255, 255, 0.15);
            border-color: rgba(255, 255, 255, 0.3);
            transform: translateY(-3px);
        }

        /* إضافة ستايل الأنيميشن للزراير ولون الخلفية */
        .hero-gradient { 
            background: radial-gradient(circle at top right, #3b82f6 0%, #1e40af 40%, #0f172a 100%);
            background-attachment: fixed;
            background-size: cover;
        }

        .bottle-float { animation: float 6s ease-in-out infinite; }
        @keyframes float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-20px) rotate(2deg); } }

        .bluetooth-badge {
            background: #2563eb;
            box-shadow: 0 0 15px rgba(37, 99, 235, 0.7);
            animation: pulse-glow 2s infinite;
        }
        @keyframes pulse-glow {
            0%, 100% { transform: scale(1); box-shadow: 0 0 10px rgba(37, 99, 235, 0.6); }
            50% { transform: scale(1.1); box-shadow: 0 0 25px rgba(37, 99, 235, 0.9); }
        }

        /* تأثير الترانزيشن على الزراير */
        .btn-premium {
            position: relative;
            background: rgba(255, 255, 255, 0.08);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.15);
            overflow: hidden;
            transition: all 0.3s ease;
        }
        .btn-premium::before {
            content: '';
            position: absolute;
            top: 0; left: -100%;
            width: 100%; height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
            transition: 0.5s;
        }
        .btn-premium:hover::before { left: 100%; }
        .btn-premium:hover {
            background: rgba(255, 255, 255, 0.15);
            border-color: rgba(255, 255, 255, 0.3);
            transform: translateY(-3px);
        }

        .hero-gradient { 
            background: radial-gradient(circle at top right, #3b82f6 0%, #1e40af 40%, #0f172a 100%);
            margin-bottom: 0 !important;
        }
        
        .bottle-float { animation: float 6s ease-in-out infinite; }
        @keyframes float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-20px) rotate(2deg); } }
        
        /* Bluetooth Pulse */
        .bluetooth-badge {
            background: #2563eb;
            box-shadow: 0 0 15px rgba(37, 99, 235, 0.7);
            animation: pulse-glow 2s infinite;
        }
        @keyframes pulse-glow {
            0%, 100% { transform: scale(1); box-shadow: 0 0 10px rgba(37, 99, 235, 0.6); }
            50% { transform: scale(1.1); box-shadow: 0 0 25px rgba(37, 99, 235, 0.9); }
        }

        /* Feature Hover Transition */
        .feature-item { transition: all 0.4s ease; cursor: pointer; }
        .feature-item span { transition: all 0.4s ease; }
        .check-box { 
            background: rgba(255, 255, 255, 0.1); 
            border: 1px solid rgba(255, 255, 255, 0.2);
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }
        .feature-item:hover span { color: #ffffff !important; transform: translateX(10px); }
        .feature-item:hover .check-box { 
            background: #3b82f6; 
            border-color: #60a5fa;
            box-shadow: 0 0 20px rgba(59, 130, 246, 0.8);
            transform: scale(1.2);
        }

        /* Clean Store Buttons */
        .store-btn {
            background: rgba(255, 255, 255, 0.05);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            transition: all 0.3s ease;
        }
        .store-btn:hover {
            background: rgba(255, 255, 255, 0.15);
            transform: translateY(-5px);
            border-color: rgba(255, 255, 255, 0.3);
        }

        .feature-card { min-width: 380px; height: 550px; flex-shrink: 0; }
        .wave-container { position: absolute; bottom: -6px; left: 0; width: 100%; height: 120px; line-height: 0; z-index: 20; overflow: hidden; transform: scaleY(1.05); transform-origin: bottom; }
        
        .animate-wave-slide-1 {
            display: block;
            width: 100%;
            height: 100%;
            will-change: transform;
            transform: translate3d(0, 0, 0);
        }

        @keyframes wave-slide {
            0% { transform: translateX(0); }
            100% { transform: translateX(0); }
        }

        /* Video Overlay */
        #videoOverlay.active {
            background-color: rgba(0, 0, 0, 0); /* Pure transparency */
            -webkit-backdrop-filter: blur(100px);
            backdrop-filter: blur(100px);
            opacity: 1;
            pointer-events: auto;
        }
        
        body.video-active {
            overflow: hidden;
        }

        .close-video-btn {
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }

        .close-video-btn:hover {
            transform: rotate(90deg) scale(1.1);
            background-color: #ef4444 !important;
        }

        @media (max-width: 768px) {
            .wave-container {
                height: 75px !important;
                bottom: -1px !important;
            }
            .wave-container svg {
                height: 100% !important;
                width: 100% !important;
                animation: none !important;
            }
            .scroll-indicator {
                display: none !important;
            }
    
    /* تكبير النص على الموبايل */
    #productDescription_txt {
        font-size: clamp(16px, 4vw, 20px) !important;
    }
                min-height: 100svh !important;
                height: 100svh !important;
                display: flex !important;
                flex-direction: column !important;
                align-items: center !important;
                justify-content: center !important;
                padding-top: 80px !important;
                padding-bottom: 20px !important;
                overflow: hidden !important;
            }

            /* #productDescription styles are now handled at max-width: 485px breakpoint */
            #productDescription_txt { font-size: clamp(0.9rem, 2.5vw, 1.1rem) !important; line-height: 1.7; }
            #exploreBtn { padding: 10px 25px !important; font-size: 10px !important; }

            /* Center edition description panels */
            .glass-panel { width: 95% !important; margin-inline: auto !important; margin-bottom: 2rem !important; }
            .edition-sensor, .edition-solar, .edition-standard { display: flex !important; flex-direction: column !important; align-items: center !important; }

            /* Feature cards at tablet — sized via clamp in main rules */
            .feature-card {
                min-width: clamp(260px, 72vw, 380px) !important;
                width: clamp(260px, 72vw, 380px) !important;
                height: auto !important;
                min-height: 380px !important;
                padding: 1.75rem !important;
                border-radius: 2.5rem !important;
            }
        }


    #features-container {
        background-color: #ffffff;
        margin-top: 0 !important;
        scroll-margin-top: 110px;
    }
    @media (max-width: 768px) {
        #features-container {
            scroll-margin-top: 80px;
        }
    }

    .horizontal-wrapper {
        display: flex;
        flex-nowrap: nowrap;
        gap: 0; /* Margin on cards will handle spacing */
    }

    .feature-card {
        min-width: clamp(260px, 75vw, 420px);
        width: clamp(260px, 75vw, 420px);
        height: auto;
        min-height: 420px;
        margin-inline: clamp(12px, 3vw, 40px) !important;
        flex-shrink: 0;
        display: flex;
        flex-direction: column;
        transition: transform 0.3s ease;
    }

    .feature-card p {
        max-width: 340px;
        line-height: 1.6;
        word-wrap: break-word;
        white-space: normal;
    }

    .card-number {
        font-size: 6rem;
        line-height: 1;
        pointer-events: none;
        -webkit-user-select: none;
        user-select: none;
        transition: color 0.3s ease;
        opacity: 0;
        will-change: transform, opacity;
    }

    .category-trigger.active {
        color: #4A7C6F;
        transition: all 0.4s ease;
    }
    #categoryGlow {
        pointer-events: none;
    }

    #bottleGlow {
    pointer-events: none; /* عشان ما يغطيش على الصورة أو الزراير */
    z-index: 1;
}
#dynamic-image {
    z-index: 10; /* الصورة تكون دايماً فوق التوهج */
}

/* Left categories glow - mirror hero glow behavior */
#categoriesBottleGlow {
    pointer-events: none;
    z-index: 1;
    transition: background-color 0.8s ease, opacity 0.6s ease, transform 0.6s ease;
}


/* التنسيق الأساسي للايقونة */
.social-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: #ffffff; /* خلفية بيضاء في العادي */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b; /* لون رمادي هادي */
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

/* التوافق مع الـ Dark Mode */
.dark .social-icon {
    background: #1e293b;
    color: #94a3b8;
}

/* هوفر فيسبوك - أزرق براند */
.social-icon.fb:hover {
    background-color: #1877F2 !important;
    color: white !important;
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(24, 119, 242, 0.4);
}

/* هوفر انستجرام - التدرج اللوني الشهير */
.social-icon.ig:hover {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%) !important;
    color: white !important;
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(214, 36, 159, 0.4);
}

/* تأثير ضغطة الزر */
.social-icon:active {
    transform: scale(0.9);
}

.gradient-footer {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 50%, #1d4ed8 100%);
    border-radius: 60px 60px 0 0;
    overflow: hidden;
    position: relative;
    z-index: 10;
}
    
    .column-title {
        color: white;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.2em;
        font-size: 11px;
        margin-bottom: 2rem;
        opacity: 0.9;
    }

    .footer-link {
        color: rgba(239, 246, 255, 0.7);
        transition: all 0.3s ease;
        text-decoration: none;
        display: inline-block;
    }

    .footer-link:hover {
        color: white;
        transform: translateX(5px);
    }

    .integrated-input-wrapper {
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(12px);
        border: 1px solid rgba(255, 255, 255, 0.2);
        transition: all 0.3s ease;
    }

.newsletter-input {
        background: transparent !important;
        border: none !important;
        outline: none !important;
        box-shadow: none !important;
        color: white;
        padding: 0 1rem;
        width: 100%;
    }

    .newsletter-input::placeholder {
        color: rgba(239, 246, 255, 0.4);
    }

    .subscribe-btn {
        background: white;
        color: #2563eb;
        padding: 0.6rem 1.5rem;
        border-radius: 14px;
        font-weight: 700;
        font-size: 0.75rem;
        text-transform: uppercase;
        border: none;
        transition: all 0.3s ease;
    }

    .subscribe-btn:hover {
        transform: scale(1.1);
    }

/* Modern primary button used across header and drawer */
.btn-modern {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 30px;
    background: linear-gradient(90deg, #3B82F6 0%, #2563EB 100%);
    color: #ffffff;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: 0;
    cursor: pointer;
    transition: transform 0.4s ease, box-shadow 0.4s ease, opacity 0.4s ease;
    box-shadow: 0 10px 30px rgba(59,130,246,0.18);
}
.btn-modern:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(59,130,246,0.22); }
.btn-modern:active { transform: translateY(-1px) scale(0.995); }

/* Full-width variant for drawer */
.btn-modern.full { display: inline-flex; width: 100%; padding: 14px; border-radius: 12px; }

/* Subtle ghost variant (if needed) */
.btn-modern.ghost {
    background: transparent;
    color: var(--accent-blue);
    border: 1px solid rgba(59,130,246,0.12);
    backdrop-filter: blur(6px);
}

    .newsletter-note {
        margin-top: 1rem;
        font-size: 10px;
        color: rgba(239, 246, 255, 0.4); /* لون فاتح شيك */
        text-transform: uppercase;
        letter-spacing: 0.1em;
    }

    .social-icon-link {
        color: rgba(255, 255, 255, 0.6);
        transition: all 0.4s ease;
    }

    .social-icon-link:hover {
        color: white;
        transform: translateY(-4px);
    }

    html {
        scroll-behavior: auto;
    }

#features {
    overflow: hidden;
}

/* ===============================================================
   FEATURES SECTION CAROUSEL — HEADER & ARROW BUTTONS
   =============================================================== */
.features-header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.25rem;
}

.features-heading-wrap {
    min-width: 0;
    flex: 1 1 auto;
}

.features-heading {
    font-size: clamp(1.75rem, 5vw, 3.75rem);
    line-height: 1.1;
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.features-arrows {
    display: flex;
    flex-shrink: 0;
    gap: 0.75rem;
    align-items: center;
    align-self: flex-end;
    padding-bottom: 0.25rem;
}

.carousel-arrow-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: clamp(40px, 8vw, 56px);
    height: clamp(40px, 8vw, 56px);
    min-width: 40px;
    min-height: 40px;
    border-radius: 50%;
    border: 1.5px solid #e2e8f0;
    background: #fff;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    color: #1e293b;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    position: relative;
    overflow: hidden;
}

.carousel-arrow-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: #3b82f6;
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 0;
}

.carousel-arrow-btn:hover::before {
    transform: scale(1);
}

.carousel-arrow-btn .material-symbols-outlined {
    position: relative;
    z-index: 1;
    font-size: clamp(18px, 3vw, 24px);
    transition: color 0.25s ease;
}

.carousel-arrow-btn:hover .material-symbols-outlined {
    color: #ffffff;
}

.carousel-arrow-btn:hover {
    border-color: #3b82f6;
    box-shadow: 0 8px 24px rgba(59,130,246,0.25);
    transform: translateY(-2px);
}

.carousel-arrow-btn:active {
    transform: scale(0.95) translateY(0);
    box-shadow: 0 4px 12px rgba(59,130,246,0.2);
}

/* ===============================================================
   SCROLL INDICATOR
   =============================================================== */
.scroll-indicator {
    position: absolute;
    bottom: clamp(1.25rem, 4vh, 2.5rem);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    z-index: 30;
    pointer-events: none;
    animation: scrollIndicatorAppear 1s ease 2.5s both;
}

.scroll-indicator-inner {
    width: 1.5px;
    height: clamp(40px, 6vh, 60px);
    background: rgba(74, 124, 111, 0.15);
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.scroll-indicator-line {
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, #3B82F6 50%, transparent 100%);
    border-radius: 2px;
    animation: scrollLinePulse 1.8s cubic-bezier(0.45, 0, 0.55, 1) 2.5s infinite;
}

.scroll-indicator-label {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: rgba(45, 52, 54, 0.4);
    font-family: 'Plus Jakarta Sans', sans-serif;
}

@keyframes scrollIndicatorAppear {
    from { opacity: 0; transform: translateX(-50%) translateY(10px); }
    to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

@keyframes scrollLinePulse {
    0%   { top: -100%; opacity: 1; }
    80%  { top: 100%;  opacity: 1; }
    100% { top: 100%;  opacity: 0; }
}

/* ===============================================================
   GLOBAL FOCUS STYLES (Accessibility)
   =============================================================== */
:focus-visible {
    outline: 2px solid #3B82F6;
    outline-offset: 3px;
    border-radius: 4px;
}

/* ===============================================================
   TOUCH-FRIENDLY BUTTON TARGETS
   =============================================================== */
button, a, [role="button"] {
    min-height: 44px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

/* Exception for decorative small elements */
.pulse-dot, .w-2, .w-2\.5 {
    min-height: unset;
}

/* ===============================================================
   REDUCED MOTION SUPPORT
   =============================================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .scroll-indicator,
    .scroll-indicator-line {
        animation: none !important;
    }
}

/* ===============================================================
   RESPONSIVE TYPOGRAPHY — clamp() system
   =============================================================== */
/* Hero headings */
.hero-section h2 {
    font-size: clamp(2rem, 6.5vw, 5.375rem) !important;
    line-height: 1.05 !important;
    word-break: break-word;
    overflow-wrap: break-word;
}

/* Category/edition headings */
.category-trigger h2 {
    font-size: clamp(1.75rem, 5vw, 3.75rem) !important;
    line-height: 1.1;
}

/* Features section heading */
#features h2 {
    font-size: clamp(1.5rem, 4vw, 3.75rem) !important;
}

/* Contact section headings */
.contact-section h2 {
    font-size: clamp(1.75rem, 4.5vw, 3.125rem) !important;
}

/* App promo section heading */
.hero-gradient h1 {
    font-size: clamp(2rem, 6vw, 4.375rem) !important;
    line-height: 1.1 !important;
    word-break: break-word;
}

/* ===============================================================
   EDITIONS LIST — Spacing & Reveal Animation
   =============================================================== */
.editions-list {
    display: flex;
    flex-direction: column;
    gap: clamp(60px, 15vh, 100px);
}

#editions-info {
    padding-bottom: clamp(80px, 20vh, 150px);
}

#categoriesWrapper, #productDescription, #features, #contact {
    scroll-margin-top: 120px;
}

.category-trigger {
    opacity: 1;
}

.category-trigger .edition-image-box {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s cubic-bezier(0.215, 0.61, 0.355, 1), transform 1s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.category-trigger .glass-panel {
    opacity: 0;
    transform: scale(0.96) translateY(30px);
    transition: opacity 1s cubic-bezier(0.215, 0.61, 0.355, 1), transform 1s cubic-bezier(0.215, 0.61, 0.355, 1), border-color 0.6s ease, box-shadow 0.6s ease;
}

.category-trigger.revealed .edition-image-box {
    opacity: 1;
    transform: translateY(0);
}

.category-trigger.revealed .glass-panel {
    opacity: 0.15;
    transform: scale(0.96) translateY(0);
}

.category-trigger.revealed.active .glass-panel {
    opacity: 1;
    transform: scale(1) translateY(0);
}

@media (min-width: 1024px) {
    .category-trigger .edition-image-box {
        transform: translateX(-40px);
    }
    .category-trigger .glass-panel {
        transform: scale(0.96) translateX(40px);
    }
    .category-trigger.revealed .edition-image-box {
        transform: translateX(0);
    }
    .category-trigger.revealed .glass-panel {
        transform: scale(0.96) translateX(0);
    }
    .category-trigger.revealed.active .glass-panel {
        transform: scale(1) translateX(0);
    }
}

/* ===============================================================
   CATEGORIES WRAPPER — Mobile Stack Layout
   =============================================================== */
@media (max-width: 1023px) {
    /* Hide editions labels/thumbnails and main bottle image in hero when they stack below */
    .hero-section #categoryLabel,
    .hero-section .thumb-btn,
    .hero-section .flex.gap-4.p-2.bg-white\/20,
    .hero-section .flex.flex-col.items-center.gap-4,
    .hero-section .w-full.lg\:w-1\/2:last-child {
        display: none !important;
    }

    #categoriesBottleGlow {
        display: none !important;
        opacity: 0 !important;
    }

    .hero-section {
        min-height: 100svh !important;
        height: 100svh !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        justify-content: center !important;
        padding-top: 80px !important;
        padding-bottom: 20px !important;
        overflow: hidden !important;
    }

    .hero-section > div {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        justify-content: center !important;
        text-align: left !important;
        height: 100% !important;
        width: 100% !important;
        padding-inline: 1.5rem !important;
    }

    .hero-section .w-full.lg\:w-1\/2 {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        justify-content: center !important;
        text-align: left !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .hero-section p {
        margin-inline: 0 !important;
        text-align: left !important;
        font-size: 1.125rem !important;
        max-width: 100% !important;
        line-height: 1.6 !important;
    }

    .hero-section .flex.flex-wrap.items-center.gap-8 {
        justify-content: flex-start !important;
        margin-top: 1.5rem !important;
        width: 100% !important;
    }

    /* Make bottle image container fit nicely in the 100svh layout */
    .hero-section .relative.w-full.aspect-square {
        max-height: 35vh !important;
        aspect-ratio: auto !important;
        margin-top: 0.5rem !important;
    }

    .hero-section img#mainBottle {
        height: 100% !important;
        max-height: 32vh !important;
        object-fit: contain !important;
    }

    #categoriesWrapper .flex.flex-col.lg\:flex-row {
        flex-direction: column !important;
    }
    #categoriesWrapper .w-full.lg\:w-1\/2:first-child {
        position: relative !important;
        height: auto !important;
        min-height: 320px;
        width: 100% !important;
    }
    #categoriesWrapper .sticky {
        position: relative !important;
        height: auto !important;
        padding: 2rem 1rem;
    }
    #categoriesWrapper .relative.w-full.max-w-\[450px\] {
        max-width: 280px !important;
        margin-inline: auto;
    }
    #editions-info .space-y-\[60vh\] {
        --tw-space-y-reverse: 0;
        margin-top: 3rem !important;
        margin-bottom: 0 !important;
    }
}

/* ===============================================================
   FEATURES SPECS GRID — Mobile Fix
   =============================================================== */
#features .max-w-6xl {
    max-width: 100%;
}

@media (max-width: 767px) {
    #features > .grid {
        grid-template-columns: 1fr !important;
        auto-rows: auto !important;
    }
    #features .md\:col-span-4,
    #features .md\:col-span-3,
    #features .md\:col-span-5,
    #features .md\:col-span-12 {
        grid-column: span 1 !important;
    }
    #features .md\:row-span-2 {
        grid-row: span 1 !important;
    }
    #features .auto-rows-\[220px\] {
        grid-auto-rows: auto !important;
    }
    .pre-order-btn {
        padding: 14px 16px;
        font-size: 11px;
    }
    .glass-panel {
        padding: clamp(20px, 5vw, 36px);
    }
}

/* ===============================================================
   APP PROMO SECTION (hero-gradient) — Responsive
   =============================================================== */
.hero-gradient .max-w-7xl {
    padding-inline: clamp(1rem, 4vw, 1.5rem);
}

@media (max-width: 767px) {
    .hero-gradient .grid {
        grid-template-columns: 1fr !important;
    }
    .hero-gradient .pb-32 {
        padding-bottom: clamp(5rem, 12vw, 8rem) !important;
    }
    .hero-gradient .max-w-\[220px\] {
        max-width: clamp(140px, 45vw, 200px) !important;
    }
    .btn-premium:not(.store-btn-item) {
        flex: 1 1 auto;
        justify-content: center;
    }
    .hero-gradient .flex.flex-wrap.gap-4:not(.store-btns-wrapper) {
        width: 100%;
    }
}

/* ===============================================================
   CONTACT SECTION — Responsive
   =============================================================== */
.contact-section {
    padding-inline: clamp(1rem, 4vw, 3rem);
}

.contact-section .max-w-7xl {
    max-width: 100%;
}

.contact-input {
    min-width: 0;
    width: 100%;
}

/* ===============================================================
   FOOTER — Responsive
   =============================================================== */
.gradient-footer {
    padding-inline: clamp(1rem, 4vw, 6rem);
}

@media (max-width: 767px) {
    .gradient-footer {
        border-radius: 40px 40px 0 0;
    }
    .gradient-footer .grid {
        gap: 2.5rem !important;
    }
    .integrated-input-wrapper {
        flex-direction: column;
        gap: 0.75rem;
        padding: 0.75rem;
    }
    .newsletter-input {
        padding: 0.5rem 0;
        width: 100%;
    }
    .subscribe-btn {
        width: 100%;
        padding: 0.75rem;
    }
}

/* ===============================================================
   HORIZONTAL WRAPPER — prevent overflow & Mobile Horizontal Lock
   =============================================================== */
.horizontal-wrapper {
    /* Overflow hidden on the section to clip scrolled cards */
    /* Individual cards sized via clamp, gap removed for smooth scroll */
    overflow: hidden !important;
}

/* Mobile App Features — Lock vertical scroll at section start */
@media (max-width: 767px) {
    #features-container {
        overflow: hidden;
    }
    
    .horizontal-wrapper {
        overflow: hidden !important;
        width: 100%;
    }
    
    .feature-card {
        min-width: clamp(280px, 85vw, 420px) !important;
        width: clamp(280px, 85vw, 420px) !important;
    }
}

/* ===============================================================
   BREAKPOINT: 480px
   =============================================================== */
@media (max-width: 480px) {
    /* NAV PILL */
    .nav-pill {
        width: 94% !important;
        padding-left: 0.875rem !important;
        padding-right: 0.875rem !important;
        top: 1rem !important;
    }
    h1.font-modern {
        font-size: 11px;
        letter-spacing: 0.15em;
    }

    /* HERO */
    .hero-section {
        padding-top: 4.5rem;
    }
    .hero-section h2 {
        font-size: clamp(2.25rem, 10vw, 3rem) !important;
    }
    .hero-section p {
        font-size: 1.1rem !important;
    }

    /* THUMBNAIL BUTTONS */
    .thumb-btn {
        width: 2.5rem !important;
        height: 2.5rem !important;
    }

    /* FEATURES CAROUSEL ARROWS */
    .features-arrows {
        gap: 0.5rem;
    }
    .carousel-arrow-btn {
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        min-height: 40px !important;
    }
    .carousel-arrow-btn .material-symbols-outlined {
        font-size: 18px !important;
    }

    /* FEATURE CARDS */
    .feature-card {
        min-width: clamp(240px, 82vw, 320px) !important;
        width: clamp(240px, 82vw, 320px) !important;
        min-height: 360px !important;
        padding: 1.5rem !important;
        border-radius: 2rem !important;
    }
    .feature-card h3 {
        font-size: 1.375rem !important;
    }
    .feature-card p {
        font-size: 0.9375rem !important;
        max-width: 100% !important;
    }
    .card-number {
        font-size: 4rem;
    }

    /* SPECS GRID CARDS */
    #features .rounded-3xl {
        padding: 1.25rem !important;
    }
    #features .rounded-\[3rem\] {
        padding: 1.25rem !important;
        border-radius: 1.5rem !important;
    }

    /* EDITION SECTION CARD HEADINGS */
    .category-trigger h2 {
        font-size: clamp(1.75rem, 8vw, 2.5rem) !important;
    }
    .category-trigger p {
        font-size: 0.9375rem !important;
    }

    /* CONTACT */
    .contact-section {
        padding-inline: 1rem;
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    /* FOOTER */
    .gradient-footer {
        border-radius: 32px 32px 0 0;
        padding-inline: 1.25rem;
    }
}

/* ===============================================================
   BREAKPOINT: 390px
   =============================================================== */
@media (max-width: 390px) {
    .hero-section h2 {
        font-size: clamp(2.1rem, 9.5vw, 2.75rem) !important;
    }
    .feature-card {
        min-width: clamp(230px, 85vw, 300px) !important;
        width: clamp(230px, 85vw, 300px) !important;
    }
    .glass-panel {
        border-radius: 20px;
        padding: 1.25rem;
    }
    .glass-panel ul li {
        font-size: 0.875rem;
    }
    .pre-order-btn {
        padding: 12px 14px;
        font-size: 10px;
        letter-spacing: 1.5px;
    }
    /* Nav pill logo text smaller */
    .nav-pill h1 {
        font-size: 10px;
        letter-spacing: 0.12em;
    }
    /* Explorer button */
    #exploreBtn {
        padding: 10px 20px !important;
        font-size: 9px !important;
    }
}

/* ===============================================================
   BREAKPOINT: 320px
   =============================================================== */
@media (max-width: 320px) {
    /* Nav */
    .nav-pill {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }
    .nav-pill h1 {
        font-size: 9px;
        letter-spacing: 0.1em;
    }

    /* Hero */
    .hero-section h2 {
        font-size: clamp(1.4rem, 9vw, 2rem) !important;
    }
    .hero-section p {
        font-size: 0.875rem !important;
    }
    .btn-modern {
        padding: 12px 20px;
        font-size: 11px;
    }
    .watch-btn span:last-child {
        font-size: 9px;
        letter-spacing: 0.15em;
    }
    .watch-btn .material-symbols-outlined {
        padding: 0.6rem;
    }

    /* Thumbnails */
    .thumb-btn {
        width: 2.25rem !important;
        height: 2.25rem !important;
    }

    /* Feature cards */
    .feature-card {
        min-width: calc(100vw - 2rem) !important;
        width: calc(100vw - 2rem) !important;
        min-height: 320px !important;
        padding: 1.25rem !important;
        border-radius: 1.75rem !important;
        margin-inline: 1rem !important;
    }
    .feature-card h3 {
        font-size: 1.25rem !important;
    }
    .features-heading {
        font-size: 1.5rem !important;
    }
    .carousel-arrow-btn {
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
        min-height: 36px !important;
    }
    .carousel-arrow-btn .material-symbols-outlined {
        font-size: 16px !important;
    }

    /* Glass panels */
    .glass-panel {
        padding: 1rem;
        border-radius: 16px;
    }
    .glass-panel h2 {
        font-size: 1.5rem !important;
    }

    /* Footer */
    .gradient-footer {
        border-radius: 24px 24px 0 0;
        padding-top: 2.5rem;
        padding-bottom: 2.5rem;
    }
    .column-title {
        font-size: 9px;
        letter-spacing: 0.15em;
    }
    .subscribe-btn {
        font-size: 0.65rem;
    }
}

/* ===============================================================
   BREAKPOINT: 290px — Ultra-small
   =============================================================== */
@media (max-width: 290px) {
    .nav-pill {
        width: 98% !important;
        padding-left: 0.625rem !important;
        padding-right: 0.625rem !important;
    }
    .nav-pill h1 {
        display: none; /* Hide logo text, keep icon */
    }
    .hero-section h2 {
        font-size: 1.35rem !important;
    }
    .feature-card {
        min-width: calc(100vw - 1.5rem) !important;
        width: calc(100vw - 1.5rem) !important;
        margin-inline: 0.75rem !important;
    }
    .glass-panel {
        padding: 0.875rem;
    }
    .pre-order-btn {
        padding: 10px 12px;
        letter-spacing: 1px;
        font-size: 9px;
    }
    .carousel-arrow-btn {
        width: 34px !important;
        height: 34px !important;
        min-width: 34px !important;
        min-height: 34px !important;
    }
    .features-arrows {
        gap: 0.375rem;
    }
    .features-header {
        gap: 0.75rem;
    }
    /* Contact form inputs */
    .contact-section .grid-cols-1.md\:grid-cols-2 {
        grid-template-columns: 1fr !important;
    }
}

/* ===============================================================
   ULTRA-WIDE: 1920px+
   =============================================================== */
@media (min-width: 1920px) {
    .max-w-7xl {
        max-width: 1400px;
    }
    .hero-section {
        max-width: 1800px;
    }
    .feature-card {
        min-width: 480px !important;
        width: 480px !important;
    }
    .features-heading {
        font-size: 4.5rem !important;
    }
}

/* ===============================================================
   HERO SECTION — Enhanced transition styles
   =============================================================== */
.hero-section {
    will-change: transform, opacity;
}

#productDescription {
    will-change: opacity, filter;
}

/* Ensure horizontal-wrapper doesn't cause body overflow */
#features-container {
    overflow: hidden;
}

.horizontal-wrapper {
    overflow: visible; /* clips handled by parent section */
    will-change: transform;
}

/* ===============================================================
   IMPROVED BUTTON BASE — ensure full-width on smallest screens
   =============================================================== */
@media (max-width: 400px) {
    .hero-section .flex.flex-wrap.items-center.gap-8 {
        gap: 1.25rem;
        flex-direction: column;
        align-items: flex-start;
    }
    .btn-modern {
        width: 100%;
        justify-content: center;
    }
    /* Don't stretch store buttons to full width */
    .hero-gradient .flex.flex-wrap.gap-4:not(.store-btns-wrapper) {
        flex-direction: column;
        align-items: stretch;
    }
    .btn-premium:not(.store-btn-item) {
        width: 100%;
        justify-content: center;
    }
    /* Store buttons stay auto width */
    .store-btns-wrapper,
    .store-btn-item {
        flex-direction: row !important;
        width: auto !important;
        flex: 0 0 auto !important;
    }
}

/* ===============================================================
   EXISTING MEDIA QUERY — 768px ENHANCEMENTS
   =============================================================== */

/* Ensure the sync biology card has enough height and does not overlap */
#features .grid > div.md\:col-span-12 {
    grid-row: span 2 !important;
    height: auto !important;
    min-height: min-content !important;
}

/* SYNC YOUR BIOLOGY WITH TECHNOLOGY — Text Spacing Fix */
.rounded-\[2rem\].p-6.md\:p-10.mt-8 h2 {
    word-spacing: 0.12em;
    letter-spacing: 0.04em;
    line-height: 1.5;
    word-break: break-word;
    display: block;
    margin-bottom: 1.25rem !important;
}

.rounded-\[2rem\].p-6.md\:p-10.mt-8 {
    width: 100%;
    max-width: 100%;
}

/* ===============================================================
   ADDITIONAL MOBILE OPTIMIZATIONS
   =============================================================== */
@media (max-width: 767px) {
    /* Prevent specifications grid cards from clumping and set proper size */
    #features > .grid > div {
        min-height: 200px !important;
        height: auto !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        padding: 2.25rem 1.75rem !important;
        gap: 1.5rem !important;
    }

    /* Spacing and padding optimizations for the Sync Biology promo box */
    #features > div.rounded-\[3rem\] {
        padding: 2.5rem 1.5rem !important;
        margin-top: 2.5rem !important;
        margin-bottom: 2rem !important;
        border-radius: 2rem !important;
    }
}

@media (max-width: 1024px) {
    /* Disable curtain animation and set product description to full height */
    #productDescription {
        min-height: 100vh !important;
        margin-top: 0 !important;
        padding-block: 3rem !important;
    }
}

/* ===============================================================
   SPECS SECTION — 80% width outer container
   =============================================================== */
.specs-outer-container {
    width: 80%;
    max-width: 1400px;
    margin-inline: auto;
}

@media (max-width: 767px) {
    .specs-outer-container {
        width: 90%;
    }
}

@media (max-width: 480px) {
    .specs-outer-container {
        width: 92%;
    }
}

/* Fix text overlap in spec cards */
#features .grid > div h3 {
    line-height: 1.3 !important;
    margin-bottom: 0.5rem;
}

#features .grid > div p {
    line-height: 1.6 !important;
    font-size: clamp(0.8125rem, 1.5vw, 0.9375rem) !important;
}

/* ===============================================================
   FIRST SPEC CARD (LED Smart Reminders) — Mobile Fix
   =============================================================== */
@media (max-width: 767px) {
    /* First card: the 100% blue section should take full width */
    #features .grid > div:first-child {
        padding: 0 !important;
        gap: 0 !important;
        min-height: unset !important;
        overflow: hidden;
    }

    #features .grid > div:first-child > .relative.flex-1 {
        min-height: 220px;
        width: 100%;
    }

    #features .grid > div:first-child > .bg-white {
        padding: 1.5rem 1.25rem !important;
    }

    /* Prevent the Low/Optimal/Hydrated status grid from stacking */
    #features .grid > div:first-child .grid-cols-3 {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        flex-direction: row !important;
    }
}

/* ===============================================================
   EDITIONS SECTION — New Layout
   =============================================================== */

/* Mobile: show collage at top, hide individual images */
.editions-mobile-collage {
    display: none;
    padding: 2rem 1rem;
    background: white;
}

/* Editions list layout */
.editions-list {
    width: 100%;
    padding: 2rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

/* Each edition row: side-by-side on desktop */
.edition-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 3rem;
    max-width: 1200px;
    margin-inline: auto;
    width: 100%;
}

/* Image box */
.edition-image-box {
    flex: 0 0 40%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 350px;
}

.edition-img {
    height: 320px;
    object-fit: contain;
    position: relative;
    z-index: 10;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Glass panel takes remaining space */
.edition-row .glass-panel {
    flex: 1;
    opacity: 1;
    transform: none;
}

/* Active state already handles glass-panel visibility */
.category-trigger .glass-panel {
    opacity: 0.15;
    transform: scale(0.96);
}

.category-trigger.active .glass-panel {
    opacity: 1;
    transform: scale(1);
}

/* Mobile: hide individual images, show collage */
@media (max-width: 1023px) {
    .editions-mobile-collage {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .edition-image-box {
        display: none !important;
    }

    .edition-row {
        flex-direction: column;
        gap: 0;
    }

    .editions-list {
        gap: 4rem;
        padding: 2rem 1rem 8rem 1rem;
    }

    .edition-row .glass-panel {
        width: 100% !important;
    }
}

/* Desktop: ensure proper spacing */
@media (min-width: 1024px) {
    .editions-mobile-collage {
        display: none !important;
    }
    
    /* تحسين السكرول على الشاشات الكبيرة */
    .horizontal-wrapper {
        scroll-behavior: smooth;
    }
            
    .feature-card {
        
    }
    
    .editions-list {
        padding: 6rem 2rem 14rem 2rem;
        gap: 8rem;
    }

}

/* ===============================================================
   SMART BOTTLE LOGO — Enlarge
   =============================================================== */
.nav-pill h1.font-modern {
    font-size: clamp(0.875rem, 1.8vw, 1.125rem) !important;
    letter-spacing: 0.2em;
}

@media (max-width: 480px) {
    .nav-pill h1.font-modern {
        font-size: 0.8125rem !important;
        letter-spacing: 0.15em;
    }
}

@media (max-width: 390px) {
    .nav-pill h1.font-modern {
        font-size: 0.75rem !important;
        letter-spacing: 0.12em;
    }
}

/* ===============================================================
   DRAWER SHOP NOW BUTTON — Premium capsule
   =============================================================== */
.drawer-preorder {
    border-radius: 50px !important;
    padding: 18px 28px !important;
    font-size: 14px !important;
    letter-spacing: 0.15em !important;
    box-shadow: 0 12px 32px rgba(59,130,246,0.25) !important;
    min-height: 60px !important;
}

/* ===============================================================
   APP FEATURES HORIZONTAL SCROLL — Mobile: native smooth scroll
   =============================================================== */
@media (max-width: 1023px) {
    #features-container {
        overflow: hidden !important;
    }

    .horizontal-wrapper {
        overflow-x: auto !important;
        overflow-y: hidden !important;
        scroll-snap-type: x mandatory;
        padding: 1rem 0;
        gap: 1.5rem;
        /* Hide scrollbar */
        scrollbar-width: none;
        -ms-overflow-style: none;
        scroll-behavior: smooth;
    }

    .horizontal-wrapper::-webkit-scrollbar {
        display: none;
    }

    .feature-card {
        flex-shrink: 0;
        scroll-snap-align: center;
    }
}

/* ===============================================================
   SYNC BIOLOGY BOX — Better spacing on mobile
   =============================================================== */
@media (max-width: 767px) {
    .specs-outer-container > div[style*="F1F5F9"] {
        padding: 1.75rem 1.25rem !important;
        border-radius: 1.5rem !important;
        margin-top: 1.5rem !important;
    }

    .specs-outer-container > div[style*="F1F5F9"] h2 {
        font-size: 1.35rem !important;
        line-height: 1.5 !important;
        word-spacing: 0.08em;
        letter-spacing: 0.03em;
        margin-bottom: 1rem !important;
    }
}

/* ===============================================================
   SPECS CARDS — prevent text from being too small on mobile
   =============================================================== */
@media (max-width: 767px) {
    #features .grid > div h3 {
        font-size: 1.125rem !important;
        line-height: 1.35 !important;
    }

    #features .grid > div p {
        font-size: 0.875rem !important;
        line-height: 1.65 !important;
    }

    /* Ensure spec cards have enough internal space */
    #features > .grid > div {
        padding: 1.5rem 1.25rem !important;
        gap: 1rem !important;
    }
}

/* ===============================================================
   LANDSCAPE & SMALL HEIGHT RESPONSIVENESS OVERRIDES
   =============================================================== */
.hero-section {
    min-height: 100svh !important;
    height: 100svh !important;
}

/* ===============================================================
   FIX 1 — SYNC BIOLOGY HEADING: same case, smaller, black
   =============================================================== */
.sync-biology-heading {
    font-size: 30px !important;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: 0 !important;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 0.75rem;
}

/* ===============================================================
   FIX 4 — EDITION IMAGE ANIMATION: floating like glass-panel boxes
   =============================================================== */
@keyframes edition-float {
    0%, 100% { transform: translateY(0px) scale(1); }
    50%       { transform: translateY(-14px) scale(1.02); }
}

.category-trigger.active .edition-img,
.category-trigger.revealed .edition-img {
    animation: edition-float 5s ease-in-out infinite;
}

.category-trigger.revealed.active .edition-img {
    animation: edition-float 5s ease-in-out infinite;
}

/* Each edition gets a slightly different timing so they feel independent */
.edition-basic.active .edition-img    { animation-delay: 0s;    }
.edition-solar.active .edition-img    { animation-delay: 0.8s;  }
.edition-sensor.active .edition-img   { animation-delay: 1.6s;  }

/* ===============================================================
   FIX 5 — EDITIONS MOBILE GAP: more space between editions on mobile
   =============================================================== */
@media (max-width: 1023px) {
    .editions-list {
        gap: 7rem !important;
        padding-bottom: 10rem !important;
    }
}

@media (max-width: 640px) {
    .editions-list {
        gap: 6rem !important;
    }
}

/* ===============================================================
   FIX 6 — SPECS CARDS MIN HEIGHT: taller cards on mobile
   =============================================================== */
@media (max-width: 767px) {
    #features > .specs-outer-container > .grid > div {
        min-height: 240px !important;
        padding: 2rem 1.5rem !important;
        gap: 1.25rem !important;
    }

    /* LED Smart Reminders special card stays compact */
    #features .grid > div:first-child {
        min-height: unset !important;
    }

    #features .grid > div h3 {
        font-size: 1.05rem !important;
        line-height: 1.4 !important;
    }

    #features .grid > div p {
        font-size: 0.9rem !important;
        line-height: 1.7 !important;
    }
}

/* ===============================================================
   FIX 7 — STORE BUTTONS: never full-width on mobile
   =============================================================== */
.store-btns-wrapper {
    justify-content: flex-start;
}

.store-btn-item {
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: fit-content !important;
}

@media (max-width: 767px) {
    .store-btns-wrapper {
        flex-direction: row !important;
        flex-wrap: wrap;
    }
    .store-btn-item {
        flex: 0 0 auto !important;
        width: auto !important;
    }
    /* Override the old rule that stretched btn-premium to full width */
    .hero-gradient .store-btn-item,
    .hero-gradient .store-btns-wrapper .btn-premium {
        flex: 0 0 auto !important;
        width: auto !important;
    }
}

/* ===============================================================
   FIX 8 — HERO "Stay Hydrated Stay Smart": bigger on small screens
   =============================================================== */
@media (max-width: 640px) {
    .hero-section h2 {
        font-size: clamp(2.6rem, 11vw, 3.5rem) !important;
        line-height: 1.1 !important;
    }
}

@media (max-width: 480px) {
    .hero-section h2 {
        font-size: clamp(2.4rem, 10.5vw, 3rem) !important;
    }
}

@media (max-width: 390px) {
    .hero-section h2 {
        font-size: clamp(2.2rem, 10vw, 2.8rem) !important;
    }
}

@media (max-height: 600px) {
    .sticky-content {
        justify-content: center !important;
        padding-top: 5rem !important;
        padding-bottom: 2rem !important;
    }
    .feature-card {
        height: 60vh !important;
        padding: 1.5rem !important;
    }
    .feature-card h3 {
        font-size: 1.15rem !important;
        margin-bottom: 0.25rem !important;
    }
    .feature-card p {
        font-size: 0.8rem !important;
        line-height: 1.3 !important;
    }
    .feature-card .material-symbols-outlined {
        font-size: 2rem !important;
        margin-bottom: 0.5rem !important;
    }
    .features-heading {
        font-size: 2.25rem !important;
        line-height: 1.15 !important;
    }
}

/* ADD TO BAG BUTTON DESIGN */
.add-to-bag-btn {
    position: relative;
    background-color: #000;
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.15em;
    padding: 14px 24px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    border: none;
    cursor: pointer;
    margin-top: 1rem;
    text-shadow: -1px 0px 0px rgba(59,130,246,0.8), 1px 0px 0px rgba(245,195,68,0.8);
}
.add-to-bag-btn::after {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    right: -4px;
    bottom: -4px;
    border: 1px solid #000;
    z-index: -1;
    transition: transform 0.2s ease;
}
.add-to-bag-btn:hover::after {
    transform: translate(-2px, -2px);
}

/* SHOP NOW BUTTON - Blue outlined with arrow */
.shop-now-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    background-color: transparent;
    color: #3B82F6;
    border: 2px solid #3B82F6;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.18em;
    padding: 14px 22px;
    cursor: pointer;
    border-radius: 4px;
    gap: 12px;
    transition: background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 0 0 0 rgba(59,130,246,0);
}
.shop-now-btn:hover {
    background-color: #3B82F6;
    color: #fff;
    box-shadow: 0 6px 24px rgba(59,130,246,0.35);
}
.shop-now-btn:hover .material-symbols-outlined {
    color: #fff;
}
.shop-now-btn .material-symbols-outlined {
}

.category-trigger.revealed.active .edition-img {
    animation: edition-float 5s ease-in-out infinite;
}

/* Each edition gets a slightly different timing so they feel independent */
.edition-basic.active .edition-img    { animation-delay: 0s;    }
.edition-solar.active .edition-img    { animation-delay: 0.8s;  }
.edition-sensor.active .edition-img   { animation-delay: 1.6s;  }

/* ===============================================================
   FIX 5 — EDITIONS MOBILE GAP: more space between editions on mobile
   =============================================================== */
@media (max-width: 1023px) {
    .editions-list {
        gap: 7rem !important;
        padding-bottom: 10rem !important;
    }
}

@media (max-width: 640px) {
    .editions-list {
        gap: 6rem !important;
    }
}

/* ===============================================================
   FIX 6 — SPECS CARDS MIN HEIGHT: taller cards on mobile
   =============================================================== */
@media (max-width: 767px) {
    #features > .specs-outer-container > .grid > div {
        min-height: 240px !important;
        padding: 2rem 1.5rem !important;
        gap: 1.25rem !important;
    }

    /* LED Smart Reminders special card stays compact */
    #features .grid > div:first-child {
        min-height: unset !important;
    }

    #features .grid > div h3 {
        font-size: 1.05rem !important;
        line-height: 1.4 !important;
    }

    #features .grid > div p {
        font-size: 0.9rem !important;
        line-height: 1.7 !important;
    }
}

/* ===============================================================
   FIX 7 — STORE BUTTONS: never full-width on mobile
   =============================================================== */
.store-btns-wrapper {
    justify-content: flex-start;
}

.store-btn-item {
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: fit-content !important;
}

@media (max-width: 767px) {
    .store-btns-wrapper {
        flex-direction: row !important;
        flex-wrap: wrap;
    }
    .store-btn-item {
        flex: 0 0 auto !important;
        width: auto !important;
    }
    /* Override the old rule that stretched btn-premium to full width */
    .hero-gradient .store-btn-item,
    .hero-gradient .store-btns-wrapper .btn-premium {
        flex: 0 0 auto !important;
        width: auto !important;
    }
}

/* ===============================================================
   FIX 8 — HERO "Stay Hydrated Stay Smart": bigger on small screens
   =============================================================== */
@media (max-width: 640px) {
    .hero-section h2 {
        font-size: clamp(2.6rem, 11vw, 3.5rem) !important;
        line-height: 1.1 !important;
    }
}

@media (max-width: 480px) {
    .hero-section h2 {
        font-size: clamp(2.4rem, 10.5vw, 3rem) !important;
    }
}

@media (max-width: 390px) {
    .hero-section h2 {
        font-size: clamp(2.2rem, 10vw, 2.8rem) !important;
    }
}

@media (max-height: 600px) {
    .sticky-content {
        justify-content: center !important;
        padding-top: 5rem !important;
        padding-bottom: 2rem !important;
    }
    .feature-card {
        height: 60vh !important;
        padding: 1.5rem !important;
    }
    .feature-card h3 {
        font-size: 1.15rem !important;
        margin-bottom: 0.25rem !important;
    }
    .feature-card p {
        font-size: 0.8rem !important;
        line-height: 1.3 !important;
    }
    .feature-card .material-symbols-outlined {
        font-size: 2rem !important;
        margin-bottom: 0.5rem !important;
    }
    .features-heading {
        font-size: 2.25rem !important;
        line-height: 1.15 !important;
    }
}

/* ADD TO BAG BUTTON DESIGN */
.add-to-bag-btn {
    position: relative;
    background-color: #000;
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.15em;
    padding: 14px 24px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    border: none;
    cursor: pointer;
    margin-top: 1rem;
    text-shadow: -1px 0px 0px rgba(59,130,246,0.8), 1px 0px 0px rgba(245,195,68,0.8);
}
.add-to-bag-btn::after {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    right: -4px;
    bottom: -4px;
    border: 1px solid #000;
    z-index: -1;
    transition: transform 0.2s ease;
}
.add-to-bag-btn:hover::after {
    transform: translate(-2px, -2px);
}

/* SHOP NOW BUTTON - Blue outlined with arrow */
.shop-now-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    background-color: transparent;
    color: #3B82F6;
    border: 2px solid #3B82F6;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.18em;
    padding: 14px 22px;
    cursor: pointer;
    border-radius: 4px;
    gap: 12px;
    transition: background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 0 0 0 rgba(59,130,246,0);
}
.shop-now-btn:hover {
    background-color: #3B82F6;
    color: #fff;
    box-shadow: 0 6px 24px rgba(59,130,246,0.35);
}
.shop-now-btn:hover .material-symbols-outlined {
    color: #fff;
}
.shop-now-btn .material-symbols-outlined {
    color: #3B82F6;
    transition: color 0.25s ease, transform 0.25s ease;
    font-size: 18px;
}
.shop-now-btn:hover .material-symbols-outlined {
    transform: translateX(4px);
}

/* NEW FIXES FROM USER REQUEST */
@media (max-width: 1024px) {
    /* Make editions box slightly smaller */
    .edition-row .glass-panel {
        max-width: 85% !important;
        padding: 1.5rem 1.25rem !important;
        margin-inline: auto !important;
    }
    .editions-list {
        gap: 4rem !important;
    }
}

@media (max-width: 768px) {
    /* Hero section fix */
    .hero-section {
        min-height: 100svh !important;
        height: 100svh !important;
        overflow: hidden !important;
    }
    
    /* Sidebar adjustments to prevent scrolling */
    #sideDrawer {
        padding: 1.5rem !important;
        overflow-y: hidden !important;
    }
    #sideDrawer .text-2xl {
        font-size: 1.15rem !important;
        padding-bottom: 0.5rem !important;
    }
    #sideDrawer .mb-10 {
        margin-bottom: 1.5rem !important;
    }
    #sideDrawer .gap-6 {
        gap: 0.75rem !important;
    }
    #sideDrawer .mt-4 {
        margin-top: 0 !important;
    }
    #sideDrawer .drawer-preorder {
        padding: 14px 20px !important;
        min-height: 48px !important;
        font-size: 12px !important;
    }
    #nav-contactIcons {
        gap: 1rem !important;
        margin-bottom: 1rem !important;
    }
    
    /* LED SMART REMINDER height fix */
    #features .specs-outer-container .grid > div:first-child {
        min-height: max-content !important;
        height: auto !important;
        padding: 0 !important;
        overflow: hidden !important;
        display: flex !important;
        flex-direction: column !important;
    }
    #features .specs-outer-container .grid > div:first-child > .bg-white {
        padding: 1.5rem 1.25rem 2rem 1.25rem !important;
        min-height: max-content !important;
        height: auto !important;
        flex-shrink: 0 !important;
        flex-grow: 1 !important;
    }
}

/* Feature Slider Dots */
.feature-dot {
    display: inline-block;
    transition: background-color 0.3s ease, transform 0.3s ease;
    cursor: pointer;
}
@media (max-width: 1023px) {
    #features-container {
        display: flex;
        flex-direction: column;
    }
    #featureDots {
        background: #fff;
    }
}
