/* LOHRASBI theme */
:root {
  --brand-black: #0A0A0B;
  --brand-charcoal: #202024;
  --brand-gray: #8F8F96;
  --brand-white: #FFFFFF;
  --brand-gold: #E8720F;
  --brand-gold-600: #c9610c;

  --primary: var(--brand-gold);
  --primary-600: var(--brand-gold-600);
  --dark: var(--brand-black);
  --muted: var(--brand-gray);
  --bg: #111114;
  --surface: var(--brand-charcoal);
  --text: var(--brand-white);
  --line: rgba(255, 255, 255, 0.1);

  --bottom-nav-height: 64px;
  --section-space: clamp(3.5rem, 8vw, 6rem);
}

html {
  overflow-x: hidden;
  max-width: 100%;
}

html[dir="rtl"] body {
  text-align: right;
}

body {
  background: var(--bg);
  color: var(--text);
  font-weight: 400;
  padding-bottom: calc(var(--bottom-nav-height) + 1rem);
  overflow-x: hidden;
  max-width: 100%;
  position: relative;
}

@media (min-width: 992px) {
  body {
    padding-bottom: 0;
  }
}

a {
  color: var(--brand-gold);
}

a:hover {
  color: var(--brand-gold-600);
}

img {
  max-width: 100%;
  height: auto;
}

/* —— Top header (tech / glass) —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  isolation: isolate;
  width: 100%;
  max-width: 100%;
}

.site-header__glow {
  pointer-events: none;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse 45% 120% at 90% 0%, rgba(232, 114, 15, 0.16), transparent 60%),
    radial-gradient(ellipse 35% 100% at 8% 0%, rgba(255, 255, 255, 0.04), transparent 55%);
  opacity: 0.95;
  z-index: -1;
}

.site-nav {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 8, 10, 0.72);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.site-header.is-scrolled .site-nav {
  background: rgba(8, 8, 10, 0.9);
  border-bottom-color: rgba(232, 114, 15, 0.18);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}

.site-nav__inner {
  min-height: 96px;
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
}

.site-nav__brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex: 0 0 auto;
  overflow: visible;
}

.site-nav__brand img {
  height: 72px;
  width: auto;
  max-width: min(320px, 46vw);
  display: block;
  object-fit: contain;
  transition: transform 0.35s ease, filter 0.35s ease;
}

@media (max-width: 991.98px) {
  .site-nav__inner {
    min-height: 84px;
  }
  .site-nav__brand img {
    height: 56px;
    max-width: min(240px, 55vw);
  }
}

.site-nav__brand:hover img {
  transform: translateY(-1px);
  filter: drop-shadow(0 0 18px rgba(232, 114, 15, 0.35));
}

.site-nav__brand-pulse {
  position: absolute;
  inset: auto 0 -4px auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-gold);
  box-shadow: 0 0 0 0 rgba(232, 114, 15, 0.55);
  animation: navPulse 2.4s ease-out infinite;
}

@keyframes navPulse {
  0% { box-shadow: 0 0 0 0 rgba(232, 114, 15, 0.5); opacity: 1; }
  70% { box-shadow: 0 0 0 10px rgba(232, 114, 15, 0); opacity: 0.7; }
  100% { box-shadow: 0 0 0 0 rgba(232, 114, 15, 0); opacity: 0.4; }
}

.site-nav__toggle {
  margin-inline-start: auto;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
  z-index: 2;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.site-nav__toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: #fff;
  border-radius: 99px;
  transition: transform 0.28s ease, opacity 0.28s ease, width 0.28s ease;
}

.site-nav__toggle.is-open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.site-nav__toggle.is-open span:nth-child(2) {
  opacity: 0;
  width: 0;
}
.site-nav__toggle.is-open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

@media (max-width: 991.98px) {
  .site-nav__toggle {
    display: inline-flex;
  }
}

.site-nav__desktop {
  display: none;
  flex: 1 1 auto;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

@media (min-width: 992px) {
  .site-nav__desktop {
    display: flex;
  }
}

.site-nav__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.site-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.9rem;
  color: rgba(255, 255, 255, 0.62);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  border-radius: 999px;
  transition: color 0.25s ease, background 0.25s ease;
}

.site-nav__link::after {
  content: "";
  position: absolute;
  right: 0.9rem;
  left: 0.9rem;
  bottom: 0.35rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand-gold), transparent);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.site-nav__link:hover,
.site-nav__link.is-active {
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}

.site-nav__link:hover::after,
.site-nav__link.is-active::after {
  transform: scaleX(1);
}

.site-nav__actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

/* —— Mobile nav drawer (from right) —— */
.nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 12000;
}

.nav-drawer[hidden] {
  display: none !important;
}

.nav-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 4, 6, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  animation: navBackdropIn 0.22s ease forwards;
}

.nav-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(78vw, 300px);
  display: flex;
  flex-direction: column;
  padding:
    max(0.85rem, env(safe-area-inset-top, 0px))
    1rem
    max(1rem, env(safe-area-inset-bottom, 0px));
  background: #101014;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: -16px 0 40px rgba(0, 0, 0, 0.4);
  transform: translateX(105%);
  animation: navDrawerIn 0.28s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.nav-drawer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.nav-drawer__brand {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(232, 114, 15, 0.9);
  font-weight: 600;
}

.nav-drawer__close {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  display: inline-grid;
  place-items: center;
  font-size: 0.9rem;
}

.nav-drawer__nav {
  display: grid;
  gap: 0.15rem;
  flex: 1 1 auto;
  overflow: auto;
  align-content: start;
}

.nav-drawer__link {
  display: block;
  padding: 0.7rem 0.55rem;
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  border-right: 2px solid transparent;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.nav-drawer__link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}

.nav-drawer__link.is-active {
  color: var(--brand-gold);
  background: transparent;
  border-right-color: var(--brand-gold);
}

.nav-drawer__foot {
  display: grid;
  gap: 0.45rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-drawer__ghost,
.nav-drawer__solid {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 11px;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
}

.nav-drawer__ghost {
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  background: transparent;
}

.nav-drawer__solid {
  border: 0;
  color: #0a0a0b;
  background: var(--brand-gold);
}

body.nav-drawer-open {
  overflow: hidden;
}

@keyframes navDrawerIn {
  from { transform: translateX(105%); }
  to { transform: translateX(0); }
}

@keyframes navBackdropIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 40px;
  padding: 0.45rem 1rem;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.nav-btn--ghost {
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
}

.nav-btn--ghost:hover {
  color: #fff;
  border-color: rgba(232, 114, 15, 0.45);
  background: rgba(232, 114, 15, 0.08);
}

.nav-btn--solid {
  color: #fff;
  border: 1px solid transparent;
  background: linear-gradient(135deg, #f08a2a 0%, #E8720F 45%, #c9610c 100%);
  box-shadow: 0 8px 24px rgba(232, 114, 15, 0.28);
}

.nav-btn--solid:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(232, 114, 15, 0.38);
}

.nav-btn--solid i {
  font-size: 0.85rem;
  opacity: 0.9;
}

/* legacy aliases kept for safety */
.navbar.lohrasbi-nav { display: none; }
.brand-strip { display: none !important; }

/* —— Buttons —— */
.btn,
.btn:hover,
.btn:focus,
.btn:active,
.btn:focus-visible,
a.btn,
a.btn:hover,
a.btn:focus,
button.btn,
button.btn:hover {
  text-decoration: none !important;
}

.btn-primary {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  font-weight: 600;
}

.btn-primary:hover,
.btn-primary:focus {
  background: var(--primary-600);
  border-color: var(--primary-600);
  color: #fff;
  text-decoration: none !important;
}

.btn-outline-primary {
  color: var(--brand-gold);
  border-color: var(--brand-gold);
}

.btn-outline-primary:hover {
  background: var(--brand-gold);
  border-color: var(--brand-gold);
  color: #fff;
  text-decoration: none !important;
}

.btn-ghost {
  color: var(--brand-white);
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(6px);
}

.btn-ghost:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.7);
  text-decoration: none !important;
}

/* —— Shared section —— */
.main-home {
  padding: 0 !important;
  max-width: none !important;
  overflow-x: clip;
  width: 100%;
}

.home-section {
  padding: var(--section-space) 0;
}

.section-head {
  margin-bottom: 1.75rem;
  max-width: 36rem;
}

.section-head--wide {
  max-width: none;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.section-head__link {
  color: var(--brand-gold);
  text-decoration: none;
  font-size: 0.9rem;
  white-space: nowrap;
}

.section-head__link:hover {
  color: var(--brand-gold-600);
}

.section-title {
  font-weight: 700;
  margin-bottom: 0.55rem;
  color: var(--brand-white);
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  line-height: 1.35;
}

.section-sub {
  color: var(--muted);
  margin-bottom: 0;
  font-size: 0.98rem;
  line-height: 1.7;
}

.eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 0.65rem;
}

