/* Mobile Responsive Styles */
@media (max-width: 630px) {
    /* Header adjustments */
    body {
        margin-top: 160px; /* Increase top margin for stacked header */
    }
    
    .header-top {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .logo {
        margin: 10px 0 0 20px;
        width: 80px;
    }
    
    .search-bar {
        margin: 10px 20px;
        width: calc(100% - 40px);
    }
    
    .icons {
        margin: 10px 20px;
        gap: 20px;
    }
    
    /* Navbar adjustments */
    .navbar {
        margin-left: 0;
    }
    
    .navbar ul {
        flex-direction: column;
        gap: 10px;
        display: none; /* Hide by default on mobile */
    }
    
    .navbar.active ul {
        display: flex; /* Show when active */
    }
    
    /* Menu toggle for mobile */
    .menu-toggle {
        display: block;
        position: absolute;
        right: 20px;
        top: 20px;
    }
    
    /* Product grid adjustments */
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .product-card {
        width: 160px;
    }
    
    /* Collection section */
    .collection {
        width: 100%;
        margin-left: 0;
        padding: 10px;
    }
    
    /* Banner image */
    .banner img {
        height: 300px;
    }
    
    /* Parent product image */
    .parent-product img {
        height: 300px;
    }
    
    /* Footer adjustments */
    .footer-sections {
        flex-direction: column;
        gap: 20px;
    }
    
    /* New arrivals section */
    .arrivals-product {
        gap: 15px;
    }
    
    .arrivals-card {
        width: 180px;
        height: 250px;
    }
    
    .arrivals-card img {
        width: 120px;
        height: 120px;
    }
    
    /* Review section */
    .review-card {
        width: 200px;
        height: 240px;
    }
    
    /* Top bar */
    .top-bar {
        font-size: 12px;
        padding: 5px 10px;
    }
}

@media (max-width: 360px) {
    /* Further adjustments for very small screens */
    body {
        margin-top: 180px;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .product-card {
        width: 100%;
        max-width: 200px;
    }
    
    .arrivals-card {
        width: 150px;
        height: 220px;
    }
    
    .arrivals-card img {
        width: 100px;
        height: 100px;
    }
    
    .review-card {
        width: 160px;
        height: 220px;
    }
    
    .review-card img {
        width: 80px;
        height: 80px;
    }
    
    /* Hide some elements to save space */
    .collection h3 {
        font-size: 13px;
    }
    
    .icons {
        font-size: 20px;
        gap: 15px;
    }
    
    /* Adjust modal for small screens */
    .modal-content {
        padding: 15px;
    }
    
    .social-login a {
        font-size: 12px;
        padding: 8px;
    }
}