/*
 Theme Name:   قالب اصلی فروشگاه اینترنتی
 Description:  برای شروع کار با فروشگاه اینترنتی خود لطفا از این پوسته استفاده کنید.
 Author:       المنتورسایت
 Author URI:   https://elementor-site.ir
 Template:     woodmart
 Version:      2.1.0
 Text Domain:  woodmart
*/

/* ─── فونت IRANYekan ─── */
@font-face {
    font-family: IRANYekan;
    font-style: normal;
    font-weight: 100;
    src: url(font/iranyekannum/eot/iranyekanwebthinfanum.eot);
    src: url(font/iranyekannum/eot/iranyekanwebthinfanum.eot?#iefix) format("embedded-opentype"),
         url(font/iranyekannum/woff/iranyekanwebthinfanum.woff) format("woff"),
         url(font/iranyekannum/ttf/iranyekanwebthinfanum.ttf) format("truetype");
}
@font-face {
    font-family: IRANYekan;
    font-style: normal;
    font-weight: 300;
    src: url(font/iranyekannum/eot/iranyekanweblightfanum.eot);
    src: url(font/iranyekannum/eot/iranyekanweblightfanum.eot?#iefix) format("embedded-opentype"),
         url(font/iranyekannum/woff/iranyekanweblightfanum.woff) format("woff"),
         url(font/iranyekannum/ttf/iranyekanwebthinfanum.ttf) format("truetype");
}
@font-face {
    font-family: IRANYekan;
    font-style: normal;
    font-weight: 400;
    src: url(font/iranyekannum/eot/iranyekanwebregularfanum.eot);
    src: url(font/iranyekannum/eot/iranyekanwebregularfanum.eot?#iefix) format("embedded-opentype"),
         url(font/iranyekannum/woff/iranyekanwebregularfanum.woff) format("woff"),
         url(font/iranyekannum/ttf/iranyekanwebregularfanum.ttf) format("truetype");
}
@font-face {
    font-family: IRANYekan;
    font-style: normal;
    font-weight: 500;
    src: url(font/iranyekannum/eot/iranyekanwebmediumfanum.eot);
    src: url(font/iranyekannum/eot/iranyekanwebmediumfanum.eot?#iefix) format("embedded-opentype"),
         url(font/iranyekannum/woff/iranyekanwebmediumfanum.woff) format("woff"),
         url(font/iranyekannum/ttf/iranyekanwebmediumfanum.ttf) format("truetype");
}
@font-face {
    font-family: IRANYekan;
    font-style: normal;
    font-weight: 700;
    src: url(font/iranyekannum/eot/iranyekanwebboldfanum.eot);
    src: url(font/iranyekannum/eot/iranyekanwebboldfanum.eot?#iefix) format("embedded-opentype"),
         url(font/iranyekannum/woff/iranyekanwebboldfanum.woff) format("woff"),
         url(font/iranyekannum/ttf/iranyekanwebboldfanum.ttf) format("truetype");
}
@font-face {
    font-family: IRANYekan;
    font-style: normal;
    font-weight: 800;
    src: url(font/iranyekannum/eot/iranyekanwebextraboldfanum.eot);
    src: url(font/iranyekannum/eot/iranyekanwebextraboldfanum.eot?#iefix) format("embedded-opentype"),
         url(font/iranyekannum/woff/iranyekanwebextraboldfanum.woff) format("woff"),
         url(font/iranyekannum/ttf/iranyekanwebextraboldfanum.ttf) format("truetype");
}
@font-face {
    font-family: IRANYekan;
    font-style: normal;
    font-weight: 900;
    src: url(font/iranyekannum/eot/iranyekanwebblackfanum.eot);
    src: url(font/iranyekannum/eot/iranyekanwebblackfanum.eot?#iefix) format("embedded-opentype"),
         url(font/iranyekannum/woff/iranyekanwebblackfanum.woff) format("woff"),
         url(font/iranyekannum/ttf/iranyekanwebblackfanum.ttf) format("truetype");
}
@font-face {
    font-family: IRANYekan;
    font-style: normal;
    font-weight: 950;
    src: url(font/iranyekannum/eot/iranyekanwebextrablackfanum.eot);
    src: url(font/iranyekannum/eot/iranyekanwebextrablackfanum.eot?#iefix) format("embedded-opentype"),
         url(font/iranyekannum/woff/iranyekanwebextrablackfanum.woff) format("woff"),
         url(font/iranyekannum/ttf/iranyekanwebextrablackfanum.ttf) format("truetype");
}

/* ─── استایل‌های سفارشی لوکسیرانا ─── */
.menu-opener { min-width: 186px !important; }
.inline-list-with-border li:last-child { border-right: 1px solid var(--brdcolor-gray-300); }
.inline-list-with-border li:not(:last-child) { border-right: none !important; }
.searchform input[type="text"] {
    border-radius: 10px !important;
    border: 1px solid #ddd !important;
    background: #ffffff !important;
    padding-right: 50px !important;
    width: 70% !important;
    height: 45px !important;
    font-size: 14px !important;
}
.searchform .searchsubmit { right: 2px; }
.wd-nav[class*="wd-style-"]>li>a { color: #54595F !important; font-weight: 500 !important; }
.fa, .fas { color: #54595F; }
.whb-header-bottom .wd-header-cats,
.whb-top-bar .wd-header-cats,
.whb-header-bottom .menu-opener,
.whb-top-bar .menu-opener {
    height: 100%;
    background: transparent !important;
}
.wd-nav-vertical > li:hover > a { border-right: 4px solid var(--wd-primary-color); }
.wd-dropdown-menu.wd-design-sized .wd-sub-menu > li > a,
.wd-dropdown-menu.wd-design-full-width .wd-sub-menu > li > a,
.mega-menu-list > li > a {
    sub-menu-color: #2D2D2D;
    sub-menu-color-hover: var(--wd-primary-color);
    text-transform: uppercase;
    font-weight: 600;
    border-right: 2px solid var(--wd-primary-color);
    padding-right: 8px;
    height: 20px;
    padding-top: 11px;
    margin-bottom: 11px;
}
.wd-sub-menu li a:hover { color: var(--sub-menu-color-hover); }
.wd-sub-menu li a { font-size: 13px; color: #2D2D2D; }
.post-single-page .post-title { font-size: 24px; }
.title-size-small .title { font-size: 29px !important; }
.blog-design-masonry .post-title { font-size: 17px !important; }
.entry-content.wd-entry-content.woodmart-entry-content { font-size: 13px; }
.labels-rounded .out-of-stock { max-width: 50px; font-size: 11px !important; }
.wd-sidebar-opener.wd-on-shop > a:before {
    font-size: 16px;
    content: "\f118";
    font-family: "woodmart-font";
}
.wd-header-my-account.wd-tools-element.wd-event-hover.wd-with-username.wd-account-style-text.my-account-with-text.login-side-opener.woodmart-header-links.woodmart-navigation.item-event-hover.menu-simple-dropdown {
    border: 1px solid #2D2D2D;
    border-radius: 11px;
}
@media (max-width: 1024px) {
    .searchform input[type="text"] { border-radius: 0 !important; width: 100% !important; }
}
.quantity { background: white; }
.wd-nav-img, .mega-menu-list img { max-height: 38px; }
.wd-nav > li { position: relative; margin-left: 15px; }
.whb-flex-row.whb-header-bottom-inner span.nav-link-text { white-space: pre; }
.wd-slide { border-radius: 10px; }
.beauty-ads .wd-hover-base.product-in-carousel { border-radius: 10px; }
.beauty-ads .wd-hover-base.product-in-carousel .product-element-bottom {
    position: static;
    background: white;
    font-size: 13px;
}
.beauty-ads .wd-product-cats.woodmart-product-cats,
.beauty-ads .product-rating-price,
.beauty-ads .wd-product-cats { display: none !important; }
.beauty-ads .slide-product.owl-carousel-item {
    background: white !important;
    min-height: 240px;
    border-radius: 11px;
    padding: 9px;
}
.beauty-ads .wd-product.wd-hover-base.wd-hover-with-fade.wd-fade-off.product-grid-item {
    background: white;
    border-radius: 7px !important;
    min-height: 240px !important;
}
.beauty-ads .product-element-top.wd-quick-shop { border-radius: 5px !important; }
.ajax-tab-index-mp span.svg-icon.img-wrapper svg { width: 39px !important; }
.ajax-tab-index-mp .wd-products-tabs.tabs-design-simple .tabs-name > span {
    vertical-align: bottom;
    font-size: 19px;
    padding: 0 14px;
}
@media (max-width: 1200px) {
    .wd-nav > li { margin-left: 0; }
    span.nav-link-text { white-space: pre-line; }
}

/* ─── قیمت‌ها + لیبل درصد تخفیف ─── */
.price,
.woocommerce ul.products li.product .price,
.wd-product .price,
.product-grid-item .price,
.wd-carousel .wd-product .price,
.beauty-ads .price,
.test-slider .price {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 8px 12px !important;
    margin: 10px auto 14px !important;
    padding: 0 !important;
    width: 100% !important;
    direction: rtl !important;
    text-align: center !important;
    flex-direction: row-reverse !important;
}

/* لیبل درصد تخفیف */
.moved-onsale {
    background: #C12F63 !important;
    color: white !important;
    border-radius: 50px !important;
    padding: 4px 8px !important;
    font-size: 0.92em !important;
    font-weight: bold !important;
    min-width: 54px !important;
    text-align: center !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    order: 999 !important;
}

/* قیمت فروش */
.price ins .woocommerce-Price-amount,
.sale-price,
.current-price {
    font-size: 1.6em !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    color: #2D2D2D !important;
    order: 1 !important;
}

/* قیمت خط‌خورده */
.price del,
.regular-price,
.regular-price del {
    font-size: 1em !important;
    color: #54595F !important;
    font-weight: 400 !important;
    order: 2 !important;
}

/* کنترل بهتر در موبایل */
@media (max-width: 767px) {
    .price {
        flex-direction: row-reverse !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 5px !important;
    }
    .moved-onsale {
        margin: 0 !important;
        order: 999 !important;
    }
    .sale-price,
    .current-price { font-size: 1.5em !important; }
    .regular-price { font-size: 1.1em !important; }
}
/* تبلت */
@media (min-width: 768px) and (max-width: 1024px) {
    .sale-price,
    .current-price { font-size: 1.35em !important; }
    .regular-price { font-size: 1.15em !important; }
}
/* دسکتاپ بزرگ */
@media (min-width: 1025px) {
    .sale-price,
    .current-price { font-size: 1.5em !important; }
    .regular-price { font-size: 1.1em !important; }
}
/* تومان */
.woocommerce-Price-currencySymbol {
    font-size: 0.62em !important;
    vertical-align: super !important;
    margin-left: 4px !important;
    direction: ltr !important;
}
/* کنترل جهت قیمت */
.woocommerce-Price-amount,
.woocommerce-Price-amount bdi,
.woocommerce-Price-amount span {
    direction: ltr !important;
    unicode-bidi: embed !important;
    display: inline-flex !important;
    align-items: baseline !important;
    gap: 4px !important;
    white-space: nowrap !important;
}

/* قیمت فروش (با تخفیف) - اندازه استاندارد و کنترل شده */
.price ins .woocommerce-Price-amount,
.price ins,
.sale-price,
.current-price {
    font-size: 1.1em !important;      /* کوچکتر از 1.6em قبلی - مثلاً 1.35em یا 1.4em تست کن */
    font-weight: 400 !important;
    color: #2D2D2D !important;
    line-height: 1.1 !important;
}

/* قیمت معمولی (بدون تخفیف) - هم اندازه قیمت فروش نگه دار */
.price:not(:has(ins)) .woocommerce-Price-amount,
.wd-product:not(.product-on-sale) .price .woocommerce-Price-amount,
.wd-carousel-item .price:not(:has(ins)) .woocommerce-Price-amount {
    font-size: 1.35em !important;      /* دقیقاً هم اندازه بالا - یکدست بشه */
    font-weight: 600 !important;
    color: #2D2D2D !important;
    line-height: 1.1 !important;
}

/* قیمت قدیمی (خط‌خورده) رو کوچیک و ظریف نگه دار */
.price del .woocommerce-Price-amount,
.price del,
.regular-price,
.regular-price del {
    font-size: 1em !important;         /* 1em یا 0.95em اگر هنوز بزرگ بود */
    color: #54595F !important;
    font-weight: 400 !important;
}

/* درصد تخفیف (moved-onsale) - بدون تغییر، خوبه */
.moved-onsale {
    font-size: 0.92em !important;
    /* اگر می‌خوای بزرگ‌تر کنی: font-size: 1em !important; */
}

/* تنظیم gap و margin برای جلوگیری از بهم ریختگی */
.price {
    gap: 6px 10px !important;
    margin: 8px auto 10px !important;  /* کمی فشرده‌تر */
}

/* responsive - اندازه مناسب در موبایل و تبلت */
@media (max-width: 767px) {
    .price ins .woocommerce-Price-amount,
    .price:not(:has(ins)) .woocommerce-Price-amount,
    .sale-price,
    .current-price {
        font-size: 1.25em !important;   /* کوچکتر در موبایل */
    }
    .price del {
        font-size: 0.9em !important;
    }
}
@media (min-width: 768px) and (max-width: 1024px) {
    .price ins .woocommerce-Price-amount,
    .price:not(:has(ins)) .woocommerce-Price-amount {
        font-size: 1.3em !important;
    }
}

/* ─── عنوان محصول - حداکثر ۲ خط + سه نقطه اگر طولانی‌تر بود ─── */
.wd-entities-title,
.woocommerce-loop-product__title,
.wd-product .product-title,
.product-grid-item .product-title,
.wd-product-details .product-title a,
.beauty-ads .product-title,
.test-slider .product-title,
.product-element-bottom .wd-entities-title,
.product-element-bottom h3,
.product-element-bottom h3 a,
.woocommerce ul.products li.product h3.woocommerce-loop-product__title a {
    height: 48px !important;                  /* فضای ثابت برای ۲ خط */
    min-height: 48px !important;
    max-height: 48px !important;
    line-height: 1.4 !important;              /* فاصله خطوط مناسب */
    overflow: hidden !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;         /* دقیقاً ۲ خط حداکثر */
    -webkit-box-orient: vertical !important;
    text-overflow: ellipsis !important;       /* سه نقطه در انتها */
    white-space: normal !important;           /* اجازه شکستن خط */
    margin: 8px auto 6px !important;
    text-align: center !important;
    width: 100% !important;
    word-break: break-word !important;        /* اگر کلمه طولانی بود بشکنه */
}

/* فال‌بک برای مرورگرهایی که -webkit-line-clamp رو کامل ساپورت نمی‌کنن (خیلی نادر) */
@supports not (-webkit-line-clamp: 2) {
    .wd-entities-title,
    .woocommerce-loop-product__title,
    .product-title {
        height: 48px !important;
        overflow: hidden !important;
        position: relative !important;
    }
    .wd-entities-title::after,
    .product-title::after {
        content: "...";
        position: absolute;
        bottom: 0;
        right: 0;
        background: white;                    /* رنگ پس‌زمینه کارت */
        padding-left: 4px;
        color: #2D2D2D;
    }
}

/* Responsive - موبایل و تبلت ارتفاع کمتر */
@media (max-width: 767px) {
    .wd-entities-title,
    .woocommerce-loop-product__title,
    .product-title,
    .product-grid-item .product-title {
        height: 42px !important;
        line-height: 1.35 !important;
        margin: 6px auto 4px !important;
        font-size: 13px !important;           /* اگر لازم بود فونت کوچکتر */
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .wd-entities-title,
    .product-title {
        height: 45px !important;
        line-height: 1.38 !important;
    }
}

/* عنوان محصول وسط‌چین (override اضافی اگر لازم بود) */
.woocommerce ul.products li.product .wd-product-details .product-title,
.woocommerce ul.products li.product h3.woocommerce-loop-product__title {
    text-align: center !important;
    margin: 8px auto 6px !important;
    width: 100% !important;
}
.product-element-bottom,
.wd-product-details,
.wrapp-product-title { text-align: center !important; }

/* ─── دکمه افزودن به سبد خرید - نسخه فوق قوی ─── */
.wd-add-btn.wd-add-btn-replace a.button.product_type_simple.add_to_cart_button,
.wd-add-btn > a.button,
.add_to_cart_button,
.button.product_type_simple:not(.single_add_to_cart_button),
.woocommerce ul.products li.product .button,
.wd-product .wd-add-btn a,
.beauty-ads .wd-add-btn a,
.owl-carousel .add_to_cart_button,
.test-slider .add_to_cart_button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 10px !important;
    font-weight: 600 !important;
    padding: 0px 3px !important;
    border-radius: 50px !important;
    text-transform: none !important;
    white-space: nowrap !important;
    width: auto !important;
    min-width: unset !important;
    height: auto !important;
    margin: 0px 2px !important;
    transition: all 0.2s ease !important;
}

/* موبایل */
@media (max-width: 767px) {
    .wd-add-btn.wd-add-btn-replace a.button.product_type_simple.add_to_cart_button,
    .add_to_cart_button,
    .button.product_type_simple {
        font-size: 10px !important;
        padding: 3px 6px !important;
        min-height: 15px !important;
        width: 100% !important;
        margin: 3px auto !important;
        border-radius: 25px !important;
    }
}

/* تبلت */
@media (min-width: 768px) and (max-width: 1024px) {
    .wd-add-btn.wd-add-btn-replace a.button.product_type_simple.add_to_cart_button,
    .add_to_cart_button {
        font-size: 10px !important;
        padding: 3px 6px !important;
        min-height: 15px !important;
    }
}

/* والد دکمه */
.wd-add-btn.wd-add-btn-replace,
.wd-add-btn,
.product-element-bottom .wd-add-btn {
    min-height: unset !important;
    height: auto !important;
    padding: 0 !important;
    margin: 0 auto !important;
    width: auto !important;
    display: flex !important;
    justify-content: center !important;
}

/* اسلایدر صورتی */
.beauty-ads .wd-add-btn.wd-add-btn-replace a.button,
.beauty-ads .add_to_cart_button {
    padding: 3px 6px !important;
    font-size: 10px !important;
    min-height: 15px !important;
}

.wd-add-btn a span {
    font-size: inherit !important;
    line-height: inherit !important;
}

/* اسلایدرها */
.beauty-ads .wd-product .price,
.test-slider .price,
.wd-carousel .wd-product .price,
.owl-carousel .price {
    padding-bottom: 2px !important;
}

/* ─── کاهش فاصله در کارت محصولات اسلایدر ─── */
.product-wrapper .product-element-bottom {
    margin-top: 0 !important;
    padding-top: 2px !important;
    padding-bottom: 2px !important;
}
.product-wrapper .product-element-bottom h3.wd-entities-title,
.product-wrapper .wd-entities-title {
    margin-top: 2px !important;
    margin-bottom: 2px !important;
}
.product-wrapper .product-element-bottom .wrap-price,
.product-wrapper .product-element-bottom .price {
    margin-top: 2px !important;
    margin-bottom: 2px !important;
}
.product-wrapper .product-element-bottom .wd-add-btn,
.product-wrapper .product-element-bottom .wd-add-btn-replace,
.product-wrapper .add_to_cart_button {
    margin-top: 2px !important;
    margin-bottom: 0 !important;
}
.owl-carousel .product-wrapper .product-element-bottom,
.wd-carousel .product-wrapper .product-element-bottom {
    padding: 2px 0 !important;
}
.product-wrapper,
.wd-product {
    padding-bottom: 2px !important;
}
.product-element-top + .product-element-bottom {
    margin-top: -6px !important;
}
@media (max-width: 767px) {
    .product-wrapper .product-element-bottom {
        padding-top: 2px !important;
        padding-bottom: 2px !important;
    }
    .wd-entities-title { margin-bottom: 2px !important; }
    .wrap-price { margin-bottom: 2px !important; }
}



/* عوض کردن جای + و - در quantity selector WoodMart */
.wd-quantity,
.quantity.buttons-added {
    display: flex;
    align-items: center;
    flex-direction: row-reverse; /* این خط ترتیب رو معکوس می‌کنه: اول +، بعد input، بعد - */
    justify-content: flex-start; /* یا center اگر می‌خوای وسط باشه */
}

.wd-quantity .wd-minus,
.quantity .minus {
    order: 3; /* - رو ببر آخر */
}

.wd-quantity .qty,
.quantity .qty {
    order: 2; /* input وسط بمونه */
}

.wd-quantity .wd-plus,
.quantity .plus {
    order: 1; /* + رو ببر اول */
}

/* اگر نیاز به تنظیم فاصله یا استایل اضافی بود */
.wd-quantity button,
.quantity button {
    margin: 0 5px; /* فاصله بین دکمه‌ها و input */
    width: 35px;
    height: 35px;
    line-height: 35px;
}

/* اصلاح کامل quantity بعد از جابجا کردن + و - */

.wd-quantity,
.quantity.buttons-added{
    display:flex;
    flex-direction:row-reverse;
}

/* حذف رادیوس پیشفرض قالب */
.wd-quantity .wd-plus,
.wd-quantity .wd-minus,
.quantity .plus,
.quantity .minus{
    border-radius:0 !important;
}

/* رادیوس صحیح با توجه به ترتیب جدید */
.wd-quantity .wd-plus,
.quantity .plus{
    border-radius:0 5px 5px 0 !important;
}

.wd-quantity .wd-minus,
.quantity .minus{
    border-radius:5px 0 0 5px !important;
}



/* ─── کوچک کردن عناصر  سسبد خرید در صفحه محصول در موبایل ─── */
@media (max-width: 767px){

/* قیمت اصلی */
.single-product .price ins .woocommerce-Price-amount,
.single-product .price .woocommerce-Price-amount{
    font-size: 0.9em !important;
}

/* قیمت خط خورده */
.single-product .price del{
    font-size: 0.7em !important;
}

/* لیبل تخفیف */
.single-product .moved-onsale,
.single-product .onsale{
    font-size: 0.75em !important;
    padding: 3px 7px !important;
    min-width: auto !important;
}


/* دکمه های + و - */
.single-product .quantity button{
    width: 25px !important;
    height: 25px !important;
    font-size: 11px !important;
}

/* دکمه افزودن به سبد خرید */
.single-product .single_add_to_cart_button{
    font-size: 11px !important;
    padding: 5px 10px !important;
    height: 25px !important;
    border-radius: 25px !important;
}

}

/* حذف یا کاهش فاصله بالای متن سیاست حفظ حریم خصوصی در checkout */
.woocommerce-checkout #payment .woocommerce-terms-and-conditions-wrapper {
    margin-top: 5px !important;   /* یا 0px اگر می‌خوای کامل بچسبه به لیست پرداخت */
    padding-top: 0 !important;
}

.woocommerce-checkout .woocommerce-privacy-policy-text {
    margin-top: 0 !important;
    margin-bottom: 10px !important;  /* فاصله زیر متن تا دکمه رو تنظیم کن */
    padding: 0 !important;
}

/* فاصله زیر لیست روش‌های پرداخت (ul.wc_payment_methods) رو کم کن */
.woocommerce-checkout #payment ul.wc_payment_methods {
    margin-bottom: 5px !important;   /* فضای زیر رادیو باتن‌ها تا privacy text */
}

/* اگر والد place-order فاصله اضافی داره */
.woocommerce-checkout .form-row.place-order {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* برای موبایل خاص (چون عکس موبایل گرفتی) */
@media (max-width: 767px) {
    .woocommerce-checkout #payment .woocommerce-terms-and-conditions-wrapper {
        margin-top: 0 !important;
    }
}

/* =====================================================
   🔷 لوکسیرانا - استایل لیبل‌های سفارشی محصول
   ===================================================== */

/* ─── کانتینر اصلی لیبل‌ها ─── */
.lux-custom-labels-wrapper {
    position: absolute;
    top: 6px;
    right: 6px;
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 4px;
    pointer-events: none;
}

/* ─── تنظیمات پایه لیبل‌ها (دسکتاپ) ─── */
.lux-custom-label {
    /*  اندازه قلم دسکتاپ */
    font-size: 11px !important;
    /*  شعاع گوشه‌ها دسکتاپ */
    border-radius: 12px !important;
    /*  فاصله داخلی دسکتاپ */
    padding: 3px 5px !important;
    
    font-weight: 600 !important;
    color: #fff !important;
    box-shadow: 0 2px 3px rgba(0,0,0,0.15) !important;
    transition: all 0.3s ease !important;
    display: inline-block !important;
    text-align: center;
    white-space: nowrap;
    pointer-events: auto;
}


/* ─── گرادیانت‌های اختصاصی بر اساس کلاس ─── */

/* ۱. پرفروش - صورتی گرادیانت */
.lux-label-bestseller {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%) !important;
}

/* ۲. با قیمت قبلی - آبی گرادیانت */
.lux-label-previous-price {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%) !important;
}

/* ۳. فروش ویژه - نارنجی گرادیانت */
.lux-label-special-sale {
    background: linear-gradient(135deg, #f6d365 0%, #fda085 100%) !important;
}

/* ۴. موجودی محدود - قرمز گرادیانت */
.lux-label-limited-stock {
    background: linear-gradient(135deg, #ff416c 0%, #ff4b2b 100%) !important;
}

/* ─── تنظیمات موبایل ─── */
@media (max-width: 767px) {
    .lux-custom-labels-wrapper {
        top: 3px;
        right: 3px;
        gap: 4px;
    }
    
    .lux-custom-label {
        /*  اندازه قلم موبایل */
        font-size: 11px !important;
        /*  شعاع گوشه‌ها موبایل */
        border-radius: 12px !important;
        /*  فاصله داخلی موبایل */
        padding: 3px 5px !important;
    }
}

/* ─── تنظیمات تبلت ─── */
@media (min-width: 768px) and (max-width: 1024px) {
    .lux-custom-label {
        font-size: 10px !important;
        padding: 3px 5px !important;
    }
}