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

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

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

:root {
	--wd-text-font-weight: 400;
	--wd-text-color: #767676;
	--wd-text-font-size: 14px;
	--wd-title-font-weight: 600;
	--wd-title-color: #242424;
	--wd-entities-title-font-weight: 500;
	--wd-entities-title-color: #333333;
	--wd-entities-title-color-hover: rgb(51 51 51 / 65%);
	--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-weight: 700;
	--wd-header-el-transform: uppercase;
	--wd-header-el-font-size: 13px;
	--wd-primary-color: rgb(0,36,24);
	--wd-alternative-color: #fdc141;
	--wd-link-color: #333333;
	--wd-link-color-hover: #242424;
	--btn-default-bgcolor: #f7f7f7;
	--btn-default-bgcolor-hover: #efefef;
	--btn-accented-bgcolor: rgb(0,36,24);
	--btn-accented-bgcolor-hover: rgb(0,36,24);
	--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;
}
.woodmart-woocommerce-layered-nav .wd-scroll-content {
	max-height: 223px;
}
.wd-page-title {
	background-color: #0a0a0a;
	background-image: none;
	background-size: cover;
	background-position: center center;
}
.wd-footer {
	background-color: rgb(0,36,24);
	background-image: none;
}
.page .wd-page-content {
	background-color: rgb(255,255,255);
	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: 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: 1222px) {
section.elementor-section.wd-section-stretch > .elementor-container {
margin-left: auto;
margin-right: auto;
}
}


.home .container {
	max-width : 95% !important;
}

.wd-nav.wd-style-bg>li>a span, .wd-nav.wd-style-bg>li>a:after {
/* 	color : #fdc141; */
	color : #fff;
}

.wd-nav.wd-style-bg>li>a:before {
	background-color : #e2d029;
}

.elementor-61 .elementor-element.elementor-element-79f5bd2 .wd-text-block  p {
		font-size : 60px;
}

.wd-tools-element .wd-tools-icon:before {
	color : white;	
}

.wp-container-core-columns-is-layout-9d6595d7 {
	justify-content: space-between;
	padding-top : 10px;
}

.wp-container-core-columns-is-layout-9d6595d7 ul{
	  list-style-type: none;
}


footer p {
	margin-block : 7px !important;
	margin-bottom : 0px !important;
} 

@media screen and (max-width: 786px) {
    .elementor-61 .elementor-element.elementor-element-79f5bd2 .wd-text-block  p {
			font-size : 20px;
		}
	
	  .category-grid-item .wd-entities-title {
        color: white;
    }
	
		.wp-container-core-columns-is-layout-9d6595d7 { 
			flex-wrap : wrap !important;
		}
	
		footer p {
			margin-block : 7px !important;
			margin-bottom : 0px !important;
		} 
	
/* 		.wp-container-core-columns-is-layout-9d6595d7 {
			flex-direction : column;
		} */
}

.top-gold-price {
  width: 100%;
  text-align: center;
  background-color: rgb(0,36,24); /* یا هر رنگ دلخواه */
  padding: 8px 0;
  font-size: 14px;
  font-weight: bold;
  color: #b8860b; /* رنگ طلایی */
  position: relative;
  z-index: 9999;
}

/* ======= کانتینر فرم‌های OTP ======= */
#otp-register,
#otp-verify,
#set_password,
#otp-login {
  max-width: 360px;
  margin: 50px auto;
  background: #fff;               /* زمینه سفید */
  padding: 30px 20px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  direction: rtl;
  font-family: 'Tahoma', sans-serif;
}

/* ======= استایل ورودی‌ها ======= */
#otp-register input,
#otp-verify input,
#set_password input,
#otp-login input {
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 18px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 15px;
  transition: border-color .3s;
}
#otp-register input:focus,
#otp-verify input:focus,
#set_password input:focus,
#otp-login input:focus {
  border-color: #c39a6b;          /* طلایی ملایم */
  outline: none;
}

/* ======= استایل دکمه‌ها ======= */
#otp-register button,
#otp-verify button,
#set_password button,
#otp-login button {
  display: inline-block;
  width: 100%;
  padding: 12px;
  margin-top: 8px;
  background: #b8860b;            /* طلایی */
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background .3s;
}
#otp-register button:hover,
#otp-verify button:hover,
#set_password button:hover,
#otp-login button:hover {
  background: #b2895a; /* تیره‌تر */
}

/* ======= پیام‌های خطا/موفقیت ======= */
#otp-register .reg_msg,
#otp-verify .ver_msg,
#set_password .pass_msg,
#otp-login .log_msg {
  font-size: 14px;
  margin-top: 10px;
  min-height: 18px;
  color: #c0392b; /* قرمز برای خطا */
}
.success-message {
  color: #27ae60 !important; /* سبز برای موفقیت */
}

/* ======= تیتر فرم (اختیاری) ======= */
#otp-register h2,
#otp-verify h2,
#set_password h2,
#otp-login h2 {
  margin-bottom: 20px;
  font-size: 22px;
  color: #333;
  text-align: center;
}

/* ======= نمایش مرحله دوم روی دستگاه کوچک ======= */
@media (max-width: 400px) {
  #otp-register, #otp-verify, #set_password, #otp-login {
    margin: 30px 10px;
    padding: 20px 15px;
  }
}

#btn_send_otp:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

//منوی بالا ورود و ثبت نام
/* ظاهر دکمه کاربر */
.custom-login-dropdown {
    position: relative;
    display: inline-block;
    font-family: inherit;
    font-size: 15px;
    cursor: pointer;
    color: #fff;
}

.custom-login-dropdown .user-trigger {
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
	  background-color: #1c1c1c;
    color: #f5f5f5;
    border-radius: 50px;
    padding: 8px 16px;
    border: 1px solid #777;
		cursor : pointer
}

.custom-login-dropdown .user-trigger:hover {
    background-color: #444;
}

/* منوی کشویی */
.custom-login-dropdown .dropdown-content {
    display: none;
    position: absolute;
    min-width: 180px;
/*     left: 0; */
    right: auto;
    top: 90%;
    z-index: 999;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    text-align: right;
	    background-color: #262626;
    border: 1px solid #444;
}

.custom-login-dropdown .dropdown-content a {
    display: block;
    padding: 10px 16px;
    text-decoration: none;
    transition: background-color 0.3s ease;
	  color: #f5f5f5;
    font-weight: 400;
}

.custom-login-dropdown .dropdown-content a:hover {
    background-color: #333;
}


.custom-login-dropdown .dropdown-content a:hover {
    background-color: #444;
}

.login-btn {
/*         padding: 8px 16px; */
	padding : 4px 8px;
  border: 1px solid #888;
  border-radius: 8px;
  background-color: transparent;
  color: white;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  cursor: pointer;
}

.login-btn:hover {
    background-color: #888;
  color: #fff;
}

/* مخفی کردن در موبایل */
.desktop-only {
  display: none;
}

/* نمایش در دسکتاپ */
@media (min-width: 1025px) {
  .desktop-only {
    display: block;
  }
}

//سرچ
.whb-92qi9txs6ytkxy72jg4r.wd-search-form.wd-header-search-form .searchform {
	    border: 1px solid #888;
    border-radius: 8px;
}

.whb-92qi9txs6ytkxy72jg4r.wd-search-form.wd-header-search-form .searchform {
	--wd-form-placeholder-color : unset !important;
}

