/* Enhanced base.css with proper responsive navigation */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Urbanist', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================ */
/* Top Navbar - Sticky */
/* ============================================ */
.top-navbar {
    background-color: #dfdede;
    color: rgb(2, 2, 2);
    padding: 8px 0;
    font-size: 13px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    transition: transform 0.3s ease;
    overflow: hidden;
}

.top-navbar.hidden {
    transform: translateY(-100%);
}

.top-nav-content {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Scrolling Container */
.contact-info-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
}

.contact-info {
    display: flex;
    gap: 40px;
    align-items: center;
    white-space: nowrap;
    animation: scrollLeft 30s linear infinite;
}

/* Pause on Hover */
.contact-info:hover {
    animation-play-state: paused;
}

.info-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.info-item .icon {
    width: 16px;
    height: 16px;
    opacity: 0.8;
    flex-shrink: 0;
}

.info-item a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-item a:hover {
    color: #0066cc;
}

/* Scrolling Animation */
@keyframes scrollLeft {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* ============================================ */
/* Main Navbar - Sticky with proper positioning */
/* ============================================ */
.main-navbar {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    margin: auto;
    border-radius: 0px;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    transition: all 0.3s ease;
}

.main-navbar.sticky {
    top: 0px;
    width: 100%;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px; 
}

/* Logo */
.logo img {
    height: 60px;
    width: auto;
}

.logo a {
    display: block;
}

.logo-placeholder {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon svg {
    width: 50px;
    height: 50px;
    
}

.logo-text {
    font-size: 14px;
    line-height: 1.2;
    color: #2c5530;
}

.logo-text strong {
    font-size: 16px;
    font-weight: 700;
}

/* Mobile Toggle Button */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1002;
    
}

.toggle-line {
    width: 25px;
    height: 3px;
    background-color: #333;
    transition: all 0.3s ease;
    border-radius: 2px;
    
}

.mobile-toggle.active .toggle-line:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-toggle.active .toggle-line:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active .toggle-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Navigation Links */
/* .nav-links {
    display: flex;
    list-style: none;
    gap: 35px;
    margin: 0;
    flex: 1;
    justify-content: center;
    
}

.nav-links li {
    margin: 0;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s;
    position: relative;
    display: block;
    padding: 5px 0;
    
}

.nav-links a:hover {
    color: #7B68A6;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #7B68A6;
    transition: width 0.3s;
    
}

.nav-links a:hover::after {
    width: 100%;
    
} */
.nav-links {
    display: flex;
    list-style: none;
    gap: 20px;
    margin: 0;
    flex: 1;
    justify-content: center;
}

.nav-links li {
    margin: 0;
}

.nav-links a {
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    position: relative;
    display: block;
    padding: 8px 8px;
    border-radius: 25px;
    background: linear-gradient(135deg, #0066cc, #0052a3);
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
    transition: all 0.3s ease;
    overflow: hidden;
}

.nav-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0080ff, #0066cc);
    transition: left 0.4s ease;
    z-index: -1;
}

.nav-links a:hover::before {
    left: 0;
}

.nav-links a:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.5);
}

.nav-links a:active {
    transform: translateY(0);
    box-shadow: 0 3px 10px rgba(0, 102, 204, 0.4);
}
/* Nav Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    
}

/* Search Container */
.search-container {
    position: relative;
    width: 300px;
    
}

.search-box {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    
}

.search-box input {
    width: 100%;
    padding: 12px 50px 12px 20px;
    border: 2px solid #e5e7eb;
    border-radius: 25px;
    font-size: 15px;
    transition: all 0.3s;
    background: white;
}

.search-box input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.search-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: #64748b;
    pointer-events: none;
    
}


.search-loading {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border: 2px solid #e5e7eb;
    border-top-color: #2563eb;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    display: none;
    
}

.search-loading.active {
    display: block;
}

@keyframes spin {
    to { transform: translateY(-50%) rotate(360deg); }
}

/* Search Results */
.search-results {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    max-height: 400px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
}

.search-results.active {
    display: block;
}

.search-result-item {
    padding: 16px;
    border-bottom: 1px solid #f1f5f9;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background: #f8fafc;
}

.result-info {
    flex: 1;
}

.result-title {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.result-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    color: #64748b;
}

.result-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.result-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.result-price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.result-current-price {
    font-size: 18px;
    font-weight: 700;
    color: #2563eb;
}

.result-original-price {
    font-size: 12px;
    color: #94a3b8;
    text-decoration: line-through;
    display: block;
}

.result-discount {
    background: #dcfce7;
    color: #166534;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    display: inline-block;
    margin-top: 4px;
}

/* Search Cart Button */
.search-cart-btn {
    position: relative;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    flex-shrink: 0;
}

.search-cart-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

.search-cart-btn:active {
    transform: translateY(0);
}

