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

.wd-popup.wd-promo-popup{
	background-color:#111111;
	background-image: none;
	background-repeat:no-repeat;
	background-size:contain;
	background-position:left center;
}

.header-banner{
	background-color:rgb(0,0,0);
	background-image: none;
}

.page-title-default{
	background-color:#e8e8e8;
	background-image: none;
	background-size:cover;
	background-position:center center;
}

.footer-container{
	background-color:#f4f4f4;
	background-image: none;
}

:root{
--wd-text-font:"iranyekan", Arial, Helvetica, sans-serif;
--wd-text-font-weight:400;
--wd-text-color:#777777;
--wd-text-font-size:14px;
}
:root{
--wd-title-font:"iranyekan", Arial, Helvetica, sans-serif;
--wd-title-font-weight:600;
--wd-title-color:#242424;
}
:root{
--wd-entities-title-font:"iranyekan", 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%);
}
:root{
--wd-alternative-font:iranyekan, sans-serif;
}
:root{
--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;
}
:root{
--wd-header-el-font:iranyekan, sans-serif;
--wd-header-el-font-weight:600;
--wd-header-el-transform:uppercase;
--wd-header-el-font-size:13px;
}
:root{
--wd-primary-color:rgb(231,169,141);
}
:root{
--wd-alternative-color:rgb(163,122,201);
}
:root{
--wd-link-color:#333333;
--wd-link-color-hover:#242424;
}
:root{
--btn-default-bgcolor:#f7f7f7;
}
:root{
--btn-default-bgcolor-hover:#efefef;
}
:root{
--btn-accented-bgcolor:rgb(231,169,141);
}
:root{
--btn-accented-bgcolor-hover:rgb(56,56,56);
}
:root{
--notices-success-bg:#459647;
}
:root{
--notices-success-color:#fff;
}
:root{
--notices-warning-bg:#E0B252;
}
:root{
--notices-warning-color:#fff;
}
	:root{
					
							--wd-form-brd-radius: 5px;
			
					
					--wd-form-brd-width: 2px;
		
					--btn-default-color: #333;
		
					--btn-default-color-hover: #333;
		
					--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: 0px;
			}

	
	
			@media (min-width: 1025px) {
			.whb-boxed:not(.whb-sticked):not(.whb-full-width) .whb-main-header {
				max-width: 1132px;
			}
		}

		.container {
			max-width: 1162px;
		}

		:root{
			--wd-container-w: 1162px;
		}
	
	
			div.wd-popup.popup-quick-view {
			max-width: 920px;
		}
	
	
	
			:root {
			--wd-header-banner-h: 45px;
		}
		@media (max-width: 1024px) {
			:root {
				--wd-header-banner-h: 40px;
			}
		}
	
			.woodmart-woocommerce-layered-nav .wd-scroll-content {
			max-height: 233px;
		}
	
					rs-slides [data-type=text],
		rs-slides [data-type=button] {
			font-family: iranyekan !important;
		}
		
					rs-slides h1[data-type=text],
			rs-slides h2[data-type=text],
			rs-slides h3[data-type=text],
			rs-slides h4[data-type=text],
			rs-slides h5[data-type=text],
			rs-slides h6[data-type=text] {
				font-family: iranyekan !important;
			}
			
/* =========================================================
   CLASY IRAN — نسخه یکپارچه اصلاح‌شده
   قالب WoodMart + WooCommerce
   رنگ کرم، رزگلد، هدر شیشه‌ای و فوتر تیره
   ========================================================= */


/* =========================================================
   0. متغیرهای رنگ و ظاهر
   ========================================================= */

:root {
  --clasy-cream: #fbf6ef;
  --clasy-glass: rgba(255, 251, 246, .92);
  --clasy-rose: #bd927d;
  --clasy-rose-light: #e5cbb9;
  --clasy-rose-dark: #94664f;
  --clasy-text: #382c27;
  --clasy-muted: #78665c;
  --clasy-border: #eaded2;
  --clasy-card: #fffdf9;
  --clasy-shadow: 0 8px 26px rgba(79, 54, 39, .07);

  --clasy-footer: #302722;
  --clasy-footer-panel: #3a302a;
  --clasy-footer-text: #f5ede7;
  --clasy-footer-muted: #d0beb1;
  --clasy-footer-accent: #e8c7af;
  --clasy-footer-line: rgba(232, 199, 175, .19);
}


