
/* Start Responsive Section */
.container {
    width: 1200px;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

[class*="col-"]{padding: 8px; float: right}

.col-12{width: 100%}
.col-11{width: 91.666%}
.col-10{width: 83.333%}
.col-9{width: 75%}
.col-8{width: 66.666%}
.col-7{width: 58.333%}
.col-6{width: 50%}
.col-5{width: 41.666%}
.col-4{width: 33.333%}
.col-3{width: 25%}
.col-2{width: 16.666%}
.col-1{width: 8.333%}

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
    .container .section-background{
        overflow-x: hidden;
    }
    [class*="col-"] {
        padding: 4px;
        width: 100%;
    }
    .col-vsm-1 {width: 8.33%;}
    .col-vsm-2 {width: 16.66%;}
    .col-vsm-3 {width: 25%;}
    .col-vsm-4 {width: 33.33%;}
    .col-vsm-5 {width: 41.66%;}
    .col-vsm-6 {width: 50%;}
    .col-vsm-7 {width: 58.33%;}
    .col-vsm-8 {width: 66.66%;}
    .col-vsm-9 {width: 75%;}
    .col-vsm-10 {width: 83.33%;}
    .col-vsm-11 {width: 91.66%;}
    .col-vsm-12 {width: 100%;}

    .cols-vsm-marginbtm{
        margin-bottom: 8px;
    }

    .container{
        width: 100%;
        padding-right: 8px;
        padding-left: 8px;
    }
    .row {
        margin-right: -8px;
        margin-left: -8px;
    }
    .free_shiping {
        display: none;
    }
    #search_form{
        margin: 0;
        margin-bottom: 20px;
        width: 100%;
    }
    #search_form .input-group .form-control{
        width: 100%;
    }
    .search_icon{
        display: none;
    }
    #search_form .input-group .btn{
        padding: 0 6px;
    }
    .input-group-append{
        position: absolute;
        left: 0;
        height: 100%;
    }
    .my_logo_header{
        width: 100%;
        margin: 8px 0 2px 0;
    }
    .headere_payini{
        display: none;
    }
    #search_form .input-group .form-control{
        margin: 2px 0;
    }
    .account_header{
        margin: 0 8px 0 0;
    }
    .basket_header{
        margin: 0;
    }
    .headere_balayi .menu_res{
        display: block !important;
    }
    #up_footer .dast_rasi, #up_footer .khabar_name{
        text-align: center;
    }
    #up_footer .dast_rasi h4{
        width: 100%;
    }

    /* index page*/
    .category .slider-show{
        max-height: 200px;
    }
    .three_banners .banners{
        width: 100% !important;
    }
    .three_banners .garantie_section{
        display: none;
    }
    .three_banners .call_support_section{
        display: none;
    }

    /*product page*/

    #moshakhasat .table_mosh .right_mosh{
        border-left: 1px solid #d8d8d8;;
    }
    #nazarat .nazar_submited .nazar_name_trf{
        border-left: 1px solid #bebebe;
        border-bottom: 0;
    }
    #nazarat .nazar_submited .nazar_matn_trf{
        border-top: 0;
    }
    #nazarat .nazar_name_trf,#nazarat .nazar_matn_trf{
        height: auto;
    }
    .right_badane .dokme_kharid .sabad{
        width: 160px !important;
    }
    #tab ul li{
        padding: 7px 0 !important;
        width: 1%;
        text-align: center;
        display: table-cell !important;
    }
    /*sabad page*/
    table, thead, tbody, th, td, tr {
        display: block;
    }
    thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }
    tr {
        border: 1px solid #ccc;
        margin-bottom: 6px;
    }
    td:not(.joziat_order_td) {
        /* Behave  like a "row" */
        border: none !important;
        border-bottom: 1px solid #eee !important;
        position: relative;
        padding-right: 50% !important;
        text-align: right !important;
    }

    td:before {
        /* Now like a table header */
        position: absolute ;
        /* Top/left values mimic padding */
        top: 6px;
        right: 6px;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
    }
    /*
    Label the data
    */
    #tbl_sabad td:nth-of-type(1):before { content: "نام"; }
    #tbl_sabad td:nth-of-type(2):before { content: "قیمت"; }
    #tbl_sabad td:nth-of-type(3):before { content: "تخفیف"; }
    #tbl_sabad td:nth-of-type(4):before { content: "تعداد"; }
    #tbl_sabad td:nth-of-type(5):before { content: "قیمت کل"; }
    #tbl_sabad td.hazf_az_sabad:nth-of-type(6):before { content: "حذف"; }

    .joziyat_mahsol_sabadi div {
        margin-right: 0;
        float: none;
    }
    .joziyat_mahsol_sabadi.name-colp .p_img{
        float: none;
    }
    .cart .cart-majmo{
        margin-top: 6px !important;
    }
    .tayid_nahayi .post_ways{
        margin-bottom: 12px;
    }
    .tayid_nahayi_inner .btn_tayid_info_kharid{
        width: 100%;
    }

    /*sabad page*/

    /*account page*/

    td.joziat_order_td:before{
        content: '' !important;
    }
    #tbl_order_info tr.all_tr_hiddens{
        border: 0;
    }
    #tbl_order_info td:nth-of-type(1):before { content: "تاریخ"; }
    #tbl_order_info td:nth-of-type(2):before { content: "قیمت کل"; }
    #tbl_order_info td:nth-of-type(3):before { content: "کد رهگیری"; }
    #tbl_order_info td:nth-of-type(4):before { content: "جزییات"; }


    .joziat_order td:nth-of-type(1):before { content: "نام محصول" !important; }
    .joziat_order td:nth-of-type(2):before { content: "قیمت" !important; }
    .joziat_order td:nth-of-type(3):before { content: "تخفیف" !important; }
    .joziat_order td:nth-of-type(4):before { content: "تعداد" !important; }
    .joziat_order td:nth-of-type(5):before { content: "قیمت کل" !important; }

    #tbl_order_info .joziat_order_td{
        border: 0;
    }


    .acc_info_section div{
        padding: 5px 0 !important;
    }
    .acc_info_section .inff span{
        width: 22% !important;
    }
    .acc_info_section select,.acc_info_section textarea,.acc_info_section input{
        width: 76% !important;
    }
    #account_info .btn_tayid_info{
        margin: 0;
        width: 100%;
    }


    /*account page*/


    /*search_adv page*/

    .search_main .search_item{
        height: auto;
        margin-left: 8px;
        margin-right: 8px;
    }
    .search_main .search_item .edame_matlab{
        position: initial;
    }
    .search_main .search_item img,.search_main .search_item .inner {
        float: none;
    }

    /*search_adv page*/

    /*contact-us page*/

    .bottom_fasele textarea ,.form_input ,.form_input2 {
        width: 100% !important;
    }
    #form_contact .sabt_dokme{
        width: 100% !important;
    }
    .right .arrow{
        display: none;
    }
    /*contact-us page*/
}


