/* ============================================================
   ALASHT UI — distinct light-luxury layer (overrides Lohrasbi look)
   ============================================================ */

:root {
  --ah-ink: #2F3136;
  --ah-navy: #0E2747;
  --ah-navy-2: #16345C;
  --ah-muted: #5A5D64;
  --ah-line: rgba(14, 39, 71, 0.12);
  --ah-paper: #F4F1EA;
  --ah-sand: #EAE4D6;
  --ah-gold: #C9A32D;
  --ah-gold-deep: #9A7B1E;
  --ah-gold-text: #7A6114;
  --ah-gold-soft: #EADCAF;
  --ah-white: #ffffff;
  --ah-shadow: 0 18px 50px rgba(14, 39, 71, 0.08);
  --ah-radius: 18px;
}

body {
  background:
    radial-gradient(ellipse 80% 40% at 100% 0%, rgba(201, 163, 45, 0.07), transparent 55%),
    var(--ah-paper);
  color: var(--ah-ink);
}

/* —— Modern floating header —— */
.ah-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  padding: 0.85rem 0 0;
  pointer-events: none;
}

.ah-header__shell {
  pointer-events: auto;
  width: min(1180px, calc(100% - 1.5rem));
  margin-inline: auto;
  transition: width 0.35s ease, margin 0.35s ease;
}

.ah-header__bar {
  position: relative;
  background: rgba(var(--t-surface-rgb, 255, 255, 255), 0.72);
  border: 1px solid rgba(var(--t-line-rgb, 14, 39, 71), 0.08);
  border-radius: 18px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.85) inset,
    0 12px 40px rgba(var(--t-shadow-rgb, 14, 39, 71), 0.07);
  backdrop-filter: blur(22px) saturate(1.35);
  -webkit-backdrop-filter: blur(22px) saturate(1.35);
  overflow: hidden;
  transition:
    background 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease,
    transform 0.35s ease;
}

.ah-header__bar::before {
  content: "";
  position: absolute;
  inset-inline: 12%;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--ah-gold), transparent);
  opacity: 0.85;
  pointer-events: none;
}

.ah-header.is-scrolled {
  padding-top: 0.55rem;
}

.ah-header.is-scrolled .ah-header__shell {
  width: min(1120px, calc(100% - 1.25rem));
}

.ah-header.is-scrolled .ah-header__bar {
  background: rgba(var(--t-surface-rgb, 255, 255, 255), 0.9);
  border-color: rgba(var(--t-line-rgb, 14, 39, 71), 0.1);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 16px 44px rgba(var(--t-shadow-rgb, 14, 39, 71), 0.1);
}

.ah-header__row {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-block: 0.35rem;
}

.ah-brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
  color: var(--ah-ink);
  flex: 0 1 auto;
  min-width: 0;
  max-width: min(68vw, 320px);
  transition: opacity 0.2s ease;
}

.ah-brand:hover {
  color: var(--ah-ink);
  opacity: 0.88;
}

.ah-brand__mark-wrap {
  display: none;
}

.ah-brand__mark {
  display: block;
  width: auto;
  height: clamp(56px, 8.5vw, 80px);
  max-width: 100%;
  object-fit: contain;
  object-position: right center;
  border-radius: 0;
  background: transparent;
  border: 0;
  padding: 0;
}

.ah-brand__text {
  display: none;
}

.ah-brand__text strong {
  font-size: clamp(1.05rem, 1.4vw, 1.22rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ah-ink);
}

