/* ==========================================================================
   VitHome — Inner Pages Styles (Catalog Split-View, Object Detail Checklist,
   Sell Wizard, Services, About, Contacts Map)
   ========================================================================== */

.vh-page-hero {
  padding-top: 8.2rem;
  padding-bottom: 3.2rem;
  background: var(--paper-deep);
  border-bottom: 1px solid var(--line);
}

.vh-page-hero--dark {
  background: var(--vh-emerald-900);
  color: var(--white);
  border-bottom: none;
}

.vh-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.vh-page-hero--dark .vh-breadcrumbs {
  color: rgba(255, 255, 255, 0.65);
}

/* Catalog Split-View Layout */
.vh-catalog-toolbar {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 1.15rem 0;
  position: relative;
  top: auto;
  z-index: 20;
}

.vh-catalog-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.vh-filter-select {
  padding: 0.6rem 1rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: var(--paper);
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
}

.vh-catalog-split {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 1.75rem;
  align-items: start;
  padding-top: 2rem;
  padding-bottom: 4rem;
}

.vh-catalog-map-sticky {
  position: sticky;
  top: 90px;
  height: calc(100vh - 115px);
  min-height: 480px;
  border-radius: 24px;
  overflow: hidden;
  border: 1.5px solid rgba(11, 42, 32, 0.14);
  box-shadow: 0 8px 24px rgba(11, 42, 32, 0.08);
}

#vhCatalogMap,
#vhObjectMap,
#vhContactsMap {
  width: 100%;
  height: 100%;
}

/* Object Detail Page */
.vh-object-gallery {
  display: grid;
  grid-template-columns: 1.45fr 0.55fr;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.vh-object-gallery__main {
  aspect-ratio: 16 / 10;
  border-radius: var(--r-card);
  overflow: hidden;
  background: var(--vh-emerald-950);
}

.vh-object-gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vh-object-gallery__side {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.vh-object-gallery__thumb {
  flex: 1;
  border-radius: var(--r-md);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.2s ease;
}

.vh-object-gallery__thumb.is-active,
.vh-object-gallery__thumb:hover {
  border-color: var(--vh-lime-400);
}

.vh-object-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vh-object-layout {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 2.5rem;
  align-items: start;
}

/* 12-Point Legal Verification Checklist Box */
.vh-checklist-card {
  background: var(--verified-bg);
  border: 1.5px solid rgba(15, 77, 54, 0.22);
  border-radius: var(--r-card);
  padding: 2rem;
  margin: 2rem 0;
}

.vh-checklist-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem;
  margin-top: 1.25rem;
}

.vh-checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--vh-emerald-950);
}

.vh-checklist-item__icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--vh-emerald-900);
  color: var(--vh-lime-400);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 900;
  flex-shrink: 0;
  margin-top: 2px;
}

.vh-agent-sidebar-card {
  position: sticky;
  top: 96px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 1.85rem;
  box-shadow: var(--shadow-md);
}

/* Leaflet Custom Price Marker */
.vh-map-pin {
  background: var(--vh-emerald-900);
  color: var(--white);
  padding: 4px 10px;
  border-radius: 99px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  border: 2px solid var(--vh-lime-400);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.vh-map-pin:hover,
.vh-map-pin.is-highlighted {
  background: var(--vh-lime-400);
  color: var(--vh-emerald-950);
  transform: scale(1.12);
  z-index: 999 !important;
}

@media (max-width: 1024px) {
  .vh-catalog-split,
  .vh-object-layout,
  .vh-object-gallery {
    grid-template-columns: 1fr;
  }
  .vh-catalog-map-sticky {
  position: sticky;
  top: 90px;
  height: calc(100vh - 115px);
  min-height: 480px;
  border-radius: 24px;
  overflow: hidden;
  border: 1.5px solid rgba(11, 42, 32, 0.14);
  box-shadow: 0 8px 24px rgba(11, 42, 32, 0.08);
}
  .vh-checklist-grid {
    grid-template-columns: 1fr;
  }
}


/* ==========================================================================
   INNER PAGES RESPONSIVE OVERRIDES (320px - 1024px)
   ========================================================================== */
@media (max-width: 1024px) {
  .vh-catalog-split,
  .vh-object-layout,
  .vh-object-gallery {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
  .vh-catalog-map-sticky {
    position: relative !important;
    top: auto !important;
    height: 340px !important;
    min-height: 300px !important;
    border-radius: 20px !important;
    order: -1;
  }
  .vh-object-gallery__side {
    flex-direction: row !important;
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 0.6rem !important;
  }
  .vh-object-gallery__thumb {
    aspect-ratio: 4 / 3;
  }
  .vh-agent-sidebar-card {
    position: static !important;
    padding: 1.4rem !important;
  }
  .vh-checklist-grid {
    grid-template-columns: 1fr !important;
  }
}