/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) and (max-width: 768px) {

    .container .section-background{
        overflow-x: hidden;
    }
    [class*="col-"] {
        padding: 4px;
        width: 100%;
    }

    .col-sm-1 {width: 8.33%;}
    .col-sm-2 {width: 16.66%;}
    .col-sm-3 {width: 25%;}
    .col-sm-4 {width: 33.33%;}
    .col-sm-5 {width: 41.66%;}
    .col-sm-6 {width: 50%;}
    .col-sm-7 {width: 58.33%;}
    .col-sm-8 {width: 66.66%;}
    .col-sm-9 {width: 75%;}
    .col-sm-10 {width: 83.33%;}
    .col-sm-11 {width: 91.66%;}
    .col-sm-12 {width: 100%;}

    .cols-vsm-marginbtm{
        margin-bottom: 8px;
    }

    .container{
        width: 100%;
        padding-right: 8px;
        padding-left: 8px;
    }
    .row {
        margin-right: -8px;
        margin-left: -8px;
    }
    .category .slider-show {
        max-height: 318px;
    }
    /*about-us section*/
    .right .arrow{
        display: none;
    }
    /*about-us section*/
    /*product page*/
    .right_badane .loading_product_action{
        text-align: center;
    }
    /*product page*/
    /*sabad page*/
    .tayid_nahayi_inner .btn_tayid_info_kharid{
        float: none;
        margin: 8px auto;
    }
    /*sabad page*/
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) and (max-width: 992px) {
    .container{
        width: 100%;
        padding-right: 12px;
        padding-left: 12px;
    }
    [class*="col-"] {
        padding: 6px;
        width: 100%;
    }
    .row {
        margin-right: -12px;
        margin-left: -12px;
    }
    .col-m-1 {width: 8.33%;}
    .col-m-2 {width: 16.66%;}
    .col-m-3 {width: 25%;}
    .col-m-4 {width: 33.33%;}
    .col-m-5 {width: 41.66%;}
    .col-m-6 {width: 50%;}
    .col-m-7 {width: 58.33%;}
    .col-m-8 {width: 66.66%;}
    .col-m-9 {width: 75%;}
    .col-m-10 {width: 83.33%;}
    .col-m-11 {width: 91.66%;}
    .col-m-12 {width: 100%;}

    .cols-vsm-marginbtm{
        margin-bottom: 8px;
    }

    .welcome_site .name_shop{
        display: none;
    }
    .category .slider-show {
        max-height: 340px;
    }
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) and (max-width: 1200px) {
    .container{
        width: 100%;
    }
    .category .slider-show {
        max-height: 318px;
    }
}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {

}

