/*
 Theme Name:	Astra Child
 Theme URI:		https://www.zhaket.com/store/web/nagatheme/
 Description:	Astra Child Theme Developed By NagaTheme
 Author:		NagaTheme
 Author URI:	https://NagaTheme.com
 License:		GNU General Public License v2 or later
 License URI:	http://www.gnu.org/licenses/gpl-2.0.html
 text-domain:	astra-child
 Template:		astra
 Version:		4.12.1
*/

/* = Theme customization starts below here = is blocked by functions.php

------------------------------------------------------------------------ */

/*cart page*/
@media (max-width: 768px) {

    /* =========================
       CART ACTIONS / COUPON
    ========================= */

    .woocommerce-cart table.cart td.actions {
        display: block !important;
        width: 100% !important;
        padding: 14px !important;
        border: 1px solid #d6e4ff !important;
        border-radius: 14px !important;
        background: #ffffff !important;
        box-sizing: border-box !important;
    }

    .woocommerce-cart table.cart td.actions .drm-products-summary {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 10px !important;
        width: 100% !important;
        margin: 0 0 10px 0 !important;
        padding: 10px 12px !important;
        border: 1px solid #dbeafe !important;
        border-radius: 12px !important;
        background: #f8fafc !important;
        box-sizing: border-box !important;
    }

    .woocommerce-cart table.cart td.actions .drm-products-summary span {
        color: #334155 !important;
        font-size: 13px !important;
        font-weight: 900 !important;
    }

    .woocommerce-cart table.cart td.actions .drm-products-summary strong,
    .woocommerce-cart table.cart td.actions .drm-products-summary bdi,
    .woocommerce-cart table.cart td.actions .drm-products-summary .amount {
        color: #0f172a !important;
        font-size: 14px !important;
        font-weight: 900 !important;
        white-space: nowrap !important;
    }

    .woocommerce-cart table.cart td.actions .coupon {
        display: flex !important;
        align-items: center !important;
        flex-direction: row !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 6px !important;
        margin: 0 0 10px 0 !important;
        border: 2px solid #0d6efd !important;
        border-radius: 12px !important;
        background: #ffffff !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .woocommerce-cart table.cart td.actions .coupon #coupon_code {
        flex: 1 1 auto !important;
        min-width: 0 !important;
        height: 46px !important;
        padding: 0 14px !important;
        border: none !important;
        outline: none !important;
        background: transparent !important;
        color: #111111 !important;
        font-size: 15px !important;
        font-weight: 800 !important;
        text-align: right !important;
        box-shadow: none !important;
    }

    .woocommerce-cart table.cart td.actions .coupon #coupon_code::placeholder,
    .woocommerce-cart table.cart td.actions .coupon #coupon_code::-webkit-input-placeholder,
    .woocommerce-cart table.cart td.actions .coupon #coupon_code::-moz-placeholder {
        color: #111111 !important;
        font-weight: 900 !important;
        opacity: 1 !important;
    }

    .woocommerce-cart table.cart td.actions .coupon button[name="apply_coupon"],
    .woocommerce-page #content table.cart td.actions .coupon .button {
        flex: 0 0 110px !important;
        width: 110px !important;
        min-width: 110px !important;
        height: 46px !important;
        margin: 0 !important;
        padding: 0 12px !important;
        border: none !important;
        border-radius: 9px !important;
        background: #0057d9 !important;
        color: #ffffff !important;
        font-size: 14px !important;
        font-weight: 900 !important;
        line-height: 46px !important;
        text-align: center !important;
        box-shadow: none !important;
    }

    .woocommerce-cart table.cart td.actions .coupon button[name="apply_coupon"]:hover {
        background: #003f9e !important;
        color: #ffffff !important;
    }

    .woocommerce-cart table.cart td.actions button[name="update_cart"] {
        display: block !important;
        width: 100% !important;
        height: 48px !important;
        margin: 0 !important;
        padding: 0 18px !important;
        border: 2px solid #0f172a !important;
        border-radius: 10px !important;
        background: #0f172a !important;
        color: #ffffff !important;
        font-size: 15px !important;
        font-weight: 900 !important;
        line-height: 44px !important;
        opacity: 1 !important;
        box-shadow: none !important;
    }

    .woocommerce-cart table.cart td.actions button[name="update_cart"]:hover {
        background: #1e293b !important;
        border-color: #1e293b !important;
        color: #ffffff !important;
    }

    .woocommerce-cart table.cart td.actions button[name="update_cart"]:disabled,
    .woocommerce-cart table.cart td.actions button[name="update_cart"][disabled] {
        background: #334155 !important;
        border-color: #334155 !important;
        color: #ffffff !important;
        opacity: 1 !important;
    }

    /* =========================
       MOBILE CART PRODUCT CARD
    ========================= */

    .woocommerce-cart .cart-collaterals .cross-sells {
        display: none !important;
    }

    body.woocommerce-cart .woocommerce-cart-form table.cart,
    body.woocommerce-cart .woocommerce-cart-form table.shop_table {
        width: 100% !important;
        border: none !important;
        border-collapse: separate !important;
        border-spacing: 0 !important;
        background: transparent !important;
    }

    body.woocommerce-cart .woocommerce-cart-form table.cart thead {
        display: none !important;
    }

    body.woocommerce-cart .woocommerce-cart-form table.cart tbody {
        display: block !important;
        width: 100% !important;
    }

    body.woocommerce-cart .woocommerce-cart-form table.cart tr.woocommerce-cart-form__cart-item.cart_item {
        display: grid !important;
        direction: rtl !important;
        grid-template-columns: 66px minmax(0, 1fr) 62px 22px !important;
        grid-template-areas:
            "image name qty remove"
            "image price qty remove" !important;
        gap: 5px 9px !important;
        align-items: center !important;
        width: 100% !important;
        margin: 0 0 10px 0 !important;
        padding: 9px 10px !important;
        border: 1px solid #dbe4f0 !important;
        border-radius: 14px !important;
        background: #ffffff !important;
        box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06) !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    body.woocommerce-cart .woocommerce-cart-form table.cart tr.cart_item > td {
        width: auto !important;
        min-width: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        border: none !important;
        background: transparent !important;
        box-sizing: border-box !important;
    }

    body.woocommerce-cart .woocommerce-cart-form table.cart tr.cart_item > td::before {
        display: none !important;
        content: "" !important;
    }

    body.woocommerce-cart .woocommerce-cart-form table.cart tr.cart_item td.product-thumbnail {
        grid-area: image !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    body.woocommerce-cart .woocommerce-cart-form table.cart tr.cart_item td.product-thumbnail a {
        display: block !important;
        width: 62px !important;
        height: 62px !important;
    }

    body.woocommerce-cart .woocommerce-cart-form table.cart tr.cart_item td.product-thumbnail img {
        display: block !important;
        width: 62px !important;
        height: 62px !important;
        max-width: 62px !important;
        object-fit: cover !important;
        border: 1px solid #e5e7eb !important;
        border-radius: 12px !important;
        background: #ffffff !important;
    }

    body.woocommerce-cart .woocommerce-cart-form table.cart tr.cart_item td.product-name {
        grid-area: name !important;
        display: block !important;
        direction: rtl !important;
        text-align: right !important;
        align-self: end !important;
        min-width: 0 !important;
    }

    body.woocommerce-cart .woocommerce-cart-form table.cart tr.cart_item td.product-name a {
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        color: #0f172a !important;
        font-size: 13px !important;
        font-weight: 900 !important;
        line-height: 1.65 !important;
        text-decoration: none !important;
    }

    body.woocommerce-cart .woocommerce-cart-form table.cart tr.cart_item td.product-price {
        grid-area: price !important;
        display: flex !important;
        align-items: start !important;
        justify-content: flex-start !important;
        direction: rtl !important;
        text-align: right !important;
        min-width: 0 !important;
    }

    body.woocommerce-cart .woocommerce-cart-form table.cart tr.cart_item td.product-price .amount,
    body.woocommerce-cart .woocommerce-cart-form table.cart tr.cart_item td.product-price bdi {
        display: inline-flex !important;
        align-items: center !important;
        gap: 2px !important;
        color: #334155 !important;
        font-size: 12px !important;
        font-weight: 900 !important;
        line-height: 1.4 !important;
        white-space: nowrap !important;
    }

    body.woocommerce-cart .woocommerce-cart-form table.cart tr.cart_item td.product-price .woocommerce-Price-currencySymbol {
        color: #64748b !important;
        font-size: 11px !important;
        font-weight: 800 !important;
    }

    body.woocommerce-cart .woocommerce-cart-form table.cart tr.cart_item td.product-quantity {
        grid-area: qty !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 62px !important;
        min-width: 62px !important;
        height: 54px !important;
        padding: 5px !important;
        border: 1px solid #dbeafe !important;
        border-radius: 11px !important;
        background: #f8fafc !important;
        box-sizing: border-box !important;
    }

    body.woocommerce-cart .woocommerce-cart-form table.cart tr.cart_item td.product-quantity .quantity {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        margin: 0 !important;
    }

    body.woocommerce-cart .woocommerce-cart-form table.cart tr.cart_item td.product-quantity input.qty {
        width: 44px !important;
        height: 28px !important;
        min-height: 28px !important;
        padding: 0 !important;
        margin: 0 !important;
        border: 1px solid #cbd5e1 !important;
        border-radius: 8px !important;
        background: #ffffff !important;
        color: #0f172a !important;
        font-size: 12px !important;
        font-weight: 900 !important;
        line-height: 28px !important;
        text-align: center !important;
        box-shadow: none !important;
    }

    body.woocommerce-cart .woocommerce-cart-form table.cart tr.cart_item td.product-remove {
        grid-area: remove !important;
        display: flex !important;
        align-items: flex-start !important;
        justify-content: center !important;
    }

    body.woocommerce-cart .woocommerce-cart-form table.cart tr.cart_item td.product-remove a.remove {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 20px !important;
        height: 20px !important;
        min-width: 20px !important;
        padding: 0 !important;
        margin: 0 !important;
        border: 1px solid #fecaca !important;
        border-radius: 50% !important;
        background: #fff1f2 !important;
        color: #ef4444 !important;
        font-size: 0 !important;
        line-height: 1 !important;
    }

    body.woocommerce-cart .woocommerce-cart-form table.cart tr.cart_item td.product-remove svg {
        width: 12px !important;
        height: 12px !important;
        color: #ef4444 !important;
        fill: #ef4444 !important;
    }

    body.woocommerce-cart .woocommerce-cart-form table.cart tr.cart_item td.product-subtotal {
        display: none !important;
    }

    body.woocommerce-cart .woocommerce-cart-form table.cart td.actions {
        display: block !important;
        width: 100% !important;
    }
        .woocommerce-Price-currencySymbol::before {
    content:"" !important;}
}


