








*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.8;
  color: var(--ink);
  background: var(--page-bg);
  direction: rtl;
  text-align: right;
  

  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.5;
  margin: 0;
  color: var(--ink);
}

.svg-icon {
  width: 1em;
  height: 1em;
  display: inline-block;
  vertical-align: -.125em;
  flex-shrink: 0;
}

.container {
  width: min(var(--container), 92%);
  margin-inline: auto;
}


.site-main { flex: 1 0 auto; width: 100%; }

.skip-link {
  position: absolute; inset-inline-start: -9999px; top: 0;
  background: var(--brand); color: #fff; padding: .6rem 1rem; z-index: 200;
  border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { inset-inline-start: 0; }




.btn-primary, .btn-secondary, .btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 48px;
  padding: 0 1.4rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: .95rem;
  border: 0;
  cursor: pointer;
  white-space: nowrap;   
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}
.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  box-shadow: var(--shadow-brand);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 36px rgba(91, 69, 232, .32); }
.btn-secondary {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-secondary:hover { border-color: var(--accent); color: var(--brand); }
.btn-ghost { background: transparent; color: var(--brand); }
.btn-ghost:hover { background: var(--brand-soft); }
.btn-sm { min-height: 38px; padding: 0 1rem; font-size: .85rem; border-radius: var(--radius-sm); }
.btn-block { width: 100%; }




.site-header {
  position: fixed;
  top: var(--header-top);
  right: var(--gutter);
  left: var(--gutter);
  z-index: 60;
  margin-inline: auto;
  width: min(var(--container), 94%);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, .88);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sheet);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  transition: background var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.site-header.scrolled {
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 14px 40px rgba(15, 23, 42, .08);
}
body[data-theme="dark"] .site-header,
[data-theme="dark"] .site-header {
  background: rgba(19, 28, 49, .9);
  border-color: rgba(148, 163, 184, .18);
}











.leaflet-container {
  position: relative;
  z-index: 0;
  isolation: isolate;
}

.site-nav {
  width: min(var(--container), 100%);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .7rem 1.1rem;
}


.brand {
  display: flex;
  align-items: center;
  gap: .7rem;
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--ink);
}
.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 10px 24px rgba(91, 69, 232, .3);
}
.brand-mark .svg-icon { width: 20px; height: 20px; }
.brand-text { font-size: 1.25rem; white-space: nowrap; }


.nav-links { display: flex; align-items: center; gap: .3rem; }
.nav-links a {
  padding: .55rem .95rem;
  border-radius: var(--radius-pill);
  color: #475569;
  font-size: .93rem;
  font-weight: 600;
  transition: background var(--transition-fast), color var(--transition-fast);
}
.nav-links a:hover { background: var(--brand-soft); color: #312e81; }
.nav-links a.active { background: var(--brand-soft); color: #312e81; }
[data-theme="dark"] .nav-links a { color: #cbd5e1; }
[data-theme="dark"] .nav-links a:hover,
[data-theme="dark"] .nav-links a.active { color: #ddd6fe; }

.nav-mobile-account { display: none; }


.nav-account { display: flex; align-items: center; gap: .5rem; }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .6rem 1.05rem;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  font-weight: 700;
  font-size: .9rem;
  box-shadow: var(--shadow-brand);
  transition: transform var(--transition-fast);
}
.nav-cta:hover { transform: translateY(-1px); }
.nav-user {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .4rem .5rem .4rem .8rem;
  border-radius: var(--radius-pill);
  background: var(--surface);
  border: 1px solid var(--line);
  font-weight: 700;
  font-size: .85rem;
}
.nav-user-link { display: inline-flex; align-items: center; gap: .4rem; color: var(--ink); }
.nav-user-link:hover { color: var(--brand); }
.nav-user .logout-link {
  color: #b4233f;
  font-size: .78rem;
  border-inline-start: 1px solid var(--line);
  padding-inline-start: .55rem;
}
.nav-user .logout-link:hover { text-decoration: underline; }


.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: .6rem .7rem;
  border-radius: 12px;
  color: var(--ink);
  cursor: pointer;
  transition: transform .25s var(--ease);
}
.nav-toggle:active { transform: scale(.92); }
.burger { position: relative; display: block; width: 22px; height: 15px; }
.burger span {
  position: absolute;
  right: 0;
  width: 100%;
  height: 2.2px;
  border-radius: 3px;
  background: currentColor;
  transition: top .38s var(--ease), transform .38s var(--ease);
}
.burger span:nth-child(1) { top: 2px; }
.burger span:nth-child(2) { top: 10.6px; }
.nav-toggle.open .burger span:nth-child(1) { top: 6.3px; transform: rotate(45deg); }
.nav-toggle.open .burger span:nth-child(2) { top: 6.3px; transform: rotate(-45deg); }




.hero {
  position: relative;
  padding: calc(var(--header-top) + var(--header-height) + 4.5rem) 0 5.5rem;
  background:
    radial-gradient(1100px 520px at 78% -10%, rgba(124, 58, 237, .55), transparent 62%),
    radial-gradient(900px 480px at 12% 8%, rgba(91, 69, 232, .5), transparent 60%),
    linear-gradient(160deg, #14103a 0%, #1b1450 45%, #0f172a 100%);
  color: #fff;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  inset: auto 0 -1px 0;
  height: 90px;
  background: linear-gradient(to bottom, transparent, var(--page-bg));
  pointer-events: none;
}




.hero-has-image::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(160deg, rgba(20, 16, 58, .62) 0%, rgba(27, 20, 80, .52) 45%, rgba(15, 23, 42, .72) 100%),
    var(--hero-image);
  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; text-align: center; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .45rem 1rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .18);
  font-size: .82rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.hero h1 {
  color: #fff;
  font-size: clamp(2rem, 5vw, 3.4rem);
  margin-bottom: .7rem;
  text-shadow: 0 12px 40px rgba(0, 0, 0, .28);
}
.hero p {
  color: rgba(255, 255, 255, .8);
  font-size: clamp(.95rem, 1.6vw, 1.1rem);
  max-width: 640px;
  margin: 0 auto 2rem;
}


.hero-search {
  max-width: 760px;
  margin: 0 auto;
  background: rgba(255, 255, 255, .97);
  border-radius: var(--radius-lg);
  padding: .6rem;
  box-shadow: 0 26px 60px rgba(8, 6, 40, .38);
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.hero-search .field {
  flex: 1 1 200px;
  display: flex;
  align-items: center;
  gap: .55rem;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 .9rem;
  min-height: 52px;
}
.hero-search .field .svg-icon { color: var(--brand); width: 16px; height: 16px; }
.hero-search input,
.hero-search select {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  height: 50px;
  font-size: .95rem;
}
.hero-search select { cursor: pointer; }
.hero-search .btn-primary { flex: 0 0 auto; min-height: 52px; padding: 0 1.8rem; }

.hero-stats {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.8rem;
  margin-top: 2.4rem;
}
.hero-stat { text-align: center; }
.hero-stat b {
  display: block;
  

  font-family: var(--font-display);
  font-size: 2.2rem;
  color: #fff;
  line-height: 1.15;
}
.hero-stat span { font-size: .82rem; color: rgba(255, 255, 255, .68); }




.section { padding: 3.4rem 0; }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.8rem;
}
.section-head .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: .78rem;
  font-weight: 700;
  color: var(--brand);
  background: var(--brand-soft);
  padding: .3rem .8rem;
  border-radius: var(--radius-pill);
  margin-bottom: .6rem;
}
.section-head h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.section-head p { color: var(--muted); margin: .35rem 0 0; font-size: .95rem; max-width: 620px; }
.section-head .view-all {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  color: var(--brand);
  font-weight: 700;
  font-size: .9rem;
  white-space: nowrap;
}
.section-head .view-all:hover { gap: .6rem; }
.section-head .view-all .svg-icon { width: 14px; height: 14px; }








.prop-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
}
.prop-row {
  position: relative;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr) 232px;
  gap: 1.1rem;
  padding: .85rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}











.prop-row-title a::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: var(--radius-lg);
}
.prop-row-title a:focus-visible::after { outline: 3px solid var(--brand-soft-strong); outline-offset: -3px; }
.prop-row-media,
.prop-row-body,
.prop-row-side { position: relative; }
.prop-row:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
  border-color: rgba(91, 69, 232, .28);
}

.prop-row-media {
  position: relative;
  min-height: 178px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #eef2ff, #e0e7ff);
  overflow: hidden;
}
.prop-row-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s var(--ease);
}
.prop-row:hover .prop-row-media img { transform: scale(1.04); }