.text-gold {
  color: var(--brand-gold) !important;
}

.badge-soft {
  background: rgba(232, 114, 15, 0.12);
  color: var(--brand-gold);
  border: 1px solid rgba(232, 114, 15, 0.35);
}

/* —— 1. Hero —— */
.home-hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--brand-white);
}

.home-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.home-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.06);
  animation: heroZoom 18s ease-out forwards;
}

.home-hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 10, 11, 0.42) 0%, rgba(10, 10, 11, 0.58) 45%, rgba(10, 10, 11, 0.88) 100%),
    radial-gradient(ellipse 70% 55% at 50% 45%, rgba(232, 114, 15, 0.14), transparent 65%);
}

.home-hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-block: clamp(5.5rem, 12vh, 7.5rem) clamp(4rem, 10vh, 5.5rem);
  display: flex;
  justify-content: center;
  align-items: center;
}

.home-hero__scroll {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.4rem;
  animation: bounceSoft 2.2s ease-in-out infinite;
}

@keyframes heroZoom {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}

@keyframes bounceSoft {
  0%, 100% { transform: translate(-50%, 0); opacity: 0.55; }
  50% { transform: translate(-50%, 6px); opacity: 1; }
}

/* —— Hero smart search card —— */
.hero-search {
  position: relative;
  width: min(720px, 100%);
  margin-inline: auto;
  padding: clamp(1.15rem, 2.4vw, 1.55rem);
  border-radius: 28px;
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04) 42%, rgba(20, 20, 24, 0.55)),
    rgba(18, 18, 22, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(22px) saturate(1.25);
  -webkit-backdrop-filter: blur(22px) saturate(1.25);
  overflow: hidden;
  isolation: isolate;
}

.hero-search__glow {
  pointer-events: none;
  position: absolute;
  inset: -40% auto auto 20%;
  width: 60%;
  height: 70%;
  background: radial-gradient(circle, rgba(232, 114, 15, 0.28), transparent 68%);
  filter: blur(28px);
  z-index: 0;
  animation: heroGlowDrift 8s ease-in-out infinite alternate;
}

.hero-search__head,
.hero-search__form {
  position: relative;
  z-index: 1;
}

.hero-search__head {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-bottom: 1.15rem;
}

.hero-search__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  width: fit-content;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(232, 114, 15, 0.18);
  border: 1px solid rgba(232, 114, 15, 0.35);
}

.hero-search__type {
  min-height: 1.7rem;
  margin: 0;
  font-size: clamp(1.05rem, 2.4vw, 1.28rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #fff;
}

.hero-search__caret {
  display: inline-block;
  width: 2px;
  height: 1.05em;
  margin-inline-start: 2px;
  vertical-align: -0.12em;
  background: var(--brand-gold);
  animation: heroCaret 0.9s steps(1) infinite;
}

.hero-search__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.hero-search__field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin: 0;
}

.hero-search__field--wide {
  grid-column: 1 / -1;
}

.hero-search__field span {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.62);
}

