:root {
  color-scheme: light;
  --bs-primary: #0F766E;
  --bs-secondary: #0B1220;
  --bs-info: #155EEF;
  --bs-success: #15803D;
  --bs-warning: #D97706;
  --bs-danger: #DC2626;
  --bs-light: #F8FAFC;
  --bs-dark: #0B1220;
  --tint-sky: #E0F2FE;
  --tint-teal: #CCFBF1;
  --ink-900: #0B1220;
  --ink-700: #1E293B;
  --ink-500: #64748B;
  --ink-300: #CBD5F5;
  --surface-glass: rgba(255, 255, 255, 0.75);
  --surface-card: #FFFFFF;
  --gradient-cta: linear-gradient(90deg, #155EEF 0%, #0F766E 100%);
  --gradient-hero: radial-gradient(120% 120% at 0% 0%, rgba(21, 94, 239, 0.12), transparent 60%),
    radial-gradient(90% 120% at 100% 10%, rgba(15, 118, 110, 0.14), transparent 60%), linear-gradient(180deg, #F8FAFC 0%, #ECFEFF 100%);
  --shadow-soft: 0 18px 48px rgba(15, 23, 42, 0.12);
  --shadow-hover: 0 28px 56px rgba(15, 23, 42, 0.18);
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", "Tajawal", "Segoe UI", sans-serif;
  background: var(--bs-light);
  color: var(--bs-dark);
  margin: 0;
  min-height: 100vh;
}

body.rtl {
  direction: rtl;
  font-family: "Tajawal", "Inter", "Segoe UI", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container,
.container-sm,
.container-md,
.container-lg,
.container-xl,
.container-xxl {
  max-width: 1120px;
}

/* Buttons */
.btn-cta {
  color: #fff;
  background-image: var(--gradient-cta);
  border: 0;
  padding: 0.75rem 1.85rem;
  border-radius: 999px;
  box-shadow: 0 16px 30px rgba(21, 94, 239, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn-cta:hover {
  filter: brightness(0.98);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(15, 118, 110, 0.15);
}

.btn-ghost {
  color: var(--bs-primary);
  border: 1px solid rgba(21, 94, 239, 0.28);
  padding: 0.75rem 1.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  transition: all 0.2s ease;
}

.btn-ghost:hover {
  border-color: rgba(21, 94, 239, 0.5);
  background: rgba(15, 118, 110, 0.1);
}

/* Navigation */
header.sticky-top {
  backdrop-filter: blur(18px);
  background-color: rgba(248, 250, 252, 0.85);
/* Header polish */
.navbar { background: #fff; border-bottom: 1px solid var(--divider); min-height: 64px; }
.nav-actions { display: flex; align-items: center; gap: 0.5rem; }
.nav-actions .btn, .lang-switch button { min-height: 38px; border-radius: 12px; }

  /* Unify header control heights and tighten spacing */
  .nav-actions .btn,
  .nav-actions .btn-cta,
  .nav-actions .lang-switch button {
    height: 40px;
    padding-block: 0;
    display: inline-flex;
    align-items: center;
  }
  .nav-actions .btn { padding-inline: 0.75rem; }
  .nav-actions .btn-cta { padding-inline: 1rem; box-shadow: none; }
  .currency-button-label { white-space: nowrap; gap: .4rem; }

/* Currency refresh icon spin */
.spin { animation: currency-spin 0.7s linear infinite; }

  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.06);
}

.navbar {
  padding: 1rem 0;
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.navbar-brand::before {
  content: "";
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(21, 94, 239, 0.18), rgba(15, 118, 110, 0.35));
}

.navbar-nav {
  gap: 1.25rem;
  align-items: center;
  margin-top: 1rem;
}

@media (min-width: 992px) {
  .navbar-nav {
    margin-top: 0;
  }
}

.navbar-nav .nav-link {
  font-weight: 500;
  color: var(--ink-700);
  position: relative;
  padding: 0.25rem 0;
  transition: color 0.2s ease;
}

.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 2px;
  background: var(--gradient-cta);
  opacity: 0;
  transform: translateY(4px);
  transition: all 0.2s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  color: var(--bs-primary);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link:focus::after {
  opacity: 1;
  transform: translateY(0);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 999px;
  padding: 0.25rem 0.5rem;
  background: rgba(15, 23, 42, 0.05);
}

.lang-switch button {
  border: 0;
  background: transparent;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-500);
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  transition: all 0.2s ease;
}

.lang-switch button.active {
  background: var(--bs-primary);
  color: #fff;
  box-shadow: 0 6px 12px rgba(15, 118, 110, 0.20);
}

.nav-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

@media (min-width: 992px) {
  .nav-actions {
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0;
  }
}

/* Hero */
.hero {
  position: relative;
  padding: 6rem 0 6.5rem;
  background: var(--gradient-hero);
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(0);
  opacity: 0.55;
}

.hero::before {
  width: 420px;
  height: 420px;
  background: rgba(21, 94, 239, 0.12);
  top: -180px;
  right: -120px;
}

.hero::after {
  width: 520px;
  height: 520px;
  background: rgba(15, 118, 110, 0.11);
  bottom: -260px;
  left: -160px;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--bs-info);
  background: rgba(21, 94, 239, 0.14);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
}

.hero-title {
  font-weight: 800;
  font-size: clamp(2.75rem, 2.1rem + 1.8vw, 3.75rem);
  color: var(--ink-900);
  margin: 1.4rem 0 1rem;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--ink-500);
  max-width: 540px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 2rem 0 2.5rem;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.metric-card {
  background: var(--surface-card);
  border-radius: 20px;
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(15, 118, 110, 0.05);
}

.metric-card span {
  display: block;
}

.metric-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-500);
  margin-bottom: 0.6rem;
}

.metric-value {
  font-weight: 700;
  font-size: 1.65rem;
  color: var(--bs-primary);
}

.metric-caption {
  font-size: 0.78rem;
  color: var(--ink-500);
}

.hero-benefits {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
}

.hero-benefits li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ink-500);
}

