.elementor-kit-6{--e-global-color-primary:#FFFFFF;--e-global-color-secondary:#636363;--e-global-color-text:#DADADA;--e-global-color-accent:#000000;--e-global-color-0cae4fd:#F8EB74;--e-global-color-277bc05:#D9B119;--e-global-color-880850e:#0D2E52;--e-global-color-de60bf0:#133F71;--e-global-color-0c3e446:#EBC73F;--e-global-color-8dd09a4:#C3E7FF;--e-global-typography-primary-font-family:"Doran";--e-global-typography-primary-font-size:20px;--e-global-typography-primary-font-weight:bold;--e-global-typography-primary-line-height:1.3em;--e-global-typography-secondary-font-family:"Vazir";--e-global-typography-secondary-font-weight:400;--e-global-typography-secondary-line-height:1.6em;--e-global-typography-text-font-family:"Vazir";--e-global-typography-text-font-weight:400;--e-global-typography-text-line-height:1.7em;--e-global-typography-text-letter-spacing:0px;--e-global-typography-accent-font-family:"Vazir";--e-global-typography-accent-font-weight:bold;color:var( --e-global-color-text );font-family:"Vazir";font-size:15px;font-weight:normal;}.elementor-kit-6 a{color:#13399B;font-family:"Vazir";font-weight:bold;}.elementor-kit-6 a:hover{color:var( --e-global-color-0c3e446 );font-family:"Vazir";font-weight:bold;}.elementor-kit-6 h1{color:#FFFFFF;font-family:"Doran";font-size:35px;font-weight:bold;line-height:1.3em;}.elementor-kit-6 img{border-radius:20px 20px 20px 20px;}.elementor-kit-6 input:not([type="button"]):not([type="submit"]),.elementor-kit-6 textarea,.elementor-kit-6 .elementor-field-textual{border-radius:20px 20px 20px 20px;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1200px;}.e-con{--container-max-width:1200px;--container-default-padding-top:15px;--container-default-padding-right:15px;--container-default-padding-bottom:15px;--container-default-padding-left:15px;}.elementor-widget:not(:last-child){--kit-widget-spacing:20px;}.elementor-element{--widgets-spacing:20px 20px;--widgets-spacing-row:20px;--widgets-spacing-column:20px;}{}h1.entry-title{display:var(--page-title-display);}.site-header .site-branding{flex-direction:column;align-items:stretch;}.site-header{padding-inline-end:0px;padding-inline-start:0px;}.site-footer .site-branding{flex-direction:column;align-items:stretch;}@media(max-width:1024px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:1024px;}.e-con{--container-max-width:1024px;}}@media(max-width:767px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;}}
/* Start custom CSS */@media (max-width: 767px) {
  /* ورود و خروج از راست */
  .e-off-canvas__main.animated.slideInRight {
    animation-duration: 0.25s !important;
  }

  .e-off-canvas__main.animated.slideOutRight {
    animation-duration: 0.2s !important;
  }

  /* ورود و خروج از چپ */
  .e-off-canvas__main.animated.slideInLeft {
    animation-duration: 0.25s !important;
  }

  .e-off-canvas__main.animated.slideOutLeft {
    animation-duration: 0.2s !important;
  }
}

/* =========================================================
   ۱. دکمه پیش‌فرض کل سایت + دکمه خرید ووکامرس: طلایی متالیک (ROSTAM SMART)
   ========================================================= */

.elementor-button,
.wp-block-button__link,
.elementor-button-wrapper .elementor-button,
.single-product .single_add_to_cart_button { /* تزریق دکمه خرید تک‌محصول */

    /* رنگ‌های طلایی فلزی */
    background: linear-gradient(
        170deg,
        #F8EB74 0%,
        #D9B119 25%,
        #b8920f 50%,
        #D9B119 75%,
        #F8EB74 100%
    ) !important;
    background-size: 100% 200% !important;

    /* متن سفید */
    color: #ffffff !important;
    text-shadow: 0 1px 3px rgba(0,0,0,0.4) !important;
    font-weight: 800 !important;
    font-size: 15px !important;
    letter-spacing: 1px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;

    /* شکل دکمه */
    border: none !important;
    border-radius: 15px !important;
    padding: 14px 32px !important;
    min-height: 48px; /* ایجاد پایداری برای ابعاد دکمه ووکامرس */

    /* افکت فلزی — لایه‌های نور */
    box-shadow:
        0 1px 0 rgba(255,255,255,0.6) inset,
        0 -1px 0 rgba(0,0,0,0.3) inset,
        0 6px 20px rgba(217, 177, 25, 0.45),
        0 2px 6px rgba(0,0,0,0.2) !important;

    /* خط براق بالای دکمه */
    border-top: 1px solid rgba(255,255,255,0.7) !important;
    border-bottom: 1px solid rgba(0,0,0,0.25) !important;

    /* انیمیشن سینمایی و کپسولی */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    position: relative !important;
    overflow: hidden !important;
    cursor: pointer !important;
}

/* ===== افکت درخشش متحرک لایه‌ای زنده روی دکمه‌ها ===== */
.elementor-button::before,
.wp-block-button__link::before,
.single-product .single_add_to_cart_button::before { /* تزریق لایه شیشه‌ای متحرک به ووکامرس */
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    right: -100% !important;
    width: 60% !important;
    height: 100% !important;
    background: linear-gradient(
        120deg,
        transparent 0%,
        rgba(255,255,255,0.5) 50%,
        transparent 100%
    ) !important;
    animation: goldShine 3s infinite !important;
    z-index: 1 !important;
}

/* ===== انیمیشن درخشش دکمه پیش‌فرض ===== */
@keyframes goldShine {
    0%   { right: -100%; opacity: 0; }
    20%  { opacity: 1; }
    100% { right: 150%; opacity: 0; }
}

/* ===== حالت Hover داینامیک و نئون طلایی زنده ===== */
.elementor-button:hover,
.wp-block-button__link:hover,
.single-product .single_add_to_cart_button:hover {
    background-position: 0 100% !important;
    box-shadow:
        0 1px 0 rgba(255,255,255,0.6) inset,
        0 -1px 0 rgba(0,0,0,0.3) inset,
        0 10px 35px rgba(217, 177, 25, 0.65),
        0 4px 12px rgba(0,0,0,0.25) !important;
    transform: translateY(-3px) scale(1.02) !important;
    color: #ffffff !important;
}

/* ===== حالت کلیک پاپ‌آپ کپسول‌ها ===== */
.elementor-button:active,
.wp-block-button__link:active,
.single-product .single_add_to_cart_button:active {
    transform: translateY(1px) scale(0.98) !important;
    box-shadow:
        0 1px 0 rgba(255,255,255,0.4) inset,
        0 3px 0 rgba(0,0,0,0.3) inset,
        0 3px 10px rgba(217, 177, 25, 0.4) !important;
}




/* =========================================================
   دکمه سرمه‌ای — نسخه بهینه‌شده، هم‌خانواده با آیکون هیبرید (۲۰۲۶)
   کلاس مورد استفاده در المنتور: sormey
   ========================================================= */

.elementor-button.sormey,
.sormey .elementor-button,
.wp-block-button__link.sormey {
    --rostam-deep-blue: #123C68;
    --rostam-dark-blue: #0D2E52;
    --rostam-gold-light: #F8EB74;
    --rostam-gold-dark: #D9B119;

    border: 1.3px solid transparent !important;
    border-radius: 22px !important;

    background-image:
        linear-gradient(180deg, var(--rostam-deep-blue) 0%, var(--rostam-deep-blue) 70%, var(--rostam-dark-blue) 100%),
        linear-gradient(135deg, var(--rostam-gold-light) 0%, var(--rostam-gold-dark) 45%, var(--rostam-gold-light) 55%, var(--rostam-gold-dark) 100%) !important;
    background-clip: padding-box, border-box !important;
    background-origin: padding-box, border-box !important;
    background-size: 100% 100% !important;

    color: #ffffff !important;
    text-shadow: 0 1px 3px rgba(0,0,0,0.4) !important;
    font-weight: 800 !important;
    font-size: 15px !important;
    letter-spacing: 1px !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 14px 32px !important;
    min-height: 48px;

    box-shadow: 0 4px 10px rgba(13, 46, 82, 0.18) !important;

    transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1),
                box-shadow 0.35s cubic-bezier(0.25, 1, 0.5, 1),
                background-image 0.35s ease,
                border-radius 0.35s ease !important;

    position: relative !important;
    overflow: hidden !important;
    cursor: pointer !important;
}

