@font-face {
  font-family: 'CaucasusStayFont';
  src: url('../../fonts/78a73ba69e1c5e04-s.p.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --brand: #0f5d48;
  --brand-dark: #0a4536;
  --brand-soft: #eef6f3;
  --text: #10231e;
  --muted: #6b7773;
  --white: #ffffff;
  --line: #e3ebe8;
  --surface: #f8faf9;
  --shadow: 0 14px 32px rgba(16, 35, 30, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'CaucasusStayFont', Arial, Helvetica, sans-serif;
  background: var(--white);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { cursor: pointer; }

/* ========================================
   Header / Branding
======================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 28px rgba(16, 35, 30, .08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.header-inner {
  width: min(1180px, 92%);
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  line-height: 0;
}
.brand img {
  display: block;
  width: clamp(142px, 16vw, 196px);
  height: auto;
  object-fit: contain;
}
.top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.btn {
  min-height: 38px;
  padding: 10px 16px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 850;
  transition: .18s ease;
}
.btn:hover, .service-tab:hover, .search-btn:hover { transform: translateY(-1px); }
.btn-light {
  background: var(--white);
  border-color: var(--line);
  color: var(--text);
}
.btn-brand {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--white);
}

/* ========================================
   Hero / Services
======================================== */
.hero-slider {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: flex-start;
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
  perspective: 1200px;
  background: var(--brand-dark);
}
.hero-slider::before,
.hero-slider::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-slider::before {
  z-index: -2;
  background: url('../../image/Georgia-Tbilisi-ss-scaled.webp') center/cover no-repeat;
  transform: scale(1.01) translateZ(0);
  transform-origin: center;
  transition: transform 1.45s cubic-bezier(.16,.84,.28,1), filter 1.45s ease;
  will-change: transform;
}
.hero-slider::after {
  z-index: -1;
  background: linear-gradient(90deg, rgba(7, 43, 35, .74) 0%, rgba(7, 43, 35, .38) 48%, rgba(7, 43, 35, .04) 100%);
}
body.is-search-active .hero-slider::before,
body:has(.search-card:hover) .hero-slider::before,
body:has(.search-card:focus-within) .hero-slider::before {
  transform: scale(1.035) rotateX(.25deg) rotateY(-.35deg) translateZ(8px);
  filter: saturate(1.025) contrast(1.015);
}
.hero-wrap {
  position: relative;
  z-index: 1;
  width: min(1180px, 92%);
  margin: 0 auto;
  padding: 42px 0 112px;
}
.service-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 0;
}
.service-tab {
  min-height: 36px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 11px;
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(255,255,255,.56);
  color: var(--text);
  font-size: 12.5px;
  font-weight: 850;
  box-shadow: 0 8px 18px rgba(0,0,0,.08);
  transition: .18s ease;
}
.service-tab.active {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--white);
}
.tab-icon {
  width: 21px;
  height: 21px;
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  color: var(--brand);
}
.service-tab.active .tab-icon {
  background: rgba(255,255,255,.16);
  color: var(--white);
}
.tab-icon svg { width: 13px; height: 13px; fill: currentColor; }


/* ========================================
   Search Form / Guests Dropdown
======================================== */
.main-shell {
  position: relative;
  z-index: 5;
  width: min(1180px, 92%);
  margin: -58px auto 62px;
}
.search-card {
  position: relative;
  z-index: 6;
  display: grid;
  grid-template-columns: 1.55fr repeat(2, 1fr) 1.35fr auto;
  gap: 8px;
  align-items: end;
  padding: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.field {
  min-height: 62px;
  padding: 9px 11px;
  background: var(--white);
  border: 1px solid var(--line);
  transition: .18s ease;
}
.field:focus-within {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(15,93,72,.10);
}
.field span {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
}
.field input,
.field select {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-size: 13px;
  font-weight: 760;
}
.search-btn {
  height: 62px;
  padding: 0 24px;
  border: 0;
  background: var(--brand);
  color: var(--white);
  font-size: 16px;
  font-weight: 900;
  transition: .18s ease;
}
.search-btn:hover { background: var(--brand-dark); }

.guest-field { position: relative; }
.guest-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  text-align: left;
}
.guest-trigger strong {
  overflow: hidden;
  font-size: 13px;
  font-weight: 760;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.guest-arrow {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 16px;
  line-height: 1;
}
.guest-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  z-index: 30;
  min-width: 290px;
  padding: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 18px 42px rgba(16, 35, 30, .16);
}
.guest-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
}
.guest-row + .guest-row { border-top: 1px solid var(--line); }
.guest-row strong {
  display: block;
  margin-bottom: 2px;
  font-size: 14px;
  font-weight: 900;
}
.guest-row small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}
.stepper {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px;
  background: var(--brand-soft);
  border: 1px solid var(--line);
}
.counter-btn {
  width: 30px;
  height: 30px;
  border: 0;
  background: var(--white);
  color: var(--brand);
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
  transition: .16s ease;
}
.counter-btn:hover { background: var(--brand); color: var(--white); }
.counter-btn:disabled { opacity: .38; cursor: not-allowed; }
.stepper output {
  min-width: 22px;
  color: var(--text);
  font-size: 14px;
  font-weight: 900;
  text-align: center;
}

/* ========================================
   Page Content / Cards
======================================== */
.page-content { padding-top: 30px; }
.section-title {
  margin: 0 0 10px;
  font-size: clamp(24px, 3vw, 32px);
  letter-spacing: -.5px;
}
.section-text {
  max-width: 780px;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}
.cards, .feature-grid {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}
.cards { grid-template-columns: repeat(3, 1fr); }
.feature-grid { grid-template-columns: repeat(2, 1fr); }
.card, .page-box, .feature-card {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 8px 22px rgba(16, 35, 30, .045);
}
.card { padding: 18px; }
.page-box { padding: 22px; }
.feature-card { padding: 18px; }
.card h3, .feature-card h3 {
  margin: 0 0 8px;
  color: var(--brand);
  font-size: 19px;
}
.card p, .feature-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}
.icon-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.content-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  background: var(--brand-soft);
  color: var(--brand);
}
.content-icon svg { width: 20px; height: 20px; fill: currentColor; }

/* ========================================
   Base Responsive Rules
======================================== */
@media (max-width: 1100px) {
  .search-card { grid-template-columns: 1fr 1fr; }
  .big-field, .search-btn { grid-column: span 2; }
  .feature-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .header-inner {
    width: 92%;
    min-height: auto;
    padding: 14px 0;
    align-items: flex-start;
    flex-direction: column;
  }
  .top-actions { width: 100%; }
  .btn { flex: 1; text-align: center; }
  .hero-slider { min-height: 390px; }
  .hero-wrap { padding: 30px 0 90px; }
  .service-tab { flex: 1 1 calc(33.333% - 6px); justify-content: center; }
  .main-shell { width: 94%; }
  .search-card { grid-template-columns: 1fr; }
  .big-field, .search-btn { grid-column: auto; }
  .cards { grid-template-columns: 1fr; }
}
@media (max-width: 460px) {
  .top-actions { flex-direction: column; }
  .btn { width: 100%; }
  .service-tabs { gap: 6px; }
  .service-tab { flex: 1 1 100%; width: 100%; }
}

