/* Base Mobile Styles (Mobile First) */
@media (max-width: 767px) {
    .container {
        padding: 0 1rem;
    }

    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background: var(--primary-color);
        padding: 1.5rem;
        z-index: 99;
        flex-direction: column;
        transition: left 0.3s ease;
    }

    .nav-links.active {
        left: 0;
    }

    .hero {
        height: 50vh;
        margin-top: 65px;
    }

    .hero-content h1 {
        font-size: 1.4rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .product-image {
        height: 160px;
    }
}

/* Tablet Screens */
@media (min-width: 768px) and (max-width: 1023px) {
    .container {
        padding: 0 2rem;
    }

    .mobile-menu-btn {
        display: none;
    }

    .nav-links {
        position: static;
        display: flex;
        background: none;
        box-shadow: none;
        padding: 0;
    }

    .hero {
        height: 45vh;
        margin-top: 80px;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .product-image {
        height: 200px;
    }
}

/* Touch Optimization */
.category-btn,
.nav-links a,
.footer-section a {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

/* Performance */
.product-card,
.hero,
.nav-links {
    will-change: transform;
    backface-visibility: hidden;
}

/* Transitions */
.nav-links,
.hero-content,
.product-card,
.category-btn {
    transition: all 0.3s ease;
}