/* ===== افکت اسکن نوری خطی ===== */
.elementor-button.sormey::before,
.sormey .elementor-button::before,
.wp-block-button__link.sormey::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: -150% !important;
    width: 25% !important;
    height: 100% !important;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(248, 235, 116, 0.22) 50%,
        transparent 100%
    ) !important;
    animation: hybridPremiumShine 4.5s cubic-bezier(0.25, 1, 0.5, 1) infinite !important;
    z-index: 1 !important;
}

@keyframes hybridPremiumShine {
    0%   { left: -150%; }
    18%  { left: 150%; }
    100% { left: 150%; }
}

/* ===== حالت Hover — جذاب‌تر و زنده‌تر ===== */
.elementor-button.sormey:hover,
.sormey .elementor-button:hover,
.wp-block-button__link.sormey:hover {
    transform: translateY(-3px) scale(1.03) !important;
    background-image:
        linear-gradient(180deg, var(--rostam-deep-blue) 0%, var(--rostam-deep-blue) 100%),
        linear-gradient(135deg, var(--rostam-gold-dark) 0%, var(--rostam-gold-light) 50%, var(--rostam-gold-dark) 100%) !important;
    color: #ffffff !important;
}

/* ===== حالت کلیک فشرده ===== */
.elementor-button.sormey:active,
.sormey .elementor-button:active,
.wp-block-button__link.sormey:active {
    transform: translateY(0px) scale(0.96) !important;
    border-radius: 18px !important;
    box-shadow: 0 2px 6px rgba(13, 46, 82, 0.2) !important;
    transition: transform 0.1s ease, border-radius 0.1s ease !important;
}