.prop-row-media.prop-media-empty {
  display: grid;
  place-items: center;
  color: rgba(91, 69, 232, .5);
}
.prop-media-empty-box {
  display: grid;
  justify-items: center;
  gap: .35rem;
  padding: .9rem 1.3rem;
  border: 1.5px dashed rgba(91, 69, 232, .3);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .6);
}
.prop-media-empty-icon { width: 28px; height: 28px; color: rgba(91, 69, 232, .55); }
.prop-media-empty-text { font-size: .72rem; font-weight: 700; color: #64748b; }





.prop-cat-badge {
  position: absolute;
  top: .6rem;
  inset-inline-end: .6rem;
  padding: .24rem .62rem;
  border-radius: var(--radius-pill);
  font-size: .7rem;
  font-weight: 700;
  line-height: 1.7;
  color: #fff;
  white-space: nowrap;
  background: rgba(15, 23, 42, .62);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}



.prop-view-badge {
  position: absolute;
  top: .6rem;
  inset-inline-start: .6rem;
  display: inline-flex;
  align-items: center;
  gap: .2rem;
  padding: .18rem .5rem;
  border-radius: var(--radius-pill);
  font-size: .66rem;
  font-weight: 700;
  line-height: 1.6;
  

  white-space: nowrap;
  color: #475569;
  background: rgba(255, 255, 255, .9);
  border: 1px solid rgba(15, 23, 42, .06);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.prop-view-badge .svg-icon { width: 11px; height: 11px; flex: 0 0 11px; color: #64748b; }


.prop-row-gallery {
  position: absolute;
  inset-block-end: .5rem;
  inset-inline-start: .5rem;
  z-index: 3; 
  display: inline-flex;
  align-items: center;
  gap: .28rem;
  padding: .26rem .6rem;
  border: 0;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: .7rem;
  font-weight: 700;
  line-height: 1.7;
  white-space: nowrap;
  color: var(--ink);
  background: rgba(255, 255, 255, .94);
  border: 1px solid rgba(15, 23, 42, .06);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  cursor: pointer;
  transition: background var(--transition-fast), transform var(--transition-fast);
}
.prop-row-gallery:hover { background: #fff; transform: translateY(-1px); }
.prop-row-gallery .svg-icon { width: 12px; height: 12px; flex: 0 0 12px; color: var(--brand); }
.prop-row-gallery-count {
  display: inline-grid;
  place-items: center;
  min-width: 16px;
  height: 16px;
  padding: 0 3px;
  border-radius: var(--radius-pill);
  background: var(--brand);
  color: #fff;
  font-size: .62rem;
}
.prop-row-gallery-video { display: inline-flex; align-items: center; gap: .18rem; color: var(--brand-2); }
.prop-row-gallery-video .svg-icon { width: 11px; height: 11px; }


.prop-row-body { display: flex; flex-direction: column; gap: .55rem; min-width: 0; }
.prop-row-head { display: flex; align-items: baseline; justify-content: space-between; gap: .8rem; }
.prop-row-title {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.7;
}
.prop-row-title a { color: var(--ink); text-decoration: none; }
.prop-row-title a:hover { color: var(--brand); }
.prop-row-code { flex: 0 0 auto; font-size: .74rem; font-weight: 700; color: #64748b; }
.prop-row-desc {
  margin: 0;
  font-size: .84rem;
  line-height: 1.9;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}




.prop-row-specs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(104px, 1fr));
  gap: .4rem;
}
.prop-spec {
  display: flex;
  flex-direction: column;
  gap: .1rem;
  min-width: 0;
  padding: .35rem .55rem;
  border: 1px solid var(--line-soft);
  border-radius: 9px;
  background: #f8fafc;
}
.prop-spec b { font-size: .7rem; font-weight: 600; color: #94a3b8; }
.prop-spec > span { font-size: .84rem; font-weight: 600; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }




.prop-row-amenities {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .3rem .45rem;
  margin: 0;
  padding-top: .5rem;
  border-top: 1px dashed var(--line-soft);
  font-size: .82rem;
  line-height: 1.9;
}
.prop-row-amenities-title {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  flex: 0 0 auto;
  font-size: .76rem;
  font-weight: 700;
  color: var(--accent);
}
.prop-row-amenities-title .svg-icon { width: 13px; height: 13px; }
.prop-row-amenities-line { color: #334155; }


.prop-amen b { font-weight: 700; color: #1e293b; }
.prop-amen-sep { color: #94a3b8; margin-inline: .1rem; }


.prop-row-side {
  display: flex;
  flex-direction: column;
  gap: .6rem;
  align-items: flex-end;
  justify-content: space-between;
  text-align: left;
}
.prop-row-price { display: flex; flex-direction: column; gap: .22rem; align-items: stretch; text-align: right; }
.prop-row-price-label {
  font-size: .72rem;
  font-weight: 700;
  color: var(--muted);
  text-align: left;
}
.prop-row-price-value { font-size: 1.05rem; font-weight: 800; color: var(--ink); text-align: left; }


.prop-row-price-parts { display: flex; flex-direction: column; gap: .18rem; }
.prop-price-part {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .5rem;
  padding: .22rem .5rem;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: #f8fafc;
  white-space: nowrap;
}
.prop-price-part b { font-size: .68rem; font-weight: 600; color: #94a3b8; }
.prop-price-part > span { font-size: .92rem; font-weight: 800; color: var(--ink); }
.prop-row-price-extra { font-size: .74rem; color: var(--muted); text-align: left; }
.prop-row-status {
  padding: .25rem .6rem;
  border-radius: var(--radius-pill);
  background: var(--brand-soft);
  color: #4338ca;
  font-size: .74rem;
  font-weight: 700;
}
.prop-row-link {
  position: relative;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .82rem;
  font-weight: 700;
  color: var(--brand);
  text-decoration: none;
}
.prop-row-link .svg-icon { width: 13px; height: 13px; }
.prop-row-link:hover { color: var(--accent-primary-hover, #4a35d6); }


.prop-loadmore { display: flex; flex-direction: column; align-items: center; gap: .6rem; margin-top: 1.4rem; }
.prop-loadmore-btn {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .7rem 1.5rem;
  border: 1px solid rgba(91, 69, 232, .35);
  border-radius: var(--radius-pill);
  background: var(--surface);
  color: var(--brand);
  font-family: var(--font-body);
  font-size: .9rem;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}
.prop-loadmore-btn:hover { background: var(--brand); color: #fff; transform: translateY(-1px); }
.prop-loadmore-btn:disabled { opacity: .6; cursor: progress; transform: none; }
.prop-loadmore-btn .svg-icon { width: 14px; height: 14px; }
.prop-loadmore-note { font-size: .8rem; color: var(--muted); text-align: center; }

.prop-loadmore.is-done { display: none; }
.prop-loadmore.is-error .prop-loadmore-note { color: var(--danger); }
.prop-loadmore-btn.is-loading { opacity: .72; }
.prop-loadmore-btn.is-loading .svg-icon { animation: prop-loadmore-spin 1s linear infinite; }
@keyframes prop-loadmore-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@media (max-width: 1000px) {
  .prop-row { grid-template-columns: 220px minmax(0, 1fr); }
  .prop-row-side {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--line-soft);
    padding-top: .6rem;
  }
}
@media (max-width: 720px) {
  .prop-row { grid-template-columns: minmax(0, 1fr); }
  .prop-row-media { min-height: 210px; }
}







html:has(.gallery-lightbox[open]) { overflow: hidden; }
.gallery-lightbox[open] {
  position: fixed;
  inset: 0;
  display: block;
  width: 100vw;
  max-width: 100vw;
  height: 100dvh;
  max-height: 100dvh;
  margin: 0;
  padding: 0;
  border: 0;
  overflow: hidden;
  background: #0b1120;
  color: #e2e8f0;
}
.gallery-lightbox::backdrop { background: rgba(2, 6, 23, .96); }
.gallery-lightbox-bar {
  position: absolute;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: .7rem 1rem;
  background: linear-gradient(180deg, rgba(2, 6, 23, .85), rgba(2, 6, 23, 0));
}
.gallery-lightbox-title { flex: 1; font-size: .92rem; font-weight: 700; color: #fff; }
.gallery-lightbox-count { font-size: .82rem; color: #94a3b8; }
.gallery-lightbox-x {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: rgba(148, 163, 184, .18);
  color: #fff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
.gallery-lightbox-stage {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 3.6rem 3.4rem 5rem;
}
.gallery-lightbox-stage img,
.gallery-lightbox-stage video {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: var(--radius);
}
.gallery-lightbox-nav {
  position: absolute;
  inset-block-start: 50%;
  inset-inline: 0;
  transform: translateY(-50%);
  z-index: 3;
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 0 .6rem;
  pointer-events: none;
}
.gallery-lightbox-nav button {
  pointer-events: auto;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(148, 163, 184, .22);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
}
.gallery-lightbox-nav button:hover { background: rgba(148, 163, 184, .38); }
.gallery-lightbox-thumbs {
  position: absolute;
  inset-block-end: 0;
  inset-inline: 0;
  z-index: 3;
  display: flex;
  gap: .5rem;
  padding: .8rem 1rem;
  overflow-x: auto;
  background: linear-gradient(0deg, rgba(2, 6, 23, .9), rgba(2, 6, 23, 0));
}
.gallery-lightbox-thumb {
  position: relative;
  flex: 0 0 auto;
  width: 78px;
  height: 58px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  background: #020617;
  cursor: pointer;
  overflow: hidden;
}
.gallery-lightbox-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: .78; }
.gallery-lightbox-thumb.is-on { border-color: var(--brand); }
.gallery-lightbox-thumb.is-on img { opacity: 1; }
.gallery-lightbox-thumb-video {
  position: absolute;
  inset-block-end: 2px;
  inset-inline-start: 2px;
  display: inline-flex;
  align-items: center;
  gap: .15rem;
  padding: .05rem .25rem;
  border-radius: 6px;
  background: rgba(2, 6, 23, .75);
  color: #fff;
  font-size: .6rem;
}
.gallery-lightbox-thumb-video .svg-icon { width: 10px; height: 10px; }

@media (max-width: 720px) {
  .gallery-lightbox-thumbs { padding: .5rem .6rem .8rem; }
  .gallery-lightbox-thumb { width: 62px; height: 48px; }
}




.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.3rem;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.3rem;
  box-shadow: var(--shadow-soft);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
  border-color: rgba(91, 69, 232, .25);
}
.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  box-shadow: 0 12px 26px rgba(91, 69, 232, .26);
  margin-bottom: 1rem;
}
.feature-icon.soft { background: var(--brand-soft); color: var(--brand); box-shadow: none; }
.feature-icon .svg-icon { width: 22px; height: 22px; }
.feature-card h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.02rem;
  margin-bottom: .45rem;
}
.feature-card p { color: var(--muted); font-size: .88rem; margin: 0; line-height: 1.9; }


.section-tint {
  background: linear-gradient(180deg, rgba(91, 69, 232, .045), rgba(124, 58, 237, .02));
  border-block: 1px solid var(--line-soft);
}




.page-hero {
  text-align: center;
  padding: calc(var(--header-top) + var(--header-height) + 3.6rem) 1.2rem 2.6rem;
  background:
    radial-gradient(800px 300px at 70% -30%, rgba(124, 58, 237, .13), transparent 60%),
    linear-gradient(180deg, #f6f5ff, var(--page-bg));
}
.page-hero h1 { font-size: clamp(1.9rem, 4.2vw, 2.9rem); margin-bottom: .55rem; }
.page-hero p { color: var(--muted); max-width: 640px; margin: 0 auto; font-size: .98rem; }
.page-hero .breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .8rem;
  color: var(--muted);
  margin-top: 1rem;
}
.page-hero .breadcrumb .svg-icon { width: 12px; height: 12px; }
.page-hero .breadcrumb a:hover { color: var(--brand); }




.site-footer {
  flex-shrink: 0;
  margin-top: auto;             
  background: #0f172a;
  color: rgba(255, 255, 255, .75);
}
.footer-inner {
  width: min(var(--container), 92%);
  margin-inline: auto;
  padding: 3rem 0 2rem;
  display: grid;
  grid-template-columns: 1.35fr 1fr 1.15fr;
  gap: 2.2rem;
}
.footer-title {
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 400;
  margin-bottom: .8rem;
}
.site-footer p { font-size: .9rem; line-height: 1.95; margin: 0 0 .5rem; }
.site-footer a { color: rgba(255, 255, 255, .72); }
.site-footer a:hover { color: #fff; }
.footer-about p { font-size: .92rem; }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  margin-bottom: .55rem;
  font-size: .88rem;
}
.footer-contact-item .svg-icon {
  width: 30px;
  height: 30px;
  padding: .4rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, .08);
  color: var(--accent);
  flex-shrink: 0;
}
.footer-socials { display: flex; gap: .7rem; margin-top: .4rem; align-items: center; flex-wrap: wrap; }
.footer-socials a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, .08);
  transition: transform var(--transition-fast), background var(--transition-fast);
}
.footer-socials a:hover { transform: translateY(-2px); background: rgba(255, 255, 255, .15); }
.footer-socials .svg-icon { width: 18px; height: 18px; }
.footer-socials .insta { color: #E1306C; }
.footer-socials .tg { color: #29a9eb; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.footer-links a { display: inline-flex; align-items: center; gap: .4rem; font-size: .9rem; }
.footer-links .svg-icon { width: 11px; height: 11px; color: var(--accent); }

.footer-map-card-wrap { margin-top: .9rem; }
.footer-map-caption { display: flex; align-items: center; gap: .45rem; margin-bottom: .45rem; font-size: .82rem; font-weight: 700; }
.footer-map-caption .svg-icon { width: 17px; height: 17px; color: var(--accent); }
.footer-map {
  width: 100%;
  height: 190px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255, 255, 255, .06);
}
.footer-map-address {
  display: block;
  margin-top: .4rem;
  color: rgba(255, 255, 255, .62);
  font-size: .76rem;
  font-style: normal;
  line-height: 1.7;
}
.footer-map-card {
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, .08);
  background: rgba(255, 255, 255, .04);
  padding: .7rem .8rem;
  font-size: .82rem;
  display: flex;
  align-items: center;
  gap: .6rem;
}
.footer-map-card address { font-style: normal; }
.footer-map-card .svg-icon { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: 1.1rem 1.5rem 1.6rem;
  text-align: center;
  color: rgba(255, 255, 255, .55);
  font-size: .9rem;
  display: flex;
  flex-direction: column;
  gap: .45rem;
  align-items: center;
}
.footer-credit {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  flex-wrap: wrap;
  justify-content: center;
  font-size: .82rem;
  color: rgba(255, 255, 255, .5);
}
.footer-credit .dev-link {
  color: rgba(255, 255, 255, .72);
  border-bottom: 1px dashed rgba(167, 139, 250, .45);
  padding-bottom: 1px;
  transition: color var(--transition-fast), border-color var(--transition-fast);
}
.footer-credit .dev-link:hover { color: #c4b5fd; border-bottom-color: #a78bfa; }
.footer-credit .dev-sep { color: rgba(255, 255, 255, .25); }




.empty-state {
  text-align: center;
  padding: 3rem 1.5rem;
  background: var(--surface);
  border: 1px dashed var(--line);
  border-radius: var(--radius-lg);
  color: var(--muted);
}
.empty-state-icon { width: 52px; height: 52px; color: rgba(91, 69, 232, .3); margin-bottom: .8rem; }
.empty-state h3 { font-size: 1.2rem; margin-bottom: .4rem; }
.empty-state p { margin: 0 0 1.2rem; font-size: .92rem; }
.empty-actions { display: flex; gap: .7rem; justify-content: center; flex-wrap: wrap; }




.filter-bar {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 1rem 1.1rem;
  margin-bottom: 1.8rem;
}
.filter-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: .9rem;
  align-items: end;
}
.filter-field { display: flex; flex-direction: column; gap: .35rem; }
.filter-field label { font-size: .78rem; font-weight: 700; color: var(--muted); }
.filter-field input,
.filter-field select {
  height: 46px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: #f8fafc;
  padding: 0 .85rem;
  color: var(--ink);
  outline: 0;
  transition: border-color var(--transition-fast), background var(--transition-fast);
}
.filter-field input:focus,
.filter-field select:focus { border-color: var(--brand); background: #fff; }
.filter-actions { display: flex; gap: .6rem; align-items: end; }

.category-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.4rem; }
.category-chip {
  padding: .45rem 1rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: .85rem;
  font-weight: 600;
  color: #475569;
  transition: all var(--transition-fast);
}
.category-chip:hover { border-color: var(--accent); color: var(--brand); }
.category-chip.active {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  border-color: transparent;
  box-shadow: var(--shadow-brand);
}

.results-count { color: var(--muted); font-size: .88rem; margin-bottom: 1rem; }




.price-band {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem .7rem;
  margin: 0 0 1rem;
  padding: .7rem 1rem;
  border: 1px solid var(--brand-soft-strong);
  border-radius: var(--radius);
  background: var(--brand-soft);
  color: var(--ink);
  font-size: .9rem;
}
.price-band .svg-icon { width: 17px; height: 17px; color: var(--brand); flex-shrink: 0; }
.price-band strong { font-weight: 800; }


.price-chip {
  display: inline-flex;
  align-items: baseline;
  gap: .35rem;
  padding: .22rem .6rem;
  border-radius: var(--radius-pill);
  background: var(--surface);
  border: 1px solid rgba(91, 69, 232, .22);
  font-size: .8rem;
  line-height: 1.9;
  white-space: nowrap;
}
.price-chip-label { color: var(--muted); font-size: .74rem; }
.price-chip b { font-weight: 800; color: var(--ink); }
.price-band-count {
  margin-inline-start: auto;
  color: var(--muted);
  font-size: .82rem;
  white-space: nowrap;
}
body[data-theme="dark"] .price-band,
[data-theme="dark"] .price-band {
  background: var(--brand-soft-strong);
  border-color: rgba(148, 163, 184, .22);
}


.pagination { display: flex; justify-content: center; gap: .4rem; margin-top: 2.4rem; flex-wrap: wrap; }
.pagination a, .pagination span {
  min-width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--surface);
  font-weight: 700;
  font-size: .9rem;
  color: var(--ink);
}
.pagination a:hover { border-color: var(--brand); color: var(--brand); }
.pagination .current {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  border-color: transparent;
}
.pagination .disabled { opacity: .45; pointer-events: none; }









.detail-card,
.pd-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 1.4rem;
  margin-bottom: 1.3rem;
}
.detail-card h2 { font-size: 1.25rem; margin-bottom: 1rem; display: flex; align-items: center; gap: .5rem; }
.detail-card h2 .svg-icon { color: var(--brand); width: 18px; height: 18px; }







.pd-head {
  padding: calc(var(--header-top) + var(--header-height) + 2rem) 0 1.4rem;
  background:
    radial-gradient(760px 320px at 78% -20%, rgba(124, 58, 237, .14), transparent 62%),
    linear-gradient(180deg, #f6f5ff, var(--page-bg));
}
.pd-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .4rem;
  margin-bottom: 1.1rem;
  font-size: .8rem;
  color: var(--muted);
}
.pd-crumbs .svg-icon { width: 12px; height: 12px; }
.pd-crumbs a:hover { color: var(--brand); }
.pd-crumbs span { color: var(--ink); font-weight: 600; }

.pd-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(0, 1fr);
  gap: 1.3rem;
  align-items: start;
}









@media (min-width: 1025px) {
  .pd-hero { align-items: stretch; }
  .pd-media { display: flex; flex-direction: column; }
  .pd-mosaic {
    flex: 1 1 auto;
    min-height: clamp(280px, calc(100vh - 360px), 520px);
  }
}


.pd-media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: #e2e8f0;
  box-shadow: var(--shadow-sheet);
}
.pd-media--empty {
  display: grid;
  place-items: center;
  min-height: 300px;
  background: linear-gradient(135deg, #eef2ff, #e0e7ff);
}
.pd-media-empty {
  display: grid;
  justify-items: center;
  gap: .5rem;
  color: rgba(91, 69, 232, .55);
  font-size: .84rem;
  font-weight: 600;
}
.pd-media-empty .svg-icon { width: 60px; height: 60px; }


.pd-mosaic { display: grid; gap: 6px; aspect-ratio: 16 / 10; }
.pd-mosaic--1 { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.pd-mosaic--2 { grid-template-columns: 1.45fr 1fr; grid-template-rows: 1fr; }
.pd-mosaic--3 { grid-template-columns: 1.45fr 1fr; grid-template-rows: 1fr 1fr; }
.pd-mosaic--4 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }
.pd-mosaic--5 { grid-template-columns: 1.6fr 1fr 1fr; grid-template-rows: 1fr 1fr; }
.pd-mosaic--3 .pd-tile:first-child,
.pd-mosaic--5 .pd-tile:first-child { grid-row: span 2; }

.pd-tile {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: #e2e8f0;
}
.pd-tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s var(--ease); }
.pd-media:hover .pd-tile img { transform: scale(1.04); }
.pd-tile-more {
  position: absolute;
  inset-block-end: 8px;
  inset-inline-end: 8px;
  padding: .2rem .55rem;
  border-radius: var(--radius-pill);
  background: rgba(15, 23, 42, .62);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  backdrop-filter: blur(6px);
}

.pd-media-overlay {
  position: absolute;
  inset-block-start: .8rem;
  inset-inline-start: .8rem;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  pointer-events: none;
}
.pd-ov-badge {
  padding: .28rem .7rem;
  border-radius: var(--radius-pill);
  background: rgba(15, 23, 42, .62);
  color: #fff;
  font-size: .74rem;
  font-weight: 700;
  backdrop-filter: blur(6px);
}
.pd-ov-badge--featured {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: var(--shadow-brand);
}
.pd-ov-badge--featured .svg-icon { width: 12px; height: 12px; }


.pd-media-open {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: .6rem;
  padding: .85rem;
  border: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, .58), rgba(15, 23, 42, .06) 42%, transparent 68%);
  color: #fff;
  font: inherit;
  cursor: pointer;
  text-align: start;
}
.pd-media-count,
.pd-media-cta {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .34rem .75rem;
  border-radius: var(--radius-pill);
  font-size: .78rem;
  font-weight: 700;
  backdrop-filter: blur(8px);
}
.pd-media-count { background: rgba(15, 23, 42, .62); }
.pd-media-count .svg-icon { width: 13px; height: 13px; }
.pd-media-cta { background: rgba(255, 255, 255, .92); color: #1b1450; transition: transform var(--transition-fast); }
.pd-media-cta .svg-icon { width: 13px; height: 13px; }
.pd-media-open:hover .pd-media-cta { transform: translateX(-3px); }
.pd-media-open:focus-visible { outline: 3px solid var(--brand-soft-strong); outline-offset: -6px; }


.pd-intro {
  display: grid;
  gap: .9rem;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}
.pd-chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.pd-title { font-size: clamp(1.28rem, 2.3vw, 1.8rem); line-height: 1.65; margin: 0; }
.pd-sub { display: flex; flex-wrap: wrap; gap: .35rem 1rem; margin: 0; color: var(--muted); font-size: .85rem; }
.pd-sub-item { display: inline-flex; align-items: center; gap: .35rem; }
.pd-sub-item .svg-icon { width: 14px; height: 14px; color: var(--brand); }

.pd-price {
  display: grid;
  gap: .25rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, #1b1450, #0f172a);
  color: #fff;
  box-shadow: var(--shadow-sheet);
}
.pd-price-label { font-size: .8rem; color: rgba(255, 255, 255, .68); }
.pd-price-value { font-family: var(--font-display); font-size: clamp(1.4rem, 2.8vw, 1.9rem); line-height: 1.5; }
.pd-price-extra { font-size: .82rem; color: rgba(255, 255, 255, .72); }
.pd-price-rows { display: grid; gap: .35rem; margin-top: .35rem; }
.pd-price-row {
  display: flex;
  justify-content: space-between;
  gap: .6rem;
  padding-top: .35rem;
  border-top: 1px solid rgba(255, 255, 255, .14);
  font-size: .85rem;
}
.pd-price-row span { color: rgba(255, 255, 255, .72); }
.pd-price-row b { color: #fff; }

.pd-facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(104px, 1fr));
  gap: .5rem;
}
.pd-fact {
  display: grid;
  gap: .1rem;
  padding: .55rem .65rem;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: #f8fafc;
}
.pd-fact-icon .svg-icon { width: 15px; height: 15px; color: var(--brand); }
.pd-fact b { font-size: .95rem; color: var(--ink); }
.pd-fact > span:last-child { font-size: .74rem; color: var(--muted); }

