@font-face {
	font-weight: normal;
	font-style: normal;
	font-family: "woodmart-font";
	src: url("//qimia.om/wp-content/themes/woodmart/fonts/woodmart-font-1-400.woff2?v=8.3.4") format("woff2");
}

@font-face {
	font-family: "star";
	font-weight: 400;
	font-style: normal;
	src: url("//qimia.om/wp-content/plugins/woocommerce/assets/fonts/star.eot?#iefix") format("embedded-opentype"), url("//qimia.om/wp-content/plugins/woocommerce/assets/fonts/star.woff") format("woff"), url("//qimia.om/wp-content/plugins/woocommerce/assets/fonts/star.ttf") format("truetype"), url("//qimia.om/wp-content/plugins/woocommerce/assets/fonts/star.svg#star") format("svg");
}

@font-face {
	font-family: "WooCommerce";
	font-weight: 400;
	font-style: normal;
	src: url("//qimia.om/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.eot?#iefix") format("embedded-opentype"), url("//qimia.om/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.woff") format("woff"), url("//qimia.om/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.ttf") format("truetype"), url("//qimia.om/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.svg#WooCommerce") format("svg");
}

:root {
	--wd-header-banner-h: 40px;
	--wd-text-font: "DM Sans", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: #767676;
	--wd-text-font-size: 14px;
	--wd-title-font: "DM Sans", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 600;
	--wd-title-color: #242424;
	--wd-entities-title-font: "DM Sans", Arial, Helvetica, sans-serif;
	--wd-entities-title-font-weight: 500;
	--wd-entities-title-color: #333333;
	--wd-entities-title-color-hover: rgb(51 51 51 / 65%);
	--wd-alternative-font: "DM Sans", Arial, Helvetica, sans-serif;
	--wd-widget-title-font: "DM Sans", Arial, Helvetica, sans-serif;
	--wd-widget-title-font-weight: 600;
	--wd-widget-title-transform: uppercase;
	--wd-widget-title-color: #333;
	--wd-widget-title-font-size: 16px;
	--wd-header-el-font: "DM Sans", Arial, Helvetica, sans-serif;
	--wd-header-el-font-weight: 700;
	--wd-header-el-transform: uppercase;
	--wd-header-el-font-size: 13px;
	--wd-otl-style: dotted;
	--wd-otl-width: 2px;
	--wd-primary-color: rgb(52,166,181);
	--wd-alternative-color: rgb(14,46,58);
	--btn-default-bgcolor: #f7f7f7;
	--btn-default-bgcolor-hover: #efefef;
	--btn-accented-bgcolor: rgba(109,214,224,0.68);
	--btn-accented-bgcolor-hover: rgb(50,201,209);
	--wd-form-brd-width: 1px;
	--notices-success-bg: #459647;
	--notices-success-color: #fff;
	--notices-warning-bg: #E0B252;
	--notices-warning-color: #fff;
	--wd-link-color: #333333;
	--wd-link-color-hover: #242424;
}
.wd-age-verify-wrap {
	--wd-popup-width: 500px;
}
.wd-popup.wd-promo-popup {
	background-color: #111111;
	background-image: none;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: left center;
}
.wd-promo-popup-wrap {
	--wd-popup-width: 800px;
}
:is(.woodmart-archive-shop .wd-builder-off,.wd-wishlist-content,.related-and-upsells,.cart-collaterals,.wd-shop-product,.wd-fbt) .wd-products-with-bg, :is(.woodmart-archive-shop .wd-builder-off,.wd-wishlist-content,.related-and-upsells,.cart-collaterals,.wd-shop-product,.wd-fbt) .wd-products-with-bg :is(.wd-product,.wd-cat) {
	--wd-prod-bg:rgb(255,255,255);
	--wd-bordered-bg:rgb(255,255,255);
}
:is(.woodmart-woocommerce-layered-nav, .wd-product-category-filter) .wd-scroll-content {
	max-height: 223px;
}
.wd-page-title .wd-page-title-bg img {
	object-fit: cover;
	object-position: center center;
}
.wd-footer {
	background-color: #ffffff;
	background-image: none;
}
body, [class*=color-scheme-light], [class*=color-scheme-dark], .wd-search-form[class*="wd-header-search-form"] form.searchform, .wd-el-search .searchform {
	--wd-form-placeholder-color: rgb(219,219,219);
	--wd-form-brd-color-focus: rgb(193,193,193);
	--wd-form-bg: rgb(255,255,255);
}
.product-labels .product-label.onsale {
	background-color: rgb(255,138,0);
	color: rgb(255,255,255);
}
.product-labels .product-label.out-of-stock {
	background-color: rgba(221,51,51,0.19);
	color: rgb(198,45,45);
}
.mfp-wrap.wd-popup-quick-view-wrap {
	--wd-popup-width: 920px;
}

@media (max-width: 1024px) {
	:root {
		--wd-header-banner-h: 40px;
	}

}
:root{
--wd-container-w: 1222px;
--wd-form-brd-radius: 35px;
--btn-default-color: #333;
--btn-default-color-hover: #333;
--btn-accented-color: #333;
--btn-accented-color-hover: #333;
--btn-default-brd-radius: 35px;
--btn-default-box-shadow: none;
--btn-default-box-shadow-hover: none;
--btn-accented-brd-radius: 35px;
--btn-accented-box-shadow: none;
--btn-accented-box-shadow-hover: none;
--wd-brd-radius: 8px;
}

