/* Theme Three Responsive Styles */

/* Extra Large Devices */
@media (min-width: 1200px) {
    .container {
        max-width: 1200px;
    }
    
    .hero-content h1 {
        font-size: 3.5rem;
    }
    
    .categories-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Large Devices */
@media (max-width: 1199px) and (min-width: 992px) {
    .container {
        max-width: 960px;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Medium Devices */
@media (max-width: 991px) and (min-width: 768px) {
    .container {
        max-width: 720px;
    }
    
    .header-top {
        padding: 0 15px;
    }
    
    .main-nav ul {
        gap: 20px;
    }
    
    .main-nav a {
        font-size: 13px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablet and Mobile Devices - Mobile Breakpoint at 992px */
@media (max-width: 992px) {
    .container {
        max-width: 720px;
    }
    
    /* Header Mobile Layout */
    .header-top {
        padding: 0 15px;
    }
    
    .logo img {
        height: 45px;
    }
    
    /* Hide Desktop Elements on Mobile/Tablet */
    .desktop-search {
        display: none !important;
    }
    
    .desktop-actions {
        display: none !important;
    }
    
    .main-nav {
        display: none !important;
    }
    
    /* Show Mobile Toggle Button */
    .mobile-menu-toggle {
        display: block !important;
    }
    
    /* Adjust Header Actions for Mobile */
    .header-actions {
        gap: 10px;
    }
    
    .header-actions a {
        font-size: 16px;
    }
}

/* Small Devices - Additional Mobile Optimizations */
@media (max-width: 768px) {
    .container {
        max-width: 540px;
    }
    
    .header-top {
        padding: 0 12px;
    }
    
    .logo img {
        height: 42px;
    }
    
    .hero-section {
        /* margin-top: 70px; */
        padding: 40px 0;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .hero-btn {
        padding: 12px 25px;
        font-size: 14px;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .categories-section,
    .products-section {
        padding: 60px 0;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .product-image {
        height: 200px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .footer-bottom-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
}

/* Extra Small Devices */
@media (max-width: 575px) {
    .container {
        max-width: 100%;
        padding: 0 15px;
    }
    
    /* Header Adjustments for Very Small Screens */
    .header-top {
        padding: 0 10px;
    }
    
    .logo img {
        height: 36px;
    }
    
    .header-actions {
        gap: 8px;
    }
    
    .header-actions a {
        font-size: 14px;
    }
    
    /* Mobile Menu Adjustments */
    .mobile-menu-container {
        width: 100%;
        max-width: 95%;
    }
    
    .mobile-menu-header .logo img {
        height: 35px;
    }
    
    .mobile-nav-menu li a {
        font-size: 14px;
        padding: 14px 18px;
    }
    
    .mobile-search {
        padding: 15px;
    }
    
    .mobile-menu-footer {
        padding: 15px;
    }
    
    .hero-section {
        /* margin-top: 60px; */
        padding: 16px 0;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-content p {
        font-size: 0.9rem;
    }
    
    .hero-btn {
        padding: 10px 20px;
        font-size: 13px;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .section-title p {
        font-size: 1rem;
    }
    
    .categories-section,
    .products-section {
        padding: 50px 0;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    /* .category-card img,
    .product-image {
        height: 180px;
    } */
    
    .product-info {
        padding: 15px;
    }
    
    .product-title {
        font-size: 1rem;
    }
    
    .current-price {
        font-size: 1.1rem;
    }
    
    .add-to-cart {
        padding: 10px;
        font-size: 13px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .footer-section h4 {
        font-size: 1.1rem;
    }
    
    .footer-links a,
    .contact-info p {
        font-size: 0.9rem;
    }
    
    .social-links {
        gap: 10px;
    }
    
    .social-link {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
}

/* Landscape Orientation */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-section {
        padding: 20px 0;
    }
    
    .hero-content h1 {
        font-size: 1.5rem;
    }
    
    .hero-content p {
        font-size: 0.9rem;
    }
    
    .categories-section,
    .products-section {
        padding: 40px 0;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo img,
    .footer-logo img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Print Styles */
@media print {
    .theme3-header,
    .theme3-footer,
    .mobile-menu,
    .hero-btn,
    .add-to-cart,
    .action-btn {
        display: none !important;
    }
    
    .hero-section {
        margin-top: 0;
        background: none !important;
        color: #000 !important;
    }
    
    .product-card,
    .category-card {
        break-inside: avoid;
        box-shadow: none !important;
        border: 1px solid #ddd;
    }
}
.toast-warning {
    background-color: #f39c12 !important;
    color: #fff !important;
}