/* Tablet */
@media (max-width: 768px) {
    /* Top Bar Mobile */
    .top-bar {
        padding: 8px 0;
        background: var(--balaji-secondary);
        color: white;
    }
    
    .top-bar-content {
        flex-direction: column;
        gap: 6px;
        text-align: center;
    }
    
    .top-bar-left, .top-bar-right {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }
    
    .top-bar a {
        margin-right: 0;
        font-size: 12px;
        color: white;
        padding: 4px 8px;
        border-radius: 4px;
        transition: all 0.3s ease;
    }
    
    .top-bar a:hover {
        background: var(--balaji-primary);
        text-decoration: none;
    }
    
    /* Header Mobile */
    .main-header {
        padding: 8px 0;
        background: white;
        box-shadow: 0 2px 10px rgba(46, 139, 87, 0.15);
        position: sticky;
        top: 0;
        z-index: 1000;
    }
    
    .header-content {
        flex-wrap: wrap;
        gap: 8px;
        align-items: center;
    }
    
    .logo {
        order: 1;
        flex: 1;
    }
    
    .logo h1 {
        font-size: 20px;
        color: var(--balaji-primary);
        font-weight: 700;
    }
    
    .logo .site-logo {
        height: 35px;
        max-width: 160px;
        object-fit: contain;
    }
    
    .header-actions {
        order: 2;
        gap: 8px;
    }
    
    .mobile-menu-toggle {
        display: none !important;
        visibility: hidden !important;
        order: 3;
        background: var(--balaji-primary);
        color: white;
        border: none;
        padding: 8px;
        border-radius: 6px;
        font-size: 18px;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .mobile-menu-toggle:hover {
        background: var(--balaji-secondary);
    }
    
    .search-bar {
        order: 4;
        width: 100%;
        max-width: 100%;
        margin-top: 8px;
    }
    
    .search-bar input {
        padding: 10px 12px;
        font-size: 14px;
        border: 2px solid var(--balaji-border);
        border-radius: 6px 0 0 6px;
    }
    
    .search-bar input:focus {
        border-color: var(--balaji-primary);
        outline: none;
        box-shadow: 0 0 0 3px rgba(46, 139, 87, 0.1);
    }
    
    .search-bar button {
        padding: 10px 15px;
        background: var(--balaji-primary);
        border-radius: 0 6px 6px 0;
        transition: all 0.3s ease;
    }
    
    .search-bar button:hover {
        background: var(--balaji-secondary);
    }
    
    /* Navigation Mobile */
    .main-nav {
        background: var(--balaji-lighter);
        border-bottom: 2px solid var(--balaji-border);
    }
    
    .nav-menu {
        display: none;
        flex-direction: column;
        background: white;
        box-shadow: 0 4px 15px rgba(46, 139, 87, 0.15);
        border-radius: 8px;
        margin-top: 5px;
        overflow: hidden;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid var(--balaji-border);
    }
    
    .nav-menu li:last-child {
        border-bottom: none;
    }
    
    .nav-menu li a {
        border-bottom: none;
        padding: 15px 20px;
        color: var(--balaji-text-dark);
        font-weight: 500;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    
    .nav-menu li a:hover {
        background: var(--balaji-lighter);
        color: var(--balaji-primary);
        padding-left: 25px;
    }
    
    .nav-menu li.has-submenu > a::after {
        content: '\f107';
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        color: var(--balaji-primary);
    }
    
    /* Hero Section Mobile */
    .hero-title {
        font-size: 32px;
        color: white;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
        font-weight: 700;
    }
    
    .hero-subtitle {
        font-size: 18px;
        color: rgba(255,255,255,0.95);
        font-weight: 500;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    
    .btn-hero {
        width: 100%;
        max-width: 280px;
        padding: 12px 30px;
        font-weight: 600;
        border-radius: 25px;
        transition: all 0.3s ease;
    }
    
    .btn-hero-primary {
        background: white;
        color: var(--balaji-primary);
        box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    }
    
    .btn-hero-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(0,0,0,0.3);
        color: var(--balaji-primary);
    }
    
    .btn-hero-secondary {
        background: transparent;
        color: white;
        border: 2px solid white;
    }
    
    .btn-hero-secondary:hover {
        background: white;
        color: var(--balaji-primary);
    }
    
    /* Brands Carousel Mobile */
    .brands-carousel-wrapper {
        padding: 0 30px;
    }
    
    .brands-carousel {
        gap: 15px;
        padding: 15px 0;
    }
    
    .brand-card {
        min-width: 120px;
        padding: 15px;
        border: 2px solid var(--balaji-border);
        border-radius: 10px;
        background: white;
        transition: all 0.3s ease;
    }
    
    .brand-card:hover {
        border-color: var(--balaji-primary);
        box-shadow: 0 6px 20px rgba(46, 139, 87, 0.15);
        transform: translateY(-3px);
    }
    
    .brand-logo-wrapper {
        height: 60px;
    }
    
    .carousel-btn {
        width: 32px;
        height: 32px;
        font-size: 12px;
        background: white;
        border: 2px solid var(--balaji-border);
        color: var(--balaji-primary);
    }
    
    .carousel-btn:hover {
        background: var(--balaji-primary);
        color: white;
        border-color: var(--balaji-primary);
    }
    
    /* Products Grid Mobile */
    .products-grid-premium {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 15px;
    }
    
    .product-card-premium {
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 3px 12px rgba(46, 139, 87, 0.1);
        background: white;
        transition: all 0.3s ease;
    }
    
    .product-card-premium:hover {
        transform: translateY(-5px);
        box-shadow: 0 6px 25px rgba(46, 139, 87, 0.2);
    }
    
    .product-image-premium {
        height: 180px;
        background: var(--balaji-lighter);
    }
    
    .product-info-premium {
        padding: 12px;
    }
    
    .product-name-premium {
        font-size: 14px;
        min-height: 35px;
        color: var(--balaji-text-dark);
        font-weight: 600;
    }
    
    .price-new {
        color: var(--balaji-primary);
        font-size: 18px;
        font-weight: 700;
    }
    
    .btn-whatsapp-order {
        background: #25D366;
        padding: 10px;
        font-size: 13px;
        border-radius: 6px;
        transition: all 0.3s ease;
    }
    
    .btn-whatsapp-order:hover {
        background: #128C7E;
        transform: scale(1.02);
    }
    
    /* Product Tabs Mobile */
    .product-tabs {
        flex-wrap: wrap;
        gap: 8px;
        margin-bottom: 25px;
    }
    
    .tab-btn {
        padding: 8px 16px;
        font-size: 13px;
        border: 2px solid var(--balaji-border);
        border-radius: 20px;
        background: white;
        color: var(--balaji-text-dark);
        font-weight: 500;
        transition: all 0.3s ease;
    }
    
    .tab-btn.active {
        background: var(--balaji-primary);
        color: white;
        border-color: var(--balaji-primary);
        box-shadow: 0 3px 10px rgba(46, 139, 87, 0.3);
    }
    
    .tab-btn:hover {
        border-color: var(--balaji-primary);
        color: var(--balaji-primary);
    }
    
    .tab-btn.active:hover {
        color: white;
    }
    
    /* CTA Section Mobile */
    .cta-text h2 {
        font-size: 28px;
        color: white;
        font-weight: 700;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    }
    
    .cta-text p {
        font-size: 16px;
        color: rgba(255,255,255,0.95);
        font-weight: 400;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    
    .btn-cta {
        width: 100%;
        max-width: 280px;
        padding: 12px 30px;
        font-size: 16px;
        font-weight: 600;
        border-radius: 25px;
        transition: all 0.3s ease;
    }
    
    .btn-cta-whatsapp {
        background: #25D366;
        color: white;
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    }
    
    .btn-cta-whatsapp:hover {
        background: #128C7E;
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    }
    
    .btn-cta-call {
        background: white;
        color: var(--balaji-primary);
        box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    }
    
    .btn-cta-call:hover {
        background: #f8f9fa;
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(0,0,0,0.3);
        color: var(--balaji-primary);
    }
    
    /* Footer Mobile */
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .footer-col h3 {
        color: white;
        font-size: 16px;
        margin-bottom: 12px;
        font-weight: 600;
    }
    
    .footer-col ul li {
        margin-bottom: 8px;
        font-size: 14px;
    }
    
    .footer-col a {
        color: rgba(255,255,255,0.8);
        transition: all 0.3s ease;
    }
    
    .footer-col a:hover {
        color: var(--balaji-accent);
        padding-left: 5px;
    }
    
    .social-links a {
        background: rgba(255,255,255,0.1);
        border: 1px solid rgba(255,255,255,0.2);
        transition: all 0.3s ease;
    }
    
    .social-links a:hover {
        background: var(--balaji-primary);
        border-color: var(--balaji-primary);
        transform: translateY(-2px);
    }
}

/* Mobile */
@media (max-width: 480px) {
    /* Body Mobile */
    body {
        font-size: 14px;
        line-height: 1.5;
    }
    
    .container {
        padding: 0 12px;
    }
    
    /* Top Bar Mobile */
    .top-bar {
        padding: 6px 0;
        font-size: 11px;
        background: var(--balaji-secondary);
        color: white;
    }
    
    .top-bar-content {
        gap: 4px;
    }
    
    .top-bar a {
        font-size: 10px;
        padding: 3px 6px;
        margin-right: 6px;
        color: white;
        border-radius: 3px;
        transition: all 0.3s ease;
    }
    
    .top-bar a:hover {
        background: var(--balaji-primary);
        text-decoration: none;
    }
    
    .top-bar a i {
        font-size: 10px;
        margin-right: 3px;
    }
    
    /* Header Mobile */
    .main-header {
        padding: 8px 0;
        box-shadow: 0 2px 8px rgba(46, 139, 87, 0.1);
        background: white;
        position: sticky;
        top: 0;
        z-index: 1000;
    }
    
    .header-content {
        gap: 6px;
        align-items: center;
    }
    
    .logo h1 {
        font-size: 18px;
        font-weight: 700;
        color: var(--balaji-primary);
        margin: 0;
    }
    
    .logo .site-logo {
        height: 32px;
        max-width: 140px;
        object-fit: contain;
    }
    
    .mobile-menu-toggle {
        display: none !important;
        visibility: hidden !important;
        font-size: 20px;
        padding: 6px;
        background: var(--balaji-primary);
        color: white;
        border: none;
        border-radius: 5px;
        transition: all 0.3s ease;
    }
    
    .mobile-menu-toggle:hover {
        background: var(--balaji-secondary);
        transform: scale(1.05);
    }
    
    .search-bar {
        margin-top: 6px;
    }
    
    .search-bar input {
        padding: 8px 10px;
        font-size: 13px;
        border: 2px solid var(--balaji-border);
        border-radius: 5px 0 0 5px;
    }
    
    .search-bar input:focus {
        border-color: var(--balaji-primary);
        outline: none;
        box-shadow: 0 0 0 2px rgba(46, 139, 87, 0.1);
    }
    
    .search-bar button {
        padding: 8px 12px;
        background: var(--balaji-primary);
        border-radius: 0 5px 5px 0;
    }
    
    .search-bar button:hover {
        background: var(--balaji-secondary);
    }
    
    /* Navigation Mobile */
    .main-nav {
        padding: 0;
        box-shadow: 0 2px 5px rgba(46, 139, 87, 0.1);
        background: var(--balaji-lighter);
    }
    
    .nav-menu {
        background: white;
        border-radius: 8px;
        margin: 5px 12px;
        overflow: hidden;
        box-shadow: 0 4px 15px rgba(46, 139, 87, 0.15);
    }
    
    .nav-menu li a {
        padding: 12px 15px;
        font-size: 14px;
        font-weight: 500;
        color: var(--balaji-text-dark);
        border-bottom: 1px solid var(--balaji-border);
        transition: all 0.3s ease;
    }
    
    .nav-menu li:last-child a {
        border-bottom: none;
    }
    
    .nav-menu li a:hover {
        background: var(--balaji-lighter);
        color: var(--balaji-primary);
        padding-left: 20px;
    }
    
    .nav-menu li.has-submenu > a {
        position: relative;
    }
    
    .nav-menu li.has-submenu > a::after {
        content: '\f107';
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        position: absolute;
        right: 15px;
        color: var(--balaji-primary);
        font-size: 12px;
    }
    
    /* Hero Section Mobile */
    .hero-banner-section {
        padding: 8px 0;
    }
    
    .hero-banner-grid {
        gap: 8px;
    }
    
    /* Hero Slider Mobile */
    .hero-slider-container {
        height: 300px;
        border-radius: 10px;
        overflow: hidden;
    }
    
    .hero-slide {
        width: 100%;
        height: 100%;
    }
    
    .hero-slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center center;
        display: block;
    }
    
    .slide-content {
        left: 20px;
        max-width: 280px;
        color: white !important;
    }
    
    .slide-content h2 {
        font-size: 24px;
        margin-bottom: 10px;
        color: white !important;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    }
    
    .slide-content p {
        font-size: 14px;
        margin-bottom: 15px;
        color: white !important;
        text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
    }
    
    .slide-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    /* Hide navigation arrows on mobile */
    .slider-nav {
        display: none !important;
    }
    
    .slider-dots {
        bottom: 15px;
    }
    
    .dot {
        width: 10px;
        height: 10px;
    }
    
    .side-banners-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-top: 15px;
    }
    
    .side-banner-item {
        padding: 20px;
    }
    
    .side-banner-item h3 {
        font-size: 18px;
    }
    
    .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;
    }
}