@media (min-width: 1222px) {
section.elementor-section.wd-section-stretch > .elementor-container {
margin-left: auto;
margin-right: auto;
}
}


.wd-page-title {
background-color: #0a0a0a;
}

/* =====================================================
   AMIR NUTRITION / WOODMART
   FINAL SAFE BUTTON STYLE
   Fixed Mini Cart + Single Product Add To Cart
   No Size Change
   ===================================================== */

:root{
    --amir-tiffany: #36b8c8;
    --amir-btn-text: #07323a;
    --amir-btn-hover-text: #052b33;
}

/* =====================================================
   MAIN BUTTONS
   Add to Cart / Buy Now / Checkout / Cart / Elementor / Comments
   ===================================================== */

body.single-product .product .summary .single_add_to_cart_button,
body.single-product .product form.cart .single_add_to_cart_button,
body.single-product button.single_add_to_cart_button,
body.single-product .single_add_to_cart_button.button,
body.single-product .wd-buy-now-btn,

body .wd-add-btn a,
body .wd-add-btn .add-to-cart-loop,
body .wd-add-btn-replace .add-to-cart-loop,

body .woocommerce a.add_to_cart_button,
body .woocommerce a.product_type_simple,
body .woocommerce a.product_type_variable,

body .woocommerce-cart .woocommerce-cart-form .actions .button,
body .woocommerce-cart .cart_totals .checkout-button,
body .woocommerce-cart .coupon .button,
body .woocommerce-checkout button#place_order,
body .woocommerce-checkout .checkout-button,
body .woocommerce .return-to-shop .button,

body .elementor-widget-button .elementor-button,
body .elementor-button-wrapper .elementor-button,
body .elementor-field-type-submit .elementor-button,
body .elementor-form button[type="submit"]:not(.elementor-search-form__submit),

body .comment-form input[type="submit"],
body .comment-form button[type="submit"],
body .form-submit input[type="submit"],
body .form-submit button[type="submit"],
body #respond input#submit,
body #review_form input#submit,
body .woocommerce #review_form #respond .form-submit input{
    background:
        linear-gradient(
            180deg,
            rgba(218,250,252,0.98) 0%,
            rgba(168,239,246,0.96) 100%
        ) !important;

    color: var(--amir-btn-text) !important;
    border-color: rgba(54,184,200,0.55) !important;
    border-radius: 999px !important;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.82),
        inset 0 0 0 1.4px rgba(54,184,200,0.38),
        0 3px 8px rgba(15,23,42,0.055),
        0 7px 16px rgba(54,184,200,0.12) !important;

    text-decoration: none !important;
    text-shadow: none !important;
    opacity: 1 !important;
    transform: none !important;

    transition:
        background .22s ease,
        color .22s ease,
        border-color .22s ease,
        box-shadow .22s ease,
        filter .22s ease !important;
}

/* =====================================================
   HOVER
   Short modern Tiffany shadow
   ===================================================== */

body.single-product .product .summary .single_add_to_cart_button:hover,
body.single-product .product form.cart .single_add_to_cart_button:hover,
body.single-product button.single_add_to_cart_button:hover,
body.single-product .single_add_to_cart_button.button:hover,
body.single-product .wd-buy-now-btn:hover,

body .wd-add-btn a:hover,
body .wd-add-btn .add-to-cart-loop:hover,
body .wd-add-btn-replace .add-to-cart-loop:hover,

body .woocommerce a.add_to_cart_button:hover,
body .woocommerce a.product_type_simple:hover,
body .woocommerce a.product_type_variable:hover,

body .woocommerce-cart .woocommerce-cart-form .actions .button:hover,
body .woocommerce-cart .cart_totals .checkout-button:hover,
body .woocommerce-cart .coupon .button:hover,
body .woocommerce-checkout button#place_order:hover,
body .woocommerce-checkout .checkout-button:hover,
body .woocommerce .return-to-shop .button:hover,

body .elementor-widget-button .elementor-button:hover,
body .elementor-button-wrapper .elementor-button:hover,
body .elementor-field-type-submit .elementor-button:hover,
body .elementor-form button[type="submit"]:not(.elementor-search-form__submit):hover,

body .comment-form input[type="submit"]:hover,
body .comment-form button[type="submit"]:hover,
body .form-submit input[type="submit"]:hover,
body .form-submit button[type="submit"]:hover,
body #respond input#submit:hover,
body #review_form input#submit:hover,
body .woocommerce #review_form #respond .form-submit input:hover{
    background:
        linear-gradient(
            180deg,
            rgba(186,247,251,1) 0%,
            rgba(92,221,232,0.97) 100%
        ) !important;

    color: var(--amir-btn-hover-text) !important;
    border-color: rgba(54,184,200,0.78) !important;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.76),
        inset 0 0 0 1.6px rgba(30,170,188,0.46),
        0 0 0 2px rgba(54,184,200,0.09),
        0 5px 12px rgba(54,184,200,0.18) !important;

    filter: saturate(1.07) brightness(1.01) !important;
    transform: none !important;
    opacity: 1 !important;
}

/* =====================================================
   TEXT ALWAYS VISIBLE
   ===================================================== */

