@charset "utf-8";
/** mini cart btns */
body .mini-cart-header .cart-links{
    display:flex ;
    justify-content:space-between;
    flex-direction: row;
}
body .mini-cart-header .cart-links div.cart-link a,body .mini-cart-header .cart-links div.checkout-link a{
    background-color: var(--second-color);
    color: #fff;
    font-weight: bold;
    width:calc(100% - 8px);
}

@media (min-width: 992px) {
    .product_detail .content_product_detail>.col-lg-9.col-md-9.col-sm-12{
        width: 52%;
    }
    .product_detail .content_product_detail>.col-lg-9.col-md-9.col-sm-12 .col-lg-8.col-md-8.col-sm-12{
        width:100%;
    }

    .product_detail .content_product_detail>.col-md-3{
        width: 48%;
    }
    .product_detail .col-lg-4.col-md-4.col-sm-12.col-xs-12.clear_xs{
        width:25%
    }
    .product_detail .col-lg-8.col-md-8.col-sm-12.col-xs-12.clear_xs{
        width:75%
    }
}

.content_product_detail .posted_in{
    display: none;
}
.mx-attribute-image{
    width:50px;
    height:50px;
    border-radius: 50%;
}
.mx-attribute-value {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    align-items: center;
}
.mx-attribute-value img{
    transition:transform 0.3s ease-in-out;
}
.mx-attribute-value img:hover{
    transform: scale(1.5);
}
.mx-custom-attribute-show table tr>*{
    background: unset !important;
    padding: 3px !important;
}
.mx-custom-attribute-show table tr>* p{
    padding:0 !important;
}
.woocommerce .mx-custom-attribute-show table.shop_attributes th{
    width:auto !important;
    margin-bottom: 52px !important;
}
.woocommerce .mx-custom-attribute-show table.shop_attributes td{
    padding-right:15px !important;
}

.woocommerce .mx-custom-attribute-show table.shop_attributes tr {
    border-bottom: 20px solid transparent; /* فاصله بین سطرها */
    background-clip: padding-box;
}
/* حذف کامل همه فاصله‌ها */
.woocommerce .mx-custom-attribute-show table,
.woocommerce .mx-custom-attribute-show table * {
    margin: 0 !important;
    padding: 0 !important;
    border-collapse: collapse !important;
    border-spacing: 0 !important;
    border:unset;
    font-style: normal;
}

.woocommerce .mx-custom-attribute-show table td,
.woocommerce .mx-custom-attribute-show table th {
    border:unset;
}

/* تنظیم عرض ستون‌ها */
.woocommerce .mx-custom-attribute-show table td:first-child {
    width: 125px; /* عرض ستون اول */
}
.woocommerce .mx-custom-attribute-show table tr{
    margin-bottom:5px;
}

.woocommerce .mx-custom-attribute-show table td:last-child {
    width: auto;
}
.listing-title p{
    display: none;
}
.related-product .item-wrap , .related-product .item-detail{
    height:100%;
}
ul.breadcrumb>li:nth-child(2){
    display:none;
}
@media(min-width:992px){
    .woocommerce img.pswp__img, .woocommerce-page img.pswp__img {
        width: auto !important;
    }
}
@media(max-width:992px){
    .woocommerce img.pswp__img, .woocommerce-page img.pswp__img {
        height: auto !important;
    }
}

/*** pdf modal */
#maxtheme-pdf-viewer{
    /* height: calc(100vh - 18px); */
    padding: 0;
    background: unset;
    text-align: right;
    box-shadow:unset;
    overflow: hidden;
}
#maxtheme-pdf-viewer .pdfjs-fullscreen+div{
    height: calc(100vh - 120px);
    width: 100%;
}
#maxtheme-pdf-viewer .pdfjs-fullscreen+div>iframe{
    width:100%;
    height:100%;
    margin-bottom:3px;
}
.mx_modal-backdrop {
    backdrop-filter: blur(7px);
}
.modal-close-btn {
    position: absolute;
    top: 14px;
    right: 0;
    width: 40px;
    height: 40px;
    background: #f1f5f9;          /* زمینه روشن */
    border: none;
    border-radius: 50%;
    font-size: 22px;
    font-weight: 300;
    line-height: 1;
    color: #1e293b;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transform: translateX(150%);
}

