@font-face {
	font-weight: normal;
	font-style: normal;
	font-family: "woodmart-font";
	src: url("//caffeinemood.com/wp-content/themes/woodmart/fonts/woodmart-font-1-400.woff2?v=8.2.7") format("woff2");
}

:root {
	--wd-header-banner-h: 40px;
	--wd-text-font: iranyekan, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: #767676;
	--wd-text-font-size: 14px;
	--wd-title-font: iranyekan, sans-serif;
	--wd-title-font-weight: 600;
	--wd-title-color: #242424;
	--wd-entities-title-font: iranyekan, 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, sans-serif;
	--wd-widget-title-font: iranyekan, sans-serif;
	--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: iranyekan, sans-serif;
	--wd-header-el-font-weight: 700;
	--wd-header-el-transform: uppercase;
	--wd-header-el-font-size: 13px;
	--wd-brd-radius: 10px;
	--wd-primary-color: rgb(81,42,16);
	--wd-alternative-color: rgb(0,122,31);
	--wd-link-color: rgb(0,122,31);
	--wd-link-color-hover: rgb(0,193,54);
	--btn-default-bgcolor: rgb(0,122,31);
	--btn-default-bgcolor-hover: rgb(0,107,26);
	--btn-accented-bgcolor: rgb(255,255,255);
	--btn-accented-bgcolor-hover: rgb(0,107,26);
	--wd-form-brd-width: 1px;
	--notices-success-bg: #459647;
	--notices-success-color: #fff;
	--notices-warning-bg: #E0B252;
	--notices-warning-color: #fff;
}
.wd-popup.wd-age-verify {
	--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-popup-width: 800px;
}
.header-banner {
	background-color: rgb(0,107,26);
	background-image: none;
}
:is(.woodmart-woocommerce-layered-nav, .wd-product-category-filter) .wd-scroll-content {
	max-height: 223px;
}
.wd-page-title {
	background-color: rgb(255,250,246);
	background-image: url(https://caffeinemood.com/wp-content/uploads/2025/08/pattern-01.webp);
	background-size: contain;
	background-position: center center;
}
.wd-footer {
	background-color: #ffffff;
	background-image: none;
}
body, [class*=color-scheme-light], [class*=color-scheme-dark], .wd-search-form[class*="wd-header-search-form"] form.searchform, .wd-el-search .searchform {
	--wd-form-color: rgb(0,122,31);
}
.product-labels .product-label.onsale {
	background-color: rgb(229,0,0);
	color: rgb(255,255,255);
}
.wd-popup.popup-quick-view {
	--wd-popup-width: 920px;
}

@media (max-width: 1024px) {
	:root {
		--wd-header-banner-h: 40px;
	}

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



@font-face {
	font-family: "Yekan bakh";
	font-weight: 400;
	font-style: normal;
}

/* --------------------------------------------
   1) Register variable font (YekanBakh with Fa-Num)
--------------------------------------------- */
@font-face {
  font-family: 'YekanBakhVF';
  src: url('https://caffeinemood.com/wp-content/uploads/fonts/YekanBakhFaNum-VF.woff2') format('woff2-variations'),
       url('https://caffeinemood.com/wp-content/uploads/fonts/YekanBakhFaNum-VF.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* متغیر عمومی برای استفاده در کل سایت */
:root {
  --font-iran: 'YekanBakhVF', system-ui, -apple-system, Segoe UI, Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* --------------------------------------------
   2) Global & Elementor override (متن‌ها و کنترل‌ها)
--------------------------------------------- */
body,
h1, h2, h3, h4, h5, h6,
p, a, li, dt, dd,
button, input, textarea, select,
table, th, td,
.woodmart-button, .wd-btn,
.elementor-button, .elementor-widget-button .elementor-button,
.elementor-heading-title, .elementor-widget-heading h1,
.elementor-widget-heading h2, .elementor-widget-heading h3,
.elementor-widget-heading h4, .elementor-widget-heading h5,
.elementor-widget-heading h6,
.elementor-widget-text-editor,
.elementor-nav-menu a,
.elementor-widget-icon-box,
.elementor-widget-price-table,
.elementor-widget-woocommerce-products,
.elementor-widget-woocommerce-product-title {
  font-family: var(--font-iran) !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* --------------------------------------------
   3) Woodmart Specifics (بخش‌های خاص قالب وودمارت)
--------------------------------------------- */
.main-nav, .main-nav a,
.wd-nav, .wd-nav > li > a,
.whb-main-header .item-link,
.whb-header .wd-nav a,
.whb-header-promo-text {
  font-family: var(--font-iran) !important;
}

.product-title a,
.wd-entities-title a {
  font-family: var(--font-iran) !important;
}

.single_add_to_cart_button,
.add_to_cart_button,
.product_loop_button,
.quick-view-btn,
.woodmart-add-to-cart-btn,
.compare-btn a,
.wd-wishlist-btn a,
.wd-add-to-cart .wd-action-btn {
  font-family: var(--font-iran) !important;
}

/* قیمت‌ها */
.price, .price .amount,
.woocommerce-Price-amount, .amount {
  font-family: var(--font-iran) !important;
}

/* سایر بخش‌های وودمارت */
.widget-title,
.product_meta > span,
.tabs .wd-nav-tabs li a,
.wd-search-form .search-form-inner,
.wd-search-form .wd-scroll-content,
.wd-popup-title {
  font-family: var(--font-iran) !important;
}

/* --------------------------------------------
   4) WooCommerce (کلاسیک و بلاک‌ها)
--------------------------------------------- */
.woocommerce,
.woocommerce-cart, .woocommerce-checkout,
.woocommerce form, .woocommerce table,
.woocommerce .button, .woocommerce a.button,
.woocommerce-message, .woocommerce-error, .woocommerce-info,
.woocommerce-breadcrumb,
.woocommerce ul.order_details,
.widget_shopping_cart, .woocommerce-mini-cart,
.wd-header-cart, .wd-dropdown-cart,
.wd-cart .woocommerce-mini-cart__buttons a {
  font-family: var(--font-iran) !important;
}

/* WooCommerce Blocks */
[class^="wc-block-"], [class*=" wc-block-"] {
  font-family: var(--font-iran) !important;
}

/* فیلدهای فرم */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
  font-family: var(--font-iran) !important;
}

/* --------------------------------------------
   5) آیکون‌ها: فونت درست هر مجموعه
   (جایگزینِ بلوک «inherit» قبلی)
--------------------------------------------- */

/* Font Awesome 6 (با fallback به 5) */
.fas, .fa-solid, .svg-inline--fa.fa-solid {
  font-family: "Font Awesome 6 Free","Font Awesome 5 Free" !important;
  font-weight: 900 !important;
  font-style: normal !important;
}
.far, .fa-regular, .svg-inline--fa.fa-regular {
  font-family: "Font Awesome 6 Free","Font Awesome 5 Free" !important;
  font-weight: 400 !important;
  font-style: normal !important;
}
.fab, .fa-brands, .svg-inline--fa.fa-brands {
  font-family: "Font Awesome 6 Brands","Font Awesome 5 Brands" !important;
  font-weight: 400 !important;
  font-style: normal !important;
}
/* انتخابگر عمومی FA (برای نسخه‌های قدیمی‌تر) */
.fa {
  font-family: "Font Awesome 6 Free","Font Awesome 5 Free" !important;
  font-style: normal !important;
}

/* آیکون‌های قالب Woodmart */
.wd-icon,
[class^="wd-ico"], [class*=" wd-ico"],
[class^="icon-"],  [class*=" icon-"] {
  font-family: "woodmart-font" !important; /* اگر نام متفاوت است، از CSS قالب بخوانید */
  font-weight: normal !important;
  font-style: normal !important;
}

/* Dashicons وردپرس */
.dashicons {
  font-family: "dashicons" !important;
  font-weight: normal !important;
  font-style: normal !important;
}

/* ستاره‌های امتیازدهی (بنا به قالب معمولاً با فونت آیکونی رندر می‌شوند) */
.star-rating,
.woocommerce .star-rating,
.wd-star-rating {
  font-family: "woodmart-font","Font Awesome 6 Free","Font Awesome 5 Free",inherit !important;
  font-weight: 400 !important;
  font-style: normal !important;
}
.wd-icon:before,
.wd-star-rating:before,
.star-rating:before,
.star-rating span:before {
  font-family: "woodmart-font","Font Awesome 6 Free","Font Awesome 5 Free",inherit !important;
  font-weight: 400 !important;
  font-style: normal !important;
}

/* --------------------------------------------
   6) وزن‌های پیشنهادی برای فونت متغیر (اختیاری)
--------------------------------------------- */
h1, h2, .product_title {
  font-variation-settings: "wght" 700;
}
body, p, li, input, textarea {
  font-variation-settings: "wght" 450;
}
.button, .wd-btn, .elementor-button, .main-nav a,
.single_add_to_cart_button {
  font-variation-settings: "wght" 600;
}
/* پایان */

/* checkout */
.woocommerce-shipping-fields {display:none}
.woocommerce-terms-and-conditions-wrapper {display:none}
/* پایان */


/* cart */
.wd-cart-action-row {display:none!important}
/* پایان */
/* کنار هم آوردن قیمت و درصد تخفیف در کارت محصول */
.products .price,
.wd-product .price,
.product-grid-item .price {
  display: inline-flex;
  align-items: center;
  gap: .4em;
  flex-wrap: wrap;
}

/* استایل مدال درصد */
.wd-discount-inline{
  display: inline-block;
  padding: .15em .45em;
  font-size: .85em;
  line-height: 1;
  border-radius: .7em;
  background: red;
  color: #fff;
  font-weight: 600;
}

/* اگر نمی‌خواهی برچسب روی تصویر دیده شود (اختیاری) */
.product-labels { display: none !important; }
/* سبد خرید*/
.elementor-widget-woocommerce-cart .woocommerce a:not(.add_to_cart_button):not(.restore-item):not(.wc-backward):not(.wc-forward) {
border-radius:10px
}
.elementor-widget-woocommerce-cart .woocommerce button.button
{
border-radius:10px;
	background-color:#f3f3f3;
	border:0;
	color:#007A1F;
}
.elementor-widget-woocommerce-cart .woocommerce button.button:hover
{
	background-color:#E0E0E0;
	color:#007A1F;
}
/* تسویه حساب*/
.elementor-widget-woocommerce-checkout-page .woocommerce button.woocommerce-button
{
border-radius:10px;
	background-color:#f3f3f3;
	border:0;
	color:#007A1F;
}
.elementor-widget-woocommerce-checkout-page .woocommerce button.woocommerce-button:hover
{
	background-color:#E0E0E0;
	color:#007A1F;
}