@media only screen and (min-width: 100px) {
    .khasiat .my_item{
        width: 100%;
    }
    .brand_sl .brand_item{
        width: 50%;
    }
}

@media only screen and (min-width: 560px) {
    .khasiat .my_item{
        width: 50%;
    }
    .brand_sl .brand_item{
        width: 33.33%;
    }
}
@media only screen and (min-width: 720px) {
    .khasiat .my_item{
        width: 33.33%;
    }
    .brand_sl .brand_item{
        width: 25%;
    }
}
@media only screen and (min-width: 950px) {
    .khasiat .my_item{
        width: 25%;
    }
    .brand_sl .brand_item{
        width: 16.6%;
    }
}
@media only screen and (min-width: 1128px) {
    .khasiat .my_item{
        width: 20%;
    }
    .brand_sl .brand_item{
        width: 14.2857%;
    }
}
/* End Responsive Section */

/*start menu responsive*/
.headere_balayi .menu_res{
    display: none;
}
#menuToggle
{
    float: left;
    z-index: 1;
    -webkit-user-select: none;
    user-select: none;
    margin-top: 14px;
}
#menuToggle .akse_menuToggle{
    height: 100%;
}

#menuToggle .akse_menuToggle span
{
    display: block;
    width: 33px;
    height: 4px;
    margin-bottom: 5px;
    position: relative;
    background: #868686;
    border-radius: 3px;
    z-index: 1;
    transform-origin: 4px 0;
    -webkit-transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
    background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
    opacity 0.55s ease;
    -moz-transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
    background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
    opacity 0.55s ease;
    transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
    background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
    opacity 0.55s ease;

}

#menuToggle .akse_menuToggle span:first-child
{
    transform-origin: 0 0;
}

#menuToggle .akse_menuToggle span:nth-last-child(2)
{
    transform-origin: 0 100%;
}
#menuToggle.active .akse_menuToggle span
{
    opacity: 1;
    transform: rotate(-45deg) translate(-1px);
    -moz-transform: rotate(-45deg) translate(-1px);
    -webkit-transform: rotate(-45deg) translate(-1px);
    -ms-transform: rotate(-45deg) translate(-1px);
    background: #d44242;
}
#menuToggle.active .akse_menuToggle span:nth-last-child(3)
{
    opacity: 1;
    transform: rotate(45deg) translate(2px,-4px);
    -moz-transform: rotate(45deg) translate(2px,-4px);
    -webkit-transform: rotate(45deg) translate(2px,-4px);
    -ms-transform: rotate(45deg) translate(2px,-4px);
}
#menuToggle.active .akse_menuToggle span:nth-last-child(2)
{
    opacity: 0;
    transform: rotate(0deg) scale(0.2, 0.2);
    -webkit-transform: rotate(0deg) scale(0.2, 0.2);
    -moz-transform: rotate(0deg) scale(0.2, 0.2);
    -ms-transform: rotate(0deg) scale(0.2, 0.2);
}
#menu_responsive
{
    box-shadow: -1px 0 2px rgba(0,0,0,.1);
    z-index: 10;
    position: fixed;
    width: 300px;
    padding: 16px;
    top: 0;
    right: 0;
    height: 100%;
    background: #fff;
    list-style-type: none;
    -webkit-font-smoothing: antialiased;
    transform-origin: 0 0;
    transform: translate(100%, 0);
    -webkit-transform: translate(100%, 0);
    -moz-transform: translate(100%, 0);
    -ms-transform: translate(100%, 0);
    -webkit-transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
    -moz-transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
    transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);

}

