:root {
	--wd-text-font: iranyekan;
	--wd-text-font-weight: 400;
	--wd-text-color: #767676;
	--wd-text-font-size: 14px;
	--wd-title-font: var(--wd-text-font);
	--wd-title-font-weight: 600;
	--wd-title-color: #242424;
	--wd-entities-title-font: var(--wd-title-font);
	--wd-entities-title-font-weight: 500;
	--wd-entities-title-color: #333333;
	--wd-entities-title-color-hover: rgb(51 51 51 / 65%);
	--wd-alternative-font: var(--wd-text-font);
	--wd-widget-title-font: var(--wd-title-font);
	--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: var(--wd-text-font);
	--wd-header-el-font-weight: 700;
	--wd-header-el-transform: uppercase;
	--wd-header-el-font-size: 13px;
	--wd-otl-style: dotted;
	--wd-otl-width: 2px;
	--wd-primary-color: rgb(232,127,36);
	--wd-alternative-color: rgb(255,200,30);
	--btn-default-font-family: iranyekan;
	--btn-default-font-weight: 400;
	--btn-default-font-size: 16px;
	--btn-default-bgcolor: rgb(232,127,36);
	--btn-default-bgcolor-hover: rgb(232,108,0);
	--btn-accented-font-family: iranyekan;
	--btn-accented-font-weight: 400;
	--btn-accented-font-size: 16px;
	--btn-accented-bgcolor: rgb(232,127,36);
	--btn-accented-bgcolor-hover: rgb(232,108,0);
	--wd-form-brd-width: 1px;
	--notices-success-bg: rgb(234,247,232);
	--notices-success-color: rgb(61,139,61);
	--notices-warning-bg: rgb(255,200,30);
	--notices-warning-color: rgb(138,90,23);
	--wd-link-color: rgb(115,165,202);
	--wd-link-color-hover: rgb(24,124,201);
	--wd-sticky-btn-height: 95px;
}
.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: 223px;
}
.wd-page-title .wd-page-title-bg img {
	object-fit: cover;
	object-position: center center;
}
.wd-footer {
	background-color: #ffffff;
	background-image: none;
}
:is(.page, .search-no-results, .error404) :is(.wd-page-content, .whb-header) {
	background-color: rgb(255,251,221);
	background-image: url(https://spanenergysystem.ir/wp-content/uploads/2026/09/IMG_0862.jpg);
	background-repeat: no-repeat;
	background-size: cover;
	background-attachment: inherit;
	background-position: center center;
}
.woodmart-archive-shop:not(.single-product) :is(.wd-page-content, .whb-header) {
	background-color: rgb(254,253,223);
	background-image: url(https://spanenergysystem.ir/wp-content/uploads/2026/09/IMG_0862.jpg);
	background-repeat: no-repeat;
	background-size: cover;
	background-attachment: inherit;
	background-position: center center;
}
.single-product :is(.wd-page-content, .whb-header) {
	background-color: rgb(254,253,223);
	background-image: url(https://spanenergysystem.ir/wp-content/uploads/2026/09/IMG_0862.jpg);
	background-repeat: inherit;
	background-size: cover;
	background-attachment: inherit;
	background-position: center center;
}
.woodmart-archive-blog :is(.wd-page-content, .whb-header) {
	background-color: rgb(254,253,223);
	background-image: url(https://spanenergysystem.ir/wp-content/uploads/2026/09/IMG_0862.jpg);
	background-repeat: no-repeat;
	background-size: cover;
	background-attachment: inherit;
	background-position: center center;
}
.single-post :is(.wd-page-content, .whb-header) {
	background-color: rgb(254,253,223);
	background-image: none;
}
.woodmart-archive-portfolio :is(.wd-page-content, .whb-header) {
	background-color: rgb(254,253,223);
	background-image: url(https://spanenergysystem.ir/wp-content/uploads/2026/09/IMG_0862.jpg);
	background-repeat: no-repeat;
	background-size: cover;
	background-attachment: inherit;
	background-position: center center;
}
.single-portfolio :is(.wd-page-content, .whb-header) {
	background-color: rgb(254,253,223);
	background-image: url(https://spanenergysystem.ir/wp-content/uploads/2026/09/IMG_0862.jpg);
	background-repeat: no-repeat;
	background-size: cover;
	background-attachment: inherit;
	background-position: center center;
}
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,0,0);
	--wd-form-placeholder-color: rgb(155,155,155);
	--wd-form-brd-color: dddddd;
	--wd-form-brd-color-focus: rgb(232,127,36);
}
.wd-nav-arrows.wd-pos-together:not(:where(.wd-custom-style)) {
	--wd-arrow-color: rgb(73,73,73);
	--wd-arrow-color-hover: rgb(0,0,0);
	--wd-arrow-color-dis: rgb(191,191,191);
	--wd-arrow-bg: rgb(254,253,223);
	--wd-arrow-bg-hover: rgb(255,243,183);
	--wd-arrow-bg-dis: rgb(191,191,191);
}
.wd .product-label.onsale {
	background-color: rgb(232,127,36);
	color: rgb(254,253,223);
}
.wd .product-label.new {
	background-color: rgb(115,165,202);
	color: rgb(254,253,223);
}
.wd .product-label.featured {
	background-color: rgb(255,200,30);
	color: rgb(43,43,43);
}
.wd .product-label.out-of-stock {
	background-color: rgb(254,253,223);
	color: rgb(43,43,43);
}
.wd .product-label.attribute-label:not(.label-with-img) {
	background-color: rgb(115,165,202);
	color: rgb(254,253,223);
}
.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: #333;
--btn-default-color-hover: #333;
--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: 12px;
}

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


.wd-page-title {
background-color: rgb(254,253,223);
}

/* پس‌زمینه‌ی کلی صفحه محصول */
body.single-product div.product {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  background: linear-gradient(#FEFDDF, #FEFDDF) padding-box,
              conic-gradient(from 0deg, #E87F24, #FFC81E, #73A5CA, #E87F24) border-box;
  border: 3px solid transparent;
  border-radius: 28px;
  padding: 40px !important;
  box-shadow: 0 25px 60px rgba(115, 165, 202, 0.3);
  max-width: 1100px;
  margin: 0 auto 40px !important;
}

/* گالری تصویر محصول */
body.single-product div.product .woocommerce-product-gallery {
  flex: 1 1 45%;
  min-width: 300px;
  border-radius: 20px;
  overflow: hidden;
  background: #FFFFFF;
  box-shadow: 0 15px 35px rgba(115, 165, 202, 0.18);
  padding: 16px;
}

body.single-product div.product .woocommerce-product-gallery img {
  border-radius: 14px;
}

/* عکس‌های کوچک زیر گالری */
body.single-product .flex-control-thumbs img {
  border-radius: 10px !important;
  border: 2px solid transparent !important;
  transition: all 0.3s ease;
}

body.single-product .flex-control-thumbs img.flex-active,
body.single-product .flex-control-thumbs img:hover {
  border-color: #E87F24 !important;
}

/* ستون خلاصه (عنوان، قیمت، دکمه خرید) */
body.single-product div.product .summary {
  flex: 1 1 42%;
  min-width: 280px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 20px;
  padding: 30px !important;
  box-shadow: 0 15px 35px rgba(115, 165, 202, 0.15);
}

body.single-product div.product .summary .product_title {
  color: #2E4B5E !important;
  font-weight: 800 !important;
  font-size: 26px !important;
  margin-bottom: 14px !important;
}

/* قیمت */
body.single-product div.product .summary p.price,
body.single-product div.product .summary .price {
  color: #E87F24 !important;
  font-weight: 800 !important;
  font-size: 24px !important;
  background: linear-gradient(135deg, rgba(232,127,36,0.1), rgba(255,200,30,0.1));
  display: inline-block;
  padding: 10px 20px;
  border-radius: 50px;
  margin-bottom: 20px !important;
}

body.single-product div.product .summary p.price del {
  color: #73A5CA !important;
  opacity: 0.7;
}

body.single-product div.product .summary p.price ins {
  text-decoration: none;
}

/* باکس تعداد + دکمه افزودن به سبد */
body.single-product div.product form.cart {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

body.single-product div.product .quantity input.qty {
  background: #FFFFFF !important;
  border: 2px solid rgba(115, 165, 202, 0.25) !important;
  border-radius: 12px !important;
  padding: 13px !important;
  color: #2E4B5E !important;
  text-align: center;
  width: 70px !important;
}

body.single-product div.product .single_add_to_cart_button {
  background: linear-gradient(135deg, #E87F24 0%, #FFC81E 100%) !important;
  color: #FEFDDF !important;
  border: none !important;
  border-radius: 50px !important;
  padding: 16px 44px !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  box-shadow: 0 14px 32px rgba(232, 127, 36, 0.45);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
  position: relative;
  overflow: hidden;
}

body.single-product div.product .single_add_to_cart_button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.55), transparent);
  transition: left 0.6s ease;
}

body.single-product div.product .single_add_to_cart_button:hover::before {
  left: 130%;
}

body.single-product div.product .single_add_to_cart_button:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 20px 45px rgba(232, 127, 36, 0.6);
}

/* متا (دسته، برچسب، کد محصول) */
body.single-product div.product .product_meta {
  margin-top: 22px !important;
  padding-top: 18px;
  border-top: 1px solid rgba(115, 165, 202, 0.2);
  color: #2E4B5E;
  font-size: 13px;
}

body.single-product div.product .product_meta a {
  color: #E87F24;
  font-weight: 600;
}

/* تب‌های توضیحات/نظرات */
body.single-product .woocommerce-tabs {
  flex-basis: 100%;
  margin-top: 20px;
}

body.single-product .woocommerce-tabs ul.tabs {
  display: flex;
  gap: 10px;
  list-style: none;
  padding: 0 !important;
  margin: 0 0 20px 0 !important;
  border-bottom: 2px solid rgba(115, 165, 202, 0.2);
}

body.single-product .woocommerce-tabs ul.tabs li {
  margin: 0 !important;
}

body.single-product .woocommerce-tabs ul.tabs li a {
  display: block;
  padding: 12px 24px;
  color: #73A5CA !important;
  font-weight: 700;
  text-decoration: none !important;
  border-radius: 12px 12px 0 0;
  transition: all 0.3s ease;
}

body.single-product .woocommerce-tabs ul.tabs li.active a {
  background: linear-gradient(135deg, #E87F24, #FFC81E);
  color: #FEFDDF !important;
}

body.single-product .woocommerce-tabs .panel {
  background: rgba(255, 255, 255, 0.55);
  border-radius: 16px;
  padding: 28px !important;
  color: #2E4B5E;
  line-height: 2;
}

body.single-product .woocommerce-tabs .panel h2 {
  color: #E87F24 !important;
  font-weight: 800 !important;
}

body.error404 {
  overflow-x: hidden;
}

/* پس‌زمینه‌ی متحرک کل صفحه با هاله‌های نور */
body.error404::before {
  content: "";
  position: fixed;
  top: -20%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 200, 30, 0.25) 0%, transparent 70%);
  filter: blur(30px);
  pointer-events: none;
  z-index: 0;
  animation: float404 10s ease-in-out infinite;
}

body.error404::after {
  content: "";
  position: fixed;
  bottom: -15%;
  left: -10%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(115, 165, 202, 0.25) 0%, transparent 70%);
  filter: blur(30px);
  pointer-events: none;
  z-index: 0;
  animation: float404 12s ease-in-out infinite reverse;
}

@keyframes float404 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-30px, 30px) scale(1.15); }
}

