/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/
body {
	-moz-font-feature-settings: "ss01";
    -webkit-font-feature-settings: "ss01";
    font-feature-settings: "ss01";
}
/* 1. تغییر متغیرهای اصلی وودمارت (این بخش امن است و آیکون‌ها را خراب نمی‌کند) */
:root {
    --wd-text-font: "webinew-iYx-vf", sans-serif !important;
    --wd-title-font: "webinew-iYx-vf", sans-serif !important;
    --wd-entities-font: "webinew-iYx-vf", sans-serif !important;
    --wd-widget-title-font: "webinew-iYx-vf", sans-serif !important;
    --wd-navigation-font: "webinew-iYx-vf", sans-serif !important;
    --wd-alternative-font: "webinew-iYx-vf", sans-serif !important;
	--wd-text-font:  "webinew-iYx-vf", sans-serif !important;
	--wd-title-font: "webinew-iYx-vf", sans-serif !important;
	--wd-entities-title-font: "webinew-iYx-vf", sans-serif !important;
	--wd-alternative-font: "webinew-iYx-vf", sans-serif !important;
	--wd-widget-title-font: "webinew-iYx-vf", sans-serif !important;
	--wd-header-el-font: "webinew-iYx-vf", sans-serif !important;
    
    /* متغیرهای المنتور */
    --e-global-typography-text-font-family: "webinew-iYx-vf", sans-serif !important;
    --e-global-typography-primary-font-family: "webinew-iYx-vf", sans-serif !important;
    --e-global-typography-secondary-font-family: "webinew-iYx-vf", sans-serif !important;
    --e-global-typography-accent-font-family: "webinew-iYx-vf", sans-serif !important;
}

.woocommerce-mini-cart__buttons .btn-cart:hover {
    color: #fff !important;
}

/* 2. اعمال فونت فقط روی تگ‌هایی که ۱۰۰٪ متن هستند */
/* ما تگ‌های span, i, div, a را حذف کردیم تا آیکون‌ها خراب نشوند */
body,
p:not(.stars),
h1, h2, h3, h4, h5, h6,
input, textarea, select, option,
label, blockquote, figcaption,
.amount, .price {
    font-family: "webinew-iYx-vf", sans-serif !important;
}
/* 3. استثنا قائل شدن برای جلوگیری از خرابی آیکون‌ها */
/* این بخش می‌گوید: فونت را اعمال کن مگر اینکه کلاس آیکون داشته باشد */
/* a:not(.fa):not(.fas):not(.fab):not(.wd-icon):not(.dashicons),
span:not(.fa):not(.fas):not(.fab):not(.wd-icon):not(.dashicons):not(.elementor-icon),
button:not(.wd-btn-icon) {
     font-family: "webinew-iYx-vf", sans-serif;
} */

/* اصلاح نوار ادمین وردپرس (آن نوار سیاه بالا) */
#wpadminbar,
#wpadminbar .ab-item {
    font-family: "webinew-iYx-vf", sans-serif !important;
}

#wpadminbar .ab-icon::before,
#wpadminbar .ab-item::before,
#wpadminbar .dashicons::before {
    font-family: dashicons !important;
}
/* استایل های سایت ایمپلنت هاب implanthub */
/* تعریف کلاس نئونی برای فهرست آیکون */
.neon-list .elementor-icon-list-text {
    transition: all 0.3s ease;
}

.neon-list .elementor-icon-list-item:hover .elementor-icon-list-text {
    /* رنگ هسته متن سفید باشد تا درخشش طبیعی‌تر شود */
    color: #ffffff !important; 
    
    /* لایه‌های نورانی با رنگ #E5E5E5 */
text-shadow: 
    0 0 10px rgba(229, 229, 229, 0.7), /* نور نزدیک با شفافیت ۷۰ درصد */
    0 0 20px rgba(229, 229, 229, 0.4), /* نور میانی با شفافیت ۴۰ درصد */
    0 0 40px rgba(229, 229, 229, 0.2); /* نور دور و بسیار محو */
}
/* تنظیم فاصله حروف برای شماره موبایل در قسمت سربرگ  */
.wd-info-box .info-box-inner {
    letter-spacing: 2px; /* عدد را تغییر دهید */
}

/* حل مشکل چسبیدن تیک حمل و نقل به فیلد شهر */
#ship-to-different-address {
    clear: both !important;
    width: 100% !important;
    display: block !important;
    margin-top: 20px !important;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.woocommerce-billing-fields:after {
    content: "";
    display: table;
    clear: both;
}
/* end */
/* =========================================
   1. کانتینر اصلی ابزارک‌ها (پس‌زمینه محوتر)
   ========================================= */
.wd-sidebar .widget {
    background-color: #FAFAFA; /* رنگ بسیار روشن و محو */
    border-radius: 10px;
    padding: 24px 20px;
    margin-bottom: 24px;
    border: 1px solid #eeeeee;
}

