body {
    font-family: IRANSansX, ModamFaNumWeb;
}
*::selection {
    color: var(--sep-white);
    background: var(--sep-dark2);
}
html {
    scrollbar-width: thin; /* یا auto یا none */
    scrollbar-color: var(--sep-red) var(--sep-white);
    scroll-behavior: smooth !important;
}
/* کل صفحه */ ::-webkit-scrollbar {
                  width: 8px;
                  height: 8px;
              }
/* پس‌زمینه اسکرول‌بار */ ::-webkit-scrollbar-track {
                              background: var(--sep-white);
                          }
/* نوار خود اسکرول */ ::-webkit-scrollbar-thumb {
                          background-color: var(--sep-red);
                          border-radius: 10px;
                      }
:root {
    --sep-white: #FFFFFF;
    --sep-gray1: #F3F3F3;
    --sep-gray2: #DBDBDB;
    --sep-dark1: #3A4855;
    --sep-dark2: #526373;
    --sep-red: #AB052D;
    --sep-red2: #691227;
    --sep-grad: radial-gradient(circle, #AB052D 0%, rgba(255, 255, 255, 1) 100%);
    --sep-del: 0.4s;
}
.body1 {
    font-size: 32px;
    font-weight: 700;
}
.body2 {
    font-size: 20px;
    font-weight: 700;
}
.body3 {
    font-size: 17px;
    font-weight: 700;
}
.body4 {
    font-size: 16px;
    font-weight: 400;
    line-height: 180%;
    letter-spacing: -0.48px;
}
.body7 {
    font-size: 16px;
    font-weight: 500;
}
.body5 {
    font-size: 16px;
    font-weight: 600;
}
.body6 {
    font-size: 15px;
    font-weight: 400;
}
.body8 {
    font-size: 15px;
    font-weight: 500;
}
.body9 {
    font-size: 14px;
    font-weight: 600;
}
.body10 {
    font-size: 14px;
    font-weight: 500;
}
.body11 {
    font-size: 14px;
    font-weight: 400;
}
.body12 {
    font-size: 13px;
    font-weight: 400;
}
.body13 {
    font-size: 12px;
    font-weight: 400;
}
.offcanvas-backdrop.show {
    opacity: 1 !important;
}
.sp-header-mobile-menu li ul.sub-menu li a .submenu-toggle-icon {
    display: none !important;
}
/*btt start*/
.btt-button {
    position: fixed;
    bottom: 24px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: 0.3s ease;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
}
.btt-button-inner {
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s ease;
}
.btt-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s ease;
}
.btt-button.btt-active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
/* هاور */
.btt-button:hover {
    transform: scale(1.05);
    background: #A9A9A94D;
}
.btt-button:hover .btt-button-inner {
    background: #ffffff;
}
/*btt end*/
/* social box start */
.sp-social-box-1st {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 999;
    width: 55px;
    height: 55px;
    background-color: #6912274D;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100%;
    transition: 0.4s;
}
.sp-social-but {
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.4s;
    background: #ab052d;
    color: #fff;
    width: 47px;
    height: 47px;
    padding: 5px;
}
.sp-social-box-1st:hover {
    background-color: #A9A9A94D;
}
.sp-social-box-1st:hover .sp-social-but {
    background-color: #ffffff;
    color: #AB052D;
}
.sp-social-but-icon {
    width: 24px;
    height: 24px;
    transition: 0.4s;
}
.sp-social-but-list {
    position: absolute;
    display: flex;
    flex-direction: column-reverse;
    bottom: 60px;
    width: 100%;
    gap: 8px;
    transition: 0.4s;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    align-items: center;
    justify-content: flex-start;
}
.sp-social-but-list.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.sp-social-but-list-item {
    background: #ab052d;
    padding: 5px;
    border-radius: 100%;
    color: #f3f3f3;
    display: flex;
    align-items: center;
    width: 44px;
    height: 44px;
    justify-content: center;
}
/* social box end */
/*filters but start*/
.sep-filter-but {
    border: none;
    width: 150px;
    font-family: 'ModamFaNumWeb';
    height: 38px;
    border-radius: 12px;
    background-color: var(--sep-red);
    color: var(--sep-white);
    transition: var(--sep-del);
    position: fixed;
    bottom: 33px;
    right: 0;
    left: 0;
    margin: 0 auto;
    z-index: 2;
    font-size: 14px;
    font-weight: 400;
    line-height: 28px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
/*filters but end*/
/* بیس کلی پاپ آپ */
.sp-popup-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    background: #00000042;
    backdrop-filter: blur(2px);
}

.sp-popup-overlay.is-active {
    opacity: 1;
    visibility: visible;
}

/* باکس اصلی */
.sp-popup-container {
    background: #FFFFFF;
    position: relative;
    max-width: 95%;
    width: 450px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    padding: 20px;
    border-radius: 12px;
}

/* انیمیشن‌ها */
.sp-zoom-in { transform: scale(0.6); opacity: 0; }
.is-active .sp-zoom-in { transform: scale(1); opacity: 1; }

.sp-fade-up { transform: translateY(60px); opacity: 0; }
.is-active .sp-fade-up { transform: translateY(0); opacity: 1; }

.sp-slide-in { transform: translateX(100px); opacity: 0; }
.is-active .sp-slide-in { transform: translateX(0); opacity: 1; }

/* تصویر */
.sp-popup-image img {
    width: 100%;
    display: block;
    margin: 0 auto 15px;
}

/* محتوا */
.sp-popup-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sp-popup-title {
    margin: 0 0 15px 0;
    font-weight: 800;
    color: #3A4855;
}

.sp-popup-desc {
    margin-bottom: 25px;
    line-height: 1.7;
    color: #526373;
}

/* دکمه عملیاتی */
.sp-popup-button {
    display: inline-block;
    padding: 12px 35px;
    background: #AB052D;
    color: #fff !important;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    transition: 0.3s;
}

.sp-popup-button:hover {
    background: #691227;
    transform: translateY(-3px);
}

/* دکمه بستن */
.sp-popup-close {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(255,255,255,0.8);
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* نمایش پاپ آپ در محیط ویرایشگر المنتور */
.elementor-editor-active .sp-popup-overlay {
    position: relative; /* در المنتور پاپ آپ را در همان جایی که هست نگه دار */
    opacity: 1;
    visibility: visible;
    background: rgba(0,0,0,0.05); /* یک پس‌زمینه خیلی ملایم */
    padding: 20px 0;
}

/* جلوگیری از مخفی شدن پاپ آپ در ادیتور */
.elementor-editor-active .sp-popup-overlay.is-active {
    opacity: 1;
    visibility: visible;
}

/* دکمه بستن در ادیتور غیرفعال شود تا کاربر اشتباهی نبندد */
.elementor-editor-active .sp-popup-close {
    pointer-events: none;
}
