/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: #f8f9fc; /* Softer, slightly blueish background */
    background-image: url("data:image/svg+xml,%3Csvg width='200' height='200' viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23000000' stroke-opacity='0.015' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M30 50 Q 45 40 60 50 L 60 70 Q 45 60 30 70 Z' /%3E%3Cpath d='M60 50 Q 75 40 90 50 L 90 70 Q 75 60 60 70 Z' /%3E%3Cpath d='M60 50 L 60 70' /%3E%3Cpath d='M130 30 L 150 50 L 130 70 L 110 50 Z' /%3E%3Cpath d='M110 50 L 100 55 L 115 55 Z' /%3E%3Cpath d='M30 150 L 80 150 L 80 160 L 30 160 Z' /%3E%3Cpath d='M40 150 L 40 153 M 50 150 L 50 155 M 60 150 L 60 153 M 70 150 L 70 155' /%3E%3Ccircle cx='150' cy='140' r='20' /%3E%3Cpath d='M150 120 C 135 120 135 160 150 160 C 165 160 165 120 150 120' /%3E%3Cpath d='M130 140 L 170 140' /%3E%3Cpath d='M90 100 L 120 110 L 90 120 L 60 110 Z' /%3E%3Cpath d='M80 113 L 80 130 M 100 113 L 100 130' /%3E%3Cpath d='M120 110 L 125 125' /%3E%3Cellipse cx='100' cy='30' rx='15' ry='6' transform='rotate(30 100 30)' /%3E%3Cellipse cx='100' cy='30' rx='15' ry='6' transform='rotate(120 100 30)' /%3E%3Ccircle cx='100' cy='30' r='2' fill='%23000000' fill-opacity='0.015' /%3E%3C/g%3E%3C/svg%3E");
    background-size: 250px 250px;
    background-attachment: fixed;
    animation: moveBackground 60s linear infinite;
    color: #000000; /* Deep navy instead of black */
    -webkit-tap-highlight-color: transparent;
}

@keyframes moveBackground {
    0% { background-position: 0 0; }
    100% { background-position: 250px 250px; }
}

/* Header - Gradient & Shadow */
.app-header {
    background: linear-gradient(135deg, #1A67C4, #12498e);
    color: #fff;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 20px;
    box-shadow: 0 4px 15px rgba(26,103,196,0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.app-header .logo {
    font-size: 22px;
    font-weight: 800; /* Bolder logo */
    color: #fff;
    text-decoration: none;
    letter-spacing: -0.5px;
    margin-left: 15px;
    position: relative;
    overflow: hidden;
}
.app-header .logo::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.5) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    animation: logo-sweep 4s infinite;
}
.menu-btn {
    font-size: 24px;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
}

/* Greeting Block */
.greeting-block {
    padding: 20px 20px 5px 20px;
}
.greeting-block h1 {
    font-size: 24px;
    font-weight: 800;
    color: #000000;
    margin-bottom: 5px;
}
.greeting-block p {
    font-size: 14px;
    color: #5c6bc0;
    font-weight: 600;
}

/* Sidebar */
.sidebar {
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100%;
    background-color: #fff;
    box-shadow: 2px 0 15px rgba(0,0,0,0.1);
    z-index: 1001;
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
}
.sidebar.active {
    left: 0;
}
.sidebar-header {
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #f8f9fc, #fff);
}
.sidebar-header h3 {
    font-weight: 800;
    color: #1A67C4;
}
.close-sidebar {
    background: #E6F2FF;
    color: #1A67C4;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
}
.sidebar-nav {
    list-style: none;
    padding: 15px 0;
}
.sidebar-nav li a {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: #34495e;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    border-left: 4px solid transparent;
    transition: all 0.2s;
}
.sidebar-nav li a i {
    width: 30px;
    font-size: 18px;
    color: #7f8c8d;
}
.sidebar-nav li a:hover {
    background-color: #f8f9fc;
    border-left: 4px solid #1A67C4;
    color: #1A67C4;
}
.sidebar-nav li a:hover i {
    color: #1A67C4;
}
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(2px);
    z-index: 1000;
    display: none;
}
.overlay.active {
    display: block;
}