.search-cart-btn.in-cart {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    box-shadow: 0 4px 15px rgba(245, 87, 108, 0.4);
}

.search-cart-btn.in-cart:hover {
    box-shadow: 0 6px 20px rgba(245, 87, 108, 0.5);
}

.search-cart-count {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #ff4444;
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 20px;
    text-align: center;
    border: 2px solid white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.search-empty {
    padding: 40px 20px;
    text-align: center;
    color: #64748b;
}

.search-empty-icon {
    font-size: 48px;
    margin-bottom: 12px;
    opacity: 0.5;
}

.search-empty-text {
    font-size: 15px;
}

.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999;
    display: none;
}

.search-overlay.active {
    display: block;
}

.highlight {
    background: #fef3c7;
    font-weight: 600;
    padding: 0 2px;
    border-radius: 2px;
}

/* Search Results Scrollbar */
.search-results::-webkit-scrollbar {
    width: 6px;
}

.search-results::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 10px;
}

.search-results::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

.search-results::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* WhatsApp Button */
.whatsapp-btn {
    background-color: #25D366;
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
}

.whatsapp-btn svg {
    width: 24px;
    height: 24px;
    fill: white;
}

/* Icon Buttons */
.icon-btn {
    text-decoration: none;
    color: #333;
    transition: all 0.3s;
    position: relative;
}

.icon-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f5f5f5;
    transition: all 0.3s;
    position: relative;
}

.icon-btn:hover .icon-circle {
    background-color: #7B68A6;
    transform: translateY(-2px);
}

.icon-btn:hover .icon-circle svg {
    fill: white;
}

.icon-circle svg {
    width: 22px;
    height: 22px;
    fill: #333;
    transition: fill 0.3s;
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #ff4444;
    color: white;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.login-btn, .logout-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #333;
    font-size: 13px;
    line-height: 1.2;
    transition: all 0.3s;
    padding: 8px 15px;
    border-radius: 25px;
    background-color: #f5f5f5;
}

.login-btn:hover, .logout-btn:hover {
    color: #7B68A6;
    background-color: #e8e8e8;
    transform: translateY(-2px);
}

.login-btn svg, .logout-btn svg {
    width: 24px;
    height: 24px;
}

/* Mobile Overlay */
.mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-overlay.active {
    display: block;
    opacity: 1;
}

/* ============================================ */
/* Banner Section */
/* ============================================ */
.banner-section {
    position: relative;
    height: 600px;
    overflow: hidden;
    margin-top: 130px;
}

.banner-slider {
    height: 100%;
}

.banner-slide {
    display: none;
    height: 100%;
    position: relative;
}

.banner-slide.active {
    display: block;
    animation: fadeIn 0.5s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.banner-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.banner-slide .container {
    height: 100%;
    position: relative;
    z-index: 2;
}

.banner-content {
    height: 100%;
    width: 60%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px;
    color: white;
    position: relative;
    z-index: 2;
}

.banner-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    max-width: 600px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

.banner-subtitle {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.95;
    max-width: 550px;
    text-shadow: 1px 1px 6px rgba(0,0,0,0.5);
}

.banner-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 14px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s;
    display: inline-block;
    border: 2px solid white;
}

.btn-primary {
    background-color: white;
    color: #7B68A6;
}

.btn-primary:hover {
    background-color: transparent;
    color: white;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: white;
}

.btn-secondary:hover {
    background-color: white;
    color: #7B68A6;
    transform: translateY(-2px);
}