/* ===== آیکون داخل دکمه (برای استفاده در Menu Cart) ===== */
.elementor-button.sormey i,
.elementor-button.sormey svg,
.sormey .elementor-button i,
.sormey .elementor-button svg {
    color: var(--rostam-gold-light) !important;
    z-index: 2 !important;
    transition: color 0.25s ease, transform 0.35s cubic-bezier(0.25, 1, 0.5, 1) !important;
}
.elementor-button.sormey:hover i,
.elementor-button.sormey:hover svg,
.sormey .elementor-button:hover i,
.sormey .elementor-button:hover svg {
    color: #FFFFFF !important;
    transform: scale(1.18) rotate(-3deg) !important;
}




/* کانتینر اول (سفید رنگ) */
.smart-scroll-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 99999 !important;
    /* حالت پیش‌فرض ورود (سرعت بازگشت سریع و پرمیوم) */
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important; 
}

/* کانتینر دوم (منوی سرمه‌ای) */
.smart-scroll-header-nav {
    position: fixed !important;
    top: 130px !important; 
    left: 0 !important;
    width: 100% !important;
    z-index: 99998 !important;
    /* حالت پیش‌فرض ورود (سرعت بازگشت سریع و پرمیوم) */
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important; 
}

/* 🔴 انیمیشن خروج (وقتی اسکرول به پایین انجام میشه) */
.smart-scroll-header.scroll-down,
.smart-scroll-header-nav.scroll-down {
    transform: translateY(-700%) !important; 
    /* زمان خروج رو به 0.7 ثانیه افزایش دادیم و شتاب رو ملایم کردیم تا سریع پرتاب نشه */
      transition: transform 0.5s cubic-bezier(0.3, 1.5, 0.2, 1.5) !important;
}

