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

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

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

:root {
	--wd-text-font: "yekan_web_fa", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: #767676;
	--wd-text-font-size: 14px;
	--wd-title-font: "yekan_web_fa", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 600;
	--wd-title-color: #242424;
	--wd-entities-title-font: "yekan_web_fa", Arial, Helvetica, sans-serif;
	--wd-entities-title-font-weight: 500;
	--wd-entities-title-color: #333333;
	--wd-entities-title-color-hover: rgb(51 51 51 / 65%);
	--wd-alternative-font: "yekan_web_fa", Arial, Helvetica, sans-serif;
	--wd-widget-title-font: "yekan_web_fa", Arial, Helvetica, sans-serif;
	--wd-widget-title-font-weight: 600;
	--wd-widget-title-transform: uppercase;
	--wd-widget-title-color: #333;
	--wd-widget-title-font-size: 16px;
	--wd-header-el-font: "yekan_web_fa", Arial, Helvetica, sans-serif;
	--wd-header-el-font-weight: 700;
	--wd-header-el-transform: uppercase;
	--wd-header-el-font-size: 13px;
	--wd-primary-color: rgb(237,25,68);
	--wd-alternative-color: #fbbc34;
	--wd-link-color: #333333;
	--wd-link-color-hover: #242424;
	--btn-default-font-family: "yekan_web_fa", Arial, Helvetica, sans-serif;
	--btn-default-bgcolor: #f7f7f7;
	--btn-default-bgcolor-hover: #efefef;
	--btn-accented-font-family: "yekan_web_fa", Arial, Helvetica, sans-serif;
	--btn-accented-bgcolor: rgb(239,64,86);
	--btn-accented-bgcolor-hover: rgb(239,71,94);
	--wd-form-brd-width: 0px;
	--notices-success-bg: rgb(239,64,86);
	--notices-success-color: #fff;
	--notices-warning-bg: rgb(221,162,59);
	--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: #ffffff;
	background-image: none;
}
body, [class*=color-scheme-light], [class*=color-scheme-dark], .wd-search-form[class*="wd-header-search-form"] form.searchform, .wd-el-search .searchform {
	--wd-form-color: rgb(129,133,139);
	--wd-form-bg: rgb(240,240,241);
}
.product-labels .product-label.onsale {
	background-color: rgb(237,25,68);
	color: rgb(255,255,255);
}
.wd-popup.popup-quick-view {
	--wd-popup-width: 920px;
}
:root{
--wd-form-brd-radius: 5px;
--btn-default-color: #333;
--btn-default-color-hover: #333;
--btn-accented-color: #fff;
--btn-accented-color-hover: #fff;
--btn-default-brd-radius: 0px;
--btn-default-box-shadow: none;
--btn-default-box-shadow-hover: none;
--btn-default-box-shadow-active: none;
--btn-default-bottom: 0px;
--btn-accented-brd-radius: 5px;
--btn-accented-box-shadow: none;
--btn-accented-box-shadow-hover: none;
--wd-brd-radius: 0px;
}



@font-face {
	font-family: "yekan_web_fa";
	src: url("//rj-wordpress.ir/wp-content/uploads/2025/10/BYEKAN.woff2") format("woff2"), 
url("//rj-wordpress.ir/wp-content/uploads/2025/10/BYEKAN.woff") format("woff");
	font-weight: 400;
	font-display:swap;
	font-style: normal;
}

/* ==============================
   کارت هدر
============================== */

.wd-header-cart.wd-design-2 .wd-cart-number, .wd-header-cart.wd-design-5 .wd-cart-number{
	top: 10px!important;
  right: -6px!important;
	line-height: 16px!important;
	border-radius: 30%!important;
	
}

