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

:root {
	--wd-text-font: YekanBakhFaNum;
	--wd-text-font-weight: 400;
	--wd-text-color: rgb(118,118,118);
	--wd-text-font-size: 15px;
	--wd-title-font: YekanBakhFaNum;
	--wd-title-font-weight: 600;
	--wd-title-color: #242424;
	--wd-entities-title-font: YekanBakhFaNum;
	--wd-entities-title-font-weight: 600;
	--wd-entities-title-color: #333333;
	--wd-entities-title-color-hover: rgb(51 51 51 / 65%);
	--wd-alternative-font: YekanBakhFaNum;
	--wd-widget-title-font: YekanBakhFaNum;
	--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: YekanBakhFaNum;
	--wd-header-el-font-weight: 800;
	--wd-header-el-transform: uppercase;
	--wd-header-el-font-size: 15px;
	--wd-otl-style: dotted;
	--wd-otl-width: 2px;
	--wd-primary-color: rgb(57,66,239);
	--wd-alternative-color: rgb(249,174,12);
	--btn-default-font-family: YekanBakhFaNum;
	--btn-default-font-weight: 600;
	--btn-default-bgcolor: rgb(5,5,255);
	--btn-default-bgcolor-hover: rgb(5,5,255);
	--btn-accented-font-family: YekanBakhFaNum;
	--btn-accented-font-weight: 600;
	--btn-accented-bgcolor: rgb(5,5,255);
	--btn-accented-bgcolor-hover: rgb(5,5,255);
	--wd-form-brd-width: 2px;
	--notices-success-bg: rgb(5,5,225);
	--notices-success-color: #fff;
	--notices-warning-bg: #E0B252;
	--notices-warning-color: #fff;
	--wd-link-color: rgb(30,115,190);
	--wd-link-color-hover: rgb(130,36,227);
	--wd-sticky-btn-height: 95px;
}
.wd-age-verify-wrap {
	--wd-popup-width: 500px;
}
.wd-popup.wd-promo-popup {
	background-color: #111111;
	background-image: url(https://kebriyaco.ir/wp-content/uploads/2021/09/electronics-2-popup.jpg);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
}
.wd-promo-popup-wrap {
	--wd-popup-width: 800px;
}
: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: url(https://kebriyaco.ir/wp-content/uploads/2024/02/white-electronics-s2-bg-new.jpg);
	background-size: cover;
}
.whb-top-bar .wd-nav.wd-nav-secondary > li > a {
	font-family: YekanBakhFaNum;	font-weight: 500;
	font-size: 14px;
	color: rgb(0,0,0);
}
html .page-title > .container > .title, html .page-title .wd-title-wrapp > .title {
	font-family: YekanBakhFaNum;	font-weight: 700;
	color: rgb(255,165,0);
}
.mfp-wrap.wd-popup-quick-view-wrap {
	--wd-popup-width: 920px;
}

@media (max-width: 1024px) {
	:root {
		--wd-sticky-btn-height: 95px;
	}

}

@media (max-width: 768.98px) {
	:root {
		--wd-sticky-btn-height: 42px;
	}

}
:root{
--wd-container-w: 1222px;
--wd-form-brd-radius: 35px;
--btn-default-color: #fff;
--btn-default-color-hover: #fff;
--btn-accented-color: #fff;
--btn-accented-color-hover: #fff;
--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: 0px;
}

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


.wd-page-title {
background-color: rgb(44,82,186);
}

/* Wrapper برای فاصله دادن به لیبل‌ها */
.widget_price_filter .price_slider_wrapper {
    position: relative;
    padding-top: 36px;
}

/* لیبل‌ها */
.widget_price_filter .price_slider_wrapper::before {
    content: "حداقل";
    position: absolute;
    top: 0;
    left: 0;
    font-size: 14px;
    color: #444;
    font-weight: 600;
}

.widget_price_filter .price_slider_wrapper::after {
    content: "حداکثر";
    position: absolute;
    top: 0;
    right: 0;
    font-size: 14px;
    color: #444;
    font-weight: 600;
}

/* Track اصلی – ایجاد ضخامت تدریجی با pseudo-element */
.widget_price_filter .ui-slider-horizontal {
    position: relative;
    height: 8px; /* ارتفاع پایه */
    border-radius: 10px;
    background: transparent; /* پایه شفاف، همه با pseudo-element میشه */
}

/* pseudo-element برای نوار گرادیان و ضخامت تدریجی */
.widget_price_filter .ui-slider-horizontal::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 8px; /* حداقل ضخامت */
    border-radius: 10px;
    transform: translateY(-50%);
    background: linear-gradient(to right, #ccc 0%, #bbb 50%, #888 100%);
    /* برای ضخامت تدریجی از scaleY استفاده می‌کنیم */
    transform-origin: left center;
    transition: all 0.3s ease;
}

/* حالت ضخامت تدریجی واقعی با scaleY */
.widget_price_filter .ui-slider-horizontal::before {
    /* افزایش ضخامت سمت راست */
    clip-path: polygon(
        0% 50%, 
        100% 0%, 
        100% 100%, 
        0% 50%
    );
}

/* قسمت انتخاب‌شده */
.widget_price_filter .ui-slider-range {
    background: #5a8dee;
    border-radius: 10px;
}

/* دسته‌ها */
.widget_price_filter .ui-slider-handle {
    width: 18px !important;
    height: 18px !important;
    top: -5px !important;
    background: #fff;
    border: 2px solid #5a8dee;
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(0,0,0,0.1);
}

/* هاور دسته‌ها */
.widget_price_filter .ui-slider-handle:hover {
    transform: scale(1.1);
}



/*------

/* ============================================== */
/* تنظیمات نمایش دکمه ورود (موبایل + دسکتاپ)     */
/* ============================================== */

/* --- سناریوی ۱: کاربر مهمان است (هنوز وارد نشده) --- */

/* 1. مخفی کردن تمام مدل‌های آیکون حساب کاربری وودمارت */
body:not(.logged-in) .wd-header-my-account,
body:not(.logged-in) .wd-tools-element.wd-header-my-account,
body:not(.logged-in) .wd-header-my-account-mob { /* کلاس مخصوص برخی نسخه‌های موبایل */
    display: none !important;
}

/* 2. نمایش دکمه اختصاصی ما */
body:not(.logged-in) .gls-trigger-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
}


