:root {
  --brand-gold: #caa400;
  --brand-gold-dark: #bd9a00;
  --brand-blue: #1e5bf0;
  --brand-blue-dark: #174bd0;
  --text-dark: #151515;
  --text-black: #111;
  --text-muted: #555;
  --muted-dark: #3f3f3f;
  --page-bg: #f8f9fb;
  --border-light: #e5e5e5;
  --border-soft: #ececec;
  --surface: #fff;
  --control-bg: #dedede;
  --shadow-soft: 0 4px 14px rgba(0, 0, 0, 0.1);
  --shadow-card: 0 8px 24px rgba(0, 0, 0, 0.08);
  --header-height: 72px;
}

* {
  box-sizing: border-box;
}

html,
body,
button,
input,
select,
textarea,
a {
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
}

body {
  margin: 0;
  color: var(--text-dark);
}

.lang-link span,
[lang="ar"],
.ar-text {
  font-family: "Vazirmatn", Tahoma, Arial, sans-serif;
}

a {
  text-decoration: none;
}

button {
  cursor: pointer;
}

/* ================================
   Header
================================ */

.site-header {
  width: 100%;
  background: var(--surface);
  border-bottom: 1px solid #eee;
}

.navbar {
  min-height: var(--header-height);
  padding: 0;
}

.nav-wrap {
  max-width: 1820px;
  padding: 0 42px;
  gap: 26px;
}

.logo-wrap {
  display: flex;
  align-items: center;
  padding: 0;
  margin-right: 48px;
}

.site-logo {
  width: 126px;
  height: auto;
  display: block;
}

.main-collapse {
  align-items: center;
}

.nav-menu {
  align-items: center;
  gap: 30px;
  margin-right: auto;
}

.nav-menu .nav-link {
  color: #050505;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  padding: 8px 0;
  white-space: nowrap;
}

.nav-menu .nav-link:hover,
.nav-menu .nav-link.active {
  color: #000;
}

.search-box {
  width: 525px;
  height: 46px;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin: 0 34px 0 24px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
}

.search-btn {
  width: 76px;
  height: 46px;
  border: 0;
  background: var(--brand-gold);
  color: #fff;
  font-size: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.search-input {
  flex: 1;
  height: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 0 22px;
  color: #333;
  font-size: 16px;
}

.search-input::placeholder {
  color: var(--text-muted);
  opacity: 1;
}

.right-actions,
.mobile-actions {
  display: flex;
  align-items: center;
}

.right-actions {
  gap: 20px;
  flex-shrink: 0;
}

.mobile-actions {
  display: none;
  gap: 18px;
  margin-left: auto;
}

.icon-link,
.lang-link,
.signin-link {
  color: #1a1a1a;
  display: inline-flex;
  align-items: center;
}

.icon-link {
  font-size: 20px;
  line-height: 1;
}

.lang-link {
  gap: 8px;
  font-size: 16px;
  font-weight: 800;
  white-space: nowrap;
}

.lang-link i {
  font-size: 18px;
}

.signin-link {
  gap: 10px;
  color: var(--muted-dark);
  font-size: 16px;
  font-weight: 400;
  white-space: nowrap;
}

.user-icon {
  width: 25px;
  height: 25px;
  border: 2px solid #1a1a1a;
  border-radius: 50%;
  color: var(--text-black);
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.divider {
  width: 2px;
  height: 34px;
  background: #222;
  display: inline-block;
}

.menu-toggle {
  width: 34px;
  height: 30px;
  padding: 0;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  margin-left: 6px;
}

.menu-toggle span {
  width: 30px;
  height: 2px;
  display: block;
  background: #555;
  border-radius: 999px;
}

/* ================================
   Listing Page Layout
================================ */

.listing-page {
  background: var(--page-bg);
  min-height: 100vh;
}

.page-container {
  max-width: 1600px;
  padding-left: 32px;
  padding-right: 32px;
}

.listing-section {
  padding: 18px 0 42px;
}

.listing-topbar {
  background: var(--surface);
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.topbar-inner {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.topbar-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.topbar-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-black);
  font-size: 16px;
  font-weight: 700;
}

.topbar-link i {
  font-size: 18px;
}

.topbar-link.active i {
  color: var(--brand-blue);
}

.topbar-link:nth-child(2) i {
  color: #14a44d;
}

.topbar-link:nth-child(3) i {
  color: #bb3f13;
}

.add-listing-btn {
  min-width: 174px;
  height: 44px;
  padding: 0 20px;
  border-radius: 8px;
  background: var(--brand-gold);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 800;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.18);
}

.add-listing-btn:hover {
  color: #fff;
  background: var(--brand-gold-dark);
}

/* ================================
   Content Header / Category Tabs
================================ */

.content-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 8px;
}

.category-tabs {
  display: flex;
  align-items: center;
  gap: 14px;
}

.category-tab {
  width: 96px;
  min-height: 56px;
  border: 0;
  border-radius: 10px;
  background: var(--surface);
  color: var(--text-black);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.category-tab:hover {
  background: #f4f4f4;
  transform: translateY(-1px);
}

.category-tab i {
  font-size: 24px;
}

.category-tab .category-icon {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.category-tab .category-icon i {
  font-size: 20px;
}

.category-tab.active,
.category-tab.active .category-icon i {
  background: #e4e4e4;
  color: var(--brand-blue);
}

/* ================================
   View / Select2 Controls
================================ */

.view-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.view-toggle {
  align-items: center;
  gap: 6px;
}

.view-toggle button,
.view-btn {
  width: 35px;
  height: 35px;
  border: 0;
  border-radius: 8px;
  background: #ddd;
  color: var(--text-black);
  font-size: 14px;
}

.view-toggle button.active,
.view-btn.active {
  background: var(--brand-gold);
  color: #fff;
}

.control-select {
  height: 36px;
  min-width: 138px;
  padding: 0 34px 0 12px;
  border: 0;
  border-radius: 8px;
  background-color: #ddd;
  color: #333;
  font-size: 14px;
  outline: none;
}

.select-control {
  position: relative;
  min-width: 230px;
}

.select-control.with-icon .select-left-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  z-index: 5;
  color: var(--text-black);
  font-size: 16px;
  transform: translateY(-50%);
  pointer-events: none;
}

.select-control.with-icon .select2-container,
.quick-select-control .select2-container {
  width: 100% !important;
}

.select-control.with-icon .select2-container--default .select2-selection--single,
.quick-select-control .select2-container--default .select2-selection--single {
  height: 44px !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: var(--control-bg) !important;
  display: flex !important;
  align-items: center !important;
  box-shadow: none !important;
}

.select-control.with-icon .select2-container--default .select2-selection--single .select2-selection__rendered {
  height: 44px !important;
  line-height: 44px !important;
  padding-left: 48px !important;
  padding-right: 42px !important;
  color: #222 !important;
  font-size: 16px !important;
  font-weight: 600 !important;
}

.select-control.with-icon .select2-container--default .select2-selection--single .select2-selection__arrow,
.quick-select-control .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 44px !important;
  width: 38px !important;
  right: 8px !important;
}

.select-control.with-icon .select2-container--default .select2-selection--single .select2-selection__arrow b,
.quick-select-control .select2-container--default .select2-selection--single .select2-selection__arrow b {
  border-color: var(--text-black) transparent transparent transparent !important;
  border-width: 6px 5px 0 5px !important;
  margin-top: -2px !important;
}

.select-control.with-icon .select2-container--default.select2-container--open .select2-selection--single {
  background: #d6d6d6 !important;
}

.select2-container--open {
  z-index: 99999 !important;
}

.select2-dropdown {
  margin-top: 8px !important;
  border: 0 !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  background: #fff !important;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18) !important;
}