.whb-main-header {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* ==============================
   دکمه های هدر
============================== */

span.nav-link-text {
    display: contents !important;
}

@media(max-width: 400px){
	span.nav-link-text {
    display: block !important;
}
}

.wd-header-cats.wd-style-1 .menu-opener{
	min-width:220px!important;
	
}

.wd-nav-vertical.wd-design-default>li:is(.wd-opened,:hover)>a{
 color : var(--wd-primary-color)!important;
	
}

/* ==============================
   کارت محصول هدر
============================== */

.wd-dropdown.wd-dropdown-cart {
    box-shadow: 0px 1px 4px rgba(1 1 1 / 20%), 0px 4px 8px rgba(1 1 1 / 20%);
    border-radius: 10px;
}

a.button.btn-cart.wc-forward {
    border-radius: 5px !important;
}

.wd-empty-mini-cart::before {
  content: "" !important;
  display: block;
  width: 120px;
  height: 120px;
  background-size: 120%!important;
  margin: auto;
	margin-bottom: 0!important;
  background: url("https://rj-wordpress.ir/wp-content/uploads/2025/10/empty-cart.svg") no-repeat center / contain;
  opacity: 0.9;
}

.wd-progress-bar :is(.progress-area,.progress-bar){
	border-radius: 10px!important;
}



/* ==============================
   فونت اختصاصی
============================== */
.ma-orders-wrapper,
.ma-orders-wrapper * {
  font-family: var( --e-global-typography-primary-font-family ),yekan !important;
}

.elementor-widget-woocommerce-my-account{
	font-family: var( --e-global-typography-primary-font-family ),yekan !important;
}

.ma-order-wrapper,
.ma-order-wrapper * {
  font-family: var( --e-global-typography-primary-font-family ),yekan !important;
}

h3 , h2{
	font-family: var( --e-global-typography-primary-font-family ),yekan !important;
}

/* ==============================
   تب ها (نوار وضعیت سفارش)
============================== */
.ma-orders-nav ul {
  display: flex;
  gap: 25px;
  margin: 0 0 20px;
  padding: 0 10px;
  list-style: none;
  border-bottom: 1px solid #eee;
	
}
.ma-orders-nav > ul {
  --li-mb: 0;
  margin-bottom: 0 !important;
}
.ma-orders-nav {
	margin-bottom : 15px;
}

.ma-orders-nav li a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 0 12px;
  font-size: 14px;
  font-weight: 500;
  color: #a1a3a8!important;
  text-decoration: none;
  border-bottom: 2px solid transparent;
	border-radius: 0 0 4px 4px;
  border-bottom-width: 4px;
  transition: all .2s ease;
  line-height: 1;
	margin-bottom: 1px !important;
}

.ma-orders-nav li.active a {
  color: var(--wd-primary-color)!important;
  border-bottom-color: var(--wd-primary-color);
}

.ma-order-header h3 {
    margin-bottom: 0px !important;
}

/* شمارنده تب ها */
.ma-orders-nav .ma-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 5px;
  background: #A1A3A8;
  color: var(--e-global-color-ba1f776);
  transition: all .2s ease;
	
}

/* شمارنده وقتی تب فعال است */
.ma-orders-nav li.active .ma-count {
  background: var(--wd-primary-color);
  color: var(--e-global-color-ba1f776);
}

.ma-pagination {
    display: flex;
    gap: 25px;
    margin-top: 20px;
    padding: 0 10px;
    list-style: none;
    border-bottom: 1px solid #eee;
	  border-top: 1px solid #eee;
    justify-content: center;
	  padding: 10px;
}

a.ma-page {
    padding: 5px 12px 5px 12px;
	  border-radius: 25px;
    color: var(--e-global-color-secondary) !important;
}

a.ma-page.active {
    background: var(--wd-primary-color);
    border-radius: 25px;
    color: var(--e-global-color-ba1f776)!important;
}

.ma-page:hover {
    background: #eee;
	  
}

/*لودینگ*/
.wd-preloader-img:before{
	border: 6px solid #ccc!important;
	border-top-color: var(--wd-primary-color)!important;
	width:60px!important;
	height:60px!important;
}


/* ==============================
   کارت سفارش
============================== */
.ma-orders-cards {
  display: grid;
  grid-template-columns: auto;
  gap: 15px;
}

.ma-order-card {
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 15px;
  background: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  cursor: pointer;
}

/* ==============================
   هدر سفارش
============================== */
.ma-order-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 15px;
  font-size: 14px;
  margin-bottom: 12px;
  color: #444;
}

.ma-status {
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
}


/* ====================================
   تصاویر محصولات در کارت صفحه سفارشات
======================================= */
.ma-order-thumbs {
  display: flex;
  flex-wrap: wrap;
  padding-top: 15px;
  gap: 9px;
  margin-top: 10px;
  border-top: solid 1px #ccc;
}

.ma-order-thumb img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid #eee;
}

.ma-order-thumb.ma-more {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 100px;
  background: #F9FAFA;
  border-radius: 6px;
  font-weight: bold;
  font-size: 15px;
  color: var(--e-global-color-secondary)!important;
  border: 1px solid #ddd;
}

/* ==============================
   لودینگ
============================== */
.ma-loading {
  font-size: 18px;
  text-align: center;
  font-weight: 600;
  margin-top: 20px;
}
.ma-loading span {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin: 0 2px;
  border-radius: 50%;
  background-color: var(--wd-primary-color);
  opacity: 0;
  animation: loading 1.5s infinite ease-in-out;
}
.ma-loading span:nth-child(1) { animation-delay: 0s; }
.ma-loading span:nth-child(2) { animation-delay: 0.3s; }
.ma-loading span:nth-child(3) { animation-delay: 0.6s; }