/* Main Content */
.main-content {
    padding-bottom: 90px;
}

/* Sections */
.section {
    padding: 20px 15px;
    background: transparent;
    margin-bottom: 5px;
}
.section-title {
    font-size: 19px;
    font-weight: 800;
    margin-bottom: 15px;
    color: #000000;
    display: flex;
    align-items: center;
}
.section-title i {
    margin-left: 8px;
}

.category-section-title {
    font-size: 26px;
    font-weight: 800;
    margin: 40px 0 30px 0;
    color: #000;
    text-align: center;
    position: relative;
    display: block;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}
.category-section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 5px;
    background: #f1c40f;
    margin: 12px auto 0;
    border-radius: 3px;
}

/* Slider */
.swiper-container {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: none;
}
.swiper-container .swiper-slide {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #000; /* Dark bg to make overlay pop */
    position: relative;
}
.swiper-container .swiper-slide::after {
    display: none;
}
.swiper-container .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Products - Glass & Shadows */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 15px;
}
.product-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.04);
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.02);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s;
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.08);
}
.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(135deg, #f1c40f, #f39c12);
    color: #fff;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 800;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.product-img-wrapper {
    width: 100%;
    height: 200px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}
.product-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.product-info {
    padding: 12px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    background: #fff;
}
.product-title {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 5px;
    color: #000000;
    line-height: 1.3;
}
.product-price {
    font-size: 16px;
    color: #27ae60;
    font-weight: 800;
    margin-bottom: 12px;
}
.btn-buy {
    display: inline-block;
    width: 100%;
    padding: 10px 0;
    text-align: center;
    background: linear-gradient(135deg, #1A67C4, #257bf0);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    margin-top: auto;
    box-shadow: 0 4px 10px rgba(26,103,196,0.2);
    transition: transform 0.1s, box-shadow 0.1s;
    position: relative;
    overflow: hidden;
}
.btn-buy:hover {
    transform: scale(0.98);
    box-shadow: 0 2px 5px rgba(26,103,196,0.3);
}

.btn-buy::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { left: -100%; }
    20% { left: 200%; }
    100% { left: 200%; }
}

/* Testimonials */
.testimonial-card {
    background: #fff;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 1px solid #f1f2f6;
}
.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}
.testimonial-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 18px;
    margin-right: 12px;
    box-shadow: 0 3px 8px rgba(52,152,219,0.3);
}
.testimonial-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}
.testimonial-text {
    font-size: 14px;
    font-style: italic;
    color: #576574;
    line-height: 1.5;
}

/* WhatsApp Banner */
.whatsapp-banner {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: #fff;
    padding: 25px 20px;
    border-radius: 16px;
    text-align: center;
    margin-top: 10px;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}