/* فقط موبایل خیلی کوچک */
@media (max-width: 380px) {

    body.woocommerce-cart .woocommerce-cart-form table.cart tr.woocommerce-cart-form__cart-item.cart_item {
        grid-template-columns: 58px minmax(0, 1fr) 56px 20px !important;
        gap: 5px 7px !important;
        padding: 8px !important;
    }

    body.woocommerce-cart .woocommerce-cart-form table.cart tr.cart_item td.product-thumbnail a,
    body.woocommerce-cart .woocommerce-cart-form table.cart tr.cart_item td.product-thumbnail img {
        width: 56px !important;
        height: 56px !important;
        max-width: 56px !important;
    }

    body.woocommerce-cart .woocommerce-cart-form table.cart tr.cart_item td.product-name a {
        font-size: 12px !important;
        line-height: 1.6 !important;
    }

    body.woocommerce-cart .woocommerce-cart-form table.cart tr.cart_item td.product-quantity {
        width: 56px !important;
        min-width: 56px !important;
        height: 50px !important;
    }

    body.woocommerce-cart .woocommerce-cart-form table.cart tr.cart_item td.product-quantity input.qty {
        width: 40px !important;
    }
    .woocommerce-Price-currencySymbol::before {
    content:"" !important;}
}



span.woocommerce-Price-currencySymbol {}

.woocommerce-Price-currencySymbol::before {}

/*cart page end*/
/* parent کارت محصول */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
    position: relative !important;
}

/* جای پیش‌فرض ارسال فوری؛ وقتی فروش‌ویژه وجود ندارد */
.woocommerce ul.products li.product .ast-custom-badge {
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    z-index: 9 !important;
}

/* جای فروش ویژه */
.woocommerce ul.products li.product .ast-onsale-card {
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    z-index: 10 !important;
}