/* ========================================
   Language Switcher
======================================== */
.language-trigger {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--text);
  font-size: 13px;
  font-weight: 850;
  transition: .18s ease;
}
.language-trigger:hover { border-color: var(--brand); transform: translateY(-1px); }
.language-trigger::before {
  content: attr(data-emoji);
  display: none;
  font-size: 20px;
  line-height: 1;
}
.language-trigger:has(img[hidden])::before { display: inline-block; }
.language-trigger img,
.language-option img {
  width: 24px;
  height: 24px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(16, 35, 30, .08);
}
.flag-emoji {
  width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  font-size: 21px;
  line-height: 1;
}
.language-modal[hidden] { display: none; }
.language-modal {
  position: fixed;
  inset: 0;
  z-index: 6000;
  display: grid;
  place-items: center;
  padding: 20px;
}
.language-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 25, 20, .46);
  backdrop-filter: blur(5px);
}
.language-panel {
  position: relative;
  z-index: 1;
  width: min(520px, 96vw);
  max-height: min(720px, 88vh);
  overflow: auto;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px rgba(0,0,0,.24);
}
.language-head {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 20px 12px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.language-head small {
  display: block;
  margin-bottom: 4px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.language-head h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: -.4px;
}
.language-close {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  font-size: 26px;
  line-height: 1;
  transition: .16s ease;
}
.language-close:hover { background: var(--brand); color: var(--white); border-color: var(--brand); }
.language-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 14px;
}
.language-option {
  display: grid;
  grid-template-columns: 28px 1fr;
  grid-template-areas: "flag name" "flag native";
  align-items: center;
  gap: 1px 10px;
  min-height: 58px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--text);
  text-align: left;
  transition: .16s ease;
}
.language-option:hover,
.language-option.is-active {
  border-color: var(--brand);
  background: var(--brand-soft);
}
.language-option img,
.language-option .flag-emoji { grid-area: flag; }
.language-option span {
  grid-area: name;
  font-size: 14px;
  font-weight: 900;
}
.language-option small {
  grid-area: native;
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
}
html.language-open,
body.language-open { overflow: hidden; }
body.is-rtl .language-option { text-align: right; }
body.is-rtl .guest-trigger { text-align: right; }

@media (max-width: 760px) {
  .language-trigger { flex: 1; justify-content: center; }
  .top-actions { flex-wrap: wrap; }
  .language-list { grid-template-columns: 1fr; }
}
@media (max-width: 460px) {
  .language-trigger { width: 100%; }
}

/* ========================================
   Mobile Header / Hamburger Menu
======================================== */
.mobile-auth-toggle,
.mobile-menu {
  display: none;
}

.language-trigger {
  border: 0;
  background: transparent;
  padding: 7px 8px;
  box-shadow: none;
}
.language-trigger:hover {
  border-color: transparent;
  background: var(--brand-soft);
}
.language-trigger img,
.language-option img {
  border-radius: 0;
  box-shadow: none;
}
.language-trigger img {
  width: 28px;
  height: 20px;
  object-fit: contain;
}
.language-option img {
  width: 28px;
  height: 20px;
  object-fit: contain;
}

@media (max-width: 760px) {
  .site-header {
    position: sticky;
    top: 0;
  }

  .header-inner {
    width: 92%;
    min-height: 66px;
    padding: 0;
    align-items: center;
    flex-direction: row;
  }

  .top-actions {
    width: auto;
    margin-left: auto;
    justify-content: flex-end;
  }

  .desktop-auth-link,
  .desktop-language-trigger {
    display: none;
  }

  .mobile-auth-toggle {
    width: 42px;
    height: 42px;
    display: inline-grid;
    place-items: center;
    border: 0;
    background: transparent;
    color: var(--brand);
    transition: .18s ease;
  }

  .mobile-auth-toggle:hover {
    background: var(--brand-soft);
  }

  .mobile-auth-toggle svg {
    width: 25px;
    height: 25px;
    fill: currentColor;
  }

  .mobile-menu:not([hidden]) {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: block;
  }

  .mobile-menu-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 69, 54, .18);
    backdrop-filter: blur(4px);
  }

  .mobile-menu-panel {
    position: absolute;
    top: 12px;
    right: 12px;
    width: min(340px, calc(100vw - 24px));
    padding: 16px;
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: 0 24px 70px rgba(16, 35, 30, .22);
  }

  .mobile-menu-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
  }

  .mobile-menu-brand img {
    width: 150px;
  }

  .mobile-menu-close {
    width: 38px;
    height: 38px;
    border: 0;
    background: var(--surface);
    color: var(--text);
    font-size: 28px;
    line-height: 1;
    transition: .16s ease;
  }

  .mobile-menu-close:hover {
    background: var(--brand);
    color: var(--white);
  }

  .mobile-menu-actions {
    display: grid;
    gap: 8px;
    padding: 16px 0 12px;
  }

  .mobile-menu-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    background: var(--white);
    color: var(--text);
    font-size: 14px;
    font-weight: 900;
    transition: .16s ease;
  }

  .mobile-menu-link-primary {
    border-color: var(--brand);
    background: var(--brand);
    color: var(--white);
  }

  .mobile-menu-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(16, 35, 30, .08);
  }

  .mobile-language-trigger {
    width: 100%;
    min-height: 44px;
    justify-content: center;
    margin-top: 2px;
    background: transparent;
  }

  body.mobile-menu-open {
    overflow: hidden;
  }
}

@media (max-width: 460px) {
  .top-actions {
    flex-direction: row;
  }

  .mobile-auth-toggle {
    width: 40px;
    height: 40px;
  }
}

/* Final mobile polish: flag-only selector, no side overflow, compact service tabs */
html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body * {
  max-width: 100%;
}

img,
svg,
video,
canvas {
  max-width: 100%;
}

.language-trigger {
  width: auto;
  min-width: 0;
  min-height: auto;
  padding: 4px;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  line-height: 0;
  transform: none !important;
}

.language-trigger:hover,
.language-trigger:focus,
.language-trigger:focus-visible {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  outline: none;
  transform: none !important;
}

.language-trigger span,
.language-trigger small {
  display: none !important;
}

