/* Tablet */
@media (max-width: 768px) {
    /* Top Bar Mobile */
    .top-bar {
        padding: 10px 0;
    }
    
    .top-bar-content {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    
    .top-bar-left, .top-bar-right {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    
    .top-bar a {
        margin-right: 0;
        font-size: 13px;
    }
    
    /* Header Mobile */
    .main-header {
        padding: 10px 0;
    }
    
    .header-content {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .logo {
        order: 1;
    }
    
    .logo h1 {
        font-size: 24px;
    }
    
    .header-actions {
        order: 2;
        gap: 10px;
    }
    
    .mobile-menu-toggle {
        display: block;
        order: 3;
    }
    
    .search-bar {
        order: 4;
        width: 100%;
        max-width: 100%;
        margin-top: 5px;
    }
    
    .search-bar input {
        padding: 8px 12px;
        font-size: 13px;
    }
    
    .search-bar button {
        padding: 8px 15px;
    }
    
    /* Navigation Mobile */
    .nav-menu {
        display: none;
        flex-direction: column;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu li {
        width: 100%;
    }
    
    .nav-menu li a {
        border-bottom: 1px solid var(--border-color);
        padding: 12px 15px;
    }
    
    .hero-title {
        font-size: 38px;
    }
    
    .hero-subtitle {
        font-size: 20px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-hero {
        width: 100%;
        max-width: 300px;
    }
    
    .brands-carousel-wrapper {
        padding: 0 40px;
    }
    
    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .products-grid-premium {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 20px;
    }
    
    .product-tabs {
        flex-wrap: wrap;
    }
    
    .tab-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .cta-text h2 {
        font-size: 32px;
    }
    
    .cta-text p {
        font-size: 16px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-cta {
        width: 100%;
        max-width: 300px;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 480px) {
    /* Body Mobile */
    body {
        font-size: 14px;
    }
    
    /* Top Bar Mobile */
    .top-bar {
        padding: 6px 0;
        font-size: 11px;
    }
    
    .top-bar-content {
        gap: 4px;
    }
    
    .top-bar a {
        font-size: 10px;
        padding: 2px 6px;
        margin-right: 8px;
    }
    
    .top-bar a i {
        font-size: 11px;
    }
    
    /* Header Mobile */
    .main-header {
        padding: 10px 0;
        box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    }
    
    .header-content {
        gap: 8px;
    }
    
    .logo h1 {
        font-size: 22px;
        font-weight: 700;
    }
    
    .mobile-menu-toggle {
        font-size: 24px;
        padding: 5px;
    }
    
    .search-bar {
        margin-top: 8px;
    }
    
    .search-bar input {
        padding: 10px 12px;
        font-size: 13px;
        border-radius: 6px 0 0 6px;
    }
    
    .search-bar button {
        padding: 10px 15px;
        border-radius: 0 6px 6px 0;
    }
    
    /* Navigation Mobile */
    .main-nav {
        padding: 0;
        box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    }
    
    .nav-menu {
        background: white;
    }
    
    .nav-menu li a {
        padding: 12px 15px;
        font-size: 14px;
        font-weight: 500;
    }
    
    .nav-menu li a:hover {
        background: #f8f9fa;
    }
    
    /* Hero Section Mobile */
    .hero-banner-section {
        padding: 8px 0;
    }
    
    .hero-banner-grid {
        gap: 8px;
    }
    
    .main-hero-banner {
        height: 250px;
        border-radius: 10px;
    }
    
    .hero-content-overlay {
        padding: 25px 15px;
    }
    
    .hero-content-overlay h1 {
        font-size: 22px;
        margin-bottom: 8px;
        line-height: 1.2;
    }
    
    .hero-content-overlay p {
        font-size: 13px;
        margin-bottom: 15px;
    }
    
    .hero-shop-btn {
        padding: 10px 30px;
        font-size: 14px;
        border-radius: 25px;
        font-weight: 600;
        max-width: 180px;
    }
    
    .side-banners {
        gap: 8px;
    }
    
    .side-banner-item {
        height: 90px;
        padding: 12px;
        border-radius: 10px;
    }
    
    .side-banner-item h3 {
        font-size: 15px;
        margin-bottom: 4px;
        font-weight: 700;
    }
    
    .side-banner-item p {
        font-size: 11px;
    }
    
    /* Section Spacing */
    .section-title {
        font-size: 20px;
        font-weight: 700;
    }
    
    /* Footer Mobile */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .footer-col h3 {
        font-size: 16px;
        margin-bottom: 12px;
    }
    
    .footer-col ul li {
        margin-bottom: 6px;
        font-size: 13px;
    }
    
    .footer-bottom {
        padding-top: 15px;
        font-size: 12px;
    }
}


/* ========================================
   FORCE ORDER NOW BUTTON ON MOBILE
   Remove all cart-related buttons
======================================== */
@media (max-width: 768px) {
    /* Hide all Add to Cart buttons */
    .btn-add-to-cart,
    button[onclick*="addToCart"],
    a[onclick*="addToCart"],
    .add-to-cart-btn,
    .cart-button {
        display: none !important;
        visibility: hidden !important;
    }
    
    /* Ensure Order Now button is always visible and styled correctly */
    .btn-order-now,
    button[onclick*="openOrderModal"] {
        display: flex !important;
        visibility: visible !important;
        width: 100%;
        padding: 10px 16px !important;
        background: linear-gradient(135deg, #ff6b35 0%, #ff8c5a 100%) !important;
        color: white !important;
        border: none !important;
        border-radius: 6px !important;
        cursor: pointer;
        font-size: 13px !important;
        font-weight: 600 !important;
        align-items: center;
        justify-content: center;
        gap: 8px;
        margin: 8px !important;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        box-shadow: 0 3px 12px rgba(255, 107, 53, 0.3) !important;
    }
    
    .btn-order-now:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 20px rgba(255, 107, 53, 0.45) !important;
    }
}
