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

@font-face {
	font-family: "star";
	font-weight: 400;
	font-style: normal;
	src: url("//nilvastudio.ir/wp-content/plugins/woocommerce/assets/fonts/star.eot?#iefix") format("embedded-opentype"), url("//nilvastudio.ir/wp-content/plugins/woocommerce/assets/fonts/star.woff") format("woff"), url("//nilvastudio.ir/wp-content/plugins/woocommerce/assets/fonts/star.ttf") format("truetype"), url("//nilvastudio.ir/wp-content/plugins/woocommerce/assets/fonts/star.svg#star") format("svg");
}

@font-face {
	font-family: "WooCommerce";
	font-weight: 400;
	font-style: normal;
	src: url("//nilvastudio.ir/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.eot?#iefix") format("embedded-opentype"), url("//nilvastudio.ir/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.woff") format("woff"), url("//nilvastudio.ir/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.ttf") format("truetype"), url("//nilvastudio.ir/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.svg#WooCommerce") format("svg");
}

:root {
	--wd-text-font: "وزیر عادی", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: #767676;
	--wd-text-font-size: 14px;
	--wd-title-font: "وزیر بولد", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 600;
	--wd-title-color: #242424;
	--wd-entities-title-font: "وزیر کمی نازک", 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: "وزیر کمی نازک", Arial, Helvetica, sans-serif;
	--wd-widget-title-font: "Poppins", Arial, Helvetica, 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: "وزیر عادی", Arial, Helvetica, sans-serif;
	--wd-header-el-font-weight: 700;
	--wd-header-el-transform: uppercase;
	--wd-header-el-font-size: 13px;
	--wd-primary-color: rgb(246,202,186);
	--wd-alternative-color: rgb(206,232,201) ;
	--wd-link-color: #333333;
	--wd-link-color-hover: #242424;
	--btn-default-bgcolor: #f7f7f7;
	--btn-default-bgcolor-hover: #efefef;
	--btn-accented-bgcolor: #83b735;
	--btn-accented-bgcolor-hover: #74a32f;
	--wd-form-brd-width: 2px;
	--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;
}
:is(.woodmart-archive-shop .wd-builder-off,.wd-wishlist-content,.related-and-upsells,.cart-collaterals,.wd-shop-product,.wd-fbt) .wd-products-with-bg, :is(.woodmart-archive-shop .wd-builder-off,.wd-wishlist-content,.related-and-upsells,.cart-collaterals,.wd-shop-product,.wd-fbt) .wd-products-with-bg :is(.wd-product,.wd-cat) {
	--wd-prod-bg:rgb(255,255,255);
	--wd-bordered-bg:rgb(255,255,255);
}
.woodmart-woocommerce-layered-nav .wd-scroll-content {
	max-height: 223px;
}
.wd-page-title {
	background-image: url(https://nilvastudio.ir/wp-content/uploads/2026/04/IMG_2297-scaled.jpg);
	background-size: cover;
	background-position: center center;
}
.wd-footer {
	background-color: #ffffff;
	background-image: none;
}
.wd-popup.popup-quick-view {
	--wd-popup-width: 920px;
}
:root{
--wd-container-w: 1222px;
--wd-form-brd-radius: 0px;
--btn-default-color: #333;
--btn-default-color-hover: #333;
--btn-accented-color: #fff;
--btn-accented-color-hover: #fff;
--btn-default-brd-radius: 0px;
--btn-default-box-shadow: none;
--btn-default-box-shadow-hover: none;
--btn-default-box-shadow-active: none;
--btn-default-bottom: 0px;
--btn-accented-bottom-active: -1px;
--btn-accented-brd-radius: 0px;
--btn-accented-box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .15);
--btn-accented-box-shadow-hover: inset 0 -2px 0 rgba(0, 0, 0, .15);
--wd-brd-radius: 12px;
}

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

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


@font-face {
	font-family: "وزیر عادی";
	src: url("//nilvastudio.ir/wp-content/uploads/2026/04/Vazirmatn-Regular.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
}

@font-face {
	font-family: "وزیر بولد";
	src: url("//nilvastudio.ir/wp-content/uploads/2026/04/Vazirmatn-Bold.woff2") format("woff2");
	font-weight: 700;
	font-style: normal;
}

@font-face {
	font-family: "وزیر کمی نازک";
	src: url("//nilvastudio.ir/wp-content/uploads/2026/04/Vazirmatn-Medium.woff2") format("woff2");
	font-weight: 300;
	font-style: normal;
}

/* =============================================
   دکمه‌های افزودن به سبد خرید – فقط طرح (بدون تعیین اندازه)
   ============================================= */
.single_add_to_cart_button,
.add_to_cart_button,
.product-grid .add-to-cart-btn,
.woocommerce a.button.add_to_cart_button,
.woocommerce button.single_add_to_cart_button,
.elementor-button.elementor-product-add_to_cart {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  /* padding حذف شد – اندازه به تم اصلی واگذار می‌شود */
  border: none !important;
  background: rgb(206, 232, 201) !important;
  border-radius: 10px !important;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
  transform: perspective(500px) rotateX(5deg) !important;
  transform-style: preserve-3d !important;
  color: #5c4033 !important;
  font-weight: bold !important;
}

/* الگوی خط‌دار روی دکمه */
.single_add_to_cart_button::before,
.add_to_cart_button::before,
.elementor-button.elementor-product-add_to_cart::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    45deg,
    rgba(139, 90, 43, 0.1) 25%,
    transparent 25%,
    transparent 75%,
    rgba(139, 90, 43, 0.1) 75%
  );
  background-size: 10px 10px;
  opacity: 0.5;
  border-radius: 25px;
  transition: all 0.4s ease;
  transform: translateZ(-1px);
  pointer-events: none;
}