/* =========================================================
   1. سربرگ — قاب شیشه‌ای
   ========================================================= */

.whb-header {
  color: var(--clasy-text);
  background: transparent !important;
  z-index: 100;
}

.whb-header .whb-row {
  min-height: 0 !important;
  background: transparent;
  transition: background-color .25s ease, box-shadow .25s ease;
}

.whb-header .whb-flex-row {
  min-height: 0 !important;
  height: auto !important;
  align-items: center !important;
}

/* نوار اطلاع‌رسانی بالای سایت */

.whb-header .whb-top-bar {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: relative !important;
  width: 100% !important;
  max-width: none !important;
  min-height: 0 !important;
  height: auto !important;
  margin: 0 !important;
  padding: 7px 12px !important;
  background: rgba(244, 231, 218, .97) !important;
  color: #594338 !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(189, 146, 125, .22) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* سه ردیف اصلی سربرگ */

.whb-header .whb-row:not(.whb-top-bar) {
  width: calc(100% - 40px) !important;
  max-width: 1440px !important;
  min-height: 0 !important;
  height: auto !important;
  margin-left: auto !important;
  margin-right: auto !important;
  margin-top: 0 !important;
  margin-bottom: 7px !important;
  padding: 0 !important;
  background: var(--clasy-glass) !important;
  background-image: none !important;
  border: 1px solid rgba(189, 146, 125, .30) !important;
  border-radius: 18px !important;
  box-shadow: 0 5px 18px rgba(91, 62, 46, .045) !important;
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  background-clip: padding-box !important;
}

/* ردیف داخلی */

.whb-header .whb-row:not(.whb-top-bar) .whb-flex-row {
  min-height: 0 !important;
  height: auto !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  align-items: center !important;
  border-radius: inherit !important;
}

/* ستون‌های هدر */

.whb-header .whb-row:not(.whb-top-bar) .whb-col {
  min-width: 0;
  padding-top: 3px !important;
  padding-bottom: 3px !important;
}

/* حفظ زمینه شیشه‌ای و گردی مستقل هر ردیف */

.whb-header .whb-row:not(.whb-top-bar),
.whb-header .whb-row:not(.whb-top-bar) > .container,
.whb-header .whb-row:not(.whb-top-bar) > .whb-flex-row {
  border-radius: 18px !important;
  background-clip: padding-box !important;
}

/* سایه ردیف پایینی */

.whb-header .whb-row:not(.whb-top-bar):last-child {
  box-shadow: 0 10px 28px rgba(91, 62, 46, .08) !important;
}

/* ابزارهای سربرگ */

.whb-header .wd-header-search,
.whb-header .wd-header-cart,
.whb-header .wd-header-my-account,
.whb-header .wd-header-wishlist,
.whb-header .wd-tools-element {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.whb-header .wd-tools-element > a {
  min-height: 34px !important;
  padding-top: 4px !important;
  padding-bottom: 4px !important;
  color: var(--clasy-text) !important;
}

.whb-header .wd-tools-element .wd-tools-icon {
  color: #775646;
  transition: color .2s ease, transform .2s ease;
}

.whb-header .wd-tools-element:hover .wd-tools-icon {
  color: var(--clasy-rose-dark);
  transform: translateY(-1px);
}

.whb-header .wd-tools-element .wd-cart-number,
.whb-header .wd-cart-number {
  background: var(--clasy-rose) !important;
  color: #fff !important;
  border-color: var(--clasy-cream) !important;
}


/* =========================================================
   2. لوگو — بدون قاب تزئینی
   ========================================================= */

.whb-header .wd-logo,
.whb-header .site-logo {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative !important;
  min-height: 0 !important;
  height: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  outline: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.whb-header .wd-logo::before,
.whb-header .wd-logo::after,
.whb-header .site-logo::before,
.whb-header .site-logo::after,
.whb-header .wd-logo a::before,
.whb-header .wd-logo a::after,
.whb-header .site-logo a::before,
.whb-header .site-logo a::after {
  content: none !important;
  display: none !important;
}

.whb-header .wd-logo a,
.whb-header .site-logo a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.whb-header .wd-logo img,
.whb-header .site-logo img,
.whb-header .custom-logo {
  display: block !important;
  width: auto !important;
  max-width: 275px !important;
  max-height: 170px !important;
  height: auto !important;
  object-fit: contain !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* قرارگرفتن لوگو در لایه بالاتر */

.whb-header .whb-row:has(.wd-logo),
.whb-header .whb-row:has(.site-logo) {
  position: relative !important;
  z-index: 20 !important;
}

.whb-header .wd-logo,
.whb-header .site-logo {
  z-index: 25 !important;
  flex-shrink: 0 !important;
}

.whb-header .wd-logo img,
.whb-header .site-logo img,
.whb-header .custom-logo {
  position: relative !important;
  z-index: 26 !important;
}


/* =========================================================
   3. منوی اصلی — خط زیر نوشته‌ها
   ========================================================= */

.whb-header .menu > li > a,
.whb-header .wd-nav > li > a {
  position: relative !important;
  display: inline-flex;
  align-items: center;
  line-height: 2.5 !important;
  padding-top: 12px !important;
  padding-bottom: 15px !important;
  color: var(--clasy-text) !important;
  text-decoration: none !important;
  transition: color .2s ease;
}

.whb-header .wd-nav > li > a::before {
  pointer-events: none;
}

.whb-header .wd-nav > li > a::after {
  content: "" !important;
  position: absolute !important;
  top: auto !important;
  bottom: 3px !important;
  left: 50% !important;
  right: auto !important;
  width: 0 !important;
  height: 2px !important;
  border: 0 !important;
  border-radius: 3px;
  background: linear-gradient(
    90deg,
    var(--clasy-rose-light),
    var(--clasy-rose-dark)
  ) !important;
  transform: translateX(-50%);
  transition: width .22s ease;
}

.whb-header .wd-nav > li:hover > a::after,
.whb-header .wd-nav > li.current-menu-item > a::after,
.whb-header .wd-nav > li.current-menu-ancestor > a::after {
  width: 48% !important;
}

.whb-header .menu > li:hover > a,
.whb-header .wd-nav > li:hover > a,
.whb-header .wd-nav > li.current-menu-item > a {
  color: var(--clasy-rose-dark) !important;
}

.whb-header .whb-text-element {
  color: var(--clasy-text) !important;
}


/* =========================================================
   4. جستجوی سربرگ
   ========================================================= */

.whb-header .wd-search-form,
.whb-header .searchform {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.whb-header .wd-search-form input[type="text"],
.whb-header .wd-search-form input[type="search"],
.whb-header .searchform input[type="text"],
.whb-header .searchform input[type="search"] {
  min-height: 38px !important;
  background: rgba(255, 255, 255, .76) !important;
  color: var(--clasy-text) !important;
  border: 2px solid rgba(189, 146, 125, .38) !important;
  border-radius: 12px !important;
  box-shadow: none !important;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.whb-header .wd-search-form input:focus,
.whb-header .searchform input:focus {
  border-color: var(--clasy-rose) !important;
  box-shadow: 0 0 0 3px rgba(189, 146, 125, .12) !important;
}

.whb-header .wd-search-form .searchsubmit,
.whb-header .searchform button[type="submit"] {
  color: var(--clasy-rose-dark) !important;
}


/* =========================================================
   5. منوهای بازشونده
   ========================================================= */

.whb-header .wd-dropdown,
.whb-header .wd-dropdown-menu,
.whb-header .sub-menu-dropdown {
  background: rgba(255, 251, 246, .98) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(189, 146, 125, .25);
  border-radius: 13px;
  box-shadow: 0 15px 38px rgba(67, 44, 33, .13);
  z-index: 500;
}

.whb-header .wd-dropdown a,
.whb-header .sub-menu-dropdown a {
  color: var(--clasy-text);
}

.whb-header .wd-dropdown a:hover,
.whb-header .sub-menu-dropdown a:hover {
  color: var(--clasy-rose-dark) !important;
  background: rgba(189, 146, 125, .08);
}


/* =========================================================
   6. بدنه سایت و نوشته‌ها
   ========================================================= */

body,
.site-content,
.main-page-wrapper {
  background-color: #fbf7f1;
  color: var(--clasy-text);
}

h1, h2, h3, h4, h5, h6 {
  color: var(--clasy-text);
}

a {
  transition: color .2s ease;
}

a:hover {
  color: var(--clasy-rose-dark);
}


/* =========================================================
   7. کارت محصولات — اصلاح یکپارچه
   تعداد ستون‌های گرید فروشگاه تغییر نمی‌کند.
   ========================================================= */

/* حذف کادر دور کل کارت */

.products .product-wrapper,
.products .product-grid-item .product-wrapper {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  min-width: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  overflow: visible !important;
  transition: none;
}

.products .product-wrapper .product-element-top,
.products .product-grid-item .product-element-top {
  flex: 0 0 auto !important;
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  border-radius: 14px;
  overflow: hidden;
}

/* حرکت بسیار ملایم تصویر */

.products .product-element-top img {
  transition: transform .3s ease;
}

@media (hover: hover) {
  .products .product-wrapper:hover .product-element-top img {
    transform: scale(1.02);
  }
}

/* بخش اطلاعات: شبکه داخلی کارت، بدون تغییر گرید فروشگاه */

.products .product-wrapper .product-element-bottom {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  grid-template-rows: auto 1fr auto !important;
  align-items: end !important;
  column-gap: 7px !important;
  row-gap: 9px !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 10px 0 0 !important;
  box-sizing: border-box !important;
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  overflow: visible !important;
}

/* جلوگیری از سرریز متن و قیمت */

.products .product-wrapper .product-element-bottom,
.products .product-wrapper .product-element-bottom * {
  min-width: 0;
  box-sizing: border-box;
}

/* عنوان محصول: حداکثر سه خط با سه‌نقطه */

.products .product-wrapper .product-element-bottom .product-title,
.products .product-wrapper .product-element-bottom .wd-entities-title,
.products .product-wrapper .product-element-bottom > a.wd-entities-title,
.products .product-wrapper .product-element-bottom > .product-title {
  grid-column: 1 / -1 !important;
  grid-row: 1 !important;
  align-self: start !important;
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 3 !important;
  line-clamp: 3 !important;
  width: 100% !important;
  height: 5.4em !important;
  min-height: 5.4em !important;
  max-height: 5.4em !important;
  margin: 0 0 2px !important;
  padding: 0 2px !important;
  overflow: hidden !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  word-break: normal !important;
  text-overflow: ellipsis !important;
  line-height: 1.8em !important;
  text-align: center !important;
  color: var(--clasy-text) !important;
  border: 0 !important;
  background: transparent !important;
}

/* لینک داخل عنوان نیز محدود بماند */

.products .product-wrapper .product-title a,
.products .product-wrapper .wd-entities-title a {
  color: var(--clasy-text) !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  word-break: normal !important;
}

/* کادر قیمت: ستون اول، ردیف پایینی */

.products .product-wrapper .product-element-bottom .wrap-price {
  grid-column: 1 !important;
  grid-row: 3 !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: stretch !important;
  justify-content: center !important;
  flex-wrap: nowrap !important;
  gap: 6px !important;
  position: relative !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
}

/* کادر مستقل قیمت درون wrap-price */

.products .product-wrapper .wrap-price > .price {
  display: flex !important;
  flex: 1 1 0 !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 3px !important;
  width: auto !important;
  max-width: 100% !important;
  min-width: 0 !important;
  height: auto !important;
  margin: 0 !important;
  padding: 8px 6px !important;
  border: 1px solid rgba(189, 146, 125, .55) !important;
  border-radius: 10px !important;
  background: rgba(244, 231, 218, .48) !important;
  box-shadow: none !important;
  text-align: center !important;
  line-height: 1.8 !important;
  overflow-wrap: anywhere !important;
}

/* قیمت مستقیم، در قالب‌هایی که wrap-price ندارند */

.products .product-wrapper .product-element-bottom > .price {
  grid-column: 1 !important;
  grid-row: 3 !important;
  display: flex !important;
  flex: 1 1 auto !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 3px !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  height: auto !important;
  margin: 0 !important;
  padding: 8px 6px !important;
  border: 1px solid rgba(189, 146, 125, .55) !important;
  border-radius: 10px !important;
  background: rgba(244, 231, 218, .48) !important;
  box-shadow: none !important;
  text-align: center !important;
  line-height: 1.8 !important;
  overflow-wrap: anywhere !important;
}

/* رنگ قیمت فعلی */

.products .product-wrapper .price ins,
.products .product-wrapper .price ins .amount,
.products .product-wrapper .price ins .woocommerce-Price-amount,
.products .product-wrapper .price > .amount,
.products .product-wrapper .price > .woocommerce-Price-amount {
  color: #754a36 !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  opacity: 1 !important;
}

/* رنگ قیمت اصلی قبل از تخفیف */

.products .product-wrapper .price del,
.products .product-wrapper .price del .amount,
.products .product-wrapper .price del .woocommerce-Price-amount {
  color: #706b67 !important;
  opacity: 1 !important;
  font-weight: 500 !important;
  text-decoration: line-through !important;
}

/* اعداد و واحد پول */

.products .product-wrapper .price .amount,
.products .product-wrapper .price .woocommerce-Price-amount {
  font-size: 13px !important;
  line-height: 1.8 !important;
  overflow-wrap: anywhere !important;
  white-space: normal !important;
}

.products .product-wrapper .price del,
.products .product-wrapper .price ins {
  display: block !important;
  margin: 0 !important;
}

/* کادر امتیاز در صورت قرار داشتن داخل wrap-price */

.products .product-wrapper .wrap-price > .star-rating,
.products .product-wrapper .wrap-price > .wd-star-rating,
.products .product-wrapper .wrap-price > .wd-product-rating,
.products .product-wrapper .wrap-price > .star-rating-wrapper,
.products .product-wrapper .wrap-price > .wd-rating {
  display: flex !important;
  flex: 0 0 auto !important;
  align-items: center !important;
  justify-content: center !important;
  align-self: stretch !important;
  width: auto !important;
  min-width: 68px !important;
  max-width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  padding: 7px 7px !important;
  border: 1px solid rgba(189, 146, 125, .55) !important;
  border-radius: 10px !important;
  background: rgba(244, 231, 218, .48) !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
}

/* امتیاز در صورتی که خارج از wrap-price باشد */

.products .product-wrapper .product-element-bottom > .star-rating,
.products .product-wrapper .product-element-bottom > .wd-star-rating,
.products .product-wrapper .product-element-bottom > .wd-product-rating,
.products .product-wrapper .product-element-bottom > .star-rating-wrapper,
.products .product-wrapper .product-element-bottom > .wd-rating {
  grid-column: 2 !important;
  grid-row: 3 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  align-self: stretch !important;
  width: auto !important;
  min-width: 68px !important;
  max-width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  padding: 7px 7px !important;
  border: 1px solid rgba(189, 146, 125, .55) !important;
  border-radius: 10px !important;
  background: rgba(244, 231, 218, .48) !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
}

/* رنگ ستاره‌ها */

.products .product-wrapper .star-rating,
.products .product-wrapper .star-rating span,
.products .product-wrapper .wd-star-rating,
.products .product-wrapper .wd-product-rating {
  color: #b78642 !important;
}

/* اندازه و فاصله نمایش امتیاز */

.products .product-wrapper .wrap-price .wd-star-rating,
.products .product-wrapper .wrap-price .wd-product-rating,
.products .product-wrapper > .product-element-bottom .wd-star-rating,
.products .product-wrapper > .product-element-bottom .wd-product-rating {
  line-height: 1.5 !important;
}

/* عناصر تکمیلی کارت؛ در ردیف جداگانه */

.products .product-wrapper .product-element-bottom > .wd-add-btn,
.products .product-wrapper .product-element-bottom > .wd-buttons,
.products .product-wrapper .product-element-bottom > .wd-product-footer,
.products .product-wrapper .product-element-bottom > .wd-product-cats,
.products .product-wrapper .product-element-bottom > .wd-product-sku {
  grid-column: 1 / -1 !important;
}

.products .product-wrapper .product-element-bottom > .wd-product-cats,
.products .product-wrapper .product-element-bottom > .wd-product-sku {
  overflow-wrap: anywhere !important;
}

/* دکمه خرید */

button,
.button,
input[type="submit"],
.add_to_cart_button,
.single_add_to_cart_button {
  border-radius: 10px;
  transition:
    background-color .2s ease,
    box-shadow .2s ease,
    transform .2s ease;
}

.products .add_to_cart_button,
.single_add_to_cart_button {
  background: var(--clasy-rose) !important;
  color: #fff !important;
  border-color: var(--clasy-rose) !important;
}

.products .add_to_cart_button:hover,
.single_add_to_cart_button:hover {
  background: var(--clasy-rose-dark) !important;
  border-color: var(--clasy-rose-dark) !important;
}


/* =========================================================
   8. فیلدهای فرم و جداکننده‌ها
   ========================================================= */

input:not([type="checkbox"]):not([type="radio"]),
select,
textarea {
  border-color: var(--clasy-border);
  border-radius: 10px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--clasy-rose);
  outline-color: rgba(185, 135, 112, .2);
}

hr,
.wd-separator {
  border-color: var(--clasy-border);
}

.onsale,
.wd-product-label {
  border-radius: 7px;
}


/* =========================================================
   9. فوتر — زمینه تیره و جزئیات رزگلد
   ========================================================= */

.main-page-wrapper {
  padding-bottom: 0;
}

.website-wrapper .main-footer {
  margin-top: 42px;
}

body footer,
body .main-footer,
body footer.main-footer,
body footer.site-footer,
body .website-wrapper > footer,
body .website-wrapper .main-footer,
body .footer-container {
  background: var(--clasy-footer) !important;
  background-image: none !important;
  color: var(--clasy-footer-text) !important;
  width: 100%;
  max-width: none;
  box-sizing: border-box;
  border-top: 1px solid var(--clasy-footer-line);
}

body .main-footer .container,
body .main-footer .container-fluid,
body .main-footer .footer-sidebar,
body .main-footer .footer-column,
body .main-footer .widget-area {
  background-color: transparent !important;
}

.main-footer,
.main-footer p,
.main-footer li {
  color: var(--clasy-footer-muted) !important;
  line-height: 2;
}

.main-footer .widget-title,
.main-footer .widgettitle,
.main-footer .widget h4 {
  color: var(--clasy-footer-accent) !important;
  font-weight: 600;
  margin-bottom: 16px;
}

.main-footer a {
  color: var(--clasy-footer-text);
  text-decoration: none;
  transition: color .2s ease;
}

.main-footer a:hover {
  color: var(--clasy-footer-accent) !important;
}

.main-footer hr,
.main-footer .widget,
.main-footer .footer-column {
  border-color: var(--clasy-footer-line);
}

/* فیلدهای خبرنامه */

.main-footer input[type="email"],
.main-footer input[type="text"],
.main-footer input[type="search"] {
  background: var(--clasy-footer-panel) !important;
  color: #fff !important;
  border: 1px solid var(--clasy-footer-line) !important;
  border-radius: 10px !important;
}

.main-footer input::placeholder {
  color: var(--clasy-footer-muted);
}

.main-footer button,
.main-footer .button,
.main-footer input[type="submit"] {
  background: var(--clasy-footer-accent) !important;
  color: var(--clasy-footer) !important;
  border: 1px solid var(--clasy-footer-accent) !important;
  border-radius: 10px !important;
}

/* آیکون‌های شبکه‌های اجتماعی */

.main-footer .wd-social-icons a,
.main-footer .social-icons a {
  border-radius: 50%;
  transition: transform .2s ease, background-color .2s ease;
}

.main-footer .wd-social-icons a:hover,
.main-footer .social-icons a:hover {
  transform: translateY(-2px);
}

/* نوار کپی‌رایت */

body .copyrights-wrapper,
body .footer-copyrights,
.main-footer .copyrights-wrapper,
.main-footer .footer-copyrights {
  background: #261f1b !important;
  color: var(--clasy-footer-muted) !important;
  border-top: 1px solid var(--clasy-footer-line);
}

body .copyrights-wrapper a,
body .footer-copyrights a,
.main-footer .copyrights-wrapper a,
.main-footer .footer-copyrights a {
  color: var(--clasy-footer-accent) !important;
}


/* =========================================================
   10. تنظیمات تبلت و موبایل
   بدون تغییر تعداد ستون‌های فروشگاه
   ========================================================= */

@media (max-width: 1024px) {
  .whb-header .whb-row:not(.whb-top-bar) .whb-col {
    padding-top: 3px !important;
    padding-bottom: 3px !important;
  }

  .whb-header .wd-logo img,
  .whb-header .site-logo img,
  .whb-header .custom-logo {
    max-width: 145px !important;
    max-height: 58px !important;
  }
}

@media (max-width: 767px) {
  .whb-header .whb-row:not(.whb-top-bar) {
    width: calc(100% - 18px) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  .whb-header .whb-top-bar {
    padding: 6px 9px !important;
  }

  .whb-header .whb-row:not(.whb-top-bar) .whb-col {
    padding-top: 2px !important;
    padding-bottom: 2px !important;
  }

  .whb-header .whb-row:not(.whb-top-bar),
  .whb-header .whb-row:not(.whb-top-bar) > .container,
  .whb-header .whb-row:not(.whb-top-bar) > .whb-flex-row {
    border-radius: 15px !important;
  }

  .whb-header .wd-logo img,
  .whb-header .site-logo img,
  .whb-header .custom-logo {
    max-width: 125px !important;
    max-height: 52px !important;
  }

  .whb-header .wd-tools-element > a {
    padding-inline: 5px;
  }

  .whb-header .wd-nav > li > a::after {
    display: none !important;
  }

  .products .product-element-top {
    border-radius: 11px;
  }

  .products .add_to_cart_button {
    border-radius: 8px;
  }

  .products .product-wrapper .product-element-bottom {
    column-gap: 5px !important;
    row-gap: 7px !important;
  }

  .products .product-wrapper .wrap-price > .price,
  .products .product-wrapper .product-element-bottom > .price {
    padding: 7px 4px !important;
  }

  .products .product-wrapper .price .amount,
  .products .product-wrapper .price .woocommerce-Price-amount {
    font-size: 12px !important;
  }

  .products .product-wrapper .wrap-price > .star-rating,
  .products .product-wrapper .wrap-price > .wd-star-rating,
  .products .product-wrapper .wrap-price > .wd-product-rating,
  .products .product-wrapper .wrap-price > .star-rating-wrapper,
  .products .product-wrapper .wrap-price > .wd-rating,
  .products .product-wrapper .product-element-bottom > .star-rating,
  .products .product-wrapper .product-element-bottom > .wd-star-rating,
  .products .product-wrapper .product-element-bottom > .wd-product-rating,
  .products .product-wrapper .product-element-bottom > .star-rating-wrapper,
  .products .product-wrapper .product-element-bottom > .wd-rating {
    min-width: 58px !important;
    padding: 6px 4px !important;
  }

  .website-wrapper .main-footer {
    margin-top: 24px;
  }

  .main-footer .widget-title,
  .main-footer .widgettitle {
    margin-bottom: 12px;
  }

  .main-footer .copyrights-wrapper {
    text-align: center;
  }
}


/* =========================================================
   11. کاهش انیمیشن برای کاربران حساس به حرکت
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  .whb-header *,
  .whb-header *::before,
  .whb-header *::after,
  .products .product-wrapper,
  .products .product-element-top img {
    transition: none !important;
    animation: none !important;
  }
}




/* =========================================================
   CLASY IRAN — اصلاح نهایی جایگاه امتیاز و قیمت
   امتیاز ستاره‌ای بالای کادر قیمت
   ========================================================= */

/* چیدمان اطلاعات کارت محصول */
.products .product-wrapper .product-element-bottom {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    min-width: 0 !important;
}

/* عنوان محصول: حداکثر سه خط */
.products .product-wrapper .product-element-bottom .product-title,
.products .product-wrapper .product-element-bottom .wd-entities-title,
.products .product-wrapper .product-element-bottom > a.wd-entities-title,
.products .product-wrapper .product-element-bottom > .product-title {
    order: 1 !important;
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 3 !important;
    line-clamp: 3 !important;
    height: 5.4em !important;
    min-height: 5.4em !important;
    max-height: 5.4em !important;
    width: 100% !important;
    margin: 0 0 8px !important;
    overflow: hidden !important;
    line-height: 1.8em !important;
    text-align: center !important;
}

/* کادر امتیاز: بالای کادر قیمت */
.products .product-wrapper .product-element-bottom > .star-rating,
.products .product-wrapper .product-element-bottom > .wd-star-rating,
.products .product-wrapper .product-element-bottom > .wd-product-rating,
.products .product-wrapper .product-element-bottom > .star-rating-wrapper,
.products .product-wrapper .product-element-bottom > .wd-rating {
    order: 2 !important;
    align-self: center !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: fit-content !important;
    min-width: 76px !important;
    max-width: 100% !important;
    margin: 0 0 7px !important;
    padding: 7px 10px !important;
    border: 1px solid rgba(189, 146, 125, .55) !important;
    border-radius: 10px !important;
    background: rgba(244, 231, 218, .48) !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
}

/* کادر قیمت: زیر امتیاز */
.products .product-wrapper .product-element-bottom > .price {
    order: 3 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 8px 6px !important;
    border: 1px solid rgba(189, 146, 125, .55) !important;
    border-radius: 10px !important;
    background: rgba(244, 231, 218, .48) !important;
    text-align: center !important;
}

/* اگر قیمت و امتیاز داخل wrap-price باشند:
   ابتدا امتیاز و سپس قیمت */
.products .product-wrapper .product-element-bottom .wrap-price {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: center !important;
    gap: 7px !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

/* قیمت داخل wrap-price */
.products .product-wrapper .wrap-price > .price {
    order: 2 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 8px 6px !important;
    border: 1px solid rgba(189, 146, 125, .55) !important;
    border-radius: 10px !important;
    background: rgba(244, 231, 218, .48) !important;
    text-align: center !important;
}

/* امتیاز داخل wrap-price */
.products .product-wrapper .wrap-price > .star-rating,
.products .product-wrapper .wrap-price > .wd-star-rating,
.products .product-wrapper .wrap-price > .wd-product-rating,
.products .product-wrapper .wrap-price > .star-rating-wrapper,
.products .product-wrapper .wrap-price > .wd-rating {
    order: 1 !important;
    align-self: center !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: fit-content !important;
    min-width: 76px !important;
    margin: 0 0 2px !important;
    padding: 7px 10px !important;
    border: 1px solid rgba(189, 146, 125, .55) !important;
    border-radius: 10px !important;
    background: rgba(244, 231, 218, .48) !important;
}

/* رنگ ستاره‌ها */
.products .product-wrapper .star-rating,
.products .product-wrapper .star-rating span,
.products .product-wrapper .wd-star-rating,
.products .product-wrapper .wd-product-rating {
    color: #b78642 !important;
}

/* موبایل */
@media (max-width: 480px) {
    .products .product-wrapper .product-element-bottom > .star-rating,
    .products .product-wrapper .product-element-bottom > .wd-star-rating,
    .products .product-wrapper .product-element-bottom > .wd-product-rating,
    .products .product-wrapper .product-element-bottom > .star-rating-wrapper,
    .products .product-wrapper .product-element-bottom > .wd-rating,
    .products .product-wrapper .wrap-price > .star-rating,
    .products .product-wrapper .wrap-price > .wd-star-rating,
    .products .product-wrapper .wrap-price > .wd-product-rating,
    .products .product-wrapper .wrap-price > .star-rating-wrapper,
    .products .product-wrapper .wrap-price > .wd-rating {
        min-width: 60px !important;
        padding: 6px 7px !important;
    }
}




/* تست تغییر رنگ منوی پیشخوان وردپرس */
body.wp-admin #adminmenu,
body.wp-admin #adminmenu .wp-submenu {
    background: #172238 !important;
}

body.wp-admin #adminmenu a {
    color: #ffffff !important;
}

body.wp-admin #adminmenu li:hover > a,
body.wp-admin #adminmenu li.current > a,
body.wp-admin #adminmenu li.wp-has-current-submenu > a {
    background: #b8875b !important;
    color: #ffffff !important;
}

body.wp-admin #adminmenu .wp-submenu a:hover {
    color: #e7c49f !important;
}