:root {
	--wd-text-font: "YekanBakhFaNum", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: #767676;
	--wd-text-font-size: 14px;
	--wd-title-font: "iranyekan", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 600;
	--wd-title-color: #242424;
	--wd-entities-title-font: "YekanBakhFaNum", 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: "iranyekan", Arial, Helvetica, sans-serif;
	--wd-widget-title-font: "YekanBakhFaNum", Arial, Helvetica, sans-serif;
	--wd-widget-title-font-weight: 600;
	--wd-widget-title-transform: none;
	--wd-widget-title-color: #333;
	--wd-widget-title-font-size: 16px;
	--wd-header-el-font: "iranyekan", Arial, Helvetica, sans-serif;
	--wd-header-el-font-weight: 500;
	--wd-header-el-transform: inherit;
	--wd-header-el-font-size: 14px;
	--wd-otl-style: dotted;
	--wd-otl-width: 2px;
	--wd-primary-color: rgb(27,58,92);
	--wd-alternative-color: rgb(232,131,58);
	--btn-default-font-family: "YekanBakhFaNum", Arial, Helvetica, sans-serif;
	--btn-default-font-weight: 300;
	--btn-default-bgcolor: rgb(27,58,92);
	--btn-default-bgcolor-hover: rgb(27,58,92);
	--btn-accented-bgcolor: rgb(27,58,92);
	--btn-accented-bgcolor-hover: rgb(27,58,92);
	--wd-form-brd-width: 1px;
	--notices-success-bg: rgba(10,49,91,0.86);
	--notices-success-color: rgb(255,255,255);
	--notices-warning-bg: rgba(11,50,91,0.87);
	--notices-warning-color: rgb(255,255,255);
	--wd-link-color: #333333;
	--wd-link-color-hover: rgb(22,22,22);
}
.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-woocommerce-layered-nav, .wd-product-category-filter) .wd-scroll-content {
	max-height: 194px;
}
.wd-page-title .wd-page-title-bg img {
	object-fit: cover;
	object-position: center center;
}
.wd-footer {
	background-color: rgb(244,243,245);
	background-image: none;
}
:is(.page, .search-no-results, .error404) :is(.wd-page-content, .whb-header) {
	background-color: rgb(255,255,255);
	background-image: none;
}
.woodmart-archive-shop:not(.single-product) :is(.wd-page-content, .whb-header) {
	background-color: rgb(255,255,255);
	background-image: none;
}
.single-product :is(.wd-page-content, .whb-header) {
	background-color: rgb(255,255,255);
	background-image: none;
}
.woodmart-archive-blog :is(.wd-page-content, .whb-header) {
	background-color: rgb(255,255,255);
	background-image: none;
}
.single-post :is(.wd-page-content, .whb-header) {
	background-color: rgb(255,255,255);
	background-image: none;
}
.woodmart-archive-portfolio :is(.wd-page-content, .whb-header) {
	background-color: rgb(255,255,255);
	background-image: none;
}
.single-portfolio :is(.wd-page-content, .whb-header) {
	background-color: rgb(255,255,255);
	background-image: none;
}
.wd-nav-arrows.wd-pos-sep:not(:where(.wd-custom-style)) {
	--wd-arrow-size: 0px;
}
.wd .product-label.onsale {
	background-color: rgb(229,199,142);
	color: rgb(178,118,0);
}
.wd .product-label.new {
	background-color: rgb(129,215,66);
}
.wd .product-label.out-of-stock {
	background-color: rgb(221,51,51);
	color: rgb(255,255,255);
}
.wd .product-label.attribute-label:not(.label-with-img) {
	color: rgb(0,0,0);
}
.mfp-wrap.wd-popup-quick-view-wrap {
	--wd-popup-width: 450px;
}
.woocommerce-product-gallery {
	--wd-gallery-gap: 5px;
}
.wd-builder-off .wd-fbt.wd-design-side {
	--wd-form-width: 250px;
}