/* وقتی فروش‌ویژه وجود دارد، ارسال فوری بیاید پایین‌تر */
.woocommerce ul.products li.product:has(.ast-onsale-card) .ast-custom-badge {
    top: 45px !important;
}


.postid-104331 span.ast-on-card-button.ast-custom-badge {
    visibility: visible;
    opacity: 1;
    right: 12px !important;
    top: 60px;
    background: green !important;
    width: fit-content;
    padding-left: 6px;
    padding-right: 6px;
    border-radius: 15px;
    color: #fff;
    font-size: 14px;
    padding-top: 2px;
    padding-bottom: 2px;
}
 span.ast-on-card-button.ast-custom-badge {
    visibility: visible;
    opacity: 1;
    right: 20px;
    top: 60px;
    background: green !important;
    width: fit-content;
    padding-left: 12px;
    padding-right: 12px;
    border-radius: 5px;
    color: #fff;
    font-size: 14px;
    padding-top: 2px;
    padding-bottom: 2px;
}
.page-id-110224 #content #primary {
    margin: 0 auto !important;
}
li.woocommerce-MyAccount-navigation-link.woocommerce-MyAccount-navigation-link--downloads {
    display: none !important;
}

.payment_method_WC_Gateway_SnappPay .payment_box {
	display:none !important;
}
.woocommerce-account .woocommerce-MyAccount-navigation {
    width: 95% !important;
	
}

body .woocommerce-MyAccount-navigation-link {
    border: none !important;
}

.woocommerce-account .woocommerce-MyAccount-content {
    width: 100% !important;
}
/* DrMotori discount badge inside price box */
.woocommerce ul.products li.product .price,
.woocommerce .products .product .price {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.dm-discount-badge{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
  white-space: nowrap;
}

/* حمل و نقل*/
ul#shipping_method li:not(.elementor-widget-woocommerce-cart #shipping_method li) {
    height: 60px !important;
    margin-top: 10px !important;
}
 #shipping_method_0_free_shipping71:checked:checked ~ label[for="shipping_method_0_free_shipping71"] {
    border-color: #4aa2ff;
    background: #4aa2ff;
    color: #fff;
    height: 50px !important;
    margin-top: -10px;
}


h2.woocommerce-loop-product__title {
    height: 40px;
}
#shipping-price-counter {
	display:none !important;
}
.woocommerce-js ul#shipping_method li label {
     text-align: center;
}
span.dm-discount-badge {}

/* باج درصد تخفیف کنار قیمت */
.dm-discount-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px 8px;
    border-radius: 999px;
    background: #ff1744;   /* قرمز تخفیف */
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    margin-left: 6px;       /* فاصله از قیمت (برای RTL میشه سمت چپ) */

}

/* کمی قشنگ‌تر کردن قیمت‌ها (دلخواه) */
.dm-price-html del,
.price del {
    opacity: 0.6;
}
.dm-price-html ins,
.price ins {
    text-decoration: none;
}



.woocommerce .star-rating,
.woocommerce .star-rating::before,
.woocommerce .star-rating span,
.woocommerce .star-rating span::before {
    font-family: star !important;
}
.dm-rating-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: flex-start;
    margin-bottom: 8px;
}

.dm-rating-text {
    font-size: 14px;
    color: #333;
    font-weight: 500;
    white-space: nowrap;
}

.dm-rating-text strong {
    font-size: 15px;
    color: #000;
}
.dm-rating-wrapper .star-rating {
    width: 95px !important;
	    margin: 0 !important;
}
.dm-sep {
    margin: 0 4px;
    color: #777;
}

.dm-rating-link {
    text-decoration: none;
    color: inherit;
}

.dm-rating-link:hover {
    text-decoration: underline;
}

/* مطمئن شو margin اضافی از ستاره‌ها نداری */
.woocommerce-product-rating .star-rating {
    margin: 0;
}

@media (max-width: 768px) {
	#captiontextctoblog {
		margin-top: 55px !important;
    font-size: 13px !important;
	}
	.snapppay-widget {
    position: fixed !important;
    bottom: 70px !important;
    background: rgb(239 246 255) !important;   	
		right: 0px !important;
    z-index: 99999 !important;
    border-radius: 0 !important;
    height: 40px !important;
}
	.snapppay-widget-title {
		font-size: 12px !important;
 
    margin-bottom: -4px !important;
    color: rgb(59 130 246) !important;
}

img.snapppay-widget-image {
    width: 25px;
}

.snapppay-widget-description {
    display: none;
}

.single-product #scrollTopBtn , .single-product #goftino_w {
    display: none !important;
}

.dm-rating-wrapper .star-rating {
    width: 88px !important;
}
	.dm-discount-badge {

    margin-right: 95px;
    margin-top: 5px;
}
	
  body.page-id-69524 .cart_totals { padding-bottom: 100px; }

  body.page-id-69524::after{
    content:"";
    position: fixed;
    left: 0; right: 0; bottom: 0;
    height: 94px;
    background: #fff;
    box-shadow: 0 -8px 24px rgba(0,0,0,.08);
    z-index: 10000;
    pointer-events: none;
  }


  body.page-id-69524 .cart_totals .wc-proceed-to-checkout .checkout-button{
    position: fixed !important;  
    left: 12px; right: 12px;
    bottom: 10px;
    width: auto;

    height: 54px;
    padding: 0 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;
    background: #e53935 !important;
    color: #fff !important;
    font-weight: 700;
    text-align: center;
    white-space: nowrap;
    box-shadow: 0 8px 20px rgba(229,57,53,.35);
    z-index: 10001;
  }

  body.page-id-69524 .cart_totals .wc-proceed-to-checkout .checkout-button br{
    display: none !important;
  }

}
.page-id-69524 .woocommerce table.shop_table_responsive tbody th, .woocommerce-page table.shop_table_responsive tbody th {
        display: block;
    }
#coupon-error-notice {
	margin-bottom:0 !important;
}
.page-id-69524  .returnToShopdiv .returnToShop {
	    width: 100%;
    text-align: center;
    margin-bottom: 10px;
}
.woocommerce-js div.product form.cart {
	display:block !important;
}

.woocommerce-product-rating .review-rating .star-rating span {font-family: 'star' !important;}

.woocommerce-product-rating .review-rating .star-rating  {font-family: 'star' !important;}

/* فاصله زیر هدر */
section.elementor-section.elementor-top-section.elementor-element.elementor-element-3056b11.elementor-section-boxed.elementor-section-height-default.elementor-section-height-default {
    display: none;
}