/* عنوان اصلی (مثلاً "صفحه موردنظر پیدا نشد") */
body.error404 .elementor-heading-title {
  position: relative;
  z-index: 1;
  color: #2E4B5E !important;
  font-weight: 800 !important;
  background: linear-gradient(135deg, #E87F24, #FFC81E, #73A5CA);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer404 4s linear infinite;
}

@keyframes shimmer404 {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

/* متن توضیحی زیر عنوان */
body.error404 .elementor-widget-text-editor p {
  position: relative;
  z-index: 1;
  color: #2E4B5E !important;
  font-size: 17px;
  line-height: 1.9;
}

/* دکمه بازگشت به صفحه اصلی */
body.error404 .elementor-button {
  position: relative;
  z-index: 1;
  background: linear-gradient(135deg, #E87F24 0%, #FFC81E 100%) !important;
  color: #FEFDDF !important;
  border: none !important;
  border-radius: 50px !important;
  padding: 18px 50px !important;
  font-weight: 800 !important;
  font-size: 16px !important;
  box-shadow: 0 16px 36px rgba(232, 127, 36, 0.45);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
  overflow: hidden;
}

body.error404 .elementor-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.55), transparent);
  transition: left 0.6s ease;
}

body.error404 .elementor-button:hover::before {
  left: 130%;
}