@media (max-width: 768.98px) {
	[class*="thumbs-grid-bottom"] .woocommerce-product-gallery__wrapper.wd-grid {
		--wd-col: 1;
	}

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

.whb-flex-row.whb-general-header-inner{
	padding-right:24px;
	padding-left:24px;
	background:white;
	border-radius:20px;
	box-shadow: 0px 0px 40px rgba(74, 36, 157, 0.1);}
.whb-flex-row.whb-header-bottom-inner{
  background:white;
	padding-right:24px;
	padding-left:24px;
	border-bottom-left-radius:20px;
border-bottom-right-radius:20px;
margin-left:30px;
margin-right:30px;
	box-shadow: 0px 0px 40px rgba(74, 36, 157, 0.1)}
.whb-flex-row.whb-top-bar-inner{
		padding-right:24px;
	padding-left:24px;
	background:white;
	box-shadow: 0px 0px 40px rgba(74, 36, 157, 0.1);
margin-left:30px;
margin-right:30px;
border-top-left-radius:20px;
border-top-right-radius:20px;
}
.stories.carousel
{
	text-align:center;
}



.stories.snapgram .story.seen,.stories.carousel .story
{
	margin:10px 30px 4px 30px !important;
}
.stories.carousel .story>.item-link>.info .name
{
	font-weight:600 ;
}
.stories.snapgram .story>.item-link>.item-preview{
	border-radius:20px
}
.stories.snapgram .story>.item-link>.item-preview img{
	border-radius:18px
}
.timerscale{
	scale:0.8
}
.offcaro .wd-timer-value{
	font-size:14px
}
.offcaro .wd-timer-text{
	font-size:10px
}
.offcaro .wd-timer{
	gap:3px
}
.offcaro .total-sold{
	font-size:11px
}

.offcaro .current-stock{
	font-size:11px
}
.offcaro .digikala .wd-product-countdown, .product-grid-item .wd-stock-progress-bar{
	padding-top:10px
}
.offcaro .wd-timer-sec .wd-timer-value{
	color:var(--wd-primary-color)
}
.offcaro .wd-timer-sec{
	 background: rgba(74, 36, 157, 0.05);
}
.smallpro img{
	width:70px
}
.blogcard a{
	font-size:16px
}
#timer-product .elementor-widget-container{
	display:flex;
	align-items: center;
}
#timer-product .title.element-title{
	margin-bottom:0px;
}
.wd-post .article-inner
{
background-color:white;
	padding:20px;
	padding-top:25px
}
.wd-post .article-inner:before{
	content: " ";
    position: absolute;
    width: 150px;
    top: 0px;
    transform: translate(-50%, 0%);
    left: 50%;
    border-radius: 0px 0px 10px 10px;
    height: 8px;
    background-color: var(--wd-primary-color);
}

/*_________________________________________*/
/* مطلب وبلاگ */
.blog-post {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
  font-family: 'Vazir', 'IranSans', sans-serif;
  line-height: 1.8;
  color: #333;
}

/* هدر مطلب */
.post-header {
  margin-bottom: 40px;
  border-bottom: 2px solid #e0e0e0;
  padding-bottom: 20px;
}

.post-header h1 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #1b3a5c;
}

.post-meta {
  display: flex;
  gap: 20px;
  font-size: 14px;
  color: #666;
  flex-wrap: wrap;
}

.post-meta a {
  color: #ffa500;
  text-decoration: none;
}

.post-meta a:hover {
  text-decoration: underline;
}

/* فهرست محتوا */
.table-of-contents {
  background: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 40px;
}

.table-of-contents h3 {
  margin-top: 0;
  margin-bottom: 15px;
  font-size: 18px;
  color: #1b3a5c;
}

.table-of-contents ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.table-of-contents li {
  margin-bottom: 10px;
}

.table-of-contents a {
  color: #ffa500;
  text-decoration: none;
  transition: color 0.3s ease;
}

.table-of-contents a:hover {
  color: #1b3a5c;
  text-decoration: underline;
}

/* محتوای اصلی */
.post-content {
  margin-bottom: 40px;
}

.post-content section {
  margin-bottom: 40px;
}

.post-content h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #1b3a5c;
  padding-bottom: 10px;
  border-bottom: 2px solid #ffa500;
}

.post-content h3 {
  font-size: 20px;
  font-weight: 600;
  margin-top: 25px;
  margin-bottom: 15px;
  color: #1b3a5c;
}

.post-content p {
  margin-bottom: 15px;
  text-align: justify;
}

/* لیست‌های گلوله‌ای */
.bullet-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 20px;
}

.bullet-list li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
}

.bullet-list li:before {
  content: "•";
  position: absolute;
  left: 0;
  color: #ffa500;
  font-weight: bold;
  font-size: 18px;
}

/* نوت‌ها */
.note {
  background: #e8f4f8;
  border-left: 4px solid #ffa500;
  padding: 15px 20px;
  border-radius: 4px;
  margin: 20px 0;
}