@keyframes loading {
  0%, 100% { opacity: 0; }
  50% { opacity: 1; }
}

/* ==============================
   صفحه جزئیات سفارش
============================== */

/* استایل کلی باکس سفارش */
.ma-order-wrapper {
  display: flex;
  gap: 15px;
  flex-direction: column;
  font-size: 14px;
  border: solid 1px #CCC;
  border-radius: 10px;
  padding: 15px;
}

/* استایل ردیف‌های اطلاعات سفارش (مانند شماره سفارش، وضعیت و...) */
.ma-order-row {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  flex-wrap: wrap;
  box-shadow: 0 2px 4px rgba(0,0,0,0.04);
}
/* جلوگیری از شکستن خطوط درون ردیف‌ها */
.ma-order-row div {
	white-space: nowrap;
}
/* استایل اطلاعات مشتری */
.customer-info {
	flex-direction: column;
	align-items: flex-start; 
}
/* استایل اطلاعات مشتری */
.customer-info > div {
	margin-bottom: 6px;
}
/* استایل آدرس کامل مشتری */
.customer-info .full-address {
  width: 100%;
  white-space: normal;
  line-height: 1.6;
}

/* جدول محصولات سفارش */
.ma-order-items table {
  width: 100%;
  border: 1px solid #ccc!important; /* خط دور کل جدول */
  border-radius: 10px;
  border-collapse: separate;
  background: #fff;
  overflow: hidden;
	margin-bottom: 0!important;
}
/* سرستون‌های جدول محصولات */
.ma-order-items th {
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  padding: 12px;
  background: #f2f4f8;
  border-bottom: 1px solid #ddd!important;
  padding-top: 10px!important;
}
/* سلول‌های جدول محصولات */
.ma-order-items td {
  padding: 12px 10px;
  font-size: 14px;
  vertical-align: middle;
  border-bottom: 1px solid #eee; /* خط بین محصولات */
  text-align: center;
}
/* فاصله اضافی برای ستون محصول */
.product-cell{
	padding-right:10px!important;
}
/* استایل سلول‌های ووکامرس (برای صفحه پنل کاربری ایدی صفحه را جای گزین کنید) */
.elementor-page-1891 .woocommerce td {
    border-bottom: solid 1px #ccc !important;
}
/* تنظیم چیدمان سلول محصول (عکس و نام کنار هم) */
.ma-order-items .product-cell {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: flex-start;
}
/* تنظیم تصویر محصول */
.ma-order-items img {
  width: 50px;
  height: 50px;
  border: 1px solid #eee;
  border-radius: 8px;
  object-fit: cover;
}
/* استایل نام محصول */
.ma-order-items .product-name {
  font-size: 14px;
  color: var(--e-global-color-secondary)!important;
  text-decoration: none;
  transition: color 0.2s;
	text-align: start;
}
/* تغییر رنگ نام محصول هنگام هاور */
.ma-order-items .product-name:hover {
  color: var(--wd-primary-color)!important;
}

/* جدول جمع‌بندی سفارش (جمع کل، هزینه ارسال، تخفیف و...) */
.ma-order-totals table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 10px;
  overflow: hidden;
	margin-bottom: 0!important;
}
/* سرستون‌های جدول جمع‌بندی */
.ma-order-totals thead th {
  text-align: right;
  font-size: 15px;
  font-weight: 600;
  padding: 12px;
  background: #f5f5f5;
  border-bottom: 1px solid #ddd;
}
/* سلول‌های جدول جمع‌بندی */
.ma-order-totals td {
  padding: 12px 10px!important;
  font-size: 14px;
	border: solid 1px #eee !important;
}
/* سلول‌های عنوان در جمع‌بندی */
.ma-order-totals th {
	padding: 10px!important;
}
/* کادر کلی جدول جمع‌بندی */
.ma-order-totals{
	border: solid 1px #ccc!important;
	border-radius: 10px!important;
}
/* حذف خط پایانی در آخرین ردیف جدول جمع‌بندی */
.ma-order-totals tr:last-child td {
	border-bottom: none;
}
/* استایل ردیف جمع کل نهایی */
.ma-order-totals tr.total td {
  font-weight: 700;
  font-size: 15px;
  color: #d32f2f;
}


/* ==============================
   صفحه آدرس‌های من
============================== */

/* مودال */
#rjkala-address-modal {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}
#rjkala-address-modal .modal-content {
    position: relative;
    padding: 20px;
    margin-top: 25px;
    margin-bottom: 0;
    border-radius: 12px;
    background: #fff;
    width: 90%;
    max-width: 600px;
    animation: fadeIn 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
#rjkala-address-modal .modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 22px;
    cursor: pointer;
    color: #ED1944;
}
#rjkala-address-modal #rjkala-modal-body {
    margin-top: 25px;
}