.hero-benefits .check {
  width: 1.65rem;
  height: 1.65rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(15, 118, 110, 0.12);
  color: var(--bs-primary);
  font-size: 0.85rem;
}

.hero-visual {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 1.5rem;
}

.opportunity-card {
  width: min(100%, 360px);
  background: var(--surface-card);
  border-radius: 28px;
  padding: 1.8rem;
  box-shadow: var(--shadow-hover);
  border: 1px solid rgba(15, 118, 110, 0.08);
}

.opportunity-card h5 {
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.opportunity-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  color: var(--ink-500);
  font-size: 0.9rem;
}

.opportunity-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  font-size: 0.85rem;
  color: var(--ink-500);
}

.opportunity-stats span {
  display: block;
  font-weight: 600;
  color: var(--ink-900);
  font-size: 1.1rem;
}

.glass-card {
  width: min(100%, 320px);
  padding: 1.4rem 1.6rem;
  border-radius: 24px;
  background: var(--surface-glass);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.hero-chip {
  position: absolute;
  top: 0.4rem;
  right: 12%;
  background: rgba(21, 94, 239, 0.85);
  color: #fff;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  font-size: 0.75rem;
  box-shadow: 0 10px 20px rgba(21, 94, 239, 0.3);
}

/* Sections */
.section-title {
  font-size: clamp(2rem, 1.7rem + 0.9vw, 2.6rem);
  font-weight: 700;
  color: var(--ink-900);
  margin-bottom: 0.85rem;
}

.section-subtitle {
  color: var(--ink-500);
  max-width: 640px;
  margin-bottom: 0;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.feature-card {
  border: 0;
  border-radius: 24px;
  padding: 1.9rem;
  background: var(--surface-card);
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.feature-card .icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: var(--bs-primary);
  background: rgba(15, 118, 110, 0.12);
  font-weight: 600;
  margin-bottom: 1.2rem;
}

.stat-tile {
  background: var(--surface-card);
  border-radius: 24px;
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(15, 118, 110, 0.08);
}

.stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--bs-primary);
}

.fees-table .table-modern {
  --bs-table-bg: rgba(255, 255, 255, 0.95);
  border-radius: 18px;
  overflow: hidden;
}

.table-modern thead {
  background: rgba(15, 118, 110, 0.08);
  color: var(--ink-700);
}

.badge-soft {
  background: rgba(15, 118, 110, 0.12);
  color: var(--bs-primary);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 600;
}

/* Lists */
.list-icon {
  list-style: none;
  padding: 0;
  margin: 0;
}

.list-icon li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.7rem;
}