.language-trigger img {
  display: block;
  width: 31px;
  height: 22px;
  object-fit: contain;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.mobile-menu-link,
.mobile-menu-link-primary {
  justify-content: flex-start;
  min-height: 42px;
  padding: 10px 2px;
  border: 0;
  background: transparent;
  color: var(--text);
  box-shadow: none;
}

.mobile-menu-link-primary {
  color: var(--brand);
}

.mobile-menu-link:hover,
.mobile-menu-link-primary:hover {
  background: transparent;
  box-shadow: none;
  transform: none;
  color: var(--brand-dark);
}

.mobile-language-trigger {
  width: auto !important;
  justify-content: flex-start !important;
  margin-top: 4px;
  padding-left: 0;
}

.hero-wrap,
.header-inner,
.main-shell {
  width: min(1180px, calc(100% - 32px));
}

.service-tabs {
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
  padding-bottom: 3px;
}

.service-tabs::-webkit-scrollbar {
  display: none;
}

.service-tab {
  flex: 0 0 auto;
  white-space: nowrap;
  scroll-snap-align: start;
}

@media (max-width: 760px) {
  .hero-wrap,
  .header-inner,
  .main-shell {
    width: min(100% - 24px, 620px);
  }

  .brand img {
    width: clamp(138px, 42vw, 172px);
  }

  .hero-slider {
    min-height: 360px;
  }

  .hero-wrap {
    padding-top: 22px;
    padding-bottom: 86px;
  }

  .service-tabs {
    margin-inline: -2px;
    padding-inline: 2px;
    gap: 6px;
  }

  .service-tab {
    min-height: 34px;
    flex-basis: auto;
    width: auto;
    padding: 7px 10px;
    gap: 5px;
    font-size: clamp(10.5px, 3.1vw, 12px);
    box-shadow: 0 6px 14px rgba(0,0,0,.07);
  }

  .tab-icon {
    width: 19px;
    height: 19px;
    flex: 0 0 19px;
  }

  .tab-icon svg {
    width: 12px;
    height: 12px;
  }

  .search-card {
    padding: 8px;
    gap: 7px;
  }

  .field,
  .search-btn {
    min-height: 56px;
  }

  .search-btn {
    height: 56px;
  }

  .guest-dropdown {
    position: fixed;
    left: 12px;
    right: 12px;
    top: auto;
    bottom: 18px;
    min-width: 0;
    max-width: calc(100vw - 24px);
  }

  .mobile-menu-panel {
    right: 10px;
    left: auto;
    width: min(330px, calc(100vw - 20px));
    max-height: calc(100dvh - 24px);
    overflow-y: auto;
  }

  .mobile-menu-actions {
    gap: 2px;
    padding: 14px 0 8px;
  }
}

@media (max-width: 460px) {
  .hero-wrap,
  .header-inner,
  .main-shell {
    width: calc(100% - 20px);
  }

  .service-tabs {
    gap: 5px;
  }

  .service-tab {
    padding: 7px 8px;
    font-size: clamp(10px, 3vw, 11.5px);
  }

  .search-card {
    margin-inline: 0;
  }

  .language-panel {
    width: min(100%, calc(100vw - 20px));
  }
}

@media (max-width: 360px) {
  .service-tab {
    padding-inline: 7px;
  }

  .service-tab span:last-child {
    max-width: 112px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* Full-screen premium hamburger overlay */
@media (max-width: 760px) {
  .mobile-auth-toggle {
    width: 44px;
    height: 44px;
    border-radius: 0;
    position: relative;
    z-index: 20;
  }

  .hamburger-lines {
    width: 25px;
    height: 18px;
    display: inline-flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .hamburger-lines span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--brand);
    border-radius: 999px;
    transition: transform .22s ease, opacity .18s ease, width .22s ease;
  }

  .mobile-auth-toggle:hover .hamburger-lines span:nth-child(2) {
    width: 72%;
  }

  .mobile-menu:not([hidden]) {
    position: fixed;
    inset: 0;
    z-index: 999;
    display: grid;
    min-height: 100dvh;
    animation: menuFadeIn .22s ease both;
  }

  .mobile-menu-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }

  .mobile-menu-panel {
    position: relative;
    inset: auto;
    width: 100%;
    height: 100dvh;
    max-height: none;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: max(18px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) max(22px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));
    overflow-y: auto;
    border: 0;
    background: transparent;
    box-shadow: none;
    animation: menuPanelIn .28s cubic-bezier(.16,.84,.28,1) both;
  }

  .mobile-menu-head {
    min-height: 58px;
    padding: 0 0 18px;
    border-bottom: 1px solid rgba(15, 93, 72, .13);
  }

  .mobile-menu-close {
    width: 44px;
    height: 44px;
    display: inline-grid;
    place-items: center;
    border: 1px solid rgba(15, 93, 72, .14);
    background: rgba(15, 93, 72, .06);
    color: var(--brand-dark);
    font-size: 34px;
    line-height: .8;
  }

  .mobile-menu-actions {
    width: min(420px, 100%);
    margin: clamp(38px, 9vh, 74px) auto 0;
    display: grid;
    gap: 12px;
    padding: 0;
  }

  .mobile-menu-link,
  .mobile-menu-link-primary {
    min-height: 58px;
    justify-content: center;
    padding: 15px 18px;
    border: 1px solid rgba(15, 93, 72, .13);
    background: rgba(255,255,255,.58);
    color: var(--text);
    font-size: 16px;
    font-weight: 900;
    box-shadow: 0 12px 28px rgba(16, 35, 30, .055);
  }

  .mobile-menu-link-primary {
    border-color: rgba(15, 93, 72, .20);
    background: var(--brand);
    color: var(--white);
  }

  .mobile-menu-link:hover,
  .mobile-menu-link-primary:hover {
    transform: translateY(-1px);
    background: var(--brand-soft);
    color: var(--brand-dark);
    box-shadow: 0 16px 34px rgba(16, 35, 30, .08);
  }

  .mobile-menu-link-primary:hover {
    background: var(--brand-dark);
    color: var(--white);
  }

  .mobile-language-trigger {
    margin: 26px auto 0;
    justify-content: center !important;
    padding: 6px !important;
  }

  body.mobile-menu-open {
    overflow: hidden;
    touch-action: none;
  }
}

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