.hero-search__field input {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.9rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(10, 10, 12, 0.55);
  color: #fff;
  font-size: 16px; /* prevent iOS zoom on focus */
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.hero-search__field input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.hero-search__field input:focus {
  border-color: rgba(232, 114, 15, 0.65);
  box-shadow: 0 0 0 3px rgba(232, 114, 15, 0.18);
  background: rgba(10, 10, 12, 0.72);
}

.hero-search__actions {
  display: flex;
  margin-top: 1rem;
}

.hero-search__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: 100%;
  min-height: 52px;
  padding: 0.85rem 1.25rem;
  border: 0;
  border-radius: 14px;
  color: #0a0a0b;
  font-weight: 700;
  background: linear-gradient(135deg, #f59e0b, #E8720F 55%, #c9610c);
  box-shadow: 0 12px 28px rgba(232, 114, 15, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-search__submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(232, 114, 15, 0.36);
  color: #0a0a0b;
}

.hero-search__price-words {
  min-height: 1.15rem;
  margin-top: 0.35rem;
  font-size: 0.78rem;
  line-height: 1.5;
  color: rgba(255, 210, 160, 0.88);
  letter-spacing: -0.01em;
}

/* Modern searchable combo */
.hero-search__field[data-loh-combo] {
  position: relative;
  z-index: 2;
}

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

.loh-combo__trigger {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.9rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(10, 10, 12, 0.55);
  color: #fff;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  text-align: right;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.loh-combo__trigger:hover:not(:disabled),
.hero-search__field[data-loh-combo].is-open .loh-combo__trigger {
  border-color: rgba(232, 114, 15, 0.65);
  box-shadow: 0 0 0 3px rgba(232, 114, 15, 0.18);
  background: rgba(10, 10, 12, 0.72);
}

.loh-combo__trigger:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.loh-combo__value {
  font-style: normal;
  font-size: 0.95rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.loh-combo__value.is-placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.loh-combo__trigger i {
  opacity: 0.65;
  font-size: 0.85rem;
  transition: transform 0.2s ease;
}

.hero-search__field[data-loh-combo].is-open .loh-combo__trigger i {
  transform: rotate(180deg);
}

.loh-combo__panel {
  position: absolute;
  inset-inline: 0;
  top: calc(100% + 8px);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(28, 28, 34, 0.98), rgba(16, 16, 20, 0.98));
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(18px);
  overflow: hidden;
  animation: lohComboIn 0.16s ease-out;
}

.loh-combo__panel[hidden] {
  display: none !important;
}

.loh-combo__search-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.loh-combo__search-wrap i {
  color: rgba(255, 255, 255, 0.45);
}

.loh-combo__search {
  flex: 1;
  min-width: 0;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #fff;
  font-size: 16px;
  min-height: 28px !important;
  padding: 0 !important;
  border-radius: 0 !important;
}

.loh-combo__search:focus {
  outline: none;
}

.loh-combo__list {
  list-style: none;
  margin: 0;
  padding: 0.35rem;
  max-height: 240px;
  overflow: auto;
}

.loh-combo__option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: rgba(255, 255, 255, 0.92);
  text-align: right;
  cursor: pointer;
  transition: background 0.15s ease;
}

.loh-combo__option:hover,
.loh-combo__option.is-active {
  background: rgba(232, 114, 15, 0.16);
}

.loh-combo__option.is-selected {
  background: rgba(232, 114, 15, 0.22);
  color: #ffd7a8;
}

.loh-combo__meta {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.4);
}

.loh-combo__empty {
  padding: 1rem 0.75rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.85rem;
}

@keyframes lohComboIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.submit-ai-hint {
  margin-top: 0.45rem;
  font-size: 0.82rem;
  color: rgba(232, 114, 15, 0.95);
}

.submit-ai-hint.is-ok {
  color: #86efac;
}

.submit-ai-hint.is-err {
  color: #fda4af;
}

@keyframes heroCaret {
  0%, 45% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

@keyframes heroGlowDrift {
  from { transform: translate(-8%, -4%) scale(1); opacity: 0.75; }
  to { transform: translate(10%, 6%) scale(1.12); opacity: 1; }
}

@media (max-width: 640px) {
  .hero-search {
    border-radius: 22px;
    padding: 1rem;
  }

  .hero-search__grid {
    grid-template-columns: 1fr;
  }

  .hero-search__field--wide {
    grid-column: auto;
  }

  .hero-search__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-search__submit {
    justify-content: center;
    width: 100%;
  }
}

/* —— 2. Categories —— */
.home-categories {
  background: var(--brand-black);
  border-top: 1px solid var(--line);
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.85rem;
  width: 100%;
}

@media (max-width: 991px) {
  .cat-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

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

.cat-chip {
  position: relative;
  width: 100%;
  min-height: 140px;
  aspect-ratio: 5 / 4;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  display: flex;
  align-items: flex-end;
  padding: 0.9rem 1rem;
  background:
    linear-gradient(180deg, transparent 15%, rgba(0, 0, 0, 0.78) 100%),
    var(--cat-img) center/cover no-repeat;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.cat-chip:hover {
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.cat-chip span {
  font-weight: 700;
  font-size: 1.05rem;
}

/* —— 3. Listings —— */
.home-listings {
  background:
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(232, 114, 15, 0.08), transparent 50%),
    #141418;
}

.listing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

@media (max-width: 991px) {
  .listing-grid {
    grid-template-columns: 1fr;
  }
}

.listing-card__link-wrap {
  position: relative;
}

.listing-card__placeholder {
  width: 100%;
  height: 100%;
  min-height: 200px;
  background: linear-gradient(135deg, #2a2a30, #1a1a1e);
}

.listing-card__actions {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  display: flex;
  gap: 0.4rem;
  z-index: 2;
}

.listing-action {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 999px;
  background: rgba(10, 10, 11, 0.72);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: background 0.2s ease, color 0.2s ease;
}

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

/* —— Similar price popup —— */
body.similar-modal-open {
  overflow: hidden;
}

.similar-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.similar-modal[hidden] {
  display: none !important;
}

.similar-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(4px);
}

.similar-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  max-height: min(92vh, 880px);
  display: flex;
  flex-direction: column;
  background: #121216;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  animation: similarSheetIn 0.28s ease;
}

@media (min-width: 768px) {
  .similar-modal {
    align-items: center;
    padding: 1.5rem;
  }

  .similar-modal__dialog {
    border-radius: 20px;
    max-height: min(88vh, 820px);
  }
}

@keyframes similarSheetIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.similar-modal__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex: 0 0 auto;
}

.similar-modal__label {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
}

.similar-modal__close {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.similar-modal__body {
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  flex: 1 1 auto;
  min-height: 0;
}

.similar-sheet {
  display: block;
  min-height: 0;
}

.similar-sheet__source {
  padding: 1rem 1rem 1.1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.similar-sheet__source-media {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #0a0a0b;
  margin-bottom: 0.85rem;
}

.similar-sheet__source-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.similar-sheet__source-actions {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  display: flex;
  gap: 0.4rem;
}

.similar-sheet__meta {
  color: var(--brand-gold);
  font-size: 0.82rem;
  margin: 0 0 0.25rem;
}

.similar-sheet__title {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 0.35rem;
  line-height: 1.35;
}

.similar-sheet__price {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
  margin: 0 0 0.9rem;
}

.similar-sheet__cta {
  border-radius: 12px;
}

.similar-sheet__nearby {
  padding: 0.95rem 0 1.15rem;
}

.similar-sheet__nearby-title {
  margin: 0 1rem 0.65rem;
  color: var(--brand-gold);
  font-size: 0.88rem;
  font-weight: 600;
}

.similar-sheet__list {
  padding: 0 0.75rem;
  display: grid;
  gap: 0.55rem;
}

.similar-row {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 0.8rem;
  align-items: center;
  text-decoration: none;
  padding: 0.55rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.similar-row:hover {
  border-color: rgba(232, 114, 15, 0.45);
  background: rgba(232, 114, 15, 0.06);
}

.similar-row__media {
  width: 92px;
  height: 72px;
  border-radius: 10px;
  overflow: hidden;
  background: #0a0a0b;
}

.similar-row__media img,
.similar-row__placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.similar-row__placeholder {
  background: linear-gradient(135deg, #1a1a1f, #101014);
}

.similar-row__body {
  min-width: 0;
  text-align: right;
}

.similar-row__meta {
  margin: 0 0 0.2rem;
  color: var(--brand-gold);
  font-size: 0.75rem;
}

.similar-row__name {
  margin: 0 0 0.25rem;
  color: #fff;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.similar-row__price {
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.8rem;
}

.team-rail {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 0.85rem;
  margin: 0 -0.75rem 1.75rem;
  padding: 0.15rem 0.75rem 0.35rem;
  width: calc(100% + 1.5rem);
  max-width: none;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.team-rail::-webkit-scrollbar {
  display: none;
}

.team-dot {
  flex: 0 0 auto;
  width: 76px;
  text-align: center;
  text-decoration: none;
  color: var(--brand-gray);
  display: flex;
  flex-direction: column;
  align-items: center;
  scroll-snap-align: start;
}

.team-dot__ring {
  width: 68px;
  height: 68px;
  flex: 0 0 68px;
  border-radius: 50%;
  padding: 2px;
  background: linear-gradient(145deg, #f0a14a, var(--brand-gold) 45%, #8a4a12);
  margin: 0 auto 0.4rem;
  overflow: hidden;
  box-sizing: border-box;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.team-dot__ring img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  border-radius: 50%;
  object-fit: cover !important;
  object-position: center;
  display: block;
  border: 2px solid var(--brand-black);
  box-sizing: border-box;
}

.team-dot__ring span {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-charcoal);
  border: 2px solid var(--brand-black);
  color: var(--brand-white);
  font-size: 0.65rem;
  font-weight: 600;
  box-sizing: border-box;
}

.team-dot__meta {
  display: block;
  color: var(--brand-gold);
  font-size: 0.62rem;
  line-height: 1.2;
  margin-bottom: 0.12rem;
  max-width: 76px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.team-dot__label {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 0.68rem;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.78);
  max-width: 76px;
  font-weight: 500;
}

.team-dot:hover .team-dot__label,
.team-dot:active .team-dot__label {
  color: #fff;
}

.team-dot:hover .team-dot__ring,
.team-dot:active .team-dot__ring {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(232, 114, 15, 0.22);
}

@media (min-width: 768px) {
  .team-rail {
    gap: 1.1rem;
    margin: 0 0 2rem;
    padding: 0.2rem 0.15rem 0.4rem;
    width: 100%;
  }

  .team-dot {
    width: 96px;
  }

  .team-dot__ring {
    width: 84px;
    height: 84px;
    flex-basis: 84px;
    padding: 2.5px;
    margin-bottom: 0.45rem;
  }

  .team-dot__meta {
    font-size: 0.68rem;
    max-width: 96px;
  }

  .team-dot__label {
    font-size: 0.78rem;
    max-width: 96px;
  }
}

@media (min-width: 1200px) {
  .team-dot {
    width: 110px;
  }

  .team-dot__ring {
    width: 96px;
    height: 96px;
    flex-basis: 96px;
  }

  .team-dot__meta,
  .team-dot__label {
    max-width: 110px;
  }
}

/* Featured minimal */
.home-featured {
  padding-top: 0.5rem;
  padding-bottom: var(--section-space);
  background: #121216;
}

.featured-minimal {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 1.25rem;
  align-items: center;
  text-decoration: none;
  color: inherit;
  padding: 0.85rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.25s ease, background 0.25s ease;
}

@media (max-width: 767px) {
  .featured-minimal {
    grid-template-columns: 120px 1fr;
    gap: 0.9rem;
  }
}

.featured-minimal:hover {
  border-color: rgba(232, 114, 15, 0.45);
  background: rgba(232, 114, 15, 0.04);
  color: inherit;
}

.featured-minimal__media {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 2px;
}

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

.featured-minimal__eyebrow {
  color: var(--brand-gold);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  margin-bottom: 0.35rem;
}

.featured-minimal__copy h2 {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  color: #fff;
  margin: 0 0 0.35rem;
  font-weight: 600;
  line-height: 1.4;
}

.featured-minimal__meta {
  color: var(--brand-gray);
  font-size: 0.85rem;
  margin-bottom: 0.45rem;
}

.featured-minimal__price {
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.65rem;
}

.featured-minimal__cta {
  display: inline-block;
  font-size: 0.82rem;
  color: var(--brand-gold);
  border-bottom: 1px solid rgba(232, 114, 15, 0.45);
  padding-bottom: 1px;
}

.feed-row {
  display: flex;
  gap: 0.85rem;
  overflow-x: auto;
  padding-bottom: 0.35rem;
}

.feed-row .listing-card {
  flex: 0 0 min(280px, 78vw);
}

.type-tabs {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  margin-bottom: 1.25rem;
  padding-bottom: 0.25rem;
}

.type-tabs a {
  flex: 0 0 auto;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--brand-gray);
  text-decoration: none;
  font-size: 0.88rem;
  white-space: nowrap;
}

.type-tabs a:hover,
.type-tabs a.is-active {
  color: #fff;
  border-color: var(--brand-gold);
  background: rgba(232, 114, 15, 0.15);
}

.listing-card__link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.listing-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 4px;
}

.listing-card__badge {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  z-index: 1;
  padding: 0.28rem 0.55rem;
  border-radius: 8px;
  background: rgba(10, 10, 11, 0.72);
  border: 1px solid rgba(232, 114, 15, 0.45);
  color: #fff;
  font-size: 0.72rem;
  line-height: 1;
}

.listing-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.listing-card__link:hover .listing-card__media img {
  transform: scale(1.05);
}

.listing-card__body {
  padding: 1rem 0.15rem 0;
}

.listing-card__meta {
  color: var(--brand-gold);
  font-size: 0.78rem;
  margin-bottom: 0.25rem;
}

.listing-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--brand-white);
  margin-bottom: 0.35rem;
}

.listing-card__price {
  color: var(--brand-gray);
  font-size: 0.92rem;
  margin: 0;
}

.listing-card__barter {
  color: rgba(232, 114, 15, 0.95);
  font-size: 0.82rem;
  margin: 0 0 0.35rem;
  line-height: 1.45;
}

/* —— 4. Story —— */
.home-story {
  padding: 0;
  background: var(--brand-black);
}

.story-panel {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  min-height: 520px;
}

@media (max-width: 991px) {
  .story-panel {
    grid-template-columns: 1fr;
  }
}

.story-panel__media {
  min-height: 320px;
}

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

.story-panel__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 5vw, 4rem);
  background:
    linear-gradient(160deg, #1a1a1f 0%, #0f0f12 100%);
}

/* —— 5. Areas —— */
.home-areas {
  background: #121216;
}

.area-rail {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1rem;
}

@media (max-width: 767px) {
  .area-rail {
    grid-template-columns: 1fr;
  }
}

.area-tile {
  position: relative;
  display: block;
  min-height: 280px;
  overflow: hidden;
  border-radius: 4px;
  text-decoration: none;
  color: #fff;
}

.area-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  transition: transform 0.8s ease;
}

.area-tile:hover img {
  transform: scale(1.06);
}

.area-tile__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.4rem;
  background: linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, 0.82) 100%);
}

