/*
  Developers:
  - Mohammad Kazemi (FrontEnd)
  - Hosein Bayati (BackEnd)
*/

@font-face {
    font-family: "vazirmatn-farsi";
    src: url("../fonts/Vazirmatn-Farsi/Vazirmatn-FD-Bold.woff2") format("woff2"),
        url("../fonts/Vazirmatn-Farsi/Vazirmatn-FD-Regular.woff2")
            format("woff2");
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
}

/* وقتی عرض صفحه کم میشه */
@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
}

:root {
    --clr-primary: #334155;
    --clr-yellow: #ffc107;
    --clr-body: #000;
    --clr-num1: #1e293b;
    --clr-num2: #334155;
    --clr-white: #fff;
    --transition: all 0.3s linear;
    /* shadow */
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1),
        0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-box: rgb(0 0 0 / 10%) 0px 0px 10px 0px !important;
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1),
        0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1),
        0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    --shadow-inner: inset 0 2px 12px 4px rgb(0 0 0 / 5%);
}

body {
    font-family: "vazirmatn-farsi" !important;
    background-color: var(--clr-body) !important;
}

ul {
    list-style-type: none !important;
    padding: 0;
    margin: 0;
}

a {
    text-decoration: none !important;
    color: initial;
}

.section__title {
    font-size: 1.1rem;
}
.section__linktext {
    font-size: 0.9rem;
}


.menu-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    font-size: 16px;
    cursor: pointer;
}
.menu-item i {
    font-size: 18px;
    color: #FFD54F;
    margin-left: 12px;
}
.menu-item span {
    color: #fff;
}
.menu-item:hover {
    opacity: 0.8;
}


/* product popup  */

/* باکس اصلی داخل مودال */
.product-modal-box {
    background: rgba(0, 0, 0, 0.35);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 20px;
    color: #fff;
    position: relative;
}

/* دکمه بستن */
.product-modal-close {
    font-size: 28px;
    color: #fff;
    opacity: 1 !important;
    cursor: pointer;
}

/* عکس محصول */
.product-image {
    max-height: 180px;
    border-radius: 15px;
    width: 100%;
    object-fit: cover;
}

/* برچسب تخفیف */
.badge-offer {
    background: #e53935;
    font-size: 12px;
    padding: 5px 10px;
    border-radius: 6px;
}

/* قیمت */
.product-price {
    font-size: 20px;
    font-weight: bold;
    color: #FFD54F;
}

/* آیتم توضیحات */
.product-info-icon {
    color: #FFD54F;
    margin-left: 5px;
}

/* دکمه سفارش */
.product-btn {
    background: rgba(255, 213, 79, 0.15);
    border: 2px solid #FFD54F;
    color: #FFD54F;
    font-weight: bold;
    border-radius: 30px;
    padding: 10px 0;
    width: 100%;
    transition: 0.3s;
}

.product-btn:hover {
    background: rgba(255, 213, 79, 0.35);
}



















/* //////////////////////////////////////////// back-to-top  ////////////////////////////////// */
#back-top {
    display: inline-block;
    background-color: var(--clr-primary);
    width: 42px;
    height: 42px;
    text-align: center;
    border-radius: 50%;
    position: fixed;
    bottom: 75px;
    right: 10px;
    transition: background-color 0.3s, opacity 0.5s, visibility 0.5s;
    opacity: 0;
    visibility: hidden;
    z-index: 50;
}

@media (min-width: 992px) {
    #back-top {
        bottom: 50px;
    }
}

#back-top:hover {
    cursor: pointer;
    background-color: #333;
}

#back-top:active {
    background-color: #555;
}

#back-top.show {
    opacity: 1;
    visibility: visible;
}

#back-top i {
    font-size: 30px;
    padding-top: 5px;
}

/* ////////////////////////////////////////////////////////////////////////// */
/* ****************************************  header - main menu    ************************************ */

.header {
    background-color: var(--clr-num2);
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1030;
    box-shadow: var(--shadow-lg);
}

/* ------------------------------  search-header   -------------------------- */
.navbar-toggler:focus,
.navbar-toggler:active,
.navbar-toggler:focus-visible {
    outline: none !important;
    box-shadow: none !important;
}
/* +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
/* Containers */
.search-block,
.city-search {
    position: relative;
}

/* Inputs padding */
.search-block__input {
    padding-right: 35px;
}
.search-block__input::placeholder {
    color: rgba(0, 0, 0, 0.4);
}

.city-search__input {
    padding-right: 30px;
}

/* Icon base */
.search-block__icon,
.city-search__icon {
    position: absolute;
    font-size: 18px;
}

/* Desktop icons position */
.search-block__icon--desktop {
    right: 10px;
    top: 10px;
}

.city-search__icon--desktop {
    right: 35px;
    top: 10px;
}

/* Mobile icons position */
.search-block__icon--mobile {
    right: 8px;
    top: 6px;
}

.city-search__icon--mobile {
    right: 10px;
    top: 6px;
}
.search-block__input--mobile {
    background-color: rgb(236, 236, 236);
}

@media (max-width: 460px) {
    .btn__city-search {
        font-size: 12px;
        padding: 3px;
    }
    .search-block__input--mobile {
        font-size: 12px;
        padding-left: 1px;
        padding-right: 27px;
        width: 190px;
    }

    .search-block__icon--mobile {
        font-size: 15px;
        padding-left: 1px;
    }
}

/* +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
input.form-control.custom-search {
    /* border: none !important; */
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

input.form-control.custom-search:focus {
    border-color: rgba(0, 0, 0, 0.15); /* کمی پررنگ‌تر هنگام فوکوس */
    outline: none;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1); /* سایه ظریف هنگام فوکوس */
}

.dropdown-menu {
    width: 20rem;
}
.dropdown-menu li:not(:last-child) a {
    border-bottom: 1px solid #ccc;
}

/* ---------------------------------------------------------------------------------- */

.navbar {
    background-color: var(--clr-num1) !important;
}