.rt-table table{
  width:100% !important;
  max-width:100% !important;
  table-layout:fixed !important;
  border-collapse:collapse !important;
  height:auto !important;
  /* اگر تگ جدول width="300" داشت، بی‌اثر می‌شود */
}
.rt-table thead th,
.rt-table td{
  padding:10px !important;
  border:1px solid #e5e7eb !important;
  text-align:center !important;
  vertical-align:top !important;

  /* اجازه‌ی شکستن متن‌های بلند */
  white-space:normal !important;
  word-break:break-word !important;
  overflow-wrap:anywhere !important;
}

/* ریزتنظیم موبایل: جمع‌وجورتر و بدون اسکرول افقی */
@media (max-width:600px){
	.woocommerce-js div.product form.cart .button.single_add_to_cart_button {
    padding: 17px 0px !important;
    margin-left: 50px;
    width: 150px !important;
}
	
  div.summary.entry-summary {
        min-height: 400px !important;

    } 
  .rt-table{margin:0 -8px;} /* کمی نفس برای لبه‌های موبایل */
  .rt-table thead th,
  .rt-table td{
    padding:8px 6px !important;
    font-size:12px !important;
    line-height:1.6 !important;
  }
}
.variable-item .variable-item-contents .variable-item-span {height:18px !important;font-size:13px ;}

.variable-item {width: 75px !important;height:75px !important;}
div#ftkp-search-mini-1
 {
    width: 640px !important;
}
iframe#goftino_w {
    bottom: 65px !important;
}
.variations span.variable-item-span.variable-item-span-button {
    width: 80px !important;
} 
@media (min-width: 760px) {
	
.woocommerce-cart-form__cart-item .product-subtotal {padding: 0; width: 115px;}
	}
.woocommerce-cart-form__cart-item .product-quantity .quantity input{margin-top: 0px !important ;}
.woocommerce-product-gallery.woocommerce-product-gallery--with-images.woocommerce-product-gallery--columns-4.images {
min-height: 410px; }


#coupons_list {display:none !important}
.woocommerce-js div.product form.cart .button.single_add_to_cart_button {
    padding: 17px 0px !important;

}

.product-labels {}
/* تگ‌های خیلی برجسته */
h1, h2, h3 {
    font-family: pelak !important;
    font-weight: 900;
}

/* تگ‌های برجسته متوسط */
h4, h5, h6, strong {
    font-family: 'Pelak' !important;
    font-weight: 800;
}

/* متن‌های معمولی اصلی */
body, p, div, span, li, ul, ol, label, blockquote {
    font-family: 'Pelak' !important;
    font-weight: 400;
}

/* المان‌های فرم */
input, textarea, button, select {
    font-family: 'Pelak' !important;
    font-weight: 300;
}

/* لینک‌ها و متون نیمه برجسته */
a, em, b {
    font-family: 'Pelak' !important;
    font-weight: 500;
}

.product-labels {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.label {
  font-size: 12px;

    padding: 5px 10px !important;
  border-radius: 30px;
  background-color: #f5f5f5;
  color: #555;
  display: inline-block;
}

.label.available {
  background-color: #e7fbe9;
  color: #2e7d32;
}

.label.out-of-stock {
  background-color: #fdecea;
  color: #c62828;
}

.label.sold {
  background-color: #fff8e1;
  color: #f57c00;
}


@media (min-width: 922px) {
    .woocommerce #content .ast-woocommerce-container div.product div.summary, .woocommerce .ast-woocommerce-container div.product div.summary, .woocommerce-page #content .ast-woocommerce-container div.product div.summary, .woocommerce-page .ast-woocommerce-container div.product div.summary {
        width: 58%;
    }
}
@media (min-width: 922px) {
    .woocommerce #content .ast-woocommerce-container div.product div.images, .woocommerce .ast-woocommerce-container div.product div.images, .woocommerce-page #content .ast-woocommerce-container div.product div.images, .woocommerce-page .ast-woocommerce-container div.product div.images {
        width: 40%;
    }
}
.summary.entry-summary {
  font-family: 'IRANSans', sans-serif;
  padding: 10px;
  background: #fff;
  border-radius: 12px;

  display: flex;
  flex-direction: column;
  gap: 16px;
}

.woocommerce-breadcrumb {
  font-size: 13px;
  color: #888;
  margin-bottom: 4px;
}

.product_title.entry-title {
  font-size: 22px;
  font-weight: bold;
  color: #222;
  margin: 0;
}

.availability, .product-sales-count {
  display: inline-block;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 30px;
  background-color: #f5f5f5;
  color: #555;
  margin-right: 8px;
}

.availability.available {
  background-color: #e7fbe9;
  color: #2e7d32;
}

.product-sales-count {
  background-color: #fff8e1;
  color: #f57c00;
}

.price {
  font-size: 20px;
  color: #c62828;
  font-weight: bold;
  margin: 8px 0 12px;
}

form.cart {
  display: flex;
  align-items: center;
  gap: 12px;
}

.quantity.buttons_added {
  display: flex;
  align-items: center;
  border: 1px solid #ccc;
  border-radius: 8px;
  overflow: hidden;
}

.quantity .minus,
.quantity .plus {
  padding: 6px 14px;
  cursor: pointer;
  font-weight: bold;
  background: #f9f9f9;
  color: #333;
  transition: background 0.2s;
}

.quantity .minus:hover,
.quantity .plus:hover {
  background: #eee;
}

.quantity input.qty {
  width: 60px;
  text-align: center;
  border: none;
  font-size: 15px;
  height: 38px;
  background: white;
}

.single_add_to_cart_button {
  background-color: #ff4081;
  color: white;
  padding: 10px 24px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  transition: background-color 0.3s;
  border: none;
}

.single_add_to_cart_button:hover {
  background-color: #e91e63;
}


.variations {
  width: 100%;
  margin-bottom: 20px;
  font-family: 'IRANSans', sans-serif;
}

.variations .label {
  font-weight: bold;
  font-size: 14px;
  color: #333;
  padding-bottom: 8px;
  display: block;
}

.variable-items-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.variable-item {
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 10px 18px;
  font-size: 14px;
  background-color: #f9f9f9;
  color: #333;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  min-width: 48px;
  text-align: center;
  user-select: none;
}

.variable-item:hover {
  background-color: #ececec;
  border-color: #aaa;
}