.area-tile__overlay h3 {
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
}

.area-tile__overlay p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
}

/* —— 6. Presale —— */
.home-presale {
  background: var(--brand-black);
}

.presale-banner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--brand-charcoal);
}

@media (max-width: 991px) {
  .presale-banner {
    grid-template-columns: 1fr;
  }
}

.presale-banner__media {
  min-height: 300px;
}

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

.presale-banner__copy {
  padding: clamp(1.5rem, 4vw, 2.75rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* —— 7. Barter —— */
.home-barter {
  background:
    radial-gradient(ellipse 50% 40% at 0% 100%, rgba(232, 114, 15, 0.07), transparent 55%),
    #151519;
}

.barter-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: center;
}

@media (max-width: 991px) {
  .barter-split {
    grid-template-columns: 1fr;
  }
}

.barter-split__media {
  min-height: 280px;
  overflow: hidden;
  border-radius: 4px;
}

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

.barter-split__copy h3 {
  color: var(--brand-white);
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.barter-intro {
  padding: 1rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(232, 114, 15, 0.06);
}

.barter-intro__text {
  margin: 0;
  color: var(--brand-gray);
  font-size: 0.95rem;
  line-height: 1.7;
}

.barter-empty {
  padding: 2rem 1rem;
  text-align: center;
  border: 1px dashed var(--line);
  border-radius: 14px;
}

/* —— 8. Behind the scenes + CTA —— */
.home-bts {
  background: var(--brand-black);
}

.bts-rail {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}

@media (max-width: 767px) {
  .bts-rail {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 0.75rem;
    padding-bottom: 0.35rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  .bts-rail .bts-shot {
    flex: 0 0 72%;
    scroll-snap-align: start;
  }
}

.bts-shot {
  margin: 0;
  overflow: hidden;
  border-radius: 12px;
  color: inherit;
  text-decoration: none;
  display: block;
}

.bts-shot figure {
  margin: 0;
}

.bts-shot img,
.bts-shot video {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
  background: #121216;
}

.bts-shot:hover img {
  transform: scale(1.04);
}

.bts-shot figcaption {
  padding: 0.65rem 0.1rem 0;
  color: var(--brand-gray);
  font-size: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.bts-shot figcaption strong {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
}

.bts-shot figcaption span {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
}

.bts-page__eyebrow {
  margin: 0 0 0.4rem;
  color: var(--brand-gold);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bts-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
}

.bts-breadcrumb a {
  color: var(--brand-gold);
  text-decoration: none;
}

.bts-cats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

@media (min-width: 900px) {
  .bts-cats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.bts-cats--home,
.bts-cats--compact {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.bts-cat-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.bts-cat-card:hover {
  border-color: rgba(232, 114, 15, 0.4);
  transform: translateY(-2px);
}

.bts-cat-card__media {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #121216;
}

.bts-cat-card__media img,
.bts-cat-card__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bts-cat-card__body {
  padding: 0.85rem 0.95rem 1rem;
}

.bts-cat-card__body h2 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
  color: #fff;
}

.bts-cat-card__body p {
  margin: 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

.bts-cat-chip {
  display: inline-flex;
  align-items: center;
  min-height: 2.2rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.86rem;
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.bts-cat-chip:hover {
  border-color: rgba(232, 114, 15, 0.45);
  background: rgba(232, 114, 15, 0.12);
  color: #fff;
}

.bts-rail--page {
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

@media (max-width: 767px) {
  .bts-rail--page {
    display: flex;
  }
}

.bts-masonry {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .bts-masonry {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .bts-masonry {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.bts-item {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
}

.bts-item__media img,
.bts-item__media video {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
  background: #121216;
}

.bts-item__body {
  padding: 0.95rem 1rem 1.1rem;
}

.bts-item__body h2 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  color: #fff;
}

.bts-item__body p {
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.9rem;
  line-height: 1.65;
}

.home-cta {
  position: relative;
  padding: clamp(4rem, 10vw, 6.5rem) 0;
  text-align: center;
  overflow: hidden;
}

.home-cta__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.35) saturate(0.9);
  transform: scale(1.04);
}

.home-cta__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 10, 11, 0.55), rgba(10, 10, 11, 0.88));
}

.home-cta__inner {
  position: relative;
  z-index: 1;
  max-width: 34rem;
  margin: 0 auto;
}

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

/* —— Reveal motion —— */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* —— Footer —— */
.footer-lohrasbi {
  background: var(--brand-charcoal);
  border-top: 1px solid var(--line);
  color: var(--brand-gray);
}

.footer-lohrasbi h6 {
  color: var(--brand-white);
}

.footer-lohrasbi a {
  color: var(--brand-gray);
  text-decoration: none;
}

.footer-lohrasbi a:hover {
  color: var(--brand-gold);
}

.footer-lohrasbi img {
  height: 36px;
  width: auto;
}

/* —— Forms —— */
.form-control,
.form-select {
  background: var(--brand-charcoal);
  border-color: var(--line);
  color: var(--brand-white);
}

.form-control:focus,
.form-select:focus {
  background: var(--brand-charcoal);
  color: var(--brand-white);
  box-shadow: 0 0 0 0.25rem rgba(232, 114, 15, 0.2);
  border-color: var(--brand-gold);
}

.form-control::placeholder {
  color: var(--brand-gray);
}

label .required {
  color: #e57373;
}

/* —— Utilities / stubs —— */
.page-stub {
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 1rem;
}

.page-stub h1 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.page-stub p {
  color: var(--brand-gray);
  margin-bottom: 0;
}

.card-feature {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: none;
  color: var(--text);
}

.card-feature .icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(232, 114, 15, 0.12);
  color: var(--brand-gold);
}

.card-feature h6 {
  margin-top: 0.75rem;
  font-weight: 600;
  color: var(--brand-white);
}

.card-feature p {
  color: var(--brand-gray);
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* —— Bottom navigation —— */
.bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1040;
  height: var(--bottom-nav-height);
  background: rgba(10, 10, 11, 0.96);
  border-top: 1px solid var(--line);
  display: flex;
  backdrop-filter: blur(14px);
}

.bottom-nav a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  color: var(--brand-gray);
  text-decoration: none;
  font-size: 0.7rem;
  font-weight: 500;
}

.bottom-nav a i {
  font-size: 1.25rem;
  line-height: 1;
}

.bottom-nav a.active,
.bottom-nav a:hover {
  color: var(--brand-gold);
}

@media (min-width: 992px) {
  .bottom-nav {
    display: none;
  }
}

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

@media (max-width: 767px) {
  .listing-grid--2 {
    grid-template-columns: 1fr;
  }
}

.type-picker {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.65rem;
}

@media (max-width: 991px) {
  .type-picker {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 575px) {
  .type-picker {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.type-picker__item {
  min-height: 88px;
  border-radius: 10px;
  border: 1px solid var(--line);
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: flex-end;
  padding: 0.7rem 0.85rem;
  background:
    linear-gradient(180deg, rgba(20, 20, 24, 0.2), rgba(0, 0, 0, 0.78)),
    var(--cat-img, linear-gradient(135deg, #2a2a30, #151519)) center/cover no-repeat;
  font-weight: 600;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.type-picker__item:first-child {
  background: var(--brand-charcoal);
  align-items: center;
  justify-content: center;
}

.type-picker__item:hover,
.type-picker__item.is-active {
  color: #fff;
  border-color: var(--brand-gold);
  transform: translateY(-2px);
}

.search-filters-panel {
  position: sticky;
  top: 88px;
  z-index: 20;
}

.search-filters {
  border: 1px solid var(--line);
  background: rgba(20, 20, 24, 0.92);
  backdrop-filter: blur(12px);
  border-radius: 14px;
  padding: 1rem 1.1rem 1.15rem;
  max-height: calc(100vh - 110px);
  overflow: auto;
}

.search-filters summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--brand-white);
  list-style: none;
}

.search-filters summary::-webkit-details-marker {
  display: none;
}

.search-filters__summary::after {
  content: "+";
  float: left;
  color: var(--brand-gold);
}

.search-filters[open] .search-filters__summary::after {
  content: "−";
}

/* Search results toolbar / chips / sheet */
.search-toolbar {
  display: grid;
  gap: 0.85rem;
}

.search-toolbar__main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.search-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.55rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(232, 114, 15, 0.45);
  background: rgba(232, 114, 15, 0.12);
  color: #fff;
  font-weight: 600;
}

.search-filter-btn__count {
  font-style: normal;
  min-width: 1.4rem;
  height: 1.4rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: var(--brand-gold);
  color: #0a0a0b;
  font-size: 0.78rem;
  font-weight: 700;
}

.search-toolbar__sort {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: min(180px, 100%);
}

.search-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.search-chips-empty {
  margin: 0;
  font-size: 0.86rem;
  color: var(--brand-gray);
}

.search-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  max-width: 100%;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.82rem;
  text-decoration: none;
}

.search-chip span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-chip:hover {
  border-color: rgba(232, 114, 15, 0.55);
  color: #fff;
}

.search-chip--clear {
  border-color: rgba(248, 113, 113, 0.35);
  color: #fda4af;
}

.search-layout {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 992px) {
  .search-layout {
    grid-template-columns: minmax(280px, 340px) minmax(0, 1fr);
    align-items: start;
  }
}

.search-filters-panel--desktop {
  display: none;
}

@media (min-width: 992px) {
  .search-filters-panel--desktop {
    display: block;
  }
}

.search-filters-form .search-filters-section {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1.1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.search-filters-form .search-filters-section h3 {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 700;
  color: #fff;
}

.search-flag-list {
  display: grid;
  gap: 0.55rem;
}

.search-sheet {
  position: fixed;
  inset: 0;
  z-index: 11040;
}

.search-sheet[hidden] {
  display: none !important;
}

.search-sheet__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.search-sheet__panel {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  max-height: min(92vh, 920px);
  display: flex;
  flex-direction: column;
  border-radius: 22px 22px 0 0;
  background: #121218;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 0;
  box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.45);
}

@media (min-width: 992px) {
  .search-sheet__panel {
    inset: auto;
    top: 50%;
    left: 50%;
    right: auto;
    bottom: auto;
    width: min(560px, calc(100vw - 2rem));
    max-height: min(86vh, 860px);
    transform: translate(-50%, -50%);
    border-radius: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
}

.search-sheet__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.search-sheet__head h2 {
  margin: 0;
  font-size: 1.05rem;
}

.search-sheet__head p {
  margin: 0.25rem 0 0;
  font-size: 0.82rem;
  color: var(--brand-gray);
}

.search-sheet__close {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
}

.search-sheet__body {
  overflow: auto;
  padding: 1rem 1.1rem calc(1.2rem + env(safe-area-inset-bottom, 0px));
}

body.search-sheet-open {
  overflow: hidden;
}

/* Modern filter fields */
.mf-form {
  display: grid;
  gap: 0.85rem;
}

.mf-field {
  display: grid;
  gap: 0.35rem;
}

.mf-label {
  font-size: 0.78rem;
  color: var(--brand-gray);
  margin: 0;
}

.mf-input,
.mf-form .form-control,
.mf-form .form-select {
  width: 100%;
  background: #0e0e12 !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #fff !important;
  border-radius: 12px !important;
  padding: 0.72rem 0.9rem !important;
  min-height: 46px;
  font-size: 16px !important; /* prevent iOS zoom on focus */
  box-shadow: none !important;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.mf-input--sm {
  min-height: 38px !important;
  padding: 0.4rem 0.7rem !important;
  border-radius: 10px !important;
}

.mf-input:focus,
.mf-form .form-control:focus,
.mf-form .form-select:focus {
  border-color: var(--brand-gold) !important;
  background: #121218 !important;
  outline: none;
}

.mf-hint {
  min-height: 1.1em;
  font-size: 0.78rem;
  color: var(--brand-gold);
}

.mf-error {
  font-size: 0.78rem;
  color: #f07178;
}

.mf-switch-row,
.mf-check-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
}

.mf-switch-row input,
.mf-check-row input {
  width: 1.05rem;
  height: 1.05rem;
  accent-color: var(--brand-gold);
}

.amenity-checks {
  display: grid;
  gap: 0.35rem;
}

/* —— Amenity chips (search filters) —— */
.amenity-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.amenity-chip {
  position: relative;
  display: inline-flex;
  margin: 0;
  cursor: pointer;
  user-select: none;
}

.amenity-chip--solo {
  width: 100%;
}

.amenity-chip--solo .amenity-chip__face {
  width: 100%;
  justify-content: flex-start;
}

.amenity-chip__input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  pointer-events: none;
}

.amenity-chip__face {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.4rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.86rem;
  line-height: 1.2;
  backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.amenity-chip__face .bi {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.45);
  transition: color 0.2s ease;
}

.amenity-chip:hover .amenity-chip__face {
  border-color: rgba(232, 114, 15, 0.35);
  color: #fff;
  transform: translateY(-1px);
}

.amenity-chip:hover .amenity-chip__face .bi {
  color: var(--brand-gold);
}

.amenity-chip__input:checked + .amenity-chip__face {
  border-color: rgba(232, 114, 15, 0.55);
  background:
    linear-gradient(135deg, rgba(232, 114, 15, 0.22), rgba(232, 114, 15, 0.08));
  color: #fff;
  box-shadow:
    0 0 0 1px rgba(232, 114, 15, 0.18),
    0 10px 28px rgba(232, 114, 15, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.amenity-chip__input:checked + .amenity-chip__face .bi {
  color: var(--brand-gold);
}

.amenity-chip__input:focus-visible + .amenity-chip__face {
  outline: 2px solid rgba(232, 114, 15, 0.55);
  outline-offset: 2px;
}

.pagination .page-link {
  background: var(--brand-charcoal);
  border-color: var(--line);
  color: var(--brand-gray);
}

.pagination .page-link:hover {
  background: rgba(232, 114, 15, 0.15);
  color: #fff;
  border-color: var(--brand-gold);
}

.pagination .disabled .page-link {
  background: transparent;
  color: var(--brand-gray);
}

/* —— Property detail (Phase 5) —— */
.main-property {
  max-width: none !important;
  padding: 0 !important;
  width: 100%;
  overflow-x: clip;
}

.pd {
  width: 100%;
}

.pd-shell {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 1rem 1rem 0;
}

.pd-flash {
  max-width: 1120px;
  margin: 1rem auto 0;
  padding: 0 1rem;
}

.pd-flash__item {
  margin: 0 0 0.5rem;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  background: rgba(232, 114, 15, 0.12);
  border: 1px solid rgba(232, 114, 15, 0.35);
  color: #fff;
  font-size: 0.9rem;
}

.pd-gallery {
  width: 100%;
  background: #0c0c0f;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 1.25rem;
}

.pd-gallery__stage {
  width: 100%;
  max-height: min(56vh, 520px);
  overflow: hidden;
  background: #0a0a0b;
}

.pd-gallery__main {
  display: block;
  width: 100%;
  height: min(56vh, 520px);
  object-fit: cover;
}

.pd-gallery__thumbs {
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem;
  overflow-x: auto;
  max-width: none;
  margin: 0;
  scrollbar-width: thin;
}

.pd-gallery__thumb {
  flex: 0 0 auto;
  width: 88px;
  height: 64px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  background: transparent;
  cursor: pointer;
  opacity: 0.65;
  transition: opacity 0.2s ease, border-color 0.2s ease;
}

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

.pd-gallery__thumb.is-active,
.pd-gallery__thumb:hover {
  opacity: 1;
  border-color: var(--brand-gold);
}

.pd-gallery__empty {
  padding: 4rem 1rem;
  text-align: center;
  color: var(--brand-gray);
}

.pd-layout {
  display: grid;
  gap: 2rem;
  max-width: none;
  margin: 0;
  padding: 0 0 2.5rem;
}

@media (min-width: 992px) {
  .pd-layout {
    grid-template-columns: minmax(0, 1fr) 320px;
    align-items: start;
    gap: 2.5rem;
    padding-top: 0.5rem;
  }
}

.pd-kicker {
  color: var(--brand-gold);
  margin: 0 0 0.35rem;
  font-size: 0.9rem;
}

.pd-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: #fff;
  line-height: 1.25;
}

.pd-price {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.92);
  margin: 0 0 1.25rem;
}

.pd-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.75rem;
}

.pd-action {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: 0;
  text-decoration: none;
  cursor: pointer;
  flex: 0 0 auto;
  width: auto;
  height: auto;
  min-width: 0;
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease,
    box-shadow 0.25s ease;
}

.pd-action--primary {
  min-height: 46px;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #f08a2a 0%, var(--brand-gold) 55%, #c9610c 100%);
  color: #fff;
  font-weight: 600;
  font-size: 0.92rem;
  box-shadow: 0 10px 28px rgba(232, 114, 15, 0.28);
}

.pd-action--primary:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(232, 114, 15, 0.36);
}

.pd-action--primary i {
  font-size: 0.95rem;
  opacity: 0.9;
}

.pd-action--ghost {
  min-height: 46px;
  padding: 0 0.95rem 0 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.86rem;
  backdrop-filter: blur(10px);
}

.pd-action--ghost i {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.95rem;
  color: #fff;
  flex: 0 0 auto;
  transition: background 0.25s ease, color 0.25s ease;
}

.pd-action--ghost:hover {
  border-color: rgba(232, 114, 15, 0.45);
  background: rgba(232, 114, 15, 0.08);
  color: #fff;
  transform: translateY(-1px);
}

.pd-action--ghost:hover i,
.pd-action--ghost.is-active i {
  background: rgba(232, 114, 15, 0.2);
  color: var(--brand-gold);
}

.pd-action--ghost.is-active {
  border-color: rgba(232, 114, 15, 0.5);
  color: #fff;
}

.pd-action__label {
  white-space: nowrap;
}

@media (max-width: 420px) {
  .pd-action--ghost .pd-action__label {
    display: none;
  }

  .pd-action--ghost {
    width: 46px;
    min-width: 46px;
    padding: 0;
  }
}

.pd-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

@media (min-width: 768px) {
  .pd-specs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.pd-spec {
  background: var(--brand-charcoal);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  display: grid;
  gap: 0.25rem;
}

.pd-spec span {
  font-size: 0.78rem;
  color: var(--brand-gray);
}

.pd-spec strong {
  color: #fff;
  font-weight: 600;
}

.pd-block {
  margin-bottom: 1.75rem;
  padding: 1.25rem 0 0;
  border-top: 1px solid var(--line);
}

.pd-block--accent {
  border-color: rgba(232, 114, 15, 0.35);
}

.pd-block__title {
  font-size: 1.05rem;
  color: #fff;
  margin: 0 0 0.75rem;
  font-weight: 600;
}

.pd-text {
  color: var(--brand-gray);
  white-space: pre-line;
  margin: 0;
  line-height: 1.75;
}

.pd-amenities {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pd-amenities li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.35rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.86rem;
  backdrop-filter: blur(8px);
}

.pd-amenities .bi {
  color: var(--brand-gold);
  margin: 0;
}

.pd-video,
.pd-map {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0a0a0b;
}

.pd-video iframe,
.pd-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.pd-tour__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin-bottom: 0.85rem;
}

.pd-tour__head .pd-block__title {
  margin: 0;
}

.pd-tour__hint {
  margin: 0;
  font-size: 0.85rem;
  color: var(--brand-muted, #8f8f96);
}

.pd-tour__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 280px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: radial-gradient(ellipse at center, #1a1a1e 0%, #0a0a0b 70%);
  box-shadow: inset 0 0 0 1px rgba(232, 114, 15, 0.12);
}

.pd-tour__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.pd-side {
  display: grid;
  gap: 1rem;
}

.pd-panel {
  background: var(--brand-charcoal);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.15rem 1.2rem 1.25rem;
}

@media (min-width: 992px) {
  .pd-panel {
    position: sticky;
    top: 88px;
  }

  .pd-side .pd-panel:last-child {
    position: static;
  }
}

.pd-panel__title {
  font-size: 1rem;
  color: #fff;
  margin: 0 0 1rem;
  font-weight: 600;
}

.pd-panel__ok {
  color: var(--brand-gold);
  font-size: 0.9rem;
  margin: 0 0 0.85rem;
}

.pd-form .mf-field {
  margin-bottom: 0.75rem;
}

.pd-chat {
  display: grid;
  gap: 0.65rem;
  max-height: 260px;
  overflow-y: auto;
  margin-bottom: 0.85rem;
  padding-left: 0.15rem;
}

.pd-chat__bubble {
  border-radius: 12px;
  padding: 0.65rem 0.8rem;
  background: #15151a;
  border: 1px solid var(--line);
}

.pd-chat__bubble p {
  margin: 0;
  color: #fff;
  font-size: 0.9rem;
  white-space: pre-wrap;
}

.pd-chat__bubble time {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.72rem;
  color: var(--brand-gray);
}

.pd-chat__bubble--user {
  border-color: rgba(232, 114, 15, 0.25);
}

.pd-chat__bubble--office {
  background: rgba(232, 114, 15, 0.1);
}

.pd-related {
  max-width: 1120px;
  margin: 0 auto 2.25rem;
  padding: 0 1rem;
}

.pd-related__frame {
  position: relative;
  border-radius: 22px;
  padding: 1.15rem 1rem 1.2rem;
  background:
    radial-gradient(ellipse 70% 80% at 100% 0%, rgba(232, 114, 15, 0.12), transparent 55%),
    linear-gradient(180deg, #1a1a20 0%, #121216 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.pd-related__frame--soft {
  background:
    radial-gradient(ellipse 60% 70% at 0% 0%, rgba(255, 255, 255, 0.05), transparent 50%),
    linear-gradient(180deg, #18181e 0%, #111114 100%);
}

.pd-related__frame::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, transparent 40%, rgba(255, 255, 255, 0.03) 50%, transparent 60%);
  transform: translateX(-120%);
  animation: pdSheen 7s ease-in-out infinite;
}

@keyframes pdSheen {
  0%, 70% { transform: translateX(-120%); }
  100% { transform: translateX(120%); }
}

.pd-related__head {
  position: relative;
  z-index: 1;
  margin-bottom: 0.95rem;
  padding: 0 0.25rem;
}

.pd-related__eyebrow {
  margin: 0 0 0.3rem;
  color: rgba(232, 114, 15, 0.85);
  font-size: 0.75rem;
  letter-spacing: 0.02em;
}

.pd-related__title {
  margin: 0;
  color: #fff;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  font-weight: 650;
  line-height: 1.35;
}

.pd-related__rail {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 0.7rem;
  overflow-x: auto;
  padding: 0.15rem 0.1rem 0.35rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.pd-mini {
  flex: 0 0 min(280px, 82vw);
  scroll-snap-align: start;
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 0.75rem;
  align-items: center;
  text-decoration: none;
  padding: 0.55rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(10, 10, 11, 0.45);
  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    background 0.3s ease,
    box-shadow 0.3s ease;
}

.pd-mini:hover {
  transform: translateY(-3px);
  border-color: rgba(232, 114, 15, 0.4);
  background: rgba(232, 114, 15, 0.08);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

.pd-mini__media {
  width: 88px;
  height: 72px;
  border-radius: 12px;
  overflow: hidden;
  background: #0a0a0b;
}

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

.pd-mini:hover .pd-mini__media img {
  transform: scale(1.06);
}

.pd-mini__body {
  min-width: 0;
}

.pd-mini__meta {
  margin: 0 0 0.2rem;
  color: var(--brand-gold);
  font-size: 0.72rem;
}

.pd-mini__name {
  margin: 0 0 0.25rem;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pd-mini__price {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.78rem;
}

/* —— Presale project —— */
.ps-summary {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.ps-summary li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.55rem;
}

.ps-summary li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.ps-summary span {
  color: var(--brand-gray);
}

.ps-summary strong {
  color: #fff;
  font-weight: 600;
  text-align: left;
}

.ps-timeline {
  list-style: none;
  margin: 0;
  padding: 0.25rem 0 0;
  position: relative;
}

.ps-timeline::before {
  content: '';
  position: absolute;
  top: 0.4rem;
  bottom: 0.4rem;
  right: 0.4rem;
  width: 1px;
  background: linear-gradient(to bottom, rgba(232, 114, 15, 0.55), rgba(255, 255, 255, 0.08));
}

.ps-timeline__item {
  position: relative;
  padding: 0 1.75rem 1.5rem 0;
}

.ps-timeline__item:last-child {
  padding-bottom: 0;
}

.ps-timeline__dot {
  position: absolute;
  top: 0.35rem;
  right: 0.15rem;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: var(--brand-gold);
  box-shadow: 0 0 0 4px rgba(232, 114, 15, 0.18);
}

.ps-timeline__card {
  background: var(--brand-charcoal);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem 1.1rem;
}

.ps-timeline__date {
  display: block;
  color: var(--brand-gold);
  font-size: 0.8rem;
  margin-bottom: 0.35rem;
}

.ps-timeline__title {
  margin: 0 0 0.4rem;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
}

.ps-timeline__text {
  margin: 0;
  color: var(--brand-gray);
  font-size: 0.92rem;
  line-height: 1.7;
  white-space: pre-line;
}

.ps-timeline__media {
  display: block;
  width: 100%;
  margin-top: 0.85rem;
  padding: 0;
  border: 0;
  border-radius: 10px;
  overflow: hidden;
  background: transparent;
  cursor: pointer;
}

.ps-timeline__media img {
  display: block;
  width: 100%;
  max-height: 220px;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.ps-timeline__media:hover img {
  transform: scale(1.03);
}

/* —— Areas / auth / profile —— */
.area-hero {
  position: relative;
  min-height: min(52vh, 420px);
  overflow: hidden;
  background: #0a0a0b;
}

.area-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.area-hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 11, 0.92) 8%, rgba(10, 10, 11, 0.35) 55%, rgba(10, 10, 11, 0.2));
}

.area-hero__copy {
  position: relative;
  z-index: 1;
  padding: 5rem 1rem 2rem;
  max-width: 1120px;
  margin: 0 auto;
}

.area-rail--wrap {
  flex-wrap: wrap;
  overflow: visible;
}

.area-rail--wrap .area-tile {
  flex: 1 1 min(280px, 100%);
}

.auth-page,
.auth-form {
  max-width: 420px;
}

/* —— Auth stage (login / register) —— */
body.page-auth {
  padding-bottom: 0;
  min-height: 100vh;
  background: #07070a;
}

body.page-auth .main-auth {
  max-width: none !important;
  width: 100%;
  padding: 0 !important;
  margin: 0 !important;
}

.auth-stage {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  direction: ltr; /* visual left · form right */
  overflow: hidden;
  isolation: isolate;
}

.auth-visual,
.auth-panel,
.auth-card {
  direction: rtl;
}

@media (max-width: 991px) {
  .auth-stage {
    grid-template-columns: 1fr;
  }
}

.auth-stage__glow {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 55% 50% at 18% 30%, rgba(232, 114, 15, 0.22), transparent 60%),
    radial-gradient(ellipse 40% 45% at 88% 70%, rgba(255, 255, 255, 0.05), transparent 55%),
    radial-gradient(ellipse 30% 30% at 60% 10%, rgba(232, 114, 15, 0.08), transparent 50%);
}

.auth-stage__grid {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 40% 40%, #000 20%, transparent 75%);
}

.auth-visual {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(1.5rem, 4vw, 3rem);
  min-height: 42vh;
}

@media (max-width: 991px) {
  .auth-visual {
    min-height: auto;
    padding-bottom: 1rem;
  }
}

.auth-visual__brand img {
  display: block;
  height: 42px;
  width: auto;
  filter: drop-shadow(0 0 18px rgba(232, 114, 15, 0.25));
}

.auth-visual__copy {
  max-width: 30rem;
  margin-top: clamp(2rem, 8vh, 5rem);
}

.auth-visual__eyebrow {
  margin: 0 0 0.75rem;
  color: var(--brand-gold);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.auth-visual__title {
  margin: 0 0 0.85rem;
  color: #fff;
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  font-weight: 700;
  line-height: 1.25;
}

.auth-visual__sub {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.98rem;
  line-height: 1.75;
  max-width: 28rem;
}

.auth-visual__signals {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
}

.auth-visual__signals li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.84rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(8px);
}

.auth-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-gold);
  box-shadow: 0 0 0 0 rgba(232, 114, 15, 0.5);
  animation: authPulse 2.4s ease-out infinite;
}

@keyframes authPulse {
  0% { box-shadow: 0 0 0 0 rgba(232, 114, 15, 0.45); }
  70% { box-shadow: 0 0 0 10px rgba(232, 114, 15, 0); }
  100% { box-shadow: 0 0 0 0 rgba(232, 114, 15, 0); }
}

.auth-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
}

.auth-orb--a {
  width: 220px;
  height: 220px;
  left: 8%;
  bottom: 12%;
  background: radial-gradient(circle, rgba(232, 114, 15, 0.35), transparent 68%);
  animation: authFloat 9s ease-in-out infinite;
}

.auth-orb--b {
  width: 160px;
  height: 160px;
  right: 18%;
  top: 18%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12), transparent 70%);
  animation: authFloat 11s ease-in-out infinite reverse;
}

