/*
  Developers:
  - Hosein Bayati (FrontEnd,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: 17px;
}

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

:root {
    --clr-primary: #334155;
    --clr-yellow: #ffc107;
    --clr-green: #47ceb7;
    --clr-body: #000;
    --clr-num1: #1e293b;
    --clr-num2: #334155;
    --clr-white: #fff;
    --primary-teal: #19b6c6;
    --accent-green: #2fb24a;
    --muted: #7a8a8f;
    --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;
}
/* //////////////////////////////////////////// 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;
}

/* ////////////////////////////////////////////////////////////////////////// */

.modal-content{
    border-radius: 20px;
}

.nav-pills .nav-link{
    border-radius: 14px;
    color: #555;
    font-size: 14px;
}

.nav-pills .nav-link.active{
    background-color: #009688;
}
.tab-pane {
    transition: all 0.35s cubic-bezier(.4,0,.2,1);
    transform: scale(0.97);
    opacity: 0;
    display: block !important;
    height: 0;
    overflow: hidden;
}

.tab-pane.active {
    transform: scale(1);
    opacity: 1;
    height: auto;
    overflow: visible;
}

/* ************** preloading ******************* */
/* استایل کانتینر اصلی لودینگ */
        #preloader {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            /* گرادینت پس‌زمینه مشابه عکس (از سبزآبی روشن به سفید/آبی خیلی روشن) */
            background: linear-gradient(180deg, #81D4D4 0%, #D8F5F5 100%);
            z-index: 9999;
            display: flex;
            flex-direction: column; /* چیدمان عمودی (لوگو بالا، نقطه ها پایین) */
            justify-content: center;
            align-items: center;
            transition: opacity 0.6s ease-out, visibility 0.6s;
        }

        /* کلاس برای مخفی کردن لودینگ */
        #preloader.hide {
            opacity: 0;
            visibility: hidden;
        }

        /* استایل لوگو */
        .loading-logo {
            max-width: 200px; /* اندازه لوگو */
            margin-bottom: 30px; /* فاصله لوگو تا نقطه‌ها */
            /* انیمیشن ملایم برای خود لوگو (اختیاری) */
            animation: float 3s ease-in-out infinite;
        }

        @keyframes float {
            0% { transform: translateY(0px); }
            50% { transform: translateY(-10px); }
            100% { transform: translateY(0px); }
        }

        /* کانتینر نقطه‌ها */
        .dots-container {
            display: flex;
            gap: 12px; /* فاصله بین نقطه‌ها */
            align-items: center;
            height: 30px; /* ارتفاع فیکس برای جلوگیری از لرزش */
        }

        /* استایل هر نقطه */
        .dot {
            width: 15px;
            height: 15px;
            border-radius: 50%;
            display: inline-block;
            animation: wave 1.4s infinite ease-in-out both;
        }

        /* رنگ‌بندی نقطه‌ها طبق عکس (سبزآبی‌ها کناره‌ها، نارنجی‌ها وسط) */
        .dot:nth-child(1) { background-color: #A7E0E0; animation-delay: -0.32s; }
        .dot:nth-child(2) { background-color: #4DB6AC; animation-delay: -0.16s; }
        .dot:nth-child(3) { background-color: #26A69A; animation-delay: 0s; }

        /* نقطه‌های وسط نارنجی می‌شوند */
        .dot:nth-child(4) { background-color: #FF8A65; width: 18px; height: 18px; animation-delay: 0.16s; }
        .dot:nth-child(5) { background-color: #FF7043; width: 20px; height: 20px; animation-delay: 0.32s; }
        .dot:nth-child(6) { background-color: #FF8A65; width: 18px; height: 18px; animation-delay: 0.48s; }

        .dot:nth-child(7) { background-color: #26A69A; animation-delay: 0.64s; }
        .dot:nth-child(8) { background-color: #A7E0E0; animation-delay: 0.80s; }

        /* انیمیشن موجی (بزرگ و کوچک شدن + شفافیت) */
        @keyframes wave {
            0%, 80%, 100% {
                transform: scale(0.8);
                opacity: 0.6;
            }
            40% {
                transform: scale(1.3);
                opacity: 1;
                box-shadow: 0 5px 15px rgba(0,0,0,0.1); /* سایه نرم هنگام بزرگ شدن */
            }
        }

/*  ****************  userpanel page  ************* */
  .profile-box {
            background: #fff;
            border-radius: 1.2rem;
            padding: 20px;
            box-shadow: 0 4px 10px rgba(0,0,0,0.07);
        }

        .sidebar {
            background: #fff;
            border-radius: 1.2rem;
            padding: 25px 20px;
            box-shadow: 0 4px 10px rgba(0,0,0,0.07);
        }

        .user-img {
            width: 100px;
            height: 100px;
            border-radius: 50%;
            object-fit: cover;
            border: 3px solid #0ea394;
        }

        .tabs button {
            background: transparent;
            border: none;
            font-size: 16px;
            padding: 10px 5px;
            text-align: right;
            width: 100%;
            margin-bottom: 8px;
            border-radius: .6rem;
            transition: 0.3s;
            color: #333;
        }

        .tabs button.active {
            background: #0ea394;
            color: #fff;
        }

        .tabs button:hover {
            /* background: rgba(14,163,148,0.15); */
        }

        .content-area {
            min-height: 300px;
            padding: 20px;
        }

/* ************ bookmarks page *************** */
 .header-box {
            background: #0ea394;
            color: #fff;
            border-radius: 1.8rem;
            text-align: center;
            padding: 25px 10px;
            margin: 20px auto;
            width: 90%;
        }

        .ad-card {
            background: #fff;
            border-radius: 1.5rem;
            padding: 15px;
            margin-bottom: 20px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.08);
            position: relative;
        }

        .ad-img {
            width: 100%;
            height: auto;
            object-fit: cover;
            border-radius: 1rem;
        }

/* **************  messages page ********************* */
.chat-page-container {
    max-width: 480px;
    margin: auto;
    height: 90vh;
    display: flex;
    flex-direction: column;
    background: #f5f5f5;
}

.chat-topbar {
    background: #009688;
    color: white;
    padding: 12px;
}

.chat-top-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.chat-top-name {
    font-size: 16px;
    font-weight: bold;
}

.chat-top-status {
    font-size: 12px;
    color: #e0f2f1;
}

.chat-body {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
    padding-bottom: 80px; /* جا برای input */
}

.message-row {
    display: flex;
    margin-bottom: 10px;
}

.message {
    max-width: 75%;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 22px;
}

.message-in {
    background: white;
    border: 1px solid #e0e0e0;
}

.message-out {
    background: #009688;
    color: white;
    border-radius: 12px 12px 0px 12px;
}

.chat-input-area {
    position: sticky;
    bottom: 0;
    padding: 10px;
    background: white;
    border-top: 1px solid #ddd;
    z-index: 10;
}

.chat-input {
    border-radius: 20px;
    padding: 10px 14px;
    margin-left: 8px;
    background: #f3f3f3;
    border: 1px solid #ccc;
}

.btn-send {
    background: #009688;
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
}

/* *************************** chat page ************************* */
.chat-header {
    background-color: #009688;
    font-size: 18px;
    font-weight: bold;
}

.chat-item {
    cursor: pointer;
    transition: 0.2s;
}

.chat-item:hover {
    background: #f7f7f7;
}

.chat-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.chat-name {
    font-size: 15px;
    color: #333;
}

.chat-msg {
    font-size: 13px;
    color: #777;
    margin-top: 3px;
}

/* ************ register1 page ********** */
   .form-container-register1 {
      background: #fff;
      border-radius: 15px;
      padding: 2rem;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
      width: 100%;
      max-width: 1200px;
      margin: 40px auto;
      padding: 30px;
      text-align: center;
    }

    .form-container-register1 .icon {
      font-size: 40px;
      color: #009688;
      display: flex;
      justify-content: center;
      margin-bottom: 10px;
    }

    .form-container-register1 h4 {
      text-align: center;
      margin-bottom: 1.5rem;
      color: #333;
      font-weight: bold;
    }

    .btn-submit {
      background-color: #009688;
      border: none;
      color: white;
      width: 100%;
      padding: 10px;
      border-radius: 10px;
      font-weight: bold;
      transition: 0.3s;
    }

    .btn-submit:hover {
      background-color: #00796b;
    }

    input, select, textarea {
      border-radius: 10px !important;
    }


/*  *********** register page ************ */
   .ad-form-container {
      background: #fff;
      border-radius: 20px;
      box-shadow: 0 4px 15px rgba(0,0,0,0.1);
      /* max-width: 400px; */
      margin: 40px auto;
      padding: 30px;
      text-align: center;
    }

    .ad-form-container i {
      font-size: 40px;
      color: #00bcd4;
      margin-bottom: 10px;
    }

    .ad-form-container h5 {
      font-weight: bold;
      margin-bottom: 25px;
    }

    .form-control, .form-select {
      border-radius: 10px;
      height: 45px;
    }

    textarea.form-control {
      height: auto;
    }

    .btn-submit {
      background-color: #00bcd4;
      color: #fff;
      border-radius: 10px;
      padding: 10px;
      font-size: 16px;
      width: 100%;
    }

    .btn-submit:hover {
      background-color: #0097a7;
    }

/* ********* detail page ********* */
 .card_detail {
      border: none;
      border-radius: 15px;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
      max-width: 1200px;
      margin: 40px auto;
      padding: 30px;
      background: #fff;
    }
    .card_detail-header {
      background-color: #00bcd4;
      color: #fff;
      text-align: center;
      font-weight: bold;
      border-top-left-radius: 15px;
      border-top-right-radius: 15px;
      padding: 12px 0;
    }
    .car-img {
      width: 100%;
      max-width: 250px;
      display: block;
      margin: 20px auto;
    }
    .specs {
      background-color: #f8f9fa;
      border-radius: 10px;
      padding: 15px;
      margin-bottom: 15px;
    }
    .specs .col-6 {
      margin-bottom: 10px;
    }
    .btn-contact {
      background-color: #00bcd4;
      color: #fff;
      width: 100%;
      font-size: 18px;
      border-radius: 10px;
      padding: 10px 0;
    }
    .btn-contact:hover {
      background-color: #0097a7;
      color: #fff;
    }

/* **************** profile3 page **************** */

.ads-jobs-toggle .btn {
    padding: 10px 28px;
    font-size: 15px;
    border-radius: 30px;
    border: 2px solid var(--primary-teal);
    text-decoration: none;
    transition: all 0.3s ease;
}

/* دکمه فعال (آگهی‌ها) */
.ads-jobs-toggle .btn-active {
    background-color: var(--primary-teal);
    color: #fff;
}

/* دکمه غیر فعال */
.ads-jobs-toggle .btn-outline {
    background-color: transparent;
    color: var(--primary-teal);
}

.ads-jobs-toggle .btn-outline:hover {
    background-color: var(--primary-teal);
    color: #fff;
}


/* آیکون‌ها */
.icon-menu {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  margin: 5px 0;
}
.icon-item {
  background: #fff;
  border-radius: 12px;
  text-align: center;
  padding: 12px 16px;
  width: 90px;
  box-shadow: 0 6px 16px rgba(8,20,40,0.04);
  font-size: 13px;
  color: #1b2a30;
  transition: all 0.3s;
}
.icon-item i {
  font-size: 20px;
  color: var(--clr-green);
  display: block;
  margin-bottom: 6px;
}
/* .icon-item:hover {
  background: var(--clr-green);
  color: #fff;
  transform: translateY(-3px);
}
.icon-item:hover i {
  color: #fff;
} */

/* کارت‌ها */
.listing-card {
  position: relative;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(8,20,40,0.05);
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #0f2b34;
  padding: 10px;
  transition: all 0.3s;
  flex-direction: row-reverse; /* عکس سمت چپ */
}

.bookmark-btn {
    position: absolute;
    top: 10px;
    left: 10px;
    background: transparent;
    border: none;
    font-size: 18px;
    color: #ccc; /* رنگ پیش‌فرض (غیرفعال) */
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
  }
  
  /* حالت اکتیو (زمانی که کلاس active به آن اضافه شود) */
  .bookmark-btn.active {
    color: #ffc107; /* زرد طلایی برای وضعیت ذخیره شده */
  }
  
  /* هاور روی دکمه */
  .bookmark-btn:hover {
    transform: scale(1.1);
    color: #ffc107;
  }
.listing-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(8,20,40,0.1);
}
.listing-card img {
  width: 120px;
  height: 100px;
  object-fit: cover;
  border-radius: 8px;
  margin-right: 10px;
}
.listing-info {
  flex: 1;
  text-align: right;
}
.listing-info .listing-title {
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 5px;
}
.listing-info .listing-meta {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 10px;
}
.listing-info .listing-desc {
  font-size: 13px;
  color: #5b5b5b;
  line-height: 1.6;
  margin-bottom: 15px;
  display: -webkit-box;
  -webkit-line-clamp: 4; /* حداکثر ۴ خط */
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-buttons {
  display: flex;
  gap: 10px;
}
.card-buttons .btn {
  flex: 1;
  border-radius: 8px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 600;
}
.btn-details {
  background: var(--primary-teal);
  color: #fff;
  border: none;
  max-width: 120px;
}


/* *********** profile2 page ******************* */

    .top-buttons {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 20px;
      margin: 30px 0;
    }

    .top-buttons button {
      background: #fff;
      border: 1px solid #ddd;
      border-radius: 10px;
      padding: 10px 20px;
      font-weight: 600;
      color: #333;
      box-shadow: 0 2px 8px rgba(0,0,0,0.05);
      transition: all 0.3s;
    }

    .top-buttons button i {
      color: #2fb24a;
      margin-left: 8px;
    }

    .top-buttons button:hover {
      background: #2fb24a;
      color: #fff;
    }

    .top-buttons button:hover i {
      color: #fff;
    }

    .card-link {
      text-decoration: none;
      color: inherit;
    }

    .property-card {
      background: #fff;
      border-radius: 12px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.05);
      padding: 15px;
      transition: all 0.3s;
    }

    .property-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 6px 16px rgba(0,0,0,0.1);
    }

    .property-card img {
      width: 80px;
      height: 80px;
      border-radius: 50%;
      object-fit: cover;
      margin-left: 10px;
      border:4px solid #2fb24a;
    }

    .property-card h5 {
      font-size: 16px;
      font-weight: 700;
      margin: 0;
    }

    .property-card p {
      color: #666;
      font-size: 14px;
      margin: 0;
    }

    .location {
      display: flex;
      align-items: center;
      color: #2fb24a;
      font-size: 14px;
      margin-top: 6px;
    }

    .location i {
      margin-left: 6px;
    }

/* *********       profile page        ************** */
   .doc-card{
      max-width: 420px;
      margin: 40px auto;
      border-radius: 22px;
      overflow: hidden;
      box-shadow: 0 10px 30px rgba(0,0,0,.12);
      background:#fff;
    }

    .doc-header{
      background:#1f8f95;
      color:#fff;
      text-align:center;
      padding:16px;
      font-weight:600;
      font-size:18px;
    }

    .doc-body{
      padding:22px;
    }

    .doc-title{
      font-size:18px;
      font-weight:700;
      margin-bottom:12px;
    }

    .doc-status{
      color:#18a558;
      font-weight:600;
      margin-bottom:14px;
    }

    .icon-box{
      width:80px;
      height:80px;
      border-radius:50%;
      background:#1f8f95;
      display:flex;
      align-items:center;
      justify-content:center;
      color:#fff;
      font-size:36px;
      margin:auto;
    }

    .qr-box img{
      width:100px;
      height:100px;
    }

    .info-row{
      font-size:14px;
      margin-bottom:8px;
    }

    .doc-footer{
      font-size:12px;
      color:#777;
      text-align:center;
      padding:14px 18px;
      border-top:1px solid #eee;
    }

  .profile-cover{
  position: relative;
  width: 100%;
  height: 180px;
  overflow: hidden;
}

.profile-cover img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cover-btn{
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 22px;
  border: none;
  background: rgba(0,0,0,0.55);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: all .25s ease;
  z-index: 2;
}

.cover-btn i{
  font-size: 16px;
}

.cover-btn:hover{
  background: #0ea394;
  transform: scale(1.05);
}


/* استایل جدید آواتار بدون پوزیشن Absolute */
.avatar-wrapper {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: #fff;
  padding: 4px;
  box-shadow: 0 6px 18px rgba(18,24,45,0.12);
  flex-shrink: 0; /* جلوگیری از فشرده یا دفرمه شدن عکس در فایرفاکس و سافاری */
  cursor: pointer;
}
   .avatar-wrapper img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}
    .profile-info {
  display: flex;
  justify-content: center; /* متن‌ها یک طرف، عکس طرف دیگر */
  align-items: center;            /* تراز شدن عمودی المان‌ها */
  direction: rtl;                 /* تضمین راست به چپ بودن */
  text-align: right;
  margin-top: 20px;
  margin-bottom: 20px;
  padding: 0 20px;
}

/* کانتینر اصلی پاپ‌آپ (در حالت عادی پنهان است) */
.avatar-modal {
  display: none; 
  position: fixed;
  z-index: 9999; /* بالاتر از تمام المان‌های صفحه */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.75); /* پس‌زمینه تیره و نیمه‌شفاف */
  backdrop-filter: blur(8px); /* افکت جذاب مات شدن پشت پاپ‌آپ */
  align-items: center;
  justify-content: center;
}

/* استایل عکس بزرگ شده */
.modal-content1 {
  max-width: 85%;
  max-height: 75vh;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
  object-fit: contain;
  
  /* انیمیشن نرم برای باز شدن عکس */
  animation: zoomEffect 0.3s ease-out;
}

/* دکمه ضربدر برای بستن */
.close-modal {
  position: absolute;
  top: 20px;
  right: 25px;
  color: #fff;
  font-size: 35px;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.2s;
}

.close-modal:hover {
  transform: scale(1.15);
}

/* تعریف انیمیشن زوم */
@keyframes zoomEffect {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
/* کانتینر متن‌ها برای مدیریت فاصله‌ها */
.profile-text {
  display: flex;
  flex-direction: column;
  gap: 4px; /* فاصله عمودی بین نام و آدرس */
}
    .profile-info h2 {
  font-weight: 700;
  font-size: 20px;
  margin: 0;
}
 .profile-info p {
  color: var(--muted);
  margin: 0 0 5px 0;
}

    /* اصلاح مارجین لوکیشن برای هماهنگی با طرح جدید */
.location-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  margin-bottom: 0; /* حذف مارجین اضافی */
  font-size: 13px;
}
    .location-row .pin{
      background: var(--primary-teal);
      color: #fff;
      width: 28px;
      height: 28px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border-radius: 8px;
      box-shadow: 0 4px 12px rgba(47,178,74,0.15);
    }

    .action-row{
      display: flex;
      justify-content: center;
      gap: 10px;
      margin-bottom: 30px;
    }
    .action-row .btn{
      min-width: 140px;
      border-radius: 12px;
      padding: 10px;
      font-weight: 600;
    }
    .btn-contact-profile{
      background: var(--primary-teal);
      color: #fff;
      border: none;
    }
    .btn-chat{
     background: var(--primary-teal);
      color: #fff;
      border: none;
    }
.icon-menu{
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: nowrap;       /* ❌ اجازه شکستن نده */
  overflow-x: auto;        /* ✔ در موبایل اسکرول افقی */
  padding-bottom: 10px;
}

.icon-menu::-webkit-scrollbar{
  height: 4px;
}

.icon-item{
  background: #fff;
  border-radius: 12px;
  text-align: center;
  padding: 12px 16px;
  width: 90px;             /* ✔ عرض ثابت؛ تغییر نخواهد کرد */
  min-width: 90px;         /* ✔ جلوگیری از کوچکتر شدن */
  box-shadow: 0 6px 16px rgba(8,20,40,0.04);
  font-size: 13px;
  color: #1b2a30;
  transition: all 0.3s;
  flex-shrink: 0;          /* ❗ جلوگیری از فشرده شدن */
}

.icon-item i{
  font-size: 20px;
  color: var(--primary-teal);
  display:block;
  margin-bottom: 6px;
}

/* .icon-item:hover{
  background: var(--primary-teal);
  color: #fff;
  transform: translateY(-3px);
}

.icon-item:hover i{
  color: #fff;
} */

.icon-item.active {
    background: var(--primary-teal) !important;
    color: #fff !important;
    border: 1px solid var(--primary-teal) !important;
}

.icon-item.active i {
    color: #fff !important;
}


    /* کارت‌ها */
   .listing-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(8,20,40,0.05);
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #0f2b34;
  padding: 10px;
  transition: all 0.3s;
  flex-direction: row-reverse; /* ✅ عکس میاد سمت چپ */
}

.listing-info {
  flex: 1;
  text-align: right; /* متن در سمت راست */
}

    .listing-card:hover{
      transform: translateY(-3px);
      box-shadow: 0 8px 20px rgba(8,20,40,0.1);
    }

    .listing-info .listing-title{
      font-weight: 700;
      font-size: 14px;
      margin-bottom: 5px;
    }
    .listing-info .listing-meta{
      font-size: 12px;
      color: var(--muted);
    }

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

.header {
    background-color: var(--clr-white);
    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: 43px;
        width: 280px;
    }

    .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; */
    background-color: var(--clr-white) !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;
}

.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;
    box-shadow: var(--shadow-lg);
    border-radius: 10px;
}

