.elementor-kit-5{--e-global-color-primary:#005AA3;--e-global-color-secondary:#020000;--e-global-color-text:#666666;--e-global-color-accent:#00447C;--e-global-color-f872c45:#F5F5F5;--e-global-color-3e6e974:#F3F5F6;--e-global-color-06837b7:#D9772B;--e-global-color-edbe87c:#D9DDE0;--e-global-color-c39622b:#8FA8C8;--e-global-typography-primary-font-family:"Roboto";--e-global-typography-primary-font-weight:600;--e-global-typography-secondary-font-family:"Roboto Slab";--e-global-typography-secondary-font-weight:400;--e-global-typography-text-font-family:"Roboto";--e-global-typography-text-font-weight:400;--e-global-typography-accent-font-family:"Roboto";--e-global-typography-accent-font-weight:500;}.elementor-kit-5 button,.elementor-kit-5 input[type="button"],.elementor-kit-5 input[type="submit"],.elementor-kit-5 .elementor-button{background-color:var( --e-global-color-primary );color:var( --e-global-color-f872c45 );}.elementor-kit-5 e-page-transition{background-color:#FFBC7D;}.elementor-kit-5 a{color:var( --e-global-color-primary );}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1350px;}.e-con{--container-max-width:1350px;}.elementor-widget:not(:last-child){--kit-widget-spacing:20px;}.elementor-element{--widgets-spacing:20px 20px;--widgets-spacing-row:20px;--widgets-spacing-column:20px;}{}h1.entry-title{display:var(--page-title-display);}@media(max-width:1024px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:1024px;}.e-con{--container-max-width:1024px;}}@media(max-width:767px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;}}/* Start custom CSS *//* --- کپسول مقدار محصول - نسخه 100% تضمینی با !important --- */
.quantity {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    max-width: 120px !important;
    margin: 0 auto !important;
    border-radius: 50px !important;
    background: #fff !important;
    border: 1px solid #e0e0e0 !important;
    height: 36px !important;
    direction: rtl !important;
}

.quantity .minus,
.quantity .plus {
    width: 36px !important;
    height: 36px !important;
    background: transparent !important;
    border: none !important;
    font-size: 20px !important;
    font-weight: bold !important;
    color: #333 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    user-select: none !important;
    padding: 0 !important;
    margin: 0 !important;
    transition: background 0.2s !important;
    order: initial !important;
}

.quantity .minus:hover,
.quantity .plus:hover {
    background: #f5f5f5 !important;
}


.quantity input.qty {
    width: 48px !important;
    height: 36px !important;
    text-align: center !important;
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    order: 2 !important;
    direction: rtl !important;
    -moz-appearance: textfield !important;
    appearance: none !important;
}

/* حذف کامل فلش‌های input number */
.quantity input.qty::-webkit-outer-spin-button,
.quantity input.qty::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
}

.quantity input.qty {
    -moz-appearance: textfield !important;
}

/* --- ترتیب نهایی (راست به چپ): +  عدد  - --- */
.quantity .plus { order: 1 !important; }
.quantity input.qty { order: 2 !important; }
.quantity .minus { order: 3 !important; }

.woocommerce-loop-product__title {
  display: -webkit-box !important;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: calc(1.95em * 2);
}

.price del,
.price ins {
  display: block !important;
}

.product .mpn-badge {
  position: absolute;
  top: 9px;
  left: 10px;
  background: #005AA3;
  color: #fff;
  padding: 1.5px 6px 0px 6px;
  font-size: 14px;
  font-family: "IranSansX(Pro)";
  font-feature-settings: normal;
  font-weight: 400;
  border-radius: 10px;
}

.elementor-products-grid .product {
    transition: box-shadow 0.3s ease; /* مدت زمان 0.3 ثانیه */
}

@supports (font-variation-settings: normal) {
    * {
        font-variation-settings: "DOTS" 4;
        font-feature-settings: "ss02";
    }
}

li.product .price {
    font-weight: 700 !important;
}

ul.products li.product .price ins {
    text-decoration: none;
}

.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product p.price, .woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product span.price{
    color: #005aa3;
}






/* === افکت هاور تصویر دوم محصول (بهینه و سبک) === */
.woocommerce ul.products li.product .product-image-hover-wrapper,
.woocommerce ul.products li.product .product-image-hover-wrapper img {
    display: block;
    line-height: 0;
    font-size: 0;
}
.woocommerce ul.products li.product .product-image-hover-wrapper {
    border: 1px solid #ECECEC;
    border-radius: 25px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 1 / 1;
}
.woocommerce ul.products li.product img.attachment-woocommerce_thumbnail {
    transition: opacity .3s ease;
    width: 100%;
    height: auto;
    z-index: 1;
}
.woocommerce ul.products li.product .product-image-hover-wrapper .hover-image {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0;
    z-index: 2;
    transition: opacity .3s ease;
    will-change: opacity;
}
.woocommerce ul.products li.product .product-image-hover-wrapper:hover .hover-image {
    opacity: 1;
}
.woocommerce ul.products li.product:has(.product-image-hover-wrapper) img.attachment-woocommerce_thumbnail {
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}


@media (max-width: 767px) {
    .mobile-one-row .product:nth-child(n+3) {
        display: none !important;
    }
}



/* فونت ایران‌سنس متغیر + جلوگیری کامل از پرش صفحه (CLS ≈ 0) */
@font-face {
    font-family: 'IRANSansX';
    src: url('https://test.blumaan.ir/wp-content/uploads/2025/10/IRANSansXVF1.ttf') format('truetype-variations');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
    
    /* این اعداد برای ایران‌سنس متغیر دقیق تست شده - 99٪ پرش صفحه رو حذف می‌کنه */
    ascent-override: 104.5%;
    descent-override: 33.5%;
    line-gap-override: 0%;
}

/* اعمال فونت به کل سایت + fallback خیلی شبیه */
body, h1, h2, h3, h4, h5, h6, p, div {
    font-family: 'IRANSansX', Tahoma, Arial, sans-serif !important;
}/* End custom CSS */