/*
 Theme Name: IranKala Child
 Template: irankala
 Theme URI: https://zhaket.com/web/irankala-wordpress-theme
 Author: S.Reza Salehi
 Author URI: http://sreza-salehi.ir
 Version: 1.0.2
*/

body, h1, label {
    font-family: iranyekan !important;
}

#goftino_w {
    /*bottom: 60px !important;
    right: 5px !important;*/
}

@media(min-width: 992px) {
    #cat-menu .cat-menu .mega-menu-main-item>.sub-menu>.menu-item>a {
        padding-bottom: 8px !important;
        padding-top: 8px !important;
        border-bottom: 1px solid #cccccc30;
    }
    #cat-menu .cat-menu .mega-menu-main-item>.sub-menu>.menu-item:last-child > a {
        border-bottom: none;
    }
}
header .separator.vertical {
    margin: 0;
}

.jcaa_attr_select.jcaa_rounded_corners li {
	border: 1px solid #ccc !important;
	height: 22px !important;
}

ul.products li.product .second-img img,
ul.products li.product .woocommerce-LoopProduct-link img.attachment-woocommerce_thumbnail, ul.products li.product .woocommerce-LoopProduct-link img.woocommerce-placeholder {
	max-width: 240px !important;
        width: 240px !important;
	height: 240px !important;
}

ul.products li.product {
	padding-top: 24px !important;
}

ul.products li.product .second-img {
	top: 24px !important;
}

ul.products li.product .woocommerce-LoopProduct-link .onsale {
	z-index: 111;
}

input[type=checkbox]:checked, 
input[type=radio]:checked,
.button, input[type=submit],
.single_add_to_cart_button,
.add-to-cart-store,
.widget_price_filter .price_slider_amount .button {
        background-color: var(--e-global-color-primary) !important;
        border-color: var(--e-global-color-primary) !important;
}

.button, input[type=submit],
.single_add_to_cart_button,
.add-to-cart-store {
	font-weight: 700;
}

.widget_price_filter .price_slider .ui-slider-handle,
.widget_price_filter .price_slider .ui-slider-range {
        background-color: var(--e-global-color-primary) !important;
}

.store-title {
    min-width: 140px;
    justify-content: center;
}

@media(max-width: 992px) {
    .summary .single_variation_wrap:has(.wc-pao-addon-container) {
          position: static !important;
          flex-direction: column !important;
          justify-content: flex-start !important;
          align-items: flex-start !important;
          box-shadow: none !important;
    }

    .product-addon-totals {
        margin: 0;
        margin-bottom: 10px;
    }
}

.slider-item .second-img {
        top: 0px !important;
}

.widget-products-slider .slider-item > a img {
        margin-bottom: 20px !important;
}

.woocommerce-checkout .post-main-content,
.woocommerce-cart .post-main-content {
        padding: 40px 0;
}

.woocommerce-cart .order-total,
.woocommerce-cart .woocommerce-shipping-totals,
.woocommerce-cart .cart-profit {
        display: none;
}

.woocommerce-cart .cart-subtotal {
        font-weight: 700;
        font-size: 16px;
}

#billing_country_field {
        display: none;
}

body .place-order .woocommerce-terms-and-conditions-link,
body .message-info, 
body .wc-block-components-notice-banner.is-info, 
body .woocommerce-Message--info, 
body .woocommerce-info {
        background-color:  color-mix(in srgb, var(--e-global-color-primary), transparent 85%) !important;
        color: var(--e-global-color-primary) !important;
}

form.cart .button.loading:before {
        background-color: var(--e-global-color-primary) !important;
}

body.woocommerce-checkout:not(.logged-in) #customer_details .col-1 {
	display: block !important;
}

div:where(.swal2-container) div:where(.swal2-popup) {
        scale: 1.25;
}


@media(min-width: 992px) {
    body.custom-checkout.rtl form.woocommerce-checkout .customer-details-holder {
        grid-column: span 7;
    }

    body.custom-checkout.rtl form.woocommerce-checkout .order-review-holder {
        grid-column: span 5;
    }
}

.rtl.woocommerce-checkout #payment ul.payment_methods li img {
        border-radius: 100px;
	padding: 0;
	border: none;
	/*
	border: 1px solid #efefef;
	*/
        height: 60px;
        width: 60px;
}

body .jet-mega-menu.jet-mega-menu--layout-horizontal .jet-mega-menu-mega-container__inner {
        padding: 0;
        box-shadow: 0 0 10px 0 #00000035;
        border-radius: 10px;
}