/* Slider Controls */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.slider-btn:hover {
    background-color: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.slider-btn svg {
    width: 24px;
    height: 24px;
    fill: #7B68A6;
}

.slider-btn.prev {
    left: 20px;
}

.slider-btn.next {
    right: 20px;
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    padding: 0;
}

.dot.active {
    background-color: white;
    width: 30px;
    border-radius: 6px;
}

.dot:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

/* ============================================ */
/* Content Sections */
/* ============================================ */
.content-section, .page-content {
    padding: 80px 0;
}

.content-section h2, .page-content h1 {
    font-size: 36px;
    color: #333;
    margin-bottom: 20px;
}

.content-section p, .page-content p {
    font-size: 18px;
    color: #666;
    max-width: 800px;
}

/* ============================================ */
/* Tablet Responsive (768px - 968px) */
/* ============================================ */
@media (max-width: 968px) {
    .mobile-toggle {
        display: flex;
        order: 5; 

    }

    .main-navbar {
        width: 100%;
        padding: 5px 0; 
        
    }

    .navbar-content {
        flex-wrap: nowrap;
        gap: 12px;
        
    }

    /* Logo stays first */
    .logo {
        order: 1;
        flex-shrink: 0;
        
    }

    .logo img {
        width: 70px;
        height: 30px;
    }

    /* Search bar stays visible next to logo */
    .search-container {
        order: 2;
        width: auto;
        flex: 1;
        max-width: 400px;
        
    }

    .search-box input {
        padding: 10px 45px 10px 16px;
        font-size: 14px;
        
    }

    .search-icon {
        right: 15px;
        width: 18px;
        height: 18px;
    }

    .search-results {
        max-height: 350px;
        left: 0;
        right: auto;
        min-width: 320px;
        
    }

    /* Nav Links in Sidebar */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 320px;
        height: auto;
        background-color: rgb(178, 187, 252);
        flex-direction: column;
        padding: 90px 25px 25px;
        gap: 0;
        box-shadow: -4px 0 15px rgba(0,0,0,0.15);
        transition: right 0.3s ease;
        z-index: 999;
        overflow-y: auto;

    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        width: 100%;
        border-bottom: 2px solid #f0f0f0;
        
    }

    .nav-links a {
        padding: 16px 0;
        font-size: 16px;
        text-align: center;
    }

    .nav-links a::after {
        display: none;
    }

    /* Nav Actions - Only Login/Logout goes to sidebar */
    .nav-actions {
        position: static;
        right: auto;
        width: auto;
        background: transparent;
        flex-direction: row;
        padding: 0;
        gap: 2px;
        transition: none;
        z-index: auto;
        border-top: none;
        bottom: auto;
        max-height: none;
        overflow-y: visible;
        order: 4;

        
    }

    .nav-actions.active {
        right: auto;
    }

    /* Hide only login/logout from navbar - they go to sidebar */
    .nav-actions .login-btn,
    .nav-actions .logout-btn {
        display: block;
    }
    
    /* Create a separate mobile menu for login/logout */
    .mobile-auth-menu {
        position: fixed;
        top: auto;
        right: -100%;
        width: 320px;
        background-color: #f8f9fa;
        padding: 20px 25px;
        transition: right 0.3s ease;
        z-index: 999;
        border-top: 2px solid #e9ecef;
        bottom: 0;
        
    }

    .mobile-auth-menu.active {
        right: 0;
    }

    /* Keep icon buttons visible in navbar on mobile/tablet */
    .icon-btn {
        /* Reset to normal - stays in navbar */
        width: 100%;
        padding: 10px 10px;
        background: white;
        border-radius: 12px;
        display: flex;
        align-items: center;
        gap: 10px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.08);
        transition: all 0.3s;
    }

    .icon-btn:hover {
        background: #f0f0f0;
        transform: translateX(4px);
    }

    .icon-btn::after {
        content: attr(title);
        font-size: 15px;
        font-weight: 500;
        color: #333;
    }

    .icon-circle {
        width: 34px;
        height: 34px;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        flex-shrink: 0;

    }

    .icon-circle svg {
        fill: white;
    }

    .icon-btn:hover .icon-circle {
        background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
        transform: scale(1.05);
    }

    .cart-count {
        top: -4px;
        right: -4px;
    }

    /* Login/Logout Button Styling - in nav links sidebar */
    .nav-links .login-btn, 
    .nav-links .logout-btn {
        width: 100%;
        justify-content: center;
        padding: 10px 12px;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
        font-size: 15px;
        font-weight: 600;
        border-radius: 12px;
        box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
        margin-top: 10px;
        display: flex !important;
    }

    .nav-links .login-btn:hover, 
    .nav-links .logout-btn:hover {
        background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
        transform: translateY(-2px);
        color: white;
        box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4);
    }

    .nav-links .login-btn svg, 
    .nav-links .logout-btn svg {
        fill: white;
    }

    .whatsapp-btn {
        width: 100%;
        border-radius: 12px;
        height: 50px;
        background: #25D366;
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
    }

    .whatsapp-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
    }

    .banner-section {
        margin-top: 100px;
        height: 500px;
    }

    .banner-content {
        width: 100%;
        padding: 40px 30px;
    }

    .banner-title {
        font-size: 32px;
    }

    .banner-subtitle {
        font-size: 16px;
    }

    .search-cart-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

