@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined');


.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  font-size: 2.25rem;
  font-weight: 700;
}

.topbar-icons {
  display: flex;
  gap: 18px;
  align-items: center;
}

.circle-icon, .menu-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
}

.circle-icon::before {
  content: '◉';
  font-size: 1.6rem;
}

.menu-icon { position: relative; }
.menu-icon span,
.menu-icon::before,
.menu-icon::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 3px;
  background: #fff;
  border-radius: 999px;
}

.menu-icon::before { transform: translateY(-8px); }
.menu-icon::after { transform: translateY(8px); }

.btn,
.search-cta,
.link-row,
.secondary-cta {
  cursor: pointer;
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

button:hover,
.search-cta:hover,
.link-row:hover,
.secondary-cta:hover {
  background: var(--accent-hover) !important;
  box-shadow: var(--shadow-inset);
}

.search-panel,
.search-grid,
.field,
.field-split,
.field-select,
.custom-dropdown {
  overflow: visible;
}

.field,
.field-split {
  min-height: 40px;
  border: 0;
  border-radius: 14px;
  background: #fff;
  display: flex;
  align-items: center;
  padding: 0 14px;
  font-size: 0.75rem;
  color: var(--muted);
  position: relative;
}

.field-split {
  padding: 0;
}

.field-split .left,
.field-split .right {
  height: 40px;
  display: flex;
  align-items: center;
}

.field-split .left {
  flex: 1;
  color: var(--muted);
  padding: 0 14px;
  min-width: 0;
}

.field-split .right {
  width: 92px;
  padding: 0 14px;
  color: var(--text);
  font-weight: 700;
  position: relative;
  justify-content: center;
  flex-shrink: 0;
}

.price-input {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  font: inherit;
  color: inherit;
  min-width: 0;
}

.custom-dropdown {
  position: relative;
  width: 100%;
}

.dropdown-trigger {
  width: 100%;
  min-height: 40px;
  border: 0;
  border-radius: 14px;
  background: transparent !important;
  font: inherit;
  color: var(--muted);
  text-align: left;
  padding: 0 28px 0 0;
  cursor: pointer;
}

.dropdown-trigger:hover,
.field-select:hover,
.custom-dropdown:hover,
.currency-select:hover,
.custom-dropdown button:hover {
  background: transparent !important;
  box-shadow: none !important;
  color: inherit !important;
  transform: none !important;
}

.field-select {
  position: relative;
  cursor: pointer;
}

.field-select::after {
  content: 'arrow_drop_down';
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'Material Symbols Outlined';
  font-size: 20px;
  line-height: 1;
  color: #1f1f1f;
  pointer-events: none;
  z-index: 2;
}

.currency-select { padding: 0 12px; }
.currency-select .dropdown-trigger {
  min-height: 40px;
  padding: 0 18px 0 0;
  color: var(--text);
  font-weight: 700;
  text-align: left;
}
.currency-select::after { right: 6px; }

.dropdown-menu {
  position: absolute;
  top: calc(100% + 18px);
  left: 0;
  right: 0;
  display: none;
  background: #fff !important;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(16, 17, 52, 0.12);
  padding: 0px 0;
  z-index: 5000 !important;
}

.currency-select .dropdown-menu {
  left: 0;
  right: auto;
  min-width: 92px;
}

.custom-dropdown.open .dropdown-menu { display: block; }

.dropdown-option {
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  font: inherit;
  color: var(--text);
  padding: 10px 14px;
  cursor: pointer;
}

button.dropdown-option:hover,
.dropdown-option:hover {
  background-color: #F2F9FF !important;
  box-shadow: none !important;
  color: var(--text) !important;
  transform: none !important;
}

.property-card {
  width: 100%;
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  box-shadow: none;
  overflow: hidden;
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease;
}

.property-card:hover {
  transform: translateY(-4px);
}

.property-image {
  position: relative;
  aspect-ratio: 1.45 / 1;
  background-size: cover;
  background-position: center;
}

.heart {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 56px;
  height: 56px;
  background: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  box-shadow: 0 8px 18px rgba(0,0,0,0.12);
}

.property-body {
  padding: 18px 18px 20px;
}

.property-title {
  margin: 0 0 14px;
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.02em;
}

.location,
.meta {
  font-size: 1.05rem;
}

.location { margin-bottom: 6px; }
.meta { display: flex; gap: 20px; flex-wrap: wrap; }

.cards,
.grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(230px, 280px);
  gap: 22px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 8px;
  width: 100%;
  max-width: 100%;
  -webkit-overflow-scrolling: touch;
  align-items: stretch;
}

.cards > *,
.grid > * { min-width: 0; }

.cards::-webkit-scrollbar,
.grid::-webkit-scrollbar,
.filter-strip::-webkit-scrollbar {
  height: 10px;
  display: none;
}

.link-row,
.search-cta {
  width: 184px;
  height: 40px;
  margin: auto;
  border: 0;
  background: var(--accent);
  color: var(--navy);
  border-radius: 999px;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
}