.select2-search--dropdown {
  padding: 10px !important;
  background: #fff !important;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
  height: 38px !important;
  border: 1px solid var(--border-light) !important;
  border-radius: 9px !important;
  outline: none !important;
  padding: 0 12px !important;
  color: #222 !important;
  font-size: 14px !important;
  font-family: "Montserrat", Arial, Helvetica, sans-serif !important;
}

.select2-container--default .select2-search--dropdown .select2-search__field:focus {
  border-color: var(--brand-gold) !important;
  box-shadow: 0 0 0 3px rgba(202, 164, 0, 0.14) !important;
}

.select2-results__options {
  max-height: 240px !important;
  padding: 6px !important;
}

.select2-results__option {
  min-height: 38px !important;
  border-radius: 8px !important;
  padding: 9px 12px !important;
  color: #222 !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  font-family: "Montserrat", Arial, Helvetica, sans-serif !important;
}

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
  background: rgba(202, 164, 0, 0.14) !important;
  color: var(--text-black) !important;
}

.select2-container--default .select2-results__option--selected {
  background: var(--brand-gold) !important;
  color: #fff !important;
}

/* ================================
   Quick Controls / Near Me Button
================================ */

.quick-controls,
.quick-select-controls {
  display: flex;
  align-items: center;
}

.quick-controls {
  gap: 8px;
  margin-bottom: 6px;
}

.quick-controls button {
  height: 36px;
  border: 0;
  border-radius: 8px;
  background: #dcdcdc;
  color: var(--text-black);
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 16px;
  font-weight: 700;
}

.quick-controls button:first-child {
  min-width: 205px;
}

.quick-select-controls {
  gap: 8px;
  margin: 8px 0 10px;
  flex-wrap: wrap;
}

.quick-select-control {
  min-width: 170px;
  max-width: 190px;
}

.quick-select-control:first-child {
  min-width: 205px;
  max-width: 230px;
}

.quick-select-control .select-left-icon {
  left: 14px;
  font-size: 14px;
}

.quick-select-control .select2-container--default .select2-selection--single {
  height: 38px !important;
  min-height: 38px !important;
  border-radius: 8px !important;
}

.quick-select-control .select2-container--default .select2-selection--single .select2-selection__rendered {
  height: 38px !important;
  line-height: 38px !important;
  padding-left: 40px !important;
  padding-right: 30px !important;
  color: #222 !important;
  font-size: 14px !important;
  font-weight: 600 !important;
}

.quick-select-control .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 38px !important;
  width: 28px !important;
  right: 6px !important;
}

.quick-select-control .select2-container--default .select2-selection--single .select2-selection__arrow b {
  border-width: 5px 4px 0 4px !important;
}

.near-me-control {
  height: 38px;
  min-height: 38px;
  min-width: 175px;
  max-width: 205px;
  padding: 0 14px;
  border: 0;
  border-radius: 8px;
  background: var(--control-bg);
  color: var(--text-black);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
}

.near-me-control:hover {
  background: #d3d3d3;
}

.near-me-icon,
.near-me-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.near-me-icon i {
  font-size: 14px;
}

.near-me-label {
  flex: 1;
  text-align: left;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 600;
  color: #222;
}

.near-me-arrow {
  margin-left: auto;
}

.near-me-arrow i {
  font-size: 11px;
}

/* ================================
   Mobile Controls
================================ */

.mobile-control-row {
  display: flex;
  gap: 8px;
  margin: 12px 0;
  overflow-x: auto;
  padding-bottom: 2px;
}

.mobile-filter-btn {
  height: 38px;
  padding: 0 14px;
  border: 0;
  border-radius: 9px;
  background: var(--control-bg);
  color: var(--text-black);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  font-size: 14px;
  font-weight: 700;
}

/* ================================
   Filter Sidebar / Accordions
================================ */

.filters-stack {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.filter-card {
  background: var(--surface);
  border: 1px solid #d2d2d2;
  border-radius: 16px;
  padding: 24px;
}

.smart-filter-card,
.property-filter-card {
  padding: 22px;
}

.filter-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.filter-title {
  margin: 0 0 20px;
  color: var(--text-black);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.2px;
}

.filter-card-head .filter-title {
  margin: 0;
}

.filter-reset-btn {
  height: 32px;
  padding: 0 12px;
  border: 0;
  border-radius: 8px;
  background: #f1f1f1;
  color: #333;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 700;
}

.filter-reset-btn:hover {
  background: #e8e8e8;
}

.filter-accordion {
  margin-bottom: 10px;
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  background: var(--surface);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.filter-accordion:hover {
  border-color: #dedede;
}

.filter-accordion.open {
  border-color: var(--border-light);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
}

.filter-accordion-head {
  width: 100%;
  min-height: 58px;
  padding: 0 22px;
  border: 0;
  background: transparent;
  color: #222;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 16px;
  font-weight: 800;
  text-align: left;
}

.filter-accordion-head > i {
  font-size: 13px;
  transition: transform 0.2s ease;
}

.filter-accordion.open .filter-accordion-head > i {
  transform: rotate(180deg);
}

.filter-head-title {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  font-size: 16px;
  font-weight: 600;
}

.filter-title-icon {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: rgba(202, 164, 0, 0.12);
  color: var(--brand-gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.filter-title-icon i {
  font-size: 13px;
}

.filter-count {
  width: 22px;
  height: 22px;
  margin-left: 8px;
  border-radius: 50%;
  background: #2c2c2c;
  color: #fff;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.filter-count.d-none {
  display: none !important;
}

.filter-accordion-body {
  display: none;
  padding: 0 22px 16px;
}

.filter-accordion.open .filter-accordion-body {
  display: block;
}

.filter-check {
  margin: 10px 0 0;
  color: #222;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.filter-check input {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  accent-color: #2459e8;
  cursor: pointer;
}

.filter-option-text {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: #222;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
}

.filter-option-text i {
  width: 18px;
  color: #555;
  font-size: 13px;
  text-align: center;
}

.filter-check:hover .filter-option-text,
.filter-check:hover .filter-option-text i {
  color: var(--text-black);
}

/* Legacy mobile filter item support */
.filter-item,
.filter-group {
  width: 100%;
  min-height: 58px;
  margin-bottom: 6px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 8px;
}

.filter-item {
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #222;
  font-size: 16px;
  font-weight: 700;
}

.filter-group {
  padding: 15px 22px;
}

.filter-group-head {
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #222;
  font-size: 16px;
  font-weight: 700;
}

.filter-group-head em {
  width: 19px;
  height: 19px;
  margin-left: 8px;
  border-radius: 50%;
  background: #2b2b2b;
  color: #fff;
  font-size: 12px;
  font-style: normal;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.check-row {
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #222;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
}

.check-row input {
  width: 18px;
  height: 18px;
  accent-color: var(--brand-blue);
}

/* Range Slider */
.range-filter {
  padding-top: 6px;
}

.range-values {
  margin-bottom: 18px;
  color: #222;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 14px;
  font-weight: 700;
}

.dual-range {
  position: relative;
  height: 30px;
}

.dual-range input[type="range"] {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 30px;
  margin: 0;
  background: transparent;
  pointer-events: none;
  appearance: none;
  -webkit-appearance: none;
  z-index: 3;
}

.dual-range input[type="range"]::-webkit-slider-thumb {
  width: 18px;
  height: 18px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--brand-gold);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  pointer-events: auto;
  appearance: none;
  -webkit-appearance: none;
}

.dual-range input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--brand-gold);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  pointer-events: auto;
}

.range-track {
  position: absolute;
  left: 0;
  right: 0;
  top: 12px;
  height: 6px;
  border-radius: 999px;
  background: #e3e3e3;
  overflow: hidden;
  z-index: 1;
}

.range-track span {
  position: absolute;
  top: 0;
  bottom: 0;
  border-radius: 999px;
  background: var(--brand-gold);
}

/* See More */
.more-filters {
  display: none;
}

.more-filters.is-expanded {
  display: block;
  animation: filtersFadeIn 0.22s ease;
}

@keyframes filtersFadeIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.see-more-btn {
  width: 100%;
  height: 46px;
  margin-top: 28px;
  border: 0;
  border-radius: 9px;
  background: var(--brand-gold);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 44px;
  font-size: 15px;
  font-weight: 800;
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.16);
}

.see-more-btn i {
  transition: transform 0.2s ease;
}

.see-more-btn.is-expanded i {
  transform: rotate(180deg);
}

/* Make Filter */
.make-options-scroll {
  max-height: 360px;
  overflow-y: auto;
  padding-right: 8px;
}

.make-options-scroll::-webkit-scrollbar,
.region-select-dropdown .select2-results__options::-webkit-scrollbar {
  width: 6px;
}

.make-options-scroll::-webkit-scrollbar-track,
.region-select-dropdown .select2-results__options::-webkit-scrollbar-track {
  background: transparent;
}

.make-options-scroll::-webkit-scrollbar-thumb,
.region-select-dropdown .select2-results__options::-webkit-scrollbar-thumb {
  background: #cfcfcf;
  border-radius: 999px;
}

.make-check {
  min-height: 42px;
  padding: 4px 0;
}

.make-option {
  gap: 12px;
}

.brand-logo-chip {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #f6f6f6;
  border: 1px solid #e7e7e7;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  overflow: hidden;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.brand-img-chip {
  padding: 6px;
}

.brand-img-chip img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: grayscale(1) contrast(0.9) opacity(0.72);
  transition: filter 0.2s ease, transform 0.2s ease;
}