body.single-product .single_add_to_cart_button span,
body.single-product .wd-buy-now-btn span,
body .woocommerce a.add_to_cart_button span,
body .woocommerce a.product_type_simple span,
body .woocommerce a.product_type_variable span,
body .wd-add-btn a span,
body .wd-add-btn .add-to-cart-loop span,
body .wd-add-btn-replace .add-to-cart-loop span,
body .elementor-widget-button .elementor-button span,
body .elementor-button-wrapper .elementor-button span,
body .elementor-field-type-submit .elementor-button span{
    color: inherit !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

/* =====================================================
   REMOVE ONLY WOODMART ADD TO CART ICON EFFECT
   ===================================================== */

body .wd-add-btn a:before,
body .wd-add-btn a:after,
body .wd-add-btn .add-to-cart-loop:before,
body .wd-add-btn .add-to-cart-loop:after,
body .wd-add-btn-replace .add-to-cart-loop:before,
body .wd-add-btn-replace .add-to-cart-loop:after,
body .woocommerce a.add_to_cart_button:before,
body .woocommerce a.add_to_cart_button:after{
    content: none !important;
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

/* =====================================================
   QUANTITY BOX - ONLY PRODUCT PAGE / CART PAGE
   مهم: دیگر Mini Cart را نمی‌گیرد
   ===================================================== */

body.single-product .product form.cart .quantity,
body.woocommerce-cart .woocommerce-cart-form .quantity{
    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,0.96) 0%,
            rgba(222,250,252,0.94) 100%
        ) !important;

    border-color: rgba(54,184,200,0.38) !important;
    border-radius: 999px !important;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.88),
        inset 0 0 0 1.3px rgba(54,184,200,0.24),
        0 3px 8px rgba(15,23,42,0.045),
        0 6px 14px rgba(54,184,200,0.08) !important;

    overflow: hidden !important;
}

body.single-product .product form.cart .quantity input.qty,
body.woocommerce-cart .woocommerce-cart-form .quantity input.qty,
body.single-product .product form.cart .quantity input[type="number"],
body.woocommerce-cart .woocommerce-cart-form .quantity input[type="number"]{
    background: transparent !important;
    color: #07323a !important;
    box-shadow: none !important;
    border-color: transparent !important;
    text-shadow: none !important;
}

body.single-product .product form.cart .quantity .plus,
body.single-product .product form.cart .quantity .minus,
body.single-product .product form.cart .quantity button.plus,
body.single-product .product form.cart .quantity button.minus,
body.woocommerce-cart .woocommerce-cart-form .quantity .plus,
body.woocommerce-cart .woocommerce-cart-form .quantity .minus,
body.woocommerce-cart .woocommerce-cart-form .quantity button.plus,
body.woocommerce-cart .woocommerce-cart-form .quantity button.minus{
    background: rgba(255,255,255,0.50) !important;
    color: #07323a !important;
    border-color: rgba(54,184,200,0.22) !important;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.74),
        inset 0 0 0 1px rgba(54,184,200,0.14) !important;

    text-shadow: none !important;
    transform: none !important;

    transition:
        background .2s ease,
        color .2s ease,
        box-shadow .2s ease,
        filter .2s ease !important;
}

body.single-product .product form.cart .quantity .plus:hover,
body.single-product .product form.cart .quantity .minus:hover,
body.single-product .product form.cart .quantity button.plus:hover,
body.single-product .product form.cart .quantity button.minus:hover,
body.woocommerce-cart .woocommerce-cart-form .quantity .plus:hover,
body.woocommerce-cart .woocommerce-cart-form .quantity .minus:hover,
body.woocommerce-cart .woocommerce-cart-form .quantity button.plus:hover,
body.woocommerce-cart .woocommerce-cart-form .quantity button.minus:hover{
    background: rgba(126,232,241,0.78) !important;
    color: #052b33 !important;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.76),
        inset 0 0 0 1.2px rgba(30,170,188,0.30),
        0 2px 7px rgba(54,184,200,0.13) !important;

    filter: saturate(1.05) !important;
    transform: none !important;
}

/* =====================================================
   MINI CART / SIDE CART PROTECTION
   این بخش مشکل عکس را درست می‌کند
   ===================================================== */

body .widget_shopping_cart .quantity,
body .woocommerce-mini-cart .quantity,
body .cart-widget-side .quantity,
body .wd-side-hidden .quantity,
body .wd-dropdown-cart .quantity,
body .wd-cart-dropdown .quantity,
body .shopping-cart-widget-body .quantity,
body .shopping-cart-widget-footer .quantity{
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    overflow: visible !important;
    color: inherit !important;
}

body .widget_shopping_cart .quantity *,
body .woocommerce-mini-cart .quantity *,
body .cart-widget-side .quantity *,
body .wd-side-hidden .quantity *,
body .wd-dropdown-cart .quantity *,
body .wd-cart-dropdown .quantity *,
body .shopping-cart-widget-body .quantity *,
body .shopping-cart-widget-footer .quantity *{
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: inherit !important;
}

/* Remove button inside mini cart must stay normal */
body .widget_shopping_cart .remove,
body .woocommerce-mini-cart .remove,
body .cart-widget-side .remove,
body .wd-side-hidden .remove,
body .wd-dropdown-cart .remove,
body .wd-cart-dropdown .remove{
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    color: inherit !important;
}

