/* =========================================================
   HOME PAGE RESPONSIVE
========================================================= */


/* =========================================================
   HOME TABLET
========================================================= */

@media (max-width: 992px) {

    /* Features */
    .features .container {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    /* Featured Products */
    .featured-products .container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    /* New Arrivals */
    .new-arrivals .container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    /* Featured Brands */
    .brands-wrapper {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}


/* =========================================================
   HOME MOBILE
========================================================= */

@media (max-width: 768px) {

    /* Features */
    .features .container {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    /* Featured Products */
    .featured-products .container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* New Arrivals */
    .new-arrivals .container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Featured Brands */
    .brands-wrapper {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }


    /* Home Banners */
    .banner-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .small-banner-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }


    /* Home Hero */
    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-text {
        width: 100%;
    }

    .hero-image {
        width: 100%;
    }

    .hero-image img {
        max-width: 100%;
        height: auto;
    }


    /* =====================================================
       Newsletter
    ===================================================== */

    .newsletter {
        padding: 50px 20px;
    }

    .newsletter > .container {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 30px;
        width: 100%;
        box-sizing: border-box;
    }

    .newsletter-content {
        width: 100%;
        box-sizing: border-box;
    }

    .newsletter-content h2 {
        font-size: 32px;
        line-height: 1.2;
        margin-bottom: 18px;
    }

    .newsletter-content p {
        font-size: 15px;
        line-height: 1.7;
        margin: 0;
    }

    .newsletter-form {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 12px;
        box-sizing: border-box;
    }

    .newsletter-form input {
        width: 100%;
        height: 52px;
        padding: 0 16px;
        box-sizing: border-box;
        border-radius: 8px;
        font-size: 15px;
    }

    .newsletter-form button {
        width: 100%;
        height: 52px;
        border-radius: 8px;
        font-size: 16px;
    }
}


/* =========================================================
   HOME SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    /* Features */
    .features .container {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    /* Products */
    .featured-products .container,
    .new-arrivals .container {
        grid-template-columns: 1fr;
    }

    /* Brands */
    .brands-wrapper {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }


    /* Newsletter */
    .newsletter {
        padding: 40px 15px;
    }

    .newsletter-content h2 {
        font-size: 28px;
    }

    .newsletter-content p {
        font-size: 14px;
    }

    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
    }
}

/* =========================================================
   SHOP PAGE RESPONSIVE
========================================================= */

@media (max-width:768px){

    .shop-banner{
        padding:60px 20px;
    }

    .shop-banner-content h1{
        font-size:38px;
    }

    .shop-banner-content p{
        font-size:16px;
    }

    .shop-products .container{
        display:grid;
        grid-template-columns:1fr;
        gap:30px;
    }

    .shop-sidebar{
        width:100%;
        margin-bottom:20px;
    }

    .shop-content{
        width:100%;
    }

    .shop-top{
        display:flex;
        flex-direction:column;
        gap:20px;
        text-align:center;
    }

    .shop-top select{
        width:100%;
    }

    .products-grid{
        display:grid;
        grid-template-columns:repeat(2,1fr);
        gap:20px;
    }

}

/* =========================================================
   PRODUCT DETAILS RESPONSIVE
========================================================= */

@media (max-width:992px){

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

    .main-image{
        height:420px;
    }

}

@media (max-width:768px){

    .product-details{
        padding:60px 0;
    }

    .product-gallery,
    .product-info{
        padding:20px;
    }

    .product-title{
        font-size:28px;
    }

    .current-price{
        font-size:28px;
    }

    .thumbnail-images{
        flex-wrap:wrap;
    }

    .thumbnail-images img{
        width:70px;
        height:70px;
    }

    .quantity-box{
        flex-direction:column;
        align-items:flex-start;
    }

    .product-buttons{
        flex-direction:column;
    }

    .add-cart-btn,
    .buy-btn{
        width:100%;
    }

    .product-share{
        flex-wrap:wrap;
    }

    .related-products{
        padding:60px 0;
    }

    .related-products .section-title h2{
        font-size:30px;
    }

}
