/*fonts*/
/* ============================= */
/* فونت Yekan Bakh FaNum */
/* ============================= */

@font-face {
  font-family: 'YekanBakhFaNum';
  src: url('https://www.sedanshop.com/wp-content/uploads/fonts/YekanBakhFaNum-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'YekanBakhFaNum';
  src: url('https://www.sedanshop.com/wp-content/uploads/fonts/YekanBakhFaNum-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'YekanBakhFaNum';
  src: url('https://www.sedanshop.com/wp-content/uploads/fonts/YekanBakhFaNum-ExtraBlack.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
}

/* ============================= */
/* اعمال فونت به کل سایت */
/* ============================= */

body, button, input, textarea, select {
  font-family: 'YekanBakhFaNum', Tahoma, sans-serif !important;
}

/* اعمال وزن دلخواه به تیترها */
h1, h2 {
  font-weight: 900; /* ExtraBlack */
}
h3, h4 {
  font-weight: 700; /* Bold */
}
h5, h6, p, span, li, a {
  font-weight: 400; /* Regular */
}
/* ============================= */
/* فونت برای دکمه‌ها در کل سایت */
/* ============================= */

button,
input[type="button"],
input[type="submit"],
input[type="reset"],
a.button,
.woocommerce button.button,
.woocommerce input.button,
.elementor-button {
  font-family: 'YekanBakhFaNum', Tahoma, sans-serif !important;
  font-weight: 600 !important; /* معمولاً Bold برای دکمه‌ها مناسبه */
}

/*==========================استایل مینی کارت هدر که از بغل صفحه کشویی میاد بیرون=======================================*/
/* ===== WooCommerce Mini Cart (widget_shopping_cart) – استایل سدنا ===== */
.widget_shopping_cart,
.widget_shopping_cart .widget_shopping_cart_content{
  direction: rtl; text-align:right; font-family: Vazir, Tahoma, sans-serif;
  --brand:#1A365E; --text:#222; --muted:#666; --soft:#F7F7F7; --border:#E6E6E6; --danger:#E53935;
  font-size:14px; line-height:2;
}

/* ظرف کلی داخل پنل/دراور */
.widget_shopping_cart .widget_shopping_cart_content{
  background:#fff; border:1px solid var(--border); border-radius:14px; overflow:hidden;
  box-shadow:0 24px 60px rgba(0,0,0,.1);
}

/* لیست آیتم‌ها: شبه‌جدولی شبیه صفحه سبد */
.widget_shopping_cart .woocommerce-mini-cart{
  padding: 6px 12px 0; margin:0;
  max-height: calc(100vh - 260px); overflow:auto;
}
.widget_shopping_cart .woocommerce-mini-cart-item{
  display:grid; grid-template-columns:64px 1fr 100px 24px;
  gap:12px; align-items:center; padding:12px 4px; border-bottom:1px solid var(--border);
}
.widget_shopping_cart .mini_cart_item:last-child{ border-bottom:none; }

/* تصویر */
.widget_shopping_cart .mini_cart_item img{
  width:64px; height:64px; object-fit:cover; border-radius:10px; border:1px solid var(--border);
}

/* عنوان/متا */
.widget_shopping_cart .mini_cart_item a:not(.remove){
  color:var(--text); font-weight:700; text-decoration:none; display:block; margin-bottom:4px;
}
.widget_shopping_cart .mini_cart_item .variation{ color:var(--muted); font-size:12px; }

/* قیمت/تعداد */
.widget_shopping_cart .mini_cart_item .quantity{ text-align:center; color:var(--muted); }
.widget_shopping_cart .woocommerce-mini-cart-item .amount{ color:var(--brand); font-weight:800; }
.widget_shopping_cart .woocommerce-mini-cart-item .price,
.widget_shopping_cart .woocommerce-mini-cart-item .woocommerce-Price-amount{
  color:var(--brand); font-weight:800;
}

/* حذف (×) */
.widget_shopping_cart .remove_from_cart_button{
  grid-column:4; color:var(--danger) !important; font-weight:700; font-size:16px; opacity:.8;
}
.widget_shopping_cart .remove_from_cart_button:hover{ opacity:1; }

/* باکس خلاصه پایین (مثل ستون جمع کل) */
.widget_shopping_cart .woocommerce-mini-cart__total{
  margin:12px; padding:0; border:0; background:#fff;
  border:1px solid var(--border); border-radius:10px; overflow:hidden;
}
.widget_shopping_cart .woocommerce-mini-cart__total strong{ display:none; } /* عنوان پیش‌فرض را مخفی کن */
.widget_shopping_cart .woocommerce-mini-cart__total .amount{
  color:var(--brand); font-weight:800;
}
/* دو ردیف خلاصه: ارزش افزوده و جمع کل */
.widget_shopping_cart .woocommerce-mini-cart__total::before{
  content:"ارزش افزوده"; display:flex; justify-content:space-between; padding:10px 14px;
  border-bottom:1px solid var(--border); color:var(--muted);
}
.widget_shopping_cart .woocommerce-mini-cart__total::after{
  content:"جمع کل"; display:block; padding:10px 14px; color:var(--muted);
}
/* چیدمان مقدار مبلغ کنار "جمع کل" */
.widget_shopping_cart .woocommerce-mini-cart__total{
  position:relative;
}
.widget_shopping_cart .woocommerce-mini-cart__total .amount{
  position:absolute; left:14px; bottom:10px;
}

/* دکمه‌ها (مثل «اقدام به پرداخت» در صفحه سبد) */
.widget_shopping_cart .woocommerce-mini-cart__buttons{
  padding: 0 12px 14px; margin:0; border-top:1px solid var(--border); background:#fff;
}
.widget_shopping_cart .woocommerce-mini-cart__buttons .button{
  display:block; width:100%; border-radius:24px; padding:12px 18px; text-align:center; font-weight:800;
  margin-top:12px; box-sizing:border-box;
}
.widget_shopping_cart .woocommerce-mini-cart__buttons .checkout{
  background:var(--brand); color:#fff;
}
.widget_shopping_cart .woocommerce-mini-cart__buttons .button:not(.checkout){
  background:#EDF2F7; color:var(--brand);
}

/* پیام خالی */
.widget_shopping_cart .woocommerce-mini-cart__empty-message{
  padding:22px; text-align:center; color:var(--muted);
}
/*============================================================================================================*/
/* ===========================
   منوی فوتر موبایل سِدنا
   فقط در موبایل واقعی (نه ادیتور المنتور) نمایش داده می‌شود
   =========================== */



/*========================================منوی فوتر موبایل================================*/
/* ===========================
   منوی فوتر موبایل سِدنا
   =========================== */
@media (max-width: 768px) {
  /* فقط در فرانت‌اند واقعی نمایش (نه ادیتور المنتور) */
  body:not(.elementor-editor-active) .sedna-mobile-footer-nav { display: none; }
  body.sedna-mobile .sedna-mobile-footer-nav { display: flex; }

  .sedna-mobile-footer-nav {
    position: fixed;
    bottom: 0; left: 0; width: 100%;
    background-color: #fff;
    border-top: 1px solid #ddd;
    display: flex; justify-content: space-around; align-items: center;
    padding: 6px 0 4px;
    z-index: 9999;
    box-shadow: 0 -2px 10px rgba(0,0,0,.08);
    direction: rtl;
    -webkit-tap-highlight-color: transparent;
  }

  .sedna-mobile-footer-nav .nav-item {
    flex: 1;
    text-align: center;
    text-decoration: none;
    color: #778899;
    font-size: 11px;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 2px;
    position: relative; /* برای Badge */
    padding: 2px 0;
  }

  .sedna-mobile-footer-nav .nav-item i {
    font-size: 20px;
    line-height: 1;
  }

  .sedna-mobile-footer-nav .nav-item span {
    display: block;
    font-size: 11px; line-height: 1.2;
  }

  /* Badge تعداد سبد خرید */
  .sedna-mobile-footer-nav .cart-count-badge {
    position: absolute;
    top: -4px; right: 22px;
    min-width: 16px; height: 16px;
    padding: 0 4px; border-radius: 999px;
    background: #E53935; color: #fff;
    font-size: 10px; font-weight: 700;
    line-height: 16px; text-align: center;
    pointer-events: none;
    transform: translateZ(0);
  }
  .sedna-mobile-footer-nav .cart-count-badge.is-zero { opacity: .7; }

  .sedna-mobile-footer-nav .nav-item:active { opacity: .8; }
}

/*پایان*/

/*============================================ تنظیمات گرویتی فرم ===============================================*/
/* تنظیمات دکمه‌های گرویتی فرم */
body .gform_wrapper input[type="submit"],
body .gform_wrapper input[type="button"],
body .gform_wrapper input[type="reset"],
body .gform_wrapper .gform_page_footer input[type="submit"],
body .gform_wrapper .gform_page_footer input[type="button"] {
    background-color: #1a365e !important;
    color: #fff !important;
    border: none !important;
    padding: 12px 24px;
    border-radius: 30px !important;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    min-width: 200px !important; /* ✅ طول ثابت برای همه دکمه‌ها */
}

/* فاصله بین دکمه‌ها و فیلد بالا */
body .gform_wrapper .gform_page_footer {
    margin-top: 40px !important; /* ✅ فاصله بهتر با فیلد بالا */
    display: flex;
    justify-content: center;
    gap: 16px;
}

/* وسط‌چین کردن reCAPTCHA در گرویتی فرم */
body .gform_wrapper .ginput_recaptcha {
    display: flex !important;
    justify-content: center !important;
    margin-top: 20px !important;
}

/* واکنش‌گرایی دکمه‌ها در موبایل */
@media (max-width: 600px) {
  body .gform_wrapper .gform_page_footer {
    flex-wrap: wrap;
    justify-content: center;
  }

  body .gform_wrapper .gform_page_footer input[type="submit"],
  body .gform_wrapper .gform_page_footer input[type="button"] {
    min-width: 130px !important; /* ✅ کوچکتر شدن دکمه در موبایل */
    margin: 6px;
  }
}


body .gform_wrapper input[type="submit"]:hover,
body .gform_wrapper input[type="button"]:hover,
body .gform_wrapper input[type="reset"]:hover {
    background-color: #1a365e !important; /* رنگ هاور */
}
/*تغییر رنگ نوار بالای مراحل پیشرفت فرم*/
body .gform_wrapper .gf_progressbar {
    background-color: #e0e0e0 !important; /* رنگ پس‌زمینه نوار */
    height: 8px !important;
    border-radius: 10px;
    overflow: hidden;
}

body .gform_wrapper .gf_progressbar_percentage {
    background-color: #1a365e !important; /* رنگ نوار پر شده */
    height: 8px !important;
}
@media (max-width: 600px) {
  body .gform_wrapper .gf_progressbar_percentage {
    background-color: #1a365e !important;
    height: 8px !important;
  }
}





/*ایجاد تامبنیل عکسهای آپلود شده*/
/*.gf-thumbnail-preview {
  margin-top: 4px;
  text-align: right;
  position: relative;
  display: inline-block;
  width: 50px;
  height: 50px;
}

.gf-thumbnail-preview img {
  width: 100%;
  height: 100%;
  border: 1px solid #ddd;
  border-radius: 4px;
  object-fit: cover;
  display: block;
}

/* تیک سبز روی تصویر */
/*.gf-thumbnail-preview {
  margin-top: 4px;
  text-align: right;
}

.gf-thumbnail-preview img {
  width: 50px;
  height: 50px;
  border: 1px solid #ddd;
  border-radius: 4px;
  object-fit: cover;
}*/
/*وسطچین کردن دکمه های پایین فرم گرویتی */
/* پانوشت فرم (شامل دکمه‌ها) وسط‌چین */
/* مرکزچین کردن دکمه‌ها در پانوشت فرم */
/* مرکزچین کردن دکمه‌ها در پانوشت فرم */
body .gform_wrapper .gform_page_footer {
  display: flex;
  justify-content: center; /* وسط‌چین کردن افقی */
  gap: 16px;                /* فاصله بین دکمشه‌ها */
  margin-top: 20px;
}

/* استایل خود دکمه‌ها */
body .gform_wrapper .gform_page_footer input[type="submit"],
body .gform_wrapper .gform_page_footer input[type="button"] {
  min-width: 140px;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: bold;
  border-radius: 30px;
  cursor: pointer;
}


/*===================================================پایان تنظیمات گرویتی فرم ===================================================*/
/*============================== تنظیمات فرم ورود و عضویت==========*/
/* ✅ استایل کلی فرم Digits - فقط روی فرم ورود/عضویت Digits اعمال می‌شود */

/* 🎯 تیتر فرم ورود / عضویت */
body .digits-form_heading .digits-form_heading_text {
    display: block !important;
    text-align: center !important;
    color: #222222 !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    margin-bottom: 20px !important;
}

/* ✅ نسخه موبایل برای تیتر */
@media (max-width: 768px) {
    body .digits-form_heading .digits-form_heading_text {
        font-size: 19px !important;
    }
}

/* 🎯 دکمه "ادامه" */
body .digits-form_button.digits-form_submit.digits-form_submit-btn {
    background-color: #1A365E !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 12px !important;
    padding: 10px 20px !important; /* کاهش ارتفاع */
    font-size: 16px !important;
    font-weight: 600 !important;
    width: 100% !important;
    max-width: 280px;
    margin: 25px auto 0 !important;
    text-align: center;
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 8px; /* فاصله بین متن و فلش */
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
    transition: background 0.3s ease;
    line-height: 1.4 !important; /* تراز عمودی بهتر متن */
}


/* افکت هاور دکمه */
body .digits-form_button.digits-form_submit.digits-form_submit-btn:hover {
    background-color: #26518C !important;
}

/* ✅ نسخه موبایل دکمه */
@media (max-width: 480px) {
    body .digits-form_button.digits-form_submit.digits-form_submit-btn {
        font-size: 15px !important;
        max-width: 90% !important;
    }
}

/* 🎯 متن پایین فرم ("آیا هنوز عضو نیستید؟") */
body .dig_login_signup_bar {
    font-size: 13px !important;
    text-align: center !important;
    color: #666666 !important;
}

/* ✅ نسخه موبایل متن پایین */
@media (max-width: 768px) {
    body .dig_login_signup_bar {
        font-size: 12px !important;
    }
}

/* 🎯 لینک عضویت / ورود در پایین فرم */
body .dig_login_signup_bar a {
    color: #1A365E !important;
    font-weight: 600;
    text-decoration: none;
}
body .dig_login_signup_bar a:hover {
    text-decoration: underline;
}

/* 🎯 هماهنگ‌سازی رنگ چک‌باکس "مرا به خاطر بسپار" */
body .digits-form_remember_label {
    color: #222222 !important;
    font-size: 14px !important;
}


/* =========================  پایان تنظیمات فرم ورود و عضویت ====== */

/*=====================هدر - تنظیمات مخفی شدن ردیف پایین=================*/

/* ✅ ردیف پایین – برای محو شدن و ظاهر شدن */
.header-bottom-row {
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.header-bottom-row.hide-on-scroll {
  opacity: 0;
  visibility: hidden;
}

/* ✅ حالت عادی: بدون خط */
.header-top-row {
  border-bottom: none;
  transition: border-bottom 0.3s ease;
  background-color: #fff; /* مهم برای دیده‌شدن خط */
  z-index: 9999;
}

/* ✅ وقتی ردیف پایین محو میشه → نمایش خط باریک */
.header-top-row.with-shadow {
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}

/* ✅ استایل منوی کشویی کاربر در هدر */

/* کانتینر کلی */
.sedna-user-menu-wrapper {
  position: relative;
  display: inline-block;
}

/* آیکون کلیک‌پذیر */
.sedna-user-menu-wrapper .user-icon {
  cursor: pointer;
}

/* منوی کشویی - حالت مخفی با opacity و transition */
.sedna-user-menu-wrapper .user-dropdown {
  opacity: 0;
  visibility: hidden;
  position: absolute;
  top: 36px;
  right: 0;
  background: #FFFFFF; /* 👈 پس‌زمینه سفید هماهنگ با سایت */
  border: 1px solid #e0e0e0; /* 👈 خط مرز کم‌رنگ */
  border-radius: 10px;
  padding: 10px 0;
  z-index: 9999;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.05); /* 👈 سایه بسیار ملایم */
  min-width: 140px;
  direction: rtl;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* حالت فعال: نمایش منو با fade */
body:not(.elementor-editor-active) .sedna-user-menu-wrapper .user-dropdown.active {
  opacity: 1;
  visibility: visible;
}

/* جلوگیری از نمایش در المنتور */
body.elementor-editor-active .sedna-user-menu-wrapper .user-dropdown {
  display: none !important;
}

/* استایل آیتم‌های منو */
.sedna-user-menu-wrapper .user-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sedna-user-menu-wrapper .user-menu li {
  padding: 10px 16px;
}

.sedna-user-menu-wrapper .user-menu li a {
  text-decoration: none;
  color: #222;
  display: block;
  font-size: 12px;
}

.sedna-user-menu-wrapper .user-menu li a:hover {
  background-color: #f5f5f5;
}