/* 🟢 انیمیشن ورود (وقتی اسکرول به بالا انجام میشه) */
.smart-scroll-header.scroll-up,
.smart-scroll-header-nav.scroll-up {
    transform: translateY(0) !important;
    /* زمان بازگشت سریع‌تر (0.4 ثانیه) با ترمز نرم */
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

body {
  margin: 0;
  background: #020812;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  left: 50%;
  top: 50%;
  width: 300vmax;
  height: 300vmax;
  transform: translate(-50%, -50%) rotate(0deg);
  z-index: -1;
  background:
    radial-gradient(circle at 30% 30%, #1a4d80 0%, transparent 38%),
    radial-gradient(circle at 70% 70%, #0d2a4a 0%, transparent 42%),
    #020812;
  animation: rotateBg 5s linear infinite;
  will-change: transform;
}

@keyframes rotateBg {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}



/* =========================================================
   RSM Toast System v3 — بازطراحی کامل، مستقل از مارک‌آپ پلاگین‌ها
   ========================================================= */
:root {
  --toast-offset: 24px;
  --toast-gap: 12px;
  --toast-max-width: 420px;
  --toast-radius: 20px;
  --toast-radius-mobile: 22px;
  --toast-bg: rgba(13, 18, 32, 0.55);
  --toast-border: rgba(255, 255, 255, 0.85);
  --toast-success: #3ddc84;
  --toast-error: #ff5470;
  --toast-info: #4fb0ff;
  --toast-gold-1: #F8EB74;
  --toast-gold-2: #D9B119;
  --toast-gold-3: #b8920f;
}

/* ویوپورت: مستقیم به body اضافه می‌شود، پس هیچ‌وقت اسیر
   ترنسفورم یا استکینگ‌کانتکست شکسته‌ی صفحه‌ی محصول/اسلایدرها نمی‌شود */
#rsm-toast-viewport {
  position: fixed !important;
  bottom: var(--toast-offset) !important;
  right: var(--toast-offset) !important;
  left: auto !important;
  z-index: 2147483647 !important;
  display: flex !important;
  flex-direction: column-reverse !important;
  align-items: flex-end !important;
  gap: var(--toast-gap) !important;
  pointer-events: none !important;
  max-width: calc(100% - (var(--toast-offset) * 2)) !important;
  direction: rtl !important;
}

.rsm-toast {
  position: relative !important;
  pointer-events: auto !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 12px !important;
  width: fit-content !important;
  max-width: var(--toast-max-width) !important;
  box-sizing: border-box !important;
  padding: 16px 22px !important;
  border-radius: var(--toast-radius) !important;
  background: var(--toast-bg) !important;
  backdrop-filter: blur(28px) saturate(200%) !important;
  -webkit-backdrop-filter: blur(28px) saturate(200%) !important;
  border: 2px solid var(--toast-border) !important;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45) !important;
  overflow: hidden !important;
  cursor: pointer !important;
  font-family: "Vazirmatn", "Vazir", Tahoma, sans-serif !important;
  animation: rsmSlideIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.1) forwards !important;
  will-change: transform, opacity;
}

.rsm-toast--leaving {
  animation: rsmSlideOut 0.4s cubic-bezier(0.4, 0, 1, 1) forwards !important;
}

.rsm-toast__icon {
  flex-shrink: 0 !important;
  width: 22px !important;
  height: 22px !important;
}
.rsm-toast__icon svg { width: 100% !important; height: 100% !important; display: block !important; }

.rsm-toast__text {
  color: #ffffff !important;
  font-size: 13.5px !important;
  font-weight: 500 !important;
  line-height: 1.5 !important;
  text-align: right !important;
  white-space: normal !important;
  overflow-wrap: break-word !important;
}

.rsm-toast__action {
  flex-shrink: 0 !important;
  margin-inline-start: 6px !important;
  background: linear-gradient(170deg, var(--toast-gold-1) 0%, var(--toast-gold-2) 25%, var(--toast-gold-3) 50%, var(--toast-gold-2) 75%, var(--toast-gold-1) 100%) !important;
  background-size: 100% 200% !important;
  color: #ffffff !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4) !important;
  border: none !important;
  border-radius: 999px !important;
  padding: 7px 16px !important;
  font-weight: 800 !important;
  font-size: 12px !important;
  white-space: nowrap !important;
  text-decoration: none !important;
  display: inline-block !important;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.6) inset,
    0 -1px 0 rgba(0, 0, 0, 0.3) inset,
    0 5px 15px rgba(217, 177, 25, 0.4) !important;
  transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}
.rsm-toast__action:hover {
  background-position: 0 100% !important;
  transform: scale(1.05) !important;
}

.rsm-toast__progress {
  position: absolute !important;
  bottom: 0 !important;
  right: 0 !important;
  left: 0 !important;
  height: 3px !important;
  background: currentColor !important;
  opacity: 0.55 !important;
  animation: rsmProgress var(--toast-duration, 5000ms) linear forwards !important;
  transform-origin: right center !important;
}
.rsm-toast:hover .rsm-toast__progress { animation-play-state: paused !important; }