.modal-close-btn:hover {
    background: #fee2e2;           /* قرمز ملایم در هاور */
    color: #b91c1c;
    box-shadow: 0 4px 16px rgba(220, 38, 38, 0.2);
}
body .mx_modal-modal{
    border-radius:unset;
}
.mx-btn-modal-closer,.pdfjs-fullscreen a::before {
    color:#fff !important;
    text-align: center !important;
    font-size: 15px !important;
    background-color: var(--main-color);
    border: none;
    width: auto;
    border-radius: 7px !important;
    padding: 4px 10px;
    margin: 0;
    line-height: 1.5;
    font-family: inherit;
}

.mx-btn-modal-closer{
    position:absolute;
    top:0;
    left:0;

}
.pdfjs-fullscreen a{
    font-size:0 !important;
    background: unset;
    position:relative;
    top: -16px;
}
.pdfjs-fullscreen a::before{
    content:'⛶ مشاهده تمام صفحه  ';
    background: var(--main-color);
}
.btn-open-pdf-modal{
    width:100%;
    background-color:var(--main-color);
    border-radius: 7px;
    display: flex;
    justify-content: flex-start;
    color: #fff;
    padding: 5px 15px;
    margin: 44px 14px 5px 5px;
    position: relative;
    font-family: inherit;
    margin-bottom: 15px;
}
.btn-open-pdf-modal::after{
    content:'';
    background: url("../img/pdf-view.png") no-repeat;
    width: 42px;
    height: 46px;
    position: absolute;
    left: 15px;
    transform: translateY(-50%);
    top: 50%;
    background-size: contain;
}
.pdfjs-iframe{
    width:100%;
    max-height: calc(100vh - 151px);
}

.ppla{
    display: none;
}

.single-product .product_action {
    position: absolute;
    left: 2px;
    flex-direction: column;
    z-index: 10;
    width: 50px;
    top: 81px;
    background: #d7d7d7;
    backdrop-filter: blur(9px);
    border-radius: 0 10px 10px 0;
}
body.woocommerce.single-product .woocommerce-breadcrumb{
    display: none;
}

.woocommerce div.product .content_product_detail p.price, .woocommerce div.product .content_product_detail span.price{
    display: inline-block;
}
.mx-custom-attribute-show{
    margin-top:20px;
}
.single-product .tcw-product__add {
    width: auto;
    padding-left: 0;
}

.theme-negar .tcw-modal.modal .modal-body{
    height:auto;
}
.theme-negar #tmt-stock-form .gform_body {
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.theme-negar .modal-content-text{
    font-size: 11.6px;
    text-align: justify;
}
.single-product .product.type-product.outofstock:before{
    content:'قابل تهیه';
}
#tmt-stock-form :is(input[type=text]:not([readonly]),textarea){width: 100%;padding: 5px;border-radius: 10px;    font-family:inherit;}
#tmt-stock-form input[type=text][readonly]{
    border:none;
}
#tmt-stock-form .quantity {
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 11px;
    flex-direction: row-reverse;
}

#tmt-stock-form .button.single_add_to_cart_button{
    width:calc(100% - 30px );
    text-align:center;
}
.theme-negar .tcw-product__add.tmt-tcw-product .btn-notify-me{
    margin-bottom: 0px;
}
#tmt-stock-form textarea{
    height: 6rem;
}
#tmt-stock-form .gform_required_legend,#tmt-stock-form .product_totals,#tmt-stock-form .ginput_product_price_label{
    display:none;
}
#tmt-stock-form .gfield{
    margin-bottom:15px;
}
.text-danger {
    color: #dc3545 !important;
}

.fw-bold {
    font-weight: 700;
}
#tmt-stock-form .ginput_product_price {
    font-size:18px;
    font-weight:bold;
    color:var(--main-color);
    text-align: center;
    font-family: inherit;
}
.tcw-product__add.tmt-tcw-product .btn-notify-me {
    background: blue;
    margin-bottom: 20px;
}
body.theme-negar .tcw-product__add.tmt-tcw-product{
    bottom:60px;
}

.theme-negar #tmt-not-stock-fotm.tcw-modal:not(.show) {
    animation: slideDownLarge .5s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
    transition-delay: 1s;
}

.theme-negar #tmt-not-stock-fotm {
    opacity: .6;
    position: fixed;
    width: 100%;
    height: 90dvh;
    display: unset !important;
    visibility: hidden;
    z-index: -1;
    background-color: rgba(255, 255, 255, 0);
    overflow: auto;
    border-radius: 25px 25px 0 0;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.16);
    bottom: 0;
    margin-bottom: 0 !important;
    padding-bottom: 0px !important;
}
.theme-negar #tmt-not-stock-fotm.tcw-modal.modal .modal-body-wrap{
    overflow:unset!important;
}
.theme-negar #tmt-not-stock-fotm .modal-header{
    padding:20px;
}
#tmt-not-stock-fotm .gform_title{
    display:none;
}
.theme-negar #tmt-not-stock-fotm.show {
    visibility: visible;
    opacity: 1;
    background-color: #fff;
    z-index: 9999;
    animation: slideUpLarge .3s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

