/* =========================================================
   RIAZ CLOTH SHOP
   RESPONSIVE STYLESHEET
========================================================= */


/* =========================
   LARGE TABLETS
========================= */

@media (max-width: 1100px) {

    .navbar {
        gap: 15px;
    }

    .navbar > a {
        font-size: 13px;
    }

    .category-grid,
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* =========================
   TABLETS
========================= */

@media (max-width: 900px) {

    .section {
        padding: 70px 0;
    }


    /* HEADER */

    .menu-toggle {
        display: block;
    }


    .navbar {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 12px 5%;
        background: white;
        border-top: 1px solid var(--border);
        box-shadow: 0 15px 25px rgba(0, 0, 0, 0.08);
    }


    .navbar.show {
        display: flex;
    }


    .navbar > a {
        width: 100%;
        padding: 12px 5px;
        border-bottom: 1px solid #f0e9e2;
    }


    .navbar > a::after {
        display: none;
    }


    .cart-link {
        justify-content: flex-start;
    }


    /* HERO */

    .hero {
        height: 600px;
    }


    .hero-content {
        padding-left: 5%;
        padding-right: 5%;
    }


    .hero-content h1 {
        font-size: 55px;
    }


    /* ABOUT */

    .about-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }


    .about-image {
        max-width: 700px;
        margin: auto;
    }


    /* PRODUCTS */

    .category-grid,
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }


    /* CONTACT */

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }


    /* CHECKOUT */

    .checkout-grid {
        grid-template-columns: 1fr;
    }


    /* FOOTER */

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px;
    }

}


/* =========================
   MOBILE
========================= */

@media (max-width: 600px) {

    .container {
        width: 92%;
    }


    .section {
        padding: 55px 0;
    }


    .section-heading {
        margin-bottom: 35px;
    }


    .section-heading h2 {
        font-size: 32px;
    }


    /* HEADER */

    .nav-container {
        min-height: 70px;
    }


    .logo img {
        width: 125px;
    }


    /* HERO */

    .hero {
        height: 590px;
    }


    .hero-content {
        align-items: center;
        text-align: center;
    }


    .hero-small-title {
        font-size: 10px;
        letter-spacing: 2px;
    }


    .hero-content h1 {
        font-size: 42px;
    }


    .hero-content p {
        font-size: 13px;
    }


    .hero-buttons {
        justify-content: center;
    }


    .slider-btn {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }


    .slider-btn.prev {
        left: 10px;
    }


    .slider-btn.next {
        right: 10px;
    }


    /* PAGE BANNER */

    .page-banner {
        padding: 60px 0;
    }


    .page-banner h1 {
        font-size: 38px;
    }


    /* CATEGORY */

    .category-grid,
    .products-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }


    .category-card {
        min-height: 390px;
    }


    .category-card img {
        height: 390px;
    }


    /* FEATURES */

    .features-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }


    .feature-box {
        padding: 12px 5px;
    }


    .feature-box h3 {
        font-size: 16px;
    }


    .feature-box p {
        font-size: 10px;
    }


    /* ABOUT */

    .about-content h2,
    .contact-info h2 {
        font-size: 34px;
    }


    .about-image img {
        min-height: 380px;
    }


    /* CTA */

    .cta-section {
        padding: 60px 0;
    }


    .cta-content h2 {
        font-size: 34px;
    }


    /* TOOLBAR */

    .shop-toolbar {
        flex-direction: column;
    }


    .search-box {
        max-width: 100%;
    }


    #categoryFilter {
        width: 100%;
    }


    /* PRODUCT */

    .product-image img {
        height: 360px;
    }


    /* VALUES */

    .values-grid {
        grid-template-columns: 1fr;
    }


    /* CONTACT */

    .contact-form-box,
    .checkout-form,
    .order-summary {
        padding: 23px 18px;
    }


    /* CART */

    .cart-item {
        grid-template-columns: 70px 1fr;
        gap: 12px;
    }


    .cart-item img {
        width: 70px;
        height: 85px;
    }


    .cart-item-info h3 {
        font-size: 17px;
    }


    .quantity-control {
        grid-column: 1 / 2;
    }


    .remove-cart {
        grid-column: 2 / 3;
        justify-self: start;
    }


    .cart-summary {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }


    .cart-summary .btn {
        width: 100%;
    }


    /* LEGAL */

    .legal-content {
        padding: 30px 20px;
    }


    .legal-content h2 {
        font-size: 31px;
    }


    /* FOOTER */

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 50px 0 35px;
    }


    .footer-bottom .container {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding: 18px 0;
    }


    .footer-bottom div {
        flex-wrap: wrap;
        justify-content: center;
    }


    /* WHATSAPP */

    .whatsapp-float {
        width: 50px;
        height: 50px;
        right: 15px;
        bottom: 15px;
        font-size: 23px;
    }

}


/* =========================
   SMALL MOBILE
========================= */

@media (max-width: 380px) {

    .hero {
        height: 560px;
    }


    .hero-content h1 {
        font-size: 35px;
    }


    .hero-content p {
        font-size: 12px;
    }


    .btn {
        width: 100%;
        padding-left: 15px;
        padding-right: 15px;
    }


    .hero-buttons {
        width: 100%;
    }


    .features-grid {
        grid-template-columns: 1fr;
    }


    .product-image img {
        height: 330px;
    }

}