@media only screen and (max-width: 1400px){
    .container 
    {
        max-width: 1200px;
    } 

    .product_container,
     .showcase_container
     {
        grid-template-columns: repeat(3, 1fr);
     }

    .newsletter_btn 
     {
        left: 299px;
     }

    .accounts_container 
    {
        grid-template-columns: 3fr 9fr;
    }
}


@media only screen and (max-width: 1200px){
    :root 
    {
        --big-font-size: 2.25rem;
        --h1-font-size: 2rem;
        --h2-font-size: 1.375rem;
        --h3-font-size: 1.25rem;
        --h4-font-size: 1.125rem;
        --large-font-size: 1rem;
        --normal-font-size: 0.9375rem;
        --small-font-size: 0.812rem;
        --smaller-font-size: 0.6875rem;
        --tiny-font-size: 0.625rem;
    }

    .container 
    {
        max-width: 960px;
    }

    .header_top 
    {
        display: none;
    }

    .nav 
    {
        height: calc(var(--header-height) + 1.5rem);
    }

    .nav_logo-img 
    {
        width: 116px;
    }

    .nav_menu 
    {
        position: fixed;
        right: -100%;
        top: 0;
        max-width: 400px;
        width: 100%;
        padding: 1.25rem 2rem;
        height: 100%;
        background-color: var(--body-color);
        z-index: 100;
        flex-direction: column;
        align-items: flex-start;
        row-gap: 2rem;
        box-shadow: 0 0 15px hsla(0, 0%, 0%, 0.1);
        transition: all 0.25s var(--transition);
    }

    .show-menu  
    {
        right: 0;
    }

    .nav-list  
    {
        order: 1;
        flex-direction: column;
        align-items: flex-start;
        row-gap: 1.5rem;
    }

    .header_search 
    {
        display: flex;
        justify-content: flex-end;
    }

    .search_btn  
    {
        right: 1rem;
    }

    .nav-link 
    {
        font-size: var(--large-font-size);
    }

    .header_search .form_input  
    {
        border-color: var(--first-color);
    }

    .nav_menu-top,
    .nav-toggle
    {
        display: flex;
    }

    .nav_menu-top 
    {
        align-items: center;
        justify-content: space-between;
        width: 100%;
        margin-bottom: 1.25rem;
    } 

    .nav_menu-logo img
    {
        width: 100px;
    }

    .nav_close 
    {
        font-size: var(--h2-font-size);
        line-height: 1rem;
    }

    .nav-toggle img 
    {
        width: 21px;
        cursor: pointer;
    }

    .home_container 
    {
        grid-template-columns: 5.5fr 6.5fr;
    }

    .countdown 
    {
        column-gap: 1rem;
    }

    .countdown-period 
    {
        width: 36px;
        height: 36px;
        line-height: 36px;
    }

    .countdown_amount::after 
    {
        right: -30%;
        top: 14%
    }

    .newsletter_btn 
    {
        left: 213px;
    }

    .account_tab 
    {
        padding: 0.75rem 1rem;
    }

    .checkout_group:nth-child(2)
    {
        padding: 1.5rem;
    }

    .details_brand 
    {
        margin-block: 0.75rem;
    }

    .details_price 
    {
        padding-block: 0.75rem;
    }

    .short_description 
    {
        margin-bottom: 1.5rem;
    }

    .details_color 
    {
        margin-block: 1.75rem 1.25rem;
    }

    .color_link 
    {
        width: 22px;
        height: 22px;
    }

    .size_link 
    {
        padding: 0.375rem 0.625rem;
    }

    .details_action 
    {
        margin-bottom: 2.75rem;
    }
}



@media only screen and (max-width: 992px){
    .container 
    {
        max-width: 740px;
    }

    .home_container,
    .newsletter-container,
    .checkout_container,
    .deals_container,
    .accounts_container,
    .cart_group
    {
        grid-template-columns: 1fr;
    }

    .cart_group
    {
        row-gap: 2.75rem;
    }

    .home_img 
    {
        justify-self: center;
    }

    .product_container,
    .showcase_container,
    .details_container
    {
        grid-template-columns: repeat(2, 1fr);
    }

    .newsletter_input 
    {
        height: 45px;
        border-bottom-right-radius: 17px;
        width: 100%;
    }

    .newsletter_btn  
    {
        background-color: transparent;
        border: 2px solid var(--first-color);
        color: var(--first-color);
        padding: 0.65rem 1.2rem;
        border-top-left-radius: 10px;
        border-bottom-right-radius: 18px;
        font-family: var(--second-color);
        font-size: var(--small-font-size);
        font-weight: var(--weight-700);
        transition: 0.3s ease-in-out;
        left: 613px;
    }

    .newslettre_description 
    {
        display: none;
    }

    .login,
    .register 
    {
        padding: 1.25rem;
    }

    .table tr th:nth-child(1),
    .table tr td:nth-child(1) 
    {
        width: 140px;
    }

    .table tr th:nth-child(2),
    .table tr td:nth-child(2) 
    {
        width: 330px;
    }

    .table tr th:nth-child(3),
    .table tr td:nth-child(3) 
    {
        width: 80px;
    }

    .table tr th:nth-child(4),
    .table tr td:nth-child(4) 
    {
        width: 160px;
    }

    .table tr th:nth-child(5),
    .table tr td:nth-child(5) 
    {
        width: 160px;
    }

    .table tr th:nth-child(6),
    .table tr td:nth-child(6) 
    {
        width: 100px;
    }
}