@keyframes menuPanelIn {
  from { opacity: 0; transform: translateY(14px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Header language outside hamburger + solid white mobile menu */
.mobile-header-language-trigger {
  display: none;
}

@media (max-width: 760px) {
  .top-actions {
    align-items: center;
    gap: 6px;
  }

  .mobile-header-language-trigger {
    display: inline-flex;
    flex: 0 0 auto !important;
    width: 42px !important;
    height: 42px;
    align-items: center;
    justify-content: center !important;
    padding: 6px !important;
  }

  .mobile-header-language-trigger img {
    width: 31px;
    height: 22px;
  }

  .mobile-menu-backdrop {
    background: #ffffff !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .mobile-menu-panel {
    background: #ffffff !important;
  }

  .mobile-menu-link,
  .mobile-menu-link-primary {
    background: #ffffff;
  }

  .mobile-menu-link-primary {
    background: var(--brand);
  }
}

/* ========================================
   Home: Dynamic Listings Slider
======================================== */
.home-listings-section {
  margin-top: 34px;
  padding: 28px 0 6px;
}
.home-listings-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}
.home-listings-title {
  margin: 0;
  color: var(--text);
  font-size: clamp(25px, 2.8vw, 34px);
  line-height: 1.08;
  letter-spacing: -.65px;
}
.home-listings-text {
  max-width: 720px;
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}
.home-listings-controls {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}
.home-listings-btn {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--brand-dark);
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 8px 20px rgba(16, 35, 30, .055);
  transition: .18s ease;
}
.home-listings-btn:hover {
  border-color: var(--brand);
  background: var(--brand);
  color: var(--white);
  transform: translateY(-1px);
}
.home-listings-slider {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(270px, 1fr);
  gap: 16px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 2px 2px 16px;
  scrollbar-width: thin;
  scrollbar-color: rgba(15, 93, 72, .34) transparent;
}
.home-listings-slider::-webkit-scrollbar { height: 6px; }
.home-listings-slider::-webkit-scrollbar-track { background: transparent; }
.home-listings-slider::-webkit-scrollbar-thumb {
  background: rgba(15, 93, 72, .28);
  border-radius: 999px;
}
.home-listing-card {
  overflow: hidden;
  border: 1px solid rgba(10, 69, 54, .10);
  background: var(--white);
  box-shadow: 0 14px 34px rgba(16, 35, 30, .075);
  scroll-snap-align: start;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.home-listing-card:hover {
  transform: translateY(-3px);
  border-color: rgba(15, 93, 72, .25);
  box-shadow: 0 20px 42px rgba(16, 35, 30, .13);
}
.home-listing-media {
  position: relative;
  min-height: 205px;
  background: var(--brand-soft);
  overflow: hidden;
}
.home-listing-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3, 35, 27, 0) 35%, rgba(3, 35, 27, .32) 100%);
  pointer-events: none;
}
.home-listing-media img {
  width: 100%;
  height: 205px;
  display: block;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform .55s cubic-bezier(.16,.84,.28,1);
}
.home-listing-card:hover .home-listing-media img { transform: scale(1.055); }
.home-listing-badge {
  position: absolute;
  left: 14px;
  bottom: 13px;
  z-index: 1;
  padding: 8px 11px;
  background: rgba(255,255,255,.94);
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .02em;
  box-shadow: 0 8px 18px rgba(0,0,0,.12);
}
.home-listing-body {
  padding: 16px 16px 15px;
}
.home-listing-location {
  color: var(--brand);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.home-listing-body h3 {
  min-height: 46px;
  margin: 7px 0 12px;
  color: var(--text);
  font-size: 19px;
  line-height: 1.22;
  letter-spacing: -.25px;
}
.home-listing-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 15px;
}
.home-listing-meta span {
  padding: 7px 9px;
  border: 1px solid rgba(10, 69, 54, .09);
  background: #f8fbfa;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}
.home-listing-footer {
  display: flex;
  align-items: baseline;
  gap: 5px;
  padding-top: 13px;
  border-top: 1px solid rgba(10, 69, 54, .09);
  color: var(--muted);
}
.home-listing-footer strong {
  color: var(--brand-dark);
  font-size: 21px;
  line-height: 1;
}
.home-listing-footer small { color: var(--muted); }
.home-listings-empty {
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 12px 28px rgba(16, 35, 30, .06);
}
.home-listings-empty h3 {
  margin: 0 0 8px;
  color: var(--text);
  font-size: 20px;
}
.home-listings-empty p {
  margin: 0;
  color: var(--muted);
}

@media (min-width: 1180px) {
  .home-listings-slider { grid-auto-columns: calc((100% - 48px) / 4); }
}
@media (max-width: 760px) {
  .home-listings-section { margin-top: 28px; padding-top: 18px; }
  .home-listings-head { align-items: flex-start; }
  .home-listings-controls { display: none; }
  .home-listings-slider {
    grid-auto-columns: minmax(248px, 84%);
    gap: 12px;
    margin-inline: -3%;
    padding-inline: 3%;
  }
  .home-listing-media,
  .home-listing-media img { min-height: 178px; height: 178px; }
  .home-listing-body { padding: 14px; }
  .home-listing-body h3 { min-height: auto; font-size: 17px; }
}


/* ========================================
   Mobile Menu: Airplane Animation
======================================== */
.menu-airplane-wrap{
  position:absolute;
  left:0;
  right:0;
  top:190px;
  bottom:0;
  overflow:hidden;
  pointer-events:none;
  z-index:0;
  perspective:1000px;
}
.menu-airplane{
  position:absolute;
  top:50%;
  left:0;
  width:clamp(300px,58vw,460px);
  opacity:1;
  filter:drop-shadow(0 22px 28px rgba(0,0,0,.22));
  animation:airplaneFly 10s cubic-bezier(.18,.9,.25,1) infinite;
  transform-style:preserve-3d;
  will-change:transform;
}
.mobile-menu-head,
.mobile-menu-actions{
  position:relative;
  z-index:2;
}
@keyframes airplaneFly{
  0%{
    transform:translate3d(-135%, -50%, 0) rotateY(24deg) rotateZ(-1deg) scale(.9);
  }
  20%{
    transform:translate3d(calc(50vw - 50%), -50%, 60px) rotateY(0deg) rotateZ(0deg) scale(1.05);
  }
  46%{
    transform:translate3d(calc(50vw - 50%), -50%, 60px) rotateY(0deg) rotateZ(0deg) scale(1.05);
  }
  100%{
    transform:translate3d(130vw, -50%, 0) rotateY(-18deg) rotateZ(1deg) scale(.92);
  }
}
@media (max-width:760px){
 .mobile-menu-panel{
   overflow:hidden;
   min-height:100vh;
   top:0;
   right:0;
   width:100vw;
   max-width:none;
   border:0;
 }
 .menu-airplane-wrap{
   top:175px;
   bottom:28px;
 }
 .menu-airplane{
   width:clamp(260px,78vw,380px);
 }
}

/* ========================================
   Auth / Registration
======================================== */
.auth-box {
  max-width: 980px;
  margin-inline: auto;
  border-radius: 26px;
  overflow: hidden;
}
.auth-head { margin-bottom: 22px; }
.auth-kicker {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 7px 11px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .2px;
}
.auth-form {
  display: grid;
  gap: 16px;
}
.auth-form-narrow { max-width: 520px; }
.role-choice {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.role-card {
  position: relative;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  cursor: pointer;
  transition: .18s ease;
}
.role-card:hover {
  border-color: rgba(15, 93, 72, .36);
  transform: translateY(-1px);
}
.role-card input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--brand);
}
.role-card strong {
  display: block;
  margin-bottom: 5px;
  color: var(--text);
  font-size: 16px;
}
.role-card small {
  display: block;
  color: var(--muted);
  line-height: 1.45;
}
.role-card:has(input:checked) {
  border-color: var(--brand);
  background: linear-gradient(180deg, #fff, var(--brand-soft));
  box-shadow: 0 14px 30px rgba(15, 93, 72, .10);
}
.auth-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.auth-field {
  display: grid;
  gap: 7px;
}
.auth-field-full { grid-column: 1 / -1; }
.auth-field span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}
.auth-field input {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  color: var(--text);
  outline: none;
  transition: .18s ease;
}
.auth-field input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(15, 93, 72, .10);
}
.auth-submit {
  min-height: 52px;
  padding: 13px 18px;
  border: 0;
  border-radius: 16px;
  background: var(--brand);
  color: var(--white);
  font-weight: 900;
  box-shadow: 0 14px 28px rgba(15, 93, 72, .18);
  transition: .18s ease;
}
.auth-submit:hover { transform: translateY(-1px); background: var(--brand-dark); }
.auth-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}
.dashboard-body {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px;
  background: linear-gradient(135deg, var(--brand-soft), #fff 58%);
}
.dashboard-shell { width: min(980px, 100%); }
.dashboard-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
@media (max-width: 760px) {
  .auth-box { border-radius: 20px; }
  .role-choice,
  .auth-grid { grid-template-columns: 1fr; }
  .auth-field-full { grid-column: auto; }
  .dashboard-body { padding: 16px; }
}

/* ========================================
   Full-screen Registration Overlay
======================================== */
.registration-overlay[hidden] { display: none; }
.registration-overlay {
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: #fff;
  color: var(--text);
  overflow: auto;
  animation: registrationReveal .34s cubic-bezier(.16,.84,.28,1) both;
}
.registration-panel {
  min-height: 100vh;
  background: #fff;
  display: flex;
  flex-direction: column;
}
.registration-panel-head {
  position: sticky;
  top: 0;
  z-index: 2;
  min-height: 76px;
  padding: 18px clamp(18px, 5vw, 68px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(14px);
}
.registration-logo {
  display: inline-flex;
  align-items: center;
  height: 40px;
}
.registration-logo img {
  max-height: 40px;
  width: auto;
  display: block;
}
.registration-close {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
  color: var(--text);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.registration-close:hover,
.registration-close:focus-visible {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
  outline: none;
}
.registration-panel-body {
  width: min(1040px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(28px, 5vw, 64px) 0 70px;
}
.registration-page-box.auth-box {
  max-width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  overflow: visible;
}
.registration-page-box .auth-kicker,
.registration-page-box .role-card,
.registration-page-box .auth-field input,
.registration-page-box .auth-submit {
  border-radius: 0;
}
.registration-page-box .role-card:has(input:checked) {
  background: #fff;
  box-shadow: inset 4px 0 0 var(--brand), 0 14px 30px rgba(15, 93, 72, .08);
}
.registration-page-box .auth-submit:hover { transform: none; }
html.registration-open,
body.registration-open { overflow: hidden; }
.registration-overlay { overflow-x: hidden; }

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

@media (max-width: 760px) {
  .registration-panel-head {
    min-height: 66px;
    padding: 14px 16px;
  }
  .registration-logo img { max-height: 34px; }
  .registration-close {
    width: 40px;
    height: 40px;
    font-size: 28px;
  }
  .registration-panel-body {
    width: min(100% - 28px, 1040px);
    padding-top: 26px;
  }
  .registration-page-box.auth-box { border-radius: 0; }
}
.registration-head-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.registration-language-trigger {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 0;
  flex: 0 0 auto;
}
.registration-language-trigger img {
  width: 23px;
  height: 23px;
}
@media (max-width: 760px) {
  .registration-language-trigger {
    display: inline-flex;
    width: 40px;
    height: 40px;
  }
}

/* Login inside the same clean overlay system as registration */
.login-page-box .auth-form-narrow {
  margin-inline: auto;
}
.auth-switch-text {
  margin: 0;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}
.auth-switch-text a {
  color: var(--brand);
  font-weight: 900;
  text-decoration: none;
}
.auth-switch-text a:hover { text-decoration: underline; }
.pending-card {
  text-align: center;
  background: var(--white);
}
.pending-card .dashboard-actions { justify-content: center; }

/* Login page refinement: centered title, password reveal and password request */
.login-page-box .login-auth-head {
  text-align: center;
}
.login-page-box .login-auth-head .auth-kicker {
  margin-inline: auto;
}
.login-extra-actions {
  margin-inline: auto;
  margin-top: 14px;
}
.auth-password-wrap {
  position: relative;
  display: block;
}
.auth-password-wrap input {
  padding-right: 50px;
}
.password-toggle {
  position: absolute;
  top: 50%;
  right: 12px;
  width: 34px;
  height: 34px;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: var(--muted);
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  transition: color .18s ease, background .18s ease;
}
.password-toggle svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}
.password-toggle:hover,
.password-toggle.is-visible {
  color: var(--brand);
  background: rgba(15, 93, 72, .06);
}
.forgot-password-block {
  display: grid;
  gap: 12px;
  text-align: center;
}
.forgot-password-link {
  width: fit-content;
  margin-inline: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--brand);
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
}
.forgot-password-link:hover { text-decoration: underline; }
.forgot-password-form {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  background: rgba(15, 93, 72, .035);
}
.forgot-password-form[hidden] { display: none; }
.auth-submit-soft {
  background: var(--brand-dark);
  box-shadow: none;
}
.forgot-password-message {
  min-height: 20px;
  margin: 0;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
}
.forgot-password-message.is-success { color: var(--brand); }
.forgot-password-message.is-error { color: #b42318; }
body.is-rtl .auth-password-wrap input {
  padding-right: 14px;
  padding-left: 50px;
}
body.is-rtl .password-toggle {
  right: auto;
  left: 12px;
}

/* ========================================
   Authenticated account menu
======================================== */
.account-menu {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.account-trigger {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 5px 10px 5px 5px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--text);
  font-weight: 850;
  box-shadow: 0 8px 20px rgba(16, 35, 30, .08);
  transition: .18s ease;
}
.account-trigger:hover,
.account-trigger:focus-visible {
  border-color: rgba(15, 93, 72, .35);
  box-shadow: 0 0 0 3px rgba(15,93,72,.10), 0 10px 24px rgba(16, 35, 30, .10);
  outline: none;
}
.account-avatar {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: var(--white);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .4px;
}
.account-name {
  max-width: 142px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 13px;
}
.account-caret { color: var(--muted); font-size: 14px; }
.account-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 218px;
  padding: 8px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .98);
  box-shadow: var(--shadow);
  z-index: 1300;
}
.account-dropdown a {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 12px;
  color: var(--text);
  font-size: 14px;
  font-weight: 850;
  transition: .16s ease;
}
.account-dropdown a:hover {
  background: var(--brand-soft);
  color: var(--brand-dark);
}
.account-dropdown .account-logout {
  color: #b42318;
}
.mobile-account-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.08);
  color: var(--white);
}
.mobile-account-card strong,
.mobile-account-card small { display: block; }
.mobile-account-card small { opacity: .78; margin-top: 2px; }
@media (max-width: 760px) {
  .desktop-account-menu { display: none; }
}