@keyframes authFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

.auth-panel {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1.25rem, 4vw, 2.5rem);
}

.auth-card {
  width: min(440px, 100%);
  padding: clamp(1.35rem, 3vw, 1.85rem);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02) 40%, rgba(10, 10, 11, 0.55));
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
  animation: authCardIn 0.55s ease;
}

@keyframes authCardIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.auth-card__head {
  margin-bottom: 1.35rem;
}

.auth-card__kicker {
  margin: 0 0 0.45rem;
  color: var(--brand-gold);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.auth-card__title {
  margin: 0 0 0.45rem;
  color: #fff;
  font-size: 1.55rem;
  font-weight: 700;
}

.auth-card__sub {
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.9rem;
  line-height: 1.65;
}

.auth-alert {
  margin-bottom: 1rem;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  border: 1px solid rgba(248, 81, 73, 0.35);
  background: rgba(248, 81, 73, 0.12);
  color: #ffb4ae;
  font-size: 0.88rem;
}

.auth-form {
  max-width: none;
  display: grid;
  gap: 0.85rem;
}

.auth-form .mf-field {
  margin: 0;
}

.auth-form .mf-input,
.auth-form .form-control {
  background: rgba(8, 8, 10, 0.72) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  border-radius: 14px !important;
  min-height: 48px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.auth-form .mf-input:focus,
.auth-form .form-control:focus {
  border-color: rgba(232, 114, 15, 0.65) !important;
  box-shadow: 0 0 0 3px rgba(232, 114, 15, 0.15);
}

.auth-submit {
  margin-top: 0.35rem;
  width: 100%;
  min-height: 50px;
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #f08a2a 0%, var(--brand-gold) 50%, #c9610c 100%);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  box-shadow: 0 14px 34px rgba(232, 114, 15, 0.32);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.auth-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(232, 114, 15, 0.4);
  color: #fff;
}

.auth-card__foot {
  margin: 1.15rem 0 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.88rem;
}

.auth-card__foot a {
  color: var(--brand-gold);
  text-decoration: none;
  font-weight: 600;
}

.auth-card__home {
  display: block;
  margin-top: 0.85rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.8rem;
  text-decoration: none;
}

.auth-card__home:hover {
  color: rgba(255, 255, 255, 0.7);
}

.profile-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.profile-list li {
  display: grid;
  gap: 0.2rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--brand-charcoal);
}

.profile-list a {
  color: #fff;
  text-decoration: none;
}

.profile-list span {
  color: var(--brand-gray);
  font-size: 0.8rem;
}

/* —— Owner panel —— */
.owner-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.75rem;
}