/* =========================================
   2. تیترها (نمایش استاندارد)
   ========================================= */
.wd-sidebar .widget-title {
    font-size: 16px;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 20px;
    border: none;
    display: block;
}

/* حذف خطوط تزئینی قالب */
.wd-sidebar .widget-title::before, .wd-sidebar .widget-title::after {
    display: none !important; content: none !important;
}

/* =========================================
   3. استایل دکمه‌ها
   ========================================= */
.widget_price_filter .button,
.wd-product-category-filter-submit {
    background-color: #00193C !important; 
    color: #fff !important;
    border-radius: 10px !important;
    padding: 12px 0;
    width: 100%;
    font-size: 14px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 25, 60, 0.2);
    display: block;
    margin-top: 20px;
    float: none !important;
}

.widget_price_filter .button:hover,
.wd-product-category-filter-submit:hover {
    background-color: #00122e !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 25, 60, 0.3);
}

/* =========================================
   4. اسلایدر قیمت (اصلاح شده برای دایره‌ای شدن)
   ========================================= */
.widget_price_filter .price_slider_amount {
    display: flex;
    flex-direction: column;    
    align-items: center;
    justify-content: center;
}

/* متن قیمت */
.widget_price_filter .price_label {
    order: 1;
    font-size: 15px;
    color: #555;
    font-weight: 600;
    padding-top: 15px;
    width: 100%;
    text-align: center;
    letter-spacing: 0.5px;
    line-height: 2.2; 
}

/* دکمه صافی */
.widget_price_filter .button {
    order: 2;
}

/* نوار پس‌زمینه اسلایدر */
.widget_price_filter .ui-slider {
    background-color: #e0e0e0 !important;
    height: 4px !important;
    border-radius: 2px;
    margin-bottom: 25px;
    margin-top: 20px;
    position: relative;
    border: none !important;
}

/* نوار پر شده (رنج انتخاب شده) */
.widget_price_filter .ui-slider .ui-slider-range {
    background-color: #00193C !important;
    height: 100%;
    position: absolute;
    border-radius: 2px;
}
/* =========================================
   5. اصلاح اسکرول (بدون تغییر استایل ظاهری فیلدها)
   ========================================= */
.wd-product-category-filter .wd-scroll,
.wd-product-category-filter .wd-scroll-content {
    max-height: none !important;
    height: auto !important;
    overflow: visible !important;
}
/* end */
/* استایل اختصاصی برای منوی مرتب‌سازی */
.woocommerce-ordering select.orderby,
select.orderby {
    border: 1px solid #eeeeee; /* ایجاد کادر طوسی */
    border-radius: 10px !important;       /* گرد کردن گوشه‌ها به میزان 10 پیکسل */
    padding: 10px 15px !important;        /* فضای داخلی برای زیباتر شدن */
background-color: #FAFAFA !important;
	outline: none !important;
    min-width: 200px;                     /* حداقل عرض برای نمایش بهتر */
    color: #333;
}

/* تغییر رنگ کادر هنگام کلیک (اختیاری - برای هماهنگی با بقیه سایت) */
.woocommerce-ordering select.orderby:focus,
select.orderby:focus {
    border-color: #00193C !important;
}
/* end */
/* وزن فونت تیتر صفحه محصول تکی */
.single-product .product_title {
    font-weight: 700 !important; /* وزن فونت */
}
/* end */
/* استایل های هدر ایمپلنت هاب */
/* ایکون شماره تلفن بالای هدر */
.wd-info-box .info-svg-wrapper,
.wd-info-box .info-svg-wrapper img {
    width: 20px !important;
    height: 20px !important;
}
.wd-header-cats .menu-opener{
	border-radius:50px !important;
	background-color:var(--e-global-color-primary);
}
.whb-with-shadow {
   box-shadow: 0px 10px 15px -3px rgba(0,0,0,0.1);
}
.whb-hh48blyn374ekf67pma5 .wd-tools-inner{
	background-color:var(--e-global-color-primary) !important;
}
/* ======= */
/* =========================================
   Floating Hearts Animation - Wishlist Button در هدر سایت
========================================= */

.wd-header-wishlist {
  position: relative !important;
  overflow: visible !important;
}

/* ساخت 6 قلب با pseudo-elements و span های مجازی */
.wd-header-wishlist::before,
.wd-header-wishlist::after,
.wd-header-wishlist > a::before,
.wd-header-wishlist > a::after {
  content: "♥";
  position: absolute;
  left: 50%;
  top: 20%;
  font-size: 16px;
  color: #ff3b5c;
  opacity: 0;
  pointer-events: none;
  z-index: 1;
  text-shadow: 0 2px 6px rgba(255, 59, 92, 0.5);
  transform: translate(-50%, 0) scale(0.5);
  will-change: transform, opacity;
}