/* Auth header refinement: no caret on desktop, logged mobile uses avatar as menu button */
.account-caret { display: none !important; }
@media (max-width: 760px) {
  .mobile-auth-toggle-logged {
    border-radius: 999px;
    padding: 0 !important;
    background: transparent !important;
  }
  .mobile-auth-toggle-logged:hover,
  .mobile-auth-toggle-logged:focus-visible {
    background: transparent !important;
    outline: none;
  }
  .mobile-toggle-avatar {
    width: 38px;
    height: 38px;
    font-size: 13px;
    box-shadow: 0 8px 18px rgba(16, 35, 30, .14);
  }
  .mobile-account-card { display: none !important; }
}


/* Account menu final fixes: desktop uses initials only; dropdown text stays one line. */
.desktop-account-menu .account-trigger {
  width: 42px;
  height: 42px;
  min-width: 42px;
  padding: 5px;
  border-radius: 999px;
  justify-content: center;
}
.desktop-account-menu .account-name {
  display: none !important;
}
.desktop-account-menu .account-avatar {
  width: 32px;
  height: 32px;
}
.account-dropdown {
  width: max-content;
  min-width: 218px;
  max-width: min(320px, calc(100vw - 24px));
}
.account-dropdown a,
.mobile-menu-link {
  white-space: nowrap;
  word-break: keep-all;
}
.account-dropdown a {
  overflow: hidden;
  text-overflow: ellipsis;
}

