/* ── BREADCRUMB ── */
.breadcrumb-bar {
  margin-top: var(--nav-h);
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 10px 0
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--muted)
}

.breadcrumb a {
  color: var(--muted);
  transition: color .2s
}

.breadcrumb a:hover {
  color: var(--navy)
}

.breadcrumb i {
  font-size: 9px;
  color: var(--border)
}

.breadcrumb span {
  color: var(--navy);
  font-weight: 500
}

/* ── PAGE HEADER ── */
.page-header {
  background: var(--white);
  padding: 20px 0 0;
  border-bottom: 1px solid var(--border)
}

.page-header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 16px
}

.page-title-group h1 {
  font-family: var(--font-head);
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  font-weight: 400;
  font-style: italic;
  color: var(--navy);
  line-height: 1.2
}

.page-title-group p {
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px
}

.page-title-group p strong {
  color: var(--navy)
}

.page-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0
}

.sort-select {
  appearance: none;
  background: var(--off);
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  padding: 9px 32px 9px 14px;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--navy);
  font-weight: 500;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  outline: none;
  transition: border-color .2s
}

.sort-select:focus {
  border-color: var(--navy)
}

.view-toggle {
  display: flex;
  background: var(--off);
  border-radius: var(--r-sm);
  padding: 3px;
  gap: 2px
}

.view-btn {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--muted);
  transition: all .2s
}

.view-btn.active {
  background: var(--navy);
  color: white
}

/* Active filter pills row */
.active-filters-bar {
  padding: 12px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none
}

.active-filters-bar::-webkit-scrollbar {
  display: none
}

.active-filter-pill {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: var(--navy);
  color: white;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: background .2s
}

.active-filter-pill:hover {
  background: var(--navy-mid)
}

.active-filter-pill i {
  font-size: 10px;
  opacity: .7
}

.active-filter-pill.clear-all {
  background: var(--off);
  color: var(--muted);
  border: 1.5px solid var(--border)
}

.active-filter-pill.clear-all:hover {
  border-color: var(--navy);
  color: var(--navy);
  background: white
}

.filter-count-badge {
  background: var(--blue);
  color: white;
  border-radius: 100px;
  padding: 2px 7px;
  font-size: 11px;
  font-weight: 700
}

/* ── MAIN LAYOUT ── */
.page-body {
  padding: 24px 0 80px
}

.page-layout {
  display: flex;
  gap: 24px;
  align-items: flex-start
}

/* ── SIDEBAR ── */
.sidebar {
  width: 280px;
  flex-shrink: 0;
  background: var(--white);
  border-radius: var(--r-lg);
  box-shadow: var(--card-sh);
  position: sticky;
  top: calc(var(--nav-h) + 8px);
  max-height: calc(100vh - var(--nav-h) - 24px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}

.sidebar::-webkit-scrollbar {
  width: 4px
}

.sidebar::-webkit-scrollbar-track {
  background: transparent
}

.sidebar::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px
}

@media(max-width:900px) {
  .sidebar {
    /* display: none; */
    position: fixed;
    z-index: 4000;
    width: 80%;
    margin: 0;
    left: -200%;
    right: 0;
    margin: 0 auto;
    bottom: 0;
    transition: left .35s cubic-bezier(.4, 0, .2, 1);
  }
}

.sidebar-head {
  padding: 18px 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between
}

.sidebar-head h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy)
}

.sidebar-reset {
  font-size: 12px;
  color: var(--blue);
  font-weight: 600;
  cursor: pointer;
  border: none;
  background: none;
  transition: opacity .2s
}

.sidebar-reset:hover {
  opacity: .7
}

.filter-group {
  padding: 18px 20px;
  border-bottom: 1px solid var(--border)
}

.filter-group:last-child {
  border-bottom: none;
  padding-bottom: 24px
}

.filter-group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
  margin-bottom: 14px
}

.filter-group-head h4 {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy)
}

.filter-group-head i {
  font-size: 11px;
  color: var(--muted);
  transition: transform .3s
}