/* ============================================ */
/* Mobile Responsive (max-width: 768px) */
/* ============================================ */
@media (max-width: 768px) {
    .top-navbar {
        font-size: 11px;
        padding: 6px 0;
    }

    .top-nav-content {
        padding: 0 15px;
        
    }

    .contact-info {
        gap: 30px;
        animation: scrollLeft 25s linear infinite;
        
    }

    .info-item {
        font-size: 11px;
        gap: 6px;
    }

    .info-item .icon {
        width: 14px;
        height: 14px;
        
    }

    .main-navbar {
        top: 20px;
        width: 100%;
        padding: 10px 0;
        
    }

    .main-navbar.sticky {
        top: 0px;
    }

    .navbar-content {
        gap: 5px;

    }

    .logo img {
        height: auto;
    }

    .logo-icon svg {
        width: 38px;
        height: 38px;
        
    }

    .logo-text {
        font-size: 11px;
        
    }

    .logo-text strong {
        font-size: 13px;
    }

    /* Smaller search bar for mobile */
    .search-container {
        max-width: none;
        flex: 1;
    }

    .search-box input {
        padding: 6px 20px 9px 10px;
        font-size: 13px;
        border-radius: 20px;
        
    }

    .search-box input::placeholder {
        font-size: 10px;
    }

    .search-icon {
        right: 12px;
        width: 16px;
        height: 16px;
        
    }

    .search-results {
        min-width: 280px;
        max-height: 300px;
    }

    .search-result-item {
        padding: 12px;
        flex-direction: column;
        align-items: flex-start;
        
    }

    .result-actions {
        width: 100%;
        justify-content: space-between;
        margin-top: 8px;
    }

    .nav-links {
        width: 280px;
        padding: 25px 20px 20px;

    }

    .nav-links a {
        padding: 14px 0;
        font-size: 15px;
    }

    .nav-actions {
        width: 180px;
        padding: 10px 15px;
        gap: 10px;  

    }

    .icon-btn {
        padding: 0;
        background: transparent;
        border-radius: 0;
    }

    .icon-btn::after {
        display: none;
    }

    .icon-circle {
        width: 38px;
        height: 38px;
    }

    .icon-circle svg {
        width: 18px;
        height: 18px;
    }

    .nav-links .login-btn, 
    .nav-links .logout-btn {
        padding: 12px 18px;
        font-size: 14px;
    }

    .nav-links .login-btn svg, 
    .nav-links .logout-btn svg {
        width: 20px;
        height: 20px;
    }

    .whatsapp-btn {
        height: 46px;
        border-radius: 10px;
    }

    .whatsapp-btn svg {
        width: 22px;
        height: 22px;
    }

    .banner-section {
        height: 450px;
        margin-top: 85px;
    }

    .banner-content {
        padding: 30px 20px;
    }

    .banner-title {
        font-size: 26px;
    }

    .banner-subtitle {
        font-size: 15px;
        margin-bottom: 30px;
    }

    .banner-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .btn-primary, .btn-secondary {
        padding: 11px 28px;
        font-size: 15px;
        text-align: center;
        width: 100%;
        max-width: 240px;
    }

    .slider-btn {
        width: 40px;
        height: 40px;
    }

    .slider-btn svg {
        width: 20px;
        height: 20px;
    }

    .slider-btn.prev {
        left: 10px;
    }

    .slider-btn.next {
        right: 10px;
    }

    .slider-dots {
        bottom: 20px;
        gap: 8px;
    }

    .dot {
        width: 10px;
        height: 10px;
    }

    .dot.active {
        width: 24px;
    }

    .content-section, .page-content {
        padding: 60px 0;
    }

    .content-section h2, .page-content h1 {
        font-size: 26px;
    }

    .content-section p, .page-content p {
        font-size: 15px;
    }

    .result-title {
        font-size: 14px;
    }

    .result-current-price {
        font-size: 16px;
    }

    .search-cart-btn {
        width: 38px;
        height: 38px;
        font-size: 15px;
    }
}