#menuToggle.active > #menu_responsive
{
    transform: scale(1.0, 1.0);
    -webkit-transform: scale(1.0, 1.0);
    -moz-transform: scale(1.0, 1.0);
    -ms-transform: scale(1.0, 1.0);
    opacity: 1;
}
#menu_responsive .top_close_res_menu{
    cursor: pointer;
    border-radius: 4px;
    height: 30px;
    background: red;
    display: block;
}
#menu_responsive .top_close_res_menu .close_maked{
    margin: auto;
    width: 18px;
    height: 18px;
    margin-top: 10px;
}
#menu_responsive .top_close_res_menu span:first-child{
    transform: rotate(45deg) translate(2px,3px);
    -moz-transform: rotate(45deg) translate(2px,3px);
    -webkit-transform: rotate(45deg) translate(2px,3px);
    -ms-transform: rotate(45deg) translate(2px,3px);
}
#menu_responsive .top_close_res_menu span{
    display: block;
    width: 100%;
    height: 3px;
    transform: rotate(-45deg) translate(-1px);
    -moz-transform: rotate(-45deg) translate(-1px);
    -webkit-transform: rotate(-45deg) translate(-1px);
    -ms-transform: rotate(-45deg) translate(-1px);
    background: #fff;
}
#menu_responsive .Search_Cat_Child_Has{
    position: relative;
}
#menu_responsive .Search_Cat_Child_Has .icon-more-search{
    position: absolute;
    left: 0;
    top: 12px;
}
#menu_responsive .border_bot_menu_res{
    border-bottom: 1px solid #ddd;
    padding: 10px 0;
}
#menu_responsive .pad_menu_res2{
    padding: 8px;
}
#menu_responsive > nav{
    margin-top: 10px;
    margin-bottom: 10px;
}
#menu_responsive .our_menu_chid3{
    border-right: 1px solid #ddd;
    padding-right: 8px;
    margin-top: 6px;
}
#menu_responsive .our_menu_chid3 li{
    padding-bottom: 4px;
}

/* Fashion responsive refinements */
@media only screen and (max-width: 992px) {
    .fashion-header .headere_balayi > .container {
        flex-wrap: wrap;
        row-gap: 10px;
        min-height: auto;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .fashion-header .header-logo-col {
        width: 32%;
    }

    .fashion-header .header-search-col {
        width: 48%;
    }

    .fashion-header .header-action-col {
        width: 20%;
    }

    .fashion-header #search_form {
        width: 100%;
    }

    .fashion-header .free_shiping {
        display: none;
    }

    .fashion-header .nav_head .sub_menu_item {
        width: calc(100vw - 24px);
        right: 12px;
    }

    .fashion-footer .footer-promise .container {
        grid-template-columns: 1fr;
    }
}

@media only screen and (max-width: 600px) {
    .fashion-header .headere_balayi > .container {
        align-items: center;
    }

    .fashion-header .header-logo-col {
        width: 41.66%;
    }

    .fashion-header .menu_res {
        width: 58.33%;
        order: 2;
    }

    .fashion-header .header-action-col {
        width: 24%;
        order: 3;
        justify-content: flex-start;
        gap: 6px;
    }

    .fashion-header .header-search-col {
        width: 76%;
        order: 4;
    }

    .fashion-header .brand-link {
        min-height: 44px;
    }

    .fashion-header .my_logo_header {
        width: auto;
        max-height: 42px;
        margin: 0;
    }

    .fashion-header #search_form {
        margin: 0;
        margin-bottom: 0;
    }

    .fashion-header .search_icon {
        display: block;
        margin-top: 8px;
    }

    .fashion-header #search_form .input-group .form-control {
        margin: 4px 0;
        padding-left: 74px;
    }

    .fashion-header .input-group-append {
        left: 0;
        height: 100%;
    }

    .fashion-header #search_form .input-group .btn {
        min-width: 68px;
        padding: 0 8px;
    }

    .fashion-header .account_header,
    .fashion-header .basket_header .inner_b_header {
        width: 100%;
        height: 42px;
    }

    #menuToggle {
        margin-top: 9px;
    }

    #menuToggle .akse_menuToggle {
        width: 44px;
        height: 40px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        border: 1px solid #eadfcc;
        border-radius: 8px;
        background: #fff;
        box-shadow: 0 10px 22px rgba(31, 39, 35, .08);
    }

    #menuToggle .akse_menuToggle span {
        width: 22px;
        height: 2px;
        margin-bottom: 5px;
        background: #1f2723;
    }

    #menu_responsive {
        width: min(330px, 88vw);
        padding: 18px;
        background: #fbfbf8;
        box-shadow: -18px 0 48px rgba(31, 39, 35, .18);
    }

    #menu_responsive .top_close_res_menu {
        height: 40px;
        border-radius: 8px;
        background: #b23a48;
    }

    #menu_responsive .border_bot_menu_res {
        border-bottom: 1px solid #eee4d6;
        padding: 12px 0;
    }

    #menu_responsive a {
        color: #1f2723;
        font-weight: 600;
    }

    #menu_responsive .our_menu_chid3 {
        border-right: 2px solid #d19a38;
    }

    .fashion-footer .footer-promise .container {
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .fashion-footer #up_footer {
        padding: 26px 0 20px;
    }

    .fashion-footer .footer-brand,
    .fashion-footer .footer-links,
    .fashion-footer .footer-trust {
        text-align: right;
    }

    .fashion-footer .soicals {
        justify-content: flex-start;
    }

    .fashion-footer #footer_copyright p {
        display: grid;
        gap: 4px;
    }
}