.filter-group.collapsed .filter-group-head i {
  transform: rotate(-90deg)
}

.filter-group-body {
  overflow: hidden;
  transition: max-height .35s ease, opacity .25s
}

.filter-group.collapsed .filter-group-body {
  max-height: 0 !important;
  opacity: 0
}

/* Price Range */
.price-range-wrap {
  padding: 4px 0
}

.price-display {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 14px
}

.price-display span {
  background: var(--off);
  padding: 4px 10px;
  border-radius: 8px
}

.range-slider-wrap {
  position: relative;
  height: 32px;
  display: flex;
  align-items: center
}

.range-track {
  position: absolute;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--border);
  border-radius: 4px
}

.range-fill {
  position: absolute;
  height: 4px;
  background: var(--navy);
  border-radius: 4px
}

.range-input {
  position: absolute;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  height: 4px;
  background: transparent;
  outline: none;
  pointer-events: none
}

.range-input::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--white);
  border: 2.5px solid var(--navy);
  box-shadow: 0 2px 6px rgba(11, 31, 75, .2);
  pointer-events: all;
  cursor: pointer;
  transition: transform .15s
}

.range-input::-webkit-slider-thumb:hover {
  transform: scale(1.2)
}

.range-input::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--white);
  border: 2.5px solid var(--navy);
  box-shadow: 0 2px 6px rgba(11, 31, 75, .2);
  pointer-events: all;
  cursor: pointer
}

#rangeMin {
  z-index: 3
}

#rangeMax {
  z-index: 4
}

/* Checkbox filters */
.filter-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  cursor: pointer
}

.filter-option input[type=checkbox] {
  display: none
}

.filter-check {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  border: 2px solid var(--border);
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all .15s
}

.filter-check i {
  font-size: 10px;
  color: white;
  opacity: 0;
  transition: opacity .15s
}

.filter-option input:checked~.filter-check {
  background: var(--navy);
  border-color: var(--navy)
}

.filter-option input:checked~.filter-check i {
  opacity: 1
}

.filter-option-label {
  font-size: 13px;
  color: var(--navy);
  flex: 1;
  user-select: none
}

.filter-option-count {
  font-size: 11px;
  color: var(--muted);
  background: var(--off);
  padding: 2px 7px;
  border-radius: 100px
}

/* Radio filters */
.filter-radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 7px
}

.filter-radio {
  display: none
}

.filter-radio-label {
  padding: 6px 14px;
  border-radius: 100px;
  border: 1.5px solid var(--border);
  font-size: 12px;
  font-weight: 500;
  color: var(--navy);
  cursor: pointer;
  transition: all .2s;
  user-select: none
}

.filter-radio:checked+.filter-radio-label {
  background: var(--navy);
  color: white;
  border-color: var(--navy)
}

.filter-radio-label:hover {
  border-color: var(--navy)
}

/* Amenity chips */
.amenity-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px
}

.amenity-chip input {
  display: none
}

.amenity-chip-label {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border-radius: 9px;
  border: 1.5px solid var(--border);
  font-size: 12px;
  cursor: pointer;
  transition: all .2s;
  user-select: none;
  color: var(--navy)
}

.amenity-chip-label i {
  font-size: 12px;
  color: var(--muted);
  transition: color .2s
}

.amenity-chip input:checked+.amenity-chip-label {
  background: var(--off);
  border-color: var(--navy);
  font-weight: 600
}

.amenity-chip input:checked+.amenity-chip-label i {
  color: var(--navy)
}

/* Sidebar CTA */
.sidebar-cta {
  margin: 0 20px 20px;
  background: var(--navy);
  border-radius: var(--r-md);
  padding: 18px;
  text-align: center
}

.sidebar-cta i {
  font-size: 24px;
  color: rgba(255, 255, 255, .6);
  margin-bottom: 8px
}

.sidebar-cta p {
  font-size: 12px;
  color: rgba(255, 255, 255, .7);
  line-height: 1.5;
  margin-bottom: 12px
}