/* ============================================ */
/* Very Small Mobile (max-width: 480px) */
/* ============================================ */
@media (max-width: 480px) {
    .top-navbar {
        padding: 5px 0;
        font-size: 10px;
    }

    .top-nav-content {
        padding: 0 10px;
    }

    .contact-info {
        gap: 25px;
        animation: scrollLeft 20s linear infinite;
    }

    .info-item {
        font-size: 10px;
        gap: 5px;
    }

    .info-item .icon {
        width: 12px;
        height: 12px;
    }

    .main-navbar {
        width: 100%;
        padding: 8px 0;
    }

    .navbar-content {
        gap: 5px; 
    }

    .logo img {
        height: 38px;
    }

    .logo-icon svg {
        width: 35px;
        height: 35px;
    }

    .logo-text {
        font-size: 10px;
    }

    .logo-text strong {
        font-size: 12px;
    }

    .mobile-toggle {
        padding: 2px; 
    }

    .toggle-line {
        width: 22px;
        height: 2.5px;
    }

    .search-box input {
        padding: 8px 38px 8px 12px;
        font-size: 12px;
        border-radius: 18px;
        
    }

    .search-box input::placeholder {
        font-size: 10px;
    }

    .search-icon {
        right: 10px;
        width: 10px;
        height: 10px;
    }

    .search-results {
        min-width: 260px;
        max-height: 280px;
    }

    .search-result-item {
        padding: 10px;
    }

    .result-title {
        font-size: 13px;
    }

    .result-current-price {
        font-size: 15px;
    }

    .result-original-price {
        font-size: 11px;
    }

    .nav-links {
        width: 260px;
        padding: 70px 18px 18px;
    }

    .nav-links a {
        padding: 12px 0;
        font-size: 14px;
        text-align: center;
    }

    .nav-actions {
        width: 160px;
        padding: 6px 10px;
        gap: 8px;
    }
    

    .icon-btn {
        padding: 2px 5px;
        border-radius: 8px;
    }

    .icon-btn::after {
        font-size: 13px;
    }

    .icon-circle {
        width: 28px;
        height: 28px;
    }

    .icon-circle svg {
        width: 18px;
        height: 18px;
    }

    .login-btn, .logout-btn {
        padding: 9px 16px;
        font-size: 13px;
        border-radius: 8px;
    }

    .login-btn svg, .logout-btn svg {
        width: 18px;
        height: 18px;
    }

    .whatsapp-btn {
        height: 44px;
        border-radius: 8px;
    }

    .whatsapp-btn svg {
        width: 20px;
        height: 20px;
    }

    .banner-section {
        height: 400px;
        margin-top: 75px;
    }

    .banner-content {
        padding: 25px 15px;
    }

    .banner-title {
        font-size: 22px;
    }

    .banner-subtitle {
        width: 90%;
        margin-left: 5%;
        font-size: 13px;
        margin-bottom: 25px;
    }

    .btn-primary, .btn-secondary {
        padding: 10px 24px;
        font-size: 14px;
        max-width: 220px;
    }

    .slider-btn {
        width: 36px;
        height: 36px;
    }

    .slider-btn svg {
        width: 18px;
        height: 18px;
    }

    .slider-btn.prev {
        left: 8px;
    }

    .slider-btn.next {
        right: 8px;
    }

    .slider-dots {
        bottom: 15px;
        gap: 6px;
    }

    .dot {
        width: 8px;
        height: 8px;
    }

    .dot.active {
        width: 20px;
    }

    .content-section, .page-content {
        padding: 50px 0;
    }

    .content-section h2, .page-content h1 {
        font-size: 24px;
    }

    .content-section p, .page-content p {
        font-size: 14px;
    }

    .search-cart-btn {
        width: 26px;
        height: 26px;
        font-size: 14px;
        border-radius: 8px;
    }

    .search-cart-count {
        font-size: 7px;
        padding: 1px 2px;
    }
}


@media (max-width: 320px) {

    .nav-actions {
        width: 100px;
        padding: 3px 5px;
        gap: 4px;
    }
    

    .icon-btn {
        padding: 2px 3px;
        border-radius: 4px;
    }

    .icon-btn::after {
        font-size: 11px;
    }

    .icon-circle {
        width: 20px;
        height: 20px;
    }

    .icon-circle svg {
        width: 14px;
        height: 14px;
    }

    .login-btn, .logout-btn {
        padding: 4px 10px;
        font-size: 10px;
        border-radius: 8px;
    }

    .login-btn svg, .logout-btn svg {
        width: 14px;
        height: 14px;
    }
    .search-icon {
     display: none;
    }
    .search-box input {
    width: 100%;
    border: 1px solid #e5e7eb;
    font-size: 10px;
    background: transparent;
    }
    .search-results {
        min-width: 200px;
        max-height: 200px;
    }
}


/* Desktop Search Container */
.desktop-search {
    position: relative;
    width: 300px;
}

.search-box {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
}

.search-box input {
    width: 100%;
    padding: 12px 50px 12px 20px;
    border: 2px solid #e5e7eb;
    border-radius: 25px;
    font-size: 15px;
    transition: all 0.3s;
    background: white;
}

.search-box input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.search-loading {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border: 2px solid #e5e7eb;
    border-top-color: #2563eb;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    display: none;
}

.search-loading.active {
    display: block;
}

@keyframes spin {
    to { transform: translateY(-50%) rotate(360deg); }
}

/* Mobile Search Icon */
.mobile-search-icon {
    display: none;
    background: #f5f5f5;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.mobile-search-icon svg {
    width: 22px;
    height: 22px;
    fill: #333;
}

.mobile-search-icon:hover {
    background: #7B68A6;
}

.mobile-search-icon:hover svg {
    fill: white;
}

/* Mobile Bottom Search Bar */
.mobile-search-bar {
    position: fixed;
    bottom: -100%;
    left: 0;
    right: 0;
    background: white;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
    z-index: 1002;
    transition: bottom 0.3s ease;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
}

.mobile-search-bar.active {
    bottom: 0;
}

.mobile-search-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.mobile-search-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #f5f5f5;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.mobile-search-close:hover {
    background: #ff4444;
}

.mobile-search-close:hover svg {
    fill: white;
}

.mobile-search-close svg {
    width: 20px;
    height: 20px;
    fill: #333;
}

.mobile-search-box {
    position: relative;
    margin-bottom: 15px;
}