.list-icon .check {
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  background: rgba(15, 118, 110, 0.15);
  color: var(--bs-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

.timeline {
  position: relative;
  margin: 0;
  padding-left: 2.75rem;
  list-style: none;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 1.1rem;
  top: 0.5rem;
  bottom: 1rem;
  width: 2px;
  background: linear-gradient(180deg, rgba(21, 94, 239, 0.35), rgba(15, 118, 110, 0.6));
  border-radius: 999px;
}

.timeline-item {
  position: relative;
  margin: 0;
  padding: 0 0 1.85rem;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -1.75rem;
  top: 0.3rem;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background-image: linear-gradient(135deg, #155EEF, #0F766E);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.15);
  border: 3px solid #fff;
}

.timeline-item h5,
.timeline-item h6 {
  margin-bottom: 0.35rem;
  font-weight: 600;
}

.timeline-item p {
  margin-bottom: 0.75rem;
  color: var(--ink-500);
}

.timeline-item .badge {
  font-weight: 600;
  background: rgba(226, 232, 240, 0.6);
}

.timeline--compact {
  padding-left: 2.3rem;
}

.timeline--compact .timeline-item {
  padding-bottom: 1.25rem;
}

.timeline--compact .timeline-item::before {
  left: -1.55rem;
  top: 0.25rem;
  width: 12px;
  height: 12px;
}

body.rtl .timeline {
  padding-left: 0;
  padding-right: 2.75rem;
}

body.rtl .timeline::before {
  left: auto;
  right: 1.1rem;
}

body.rtl .timeline-item::before {
  left: auto;
  right: -1.75rem;
}

body.rtl .timeline--compact {
  padding-right: 2.3rem;
}

body.rtl .timeline--compact .timeline-item::before {
  right: -1.55rem;
}

/* Utility */
.tagline {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 600;
  color: var(--ink-500);
  margin-bottom: 0.75rem;
}

.shadow-soft {
  box-shadow: var(--shadow-soft);
}

.bg-faint {
  background: rgba(15, 118, 110, 0.08);
}

.background-pattern {
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.12), rgba(21, 94, 239, 0.08));
}

/* Footer */
.footer-columns {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  align-items: start;
}

.footer-brand {
  max-width: 300px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-heading {
  letter-spacing: 0.12em;
  font-size: 0.82rem;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 0.4rem;
}

.footer-lead {
  color: rgba(248, 250, 252, 0.85);
  margin-bottom: 0;
}

.footer-note {
  color: rgba(248, 250, 252, 0.58);
  margin-bottom: 0;
  font-size: 0.8rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.footer-links a {
  color: rgba(248, 250, 252, 0.74);
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #fff;
}

.footer-copy {
  color: rgba(248, 250, 252, 0.55);
  font-size: 0.8rem;
}

@media (max-width: 767.98px) {
  .footer-columns {
    gap: 2rem;
  }
}

/* Footer */
.footer {
  background: #0B1220;
  color: rgba(248, 250, 252, 0.85);
  padding: 3.5rem 0;
}

.footer h5,
.footer h6 {
  color: #fff;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  text-transform: uppercase;
}

.footer a {
  color: rgba(248, 250, 252, 0.78);
}

.footer a:hover {
  color: #fff;
}

.footer .list-unstyled {
  display: grid;
  gap: 0.35rem;
}

/* Forms */
.form-label {
  font-weight: 600;
  color: var(--ink-700);
}

.form-control,
.form-select {
  border-radius: 14px;
  padding: 0.7rem 1rem;
  border-color: rgba(15, 118, 110, 0.25);
}

.form-control:focus,
.form-select:focus,
.form-check-input:focus {
  border-color: rgba(21, 94, 239, 0.65);
  box-shadow: 0 0 0 0.25rem rgba(21, 94, 239, 0.15);
}

.progress-soft {
  height: 0.6rem;
  border-radius: 999px;
}

.card-compact {
  border-radius: 18px;
  padding: 1.4rem;
  background: var(--surface-card);
  box-shadow: var(--shadow-soft);
}

.alert-brand {
  background: rgba(15, 118, 110, 0.11);
  border: 1px solid rgba(15, 118, 110, 0.22);
  color: var(--ink-700);
  border-radius: 16px;
}

/* Responsive tweaks */
@media (max-width: 991.98px) {
  .navbar-collapse {
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.16);
    padding: 1.5rem;
  }

  .nav-actions {
    width: 100%;
  }

  .hero {
    text-align: center;
  }

  .hero-metrics,
  .hero-benefits {
    justify-items: center;
  }

  .hero-benefits li {
    justify-content: center;
  }

  .hero-visual {
    margin-top: 2.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
/* Fees page enhancements */
.fees-hero {
    background: radial-gradient(circle at left top, rgba(21, 94, 239, 0.18), transparent 55%),
                radial-gradient(circle at right bottom, rgba(15, 118, 110, 0.12), transparent 60%),
                #f8fafc;
}

.fees-hero-artwork {
    border-radius: 1.8rem;
    overflow: hidden;
}

.fees-hero-artwork img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fees-card {
    border: none;
    border-radius: 1.4rem;
}

.fees-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #fff;
}

.bg-gradient-primary {
    background: linear-gradient(135deg, #155eef, #0f766e);
}

.bg-gradient-secondary {
    background: linear-gradient(135deg, #7c3aed, #0f766e);
}

.bg-gradient-tertiary {
    background: linear-gradient(135deg, #ec4899, #155eef);
}

.table-modern {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 0.75rem;
}
.fees-table .table-modern tbody tr {
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}
.fees-table .table-modern tbody td,
.fees-table .table-modern thead th {
    padding: 1rem 1.25rem;
    background: transparent;
}
.fees-table .table-modern tbody tr td:first-child {
    border-top-left-radius: 1rem;
    border-bottom-left-radius: 1rem;
}
.fees-table .table-modern tbody tr td:last-child {
    border-top-right-radius: 1rem;
    border-bottom-right-radius: 1rem;
}

.fees-illustration,
.fees-ledger {
    border-radius: 1.8rem;
    overflow: hidden;
    margin: 1rem;
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.16);
}

.fees-illustration img,
.fees-ledger img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fees-scenarios {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.fees-scenarios li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
}

.fees-scenarios .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, #155eef, #0f766e);
    margin-top: 0.35rem;
}

.fees-cta {
    border: none;
    background: linear-gradient(135deg, rgba(21, 94, 239, 0.12), rgba(15, 118, 110, 0.16));
}

@media (max-width: 991.98px) {
    .fees-hero-artwork,
    .fees-illustration,
    .fees-ledger {
        margin: 0 auto;
    }
}

.property-meta {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
}

.property-meta .meta-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    min-width: 70px;
}

.property-meta .meta-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(148, 163, 184, 0.16);
    color: #0f172a;
    display: grid;
    place-items: center;
}

.property-meta .meta-value {
    font-weight: 700;
    font-size: 0.95rem;
}

.property-meta .meta-label {
    font-size: 0.72rem;
    color: #64748b;
}
.property-hero {
    position: relative;
    padding: 4.5rem 0;
    background-size: cover;
    background-position: center;
}

.property-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(15, 23, 42, 0.75), rgba(15, 118, 110, 0.3));
}