.sidebar-cta a {
  display: block;
  background: white;
  color: var(--navy);
  border-radius: 100px;
  padding: 9px;
  font-size: 12px;
  font-weight: 700;
  transition: opacity .2s
}

.sidebar-cta a:hover {
  opacity: .85
}

/* ── MAIN CONTENT ── */
.main-content {
  flex: 1;
  min-width: 0
}

/* Map strip toggle */
.map-strip {
  background: var(--white);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: var(--card-sh);
  position: relative;
  display: none
}

.map-strip.visible {
  display: block
}

.map-strip iframe,
.map-strip .map-placeholder {
  width: 100%;
  height: 200px;
  border: none;
  display: block
}

.map-placeholder {
  background: linear-gradient(135deg, #e8edf5 0%, #d0d9ea 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px
}

.map-placeholder i {
  font-size: 28px;
  color: var(--navy);
  opacity: .4
}

.map-placeholder p {
  font-size: 13px;
  color: var(--muted)
}

.map-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  cursor: pointer
}

/* Sponsored banner */
.sponsored-banner {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 16px 20px;
  margin-bottom: 20px;
  box-shadow: var(--card-sh);
  display: none;
  align-items: center;
  gap: 16px;
  border-left: 4px solid var(--blue)
}

.sponsored-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--off);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0
}

.sponsored-icon i {
  color: var(--blue);
  font-size: 18px
}

.sponsored-text {
  flex: 1;
  min-width: 0
}

.sponsored-text h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

.sponsored-text p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 1px
}

.sponsored-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--blue);
  background: #EFF6FF;
  padding: 3px 8px;
  border-radius: 100px;
  flex-shrink: 0
}

.sponsored-price {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  flex-shrink: 0
}

/* Property grid */
.prop-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr
}

@media(min-width:640px) {
  .prop-grid.grid-2 {
    grid-template-columns: repeat(2, 1fr)
  }
}

.prop-grid.list-view {
  grid-template-columns: 1fr
}

/* ── PROPERTY CARD (grid) ── */
.prop-card {
  width: 100%;
  background: white;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--card-sh);
  transition: transform .25s, box-shadow .25s;
  cursor: pointer;
  position: relative
}

.prop-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(11, 31, 75, .14)
}

.prop-card-img {
  position: relative;
  height: 190px;
  overflow: hidden
}

.prop-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s
}

.prop-card:hover .prop-card-img img {
  transform: scale(1.04)
}

.prop-badge-group {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  gap: 5px;
  flex-wrap: wrap
}

.prop-save-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: white;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .12);
  transition: all .2s;
  border: none;
  font-size: 13px;
  color: var(--muted)
}

.prop-save-btn:hover,
.prop-save-btn.saved {
  background: var(--navy);
  color: white
}

.prop-img-count {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0, 0, 0, .55);
  color: white;
  border-radius: 100px;
  padding: 3px 9px;
  font-size: 11px;
  font-weight: 500;
  backdrop-filter: blur(4px)
}

.prop-card-body {
  padding: 14px 16px 16px
}

.prop-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px
}

.prop-card-price {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1
}

.prop-card-price sub {
  font-size: 11px;
  font-weight: 400;
  color: var(--muted)
}

.prop-card-title {
  font-size: 13px;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

.prop-card-loc {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 12px
}

.prop-card-loc i {
  color: var(--blue);
  font-size: 10px
}

.prop-specs {
  display: flex;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border)
}

.prop-spec {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--muted)
}

.prop-spec i {
  color: var(--navy);
  font-size: 11px
}

.prop-spec strong {
  color: var(--navy);
  font-weight: 600
}

.prop-card-footer {
  display: none;
  padding: 10px 16px 14px;
  border-top: 1px solid var(--border);
  display: none;
  align-items: center;
  justify-content: space-between;
  background: var(--off)
}

.prop-card-footer-agent {
  display: flex;
  align-items: center;
  gap: 8px
}

.prop-agent-pic {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--border)
}

