﻿@media (max-width: 568px) {
    .col-12, .col-md-3, .col-md-4, .col-md-8, .col-md-9, .col-md-12, .col-lg-3, .col-lg-4, .col-lg-6, .col-lg-8, .col-lg-9 {
        width: 100%;
        padding-top: 10px;
    }

    .table-data-procuct-details {
        margin-left: 0;
        /*width: -moz-available;*/
    }

    .product-attributes .product-seller-info {
        margin-top: 0;
    }
}


.mobile-product-header{
    display:none;
}


@media(max-width:768px){

    .sc-bottom-bar, .BackgroundPopUpItemGooeyMenu {
        display: none;
    }
    
    footer{
        display: none;
    }
    
    .next-btn {
        right: 2px;
    }

    .prev-btn {
        left: 2px;
    }
    
    .mobile-product-header{
        display:flex;
        align-items:center;
        height:46px;
        position:sticky;
        top:0;
        z-index:999;
        background:#fff;
        border-bottom:1px solid #eee;
        padding:0 14px;
    }

    .mobile-back-btn{
        border:none;
        background:transparent;
        display:flex;
        align-items:center;
        justify-content:center;
        font-size:20px;
        cursor:pointer;
    }

    .mobile-back-btn i{
        color:#616161;
    }


    .product-action-container {
        width: auto;
    }

    .basket-info {
        padding-top: 11px;
    }
    .basket-row {
        display: grid;
        justify-content: center;
        align-items: center;
    }
    .buy-box-card{
        flex-direction:row-reverse;
    }

    .buy-box-column{
        z-index:9999;
    }

    .buy-box-card{
        display:flex;
        justify-content:space-between;
        align-items:center;
        padding:0;
        border:none;
    }

    .price-box-wrapper{
        margin:0;
    }

    .product-price .finalPrice{
        font-size:18px; /* 👈 اینو مهم اصلاح کردم */
    }

    .add-cart-btn{
        margin-top:0;
        padding: 17px;
        font-size: 13px;
    }

    /* جلوگیری از اینکه content زیرش بره */
    .product-tabs-wrapper{
        padding-bottom:90px;
    }

    .product-page-container{
        overflow-x:hidden;
    }

    .product-top-wrapper{
        display:block !important;
    }

    .product-gallery-column,
    .product-content-column,
    .buy-box-column{
        width:100%;
        max-width:100%;
    }
    .main-image-box{
        padding:10px;
    }
    .thumbnail-slider{
        padding:10px 0;
    }

    .thumb{
        width:60px !important;
        height:60px !important;
        min-width:60px;
    }

    .gallery-sticky{
        position:relative;
        top:auto;
    }
}

img{
    max-width:100%;
}

.product-page-container{
    overflow-x:hidden;
}