@media only screen and (max-width: 768px){
    .container 
    {
        max-width: 540px;
    }

    .show-menu  
    {
        right: 48%;
    }

    .product_container,
    .showcase_container,
    .login-register_container,
    .details_container
    {
        grid-template-columns: 100%;
    }

    .tab_header,
    .tab_body 
    {
        padding: 0.75rem;
    }

    .compare_table tr td 
    {
        display: block;
    }

    .compare_table .add-to-cart-table td
    {
        height: 60px;
        align-items: center;
        display: flex;
        justify-content: center;
    }

    .newsletter_btn 
    {
        left: 414px;
    }

    .cart_group form input 
    {
        width: 100%;
    }

    .review_form input,
    .review_form textarea 
    {
        width: 100%;
    }
}


@media only screen and (max-width: 576px){
    
    .category_item 
    {
        margin-bottom: 1rem;
    }

    .category_img 
    {
        margin-bottom: 1rem;
    }

    .deal_item,
    .checkout_group:nth-child(2)
    {
        padding: 1.25rem;
    }

    .pagination 
    {
        column-gap: 0.5rem;
        margin-top: 2.5rem;
        justify-content: center;
    }

    .pagination_link 
    {
        width: 30px;
        height: 30px;
        line-height: 30px;
    }

    .cart_group form input 
    {
        width: 100%;
    }

    .placed_order-table th
    {
        display: none;
    }

    .placed_order-table tr td,
    .info_table tr th,
    .info_table tr td 
    {
        display: block;
    }

    .form_group 
    {
        grid-template-columns: 1fr;
    }

    .cart_total 
    {
        padding: 1.25rem;
    }

    .payment_methods 
    {
        margin-block: 2.25rem 2.5rem;
    }

    .review_form input,
    .review_form textarea 
    {
        width: 100%;
    }

    .details_tab 
    {
       column-gap: 1.25rem;
       margin-bottom: 2.5rem;
    }

    .review_single 
    {
        column-gap: 1rem;
    }

    .footer_title 
    {
        margin-top: .25rem;
    }

    .footer_container 
    {
        flex-direction: column;
        align-items: center;
    }
}


@media only screen and (max-width: 350px){
    .home-content 
    {
        margin-bottom: 30px;
    }

    .header_action_btn 
    {
        width: 20px;
        height: 20px;
        line-height: 38px;
    }

    .header_action_btn .count
    {
        top: -0.3rem;
        right: -0.4rem;
    }

    .cart_btn 
    {
        bottom: 2rem;
        right: 1.25rem;
    }

    .tab_btn 
    {
        padding: 0.8rem 1rem 0.8rem;
    }

    .showcase_img 
    {
        width: 70px;
    }

    .showcase_content 
    {
        width: calc(100% - 86px);
    }

    .compare_table tr th,
    .cart_total-table tr th
    {
        display: block;
    }
}








/* media Quary for ----- OFFCANVAS ----- start  */

@media only screen and (max-width: 732px){
    .show-menu  
    {
        right: 45%;
    }
}

@media only screen and (max-width: 685px){
    .show-menu  
    {
        right: 43%;
    }
}

@media only screen and (max-width: 660px){
    .show-menu  
    {
        right: 40%;
    }
}

@media only screen and (max-width: 635px){
    .show-menu  
    {
        right: 37%;
    }
}

@media only screen and (max-width: 601px){
    .show-menu  
    {
        right: 35%;
    }
}

@media only screen and (max-width: 585px){
    .show-menu  
    {
        right: 33%;
    }
}

@media only screen and (max-width: 565px){
    .show-menu  
    {
        right: 29%;
    }
}

@media only screen and (max-width: 538px){
    .show-menu  
    {
        right: 26%;
    }
}

@media only screen and (max-width: 500px){
    .show-menu  
    {
        right: 20%;
    }
}


@media only screen and (max-width: 454px){
    .show-menu  
    {
        right: 41%;
    }

    .nav_menu 
    {
        max-width: 270px;
    }

    .header_search .form_input 
    {
        width: 230px;
    }

    .header_search 
    {
        justify-content: flex-start;
        margin-left: 80px;
    }

    .search_btn  
    {
        right: 13rem;
    }
}


@media only screen and (max-width: 430px){
    .show-menu  
    {
        right: 39%;
    }
}

@media only screen and (max-width: 406px){
    .show-menu  
    {
        right: 35%;
    }
}

@media only screen and (max-width: 395px){
    .show-menu  
    {
        right: 32%;
    }
}

@media only screen and (max-width: 370px){
    .show-menu  
    {
        right: 30%;
    }
}

@media only screen and (max-width: 366px){
    .show-menu  
    {
        right: 25%;
    }
}

@media only screen and (max-width: 310px){
    .show-menu  
    {
        right: 20%;
    }
}
/* media Quary for ----- OFFCANVAS ----- End  */



/* media Quary for ----- NEWSLETTER ----- Start  */
@media only screen and (max-width: 540px){
    .newsletter_input 
    {
        width: 32rem;
    }

    .newsletter_btn 
    {
        left: 410px;
    }
}

@media only screen and (max-width: 530px){
    .newsletter_input 
    {
        width: 29rem;
    }

    .newsletter_btn 
    {
        left: 362px;
    }
}

@media only screen and (max-width: 487px){
    .newsletter_input 
    {
        width: 24rem;
    }

    .newsletter_btn 
    {
        left: 282px;
    }
}

@media only screen and (max-width: 403px){
    .newsletter_input 
    {
        width: 20rem;
    }

    .newsletter_btn 
    {
        left: 225px;
    }

    .newsletter_form .main-btn 
    {
        padding: 0.65rem 1rem;
    }
}

@media only screen and (max-width: 338px){
    .newsletter_input 
    {
        width: 18rem;
    }

    .newsletter_btn 
    {
        left: 200px;
    }

    .newsletter_form .main-btn 
    {
        padding: 0.7rem 0.75rem;
    }
}
/* media Quary for ----- NEWSLETTER ----- End  */