/* Responsive Styles */

/* Tablets */
@media screen and (max-width: 992px) {
    .checkout-container {
        grid-template-columns: 1fr;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .cart-sidebar {
        width: 300px;
    }
}

/* Mobile Phones */
@media screen and (max-width: 768px) {
    header {
        padding: 1rem;
    }
    
    .menu-toggle {
        display: block;
    }
    
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 250px;
        height: 100%;
        background-color: var(--white-color);
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 1000;
    }
    
    nav.open {
        right: 0;
    }
    
    nav ul {
        flex-direction: column;
        padding: 2rem;
    }
    
    nav ul li {
        margin: 0 0 1.5rem 0;
    }
    
    .hero {
        height: 300px;
    }
    
    .hero h2 {
        font-size: 1.8rem;
    }
    
    .products-section,
    .checkout-section {
        padding: 2rem 1rem;
    }
    
    .products-container {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 1.5rem;
    }
    
    .cart-sidebar {
        width: 100%;
        right: -100%;
    }
    
    .modal-content {
        padding: 1.5rem;
        margin: 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* Small Mobile Phones */
@media screen and (max-width: 480px) {
    header h1 {
        font-size: 1.2rem;
    }
    
    #logo {
        width: 40px;
        height: 40px;
    }
    
    .hero h2 {
        font-size: 1.5rem;
    }
    
    .product-filters {
        flex-direction: column;
        align-items: center;
    }
    
    .filter-btn {
        margin: 0 0 0.5rem 0;
        width: 200px;
    }
    
    .products-container {
        grid-template-columns: 1fr;
    }
}

/* Landscape Mode */
@media screen and (max-height: 500px) and (orientation: landscape) {
    .hero {
        height: 200px;
    }
    
    .cart-sidebar,
    nav {
        padding-bottom: 100px;
    }
}