.whb-92qi9txs6ytkxy72jg4r form.searchform {
    --wd-form-height: 40px !important;
		border: 1px solid #888;
    border-radius: 8px;
}



/* ✅ ظاهر سبد خرید برای موبایل و دسکتاپ */

@media (min-width: 768px) {
  .woocommerce-cart .shop_table {
    font-size: 15px;
  }

  .woocommerce-cart .product-thumbnail img {
    max-width: 60px;
    border-radius: 8px;
  }

  .woocommerce-cart .product-name {
    font-weight: bold;
/*     color: #444; */
  }

  .woocommerce-cart td.product-price,
  .woocommerce-cart td.product-subtotal {
    color: #b8a050 !important;
    font-weight: bold;
  }

  .woocommerce-cart .cart_totals {
    background: #fffef5;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  }

  .woocommerce-cart .cart_totals h2 {
    font-size: 18px;
    color: #222;
  }

  .woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
    background-color: #88b800 !important;
    color: #fff !important;
    font-weight: bold;
    padding: 12px 20px;
    border-radius: 6px;
    display: inline-block;
    transition: 0.2s ease;
  }

  .woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover {
    background-color: #6d9400 !important;
  }
}

@media (max-width: 767px) {
  .woocommerce-cart table.shop_table {
    font-size: 13px;
  }

  .woocommerce-cart .cart_totals {
    padding: 20px 15px;
    background: #fffef5;
    border-radius: 10px;
  }

  .woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
    width: 100%;
    text-align: center;
    font-size: 16px;
    padding: 14px;
    background-color: #88b800 !important;
    color: #fff !important;
    border-radius: 6px;
    margin-top: 10px;
  }

  .woocommerce-cart td.actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .woocommerce-cart input.qty {
    width: 55px;
    text-align: center;
  }
}

/* فونت و راست‌چین برای تطبیق با سایت فارسی */
.woocommerce-cart,
.woocommerce-checkout {
  direction: rtl;
  font-family: IRANSans, sans-serif;
}

.woocommerce-cart .woocommerce-message,
.woocommerce-cart .woocommerce-error {
  border-right: 5px solid #c49b0f;
  background: #fff8e1;
  color: #333;
}
.amount {
	color : unset;
}

table th {
	color : #d6c9c9;
}

ul.variation .item-variation-name {
	color : #b8a050;
}

td.product-name a {
	color : #b8a050;
}

td.product-name a:hover {
	color : #6c5f32;
}

td.product-remove a, .woocommerce-remove-coupon {
	color : #b8a050;
}

.woocommerce-cart-form>.cart .cart-actions>.button {
	visibility : hidden;
}

.woocommerce-billing-fields__field-wrapper label {
	color : unset !important;
}

.woocommerce-additional-fields__field-wrapper label {
	color : unset !important;
}

form.woocommerce-checkout input {
	border : 1px solid;
}

body .select2-container--default .select2-selection--single {
	border : 1px solid !important;
}

.woocommerce-input-wrapper textarea {
	border : 1px solid !important;
}

.woocommerce-billing-fields h3 {
	color : unset !important;
}

.woocommerce-additional-fields>h3 {
	color : unset !important;
}
input[type='email']:focus, input[type='date']:focus, input[type='search']:focus, input[type='number']:focus, input[type='text']:focus, input[type='tel']:focus, input[type='url']:focus, input[type='password']:focus, :root textarea:focus, :root select:focus {
    border-color : white;
}

.woocommerce-terms-and-conditions-wrapper {
	display : none;
}

#place_order {
	background-color : rgb(0,36,24) !important;
}

#place_order:hover {
	background-color : gold !important;
}

:is(.woocommerce-thankyou-order-details,.wc-bacs-bank-details) :is(strong,.amount) {
	color : unset !important;
}

legend, h1, h2, h3, h4, h5, h6, .title {
	color : unset !important;
}

.wc-item-meta strong {
	color : #6c5f32 !important;
}

.woocommerce-MyAccount-navigation ul li a {
	color : unset !important;
}

:root :is(.woocommerce-form-coupon-toggle,.woocommerce-form-login-toggle)>div {
	color : unset !important;
}

:root :is(.woocommerce-form-coupon-toggle,.woocommerce-form-login-toggle)>div :is(.showlogin,.showcoupon) {
	color : unset !important;
}

table th {
	color : unset !important;
}

/* کانتینر آیکون سبد کنار سرچ/لاگین */
/* ظرف اصلی */
.rojman-header-cart {
  display: flex;
  align-items: center;
  gap: 6px;              /* فاصله بین آیکون و متن */
  padding: 2px 6px;
}

/* لینک دور آیکون */
.rojman-cart-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

/* خود آیکون سبد */
.rojman-cart-icon {
  font-size: 1.4em;
  color: #fff;           /* رنگ آیکون */
  text-shadow: 0 0 2px rgba(0,0,0,0.5);
}

/* عدد روی سبد (بیج) */
.rojman-cart-count {
  position: absolute;
  top: -6px;
  right: -10px;
  background: #f5c518;   /* زرد طلایی */
  color: #111;
  font-size: 0.7em;
  font-weight: bold;
  padding: 2px 5px;
  border-radius: 50%;
  box-shadow: 0 0 2px rgba(0,0,0,0.5);
}

/* متن “سبد خرید” */
.rojman-cart-label {
  font-size: 0.95em;
  color: #fff;
  white-space: nowrap;
  line-height: 1;
  text-shadow: 0 0 2px rgba(0,0,0,0.5);
}

/* اگر واکنش‌گرا هم نیاز دارید می‌توانید ضابطه زیر را اضافه کنید */
@media (max-width: 768px) {
  .rojman-cart-label {
    display: none;
  }
}

.wpc-custom-selected-terms {
	display : none !important;
}

/* فقط اولین بلوک .wpc-custom-selected-terms نمایش داده شود */
.wpc-custom-selected-terms:not(:first-of-type) {
  display: none !important;
}

#rojman-search-container { display: flex; gap:20px; }
#rojman-filters-sidebar { width: 250px; background:#fff; padding:20px; border:1px solid #eee; }
#rojman-results .products-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.filter-group { margin-bottom:20px; }
.filter-group h4 { font-size:16px; margin-bottom:10px; }
.filter-group label { display:block; margin-bottom:6px; }


.range-slider {
  position: relative;
  height: 30px;
  margin: 15px 0;
}
.range-slider .rs-thumb {
  pointer-events: none;
  position: absolute;
  height: 0;
  width: 100%;
  top: 12px;
  -webkit-appearance: none;
  background: none;
}
.range-slider .rs-thumb::-webkit-slider-thumb {
  pointer-events: all;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #c49b0f;
  border: 2px solid #fff;
  cursor: pointer;
  -webkit-appearance: none;
}
.range-slider .rs-thumb::-moz-range-thumb {
  pointer-events: all;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #c49b0f;
  border: 2px solid #fff;
  cursor: pointer;
}
.range-slider .rs-track {
  position: absolute;
  height: 4px;
  width: 100%;
  background: #ddd;
  top: 14px;
  border-radius: 2px;
}
.range-slider .rs-range {
  position: absolute;
  height: 4px;
  background: #c49b0f;
  top: 14px;
  border-radius: 2px;
}
.rs-labels {
  font-size: 0.9em;
  text-align: center;
  margin-top: 4px;
}

/* Title & Breadcrumb — clean responsive bar (WoodMart) */
.wd-title-bar, .page-title, .title-wrapper {
	display : none;
}