.property-meta-bar {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.property-meta-bar .meta-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
}

.property-meta-bar .meta-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.2);
    display: grid;
    place-items: center;
    color: #0b1220;
    background-blend-mode: lighten;
    backdrop-filter: blur(6px);
}

.property-meta-bar .meta-value {
    font-weight: 700;
}

.property-meta-bar .meta-label {
    font-size: 0.75rem;
    opacity: 0.8;
}

.property-gallery {
  position: relative;
}

.property-gallery__slider {
  border-radius: 1.6rem;
  overflow: hidden;
  box-shadow: 0 28px 60px rgba(15, 23, 42, 0.18);
  background: #0b1220;
}

.property-gallery__slider .carousel-item img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.property-gallery__slider .carousel-control-prev,
.property-gallery__slider .carousel-control-next {
  width: 42px;
  height: 42px;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.55);
  border: 0;
}

.property-gallery__slider .carousel-control-prev:hover,
.property-gallery__slider .carousel-control-next:hover {
  background: rgba(21, 94, 239, 0.65);
}

.property-gallery__slider .carousel-control-prev-icon,
.property-gallery__slider .carousel-control-next-icon {
  filter: invert(1);
}

.property-gallery__thumbs {
  display: grid;
  gap: 0.75rem;
}

.property-gallery__thumbs.single {
  display: block;
}

.property-thumb {
  border: 0;
  padding: 0;
  border-radius: 1.1rem;
  overflow: hidden;
  background: transparent;
  position: relative;
  cursor: pointer;
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.14);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.property-thumb:focus-visible {
  outline: 2px solid #0f766e;
  outline-offset: 3px;
}

.property-thumb img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  display: block;
}