.mobile-search-icon-input {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    fill: #64748b;
}

.mobile-search-box input {
    width: 100%;
    padding: 14px 50px 14px 50px;
    border: 2px solid #e5e7eb;
    border-radius: 25px;
    font-size: 16px;
    transition: all 0.3s;
}

.mobile-search-box input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.mobile-search-box .search-loading {
    right: 15px;
}

/* Search Results */
.search-results {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    max-height: 400px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
}

.search-results.active {
    display: block;
}

.mobile-search-bar .search-results {
    position: relative;
    top: 0;
    box-shadow: none;
    flex: 1;
    overflow-y: auto;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

.search-result-item {
    padding: 16px;
    border-bottom: 1px solid #f1f5f9;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background: #f8fafc;
}

.result-info {
    flex: 1;
}

.result-title {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.result-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.result-price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.result-current-price {
    font-size: 18px;
    font-weight: 700;
    color: #2563eb;
}

.result-original-price {
    font-size: 12px;
    color: #94a3b8;
    text-decoration: line-through;
    display: block;
}

.result-discount {
    background: #dcfce7;
    color: #166534;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    display: inline-block;
    margin-top: 4px;
}

.search-cart-btn {
    position: relative;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    flex-shrink: 0;
}

.search-cart-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

.search-cart-btn:active {
    transform: translateY(0);
}

.search-cart-btn.in-cart {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    box-shadow: 0 4px 15px rgba(245, 87, 108, 0.4);
}

.search-cart-btn.in-cart:hover {
    box-shadow: 0 6px 20px rgba(245, 87, 108, 0.5);
}

.search-cart-count {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #ff4444;
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 20px;
    text-align: center;
    border: 2px solid white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.search-empty {
    padding: 40px 20px;
    text-align: center;
    color: #64748b;
}

.search-empty-icon {
    font-size: 48px;
    margin-bottom: 12px;
    opacity: 0.5;
}

.search-empty-text {
    font-size: 15px;
}

.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999;
    display: none;
}

.search-overlay.active {
    display: block;
}

.highlight {
    background: #fef3c7;
    font-weight: 600;
    padding: 0 2px;
    border-radius: 2px;
}

.search-results::-webkit-scrollbar {
    width: 6px;
}

.search-results::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 10px;
}

.search-results::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

.search-results::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* ============================================ */
/* RESPONSIVE: 768px */
/* ============================================ */
@media (max-width: 768px) {
    .top-navbar {
        font-size: 11px;
        padding: 6px 0;
    }

    .contact-info {
        gap: 30px;
        animation: scrollLeft 25s linear infinite;
    }

    .info-item {
        font-size: 11px;
        gap: 6px;
    }

    .info-item .icon {
        width: 14px;
        height: 14px;
    }

    .main-navbar {
        top: 20px;
        width: 100%;
        padding: 10px 0;
    }

    .main-navbar.sticky {
        top: 0px;
    }

    .navbar-content {
        gap: 10px;
    }

    .logo img {
        height: 45px;
    }

    .logo-icon svg {
        width: 38px;
        height: 38px;
    }

    .logo-text {
        font-size: 11px;
    }

    .logo-text strong {
        font-size: 13px;
    }

    .mobile-toggle {
        display: flex;
        order: 5;
    }

    /* Hide desktop search, show mobile icon */
    .desktop-search {
        display: none;
    }

    .mobile-search-icon {
        display: flex;
        order: 3;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 320px;
        height: auto;
        background-color: rgb(178, 187, 252);
        flex-direction: column;
        padding: 90px 25px 25px;
        gap: 0;
        box-shadow: -4px 0 15px rgba(0,0,0,0.15);
        transition: right 0.3s ease;
        z-index: 999;
        overflow-y: auto;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
    }

    .nav-links a {
        padding: 16px 0;
        font-size: 16px;
    }

    .nav-links a::after {
        display: none;
    }

    .nav-actions {
        order: 4;
        gap: 10px;
    }

    .icon-circle {
        width: 38px;
        height: 38px;
    }

    .icon-circle svg {
        width: 20px;
        height: 20px;
    }

    .nav-links .login-btn, 
    .nav-links .logout-btn {
        width: 100%;
        justify-content: center;
        padding: 12px 18px;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
        font-size: 15px;
        font-weight: 600;
        border-radius: 12px;
        box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
        margin-top: 10px;
        display: flex !important;
    }

    .nav-links .login-btn:hover, 
    .nav-links .logout-btn:hover {
        background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
        transform: translateY(-2px);
        color: white;
        box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4);
    }

    .nav-links .login-btn svg, 
    .nav-links .logout-btn svg {
        fill: white;
    }
}