.prop-agent-name {
  font-size: 11px;
  color: var(--muted)
}

.prop-card-footer-actions {
  display: flex;
  gap: 6px
}

.prop-action-btn {
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  transition: all .2s;
  border: 1.5px solid var(--border);
  color: var(--navy);
  background: white
}

.prop-action-btn:hover {
  border-color: var(--navy);
  background: var(--navy);
  color: white
}

.prop-action-btn.primary {
  background: var(--navy);
  color: white;
  border-color: var(--navy)
}

.prop-action-btn.primary:hover {
  background: var(--navy-mid)
}

/* ── PROPERTY CARD (list) ── */
.prop-card.list-card {
  display: flex;
  flex-direction: row
}

.prop-card.list-card .prop-card-img {
  width: 220px;
  height: auto;
  min-height: 160px;
  flex-shrink: 0
}

.prop-card.list-card .prop-card-body {
  flex: 1;
  padding: 16px 18px
}

.prop-card.list-card .prop-card-footer {
  padding: 10px 18px 14px
}

.prop-card.list-card .prop-specs {
  flex-wrap: wrap;
  gap: 14px
}

.list-card-right {
  display: flex;
  flex-direction: column
}

.list-card-right .prop-card-body {
  flex: 1
}

.prop-card.list-card .prop-card-price {
  font-size: 1.3rem
}

.prop-desc-preview {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
  margin: 6px 0 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden
}

/* ── PAGINATION ── */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 32px
}

.page-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 500;
  border: 1.5px solid var(--border);
  background: white;
  color: var(--navy);
  cursor: pointer;
  transition: all .2s
}

.page-btn:hover {
  border-color: var(--navy);
  background: var(--off)
}

.page-btn.active {
  background: var(--navy);
  color: white;
  border-color: var(--navy)
}

.page-btn.arrow {
  background: white;
  color: var(--muted)
}

.page-btn.arrow:hover {
  background: var(--navy);
  color: white;
  border-color: var(--navy)
}

.page-ellipsis {
  width: 36px;
  text-align: center;
  font-size: 14px;
  color: var(--muted)
}

/* ── MOBILE FILTER DRAWER ── */
.mobile-filter-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.mobile-filter-bar::-webkit-scrollbar {
  display: none
}

@media(min-width:901px) {
  .mobile-filter-bar {
    display: none
  }
}

.filter-trigger-btn {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  border-radius: 100px;
  border: 1.5px solid var(--border);
  background: white;
  font-size: 13px;
  font-weight: 500;
  color: var(--navy);
  transition: all .2s
}

.filter-trigger-btn.active {
  border-color: var(--navy);
  background: var(--navy);
  color: white
}

.filter-trigger-btn i {
  font-size: 13px
}

.filter-trigger-btn .badge {
  background: var(--blue);
  color: white;
  border-radius: 100px;
  padding: 1px 6px;
  font-size: 10px;
  font-weight: 700
}

.filter-sheet-overlay {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgba(0, 0, 0, .45);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s
}

.filter-sheet-overlay.open {
  opacity: 1;
  pointer-events: auto
}

.filter-sheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1101;
  background: white;
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(100%);
  transition: transform .35s cubic-bezier(.4, 0, .2, 1);
  padding-bottom: calc(24px + env(safe-area-inset-bottom));
}

.filter-sheet.open {
  transform: translateY(0)
}

.filter-sheet-handle {
  width: 36px;
  height: 4px;
  background: var(--border);
  border-radius: 4px;
  margin: 12px auto 0
}

.filter-sheet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border)
}

.filter-sheet-header h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy)
}

.filter-sheet-close {
  /* display: flex; */
  display: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--off);
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--muted)
}

.filter-sheet-body {
  padding: 0
}

.filter-sheet-body .filter-group {
  padding: 16px 20px
}

.filter-sheet-footer {
  position: sticky;
  bottom: 0;
  background: white;
  padding: 12px 20px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 10px
}

.filter-sheet-footer .btn {
  flex: 1;
  border-radius: var(--r-sm)
}