/* متن داخل دکمه */
.single_add_to_cart_button span,
.add_to_cart_button span,
.elementor-button.elementor-product-add_to_cart span {
  position: relative;
  z-index: 1;
  color: #000000;
  font-family: Arial, sans-serif;
  font-size: 16px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform: translateZ(10px);
}

/* حالت هاور (قرار گرفتن ماوس) */
.single_add_to_cart_button:hover,
.add_to_cart_button:hover,
.elementor-button.elementor-product-add_to_cart:hover {
  transform: perspective(500px) rotateX(0deg) translateY(-3px) !important;
  background: rgb(206, 232, 201) !important;
}

.single_add_to_cart_button:hover span,
.add_to_cart_button:hover span,
.elementor-button.elementor-product-add_to_cart:hover span {
  transform: translateZ(15px) translateX(5px);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* حالت کلیک فعال */
.single_add_to_cart_button:active,
.add_to_cart_button:active,
.elementor-button.elementor-product-add_to_cart:active {
  transform: perspective(500px) rotateX(2deg) translateY(2px) !important;
  background: rgb(206, 232, 201) !important;
  box-shadow:
    inset 0 3px 6px rgba(255, 255, 255, 0.3),
    inset 0 -3px 6px rgba(0, 0, 0, 0.15),
    0 2px 8px rgba(0, 0, 0, 0.2) !important;
}

.single_add_to_cart_button:active span,
.add_to_cart_button:active span,
.elementor-button.elementor-product-add_to_cart:active span {
  transform: translateZ(5px) translateY(1px);
}

/* =============================================
   فیلد تعداد (quantity) – فقط طرح، بدون عرض/ارتفاع ثابت
   ============================================= */
.woocommerce .quantity,
.quantity,
.woocommerce div.quantity {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  border-radius: 12px !important;
  overflow: hidden !important;
}

.woocommerce .quantity input.qty,
.quantity input.qty {
  /* width و height حذف شدند – اندازه به حالت پیش‌فرض مرورگر واگذار می‌شود */
  text-align: center !important;
  font-size: 16px !important;
  font-weight: bold !important;
  color: #5c4033 !important;
  background: rgb(206, 232, 201) !important;
  border: none !important;
  border-radius: 12px !important;
  box-shadow:
    inset 0 3px 6px rgba(255, 255, 255, 0.5),
    inset 0 -3px 6px rgba(0, 0, 0, 0.25),
    0 3px 8px rgba(0, 0, 0, 0.25) !important;
  transition: 0.3s ease;
}

.woocommerce .quantity input.qty::placeholder {
  color: #000000 !important;
}

/* الگوی خط‌دار داخل فیلد تعداد */
.woocommerce .quantity input.qty::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    45deg,
    rgba(139, 90, 43, 0.15) 25%,
    transparent 25%,
    transparent 75%,
    rgba(139, 90, 43, 0.15) 75%
  );
  background-size: 10px 10px;
  opacity: 0.4;
  pointer-events: none;
  border-radius: 12px;
}

