/* assets/css/responsive.css - Media queries and responsive adjustments */

@media (max-width: 1024px) {
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cart-grid {
        grid-template-columns: 1fr;
    }

    .product-detail-grid {
        gap: 32px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }

    .navbar-inner {
        flex-wrap: wrap;
    }

    .search-form {
        order: 3;
        max-width: 100%;
        width: 100%;
    }

    .nav-menu {
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 8px;
        width: 100%;
        gap: 18px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-subtitle {
        margin: 0 auto 28px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-image-wrap {
        height: 280px;
    }

    .hero-image-wrap img {
        height: 100%;
    }

    .product-detail-grid {
        grid-template-columns: 1fr;
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .cart-table th, .cart-table td {
        padding: 10px 8px;
        font-size: 13px;
    }

    .cart-product-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .cart-product-img {
        width: 50px;
        height: 50px;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }
}