.owner-stat {
  background: var(--brand-charcoal);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.95rem 1rem;
  display: grid;
  gap: 0.35rem;
}

.owner-stat span {
  color: var(--brand-gray);
  font-size: 0.78rem;
}

.owner-stat strong {
  color: #fff;
  font-size: 1.35rem;
}

.owner-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.owner-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

.owner-table th,
.owner-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line);
  text-align: right;
  font-size: 0.9rem;
}

.owner-table th {
  color: var(--brand-gray);
  font-weight: 500;
  background: rgba(255, 255, 255, 0.02);
}

.owner-table td {
  color: rgba(255, 255, 255, 0.9);
}

.owner-table tr:last-child td {
  border-bottom: 0;
}

.owner-badge {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.75rem;
  background: rgba(255, 255, 255, 0.08);
}

.owner-badge--approved {
  background: rgba(46, 160, 67, 0.18);
  color: #7ee787;
}

.owner-badge--pending {
  background: rgba(232, 114, 15, 0.18);
  color: var(--brand-gold);
}

.owner-badge--rejected {
  background: rgba(248, 81, 73, 0.18);
  color: #ff7b72;
}

.owner-badge--draft,
.owner-badge--archived {
  color: var(--brand-gray);
}

/* —— Owner submit form —— */
.main-submit {
  max-width: none !important;
  padding: 0 !important;
  width: 100%;
}