.main-menu {
    background-color: var(--clr-num1) !important;
    box-shadow: var(--shadow-lg);
    position: sticky;
    left: 0;
    width: 100%;
    z-index: 1020;
}
/* ------------------------------------------------------------ */
.navbar-toggler {
    /* بدون border همونطور که داری */
    border: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='white' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* ------------------------------------------------------------ */

.offcanvas-mobile {
    width: 55% !important;
    margin-right: 10px;
    margin-top: 10px;
    max-height: 400px;

}

.btn__yellow {
    background: linear-gradient(135deg, #ffc107, #ff9800);
    color: #fff;
    border: none;
    padding: 5px 15px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
}

.btn__yellow:hover {
    background: linear-gradient(135deg, #ffb300, #f57c00);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
    /* transform: translateY(-2px); */
}
/* در حالت موبایل: هدر نیست، منو بچسبه بالا */
@media (max-width: 767.98px) {
    .main-menu {
        top: 0;
    }
}

/* در حالت دسکتاپ: منو زیر هدر باشه */
@media (min-width: 768px) {
    .main-menu {
        /* بعد از هدر */
        top: 3.2rem;
    }

    .navbar-nav .nav-link {
        padding-inline: 1rem !important;
        border-bottom: 3px solid transparent;
        /* جلوگیری از پرش */
        transition: border-color 0.3s ease, color 0.3s ease;
        /* انیمیشن نرم */
    }

    .navbar-nav .nav-link:hover {
        color: var(--clr-primary);
        border-bottom: 3px solid var(--clr-primary);
    }
}

.search-block--desktop {
    width: 35% !important;
}

.city-item {
    border-bottom: 1px solid #c6c7c8;
    transition: var(--transition);
}

.city-item:hover {
    background-color: #c6c7c8;
}

#city-search .modal-body {
    max-height: 80vh;
    overflow: hidden;
    /* جلوگیری از کش آمدن */
}

#city-list {
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid #ddd;
    border-radius: 4px;
}

#city-list li {
    list-style: none;
}

/* ************************* swiper *********************** */
.swiper {
    width: 100%;
    height: auto;
}

.swiper-slide {
    text-align: center;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    /* max-height: 25rem; */
    /* کنترل ارتفاع عکس در دسکتاپ */
}

/* حذف outline و background ناخواسته از لینک‌ها در swiper */
.swiper-slide a,
.swiper-slide a:focus,
.swiper-slide a:active,
.swiper-slide img,
.swiper-slide img:focus,
.swiper-slide img:active {
    outline: none !important;
    box-shadow: none !important;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    -webkit-user-drag: none;
}

.main-slider .swiper,
.main-slider .swiper-slide {
    border-radius: 8px;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 1rem !important;
}

.custom-arrow {
    background-color: #ffffff;
    /* رنگ دایره */
    border: 1px solid #ccc;
    color: #333;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.custom-arrow::after {
    font-size: 16px;
    font-weight: bold;
}

.custom-arrow:hover {
    background-color: #2c3e50;
    /* رنگ هنگام هاور */
    color: #fff !important;
    border-color: #2c3e50;
}

/* ************************* see story-index page *********************** */
/* نوار استوری‌ها */
.see-posts .story-swiper {
    padding: 10px;
}

.see-posts .swiper-wrapper {
    display: flex;
}

.story {
    background: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 80px;
    cursor: pointer;
    flex-shrink: 0;
}

.story-name {
    font-size: 13px;
    user-select: none;
    color: var(--clr-white);
    display: block;
    white-space: nowrap;
}

/* مودال استوری */
.story-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.story-modal.active {
    display: flex;
}

.story-content {
    position: relative;
    width: 90vw;
    height: 90vh;
    background: #000;
    border-radius: 12px;
    padding-top: 70px;
    box-sizing: border-box;
    overflow: hidden;

    display: flex;
    justify-content: center;
    align-items: center;
}

/* هدر استوری */
.story-header {
    position: absolute;
    top: 8px;
    left: 0;
    right: 0;
    height: 55px;
    padding: 5px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    color: white;
    user-select: none;
}

.story-user {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 7px;
    color: white;
    font-size: 12px;
    user-select: none;
}

.user-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid white;
}

.user-name {
    margin-top: 3px;
    font-size: 16px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 120px;
}

.close {
    font-size: 30px;
    color: white;
    cursor: pointer;
    user-select: none;
    padding: 5px 10px;
    border-radius: 50%;
    line-height: 1;
}

/* تصویر و ویدیو */
#storyImage,
#storyVideo {
    max-width: 100%;
    max-height: 100%;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    object-fit: cover;
    background: black;
    display: block;
}

#storyVideo {
    display: none;
}

/* نوار پیشرفت */
.progress-container {
    position: absolute;
    top: 60px;
    left: 15px;
    right: 15px;
    display: flex;
    gap: 5px;
    z-index: 9999;
}

.progress-bar {
    flex: 1;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    overflow: hidden;
    margin-top: 15px;
}

.progress-bar-fill {
    height: 100%;
    width: 0%;
    background-color: white;
    transition: width linear;
}

.story-posts .story-bar {
    display: flex;
    gap: 1.7rem;
    overflow-x: auto;
    padding: 15px;
    scroll-behavior: smooth;
}

.story-posts .story-bar::-webkit-scrollbar {
    display: none; /* حذف اسکرول‌بار برای زیبایی */
}

.story-img-wrapper {
    width: 74px;
    height: 74px;
    border-radius: 50%;
    border: 2px solid var(--clr-yellow);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
    overflow: hidden;
    background: transparent;
}

.story-img-wrapper:hover {
    transform: scale(1.05);
}

.story-img-wrapper img {
    width: 66px;
    height: 66px;
    border-radius: 50%;
    object-fit: cover;
}

.story-posts .sticky-story {
    position: sticky;
    left: 0;
    background-color: transparent; /* رنگ پس‌زمینه‌ات */
    z-index: 2;
}