/* ============================================ */
/* RESPONSIVE: 426px */
/* ============================================ */
@media (max-width: 426px) {
    .top-navbar {
        padding: 5px 0;
        font-size: 10px;
    }

    .contact-info {
        gap: 25px;
        animation: scrollLeft 20s linear infinite;
    }

    .info-item {
        font-size: 10px;
        gap: 5px;
    }

    .info-item .icon {
        width: 12px;
        height: 12px;
    }

    .main-navbar {
        width: 100%;
        padding: 8px 0;
    }

    .navbar-content {
        gap: 8px;
    }

    .logo img {
        height: 38px;
    }

    .logo-icon svg {
        width: 35px;
        height: 35px;
    }

    .logo-text {
        font-size: 10px;
    }

    .logo-text strong {
        font-size: 12px;
    }

    .mobile-toggle {
        padding: 2px;
    }

    .toggle-line {
        width: 22px;
        height: 2.5px;
    }

    .mobile-search-icon {
        width: 36px;
        height: 36px;
    }

    .mobile-search-icon svg {
        width: 20px;
        height: 20px;
    }

    .nav-links {
        width: 280px;
        padding: 70px 18px 18px;
    }

    .nav-links a {
        padding: 14px 0;
        font-size: 15px;
    }

    .icon-circle {
        width: 34px;
        height: 34px;
    }

    .icon-circle svg {
        width: 18px;
        height: 18px;
    }

    .nav-links .login-btn, 
    .nav-links .logout-btn {
        padding: 10px 16px;
        font-size: 14px;
    }

    .mobile-search-content {
        padding: 15px;
    }

    .mobile-search-box input {
        padding: 12px 45px 12px 45px;
        font-size: 15px;
    }

    .search-result-item {
        padding: 12px;
        flex-direction: column;
        align-items: flex-start;
    }

    .result-actions {
        width: 100%;
        justify-content: space-between;
        margin-top: 8px;
    }

    .result-title {
        font-size: 14px;
    }

    .result-current-price {
        font-size: 16px;
    }

    .search-cart-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

/* ============================================ */
/* RESPONSIVE: 320px */
/* ============================================ */
@media (max-width: 320px) {
    .nav-links {
        width: 260px;
    }

    .icon-circle {
        width: 30px;
        height: 30px;
    }

    .icon-circle svg {
        width: 16px;
        height: 16px;
    }

    .mobile-search-icon {
        width: 32px;
        height: 32px;
    }

    .mobile-search-icon svg {
        width: 18px;
        height: 18px;
    }

    .mobile-search-box input {
        padding: 10px 40px 10px 40px;
        font-size: 14px;
    }

    .mobile-search-icon-input {
        width: 18px;
        height: 18px;
        left: 12px;
    }

    .search-cart-btn {
        width: 36px;
        height: 36px;
        font-size: 15px;
    }

    .result-current-price {
        font-size: 15px;
    }

    .result-original-price {
        font-size: 11px;
    }
}




.recent-searches {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    z-index: 1000;
    display: none;
    max-height: 400px;
    overflow-y: auto;
}

.recent-searches.active {
    display: block;
}

.recent-searches-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid #f0f0f0;
    background: #fafafa;
}

.recent-searches-title {
    font-size: 13px;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.clear-recent-searches {
    background: none;
    border: none;
    color: #ff4444;
    font-size: 12px;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.2s;
    font-weight: 500;
}

.clear-recent-searches:hover {
    background: #fff0f0;
}

.recent-search-item {
    padding: 12px 16px;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid #f5f5f5;
}

.recent-search-item:last-child {
    border-bottom: none;
}

.recent-search-item:hover {
    background: #f8f9fa;
}

.recent-search-icon {
    color: #999;
    font-size: 14px;
    flex-shrink: 0;
}

.recent-search-text {
    flex: 1;
    font-size: 14px;
    color: #333;
}

.recent-search-remove {
    color: #999;
    font-size: 16px;
    padding: 4px 8px;
    border-radius: 4px;
    opacity: 0;
    transition: all 0.2s;
}

.recent-search-item:hover .recent-search-remove {
    opacity: 1;
}

.recent-search-remove:hover {
    background: #f0f0f0;
    color: #ff4444;
}

.no-recent-searches {
    padding: 32px 24px;
    text-align: center;
    color: #999;
    font-size: 14px;
}

.no-recent-searches i {
    font-size: 32px;
    margin-bottom: 8px;
    display: block;
    opacity: 0.5;
}

/* Mobile Recent Searches */
.mobile-recent-searches {
    margin-top: 8px;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    max-height: 400px;
    overflow-y: auto;
}







/* Floating Search Icon */
.floating-search-icon {
    position: fixed;
    top: 130px;
    right: 10px;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, yellow 0%, yellow 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
    z-index: 1003;
}

.floating-search-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.floating-search-icon svg {
    width: 24px;
    height: 24px;
    fill: rgb(8, 8, 8);
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    }
    50% {
        box-shadow: 0 4px 25px rgba(102, 126, 234, 0.7);
    }
}