.make-name {
  color: #222;
  font-size: 14px;
  font-weight: 600;
}

.make-check:hover .brand-logo-chip {
  background: #fff;
  border-color: var(--brand-gold);
  transform: scale(1.03);
}

.make-check:hover .brand-img-chip img {
  filter: grayscale(1) contrast(1) opacity(0.95);
}

.make-check:hover .make-name,
.make-check:has(input:checked) .make-name {
  color: var(--text-black);
  font-weight: 800;
}

.make-check:has(input:checked) .brand-logo-chip {
  background: rgba(202, 164, 0, 0.12);
  border-color: var(--brand-gold);
}

.make-check:has(input:checked) .brand-img-chip img {
  filter: grayscale(0) contrast(1) opacity(1);
}

/* Color dots */
.color-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  display: inline-block;
  flex: 0 0 auto;
  border: 1px solid rgba(0, 0, 0, 0.18);
}

.bg-white-dot { background: #fff; }
.bg-black-dot { background: #111; }
.bg-silver-dot { background: #c7c7c7; }
.bg-blue-dot { background: #2563eb; }
.bg-beige-dot { background: #d8c3a5; }
.bg-brown-dot { background: #8b5a2b; }

/* Property Filter */
.property-filter-item {
  min-height: 48px;
  padding: 0 16px;
  margin-bottom: 10px;
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  color: #222;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.property-filter-item span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
}

.property-filter-item span i {
  width: 18px;
  color: var(--brand-gold);
  font-size: 14px;
  text-align: center;
}

.property-filter-item > i {
  font-size: 12px;
  color: #444;
}

.property-filter-item:hover {
  color: var(--text-black);
  background: #fafafa;
  border-color: #ddd;
  transform: translateX(2px);
}

/* ================================
   Listing Cards
================================ */

.listing-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.listing-card {
  background: var(--surface);
  border-radius: 14px;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.listing-img-wrap {
  position: relative;
  min-height: 176px;
  background: #eee;
}

.listing-img-wrap img {
  width: 100%;
  height: 100%;
  min-height: 176px;
  display: block;
  object-fit: cover;
}

.img-count {
  position: absolute;
  left: 12px;
  bottom: 10px;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
}

.fav-btn {
  position: absolute;
  right: 12px;
  bottom: 10px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 18px;
}

.listing-info {
  min-width: 0;
  padding: 28px 30px 20px 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 120px;
  gap: 18px;
}

.listing-main {
  min-width: 0;
}

.listing-main h3 {
  margin: 0 0 8px;
  color: #161616;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.35;
}

.location {
  margin: 0 0 22px;
  color: #333;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 500;
}

.meta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  color: var(--text-black);
  font-size: 13px;
  font-weight: 500;
}

.meta-row span {
  position: relative;
  padding-right: 14px;
  margin-right: 14px;
}

.meta-row span:not(:last-child)::after {
  content: "";
  width: 1px;
  height: 13px;
  background: var(--text-black);
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

.time {
  margin: 22px 0 0;
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--text-black);
  font-size: 14px;
  font-weight: 500;
}

.time i {
  font-size: 13px;
}

.listing-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
}

.price {
  color: var(--text-black);
  font-size: 18px;
  font-weight: 900;
  white-space: nowrap;
}

.call-btn {
  height: 44px;
  min-width: 90px;
  padding: 0 16px;
  border-radius: 8px;
  background: var(--brand-blue);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 800;
  box-shadow: 0 5px 12px rgba(30, 91, 240, 0.32);
}

.call-btn:hover {
  color: #fff;
  background: var(--brand-blue-dark);
}

/* Grid View */
.listing-list.is-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.listing-list.is-grid .listing-card {
  display: flex;
  flex-direction: column;
  border-radius: 16px;
}

.listing-list.is-grid .listing-img-wrap,
.listing-list.is-grid .listing-img-wrap img {
  width: 100%;
  min-height: 230px;
  height: 230px;
  object-fit: cover;
}

.listing-list.is-grid .listing-info {
  display: flex;
  flex-direction: column;
  min-height: 270px;
  padding: 22px;
}

.listing-list.is-grid .location {
  margin-bottom: 16px;
}

.listing-list.is-grid .meta-row {
  row-gap: 8px;
}

.listing-list.is-grid .time {
  margin-top: 18px;
}

.listing-list.is-grid .listing-side {
  margin-top: auto;
  padding-top: 18px;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

/* ================================
   Offcanvas Filters
================================ */

.filters-offcanvas {
  width: min(92vw, 390px) !important;
  max-width: 390px;
}

.filters-offcanvas .offcanvas-header {
  border-bottom: 1px solid #eee;
  padding: 16px 18px;
}

.filters-offcanvas .offcanvas-title {
  font-size: 18px;
  font-weight: 900;
}

.filters-offcanvas .offcanvas-body {
  padding: 16px;
}

.filters-offcanvas .smart-filter-card {
  border: 0;
  box-shadow: none;
  padding: 0;
}

.filters-offcanvas .filter-card-head {
  margin-bottom: 14px;
}

.filters-offcanvas .filter-title {
  font-size: 18px;
}

.filters-offcanvas .filter-reset-btn {
  height: 30px;
  font-size: 12px;
}

.mobile-apply-filters-btn {
  width: 100%;
  height: 44px;
  margin-top: 16px;
  border: 0;
  border-radius: 10px;
  background: var(--brand-gold);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 800;
}

/* ================================
   Near Me Modal
================================ */

.near-me-modal .modal-content {
  border: 0;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.25);
}

.near-modal-header {
  padding: 22px 24px 18px;
  border-bottom: 1px solid #efefef;
  background: #fff;
}

.near-modal-header .modal-title {
  margin: 0;
  color: var(--text-black);
  font-size: 18px;
  font-weight: 900;
}

.near-modal-header p {
  margin: 5px 0 0;
  color: #666;
  font-size: 14px;
  font-weight: 500;
}

.near-modal-body {
  padding: 20px 24px 24px;
  background: var(--page-bg);
}

.near-location-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.use-location-btn {
  height: 42px;
  padding: 0 16px;
  border: 0;
  border-radius: 10px;
  background: var(--brand-gold);
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 7px 18px rgba(202, 164, 0, 0.28);
}

.location-status {
  color: #555;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
}

.radius-options {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.radius-chip {
  height: 38px;
  padding: 0 16px;
  border: 1px solid var(--border-light);
  border-radius: 999px;
  background: #fff;
  color: #222;
  font-size: 14px;
  font-weight: 800;
  transition: all 0.2s ease;
}

.radius-chip:hover {
  border-color: var(--brand-gold);
  color: var(--text-black);
}

.radius-chip.active {
  border-color: var(--brand-gold);
  background: rgba(202, 164, 0, 0.14);
  color: var(--text-black);
  box-shadow: inset 0 0 0 1px var(--brand-gold);
}

.near-map-wrap {
  position: relative;
  height: 390px;
  border-radius: 18px;
  overflow: hidden;
  background: #ddd;
  border: 1px solid var(--border-light);
}

#nearMeMap {
  width: 100%;
  height: 100%;
}

.map-floating-card {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 500;
  min-width: 170px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(8px);
}

.map-card-label {
  display: block;
  color: #666;
  font-size: 12px;
  font-weight: 700;
}

.map-floating-card strong {
  display: block;
  margin-top: 3px;
  color: var(--text-black);
  font-size: 16px;
  font-weight: 900;
}

.selected-location-box {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.selected-location-box > div {
  min-height: 62px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #ededed;
}

.selected-location-box span {
  display: block;
  color: #777;
  font-size: 12px;
  font-weight: 700;
}

.selected-location-box strong {
  display: block;
  margin-top: 4px;
  color: var(--text-black);
  font-size: 14px;
  font-weight: 900;
}

.near-modal-footer {
  padding: 16px 24px 22px;
  border-top: 1px solid #efefef;
  background: #fff;
}

.near-cancel-btn,
.near-apply-btn {
  height: 42px;
  padding: 0 18px;
  border: 0;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 800;
}

.near-cancel-btn {
  background: #eee;
  color: #222;
}

.near-apply-btn {
  background: #2459e8;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 7px 18px rgba(36, 89, 232, 0.25);
}

.near-apply-btn:hover {
  background: #1d4ed8;
}

.leaflet-popup-content-wrapper {
  border-radius: 12px;
}

.leaflet-popup-content {
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 700;
}

/* ================================
   Region Select2 Dropdown
================================ */

.region-select-dropdown {
  width: 520px !important;
  min-width: 520px !important;
  max-width: calc(100vw - 32px) !important;
  border: 0 !important;
  border-radius: 18px !important;
  overflow: hidden !important;
  background: #fff !important;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.16) !important;
}

.region-select-dropdown .select2-search--dropdown {
  padding: 14px 14px 10px !important;
}

.region-select-dropdown .select2-search__field {
  height: 44px !important;
  border: 1.5px solid var(--brand-gold) !important;
  border-radius: 12px !important;
  padding: 0 14px !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  box-shadow: 0 0 0 4px rgba(202, 164, 0, 0.1) !important;
}

.region-select-dropdown .select2-results__options {
  max-height: 430px !important;
  padding: 10px 14px 14px !important;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 12px !important;
  overflow-y: auto !important;
}

.region-select-dropdown .select2-results__option {
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 16px !important;
  overflow: visible !important;
  background: transparent !important;
  min-height: auto !important;
  color: inherit !important;
}

.region-option-card {
  position: relative;
  min-height: 92px;
  border-radius: 16px;
  overflow: hidden;
  background: #f8f8f8;
  border: 1px solid #e7e7e7;
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  align-items: stretch;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.region-option-img {
  width: 96px;
  height: 92px;
  background: #e5e5e5;
  overflow: hidden;
}

.region-option-img img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 0.2s ease;
}

.region-option-content {
  min-width: 0;
  padding: 15px 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.region-option-content strong {
  display: block;
  color: var(--text-dark);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -0.2px;
}

.region-option-content span {
  display: block;
  margin-top: 7px;
  color: #666;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.region-select-dropdown .select2-results__option--highlighted.select2-results__option--selectable .region-option-card {
  background: #fbf7e8 !important;
  border-color: rgba(202, 164, 0, 0.55) !important;
  box-shadow: 0 8px 20px rgba(202, 164, 0, 0.12) !important;
  transform: translateY(-1px);
}

.region-select-dropdown .select2-results__option--highlighted.select2-results__option--selectable .region-option-img img {
  transform: scale(1.06);
}

.region-select-dropdown .select2-results__option--selected .region-option-card {
  background: #fff7dc !important;
  border-color: var(--brand-gold) !important;
  box-shadow: inset 0 0 0 1px var(--brand-gold), 0 8px 20px rgba(202, 164, 0, 0.14) !important;
}

.region-select-dropdown .select2-results__option--selected .region-option-card::after {
  content: "✓";
  position: absolute;
  top: 10px;
  right: 10px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--brand-gold);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 900;
  z-index: 2;
}

.region-selection-text {
  color: #222;
  font-size: 16px;
  font-weight: 700;
}

/* ================================
   Footer
================================ */

.site-footer {
  margin-top: 60px;
  background: #fff;
}

.footer-container {
  max-width: 1600px;
  padding-left: 32px;
  padding-right: 32px;
}

.footer-main {
  position: relative;
  overflow: hidden;
  background: #222830;
  color: #fff;
  padding: 95px 0 56px;
}

.footer-wave {
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 92px;
  background: #fff;
  clip-path: polygon(0 0, 100% 0, 100% 58%, 68% 24%, 36% 42%, 0 18%);
  z-index: 1;
}

.footer-main .footer-container {
  position: relative;
  z-index: 2;
}

.footer-links-area,
.footer-divider,
.footer-brand-row {
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
}

.footer-title {
  margin: 0 0 24px;
  color: #fff;
  font-size: 20px;
  font-weight: 600;
}

.footer-links-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr 1.25fr;
  gap: 80px;
}

.footer-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links-list li + li {
  margin-top: 15px;
}

.footer-links-list a {
  color: rgba(255, 255, 255, 0.82);
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.35;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-links-list a i {
  color: #fff;
  font-size: 12px;
}

.footer-links-list a:hover {
  color: #fff;
  transform: translateX(3px);
}

.footer-divider {
  height: 1px;
  margin-top: 40px;
  margin-bottom: 38px;
  background: rgba(255, 255, 255, 0.22);
}

.footer-brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
}

.footer-brand-social {
  display: flex;
  align-items: center;
  gap: 58px;
}

.footer-logo {
  width: 112px;
  height: auto;
  display: block;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 34px;
}

.footer-socials a {
  color: #fff;
  font-size: 25px;
  line-height: 1;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.footer-socials a:hover {
  opacity: 0.78;
  transform: translateY(-2px);
}

.footer-search {
  width: 445px;
  height: 46px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #fff;
  border: 1px solid #f1f1f1;
  border-radius: 13px;
  box-shadow: 0 7px 18px rgba(0, 0, 0, 0.16);
}

.footer-search button {
  width: 78px;
  height: 46px;
  border: 0;
  background: var(--brand-gold);
  color: #fff;
  font-size: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer-search input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: 0;
  outline: 0;
  padding: 0 22px;
  color: #333;
  font-size: 16px;
}

.footer-search input::placeholder {
  color: #333;
  opacity: 0.9;
}

.footer-copy {
  background: #e9e9e9;
  padding: 30px 0 34px;
}

.footer-copy .footer-container {
  max-width: 1320px;
}

.payment-area h4 {
  margin: 0 0 8px;
  color: #202020;
  font-size: 14px;
  font-weight: 800;
}

.payment-logos {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.pay-logo {
  display: inline-flex;
  align-items: center;
  line-height: 1;
  font-weight: 900;
}

.pay-logo.stc {
  color: #5f179e;
  font-size: 25px;
  letter-spacing: -1px;
}

.pay-logo.stc span {
  color: #00b779;
  font-size: 13px;
  margin-left: 2px;
  letter-spacing: 0;
}

.pay-logo.apple {
  color: var(--text-black);
  font-size: 14px;
  gap: 3px;
}

.pay-logo.mada,
.pay-logo.visa {
  min-width: 42px;
  height: 22px;
  border-radius: 3px;
  color: #fff;
  justify-content: center;
}

.pay-logo.mada {
  background: linear-gradient(90deg, #177c44, #2358a8);
  font-size: 10px;
}

.pay-logo.visa {
  background: #2455a4;
  font-size: 12px;
}

.pay-logo.master {
  color: #203a7c;
  font-size: 27px;
}

.copyright {
  margin: 28px 0 0;
  color: #252525;
  font-size: 14px;
  font-weight: 700;
}

/* ================================
   Responsive
================================ */

@media (max-width: 1500px) {
  .nav-wrap {
    padding: 0 28px;
    gap: 22px;
  }

  .logo-wrap {
    margin-right: 34px;
  }

  .nav-menu {
    gap: 24px;
  }

  .search-box {
    width: 430px;
    margin: 0 26px;
  }

  .right-actions {
    gap: 18px;
  }
}

@media (max-width: 1399px) {
  .listing-card {
    grid-template-columns: 250px minmax(0, 1fr);
  }

  .listing-info {
    padding: 24px 24px 18px;
  }
}

@media (max-width: 1199px) {
  .navbar {
    min-height: auto;
    padding: 16px 0;
  }

  .nav-wrap {
    padding: 0 22px;
    gap: 0;
  }

  .logo-wrap {
    margin-right: 0;
  }

  .site-logo {
    width: 108px;
  }

  .mobile-actions {
    display: flex;
  }

  .desktop-signin,
  .desktop-lang,
  .right-actions .divider {
    display: none;
  }

  .main-collapse {
    width: 100%;
    flex-basis: 100%;
    padding: 28px 0 8px;
  }

  .nav-menu {
    width: 100%;
    align-items: center;
    gap: 0;
    margin: 0 0 24px;
  }

  .nav-menu .nav-item,
  .nav-menu .nav-link {
    width: 100%;
  }

  .nav-menu .nav-item {
    text-align: center;
  }

  .nav-menu .nav-link {
    font-size: 16px;
    padding: 13px 0;
  }

  .search-box {
    width: 100%;
    max-width: 700px;
    height: 46px;
    margin: 0 auto 24px;
  }

  .search-btn {
    height: 46px;
  }

  .right-actions {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 28px;
    padding-bottom: 10px;
  }

  .page-container {
    padding-left: 22px;
    padding-right: 22px;
  }

  .topbar-links {
    gap: 22px;
  }

  .add-listing-btn {
    min-width: 150px;
  }

  .content-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .view-controls {
    width: 100%;
    justify-content: space-between;
  }

  .control-select,
  .select-control {
    min-width: 0;
    flex: 1;
  }

  .listing-list.is-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .listing-list.is-grid .listing-img-wrap,
  .listing-list.is-grid .listing-img-wrap img {
    min-height: 200px;
    height: 200px;
  }

  .footer-main {
    padding-top: 82px;
  }

  .footer-links-grid {
    gap: 42px;
  }

  .footer-brand-social {
    gap: 36px;
  }

  .footer-socials {
    gap: 24px;
  }

  .footer-search {
    width: 390px;
  }
}

@media (max-width: 991px) {
  .listing-topbar {
    display: none;
  }

  .listing-section {
    padding-top: 14px;
  }

  .content-head {
    gap: 12px;
  }

  .category-tabs {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .category-tab {
    width: 100%;
    min-height: 64px;
    font-size: 12px;
  }

  .category-tab i {
    font-size: 24px;
  }

  .category-tab .category-icon {
    width: 28px;
    height: 28px;
  }

  .category-tab .category-icon i {
    font-size: 23px;
  }

  .view-controls {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .view-controls .select-control {
    min-width: 185px;
    flex: 0 0 auto;
  }

  .quick-controls,
  .quick-select-controls {
    display: none;
  }

  .listing-card {
    grid-template-columns: 1fr;
  }

  .listing-img-wrap,
  .listing-img-wrap img {
    min-height: 205px;
    height: 205px;
  }

  .listing-info {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .listing-side {
    flex-direction: row;
    align-items: center;
  }

  .listing-main h3 {
    font-size: 16px;
  }

  .footer-main {
    padding: 78px 0 44px;
  }

  .footer-wave {
    height: 72px;
  }

  .footer-links-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px 44px;
  }

  .footer-brand-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-search {
    width: 100%;
    max-width: 520px;
  }
}

@media (max-width: 767px) {
  .page-container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .topbar-inner {
    min-height: auto;
    padding: 12px 0;
    align-items: flex-start;
  }

  .topbar-links {
    flex-wrap: wrap;
    gap: 12px 20px;
  }

  .topbar-link {
    font-size: 14px;
  }

  .add-listing-btn {
    height: 40px;
    min-width: auto;
    padding: 0 14px;
    font-size: 13px;
  }

  .view-controls {
    display: none;
  }

  .select-control.with-icon .select-left-icon {
    left: 14px;
    font-size: 14px;
  }

  .select-control.with-icon .select2-container--default .select2-selection--single {
    height: 42px !important;
    border-radius: 9px !important;
  }

  .select-control.with-icon .select2-container--default .select2-selection--single .select2-selection__rendered {
    height: 42px !important;
    line-height: 42px !important;
    padding-left: 40px !important;
    padding-right: 34px !important;
    font-size: 14px !important;
  }

  .listing-list {
    gap: 16px;
  }

  .listing-card {
    border-radius: 14px;
  }

  .listing-info {
    padding: 18px;
  }

  .location {
    margin-bottom: 14px;
  }

  .meta-row {
    font-size: 12px;
    row-gap: 8px;
  }

  .meta-row span {
    padding-right: 10px;
    margin-right: 10px;
  }

  .time {
    margin-top: 16px;
  }

  .price {
    font-size: 17px;
  }

  .call-btn {
    height: 40px;
    min-width: 82px;
    font-size: 14px;
  }

  .listing-list.is-grid {
    grid-template-columns: 1fr;
  }

  .listing-list.is-grid .listing-info {
    min-height: auto;
  }

  .listing-list.is-grid .listing-img-wrap,
  .listing-list.is-grid .listing-img-wrap img {
    min-height: 190px;
    height: 190px;
  }

  .filter-card {
    padding: 18px;
    border-radius: 14px;
  }

  .filter-title {
    font-size: 18px;
    margin-bottom: 16px;
  }

  .filter-accordion-head {
    min-height: 54px;
    padding: 0 18px;
    font-size: 15px;
  }

  .filter-head-title {
    font-size: 15px;
  }

  .filter-accordion-body {
    padding: 0 18px 14px;
  }

  .see-more-btn {
    height: 44px;
    font-size: 14px;
  }

  .near-me-modal .modal-dialog {
    margin: 12px;
  }

  .near-modal-body {
    padding: 16px;
  }

  .near-location-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .use-location-btn {
    justify-content: center;
  }

  .near-map-wrap {
    height: 330px;
  }

  .selected-location-box {
    grid-template-columns: 1fr;
  }

  .site-footer {
    margin-top: 42px;
  }

  .footer-container {
    padding-left: 18px;
    padding-right: 18px;
  }

  .footer-main {
    padding: 70px 0 38px;
  }

  .footer-wave {
    height: 60px;
    clip-path: polygon(0 0, 100% 0, 100% 62%, 62% 36%, 30% 48%, 0 26%);
  }

  .footer-title {
    font-size: 18px;
  }

  .footer-links-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .footer-links-list + .footer-links-list {
    margin-top: 14px;
  }

  .footer-links-list li + li {
    margin-top: 12px;
  }

  .footer-links-list a {
    font-size: 14px;
  }

  .footer-divider {
    margin-top: 30px;
    margin-bottom: 28px;
  }

  .footer-brand-social {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .footer-logo {
    width: 100px;
  }

  .footer-socials {
    width: 100%;
    justify-content: space-between;
    max-width: 340px;
    gap: 18px;
  }

  .footer-socials a {
    font-size: 23px;
  }

  .footer-search {
    height: 44px;
  }

  .footer-search button {
    width: 62px;
    height: 44px;
    font-size: 16px;
  }

  .footer-search input {
    padding: 0 16px;
    font-size: 14px;
  }

  .footer-copy {
    padding: 24px 0 28px;
  }

  .payment-logos {
    gap: 12px;
  }

  .copyright {
    margin-top: 22px;
    font-size: 13px;
    line-height: 1.6;
  }
}

@media (max-width: 575px) {
  .navbar {
    padding: 14px 0;
  }

  .nav-wrap {
    padding: 0 16px;
  }

  .site-logo {
    width: 90px;
  }

  .mobile-actions {
    gap: 12px;
  }

  .mobile-lang {
    gap: 6px;
    font-size: 13px;
  }

  .mobile-lang i {
    font-size: 15px;
  }

  .mobile-signin {
    font-size: 13px;
    gap: 7px;
  }

  .mobile-signin .user-icon {
    width: 23px;
    height: 23px;
    font-size: 11px;
    border-width: 2px;
  }

  .menu-toggle {
    width: 32px;
    height: 28px;
    gap: 5px;
    margin-left: 8px;
  }

  .menu-toggle span {
    width: 26px;
  }

  .main-collapse {
    padding-top: 22px;
  }

  .nav-menu {
    margin-bottom: 20px;
  }

  .nav-menu .nav-link {
    font-size: 15px;
    padding: 12px 0;
  }

  .search-box {
    height: 44px;
    border-radius: 12px;
    margin-bottom: 22px;
  }

  .search-btn {
    width: 60px;
    height: 44px;
    font-size: 16px;
  }

  .search-input {
    padding: 0 16px;
    font-size: 14px;
  }

  .right-actions {
    gap: 26px;
  }

  .icon-link {
    font-size: 19px;
  }

  .page-container {
    padding-left: 12px;
    padding-right: 12px;
  }

  .category-tab {
    min-height: 58px;
  }

  .category-tab span {
    font-size: 11px;
  }

  .listing-img-wrap,
  .listing-img-wrap img {
    min-height: 180px;
    height: 180px;
  }

  .listing-side {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }

  .call-btn {
    width: 100%;
  }

  .filters-offcanvas .filter-accordion-head {
    min-height: 48px;
    padding: 0 14px;
  }

  .filters-offcanvas .filter-head-title,
  .filters-offcanvas .filter-check {
    font-size: 14px;
  }

  .filters-offcanvas .filter-accordion-body {
    padding: 0 14px 12px;
  }

  .near-map-wrap {
    height: 300px;
  }

  .radius-chip {
    height: 34px;
    padding: 0 13px;
    font-size: 13px;
  }

  .region-select-dropdown {
    width: calc(100vw - 24px) !important;
    min-width: calc(100vw - 24px) !important;
  }

  .region-select-dropdown .select2-results__options {
    grid-template-columns: 1fr !important;
    max-height: 390px !important;
    gap: 10px !important;
    padding: 10px 12px 12px !important;
  }

  .region-option-card {
    min-height: 82px;
    grid-template-columns: 86px minmax(0, 1fr);
    border-radius: 14px;
  }

  .region-option-img {
    width: 86px;
    height: 82px;
  }

  .region-option-content {
    padding: 12px 14px;
  }

  .region-option-content strong {
    font-size: 14px;
  }

  .region-option-content span {
    font-size: 12px;
    margin-top: 5px;
  }
}

@media (max-width: 420px) {
  .nav-wrap {
    padding: 0 12px;
  }

  .site-logo {
    width: 78px;
  }

  .mobile-actions {
    gap: 9px;
  }

  .mobile-lang span,
  .mobile-signin span:last-child {
    display: none;
  }

  .mobile-lang i {
    font-size: 17px;
  }

  .mobile-signin .user-icon {
    width: 24px;
    height: 24px;
  }

  .menu-toggle {
    margin-left: 4px;
  }

  .category-tab {
    min-height: 62px;
    gap: 5px;
  }

  .category-tab i {
    font-size: 22px;
  }

  .listing-img-wrap,
  .listing-img-wrap img {
    min-height: 170px;
    height: 170px;
  }

  .footer-main {
    padding-top: 64px;
  }

  .footer-links-list a {
    align-items: flex-start;
  }

  .footer-socials {
    max-width: 100%;
  }

  .payment-area h4 {
    font-size: 13px;
  }

  .pay-logo.stc {
    font-size: 22px;
  }

  .copyright {
    font-size: 12px;
  }
}

/*  */

/* ================================
   Make / Model Horizontal Pills
================================ */

.make-model-pill-area {
  width: 100%;
  margin: 10px 0 10px;
}

.pill-row {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 2px 0 8px;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.pill-row + .pill-row {
  margin-top: 2px;
}

.pill-row::-webkit-scrollbar {
  height: 5px;
}

.pill-row::-webkit-scrollbar-track {
  background: transparent;
}

.pill-row::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.18);
  border-radius: 999px;
}

.pill-row {
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.18) transparent;
}

.filter-pill {
  height: 30px;
  min-width: max-content;
  padding: 0 14px;
  border: 0;
  border-radius: 10px;
  background: #dedede;
  color: #241818;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  font-size: 12px !important;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  transition:
    background 0.18s ease,
    color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

.filter-pill:hover {
  background: #d1d1d1;
  transform: translateY(-1px);
}

.filter-pill.active {
  background: var(--brand-gold);
  color: #fff;
  box-shadow: 0 5px 12px rgba(202, 164, 0, 0.24);
}

.model-pill {
  height: 30px;
}

@media (max-width: 991px) {
  .make-model-pill-area {
    margin-top: 8px;
  }

  .filter-pill {
    height: 38px;
    padding: 0 20px;
    border-radius: 9px;
    font-size: 15px !important;
  }
}

@media (max-width: 575px) {
  .pill-row {
    gap: 8px;
    padding-bottom: 6px;
  }

  .filter-pill {
    height: 36px;
    padding: 0 16px;
    font-size: 14px !important;
  }
}
/*  */

/* ================================
   Empty Listing State
================================ */

.empty-listing-state {
  position: relative;
  width: 100%;
  min-height: 360px;
  padding: 48px 38px;
  border-radius: 22px;
  background:
    radial-gradient(circle at 12% 18%, rgba(202, 164, 0, 0.14), transparent 34%),
    radial-gradient(circle at 88% 22%, rgba(30, 91, 240, 0.1), transparent 30%),
    linear-gradient(135deg, #ffffff 0%, #fbfbfb 54%, #f6f7fb 100%);
  border: 1px solid rgba(229, 229, 229, 0.95);
  box-shadow: 0 16px 44px rgba(17, 24, 39, 0.08);
  overflow: hidden;
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  align-items: center;
  gap: 34px;
}

.listing-list.is-grid .empty-listing-state {
  grid-column: 1 / -1;
}

.empty-bg-shape {
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  opacity: 0.7;
}

.empty-bg-shape-one {
  width: 190px;
  height: 190px;
  right: -72px;
  top: -82px;
  background: rgba(202, 164, 0, 0.12);
}

.empty-bg-shape-two {
  width: 140px;
  height: 140px;
  left: -60px;
  bottom: -58px;
  background: rgba(30, 91, 240, 0.09);
}

.empty-icon-wrap {
  position: relative;
  width: 170px;
  height: 170px;
  display: grid;
  place-items: center;
  z-index: 1;
}

.empty-icon-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, rgba(202, 164, 0, 0.9), rgba(30, 91, 240, 0.35)) border-box;
  border: 2px solid transparent;
  box-shadow:
    0 20px 45px rgba(0, 0, 0, 0.08),
    inset 0 0 0 10px rgba(202, 164, 0, 0.06);
}

.empty-main-icon {
  position: relative;
  z-index: 2;
  width: 92px;
  height: 92px;
  border-radius: 28px;
  background: var(--brand-gold);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 38px;
  box-shadow: 0 15px 28px rgba(202, 164, 0, 0.3);
}

.empty-mini-icon {
  position: absolute;
  z-index: 3;
  width: 42px;
  height: 42px;
  border-radius: 15px;
  background: #fff;
  color: #111;
  border: 1px solid #ededed;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.empty-mini-icon-car {
  top: 16px;
  right: 12px;
  color: #2459e8;
}

.empty-mini-icon-filter {
  left: 10px;
  bottom: 18px;
  color: var(--brand-gold);
}

.empty-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.empty-eyebrow {
  width: max-content;
  max-width: 100%;
  min-height: 34px;
  padding: 0 13px;
  margin-bottom: 12px;
  border-radius: 999px;
  background: rgba(202, 164, 0, 0.11);
  color: #7a6200;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px !important;
  font-weight: 900;
}

.empty-eyebrow i {
  font-size: 13px !important;
}

.empty-listing-state h3 {
  margin: 0;
  color: #111;
  font-size: 30px !important;
  font-weight: 900;
  letter-spacing: -0.7px;
  line-height: 1.15;
}

.empty-listing-state p {
  max-width: 610px;
  margin: 12px 0 0;
  color: #5d6472;
  font-size: 15px !important;
  font-weight: 500;
  line-height: 1.75;
}

.empty-suggestions {
  margin-top: 18px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.empty-suggestions span {
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #ececec;
  color: #333;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px !important;
  font-weight: 800;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.04);
}

.empty-suggestions span i {
  color: var(--brand-gold);
  font-size: 12px !important;
}

.empty-actions {
  margin-top: 24px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.empty-primary-btn,
.empty-secondary-btn {
  height: 44px;
  padding: 0 18px;
  border-radius: 11px;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-size: 14px !important;
  font-weight: 900;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
}

.empty-primary-btn {
  background: var(--brand-gold);
  color: #fff;
  box-shadow: 0 10px 22px rgba(202, 164, 0, 0.25);
}

.empty-primary-btn:hover {
  background: #bd9a00;
  transform: translateY(-1px);
  box-shadow: 0 13px 26px rgba(202, 164, 0, 0.3);
}

.empty-secondary-btn {
  background: #fff;
  color: #111;
  border: 1px solid #e5e5e5;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.05);
}

.empty-secondary-btn:hover {
  background: #f7f7f7;
  transform: translateY(-1px);
}

/* Responsive */
@media (max-width: 991px) {
  .empty-listing-state {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    padding: 42px 24px;
    gap: 24px;
  }

  .empty-content {
    max-width: 650px;
  }

  .empty-listing-state p {
    margin-left: auto;
    margin-right: auto;
  }

  .empty-eyebrow {
    margin-left: auto;
    margin-right: auto;
  }

  .empty-suggestions,
  .empty-actions {
    justify-content: center;
  }
}

@media (max-width: 575px) {
  .empty-listing-state {
    min-height: 330px;
    padding: 34px 18px;
    border-radius: 18px;
  }

  .empty-icon-wrap {
    width: 132px;
    height: 132px;
  }

  .empty-main-icon {
    width: 74px;
    height: 74px;
    border-radius: 22px;
    font-size: 30px;
  }

  .empty-mini-icon {
    width: 36px;
    height: 36px;
    border-radius: 13px;
    font-size: 14px;
  }

  .empty-listing-state h3 {
    font-size: 23px !important;
  }

  .empty-listing-state p {
    font-size: 13px !important;
    line-height: 1.65;
  }

  .empty-suggestions {
    gap: 8px;
  }

  .empty-suggestions span {
    min-height: 32px;
    font-size: 12px !important;
  }

  .empty-actions {
    width: 100%;
  }

  .empty-primary-btn,
  .empty-secondary-btn {
    width: 100%;
    height: 42px;
  }
}
/*  */


/* ================================
   Dynamic Car / Property Pills
================================ */

.dynamic-pill-area {
  width: 100%;
  margin: 10px 0 12px;
}

.pill-row {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 4px 0 10px;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.pill-row + .pill-row,
.property-detail-grid {
  margin-top: 4px;
}

.pill-row::-webkit-scrollbar,
.property-detail-grid::-webkit-scrollbar {
  height: 7px;
}

.pill-row::-webkit-scrollbar-track,
.property-detail-grid::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.035);
  border-radius: 999px;
}

.pill-row::-webkit-scrollbar-thumb,
.property-detail-grid::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.22);
  border-radius: 999px;
}

.pill-row,
.property-detail-grid {
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.22) rgba(0, 0, 0, 0.035);
}

.filter-pill {
  height: 30px;
  min-width: max-content;
  padding: 0 12px;
  border: 0;
  border-radius: 12px;
  background: #dedede;
  color: #241818;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  font-size: 12px !important;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  transition:
    background 0.18s ease,
    color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

.filter-pill:hover {
  background: #d2d2d2;
  transform: translateY(-1px);
}

.filter-pill.active {
  background: var(--brand-gold);
  color: #fff;
  box-shadow: 0 7px 16px rgba(202, 164, 0, 0.25);
}

.property-pill {
  height: 30px;
  padding: 0 12px;
  background: #f0f2fb;
  color: #385a82;
  border-radius: 12px;
  font-size: 12px !important;
  font-weight: 500;
}

.property-pill:hover {
  background: #e7ebf8;
  color: #174f91;
}

.property-pill.active {
  background: #eef4ff;
  color: #1372bd;
  box-shadow: inset 0 0 0 2px rgba(19, 114, 189, 0.18);
}

/* Detail pills like screenshot */
.property-detail-grid {
  width: 100%;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(410px, 1fr);
  grid-template-rows: repeat(2, auto);
  gap: 12px 14px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 8px 0 12px;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.property-detail-pill {
  min-height: 30px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: #f0f2fb;
  color: #385a82;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  font-size: 12px !important;
  font-weight: 500;
  transition:
    background 0.18s ease,
    color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

.property-detail-pill:hover {
  background: #e8eefc;
  color: #174f91;
  transform: translateY(-1px);
}

.property-detail-pill.active {
  background: #eaf4ff;
  color: #1372bd;
  box-shadow: inset 0 0 0 2px rgba(19, 114, 189, 0.2);
}

.property-detail-text {
  overflow: hidden;
  text-overflow: ellipsis;
}

.property-detail-text strong {
  font-weight: 500;
}

.property-detail-count {
  font-weight: 900;
  color: inherit;
}

/* Mobile */
@media (max-width: 991px) {
  .dynamic-pill-area {
    margin-top: 8px;
  }

  .filter-pill,
  .property-pill {
    height: 40px;
    padding: 0 18px;
    border-radius: 10px;
    font-size: 14px !important;
  }

  .property-detail-grid {
    grid-auto-columns: minmax(310px, 1fr);
    gap: 10px;
  }

  .property-detail-pill {
    min-height: 30px;
    padding: 0 12px;
    font-size: 12px !important;
  }
}

@media (max-width: 575px) {
  .pill-row {
    gap: 8px;
    padding-bottom: 8px;
  }

  .filter-pill,
  .property-pill {
    height: 36px;
    padding: 0 15px;
    font-size: 13px !important;
  }

  .property-detail-grid {
    grid-auto-columns: minmax(260px, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 8px;
  }

  .property-detail-pill {
    min-height: 44px;
    padding: 0 14px;
    font-size: 12px !important;
  }
}
/* ================================
   Listing Image Landscape Fix
   Prevent portrait/tall image cards
================================ */

.listing-card {
  grid-template-columns: 280px minmax(0, 1fr);
  align-items: stretch;
}

.listing-img-wrap {
  width: 100%;
  height: 190px !important;
  min-height: 190px !important;
  max-height: 190px !important;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #ececec;
}

.listing-img-wrap img {
  width: 100%;
  height: 100% !important;
  min-height: 0 !important;
  max-height: none !important;
  display: block;
  object-fit: cover;
  object-position: center center;
}

/* Grid view image ratio */
.listing-list.is-grid .listing-img-wrap {
  height: 230px !important;
  min-height: 230px !important;
  max-height: 230px !important;
  aspect-ratio: 16 / 9;
}

.listing-list.is-grid .listing-img-wrap img {
  height: 100% !important;
  min-height: 0 !important;
  object-fit: cover;
  object-position: center center;
}

/* Tablet */
@media (max-width: 1199px) {
  .listing-img-wrap {
    height: 180px !important;
    min-height: 180px !important;
    max-height: 180px !important;
  }

  .listing-list.is-grid .listing-img-wrap {
    height: 210px !important;
    min-height: 210px !important;
    max-height: 210px !important;
  }
}

/* Mobile cards */
@media (max-width: 991px) {
  .listing-img-wrap {
    height: 220px !important;
    min-height: 220px !important;
    max-height: 220px !important;
  }

  .listing-img-wrap img {
    height: 100% !important;
    object-fit: cover;
  }
}

@media (max-width: 575px) {
  .listing-img-wrap {
    height: 190px !important;
    min-height: 190px !important;
    max-height: 190px !important;
  }
}

.listing-card {
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.listing-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.12);
}

.listing-card .fav-btn,
.listing-card .call-btn {
  cursor: pointer;
}

/*  */

/* =========================================================
   Arabic / RTL Mode
========================================================= */

html[dir="rtl"],
html[dir="rtl"] body {
  direction: rtl;
  text-align: right;
  font-family: "Vazirmatn", "Montserrat", Arial, Helvetica, sans-serif;
}

html[dir="ltr"],
html[dir="ltr"] body {
  direction: ltr;
  text-align: left;
}

/* Header RTL */
html[dir="rtl"] .nav-wrap {
  direction: rtl;
}

html[dir="rtl"] .logo-wrap {
  margin-right: 0;
  margin-left: 48px;
}

html[dir="rtl"] .main-collapse,
html[dir="rtl"] .nav-menu,
html[dir="rtl"] .right-actions,
html[dir="rtl"] .mobile-actions,
html[dir="rtl"] .topbar-inner,
html[dir="rtl"] .topbar-links,
html[dir="rtl"] .view-controls,
html[dir="rtl"] .filter-card-head,
html[dir="rtl"] .filter-accordion-head,
html[dir="rtl"] .filter-head-title,
html[dir="rtl"] .filter-option-text,
html[dir="rtl"] .listing-info,
html[dir="rtl"] .meta-row,
html[dir="rtl"] .listing-side,
html[dir="rtl"] .near-location-toolbar,
html[dir="rtl"] .selected-location-box {
  direction: rtl;
}

/* Search icon position */
html[dir="rtl"] .search-box {
  direction: rtl;
}

html[dir="rtl"] .search-input {
  text-align: right;
  padding-left: 16px;
  padding-right: 48px;
}

html[dir="rtl"] .search-btn {
  left: auto;
  right: 14px;
}

/* Select icon position */
html[dir="rtl"] .select-control.with-icon .select-left-icon {
  left: auto;
  right: 16px;
}

html[dir="rtl"] .select-control.with-icon .control-select {
  padding-left: 36px;
  padding-right: 44px;
}

/* Select2 RTL polish */
html[dir="rtl"] .select2-container--default .select2-selection--single {
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] .select2-container--default .select2-selection--single .select2-selection__rendered {
  text-align: right;
  padding-right: 38px;
  padding-left: 28px;
}

html[dir="rtl"] .select2-container--default .select2-selection--single .select2-selection__arrow {
  right: auto;
  left: 10px;
}

/* Sidebar filters */
html[dir="rtl"] .filter-check {
  direction: rtl;
}

html[dir="rtl"] .filter-check input {
  margin-left: 0;
  margin-right: auto;
}

html[dir="rtl"] .filter-accordion-head > i {
  margin-left: 0;
  margin-right: auto;
}

/* Listing cards */
html[dir="rtl"] .listing-card {
  direction: rtl;
}

html[dir="rtl"] .listing-main h3,
html[dir="rtl"] .listing-main p,
html[dir="rtl"] .price {
  text-align: right;
}

html[dir="rtl"] .listing-side {
  align-items: flex-start;
}

html[dir="rtl"] .fav-btn {
  right: auto;
  left: 12px;
}

html[dir="rtl"] .img-count {
  left: auto;
  right: 12px;
}

/* Icons spacing */
html[dir="rtl"] .topbar-link i,
html[dir="rtl"] .add-listing-btn i,
html[dir="rtl"] .filter-reset-btn i,
html[dir="rtl"] .filter-option-text i,
html[dir="rtl"] .location i,
html[dir="rtl"] .time i,
html[dir="rtl"] .call-btn i,
html[dir="rtl"] .near-me-icon,
html[dir="rtl"] .use-location-btn i,
html[dir="rtl"] .near-apply-btn i {
  margin-right: 0;
  margin-left: 8px;
}

/* Range sliders keep natural LTR numbers */
html[dir="rtl"] .dual-range,
html[dir="rtl"] .range-values {
  direction: ltr;
}

/* Leaflet map should not flip */
html[dir="rtl"] #nearMeMap,
html[dir="rtl"] .leaflet-container {
  direction: ltr;
  text-align: left;
}

/* Mobile RTL fixes */
@media (max-width: 1199.98px) {
  html[dir="rtl"] .main-collapse {
    text-align: right;
  }

  html[dir="rtl"] .nav-menu {
    align-items: stretch;
  }

  html[dir="rtl"] .right-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 575.98px) {
  html[dir="rtl"] .listing-info {
    text-align: right;
  }

  html[dir="rtl"] .listing-side {
    align-items: stretch;
  }

  html[dir="rtl"] .call-btn {
    justify-content: center;
  }
}
/*  */
@media (max-width: 991.98px) {
  .listing-card,
  .listing-list.is-grid .listing-card {
    display: grid !important;
    grid-template-columns: 1fr !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .listing-img-wrap,
  .listing-list.is-grid .listing-img-wrap {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9 !important;
  }

  .listing-info,
  .listing-list.is-grid .listing-info {
    grid-template-columns: 1fr !important;
    padding: 16px !important;
  }
}