.variable-item[aria-checked="true"],
.variable-item.selected {
  background-color: #ff4081;
  border-color: #ff4081;
  color: #fff;
  font-weight: bold;
}

.variable-item:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(255, 64, 129, 0.4);
}

.reset_variations {
  display: inline-block;
  font-size: 13px;
  color: #666;
  margin-top: 10px;
  text-decoration: underline;
  transition: color 0.2s;
}

.reset_variations:hover {
  color: #ff4081;
}

.woocommerce-breadcrumb {
  white-space: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  display: block;
  max-width: 100%;
  padding: 10px 0;
  font-size: 13px;
  line-height: 1.7;
  scrollbar-width: ; /* برای فایرفاکس */
}

/* اسکرول بار مخفی یا استایل بهتر برای مرورگرهای مختلف */
.woocommerce-breadcrumb::-webkit-scrollbar {
  height: 4px;
}

.woocommerce-breadcrumb::-webkit-scrollbar-thumb {
  background: #f1f1f1;
  border-radius: 4px;
}

.woocommerce-breadcrumb a {
  white-space: nowrap;
  color: #666;
  text-decoration: none;
}

.woocommerce-breadcrumb a:hover {
  color: #ff4081;
}

li.ast-grid-common-col.ast-full-width.ast-article-post.remove-featured-img-padding.desktop-align-left.tablet-align-left.mobile-align-left.product.type-product.post-110481.status-publish.first.instock.product_cat-lock-motorcycle.product_cat-206.has-post-thumbnail.shipping-taxable.purchasable.product-type-variable {
}
/* استایل کارت کلی محصول */
li.product {
  border: 1px solid #eee;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;

  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

li.product:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

/* تصویر محصول */
li.product .astra-shop-thumbnail-wrap {
  position: relative;
  overflow: hidden;
}

li.product img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.3s ease;
}

li.product:hover img {
  transform: scale(1.05);
}

/* دکمه روی تصویر */
li.product .ast-on-card-button {
  position: absolute;
  background: #ff4081;
  color: #fff;
  font-size: 13px;
  padding: 6px 12px;
  border-radius: 8px;
  text-decoration: none;
  align-items: center;
  gap: 6px;
  transition: background 0.3s ease;
  z-index: 2;
}



li.product .ast-card-action-tooltip {
  display: inline;
}

/* آیکون سبد */
li.product .ast-icon svg {
  width: 16px;
  height: 16px;
}

/* خلاصه اطلاعات */
li.product .astra-shop-summary-wrap {
     padding: 14px 4px;
    display: flex;
    flex-direction: column;
    gap: 50px;
}

/* عنوان محصول */
li.product .woocommerce-loop-product__title {
  font-size: 15px !important;
  font-weight: 500 ;
  color: #333;
  margin: 0;
  line-height: 1.6;
}

/* قیمت */
li.product .price {
  font-size: 14px;
  font-weight: bold;
  color: #c62828;
    text-align:left;
}


/* کل سبد خرید */
.widget_shopping_cart_content {
  font-family: 'IRANSans', sans-serif !important;
  background-color: #ffffff !important;
  padding: 20px !important;
  border-radius: 16px !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08) !important;
  max-height: 100vh !important;
  overflow-y: auto !important;
  border: 2px solid #E6F4FF !important;
}

/* پیام ارسال رایگان */
#shipping-price-counter {
  background-color: #E6F4FF !important;
  padding: 12px 16px !important;
  border-radius: 12px !important;
  margin-bottom: 16px !important;
  font-size: 14px !important;
}

#shipping-price-helper-text span {
  color: red !important;
  font-weight: bold !important;
}

#shipping-price-progress-container {
  background-color: #d0eaff !important;
  height: 6px !important;
  border-radius: 10px !important;
  margin-top: 8px !important;
}

#shipping-price-progress {
  background-color: red !important;
  height: 100% !important;
  border-radius: 10px !important;
}

/* آیتم‌ها */
.elementor-menu-cart__product {
   gap: 12px !important;
  padding: 12px 0 !important;
  border-bottom: 1px solid #eee !important;
  align-items: center !important;
}

/* تصویر محصول */
.product-thumbnail img {
  width: 60px !important;
  height: 60px !important;
  object-fit: cover !important;
  border-radius: 8px !important;
  border: 1px solid #E6F4FF !important;
}

/* نام محصول */
.product-name {
  flex: 1 !important;
  font-size: 14px !important;
  color: #333 !important;
}

.product-name a {
  color: #1d1d1b !important;
  text-decoration: none !important;
}

.product-name a:hover {
  color: #008EFA !important;
}

span.woocommerce-Price-amount.amount {
    font-weight: 700;
}


/* قیمت */
.product-price {
  font-size: 13px !important;
  color: #555 !important;
  white-space: nowrap !important;
}

/* دکمه حذف */
.product-remove a {
  width: 18px !important;
  height: 18px !important;
  background-color: #ffe9e9 !important;
  border-radius: 50% !important;
  text-align: center !important;
  line-height: 18px !important;
  color: #c62828 !important;
  font-size: 13px !important;
  transition: background 0.2s ease !important;
}

.product-remove a:hover {
  background-color: #ffc1c1 !important;
}

/* قیمت کل */
.elementor-menu-cart__subtotal {
  margin-top: 20px !important;
  font-weight: bold !important;
  font-size: 15px !important;
  color: #222 !important;
  border-top: 1px solid #ddd !important;
  padding-top: 12px !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
}

/* دکمه‌ها پایین */
.elementor-menu-cart__footer-buttons {
  margin-top: 16px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
}

/* دکمه تکمیل خرید (آبی) */
.elementor-button--checkout {
  background-color: #008EFA !important;
  color: #fff !important;
  padding: 15px 0 !important;
  border-radius: 12px !important;
  font-size: 15px !important;
  text-decoration: none !important;
  transition: background-color 0.3s ease !important;
}

.elementor-button--checkout:hover {
  background-color: #0077D6 !important;
}

/* دکمه سبد خرید (زرد) */
.elementor-button--view-cart {
  background-color: red !important;
  color: #fff !important;
	border-radius:12px !important;
}

.elementor-button--view-cart:hover {
  background-color: #C9A624 !important;
}



.page-id-69524 .shop_table .woocommerce-shipping-totals {
    display: none;
}