/* =====================================================
   FOCUS STATE
   ===================================================== */

body.single-product .single_add_to_cart_button:focus,
body.single-product .wd-buy-now-btn:focus,
body .woocommerce a.add_to_cart_button:focus,
body .woocommerce a.product_type_simple:focus,
body .woocommerce a.product_type_variable:focus,
body .woocommerce-cart .checkout-button:focus,
body .woocommerce-checkout button#place_order:focus,
body .elementor-widget-button .elementor-button:focus,
body .elementor-button-wrapper .elementor-button:focus,
body .elementor-field-type-submit .elementor-button:focus,
body .elementor-form button[type="submit"]:not(.elementor-search-form__submit):focus,
body .comment-form input[type="submit"]:focus,
body .comment-form button[type="submit"]:focus,
body #respond input#submit:focus,
body #review_form input#submit:focus{
    outline: none !important;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.80),
        inset 0 0 0 1.5px rgba(54,184,200,0.38),
        0 0 0 3px rgba(54,184,200,0.12),
        0 5px 12px rgba(54,184,200,0.15) !important;
}

/* =====================================================
   SEARCH / HEADER / MENU PROTECTION
   ===================================================== */

body .searchform button,
body .searchform .searchsubmit,
body .wd-search-form button,
body .wd-search-form .searchsubmit,
body .wd-search-form input[type="submit"],
body .woocommerce-product-search button,
body .woocommerce-product-search input[type="submit"],
body .elementor-search-form button,
body .elementor-search-form__submit,
body .elementor-search-form .elementor-button,

body .wd-header button,
body .wd-header .button,
body .wd-header .elementor-button,
body header button,
body header .button,
body header .elementor-button,

body .wd-tools-element a,
body .wd-header-search a,
body .wd-header-cart a,
body .wd-header-my-account a,
body .wd-header-wishlist a,
body .menu a,
body .main-nav a,
body .wd-nav a{
    box-shadow: unset !important;
    text-shadow: unset !important;
    backdrop-filter: unset !important;
    -webkit-backdrop-filter: unset !important;
    transform: none !important;
}




/* =========================================================
   QIMIA EXPIRY DISCOUNT FINAL CSS
   - Red glass badge only for expiry under 6 months
   - Normal sale badge stays orange/default
   - Red note under price only on single product / selected expiry variation
   - Does not touch price font or currency logo
   ========================================================= */


/* -----------------------------------------
   1) Hide expiry note outside product page
----------------------------------------- */

body:not(.single-product) .qimia-total-discount-note{
    display:none !important;
}


/* -----------------------------------------
   2) Expiry product card spacing
----------------------------------------- */

body:not(.single-product) .qimia-discount-expiry{
    position:relative !important;
    overflow:visible !important;
    padding-top:30px !important;
}

body:not(.single-product) .qimia-discount-expiry .product-wrapper,
body:not(.single-product) .qimia-discount-expiry .product-element-top,
body:not(.single-product) .qimia-discount-expiry .product-image-link,
body:not(.single-product) .qimia-discount-expiry .product-image-summary{
    overflow:visible !important;
}


/* -----------------------------------------
   3) Red glass badge above product image
----------------------------------------- */

body:not(.single-product) .qimia-discount-expiry .product-labels,
body:not(.single-product) .qimia-discount-expiry .labels-rounded{
    top:-18px !important;
    left:0 !important;
    right:0 !important;
    width:100% !important;
    z-index:90 !important;

    display:flex !important;
    justify-content:center !important;
    align-items:center !important;

    pointer-events:none !important;
}

body:not(.single-product) .qimia-discount-expiry .qimia-ribbon-expiry,
body:not(.single-product) .qimia-discount-expiry .qimia-exp-red-ribbon{
    position:relative !important;
    inset:auto !important;
    transform:none !important;

    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    gap:7px !important;

    width:auto !important;
    max-width:86% !important;
    min-height:31px !important;
    padding:7px 15px !important;

    border-radius:999px !important;
    border:1px solid rgba(255,255,255,.42) !important;

    background:linear-gradient(
        135deg,
        rgba(255,45,45,.58) 0%,
        rgba(220,0,0,.72) 55%,
        rgba(150,0,0,.82) 100%
    ) !important;

    color:#fff !important;
    font-size:11px !important;
    font-weight:800 !important;
    line-height:1 !important;
    letter-spacing:0 !important;
    text-align:center !important;
    text-transform:none !important;

    white-space:nowrap !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;

    box-shadow:
        0 10px 24px rgba(210,0,0,.16),
        inset 0 1px 0 rgba(255,255,255,.42),
        inset 0 -1px 0 rgba(0,0,0,.08) !important;

    -webkit-backdrop-filter:blur(18px) saturate(180%) !important;
    backdrop-filter:blur(18px) saturate(180%) !important;
}

body:not(.single-product) .qimia-discount-expiry .qimia-exp-red-ribbon::before{
    content:"" !important;
    width:8px !important;
    height:8px !important;
    min-width:8px !important;
    border-radius:50% !important;
    background:#fff !important;
    box-shadow:0 0 0 3px rgba(255,255,255,.16) !important;
}