/* TripsLine Property Registration Wizard - isolated styles */
.tl-property-shell {
  width: min(1180px, 100%);
  margin-inline: auto;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff, #f8faf9);
  border-color: var(--line);
  box-shadow: 0 16px 42px rgba(16, 35, 30, .08);
}
.tl-property-shell .section-title { color: var(--text); }
.tl-property-shell .section-text { color: var(--muted); }
.tl-wizard-head {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  align-items: flex-start;
  margin-bottom: 24px;
}
.tl-commission-pill {
  flex: 0 0 auto;
  border: 1px solid rgba(15, 93, 72, .16);
  background: var(--brand-soft);
  color: var(--brand-dark);
  padding: 12px 16px;
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(16, 35, 30, .08);
}
.tl-commission-pill strong { color: var(--brand); }
.tl-wizard-progress {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 26px;
}
.tl-wizard-progress button {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  border-radius: 18px;
  padding: 12px 10px;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
  transition: .2s ease;
  box-shadow: 0 8px 18px rgba(16, 35, 30, .045);
}
.tl-wizard-progress button span { display: block; font-size: 12px; margin-top: 2px; color: inherit; }
.tl-wizard-progress button.is-active,
.tl-wizard-progress button.is-done {
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  border-color: var(--brand);
  color: #fff;
  transform: translateY(-1px);
}
.tl-property-form,
.tl-step { position: relative; }
.tl-step {
  display: none;
  min-height: 310px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(16, 35, 30, .055);
}
.tl-step.is-active { display: block; animation: tlFadeUp .22s ease both; }
@keyframes tlFadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.tl-step h3 { margin: 0 0 8px; color: var(--text); font-size: clamp(22px, 3vw, 32px); letter-spacing: -.35px; }
.tl-step p { margin: 0 0 22px; color: var(--muted); line-height: 1.65; }
.tl-info-note {
  display: grid;
  gap: 4px;
  margin: 0 0 18px;
  padding: 14px 16px;
  border: 1px solid rgba(15, 93, 72, .14);
  border-radius: 18px;
  background: var(--brand-soft);
  color: var(--brand-dark);
}
.tl-info-note strong { font-size: 14px; }
.tl-info-note span { color: var(--muted); line-height: 1.55; }
.tl-mini-help { margin: -4px 0 12px !important; font-size: 13px; }
.tl-field { display: grid; gap: 9px; color: var(--text); font-weight: 850; }
.tl-field input,
.tl-field select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  color: var(--text);
  outline: none;
  padding: 15px 16px;
  font: inherit;
  box-shadow: 0 8px 18px rgba(16, 35, 30, .035);
}
.tl-field select option { color: var(--text); }
.tl-field input::placeholder { color: #98a5a0; }
.tl-field input:focus,
.tl-field select:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(15, 93, 72, .10); }
.tl-location-grid { display: grid; grid-template-columns: minmax(280px, .9fr) minmax(360px, 1.1fr); gap: 18px; align-items: stretch; }
.tl-search-address { width: 100%; margin: 12px 0; justify-content: center; }
.tl-location-readout {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  padding: 14px;
  border-radius: 18px;
  background: #f8faf9;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}
.tl-location-readout b { color: var(--text); }
.tl-property-map { min-height: 420px; border-radius: 26px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); box-shadow: 0 12px 28px rgba(16, 35, 30, .06); }
.tl-form-grid { display: grid; gap: 16px; }
.tl-form-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tl-form-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 18px; }
.tl-check-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.tl-check-grid label {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 14px 15px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  color: var(--text);
  font-weight: 850;
  box-shadow: 0 8px 18px rgba(16, 35, 30, .035);
}
.tl-check-grid label:hover { border-color: rgba(15, 93, 72, .28); background: var(--brand-soft); }
.tl-check-grid input { width: 18px; height: 18px; accent-color: var(--brand); }
.tl-upload-box {
  display: grid;
  place-items: center;
  text-align: center;
  min-height: 190px;
  border: 1px dashed rgba(15, 93, 72, .38);
  border-radius: 26px;
  background: linear-gradient(180deg, #fff, var(--brand-soft));
  cursor: pointer;
  padding: 28px;
}
.tl-upload-box input { position: absolute; opacity: 0; pointer-events: none; }
.tl-upload-box span { color: var(--brand-dark); font-size: 18px; font-weight: 900; }
.tl-upload-box small { color: var(--muted); margin-top: 8px; }
.tl-image-preview { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.tl-preview-card { position: relative; aspect-ratio: 1.25; border-radius: 16px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.tl-preview-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tl-preview-card span { position: absolute; left: 8px; top: 8px; border-radius: 999px; background: rgba(15, 93, 72, .92); color: #fff; font-size: 12px; padding: 5px 8px; }
.tl-price-grid { display: grid; grid-template-columns: minmax(260px, 1.2fr) repeat(2, minmax(180px, .8fr)); gap: 16px; align-items: stretch; }
.tl-price-card { border: 1px solid var(--line); border-radius: 22px; background: #fff; padding: 18px; display: grid; align-content: center; gap: 8px; box-shadow: 0 10px 24px rgba(16, 35, 30, .055); }
.tl-price-card span { color: var(--muted); }
.tl-price-card strong { color: var(--brand-dark); font-size: 24px; }
.tl-wizard-actions { display: flex; justify-content: flex-end; gap: 12px; margin-top: 18px; }
.tl-wizard-message { margin-top: 16px; padding: 13px 15px; border-radius: 16px; color: var(--text); background: var(--surface); border: 1px solid var(--line); }
.tl-wizard-message.is-error { background: #fff1f2; border-color: #fecdd3; color: #9f1239; }
.tl-wizard-message.is-success { background: #ecfdf3; border-color: #bbf7d0; color: #166534; }
.tl-wizard-message.is-info { background: var(--brand-soft); border-color: rgba(15, 93, 72, .18); color: var(--brand-dark); }
@media (max-width: 900px) {
  .tl-wizard-head { display: grid; }
  .tl-wizard-progress { display: flex; overflow-x: auto; padding-bottom: 4px; }
  .tl-wizard-progress button { min-width: 96px; }
  .tl-location-grid,
  .tl-price-grid { grid-template-columns: 1fr; }
  .tl-form-grid.four,
  .tl-form-grid.three,
  .tl-check-grid { grid-template-columns: 1fr 1fr; }
  .tl-property-map { min-height: 330px; }
  .tl-image-preview { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .tl-step { padding: 18px; border-radius: 22px; }
  .tl-form-grid.four,
  .tl-form-grid.three,
  .tl-check-grid,
  .tl-image-preview { grid-template-columns: 1fr; }
  .tl-wizard-actions { display: grid; }
  .tl-wizard-actions .btn { width: 100%; justify-content: center; }
}

/* TripsLine Booking-like wizard extension - isolated overrides */
.tl-wizard-progress { grid-template-columns: repeat(8, minmax(0, 1fr)); }
.tl-form-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tl-tight-grid { margin-top: 16px; }
.tl-field textarea {
  width: 100%; min-height: 132px; resize: vertical; border: 1px solid var(--line); border-radius: 18px;
  background: #fff; color: var(--text); outline: none; padding: 15px 16px; font: inherit;
  box-shadow: 0 8px 18px rgba(16, 35, 30, .035);
}
.tl-field textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(15, 93, 72, .10); }
.tl-field select[multiple] { min-height: 124px; }
.tl-radio-cards { display: grid; gap: 14px; max-width: 780px; }
.tl-radio-cards label {
  display: flex; align-items: center; gap: 14px; border: 1px solid var(--line); border-radius: 22px;
  background: #fff; padding: 18px; color: var(--text); font-weight: 850; box-shadow: 0 10px 24px rgba(16,35,30,.045);
}
.tl-radio-cards input { width: 20px; height: 20px; accent-color: var(--brand); }
.tl-fieldset-title { margin: 18px 0 10px; color: var(--brand-dark); font-weight: 950; letter-spacing: -.15px; }
.tl-space-builder { margin-top: 20px; border: 1px solid var(--line); border-radius: 24px; background: #f8faf9; padding: 16px; }
.tl-space-title { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; color: var(--text); }
.tl-space-list { display: grid; gap: 12px; }
.tl-space-card { position: relative; display: grid; grid-template-columns: 1.2fr .8fr .9fr auto; gap: 12px; align-items: end; padding: 14px; border-radius: 20px; border: 1px solid var(--line); background: #fff; }
.tl-space-remove { width: 42px; height: 42px; border: 0; border-radius: 14px; background: #fff1f2; color: #9f1239; font-size: 24px; cursor: pointer; }
.tl-textarea-grid { margin-top: 18px; align-items: stretch; }
.tl-rate-grid { margin-top: 18px; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.tl-upload-box.drag-over { border-color: var(--brand); background: var(--brand-soft); }
@media (max-width: 1100px) { .tl-wizard-progress { display: flex; overflow-x: auto; padding-bottom: 4px; } .tl-wizard-progress button { min-width: 98px; } .tl-rate-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .tl-form-grid.two, .tl-space-card { grid-template-columns: 1fr; } .tl-space-remove { width: 100%; } }
@media (max-width: 560px) { .tl-rate-grid { grid-template-columns: 1fr; } .tl-space-title { display: grid; } }

/* TripsLine property wizard refinement - safe isolated overrides */
.tl-property-shell[data-property-wizard] {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, .08);
  box-shadow: 0 14px 34px rgba(15, 23, 42, .06);
}
.tl-property-shell[data-property-wizard] .tl-wizard-head {
  align-items: center;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(15, 23, 42, .08);
}
.tl-property-shell[data-property-wizard] .section-text { max-width: 760px; }
.tl-property-shell[data-property-wizard] .tl-wizard-progress { gap: 8px; }
.tl-property-shell[data-property-wizard] .tl-wizard-progress button {
  border-radius: 12px;
  padding: 11px 8px;
  box-shadow: none;
  background: #f8fafc;
}
.tl-property-shell[data-property-wizard] .tl-wizard-progress button.is-active,
.tl-property-shell[data-property-wizard] .tl-wizard-progress button.is-done {
  background: #0f5d48;
  border-color: #0f5d48;
  transform: none;
}
.tl-property-shell[data-property-wizard] .tl-step {
  border-radius: 14px;
  box-shadow: none;
  border-color: rgba(15, 23, 42, .10);
  background: #fff;
}
.tl-property-shell[data-property-wizard] .tl-info-note,
.tl-property-shell[data-property-wizard] .tl-location-readout,
.tl-property-shell[data-property-wizard] .tl-space-builder,
.tl-property-shell[data-property-wizard] .tl-price-card,
.tl-property-shell[data-property-wizard] .tl-radio-cards label,
.tl-property-shell[data-property-wizard] .tl-check-grid label,
.tl-property-shell[data-property-wizard] .tl-space-card {
  border-radius: 12px;
  box-shadow: none;
}
.tl-property-shell[data-property-wizard] .tl-field input,
.tl-property-shell[data-property-wizard] .tl-field select,
.tl-property-shell[data-property-wizard] .tl-field textarea {
  border-radius: 10px;
  box-shadow: none;
}
.tl-property-shell[data-property-wizard] .tl-upload-box { border-radius: 14px; }
.tl-property-shell[data-property-wizard] .tl-location-grid {
  grid-template-columns: minmax(300px, .92fr) minmax(420px, 1.08fr);
  align-items: start;
}
.tl-property-shell[data-property-wizard] .tl-property-map {
  height: 430px;
  min-height: 430px;
  max-height: 430px;
  width: 100%;
  border-radius: 14px;
  box-shadow: none;
  border: 1px solid rgba(15, 23, 42, .12);
  background: #eef2f1;
  isolation: isolate;
}
.tl-property-shell[data-property-wizard] .tl-property-map .leaflet-container,
.tl-property-shell[data-property-wizard] .tl-property-map .leaflet-pane,
.tl-property-shell[data-property-wizard] .tl-property-map .leaflet-map-pane { max-width: 100%; }
.tl-property-shell[data-property-wizard] .leaflet-control-zoom a {
  border: 0 !important;
  color: #0f5d48;
  font-weight: 900;
}
.tl-property-shell[data-property-wizard] .leaflet-control-zoom {
  border: 1px solid rgba(15, 23, 42, .12) !important;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .08);
}
@media (max-width: 900px) {
  .tl-property-shell[data-property-wizard] .tl-location-grid { grid-template-columns: 1fr; }
  .tl-property-shell[data-property-wizard] .tl-property-map { height: 360px; min-height: 360px; max-height: 360px; }
}
@media (max-width: 560px) {
  .tl-property-shell[data-property-wizard] .tl-property-map { height: 320px; min-height: 320px; max-height: 320px; }
}

/* Property wizard map: single scoped Leaflet override.
   Keeps site-wide image/layout rules from touching Leaflet's internal 256px tile grid. */
#propertyMap.tl-property-map,
#propertyMap.leaflet-container {
  position: relative;
  display: block;
  width: 100%;
  height: 430px;
  min-height: 430px;
  max-height: 430px;
  overflow: hidden;
  background: #eaf1ee;
  border-radius: 14px;
  isolation: isolate;
  cursor: crosshair;
  touch-action: pan-x pan-y;
  -webkit-tap-highlight-color: transparent;
}
#propertyMap .leaflet-pane,
#propertyMap .leaflet-tile,
#propertyMap .leaflet-marker-icon,
#propertyMap .leaflet-marker-shadow,
#propertyMap .leaflet-tile-container,
#propertyMap .leaflet-pane > svg,
#propertyMap .leaflet-pane > canvas,
#propertyMap .leaflet-zoom-box,
#propertyMap .leaflet-image-layer,
#propertyMap .leaflet-layer {
  position: absolute;
  left: 0;
  top: 0;
  max-width: none !important;
  max-height: none !important;
}
#propertyMap img.leaflet-tile,
#propertyMap .leaflet-marker-icon,
#propertyMap .leaflet-marker-shadow {
  max-width: none !important;
  max-height: none !important;
}
#propertyMap .leaflet-tile {
  width: 256px !important;
  height: 256px !important;
  border: 0;
  object-fit: initial;
  opacity: 1;
  visibility: visible;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
#propertyMap,
#propertyMap * {
  transition: none !important;
  animation: none !important;
}
#propertyMap .leaflet-control-zoom {
  border: 1px solid rgba(15, 23, 42, .12);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .08);
}
#propertyMap .leaflet-control-zoom a {
  border: 0;
  color: #0f5d48;
  font-weight: 900;
}
#propertyMap .tl-map-pin-icon {
  width: 34px !important;
  height: 44px !important;
  margin-left: -17px !important;
  margin-top: -42px !important;
  max-width: none !important;
  max-height: none !important;
  background: transparent;
  border: 0;
  pointer-events: auto;
  z-index: 900 !important;
  transform-origin: center bottom !important;
}
#propertyMap .tl-map-pin-icon .tl-map-pin-head {
  position: absolute;
  left: 5px;
  top: 1px;
  width: 24px;
  height: 24px;
  background: #0f5d48;
  border: 3px solid #ffffff;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 8px 18px rgba(15, 23, 42, .28);
}
#propertyMap .tl-map-pin-icon .tl-map-pin-dot {
  position: absolute;
  left: 14px;
  top: 10px;
  width: 6px;
  height: 6px;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, .08);
}
@media (max-width: 900px) {
  #propertyMap.tl-property-map,
  #propertyMap.leaflet-container {
    height: 360px;
    min-height: 360px;
    max-height: 360px;
  }
}
@media (max-width: 560px) {
  #propertyMap.tl-property-map,
  #propertyMap.leaflet-container {
    height: 320px;
    min-height: 320px;
    max-height: 320px;
  }
}