.page-id-69524 .woocommerce .cart-collaterals .cart_totals {
	    display:block !important;
 
}
form.checkout.woocommerce-checkout {}
/* ساختار کلی فرم */
.woocommerce form.checkout {
  padding: 12px 0 0 0;
  border-radius: 16px;
  font-family: 'IRANSans', sans-serif;
}
#customer_details {
          background-color: #ffffff !important;
        padding: 12px !important;
        border-radius: 16px !important;
       
        border: 2px solid #E6F4FF !important;
}
#order_review{
          background-color: #ffffff !important;
        padding: 12px !important;
        border-radius: 16px !important;
      
        border: 2px solid #E6F4FF !important;
}
.page-id-9 .shop_table thead , .page-id-9 .shop_table tbody , .page-id-9 .shop_table  tfoot .cart-subtotal{
  display:none;
}
.page-id-9 #order_review_heading {
    display: none;
}

/* تیترها */
.woocommerce form.checkout h3,
#order_review_heading {
font-weight: 600;
    font-size: 15px;
    color: rgb(51, 51, 51);
    margin-bottom: 10px;
    padding-right: 2px;
}

/* فیلدهای ورودی */
.woocommerce form.checkout input.input-text,
.woocommerce form.checkout select,
.woocommerce form.checkout textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-size: 14px;
  transition: border-color 0.3s ease;
  margin-top: 5px;
}

.woocommerce form.checkout input.input-text:focus,
.woocommerce form.checkout select:focus,
.woocommerce form.checkout textarea:focus {
  border-color: #008EFA;
  outline: none;
}

/* لیبل فیلدها */
.woocommerce form.checkout label {
  font-weight: bold;
  font-size: 13px;
  color: #333;
}

/* دکمه نهایی سفارش */
#place_order {
  background-color: #ed174a !important;
  color: #fff !important;
  padding: 18px 25px !important;
  font-size: 16px !important;
  border-radius: 10px !important;
  font-weight: bold !important;
  transition: background-color 0.3s ease !important;
  width: 100%;
  margin-top: 20px;
}

#place_order:hover {
  background-color: #caa52b !important;
}

/* پیام قوانین */
.Approval_rules_and_regulations {
  font-size: 13px;
  color: #555;
  margin-top: 15px;
  line-height: 1.8;
}

.Approval_rules_and_regulations a {
  color: #008EFA;
  text-decoration: underline;
}

.Approval_rules_and_regulations a:hover {
  color: #005bbb;
}

/* جدول محصولات نهایی */
.woocommerce-checkout-review-order-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  font-size: 14px;
}

.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
  padding: 10px;
  border-bottom: 1px solid #eee;
  text-align: right;
}

/* روش پرداخت */
.woocommerce-checkout-payment ul.payment_methods {
  background: #f9f9f9;
  padding: 20px;
  border-radius: 12px;
  margin-top: 20px;
}

.woocommerce-checkout-payment ul.payment_methods li {
  margin-bottom: 12px;
}

.woocommerce-checkout-payment .payment_box {
  background: #fff9e1;
  border: 1px solid #f3cb3f;
  padding: 10px 15px;
  border-radius: 8px;
  margin-top: 8px;
  font-size: 13px;
  color: #333;
}

/* تغییر آدرس حمل‌ونقل */
.shipping-calculator-button {
  color: #008EFA;
  font-size: 13px;
  text-decoration: underline;
  cursor: pointer;
}

.shipping-calculator-button:hover {
  color: #005bbb;
}

/* دکمه‌های داخل حمل‌ونقل */
.woocommerce-shipping-calculator button.button {
  background-color: #008EFA;
  color: #fff;
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 14px;
  border: none;
}

.woocommerce-shipping-calculator button.button:hover {
  background-color: #006bbd;
}

.ast-single-post .entry-content a, .ast-comment-content a:not(.ast-comment-edit-reply-wrap a), .woocommerce-js .woocommerce-product-details__short-description a {
    text-decoration: none !important;
}
#post_50 .entry-title{
	display:none;
}

span.price {}
.woocommerce-Price-currencySymbol {
  font-size: 0; /* مخفی کردن متن اصلی */
  position: relative;
}

.woocommerce-Price-currencySymbol::before {
  content: " تومان";
  white-space: pre;
  font-size: 15px;
  line-height: 1;
  font-family: pelak;
  display: inline-flex;
  direction: rtl;
  text-align: left;
}
#shipping_method .woocommerce-Price-currencySymbol::before {

  padding-right:25px;
}


li.ast-article-single.desktop-align-left.tablet-align-left.mobile-align-left.product.type-product.post-116692.status-publish.instock.product_cat-motorcycle-safety-equipment.product_cat-206.product_cat-motorcycle-accessories.product_tag-198.has-post-thumbnail.shipping-taxable.purchasable.product-type-variable {}
/* جعبه قیمت */
.ast-article-single .price {
  background: #f6f6f6;
  padding: 6px 12px;
  border-radius: 12px;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  font-family: 'Vazir', sans-serif;
  margin-top: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

/* عدد قیمت */
.ast-article-single .price .amount bdi {
  font-size: 17px !important;
  font-weight: 700;
  color: #222;
  direction: rtl;
}


.price del {
  color: #999;
  font-size: 13px;
  text-decoration: line-through;
  margin-left: 8px;
  opacity: 0.6;
}



.price ins {
  background: #f5f5f5;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: bold;
  color: #222;
  text-decoration: none;
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
}


.ast-single-post-featured-section {
  display: none !important;
}
.page .entry-header .entry-title {
    display: none;
}

.woocommerce-js div.product form.cart .reset_variations {
    display: none !important;
}
#order_review .woocommerce-form-coupon-toggle {
  display: none !important;
}

/* فرم کوپن */
#order_review form.checkout_coupon.woocommerce-form-coupon {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  margin: 20px 0 !important;
  align-items: center !important;
  justify-content: space-between !important;
}

/* فیلد ورودی */
#order_review form.checkout_coupon .form-row-first {
  flex: 1 1 auto !important;
  width: auto !important;
  height: 10px !important;
}

#order_review form.checkout_coupon .form-row-first input {
  width: 100% !important;
  padding: 12px 16px !important;
  font-size: 15px !important;
  border-radius: 10px !important;
  border: 1px solid #ccc !important;
  font-family: 'Vazir', sans-serif !important;
}

/* دکمه */
#order_review form.checkout_coupon .form-row-last {
  flex: 0 0 auto !important;
}