.property-thumb.active {
  transform: translateY(-2px);
  box-shadow: 0 22px 40px rgba(21, 94, 239, 0.22);
}

.property-thumb.active::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 1.1rem;
  border: 2px solid rgba(21, 94, 239, 0.9);
  box-shadow: 0 0 0 4px rgba(21, 94, 239, 0.18);
}

@media (max-width: 991.98px) {
  .property-gallery__slider .carousel-item img {
    height: 320px;
  }

  .property-gallery__thumbs {
    display: flex;
    overflow-x: auto;
    gap: 0.75rem;
    padding-bottom: 0.5rem;
  }

  .property-thumb {
    min-width: 160px;
  }
}

@media (max-width: 575.98px) {
  .property-gallery__slider .carousel-item img {
    height: 260px;
  }
}

.property-location .property-map {
  border-radius: 1.6rem;
  overflow: hidden;
  height: 100%;
  min-height: 320px;
}

.property-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.property-location__card {
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.88), rgba(255, 255, 255, 0.96));
  border-radius: 1.6rem;
}

.property-location__facts {
  display: grid;
  gap: 0.75rem;
  margin: 0;
}

.property-location__facts dt {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-500);
  margin: 0;
}

.property-location__facts dd {
  margin: 0;
  font-weight: 600;
  color: var(--ink-700);
}

body.rtl .property-gallery__thumbs {
  direction: rtl;
}

body.rtl .property-location__facts {
  text-align: right;
}

.property-facts {
    display: grid;
    gap: 0.5rem;
}

.property-facts .fact-key {
    display: block;
    font-size: 0.75rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.property-facts .fact-value {
    font-weight: 600;
}

.related-thumb {
    width: 54px;
    height: 54px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
}


.currency-switch {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
    min-width: 0;
}

.currency-switch .currency-tabs {
    display: inline-flex;
    gap: 0.35rem;
    padding: 0.35rem;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.12);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(148, 163, 184, 0.18);
}

.currency-chip {
    appearance: none;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: inherit;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0.35rem 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.currency-chip:hover,
.currency-chip:focus-visible {
    background: rgba(255, 255, 255, 0.18);
    color: inherit;
    outline: none;
}

.currency-chip.active {
    background: linear-gradient(135deg, #0f766e, #2563eb);
    color: #fff;
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.25);
}

.currency-chip.is-working::after {
    content: "";
    position: absolute;
    inset: 50% auto auto 50%;
    width: 0.75rem;
    height: 0.75rem;
    margin-left: -0.375rem;
    margin-top: -0.375rem;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.65);
    border-bottom-color: transparent;
    animation: currency-spin 0.7s linear infinite;
}

.currency-switch.is-loading .currency-stamp {
    opacity: 0.65;
}

.currency-stamp {
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.75rem;
}

@keyframes currency-spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}



body.rtl .currency-switch {
    align-items: flex-end;
}

body.rtl .currency-switch .currency-tabs {
    flex-direction: row-reverse;
}

.currency-switch .currency-tabs {
    flex-wrap: wrap;
}

.currency-switch .currency-tabs .currency-chip {
    min-width: 3.2rem;
    text-align: center;
}

@media (max-width: 768px) {
    .currency-switch {
        width: 100%;
        align-items: center;
        margin-bottom: 7px;
    }

    .currency-switch .currency-tabs {
        justify-content: space-between;
    }

    .currency-stamp {
        font-size: 0.7rem;
    }
}

/* Currency dropdown: mobile usability */
.dropdown-menu[data-currency-menu]{
  max-height: 70vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
@media (max-width: 991.98px){
  .dropdown-menu[data-currency-menu]{
    width: calc(100vw - 2rem) !important;
    min-width: 0 !important;
    max-width: 360px;
  }
}




/* Currency mark icon (for SAR) */
.currency-mark-icon { width: 1em; height: 1em; display: inline-block; vertical-align: -0.15em; margin-inline-end: 0.25rem; }
.dropdown-item .currency-mark-icon { width: 1em; height: 1em; }
body.rtl .currency-mark-icon { margin-inline-start: 0.25rem; margin-inline-end: 0.25rem; }


/* Currency dropdown flags */
.flag-icon { width: 16px; height: 12px; border-radius: 2px; border: 1px solid rgba(15, 23, 42, 0.08); display: inline-block; object-fit: cover; margin-inline-end: 0.5rem; }
body.rtl .flag-icon { margin-inline-start: 0.5rem; margin-inline-end: 0.25rem; }