/* فاصله برای جلوگیری از بریدگی عکس‌ها */
.story-posts .swiper-slide:first-child {
    margin-left: 8px;
}

.story-posts .swiper-slide:last-child {
    margin-right: 8px;
}

/* برای موبایل خیلی کوچک */
@media (max-width: 440px) {
    .story {
        width: 65px;
    }
    .story-img-wrapper {
        width: 60px;
        height: 60px;
    }
    .story-img-wrapper img {
        width: 52px;
        height: 52px;
    }
}
/* --------------------------------------------------------------------------------- */
.head-line {
    height: 1px;
    background-color: var(--clr-white);
}
/* **************************** index-category ************************************** */
.index-category {
    background: var(--clr-num1);
}
.swiper-category {
    min-height: 100px; /* ارتفاع تقریبی اسلایدها */
}
.swiper-category .swiper-slide {
    aspect-ratio: 1/1; /* یا نسبت مناسب برای المان‌ها */
    flex-shrink: 0;
}

.category__item {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    background: var(--clr-yellow);
    transition: transform 0.3s ease;
    animation: pulseGlow 2s infinite ease-in-out;
}

.category__icon {
    font-size: 2.2rem;
    font-size: 2rem;
    color: #fff;
}
/* انیمیشن پالس نور - اصلاح شده */
@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 12px rgba(255, 255, 255, 0.3);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 25px rgba(255, 255, 255, 0.6);
        transform: scale(1.05);
    }
    100% {
        box-shadow: 0 0 12px rgba(255, 255, 255, 0.3);
        transform: scale(1);
    }
}

/* هاور */
.category__item:hover {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.8);
}

.category__title {
    font-size: 1rem;
}

/* ****************************** tag-h1 ******************************************* */
.tag-h1 {
    color: var(--clr-white);
    font-size: 1.3rem;
}

/* **************************** bazargardi **************************************** */

.nearby-houses__item {
    border: 1px solid var(--clr-yellow);
    background: transparent;
}

.nearby-houses__username {
    color: var(--clr-white);
}

.nearby-houses__img {
    width: 6rem !important;
    height: 6rem !important;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: 2px solid var(--clr-yellow);
}

@media only screen and (min-width: 400px) {
    .nearby-houses__img {
        width: 7rem !important;
        height: 7rem !important;
    }
}
/* افکت هاور */
.nearby-houses__img:hover {
    transform: scale(1.05) rotate(1deg);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* *************************************** bazar **************************************** */

.bazar__desc {
    font-size: 0.75rem;
    margin-bottom: 0;
}
@media only screen and (min-width: 768px) {
    .bazar__desc {
        font-size: 1rem;
    }
}
.bazar-img-container {
    overflow: hidden !important;
}

.bazar__img {
    transition: var(--transition);
    /* aspect-ratio: 1/1; */
    width: 100%;
}

.bazar__link {
    display: block;
    border: 1px solid var(--clr-yellow);
    border-radius: 8px;
}
.bazar__link:hover .bazar__img {
    opacity: 0.7;
    transform: scale(1.05);
}

.swiper__banner .swiper-slide {
    background-color: transparent;
}

.swiper__banner .swiper-slide img {
    border-radius: 8px;
}

.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    opacity: 0.5;
    /* مطمئن شو که کاملاً دیده می‌شن */
    margin: 0 6px;
    /* فاصله بین دکمه‌ها */
}

.swiper-pagination-bullet-active {
    background: var(--clr-primary);
    /* رنگ دلخواه برای دکمه فعال */
    transform: scale(1.2);
    /* کمی بزرگ‌تر شدن دکمه فعال */
    opacity: 1;
    /* مطمئن شو که کاملاً دیده می‌شن */
}

/* *********************** city-service ********************************* */

.city__service {
    border: 2px solid var(--clr-yellow);
    border-radius: 10px;
    padding: 1rem;
    width: 5.5rem;
}

.swiper-city-service .swiper-slide {
    background-color: #000;
}

/* =================================================== */

/* کارت شهر */
.city-location__card {
    display: block;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.02),
        rgba(255, 255, 255, 0.01)
    );
    border-radius: 12px;
    overflow: hidden;
    transition: transform 320ms cubic-bezier(0.2, 0.9, 0.2, 1), box-shadow 320ms;
    text-decoration: none;
    color: inherit;
    border: 1px solid rgba(255, 255, 255, 0.03); /* خیلی ضعیف برای جدا شدن لبه */
    /* دو لایه سایه: لایه تیره برای عمق + هاله روشن ظریف برای جداسازی از بک‌گراند */
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.7),
        0 0 18px rgba(255, 255, 255, 0.03) inset;
}

/* تصویر داخل کارت */
.city-location__img {
    display: block;
    width: 100%;
    height: 160px; /* یا auto، یا use object-fit */
    object-fit: cover;
    transition: transform 420ms ease;
}

/* متون کارت */
.city-location__title {
    padding: 10px 12px;
    font-size: 14px;
    line-height: 1.2;
    color: var(--clr-white);
}

/* افکت hover: بلند شدن و بزرگ شدن تصویر اندکی */
.city-location__card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.75),
        0 0 28px rgba(255, 255, 255, 0.04) inset;
}
.city-location .city-location__card:hover img {
    transform: scale(1.03);
}

/* حالت فوکوس برای دسترس‌پذیری */
.city-location__card:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.04),
        0 12px 34px rgba(0, 0, 0, 0.7);
}

/* responsive: تعیین تعداد کارت‌ها توسط JS/Swiper breakpoints */
@media (max-width: 576px) {
    .city-location__img {
        height: 130px;
    }
}
@media (min-width: 992px) {
    .city-location__img {
        height: 180px;
    }
}