#order_review form.checkout_coupon .form-row-last .button {
  padding: 12px 20px !important;
  font-size: 15px !important;
  background-color: #1976d2 !important;
  color: white !important;
  border: none !important;
  border-radius: 10px !important;
  cursor: pointer !important;
  font-family: 'Vazir', sans-serif !important;
  transition: background-color 0.3s ease !important;
}

#order_review form.checkout_coupon .form-row-last .button:hover {
  background-color: #1254a3 !important;
}

/* ریسپانسیو برای موبایل */

#order_review   form.checkout_coupon {
    flex-direction: column !important;
    align-items: stretch !important;
  }

#order_review   .form-row-first,
#order_review   .form-row-last {
    width: 100% !important;
  }

#order_review   .form-row-last .button {
    width: 100% !important;
  }



#order_review p.form-row.form-row-first {
    margin-top: -40px;
}
#order_review p.form-row.form-row-last {
    margin-bottom: 30px;
}

h3.customTitleForPaymentMethod {}

/* ریسپانسیو برای موبایل */
@media (max-width: 780px) {
  form.checkout_coupon {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  margin-left: auto;
      margin-right:auto;
      
  }

  form.checkout_coupon .form-row-first,
  form.checkout_coupon .form-row-last {
    width: 100%;
  }

  form.checkout_coupon .form-row-last .button {
    width: 100%;
  }
  body.rtl.wp-singular.page-template-default.page.page-id-9.logged-in.admin-bar.wp-theme-astra.wp-child-theme-astra-child.theme-astra.woocommerce-checkout.woocommerce-page.woocommerce-js.woo-variation-swatches.wvs-behavior-blur.wvs-theme-astra-child.wvs-mobile.wvs-show-label.wvs-tooltip.ast-header-break-point.ast-plain-container.ast-no-sidebar.astra-4\.9\.1.group-blog.ast-single-post.ast-inherit-site-logo-transparent.ast-hfb-header.ast-normal-title-enabled.elementor-default.elementor-kit-1972.elementor-page.elementor-page-9.astra-addon-4\.8\.12.customize-support.dialog-body.dialog-buttons-body.dialog-container.dialog-buttons-container.e--ua-blink.e--ua-chrome.e--ua-webkit {
}
.woocommerce-form-coupon-toggle {
display:none !important;
}
/* استایل فرم کوپن */
form.checkout_coupon.woocommerce-form-coupon {
  display: flex !important;
  flex-wrap: wrap;
  gap: 16px;
  padding: 20px;
  background: #ffffff;
  border: 1px solid #ddd;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
  justify-content: space-between;
  align-items: center;
  margin-left: auto;
  margin-right:auto;

}

/* فیلد ورودی */
form.checkout_coupon .form-row-first {
  flex: 1 1 auto;
  min-width: 200px;
}

form.checkout_coupon .form-row-first input {
  width: 100%;
  padding: 12px 16px;
  font-size: 16px;
  border-radius: 10px;
  border: 1px solid #ccc;
  transition: border-color 0.3s ease;
  font-family: inherit;
}

form.checkout_coupon .form-row-first input:focus {
  border-color: #0d99ff;
  outline: none;
}

/* دکمه */
form.checkout_coupon .form-row-last {
  flex: 0 0 auto;
}

form.checkout_coupon .form-row-last .button {
  background: #0d99ff;
  color: #fff;
  padding: 12px 26px;
  font-size: 16px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: background-color 0.3s ease;
}

form.checkout_coupon .form-row-last .button:hover {
  background: #0070c0;
}

}
@media (max-width: 780px) {
div#edameKharidAzCarttoCheckout {}
#edameKharidAzCarttoCheckout {
  position: fixed;
  bottom: 0;
  right: 0;
  left: 0;
  z-index: 9997;
  background-color: #ffffff;
  padding: 12px 20px;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  height:80px;
	
  margin-bottom: 0;
  
}

#edameKharidAzCarttoCheckout .elementor-button {
  width: 100%;
  background-color: #007bff; /* یا رنگ دلخواهت */
  color: white;
  font-weight: bold;
  font-size: 16px;
  border-radius: 8px;
  padding: 14px;
}
	
	


#woocommerce-checkout-form-coupon.show {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* تیتر کاستوم */
.coupon-toggle-title {
  font-size: 15px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #333;
}

/* دکمه ثبت کد اولیه مخفی باشه */
#woocommerce-checkout-form-coupon .button {
}

#woocommerce-checkout-form-coupon.show-btn .button {
  display: inline-block;
}


form#woocommerce-checkout-form-coupon {
    margin-bottom: 24px;
	background-color: #ffffff !important;
    padding: 20px !important;
    border-radius: 16px !important;

    border: 2px solid #E6F4FF !important;
}
/* استایل کلی فرم */
#woocommerce-checkout-form-coupon {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
  margin-top: 24px;
  transition: all 0.4s ease;
}

/* عنوان بالای فرم */
#woocommerce-checkout-form-coupon .coupon-title {
  font-weight: 600;
  font-size: 15px;
  color: #444;
  margin-bottom: -12px;
}

/* فیلد ورودی */
#woocommerce-checkout-form-coupon input[type="text"] {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  outline: none;
  transition: border 0.2s;
}

#woocommerce-checkout-form-coupon input[type="text"]:focus {
  border-color: #007bff;
}

/* دکمه ثبت کد */
#woocommerce-checkout-form-coupon .button {
        background-color: #cadef3;
        color: #000000;
        padding: 10px 18px;
        border-radius: 8px;
        font-weight: 600;
        border: none;
        margin-top: 10px;
        transition: background-color 0.3s;
}

#woocommerce-checkout-form-coupon .button:hover {
  background-color: #005ecb;
}

/* چینش بهتر فرم */
#woocommerce-checkout-form-coupon .form-row {
  margin: 0 0 12px 0;
}

/* پاک کردن فضای اضافی */
#woocommerce-checkout-form-coupon .clear {
  display: none;
}

}

.site-below-footer-wrap[data-section="section-below-footer-builder"] {

    background: #002E56;
}

button.single_add_to_cart_button.button.alt {
    background: #EF4056 !important;
}

.woocommerce-order .woocommerce-notice , .woocommerce-order .woocommerce-order-overview {display:none !important;}

.woocommerce-order .woocommerce-order-overview + p {
    display: none;
}