.whatsapp-banner h3 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 8px;
}
.whatsapp-btn {
    display: inline-block;
    background: #fff;
    color: #128C7E;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 800;
    margin-top: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Bottom Nav - Glassmorphism */
.bottom-nav {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    height: 65px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 -5px 20px rgba(0,0,0,0.03);
    z-index: 1000;
}
.nav-item {
    text-align: center;
    color: #95a5a6;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.2s;
}
.nav-item i {
    font-size: 22px;
    display: block;
    margin-bottom: 4px;
    transition: transform 0.2s;
}
.nav-item.active {
    color: #1A67C4;
}
.nav-item.active i {
    transform: translateY(-2px);
}

/* Feature Colors */
.feat-card {
    flex: 1;
    min-width: 120px; 
    padding: 20px; 
    border-radius: 16px; 
    text-align: center;
    transition: transform 0.2s;
}
.feat-card:hover {
    transform: translateY(-3px);
}
.feat-1 { background: #E6F2FF; color: #12498e; }
.feat-2 { background: #e3f2fd; color: #1565c0; }
.feat-3 { background: #f3e5f5; color: #6a1b9a; }
.feat-4 { background: #e8f5e9; color: #2e7d32; }
.feat-5 { background: #fff3e0; color: #ef6c00; }
.feat-6 { background: #ffebee; color: #c62828; }

/* Stats Container */
.stats-container {
    background: linear-gradient(135deg, #1A67C4, #257bf0);
    border-radius: 12px;
    padding: 20px;
    color: #fff;
    display: flex;
    justify-content: space-between;
    text-align: center;
    box-shadow: 0 5px 15px rgba(26,103,196,0.3);
    position: relative;
    overflow: hidden;
}

.stats-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    animation: shine 4s infinite;
}

@media (min-width: 768px) {
    .stats-container {
        justify-content: space-evenly;
        padding: 40px 20px;
    }
    .stats-container > div {
        flex: 1;
    }
}

/* Search Bar */
.search-container input {
    font-family: 'Inter', sans-serif;
}

/* Hide Scrollbar */
.hide-scrollbar::-webkit-scrollbar {
    display: none;
}
.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.nav-label {
    padding: 10px 20px 5px 20px;
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 800;
    color: #95a5a6;
    letter-spacing: 1px;
}


/* Desktop View Optimizations */
@media (min-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 25px;
    }
    
    .stats-bar {
        max-width: 900px;
        margin: 0 auto 30px auto !important;
        border-radius: 16px !important;
    }

    .hide-scrollbar {
        flex-wrap: wrap;
        overflow-x: visible;
    }
    
    .sample-swiper .swiper-slide {
        width: 250px !important; /* Slightly larger slides on desktop */
    }

    /* Center and constrain the main app container like Amazon/Flipkart */
    .main-content {
        max-width: 1600px;
        margin: 0 auto;
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .app-header {
        max-width: 1600px;
        margin: 0 auto;
        left: 0;
        right: 0;
    }
    
    .bottom-nav {
        max-width: 1600px;
        margin: 0 auto;
        left: 0;
        right: 0;
        border-radius: 20px 20px 0 0;
        border-left: 1px solid #eee;
        border-right: 1px solid #eee;
    }
}


/* Desktop Header Navigation */
.desktop-nav {
    display: none;
    align-items: center;
    gap: 25px;
}
.desktop-nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: opacity 0.2s;
}
.desktop-nav a:hover {
    opacity: 0.8;
}
.btn-admin-header {
    background: rgba(255,255,255,0.2);
    padding: 8px 16px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.3);
}
.btn-admin-header:hover {
    background: rgba(255,255,255,0.3);
}

@media (min-width: 992px) {
    .menu-btn {
        display: none !important;
    }
    .bottom-nav {
        display: none !important;
    }
    .desktop-nav {
        display: flex;
    }
    .app-header {
        justify-content: flex-start;
    }
    .app-header .logo {
        margin-right: auto;
    }
    
    .product-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@keyframes logo-sweep {
    0% { left: -100%; }
    20% { left: 200%; }
    100% { left: 200%; }
}


/* Desktop Footer */
.desktop-footer {
    display: none;
    background: #000000;
    color: #fff;
    padding: 40px 30px 20px;
    margin-top: 50px;
}
.desktop-footer .footer-content {
    max-width: 1600px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}
.desktop-footer h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #f1c40f;
    font-weight: 700;
}
.desktop-footer p {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255,255,255,0.8);
}
.desktop-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.desktop-footer ul li {
    margin-bottom: 12px;
}
.desktop-footer ul li a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s, padding-left 0.2s;
}
.desktop-footer ul li a:hover {
    color: #fff;
    padding-left: 5px;
}
.desktop-footer .footer-bottom {
    max-width: 1600px;
    margin: 30px auto 0;
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 13px;
    color: rgba(255,255,255,0.6);
}

@media (min-width: 992px) {
    .desktop-footer {
        display: block;
        max-width: 1600px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (min-width: 992px) {
    /* Greeting and Search Bar Optimization for Desktop */
    .greeting-block {
        text-align: center;
        margin-top: 40px;
        margin-bottom: 20px;
    }
    .greeting-block h1 {
        font-size: 36px;
        margin-bottom: 10px;
    }
    .greeting-block p {
        font-size: 18px;
    }
    .search-container {
        max-width: 700px;
        margin: 0 auto 40px auto !important;
    }
    .search-container > div {
        padding: 16px 25px !important;
        border-radius: 50px !important;
        box-shadow: 0 10px 25px rgba(0,0,0,0.08) !important;
        border: 1px solid rgba(0,0,0,0.05) !important;
    }
    .search-container input {
        font-size: 16px !important;
    }
    
    #latestUpdateContainer {
        max-width: 1000px;
        margin: 20px auto 10px auto !important;
        border-radius: 12px !important;
        box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    }

}

    /* Hero BG */
    .hero-bg {
        color: #fff;
        background-color: #12498e;
        background-image: 
            url("data:image/svg+xml,%3Csvg width='200' height='200' viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.06' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M30 50 Q 45 40 60 50 L 60 70 Q 45 60 30 70 Z' /%3E%3Cpath d='M60 50 Q 75 40 90 50 L 90 70 Q 75 60 60 70 Z' /%3E%3Cpath d='M60 50 L 60 70' /%3E%3Cpath d='M130 30 L 150 50 L 130 70 L 110 50 Z' /%3E%3Cpath d='M110 50 L 100 55 L 115 55 Z' /%3E%3Cpath d='M30 150 L 80 150 L 80 160 L 30 160 Z' /%3E%3Cpath d='M40 150 L 40 153 M 50 150 L 50 155 M 60 150 L 60 153 M 70 150 L 70 155' /%3E%3Ccircle cx='150' cy='140' r='20' /%3E%3Cpath d='M150 120 C 135 120 135 160 150 160 C 165 160 165 120 150 120' /%3E%3Cpath d='M130 140 L 170 140' /%3E%3Cpath d='M90 100 L 120 110 L 90 120 L 60 110 Z' /%3E%3Cpath d='M80 113 L 80 130 M 100 113 L 100 130' /%3E%3Cpath d='M120 110 L 125 125' /%3E%3Cellipse cx='100' cy='30' rx='15' ry='6' transform='rotate(30 100 30)' /%3E%3Cellipse cx='100' cy='30' rx='15' ry='6' transform='rotate(120 100 30)' /%3E%3Ccircle cx='100' cy='30' r='2' fill='%23ffffff' fill-opacity='0.06' /%3E%3C/g%3E%3C/svg%3E"),
            linear-gradient(135deg, #1A67C4, #12498e);
        background-size: 250px 250px, cover;
        background-repeat: repeat, no-repeat;
        background-position: 0 0, 0 0;
        animation: moveBackgroundHero 20s linear infinite;
    }
    
    @keyframes moveBackgroundHero {
        0% { background-position: 0 0, 0 0; }
        100% { background-position: -200px -200px, 0 0; }
    }
    .hero-bg .greeting-block h1 {
        color: #fff !important;
    }
    .hero-bg .greeting-block p {
        color: rgba(255,255,255,0.9) !important;
    }
    .app-header {
        box-shadow: none !important;
    }
    

    /* Force Header and Hero to 100% Full Width on Desktop */
    
    @media (min-width: 992px) {
        .app-header {
            max-width: 100% !important;
            padding-left: calc(max(20px, 50vw - 780px)) !important;
            padding-right: calc(max(20px, 50vw - 780px)) !important;
            margin: 0;
            left: 0; right: 0;
        }
        
        .hero-bg {
            width: 100%;
            
            
            
            
            
            border-radius: 0 0 40px 40px !important;
            padding-top: 1px; /* Prevents margin collapse */
        }
    }

#latestUpdateContainer {
    margin: 0 !important;
    border-radius: 0 !important;
    max-width: 100% !important;
    padding: 8px 15px;
    text-align: center;
}


    /* Desktop Reordering: Trending first, then Hero Slider */
    @media (min-width: 992px) {
        .index-main-content {
            display: flex;
            flex-direction: column;
        }
        .index-main-content > * {
            order: 5; /* Default order for all other elements */
        }
        .hero-bg {
            order: 0;
        }
        #installPrompt {
            order: 1;
        }
        #trending {
            order: 2;
        }
        #heroSliderSection {
            order: 3;
        }
    }


/* WhatsApp Banner (Responsive) */
.desktop-wa-banner {
    display: flex;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 12px;
    padding: 12px 15px;
    margin: 15px 15px 5px 15px;
    box-shadow: 0 4px 6px rgba(37, 211, 102, 0.1);
}
.desktop-wa-banner .wa-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 10px;
}
.desktop-wa-banner .wa-content span {
    font-weight: 600;
    color: #166534;
    display: flex;
    align-items: center;
    font-size: 13px;
    line-height: 1.4;
    flex: 1;
}
.desktop-wa-banner .wa-content span i {
    font-size: 20px !important;
}
.wa-join-btn {
    background: #25D366;
    color: #fff;
    text-decoration: none;
    padding: 6px 15px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 12px;
    transition: 0.2s;
    box-shadow: 0 4px 10px rgba(37,211,102,0.3);
    white-space: nowrap;
}
.wa-join-btn:hover {
    background: #1da851;
    color: #fff;
    transform: translateY(-2px);
}
@media (min-width: 992px) {
    .desktop-wa-banner {
        order: 1;
        padding: 15px 25px;
        margin: 25px 20px 5px 20px;
        justify-content: center;
    }
    .desktop-wa-banner .wa-content span {
        font-size: 16px;
    }
    .desktop-wa-banner .wa-content span i {
        font-size: 24px !important;
    }
    .wa-join-btn {
        padding: 8px 20px;
        font-size: 14px;
    }
}