/* --- سناریوی ۲: کاربر وارد شده است (Login کرده) --- */

/* 1. نمایش آیکون اصلی وودمارت (برای دسترسی به پنل) */
body.logged-in .wd-header-my-account,
body.logged-in .wd-tools-element.wd-header-my-account {
    display: flex !important;
}

/* 2. مخفی کردن دکمه اختصاصی ما */
body.logged-in .gls-trigger-btn {
    display: none !important;
}






/* رفع مشکل کلیک در موبایل */
.gls-trigger-btn {
    position: relative !important;
    z-index: 999 !important; /* اولویت بالا نسبت به لایه‌های اطراف */
    cursor: pointer !important;
    pointer-events: auto !important; /* اجبار به کلیک‌پذیری */
    -webkit-tap-highlight-color: transparent; /* حذف هایلایت آبی در اندروید */
}

/* اگر دکمه داخل باکس HTML وودمارت گیر کرده */
.whb-html-element .gls-trigger-btn {
    display: flex !important;
    width: 100%;
    height: 100%;
}




/*-----------------------------------------------------------------------------------------------------------------*/
/* 1. حذف کامل اسکرول‌بار (کروم، سافاری، فایرفاکس) */
.carousel-track::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  background: transparent !important;
}

.carousel-track {
  scrollbar-width: none !important; /* فایرفاکس */
  -ms-overflow-style: none !important;  /* IE */
}

/* 2. کانتینر اصلی */
.modern-carousel-container {
  width: 100%;
  padding: 40px 0 !important;
  position: relative;
  direction: rtl; 
  overflow: hidden !important; /* جلوگیری از بیرون زدگی */
  background: transparent !important;
}

.carousel-track {
  display: flex !important;
  gap: 20px !important;
  overflow-x: auto !important;
  padding: 10px 20px 30px 20px !important; /* پدینگ برای سایه */
  margin: 0 !important;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  list-style: none !important; /* حذف بولت‌های احتمالی */
}

/* 3. استایل اجباری کارت‌ها */
.carousel-card {
  flex: 0 0 300px !important; /* عرض ثابت */
  width: 300px !important;
  min-width: 300px !important;
  background: #fff !important;
  border-radius: 15px !important;
  border: none !important; /* حذف بردرهای قالب */
  margin: 0 !important;
  overflow: hidden !important;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08) !important;
  scroll-snap-align: center;
  position: relative;
  display: block !important;
}

/* 4. اصلاح اجباری تصاویر (رفع مشکل سایز) */
.card-image {
  height: 200px !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

.card-image img {
  width: 100% !important;
  height: 100% !important;
  min-height: 200px !important; /* جلوگیری از جمع شدن */
  object-fit: cover !important; /* برش منظم */
  border-radius: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
  border: none !important;
}

/* 5. استایل متن‌ها */
.card-content {
  padding: 20px !important;
  text-align: right !important;
}

.card-content h3 {
  font-size: 16px !important;
  line-height: 1.4 !important;
  margin: 0 0 10px 0 !important;
  padding: 0 !important;
}

.card-content p {
  font-size: 13px !important;
  line-height: 1.6 !important;
  margin: 0 0 15px 0 !important;
  padding: 0 !important;
  color: #666 !important;
}

/* حذف دکمه‌های زشت و تبدیل به لینک ساده */
.read-more {
  font-size: 12px !important;
  color: #0073aa !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  text-decoration: none !important;
  padding: 0 !important;
}

/* ریسپانسیو */
@media (max-width: 768px) {
  .carousel-card {
    flex: 0 0 260px !important;
    width: 260px !important;
    min-width: 260px !important;
  }
}
/* ۱. رنگ پس‌زمینه دکمه (سبز بله) */
.wd-social-icon.social-vimeo {
    background-color: #52B448 !important;
}
.wd-social-icon.social-vimeo:hover {
    background-color: #3f9337 !important;
}

/* ۲. جایگزینی آیکون ویمئو با کلمه "بله" */
.wd-social-icon.social-vimeo .wd-icon {
    background-image: none !important;
}
.wd-social-icon.social-vimeo .wd-icon::before {
    content: "بله" !important;
    font-family: inherit !important;
    font-size: 16px !important;
    font-weight: bold !important;
    color: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* ۳. تغییر متن بازشونده به "بله" */
.wd-social-icon.social-vimeo .wd-icon-name {
    font-size: 0 !important;
}
.wd-social-icon.social-vimeo .wd-icon-name::after {
    content: "بله" !important;
    font-size: 14px !important;
    font-weight: bold !important;
    color: #ffffff !important;
    display: inline-block !important;
}