/* ================================================================
   GildaLand — Job-Board Style Overlay
   ================================================================
   تم پایه Finder (روشن برای محتوا، تیره برای navbar/hero/footer).
   این فایل فقط رنگ‌های برند و چند tweak اضافه می‌کند.
   ================================================================ */

:root {
  --gilda-orange: #F97316;
  --gilda-orange-hover: #ea6c0a;
  --gilda-orange-soft: rgba(249,115,22,.1);
  --gilda-green: #14532D;
  --gilda-green-light: #166534;
  --gilda-yellow: #FDE68A;
  --gilda-dark: #1f1b2d;
  --gilda-accent: #f43f5e;
  --gilda-accent-soft: rgba(244,63,94,.1);
}

/* ─────────────────────────────── PRIMARY = نارنجی ─────────────── */
.btn-primary {
  background-color: var(--gilda-orange) !important;
  border-color: var(--gilda-orange) !important;
  color: #fff !important;
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background-color: var(--gilda-orange-hover) !important;
  border-color: var(--gilda-orange-hover) !important;
}
.btn-outline-primary {
  color: var(--gilda-orange) !important;
  border-color: var(--gilda-orange) !important;
}
.btn-outline-primary:hover { background:var(--gilda-orange) !important; color:#fff !important; }

.text-primary { color: var(--gilda-orange) !important; }
.bg-primary { background-color: var(--gilda-orange) !important; }
.bg-faded-primary { background-color: var(--gilda-orange-soft) !important; }
.text-primary.bg-faded-primary { color: var(--gilda-orange) !important; }

/* Override Finder's old orange #fd5631 wherever it appears */
.card-title { color: #1f1b2d !important; }
.card.bg-secondary .card-title { color: #1f1b2d !important; }
.card.bg-secondary:not(.collapsed) .card-title { color: var(--gilda-orange) !important; }
[style*="#fd5631"], [style*="rgb(253, 86, 49)"] { color: var(--gilda-orange) !important; }
/* .nav-link.active در navbar سفید — مطابق car-finder */
header.navbar .nav-link.active,
header.navbar .nav-item.active > .nav-link { color: #ffffff !important; }
.btn-link:not(.btn-light) { color: var(--gilda-orange) !important; }
.btn-link:not(.btn-light):hover { color: var(--gilda-orange-hover) !important; }

/* nav-pills outside navbar — برند نارنجی */
.nav-pills:not(.navbar-nav) .nav-link {
  color: #666276;
  font-size: .938rem;
  padding: .5rem 1rem;
}
.nav-pills:not(.navbar-nav) .nav-link:hover { color: var(--gilda-orange); }
.nav-pills:not(.navbar-nav) .nav-link.active {
  color: var(--gilda-orange) !important;
  background-color: rgba(249,115,22,.08) !important;
  border-radius: 50rem;
}

/* btn-light-primary مطابق برند */
.btn-light-primary {
  background-color: #fff !important;
  color: var(--gilda-orange) !important;
}
.btn-light-primary:hover {
  background-color: var(--gilda-orange) !important;
  color: #fff !important;
}

/* collapse-label */
.collapse-label {
  display: inline-block;
  color: var(--gilda-orange);
  font-size: .875rem;
  text-decoration: none;
  font-weight: 500;
}
.collapse-label::after {
  content: attr(data-bs-label-collapsed);
}
.collapse-label[aria-expanded="true"]::after {
  content: attr(data-bs-label-expanded);
}
.collapse-label:hover { text-decoration: underline; }

/* ─────────────────────────────── city detail (blog-style) ─── */
.city-body p { line-height: 1.8; margin-bottom: 1rem; color: #454056; }
.city-body h2, .city-body h3, .city-body h4 {
  margin-top: 1.75rem;
  margin-bottom: .75rem;
  color: #1f1b2d;
}
.city-body ul, .city-body ol { padding-right: 1.25rem; line-height: 1.8; }
.city-body a { color: var(--gilda-orange); text-decoration: none; }
.city-body a:hover { text-decoration: underline; }

/* blockquote برند */
.blog-details blockquote.blockquote,
.city-body blockquote {
  background: rgba(249,115,22,.04);
  padding: 1.25rem 1.5rem;
  border-radius: .5rem;
  margin: 1.5rem 0;
}
.blog-details blockquote p {
  color: #1f1b2d;
  font-weight: 500;
}
.blog-details blockquote footer { color: #6c757d; }

/* card-flush */
.card-flush {
  background: transparent;
  border: 1px solid #efecf3;
  border-radius: .5rem;
}

/* ─────────────────────────────── city-tree (sidebar شهرها) ── */
.city-tree {
  display: flex;
  flex-direction: column;
}
.city-tree-item {
  border-bottom: 1px solid #efecf3;
}
.city-tree-item:last-child { border-bottom: none; }

.city-tree-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .625rem 0;
  color: #1f1b2d;
  font-size: .9rem;
  font-weight: 500;
  text-decoration: none;
  transition: color .2s ease-in-out;
}
.city-tree-link:hover { color: var(--gilda-orange); }
.city-tree-link.active { color: var(--gilda-orange); }

.city-tree-children {
  padding-right: 1.25rem;
  padding-bottom: .5rem;
  margin-right: .5rem;
  border-right: 2px solid var(--gilda-orange-soft);
}
.city-tree-sublink {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .375rem 0;
  color: #666276;
  font-size: .825rem;
  font-weight: 400;
  text-decoration: none;
  transition: color .2s ease-in-out;
}
.city-tree-sublink:hover { color: var(--gilda-orange); }

/* ─────────────────────────────── breadcrumb بهبودیافته ────── */
.breadcrumb {
  background: #ffffff;
  padding: .625rem 1.125rem;
  margin-bottom: 0;
  border-radius: 50rem;
  box-shadow: 0 2px 12px rgba(31,27,45,.05);
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  border: 1px solid #efecf3;
  line-height: 1;
}

.breadcrumb-item {
  display: inline-flex;
  align-items: center;
  font-size: .9rem;
  font-weight: 500;
  line-height: 1;
}

.breadcrumb-item a {
  color: #1f1b2d;
  text-decoration: none;
  transition: color .2s ease-in-out;
  display: inline-flex;
  align-items: center;
  line-height: 1;
}
.breadcrumb-item a:hover {
  color: var(--gilda-orange);
}

/* جداکننده — آیکن fi-chevron-left از finder-icons */
.breadcrumb-item + .breadcrumb-item {
  padding-right: 0;
}
.breadcrumb-item + .breadcrumb-item::before {
  content: "\e951";
  font-family: "finder-icons" !important;
  font-style: normal;
  font-weight: normal;
  color: #bbb7c5;
  font-size: .75rem;
  margin: 0 .75rem;
  display: inline-block;
  vertical-align: middle;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* breadcrumb-item فعال (صفحه فعلی) — کم‌رنگ‌تر */
.breadcrumb-item.active {
  color: #9691a4 !important;
  font-weight: 500;
}

/* روی دارک */
.bg-dark .breadcrumb,
header.navbar .breadcrumb {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.1);
  box-shadow: none;
}
.bg-dark .breadcrumb-item a { color: #ffffff; }
.bg-dark .breadcrumb-item.active { color: rgba(255,255,255,.5) !important; }
.bg-dark .breadcrumb-item + .breadcrumb-item::before {
  border-color: rgba(255,255,255,.3);
}

.btn-light-primary, .btn-translucent-primary { color: var(--gilda-orange) !important; }

a.text-primary:hover { color: var(--gilda-orange-hover) !important; }

/* ─────────────────────────────── ACCENT (purple/rose) ─────────── */
.text-accent { color: var(--gilda-accent) !important; }
.bg-faded-accent { background-color: var(--gilda-accent-soft) !important; }
.text-danger { color: var(--gilda-accent) !important; }
.bg-faded-danger { background-color: var(--gilda-accent-soft) !important; }

/* ─────────────────────────────── NAVBAR DARK (car-finder style) ── */
header.navbar.bg-dark {
  background-color: var(--gilda-dark) !important;
  padding-top: .75rem;
  padding-bottom: .75rem;
}

/* لینک‌های ناوبار — سایز .938rem (default در Finder)، rgba(255,255,255,.6) ─ هاور سفید */
header.navbar .nav-link {
  color: rgba(255,255,255,.6) !important;
  font-size: .938rem;
  font-weight: 400;
  padding: .5rem .875rem !important;
  transition: color .2s ease-in-out;
}
header.navbar .nav-link:hover,
header.navbar .nav-link:focus {
  color: #ffffff !important;
}
header.navbar .nav-link.active,
header.navbar .nav-item.active > .nav-link,
header.navbar .dropdown-toggle.show {
  color: #ffffff !important;
}

/* دکمه‌های ناوبار */
header.navbar .btn-link.btn-light,
header.navbar .btn.btn-light {
  color: rgba(255,255,255,.6) !important;
  font-size: .875rem;
  font-weight: 500;
  padding: .375rem .75rem !important;
  text-decoration: none;
}
header.navbar .btn-link.btn-light:hover,
header.navbar .btn.btn-light:hover {
  color: #ffffff !important;
}
header.navbar .btn-primary.btn-sm {
  font-size: .875rem;
  font-weight: 500;
  padding: .5rem 1rem !important;
  border-radius: .3125rem !important;
}

/* لوگوی متنی */
.logo-fa {
  font-family: Tahoma, "B Nazanin", "Iran Sans", "Vazir", sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -.5px;
  white-space: nowrap;
  line-height: 1;
}
.logo-tagline {
  font-family: Tahoma, "B Nazanin", "Iran Sans", "Vazir", sans-serif;
  font-size: .65rem;
  font-weight: 500;
  color: rgba(255,255,255,.55) !important;
  margin-top: 3px;
  white-space: nowrap;
}
footer.footer .logo-tagline { color: rgba(255,255,255,.55) !important; }

/* ─────────────────────────────── HERO (DARK) ─────────────────── */
/* CRITICAL: همه bg-dark باید متن سفید داشته باشند تا روی بک‌گراند تیره دیده شوند */
.bg-dark,
section.bg-dark,
header.navbar.bg-dark,
footer.footer.bg-dark {
  background-color: var(--gilda-dark) !important;
  color: rgba(255,255,255,.95) !important;
}
.bg-dark p,
.bg-dark span:not(.badge):not(.dropdown-toggle-label),
.bg-dark li,
.bg-dark h1,
.bg-dark h2,
.bg-dark h3,
.bg-dark h4,
.bg-dark h5,
.bg-dark h6,
.bg-dark label,
.bg-dark div:not([style*="background"]) {
  color: inherit;
}
.bg-dark .text-light,
.bg-dark .text-white { color: #fff !important; }
.bg-dark .text-muted { color: rgba(255,255,255,.55) !important; }
.bg-dark .text-primary { color: var(--gilda-orange) !important; }
.bg-dark .opacity-70 { opacity: 1 !important; color: rgba(255,255,255,.75) !important; }
.bg-dark .opacity-60 { opacity: 1 !important; color: rgba(255,255,255,.65) !important; }
.bg-dark .opacity-50 { opacity: 1 !important; color: rgba(255,255,255,.55) !important; }
.bg-dark a:not(.btn):not(.dropdown-item):not(.nav-link-light) { color: rgba(255,255,255,.85); }
.bg-dark a:not(.btn):not(.dropdown-item):not(.nav-link-light):not(.nav-link):hover { color: #ffffff; }

/* ─────────────────────────────── فرم جستجو روی Hero ────────── */
.form-group-light {
  background-color: rgba(255,255,255,.08) !important;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 0 !important;
  padding: .5rem !important;
}

/* فرم جستجوی Hero — در دسکتاپ ۵۰٪ عرض container */
.hero-search-form {
  max-width: 100%;
}
@media (min-width: 768px) {
  .hero-search-form {
    max-width: 70%;
  }
}
@media (min-width: 1200px) {
  .hero-search-form {
    max-width: 65%;
  }
}
.form-group-light .form-control,
.form-group-light .dropdown-toggle {
  background-color: transparent !important;
  border: none !important;
  color: #fff !important;
}
.form-group-light .form-control::placeholder { color: rgba(255,255,255,.55) !important; }
.form-group-light .dropdown-toggle-label { color: rgba(255,255,255,.85) !important; }
.form-group-light .input-group-text {
  background: transparent !important;
  color: rgba(255,255,255,.6) !important;
  border: none !important;
}
.border-light { border-color: rgba(255,255,255,.18) !important; }

/* فرم جستجوی Hero — dropdownها زیر toggle (default) و وسط‌چین */
.form-group-light .dropdown > .dropdown-menu {
  top: 100%;
  bottom: auto !important;
  margin-top: .5rem;
  margin-bottom: 0;
  left: 50% !important;
  right: auto !important;
  transform: translateX(-50%);
  min-width: 220px;
  max-height: 320px;
  overflow-y: auto;
  padding: .5rem !important;
}
/* هر آیتم به‌شکل باکس مجزا با خط دور — وسط‌چین */
.form-group-light .dropdown > .dropdown-menu .dropdown-item {
  text-align: center !important;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: .5rem;
  margin-bottom: .35rem;
  padding: .55rem 1rem;
}
.form-group-light .dropdown > .dropdown-menu .dropdown-item:last-child {
  margin-bottom: 0;
}
.form-group-light .dropdown > .dropdown-menu .dropdown-item:hover,
.form-group-light .dropdown > .dropdown-menu .dropdown-item:focus {
  border-color: var(--gilda-orange);
}

/* موبایل: حذف بک‌گراند/سایه form-group-light + هر آیتم جدا */
@media (max-width: 767.98px) {
  .form-group-light {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
  }
  .form-group-light .row {
    margin-right: 0;
    margin-left: 0;
  }
  .form-group-light .row > [class*="col-"] {
    margin-bottom: .625rem;
    padding-right: 0;
    padding-left: 0;
  }
  /* هر dropdown مثل یک input مستقل */
  .form-group-light .dropdown > .dropdown-toggle {
    background: rgba(255,255,255,.06) !important;
    border-radius: .5rem !important;
    padding: .75rem 1rem !important;
    border: 1px solid rgba(255,255,255,.12) !important;
  }
  /* hr جداکننده‌ها بدون نیاز */
  .form-group-light .hr-light {
    display: none !important;
  }
  /* dropdown menu موبایل: تمام عرض، زیر toggle */
  .form-group-light .dropdown > .dropdown-menu {
    left: 0 !important;
    right: 0 !important;
    transform: none !important;
    width: 100%;
    min-width: 100%;
  }
  /* جداکننده عمودی border-end حذف بشه روی موبایل */
  .form-group-light .border-end-md {
    border: none !important;
  }
}
.hr-light { border-color: rgba(255,255,255,.18); }

/* btn-translucent-light (تگ‌های جستجوی محبوب) */
.btn-translucent-light {
  background-color: rgba(255,255,255,.08) !important;
  color: rgba(255,255,255,.9) !important;
  border: none;
}
.btn-translucent-light:hover {
  background-color: rgba(255,255,255,.15) !important;
  color: #fff !important;
}

/* ─────────────────────────────── دسته‌بندی pill ────────────── */
.icon-box.bg-secondary {
  background-color: #f5f4f8 !important;
  transition: all .25s;
}
.icon-box.bg-secondary:hover {
  background-color: #efecf3 !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(31,27,45,.1);
}
.icon-box-media.bg-light {
  background-color: #ffffff !important;
  color: var(--gilda-orange) !important;
  width: 44px;
  height: 44px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

/* ─────────────────────────────── کارت‌ها ─────────────────────── */
.card.bg-secondary {
  background-color: #f5f4f8 !important;
  border: none !important;
  cursor: pointer;
  transition: all .2s;
}
.card.bg-secondary:hover {
  background-color: #efecf3 !important;
}
.card.bg-secondary.collapsed h3.card-title {
  color: #454056;
}
.card-hover {
  transition: all .25s ease-in-out;
}
.card-hover:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(31,27,45,.12) !important;
}

/* ─────────────────────────────── FOOTER (car-finder style) ──── */
/* فوتر پس‌زمینه تیره با لایه faded-light شفاف */
footer.footer.bg-faded-light,
footer.footer {
  background-color: var(--gilda-dark) !important;
  position: relative;
}
footer.footer.bg-faded-light::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(255,255,255,.02);
  pointer-events: none;
}
footer.footer > * { position: relative; z-index: 1; }

/* عناوین فوتر */
footer.footer h3.h5 {
  font-size: 1.125rem;
  font-weight: 500;
  color: #ffffff !important;
}
footer.footer h3.fs-base {
  font-size: 1rem;
  font-weight: 500;
  color: #ffffff !important;
  margin-bottom: 1rem;
}
footer.footer p { color: rgba(255,255,255,.6) !important; }
footer.footer .text-light { color: #ffffff !important; }
footer.footer .text-light.opacity-70,
footer.footer .opacity-70 { opacity: 1 !important; color: rgba(255,255,255,.6) !important; }
footer.footer .text-light.opacity-50,
footer.footer .opacity-50 { opacity: 1 !important; color: rgba(255,255,255,.45) !important; }

/* لینک‌های nav-link-light — رنگ پیش‌فرض/هاور car-finder */
.nav-link-light,
footer.footer .nav-link-light {
  color: rgba(255,255,255,.6) !important;
  font-weight: 400;
  padding: .375rem 0;
  display: inline-block;
  text-decoration: none;
  transition: color .2s ease-in-out;
}
.nav-link-light:hover,
.nav-link-light:focus,
footer.footer .nav-link-light:hover {
  color: #ffffff !important;
}
.nav-link-light.active { color: #ffffff !important; }

/* لینک قانونی پایین فوتر (nav-link nav-link-light کنار هم) */
footer.footer .nav-link.nav-link-light {
  padding: .25rem .75rem;
  font-size: .875rem;
}

/* خط‌های جداکننده */
footer.footer .border-light,
.border-light { border-color: rgba(255,255,255,.1) !important; }

/* آیکن‌های شبکه‌های اجتماعی */
.btn-translucent-light {
  background-color: rgba(255,255,255,.06) !important;
  color: rgba(255,255,255,.8) !important;
  border: none;
  transition: all .2s;
}
.btn-translucent-light:hover {
  background-color: var(--gilda-orange) !important;
  color: #fff !important;
}
.btn-translucent-light.btn-icon.btn-xs {
  width: 2rem;
  height: 2rem;
}

/* dropdown‌های فوتر (انتخاب شهر/تلفن) */
footer.footer .btn-light.btn-link {
  color: rgba(255,255,255,.6) !important;
  font-size: .875rem;
  font-weight: 400;
  text-decoration: none;
}
footer.footer .btn-light.btn-link:hover {
  color: #ffffff !important;
}

/* فرم خبرنامه */
footer.footer .form-group-light {
  background-color: rgba(255,255,255,.05) !important;
  border: 1px solid rgba(255,255,255,.1) !important;
  border-radius: .3125rem !important;
  padding: .25rem !important;
}
footer.footer .form-group-light .form-control {
  background: transparent !important;
  border: none !important;
  color: #ffffff !important;
  font-size: .875rem;
}
footer.footer .form-group-light .form-control::placeholder {
  color: rgba(255,255,255,.45) !important;
}
footer.footer .form-group-light .input-group-text {
  background: transparent !important;
  border: none !important;
  color: rgba(255,255,255,.55) !important;
}
footer.footer .form-group-light .btn-primary {
  border-radius: .25rem !important;
}

/* آیکن‌های فوتر */
footer.footer .fi-device-mobile,
footer.footer .fi-mail,
footer.footer .fi-clock,
footer.footer .fi-map-pin {
  color: var(--gilda-orange);
  opacity: .9;
}

/* ─────────────────────────────── فرم focus ───────────────── */
.form-control:focus,
.form-select:focus {
  border-color: var(--gilda-orange) !important;
  box-shadow: 0 0 0 .2rem var(--gilda-orange-soft) !important;
}

/* ─────────────────────────────── dropdown menus ─────────── */
/* dropdown-menu-dark دقیقاً مثل car-finder */
.dropdown-menu-dark {
  background-color: var(--gilda-dark) !important;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 8px 24px rgba(0,0,0,.3);
  padding: .5rem 0;
}
.dropdown-menu-dark .dropdown-item {
  color: rgba(255,255,255,.7) !important;
  padding: .5rem 1.25rem;
  font-size: .875rem;
  transition: all .15s ease-in-out;
}
.dropdown-menu-dark .dropdown-item:hover,
.dropdown-menu-dark .dropdown-item:focus {
  background-color: rgba(255,255,255,.06) !important;
  color: #ffffff !important;
}
.dropdown-menu-dark .dropdown-item.active,
.dropdown-menu-dark .dropdown-item:active {
  background-color: rgba(255,255,255,.1) !important;
  color: #ffffff !important;
}
.dropdown-menu-dark .dropdown-divider { border-color: rgba(255,255,255,.08) !important; }
.dropdown-menu-dark .dropdown-item.fw-bold { color: #ffffff !important; }
.dropdown-menu-dark .dropdown-item.fw-bold:hover { background-color: rgba(255,255,255,.06) !important; }

/* nested dropdown — فلش به سمت چپ (مثل breadcrumb)، submenu سمت چپ باز می‌شود */
/* حذف فلش پیش‌فرض dropdown-toggle */
.dropdown-menu-dark .dropdown.dropend > .dropdown-toggle::before,
.dropdown-menu-dark .dropdown.dropend > .dropdown-toggle::after {
  display: none;
}
/* فلش با آیکن fi-chevron-left (مطابق breadcrumb) — کاملاً وسط‌چین عمودی */
.dropdown-menu-dark .dropdown.dropend > .dropdown-toggle {
  position: relative;
  padding-left: 1.75rem;
}
.dropdown-menu-dark .dropdown.dropend > .dropdown-toggle::after {
  display: block !important;
  content: "\e951" !important;
  font-family: "finder-icons" !important;
  font-style: normal;
  font-weight: normal;
  color: rgba(255,255,255,.5);
  font-size: .65rem;
  position: absolute !important;
  left: .75rem !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  margin: 0 !important;
  line-height: 1 !important;
  border: none !important;
  float: none !important;
  width: auto !important;
  height: auto !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.dropdown-menu-dark .dropdown.dropend:hover > .dropdown-toggle::after {
  color: rgba(255,255,255,.9);
}
/* submenu سمت چپ والد (در RTL: end direction = چپ، جهتی که فلش نشان می‌دهد) */
.dropdown-menu-dark .dropdown.dropend > .dropdown-menu {
  top: 0;
  left: auto !important;
  right: 100% !important;
  margin-top: 0;
  margin-left: 0;
  margin-right: .125rem;
}
/* hover خودکار در دسکتاپ */
@media (min-width: 992px) {
  .dropdown-menu-dark .dropdown.dropend:hover > .dropdown-menu {
    display: block;
  }
}

/* ─────────────────────── offcanvas موبایل (Finder style) ─── */
@media (max-width: 991.98px) {
  /* offcanvas mobile menu — تم روشن مطابق sample */
  .offcanvas.hamburger {
    background: #ffffff !important;
    color: #1f1b2d !important;
  }
  .offcanvas.hamburger .offcanvas-header {
    border-bottom: 1px solid #efecf3;
    padding: 1rem 1.25rem;
  }
  .offcanvas.hamburger .offcanvas-title {
    color: #1f1b2d !important;
    font-weight: 600;
  }
  .offcanvas.hamburger .navbar-nav {
    padding: .75rem;
    gap: .375rem;
    display: flex;
    flex-direction: column;
  }
  /* border دور هر آیتم — مثل sample */
  .offcanvas.hamburger .navbar-nav .nav-item {
    border: 1px solid #d5d2dc !important;
    border-radius: .5rem !important;
    padding: 0 !important;
    margin: 0 !important;
    background: #ffffff;
    transition: border-color .2s, background .2s;
  }
  .offcanvas.hamburger .navbar-nav .nav-item:hover,
  .offcanvas.hamburger .navbar-nav .nav-item.show {
    border-color: var(--gilda-orange) !important;
    background: rgba(249,115,22,.04);
  }
  .offcanvas.hamburger .nav-link {
    color: #1f1b2d !important;
    padding: .75rem 1rem !important;
    font-weight: 500;
    background: transparent !important;
  }
  /* override navbar-dark hover white که در offcanvas سفید نامرئی می‌شه */
  .offcanvas.hamburger .nav-link:hover,
  .offcanvas.hamburger .nav-link:focus,
  .offcanvas.hamburger .nav-link.active,
  .offcanvas.hamburger .nav-item:hover > .nav-link:not(.disabled),
  .offcanvas.hamburger .nav-item.active > .nav-link:not(.disabled),
  .offcanvas.hamburger .nav-item.show > .nav-link:not(.disabled) {
    color: var(--gilda-orange) !important;
  }
  .offcanvas.hamburger .nav-link.disabled {
    color: #9691a4 !important;
  }
  /* dropdown menu inside offcanvas → inline */
  .offcanvas.hamburger .dropdown-menu {
    background: rgba(20,83,45,.03) !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0;
    margin: 0;
    padding: .25rem 0;
  }
  .offcanvas.hamburger .dropdown-menu.dropdown-menu-dark {
    background: rgba(20,83,45,.03) !important;
  }
  .offcanvas.hamburger .dropdown-item {
    color: #454056 !important;
    padding: .5rem 2rem !important;
    font-size: .9rem;
  }
  .offcanvas.hamburger .dropdown-item:hover,
  .offcanvas.hamburger .dropdown-item.active {
    background: rgba(249,115,22,.06) !important;
    color: var(--gilda-orange) !important;
  }
  .offcanvas.hamburger .dropdown-item.fw-bold {
    color: #1f1b2d !important;
  }
  /* nested dropdown — indent بیشتر */
  .offcanvas.hamburger .dropdown-menu .dropdown .dropdown-menu {
    background: rgba(20,83,45,.06) !important;
    padding-right: 1rem;
  }
  .offcanvas.hamburger .dropdown-menu .dropdown .dropdown-item {
    padding-right: 2.5rem !important;
  }
  /* جداکننده */
  .offcanvas.hamburger .dropdown-divider {
    border-color: #efecf3;
    margin: .25rem 0;
  }
  .offcanvas.hamburger .dropdown-item-text {
    color: #9691a4 !important;
    font-size: .75rem !important;
    padding: .5rem 2rem .25rem !important;
    text-transform: uppercase;
    letter-spacing: .5px;
  }
}
.dropdown-item-text {
  display: block;
  padding: .5rem 1.25rem;
  color: rgba(255,255,255,.5);
  font-size: .8rem;
  text-align: right !important;
  width: 100%;
}

.dropdown-menu:not(.dropdown-menu-dark) {
  border: 1px solid #efecf3;
  box-shadow: 0 8px 24px rgba(31,27,45,.08);
}
.dropdown-menu:not(.dropdown-menu-dark) .dropdown-item:hover {
  background-color: var(--gilda-orange-soft) !important;
  color: var(--gilda-orange) !important;
}

/* ─────────────────────────────── pagination ─── */
.breadcrumb-light .breadcrumb-item a { color: var(--gilda-orange) !important; }
.pagination-light .page-link:hover { color: var(--gilda-orange) !important; }
.pagination-light .page-item.active .page-link {
  background-color: var(--gilda-orange) !important;
  border-color: var(--gilda-orange) !important;
  color: #fff !important;
}

/* ─────────────────────────────── card-nav-link برند ──────── */
.card-nav-link { color: #454056; transition: color .15s; }
.card-nav-link:hover,
.card-nav-link.active { color: var(--gilda-orange) !important; }
.card-nav-link.active::before { background-color: var(--gilda-orange) !important; }

/* ─────────────────────────────── card-horizontal تنظیمات ── */
.card-horizontal .card-img-top {
  background-size: cover;
  background-position: center;
  min-height: 200px;
}
@media (min-width: 576px) {
  .card-horizontal .card-img-top { min-width: 220px; }
}

/* ─────────────────────────────── badge ─────────────────────── */
.badge.bg-info, .bg-faded-info {
  background-color: #14b8a6 !important;
  color: #fff !important;
}
.bg-faded-info { background-color: rgba(20,184,166,.12) !important; color:#0d9488 !important; }

/* ─────────────────────────────── جداکننده عمودی ────────── */
.hr-vertical {
  display: block;
  width: 1px;
  height: 100%;
  background: #efecf3;
  border: none;
  margin: 0;
}

/* ─────────────────────────────── scroll-top ───────────────── */
.btn-scroll-top {
  background-color: var(--gilda-dark) !important;
  color: #fff !important;
}

/* ─────────────────────────────── rounded section overlap ─── */
.rounded-xxl-4 { border-radius: 1.5rem !important; }
@media (max-width: 991px) {
  section.rounded-xxl-4 { border-radius: 0 !important; }
}

/* ─────────────────────────────── جلوگیری از مشکل text-light در محتوا ─── */
main.page-wrapper > section:not(.bg-dark) {
  background-color: #ffffff;
}
main.page-wrapper > section:not(.bg-dark) .text-light {
  color: #1f1b2d !important;
}

/* ─────────────────────────────── body default ──────────────── */
body {
  background-color: #ffffff;
  color: #1f1b2d;
}

/* فضای بالای body برای navbar فیکس */
main.page-wrapper {
  padding-top: 0;
}

/* ─────────────────────────────── محتوای روشن (دفاعی) ────────── */
/* همه section های غیر تیره: متن تیره */
main.page-wrapper > section:not(.bg-dark),
main.page-wrapper > section:not(.bg-dark) p,
main.page-wrapper > section:not(.bg-dark) span:not(.badge),
main.page-wrapper > section:not(.bg-dark) li,
main.page-wrapper > section:not(.bg-dark) h1,
main.page-wrapper > section:not(.bg-dark) h2,
main.page-wrapper > section:not(.bg-dark) h3,
main.page-wrapper > section:not(.bg-dark) h4,
main.page-wrapper > section:not(.bg-dark) h5,
main.page-wrapper > section:not(.bg-dark) h6 {
  color: #1f1b2d;
}

/* استثناها در محتوای روشن */
main.page-wrapper > section:not(.bg-dark) .text-primary { color: var(--gilda-orange) !important; }
main.page-wrapper > section:not(.bg-dark) .text-muted { color: #6c757d !important; }
main.page-wrapper > section:not(.bg-dark) .text-accent { color: var(--gilda-accent) !important; }
main.page-wrapper > section:not(.bg-dark) .text-danger { color: var(--gilda-accent) !important; }
main.page-wrapper > section:not(.bg-dark) .text-success { color: #14532D !important; }
/* text-light به خودی خود روی محتوای روشن نامرئی است → تیره کن */
main.page-wrapper > section:not(.bg-dark) .text-light { color: #1f1b2d !important; }
/* opacity در محتوای روشن */
main.page-wrapper > section:not(.bg-dark) .opacity-70 { opacity: 1 !important; color: #4a4458 !important; }
main.page-wrapper > section:not(.bg-dark) .opacity-60 { opacity: 1 !important; color: #6c757d !important; }
main.page-wrapper > section:not(.bg-dark) .opacity-50 { opacity: 1 !important; color: #6c757d !important; }

/* ─────────────────────────────── navbar — رنگ‌های car-finder ── */
header.navbar.bg-dark .navbar-brand,
header.navbar.bg-dark .navbar-text {
  color: #ffffff !important;
}
header.navbar.bg-dark .navbar-toggler-icon {
  filter: brightness(2);
}
/* nav-link و btn-light رنگ‌شون در بخش قبلی تعریف شده (.6 → hover #fff) */

/* ─────────────────────────────── footer متن سفید (داخل bg-faded-light) ── */
footer.footer,
footer.footer p,
footer.footer span:not(.badge),
footer.footer div {
  color: rgba(255,255,255,.6);
}
footer.footer h1, footer.footer h2, footer.footer h3,
footer.footer h4, footer.footer h5, footer.footer h6 {
  color: #ffffff !important;
}
footer.footer .text-light,
footer.footer span.text-light { color: #ffffff !important; }
footer.footer .opacity-70 { opacity: 1 !important; color: rgba(255,255,255,.6) !important; }
footer.footer .opacity-50 { opacity: 1 !important; color: rgba(255,255,255,.45) !important; }
footer.footer .text-muted { color: rgba(255,255,255,.45) !important; }
footer.footer a:not(.btn):not(.nav-link-light):not(.dropdown-item) {
  color: rgba(255,255,255,.85);
  text-decoration: none;
}
footer.footer a:not(.btn):not(.nav-link-light):not(.dropdown-item):hover {
  color: #ffffff;
}

/* لوگوی متنی در navbar dark */
header.navbar.bg-dark .logo-fa,
header.navbar.bg-dark .logo-fa span {
  color: #fff !important;
}
header.navbar.bg-dark .logo-fa span[style*="F97316"] {
  color: var(--gilda-orange) !important;
}
header.navbar.bg-dark .logo-tagline {
  color: rgba(255,255,255,.55) !important;
}