/* =================================================== */
/* *********************** local-income ********************************* */
.border-effect__yellow {
    border: 2px solid var(--clr-yellow);
    box-shadow: 0 0 8px #ffc107;
    border-radius: 14px;
}
.local-income__slider {
    border: 2px solid var(--clr-yellow);
    box-shadow: 0 0 8px #ffc107;
    border-radius: 14px;
}

.cultural-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 1.5rem 0;
    font-family: "Vazirmatn", sans-serif;
}

.cultural-divider::before,
.cultural-divider::after {
    content: "";
    flex: 1;
    height: 4px;
    border-radius: 2px;
    background: linear-gradient(
        to right,
        transparent,
        var(--clr-num2),
        transparent
    );
}

.cultural-divider::before {
    background: linear-gradient(to right, transparent, var(--clr-num2));
    margin-left: 1rem;
}

.cultural-divider::after {
    background: linear-gradient(to left, transparent, var(--clr-num2));
    margin-right: 1rem;
}

.cultural-text {
    display: flex;
    flex-direction: column; /* متن‌ها زیر هم قرار بگیرن */
    align-items: center;
    padding: 0 1rem;
    white-space: nowrap;
}

.cultural__title {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--clr-white);
}

.cultural__subtitle {
    font-size: 1rem;
    color: var(--clr-white);
    opacity: 0.8; /* کمی ملایم‌تر باشه */
}

.local-income__slider .swiper-pagination-bullet {
    background-color: rgba(255, 255, 255, 0.4); /* غیرفعال: سفید نیمه شفاف */
}
.local-income__slider .swiper-pagination-bullet-active {
    background-color: #ffc107; /* فعال: زرد روشن یا هر رنگ دلخواه */
}

/* =========================================================== */

.local-income__card {
    position: relative;
    overflow: visible; /* مهم برای نمایش سایه و حاشیه */
    background: #1a1a1a; /* خاکستری تیره برای نرمی */
    border-radius: 0.75rem;
    border: 3px solid transparent;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.4s ease, border-color 0.4s ease;
    cursor: pointer;
    will-change: transform, box-shadow, border-color;
}

.local-income__card:hover {
    transform: translateY(-10px) scale(1.06);
    border-color: #ffc107;
    box-shadow: 0 8px 24px rgba(255, 193, 7, 0.9),
        0 0 12px rgba(255, 193, 7, 0.6);
    filter: drop-shadow(0 0 10px #ffc107);
    z-index: 10;
}

.local-income__img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 0.75rem 0.75rem 0 0;
    transition: filter 0.4s ease;
}

.local-income__card:hover .local-income__img {
    filter: brightness(1.2) saturate(1.1);
}

.local-income__desc {
    color: #ffc107;
    font-weight: 600;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    text-align: center;
    user-select: none;
}
/* =========================================================== */
/* استایل کلی مدال */
.travelModal .modal-dialog {
    max-width: 95%;
}

.travelModal .modal-content {
    background: rgba(20, 20, 20, 0.8); /* مشکی شفاف */
    backdrop-filter: blur(12px); /* افکت شیشه‌ای */
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 25px rgba(0, 255, 200, 0.3);
    color: #fff;
    overflow: hidden;
}

/* هدر مدال */
.travelModal .modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(
        90deg,
        rgba(0, 200, 255, 0.1),
        rgba(255, 0, 200, 0.1)
    );
}

.travelModal .modal-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: #00ffc3;
    text-shadow: 0 0 8px rgba(0, 255, 200, 0.6);
}

/* بدنه مدال */
.travelModal .modal-body {
    padding: 20px;
}

/* کارت‌های داخل اسلایدر */
.travel__card {
    display: block;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.travel__card:hover {
    transform: scale(1.03);
    box-shadow: 0 0 20px rgba(0, 255, 200, 0.4);
}

.travel__title {
    text-align: center;
    color: #fff;
    font-weight: 500;
    font-size: 0.8rem;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.7);
}

/* فوتر مدال */
.travelModal .modal-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.3);
    padding: 5px;
}

.travelModal .btn-secondary {
    background: linear-gradient(90deg, #00ffc3, #ff00aa);
    border: none;
    color: #000;
    font-weight: bold;
    padding: 6px 14px;
    border-radius: 10px;
    transition: transform 0.2s ease-in-out;
}

.travelModal .btn-secondary:hover {
    transform: scale(1.05);
    box-shadow: 0 0 12px rgba(0, 255, 200, 0.6);
}
/* تغییر رنگ ضربدر دکمه بستن به سفید */
.travelModal .btn-close {
    filter: invert(1) brightness(200%); /* تبدیل مشکی به سفید */
    opacity: 1; /* کمی پررنگ‌تر کردن */
}

.travelModal .btn-close:focus {
    box-shadow: none; /* حذف بوردر آبی پیش‌فرض */
}
/* افکت بلور برای بک‌گراند اصلی */
.body-blur > *:not(.modal) {
    filter: blur(6px);
    transition: filter 0.1s ease-in-out;
}

/* *********************** suggest ********************************* */
.suggest__title {
    font-size: 1.2rem;
}
.suggest-border {
    border: 2px solid var(--clr-yellow);
    border-radius: 12px;
}
.suggest .swiper-pagination-bullet {
    background-color: rgba(255, 255, 255, 0.4); /* غیرفعال: سفید نیمه شفاف */
}
.suggest .swiper-pagination-bullet-active {
    background-color: #ffc107; /* فعال: زرد روشن یا هر رنگ دلخواه */
}
/* ================================================== */
.suggest__card {
    position: relative;
    /* background: #222; */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.6);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.5s ease;
    cursor: pointer;
    transform-style: preserve-3d;
    perspective: 800px;
}

.suggest__card:hover {
    transform: rotateY(10deg) scale(1.05);
    box-shadow: 0 0 15px 4px rgba(255, 193, 7, 0.6),
        0 8px 20px rgba(255, 193, 7, 0.3);
    z-index: 10;
}

.suggest__img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px 12px 0 0;
    filter: brightness(0.95);
    transition: filter 0.35s ease, transform 0.5s ease;
}