/* Search Popup Modal */
.search-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 9998;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.search-popup-overlay.active {
    display: block;
    opacity: 1;
}

.search-popup-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 90%;
    max-width: 550px;
    max-height: 90vh;
    background: white;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    display: none;
    overflow: hidden;
    transition: all 0.3s ease;
}

.search-popup-modal.active {
    display: block;
    transform: translate(-50%, -50%) scale(1);
}

/* Popup Header */
.popup-header {
    padding: 20px 24px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
}

.popup-back-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.popup-back-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.popup-back-btn svg {
    width: 30px;
    height: 30px;
    fill: white;
}

.popup-search-input-wrapper {
    flex: 1;
    position: relative;
}

.popup-search-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    font-size: 15px;
    background: rgba(255, 255, 255, 0.9);
    transition: all 0.2s;
}

.popup-search-input:focus {
    outline: none;
    border-color: white;
    background: white;
}

.popup-search-input::placeholder {
    color: #999;
}

/* Popup Content */
.popup-content {
    max-height: calc(90vh - 100px);
    overflow-y: auto;
    padding: 0;
}

/* Tab Buttons */
.popup-tabs {
    display: flex;
    gap: 12px;
    padding: 16px 24px;
    border-bottom: 1px solid #f0f0f0;
}

.popup-tab-btn {
    flex: 1;
    padding: 12px 24px;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    background: #f5f5f5;
    color: #666;
}

.popup-tab-btn.active {
    background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

/* Popular Searches */
.popular-searches-section {
    padding: 20px 24px;
}

.section-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-title-icon {
    font-size: 20px;
}

.popular-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.popular-tag {
    padding: 10px 18px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 20px;
    font-size: 14px;
    color: #495057;
    cursor: pointer;
    transition: all 0.2s;
}

.popular-tag:hover {
    background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
}

/* Frequently Booked Tests */
.frequently-booked-section {
    padding: 0 24px 24px;
}

.test-card {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 12px;
    transition: all 0.3s;
    cursor: pointer;    

}

.test-card:hover {
    border-color: #667eea;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
    transform: translateY(-2px);
}

.test-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.test-card-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.test-card-delivery {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #28a745;
    font-size: 13px;
    font-weight: 500;
}

.test-card-delivery svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.test-add-btn {
    padding: 8px 16px;
    background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.test-add-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.test-add-btn.in-cart {
    background: #28a745;
}

.test-card-info {
    font-size: 13px;
    color: #6c757d;
    margin-bottom: 8px;
}

.test-card-also-known {
    font-size: 12px;
    color: #ff9800;
    font-style: italic;
    margin-bottom: 8px;
    font-weight: 500;
}

.test-card-details {
    font-size: 12px;
    color: #666;
    display: flex;
    align-items: flex-start;
    gap: 6px;
}

.test-card-details svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
    flex-shrink: 0;
    margin-top: 2px;
}

.test-card-price {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
}

.test-price-current {
    font-size: 20px;
    font-weight: 700;
    color: #333;
}

.test-price-original {
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
}

.test-view-details {
    margin-top: 12px;
    color: #667eea;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    transition: all 0.2s;
}

.test-view-details:hover {
    gap: 8px;
}

/* Search Results in Popup */
.popup-search-results {
    padding: 16px 24px;
    max-height: 400px;
    overflow-y: auto;
}

.popup-search-result-item {
    padding: 12px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: all 0.2s;
}

.popup-search-result-item:hover {
    background: #f8f9fa;
}

.popup-search-result-title {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.popup-search-result-price {
    font-size: 14px;
    color: #667eea;
    font-weight: 600;
}

/* Empty State */
.popup-empty-state {
    padding: 40px 24px;
    text-align: center;
    color: #999;
}

.popup-empty-state svg {
    width: 64px;
    height: 64px;
    fill: #e9ecef;
    margin-bottom: 16px;
}

.popup-empty-state-text {
    font-size: 15px;
}

/* Scrollbar */
.popup-content::-webkit-scrollbar {
    width: 6px;
}

.popup-content::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.popup-content::-webkit-scrollbar-thumb {
    background: #667eea;
    border-radius: 3px;
}

.popup-content::-webkit-scrollbar-thumb:hover {
    background: #764ba2;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .floating-search-icon {
        top: auto;
        bottom: 100px;
        right: 5px;
        width: 45px;
        height: 45px;
    }

    .search-popup-modal {
        width: 95%;
        max-height: 95vh;
        border-radius: 20px;
    }

    .popup-header {
        padding: 16px 20px;
    }

    .popular-searches-section,
    .frequently-booked-section {
        padding: 16px 20px;
    }

    .test-card {
        padding: 14px;
    }

    .test-card-title {
        font-size: 15px;
    }
}