.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-radius: 8px;
    box-shadow: var(--shadow);
}
.bazar__link:hover .bazar__img {
    opacity: 0.7;
    transform: scale(1.05);
}
.swiper__banner{
    max-height: 140px;
    border-radius: 30px;
}

.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); */
    box-shadow: var(--shadow-2xl);
}

@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(--color-black);
    text-decoration-color: var(--clr-green);
    text-decoration-thickness: 4px;
    text-underline-offset: 12px;
}

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

.footer__item:hover {
    color: var(--clr-green);
    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;
    background-color: #f1f0f0;
}

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

.footer__social:hover {
    background-color: var(--clr-green);
    transform: scale(1.1); /* کمی بزرگ‌تر شدن */
}
.footer__social:hover i {
    color: white !important;
}

/* ***************** mobile footer ************************************* */
.mobile-footer {
    z-index: 100;
    background-color: #0ea394;
    box-shadow:var(--shadow-inner);
}

.mobile-footer ul li i{
    color: white
}

.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;
}


/* ********************* bahami page ******************* */
.box {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.box-header {
    background-color: #009688;
    color: white;
    padding: 12px;
    font-weight: bold;
    text-align: center;
}

.box-body {
    padding: 15px;
    font-size: 14px;
    color: #333;
}

.box-title {
    margin: 0;
}