/* وودمارت: قیمت والد را مخفی کن تا فقط قیمت وارییشن نمایش داده شود */
.single-product-page .summary .summary-inner .price { display:none !important; }


/* تایمر را زیر قیمت نمایش بده */
.rjm-price-timer{
  margin-top: .35rem;
  font-weight: 700;
  font-size: 13px;
  color: #b91c1c; /* قرمز تیره؛ هر رنگی خواستی عوض کن */
  display: inline-flex;
  align-items: baseline;
  gap: .4em;
}
.rjm-price-timer .rjm-ct{direction:ltr}

/* تایمر داخل بج را مخفی کن (دیگه لازم نیست) */
.rjm-shock-badge .rjm-shock-timer{ display:none !important; }


.home .main-page-wrapper{
	background-color : #fff !important;
}


/* ظرف گرادیانی شگفت‌انگیزها */
.rg-deals{
  background: radial-gradient(1200px 600px at 95% 50%, rgba(255,255,255,.15), transparent 60%),
              linear-gradient(135deg,#ff2d6f 0%,#ff6f95 55%,#ff8aa5 100%);
  border-radius: 22px;
  padding: 18px 12px;
  position: relative;
  overflow: hidden;
}


/* ====== رنگ‌های برند ====== */
:root{
  --brand: #002418;      /* rgb(0,36,24) */
  --gold:  #daa520;      /* goldenrod */
  --accent:#e46a32;      /* نارنجی */
  --glass: rgba(255,255,255,.06);
	--ink:#0b1f17;
  --glass:rgba(255,255,255,.06);
  --r: 22px;             /* گوشه‌های گرد کارت */
	--ink2:#222;
}

/* جعبه‌ی کنار اسلایدر */
.rg-aside{
  position: relative;
  isolation: isolate; /* تا افکت‌ها داخل همین کارت بمانند */
/*   width: clamp(260px, 23vw, 340px); */
  min-height: 360px;
  padding: clamp(18px, 2.2vw, 24px);
  border-radius: var(--r);
  color: #fff;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  justify-content: center;

  /* شیشه‌ای ملایم تا گرادینت بک‌گراند زیرین دیده شود */
  background:
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
  backdrop-filter: blur(6px);
  box-shadow:
    0 12px 30px rgba(0,0,0,.18),
    inset 0 0 0 1px rgba(255,255,255,.06);
  border: 1px solid rgba(218,165,32,.30);
}

/* حاشیه‌ی گرادیانی طلایی-نارنجی */
.rg-aside::before{
  content:"";
  position:absolute; inset:-1px;
  border-radius: inherit;
  padding:1px;
  background: linear-gradient(135deg,
              rgba(218,165,32,.8) 0%,
              rgba(228,106,50,.7) 45%,
              rgba(218,165,32,.35) 100%);
  -webkit-mask:
     linear-gradient(#000 0 0) content-box,
     linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}

/* هاله‌ی درخشش پشت آیکون درصد */
.rg-aside::after{
  content:"";
  position:absolute;
  width: 240px; height: 240px;
  top: -40px; inset-inline-end: -30px;
  border-radius: 50%;
  background: radial-gradient(closest-side,
              rgba(228,106,50,.28), transparent 70%);
  z-index: -1;
}

/* آیکون درصد (یا تصویر) */
.rg-aside > img{
  width: clamp(96px, 9vw, 120px);
  height: auto;
  border-radius: 16px;
  background: #ffd6f5;
  box-shadow: 0 10px 24px rgba(228,106,50,.25);
  display:block;
}

/* تیتر */
.rg-aside .rg-title{
  font-weight: 800;
  font-size: clamp(18px, 2.1vw, 26px);
  line-height: 1.35;
  letter-spacing: -.2px;
  margin-top: 6px;
  /* متن گرادیانی ملایم طلایی */
  background: linear-gradient(90deg, #fff 0%, #ffe9b8 55%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* دکمه */
.rg-aside .rg-btn{
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  background: linear-gradient(135deg, #ffd978, var(--gold));
  color: var(--brand);
  box-shadow:
    0 10px 22px rgba(218,165,32,.30),
    inset 0 -2px 0 rgba(0,0,0,.08);
  border: 1px solid rgba(255,215,0,.45);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

/* براق‌شدن روی دکمه */
.rg-aside .rg-btn::before{
  content:"";
/*   position:absolute; 
	inset:0; */
  border-radius:inherit;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.55), transparent);
  transform: translateX(-150%);
  transition: transform .6s ease;
}
.rg-aside .rg-btn:hover{
  transform: translateY(-1px);
  box-shadow:
     0 14px 28px rgba(218,165,32,.35),
     inset 0 -2px 0 rgba(0,0,0,.1);
  filter: saturate(1.08);
}
.rg-aside .rg-btn:hover::before{ transform: translateX(150%); }

/* فلِش کوچک کنار متن دکمه (RTL) */
.rg-aside .rg-btn::after{
  content: "‹";
  font-size: 18px;
  transform: scaleX(-1); /* برای راست‌به‌چپ */
  opacity: .9;
}

.rg-detail-box {
	display: flex;
  flex-direction: column;
	gap : 10px;
}

.rg-detail-box a{
	white-space : nowrap;
}

/* واکنش‌گرا: در تبلت/موبایل جمع‌وجور و افقی شود */
/* @media (max-width: 1024px){ */
@media (max-width: 1200px){
	.rg-detail-box {
		display : flex;
		flex-direction : column;
		gap : 10px;
	}
	
  .rg-aside{
    width: 100%;
    min-height: unset;
    flex-direction: row;
    text-align: right;
    justify-content: space-between;
    padding: 14px 16px;
    gap: 14px;
  }
  .rg-aside > img{ width: 72px; border-radius: 12px; }
  .rg-aside .rg-title{ font-size: 18px;white-space : nowrap; -webkit-text-fill-color: #fff; background: none; }
	.rg-aside a{ white-space : nowrap; }
}

.rg-deals-swiper .swiper-button-prev {
	display : none;
}

.rg-deals-swiper .swiper-button-next {
	display : none;
}

@media (max-width: 1200px){
	.rg-deals-swiper .wd-product .price {
		display: flex;
		flex-direction: column;
	}
}
@media (max-width: 400px){
  .rg-deals-swiper .rjm-ct-box .cell {
		font-size : 9px !important;
		min-width : 19px !important;
	}
	.rg-deals-swiper .rjm-ct-box {
		gap : 3px !important;
	}
}

@media only screen and (min-width: 10240px) and (max-width: 1200px)  {
   .rg-aside {
	min-height : 415px;
   }
 }

 @media only screen and (min-width: 1200px) and (max-width: 1400px)  {
   .rg-aside {
		min-height : 460px;
   }
 }

 @media only screen and (min-width: 1400px) and (max-width: 1600px)  {
   .rg-aside {
		min-height : 435px;
   }
 }

 @media only screen and (min-width: 1600px) and (max-width: 1750px)  {
   .rg-aside {
		min-height : 460px;
   }
 }

 @media only screen and (min-width: 1750px) and (max-width: 1900px)  {
   .rg-aside {
	min-height : 480px;
   }
 }

@media (min-width:1900px){ .rg-aside{ 	min-height : 520px; } }



/* کارت محصول سفید با گوشه‌ گرد و سایه‌ی نرم (WoodMart) */
.rg-deals ul.products .product,
.rg-deals .product-grid-item, 
.rg-deals .product-small{
  background:#fff; border-radius:18px; overflow:hidden;
  box-shadow:0 10px 24px rgba(0,0,0,.08);
  border:1px solid rgba(255,255,255,.25);
}

/* تصویر کمی زوم روی هاور */
.rg-deals .product img{ transition:transform .25s ease; }
.rg-deals .product:hover img{ transform:scale(1.04); }

/* فلش‌های کاروسل وسط-چپ/راست، نیمه‌شفاف (WoodMart) */
.rg-deals .wd-carousel .wd-arrow,
.rg-deals .owl-nav button{
  position:absolute; top:50%; transform:translateY(-50%);
  width:36px; height:72px; border-radius:18px;
  background:rgba(255,255,255,.85) !important; border:none !important;
  box-shadow:0 8px 18px rgba(0,0,0,.12);
}
.rg-deals .wd-carousel .wd-arrow-prev, .rg-deals .owl-nav .owl-prev{ left:6px; }
.rg-deals .wd-carousel .wd-arrow-next, .rg-deals .owl-nav .owl-next{ right:6px; }

/* قیمت‌ها: جدید صورتی، قدیم خاکستری */
.rg-deals .price del{ opacity:.6; margin-inline-start:8px; }
.rg-deals .price ins{ text-decoration:none; font-weight:800; color:#ff2d6f; }

/* بج درصدِ تخفیف – قرمز صورتی و تپل، بالا-چپ کارت */
.rg-deals .onsale,
.rg-deals .rg-onsale{
  position:absolute; top:10px; left:10px; z-index:3;
  background:#ff2d6f; color:#fff; font-weight:800;
  font-size:13px; padding:6px 10px; border-radius:10px;
}

/* نوار تایمر پایین کارت (ظاهر باکس‌دار) */
.rg-deals .rjm-price-timer{
  display:flex; justify-content:center; padding:10px;
  border-top:1px solid #f2f2f2; background:#fff;
}
.rg-deals .rjm-price-timer .rjm-label{ display:none; } /* مثل عکس نیازی به عنوان نداریم */
.rg-deals .rjm-ct{ display:none; } /* متن قدیمی تایمر رو مخفی کن */
.rg-deals .rjm-ct-box{ display:flex; gap:8px; direction:ltr; }
.rg-deals .rjm-ct-box .cell{
  background:#f7f7f7; border:1px solid #eee; border-radius:10px;
  padding:6px 10px; font-size:12px; font-weight:800; color:#333; min-width:34px; text-align:center;
}
.rg-deals .rjm-ct-box .sep{ align-self:center; opacity:.6; }

/* ریسپانسیو */
@media (max-width:992px){ .rg-deals{ border-radius:16px; } }

/* ======= رنگ‌های برند ======= */
:root{
  --rg-bg: rgb(0,36,24);          /* سبز تیره برند */
  --rg-bg-2: #001a12;             /* یک درجه تیره‌تر برای گرادیان */
  --rg-bg-3: #00140e;             /* سایه سوم */
  --rg-accent: goldenrod;         /* طلایی برند */
  --rg-accent-contrast: #002418;  /* متن روی طلایی */
  --rg-accent-soft: rgba(218,165,32,.14); /* هایلایت لطیف طلایی */
	 --brand-green: #002418;
  --brand-gold:  #DAA520;
  --brand-comp:  #36141F;
}

/* ظرف گرادیانی شگفت‌انگیزها به رنگ برند */
.rg-deals{
  background:
    radial-gradient(900px 480px at 95% 50%, var(--rg-accent-soft), transparent 65%),
    linear-gradient(135deg, var(--rg-bg) 0%, var(--rg-bg-2) 60%, var(--rg-bg-3) 100%);
  border-radius: 22px;
  padding: 18px 12px;
  overflow: hidden;
}

/* کارت محصولات مثل قبل سفید می‌ماند */
.rg-deals ul.products .product,
.rg-deals .product-grid-item, 
.rg-deals .product-small{
  background:#fff; border-radius:18px;
  box-shadow:0 10px 24px rgba(0,0,0,.08);
  border:1px solid rgba(255,255,255,.12);
}

/* قیمت‌ها هم‌خوان با برند */
.rg-deals .price del{ opacity:.55; margin-inline-start:8px; }
.rg-deals .price ins{
  text-decoration:none; font-weight:800;
  color: var(--rg-accent);           /* طلایی */
}

/* بج درصد تخفیف (٪) با طلایی برند */
.rg-deals .onsale,
.rg-deals .rg-onsale{
  position:absolute; top:10px; left:10px; z-index:3;
  background: var(--rg-accent);
  color: var(--rg-accent-contrast);
  font-weight:800; font-size:13px;
  padding:6px 10px; border-radius:10px;
  box-shadow: 0 4px 10px rgba(0,0,0,.15);
}

/* فلش‌های کاروسل: پس‌زمینه روشن، آیکن طلایی */
.rg-deals .wd-carousel .wd-arrow,
.rg-deals .owl-nav button{
  position:absolute; top:50%; transform:translateY(-50%);
  width:36px; height:72px; border-radius:18px;
  background: rgba(255,255,255,.9) !important; border:none !important;
  box-shadow:0 8px 18px rgba(0,0,0,.12);
  color: var(--rg-accent) !important;    /* رنگ فلش‌ها */
}
.rg-deals .wd-carousel .wd-arrow-prev, .rg-deals .owl-nav .owl-prev{ left:6px; }
.rg-deals .wd-carousel .wd-arrow-next, .rg-deals .owl-nav .owl-next{ right:6px; }

/* تایمر باکس‌دار با ته‌مایه طلایی لطیف */
.rg-deals .rjm-price-timer{ display:flex; justify-content:center; padding:10px; border-top:1px solid #f2f2f2; background:#fff; }
.rg-deals .rjm-price-timer .rjm-label{ display:none; }
.rg-deals .rjm-ct{ display:none; }
.rg-deals .rjm-ct-box{ display:flex; gap:8px; direction:ltr; }
.rg-deals .rjm-ct-box .cell{
  background: rgba(218,165,32,.08);
  border: 1px solid rgba(218,165,32,.28);
  color: #333; min-width:34px; text-align:center;
  border-radius:10px; padding:6px 10px; font-size:12px; font-weight:800;
}
.rg-deals .rjm-ct-box .sep{ align-self:center; color: rgba(0,0,0,.35); }

/* ریسپانسیو */
@media (max-width:992px){ .rg-deals{ border-radius:16px; } }

.rg-deals {
	background: linear-gradient(135deg, #e46a32 0%, #daa520 100%);
}

.rg-chip{padding:8px 12px;border:1px solid gray;border-radius:999px;
               text-decoration:none;font-weight:700;font-size:.92rem;
/*                background:linear-gradient(135deg,#ffd978,#daa520); */
	color:#002418}
.rg-chip.is-active{border : 3px solid black;}
.rg-chip.rg-clear{background:#fff;border-color:#ddd;color:#333}


/* تصویر کارت جای مطمئن برای position: absolute داشته باشه */
.product-grid-item .product-element-top,
.wd-product .product-element-top,
.products .product.type-product .product-element-top{
  position:relative;
}

/* درصد: بالا-راستِ عکس، یکدست در همه کارت‌ها */
.rg-onsale{
  position:absolute; top:10px; inset-inline-end:10px;
  z-index:6;
  display:inline-flex; align-items:center; justify-content:center;
  min-width:42px; height:42px; padding:0 10px; border-radius:999px;
  font-weight:800; font-size:14px; line-height:1;
  background: linear-gradient(135deg,#ffe08a,#ffd978 40%, var(--gold));
  color: var(--brand);
  border: 1px solid rgba(255,215,0,.5);
  box-shadow: 0 10px 22px rgba(218,165,32,.28), inset 0 -2px 0 rgba(0,0,0,.05);
}

/* لیبل کوچک: بالا-چپِ عکس */
.rg-tag{
  position:absolute; top:10px; inset-inline-start:10px;
  z-index:6;
  padding:6px 10px; border-radius:999px;
  font-weight:800; font-size:12px; line-height:1; letter-spacing:.1px;
  color:#fff; border:1px solid rgba(255,255,255,.25);
  box-shadow: 0 8px 18px rgba(0,0,0,.18), inset 0 -1px 0 rgba(0,0,0,.08);
}
.rg-tag.rg-shock{
  background: linear-gradient(135deg, #ff7a45, var(--accent) 45%, #ffb27a);
}
.rg-tag.rg-discount{
  background: linear-gradient(135deg, #7dd3fc, #38bdf8 45%, #0ea5e9);
}

/* تایمر: توی همهٔ لیست‌ها پنهان، فقط داخل سکشن شگفت‌انگیز نمایش */
.products .rjm-price-timer{ display:none !important; }
.rg-deals .rjm-price-timer{ display:block !important; }

/* اگر قالب، بجِ پیش‌فرض دیگری هم می‌ساخت، پنهانش کن مگر اینکه کلاس ما را داشته باشد */
.product .onsale:not(.rg-onsale){ display:none !important; }

/* ریسپانسیوِ ریز */
@media (max-width: 480px){
  .rg-onsale{top:4px !important;left:3% !important; height:18px !important; min-width:18px !important; font-size:10px !important;width : 18px !important;}
  .rg-tag{top:6px !important;  font-size:6px !important; padding:2px 5px; !important}
}

@media (max-width: 1024px){
  .rg-onsale{ top:8px;  height:22px; min-width:22px; font-size:11px;width : 22px; }
  .rg-tag{ top:8px;font-size:10px;}
}


/* بخش دسته‌بندی المنتور: کلاس container = rg-catgrid */
/* زیر 1050px → دقیقاً 3 ستون */
@media (max-width: 1050px){
  /* کانتینر همون سکشن: کلاس سفارشی که به کانتینر دادی */
  .rg-catgrid .wd-cats.products{
    --wd-col-lg: 3 !important;
    --wd-col-md: 3 !important;
    --wd-col-sm: 3 !important;
    --wd-gap-lg: 14px !important;
    --wd-gap-sm: 12px !important;
    padding-inline: 6px;
  }

  /* خنثی‌سازی عرض/شناوری‌های پیش‌فرض Woodmart در موبایل/تبلت */
  .rg-catgrid .wd-cats.products .wd-col{
    width: auto !important;
    margin: 0 !important;
    float: none !important;
  }

  /* کمی جمع‌وجورتر کردن کارت‌ها (اختیاری) */
  .rg-catgrid .wd-cat-thumb{ border-radius: 12px; overflow: hidden; }
  .rg-catgrid .wd-cat-thumb .category-image img{
    width: 100% !important;
/*     height: 160px !important;   /* اگر خواستی 80–110 تنظیم کن */ */
    object-fit: cover;
    display: block;
    border-radius: 12px;
  }
  .rg-catgrid .wd-entities-title{
    font-size: 13px; line-height: 1.35; margin: 6px 0 2px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: center;
  }
  .rg-catgrid .wd-cat-count{ font-size: 12px; opacity: .75; text-align: center; }
}

/* پالت */
:root{
  --rg-brand: #002418;
  --rg-accent:#e46a32;
  --rg-gold:  #daa520;
  --rg-r: 18px;             /* شعاع گوشه کارت */
}

.rg-latest .wd-carousel-container { 
	border : none !important;
}

/* جعبه کارت برای محصولات فقط در باکس جدیدترین‌ها */
.rg-latest .wd-product,
.rg-latest .product-grid-item {               /* Woodmart هر دو ساختار را پوشش بدهیم */
  position: relative;
  border-radius: var(--rg-r);
  padding: 12px;
  background:
    radial-gradient(120% 80% at 85% 0%, rgba(228,106,50,.08) 0, rgba(228,106,50,0) 55%),
    linear-gradient(180deg, #ffffff, #fff7eb);             /* کرم لطیف */
  box-shadow: 0 14px 26px rgba(0,0,0,.10);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

/* قاب گرادیانی نازک دور کارت */
.rg-latest .wd-product::before,
.rg-latest .product-grid-item::before{
  content:"";
  position:absolute; inset:-1px; border-radius:inherit; padding:1px;
  background: linear-gradient(135deg, rgba(218,165,32,.55), rgba(228,106,50,.35) 55%, rgba(218,165,32,.15));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events:none;
}

/* تصویر محصول داخل کارت با گوشه‌های گرد و سایه ملایم */
.rg-latest .product-element-top,
.rg-latest .wd-product .product-image-link{
  border-radius: calc(var(--rg-r) - 6px);
  overflow: hidden;
  box-shadow: 0 10px 18px rgba(0,0,0,.08);
}

/* حرکت هاور */
.rg-latest .wd-product:hover,
.rg-latest .product-grid-item:hover{
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,.14);
  filter: saturate(1.03);
}

/* عنوان و قیمت خواناتر */
.rg-latest .product-title a{ font-weight: 800; }
.rg-latest .price del{ opacity:.5; margin-inline-start:8px; }
.rg-latest .price ins{ text-decoration:none; font-weight:800; color: var(--rg-brand); }

/* لیبل تخفیف/شگفت؛ همگی گوشه راست بالای عکس */
.rg-latest .product-labels{ 
  position:absolute; top:10px; inset-inline-end:10px; inset-inline-start:auto !important;
  display:flex; gap:6px; z-index:3;
}
.rg-latest .product-labels .onsale,
.rg-latest .product-labels .rjm-only-dp,
.rg-latest .product-labels .rjm-shock-badge{
  border-radius: 999px;
  padding: 6px 10px;
  line-height:1; font-weight:900; font-size:12px;
  color:#fff;
  background: linear-gradient(135deg, var(--rg-accent), var(--rg-gold));
  box-shadow: 0 8px 16px rgba(228,106,50,.25);
}
.rg-latest .product-labels .onsale::before{ content:"٪"; margin-inline-start:4px; opacity:.8; }

/* نقاط/ناوبری اسلایدر اگر هست، کمی فاصله پایین کارت بده */
.rg-latest .swiper{ padding-bottom: 8px; }
.rg-latest .swiper-slide{ height:auto; }

@media (max-width: 1024px) {
	.wd-buttons.wd-pos-r-t {
			display : none;
	}
}

@media (max-width: 1024px) {
	.wd-product :is(.wd-product-cats,.wd-product-brands-links) {
		font-size : 65% !important;
		margin-top : 4px !important;
	}
	.wd-entities-title {
		font-size : 11px !important;
	}
}

@media (max-width: 480px) {
	.wd-product :where(.product-wrapper,.product-element-bottom) {
		min-height : 120px !important;
	}
}


/* فاصله و عرض محتوا کمی نفس بگیره */
body.single-product .product-image-summary{
  gap: 28px;
}

/* ====== کارت شیشه‌ای دور گالری ====== */
body.single-product .woocommerce-product-gallery{
  position: relative;
  border-radius: var(--r);
  padding: 14px;
  background:
    radial-gradient(900px 320px at 82% 18%, rgba(228,106,50,.20), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
  border: 1px solid rgba(218,165,32,.28);
  box-shadow: 0 14px 36px rgba(0,0,0,.18), inset 0 0 0 1px rgba(255,255,255,.06);
  overflow: hidden;
  isolation:isolate;
}
body.single-product .woocommerce-product-gallery::after{
  content:"";
  position:absolute; inset:-1px;
  border-radius:inherit;
  pointer-events:none;
  background: linear-gradient(135deg, rgba(218,165,32,.55), rgba(228,106,50,.45), rgba(218,165,32,.18));
  -webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0);
  -webkit-mask-composite:xor; mask-composite:exclude;
  padding:1px;
}

/* انیمیشن خیلی لطیف روی عکس اصلی */
.woocommerce-product-gallery__image img{
  transition: transform .5s ease;
  border-radius: calc(var(--r) - 8px);
}
.woocommerce-product-gallery:hover .woocommerce-product-gallery__image img{
  transform: scale(1.02);
}

/* بندانگشتی‌ها: ردیف تمیز با هایلایت */
.woocommerce-product-gallery .flex-control-thumbs{
  gap: 10px !important;
}
.woocommerce-product-gallery .flex-control-thumbs li{
  border-radius: 12px; overflow: hidden;
  border:1px solid rgba(218,165,32,.25);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
}
.woocommerce-product-gallery .flex-control-thumbs li img{ display:block }
.woocommerce-product-gallery .flex-control-thumbs li:hover{
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,.12);
  border-color: rgba(218,165,32,.5);
}

/* ====== بج‌ها (شگفت/تخفیف) گوشه‌ی عکس ====== */
.single-product .onsale,
.single-product .rg-onsale,
.single-product .rjm-shock-badge{
  position:absolute; top:12px; inset-inline-end:12px;
  z-index:5;
  display:inline-flex; align-items:center; gap:6px;
  padding:6px 10px;
  font-weight:800; font-size:13px; line-height:1;
  color:#1a1200;
  background: linear-gradient(135deg, #ffe08a, var(--gold));
  border-radius: 999px;
  box-shadow: 0 10px 20px rgba(218,165,32,.35);
}
.single-product .rjm-only-dp{
  position:absolute; top:12px; inset-inline-end:12px;
  z-index:5; padding:6px 10px; border-radius:999px;
  background: linear-gradient(135deg, #c8f7ff, #66d3ff);
  color:#043b46; font-weight:800; box-shadow:0 8px 18px rgba(0,128,160,.25);
}

/* ====== عنوان و قیمت ====== */
.single-product .summary .product_title{
  font-weight:900;
  letter-spacing:-.3px;
}
.single-product .summary .price{
  margin-top: 8px;
  font-weight: 900;
  font-size: clamp(20px, 2.2vw, 26px);
}
.single-product .summary .price del{
  opacity:.55; margin-inline-start:8px;
}
.single-product .summary .price ins{ text-decoration:none }

/* ====== تایمر (کپسولی زیر قیمت) ====== */
#rjm-single-timer{
  margin-top:10px;
  display:inline-flex; align-items:center; gap:8px;
  padding:8px 12px;
  border-radius:999px;
  font-weight:800; font-size:14px;
  background: linear-gradient(90deg, rgba(228,106,50,.18), rgba(218,165,32,.18));
  border:1px dashed rgba(218,165,32,.45);
  color:#fff;
}

/* ====== فیلدهای وارییشن (انتخاب‌ها) ====== */
.single-product .variations .value select,
.single-product .variations .value input[type="text"],
.single-product .variations .value .select2-selection{
  background: rgba(255,255,255,.07) !important;
  border: 1px solid rgba(218,165,32,.35) !important;
  color:#fff;
  border-radius: 14px !important;
  height: 46px !important;
  padding-inline: 12px !important;
  font-weight:700;
}
.single-product .variations .value .select2-selection__rendered{ line-height:46px !important }

/* سواچ/چک انتخاب‌شده با رینگ طلایی */
.single-product .variations .swatches-selected,
.single-product .variations .selected,
.single-product .variations .value .selected{
/*   outline: 2px solid var(--gold); */
  outline-offset: 2px;
  border-radius: 12px;
}

/* ====== دکمه افزودن به سبد و تعداد ====== */
.single-product .summary .cart{
  display:flex; align-items:center; gap:10px;
  margin-top:12px;
}
.single-product .summary .quantity input.qty{
  height: 46px; border-radius: 12px;
  border:1px solid rgba(218,165,32,.35);
  background: rgba(255,255,255,.07);
  font-weight:800;
}
.single-product .summary .single_add_to_cart_button{
  position: relative;
  border-radius: 12px;
  height: 46px; padding: 0 22px;
  font-weight:900; letter-spacing:.2px;
  color: var(--brand);
  background: linear-gradient(135deg, #ffd978, var(--gold));
  border: 1px solid rgba(255,215,0,.55);
  box-shadow: 0 12px 26px rgba(218,165,32,.35), inset 0 -2px 0 rgba(0,0,0,.08);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.single-product .summary .single_add_to_cart_button:hover{
  transform: translateY(-1px);
  filter: saturate(1.06);
  box-shadow: 0 16px 34px rgba(218,165,32,.42), inset 0 -2px 0 rgba(0,0,0,.1);
}
.single-product .summary .single_add_to_cart_button::before{
  content:""; position:absolute; inset:0; border-radius:inherit;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.5), transparent);
  transform: translateX(-140%); transition:transform .6s ease;
}
.single-product .summary .single_add_to_cart_button:hover::before{
  transform: translateX(140%);
}

/* ====== تب‌ها / جدول مشخصات به حالت کارت ====== */
.single-product .woocommerce-tabs{
  margin-top: 28px;
}
.single-product .woocommerce-tabs .wd-tabs,
.single-product .woocommerce-tabs ul.tabs{
  border:0; gap:8px;
}
.single-product .woocommerce-tabs ul.tabs li{
  border-radius: 999px !important;
  background: rgba(255,255,255,.06) !important;
  border:1px solid rgba(218,165,32,.25) !important;
  color:#fff; font-weight:800;
}
.single-product .woocommerce-tabs ul.tabs li.active{
  background: linear-gradient(90deg, rgba(228,106,50,.22), rgba(218,165,32,.22)) !important;
  border-color: rgba(218,165,32,.5) !important;
}
.single-product .woocommerce-tabs .panel{
  border-radius: var(--r);
  background: rgba(255,255,255,.04);
  border:1px solid rgba(218,165,32,.25);
  padding:18px 16px;
}

/* جدول اطلاعات تکمیلی خواناتر */
.single-product table.shop_attributes{
  border:0;
}
.single-product table.shop_attributes th,
.single-product table.shop_attributes td{
  background: transparent; border:0;
  border-bottom: 1px dashed rgba(218,165,32,.25);
  padding: 16px 10px;
}

/* ====== Summary چسبان (Desktop) ====== */
@media(min-width:1200px){
  .single-product .summary{ position: sticky; top: 90px; }
}

/* ====== موبایل ====== */
@media(max-width: 768px){
  .woocommerce-product-gallery{ padding:10px }
  .single-product .summary .product_title{ font-size:22px }
  #rjm-single-timer{ font-size:13px; padding:7px 10px }
  .single-product .summary .single_add_to_cart_button{ flex:1 }
}

.single-product .summary, 
.single-product .summary *{ color:#222 !important; } /* نذاریم متن‌ها سفید شن */

/* گالری محصول اجازه بده بج روی عکس بیاد */
.single-product .woocommerce-product-gallery{
  position:relative; overflow:visible;
}

/* ====== بج «شگفت‌انگیز»/درصد تخفیف ====== */
/* هر سه حالت: بج خود ووکامرس، بج سفارشی قبلی rjm، و اون آبی «تخفیف‌دار» */
.single-product .product .onsale,
.single-product .product .rjm-shock-badge,
.single-product .product .rg-onsale{
  position:absolute; inset-inline-end:16px; top:16px;
  z-index:15; display:inline-flex; align-items:center; gap:6px;
  padding:6px 10px; border-radius:999px; font-weight:800;
  background: linear-gradient(135deg,#ffedd1,#ffd47a 55%, var(--gold));
  color:#000; box-shadow:0 8px 18px rgba(218,165,32,.28);
  border:1px solid rgba(255,215,0,.55);
}
.single-product .product .rjm-shock-badge .rjm-eff{ display:none; } /* روی صفحه محصول لازم نیست خط دوم */

/* اگر بج نارنجی خودت رو با کلاس دیگری چاپ می‌کنی، این هم کمک می‌کند */
.single-product .product .badge--shock{ composes: rjm-shock-badge; }

/* ====== باکس‌های انتخاب (وزن/طول/رنگ) ====== */
.single-product .summary .variations select,
.single-product .summary .variations .value > input[type="text"],
.single-product .summary .variations .value > input[type="number"],
.single-product .summary .select2-selection--single{
  background:#fff; color:#222 !important;
  border:1px solid var(--line); border-radius:14px;
  height:44px; padding:0 14px; font-weight:700;
  box-shadow: 0 1px 0 rgba(0,0,0,.03) inset;
}
.single-product .summary .select2-selection__rendered{ color:#222 !important; }
.single-product .summary .select2-selection__arrow b{ border-color:var(--muted) transparent transparent transparent; }

.single-product .summary .variations .label{ color:var(--muted); font-weight:700; }
.single-product .summary .reset_variations{ color:var(--muted); }

/* ====== تعداد (qty) و دکمه‌ها ====== */
.single-product .summary .quantity .qty{
  width:70px; height:44px; border-radius:12px;
  border:1px solid var(--line); background:#fff; color:#222;
  text-align:center; font-weight:800; font-size:16px;
}
.single-product .summary .quantity .minus,
.single-product .summary .quantity .plus,
.single-product .summary .wd-qty-btn{
  width:44px; height:44px; border-radius:12px;
  border:1px solid var(--line); background:#fff; color:#222;
  display:inline-flex; align-items:center; justify-content:center;
}
.single-product .summary .single_add_to_cart_button{
  background:linear-gradient(135deg,#ffe08a,#ffd264 45%, var(--gold));
  color:#000; font-weight:900; border-radius:16px; height:50px;
  padding:0 22px; border:1px solid rgba(255,215,0,.55);
  box-shadow:0 10px 24px rgba(218,165,32,.25), inset 0 -2px 0 rgba(0,0,0,.06);
}
.single-product .summary .single_add_to_cart_button:hover{
  transform:translateY(-1px);
  box-shadow:0 14px 28px rgba(218,165,32,.32), inset 0 -2px 0 rgba(0,0,0,.08);
  filter:saturate(1.05);
}

/* قیمت‌ها واضح */
.single-product .summary .price del{ opacity:.6; margin-inline-start:8px; }
.single-product .summary .price ins{ text-decoration:none; font-weight:800; color:var(--brand); }

/* ====== تب‌های پایین صفحه ====== */
.single-product .woocommerce-tabs{
  margin-top:28px; background:#fff; border:1px solid var(--line);
  border-radius:24px; box-shadow:0 10px 34px rgba(0,0,0,.05);
  padding:18px 14px 24px;
}
.single-product .woocommerce-tabs ul.tabs{
  display:flex; gap:10px; border:0; padding:0 6px 10px; margin:0 0 14px;
}
.single-product .woocommerce-tabs ul.tabs li{
  margin:0; border:1px solid var(--line); border-radius:18px; background:#fff;
}
.single-product .woocommerce-tabs ul.tabs li a{
  display:block; padding:10px 18px; color:#444; font-weight:800;
}
.single-product .woocommerce-tabs ul.tabs li.active{
  background:linear-gradient(135deg,#fff7dd,#ffefbf 60%, #ffe59c);
  border-color:#f7e3a9; box-shadow:0 6px 16px rgba(218,165,32,.15) inset;
}
.single-product .woocommerce-tabs .panel{
  border-top:1px dashed var(--line); padding-top:6px;
}
.single-product .shop_attributes th{ color:#666; font-weight:800; }
.single-product .shop_attributes td{ color:#222; }

/* ====== ریز بهینه‌سازی‌ها ====== */
.single-product .thumbnails, 
.single-product .flex-control-thumbs li img{ border-radius:14px; }
.single-product .woocommerce-product-gallery__trigger{ z-index:16; } /* دکمۀ بزرگ‌نمایی زیر بج نره */

@media (max-width: 768px){
  .single-product .product .onsale,
  .single-product .product .rjm-shock-badge,
  .single-product .product .rg-onsale{
    top:10px; inset-inline-end:10px; padding:5px 9px; font-size:12px;
  }
}

/* باکس محصول را نقطهٔ مرجع کن */
.single-product .product-image-summary{
  position: relative;         /* مهم */
  padding-top: 48px;          /* جا برای تایمر */
}

/* تایمر شناور، بالای باکس محصول (وسط‌چین) */
.single-product .rjm-top-timer{
  position: absolute;
  top: -37px;                 /* کمی روی قاب بنشیند */
  left: 50%;
  transform: translateX(-50%);
  z-index: 25;
  width: auto;                /* جلوگیری از Full width */
  max-width: 90vw;            /* مطمئن برای موبایل */
}

@media (max-width: 992px){
  .single-product .product-image-summary{ padding-top: 42px; }
  .single-product .rjm-top-timer{ top: -30px; }
}

.rjm-top-timer .rjm-label{ font-weight:900; color:#222;white-space : nowrap; }
.rjm-top-timer .rjm-cells{ display:flex; align-items:center; gap:8px; }
.rjm-top-timer .cell{
  width:54px; height:54px;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  background:#fff; border:1px solid #f1d27a; border-radius:12px;
  box-shadow:0 1px 0 rgba(0,0,0,.04) inset;
}
.rjm-top-timer .cell .num{
  font-weight:900; font-variant-numeric:tabular-nums;
  font-size:18px; line-height:1; color:#1d1d1d;
}
.rjm-top-timer .cell .lbl{ margin-top:2px; font-size:11px; color:#7a6200; font-weight:800; }
.rjm-top-timer .sep{ font-weight:900; opacity:.3; }

@media (max-width:768px){
  .rjm-top-timer .cell{ width:46px; height:46px; }
  .rjm-top-timer .cell .num{ font-size:16px; }
}

/* اطمینان از دیده شدن آیتم‌های بیرون قاب */
.single-product .woocommerce-product-gallery{ overflow: visible; position: relative; }

/* تایمر روی لبه‌ی بالایی گالری (وسط‌چین) */
.single-product #rjm-single-timer.rjm-on-gallery{
  position: absolute;
  top: -26px;                 /* کمی بالاتر از قاب گالری بنشیند */
  left: 50%;
  transform: translateX(-50%);
  z-index: 30;
  width: auto;                /* جلوگیری از full width */
  max-width: 92vw;
}

/* اگر به‌جای وسط، گوشه‌ی راست گالری می‌خواهی: */
/*
.single-product #rjm-single-timer.rjm-on-gallery{
  right: 14px; left: auto; transform: none;
}
*/

@media (max-width: 992px){
  .single-product #rjm-single-timer.rjm-on-gallery{ top: -18px; }
}

@media (min-width : 1100px) {
	.single-product .rjm-top-timer {
    left: 84% !important;
	}
}

@media only screen and (min-width: 950px) and (max-width: 1100px)  {
   .single-product .rjm-top-timer {
			left : 80% !important;
   }
 }

@media only screen and (min-width: 768px) and (max-width: 950px)  {
   .single-product .rjm-top-timer {
			left : 74% !important;
   }
 }

.wd-reset-var {
	display : none !important;
}

@media (min-width: 1024px){
  .single-product .summary .wd-grid-f {
		width : 198% !important;
	}
}

.page-id-282 .wd-page-wrapper {
	background-color : rgb(0,36,24) !important;
}

.woocommerce-cart .cart_totals {
	background-color : var(--bgcolor-gray-200) !important;
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
	background-color : rgb(0,36,24) !important;
}

.wp-block-themepunch-revslider {
	margin-top : -50px;
}

.rjm-contact{direction:rtl;font-family:inherit}
.rjm-hero{background:#faf8f6;padding:48px 20px;margin-bottom:24px}
.rjm-hero .rjm-wrap{max-width:980px;margin:auto;text-align:right}
.rjm-hero h1{margin:0 0 8px;font-size:28px}
.rjm-hero p{margin:0 0 16px;line-height:1.9}
.rjm-ig-btn{display:inline-block;padding:10px 16px;border-radius:12px;border:1px solid #ddd;text-decoration:none}
.rjm-grid{max-width:980px;margin:0 auto 40px;display:grid;grid-template-columns:1fr;gap:24px;padding:0 20px}
@media(min-width:900px){.rjm-grid{grid-template-columns:1fr 1fr}}
.rjm-info h2,.rjm-form h2{margin-top:0;font-size:22px}
.rjm-note{background:#fff8e1;border:1px dashed #f0c36d;padding:10px;border-radius:10px}
.rjm-ig-box{background:#f6f7f9;padding:28px 20px;margin-bottom:40px}
.rjm-ig-box .rjm-wrap{max-width:980px;margin:auto}
.wpcf7-form label{display:block;margin-bottom:12px}
.wpcf7-form input,.wpcf7-form select,.wpcf7-form textarea{width:100%;padding:10px;border:1px solid #ddd;border-radius:10px}
.wpcf7-form textarea{min-height:140px}
.wpcf7-submit{background:#111;color:#fff;border:0;padding:12px 18px;border-radius:12px;cursor:pointer}

.rjm-info {
  direction: rtl;
  text-align: right;
  line-height: 1.9;
  font-size: 16px;
}

.rjm-info h2 {
  margin-bottom: 15px;
  font-size: 20px;
  font-weight: bold;
}

.rjm-info p {
  margin: 6px 0;
	direction : ltr;
}

.rjm-info strong {
  color: #444;
  font-weight: 600;
  display: inline-block;
  min-width: 95px; /* همه‌ی برچسب‌ها هم‌تراز بشن */
}

.rjm-info a {
  color: #222;
  text-decoration: none;
  transition: color 0.2s;
}

.rjm-info a:hover {
  color: #b8860b; /* رنگ طلایی هنگام هاور */
}

.wpcf7-acceptance input {
	width : unset !important;
}
@media (min-width: 1025px) {
	//منو

.product-cat-dropdown {
    position: relative;
}

.product-cat-dropdown > ul.sub-menu {
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease-in-out;
    position: absolute;
    top: 100%;
    right: 0;
    background: #0f1f1a;
    padding: 10px 0;
    border-radius: 8px;
    min-width: 220px;
    z-index: 9999;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.product-cat-dropdown:hover > ul.sub-menu {
    opacity: 1;
    visibility: visible;
}

.product-cat-dropdown > ul.sub-menu li {
    list-style: none;
    padding: 8px 20px;
    white-space: nowrap;
    position: relative;
}

.product-cat-dropdown > ul.sub-menu li a {
    color: white;
    text-decoration: none;
    display: block;
    transition: color 0.3s;
}

.product-cat-dropdown > ul.sub-menu li:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.product-cat-dropdown > ul.sub-menu li:hover > a {
    color: #fdd835;
}


/* زیر منوی تو در تو */
.product-cat-dropdown > ul.sub-menu li.menu-item-has-children > ul.sub-menu {
    position: absolute;
    top: 0;
    right: 100%;
    background: #0f1f1a;
    padding: 10px 0;
    border-radius: 8px;
    min-width: 200px;
    display: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.product-cat-dropdown > ul.sub-menu li.menu-item-has-children:hover > ul.sub-menu {
    display: block;
}

/* فلش کنار منوی دارای زیرمنو */
.product-cat-dropdown > ul.sub-menu li.menu-item-has-children > a::after {
    content: "›";
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
}
.menu-item.menu-item-has-children.product-cat-dropdown a{
/* 	color : #fdc141; */
		color : #fff;
}

.menu-item.menu-item-has-children.product-cat-dropdown a:hover{
	color : #fdc141;
}

}

@media (max-width: 576px) {
	.product-cat-dropdown > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    font-weight: bold;
    color: #fdc141;
    background: #fff;
    border-bottom: 1px solid #eee;
  }

  .product-cat-dropdown > ul.sub-menu {
    display: block;
    padding: 0;
    margin: 0;
  }

  .product-cat-dropdown ul.sub-menu {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .product-cat-dropdown .menu-item > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    color: #333;
    border-bottom: 1px solid #eee;
    background-color: #fff;
    position: relative;
    font-size: 15px;
  }

  .product-cat-dropdown .menu-item.menu-item-has-children > a::after {
    content: "⌄";
    transform: rotate(0deg);
    transition: transform 0.2s;
    font-size: 12px;
    margin-right: auto;
    margin-left: 8px;
  }

  .product-cat-dropdown .menu-item.menu-item-has-children.open > a::after {
    transform: rotate(180deg);
  }

  .product-cat-dropdown .menu-item ul.sub-menu {
    display: none;
/*     padding-right: 15px; */
/*     padding-left: 15px; */
    background-color: #fafafa;
  }

  .product-cat-dropdown .menu-item.open > ul.sub-menu {
    display: block;
  }

  .product-cat-dropdown .menu-item ul.sub-menu li a {
/*     padding: 10px 0; */
    display: block;
    font-size: 14px;
    color: #666;
  }

  .product-cat-dropdown .menu-item ul.sub-menu li a:hover {
    color: #fdc141;
  }

.wd-nav-mobile>li, .wd-nav-mobile>li>ul li {
    flex-direction: column;
}

.menu-item-has-children .wd-nav-opener {
	display : none;
}
}