body:not(.single-product) .qimia-discount-expiry .qimia-exp-red-ribbon::after{
    content:"" !important;
    position:absolute !important;
    top:0 !important;
    left:0 !important;
    right:0 !important;
    height:48% !important;
    border-radius:inherit !important;
    background:linear-gradient(180deg, rgba(255,255,255,.30), rgba(255,255,255,0)) !important;
    pointer-events:none !important;
}


/* -----------------------------------------
   4) Hide orange sale circle only for expiry products
----------------------------------------- */

body:not(.single-product) .qimia-discount-expiry .onsale:not(.qimia-exp-red-ribbon),
body:not(.single-product) .qimia-discount-expiry .product-label.onsale:not(.qimia-exp-red-ribbon),
body:not(.single-product) .qimia-discount-expiry .product-labels .onsale:not(.qimia-exp-red-ribbon),
body:not(.single-product) .qimia-discount-expiry .labels-rounded .onsale:not(.qimia-exp-red-ribbon){
    display:none !important;
}


/* -----------------------------------------
   5) Normal sale products keep orange sale circle
----------------------------------------- */

body:not(.single-product) .product:not(.qimia-discount-expiry) .onsale,
body:not(.single-product) .product:not(.qimia-discount-expiry) .product-label.onsale,
body:not(.single-product) .product:not(.qimia-discount-expiry) .product-labels .onsale,
body:not(.single-product) .product:not(.qimia-discount-expiry) .labels-rounded .onsale{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;

    background:linear-gradient(135deg, #ffb13b 0%, #ff8a00 100%) !important;
    color:#fff !important;

    border:none !important;
    border-radius:999px !important;

    box-shadow:
        0 8px 18px rgba(255,138,0,.22),
        inset 0 1px 0 rgba(255,255,255,.28) !important;

    font-weight:800 !important;
}


/* -----------------------------------------
   6) Single product red badge above gallery
----------------------------------------- */

.single-product.qimia-discount-single-expiry .woocommerce-product-gallery,
.single-product.qimia-discount-single-expiry .product-images,
.single-product.qimia-discount-single-expiry .images{
    position:relative !important;
    overflow:visible !important;
}

.single-product.qimia-discount-single-expiry .product-labels,
.single-product.qimia-discount-single-expiry .labels-rounded{
    top:-20px !important;
    left:0 !important;
    right:0 !important;
    width:100% !important;
    z-index:95 !important;

    display:flex !important;
    justify-content:center !important;
    align-items:center !important;

    pointer-events:none !important;
}

.single-product.qimia-discount-single-expiry .qimia-ribbon-expiry,
.single-product.qimia-discount-single-expiry .qimia-exp-red-ribbon{
    position:relative !important;
    inset:auto !important;
    transform:none !important;

    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    gap:8px !important;

    width:auto !important;
    max-width:84% !important;
    min-height:34px !important;
    padding:9px 17px !important;

    border-radius:999px !important;
    border:1px solid rgba(255,255,255,.42) !important;

    background:linear-gradient(
        135deg,
        rgba(255,45,45,.60) 0%,
        rgba(220,0,0,.74) 55%,
        rgba(150,0,0,.84) 100%
    ) !important;

    color:#fff !important;
    font-size:12px !important;
    font-weight:800 !important;
    line-height:1 !important;
    text-align:center !important;
    text-transform:none !important;
    white-space:nowrap !important;

    box-shadow:
        0 12px 26px rgba(210,0,0,.18),
        inset 0 1px 0 rgba(255,255,255,.42),
        inset 0 -1px 0 rgba(0,0,0,.08) !important;

    -webkit-backdrop-filter:blur(18px) saturate(180%) !important;
    backdrop-filter:blur(18px) saturate(180%) !important;
}


/* -----------------------------------------
   7) Single product hide default sale circle only for expiry
----------------------------------------- */

.single-product.qimia-discount-single-expiry .onsale:not(.qimia-exp-red-ribbon),
.single-product.qimia-discount-single-expiry .product-label.onsale:not(.qimia-exp-red-ribbon),
.single-product.qimia-discount-single-expiry .product-labels .onsale:not(.qimia-exp-red-ribbon),
.single-product.qimia-discount-single-expiry .labels-rounded .onsale:not(.qimia-exp-red-ribbon){
    display:none !important;
}


/* -----------------------------------------
   8) Price block + red note under price
----------------------------------------- */

.single-product .qimia-exp-price-block{
    display:inline-flex !important;
    flex-direction:column !important;
    align-items:flex-start !important;
    gap:8px !important;
}

.single-product .qimia-exp-price-row{
    display:inline-flex !important;
    align-items:baseline !important;
    gap:7px !important;
    flex-wrap:wrap !important;
}

.single-product .qimia-total-discount-note{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    gap:7px !important;

    width:fit-content !important;
    max-width:100% !important;

    margin:0 !important;
    padding:8px 14px !important;
    min-height:31px !important;

    border-radius:999px !important;
    border:1px solid rgba(255,255,255,.40) !important;

    background:linear-gradient(
        135deg,
        rgba(255,45,45,.64) 0%,
        rgba(220,0,0,.76) 55%,
        rgba(150,0,0,.86) 100%
    ) !important;

    color:#fff !important;
    font-size:12px !important;
    font-weight:800 !important;
    line-height:1 !important;
    white-space:nowrap !important;

    box-shadow:
        0 8px 18px rgba(210,0,0,.16),
        inset 0 1px 0 rgba(255,255,255,.34) !important;

    -webkit-backdrop-filter:blur(16px) saturate(170%) !important;
    backdrop-filter:blur(16px) saturate(170%) !important;
}

.single-product .qimia-total-discount-note::before{
    content:"" !important;
    width:7px !important;
    height:7px !important;
    min-width:7px !important;
    border-radius:50% !important;
    background:#fff !important;
    box-shadow:0 0 0 3px rgba(255,255,255,.16) !important;
}

.single-product .qimia-total-discount-note .qimia-note-title,
.single-product .qimia-total-discount-note .qimia-note-percent{
    color:#fff !important;
    font-size:12px !important;
    font-weight:800 !important;
    line-height:1 !important;
}


/* -----------------------------------------
   9) Selected variation price box
----------------------------------------- */

.single-product .qimia-selected-variation-price{
    display:block !important;
    width:100% !important;
    margin:8px 0 10px 0 !important;
    padding:0 !important;
    clear:both !important;
}

.single-product .single_variation_wrap .woocommerce-variation-price{
    display:block !important;
    margin:8px 0 8px 0 !important;
    padding:0 !important;
}


/* -----------------------------------------
   10) Mobile
----------------------------------------- */

@media (max-width:767px){

    body:not(.single-product) .qimia-discount-expiry{
        padding-top:26px !important;
    }

    body:not(.single-product) .qimia-discount-expiry .product-labels,
    body:not(.single-product) .qimia-discount-expiry .labels-rounded{
        top:-15px !important;
    }

    body:not(.single-product) .qimia-discount-expiry .qimia-ribbon-expiry,
    body:not(.single-product) .qimia-discount-expiry .qimia-exp-red-ribbon{
        max-width:82% !important;
        min-height:27px !important;
        padding:6px 11px !important;
        font-size:10px !important;
    }

    .single-product.qimia-discount-single-expiry .product-labels,
    .single-product.qimia-discount-single-expiry .labels-rounded{
        top:-15px !important;
    }

    .single-product.qimia-discount-single-expiry .qimia-ribbon-expiry,
    .single-product.qimia-discount-single-expiry .qimia-exp-red-ribbon{
        max-width:82% !important;
        min-height:30px !important;
        padding:7px 12px !important;
        font-size:11px !important;
    }

    .single-product .qimia-total-discount-note{
        min-height:28px !important;
        padding:7px 12px !important;
        font-size:11px !important;
    }
}
/* =========================================================
   QIMIA PATCH
   Move expiry badge to stars position on shop/archive/search
   Hide stars only for low-expiry products
   ========================================================= */


/* فقط در شاپ/آرشیو */
body:not(.single-product) .qimia-discount-expiry{
    padding-top:0 !important;
}

/* container بالای عکس دیگر فضا نگیرد */
body:not(.single-product) .qimia-discount-expiry .product-labels,
body:not(.single-product) .qimia-discount-expiry .labels-rounded{
    top:auto !important;
    left:auto !important;
    right:auto !important;
    width:auto !important;
    display:block !important;
    pointer-events:none !important;
}

/* مخفی کردن ستاره‌ها فقط برای expiry */
body:not(.single-product) .qimia-discount-expiry .qimia-hide-rating-for-expiry,
body:not(.single-product) .qimia-discount-expiry .qimia-hide-rating-for-expiry .star-rating,
body:not(.single-product) .qimia-discount-expiry .wd-product-ratings,
body:not(.single-product) .qimia-discount-expiry .woocommerce-product-rating{
    display:none !important;
}

/* badge جدید در جای ستاره‌ها */
body:not(.single-product) .qimia-discount-expiry .qimia-badge-in-rating-place{
    position:relative !important;
    inset:auto !important;
    top:auto !important;
    left:auto !important;
    right:auto !important;
    bottom:auto !important;
    transform:none !important;

    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    gap:7px !important;

    width:max-content !important;
    max-width:92% !important;
    min-height:31px !important;
    margin:10px auto 10px !important;
    padding:7px 15px !important;

    border-radius:999px !important;
    border:1px solid rgba(255,255,255,.42) !important;

    background:linear-gradient(
        135deg,
        rgba(255,45,45,.58) 0%,
        rgba(220,0,0,.72) 55%,
        rgba(150,0,0,.82) 100%
    ) !important;

    color:#fff !important;
    font-size:11px !important;
    font-weight:800 !important;
    line-height:1 !important;
    letter-spacing:0 !important;
    text-align:center !important;
    text-transform:none !important;
    white-space:nowrap !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;

    box-shadow:
        0 10px 24px rgba(210,0,0,.16),
        inset 0 1px 0 rgba(255,255,255,.42),
        inset 0 -1px 0 rgba(0,0,0,.08) !important;

    -webkit-backdrop-filter:blur(18px) saturate(180%) !important;
    backdrop-filter:blur(18px) saturate(180%) !important;

    pointer-events:none !important;
}

body:not(.single-product) .qimia-discount-expiry .qimia-badge-in-rating-place::before{
    content:"" !important;
    width:8px !important;
    height:8px !important;
    min-width:8px !important;
    border-radius:50% !important;
    background:#fff !important;
    box-shadow:0 0 0 3px rgba(255,255,255,.16) !important;
}

body:not(.single-product) .qimia-discount-expiry .qimia-badge-in-rating-place::after{
    content:"" !important;
    position:absolute !important;
    top:0 !important;
    left:0 !important;
    right:0 !important;
    height:48% !important;
    border-radius:inherit !important;
    background:linear-gradient(180deg, rgba(255,255,255,.30), rgba(255,255,255,0)) !important;
    pointer-events:none !important;
}

/* sale نارنجی عادی برای غیر expiry همان قبلی بماند */
body:not(.single-product) .product:not(.qimia-discount-expiry) .onsale,
body:not(.single-product) .product:not(.qimia-discount-expiry) .product-label.onsale,
body:not(.single-product) .product:not(.qimia-discount-expiry) .product-labels .onsale,
body:not(.single-product) .product:not(.qimia-discount-expiry) .labels-rounded .onsale{
    display:inline-flex !important;
}

/* موبایل */
@media (max-width:767px){

    body:not(.single-product) .qimia-discount-expiry .qimia-badge-in-rating-place{
        max-width:88% !important;
        min-height:28px !important;
        margin:8px auto 8px !important;
        padding:6px 11px !important;
        font-size:10px !important;
        gap:5px !important;
    }

    body:not(.single-product) .qimia-discount-expiry .qimia-badge-in-rating-place::before{
        width:6px !important;
        height:6px !important;
        min-width:6px !important;
    }
}



/* باکس اصلی عکس محصول */
.products .product .product-element-top,
.products .product .wrap-product-img,
.products .product .product-image-wrap,
.products .product .product-image-link {
    position: relative !important;
    overflow: visible;
}

/* =====================================================
   QIMIA / AMIR - Flash Sale Badge ONLY on Shop Cards
   Put the red badge on product image like discount circle
   ===================================================== */

/* Only shop/archive/category product cards */
body.woocommerce-shop ul.products li.product,
body.archive.woocommerce ul.products li.product,
body.woocommerce-shop .wd-products .product-grid-item,
body.archive.woocommerce .wd-products .product-grid-item {
    position: relative !important;
}

/* Product image area must be relative */
body.woocommerce-shop ul.products li.product .product-element-top,
body.archive.woocommerce ul.products li.product .product-element-top,
body.woocommerce-shop .wd-products .product-grid-item .product-element-top,
body.archive.woocommerce .wd-products .product-grid-item .product-element-top {
    position: relative !important;
    overflow: visible !important;
}

/* Flash Sale badge on shop card image */
body.woocommerce-shop .qimia-flash-sale-badge,
body.archive.woocommerce .qimia-flash-sale-badge {
    position: absolute !important;
    top: 12px !important;
    left: 12px !important;
    right: auto !important;
    bottom: auto !important;

    z-index: 12 !important;
    margin: 0 !important;
    transform: none !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;

    width: auto !important;
    max-width: max-content !important;
    min-height: 34px !important;
    padding: 8px 14px !important;

    border-radius: 999px !important;
    background: linear-gradient(180deg, rgba(255, 115, 115, .92), rgba(185, 62, 55, .96)) !important;
    color: #fff !important;

    font-size: 13px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    white-space: nowrap !important;

    border: 1px solid rgba(255,255,255,.45) !important;
    box-shadow: 0 8px 20px rgba(190, 55, 50, .22) !important;

    backdrop-filter: blur(8px) saturate(160%) !important;
    -webkit-backdrop-filter: blur(8px) saturate(160%) !important;
}

/* Prevent badge from creating empty space */
body.woocommerce-shop .qimia-flash-sale-badge,
body.archive.woocommerce .qimia-flash-sale-badge {
    float: none !important;
    clear: none !important;
}

/* If Woodmart sale circle exists, keep it in same style position */
body.woocommerce-shop ul.products li.product .onsale,
body.archive.woocommerce ul.products li.product .onsale,
body.woocommerce-shop .wd-products .product-grid-item .onsale,
body.archive.woocommerce .wd-products .product-grid-item .onsale {
    top: 12px !important;
    left: 12px !important;
    right: auto !important;
    z-index: 11 !important;
}

/* If both orange sale circle and flash badge exist, move flash badge a bit down */
body.woocommerce-shop ul.products li.product .onsale ~ .qimia-flash-sale-badge,
body.archive.woocommerce ul.products li.product .onsale ~ .qimia-flash-sale-badge,
body.woocommerce-shop .wd-products .product-grid-item .onsale ~ .qimia-flash-sale-badge,
body.archive.woocommerce .wd-products .product-grid-item .onsale ~ .qimia-flash-sale-badge {
    top: 54px !important;
}
/* =========================================================
   FINAL - Qimia Expiry Flash Badge Position on Shop Cards
   Red badge same position as orange discount circle
   No price/button/font/image changes
   ========================================================= */


/* Remove old extra top spacing for expiry products */
body:not(.single-product) .qimia-discount-expiry{
    padding-top:0 !important;
    position:relative !important;
}


/* Product card/image area must be the position parent */
body:not(.single-product) .qimia-discount-expiry .product-wrapper,
body:not(.single-product) .qimia-discount-expiry .product-element-top,
body:not(.single-product) .qimia-discount-expiry .product-image-wrap,
body:not(.single-product) .qimia-discount-expiry .wrap-product-img,
body:not(.single-product) .qimia-discount-expiry .product-image-link{
    position:relative !important;
    overflow:visible !important;
}


/* Put label container on top-left of product image */
body:not(.single-product) .qimia-discount-expiry .product-labels,
body:not(.single-product) .qimia-discount-expiry .labels-rounded,
body:not(.single-product) .qimia-discount-expiry .wd-product-labels{
    position:absolute !important;
    top:12px !important;
    left:12px !important;
    right:auto !important;
    bottom:auto !important;

    width:auto !important;
    max-width:calc(100% - 24px) !important;
    height:auto !important;

    margin:0 !important;
    padding:0 !important;

    display:flex !important;
    align-items:flex-start !important;
    justify-content:flex-start !important;

    z-index:40 !important;
    pointer-events:none !important;
    transform:none !important;
}


/* Hide default orange sale circle only on expiry products */
body:not(.single-product) .qimia-discount-expiry .onsale:not(.qimia-exp-red-ribbon):not(.qimia-ribbon-expiry):not(.qimia-flash-sale-badge),
body:not(.single-product) .qimia-discount-expiry .product-label.onsale:not(.qimia-exp-red-ribbon):not(.qimia-ribbon-expiry):not(.qimia-flash-sale-badge){
    display:none !important;
}


/* Red expiry flash badge */
body:not(.single-product) .qimia-discount-expiry .qimia-exp-red-ribbon,
body:not(.single-product) .qimia-discount-expiry .qimia-ribbon-expiry,
body:not(.single-product) .qimia-discount-expiry .qimia-flash-sale-badge{
    position:relative !important;
    inset:auto !important;
    top:auto !important;
    left:auto !important;
    right:auto !important;
    bottom:auto !important;
    transform:none !important;

    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    gap:7px !important;

    width:auto !important;
    max-width:100% !important;
    min-height:34px !important;

    margin:0 !important;
    padding:8px 14px !important;

    border-radius:999px !important;
    border:1px solid rgba(255,255,255,.42) !important;

    background:linear-gradient(
        135deg,
        rgba(255,45,45,.58) 0%,
        rgba(220,0,0,.72) 55%,
        rgba(150,0,0,.82) 100%
    ) !important;

    color:#fff !important;
    font-size:12px !important;
    font-weight:800 !important;
    line-height:1 !important;
    letter-spacing:0 !important;
    text-align:center !important;
    text-transform:none !important;
    white-space:nowrap !important;

    box-shadow:
        0 10px 24px rgba(210,0,0,.16),
        inset 0 1px 0 rgba(255,255,255,.42),
        inset 0 -1px 0 rgba(0,0,0,.08) !important;

    -webkit-backdrop-filter:blur(18px) saturate(180%) !important;
    backdrop-filter:blur(18px) saturate(180%) !important;

    pointer-events:none !important;
    float:none !important;
    clear:none !important;
}


/* White dot */
body:not(.single-product) .qimia-discount-expiry .qimia-exp-red-ribbon::before,
body:not(.single-product) .qimia-discount-expiry .qimia-ribbon-expiry::before,
body:not(.single-product) .qimia-discount-expiry .qimia-flash-sale-badge::before{
    content:"" !important;
    width:8px !important;
    height:8px !important;
    min-width:8px !important;
    border-radius:50% !important;
    background:#fff !important;
    box-shadow:0 0 0 3px rgba(255,255,255,.16) !important;
}


/* Gloss */
body:not(.single-product) .qimia-discount-expiry .qimia-exp-red-ribbon::after,
body:not(.single-product) .qimia-discount-expiry .qimia-ribbon-expiry::after,
body:not(.single-product) .qimia-discount-expiry .qimia-flash-sale-badge::after{
    content:"" !important;
    position:absolute !important;
    top:0 !important;
    left:0 !important;
    right:0 !important;
    height:48% !important;
    border-radius:inherit !important;
    background:linear-gradient(180deg, rgba(255,255,255,.30), rgba(255,255,255,0)) !important;
    pointer-events:none !important;
}


/* Normal sale products stay default */
body:not(.single-product) .product:not(.qimia-discount-expiry) .onsale,
body:not(.single-product) .product:not(.qimia-discount-expiry) .product-label.onsale{
    display:inline-flex !important;
}


/* Mobile */
@media (max-width:767px){

    body:not(.single-product) .qimia-discount-expiry .product-labels,
    body:not(.single-product) .qimia-discount-expiry .labels-rounded,
    body:not(.single-product) .qimia-discount-expiry .wd-product-labels{
        top:9px !important;
        left:9px !important;
        max-width:calc(100% - 18px) !important;
    }

    body:not(.single-product) .qimia-discount-expiry .qimia-exp-red-ribbon,
    body:not(.single-product) .qimia-discount-expiry .qimia-ribbon-expiry,
    body:not(.single-product) .qimia-discount-expiry .qimia-flash-sale-badge{
        min-height:29px !important;
        padding:7px 11px !important;
        font-size:10px !important;
        gap:5px !important;
    }

    body:not(.single-product) .qimia-discount-expiry .qimia-exp-red-ribbon::before,
    body:not(.single-product) .qimia-discount-expiry .qimia-ribbon-expiry::before,
    body:not(.single-product) .qimia-discount-expiry .qimia-flash-sale-badge::before{
        width:6px !important;
        height:6px !important;
        min-width:6px !important;
    }
}