.suggest__card:hover .suggest__img {
    filter: brightness(1.2) saturate(1.15);
    transform: scale(1.1);
}

.suggest__desc {
    color: #eee;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    padding: 0.6rem 1rem;
    transition: color 0.35s ease;
    user-select: none;
}

.suggest__card:hover .suggest__desc {
    /* color: #ffc107; */
    /* text-shadow: 0 0 6px #ffc107aa; */
}

.suggest__card::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, transparent, #ffc107, transparent);
    opacity: 0.7;
    transition: opacity 0.35s ease;
    border-radius: 0 0 12px 12px;
    pointer-events: none;
}

.suggest__card:hover::before {
    /* opacity: 1; */
}

/* ================================================== */
/* **********************************footer************************************** */

.sticky-bottom-bar {
    position: fixed;
    bottom: 101px;
    left: 0;
    width: 100%;
    height: 80px;
    /* ارتفاع دلخواه */
    background-color: #333;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 55;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.2);
}

.shopping-cart {
    display: none;
}

@media only screen and (min-width: 992px) {
    .sticky-bottom-bar {
        bottom: 0;
    }

    .shopping-cart {
        background: var(--clr-primary);
        width: 46px;
        height: 46px;
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 50%;
        position: fixed;
        bottom: 50px;
        left: 10px;
        transition: var(--transition);
    }

    .shopping-cart:hover {
        background-color: #34234d;
    }

    .shopping-cart i {
        color: var(--clr-white);
        font-size: 20px;
    }
}

.custom-tooltip {
    --bs-tooltip-bg: var(--clr-primary);
    --bs-tooltip-color: var(--bs-white);
}

.footer {
    padding-bottom: 40px !important;
    background-color: var(--clr-num1);
}

@media only screen and (min-width: 992px) {
    .footer {
        padding-bottom: 15px !important;
    }
}

.footer__img {
    width: 60px;
    height: 60px;
}

.footer__headline {
    text-decoration: underline;
    color: var(--clr-white);
    text-decoration-color: var(--clr-yellow);
    text-decoration-thickness: 4px;
    text-underline-offset: 12px;
}

.footer__item {
    transition: var(--transition);
    color: var(--clr-white);
    display: inline-block;
}

.footer__item:hover {
    color: var(--clr-yellow);
    transform: translateX(-3px);
}