/* لودینگ dots */
.ma-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60px;
    margin-top: 25px;
}
.ma-loading span {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin: 0 2px;
    border-radius: 50%;
    background-color: var(--wd-primary-color, #ED1944);
    opacity: 0;
    animation: loading 1.5s infinite ease-in-out;
}
.ma-loading span:nth-child(1) { animation-delay: 0s; }
.ma-loading span:nth-child(2) { animation-delay: 0.3s; }
.ma-loading span:nth-child(3) { animation-delay: 0.6s; }
@keyframes loading {
  0%, 100% { opacity: 0; }
  50% { opacity: 1; }
}

/* کارت‌های آدرس */
.rjkala-address-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 20px;
}
.rjkala-address-card {
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 15px 20px;
    position: relative;
    transition: box-shadow 0.2s ease;
}
.woocommerce address {
    background: #f7f7f7 !important;
}
.rjkala-address-card h3 { margin-top: 0; margin-bottom: 10px; font-size: 18px; color: #ED1944; }
.rjkala-address-card address { font-style: normal; line-height: 1.5; margin-bottom: 10px;}
.edit-address-btn {
    background: #ED1944; color: #fff; padding: 8px 16px; border: none; border-radius: 6px;
    cursor: pointer; transition: background 0.2s ease;
}
.edit-address-btn:hover { 
	opacity: .8;
	background: var(--wd-primary-color)!important;
	color:var(--e-global-color-ba1f776)!important;
}

/* فرم مودال */
#rjkala-address-form .row { display: flex; gap: 15px; margin-bottom: 15px; }
#rjkala-address-form .col { flex: 1; }
#rjkala-address-form label { display: block; margin-bottom: 5px; font-weight: bold; }
#rjkala-address-form input, #rjkala-address-form select {
    width: 100%; padding: 8px 10px; border: 1px solid #ccc; border-radius: 6px; box-sizing: border-box;
}
#rjkala-address-form button[type="submit"] {
    background: #ED1944; color: #fff; padding: 10px 20px; border: none; border-radius: 6px;
    cursor: pointer; margin-top: 10px;
}
#rjkala-address-form button[type="submit"]:hover { opacity: .8; }

/* انیمیشن fade-in */
@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to   { opacity: 1; transform: scale(1); }
}


/* عنوان فرم */
.custom-edit-account h2 {
    text-align: center;
    margin-bottom: 25px;
    font-weight: 600;
    color: #222;
}

/* لیبل‌ها */
.custom-edit-account label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #555;
}

/* فیلدهای متن و ایمیل و رمز */
.custom-edit-account input[type="text"],
.custom-edit-account input[type="email"],
.custom-edit-account input[type="password"] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    margin-bottom: 15px;
    font-size: 15px;
    box-sizing: border-box;
}

/* دو ستون برای نام و نام خانوادگی */
.form-row-two-columns {
    display: flex;
    gap: 15px;
}

.form-row-two-columns .form-row-first,
.form-row-two-columns .form-row-last {
    flex: 1;
}

/* فیلدهای رمز عبور */
.password-field {
    position: relative;
}

/* دکمه آیکن چشم */
.password-field .toggle-password {
    position: absolute;
    top: 55%;
    left: 10px;
    transform: translateY(-50%);
    cursor: pointer;
    display: flex;
    align-items: center;
    background: none;
    border: none;
    padding: 0;
    user-select: none;
}

/* SVG چشم با transition نرم */
.password-field .toggle-password svg {
    display: block;
    pointer-events: none;
    transition: opacity 0.2s ease;
    opacity: 0.7;
}

/* وقتی آیکن فعال شد */
.password-field .toggle-password.active svg {
    opacity: 1;
}

/* fieldset */
.custom-edit-account fieldset {
    border: 1px solid #eee;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

/* دکمه ذخیره تغییرات */
.custom-edit-account button[type="submit"] {
    background-color: var(--wd-primary-color)!important;
    color: var(--e-global-color-ba1f776)!important;
    border: none;
    padding: 12px 25px;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
}

.custom-edit-account button[type="submit"]:hover {
    opacity: .8;
}

/* ریسپانسیو */
@media (max-width: 600px) {
    .form-row-two-columns {
        flex-direction: column;
    }
}


/* ===================================
   پاپ آپ اضافه به سبد خرید ووکامرس
====================================== */
button.mfp-close:hover {
	color: var(--wd-primary-color)!important;
}

button.mfp-close {
	top: 0!important;
  right: 0!important;
	color: var(--wd-primary-color)!important;
}

.wd-popup.popup-added_to_cart {
    border-radius: 10px;
}

.added-to-cart {
    padding-top: 10px;
}

.popup-added_to_cart .close-popup{
	border-radius: 5px!important;
}