.woocommerce.theme-negar .tcw-product__add {
    width: 81%;
}

.woocommerce .contact-us-modal-button {
    right: auto !important;
    left: 15px;
    bottom: 188px;
}
.woocommerce.theme-negar .tcw-product__add .btn-notify-me {
    font-size:13px;
}

@media(max-width:992px){
    .single-product span.onsale{
        transform: translateY(50px);
    }
    .btn-open-pdf-modal{
        width: calc(100% - 30px);
        border: none;
    }
    .single-product div.product p.stock,.mx-custom-attribute-show{
        padding-right: 15px;
    }
    .woocommerce .mx-custom-attribute-show table.shop_attributes th{
        margin-bottom:15px !important;
    }
    .single-product .torobpay-widget{
        margin-bottom:15px;
        transform:scale(0.9)
    }

    .single-product .woocommerce-tabs .posted_in{
        margin:15px;
        margin-bottom: 40px;
        display: block;
    }
}
.hidden{display: none;}
.theme-zanbil .tcw-modal.modal .modal-body-wrap {
    overflow: unset;
    max-height: calc(100dvh - 100px);
    overflow: auto;
}
.theme-negar.woocommerce.single-product div.product form.cart .button {
    padding: 12px 5px;
    width: calc(100% - 8px);
}
/**** simi , kado */
.product-type-simple.is-product-extra-option form.cart .mx-extra-options .mx_attribute_checkbox.hidden {
    display: none;
}
.modal.in {
    display: -ms-flexbox!important;
    display: flex !important;
}
/** remove page title in cart */
.theme-negar.woocommerce-cart .single-page-content h1{display: none}

.tcw-modal.modal .modal-footer-wrap .btn[type="submit"]{
    color:#fff;
}
#notifierModal .modal-body-wrap>.row{
    margin:0;
}


/*** related products */
.theme-zanbil .related-product .slick-slide img {
    display: block;
    max-height: 600px;
    width: auto;
}

/*** custom product order */

.postid-74125 :is(.posted_in,.woocommerce-product-gallery__wrapper,.single-side-box,.tabs,.related-product,.product_title > span
,.price,.onsale-box,.related.products,.you_save_price, .mx-extra-options,#gform_totals_2 .gfield:is(:nth-child(1),:nth-child(2)) ){
    display:none !important;
}
@media(min-width:992px){
    .postid-74125 .content_product_detail>.col-lg-9{
        width: 100% !important;
    }
    .postid-74125 .product_detail >.col-lg-4{
        display:none;
    }
    .postid-74125 .product_detail >.col-lg-8{
        width: 100% !important;
    }
}

.order-custom-product{
    background-color: var(--main-color);
    color: #fff !important;
    padding: 9px 15px;
    border-radius: 7px;
    z-index: 2;
}

.theme-negar .order-custom-product{
    width: calc( 100% - 30px) !important;
    margin-right: 15px;
}
.theme-zanbil .order-custom-product{
    position: absolute;
    left: -15px;
    transform: translateX(-100%);

}
.order-custom-product:hover{
    color:#fff;
}
.postid-74125 div.product form.cart {
    position: unset !important;
    padding-right: 15px;
}
.ginput_container.ginput_container_text input::placeholder{
    color:#aaaaaa ;
}
.ginput_container.ginput_container_text input{
    border-radius:7px !important;
    margin-top:5px !important;
}
#field_2_1 #input_2_1{
    display: flex;
    flex-wrap:wrap;
    gap:8px;
    flex-direction: row;
}
#field_2_1 #input_2_1 .gchoice {
    width: auto;
    min-width: auto;
    display: flex;
    flex-grow: 1;
    background-color: var(--main-color);
    padding: 15px;
    border-radius: 7px;
    cursor: pointer;
}
#field_2_1 #input_2_1 .gchoice>label{
    color:white;
    flex-grow: 1;
}
/*** ajax search */
.show-all-result {
    width: 100%;
    color: #129cdf;
    background-color: transparent;
    border: none;
    margin-top: 12px;
    font-family: inherit;
    padding: 14px 0;
}