.ah-brand__text em {
  font-style: normal;
  font-size: 0.7rem;
  color: var(--ah-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 18ch;
}

.ah-nav {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  margin-inline: auto;
  padding: 0.28rem;
  border-radius: 14px;
  background: var(--t-tint, rgba(234, 228, 214, 0.45));
  border: 1px solid rgba(var(--t-line-rgb, 14, 39, 71), 0.05);
}

.ah-nav__link {
  position: relative;
  padding: 0.55rem 0.95rem;
  border-radius: 10px;
  color: var(--t-muted, #5A5D64);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: color 0.22s ease, background 0.22s ease, transform 0.22s ease;
}

.ah-nav__link::after {
  content: "";
  position: absolute;
  right: 18%;
  left: 18%;
  bottom: 0.32rem;
  height: 2px;
  border-radius: 99px;
  background: var(--ah-gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
  opacity: 0.95;
}

.ah-nav__link:hover {
  color: var(--ah-ink);
  background: rgba(var(--t-surface-rgb, 255, 255, 255), 0.65);
}

.ah-nav__link:hover::after {
  transform: scaleX(0.55);
}

.ah-nav__link.is-active {
  color: var(--ah-ink);
  background: var(--t-surface, #fff);
  box-shadow: 0 4px 14px rgba(var(--t-shadow-rgb, 14, 39, 71), 0.06);
}

.ah-nav__link.is-active::after {
  transform: scaleX(1);
}

.ah-header__cta {
  display: none;
  align-items: center;
  gap: 0.5rem;
  flex: 0 0 auto;
}

.ah-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 42px;
  padding: 0.45rem 1.05rem;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: -0.01em;
  transition:
    transform 0.22s ease,
    background 0.22s ease,
    color 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.ah-btn--ghost {
  border: 1px solid rgba(var(--t-line-rgb, 14, 39, 71), 0.14);
  color: var(--ah-ink);
  background: rgba(var(--t-surface-rgb, 255, 255, 255), 0.55);
}

.ah-btn--ghost:hover {
  background: var(--t-surface, #fff);
  border-color: rgba(var(--t-line-rgb, 14, 39, 71), 0.22);
  color: var(--ah-ink);
  transform: translateY(-1px);
}

.ah-btn--gold {
  border: 0;
  color: var(--t-heading, var(--ah-navy));
  background: linear-gradient(135deg, #d4b05a, var(--ah-gold) 48%, #B8941F);
  box-shadow: 0 10px 24px rgba(201, 163, 45, 0.26);
}

.ah-btn--gold i {
  font-size: 0.85rem;
  transition: transform 0.22s ease;
}

.ah-btn--gold:hover {
  color: var(--t-heading, var(--ah-navy));
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.ah-btn--gold:hover i {
  transform: translateX(-2px);
}

/* Primary CTA in header: navy first, gold on hover */
.ah-header .ah-btn--gold {
  color: #fff;
  background: var(--t-navy, #0E2747);
  box-shadow: 0 10px 24px rgba(var(--t-shadow-rgb, 14, 39, 71), 0.18);
  filter: none;
}

.ah-header .ah-btn--gold:hover {
  color: var(--t-heading, var(--ah-navy));
  background: var(--ah-gold);
  box-shadow: 0 12px 28px rgba(201, 163, 45, 0.28);
}

.ah-burger {
  margin-inline-start: auto;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(var(--t-line-rgb, 14, 39, 71), 0.12);
  background: rgba(var(--t-surface-rgb, 255, 255, 255), 0.75);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.ah-burger:hover {
  background: var(--t-surface, #fff);
  border-color: rgba(201, 163, 45, 0.4);
}

.ah-burger span {
  display: block;
  width: 16px;
  height: 1.6px;
  background: var(--t-navy, var(--ah-navy));
  border-radius: 99px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

@media (max-width: 575.98px) {
  .ah-header {
    padding-top: 0.55rem;
  }

  .ah-header__shell {
    width: calc(100% - 0.9rem);
  }

  .ah-brand__text em {
    display: none;
  }

  .ah-header__row {
    min-height: 64px;
  }
}

@media (min-width: 992px) {
  .ah-nav,
  .ah-header__cta {
    display: flex;
  }

  .ah-burger {
    display: none;
  }

  .ah-header__row {
    min-height: 78px;
  }

  .ah-brand__text em {
    max-width: none;
  }
}


/* ============================================================
   HOME v2 — professional split hero + new cards
   ============================================================ */

.main-home {
  padding-top: 0 !important;
  max-width: none !important;
  width: 100%;
}

.page-home .main-home.container,
.main-content.main-home {
  padding-left: 0 !important;
  padding-right: 0 !important;
  overflow: visible;
}

.page-home .ah2-search-wrap,
.page-home .ah2-search-wrap .container {
  overflow: visible;
}

.ah2-hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: min(72vh, 640px);
  background: var(--t-navy, #0E2747);
}

.ah2-hero__panel {
  display: flex;
  align-items: center;
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.25rem, 4vw, 3.5rem);
  background:
    radial-gradient(ellipse 70% 60% at 100% 0%, rgba(201, 163, 45, 0.18), transparent 55%),
    var(--t-navy, #0E2747);
  color: #fff;
}

.ah2-hero__inner {
  max-width: 34rem;
  margin-inline-start: auto;
  width: min(560px, 100%);
}

.ah2-hero__kicker {
  margin: 0 0 0.85rem;
  color: #E3CB7A;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.ah2-hero__title {
  margin: 0 0 0.9rem;
  color: #fff;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.ah2-hero__lead {
  margin: 0 0 1.5rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
  line-height: 1.85;
  max-width: 28rem;
}

.ah2-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.ah2-hero__stats span,
.ah2-hero__stat-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.75rem;
  border: 1px solid rgba(227, 203, 122, 0.35);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.82rem;
  background: rgba(255, 255, 255, 0.04);
}

.ah2-hero__stat-link {
  padding: 0.28rem 0.62rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-decoration: none;
  color: #fff;
  border-color: rgba(227, 203, 122, 0.7);
  background: rgba(201, 163, 45, 0.18);
}

.ah2-hero__stat-link:hover {
  background: #C9A32D;
  color: var(--t-heading, #0E2747);
  border-color: #C9A32D;
}

.ah2-hero__stats strong {
  color: #E3CB7A;
  font-weight: 800;
}

.ah2-hero__stat-link strong {
  font-size: 1.15em;
  color: #E3CB7A;
}

.ah2-hero__stat-link:hover strong {
  color: var(--t-heading, #0E2747);
}

.ah2-hero__visual {
  position: relative;
  min-height: 280px;
  overflow: hidden;
}

.ah2-hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ah2-hero__visual.is-slider img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease;
}

.ah2-hero__visual.is-slider img.is-active {
  opacity: 1;
  z-index: 1;
}

.ah2-hero__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(var(--t-overlay-rgb, 14, 39, 71), 0.45), transparent 45%);
  pointer-events: none;
}

@media (max-width: 991.98px) {
  .ah2-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .ah2-hero__title {
    white-space: normal;
  }
  .ah2-hero__visual {
    min-height: 240px;
    order: -1;
  }
  .ah2-hero__visual::after {
    background: linear-gradient(180deg, transparent, rgba(var(--t-overlay-rgb, 14, 39, 71), 0.55));
  }
  .ah2-hero__inner {
    margin-inline: 0;
    width: 100%;
  }
}

/* Search bar under hero */
.ah2-search-wrap {
  margin-top: -2rem;
  position: relative;
  z-index: 40;
  padding-bottom: 0.5rem;
}

.ah2-search-wrap:has(.is-open) {
  z-index: 1100;
}

.ah2-search {
  background: var(--t-surface, #fff);
  border: 1px solid rgba(var(--t-line-rgb, 14, 39, 71), 0.1);
  border-radius: 16px;
  padding: 1rem 1.1rem 1.75rem;
  box-shadow: 0 18px 50px rgba(var(--t-shadow-rgb, 14, 39, 71), 0.12);
  overflow: visible;
}

.ah2-search__tabs {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 0.9rem;
  padding: 0.28rem;
  width: fit-content;
  max-width: 100%;
  border-radius: 12px;
  background: var(--t-tint, rgba(234, 228, 214, 0.7));
  border: 1px solid rgba(var(--t-line-rgb, 14, 39, 71), 0.06);
}

.ah2-search__tab {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--t-muted, #5A5D64);
  font-weight: 800;
  font-size: 0.92rem;
  padding: 0.5rem 1.15rem;
  border-radius: 10px;
  min-width: 5.5rem;
}

.ah2-search__tab.is-active {
  background: var(--t-navy, #0E2747);
  color: #fff;
}

.ah2-search__form {
  overflow: visible;
}

.ah2-search__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.75rem;
  align-items: start;
}

.ah2-search__field {
  margin: 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

.ah2-search__field[data-loh-combo].is-open {
  z-index: 80;
}

.ah2-search__field span,
.ah2-search__spacer {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--t-muted, #5A5D64);
  font-size: 0.75rem;
  font-weight: 700;
  min-height: 1.1em;
}

.ah2-search__field input,
.ah2-search .loh-combo__trigger,
.ah2-search__select {
  width: 100%;
  min-height: 46px !important;
  border-radius: 10px !important;
  border: 1px solid rgba(var(--t-line-rgb, 14, 39, 71), 0.14) !important;
  background: var(--t-paper, #F4F1EA) !important;
  color: var(--t-ink, #2F3136) !important;
  padding: 0.55rem 0.75rem;
  font-size: 0.92rem;
}

.ah2-search__field input::placeholder {
  color: rgba(var(--t-ink-rgb, 47, 49, 54), 0.66) !important;
  opacity: 1 !important;
}

.ah2-search .loh-combo__value,
.ah2-search .loh-combo__value.is-placeholder {
  color: var(--t-ink, #2F3136) !important;
}

.ah2-search .loh-combo__value.is-placeholder {
  color: rgba(var(--t-ink-rgb, 47, 49, 54), 0.72) !important;
}

.ah2-search .loh-combo__panel {
  background: var(--t-surface, #fff) !important;
  border: 1px solid rgba(var(--t-line-rgb, 14, 39, 71), 0.12) !important;
  box-shadow: 0 14px 36px rgba(var(--t-shadow-rgb, 14, 39, 71), 0.12) !important;
  z-index: 1100;
}

.ah2-search .loh-combo__search,
.ah2-search .loh-combo__option,
.ah2-search .loh-combo__search-wrap i {
  color: var(--t-ink, #2F3136) !important;
}

.ah2-search__btn {
  width: 100%;
  min-height: 46px;
  border: 0;
  border-radius: 10px;
  background: var(--t-navy, #0E2747);
  color: #fff;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.ah2-search__btn:hover {
  background: #C9A32D;
  color: var(--t-heading, #0E2747);
}

/* متن حروفی بودجه — بیرون از جریان لایه‌بندی تا فیلدها بالا نروند */
.ah2-search .hero-search__price-words,
.ah2-search .js-price-words {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  left: 0;
  margin: 0 !important;
  min-height: 0 !important;
  padding: 0;
  font-size: 0.75rem !important;
  line-height: 1.4;
  color: var(--t-muted, #5A5D64) !important;
  font-weight: 600;
  letter-spacing: 0;
  pointer-events: none;
}

@media (max-width: 1199.98px) {
  .ah2-search__grid,
  .ah2-search__grid--car {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .ah2-search-wrap {
    margin-top: -1.25rem;
  }
  .ah2-search__grid {
    grid-template-columns: 1fr 1fr;
  }
  .ah2-search__field--btn {
    grid-column: 1 / -1;
  }
}

@media (max-width: 480px) {
  .ah2-search__grid {
    grid-template-columns: 1fr;
  }
}

/* Section chrome */
.ah2-section {
  padding-block: clamp(2.75rem, 6vw, 4.25rem);
}

.ah2-section--sand {
  background: var(--t-sand, #EAE4D6) !important;
}

.ah2-section--compact {
  padding-block: clamp(1.5rem, 3vw, 2.25rem);
}

.ah2-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.ah2-link {
  color: var(--ah-gold-text) !important;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 1px solid rgba(154, 123, 30, 0.35);
}

.ah2-link:hover {
  color: var(--t-ink, #2F3136) !important;
}

.ah2-grid,
.listing-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

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

@media (max-width: 991.98px) {
  .ah2-grid,
  .listing-grid,
  .listing-grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.85rem;
  }
}

@media (max-width: 575.98px) {
  .ah2-grid,
  .listing-grid,
  .listing-grid--2 {
    grid-template-columns: 1fr !important;
  }
}

/* Service paths */
.ah2-paths {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.ah2-path {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1.15rem 1.2rem;
  background: var(--t-surface, #fff);
  border: 1px solid rgba(var(--t-line-rgb, 14, 39, 71), 0.1);
  border-radius: 4px;
  text-decoration: none;
  color: var(--t-ink, #2F3136);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.ah2-path:hover {
  border-color: #C9A32D;
  transform: translateY(-2px);
  color: var(--t-ink, #2F3136);
}

.ah2-path strong {
  font-size: 1.05rem;
}

.ah2-path span {
  color: var(--t-muted, #5A5D64);
  font-size: 0.86rem;
}

@media (max-width: 767.98px) {
  .ah2-paths {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Areas — light editorial tiles */
.ah2-areas {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.ah2-area {
  position: relative;
  display: block;
  min-height: 168px;
  overflow: hidden;
  border-radius: 18px;
  text-decoration: none !important;
  color: inherit;
  isolation: isolate;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.ah2-area img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s ease;
  z-index: 0;
}

.ah2-area:hover img {
  transform: scale(1.04);
}

.ah2-area__body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  height: 100%;
  min-height: inherit;
  padding: 1.15rem 1.15rem 1.05rem;
  box-sizing: border-box;
}

.ah2-area__name {
  font-size: 1.18rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.ah2-area__intro {
  font-style: normal;
  font-size: 0.82rem;
  line-height: 1.55;
  max-width: 18em;
}

.ah2-area__go {
  margin-top: auto;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  font-size: 0.95rem;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.ah2-area__index {
  position: absolute;
  inset-block-start: 1rem;
  inset-inline-end: 1.05rem;
  z-index: 1;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
  opacity: 0.45;
}

/* No photo: cream paper tile */
.ah2-area--plain {
  background:
    linear-gradient(165deg, var(--t-surface, #FFFFFF) 0%, var(--ah-paper) 72%, var(--ah-sand) 100%);
  border: 1px solid rgba(var(--t-line-rgb, 14, 39, 71), 0.1);
  box-shadow: 0 10px 28px rgba(var(--t-shadow-rgb, 14, 39, 71), 0.05);
}

.ah2-area--plain::before {
  content: "";
  position: absolute;
  inset-block: 1.15rem;
  inset-inline-start: 0;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--ah-gold), rgba(201, 163, 45, 0.15));
  opacity: 0.9;
}

.ah2-area--plain .ah2-area__body {
  padding-inline-start: 1.35rem;
}

.ah2-area--plain .ah2-area__name {
  color: var(--t-heading, var(--ah-navy));
}

.ah2-area--plain .ah2-area__intro {
  color: var(--ah-muted);
}

.ah2-area--plain .ah2-area__index {
  color: var(--t-heading, var(--ah-navy));
}

.ah2-area--plain .ah2-area__go {
  color: var(--t-heading, var(--ah-navy));
  background: rgba(var(--t-line-rgb, 14, 39, 71), 0.06);
}

.ah2-area--plain:hover {
  transform: translateY(-3px);
  border-color: rgba(201, 163, 45, 0.55);
  box-shadow: 0 16px 36px rgba(var(--t-shadow-rgb, 14, 39, 71), 0.1);
}

.ah2-area--plain:hover .ah2-area__go {
  background: var(--t-navy, var(--ah-navy));
  color: #fff;
  transform: translateX(-2px);
}

/* With photo: soft dark veil only on text edge */
.ah2-area--photo {
  min-height: 220px;
  border: 1px solid rgba(var(--t-line-rgb, 14, 39, 71), 0.08);
}

.ah2-area--photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(var(--t-overlay-rgb, 14, 39, 71), 0.08) 20%, rgba(var(--t-overlay-rgb, 14, 39, 71), 0.72) 100%);
  pointer-events: none;
}

.ah2-area--photo .ah2-area__body {
  justify-content: flex-end;
}

.ah2-area--photo .ah2-area__name,
.ah2-area--photo .ah2-area__intro {
  color: #fff;
}

.ah2-area--photo .ah2-area__intro {
  color: rgba(255, 255, 255, 0.86);
}

.ah2-area--photo .ah2-area__go {
  color: var(--t-heading, var(--ah-navy));
  background: rgba(var(--t-surface-rgb, 255, 255, 255), 0.92);
}

.ah2-area--photo:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(var(--t-shadow-rgb, 14, 39, 71), 0.18);
}

.ah2-area--photo:hover .ah2-area__go {
  background: var(--ah-gold);
}

@media (max-width: 991.98px) {
  .ah2-areas {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }

  .ah2-area {
    min-height: 152px;
    border-radius: 16px;
  }

  .ah2-area--photo {
    min-height: 190px;
  }

  .ah2-area__name {
    font-size: 1.05rem;
  }

  .ah2-area__intro {
    font-size: 0.78rem;
  }
}

@media (max-width: 380px) {
  .ah2-area {
    min-height: 144px;
  }

  .ah2-area__body {
    padding: 1rem 0.95rem 0.9rem;
  }

  .ah2-area--plain .ah2-area__body {
    padding-inline-start: 1.15rem;
  }
}

/* Featured — compact horizontal strip */
.ah2-featured {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem 1.25rem;
  overflow: hidden;
  border-radius: 14px;
  background: var(--t-surface, #fff);
  border: 1px solid rgba(var(--t-line-rgb, 14, 39, 71), 0.08);
  text-decoration: none;
  color: inherit;
  min-height: 0;
  padding: 0.65rem 1rem 0.65rem 0.65rem;
  box-shadow: 0 8px 28px rgba(var(--t-shadow-rgb, 14, 39, 71), 0.05);
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.ah2-featured:hover {
  border-color: rgba(154, 123, 30, 0.4);
  box-shadow: 0 12px 32px rgba(var(--t-shadow-rgb, 14, 39, 71), 0.08);
  color: inherit;
  transform: translateY(-1px);
}

.ah2-featured__media {
  width: 140px;
  height: 96px;
  min-height: 0;
  border-radius: 10px;
  overflow: hidden;
  background: var(--t-tint, #ece4d8);
  flex-shrink: 0;
}

.ah2-featured__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ah2-featured__copy {
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  gap: 0.2rem;
  min-height: 0;
  min-width: 0;
}

.ah2-featured__eyebrow {
  margin: 0;
  color: var(--t-gold-text, #6B5512);
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.02em;
}

.ah2-featured__copy h2 {
  margin: 0;
  font-size: clamp(0.98rem, 1.6vw, 1.15rem);
  color: var(--t-ink, #2F3136);
  line-height: 1.35;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ah2-featured__meta {
  margin: 0;
  color: var(--t-muted, #5A5D64);
  font-size: 0.8rem;
}

.ah2-featured__aside {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 0.35rem;
  padding-inline-start: 0.5rem;
  border-inline-start: 1px solid rgba(var(--t-line-rgb, 14, 39, 71), 0.08);
  min-width: 9.5rem;
}

.ah2-featured__price {
  margin: 0;
  color: var(--t-ink, #2F3136);
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.3;
  text-align: left;
  direction: ltr;
}

.ah2-featured__price small {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--t-muted, #5A5D64);
  margin-inline-start: 0.15rem;
}

.ah2-featured__cta {
  margin: 0;
  padding: 0;
  color: var(--t-gold-text, #6B5512);
  font-weight: 700;
  font-size: 0.78rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  border-bottom: none;
  align-self: flex-end;
}

.ah2-featured__cta i {
  font-size: 0.85rem;
  transition: transform 0.2s ease;
}

.ah2-featured:hover .ah2-featured__cta {
  color: var(--t-ink, #2F3136);
  border-bottom-color: transparent;
}

.ah2-featured:hover .ah2-featured__cta i {
  transform: translateX(-3px);
}

@media (max-width: 767.98px) {
  .ah2-featured {
    grid-template-columns: 88px minmax(0, 1fr);
    padding: 0.55rem;
    gap: 0.75rem;
  }

  .ah2-featured__media {
    width: 88px;
    height: 72px;
    border-radius: 8px;
  }

  .ah2-featured__aside {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    border-inline-start: 0;
    border-top: 1px solid rgba(var(--t-line-rgb, 14, 39, 71), 0.08);
    padding: 0.55rem 0.15rem 0.1rem;
    min-width: 0;
  }

  .ah2-featured__copy h2 {
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  .ah2-featured__cta {
    margin-top: 0;
  }
}

.ah2-empty {
  padding: 2rem 1.25rem;
  border: 1px dashed rgba(var(--t-line-rgb, 14, 39, 71), 0.18);
  border-radius: 4px;
  text-align: center;
  color: var(--t-muted, #5A5D64);
}

.ah2-cta {
  background: var(--t-navy, #0E2747);
  color: #fff;
  padding: clamp(3rem, 7vw, 5rem) 0;
}

.ah2-cta__inner {
  text-align: center;
  max-width: 36rem;
}

.ah2-cta h2 {
  margin: 0 0 0.75rem;
  color: #fff;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.ah2-cta p {
  margin: 0 0 1.5rem;
  color: rgba(255, 255, 255, 0.75);
}

.ah2-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
}

.ah2-cta .ah-btn--ghost {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

.ah2-cta .ah-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

/* —— Property card (pcard) —— */
.pcard {
  display: flex;
  flex-direction: column;
  background: var(--t-surface, #fff);
  border: 1px solid rgba(var(--t-line-rgb, 14, 39, 71), 0.1);
  border-radius: 4px;
  overflow: hidden;
  height: 100%;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.pcard:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(var(--t-shadow-rgb, 14, 39, 71), 0.1);
}

.pcard__media-wrap {
  position: relative;
}

.pcard__media {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: var(--t-tint, #eee);
}

.pcard__media--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  background: rgba(var(--t-line-rgb, 14, 39, 71), 0.08);
}

.pcard__media--split img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pcard__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.pcard:hover .pcard__media img {
  transform: scale(1.04);
}

.pcard__placeholder {
  width: 100%;
  height: 100%;
  min-height: 180px;
  background: linear-gradient(135deg, var(--t-tint, #e8dfd2), var(--t-paper, #F4F1EA));
}

.pcard__badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  padding: 0.3rem 0.6rem;
  background: rgba(var(--t-overlay-rgb, 14, 39, 71), 0.82);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 2px;
}

.pcard__actions {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2;
  display: flex;
  gap: 0.35rem;
}

.pcard__action,
.pcard .listing-action {
  width: 34px !important;
  height: 34px !important;
  border-radius: 2px !important;
  background: var(--t-surface, #fff) !important;
  color: var(--t-ink, #2F3136) !important;
  border: 0 !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18) !important;
}

.pcard__action:hover,
.pcard .listing-action:hover,
.pcard .listing-action.is-active {
  background: #C9A32D !important;
  color: #fff !important;
}

.pcard__body {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.05rem 1.1rem 1.25rem;
  text-decoration: none;
  color: inherit;
  flex: 1;
}

.pcard__place {
  margin: 0;
  color: var(--t-muted, #5A5D64);
  font-size: 0.8rem;
  font-weight: 600;
}

.pcard__title {
  margin: 0;
  color: var(--t-ink, #2F3136);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pcard__barter {
  margin: 0;
  color: var(--ah-gold-text);
  font-size: 0.84rem;
  line-height: 1.5;
}

.pcard__price {
  margin: 0.55rem 0 0;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(var(--t-line-rgb, 14, 39, 71), 0.08);
  color: var(--t-ink, #2F3136);
  font-size: 1.05rem;
  font-weight: 800;
  margin-top: auto;
}

.pcard__price small {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--t-muted, #5A5D64);
}

/* —— Home sections —— */
.home-categories,
.home-listings,
.home-presale,
.home-areas,
.home-barter,
.home-featured {
  background: transparent !important;
}

.home-section {
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
}

.section-title {
  color: var(--t-heading, var(--ah-navy)) !important;
  letter-spacing: -0.02em;
}

.section-sub {
  color: var(--ah-muted) !important;
}

.section-head__link {
  color: var(--ah-gold-text) !important;
  border-bottom: 1px solid rgba(201, 163, 45, 0.45);
  padding-bottom: 1px;
}

.type-tabs {
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.type-tabs a {
  border-radius: 999px !important;
  border: 1px solid var(--ah-line) !important;
  background: var(--t-surface, var(--ah-white)) !important;
  color: var(--ah-ink) !important;
  padding: 0.55rem 1rem !important;
}

.type-tabs a:hover,
.type-tabs a.is-active {
  background: var(--t-navy, var(--ah-navy)) !important;
  color: #fff !important;
  border-color: var(--ah-navy) !important;
}

/* Category chips — white labels on dark gradient */
.cat-chip {
  border-radius: 18px !important;
  color: #fff !important;
  background:
    linear-gradient(180deg, transparent 20%, rgba(var(--t-overlay-rgb, 14, 39, 71), 0.82) 100%),
    var(--cat-img) center/cover no-repeat !important;
  box-shadow: var(--ah-shadow);
}

.cat-chip:hover {
  color: #fff !important;
}

.cat-chip span {
  color: #fff !important;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

/* Team rail */
.team-dot__meta {
  color: var(--ah-gold-text) !important;
  font-weight: 700;
}

.team-dot__label {
  color: var(--ah-ink) !important;
}

.team-dot__ring {
  border-color: var(--ah-gold) !important;
  box-shadow: 0 0 0 3px rgba(201, 163, 45, 0.15);
}

/* Listing cards */
.listing-card {
  background: var(--t-surface, var(--ah-white));
  border: 1px solid var(--ah-line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.listing-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--ah-shadow);
}

.listing-card__meta,
.listing-card__price,
.listing-card h3 {
  color: var(--ah-ink) !important;
}

.listing-card__meta {
  color: var(--ah-muted) !important;
}

.listing-card__price {
  color: var(--ah-gold-text) !important;
  font-weight: 800;
}

.listing-action {
  background: rgba(var(--t-surface-rgb, 255, 255, 255), 0.92) !important;
  color: var(--ah-ink) !important;
  border: 1px solid rgba(255, 255, 255, 0.8) !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

.listing-action i {
  color: inherit;
  font-size: 1rem;
}

.listing-action:hover,
.listing-action.is-active {
  background: var(--ah-gold) !important;
  color: #fff !important;
  border-color: var(--ah-gold) !important;
}

.search-page__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.search-page__count {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  background: var(--ah-sand);
  border: 1px solid var(--ah-line);
  color: var(--ah-ink);
  font-weight: 700;
  font-size: 0.9rem;
}

.search-toolbar__main {
  gap: 0.85rem;
}

.search-filter-btn {
  background: var(--ah-sand) !important;
  border-color: var(--ah-line) !important;
  color: var(--ah-ink) !important;
}

.search-toolbar__sort .mf-input,
.search-toolbar__sort select,
#id_sort_top {
  background: var(--t-surface, var(--ah-white)) !important;
  color: var(--ah-ink) !important;
  border: 1px solid var(--ah-line) !important;
  min-width: 10rem;
}

.type-picker__item {
  color: #fff !important;
  border-radius: 16px !important;
  background:
    linear-gradient(180deg, rgba(var(--t-overlay-rgb, 14, 39, 71), 0.15), rgba(var(--t-overlay-rgb, 14, 39, 71), 0.8)),
    var(--cat-img, linear-gradient(135deg, var(--t-tint, #d9c8a5), var(--t-sand, #EAE4D6))) center/cover no-repeat !important;
}

.type-picker__item span {
  color: #fff !important;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
  font-weight: 700;
}

.type-picker__item:first-child {
  background: var(--ah-sand) !important;
  color: var(--ah-ink) !important;
}

.type-picker__item:first-child span {
  color: var(--ah-ink) !important;
  text-shadow: none;
}

.type-picker__item:hover,
.type-picker__item.is-active {
  color: #fff !important;
  border-color: var(--ah-gold) !important;
  box-shadow: 0 0 0 2px rgba(201, 163, 45, 0.35);
}

.type-picker__item:first-child:hover,
.type-picker__item:first-child.is-active {
  color: var(--ah-ink) !important;
}

.search-filters {
  background: var(--t-surface, var(--ah-white)) !important;
  border: 1px solid var(--ah-line) !important;
  color: var(--ah-ink);
}

.search-filters summary,
.search-filters label,
.mf-switch-row,
.mf-check-row {
  color: var(--ah-ink) !important;
}

.mf-input,
.mf-form .form-control,
.mf-form .form-select,
.mf-input:focus,
.mf-form .form-control:focus,
.mf-form .form-select:focus {
  background: var(--t-surface, var(--ah-white)) !important;
  color: var(--ah-ink) !important;
  border-color: var(--ah-line) !important;
}

.mf-input:focus,
.mf-form .form-control:focus,
.mf-form .form-select:focus {
  border-color: var(--ah-gold) !important;
  box-shadow: 0 0 0 3px rgba(201, 163, 45, 0.18) !important;
}

/* Featured / area / CTA */
.featured-minimal {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--ah-line);
  background: var(--t-surface, var(--ah-white));
}

.featured-minimal__copy h2,
.featured-minimal__price,
.featured-minimal__meta {
  color: var(--ah-ink) !important;
}

.area-tile {
  border-radius: 18px;
  overflow: hidden;
}

.area-tile__overlay h3,
.area-tile__overlay p {
  color: #fff !important;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

.home-cta {
  border-radius: 0;
  margin-top: 1rem;
}

.home-cta .section-title {
  color: #fff !important;
}

.home-cta .section-sub {
  color: rgba(255, 255, 255, 0.88) !important;
}

.btn-ghost {
  color: var(--t-heading, var(--ah-navy)) !important;
  border-color: rgba(var(--t-line-rgb, 14, 39, 71), 0.22) !important;
  background: var(--t-surface, #fff) !important;
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: var(--ah-gold) !important;
  background: rgba(201, 163, 45, 0.1) !important;
}

.owner-badge--pending {
  color: #5E4A0F;
}

.footer-lohrasbi {
  background: var(--ah-sand) !important;
  color: var(--ah-muted) !important;
}

.footer-lohrasbi h6,
.footer-lohrasbi a {
  color: var(--ah-ink) !important;
}

.footer-lohrasbi a:hover {
  color: var(--ah-gold-text) !important;
}

.bottom-nav {
  background: rgba(var(--t-paper-rgb, 244, 241, 234), 0.97) !important;
  border-top: 1px solid var(--ah-line) !important;
}

.bottom-nav a {
  color: var(--ah-muted) !important;
}

.bottom-nav a.active,
.bottom-nav a:hover {
  color: var(--ah-gold-text) !important;
}

/* Auth pages */
.auth-visual__title,
.auth-card__title,
.auth-card__sub,
.auth-card__kicker {
  color: var(--ah-ink) !important;
}

.auth-stage {
  background: var(--ah-paper) !important;
}

/* —— Phone numbers must stay LTR inside RTL pages ——
   Without this, spaced numbers like 0913 987 0065 render as 0065 987 0913. */
a[href^="tel:"],
.phone-ltr,
.site-pages-content a[href^="tel:"] {
  direction: ltr;
  unicode-bidi: isolate;
  display: inline-block;
  text-align: left;
}

input[type="tel"],
input[inputmode="tel"],
input[autocomplete="tel"] {
  direction: ltr;
  unicode-bidi: isolate;
  text-align: left;
}

/* Home stories rail */
.ah2-stories {
  padding-block: 1.5rem 0.25rem;
}

.ah2-stories .team-rail {
  margin-bottom: 0;
}

.team-dot--story {
  --story-ring-gap: var(--ah-paper);
}

.team-dot--story .team-dot__ring {
  background: conic-gradient(from 200deg, var(--ah-gold-soft), var(--ah-gold), var(--ah-gold-deep), var(--ah-gold-soft));
}

.team-dot--story.is-seen .team-dot__ring {
  background: rgba(var(--t-line-rgb, 14, 39, 71), 0.16);
  box-shadow: none;
}

.team-dot__play {
  background: var(--ah-gold-deep);
}

/* ── Shadman palette: gold text token flips to light gold on navy surfaces ── */
.ah2-hero,
.ah2-cta,
.ah2-area--photo,
.home-categories,
.home-story,
.home-bts,
.area-hero,
.cat-chip,
.type-picker__item,
.pcard__badge,
.listing-card__overlay,
.pd-gallery__stage,
.story-viewer,
.nav-drawer--dark {
  --ah-gold-text: #E3CB7A;
  --brand-gold-text: #E3CB7A;
}

/* ═════════ Shadman v1.2 components ═════════ */

/* Hero search — fixed province (Kerman) */
.ah2-search__fixed {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 46px;
  padding: 0.45rem 0.75rem;
  border-radius: 10px;
  border: 1px solid rgba(201, 163, 45, 0.45);
  background: rgba(201, 163, 45, 0.1);
  color: var(--t-heading, var(--ah-navy));
}
.ah2-search__fixed i { color: var(--ah-gold-deep); font-size: 1rem; }
.ah2-search__fixed strong { font-size: 0.95rem; font-weight: 800; }
.ah2-search__fixed em {
  font-style: normal;
  font-size: 0.7rem;
  color: var(--ah-muted);
  margin-inline-start: auto;
  white-space: nowrap;
}
.ah2-search .ah2-search__fixed em { margin-bottom: 0; min-height: 0; }
@media (max-width: 1399.98px) {
  .ah2-search__fixed em { display: none; }
}

/* Service paths — with icons */
.ah2-paths { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ah2-path { border-radius: 12px; position: relative; }
.ah2-path i {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 0.45rem;
  border-radius: 10px;
  background: var(--t-navy, var(--ah-navy));
  color: #E3CB7A;
  font-size: 1.2rem;
  transition: background 0.2s ease, color 0.2s ease;
}
.ah2-path:hover i { background: var(--ah-gold); color: var(--t-heading, var(--ah-navy)); }
.ah2-path:focus-visible { outline: 2px solid var(--ah-gold); outline-offset: 2px; }
@media (max-width: 991.98px) {
  .ah2-paths { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 380px) {
  .ah2-path { padding: 0.95rem; }
  .ah2-path strong { font-size: 0.98rem; }
}

.ah2-areas--page {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
@media (max-width: 991.98px) {
  .ah2-areas--page {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Listing type chooser */
.ah-choice {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
  max-width: 880px;
  margin: 0 auto;
}
.ah-choice__card {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1.5rem 1.4rem;
  border-radius: 16px;
  background: var(--t-surface, #fff);
  border: 1px solid rgba(var(--t-line-rgb, 14, 39, 71), 0.12);
  color: var(--ah-ink);
  text-decoration: none;
  box-shadow: 0 14px 36px rgba(var(--t-shadow-rgb, 14, 39, 71), 0.06);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.ah-choice__card:hover,
.ah-choice__card:focus-visible {
  border-color: var(--ah-gold);
  transform: translateY(-3px);
  box-shadow: 0 20px 44px rgba(var(--t-shadow-rgb, 14, 39, 71), 0.12);
  color: var(--ah-ink);
}
.ah-choice__icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--t-navy, var(--ah-navy));
  color: #E3CB7A;
  font-size: 1.5rem;
}
.ah-choice__title { font-size: 1.3rem; color: var(--t-heading, var(--ah-navy)); }
.ah-choice__desc { color: var(--ah-muted); font-size: 0.92rem; line-height: 1.7; }
.ah-choice__list {
  margin: 0.25rem 0 0.5rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.3rem;
  font-size: 0.86rem;
  color: var(--ah-ink);
}
.ah-choice__list li::before { content: "✓"; color: var(--ah-gold-deep); margin-inline-end: 0.4rem; font-weight: 800; }
.ah-choice__cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 800;
  color: var(--ah-gold-text);
}
.ah-choice__back { text-align: center; margin-top: 1.5rem; }
.ah-choice__back a { color: var(--ah-muted); }
@media (max-width: 640px) {
  .ah-choice { grid-template-columns: 1fr; }
  .ah-choice__card { padding: 1.2rem 1.1rem; }
}

.submit-hero__switch { margin: 0.6rem 0 0; font-size: 0.86rem; }
.submit-hero__switch a { color: var(--ah-gold-text); font-weight: 700; text-decoration: none; }
.submit-hero__switch a:hover { text-decoration: underline; }

/* Required marker + two-column rows */
.mf-req { color: #B42318; font-weight: 800; }
.mf-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0.65rem; }
@media (max-width: 360px) { .mf-row-2 { grid-template-columns: 1fr; } }

.submit-gallery-existing {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 0.65rem;
  margin-top: 0.85rem;
}
.submit-gallery-existing__item {
  display: block;
  border: 1px solid rgba(var(--t-line-rgb, 14, 39, 71), 0.12);
  border-radius: 10px;
  overflow: hidden;
  background: var(--t-surface, #fff);
  cursor: pointer;
}
.submit-gallery-existing__item img { width: 100%; height: 84px; object-fit: cover; display: block; }
.submit-gallery-existing__item span {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.5rem;
  font-size: 0.78rem;
  color: var(--ah-ink);
}
.submit-gallery-existing__item:has(input:checked) { border-color: #B42318; opacity: 0.7; }

/* Property card — car specs, two-sided swap, views */
.pcard__specs {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}
.pcard__specs span {
  font-size: 0.74rem;
  font-weight: 700;
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
  background: var(--t-paper, #F4F1EA);
  color: var(--t-heading, var(--ah-navy));
  border: 1px solid rgba(var(--t-line-rgb, 14, 39, 71), 0.08);
}
.pcard__swap {
  margin: 0.15rem 0 0;
  display: grid;
  gap: 0.2rem;
  padding: 0.5rem 0.6rem;
  border-radius: 10px;
  background: rgba(201, 163, 45, 0.09);
  border: 1px dashed rgba(154, 123, 30, 0.35);
  font-size: 0.8rem;
  line-height: 1.55;
}
.pcard__swap div { display: flex; gap: 0.35rem; min-width: 0; }
.pcard__swap dt { font-weight: 800; color: var(--ah-gold-text); flex: none; }
.pcard__swap dd {
  margin: 0;
  color: var(--ah-ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pcard__views {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-inline-start: 0.5rem;
  color: var(--ah-muted);
  font-weight: 600;
}
.pcard__price-label,
.pcard__price small.pcard__price-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ah-muted);
}

/* Car list page */
.car-page__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
@media (max-width: 575.98px) {
  .car-page__actions { width: 100%; }
  .car-page__actions .btn { flex: 1 1 auto; }
}

/* Property detail — value label + barter box */
.pd-price__label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ah-muted);
  margin-bottom: 0.1rem;
}
.pd-swap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: stretch;
  gap: 0.75rem;
}
.pd-swap__side {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 0.95rem 1rem;
  border-radius: 12px;
  background: var(--t-paper, #F4F1EA);
  border: 1px solid rgba(var(--t-line-rgb, 14, 39, 71), 0.08);
  min-width: 0;
}
.pd-swap__side:last-child { background: rgba(201, 163, 45, 0.1); border-color: rgba(201, 163, 45, 0.35); }
.pd-swap__label { font-size: 0.74rem; font-weight: 800; color: var(--ah-gold-text); }
.pd-swap__side strong { color: var(--t-heading, var(--ah-navy)); font-size: 1rem; line-height: 1.55; overflow-wrap: anywhere; }
.pd-swap__side small { color: var(--ah-muted); font-size: 0.8rem; }
.pd-swap__arrow {
  align-self: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--t-navy, var(--ah-navy));
  color: #E3CB7A;
}
.pd-barter__form { margin-top: 1.1rem; padding-top: 1rem; border-top: 1px solid rgba(var(--t-line-rgb, 14, 39, 71), 0.08); }
.pd-barter__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
@media (max-width: 575.98px) {
  .pd-swap { grid-template-columns: 1fr; }
  .pd-swap__arrow { justify-self: center; transform: rotate(90deg); }
  .pd-barter__grid { grid-template-columns: 1fr; }
}

/* Bigger logo — header, drawer and footer */
.ah-brand__mark-wrap { display: none; }
.ah-brand__text { display: none; }
.nav-drawer__brand { display: inline-flex; align-items: center; gap: 0.55rem; }
.nav-drawer__brand img {
  width: auto;
  height: 44px;
  max-width: 180px;
  object-fit: contain;
}
.footer-lohrasbi .ah-brand {
  max-width: none;
  gap: 0.7rem;
}
.footer-lohrasbi .ah-brand__text {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
}
.footer-lohrasbi .ah-brand__text strong {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--ah-ink);
}
.footer-lohrasbi .ah-brand__text em {
  display: block;
  font-style: normal;
  font-size: 0.75rem;
  color: var(--ah-muted);
}
.footer-lohrasbi .ah-brand__mark {
  height: 72px;
  width: auto;
  max-width: 180px;
}

footer a[href^="mailto:"] {
  overflow-wrap: anywhere;
}