/* فعال‌سازی انیمیشن روی hover */
.wd-header-wishlist:hover::before {
  animation: heartFloat1 1.6s ease-out infinite;
}

.wd-header-wishlist:hover::after {
  animation: heartFloat2 1.8s ease-out infinite;
  animation-delay: 0.2s;
  font-size: 20px;
}

.wd-header-wishlist:hover > a::before {
  animation: heartFloat3 2s ease-out infinite;
  animation-delay: 0.4s;
  font-size: 14px;
}

.wd-header-wishlist:hover > a::after {
  animation: heartFloat4 1.7s ease-out infinite;
  animation-delay: 0.6s;
  font-size: 18px;
}

/* اطمینان از اینکه a position relative داشته باشد */
.wd-header-wishlist > a {
  position: relative;
  display: inline-block;
}

/* انیمیشن قلب 1 - مسیر مستقیم */
@keyframes heartFloat1 {
  0% {
    opacity: 0;
    transform: translate(-50%, 0) scale(0.3) rotate(0deg);
  }
  15% {
    opacity: 1;
    transform: translate(-50%, -20px) scale(1) rotate(-5deg);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -90px) scale(0.6) rotate(-15deg);
  }
}

/* انیمیشن قلب 2 - متمایل به چپ */
@keyframes heartFloat2 {
  0% {
    opacity: 0;
    transform: translate(-50%, 0) scale(0.3) rotate(0deg);
  }
  15% {
    opacity: 1;
    transform: translate(-120%, -25px) scale(1) rotate(-10deg);
  }
  100% {
    opacity: 0;
    transform: translate(-180%, -100px) scale(0.5) rotate(-25deg);
  }
}

/* انیمیشن قلب 3 - متمایل به راست */
@keyframes heartFloat3 {
  0% {
    opacity: 0;
    transform: translate(-50%, 0) scale(0.3) rotate(0deg);
  }
  15% {
    opacity: 1;
    transform: translate(20%, -30px) scale(1) rotate(10deg);
  }
  100% {
    opacity: 0;
    transform: translate(80%, -110px) scale(0.5) rotate(25deg);
  }
}

/* انیمیشن قلب 4 - مسیر زیگزاگ */
@keyframes heartFloat4 {
  0% {
    opacity: 0;
    transform: translate(-50%, 0) scale(0.3) rotate(0deg);
  }
  15% {
    opacity: 1;
    transform: translate(-30%, -20px) scale(0.9) rotate(5deg);
  }
  50% {
    transform: translate(-80%, -60px) scale(1) rotate(-10deg);
  }
  100% {
    opacity: 0;
    transform: translate(-40%, -120px) scale(0.4) rotate(15deg);
  }
}

/* افکت کوچک روی خود آیکون قلب وقتی hover می‌شود */
.wd-header-wishlist:hover .wd-tools-icon {
  animation: heartPulse 0.6s ease-in-out infinite alternate;
}

@keyframes heartPulse {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.15);
  }
}
/* Phone Ring Animation */
/* در هدر سایت */
.whb-ntnsfxdji7voju4i1rfu .wd-btn-icon img {
  animation: phoneRing 1.5s ease-in-out infinite;
  transform-origin: center;
}

@keyframes phoneRing {
  0%, 60%, 100% { transform: rotate(0) translateY(0); }
  10% { transform: rotate(-15deg) translateY(-2px); }
  20% { transform: rotate(15deg) translateY(-2px); }
  30% { transform: rotate(-15deg) translateY(-2px); }
  40% { transform: rotate(15deg) translateY(-2px); }
  50% { transform: rotate(0) translateY(0); }
}
/* تایپوگرافی */
.woodmart-nav-link .nav-link-text,.menu-open-label{
	    font-family: "webinew-iYx-vf", sans-serif !important;
}
/* دکمه تخفیف در هدر */
/* =========================================
   ImplantHub - Sale Button (#00A296)
   فقط با CSS، بدون تغییر HTML
   ========================================= */
/* =========================================
   ImplantHub - Sale Button (#00A296)
   Floating Percent Animation - مشابه قلب‌های Wishlist
   ========================================= */

#wd-6a2ec3e185603 {
    position: relative !important;
    display: inline-block;
    overflow: visible !important;
    z-index: 5;
}

/* خود دکمه (استایل تمیز برند) */
#wd-6a2ec3e185603 > a.btn {
    position: relative;
    z-index: 3;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;

    padding: 10px 22px !important;
    min-height: 42px;
    border-radius: 12px !important;

    color: #ffffff !important;
    font-weight: 800 !important;
    font-size: 14px !important;
    line-height: 1 !important;
    letter-spacing: 0.2px;
    text-decoration: none !important;

    background: linear-gradient(135deg, #00A296 0%, #007F75 100%) !important;
    border: 1px solid rgba(255,255,255,0.25) !important;

    box-shadow:
        0 8px 20px rgba(0, 162, 150, 0.35),
        inset 0 1px 0 rgba(255,255,255,0.25);

    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
}