.footer__social {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.footer__social i {
    font-size: 24px;
    line-height: 1;
    display: block; /* 👈 مهم برای vertical alignment */
}

.footer__social:hover {
    background-color: rgba(255, 255, 255, 0.1); /* روشن ولی ملایم */
    transform: scale(1.1); /* کمی بزرگ‌تر شدن */
}
.footer__social:hover i {
    color: white !important;
}

/* ***************** mobile footer ************************************* */
.mobile-footer {
    z-index: 100;
    background-color: var(--clr-primary);
}

.call-btn-container {
    position: absolute;
    top: 17px;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 35px;
    width: 70px;
    border-radius: 0 0 150px 150px;
    background-color: var(--clr-white);
}

.call-btn {
    border: none;
    background-color: #43cd2c;
    border-radius: 50px;
    color: var(--clr-white);
    vertical-align: middle;
    width: 67px;
    height: 67px;
    position: absolute;
    bottom: 1.5px;
    left: 2.2%;
    animation: phone-outer 2000ms infinite;
    animation: phone-inner 2000ms infinite;
    box-shadow: 0.5px 0.7px 7px 6px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.call-btn i {
    font-size: 1rem;
    display: inline-block;
    animation: phone-icon 2000ms infinite;
}
/* ++++++++++++ effect btn +++++++++++++++++++++ */
.call-btn:active {
    transform: translateY(4px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
/* ++++++++++++ +++++++++++ +++++++++++++++++++++ */
.contact-us-index {
    background: var(--clr-primary);
    border-radius: 10px;
}

.contact-us-index__title {
    background: var(--clr-yellow);
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

.contact-us-index__desc {
    background: var(--clr-primary);
    border-radius: 10px;
}

.home-footer a {
    font-size: 16px;
    border-bottom: 1px solid #d6d6d6;
    box-shadow: 0 2px 4px -2px rgba(0, 0, 0, 0.2);
}
.offcanvas-header {
    background: #ccc;
}

/* ----------------------- animation for button footer -------------------------------------- */
@keyframes phone-outer {
    0% {
        transform: translate3d(0, 0, 0) scale(1);
        box-shadow: 0 0 0 0em rgba(#43cd2c, 0),
            0em 0.05em 0.1em rgba(#000000, 0.2);
    }

    33.3333% {
        transform: translate3d(0, 0, 0) scale(1.1);
        box-shadow: 0 0 0 0em rgba(#43cd2c, 0.1),
            0em 0.05em 0.1em rgba(#000000, 0.5);
    }

    66.6666% {
        transform: translate3d(0, 0, 0) scale(1);
        box-shadow: 0 0 0 0.5em rgba(#43cd2c, 0),
            0em 0.05em 0.1em rgba(#000000, 0.2);
    }

    100% {
        transform: translate3d(0, 0, 0) scale(1);
        box-shadow: 0 0 0 0em rgba(#43cd2c, 0),
            0em 0.05em 0.1em rgba(#000000, 0.2);
    }
}

@keyframes phone-inner {
    0% {
        opacity: 1;
    }

    33.3333% {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(0.9);
    }

    66.6666% {
        transform: translate3d(0, 0, 0) scale(1);
    }
}

@keyframes phone-icon {
    0% {
        transform: translate3d(0em, 0, 0);
    }

    2% {
        transform: translate3d(0.04em, 0, 0);
    }

    4% {
        transform: translate3d(-0.06em, 0, 0);
    }

    6% {
        transform: translate3d(0.07em, 0, 0);
    }

    8% {
        transform: translate3d(-0.06em, 0, 0);
    }

    10% {
        transform: translate3d(0.07em, 0, 0);
    }

    12% {
        transform: translate3d(-0.04em, 0, 0);
    }

    14% {
        transform: translate3d(0.01em, 0, 0);
    }

    16% {
        transform: translate3d(-0.01em, 0, 0);
    }

    18% {
        transform: translate3d(0.01em, 0, 0);
    }

    20% {
        transform: translate3d(-0.01em, 0, 0);
    }

    22% {
        transform: translate3d(0.01em, 0, 0);
    }

    24% {
        transform: translate3d(-0.01em, 0, 0);
    }

    26% {
        transform: translate3d(0.01em, 0, 0);
    }

    28% {
        transform: translate3d(-0.01em, 0, 0);
    }

    30% {
        transform: translate3d(0.01em, 0, 0);
    }

    32% {
        transform: translate3d(-0.06em, 0, 0);
    }

    34% {
        transform: translate3d(0.06em, 0, 0);
    }

    36% {
        transform: translate3d(-0.06em, 0, 0);
    }

    38% {
        transform: translate3d(0.01em, 0, 0);
    }

    40% {
        transform: translate3d(-0.01em, 0, 0);
    }

    42% {
        transform: translate3d(0.06em, 0, 0);
    }

    44% {
        transform: translate3d(-0.07em, 0, 0);
    }

    46% {
        transform: translate3d(0em, 0, 0);
    }
}

/* ----------------------- ------------------- bazargardi page   -------- ------------------------ */

.bazar-card {
    border-radius: 30px !important;
}

.bazar-card__img {
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.bazar-card__desc {
    background: var(--clr-num1);
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

.bazar-card__img-container {
    position: relative;
    overflow: hidden;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.bazar-card__img {
    transition: var(--transition);
}

.bazar-card:hover .bazar-card__img {
    opacity: 0.7;
    transform: scale(1.05);
}

.bazar-card__badge {
    background: transparent;
    border: none;
    font-size: 16px;
}

/* ----------------------------------------------------------------------- */
.bazar-items-select {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    padding: 0.7rem 1rem;
}

.btn-bazar-item {
    background-color: var(--clr-white);
    padding: 0.4rem 0.8rem;
    border: none;
    font-size: 0.8rem;
    border-radius: 1rem;
    white-space: nowrap;
    flex: 1 1 calc(20% - 0.5rem); /* تا ۵ تا در ردیف */
    max-width: 150px; /* جلوگیری از کشیدگی */
    text-align: center;
}

.btn-bazar-item--active {
    background-color: var(--clr-num1);
    color: var(--clr-white);
    transition: var(--transition);
}

.btn-bazar-item--active:hover {
    background-color: var(--clr-num1);
}

/* ******************************** profile page ************************************** */

.profile__img {
    width: 130px;
    height: 130px;
}

.profile__title {
    background: var(--clr-primary);
    color: var(--clr-white);
    width: 15rem;
    border-radius: 10px;
    padding: 1rem 2rem;
}

.profile__group {
    max-width: 700px;
}

.profile__btn {
    padding: 0.3rem 1.5rem;
    border-radius: 20px;
    flex-grow: 1;
    color: var(--clr-yellow);
    border: 1px solid var(--clr-yellow);
    transition: var(--transition);
}
.profile__btn:hover {
    background: var(--clr-yellow);
    color: #000;
}

.profile__btn--active {
    background: var(--clr-yellow);
    color: #000;
    transition: var(--transition);
}

.post-follow {
    color: var(--clr-white);
    padding: 0.8rem 1.5rem;
}
.divp {
    width: 1px;
    height: 3.5rem;
    background: var(--clr-white);
}

.profile__item {
    display: inline-block;
    position: relative;
}

.profile__item-img {
    border-radius: 10px 10px 0 0;
}

.profile2__item-img {
    border-radius: 10px;
}
.profile__price {
    position: absolute;
    padding: 0.1rem 0.3rem;
    right: 50%;
    transform: translateX(50%);
    bottom: 1rem;
    background: var(--clr-num1);
    opacity: 0.9;
    color: var(--clr-white);
    border-radius: 0.3rem;
    z-index: 2;
    font-size: 0.9rem;
}
.profile__item-title {
    border-radius: 0 0 10px 10px;
}

.profile-change-btn {
    border: none;
    background: none;
    border-bottom: 3px solid #0f0e0e;
    flex: 1;
    color: var(--clr-white);
}

.profile-change-btn i {
    font-size: 2rem;
}

.profile-change-btn--active {
    border-bottom: 3px solid var(--clr-num1);
}

/* ********************************** login-page *************************************** */
.login-body {
    background-color: #f9fbfa;
}
.content-box {
    background-color: #fff;
    box-shadow: var(--shadow-box);
    padding: 20px 20px;
    margin-bottom: 20px;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
}

.content-box:nth-last-child(1) {
    margin-bottom: 0;
}

.form-group {
    margin-bottom: 15px;
}

.form-group__text {
    border-radius: 0 50% 50% 0 !important;
}

.form-group__input {
    border-radius: 50px 0 0 50px !important;
}
/* ************************ post page ***************************** */
.posts {
    background-color: #111111;
}

.btn-post {
    border: none;
    background: transparent;
}
.post-user-img-container {
    border: 2px solid var(--clr-yellow);
    border-radius: 50%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.8), 0 8px 20px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.05);
}
.post-user-img {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
}
.post-icon {
    color: var(--clr-yellow);
    font-size: 1.3rem;
}
.post-img-container {
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.8), 0 8px 20px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.05);
}
.post-img,
.post-video {
    border-radius: 15px;
}
.divider {
    height: 1px;
    background: #777;
}
/* ++++++++++++++++++++++++++++++++ wheel +++++++++++++++++++++++++++ */

.container-wheel {
    /* max-width: 700px; */
    width: 100%;
    background: #1e1e1e;
    border-radius: 15px;
    padding: 20px;
    box-sizing: border-box;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.wheel-wrapper {
    position: relative;
    flex: 1 1 320px;
    max-width: 320px;
    aspect-ratio: 1 / 1;
}

canvas#wheel {
    width: 100%;
    height: auto;
    border-radius: 50%;
    box-shadow: 0 0 15px #007bffaa;
    background: #222;
    display: block;
}

.pointer {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-bottom: 25px solid #0099ff;
    filter: drop-shadow(0 0 5px #0099ffaa);
    z-index: 10;
}

.spin-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, #00aaff, #0055cc);
    border: none;
    color: #fff;
    font-weight: 700;
    font-size: 18px;
    padding: 15px 28px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 5px 15px #0099ffaa;
    transition: background-color 0.3s ease;
    user-select: none;
    z-index: 11;
}

.spin-btn:disabled {
    background: #004466;
    cursor: not-allowed;
    box-shadow: none;
}

.info-panel {
    flex: 1 1 300px;
    max-width: 320px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.prizes {
    background: #2c2c2c;
    border-radius: 10px;
    padding: 10px 15px;
    max-height: 300px;
    overflow-y: auto;
}

.prizes h3 {
    margin: 0 0 10px 0;
    font-weight: 700;
    font-size: 20px;
    color: #00aaff;
    text-align: center;
}

.prize-item {
    display: flex;
    align-items: center;
    gap: 10px;
    /* padding: 6px 8px; */
    padding: 3px 4px;
    border-radius: 6px;
    border-left: 5px solid;
    color: #ddd;
    font-weight: 600;
    user-select: none;
}

.prize-color {
    width: 18px;
    height: 18px;
    border-radius: 50%;
}

#result {
    background: #222;
    padding: 18px 12px;
    border-radius: 12px;
    text-align: center;
    font-weight: 800;
    font-size: 18px;
    min-height: 52px;
    color: #00ccff;
    user-select: none;
    box-shadow: inset 0 0 15px #00aaff44;
}

/* موبایل: زیر هم */
@media (max-width: 700px) {
    .container-wheel {
        flex-direction: column;
        max-width: 100%;
    }

    .wheel-wrapper,
    .info-panel {
        max-width: 100%;
        flex: none;
    }
}

@media (min-width: 700px) {
    .spin-btn {
        top: 46%;
    }
}

/* آتش‌بازی کانواس */
#fireworks-canvas {
    position: fixed;
    pointer-events: none;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    mix-blend-mode: screen;
}
/* ------------------------------------------ game 2 ---------------------------------- */
.circle-btn {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    border: none;
    background: radial-gradient(circle at top left, #ff00cc, #3333ff);
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    box-shadow: 0 0 25px #ff00cc, 0 0 50px #3333ff;
    transition: transform 0.15s ease, box-shadow 0.3s ease;
}

.circle-btn:hover {
    box-shadow: 0 0 40px #00f5ff, 0 0 80px #007bff;
}

.circle-btn:active {
    transform: scale(0.9);
    box-shadow: 0 0 15px #00f5ff, 0 0 30px #007bff;
}

.stats {
    margin-top: 50px;
    text-align: center;
    font-size: 24px;
    padding: 20px 40px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
    animation: pulse 2s infinite alternate;
}

.stats p {
    margin: 15px 0;
    font-weight: bold;
    background: linear-gradient(90deg, #ff00cc, #3333ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@keyframes pulse {
    from {
        box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
    }
    to {
        box-shadow: 0 0 25px rgba(0, 255, 255, 0.7);
    }
}

/* +++++++++++++++++++++++++++++++++++++  explorer page  ++++++++++++++++++++++++++++ */
.explorer__container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: repeat(3, 1fr);
    gap: 0.5rem;
}
.explorer__item {
    border-radius: 0.8rem;
    transition: var(--transition);
    cursor: pointer;
}
.explorer__item:hover {
    border: 2px solid var(--clr-yellow);
    box-shadow: 0 0 8px #ffc107;
    border-radius: 0.8rem;
}
.explorer__img {
    display: block;
    width: 100%;
    border-radius: 0.8rem;
    height: 100%;
    object-fit: cover;
}

.item2 {
    grid-row: span 2;
}

.item5 {
    grid-row: span 2;
}
/* ----------------------------------- modal-custom ---------------------------------- */
/* مدال بک‌گراند و کانتینر */
.custom-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90vw;
    max-width: 1200px;
    height: 90vh;
    background: #fff;
    z-index: 9999;
    display: none;
    flex-direction: column;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    direction: rtl; /* راست‌چین */
}

/* بک‌گراند تار */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9998;
    display: none;
}

/* هدر مدال */
.custom-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background: #f5f5f5;
    border-bottom: 1px solid #ddd;
}

/* بخش کاربر در هدر */
.modal-user {
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-user img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.modal-user span {
    font-weight: bold;
}

/* دکمه بسته شدن */
.modal-close {
    cursor: pointer;
    font-size: 20px;
    border: none;
    background: none;
}

.custom-modal-content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #000;
    overflow: hidden;
    padding: 0;
}

.custom-modal-content img,
.custom-modal-content video {
    width: 100% !important;
    height: 100% !important;
    /* object-fit: contain;  */
}

/* ************************************** product-page******************************************* */
.content {
    padding: 20px 0;
}

.content-box {
    background-color: #fff;
    box-shadow: var(--shadow-box);
    padding: 20px 20px;
    margin-bottom: 20px;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
}

.content-box:nth-last-child(1) {
    margin-bottom: 0;
}

.se-cart {
    background: #f9f9f9;
    background-size: cover;
    border: 1px solid #eee;
    box-shadow: var(--shadow-inner);
    padding: 10px;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
}

.pro_gallery {
    position: relative;
}

.pro_gallery img {
    width: 300px;
    height: 300px;
}
.product-gallery-thumb {
    margin: 10px 0;
    border: 1px solid #eee;
    padding: 10px;
}
.product-gallery-thumb .swiper-slide img {
    height: 70px;
    opacity: 0.6;
    cursor: pointer;
    border: 1px solid #dddd;
    border-radius: 5px;
    transition: 0.3s all ease-in-out;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
    -webkit-transition: 0.3s all ease-in-out;
    -moz-transition: 0.3s all ease-in-out;
    -ms-transition: 0.3s all ease-in-out;
    -o-transition: 0.3s all ease-in-out;
}
.product-gallery-thumb .swiper-slide-thumb-active img {
    border-color: #007fee;
    opacity: 1;
}

.product-gallery .swiper-button-next,
.product-gallery .swiper-button-prev {
    top: 70% !important;
}
.product-meta .title h6 {
    padding: 5px 0;
    border-bottom: 1px dashed #ccc;
}
.se-cart-item {
    padding: 15px 0;
}

.se-cart-item:not(:last-child) {
    border-bottom: 1px solid #ddd;
}
@media only screen and (max-width: 400px) {
    .se-cart-item .cart-counter {
        width: 100%;
    }

    .se-cart-item .cart-counter .input-group {
        justify-content: center;
    }
}
.main-color-two-bg {
    background-color: #ef473a !important;
    color: #fff !important;
    box-shadow: 0 5px 15px #ef473a57 !important;
}

.main-color-one-color {
    color: #0761f6 !important;
}
/* bootstrap touch spin */

.bootstrap-touchspin-down,
.bootstrap-touchspin-up {
    height: 100%;
    width: 40px;
    border: 0;
    outline: none;
    font-weight: bold;
    background: #ef473a;
    box-shadow: var(--shadow-box);
    color: #fff;
    border-top-right-radius: 10px;
    border-bottom-left-radius: 10px;
}

.form-counter {
    width: 60px;
    height: 30px;
    text-align: center;
    font-weight: bold;
    border: 0;
    background: #fff;
    box-shadow: var(--shadow-box);
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
}

.form-counter:focus {
    border: none;
    outline: none;
}
input[type="number"] {
    -webkit-appearance: textfield;
    -moz-appearance: textfield;
    appearance: textfield;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
}

.product-page .swiper-button-next,
.product-page .swiper-button-prev {
    box-shadow: var(--shadow-md);
    padding: 15px 15px;
    background: #515151;
    color: #515151;
    border-radius: 0;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    -ms-border-radius: 0;
    -o-border-radius: 0;
    border-top-right-radius: 25px;
    border-bottom-right-radius: 25px;
    top: 50% !important;
    transform: translateY(-50%) !important;
    -moz-transform: translateY(-50%) !important;
    -ms-transform: translateY(-50%) !important;
}

.product-page .swiper-button-prev::after,
.product-page .swiper-button-next::after {
    font-size: 16px;
    color: #fff;
}

.product-page .swiper-button-next::after {
    position: absolute;
    left: 40%;
    transform: translateX(-40%);
    -webkit-transform: translateX(-40%);
    -moz-transform: translateX(-40%);
    -ms-transform: translateX(-40%);
    -o-transform: translateX(-40%);
}

.product-page .swiper-button-prev::after {
    position: absolute;
    right: 40%;
    transform: translateX(40%);
    -webkit-transform: translateX(40%);
    -moz-transform: translateX(40%);
    -ms-transform: translateX(40%);
    -o-transform: translateX(40%);
}

.product-page .swiper-button-prev {
    right: 0 !important;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-top-left-radius: 25px;
    border-bottom-left-radius: 25px;
}

.product-page .swiper-button-next {
    left: 0 !important;
}

/* .product-page .swiper-pagination-bullet-active {
    background: var(--main-color-one);
    width: 25px;
    height: 7px;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
} */
/* read more */

.read-more-state {
    display: none;
}

.read-more-target {
    display: none;
    visibility: hidden;
    opacity: 0;
    max-height: 0;
    font-size: 0;
    transition: 0.25s ease;
    -webkit-transition: 0.25s ease;
    -moz-transition: 0.25s ease;
    -ms-transition: 0.25s ease;
    -o-transition: 0.25s ease;
}

.read-more-state:checked ~ .read-more-wrap .read-more-target {
    opacity: 1;
    font-size: inherit;
    max-height: 999em;
    visibility: visible;
    display: block;
}

.read-more-state ~ .read-more-trigger:before {
    content: "بیشتر +";
}

.read-more-state:checked ~ .read-more-trigger:before {
    content: "بستن _";
}

.read-more-trigger {
    cursor: pointer;
    display: inline-block;
    padding: 0 0 10px 0;
    color: #007fee;
    font-size: 0.9em;
}

/* end read more */
/* ************************************ cart-page ***************************************** */
.responsive-table > table {
    width: 100%;
    border-collapse: collapse;
    -webkit-overflow-scrolling: touch;
}

.responsive-table {
    overflow-x: auto;
    padding: 5px;
}

.main-table {
    margin-bottom: 0;
    padding: 10px;
    border: 1px solid #ddd;
    border-collapse: collapse;
    border-radius: 10px;
    border-style: hidden;
    box-shadow: 0 0 0 1px #ddd;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
}

.main-table th {
    padding: 20px 0;
    font-size: 14px;
    vertical-align: middle;
}

.main-table tr {
    vertical-align: middle;
}

.main-table tr td.title {
    max-width: 280px;
    min-width: 280px;
}

.main-table tr td.counter {
    max-width: 180px;
    min-width: 180px;
}

.slider-title {
    color: #fff;
    text-align: right !important;
    flex-grow: 1;
    font-size: 20px;
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 10px;
}

.slider-title h6 {
    font-weight: bold;
}

.slider-title::before {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100px;
    height: 2px;
    background: #007fee;
    z-index: 2;
}

.slider-title::after {
    content: "";
    position: absolute;
    bottom: 0px;
    right: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(
        to left,
        #e8e8e8 0%,
        rgba(236, 236, 236, 0) 100%
    );
    z-index: 1;
}
.def-color {
    color: #515151 !important;
}