body.error404 .elementor-button:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 22px 46px rgba(232, 127, 36, 0.6);
}

/* اگه عدد 404 به‌صورت متن جدا (Text/Heading) نوشته شده باشه، بزرگ و برجسته‌اش می‌کنیم */
body.error404 .elementor-widget-heading:first-of-type .elementor-heading-title {
  font-size: clamp(80px, 15vw, 160px) !important;
  line-height: 1 !important;
  text-shadow: 0 20px 50px rgba(232, 127, 36, 0.25);
}


  left: 14px !important;
  z-index: 2;
}

/* پس‌زمینه‌ی کلی گرید محصولات */
.products.wd-products {
  gap: 24px !important;
}

/* هر کارت محصول */
.wd-product {
  position: relative;
  background: #FEFDDF !important;
  border: 2px solid rgba(115, 165, 202, 0.2) !important;
  border-radius: 22px !important;
  padding: 16px !important;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-shadow: 0 10px 25px rgba(115, 165, 202, 0.12);
}

/* هاله‌ی گرادیانی که با هاور نمایان میشه */
.wd-product::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(232,127,36,0.08), rgba(255,200,30,0.08));
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  border-radius: 22px;
  z-index: 0;
}

.wd-product:hover {
  transform: translateY(-10px);
  border-color: #FFC81E !important;
  box-shadow: 0 25px 45px rgba(232, 127, 36, 0.25);
}