.pd-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.pd-btn {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .6rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: .84rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}
.pd-btn .svg-icon { width: 15px; height: 15px; }
.pd-btn:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-1px); }
.pd-btn--primary {
  border-color: transparent;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  box-shadow: var(--shadow-brand);
}
.pd-btn--primary:hover { color: #fff; }
.pd-btn-count {
  padding: 0 .4rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, .24);
  font-size: .72rem;
}
.pd-btn.is-done,
.pd-share-link.is-done {
  border-color: transparent;
  background: var(--success-soft);
  color: #15803d;
  transform: none;
}


.pd-body { padding-block: 1.3rem 3.4rem; }
.pd-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  gap: 1.4rem;
  align-items: start;
}
.pd-main { min-width: 0; display: grid; gap: 1.2rem; }
.pd-side { min-width: 0; }
.pd-sticky {
  position: sticky;
  top: calc(var(--header-top) + var(--header-height) + 14px);
  display: grid;
  gap: 1.1rem;
}
.pd-main .pd-card,
.pd-sticky .pd-card { margin-bottom: 0; }

.pd-card-head {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin: 0 0 1rem;
  font-size: 1.12rem;
}
.pd-card-head .svg-icon { width: 18px; height: 18px; color: var(--brand); }


.pd-specs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(212px, 1fr));
  gap: .45rem;
  margin: 0;
}
.pd-spec {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .6rem;
  padding: .5rem .7rem;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  background: #f8fafc;
}
.pd-spec dt { margin: 0; font-size: .8rem; color: var(--muted); }
.pd-spec dd { margin: 0; font-size: .88rem; font-weight: 700; color: var(--ink); text-align: end; }