/* افکت برق روی دکمه */
#wd-6a2ec3e185603 > a.btn::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        120deg,
        transparent 20%,
        rgba(255,255,255,0.30) 45%,
        transparent 70%
    );
    transform: translateX(-130%);
    transition: transform .8s ease;
    pointer-events: none;
}

#wd-6a2ec3e185603 > a.btn:hover {
    transform: translateY(-2px);
    filter: saturate(1.1);
    box-shadow:
        0 12px 26px rgba(0, 162, 150, 0.45),
        0 0 0 6px rgba(0, 162, 150, 0.10);
    color: #fff !important;
}

#wd-6a2ec3e185603 > a.btn:hover::before {
    transform: translateX(130%);
}

/* =========================================
   درصدهای شناور پشت دکمه (مثل قلب‌ها)
   ========================================= */

#wd-6a2ec3e185603::before,
#wd-6a2ec3e185603::after,
#wd-6a2ec3e185603 > a.btn::after {
    content: "%";
    position: absolute;
    left: 50%;
    bottom: 30%;
    font-weight: 900;
    color: #00A296;
    opacity: 0;
    pointer-events: none;
    z-index: 1;
    text-shadow: 0 2px 8px rgba(0, 162, 150, 0.45);
    transform: translate(-50%, 0) scale(0.5);
    will-change: transform, opacity;
}

/* درصد 1 - مسیر مستقیم بالا */
#wd-6a2ec3e185603::before {
    font-size: 16px;
    animation: percentFloat1 2.4s ease-out infinite;
}

/* درصد 2 - متمایل به چپ */
#wd-6a2ec3e185603::after {
    font-size: 20px;
    animation: percentFloat2 2.8s ease-out infinite;
    animation-delay: 0.4s;
}

/* درصد 3 - متمایل به راست (روی دکمه ::after) */
#wd-6a2ec3e185603 > a.btn::after {
    z-index: -1;
    font-size: 14px;
    animation: percentFloat3 3s ease-out infinite;
    animation-delay: 0.9s;
}

/* انیمیشن 1 - مسیر مستقیم */
@keyframes percentFloat1 {
    0% {
        opacity: 0;
        transform: translate(-50%, 0) scale(0.3) rotate(0deg);
    }
    15% {
        opacity: 1;
        transform: translate(-50%, -25px) scale(1) rotate(-5deg);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -95px) scale(0.6) rotate(-15deg);
    }
}

/* انیمیشن 2 - متمایل به چپ */
@keyframes percentFloat2 {
    0% {
        opacity: 0;
        transform: translate(-50%, 0) scale(0.3) rotate(0deg);
    }
    15% {
        opacity: 1;
        transform: translate(-130%, -30px) scale(1) rotate(-10deg);
    }
    100% {
        opacity: 0;
        transform: translate(-190%, -105px) scale(0.5) rotate(-25deg);
    }
}

/* انیمیشن 3 - متمایل به راست + زیگزاگ */
@keyframes percentFloat3 {
    0% {
        opacity: 0;
        transform: translate(-50%, 0) scale(0.3) rotate(0deg);
    }
    15% {
        opacity: 1;
        transform: translate(30%, -25px) scale(0.9) rotate(8deg);
    }
    50% {
        transform: translate(70%, -60px) scale(1) rotate(-6deg);
    }
    100% {
        opacity: 0;
        transform: translate(100%, -115px) scale(0.4) rotate(20deg);
    }
}

/* جلوگیری از بریده شدن انیمیشن توسط هدر */
.whb-header .whb-column,
.whb-header .whb-col-center,
.whb-header .whb-col-right,
.whb-header .whb-col-left,
.whb-main-header,
.whb-row,
.whb-flex-row,
.wd-header-text {
    overflow: visible !important;
}

/* موبایل */
@media (max-width: 767px) {
    #wd-6a2ec3e185603 > a.btn {
        padding: 8px 16px !important;
        font-size: 13px !important;
        min-height: 38px;
    }
    #wd-6a2ec3e185603::before { font-size: 14px; }
    #wd-6a2ec3e185603::after  { font-size: 16px; }
    #wd-6a2ec3e185603 > a.btn::after { font-size: 12px; }
}

/* احترام به prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
    #wd-6a2ec3e185603::before,
    #wd-6a2ec3e185603::after,
    #wd-6a2ec3e185603 > a.btn::after {
        animation: none;
        opacity: 0;
    }
}
/* اتمام دکمه تخفیف */