.woocommerce .quantity input.qty:focus {
  outline: none !important;
  background: linear-gradient(to bottom, #f7e7cf, #e6cfa6) !important;
  box-shadow:
    inset 0 4px 8px rgba(255, 255, 255, 0.5),
    inset 0 -4px 8px rgba(0, 0, 0, 0.25),
    0 5px 12px rgba(0, 0, 0, 0.25) !important;
}

/* Modern Sale Badge for Woodmart */

.product-inner .out-of-stock-badge {
    display: none !important;
}

.product-labels.labels-rounded .product-label {
    display: none !important;
    align-items: center;
    justify-content: center;
    padding: 5px 7px;
    min-height: 50px;
    border-radius: 35px;
    font-size: 14px;
}

/* Change background color for the Add to Cart button */
.wd-add-btn-replace .add-to-cart-loop {
    background-color: #CDE7C8 !important;
    border-color: #CDE7C8 !important;
    color: #333 !important; /* Adjust text color for better contrast if needed */
}

/* Optional: Change color on hover if you want a different shade */
.wd-add-btn-replace .add-to-cart-loop:hover {
    background-color: #b8d9b2 !important; /* Slightly darker shade for hover */
    border-color: #b8d9b2 !important;
}

/* Liquid Glass Effect for .container */
.whb-row.whb-general-header .container {
    /* Semi-transparent background */
    background: rgba(255, 255, 255, 0.2) !important;
    
    /* The "Glass" blur effect */
    backdrop-filter: blur(15px) saturate(180%);
    -webkit-backdrop-filter: blur(15px) saturate(180%);
    
    /* Soft border for the "liquid" edge look */
    border: 1px solid rgba(255, 255, 255, 0.3);
    
    /* Rounded corners to enhance the liquid feel */
    border-radius: 15px;
    
    /* Subtle shadow for depth */
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    
    /* Ensure padding doesn't collapse */
    padding: 15px 30px !important;
    
    /* Smooth transition for when it becomes sticky */
    transition: all 0.3s ease;
}

/* Optional: Slight hover interaction */
.whb-row.whb-general-header .container:hover {
    background: rgba(255, 255, 255, 0.25) !important;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

/* استایل شیشه‌ای برای حالت عادی و چسبنده */
.whb-general-header .container {
    background: rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: blur(15px) saturate(180%);
    -webkit-backdrop-filter: blur(15px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    padding: 10px 20px !important;
    margin-top: 10px;
    margin-bottom: 10px;
}

/* اصلاح استایل وقتی هدر چسبنده (Sticky) می‌شود */
.whb-sticked .whb-general-header .container,
.whb-sticky-clone .whb-general-header .container {
    background: rgba(255, 255, 255, 0.4) !important; /* کمی تیره تر برای خوانایی بهتر هنگام اسکرول */
    backdrop-filter: blur(20px) saturate(200%);
    margin-top: 5px;
    margin-bottom: 5px;
    border-radius: 10px;
}

/* اگر هدر شما در حالت تاریک است، از این کد به جای بالایی استفاده کنید */
/*
.whb-color-dark .whb-general-header .container {
    background: rgba(0, 0, 0, 0.3) !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
*/

/* 1. حذف پس‌زمینه سفید پیش‌فرض ردیف در حالت عادی و چسبنده */
.whb-general-header, 
.whb-sticky-row,
.whb-sticky-clone {
    background-color: transparent !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* 2. اعمال استایل شیشه‌ای فقط به کانتینر داخلی */
.whb-general-header .container {
    background: rgba(255, 255, 255, 0.2) !important; /* رنگ شیشه */
    backdrop-filter: blur(15px) saturate(180%);
    -webkit-backdrop-filter: blur(15px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
    
    /* جلوگیری از تمام‌عرض شدن */
    max-width: var(--wd-container-w) !important; 
    margin-left: auto !important;
    margin-right: auto !important;
    
    /* فاصله از بالا و پایین برای زیباتر شدن حالت شناور */
    margin-top: 10px !important;
    margin-bottom: 10px !important;
    
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 3. تغییرات جزئی هنگام اسکرول (چسبنده شدن) */
.whb-sticked .whb-general-header .container,
.whb-sticky-clone .container {
    background: rgba(255, 255, 255, 0.5) !important; /* کمی کدرتر برای خوانایی روی محتوا */
    margin-top: 5px !important;
    margin-bottom: 5px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* حذف کادر و خطوط اضافه وودمارت */
.whb-row.whb-with-bg, .whb-row.whb-without-bg {
    background-color: transparent !important;
}

/* ایجاد فاصله از لبه‌ها در نسخه موبایل */
@media (max-width: 768px) {
    .whb-general-header .container {
        width: 94% !important; /* اختصاص ۹۴ درصد عرض برای فاصله گرفتن از چپ و راست */
        margin-left: auto !important;
        margin-right: auto !important;
        border-radius: 12px; /* کمی گردتر برای موبایل */
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    /* اگر هدر هم‌پوشانی (Overlap) دارد، کمی فاصله از سقف هم اضافه می‌کنیم */
    .whb-overcontent.whb-header .whb-general-header .container {
        margin-top: 15px !important;
    }
}@media (max-width: 576px) {
	/* The outer container that fixes the header to the top of the screen */
.header-container-sticky {
    position: fixed !important;
    top: 20px !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 40 !important;
    padding: 1rem !important;
    margin: 0 auto;
    box-sizing: border-box;
    display: block;
}

/* The inner header containing the visual design (blur, shadow, corners) */
.header-container-sticky header.main-header {
    height: 60px;
    padding: 2px;
    background-color: rgba(255, 255, 255, 0.1); /* Slight white tint often used with blur */
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px); /* For Safari support */
    box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, 
                rgba(0, 0, 0, 0.1) 0px 4px 6px -4px;
    border-radius: 12px;
    border: none;
    display: block;
    box-sizing: border-box;
}
}