/* side bar as mobile drawer */

.sidebar.mobile-active {
  position: fixed;
  z-index: 4000;
  width: 80%;
  margin: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
  bottom: 0;
}

/* ── NO RESULTS ── */
.no-results {
  text-align: center;
  padding: 60px 20px;
  background: white;
  border-radius: var(--r-lg);
  box-shadow: var(--card-sh);
  display: none
}

.no-results.visible {
  display: block
}

.no-results i {
  font-size: 40px;
  color: var(--border);
  margin-bottom: 16px
}

.no-results h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px
}

.no-results p {
  font-size: 14px;
  color: var(--muted);
  max-width: 320px;
  margin: 0 auto 20px
}

/* ── SKELETON LOADER ── */
@keyframes shimmer {
  0% {
    background-position: -200% 0
  }

  100% {
    background-position: 200% 0
  }
}

.skeleton {
  background: linear-gradient(90deg, var(--off) 25%, var(--border) 50%, var(--off) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite
}

.skel-card {
  background: white;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--card-sh)
}

.skel-img {
  height: 190px
}

.skel-body {
  padding: 16px
}

.skel-line {
  height: 12px;
  border-radius: 6px;
  margin-bottom: 10px
}

.skel-line.w-60 {
  width: 60%
}

.skel-line.w-80 {
  width: 80%
}

.skel-line.w-40 {
  width: 40%
}

/* ── BOTTOM NAV ── */
.bottom-nav {
  display: flex;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 990;
  background: white;
  border-top: 1px solid var(--border);
  padding: 8px 0 calc(8px + env(safe-area-inset-bottom))
}

@media(min-width:768px) {
  .bottom-nav {
    display: none
  }
}

.bottom-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  cursor: pointer;
  padding: 4px 0;
  border: none;
  background: none
}

.bottom-nav-item i {
  font-size: 18px;
  color: var(--muted);
  transition: color .2s
}

.bottom-nav-item span {
  font-size: 10px;
  color: var(--muted);
  font-weight: 500
}

.bottom-nav-item.active i {
  color: var(--blue)
}

.bottom-nav-item.active span {
  color: var(--navy)
}

body {
  padding-bottom: calc(68px + env(safe-area-inset-bottom))
}

@media(min-width:768px) {
  body {
    padding-bottom: 0
  }
}

/* ── SCROLL TOP ── */
.scroll-top {
  position: fixed;
  bottom: 80px;
  right: 20px;
  z-index: 980;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--navy);
  color: white;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: all .3s;
  box-shadow: 0 4px 16px rgba(11, 31, 75, .3)
}

.scroll-top.show {
  opacity: 1;
  pointer-events: auto
}

@media(min-width:768px) {
  .scroll-top {
    bottom: 24px
  }
}

/* ── UTIL ANIMATIONS ── */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

.prop-card {
  animation: fadeIn .35s ease both
}

@media(max-width:580px) {
  .prop-card.list-card .prop-card-img {
    width: 120px;
    height: 100%;
    min-height: 0;
    background: #d0d9ea;
  }

  .prop-card.list-card .prop-card-img img {
    object-fit: contain;
    min-height: 0;
  }

  .prop-card.list-card .prop-card-footer {
    display: none;
  }

  .prop-card.list-card .prop-desc-preview {
    display: none;
  }

  .prop-card.list-card .prop-card-body {
    padding: 10px;
  }

  .prop-card.list-card .prop-specs {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-top: 6px;
  }

  .prop-card.list-card .prop-badge-group {
    display: none;
  }

  .prop-card.list-card .prop-save-btn {
    right: auto;
    left: 10px;
  }

  .prop-card.list-card .prop-img-count {
    right: auto;
    left: 10px;
  }

  .prop-card.list-card .prop-card-loc {
    font-size: 8px;
    margin-bottom: 6px;
  }

  .page-actions {
    width: 100%;
    justify-content: end;
  }

  .filter-sheet-close {
    display: flex;
  }

}