/* Atelier header responsive layout */
@media only screen and (max-width: 992px) {
    .atelier-header .headere_balayi > .container {
        display: grid;
        grid-template-columns: 190px minmax(0, 1fr) 180px;
        gap: 12px;
        min-height: 86px;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .atelier-header .header-logo-col,
    .atelier-header .header-search-col,
    .atelier-header .header-action-col {
        width: auto;
    }

    .atelier-header .brand-link {
        grid-template-columns: 86px 1fr;
    }

    .atelier-header .brand-caption {
        display: none;
    }

    .atelier-header .free_shiping {
        display: none;
    }

    .atelier-header .nav_head {
        overflow: visible;
    }

    .atelier-header .menu_caption {
        min-width: auto;
        padding: 0 10px;
    }

    .atelier-header .nav_head .fashion-mega-menu {
        right: 12px;
        width: calc(100vw - 24px);
        grid-template-columns: 140px minmax(0, 1fr);
        gap: 8px;
    }

    .atelier-header .fashion-mega-menu .cat_area > ul {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .atelier-header .fashion-mega-menu .cat_area_item > ul {
        grid-template-columns: 1fr;
        max-height: none;
    }
}

@media only screen and (max-width: 768px) {
    .atelier-header .headere_payini {
        display: none;
    }
}

@media only screen and (min-width: 601px) and (max-width: 768px) {
    .atelier-header .headere_payini {
        display: block;
    }
}

@media only screen and (max-width: 600px) {
    .atelier-header .fashion-topline .container {
        min-height: 34px;
        justify-content: center;
        text-align: center;
    }

    .atelier-header .topline-links {
        display: none;
    }

    .atelier-header .headere_balayi > .container {
        display: grid;
        grid-template-columns: 1fr auto;
        gap: 10px;
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .atelier-header .header-logo-col {
        grid-column: 1;
        grid-row: 1;
        width: auto;
    }

    .atelier-header .menu_res {
        grid-column: 2;
        grid-row: 1;
        width: auto;
        order: initial;
        padding: 0;
        display: flex !important;
        justify-content: flex-end;
    }

    .atelier-header .header-search-col {
        grid-column: 1 / span 2;
        grid-row: 2;
        width: auto;
        order: initial;
    }

    .atelier-header .header-action-col {
        grid-column: 1 / span 2;
        grid-row: 3;
        width: auto;
        order: initial;
        justify-content: stretch;
        gap: 8px;
    }

    .atelier-header .brand-link {
        min-height: 42px;
        grid-template-columns: 92px 1fr;
    }

    .atelier-header .my_logo_header {
        max-height: 42px;
    }

    .atelier-header .brand-caption {
        display: block;
        font-size: 11px;
    }

    .atelier-header #search_form {
        width: 100%;
    }

    .atelier-header .search_icon {
        display: block;
        margin: 0;
    }

    .atelier-header #search_form .input-group .form-control {
        height: 40px;
        margin: 0;
        padding-left: 76px;
    }

    .atelier-header .search-icon-button {
        width: 44px;
        flex-basis: 44px;
        height: 40px;
    }

    .atelier-header .account_header,
    .atelier-header .basket_header {
        flex: 1;
    }

    .atelier-header .header-action-btn {
        width: 100%;
        height: 44px;
    }

    .atelier-header #menuToggle {
        margin-top: 0;
    }

    .atelier-header #menuToggle .akse_menuToggle {
        width: 46px;
        height: 42px;
        border: 1px solid #e4d6bd;
        border-radius: 8px;
        background: #fff;
        box-shadow: 0 10px 22px rgba(31, 39, 35, .08);
    }

    .atelier-header #menuToggle .akse_menuToggle span {
        background: #1f2723;
    }

    .atelier-header #menu_responsive {
        width: min(340px, 88vw);
        background: #fbfbf8;
    }
}