.pd-desc { color: #334155; font-size: .95rem; line-height: 2.1; }


.pd-amenities {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(232px, 1fr));
  gap: .6rem;
}
.pd-amen-box {
  padding: .7rem .8rem;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: #f8fafc;
}
.pd-amen-head {
  display: flex;
  align-items: center;
  gap: .4rem;
  margin-bottom: .5rem;
  font-size: .88rem;
  font-weight: 700;
  color: var(--ink);
}
.pd-amen-head .svg-icon { width: 15px; height: 15px; color: var(--brand); }
.pd-amen-items { display: flex; flex-wrap: wrap; gap: .35rem; }
.pd-amen-item {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .28rem .6rem;
  border-radius: var(--radius-pill);
  background: var(--brand-soft);
  color: #4338ca;
  font-size: .78rem;
  font-weight: 600;
}
.pd-amen-item .svg-icon { width: 11px; height: 11px; }
.pd-amen-box--solo {
  display: flex;
  align-items: center;
  gap: .45rem;
  border-style: dashed;
  background: var(--surface);
  font-size: .85rem;
  font-weight: 600;
  color: #334155;
}
.pd-amen-box--solo .svg-icon { width: 14px; height: 14px; color: var(--brand); }


.pd-file-rows { display: grid; gap: .4rem; }
.pd-file-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .6rem;
  padding-bottom: .4rem;
  border-bottom: 1px dashed var(--line-soft);
  font-size: .85rem;
}
.pd-file-row:last-child { padding-bottom: 0; border-bottom: 0; }
.pd-file-row span { color: var(--muted); }
.pd-file-row b { color: var(--ink); text-align: end; }
.pd-file-note {
  display: flex;
  align-items: center;
  gap: .35rem;
  margin: .85rem 0 0;
  font-size: .78rem;
  color: var(--muted);
}
.pd-file-note .svg-icon { width: 13px; height: 13px; color: var(--brand); }


.pd-share-note { margin: 0 0 .7rem; font-size: .82rem; color: var(--muted); }
.pd-share-actions { display: grid; gap: .5rem; }
.pd-share-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  padding: .58rem .8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8fafc;
  color: var(--ink);
  font: inherit;
  font-size: .84rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}