.submit-stage {
  position: relative;
  isolation: isolate;
  padding: 2rem 0 4rem;
  overflow: hidden;
  background: #07070a;
}

.submit-stage__glow {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 50% 40% at 85% 10%, rgba(232, 114, 15, 0.18), transparent 55%),
    radial-gradient(ellipse 40% 35% at 10% 80%, rgba(255, 255, 255, 0.04), transparent 50%);
}

.submit-stage__grid {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 15%, transparent 75%);
}

.submit-wrap {
  position: relative;
  z-index: 1;
  max-width: 920px;
}

.submit-hero {
  margin-bottom: 1.75rem;
}

.submit-hero__eyebrow {
  margin: 0 0 0.45rem;
  color: var(--brand-gold);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.submit-hero__title {
  margin: 0 0 0.55rem;
  color: #fff;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
}

.submit-hero__sub {
  margin: 0 0 1.1rem;
  color: rgba(255, 255, 255, 0.58);
  max-width: 36rem;
  line-height: 1.7;
}

.submit-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.submit-steps li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.8rem;
}

.submit-steps li span {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.72rem;
}

.submit-steps li.is-on {
  border-color: rgba(232, 114, 15, 0.4);
  color: #fff;
}

.submit-steps li.is-on span {
  background: var(--brand-gold);
  color: #fff;
}