@media (max-width: 480px) {
    .hero-slide img {
        width: 100% !important;
        height: 100% !important;
        object-fit: fill !important;
        object-position: center center !important;
        display: block !important;
    }
    
    .hero-slider-container .hero-slide img {
        width: 100% !important;
        height: 100% !important;
        object-fit: fill !important;
        object-position: center center !important;
        display: block !important;
    }
    
    .slide-image-link img {
        width: 100% !important;
        height: 100% !important;
        object-fit: fill !important;
        object-position: center center !important;
        display: block !important;
    }
}

@media (max-width: 768px) {
    .price-hero h1 {
        font-size: 2rem;
        color: white;
    }
    
    .price-hero p {
        font-size: 1rem;
        color: white;
    }
    
    /* Price List Mobile Responsive */
    .price-list-container {
        padding: 10px;
    }
    
    .price-hero {
        padding: 40px 15px;
    }
    
    .category-header {
        font-size: 1.2rem;
        padding: 15px 20px;
    }
    
    /* Make table responsive */
    .price-table {
        font-size: 14px;
    }
    
    .price-table th,
    .price-table td {
        padding: 8px 5px;
        font-size: 12px;
    }
    
    /* Stack table content vertically on mobile */
    .price-table thead {
        display: none;
    }
    
    .price-table tbody tr {
        display: block;
        border: 1px solid #e9ecef;
        margin-bottom: 15px;
        border-radius: 8px;
        background: white;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }
    
    .price-table tbody td {
        display: block;
        padding: 10px 15px;
        border: none;
        border-bottom: 1px solid #f8f9fa;
        position: relative;
        padding-left: 35%;
    }
    
    .price-table tbody td:last-child {
        border-bottom: none;
    }
    
    .price-table tbody td:before {
        content: attr(data-label);
        position: absolute;
        left: 15px;
        width: 30%;
        font-weight: 600;
        color: #495057;
        top: 10px;
    }
    
    /* Fix WhatsApp button on mobile */
    .whatsapp-btn {
        width: 100%;
        justify-content: center;
        padding: 10px 15px;
        font-size: 14px;
        border-radius: 25px;
        margin-top: 5px;
    }
    
    /* Contact buttons responsive */
    .contact-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    /* Jump navigation responsive */
    .jump-buttons {
        grid-template-columns: 1fr;
    }
    
    .jump-btn {
        padding: 15px;
    }
    
    /* Info grid responsive */
    .info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Back to top button mobile */
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}


/* ========================================
   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;
    }
}