/* Live Search Dropdown */
.search-dropdown {
    display: none;
    position: absolute;
    top: calc(100% - 10px);
    left: 15px;
    right: 15px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    z-index: 1000;
    max-height: 350px;
    overflow-y: auto;
    border: 1px solid rgba(0,0,0,0.05);
}
.search-dropdown.active {
    display: block;
}
.search-result-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    border-bottom: 1px solid #f8f9fa;
    text-decoration: none;
    color: #333;
    transition: 0.2s;
}
.search-result-item:last-child {
    border-bottom: none;
}
.search-result-item:hover {
    background: #f1f5f9;
}
.search-result-img {
    width: 45px;
    height: 45px;
    border-radius: 8px;
    object-fit: cover;
    margin-right: 12px;
    border: 1px solid #eee;
}
.search-result-info {
    flex: 1;
}
.search-result-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
    color: #1e293b;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.3;
}
.search-result-price {
    font-size: 13px;
    color: #1A67C4;
    font-weight: 700;
}
.search-loading, .search-no-results {
    padding: 25px 20px;
    text-align: center;
    color: #64748b;
    font-size: 14px;
    font-weight: 500;
}

@media (min-width: 992px) {
    .search-dropdown {
        left: 5%;
        right: 5%;
        border-radius: 20px;
        top: calc(100% - 35px);
    }
}


