.phone_panel{
    display: none;
}
.left-icon-m{
    display: none;
}
@media screen and (max-width:1500px) {
    .product_cntr{
        width: auto;
        margin-right: auto;
        margin-left: auto;
    }
    .bannerVertical{
        width: auto;
        margin-right: auto;
        margin-left: auto;
    }
    .product_cntr{
        width: auto;
        margin-right: auto;
        margin-left: auto;
    }
    .bannerVertical{
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-gap: 10px;
        justify-items: center;
    }
    .product_cntr_section{
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        grid-gap: 10px;
        justify-items: center;
    }
    .product_cntr_products{
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        grid-gap: 10px;
        justify-items: center;
    }
}
@media screen and (max-width:1400px) {
    .product_cntr_section{
        grid-template-columns: repeat(3, 1fr);
    }
    .product_cntr_products{
        grid-template-columns: repeat(3, 1fr);
    }
    footer section{
        height: auto !important;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column-reverse !important;
    }
}
@media screen and (max-width:1000px) {
    .logo_cntr{
        display: none;
    }
    .form_cntr{
        margin-right: 0;
    }
    .form{
        min-width: 0;
    }
}
@media screen and (max-width:900px) {
    .header_left{
        display: flex;
        justify-content: end;
    }
    .header_links{
        display: none;
        width: 100%;
    }
    .right-icon-m{
        display: none;
    }
    .left-icon-m{
        display: block;
    }
    
    .hp-icon{
        display: flex;
        align-items: right;
        direction: ltr;
        gap: 20px;
        margin-top: 40px;
    }
    .hp-items{
        font-size: 20px;
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 20px;
        justify-content: right;
    }
    .hp-items a{
        background-color: var(--color-HPurple);
        padding: 20px 10px;
        display: flex;
        align-items: center;
        justify-content; center;
        border-radius: 5px;
        line-height: 100%;
    }
    .phone_panel{
        position: fixed;
        top: 0;
        right: 0;
        z-index: 9999;
        width: 80%;
        background-color: var(--color-PurpleStroke);
        display: none;
        padding: 40px !important;
        justify-content: right;
        align-items: top;
    }


    .product_cntr_section{
        grid-template-columns: repeat(2, 1fr);
    }
    .product_cntr_products{
        grid-template-columns: repeat(2, 1fr);
    }
    .siteInfo{
        padding: 10%;
        height: auto;
        min-width: max-content;
        display: flex;
        flex-direction: column;
        gap: 10px;
        justify-content: center;
        align-items: center;
    }
    .siteInfo div{
        width: 100%;
    }
    .product_info{
        height: auto !important;
        display: flex;
        flex-direction: column;
        /*gap: 20%;*/
        justify-content: center;
        align-items: center;
    }
    .product_info section{
        width: auto !important;
    }
}

@media screen and (max-width:850px) {
    .bannerVertical{
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width:650px) {
    .product_cntr_section{
        grid-template-columns: repeat(1, 1fr);
    }
    .product_cntr_products{
        grid-template-columns: repeat(1, 1fr);
    }
    .bannerHorizontal {
        flex-direction: column;
        gap: 10px;
        justify-content: center;
        align-items: center;
    }
    .category-article {
        flex-direction: column;
        gap: 10px;
        justify-content: center;
        align-items: center;
    }
    .slider_specialOffer{
        flex-direction: column;
        width: 80%;
        margin-left: auto;
        margin-right: auto;
    }
    .slider_specialOffer_product_cntr{
        display: none;
    }
}

@media screen and (max-width:530px) {
    .bannerVertical{
        grid-template-columns: repeat(1, 1fr);
    }
}


















/* =========================================
   ریسپانسیو - تبلت (max-width: 992px)
   ========================================= */
@media (max-width: 992px) {
    .footer_top {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 40px 5%;
        gap: 30px;
    }

    .footer_info, .footer_links, .footer_certificates {
        width: 100%;
        max-width: 600px;
    }

    .footer_info .display {
        justify-content: center;
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .footer_info_links {
        justify-content: center;
    }

    .footer_info p {
        text-align: center;
    }

    .footer_links {
        justify-content: space-between;
    }

    /* مخفی کردن خط جدا کننده در تبلت برای جلوگیری از بهم ریختگی */
    .footer_links > span {
        display: none; 
    }
    
    .footer_links h2::after {
        right: 50%;
        transform: translateX(50%);
    }
    
    .body_cart{
        flex-direction: column-reverse !important;
    }
}

/* =========================================
   ریسپانسیو - موبایل (max-width: 576px)
   ========================================= */
@media (max-width: 576px) {
    .footer_top {
        padding: 30px 20px;
    }

    /* تغییر چیدمان لینک‌ها به ستونی در موبایل */
    .footer_links {
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }

    .footer_links ul {
        width: 100%;
    }

    .footer_links h2 {
        font-size: 1rem;
    }

    /* تغییر چیدمان نمادها به ردیفی در موبایل */
    .footer_certificates {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer_certificates img {
        max-width: 80px;
    }

    .footer_bottom p {
        font-size: 0.75rem;
    }
    
    .body_cart{
        flex-direction: column-reverse !important;
    }
}