.pd-share-link .svg-icon { width: 16px; height: 16px; }
.pd-share-link:hover { transform: translateY(-1px); }
.pd-share-link--telegram { border-color: rgba(34, 158, 217, .38); background: rgba(34, 158, 217, .08); color: #1b7fae; }
.pd-share-link--whatsapp { border-color: rgba(18, 140, 126, .38); background: rgba(18, 140, 126, .08); color: #0f7367; }


.chip {
  padding: .3rem .8rem;
  border-radius: var(--radius-pill);
  font-size: .76rem;
  font-weight: 700;
  background: var(--brand-soft);
  color: #4338ca;
}
.chip.chip-muted { background: #f1f5f9; color: #475569; }
.chip.chip-success { background: var(--success-soft); color: #15803d; }
.chip.pd-chip-status {
  background: var(--surface);
  border: 1px solid var(--status-color, var(--line));
  color: var(--status-color, #475569);
}


@media (max-width: 1024px) {
  .pd-hero { grid-template-columns: 1fr; }
  .pd-layout { grid-template-columns: 1fr; }
  .pd-sticky { position: static; }
}
@media (max-width: 640px) {
  
  .pd-mosaic { grid-template-columns: 1fr; grid-template-rows: 1fr; aspect-ratio: 16 / 11; }
  .pd-mosaic .pd-tile { display: none; }
  .pd-mosaic .pd-tile:first-child { display: block; grid-row: auto; }
}






@media print {
  @page { margin: 12mm; }
  .site-header,
  .site-footer,
  .skip-link,
  .pd-crumbs,
  .pd-actions,
  .pd-media-open,
  .pd-share-card,
  .section-head,
  .prop-list { display: none !important; }

  .pd-head { padding: 0 0 1rem; background: none; }
  .pd-hero { grid-template-columns: 1fr; gap: .9rem; }
  .pd-media { box-shadow: none; }
  .pd-mosaic { grid-template-columns: 1fr 1fr !important; grid-template-rows: 1fr !important; aspect-ratio: 16 / 6; }
  .pd-mosaic .pd-tile { display: none; }
  .pd-mosaic .pd-tile:first-child,
  .pd-mosaic .pd-tile:nth-child(2) { display: block; grid-row: auto; }

  .pd-body { padding-block: 1rem 0; }
  .pd-layout { grid-template-columns: 1fr; }
  .pd-sticky { position: static; }
  
  .pd-mosaic { flex: 0 0 auto; min-height: 0 !important; }

  .pd-intro,
  .pd-card { border-color: #cbd5e1; box-shadow: none; break-inside: avoid; }
  .pd-price { background: #f1f5f9 !important; color: #0f172a !important; box-shadow: none; }
  .pd-price-label,
  .pd-price-extra,
  .pd-price-row span { color: #475569 !important; }
  .pd-price-value,
  .pd-price-row b { color: #0f172a !important; }
  .pd-price-row { border-top-color: #cbd5e1 !important; }
}





.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 1.6rem;
}
.form-grid { display: grid; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-field { display: flex; flex-direction: column; gap: .4rem; }
.form-field label { font-size: .85rem; font-weight: 700; color: #334155; }
.form-field input,
.form-field select,
.form-field textarea {
  border: 1px solid var(--line);
  background: #f8fafc;
  border-radius: var(--radius-sm);
  padding: .8rem .9rem;
  outline: 0;
  transition: border-color var(--transition-fast), background var(--transition-fast);
}
.form-field textarea { min-height: 130px; resize: vertical; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-color: var(--brand); background: #fff; }
.form-hint { font-size: .78rem; color: var(--muted); }
.alert {
  border-radius: var(--radius);
  padding: .85rem 1rem;
  font-size: .88rem;
  font-weight: 600;
  margin-bottom: 1rem;
  border: 1px solid transparent;
}
.alert-success { background: var(--success-soft); color: #15803d; border-color: rgba(34, 197, 94, .3); }
.alert-error { background: var(--danger-soft); color: #b91c1c; border-color: rgba(239, 68, 68, .3); }




.auth-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 1.4rem;
}
.auth-radio { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.auth-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .3rem;
  background: var(--page-bg);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-pill);
  padding: .3rem;
  margin-bottom: 1.3rem;
}
.auth-tabs label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  min-height: 42px;
  padding: 0 .5rem;
  border-radius: var(--radius-pill);
  font-size: .82rem;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
  transition: background var(--transition-fast), color var(--transition-fast), box-shadow var(--transition-fast);
}
.auth-tabs .svg-icon { width: 15px; height: 15px; }
.auth-tabs label:hover { color: var(--brand); }
#tab-login:checked ~ .auth-tabs label[for="tab-login"],
#tab-register:checked ~ .auth-tabs label[for="tab-register"],
#tab-forgot:checked ~ .auth-tabs label[for="tab-forgot"] {
  background: var(--surface);
  color: var(--brand);
  box-shadow: var(--shadow-soft);
}
#tab-login:focus-visible ~ .auth-tabs label[for="tab-login"],
#tab-register:focus-visible ~ .auth-tabs label[for="tab-register"],
#tab-forgot:focus-visible ~ .auth-tabs label[for="tab-forgot"] { outline: 2px solid var(--brand); outline-offset: 2px; }
.auth-panel { display: none; }
#tab-login:checked ~ .auth-panels #panel-login,
#tab-register:checked ~ .auth-panels #panel-register,
#tab-forgot:checked ~ .auth-panels #panel-forgot { display: block; }


.otp-field { display: flex; align-items: stretch; gap: .5rem; }
.otp-field input { flex: 1 1 auto; min-width: 0; letter-spacing: .28em; text-align: center; }
.otp-field .otp-send { flex: 0 0 auto; white-space: nowrap; min-height: 42px; }
.otp-field .otp-send:disabled { cursor: not-allowed; opacity: .6; }
@media (max-width: 480px) {
  .otp-field { flex-direction: column; }
  .otp-field .otp-send { width: 100%; }
}

.auth-switch { text-align: center; font-size: .84rem; color: var(--muted); margin: 1rem 0 0; }
.auth-link { color: var(--brand); font-weight: 700; cursor: pointer; }
.auth-link:hover { text-decoration: underline; }
.auth-steps { display: grid; gap: .55rem; margin-top: 1.3rem; }
.auth-step {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-size: .84rem;
  color: var(--muted);
  background: var(--page-bg);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: .6rem .8rem;
}
.auth-step span {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  border-radius: 50%;
  background: var(--brand-soft-strong);
  color: var(--brand);
  font-size: .78rem;
  font-weight: 700;
}
.auth-step.is-done,
.auth-step.is-current { color: var(--ink); background: var(--surface); }
.auth-step.is-current { border-color: var(--brand); }
.auth-step.is-current span { background: var(--brand); color: #fff; }
.birth-grid { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: .55rem; }


@media (max-width: 480px) {
  .auth-tabs .svg-icon { display: none; }
  .auth-card { padding: 1.1rem; }
}







.dash-wrap {
  width: min(1060px, 92%);
  margin-inline: auto;
  padding: calc(var(--header-top) + var(--header-height) + 1.4rem) 0 3rem;
}
.dash-title { display: flex; align-items: center; gap: .6rem; margin: 0 0 1.2rem; }
.dash-title h1 { font-size: clamp(1.6rem, 4vw, 2.2rem); }
.dash-title .svg-icon { color: var(--brand); width: 24px; height: 24px; }


.dash-tabs { display: flex; flex-wrap: wrap; gap: .45rem; margin: 0 0 1.2rem; }
.dash-tab {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .5rem .95rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  font-size: .84rem;
  font-weight: 700;
  transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}
.dash-tab .svg-icon { width: 15px; height: 15px; }
.dash-tab:hover { color: var(--brand); border-color: var(--brand-soft-strong); }
.dash-tab.is-active { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: var(--shadow-brand); }


.dash-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: .7rem; margin-bottom: 1.4rem; }
.dash-stat {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: .85rem 1rem;
  text-align: center;
}
.dash-stat b { display: block; font-size: 1.4rem; color: var(--brand); }
.dash-stat span { color: var(--muted); font-size: .78rem; }


.view-item-link { color: inherit; text-decoration: none; border-radius: var(--radius-sm); transition: background var(--transition-fast); }
.view-item-link:hover { background: var(--brand-soft); }

.account-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  padding: 1.4rem;
  display: flex;
  align-items: center;
  gap: 1.1rem;
  flex-wrap: wrap;
  margin-bottom: 1.4rem;
}
.account-avatar {
  width: 64px; height: 64px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  font-size: 1.7rem;
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: var(--shadow-brand);
}
.account-info { flex: 1; min-width: 180px; }
.account-name { font-size: 1.15rem; font-weight: 700; }
.account-meta { display: flex; flex-wrap: wrap; gap: .5rem .9rem; color: var(--muted); font-size: .8rem; margin-top: .35rem; }
.account-meta span { display: inline-flex; align-items: center; gap: .35rem; }
.account-meta .svg-icon { width: 13px; height: 13px; }
.account-role { background: var(--brand-soft); color: #4338ca; border-radius: var(--radius-pill); padding: .2rem .7rem; font-size: .72rem; font-weight: 700; }
.account-logout {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .6rem 1.1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(225, 29, 72, .25);
  background: var(--surface);
  color: #e11d48;
  font-weight: 700;
  font-size: .85rem;
  transition: background var(--transition-fast);
}
.account-logout:hover { background: rgba(225, 29, 72, .06); }



.staff-entry {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.1rem 1.2rem;
  margin-bottom: 1.2rem;
  border: 1px solid rgba(91, 69, 232, .22);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(420px 160px at 88% -40%, rgba(124, 58, 237, .16), transparent 70%),
    linear-gradient(135deg, #f5f3ff, #eef2ff);
  box-shadow: var(--shadow-soft);
}
.staff-entry-icon {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  box-shadow: var(--shadow-brand);
}
.staff-entry-icon .svg-icon { width: 19px; height: 19px; }
.staff-entry-body { flex: 1; min-width: 200px; }
.staff-entry-title {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
}
.staff-entry-title .svg-icon { width: 15px; height: 15px; color: var(--brand); }
.staff-entry-note { margin: .25rem 0 0; font-size: .82rem; line-height: 1.9; color: var(--muted); }
.staff-entry-btn {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .65rem 1.1rem;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  font-size: .87rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: var(--shadow-brand);
  transition: transform var(--transition-fast);
}
.staff-entry-btn:hover { transform: translateY(-1px); }
.staff-entry-btn .svg-icon { width: 14px; height: 14px; }

.dash-section {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  padding: 1.2rem;
  margin-bottom: 1.2rem;
}
.dash-section-head { display: flex; align-items: center; justify-content: space-between; gap: .7rem; margin-bottom: 1rem; }
.dash-section-head h2 { font-size: 1.22rem; display: flex; align-items: center; gap: .55rem; }
.dash-section-head h2 .svg-icon { color: var(--brand); width: 18px; height: 18px; }
.dash-section-head .see-all { color: var(--brand); font-size: .8rem; font-weight: 700; display: inline-flex; align-items: center; gap: .3rem; }

.req-item { display: flex; align-items: flex-start; gap: .8rem; padding: .8rem 0; border-bottom: 1px solid var(--line-soft); }
.req-item:last-child { border-bottom: 0; padding-bottom: 0; }
.req-item:first-child { padding-top: 0; }
.req-icon {
  width: 40px; height: 40px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: var(--brand-soft);
  color: var(--brand);
  flex-shrink: 0;
}
.req-icon .svg-icon { width: 17px; height: 17px; }
.req-body { flex: 1; min-width: 0; }
.req-prop { font-weight: 700; color: var(--ink); font-size: .92rem; }
.req-date { color: var(--muted); font-size: .75rem; margin-top: .15rem; display: flex; align-items: center; gap: .35rem; flex-wrap: wrap; }
.req-status { padding: .28rem .75rem; border-radius: var(--radius-pill); font-size: .72rem; font-weight: 700; white-space: nowrap; flex-shrink: 0; }
.req-status.pending { background: var(--warning-soft); color: var(--warning); }
.req-status.handled { background: var(--success-soft); color: #15803d; }

.view-item { display: flex; align-items: center; gap: .8rem; padding: .7rem 0; border-bottom: 1px solid var(--line-soft); }
.view-item:last-child { border-bottom: 0; padding-bottom: 0; }
.view-item:first-child { padding-top: 0; }
.view-icon {
  width: 38px; height: 38px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: var(--info-soft);
  color: var(--info);
  flex-shrink: 0;
}
.view-icon .svg-icon { width: 16px; height: 16px; }
.view-name { flex: 1; min-width: 0; font-weight: 700; font-size: .92rem; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.view-name:hover { color: var(--brand); }
.view-times,
.view-date { color: var(--muted); font-size: .72rem; flex-shrink: 0; }



.pdf-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1rem; }
.pdf-card {
  background: rgba(248, 250, 252, .9);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
}
.pdf-header { display: flex; align-items: flex-start; gap: .8rem; padding-bottom: .8rem; border-bottom: 1px solid var(--line-soft); margin-bottom: .8rem; }
.pdf-icon {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: var(--danger-soft);
  color: var(--danger);
  font-size: 1.15rem;
  flex-shrink: 0;
}
.pdf-icon .svg-icon { width: 20px; height: 20px; }
.pdf-title { color: var(--ink); font-size: .95rem; font-weight: 700; line-height: 1.5; }
.pdf-date { color: var(--muted); font-size: .75rem; margin-top: .15rem; display: flex; align-items: center; gap: .3rem; }
.party-row { display: flex; align-items: center; gap: .7rem; color: var(--muted); font-size: .8rem; margin-bottom: .5rem; }
.party-row strong { color: var(--ink); }
.pdf-actions { margin-top: auto; padding-top: .8rem; display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; }
.pdf-metrics { display: flex; gap: .7rem; color: var(--muted); font-size: .75rem; }
.btn-view, .btn-download { flex: 1; min-width: 90px; padding: .65rem .8rem; border-radius: var(--radius-sm); text-align: center; font-weight: 700; font-size: .85rem; }
.btn-view { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; }
.btn-download { background: var(--surface); color: var(--ink); border: 1px solid var(--line); }
.empty-inline { text-align: center; color: #94a3b8; font-size: .85rem; padding: 1.2rem 0; }
.empty-inline .svg-icon { display: block; width: 30px; height: 30px; margin: 0 auto .5rem; color: rgba(91, 69, 232, .25); }

.wl-summary { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.wl-count-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 84px; height: 84px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  flex-shrink: 0;
  box-shadow: var(--shadow-brand);
}
.wl-count-box b { font-size: 1.8rem; line-height: 1; }
.wl-count-box small { font-size: .68rem; opacity: .9; margin-top: .3rem; }
.wl-names { flex: 1; min-width: 200px; display: flex; flex-direction: column; gap: .35rem; }
.wl-name-item { display: inline-flex; align-items: center; gap: .45rem; color: #475569; font-size: .85rem; font-weight: 700; }
.wl-name-item .svg-icon { color: var(--brand); width: 12px; height: 12px; }

.dash-cols { display: grid; gap: 1.2rem; margin-bottom: 1.2rem; }




.stat-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1rem; }
.stat-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.3rem 1rem;
  text-align: center;
  box-shadow: var(--shadow-soft);
}
.stat-box b { display: block; font-family: var(--font-display); font-size: 2.3rem; color: var(--brand); line-height: 1.25; }
.stat-box span { font-size: .82rem; color: var(--muted); }

.timeline { display: grid; gap: 1rem; }
.timeline-item {
  display: flex;
  gap: 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.1rem 1.2rem;
  box-shadow: var(--shadow-soft);
}
.timeline-num {
  width: 42px; height: 42px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 800;
  flex-shrink: 0;
}
.timeline-item h3 { font-family: var(--font-body); font-weight: 700; font-size: 1rem; margin-bottom: .25rem; }
.timeline-item p { margin: 0; color: var(--muted); font-size: .88rem; }




.contact-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 1.6rem; align-items: start; }
.contact-info-list { display: grid; gap: .9rem; }
.contact-info-item {
  display: flex;
  align-items: center;
  gap: .9rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1rem 1.1rem;
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}
.contact-info-item:hover { transform: translateY(-3px); border-color: rgba(91, 69, 232, .28); }
.contact-info-icon {
  width: 46px; height: 46px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 10px 22px rgba(91, 69, 232, .22);
}
.contact-info-icon .svg-icon { width: 20px; height: 20px; }
.contact-info-item b { display: block; font-size: .78rem; color: var(--muted); font-weight: 600; }
.contact-info-item span { font-weight: 700; }
.faq-list { display: grid; gap: .7rem; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: .95rem 1.1rem;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  font-size: .92rem;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .6rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .svg-icon { width: 13px; height: 13px; color: var(--brand); transition: transform var(--transition-fast); }
.faq-item[open] summary .svg-icon { transform: rotate(180deg); }
.faq-item p { margin: .6rem 0 0; color: var(--muted); font-size: .88rem; }








.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}





.home-search-panel {
  position: relative;
  max-width: 1140px;
  margin: 0 auto;
  text-align: right;
  color: var(--ink);
  background: rgba(255, 255, 255, .98);
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: var(--radius-lg);
  padding: .8rem .85rem .6rem;
  box-shadow: 0 34px 74px rgba(8, 6, 40, .42);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}




.quick-search-bar {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: end;
  gap: .55rem;
}
.qs-field { min-width: 0; }
.qs-field-search.qs-span-3 { grid-column: span 3; }
.qs-span-2 { grid-column: span 2; }
.qs-span-3 { grid-column: span 3; }
.qs-span-4 { grid-column: span 4; }
@media (max-width: 1080px) {
  .quick-search-bar { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .qs-field-search, .qs-field-search.qs-span-3 { grid-column: span 6; }
  .qs-span-2, .qs-span-3 { grid-column: span 3; }
  .qs-span-4 { grid-column: span 4; }
  .qs-submit { grid-column: span 2; }
}
@media (max-width: 620px) {
  .quick-search-bar { grid-template-columns: minmax(0, 1fr); }
  .qs-field, .qs-field-search, .qs-field-search.qs-span-3, .qs-span-2, .qs-span-3, .qs-span-4, .qs-submit { grid-column: 1 / -1; }
}
.qs-field input,
.qs-field select {
  width: 100%;
  height: 44px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: #f8fafc;
  padding: 0 .7rem;
  color: var(--ink);
  font-size: .88rem;
  outline: 0;
  transition: border-color var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast);
}
.qs-field select { cursor: pointer; }
.qs-field input:focus,
.qs-field select:focus {
  border-color: var(--brand);
  background: #fff;
  box-shadow: 0 0 0 4px var(--brand-soft);
}
.qs-submit {
  flex: 0 0 auto;
  height: 44px;
  min-height: 44px;
  padding: 0 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
}


.quick-search-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-top: .45rem;
  padding-inline-start: .2rem;
  font-size: .8rem;
}
.quick-search-meta .search-result-hint { margin-inline-end: 0; font-weight: 600; }
.quick-search-advanced {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  color: var(--brand);
  font-weight: 700;
}
.quick-search-advanced .svg-icon { width: 14px; height: 14px; }
.quick-search-advanced:hover { text-decoration: underline; }




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




.property-search { display: grid; gap: 1rem; }



.ps-panel {
  display: grid;
  gap: .9rem;
  padding: 1rem 1.1rem 1.1rem;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  background: #fff;
}
.ps-panel-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .75rem;
  flex-wrap: wrap;
  padding-bottom: .7rem;
  border-bottom: 1px solid var(--line-soft);
}
.ps-panel-head h3 {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin: 0;
  font-family: var(--font-body);
  font-size: .97rem;
  font-weight: 700;
  color: var(--ink);
}
.ps-panel-head h3 .svg-icon { width: 16px; height: 16px; color: var(--brand); }
.ps-panel-note { font-size: .78rem; color: var(--muted); }











.property-search--fold { gap: 0; }
.ps-fold-input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}
.ps-fold-bar {
  display: flex;
  align-items: center;
  gap: .6rem;
  flex-wrap: wrap;
  padding: .55rem .8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-soft);
}
.ps-fold-btn {
  display: flex;
  flex: 1 1 240px;
  align-items: center;
  gap: .65rem;
  min-width: 0;
  padding: .35rem .55rem;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background var(--transition-fast);
}
.ps-fold-btn:hover { background: #f8fafc; }
.ps-fold-input:focus-visible ~ .ps-fold-bar .ps-fold-btn {
  outline: 3px solid var(--brand-soft-strong);
  outline-offset: 1px;
}
.ps-fold-icon {
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: var(--brand-soft);
  color: var(--brand);
}
.ps-fold-icon .svg-icon { width: 15px; height: 15px; }
.ps-fold-text { display: grid; gap: .1rem; min-width: 0; }
.ps-fold-title { font-size: .95rem; font-weight: 700; color: var(--ink); }
.ps-fold-note {
  font-size: .76rem;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ps-fold-badge {
  flex: 0 0 auto;
  margin-inline-start: auto;
  padding: .2rem .55rem;
  border-radius: var(--radius-pill);
  background: var(--brand-soft);
  color: var(--brand);
  font-size: .72rem;
  font-weight: 700;
  white-space: nowrap;
}



.ps-fold-caret {
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #f1f5f9;
  color: #64748b;
  transition: transform var(--transition-fast);
}
.ps-fold-caret .svg-icon { width: 11px; height: 11px; }
.property-search--fold:has(.ps-fold-input:checked) .ps-fold-caret { transform: rotate(180deg); }
.ps-fold-clear {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .35rem .7rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  font-size: .78rem;
  font-weight: 700;
  color: var(--muted);
  text-decoration: none;
}
.ps-fold-clear .svg-icon { width: 12px; height: 12px; }
.ps-fold-clear:hover { color: var(--danger); border-color: currentColor; }



.ps-fold-body { display: grid; gap: 1rem; margin-top: .75rem; }
.property-search--fold:not(:has(.ps-fold-input:checked)) .ps-fold-body { display: none; }

.ps-fold-sheet-head { display: none; }

.ps-grid { display: grid; gap: .8rem; align-items: start; }
.ps-grid-base { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.ps-grid-ranges { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
@media (min-width: 1000px) {
  .ps-grid-base { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ps-grid-ranges { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.search-field { display: flex; flex-direction: column; gap: .35rem; min-width: 0; }
.search-field > label {
  font-size: .76rem;
  font-weight: 700;
  color: var(--muted);
  padding-inline-start: .15rem;
}
.search-field input,
.search-field select {
  width: 100%;
  height: 46px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: #f8fafc;
  padding: 0 .85rem;
  color: var(--ink);
  outline: 0;
  transition: border-color var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast);
}
.search-field select { cursor: pointer; }
.search-field input:focus,
.search-field select:focus {
  border-color: var(--brand);
  background: #fff;
  box-shadow: 0 0 0 4px var(--brand-soft);
}
.search-field-wide { grid-column: span 2; }


.search-range {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  padding: .45rem .6rem .6rem;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  background: #f8fafc;
}
.search-range-title {
  font-size: .76rem;
  font-weight: 700;
  color: var(--muted);
}
.search-range-inputs { display: flex; align-items: center; gap: .4rem; }
.search-range-inputs label { flex: 1 1 0; min-width: 0; }
.search-range-inputs > span {
  flex: 0 0 auto;
  font-size: .72rem;
  font-weight: 700;
  color: var(--muted);
}
.search-range-inputs input,
.search-range-inputs select {
  width: 100%;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
  padding: 0 .5rem;
  text-align: center;
  outline: 0;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.search-range-inputs select { cursor: pointer; text-align: center; }
.search-range-inputs input:focus,
.search-range-inputs select:focus { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.search-range-inputs input::placeholder { color: #94a3b8; }


.search-combine {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .3rem .5rem;
  font-size: .82rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
}
.search-combine input[type="checkbox"] {
  width: 17px;
  height: 17px;
  accent-color: var(--brand);
  cursor: pointer;
}
.search-combine-hint { font-size: .74rem; font-weight: 400; color: var(--muted); }





.property-search .amen-picker { display: grid; gap: .75rem; }
.property-search .amen-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(208px, 1fr));
  gap: .5rem;
}
.property-search .amen-tile {
  display: flex;
  align-items: center;
  min-width: 0;
  padding: .3rem .5rem;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  background: #fff;
}
.property-search .amen-tile.is-open { border-color: var(--brand); box-shadow: 0 0 0 1px rgba(91, 69, 232, .28); }
.property-search .amen-parent {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .4rem;
  flex: 1 1 auto;
  min-width: 0;
  min-height: 30px;
  padding: 0 .35rem;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: .83rem;
  text-align: start;
  cursor: pointer;
}
.property-search .amen-parent:hover { color: var(--brand); }
.property-search .amen-parent:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.property-search .amen-parent-title { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.property-search .amen-parent .amen-caret { flex: 0 0 auto; font-size: 9px; opacity: .7; transition: transform .15s ease; }
.property-search .amen-tile.is-on .amen-parent { color: var(--brand); font-weight: 700; }
.property-search .amen-tile.is-open .amen-parent .amen-caret { transform: rotate(180deg); }

.property-search .amen-drawers { display: grid; gap: .5rem; }
.property-search .amen-drawer {
  padding: .7rem .8rem .8rem;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  background: #f8fafc;
}
.property-search .amen-drawer[hidden] { display: none; }
.property-search .amen-drawer-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  margin-bottom: .6rem;
  font-size: .82rem;
}
.property-search .amen-drawer-head strong { color: var(--ink); }
.property-search .amen-drawer-head .muted { color: var(--muted); }
.property-search .amen-drawer-actions { margin-inline-start: auto; display: inline-flex; gap: .35rem; }
.property-search .amen-drawer-body {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: .4rem;
}

.property-search .amen-chip {
  display: flex;
  align-items: center;
  gap: .45rem;
  min-width: 0;
  min-height: 34px;
  padding: 0 .6rem;
  

  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-size: .83rem;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
}
.property-search .amen-chip:hover { border-color: var(--brand-soft-strong); }
.property-search .amen-chip > span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.property-search .amen-chip input { flex: 0 0 auto; width: 16px; height: 16px; margin: 0; accent-color: var(--brand); }
.property-search .amen-chip.is-on {
  background: var(--brand-soft);
  border-color: rgba(91, 69, 232, .38);
  color: var(--brand);
  font-weight: 700;
}
.property-search .amen-chip > .amen-default-badge {
  flex: 0 0 auto;
  margin-inline-start: auto;
  padding: 1px 6px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: .66rem;
  font-weight: 700;
  white-space: nowrap;
}
.property-search .amen-chip:has(.amen-default-badge) > span {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  white-space: normal;
  line-height: 1.4;
}

.property-search .amen-more-row { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; }
.property-search .amen-more-row .pill { margin-inline-start: .25rem; }
.property-search .amen-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .4rem;
  padding: .5rem .6rem;
  border: 1px dashed var(--line);
  border-radius: 9px;
  background: #f8fafc;
  font-size: .78rem;
}
.property-search .amen-summary[hidden] { display: none; }
.property-search .amen-summary-title { color: var(--muted); }
.property-search .amen-summary-list { display: inline-flex; flex-wrap: wrap; gap: .3rem; }
.property-search .amen-summary-chip {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: .74rem;
  cursor: pointer;
}
.property-search .amen-summary-chip:hover { text-decoration: line-through; }
.property-search .amen-more-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: .4rem;
  max-height: 46vh;
  overflow-y: auto;
  padding: 2px;
}
.property-search .amen-more-list .amen-chip[hidden] { display: none; }


.property-search .similar-dialog {
  position: fixed;
  inset: 0;
  margin: auto;
  width: min(760px, 94vw);
  max-height: 86vh;
  padding: 0;
  border: 0;
  border-radius: var(--radius-lg);
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 24px 60px rgba(15, 23, 42, .35);
  overflow: hidden;
}
.property-search .similar-dialog::backdrop { background: rgba(15, 23, 42, .55); }
.property-search .similar-dialog-head {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .8rem 1rem;
  border-bottom: 1px solid var(--line);
}
.property-search .similar-dialog-head h2 { flex: 1; margin: 0; font-family: var(--font-body); font-size: 1rem; }
.property-search .similar-dialog-close {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}
.property-search .similar-dialog-body { display: grid; gap: .7rem; max-height: calc(86vh - 52px); overflow: auto; padding: .9rem 1rem 1.1rem; }
.property-search .similar-dialog-body .form-control {
  width: 100%;
  height: 44px;
  padding: 0 .9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #f8fafc;
  color: var(--ink);
  outline: 0;
}
.property-search .similar-dialog-body .form-control:focus { border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px var(--brand-soft); }
.property-search .actions-row { display: flex; justify-content: flex-end; gap: .5rem; }
.property-search .admin-empty { padding: .9rem; border: 1px dashed var(--line); border-radius: 10px; color: var(--muted); text-align: center; }
.property-search .pill {
  display: inline-flex;
  align-items: center;
  padding: .1rem .5rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .74rem;
  font-weight: 700;
}
.property-search .pill-muted { background: #f1f5f9; color: var(--muted); }


.property-search .btn.btn-outline,
.property-search .btn.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .45rem .8rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: .84rem;
  font-weight: 700;
  cursor: pointer;
}
.property-search .btn.btn-sm { padding: .38rem .7rem; font-size: .8rem; }
.property-search .btn.btn-xs { padding: .25rem .55rem; font-size: .74rem; }
.property-search .btn.btn-outline { border: 1px solid var(--line); background: #fff; color: var(--ink); }
.property-search .btn.btn-outline:hover { border-color: var(--brand); color: var(--brand); }
.property-search .btn.btn-primary { border: 0; background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; }

.search-feature-groups {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
  gap: .85rem;
}
.search-feature-group h4 {
  display: flex;
  align-items: center;
  gap: .35rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .82rem;
  color: var(--ink);
  margin-bottom: .4rem;
}
.search-feature-group h4 > span { color: var(--brand); }
.search-feature-group h4 .svg-icon { width: 13px; height: 13px; color: var(--brand); }


.search-feature-group h4.search-feature-group-btn {
  cursor: pointer;
  width: fit-content;
  border-radius: var(--radius-sm, 8px);
  text-decoration: underline dotted currentColor;
  text-underline-offset: 3px;
}
.search-feature-group h4.search-feature-group-btn:hover { color: var(--brand); }
.search-feature-group h4.search-feature-group-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.search-feature-chips { display: flex; flex-wrap: wrap; gap: .35rem; }

.search-chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .34rem .75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: #fff;
  color: #475569;
  font-size: .78rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
}
.search-chip:hover { border-color: var(--accent); color: var(--brand); }
.search-chip input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  margin: 0;
}
.search-chip:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.search-chip.is-selected,
.search-chip:has(input:checked) {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 18px rgba(91, 69, 232, .22);
}


.search-form-actions {
  display: flex;
  align-items: center;
  gap: .6rem;
  flex-wrap: wrap;
  border-top: 1px solid var(--line-soft);
  padding-top: .9rem;
}
.search-result-hint {
  margin-inline-end: auto;
  font-size: .85rem;
  font-weight: 700;
  color: var(--muted);
}
.search-form-actions .btn-secondary { min-height: 44px; }
.search-form-actions .btn-primary { min-height: 44px; }


.search-feature-dialog {
  width: min(780px, 92vw);
  max-height: 84vh;
  padding: 0;
  border: 0;
  border-radius: var(--radius-xl);
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 40px 90px rgba(8, 6, 40, .45);
  overflow: hidden;
}
.search-feature-dialog::backdrop { background: rgba(10, 12, 30, .58); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.search-feature-dialog-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.3rem .7rem;
}
.search-feature-dialog-head h2 { font-size: 1.15rem; }
.search-feature-dialog-head p { margin: .15rem 0 0; color: var(--muted); font-size: .82rem; }
.dialog-close {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--muted);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}
.dialog-close:hover { background: var(--danger-soft); color: var(--danger); border-color: rgba(239, 68, 68, .3); }
.search-feature-filter { display: block; padding: 0 1.3rem .6rem; }
.search-feature-filter input {
  width: 100%;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #f8fafc;
  padding: 0 .9rem;
  outline: 0;
}
.search-feature-filter input:focus { border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px var(--brand-soft); }
.search-select-all {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin: 0 1.3rem .5rem;
  padding: .5rem .75rem;
  border-radius: var(--radius-sm);
  background: var(--brand-soft);
  color: var(--brand);
  font-size: .84rem;
  font-weight: 700;
  cursor: pointer;
}
.search-feature-dialog-list {
  display: grid;
  gap: .9rem;
  max-height: 46vh;
  overflow: auto;
  padding: .3rem 1.3rem 1rem;
}
.search-dialog-group h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .85rem;
  margin-bottom: .4rem;
}
.search-feature-dialog-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .85rem 1.3rem;
  border-top: 1px solid var(--line);
  background: #fbfcff;
  position: sticky;
  bottom: 0;
}
.search-feature-dialog-foot span { color: var(--muted); font-size: .84rem; font-weight: 700; }



.search-amenities-empty { margin: 0 0 .6rem; font-size: .85rem; }


.filter-bar .property-search { gap: .8rem; }
.filter-bar .search-field input,
.filter-bar .search-field select { background: #fff; }




@media (max-width: 900px) {
  .site-header { top: 10px; right: var(--gutter); left: var(--gutter); width: 94%; border-radius: var(--radius-lg); }
  .nav-account .nav-cta,
  .nav-account .nav-user { display: none; }
  .nav-toggle { display: block; }
  .nav-mobile-account { display: block; margin-top: .55rem; border-top: 1px solid var(--line); padding-top: .75rem; }
  .nav-mobile-account .nav-cta { width: 100%; justify-content: center; }
  .nav-mobile-account .nav-user { width: 100%; justify-content: center; }

  .nav-links {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: .15rem;
    background: rgba(255, 255, 255, .97);
    -webkit-backdrop-filter: blur(22px);
    backdrop-filter: blur(22px);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    padding: .7rem .7rem .8rem;
    box-shadow: 0 26px 60px rgba(15, 23, 42, .16);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(.985);
    pointer-events: none;
    transition: opacity .38s var(--ease), transform .38s var(--ease), visibility 0s linear .38s;
  }
  .nav-links.open {
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    transition-delay: 0s;
  }
  .nav-links a {
    width: 100%;
    text-align: right;
    padding: .85rem 1rem;
    border-radius: 14px;
    font-size: 1rem;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity .42s var(--ease), transform .42s var(--ease), background var(--transition-fast), color var(--transition-fast);
  }
  .nav-links.open a { opacity: 1; transform: none; }
  .nav-links.open a:nth-of-type(1) { transition-delay: .05s; }
  .nav-links.open a:nth-of-type(2) { transition-delay: .1s; }
  .nav-links.open a:nth-of-type(3) { transition-delay: .15s; }
  .nav-links.open a:nth-of-type(4) { transition-delay: .2s; }

  [data-theme="dark"] .nav-links { background: rgba(19, 28, 49, .97); }

  .footer-inner { grid-template-columns: 1fr; gap: 1.8rem; }
  .detail-layout,
  .contact-layout { grid-template-columns: 1fr; }
  .hero { padding-top: calc(var(--header-top) + var(--header-height) + 3rem); }

  .home-search-panel { padding: .75rem .8rem .6rem; }
  .property-search-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
  .qs-field-search { flex: 1 1 100%; }
  .search-field-wide { grid-column: span 2; }
  .search-feature-groups { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
}

@media (min-width: 901px) {
  .dash-cols { grid-template-columns: 1fr 1fr; align-items: stretch; }
  .dash-cols .dash-section { margin-bottom: 0; height: 100%; }
}

@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
  .hero-search { flex-direction: column; }
  .hero-search .field { flex: 1 1 auto; }
  .hero-search .btn-primary { width: 100%; }
  .hero-stats { gap: 1.2rem; }
  .brand-text { font-size: 1.05rem; }
  .prop-grid { grid-template-columns: 1fr; }
  .account-card { flex-direction: column; text-align: center; }
  .account-meta { justify-content: center; }
  .req-item { flex-wrap: wrap; }

  .home-search-panel { padding: .65rem .7rem .55rem; border-radius: var(--radius); }
  .property-search-grid { grid-template-columns: 1fr; }
  .qs-field { flex: 1 1 calc(50% - .5rem); }
  .qs-submit { flex: 1 1 100%; justify-content: center; }
  .search-field-wide { grid-column: span 1; }
  .search-feature-groups { grid-template-columns: 1fr; }
  .search-amenities { padding: .8rem .85rem; }
  .search-amenities-head { flex-direction: column; align-items: stretch; }
  .search-more-btn { justify-content: center; }
  .search-feature-dialog { width: 94vw; }
  .search-feature-dialog-list { max-height: 52vh; }
  .search-form-actions { gap: .5rem; }
  .search-result-hint { width: 100%; margin-inline-end: 0; }
  .search-form-actions .btn-secondary,
  .search-form-actions .btn-primary { flex: 1 1 auto; }
}


@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