/* --- Product Page CSS --- */
.product-page-container {
    padding: 20px 15px;
    width: 100%;
    margin: 0 auto;
}
.breadcrumb {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 20px;
}
.breadcrumb a {
    color: #1A67C4;
    text-decoration: none;
}
.breadcrumb span {
    color: #94a3b8;
}

.product-details-grid {
    display: flex;
    flex-direction: column;
    gap: 25px;
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    margin-bottom: 30px;
}

.product-image-section {
    width: 100%;
}
.main-image-wrapper {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    position: relative;
    cursor: zoom-in;
}
.main-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.2s ease-out;
}
.thumbnail-gallery {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    overflow-x: auto;
}
.thumb-item {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    border: 2px solid transparent;
    cursor: pointer;
    overflow: hidden;
    opacity: 0.6;
    transition: 0.2s;
}
.thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.thumb-item.active, .thumb-item:hover {
    opacity: 1;
    border-color: #1A67C4;
}

.product-info-section {
    width: 100%;
    display: flex;
    flex-direction: column;
}
.category-badge {
    background: #e0f2fe;
    color: #0284c7;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    display: inline-block;
    width: fit-content;
    margin-bottom: 10px;
}
.product-info-section .product-title {
    font-size: 24px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.3;
    margin-bottom: 15px;
}
.product-price-box {
    margin-bottom: 20px;
}
.current-price {
    font-size: 32px;
    font-weight: 800;
    color: #1A67C4;
}
.product-short-desc {
    color: #475569;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 25px;
    background: #f8fafc;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #1A67C4;
}