.note p {
  margin: 0;
  font-size: 15px;
}

/* فراخوان اقدام */
.cta-section {
  background: #f5f5f5;
  padding: 30px;
  border-radius: 8px;
  margin-bottom: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.cta-content {
  text-align: center;
}

.cta-content h3 {
  margin-bottom: 15px;
  color: #1b3a5c;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: #ffa500;
  color: white;
}

.btn-primary:hover {
  background: #1b3a5c;
  transform: translateY(-2px);
}

.btn-secondary {
  background: #1b3a5c;
  color: white;
}

.btn-secondary:hover {
  background: #ffa500;
  transform: translateY(-2px);
}

/* پاورقی */
.post-footer {
  border-top: 2px solid #e0e0e0;
  padding-top: 30px;
}

.tags {
  margin-bottom: 30px;
}

.tags h4 {
  margin-bottom: 15px;
  color: #1b3a5c;
}

.tag {
  display: inline-block;
  background: #f0f0f0;
  color: #1b3a5c;
  padding: 6px 12px;
  border-radius: 20px;
  margin-right: 10px;
  margin-bottom: 10px;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
}

.tag:hover {
  background: #ffa500;
  color: white;
}

.post-info {
  background: #f9f9f9;
  padding: 15px;
  border-radius: 6px;
  font-size: 14px;
}

.post-info p {
  margin: 8px 0;
}

.post-info a {
  color: #ffa500;
  text-decoration: none;
}

.post-info a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  .blog-post {
    padding: 20px 15px;
  }

  .post-header h1 {
    font-size: 24px;
  }

  .post-meta {
    flex-direction: column;
    gap: 8px;
  }

  .cta-section {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .post-content h2 {
    font-size: 20px;
  }

  .post-content h3 {
    font-size: 18px;
  }
}


/* دکمه جست‌وجوی هدر */
.wd-header-search .searchsubmit,
.wd-search-form .searchsubmit {
    background-color: #ffffff !important;
    color: #1B3A5C !important;
    border: 1px solid #1B3A5C !important;
    box-shadow: none !important;
    transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}

/* آیکون جست‌وجو */
.wd-header-search .searchsubmit svg,
.wd-search-form .searchsubmit svg {
    fill: currentColor !important;
    color: currentColor !important;
}

/* حالت هاور */
.wd-header-search .searchsubmit:hover,
.wd-search-form .searchsubmit:hover {
    background-color: #1B3A5C !important;
    color: #ffffff !important;
    border-color: #1B3A5C !important;
}



/* =========================================
   صفحه محصول تکی
   رنگ اصلی سایت: سرمه‌ای #1B3A5C
   ========================================= */

/* چیدمان تعداد و دکمه افزودن به سبد */
.single-product .variations_button {
    display: flex !important;
    align-items: center;
    gap: 12px;
    direction: rtl;
}

/* دکمه افزودن به سبد خرید */
.single-product .variations_button .single_add_to_cart_button {
    order: 1;
    flex: 1;
    min-height: 46px;
    margin: 0 !important;
    background-color: #1B3A5C !important;
    border: 1px solid #1B3A5C !important;
    color: #ffffff !important;
    box-shadow: none !important;
    transition: all .25s ease;
}

/* متن و آیکون‌های داخل دکمه افزودن به سبد */
.single-product .variations_button .single_add_to_cart_button,
.single-product .variations_button .single_add_to_cart_button *,
.single-product .variations_button .single_add_to_cart_button::before,
.single-product .variations_button .single_add_to_cart_button::after {
    color: #ffffff !important;
}

/* هاور دکمه افزودن به سبد */
.single-product .variations_button .single_add_to_cart_button:hover,
.single-product .variations_button .single_add_to_cart_button:focus {
    background-color: #122B45 !important;
    border-color: #122B45 !important;
    color: #ffffff !important;
    transform: translateY(-1px);
}

/* بخش انتخاب تعداد */
.single-product .variations_button .quantity {
    order: 2;
    display: flex !important;
    align-items: stretch;
    height: 46px;
    margin: 0 !important;
    direction: ltr;
}

/* عدد تعداد (مثلاً عدد 1) */
.single-product .variations_button .quantity input.qty {
    width: 48px !important;
    min-width: 48px !important;
    height: 46px !important;
    padding: 0 !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 46px !important;
    text-align: center !important;
    color: #1B3A5C !important;
    background-color: #ffffff !important;
    border-top: 1px solid #1B3A5C !important;
    border-bottom: 1px solid #1B3A5C !important;
    border-radius: 0 !important;
}

/* دکمه‌های کاهش و افزایش تعداد */
.single-product .variations_button .quantity .minus,
.single-product .variations_button .quantity .plus,
.single-product .variations_button .quantity button {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 38px !important;
    min-width: 38px !important;
    height: 46px !important;
    padding: 0 !important;
    font-size: 20px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    color: #ffffff !important;
    background-color: #1B3A5C !important;
    border: 1px solid #1B3A5C !important;
    box-shadow: none !important;
    text-shadow: none !important;
    opacity: 1 !important;
    transition: background-color .2s ease;
}

/* اطمینان از سفید ماندن خود علامت‌های + و − */
.single-product .variations_button .quantity .minus *,
.single-product .variations_button .quantity .plus *,
.single-product .variations_button .quantity button *,
.single-product .variations_button .quantity .minus::before,
.single-product .variations_button .quantity .minus::after,
.single-product .variations_button .quantity .plus::before,
.single-product .variations_button .quantity .plus::after {
    color: #ffffff !important;
}

/* هاور دکمه‌های + و − */
.single-product .variations_button .quantity .minus:hover,
.single-product .variations_button .quantity .plus:hover,
.single-product .variations_button .quantity button:hover {
    color: #ffffff !important;
    background-color: #122B45 !important;
    border-color: #122B45 !important;
}

/* گردی گوشه‌های کنترل تعداد */
.single-product .variations_button .quantity .minus {
    border-radius: 4px 0 0 4px !important;
}

.single-product .variations_button .quantity .plus {
    border-radius: 0 4px 4px 0 !important;
}

/* موبایل */
@media (max-width: 767px) {
    .single-product .variations_button {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .single-product .variations_button .quantity {
        order: 1;
        align-self: flex-start;
    }

    .single-product .variations_button .single_add_to_cart_button {
        order: 2;
        width: 100%;
    }
}







/* ===== رنگ‌بندی تب‌ها - آبی سرمه‌ای ===== */

/* تب فعال - متن و خط زیرین */
.elementor-tabs .elementor-tab-title.elementor-active {
    color: #1B3A5C !important;
    border-bottom: 3px solid #1B3A5C !important;
    font-weight: 700 !important;
}

/* تب غیرفعال */
.elementor-tabs .elementor-tab-title {
    color: #333333;
    font-weight: 500;
    transition: all 0.3s ease;
}

/* هاور روی تب غیرفعال */
.elementor-tabs .elementor-tab-title:hover {
    color: #1B3A5C;
}

/* خط جداکننده بین تب‌ها (اختیاری) */
.elementor-tabs .elementor-tabs-wrapper {
    border-bottom: 1px solid #E0E0E0;
}

/* پس‌زمینه محتوای تب */
.elementor-tabs .elementor-tab-content {
    background-color: #FFFFFF;
    padding: 30px;
}


/* ===== چیدمان پیش‌فرض (دسکتاپ) - افقی و مساوی ===== */
.elementor-tabs .elementor-tabs-wrapper {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
}

.elementor-tabs .elementor-tab-title {
    flex: 1;
    text-align: center;
    justify-content: center;
}


/* ===== حالت تبلت ===== */
@media (max-width: 1024px) and (min-width: 768px) {
    .elementor-tabs .elementor-tab-title {
        font-size: 14px;
        padding: 12px 8px;
    }
}


/* ===== حالت موبایل - چیدمان ۲×۲ ===== */
@media (max-width: 767px) {
    .elementor-tabs .elementor-tabs-wrapper {
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .elementor-tabs .elementor-tab-title {
        flex: 0 0 48%;   /* هر تب تقریباً نیمی از عرض را می‌گیرد */
        font-size: 13px;
        padding: 10px 5px;
        text-align: center;
        border: 1px solid #E0E0E0;
        margin-bottom: 8px;
        border-radius: 4px;
    }

    /* تب فعال در موبایل - پس‌زمینه هم تغییر کند برای وضوح بیشتر */
    .elementor-tabs .elementor-tab-title.elementor-active {
        background-color: #1B3A5C !important;
        color: #FFFFFF !important;
        border-color: #1B3A5C !important;
    }

    .elementor-tabs .elementor-tab-content {
        padding: 20px 15px;
    }
}