.wd-product:hover::before {
  opacity: 1;
}

/* تصویر محصول */
.wd-product img {
  border-radius: 16px !important;
  transition: transform 0.5s ease !important;
  position: relative;
  z-index: 1;
}

.wd-product:hover img {
  transform: scale(1.08) rotate(-1deg);
}

/* عنوان محصول */
.wd-product .wd-entities-title,
.wd-product .product-title {
  color: #2E4B5E !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  position: relative;
  z-index: 1;
  transition: color 0.3s ease;
}

.wd-product:hover .wd-entities-title,
.wd-product:hover .product-title {
  color: #E87F24 !important;
}

/* دسته‌بندی زیر عنوان */
.wd-product .wd-product-cats {
  color: #73A5CA !important;
  font-size: 12px !important;
  position: relative;
  z-index: 1;
}

/* قیمت */
.wd-product .price {
  color: #E87F24 !important;
  font-weight: 800 !important;
  font-size: 16px !important;
  position: relative;
  z-index: 1;
}

/* دکمه‌های شناور (مقایسه، ذره‌بین، علاقه‌مندی) بالای عکس */
.wd-product .wd-scroll-btns,
.wd-product .wd-products-btns-wrapper {
  z-index: 2;
}

.wd-product .wd-action-btn {
  background: rgba(254, 253, 223, 0.9) !important;
  border-radius: 50% !important;
  transition: all 0.3s ease !important;
}

.wd-product .wd-action-btn:hover {
  background: #E87F24 !important;
  color: #FEFDDF !important;
}