.product-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
}
.btn-buy-now {
    background: #1A67C4;
    color: #fff;
    padding: 16px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(22, 108, 199, 0.3);
    transition: 0.2s;
}
.btn-buy-now:hover {
    background: #1657a6;
    transform: translateY(-2px);
}
.btn-whatsapp {
    background: #25D366;
    color: #fff;
    padding: 14px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: 0.2s;
}
.btn-whatsapp:hover {
    background: #1da851;
}

.product-guarantee {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}
.guarantee-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #64748b;
    font-weight: 600;
}
.guarantee-item i {
    color: #10b981;
    font-size: 16px;
}

.product-description-section {
    background: #fff;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    margin-bottom: 30px;
}
.section-title {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f1f5f9;
}
.full-description-content {
    color: #475569;
    font-size: 15px;
    line-height: 1.8;
}

.related-products-section {
    background: #fff;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    margin-bottom: 50px;
}
.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

@media (min-width: 992px) {
    .product-details-grid {
        flex-direction: row;
        padding: 30px;
        gap: 40px;
    }
    .product-image-section {
        width: 45%;
    }
    .product-info-section {
        width: 55%;
    }
    .product-info-section .product-title {
        font-size: 32px;
    }
    .product-actions {
        flex-direction: row;
    }
    .btn-buy-now {
        flex: 2;
    }
    .btn-whatsapp {
        flex: 1;
        padding: 16px;
    }
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
}


/* Navigation Dropdown */
.desktop-nav .nav-dropdown {
    position: relative;
    display: inline-block;
}
.desktop-nav .nav-dropdown .dropbtn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.desktop-nav .dropdown-content {
    display: none;
    position: absolute;
    background-color: #fff;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    border-radius: 8px;
    z-index: 1000;
    top: 100%;
    left: 0;
    padding: 10px 0;
    border: 1px solid #eee;
    margin-top: 15px;
}
.desktop-nav .dropdown-content::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 0;
    width: 100%;
    height: 15px;
    background: transparent;
}
.desktop-nav .dropdown-content a {
    color: #333 !important;
    padding: 12px 20px;
    text-decoration: none;
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin: 0 !important;
    border-bottom: 1px solid #f1f5f9;
}
.desktop-nav .dropdown-content a:last-child {
    border-bottom: none;
}
.desktop-nav .dropdown-content a:hover {
    background-color: #f8f9fc;
    color: #1A67C4 !important;
}
.desktop-nav .nav-dropdown:hover .dropdown-content {
    display: block;
}


/* Muted text color for icons */
.text-muted { color: #6c757d !important; }

/* --- Floating Decor Icons --- */
/* Push all normal content above the floating icons */
body > div:not(#floating-icons-container), 
body > header, 
body > footer,
body > nav,
body > section {
    position: relative;
    z-index: 10;
}

#floating-icons-container {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.floating-icon {
    position: absolute;
    z-index: 1;
    opacity: 0.35; /* Perfect opacity for image watermarks */
    animation: floatUpDown 6s ease-in-out infinite;
    pointer-events: none;
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.2));
}

@keyframes floatUpDown {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

@media (max-width: 991px) {
    .floating-icon {
        display: none; /* Hide on smaller screens to avoid clutter */
    }
}

/* Logo and Tagline Styles */
.desktop-logo-img {
    height: 34px !important;
    width: auto;
    transition: height 0.3s ease;
}
@media (min-width: 992px) {
    .desktop-logo-img {
        height: 39px !important;
    }
}