a.button.wip-invoice {
    width:100%;
    text-align:center;
    border-radius:12px;
    background-color:#F7931E !important;
}


.ast-sticky-add-to-cart-action-wrap {}


.page-id-69524  .woocommerce-notices-wrapper {
	display:none;
}



bdi {}
@media only screen and (max-width: 600px) { 
    .single-product .summary p.price {
        position: fixed;
        bottom: -6px ;
        right: 0;
        left: 50%;
        width: 100%;
        background: #fff; /* یا هر رنگ بکگراند دلخواه */
        padding: 12px;
        margin: 0;
        z-index: 1000;
        text-align: right;
        font-size: 16px;
        border-top: 1px solid #ddd;
        box-shadow: 0 -2px 8px rgba(0,0,0,0.05);
        height:80px;
}
        .single-product .summary p.price del {
        position: fixed;
        bottom: 36px ;
        right: 10px ;
        
}
            .single-product .summary p.price ins {
        position: fixed;
        bottom: 0px ;
        
}
    .single-product .summary .single_add_to_cart_button{
        position: fixed;
        bottom: 0;
        left: 12px;
        z-index:9997;
        width:50% !important;
        
    }
}









/* تنظیم کلی برای تب‌ها */
ul.tabs.wc-tabs {
  display: flex !important;
  justify-content: center !important;
  gap: 16px !important;
  flex-wrap: wrap !important;
  padding: 0 !important;
  margin: 24px 0 !important;
  list-style: none !important;
}

/* لینک تب عمومی */
ul.tabs.wc-tabs li a {
  display: block !important;
  padding: 10px 20px !important;
  border-radius: 8px !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  color: #333 !important;
  background: #f1f1f1 !important;
  text-decoration: none !important;
  transition: all 0.25s ease !important;
}

/* لینک تب فعال */
ul.tabs.wc-tabs li a[aria-selected="true"] {
  background-color: #e40046 !important;
  color: #fff !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
}



/* موبایل */
@media (max-width: 600px) {
  ul.tabs.wc-tabs {
    gap: 10px !important;
  }

  ul.tabs.wc-tabs li a {
    font-size: 14px !important;
    padding: 8px 14px !important;
  }
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active:before {
	display:none;
}


/* باکس کلی تب‌ها */
.woocommerce-Tabs-panel {
  background-color: #fff !important;
  border-radius: 12px !important;
  padding: 24px 20px !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04) !important;
  line-height: 1.9 !important;
  color: #333 !important;
  font-size: 15.5px !important;
}

/* عنوان داخل تب (مثلاً h2) */
.woocommerce-Tabs-panel h2 {
  font-size: 20px !important;
  margin-bottom: 14px !important;
  color: #111 !important;
  font-weight: 700 !important;
  border-bottom: 2px solid #e40046 !important;
  padding-bottom: 6px !important;
}

/* پاراگراف‌ها */
.woocommerce-Tabs-panel p {
  margin-bottom: 14px !important;
  color: #444 !important;
  text-align: justify !important;
}

/* برای موبایل */
@media (max-width: 600px) {
  .woocommerce-Tabs-panel {
    padding: 18px 16px !important;
    font-size: 14.5px !important;
  }

  .woocommerce-Tabs-panel h2 {
    font-size: 18px !important;
  }
}
.single_add_to_cart_button[disabled],
.single_add_to_cart_button.disabled {
  background-color: #EF4056 !important;
  border-color: #EF4056 !important;
  color: #fff !important;
  opacity: 1 !important;
  cursor: not-allowed !important;
}





/* حذف محدودکننده عرض ast-container */
.single-post .ast-container {
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 auto !important;
}

/* محتوای اصلی مقاله */
.single-post .content-area {
  width: 100% !important;
  padding: 0 !important;
}

/* حذف حاشیه‌های دور المنتور */
.single-post .entry-content > .elementor {
  padding: 0 !important;
  margin: 0 !important;
}

/* برای سئو و خوانایی بهتر */
.single-post .entry-title {
  font-size: 28px;
  font-weight: 800;
  margin: 24px 0 16px;
  text-align: center;
  color: #222;
}

.single-post .entry-meta {
  text-align: center;
  font-size: 14px;
  color: #777;
  margin-bottom: 24px;
}

/* استایل به جدول داخل مقاله */
.single-post table {
  width: 100% !important;
  border: 1px solid #ddd;
  border-collapse: collapse;
  margin: 20px 0;
}
.single-post table th,
.single-post table td {
  border: 1px solid #ddd;
  padding: 12px;
  text-align: center;
}
.single-post table th {
  background: #f5f5f5;
  font-weight: bold;
}

/* واکنش‌گرا کردن مقاله */
@media (max-width: 768px) {
  .single-post .entry-title {
    font-size: 22px;
    padding: 0 16px;
  }
  .single-post .elementor {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
	
	.woocommerce  ul.products {
		        grid-column-gap: 6px !important;
        grid-row-gap: 12px !important;
    
	}
}


.custom-label-box {
    display: inline-block;
    background-color: #f1faff;
    color: #0077c2;
    padding: 8px 16px;
    border-radius: 18px;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid #cceeff;
    margin-bottom: 10px;
    direction: rtl;
    text-align: right;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

.custom-label-text::before {
    content: '🛒 ';
    margin-left: 6px;
}


.product_meta .sku_wrapper , .product_meta .posted_in , .product_meta .tagged_as {
	display:none !important;
}

.woocommerce-js div.product .product_meta{
	border-top:none !important;
}

.ast-article-single .summary  .quantity {
	display:none !important;
}
.seo-box {
  direction: rtl;
  text-align: right;
  background: linear-gradient(135deg, #fafafa, #f2f2f2);
  border: 1px solid #ddd;
  border-radius: 10px;
  font-size: 1rem;
  line-height: 1.8;
  color: #333;
  padding: 20px;
  margin: 20px 0;
  box-sizing: border-box;
  transition: all 0.3s ease;
}

.seo-box p,
.seo-box h2,
.seo-box h3 {
  margin: 0 0 12px 0 !important; /* فاصله پایین پاراگراف‌ها */
  padding: 0 !important;
}

.seo-box ul,
.seo-box ol {
  list-style-position: inside;
  padding-right: 0 !important;
  margin-right: 0 !important;
}

body:not(.elementor-editor-active) .seo-box:hover {
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  transform: translateY(-3px);
  border-color: #ffcc00;
}