/* دکمه افزودن به سبد خرید */
.wd-product .add_to_cart_button,
.wd-product .wd-add-btn {
  background: linear-gradient(135deg, #E87F24 0%, #FFC81E 100%) !important;
  color: #FEFDDF !important;
  border: none !important;
  border-radius: 50px !important;
  font-weight: 700 !important;
  box-shadow: 0 10px 24px rgba(232, 127, 36, 0.4);
  position: relative;
  z-index: 1;
  transition: all 0.35s ease !important;
}

.wd-product .add_to_cart_button:hover,
.wd-product .wd-add-btn:hover {
  transform: scale(1.06);
  box-shadow: 0 14px 30px rgba(232, 127, 36, 0.55);
}

/* پس‌زمینه‌ی کلی صفحه سبد خرید (وقتی پر باشه) */
body.woocommerce-cart .woocommerce {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  background: linear-gradient(#FEFDDF, #FEFDDF) padding-box,
              conic-gradient(from 0deg, #E87F24, #FFC81E, #73A5CA, #E87F24) border-box;
  border: 3px solid transparent;
  border-radius: 28px;
  padding: 40px !important;
  box-shadow: 0 25px 60px rgba(115, 165, 202, 0.3);
  max-width: 1100px;
  margin: 0 auto !important;
}

/* ستون جدول محصولات (بزرگ‌تر) */
body.woocommerce-cart .cart_item,
body.woocommerce-cart table.shop_table {
  flex: 1 1 62%;
  min-width: 300px;
}

body.woocommerce-cart table.shop_table {
  border: none !important;
  border-collapse: separate !important;
  border-spacing: 0 12px !important;
}

/* هدر جدول */
body.woocommerce-cart table.shop_table thead th {
  background: transparent !important;
  color: #2E4B5E !important;
  font-weight: 800 !important;
  font-size: 14px !important;
  border: none !important;
  padding: 10px !important;
}

/* هر ردیف محصول */
body.woocommerce-cart table.shop_table tbody tr.cart_item {
  background: rgba(255, 255, 255, 0.6) !important;
  backdrop-filter: blur(8px);
}

body.woocommerce-cart table.shop_table tbody tr.cart_item td {
  border: none !important;
  border-top: 1px solid rgba(115, 165, 202, 0.15) !important;
  border-bottom: 1px solid rgba(115, 165, 202, 0.15) !important;
  padding: 16px 10px !important;
}

body.woocommerce-cart table.shop_table tbody tr.cart_item td:first-child {
  border-radius: 16px 0 0 16px !important;
  border-right: 1px solid rgba(115, 165, 202, 0.15) !important;
}

body.woocommerce-cart table.shop_table tbody tr.cart_item td:last-child {
  border-radius: 0 16px 16px 0 !important;
  border-left: 1px solid rgba(115, 165, 202, 0.15) !important;
}

/* تصویر و نام محصول */
body.woocommerce-cart table.shop_table img {
  border-radius: 12px !important;
  box-shadow: 0 6px 16px rgba(115, 165, 202, 0.2);
}

body.woocommerce-cart table.shop_table td.product-name a {
  color: #2E4B5E !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}

/* قیمت و جمع جزء */
body.woocommerce-cart table.shop_table td.product-price,
body.woocommerce-cart table.shop_table td.product-subtotal {
  color: #E87F24 !important;
  font-weight: 800 !important;
}

/* باکس تعداد */
body.woocommerce-cart div.quantity {
  display: inline-flex !important;
  align-items: center;
  background: #FFFFFF;
  border: 2px solid rgba(115, 165, 202, 0.25);
  border-radius: 50px;
  overflow: hidden;
  padding: 2px 4px;
}

body.woocommerce-cart input.qty {
  border: none !important;
  background: transparent !important;
  width: 44px !important;
  text-align: center !important;
  color: #2E4B5E !important;
  font-weight: 700 !important;
  box-shadow: none !important;
}

body.woocommerce-cart .plus,
body.woocommerce-cart .minus {
  background: linear-gradient(135deg, #E87F24, #FFC81E) !important;
  color: #FEFDDF !important;
  border: none !important;
  border-radius: 50% !important;
  width: 26px !important;
  height: 26px !important;
  line-height: 26px !important;
  font-weight: 800 !important;
  cursor: pointer;
}

/* دکمه حذف محصول (ضربدر) */
body.woocommerce-cart td.product-remove a.remove {
  background: rgba(232, 127, 36, 0.1) !important;
  color: #E87F24 !important;
  border-radius: 50% !important;
  width: 26px !important;
  height: 26px !important;
  line-height: 26px !important;
  font-size: 16px !important;
  transition: all 0.3s ease;
}

body.woocommerce-cart td.product-remove a.remove:hover {
  background: #E87F24 !important;
  color: #FEFDDF !important;
}

/* دکمه به‌روزرسانی سبد خرید */
body.woocommerce-cart button[name="update_cart"] {
  background: transparent !important;
  border: 2px solid #73A5CA !important;
  color: #2E4B5E !important;
  border-radius: 50px !important;
  padding: 12px 28px !important;
  font-weight: 700 !important;
  transition: all 0.3s ease !important;
}

body.woocommerce-cart button[name="update_cart"]:hover {
  background: #73A5CA !important;
  color: #FEFDDF !important;
}

/* باکس کد تخفیف */
body.woocommerce-cart .coupon {
  display: flex !important;
  gap: 10px;
  margin-top: 20px !important;
}

body.woocommerce-cart .coupon input#coupon_code {
  flex: 1;
  background: #FFFFFF !important;
  border: 2px solid rgba(115, 165, 202, 0.25) !important;
  border-radius: 50px !important;
  padding: 12px 20px !important;
  color: #2E4B5E !important;
}

body.woocommerce-cart .coupon button[name="apply_coupon"] {
  background: linear-gradient(135deg, #73A5CA, #2E4B5E) !important;
  color: #FEFDDF !important;
  border: none !important;
  border-radius: 50px !important;
  padding: 12px 28px !important;
  font-weight: 700 !important;
  white-space: nowrap;
}

/* باکس خلاصه سبد خرید (سمت راست) */
body.woocommerce-cart .cart_totals,
body.woocommerce-cart .cart-collaterals {
  flex: 1 1 32%;
  min-width: 280px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 20px;
  padding: 26px !important;
  box-shadow: 0 15px 35px rgba(115, 165, 202, 0.18);
  align-self: flex-start;
}

body.woocommerce-cart .cart_totals h2 {
  color: #2E4B5E !important;
  font-weight: 800 !important;
  font-size: 20px !important;
  border-bottom: 2px solid #FFC81E;
  padding-bottom: 12px;
  margin-bottom: 16px !important;
}

body.woocommerce-cart .cart_totals table {
  border: none !important;
}

body.woocommerce-cart .cart_totals table th,
body.woocommerce-cart .cart_totals table td {
  border-color: rgba(115, 165, 202, 0.2) !important;
  color: #2E4B5E !important;
  padding: 12px 6px !important;
}

body.woocommerce-cart .cart_totals table tr.order-total th,
body.woocommerce-cart .cart_totals table tr.order-total td {
  font-weight: 800 !important;
  font-size: 18px !important;
  color: #E87F24 !important;
  border-top: 2px solid #FFC81E !important;
}

/* دکمه اقدام به پرداخت */
body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
  display: block;
  width: 100%;
  text-align: center;
  background: linear-gradient(135deg, #E87F24 0%, #FFC81E 100%) !important;
  color: #FEFDDF !important;
  border: none !important;
  border-radius: 50px !important;
  padding: 18px !important;
  font-weight: 800 !important;
  font-size: 16px !important;
  box-shadow: 0 14px 32px rgba(232, 127, 36, 0.45);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
  margin-top: 20px !important;
}

body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 20px 45px rgba(232, 127, 36, 0.6);
}

/* پیام موفقیت افزودن به سبد خرید */
.woocommerce-message {
  background: linear-gradient(135deg, rgba(232, 127, 36, 0.1), rgba(255, 200, 30, 0.1)) !important;
  border: 2px solid #FFC81E !important;
  border-radius: 16px !important;
  color: #2E4B5E !important;
  font-weight: 600 !important;
  font-size: 15px !important;
  padding: 18px 24px !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  box-shadow: 0 12px 28px rgba(232, 127, 36, 0.2) !important;
  position: relative;
}

.woocommerce-message::before {
  content: "\f058" !important;
  font-family: "Font Awesome 5 Free" !important;
  font-weight: 900 !important;
  color: #E87F24 !important;
  font-size: 22px !important;
  position: static !important;
  margin: 0 !important;
}

/* دکمه «مشاهده سبد خرید» داخل همین پیام */
.woocommerce-message a.button.wc-forward {
  background: linear-gradient(135deg, #E87F24, #FFC81E) !important;
  color: #FEFDDF !important;
  border: none !important;
  border-radius: 50px !important;
  padding: 10px 24px !important;
  font-weight: 700 !important;
  margin-inline-start: auto !important;
  transition: all 0.3s ease !important;
}

.woocommerce-message a.button.wc-forward:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 24px rgba(232, 127, 36, 0.4);
}

/* باکس کلی تب مشخصات */
.woocommerce-Tabs-panel--additional_information {
  background: #FEFDDF !important;
  border: 2px solid rgba(115, 165, 202, 0.2) !important;
  border-radius: 20px !important;
  padding: 30px !important;
  box-shadow: 0 15px 35px rgba(115, 165, 202, 0.15);
}

/* جدول ویژگی‌ها */
table.woocommerce-product-attributes {
  border: none !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  width: 100% !important;
}

/* هر ردیف */
table.woocommerce-product-attributes tr {
  transition: background 0.3s ease;
}

table.woocommerce-product-attributes tr:nth-child(even) {
  background: rgba(115, 165, 202, 0.06);
}

table.woocommerce-product-attributes tr:hover {
  background: rgba(232, 127, 36, 0.08);
}

/* ستون اول (اسم ویژگی: برند، نوع محصول...) */
table.woocommerce-product-attributes th.woocommerce-product-attributes-item__label {
  background: transparent !important;
  color: #E87F24 !important;
  font-weight: 800 !important;
  font-size: 14px !important;
  padding: 16px 20px !important;
  border: none !important;
  border-bottom: 1px solid rgba(115, 165, 202, 0.15) !important;
  width: 30%;
  vertical-align: top;
  text-align: right !important;
}

/* ستون دوم (مقدار ویژگی) */
table.woocommerce-product-attributes td.woocommerce-product-attributes-item__value {
  background: transparent !important;
  color: #2E4B5E !important;
  font-size: 14px !important;
  line-height: 1.9;
  padding: 16px 20px !important;
  border: none !important;
  border-bottom: 1px solid rgba(115, 165, 202, 0.15) !important;
}

/* آخرین ردیف بدون خط پایین */
table.woocommerce-product-attributes tr:last-child th,
table.woocommerce-product-attributes tr:last-child td {
  border-bottom: none !important;
}

/* دکمه "تماس بگیرید" روی کارت‌های محصول در لیست/آرشیو */
.span-loop-btn {
    background: linear-gradient(135deg, #E87F24, #FFC81E) !important;
    color: #fff !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    padding: 10px 26px !important;
    border-radius: 30px !important;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 10px rgba(232, 127, 36, 0.35);
    transition: all 0.3s ease;
    border: none !important;
    text-decoration: none !important;
    display: inline-block !important;
}

.span-loop-btn:hover {
    background: linear-gradient(135deg, #FFC81E, #E87F24) !important;
    box-shadow: 0 6px 16px rgba(232, 127, 36, 0.5);
    transform: translateY(-3px);
    color: #fff !important;
}

.span-loop-btn:active {
    transform: translateY(-1px);
}

/* اگه دکمه داخل هاور روی عکس (کوچیک‌تر) نشون داده میشه */
.product-image-link:hover .span-loop-btn,
.wd-product .span-loop-btn {
    animation: span-fade-in 0.25s ease;
}

@keyframes span-fade-in {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* مخفی کردن پیام ثابت "محصول مورد نظر با موفقیت به سبد خرید شما اضافه شد" */
.woocommerce-message,
.added_to_cart,
.wc-forward,
p.woocommerce-message {
    display: none !important;
}