.submit-steps li.is-done {
  border-color: rgba(232, 114, 15, 0.22);
  color: rgba(255, 255, 255, 0.85);
}

.submit-steps li.is-done span {
  background: rgba(232, 114, 15, 0.35);
  color: #fff;
}

.submit-steps li[role="button"] {
  cursor: pointer;
  user-select: none;
}

.submit-steps li.is-locked {
  opacity: 0.55;
  cursor: default;
  pointer-events: none;
}

.submit-form {
  display: grid;
  gap: 1rem;
}

.submit-panel[hidden] {
  display: none !important;
}

.submit-panel.is-active {
  animation: submitPanelIn 0.35s ease both;
}

@keyframes submitPanelIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.submit-form-error {
  margin-bottom: 0.25rem;
}

.submit-type-hint {
  margin: 0.45rem 0 0;
  color: rgba(232, 114, 15, 0.95);
  font-size: 0.78rem;
  line-height: 1.5;
}

.submit-cond[hidden],
.submit-barter-box[hidden],
.mf-field[hidden] {
  display: none !important;
}

.submit-barter-box {
  border-radius: 16px;
  border: 1px solid rgba(232, 114, 15, 0.35);
  background:
    linear-gradient(160deg, rgba(232, 114, 15, 0.12), rgba(255, 255, 255, 0.02));
  padding: 1rem 1.05rem 1.1rem;
  animation: submitPanelIn 0.3s ease both;
}

.submit-barter-box__head {
  margin-bottom: 0.85rem;
}

.submit-barter-box__head strong {
  display: block;
  color: #fff;
  font-size: 0.95rem;
}

.submit-barter-box__head span {
  display: block;
  margin-top: 0.2rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8rem;
}

.submit-barter-box__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem 1rem;
}

@media (max-width: 767px) {
  .submit-barter-box__grid {
    grid-template-columns: 1fr;
  }
}

.submit-tour {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  padding: 1rem 1.05rem 1.15rem;
}

.submit-tour__head {
  margin-bottom: 0.75rem;
}

.submit-tour__head strong {
  color: #fff;
  font-size: 0.95rem;
  margin-inline-end: 0.5rem;
}

.submit-tour__badge {
  display: inline-block;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  color: rgba(232, 114, 15, 0.95);
  border: 1px solid rgba(232, 114, 15, 0.35);
  background: rgba(232, 114, 15, 0.08);
  vertical-align: middle;
}

.submit-tour__head p {
  margin: 0.35rem 0 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8rem;
  line-height: 1.55;
}

.submit-tour__steps {
  margin: 0 0 0.9rem;
  padding: 0 1.1rem 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.84rem;
  line-height: 1.7;
}

.submit-tour__steps a {
  color: var(--brand-gold, #e8720f);
  text-decoration: none;
}

.submit-tour__steps a:hover {
  text-decoration: underline;
}

.submit-card {
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02) 45%, rgba(10, 10, 11, 0.55));
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(14px);
  overflow: hidden;
}

.submit-card__head {
  padding: 1.15rem 1.25rem 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.submit-card__head h2 {
  margin: 0 0 0.25rem;
  color: #fff;
  font-size: 1.05rem;
}

.submit-card__head p {
  margin: 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.86rem;
}

.submit-card__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem 1rem;
  padding: 1.15rem 1.25rem 1.35rem;
}

.submit-card__grid--dense {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.submit-span-2 {
  grid-column: 1 / -1;
}

@media (max-width: 767px) {
  .submit-card__grid,
  .submit-card__grid--dense {
    grid-template-columns: 1fr;
  }
}

.submit-upload {
  border: 1px dashed rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  padding: 0.85rem 1rem;
  background: rgba(0, 0, 0, 0.25);
}

.submit-upload__hint {
  margin: 0.55rem 0 0;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.8rem;
}

.submit-switch {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 0;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
}

.submit-switch input {
  margin-top: 0.2rem;
  accent-color: var(--brand-gold);
}

.submit-switch strong {
  display: block;
  color: #fff;
  font-size: 0.92rem;
}

.submit-switch small {
  display: block;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.8rem;
  margin-top: 0.15rem;
}

.submit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  padding-top: 0.35rem;
}

.submit-actions__go {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 48px;
  padding-inline: 1.35rem;
  border-radius: 999px;
  box-shadow: 0 14px 34px rgba(232, 114, 15, 0.28);
}

.submit-form .mf-input.is-invalid {
  border-color: rgba(255, 90, 90, 0.7) !important;
  box-shadow: 0 0 0 3px rgba(255, 90, 90, 0.15);
}

/* —— Profile hub —— */
.profile-hub__hero {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-end;
  margin-bottom: 1.35rem;
  padding: 1.35rem 1.4rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(ellipse 60% 80% at 100% 0%, rgba(232, 114, 15, 0.16), transparent 55%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
}

.profile-hub__eyebrow {
  margin: 0 0 0.35rem;
  color: var(--brand-gold);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.profile-hub__hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.profile-nav {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.65rem;
  margin-bottom: 1.15rem;
}

.profile-nav__item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.9rem 0.95rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none !important;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.profile-nav__item:hover {
  border-color: rgba(232, 114, 15, 0.4);
  background: rgba(232, 114, 15, 0.08);
  color: #fff;
  transform: translateY(-1px);
  text-decoration: none !important;
}

.profile-nav__item i {
  color: var(--brand-gold);
  font-size: 1.1rem;
}

.profile-nav__item span {
  font-size: 0.86rem;
}

.profile-nav__item strong {
  font-size: 0.95rem;
  color: #fff;
}

.profile-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 767px) {
  .profile-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.profile-stat {
  padding: 0.9rem 1rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.profile-stat span {
  display: block;
  color: var(--brand-gray);
  font-size: 0.78rem;
  margin-bottom: 0.25rem;
}

.profile-stat strong {
  color: #fff;
  font-size: 1.25rem;
}

.profile-section {
  margin-bottom: 2rem;
  scroll-margin-top: 6rem;
}

.profile-section--panel {
  padding: 1.15rem 1.2rem 1.3rem;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
}

.profile-listings {
  display: grid;
  gap: 0.85rem;
}

.profile-listing {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 0.9rem;
  padding: 0.75rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
}

@media (max-width: 575px) {
  .profile-listing {
    grid-template-columns: 1fr;
  }
}

.profile-listing__media {
  display: block;
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 4 / 3;
  background: #121216;
  text-decoration: none !important;
}

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

.profile-listing__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.75rem;
  align-items: center;
  margin-bottom: 0.35rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8rem;
}

.profile-listing__body h3 {
  margin: 0 0 0.35rem;
  font-size: 1.02rem;
  color: #fff;
}

.profile-listing__body h3 a {
  color: inherit;
  text-decoration: none !important;
}

.profile-listing__price {
  margin: 0;
  color: var(--brand-gold);
  font-weight: 600;
}

.profile-empty {
  padding: 1.5rem;
  border-radius: 16px;
  border: 1px dashed rgba(255, 255, 255, 0.14);
  text-align: center;
}

.profile-empty p {
  margin: 0 0 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}
