/* iPhone & Mobile Responsive Styles */
@media only screen and (max-width: 767px) {
    /* General adjustments */
    body {
        margin-top: 160px; /* Increased to accommodate both top bar and header */
    }
    
    /* Top bar adjustments */
    .top-bar {
        font-size: 12px;
        padding: 5px 10px;
    }
    
    /* Header adjustments */
    header {
        padding: 10px 0;
        min-height: auto;
    }
    
    .header-top {
        flex-direction: column;
        align-items: stretch;
    }
    
    .logo {
        width: 80px;
        margin: 10px;
        margin-left:50px;
        margin-top:20px;
    }
    
    .search-bar {
        margin: 10px 15px;
        order: 3;
        margin-top:-20px;
    }
    
    .icons {
        gap: 20px;
        margin: 10px auto;
        font-size: 20px;
        justify-content: center;
       
    }
    
    /* Navigation adjustments */
    .navbar {
        margin-left: 0;
    }
    
    .menu-toggle {
        display: block;
        position: absolute;
        left: 15px;
        top: 15px;
    }
    
    .navbar ul {
        display: none;
        flex-direction: column;
        gap: 10px;
        padding: 15px;
        background-color: white;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }
    
    .navbar ul.show {
        display: flex;
    }
    
    .navbar ul li a {
        display: block;
        padding: 10px;
    }
    
    /* Banner adjustments */
    .banner img {
        height: 250px;
    }
    
    /* Product grid adjustments */
    .container {
        flex-direction: column;
        padding: 10px;
    }
    
    .filters {
        width: 100%;
        margin-bottom: 20px;
    }
    
    .collection {
        width: 100%;
        margin-left: 0;
    }
    
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .product-card {
        width: 100%;
        max-width: 160px;
    }
    
    .product-card img {
        height: 120px;
    }
    
    /* New arrivals adjustments */
    .arrivals-product {
        gap: 15px;
        padding: 10px 5px;
    }
    
    .arrivals-card {
        width: 160px;
        height: 240px;
    }
    
    .arrivals-card img {
        width: 120px;
        height: 120px;
    }
    
    /* Review section adjustments */
    .review-section-container {
        padding: 10px;
    }
    
    .review-card {
        width: 200px;
        height: 240px;
    }
    
    .review-card img {
        max-width: 100px;
        height: 100px;
    }
    
    /* Footer adjustments */
    .footer-sections {
        flex-direction: column;
        gap: 20px;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .map-image img {
        max-width: 90%;
    }
    
    /* Modal adjustments */
    .modal-content {
        width: 90%;
        padding: 20px;
    }
    
    /* Image hover effect adjustments */
    .image-container {
        height: 150px;
    }
    
    /* Additional content adjustments */
    .content {
        max-width: 100%;
    }
    
    .image {
        margin-left: 0;
        max-height: 200px;
    }
}

/* iPhone landscape specific adjustments */
@media only screen and (max-width: 767px) and (orientation: landscape) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .arrivals-card {
        width: 140px;
        height: 220px;
    }
    
    .arrivals-card img {
        width: 100px;
        height: 100px;
    }
}

/* Very small devices (e.g., iPhone 5/SE) */
@media only screen and (max-width: 320px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .product-card {
        max-width: 140px;
    }
    
    .arrivals-card {
        width: 140px;
        height: 220px;
    }
}