/* Responsive Styles for VESTIA E-commerce Site */

/* Mobile-first approach: styles defined in styles.css are for mobile by default */

/* Small devices (phones, 600px and down) */
@media (max-width: 600px) {
    .container {
        padding: 0 15px;
    }

    .header-content {
        flex-wrap: wrap;
        justify-content: center;
    }

    .logo {
        font-size: 1.5em;
        margin-bottom: 10px;
    }

    .main-nav {
        display: none; /* Hidden on mobile, replaced by hamburger */
    }

    .header-icons {
        gap: 15px;
        font-size: 1em;
    }

    .hamburger-menu {
        display: block; /* Show hamburger on mobile */
        position: absolute;
        left: 15px;
        top: 50%;
        transform: translateY(-50%);
    }

    .hero {
        height: 60vh;
    }

    .hero-content h1 {
        font-size: 2.5em;
    }

    .hero-content p {
        font-size: 1.2em;
    }

    .product-grid {
        grid-template-columns: 1fr; /* Single column on small screens */
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-section {
        min-width: unset;
        width: 100%;
        margin-bottom: 20px;
    }

    .social-links, .payment-icons {
        justify-content: center;
    }

    .newsletter-form {
        justify-content: center;
    }

    .slide-in-panel {
        width: 100%; /* Full width on mobile */
    }

    .search-input-wrapper input {
        font-size: 1.2em;
    }
}

/* Medium devices (tablets, 601px to 992px) */
@media (min-width: 601px) and (max-width: 992px) {
    .main-nav ul {
        gap: 20px;
    }

    .header-icons {
        gap: 20px;
    }

    .hero {
        height: 70vh;
    }

    .hero-content h1 {
        font-size: 3.5em;
    }

    .hero-content p {
        font-size: 1.3em;
    }

    .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .footer-content {
        justify-content: space-around;
    }
}

/* Large devices (desktops, 993px and up) */
@media (min-width: 993px) {
    .main-nav {
        display: block; /* Ensure main nav is visible on desktop */
    }

    .hamburger-menu {
        display: none; /* Hide hamburger on desktop */
    }

    .header-content {
        justify-content: space-between;
    }

    .logo {
        margin-bottom: 0;
    }
}