/* Property wizard final compact update: room units + smaller internal typography */
.tl-property-shell[data-property-wizard] {
  font-size: 13px;
}
.tl-property-shell[data-property-wizard] .tl-step {
  padding: 18px;
  min-height: 260px;
}
.tl-property-shell[data-property-wizard] .tl-step h3 {
  font-size: clamp(18px, 2.1vw, 24px);
  margin-bottom: 6px;
}
.tl-property-shell[data-property-wizard] .tl-step p {
  font-size: 13px;
  line-height: 1.45;
  margin-bottom: 14px;
}
.tl-property-shell[data-property-wizard] .tl-field {
  gap: 6px;
  font-size: 12.5px;
}
.tl-property-shell[data-property-wizard] .tl-field input,
.tl-property-shell[data-property-wizard] .tl-field select,
.tl-property-shell[data-property-wizard] .tl-field textarea {
  padding: 11px 12px;
  font-size: 13px;
}
.tl-property-shell[data-property-wizard] .tl-check-grid label,
.tl-property-shell[data-property-wizard] .tl-radio-cards label {
  min-width: 0;
  padding: 11px 12px;
  font-size: 12.5px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}
.tl-property-shell[data-property-wizard] .tl-fieldset-title,
.tl-property-shell[data-property-wizard] .tl-space-title,
.tl-property-shell[data-property-wizard] .tl-room-title {
  font-size: 13px;
}
.tl-property-shell[data-property-wizard] .tl-room-builder {
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f8faf9;
  padding: 14px;
}
.tl-property-shell[data-property-wizard] .tl-room-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  color: var(--text);
}
.tl-property-shell[data-property-wizard] .tl-room-help {
  margin: 0 0 12px;
}
.tl-property-shell[data-property-wizard] .tl-room-list {
  display: grid;
  gap: 12px;
}
.tl-property-shell[data-property-wizard] .tl-room-card {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr)) auto;
  gap: 10px;
  align-items: end;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.tl-property-shell[data-property-wizard] .tl-room-card .tl-room-details {
  grid-column: 1 / -2;
}
.tl-property-shell[data-property-wizard] .tl-room-card textarea {
  min-height: 70px;
}
.tl-property-shell[data-property-wizard] .tl-room-file small {
  color: var(--muted);
  font-size: 11px;
}
.tl-property-shell[data-property-wizard] .tl-room-remove {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 10px;
  background: #fff1f2;
  color: #9f1239;
  font-size: 22px;
  cursor: pointer;
}
@media (max-width: 1180px) {
  .tl-property-shell[data-property-wizard] .tl-room-card {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .tl-property-shell[data-property-wizard] .tl-room-card .tl-room-details,
  .tl-property-shell[data-property-wizard] .tl-room-remove {
    grid-column: 1 / -1;
    width: 100%;
  }
}
@media (max-width: 700px) {
  .tl-property-shell[data-property-wizard] .tl-room-card,
  .tl-property-shell[data-property-wizard] .tl-form-grid.two,
  .tl-property-shell[data-property-wizard] .tl-form-grid.four,
  .tl-property-shell[data-property-wizard] .tl-form-grid.three,
  .tl-property-shell[data-property-wizard] .tl-check-grid {
    grid-template-columns: 1fr;
  }
}

/* Add property wizard refinements: locked steps, staff language cards, clean room category select */
.tl-property-shell[data-property-wizard] .tl-wizard-progress button:disabled {
  cursor: not-allowed;
  opacity: .52;
}
.tl-property-shell[data-property-wizard] .tl-wizard-progress button:disabled:hover {
  transform: none;
}
.tl-property-shell[data-property-wizard] .tl-language-check-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.tl-property-shell[data-property-wizard] .tl-staff-language-field {
  grid-column: span 1;
}
.tl-property-shell[data-property-wizard] .tl-language-check-grid label {
  min-height: 45px;
  border-radius: 14px;
}
.tl-property-shell[data-property-wizard] .tl-clean-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: none !important;
  padding-right: 12px;
}
@media (max-width: 700px) {
  .tl-property-shell[data-property-wizard] .tl-language-check-grid {
    grid-template-columns: 1fr;
  }
}