.secondary-cta {
  width: 188px;
  height: 64px;
  border-radius: 999px;
  background: #fff;
  border: 0;
  /* color: #f39c12; */
  color: var(--navy);
  font-size: 2rem;
  flex-shrink: 0;
}

.filter-strip-section {
  background: var(--soft-bg);
  padding: 22px 16px 8px;
}

.filter-strip {
  display: flex;
  gap: 10px;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 2px 0 10px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.filter-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 90px;
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid #d4d4d4;
  background: #ffffff;
  color: #a7a7a7;
  font-size: 0.75rem;
  font-weight: 300;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  flex: 0 0 auto;
}

.filter-pill:hover {
  background: #CFCFE6 !important;
  border-color: #CFCFE6 !important;
}

.filter-pill.is-active {
  background: #565AB9;
  border-color: #565AB9;
  color: #ffffff;
}

.location-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  gap: 20px;
}

.location-card {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  min-height: 230px;
  display: flex;
  align-items: flex-end;
  padding: 24px;
  background-size: cover;
  background-position: center;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease;
}

.location-card:hover,
.service-card:hover {
  transform: translateY(-4px);
}

.location-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,30,0.1), rgba(10,10,30,0.6));
}

.location-card > div {
  position: relative;
  z-index: 1;
}

.location-name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  line-height: 0.95;
  margin: 0 0 6px;
}

.location-meta {
  font-size: 1.3rem;
  font-weight: 700;
  color: #ff8c88;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 28px;
}

.service-card {
  background: #fff;
  color: var(--text);
  border-radius: 22px;
  padding: 28px;
  box-shadow: var(--shadow);
  min-height: 260px;
  display: block;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.service-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  margin-bottom: 16px;
  font-size: 1.35rem;
  font-weight: 700;
}

.service-card h3 {
  margin: 0 0 16px;
  font-size: 1.2rem;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1;
}

.service-card p,
.promo-copy,
.footer-copy {
  font-size: 1.2rem;
  line-height: 1.35;
}

.list-box {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
}

footer {
  background: var(--navy);
  color: #fff;
  padding: 56px 0 38px;
}

.footer-brand {
  font-size: 2.2rem;
  margin-bottom: 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 42px;
  margin-bottom: 34px;
}

.footer-grid h4 {
  margin: 0 0 14px;
  color: #ff8c88;
  font-size: 1.6rem;
}

.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
  font-size: 1.2rem;
}

.copyright {
  font-size: 1.2rem;
  opacity: 0.95;
}

@media (max-width: 1024px) {
  .search-grid { grid-template-columns: 1fr !important; }
  .field, .field-split { border: 2px solid var(--border) !important; }
  .search-cta {
    width: 184px !important;
    height: 66px !important;
    margin: 20px auto -33px !important;
  }
  .location, .meta { font-size: 1.2rem; }
}

@media (max-width: 720px) {
  h2, .section-title { font-size: 1.5rem; }
  h3 { font-size: 1rem; }
  .hero-copy,
  .section-copy,
  .promo-copy,
  .footer-grid ul,
  .copyright { font-size: 1rem; }
  .field, .field-split { min-height: 52px; font-size: 0.9rem; }
  .field-split .right { width: 110px; }
  .location-grid,
  .service-grid,
  .footer-grid { grid-template-columns: 1fr; }
  .property-title,
  .service-card h3,
  .location-name { font-size: 1rem; }
}


/* spacing helpers for card-section CTAs */
.link-row-wrap {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.search-panel {
  position: relative;
  z-index: 20;
}

.custom-dropdown,
.field-select,
.field-split,
.field,
.dropdown-menu {
  position: relative;
}

.dropdown-menu {
  z-index: 9999 !important;
}

.filter-strip-section {
  position: relative;
  z-index: 5;
}


/* --- v3 corrections --- */
.custom-dropdown {
  position: relative;
  z-index: 30;
}

.custom-dropdown.open {
  z-index: 1000;
}

.custom-dropdown.open .dropdown-menu {
  display: block !important;
}

.dropdown-menu {
  pointer-events: auto;
}

.link-row-wrap {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

.link-row {
  margin: 0;
}

.cards + .link-row,
.grid + .link-row {
  margin-top: 32px;
}

.filter-strip button {
  appearance: none;
  -webkit-appearance: none;
}


/* --- dropdown positioning fix v4 --- */
.search-panel {
  overflow: visible !important;
}

.custom-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute !important;
  top: calc(100% + 16px);
  left: 0;
  width: 100%;
  z-index: 2000;
}


/* --- v6 fixes --- */
.link-row-wrap {
  display: flex !important;
  justify-content: center !important;
  align-items: center;
}

.link-row-wrap .link-row {
  margin: 0 auto !important;
}


/* --- v8 spacing improvements --- */
.grid,
.cards,
.scroll-row {
  gap: 28px !important;
  margin-bottom: 32px;
}

/* v9 override */
h2 { font-weight: 400 !important; }

/* v10: reduce promo-copy font size */
.promo-copy { font-size: 1.2rem !important; }

/* v11 override */
.promo-copy { font-size: 1.2rem !important; }

/* v12 override */
.promo-copy { font-size: 1.2rem !important; }