body .ajax-search .search-result .search-result-body {
    max-height: calc(75vh - 43px);
}
.show-all-result {
    font-weight: bold;
    background-color: #EAFAFF;
    padding: 8px;
    border-style: solid;
    border-width: 2px 2px 2px 2px;
    border-color: #47C3E4;
    border-radius: 12px 12px 12px 12px;
}

.spoiler .hidden-text{
    height:auto !important;
}
.spoiler .hidden-text::after,.spoiler .read-more{
    display: none !important;
}


body.theme-negar.woocommerce .quantity .qty {
    width: 1.631em;
    background: unset;
    border: unset;
    color: var(--main-color) !important;
    margin: 0 0px;
    padding: unset;
    margin-right: 6px;
    margin-left: 6px;
    pointer-events: none;
}
body.theme-negar.woocommerce div.product form.cart div.quantity {
    display: inline-block !important;
    position: fixed;
    bottom: 0;
    z-index: 9999;
    right: 75%;
}
body.theme-negar.woocommerce div.product form.cart div.quantity >i{
    height:100%;
    display: inline-block;
    height: 32px;
    vertical-align: top;
    width: 12px;
    padding: 11px 0px;
    z-index: 9999;
    position: relative;
}
body.theme-negar.woocommerce.single-product div.product form.cart .button {
    width: 64%;
}
.theme-negar .single-side-box{
    display: none !important;
}

.digipay-widget>*{
    cursor: pointer;
}

.woocommerce :not(.hscroll-product) .product span.price {
    color: #958e09;
    position: unset !important;
    margin-bottom: 2em !important;
}


.theme-negar.woocommerce ul.products[class*="columns-"] li.product, .woocommerce-page ul.products[class*="columns-"] li.product {
    height: 335px;
}

body .ajax-search .search-result .search-result-body .search-item strong {
    font-size: 13px;
    font-weight: normal;
}
body .ajax-search .search-result a > span{
    font-size: 14px;
    font-weight: bold;
}
body .top-header-center img {
    width: auto;
}

ul#shipping_method li input[hidden] + label::after , ul#shipping_method li  input[type="hidden"] + label::after{
    content: "\f00c";
    font: 300 24px 'Font Awesome 5 Pro';
    position: absolute;
    right: 6px;
    transform: translateY(-5px);
}
ul#shipping_method li input:checked + label::after{
    transform: translateY(-5px);
}

ul#shipping_method li  input[type="hidden"] + label {
    background-color: #fee4e7;
    border-radius: 30px;
    color: var(--main-color);
}
.woocommerce-subcategories .subcategory img {
    width: auto;
}
@media(max-width:768px){
    body.woocommerce .hscroll-product .product span.price, body .hscroll-product .product span.price, body.woocommerce ul.products li.product span.price{
        position: unset;
        margin-bottom: 32px;
        display: block;
    }

}

.theme-negar a.avn-loop-add-to-cart {
    z-index: 10;
}

/*** رفع تداخل تاپ بنر دیجی کالا */
@media(max-width:992px){
    digify-top-banner{
        position: fixed !important;
        top:0;
        -webkit-transition-duration: 500ms;
        -o-transition-duration: 500ms;
        transition-duration: 500ms;
    }
    body{
        padding-top:44px
    }
}

.scroll-down digify-top-banner{
    transform: translate3d(0, -192%, 0);
}
digify-top-banner+.header-area {
    top: 44px;
 }
.scroll-down digify-top-banner+.header-area{
    transform: translate3d(0, -192%, 0);
}
body.rtl .woocommerce .col2-set .col-2, body.rtl .woocommerce-page .col2-set .col-2 {
    min-width: 100%;
}


body .verification-logo{
    all:unset;
}
.verification-logo >div {
    /* max-width:calc( (100% / 2) - 8px ); */
    height: auto !important;
}
.verification-logo >div img{
    /* max-height: 95px; */
    width: 55% !important;
    height: auto !important;
    margin: 0 auto;
    margin-bottom: 15px;
}
#footer .container > .row >div{
    float:left;
}
.pswp {
    z-index: 999999999;
}

.mx-feature-item .elementor-widget-image{
    border-radius:10px;
    overflow:hidden;
    width: 56px !important;
    height: 56px;
    background: red;
}
.mx-feature-item .elementor-widget-image img{
    max-width:100%;
    max-height:100%;
    width:auto;
    height:auto;
}
digify-top-banner{
	max-height:200px;
	display:block;
}