.rsm-toast[data-type="success"] { color: var(--toast-success) !important; }
.rsm-toast[data-type="error"]   { color: var(--toast-error) !important; }
.rsm-toast[data-type="info"]    { color: var(--toast-info) !important; }

@keyframes rsmSlideIn {
  from { opacity: 0; transform: translateX(120%) scale(0.9); }
  to   { opacity: 1; transform: translateX(0) scale(1); }
}
@keyframes rsmSlideOut {
  from { opacity: 1; transform: translateX(0) scale(1); }
  to   { opacity: 0; transform: translateX(120%) scale(0.9); }
}
@keyframes rsmProgress {
  from { transform: scaleX(1); }
  to   { transform: scaleX(0); }
}

/* اعلان‌های اصلی پلاگین‌ها همیشه و برای همیشه مخفی می‌شوند —
   جاوااسکریپت فقط متنشان را می‌خواند و خودش را نشان می‌دهد.
   هر باگی که داخل مارک‌آپ اصلی این پلاگین‌ها باشد (عکس شکسته،
   حاشیه‌ی اضافه، پدینگ تداخلی و...) دیگر هیچ‌وقت دیده نمی‌شود. */
.woocommerce-message,
.woocommerce-error,
.woocommerce-info,
.elementor-message,
.wpcf7-response-output,
.wpforms-confirmation-container,
.mc4wp-form .mc4wp-alert,
.gform_confirmation_message {
  display: none !important;
}

@media (max-width: 600px) {
  #rsm-toast-viewport {
    right: 12px !important;
    left: 12px !important;
    bottom: 16px !important;
    align-items: center !important;
    max-width: none !important;
  }
  .rsm-toast {
    width: fit-content !important;
    max-width: calc(100% - 8px) !important;
    padding: 13px 18px !important;
    border-radius: var(--toast-radius-mobile) !important;
    backdrop-filter: blur(18px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(18px) saturate(180%) !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
  }
  .rsm-toast__text { font-size: 12.5px !important; text-align: center !important; flex-basis: 100% !important; }
  .rsm-toast__action { width: 100% !important; text-align: center !important; margin: 8px 0 0 0 !important; }
}




/* ===== Custom Scrollbar — Navy Edition 2026 ===== */

:root {
  --scrollbar-track: #0b1220;      /* سرمه‌ای تیره */
  --scrollbar-thumb: #2a3b5e;      /* سرمه‌ای روشن‌تر */
  --scrollbar-thumb-hover: #3d5680;
  --scrollbar-thumb-active: #5b7cb8;
  --scrollbar-glow: rgba(91, 124, 184, 0.45);
  --scrollbar-size: 8px;
}

/* Firefox */
html {
  scrollbar-width: thin;
  scrollbar-color: var(--scrollbar-thumb) transparent;
}

/* Chrome, Edge, Safari, Opera */
::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 999px;
}

::-webkit-scrollbar-corner {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(
    180deg,
    var(--scrollbar-thumb),
    var(--scrollbar-thumb-hover)
  );
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: padding-box;
  transition: background-color .25s ease, box-shadow .25s ease;
}/* End custom CSS */
/* Start Custom Fonts CSS */@font-face {
	font-family: 'Doran';
	font-style: normal;
	font-weight: bold;
	font-display: auto;
	src: url('https://rostamsmart.ir/wp-content/uploads/2026/06/Doran-ExtraBold.woff2') format('woff2');
}
/* End Custom Fonts CSS */
/* Start Custom Fonts CSS */@font-face {
	font-family: 'Vazir';
	font-style: normal;
	font-weight: normal;
	font-display: auto;
	src: url('https://rostamsmart.ir/wp-content/uploads/2026/06/PeydaWebFaNum-Regular.woff2') format('woff2');
}
@font-face {
	font-family: 'Vazir';
	font-style: normal;
	font-weight: bold;
	font-display: auto;
	src: url('https://rostamsmart.ir/wp-content/uploads/2026/06/PeydaWebFaNum-Bold.woff2') format('woff2');
}
/* End Custom Fonts CSS */