
/* v102 — Marketplace structural refinement */
.marketplace-page {
  background: #f6fafc;
  color: #07162d;
  font-weight: 450;
}

.marketplace-container {
  width: min(94vw, 1580px);
  margin-inline: auto;
}

.marketplace-header {
  position: sticky;
  top: 0;
  z-index: 90;
  width: 100%;
  color: #fff;
  background: #031a3d;
  box-shadow: 0 1px 0 rgba(255,255,255,.06);
}

.marketplace-header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.marketplace-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 250px;
  color: #fff;
}

.marketplace-brand img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
}

.marketplace-brand strong {
  display: block;
  color: #fff;
  font-size: 1.55rem;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .025em;
}

.marketplace-brand small {
  display: block;
  color: #19d1d1;
  font-size: .78rem;
  margin-top: 3px;
  font-weight: 650;
}

.marketplace-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  flex: 1;
}

.marketplace-nav a {
  color: rgba(255,255,255,.92);
  font-size: .92rem;
  font-weight: 600;
  white-space: nowrap;
}

.marketplace-nav span {
  display: inline-flex;
  margin-left: 6px;
  padding: 2px 7px;
  border-radius: 999px;
  color: #19d1d1;
  background: rgba(25,209,209,.12);
  border: 1px solid rgba(25,209,209,.32);
  font-size: .66rem;
  font-weight: 700;
  text-transform: uppercase;
}

.marketplace-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.marketplace-pill,
.marketplace-publish {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.marketplace-pill {
  border: 1px solid rgba(255,255,255,.24);
  color: #fff;
  background: rgba(255,255,255,.06);
}

.marketplace-pill span {
  margin-left: 8px;
  color: rgba(255,255,255,.7);
}

.marketplace-publish {
  border: 1px solid rgba(255,255,255,.24);
  color: #fff;
  background: rgba(255,255,255,.08);
}

.marketplace-search-shell {
  padding: 22px 0 24px;
  background: #fff;
  border-bottom: 1px solid rgba(12,44,71,.08);
}

.marketplace-search {
  display: grid;
  grid-template-columns: minmax(260px, 1.15fr) minmax(240px, .9fr) minmax(210px, .75fr) minmax(230px, .85fr) 180px;
  min-height: 74px;
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(12,44,71,.10);
  box-shadow: 0 18px 50px rgba(5,25,43,.08);
}

.marketplace-search-field {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-content: center;
  column-gap: 12px;
  min-height: 74px;
  padding: 14px 22px;
  border-right: 1px solid rgba(12,44,71,.09);
}

.marketplace-search-field i {
  grid-row: 1 / 3;
  align-self: center;
  color: #344767;
  font-style: normal;
  font-size: 1.28rem;
}

.marketplace-search-field span {
  color: #697992;
  font-size: .75rem;
  font-weight: 650;
}

.marketplace-search-field input,
.marketplace-search-field select {
  width: 100%;
  border: 0;
  outline: 0;
  padding: 3px 0 0;
  background: transparent;
  color: #07162d;
  font-size: .98rem;
  font-weight: 650;
}

.marketplace-search button[type="submit"] {
  align-self: center;
  justify-self: stretch;
  min-height: 52px;
  margin: 10px;
  border: 0;
  border-radius: 12px;
  color: #fff;
  background: #ff7a1a;
  font-size: 1rem;
  font-weight: 750;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(255,122,26,.24);
}

.marketplace-intro {
  padding: 30px 0 22px;
}

.marketplace-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(640px, 1.25fr);
  gap: 44px;
  align-items: end;
}

.marketplace-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
  color: #52617a;
  font-size: .84rem;
  font-weight: 550;
}

.marketplace-title-block h1 {
  margin: 0 0 6px;
  color: #07162d;
  font-size: clamp(1.8rem, 3vw, 2.35rem);
  line-height: 1.08;
  font-weight: 800;
}

.marketplace-title-block h1 span {
  color: #11c5c9;
}

.marketplace-title-block p {
  margin: 0;
  max-width: 640px;
  color: #0d1d35;
  font-size: .98rem;
  line-height: 1.45;
}

.marketplace-title-block p strong {
  font-weight: 750;
}

.marketplace-trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.marketplace-trust-row div {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 12px;
  min-height: 82px;
  padding: 16px 18px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(12,44,71,.09);
  box-shadow: 0 12px 30px rgba(5,25,43,.05);
}

.marketplace-trust-row i {
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  color: #04a796;
  background: rgba(4,167,150,.08);
  border: 1px solid rgba(4,167,150,.18);
  font-style: normal;
  font-size: 1.45rem;
  font-weight: 700;
}

.marketplace-trust-row strong {
  display: block;
  color: #07162d;
  font-size: .86rem;
  font-weight: 700;
  line-height: 1.25;
}

.marketplace-trust-row span {
  display: block;
  color: #52617a;
  font-size: .74rem;
  line-height: 1.3;
}

.marketplace-results-section {
  padding: 0 0 58px;
}

.marketplace-layout {
  display: grid;
  grid-template-columns: 285px minmax(610px, 1fr) 410px;
  gap: 24px;
  align-items: start;
}

.marketplace-filters {
  position: sticky;
  top: 92px;
}

.marketplace-filters,
.marketplace-sortbar,
.marketplace-card,
.marketplace-map,
.selected-card,
.direct-box {
  background: #fff;
  border: 1px solid rgba(12,44,71,.09);
  box-shadow: 0 14px 34px rgba(5,25,43,.055);
}

.marketplace-filters {
  border-radius: 16px;
  overflow: hidden;
}

.marketplace-filter-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 18px 16px;
  border-bottom: 1px solid rgba(12,44,71,.08);
}

.marketplace-filter-head h2 {
  margin: 0;
  color: #07162d;
  font-size: 1rem;
  font-weight: 750;
}

.marketplace-filter-head button,
.filter-more {
  border: 0;
  background: transparent;
  color: #008b8f;
  font-weight: 700;
  cursor: pointer;
}

.filter-block {
  padding: 18px;
  border-bottom: 1px solid rgba(12,44,71,.08);
}

.filter-toggle {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #07162d;
  font-size: .9rem;
  font-weight: 700;
  text-align: left;
}

.filter-toggle small {
  color: #52617a;
  font-weight: 500;
}

.filter-price-label {
  margin: 12px 0 16px;
  color: #07162d;
  font-size: .9rem;
  font-weight: 650;
}

.filter-block input[type="range"] {
  width: 100%;
  accent-color: #0aa9ae;
}

.filter-range-captions {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  color: #52617a;
  font-size: .76rem;
}

.filter-block label,
.filter-details label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 11px 0;
  color: #344767;
  font-size: .86rem;
  font-weight: 520;
}

.filter-block em {
  margin-left: auto;
  color: #52617a;
  font-style: normal;
  font-size: .8rem;
}

.filter-more {
  margin-top: 2px;
  padding: 0;
  font-size: .84rem;
}

.filter-details {
  padding: 0;
  border-bottom: 1px solid rgba(12,44,71,.08);
}

.filter-details summary {
  cursor: pointer;
  padding: 17px 18px;
  color: #344767;
  font-size: .88rem;
  font-weight: 650;
  list-style: none;
}

.filter-details summary::-webkit-details-marker {
  display: none;
}

.filter-details summary::after {
  content: "⌄";
  float: right;
}

.filter-details[open] summary::after {
  content: "⌃";
}

.filter-details label {
  padding: 0 18px;
}

.filter-details label:last-child {
  padding-bottom: 12px;
}

.filter-details small {
  margin-left: auto;
  color: #52617a;
}

.marketplace-results {
  min-width: 0;
}

.marketplace-sortbar {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 18px;
  border-radius: 16px 16px 0 0;
  border-bottom: 0;
}

.marketplace-summary {
  margin: 0;
  color: #344767;
  font-size: .88rem;
  font-weight: 540;
}

.marketplace-summary strong {
  color: #07162d;
  font-weight: 700;
}

.marketplace-sortbar label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #344767;
  font-size: .86rem;
  font-weight: 550;
}

.marketplace-sortbar select {
  min-height: 38px;
  min-width: 170px;
  border-radius: 999px;
  border: 1px solid rgba(12,44,71,.13);
  background: #f7fafc;
  color: #07162d;
  padding: 0 14px;
  font-weight: 650;
}

.marketplace-list {
  display: grid;
  gap: 0;
}

.marketplace-card {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) 132px;
  gap: 16px;
  padding: 13px;
  border-radius: 0;
  border-bottom: 0;
  align-items: center;
  cursor: pointer;
  transition: background-color .18s ease, box-shadow .18s ease, transform .18s ease, border-color .18s ease;
  border: 1px solid transparent;
}

.marketplace-card:hover,
.marketplace-card:focus-within {
  background: linear-gradient(180deg, rgba(0, 139, 143, .03), rgba(0, 139, 143, .015));
  box-shadow: inset 0 0 0 1px rgba(0, 139, 143, .16), 0 10px 24px rgba(5, 25, 43, .06);
  transform: translateY(-2px);
  z-index: 1;
}

.marketplace-card.is-active {
  background: linear-gradient(180deg, rgba(0, 139, 143, .055), rgba(0, 139, 143, .025));
  box-shadow: inset 0 0 0 1px rgba(0, 139, 143, .22), 0 12px 28px rgba(5, 25, 43, .08);
  z-index: 2;
}

.marketplace-card:hover .marketplace-card-title h3,
.marketplace-card.is-active .marketplace-card-title h3 {
  color: #008b8f;
}

.marketplace-card:hover .marketplace-card-image img,
.marketplace-card.is-active .marketplace-card-image img {
  transform: scale(1.03);
}

.marketplace-card:last-child {
  border-bottom: 1px solid rgba(12,44,71,.09);
  border-radius: 0 0 16px 16px;
}

.marketplace-card-image {
  position: relative;
  height: 112px;
  border-radius: 12px;
  overflow: hidden;
  background: #eaf3f7;
}

.marketplace-card-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .25s ease;
}

.marketplace-heart {
  position: absolute;
  top: 9px;
  right: 9px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  color: #07162d;
  background: rgba(255,255,255,.88);
  font-size: 1rem;
}

.marketplace-photos {
  position: absolute;
  right: 9px;
  bottom: 8px;
  padding: 3px 8px;
  border-radius: 999px;
  color: #fff;
  background: rgba(3,17,31,.68);
  font-size: .72rem;
  font-weight: 650;
}

.marketplace-card-title {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.marketplace-card-title h3 {
  margin: 0;
  color: #07162d;
  font-size: 1rem;
  font-weight: 750;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: .66rem;
  font-weight: 700;
}

.badge.verified {
  color: #1261a6;
  background: #eaf4ff;
}

.badge.direct {
  color: #05834b;
  background: #e8fbf1;
  border: 1px solid rgba(5,131,75,.14);
}

.marketplace-location {
  margin: 5px 0 2px;
  color: #52617a;
  font-size: .78rem;
  font-weight: 560;
}

.marketplace-card-body p {
  margin: 0 0 6px;
  color: #344767;
  font-size: .82rem;
  line-height: 1.35;
}

.marketplace-rating {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 7px;
  color: #52617a;
  font-size: .78rem;
}

.marketplace-rating b {
  color: #ff8700;
  font-weight: 700;
}

.amenity-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.amenity-chips span {
  display: inline-flex;
  min-height: 22px;
  align-items: center;
  padding: 0 8px;
  border-radius: 999px;
  color: #344767;
  background: #f7fafc;
  border: 1px solid rgba(12,44,71,.09);
  font-size: .7rem;
  font-weight: 520;
}

.marketplace-card-price {
  display: flex;
  flex-direction: column;
  gap: 7px;
  align-items: stretch;
  justify-content: center;
}

.marketplace-card-price span {
  color: #52617a;
  font-size: .7rem;
  font-weight: 550;
}

.marketplace-card-price strong {
  color: #07162d;
  font-size: 1.2rem;
  line-height: 1;
  font-weight: 800;
}

.marketplace-card-price small {
  color: #52617a;
  font-size: .72rem;
  line-height: 1.25;
}

.marketplace-card-price a,
.marketplace-card-price button,
.selected-card .whatsapp-btn,
.selected-card .detail-btn {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: .75rem;
  font-weight: 700;
  text-align: center;
}

.detail-btn {
  color: #07162d;
  background: #fff;
  border: 1px solid rgba(12,44,71,.22);
}

.whatsapp-btn {
  color: #fff;
  background: #0bb15e;
  border: 0;
}

.response-time {
  color: #52617a;
  font-size: .68rem;
  text-align: center;
}

.marketplace-map-panel {
  display: grid;
  gap: 16px;
  align-self: start;
}

.marketplace-sidebar-rail {
  display: grid;
  gap: 16px;
  position: sticky;
  top: 92px;
  align-content: start;
  z-index: 2;
}

.direct-box-compact {
  padding: 16px 18px;
}

.direct-box-compact h3 {
  margin-bottom: 12px;
  font-size: 1.02rem;
}

.direct-box-compact > div {
  gap: 10px;
}

.direct-box-compact span {
  padding: 12px;
}

.marketplace-map {
  position: relative;
  height: 338px;
  overflow: hidden;
  border-radius: 16px;
  background:
    linear-gradient(105deg, #aeeeff 0 32%, transparent 32%),
    radial-gradient(circle at 72% 22%, rgba(166,218,155,.45), transparent 22%),
    repeating-linear-gradient(25deg, transparent 0 34px, rgba(3,17,31,.045) 35px 37px),
    #edf2e9;
}

.map-ocean {
  position: absolute;
  inset: 0 auto 0 0;
  width: 32%;
  background: linear-gradient(180deg, #b8f0ff, #8ddcf4);
}

.map-road {
  position: absolute;
  height: 5px;
  border-radius: 999px;
  background: rgba(255,255,255,.82);
  box-shadow: 0 0 0 1px rgba(12,44,71,.05);
}

.map-road.r1 { width: 60%; transform: rotate(-24deg); left: 34%; top: 42%; }
.map-road.r2 { width: 48%; transform: rotate(18deg); left: 36%; top: 62%; }
.map-road.r3 { width: 44%; transform: rotate(84deg); left: 55%; top: 43%; }

.map-label {
  position: absolute;
  color: #07162d;
  font-size: .82rem;
  font-weight: 600;
  text-shadow: 0 1px 0 #fff;
}

.label-main { left: 51%; top: 45%; font-size: 1.18rem; }
.label-beach { left: 14%; top: 43%; color: #0a8c55; }
.label-pocitas { left: 21%; top: 18%; }

.map-control {
  position: absolute;
  right: 16px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 10px;
  background: #fff;
  color: #07162d;
  font-weight: 750;
  box-shadow: 0 8px 20px rgba(5,25,43,.12);
}

.map-control.plus { top: 16px; }
.map-control.minus { top: 58px; }
.map-control.target { top: 100px; }

.map-pin {
  position: absolute;
  width: 27px;
  height: 27px;
  border: 0;
  border-radius: 50% 50% 50% 0;
  transform: translate(-50%, -50%) rotate(-45deg);
  background: #04a796;
  box-shadow: 0 8px 20px rgba(4,167,150,.25);
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, width .18s ease, height .18s ease;
}

.map-pin:hover,
.map-pin:focus-visible,
.map-pin.active {
  width: 34px;
  height: 34px;
  background: #008b8f;
  box-shadow: 0 12px 28px rgba(0,139,143,.34);
  z-index: 4;
}

.map-pin:hover,
.map-pin:focus-visible {
  outline: none;
}

.map-pin::after {
  content: "⌂";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  transform: rotate(45deg);
  color: #fff;
  font-size: .72rem;
}

.map-search-area {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #07162d;
  min-height: 46px;
  padding: 0 26px;
  font-weight: 700;
  box-shadow: 0 12px 28px rgba(5,25,43,.15);
  white-space: nowrap;
}

.selected-card {
  padding: 16px;
  border-radius: 16px;
  transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease;
}

.selected-card:hover,
.selected-card.is-linked {
  box-shadow: 0 18px 40px rgba(5,25,43,.08);
}

.selected-card-top {
  display: grid;
  grid-template-columns: 126px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.selected-card img {
  width: 126px;
  height: 92px;
  object-fit: cover;
  border-radius: 12px;
}

.selected-card h3 {
  margin: 0 0 6px;
  color: #07162d;
  font-size: 1rem;
  font-weight: 750;
}

.selected-card ul {
  margin: 14px 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 7px;
  color: #344767;
  font-size: .82rem;
}

.selected-card li::before {
  content: "✓";
  margin-right: 8px;
  color: #08a65b;
  font-weight: 800;
}

.selected-price {
  display: flex;
  justify-content: flex-end;
  align-items: end;
  margin: 8px 0 12px;
}

.selected-price span {
  text-align: right;
  color: #52617a;
  font-size: .74rem;
}

.selected-price strong {
  color: #07162d;
  font-size: 1.55rem;
  font-weight: 800;
}

.selected-card .whatsapp-btn,
.selected-card .detail-btn {
  width: 100%;
  margin-top: 8px;
}

.direct-box {
  padding: 20px;
  border-radius: 16px;
}

.direct-box h3 {
  margin: 0 0 16px;
  color: #07162d;
  font-size: 1rem;
  font-weight: 750;
}

.direct-box div {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.direct-box span {
  display: grid;
  gap: 6px;
  text-align: center;
  color: #344767;
  font-size: .76rem;
}

.direct-box i {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-inline: auto;
  border-radius: 12px;
  color: #04a796;
  background: rgba(4,167,150,.08);
  font-style: normal;
}

.direct-box strong {
  color: #07162d;
  font-weight: 700;
}

.direct-box small {
  color: #52617a;
  line-height: 1.3;
}

.empty-marketplace {
  padding: 34px;
  background: #fff;
  border: 1px solid rgba(12,44,71,.09);
  border-radius: 0 0 16px 16px;
}

.empty-marketplace h2 {
  margin: 0 0 8px;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 750;
}

.marketplace-floating-whatsapp {
  position: fixed;
  right: 28px;
  bottom: 26px;
  z-index: 100;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  color: #fff;
  background: #0bb15e;
  box-shadow: 0 18px 42px rgba(11,177,94,.28);
  font-size: 1.35rem;
}

@media (max-width: 1280px) {
  .marketplace-layout {
    grid-template-columns: 270px minmax(0, 1fr);
  }

  .marketplace-map-panel {
    position: static;
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 1fr) 410px;
    align-items: start;
  }

  .marketplace-sidebar-rail {
    position: sticky;
    top: 84px;
  }

  .direct-box {
    grid-column: auto;
  }
}

@media (max-width: 980px) {
  .marketplace-nav,
  .marketplace-actions {
    display: none;
  }

  .marketplace-search {
    grid-template-columns: 1fr;
  }

  .marketplace-search-field {
    border-right: 0;
    border-bottom: 1px solid rgba(12,44,71,.09);
  }

  .marketplace-intro-grid,
  .marketplace-layout,
  .marketplace-map-panel {
    grid-template-columns: 1fr;
  }

  .marketplace-trust-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .marketplace-filters,
  .marketplace-map-panel,
  .marketplace-sidebar-rail {
    position: static;
  }

  .marketplace-card {
    grid-template-columns: 1fr;
    border-radius: 16px;
    margin-bottom: 12px;
  }

  .marketplace-card-image {
    height: 210px;
  }

  .marketplace-sortbar {
    border-radius: 16px;
  }

  .direct-box div {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .marketplace-container {
    width: min(92vw, 1580px);
  }

  .marketplace-brand {
    min-width: 0;
  }

  .marketplace-trust-row {
    grid-template-columns: 1fr;
  }

  .marketplace-sortbar {
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
  }

  .marketplace-sortbar label {
    justify-content: space-between;
  }
}

/* v103 — Marketplace adjustments: Home-like controls, Google map, pagination and related section */
.marketplace-home-search {
  grid-template-columns: minmax(240px, 1.05fr) minmax(160px, .72fr) minmax(160px, .72fr) minmax(210px, .86fr) minmax(220px, .9fr) 170px;
}

.marketplace-home-search .marketplace-search-field {
  padding: 14px 18px;
}

.marketplace-home-search input[type="date"] {
  font-size: .9rem;
}

.google-map-card {
  height: 338px;
  padding: 0;
  background: #e9f3f7;
}

.google-map-card iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
  filter: saturate(.95) contrast(.96);
}

.google-map-pins {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.google-map-pins .map-pin {
  pointer-events: auto;
}

.google-map-overlay {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 10px 28px rgba(5,25,43,.14);
  backdrop-filter: blur(12px);
}

.google-map-overlay span {
  color: #07162d;
  font-weight: 700;
  font-size: .82rem;
}

.google-map-overlay a {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  color: #fff;
  background: #008b8f;
  font-size: .76rem;
  font-weight: 700;
}

.marketplace-load-more {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 24px 18px 28px;
  background: #fff;
  border: 1px solid rgba(12,44,71,.09);
  border-top: 0;
  border-radius: 0 0 16px 16px;
}

.marketplace-load-more p {
  margin: 0;
  color: #52617a;
  font-size: .9rem;
}

.marketplace-load-more strong {
  color: #07162d;
}

.marketplace-load-more button {
  min-height: 44px;
  padding: 0 22px;
  border: 1px solid rgba(12,44,71,.16);
  border-radius: 999px;
  color: #07162d;
  background: #f8fbfd;
  font-weight: 750;
  cursor: pointer;
}

.marketplace-bottom-related {
  padding: 6px 0 60px;
}

.marketplace-related-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
}

.marketplace-related-head span {
  display: inline-flex;
  color: #008b8f;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.marketplace-related-head h2 {
  margin: 4px 0 0;
  color: #07162d;
  font-size: clamp(1.3rem, 2vw, 1.8rem);
}

.marketplace-related-head a {
  color: #008b8f;
  font-weight: 750;
}

.related-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.related-card {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  min-height: 94px;
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(12,44,71,.09);
  box-shadow: 0 14px 34px rgba(5,25,43,.055);
}

.related-card img {
  width: 110px;
  height: 100%;
  object-fit: cover;
}

.related-card div {
  padding: 14px 12px;
}

.related-card strong {
  display: block;
  color: #07162d;
  font-weight: 750;
  margin-bottom: 4px;
}

.related-card span {
  color: #52617a;
  font-size: .82rem;
  line-height: 1.35;
}

@media (max-width: 1280px) {
  .marketplace-home-search {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .marketplace-home-search button[type="submit"] {
    grid-column: 1 / -1;
  }

  .related-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .marketplace-home-search {
    grid-template-columns: 1fr;
  }

  .related-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .related-strip {
    grid-template-columns: 1fr;
  }

  .marketplace-related-head {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* v104 — Marketplace fixes: destination control, selected card price layout, filters */
.selected-card-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 132px;
  gap: 18px;
  align-items: end;
  margin: 14px 0 12px;
}

.selected-card-main ul {
  margin: 0;
}

.selected-card-main .selected-price {
  display: grid;
  justify-items: end;
  align-content: end;
  gap: 2px;
  margin: 0;
  padding: 10px 0 2px;
}

.selected-card-main .selected-price span {
  color: #52617a;
  font-size: .72rem;
}

.selected-card-main .selected-price strong {
  color: #07162d;
  font-size: 1.5rem;
  line-height: 1;
  font-weight: 800;
}

.selected-card-main .selected-price small {
  color: #52617a;
  font-size: .72rem;
  text-align: right;
  line-height: 1.25;
}

.marketplace-search-field select[name="destino"] {
  cursor: pointer;
}

.filter-details[open] {
  padding-bottom: 12px;
}

.filter-details[open] summary {
  padding-bottom: 10px;
}

.filter-details input[type="checkbox"],
.filter-block input[type="checkbox"],
.filter-details input[type="radio"] {
  accent-color: #0aa9ae;
}

@media (max-width: 640px) {
  .selected-card-main {
    grid-template-columns: 1fr;
  }

  .selected-card-main .selected-price {
    justify-items: start;
  }

  .selected-card-main .selected-price small {
    text-align: left;
  }
}

/* v106 — Dynamic filter counters */
.filter-block label.is-empty {
  color: #9aa6b6;
}

.filter-block label.is-empty em {
  color: #9aa6b6;
  background: rgba(12,44,71,.04);
}

.filter-block em[data-category-count] {
  min-width: 24px;
  min-height: 24px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(0,139,143,.06);
  color: #344767;
  font-size: .78rem;
  font-weight: 650;
}


/* v108 — Map / card sync and responsive polish */
@media (max-width: 980px) {
  .marketplace-map-panel {
    gap: 14px;
  }

  .google-map-card {
    height: 300px;
  }

  .selected-card-top {
    grid-template-columns: 116px minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .marketplace-card:hover,
  .marketplace-card:focus-within,
  .marketplace-card.is-active {
    transform: none;
  }

  .google-map-card {
    height: 260px;
  }

  .google-map-overlay {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 10px 12px;
    flex-wrap: wrap;
  }

  .selected-card {
    padding: 14px;
  }

  .selected-card-top {
    grid-template-columns: 1fr;
  }

  .selected-card img {
    width: 100%;
    height: 180px;
  }

  .map-pin,
  .map-pin:hover,
  .map-pin:focus-visible,
  .map-pin.active {
    width: 30px;
    height: 30px;
  }
}

/* v109 — Favoritos, mapa sincronizado y responsive final */
.google-map-pins {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.google-map-pins .map-pin {
  pointer-events: auto;
}

.google-map-overlay span {
  display: grid;
  gap: 2px;
}

.google-map-overlay strong {
  color: #07162d;
  font-size: .86rem;
  line-height: 1.1;
}

.google-map-overlay small {
  color: #52617a;
  font-size: .72rem;
}

.map-pin {
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, width .18s ease, height .18s ease;
}

.map-pin:hover,
.map-pin:focus-visible,
.map-pin.active {
  width: 34px;
  height: 34px;
  background: #008b8f;
  box-shadow: 0 12px 28px rgba(0, 139, 143, .34);
  z-index: 4;
  outline: none;
}

.marketplace-heart {
  transition: transform .18s ease, color .18s ease, background-color .18s ease, box-shadow .18s ease;
}

.marketplace-heart:hover,
.marketplace-heart:focus-visible,
.marketplace-heart.is-favorite {
  color: #ff5b72;
  background: #fff;
  transform: scale(1.06);
  box-shadow: 0 8px 20px rgba(255, 91, 114, .18);
}

.selected-card {
  transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease;
}

.selected-card:hover,
.selected-card.is-linked {
  box-shadow: 0 18px 40px rgba(5, 25, 43, .08);
}

.selected-favorite {
  width: 100%;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  border: 1px solid rgba(255, 91, 114, .22);
  border-radius: 8px;
  color: #d93655;
  background: #fff5f7;
  font-size: .75rem;
  font-weight: 700;
  cursor: pointer;
}

.selected-favorite.is-favorite {
  color: #fff;
  background: #d93655;
  border-color: #d93655;
}

@media (max-width: 980px) {
  .marketplace-map-panel {
    gap: 14px;
  }

  .google-map-card {
    height: 300px;
  }

  .selected-card-top {
    grid-template-columns: 116px minmax(0, 1fr);
  }

  .direct-box {
    order: 3;
  }
}

@media (max-width: 640px) {
  .marketplace-card:hover,
  .marketplace-card:focus-within,
  .marketplace-card.is-active {
    transform: none;
  }

  .google-map-card {
    height: 260px;
  }

  .google-map-overlay {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 10px 12px;
    flex-wrap: wrap;
  }

  .selected-card {
    padding: 14px;
  }

  .selected-card-top {
    grid-template-columns: 1fr;
  }

  .selected-card img {
    width: 100%;
    height: 180px;
  }

  .map-pin,
  .map-pin:hover,
  .map-pin:focus-visible,
  .map-pin.active {
    width: 30px;
    height: 30px;
  }
}

/* v109 — Detail page connected to mock inventory */
.detail-shell {
  padding: 30px 0 64px;
}

.detail-breadcrumb {
  margin-bottom: 20px;
}

.detail-hero {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.detail-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.detail-title-row h1 {
  margin: 0;
  color: #07162d;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
}

.detail-hero p {
  margin: 8px 0;
  color: #52617a;
}

.detail-back {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 999px;
  color: #07162d;
  background: #fff;
  border: 1px solid rgba(12,44,71,.12);
}

.detail-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, .75fr);
  gap: 14px;
  margin-bottom: 24px;
}

.detail-gallery-main,
.detail-gallery-side img,
.detail-gallery-side button {
  overflow: hidden;
  border-radius: 18px;
  background: #eaf3f7;
  border: 1px solid rgba(12,44,71,.08);
}

.detail-gallery-main {
  min-height: 420px;
}

.detail-gallery-main img,
.detail-gallery-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-gallery-side {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.detail-gallery-side img,
.detail-gallery-side button {
  min-height: 198px;
}

.detail-gallery-side button {
  color: #07162d;
  font-weight: 750;
  cursor: pointer;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  align-items: start;
}

.detail-content-card,
.detail-booking-card {
  background: #fff;
  border: 1px solid rgba(12,44,71,.09);
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(5,25,43,.055);
}

.detail-tabs {
  display: flex;
  gap: 8px;
  padding: 14px;
  border-bottom: 1px solid rgba(12,44,71,.08);
  overflow-x: auto;
}

.detail-tabs button {
  min-height: 38px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 14px;
  background: transparent;
  color: #52617a;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
}

.detail-tabs button.active {
  color: #008b8f;
  background: rgba(0,139,143,.08);
  border-color: rgba(0,139,143,.16);
}

.detail-tab-panel {
  display: none;
  padding: 26px;
}

.detail-tab-panel.active {
  display: block;
}

.detail-tab-panel h2 {
  margin: 0 0 12px;
  color: #07162d;
  font-size: 1.5rem;
}

.detail-tab-panel p {
  color: #344767;
  line-height: 1.65;
}

.detail-highlights,
.detail-policy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.detail-highlights div,
.detail-policy-grid div {
  padding: 16px;
  border-radius: 14px;
  background: #f8fbfd;
  border: 1px solid rgba(12,44,71,.08);
}

.detail-highlights strong,
.detail-policy-grid strong {
  display: block;
  color: #07162d;
  margin-bottom: 6px;
}

.detail-highlights span,
.detail-policy-grid span {
  color: #52617a;
  font-size: .9rem;
  line-height: 1.45;
}

.detail-amenities {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.detail-amenities span {
  min-height: 46px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 14px;
  color: #344767;
  background: #f8fbfd;
  border: 1px solid rgba(12,44,71,.08);
}

.detail-secondary-button {
  margin-top: 18px;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  color: #07162d;
  background: #fff;
  border: 1px solid rgba(12,44,71,.18);
  font-weight: 750;
}

.detail-map {
  height: 320px;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(12,44,71,.09);
}

.detail-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.detail-review-summary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255,135,0,.08);
  color: #07162d;
  margin-bottom: 18px;
}

.detail-review-summary strong {
  color: #ff8700;
}

.detail-reviews {
  display: grid;
  gap: 12px;
}

.detail-reviews article {
  padding: 16px;
  border-radius: 14px;
  background: #f8fbfd;
  border: 1px solid rgba(12,44,71,.08);
}

.detail-reviews strong {
  display: block;
  margin-bottom: 6px;
}

.detail-reviews span {
  color: #52617a;
}

.detail-booking-card {
  position: sticky;
  top: 92px;
  padding: 22px;
}

.detail-booking-card > span {
  color: #52617a;
  font-weight: 650;
}

.detail-booking-card > strong {
  display: block;
  color: #07162d;
  font-size: 2rem;
  line-height: 1;
  margin: 4px 0;
}

.detail-booking-card > small {
  color: #52617a;
}

.detail-booking-fields {
  display: grid;
  gap: 10px;
  margin: 18px 0;
}

.detail-booking-fields label {
  display: grid;
  gap: 6px;
  color: #344767;
  font-size: .82rem;
  font-weight: 700;
}

.detail-booking-fields input,
.detail-booking-fields select {
  min-height: 42px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid rgba(12,44,71,.14);
}

.detail-booking-card .whatsapp-btn,
.detail-booking-card .detail-btn {
  width: 100%;
  min-height: 44px;
  margin-top: 8px;
}

.detail-booking-card p {
  margin: 16px 0 0;
  color: #52617a;
  font-size: .88rem;
  line-height: 1.5;
}

@media (max-width: 980px) {
  .detail-hero,
  .detail-layout {
    grid-template-columns: 1fr;
  }

  .detail-hero {
    display: grid;
  }

  .detail-gallery {
    grid-template-columns: 1fr;
  }

  .detail-gallery-side {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .detail-gallery-side button {
    grid-column: 1 / -1;
  }

  .detail-booking-card {
    position: static;
  }

  .detail-highlights,
  .detail-policy-grid,
  .detail-amenities {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .detail-gallery-main {
    min-height: 300px;
  }

  .detail-gallery-side {
    grid-template-columns: 1fr;
  }

  .detail-highlights,
  .detail-policy-grid,
  .detail-amenities {
    grid-template-columns: 1fr;
  }

  .detail-tab-panel {
    padding: 20px;
  }
}


/* v111 — Intro cards redistribution + global currency control */
.marketplace-currency-pill {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.24);
  background: rgba(255,255,255,.06);
}

.marketplace-currency-pill select {
  min-width: 118px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font-weight: 700;
  font-size: .93rem;
  cursor: pointer;
}

.marketplace-currency-pill select option {
  color: #07162d;
}

.marketplace-intro-grid {
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.marketplace-title-block {
  max-width: 760px;
}

.marketplace-trust-row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.marketplace-trust-row div {
  min-height: 92px;
}

@media (max-width: 1180px) {
  .marketplace-trust-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .marketplace-trust-row {
    grid-template-columns: 1fr;
  }

  .marketplace-currency-pill {
    width: 100%;
  }

  .marketplace-currency-pill select {
    width: 100%;
    min-width: 0;
  }
}

/* v112 — Multicurrency UX + compact selected summary */
.selected-mini-label {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  color: #008b8f;
  background: rgba(0,139,143,.08);
  font-size: .72rem;
  font-weight: 750;
  letter-spacing: .02em;
}

.selected-card-compact ul {
  gap: 6px;
}

.selected-card-compact li {
  font-size: .78rem;
}

.filter-price-label[data-price-currency-label] {
  font-size: .92rem;
}

.marketplace-trust-row {
  width: 100%;
}

.marketplace-intro-grid {
  max-width: 100%;
}

@media (min-width: 1181px) {
  .marketplace-intro-grid {
    grid-template-columns: minmax(420px, .7fr) minmax(760px, 1fr);
    align-items: center;
  }

  .marketplace-title-block {
    max-width: 720px;
  }

  .marketplace-trust-row div {
    min-height: 104px;
  }
}

@media (max-width: 1180px) {
  .marketplace-intro-grid {
    grid-template-columns: 1fr;
  }
}

/* v113 — Exchange rates, base currency and real multicurrency filtering */
.price-note {
  display: block;
  margin-top: 4px;
  color: #6b778d;
  font-style: normal;
  font-size: .66rem;
  line-height: 1.25;
}

.marketplace-card-price .price-note {
  max-width: 132px;
  text-align: left;
}

.selected-price .price-note,
.detail-price-note {
  color: #6b778d;
  font-size: .72rem;
  line-height: 1.3;
}

.detail-price-note {
  display: block;
  margin-top: 8px;
}

.filter-details label:has(input[value="MXN"]),
.filter-details label:has(input[value="COP"]),
.filter-details label:has(input[value="ARS"]) {
  display: flex;
}

@media (max-width: 980px) {
  .marketplace-card-price .price-note {
    max-width: none;
  }
}

/* v114 — clearer price copy */
.price-period {
  display: inline-block;
  color: #52617a;
  font-weight: 600;
}

.price-subline {
  display: inline-block;
  margin-top: 2px;
  color: #344767;
  font-weight: 650;
  line-height: 1.25;
}

.marketplace-card-price small {
  line-height: 1.28;
}

.selected-price small {
  line-height: 1.3;
}

/* v115 — selected hotel card differentiated from list card */
.selected-card {
  background: linear-gradient(180deg, #ffffff 0%, #f9fcfd 100%);
  border: 1px solid rgba(10, 169, 174, 0.14);
}

.selected-card-top-compact {
  grid-template-columns: 112px minmax(0, 1fr);
  align-items: start;
}

.selected-card-top-compact img {
  width: 112px;
  height: 88px;
}

.selected-badges-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 6px;
}

.selected-context-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0 12px;
}

.selected-context-grid > div {
  padding: 10px 12px;
  border-radius: 12px;
  background: #f4f8fa;
  border: 1px solid rgba(7, 22, 45, 0.06);
}

.selected-context-label {
  display: block;
  margin-bottom: 4px;
  color: #63738e;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.selected-context-grid strong {
  display: block;
  color: #07162d;
  font-size: .87rem;
  line-height: 1.35;
}

.selected-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.selected-highlights span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(10, 169, 174, 0.09);
  color: #006b6f;
  font-size: .78rem;
  font-weight: 700;
}

.selected-card-side-summary {
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  margin: 0 0 12px;
}

.selected-card-copy {
  padding: 12px 14px;
  border-radius: 14px;
  background: #f7fafc;
  border: 1px solid rgba(7, 22, 45, 0.06);
}

.selected-card-copy h4 {
  margin: 0 0 6px;
  color: #07162d;
  font-size: .86rem;
  font-weight: 800;
}

.selected-card-copy p {
  margin: 0;
  color: #52617a;
  font-size: .84rem;
  line-height: 1.5;
}

.selected-price-box {
  padding: 14px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(7, 22, 45, 0.02) 0%, rgba(10, 169, 174, 0.06) 100%);
  border: 1px solid rgba(10, 169, 174, 0.14);
  justify-items: start;
}

.selected-price-box span,
.selected-price-box strong,
.selected-price-box small,
.selected-price-box .price-note {
  text-align: left;
}

.selected-actions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 6px;
}

.selected-actions-grid .selected-favorite,
.selected-actions-grid .detail-btn {
  margin-top: 0;
}

.selected-card .whatsapp-btn {
  margin-top: 10px;
}

@media (max-width: 980px) {
  .selected-context-grid,
  .selected-actions-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .selected-card-top-compact {
    grid-template-columns: 1fr;
  }

  .selected-card-top-compact img {
    width: 100%;
    height: 170px;
  }
}


/* v116 — sticky rail visible + compact selected summary */
.selected-card {
  overflow: hidden;
}

.selected-card-top-compact {
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 12px;
}

.selected-card-top-compact img {
  width: 96px;
  height: 78px;
}

.selected-card h3 {
  font-size: 1.32rem;
}

.selected-summary-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: start;
  margin-bottom: 10px;
}

.selected-summary-price {
  text-align: right;
}

.selected-summary-price span {
  display: block;
  color: #6b778d;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.selected-summary-price strong {
  display: block;
  color: #07162d;
  font-size: 1.9rem;
  line-height: 1.05;
}

.selected-price-box {
  display: none;
}

.selected-more {
  margin: 8px 0 12px;
  border: 1px solid rgba(7,22,45,.08);
  border-radius: 14px;
  background: #fbfdff;
  overflow: hidden;
}

.selected-more summary {
  list-style: none;
  cursor: pointer;
  padding: 12px 14px;
  color: #006b6f;
  font-size: .84rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.selected-more summary::-webkit-details-marker {
  display: none;
}

.selected-more summary::after {
  content: '▾';
  font-size: .9rem;
  transition: transform .18s ease;
}

.selected-more[open] summary::after {
  transform: rotate(180deg);
}

.selected-more-body {
  padding: 0 14px 14px;
}

.selected-context-grid {
  margin: 0 0 12px;
}

.selected-highlights {
  margin-bottom: 12px;
}

.selected-card-copy {
  padding: 0;
  border: 0;
  background: transparent;
}

.selected-actions-grid {
  grid-template-columns: .92fr 1.08fr;
}

.marketplace-sidebar-rail .selected-card,
.marketplace-sidebar-rail .direct-box {
  margin: 0;
}

@media (max-width: 1280px) {
  .selected-summary-head {
    grid-template-columns: 1fr;
  }

  .selected-summary-price {
    text-align: left;
  }
}

@media (max-width: 980px) {
  .marketplace-sidebar-rail {
    gap: 14px;
  }
}

@media (max-width: 640px) {
  .selected-card-top-compact {
    grid-template-columns: 1fr;
  }

  .selected-card-top-compact img {
    width: 100%;
    height: 170px;
  }

  .selected-actions-grid {
    grid-template-columns: 1fr;
  }
}


/* v117 — smart sticky map + auto-selected visible card */
.marketplace-smart-map-sticky .google-map-card {
  position: sticky;
  top: 92px;
}

.marketplace-smart-map-sticky .marketplace-sidebar-rail {
  top: var(--marketplace-smart-map-offset, 92px);
}

.marketplace-smart-map-sticky .selected-card {
  box-shadow: 0 18px 42px rgba(5,25,43,.08);
}

.selected-more summary {
  user-select: none;
}

@media (max-width: 1280px) {
  .marketplace-smart-map-sticky .google-map-card,
  .marketplace-smart-map-sticky .marketplace-sidebar-rail {
    position: static;
  }
}


/* v118 — sticky persistent right rail */
@media (min-width: 1281px) {
  .marketplace-map-panel {
    position: sticky;
    top: 92px;
    align-self: start;
    max-height: calc(100vh - 108px);
    overflow: auto;
    padding-right: 6px;
    scrollbar-width: thin;
    scrollbar-color: rgba(7,22,45,.22) transparent;
  }

  .marketplace-map-panel::-webkit-scrollbar {
    width: 8px;
  }

  .marketplace-map-panel::-webkit-scrollbar-track {
    background: transparent;
  }

  .marketplace-map-panel::-webkit-scrollbar-thumb {
    background: rgba(7,22,45,.18);
    border-radius: 999px;
  }

  .marketplace-map-panel .google-map-card,
  .marketplace-map-panel .marketplace-sidebar-rail {
    position: static;
    top: auto;
  }

  .marketplace-map-panel .marketplace-sidebar-rail {
    gap: 14px;
  }
}


/* v119 — right rail without inner scroll + compact persistent sticky */
:root {
  --marketplace-sidebar-map-height: 338px;
  --marketplace-sidebar-gap: 16px;
  --marketplace-sidebar-top: 92px;
}

@media (min-width: 1281px) {
  .marketplace-map-panel {
    position: static;
    overflow: visible;
    max-height: none;
    padding-right: 0;
    gap: var(--marketplace-sidebar-gap);
    align-self: start;
  }

  .marketplace-map-panel::-webkit-scrollbar {
    display: none;
  }

  .marketplace-map-panel .google-map-card {
    position: sticky;
    top: var(--marketplace-sidebar-top);
    height: var(--marketplace-sidebar-map-height);
    z-index: 3;
    transition: height .24s ease, box-shadow .24s ease, transform .24s ease;
  }

  .marketplace-map-panel .marketplace-sidebar-rail {
    position: sticky;
    top: calc(var(--marketplace-sidebar-top) + var(--marketplace-sidebar-map-height) + var(--marketplace-sidebar-gap));
    z-index: 2;
    gap: 14px;
  }

  .marketplace-map-panel .selected-card {
    box-shadow: 0 16px 40px rgba(5,25,43,.08);
    transition: box-shadow .24s ease, border-color .24s ease;
  }

  .marketplace-sidebar-compact .marketplace-map-panel .google-map-card {
    height: 188px;
    box-shadow: 0 16px 34px rgba(5,25,43,.10);
  }

  .marketplace-sidebar-compact .marketplace-map-panel .google-map-overlay {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 9px 11px;
  }

  .marketplace-sidebar-compact .marketplace-map-panel .google-map-overlay span {
    font-size: .78rem;
  }

  .marketplace-sidebar-compact .marketplace-map-panel .google-map-overlay a {
    min-height: 30px;
    padding: 0 11px;
    font-size: .73rem;
  }

  .marketplace-sidebar-compact .marketplace-map-panel .direct-box-compact {
    display: none;
  }
}

/* v120 — UX fino: sidebar compacto, transición suave y selección por viewport */
@media (min-width: 1281px) {
  .marketplace-map-panel .google-map-card {
    transition:
      height .32s cubic-bezier(.22, .61, .36, 1),
      box-shadow .32s cubic-bezier(.22, .61, .36, 1),
      transform .32s cubic-bezier(.22, .61, .36, 1);
    will-change: height, transform;
  }

  .marketplace-sidebar-compact .marketplace-map-panel .google-map-card {
    height: 160px;
    transform: translateY(-2px);
  }

  .marketplace-sidebar-compact .marketplace-map-panel .google-map-overlay {
    padding: 8px 10px;
  }

  .marketplace-sidebar-compact .marketplace-map-panel .google-map-overlay small {
    display: none;
  }

  .marketplace-sidebar-compact .marketplace-map-panel .map-pin,
  .marketplace-sidebar-compact .marketplace-map-panel .map-pin:hover,
  .marketplace-sidebar-compact .marketplace-map-panel .map-pin:focus-visible,
  .marketplace-sidebar-compact .marketplace-map-panel .map-pin.active {
    width: 24px;
    height: 24px;
  }

  .marketplace-sidebar-compact .marketplace-sidebar-rail {
    gap: 10px;
  }

  .marketplace-sidebar-compact .selected-card {
    padding: 14px;
    border-color: rgba(10, 169, 174, .22);
  }

  .marketplace-sidebar-compact .selected-mini-label {
    margin-bottom: 8px;
    font-size: .66rem;
  }

  .marketplace-sidebar-compact .selected-summary-head {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-bottom: 8px;
  }

  .marketplace-sidebar-compact .selected-card-top-compact {
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 10px;
  }

  .marketplace-sidebar-compact .selected-card-top-compact img {
    width: 74px;
    height: 58px;
    border-radius: 12px;
  }

  .marketplace-sidebar-compact .selected-card h3 {
    font-size: 1.02rem;
    line-height: 1.12;
  }

  .marketplace-sidebar-compact .selected-badges-inline {
    margin-bottom: 4px;
  }

  .marketplace-sidebar-compact .selected-badges-inline .badge.direct {
    display: none;
  }

  .marketplace-sidebar-compact .selected-summary-price {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: end;
    text-align: left;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(10, 169, 174, .06);
    border: 1px solid rgba(10, 169, 174, .13);
  }

  .marketplace-sidebar-compact .selected-summary-price span {
    grid-column: 1 / -1;
    font-size: .64rem;
  }

  .marketplace-sidebar-compact .selected-summary-price strong {
    font-size: 1.45rem;
  }

  .marketplace-sidebar-compact .selected-summary-price small {
    text-align: right;
    font-size: .7rem;
  }

  .marketplace-sidebar-compact .selected-more {
    margin: 6px 0 10px;
  }

  .marketplace-sidebar-compact .selected-more:not([open]) {
    display: none;
  }

  .marketplace-sidebar-compact .selected-actions-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .marketplace-sidebar-compact .selected-actions-grid .selected-favorite {
    display: none;
  }

  .marketplace-sidebar-compact .selected-card .whatsapp-btn {
    min-height: 42px;
  }
}

.marketplace-card.is-active {
  transition:
    background-color .2s ease,
    box-shadow .2s ease,
    border-color .2s ease,
    transform .2s ease;
}

.selected-card {
  transition:
    box-shadow .22s ease,
    border-color .22s ease,
    padding .22s ease,
    background-color .22s ease;
}

/* v121 — right rail remains visible during long result scrolls */
@media (min-width: 1281px) {
  .marketplace-map-panel {
    position: sticky;
    top: var(--marketplace-sidebar-top, 92px);
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    gap: 12px;
    align-self: start;
    max-height: calc(100vh - var(--marketplace-sidebar-top, 92px) - 16px);
    overflow: visible;
  }

  .marketplace-map-panel .google-map-card {
    position: relative !important;
    top: auto !important;
    height: 238px;
    min-height: 0;
  }

  .marketplace-map-panel .marketplace-sidebar-rail {
    position: relative !important;
    top: auto !important;
    min-height: 0;
    gap: 12px;
  }

  .marketplace-map-panel .selected-card {
    max-height: none;
    overflow: hidden;
    overscroll-behavior: contain;
  }

  .marketplace-sidebar-compact .marketplace-map-panel .google-map-card {
    height: 142px;
    transform: none;
  }

  .marketplace-sidebar-compact .marketplace-map-panel .selected-card {
    max-height: none;
  }

  .marketplace-sidebar-compact .marketplace-map-panel .direct-box-compact {
    display: none;
  }
}

/* v122 — remove nested scroll from selected card */
@media (min-width: 1281px) {
  .marketplace-map-panel .selected-card {
    scrollbar-width: none;
  }

  .marketplace-map-panel .selected-card::-webkit-scrollbar {
    display: none;
  }

  .marketplace-sidebar-compact .selected-card {
    padding: 12px;
  }

  .marketplace-sidebar-compact .selected-summary-head {
    margin-bottom: 6px;
  }

  .marketplace-sidebar-compact .selected-summary-price {
    padding: 8px 10px;
  }

  .marketplace-sidebar-compact .selected-more {
    display: none;
  }
}

/* v123 — designed compact selected card, no clipping */
@media (min-width: 1281px) {
  .marketplace-sidebar-compact .marketplace-sidebar-rail {
    gap: 0;
  }

  .marketplace-sidebar-compact .marketplace-map-panel {
    position: fixed !important;
    top: var(--marketplace-sidebar-top, 92px);
    right: max(3vw, calc((100vw - 1580px) / 2));
    width: min(410px, 28vw);
    max-height: calc(100vh - var(--marketplace-sidebar-top, 92px) - 16px);
    z-index: 20;
  }

  .marketplace-sidebar-compact .selected-card {
    display: grid;
    gap: 10px;
    padding: 14px;
    overflow: visible;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 18px 44px rgba(5, 25, 43, .10);
  }

  .marketplace-sidebar-compact .selected-mini-label {
    width: max-content;
    max-width: 100%;
    margin: 0;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(10, 169, 174, .10);
    color: #007f86;
    font-size: .66rem;
    line-height: 1;
    letter-spacing: .08em;
  }

  .marketplace-sidebar-compact .selected-summary-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 118px;
    gap: 12px;
    align-items: stretch;
    margin: 0;
  }

  .marketplace-sidebar-compact .selected-card-top-compact {
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    min-width: 0;
  }

  .marketplace-sidebar-compact .selected-card-top-compact img {
    width: 86px;
    height: 72px;
    border-radius: 14px;
  }

  .marketplace-sidebar-compact .selected-card h3 {
    display: -webkit-box;
    margin: 0 0 5px;
    overflow: hidden;
    color: #07162d;
    font-size: 1.05rem;
    line-height: 1.12;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  .marketplace-sidebar-compact .selected-badges-inline {
    gap: 5px;
    margin: 0 0 5px;
  }

  .marketplace-sidebar-compact .selected-badges-inline .badge {
    padding: 3px 8px;
    font-size: .62rem;
  }

  .marketplace-sidebar-compact .selected-badges-inline .badge.direct {
    display: inline-flex;
  }

  .marketplace-sidebar-compact .selected-card .marketplace-location {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: .78rem;
  }

  .marketplace-sidebar-compact .selected-card .marketplace-rating {
    margin-top: 2px;
    font-size: .74rem;
  }

  .marketplace-sidebar-compact .selected-summary-price {
    display: grid;
    grid-template-columns: 1fr;
    align-content: center;
    gap: 3px;
    min-width: 0;
    padding: 10px 12px;
    text-align: right;
    border-radius: 14px;
  }

  .marketplace-sidebar-compact .selected-summary-price span {
    grid-column: auto;
    font-size: .61rem;
    letter-spacing: .08em;
  }

  .marketplace-sidebar-compact .selected-summary-price strong {
    font-size: 1.55rem;
    line-height: 1;
  }

  .marketplace-sidebar-compact .selected-summary-price small {
    text-align: right;
    font-size: .67rem;
    line-height: 1.25;
  }

  .marketplace-sidebar-compact .selected-actions-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin: 0;
  }

  .marketplace-sidebar-compact .selected-actions-grid .selected-favorite {
    display: inline-flex;
  }

  .marketplace-sidebar-compact .selected-actions-grid .selected-favorite,
  .marketplace-sidebar-compact .selected-actions-grid .detail-btn,
  .marketplace-sidebar-compact .selected-card .whatsapp-btn {
    min-height: 40px;
    border-radius: 12px;
    font-size: .82rem;
  }

  .marketplace-sidebar-compact .selected-card .whatsapp-btn {
    margin: 0;
  }
}

@media (min-width: 1281px) and (max-width: 1480px) {
  .marketplace-sidebar-compact .selected-summary-head {
    grid-template-columns: 1fr;
  }

  .marketplace-sidebar-compact .selected-summary-price {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    text-align: left;
  }

  .marketplace-sidebar-compact .selected-summary-price span {
    grid-column: 1 / -1;
  }
}

/* v124 — give sticky rail enough runway when result sets are short */
@media (min-width: 1281px) {
  .marketplace-results-section {
    padding-bottom: 58px;
  }

  .marketplace-layout {
    padding-bottom: clamp(240px, 30vh, 380px);
  }
}

/* v125 — laptop desktop uses the stable wide-tablet marketplace layout */
@media (min-width: 1281px) and (max-width: 1599px) {
  .marketplace-container {
    width: min(94vw, 1320px);
  }

  .marketplace-layout {
    grid-template-columns: 285px minmax(0, 1fr);
    padding-bottom: 0;
  }

  .marketplace-map-panel {
    position: static !important;
    top: auto !important;
    right: auto !important;
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 410px);
    gap: 16px;
    width: auto;
    max-height: none;
  }

  .marketplace-map-panel .google-map-card {
    position: relative !important;
    top: auto !important;
    height: 300px;
  }

  .marketplace-map-panel .marketplace-sidebar-rail {
    position: static !important;
    top: auto !important;
    gap: 16px;
  }

  .marketplace-sidebar-compact .marketplace-map-panel {
    position: static !important;
    width: auto;
    max-height: none;
  }

  .marketplace-sidebar-compact .marketplace-map-panel .google-map-card {
    height: 300px;
  }

  .marketplace-sidebar-compact .selected-more {
    display: block;
  }

  .marketplace-sidebar-compact .marketplace-map-panel .direct-box-compact {
    display: block;
  }
}

/* v126 — marketplace search simplified to two columns */
@media (min-width: 981px) {
  .marketplace-results-section {
    padding-bottom: 58px;
  }

  .marketplace-layout {
    grid-template-columns: 285px minmax(0, 1fr);
    grid-template-areas:
      "filters map"
      "filters results";
    align-items: start;
    padding-bottom: 0;
  }

  .marketplace-filters {
    grid-area: filters;
  }

  .marketplace-map-panel,
  .marketplace-sidebar-compact .marketplace-map-panel,
  .marketplace-smart-map-sticky .marketplace-map-panel {
    position: static !important;
    grid-area: map;
    display: block;
    width: auto;
    max-height: none;
    overflow: visible;
  }

  .marketplace-map-panel .google-map-card,
  .marketplace-sidebar-compact .marketplace-map-panel .google-map-card,
  .marketplace-smart-map-sticky .marketplace-map-panel .google-map-card {
    position: relative !important;
    top: auto !important;
    height: clamp(300px, 28vw, 380px);
    transform: none;
  }

  .marketplace-sidebar-rail {
    display: none !important;
  }

  .marketplace-results {
    grid-area: results;
  }

  .marketplace-sortbar {
    margin-top: 0;
  }
}

@media (min-width: 1281px) {
  .marketplace-container {
    width: min(94vw, 1580px);
  }
}

/* v127 — more comfortable page margins for the two-column marketplace */
@media (min-width: 1281px) {
  .marketplace-page .marketplace-container {
    width: min(86vw, 1380px);
  }

  .marketplace-layout {
    grid-template-columns: 285px minmax(0, 1fr);
    gap: 28px;
  }

  .marketplace-map-panel .google-map-card,
  .marketplace-sidebar-compact .marketplace-map-panel .google-map-card,
  .marketplace-smart-map-sticky .marketplace-map-panel .google-map-card {
    height: clamp(280px, 24vw, 340px);
  }
}

@media (min-width: 1600px) {
  .marketplace-page .marketplace-container {
    width: min(78vw, 1360px);
  }
}

@media (min-width: 1900px) {
  .marketplace-page .marketplace-container {
    width: min(72vw, 1320px);
  }
}

/* v128 — predictive destination and dynamic guests search controls */
.marketplace-search {
  overflow: visible;
}

.marketplace-destination-field,
.marketplace-guests-field {
  position: relative;
}

.marketplace-search-field input[type="search"] {
  appearance: none;
}

.destination-suggestions,
.guests-popover {
  position: absolute;
  top: calc(100% + 10px);
  left: 14px;
  right: 14px;
  z-index: 120;
  display: none;
  border: 1px solid rgba(12, 44, 71, .10);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(5, 25, 43, .16);
}

.marketplace-destination-field.is-open .destination-suggestions,
.marketplace-guests-field.is-open .guests-popover {
  display: block;
}

.destination-suggestions {
  overflow: hidden;
  padding: 8px;
}

.destination-option {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 10px;
  width: 100%;
  min-height: 56px;
  align-items: center;
  padding: 8px 10px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #07162d;
  text-align: left;
  cursor: pointer;
}

.destination-option:hover,
.destination-option.is-active {
  background: rgba(10, 169, 174, .08);
}

.destination-option i {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 12px;
  background: rgba(10, 169, 174, .10);
  color: #008b8f;
  font-size: 1rem;
  font-style: normal;
}

.destination-option strong {
  display: block;
  font-size: .92rem;
  line-height: 1.1;
}

.destination-option small {
  display: block;
  margin-top: 3px;
  color: #63738e;
  font-size: .74rem;
  font-weight: 650;
}

.guests-trigger {
  width: 100%;
  border: 0;
  outline: 0;
  padding: 3px 0 0;
  background: transparent;
  color: #07162d;
  text-align: left;
  cursor: pointer;
}

.guests-trigger strong {
  display: block;
  overflow: hidden;
  font-size: .98rem;
  font-weight: 750;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.guests-popover {
  left: 50%;
  right: auto;
  width: min(390px, 92vw);
  padding: 18px 20px;
  transform: translateX(-50%);
}

.guest-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid rgba(12, 44, 71, .08);
}

.guest-row:first-child {
  padding-top: 4px;
}

.guest-row:last-child {
  padding-bottom: 4px;
  border-bottom: 0;
}

.guest-row span strong {
  display: block;
  color: #07162d;
  font-size: 1rem;
  line-height: 1.1;
}

.guest-row span small {
  display: block;
  margin-top: 6px;
  color: #63738e;
  font-size: .82rem;
  font-weight: 550;
}

.guest-stepper {
  display: inline-grid;
  grid-template-columns: 38px 34px 38px;
  gap: 8px;
  align-items: center;
}

.guest-stepper button {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(10, 169, 174, .24);
  border-radius: 50%;
  background: rgba(10, 169, 174, .08);
  color: #008b8f;
  font-size: 1.2rem;
  font-weight: 850;
  cursor: pointer;
}

.guest-stepper button:disabled {
  opacity: .38;
  cursor: not-allowed;
}

.guest-stepper strong {
  color: #07162d;
  text-align: center;
  font-size: 1rem;
}

@media (max-width: 980px) {
  .destination-suggestions,
  .guests-popover {
    left: 12px;
    right: 12px;
    width: auto;
    transform: none;
  }
}

/* v129 — unified date-range picker */
.marketplace-home-search {
  grid-template-columns: minmax(250px, 1.1fr) minmax(260px, 1fr) minmax(235px, .9fr) minmax(235px, .9fr) 170px;
}

.marketplace-dates-field {
  position: relative;
}

.dates-trigger {
  width: 100%;
  border: 0;
  outline: 0;
  padding: 3px 0 0;
  background: transparent;
  color: #07162d;
  text-align: left;
  cursor: pointer;
}

.dates-trigger strong {
  display: block;
  overflow: hidden;
  font-size: .98rem;
  font-weight: 750;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.dates-popover {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  z-index: 130;
  display: none;
  width: min(760px, 92vw);
  overflow: hidden;
  border: 1px solid rgba(12, 44, 71, .10);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(5, 25, 43, .18);
  transform: translateX(-50%);
}

.marketplace-dates-field.is-open .dates-popover {
  display: block;
}

.dates-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid rgba(12, 44, 71, .08);
}

.dates-tabs button {
  min-height: 54px;
  border: 0;
  background: transparent;
  color: #344767;
  font-weight: 700;
  cursor: pointer;
}

.dates-tabs button.active {
  color: #008b8f;
  box-shadow: inset 0 -3px 0 #0aa9ae;
}

.dates-calendar-head {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  padding: 16px 22px 6px;
}

.dates-calendar-head button {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: rgba(10, 169, 174, .08);
  color: #008b8f;
  font-size: 1.6rem;
  cursor: pointer;
}

.dates-calendar-head strong {
  color: #07162d;
  text-align: center;
  font-size: 1rem;
}

.dates-months {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  padding: 8px 28px 18px;
}

.date-month h3 {
  margin: 0 0 14px;
  color: #07162d;
  text-align: center;
  font-size: 1rem;
}

.date-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.date-weekday,
.date-day {
  display: grid;
  min-height: 36px;
  place-items: center;
  border-radius: 10px;
  font-size: .82rem;
}

.date-weekday {
  color: #63738e;
  font-weight: 750;
}

.date-day {
  border: 0;
  background: transparent;
  color: #07162d;
  cursor: pointer;
}

.date-day:hover {
  background: rgba(10, 169, 174, .10);
}

.date-day.is-muted {
  color: #b3bdca;
  cursor: default;
}

.date-day.is-selected {
  background: #008b8f;
  color: #fff;
  font-weight: 850;
}

.date-day.is-in-range {
  background: rgba(10, 169, 174, .12);
  color: #07162d;
  font-weight: 750;
}

.dates-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding: 14px 20px;
  border-top: 1px solid rgba(12, 44, 71, .08);
}

.dates-actions span {
  margin-right: auto;
  color: #63738e;
  font-size: .82rem;
  font-weight: 650;
}

.dates-actions button {
  min-height: 38px;
  padding: 0 16px;
  border-radius: 12px;
  font-weight: 800;
  cursor: pointer;
}

.dates-actions [data-dates-clear] {
  border: 1px solid rgba(12, 44, 71, .12);
  background: #fff;
  color: #344767;
}

.dates-actions [data-dates-apply] {
  border: 0;
  background: #ff7a1a;
  color: #fff;
}

@media (max-width: 980px) {
  .marketplace-home-search {
    grid-template-columns: 1fr;
  }

  .dates-popover {
    left: 12px;
    right: 12px;
    width: auto;
    transform: none;
  }

  .dates-months {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 981px) and (max-width: 1280px) {
  .marketplace-home-search {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .marketplace-home-search button[type="submit"] {
    grid-column: 1 / -1;
  }
}

/* v131 — hardening buscar.html: rango predictivo, validación y responsive mobile/tablet */
.marketplace-filter-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.marketplace-filter-close,
.marketplace-filter-toggle-mobile {
  display: none;
}

.search-validation-message {
  grid-column: 1 / -1;
  display: none;
  align-items: center;
  min-height: 40px;
  margin: -2px 10px 10px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(255, 122, 26, .10);
  color: #8f4300;
  font-size: .84rem;
  font-weight: 700;
}

.search-validation-message.is-visible {
  display: flex;
}

.dates-range-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 16px 18px 8px;
  background: linear-gradient(180deg, rgba(10,169,174,.08), rgba(255,255,255,0));
}

.dates-range-summary button {
  display: grid;
  gap: 4px;
  min-height: 64px;
  padding: 12px 14px;
  border: 1px solid rgba(12, 44, 71, .10);
  border-radius: 14px;
  background: #fff;
  color: #07162d;
  text-align: left;
  cursor: pointer;
}

.dates-range-summary button.active {
  border-color: rgba(10, 169, 174, .48);
  box-shadow: 0 0 0 3px rgba(10, 169, 174, .12);
}

.dates-range-summary button span {
  color: #63738e;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.dates-range-summary button strong {
  color: #07162d;
  font-size: 1.02rem;
  line-height: 1.1;
}

.dates-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 18px 10px;
}

.dates-quick-actions button {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(10, 169, 174, .18);
  border-radius: 999px;
  background: rgba(10, 169, 174, .07);
  color: #007f86;
  font-size: .78rem;
  font-weight: 800;
  cursor: pointer;
}

.dates-quick-actions button:hover,
.dates-quick-actions button:focus-visible {
  background: rgba(10, 169, 174, .13);
}

.date-day.is-disabled,
.date-day:disabled {
  opacity: .34;
  color: #9aa8ba;
  background: transparent;
  cursor: not-allowed;
}

.date-day.is-start,
.date-day.is-end {
  background: #008b8f;
  color: #fff;
  font-weight: 900;
}

.date-day.is-selected span,
.date-day.is-start span,
.date-day.is-end span {
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
  opacity: 1;
}

.date-day.is-in-range:not(.is-selected) {
  background: rgba(10, 169, 174, .13);
  color: #07162d;
}

.dates-actions [data-dates-apply]:disabled {
  opacity: .45;
  cursor: not-allowed;
  box-shadow: none;
}

@media (min-width: 981px) and (max-width: 1280px) {
  .dates-popover {
    position: fixed;
    top: 92px;
    left: 18px;
    right: 18px;
    width: auto;
    max-height: calc(100dvh - 112px);
    overflow: auto;
    transform: none;
  }
}

@media (max-width: 980px) {
  .marketplace-filter-toggle-mobile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid rgba(12, 44, 71, .13);
    border-radius: 999px;
    background: #fff;
    color: #07162d;
    font-weight: 800;
    cursor: pointer;
  }

  .marketplace-results {
    order: 1;
  }

  .marketplace-map-panel {
    order: 3;
  }

  .marketplace-filters {
    position: fixed !important;
    top: auto !important;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 260;
    max-height: 86dvh;
    overflow: auto;
    border-radius: 24px 24px 0 0;
    box-shadow: 0 -24px 60px rgba(5, 25, 43, .22);
    transform: translateY(calc(100% + 24px));
    transition: transform .24s ease;
  }

  .marketplace-page.filters-open {
    overflow: hidden;
  }

  .marketplace-page.filters-open .marketplace-filters {
    transform: translateY(0);
  }

  .marketplace-filter-overlay {
    position: fixed;
    inset: 0;
    z-index: 250;
    display: none;
    background: rgba(3, 17, 31, .42);
    backdrop-filter: blur(2px);
  }

  .marketplace-page.filters-open .marketplace-filter-overlay {
    display: block;
  }

  .marketplace-filter-close {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    border: 1px solid rgba(12, 44, 71, .10) !important;
    border-radius: 999px;
    background: #f7fafc !important;
    color: #07162d !important;
  }

  .marketplace-sortbar {
    position: sticky;
    top: 0;
    z-index: 40;
    flex-wrap: wrap;
    min-height: auto;
    padding: 12px;
    border-radius: 16px;
  }

  .marketplace-sortbar label {
    margin-left: auto;
  }

  .marketplace-summary {
    flex: 1 1 100%;
    order: 3;
    line-height: 1.4;
  }

  .dates-popover {
    position: fixed;
    top: 86px;
    right: 12px;
    left: 12px;
    width: auto;
    max-height: calc(100dvh - 104px);
    overflow: auto;
    transform: none;
  }

  .dates-actions {
    position: sticky;
    bottom: 0;
    background: #fff;
  }
}

@media (max-width: 640px) {
  .marketplace-search-shell {
    padding: 12px 0 16px;
  }

  .marketplace-search {
    border-radius: 20px;
  }

  .marketplace-search-field {
    min-height: 66px;
    padding: 12px 16px;
  }

  .marketplace-search button[type="submit"] {
    min-height: 50px;
    margin: 8px;
  }

  .destination-suggestions,
  .guests-popover {
    position: fixed;
    top: 82px;
    right: 12px;
    left: 12px;
    width: auto;
    max-height: calc(100dvh - 104px);
    overflow: auto;
    transform: none;
  }

  .dates-popover {
    top: 72px;
    right: 8px;
    left: 8px;
    max-height: calc(100dvh - 82px);
    border-radius: 18px;
  }

  .dates-range-summary {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 12px 12px 8px;
  }

  .dates-range-summary button {
    min-height: 58px;
    padding: 10px;
  }

  .dates-quick-actions {
    gap: 6px;
    padding: 0 12px 8px;
  }

  .dates-quick-actions button {
    min-height: 32px;
    padding: 0 10px;
    font-size: .74rem;
  }

  .dates-calendar-head {
    grid-template-columns: 38px 1fr 38px;
    padding: 10px 12px 4px;
  }

  .dates-months {
    padding: 6px 12px 12px;
  }

  .date-grid {
    gap: 3px;
  }

  .date-weekday,
  .date-day {
    min-height: 38px;
    border-radius: 9px;
    font-size: .8rem;
  }

  .dates-actions {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 8px;
    padding: 10px 12px 12px;
  }

  .dates-actions span {
    grid-column: 1 / -1;
    margin-right: 0;
  }

  .dates-actions button {
    width: 100%;
  }

  .marketplace-trust-row {
    grid-template-columns: 1fr;
  }

  .marketplace-sortbar label {
    width: 100%;
    margin-left: 0;
    justify-content: space-between;
  }

  .marketplace-sortbar select {
    min-width: 0;
    flex: 1;
  }
}

.selected-empty-state {
  padding: 18px;
  border-radius: 16px;
  background: rgba(10, 169, 174, .06);
}

.selected-empty-state h3 {
  margin: 0 0 6px;
  color: #07162d;
  font-size: 1rem;
}

.selected-empty-state p {
  margin: 0;
  color: #63738e;
  font-size: .86rem;
  line-height: 1.45;
}

.filter-block label.is-empty {
  opacity: .46;
}

.filter-block label.is-empty input {
  cursor: not-allowed;
}

.filter-block:not(.open) > :not(.filter-toggle) {
  display: none;
}

.filter-block:not(.open) .filter-toggle span {
  transform: rotate(180deg);
}

.filter-toggle span {
  display: inline-block;
  transition: transform .18s ease;
}


/* v133 — range picker real: primer clic entrada, segundo clic salida, preview de rango */
.dates-popover {
  width: min(820px, 94vw);
}

.date-day.is-pending-start {
  box-shadow: 0 0 0 3px rgba(10, 169, 174, .16);
}

.date-day.is-preview-range:not(.is-selected),
.date-day.is-preview-range:not(.is-selected):hover {
  background: rgba(10, 169, 174, .18);
  color: #07162d;
}

.date-day.is-preview-end {
  background: rgba(0, 139, 143, .90);
  color: #fff;
  font-weight: 900;
}

.dates-range-summary button.active::after {
  content: "Seleccionando";
  justify-self: start;
  margin-top: 2px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(10, 169, 174, .10);
  color: #007f86;
  font-size: .66rem;
  font-weight: 850;
  letter-spacing: .02em;
}

@media (max-width: 640px) {
  .dates-popover {
    overflow: auto;
  }

  .dates-range-summary button.active::after {
    font-size: .6rem;
  }
}


/* v135 — rango estable por dos clics: entrada + salida; el calendario solo cierra con Aplicar */
.dates-months,
.date-grid,
.date-day {
  -webkit-user-select: none;
  user-select: none;
}

.date-day {
  touch-action: manipulation;
}

.dates-actions {
  position: sticky;
  bottom: 0;
  z-index: 3;
  background: #fff;
}

.date-day.is-pending-start {
  position: relative;
}

.date-day.is-pending-start::after {
  content: "";
  position: absolute;
  right: 6px;
  bottom: 5px;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: currentColor;
  opacity: .75;
}

/* v137 — buscador sin mapa: más espacio para resultados y sin columna lateral */
.marketplace-layout {
  grid-template-columns: 285px minmax(0, 1fr) !important;
  grid-template-areas: "filters results" !important;
  gap: 24px;
  align-items: start;
  padding-bottom: 0 !important;
}

.marketplace-filters {
  grid-area: filters;
}

.marketplace-results {
  grid-area: results !important;
  min-width: 0;
}

.marketplace-results-support {
  margin-top: 18px;
  border-radius: 16px;
}

.marketplace-results-support > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.marketplace-results-support span {
  min-height: 100%;
}

@media (min-width: 1281px) {
  .marketplace-container {
    width: min(94vw, 1380px);
  }

  .marketplace-card {
    grid-template-columns: 220px minmax(0, 1fr) 168px;
  }
}

@media (max-width: 980px) {
  .marketplace-layout {
    grid-template-columns: 1fr !important;
    grid-template-areas: "results" !important;
  }

  .marketplace-results-support > div {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .marketplace-results-support {
    margin-top: 12px;
  }
}

/* v137 — el overlay de filtros no debe ocupar una celda del grid en desktop */
.marketplace-filter-overlay {
  display: none;
}

/* v138 — buscador con filtros superiores y mapa fijo a la derecha */
.marketplace-results-container {
  display: grid;
  gap: 18px;
}

.marketplace-filters-top {
  grid-area: auto !important;
  position: sticky !important;
  top: 72px !important;
  z-index: 85;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 68px;
  padding: 12px 14px;
  overflow: visible;
  border-radius: 20px;
  background:
    linear-gradient(90deg, rgba(255, 122, 26, .10), rgba(10, 169, 174, .07)),
    #fff;
  border: 1px solid rgba(12, 44, 71, .08);
  box-shadow: 0 16px 38px rgba(5, 25, 43, .07);
}

.marketplace-filters-top .marketplace-filter-head {
  flex: 0 0 auto;
  display: inline-flex;
  gap: 12px;
  align-items: center;
  padding: 0;
  border-bottom: 0;
}

.marketplace-filters-top .marketplace-filter-head h2 {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0 16px;
  border-radius: 999px;
  color: #07162d;
  background: #fff;
  border: 1px solid rgba(12, 44, 71, .12);
  box-shadow: 0 8px 22px rgba(5, 25, 43, .05);
  font-size: .9rem;
  white-space: nowrap;
}

.marketplace-filters-top .marketplace-filter-head h2::before {
  content: "☷";
  color: #008b8f;
  font-weight: 900;
}

.marketplace-filters-top .marketplace-filter-actions button {
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(12, 44, 71, .10);
  border-radius: 999px;
  background: rgba(255,255,255,.78);
  color: #008b8f;
  white-space: nowrap;
}

.marketplace-filters-top .marketplace-filter-close {
  display: none !important;
}

.marketplace-filters-top .filter-block,
.marketplace-filters-top .filter-details {
  position: relative;
  flex: 0 0 auto;
  padding: 0;
  border: 0;
}

.marketplace-filters-top .filter-toggle,
.marketplace-filters-top .filter-details summary {
  display: inline-flex;
  width: auto;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 16px;
  border: 1px solid rgba(12, 44, 71, .12);
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  color: #07162d;
  box-shadow: 0 8px 22px rgba(5, 25, 43, .045);
  font-size: .86rem;
  font-weight: 750;
  white-space: nowrap;
  cursor: pointer;
}

.marketplace-filters-top .filter-toggle small {
  color: #52617a;
  font-size: .78rem;
  font-weight: 700;
}

.marketplace-filters-top .filter-toggle span {
  color: #008b8f;
  transition: transform .18s ease;
}

.marketplace-filters-top .filter-block.open .filter-toggle,
.marketplace-filters-top .filter-details[open] summary,
.marketplace-filters-top .filter-toggle:hover,
.marketplace-filters-top .filter-details summary:hover {
  border-color: rgba(10, 169, 174, .32);
  background: #fff;
  color: #008b8f;
}

.marketplace-filters-top .filter-block.open .filter-toggle span {
  transform: rotate(180deg);
}

.marketplace-filters-top .filter-popover,
.marketplace-filters-top .filter-details .filter-popover {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 120;
  display: none;
  width: min(310px, 86vw);
  height: 300px;
  overflow: auto;
  padding: 16px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(12, 44, 71, .10);
  box-shadow: 0 24px 60px rgba(5, 25, 43, .16);
}

.marketplace-filters-top .filter-popover-wide {
  width: min(360px, 88vw);
}

.marketplace-filters-top .filter-block.open .filter-popover,
.marketplace-filters-top .filter-details[open] .filter-popover {
  display: grid !important;
  gap: 8px;
}

.marketplace-filters-top .filter-price-label {
  margin: 0 0 8px;
}

.marketplace-filters-top .filter-block label,
.marketplace-filters-top .filter-details label {
  padding: 0;
  margin: 8px 0;
  min-height: 28px;
}

.marketplace-filters-top .filter-details summary::after,
.marketplace-filters-top .filter-details[open] summary::after {
  content: "⌄";
  float: none;
  color: #008b8f;
  transition: transform .18s ease;
}

.marketplace-filters-top .filter-details[open] summary::after {
  transform: rotate(180deg);
}

.marketplace-layout-with-map,
.marketplace-layout {
  grid-template-columns: minmax(0, 1fr) minmax(420px, 42vw) !important;
  grid-template-areas: "results map" !important;
  gap: 24px !important;
  align-items: start !important;
}

.marketplace-results {
  grid-area: results !important;
}

.marketplace-map-panel-fixed,
.marketplace-map-panel {
  grid-area: map !important;
  display: block !important;
  position: sticky !important;
  top: 154px !important;
  align-self: start !important;
  height: calc(100dvh - 172px);
  min-height: 460px;
  z-index: 5;
}

.marketplace-map-panel-fixed .google-map-card,
.marketplace-map-panel-fixed .marketplace-map {
  height: 100% !important;
  min-height: 460px;
  border-radius: 22px;
}

.marketplace-map-panel-fixed iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

.marketplace-map-panel-fixed .google-map-overlay {
  left: 18px;
  right: 18px;
  bottom: 18px;
}

.marketplace-card {
  grid-template-columns: 220px minmax(0, 1fr) 150px;
}

.marketplace-filter-toggle-mobile {
  display: none !important;
}

@media (min-width: 1500px) {
  .marketplace-layout-with-map,
  .marketplace-layout {
    grid-template-columns: minmax(0, 1fr) minmax(500px, 43vw) !important;
  }
}

@media (max-width: 1180px) {
  .marketplace-filters-top {
    flex-wrap: wrap;
    overflow: visible;
  }

  .marketplace-layout-with-map,
  .marketplace-layout {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 38vw) !important;
    gap: 18px !important;
  }

  .marketplace-card {
    grid-template-columns: 170px minmax(0, 1fr);
  }

  .marketplace-card-price {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}

@media (max-width: 980px) {
  .marketplace-filters-top {
    position: relative !important;
    top: auto !important;
    z-index: 20;
    align-items: flex-start;
    margin-bottom: 4px;
    overflow-x: auto;
  }

  .marketplace-filters-top .filter-popover,
  .marketplace-filters-top .filter-details .filter-popover {
    position: fixed;
    top: 86px;
    right: 12px;
    left: 12px;
    width: auto;
    max-height: calc(100dvh - 108px);
    overflow: auto;
  }

  .marketplace-layout-with-map,
  .marketplace-layout {
    grid-template-columns: 1fr !important;
    grid-template-areas: "map" "results" !important;
  }

  .marketplace-map-panel-fixed,
  .marketplace-map-panel {
    position: relative !important;
    top: auto !important;
    height: min(420px, 54dvh);
    min-height: 300px;
  }

  .marketplace-map-panel-fixed .google-map-card,
  .marketplace-map-panel-fixed .marketplace-map {
    min-height: 300px;
  }

  .marketplace-card {
    grid-template-columns: 1fr;
  }

  .marketplace-card-price {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .marketplace-filters-top {
    width: calc(100vw - 24px);
    margin-inline: auto;
    padding: 10px;
    border-radius: 18px;
  }

  .marketplace-filters-top .marketplace-filter-head h2,
  .marketplace-filters-top .filter-toggle,
  .marketplace-filters-top .filter-details summary {
    min-height: 38px;
    padding: 0 13px;
    font-size: .8rem;
  }

  .marketplace-filters-top .marketplace-filter-actions button {
    min-height: 36px;
  }

  .marketplace-map-panel-fixed,
  .marketplace-map-panel {
    height: 300px;
  }
}

/* v139 — mapa fijo en desktop; solo la columna de resultados hace scroll */
@media (min-width: 981px) {
  .marketplace-results-section {
    padding-bottom: 34px;
  }

  .marketplace-layout-with-map,
  .marketplace-layout {
    height: calc(100dvh - 128px) !important;
    min-height: 620px;
    max-height: 920px;
    align-items: stretch !important;
    overflow: visible;
  }

  .marketplace-results {
    min-height: 0;
    height: 100%;
    max-height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    padding: 0 10px 28px 0;
    scrollbar-gutter: stable;
  }

  .marketplace-results::-webkit-scrollbar {
    width: 10px;
  }

  .marketplace-results::-webkit-scrollbar-track {
    background: rgba(12, 44, 71, .06);
    border-radius: 999px;
  }

  .marketplace-results::-webkit-scrollbar-thumb {
    background: rgba(10, 169, 174, .34);
    border-radius: 999px;
    border: 2px solid rgba(255,255,255,.86);
  }

  .marketplace-sortbar {
    position: sticky;
    top: 0;
    z-index: 35;
    margin-bottom: 0;
    border-radius: 18px 18px 0 0;
  }

  .marketplace-list {
    padding-top: 16px;
  }

  .marketplace-map-panel-fixed,
  .marketplace-map-panel {
    position: sticky !important;
    top: 16px !important;
    align-self: stretch !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: 100% !important;
    overflow: hidden;
  }

  .marketplace-map-panel-fixed .google-map-card,
  .marketplace-map-panel-fixed .marketplace-map,
  .marketplace-map-panel .google-map-card,
  .marketplace-map-panel .marketplace-map {
    height: 100% !important;
    min-height: 0 !important;
  }

  .marketplace-map-panel-fixed iframe,
  .marketplace-map-panel iframe {
    height: 100% !important;
  }
}

/* v140 — paginación real y popup de pin en mapa */
.marketplace-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 20px 22px;
  margin-top: 14px;
  border: 1px solid rgba(12, 44, 71, .09);
  border-radius: 18px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 12px 28px rgba(5, 25, 43, .045);
}

.marketplace-pagination p {
  margin: 0;
  color: #52617a;
  font-size: .9rem;
}

.marketplace-pagination strong {
  color: #07162d;
}

.marketplace-pagination-controls {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.marketplace-pagination-controls button {
  min-width: 40px;
  min-height: 40px;
  padding: 0 13px;
  border: 1px solid rgba(12, 44, 71, .14);
  border-radius: 999px;
  color: #07162d;
  background: #fff;
  font-weight: 800;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, background-color .18s ease, color .18s ease, box-shadow .18s ease;
}

.marketplace-pagination-controls button:hover:not(:disabled),
.marketplace-pagination-controls button:focus-visible:not(:disabled),
.marketplace-pagination-controls button.is-active {
  color: #fff;
  border-color: #008b8f;
  background: #008b8f;
  box-shadow: 0 10px 24px rgba(0, 139, 143, .2);
  outline: none;
}

.marketplace-pagination-controls button:disabled {
  color: #98a4b5;
  background: #f2f6f8;
  cursor: not-allowed;
}

.marketplace-page-gap {
  color: #75829a;
  font-weight: 800;
  padding: 0 2px;
}

.map-property-popup {
  position: absolute;
  z-index: 8;
  width: min(342px, calc(100% - 28px));
  max-height: min(520px, calc(100% - 28px));
  overflow: auto;
  padding: 16px;
  border: 1px solid rgba(10, 169, 174, .22);
  border-radius: 22px;
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 24px 56px rgba(5, 25, 43, .24);
  transform: translate(-50%, calc(-100% - 18px));
  backdrop-filter: blur(16px);
}

.map-property-popup[hidden] {
  display: none !important;
}

.map-property-popup.is-left {
  transform: translate(-86%, calc(-100% - 18px));
}

.map-property-popup.is-right {
  transform: translate(-14%, calc(-100% - 18px));
}

.map-property-popup::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -9px;
  width: 18px;
  height: 18px;
  background: rgba(255, 255, 255, .97);
  border-right: 1px solid rgba(10, 169, 174, .22);
  border-bottom: 1px solid rgba(10, 169, 174, .22);
  transform: translateX(-50%) rotate(45deg);
}

.map-property-popup.is-left::after {
  left: 86%;
}

.map-property-popup.is-right::after {
  left: 14%;
}

.map-popup-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(12, 44, 71, .1);
  border-radius: 999px;
  color: #07162d;
  background: rgba(255,255,255,.92);
  font-size: 1.15rem;
  font-weight: 900;
  cursor: pointer;
  z-index: 2;
}

.map-popup-label {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  margin-bottom: 12px;
  border-radius: 999px;
  color: #008b8f;
  background: rgba(10, 169, 174, .1);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .02em;
}

.map-popup-head {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.map-popup-head img {
  width: 96px;
  height: 86px;
  object-fit: cover;
  border-radius: 16px;
}

.map-popup-head h3 {
  margin: 0 28px 6px 0;
  color: #07162d;
  font-size: 1rem;
  line-height: 1.2;
}

.map-popup-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  margin-top: 12px;
}

.map-popup-body ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #52617a;
  font-size: .85rem;
}

.map-popup-body li {
  position: relative;
  padding-left: 18px;
}

.map-popup-body li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #00a96b;
  font-weight: 900;
}

.map-popup-price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 2px;
  text-align: right;
  color: #07162d;
}

.map-popup-price span,
.map-popup-price small {
  display: block;
  color: #52617a;
  font-size: .78rem;
}

.map-popup-price small {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  margin-top: 2px;
  line-height: 1.15;
}

.map-popup-price .price-period,
.map-popup-price .price-subline,
.map-popup-price .price-total-line {
  display: block;
  margin-top: 0;
  white-space: normal;
}

.map-popup-price strong {
  display: block;
  color: #07162d;
  font-size: 1.45rem;
  line-height: 1.05;
}

.map-popup-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 10px;
}

.map-popup-actions .whatsapp-btn {
  grid-column: 1 / -1;
}

.map-popup-actions .selected-favorite,
.map-popup-actions .detail-btn,
.map-popup-actions .whatsapp-btn {
  min-height: 42px;
  justify-content: center;
  text-align: center;
}

.google-map-pins {
  z-index: 4;
}

.google-map-overlay {
  z-index: 5;
}

@media (max-width: 1180px) {
  .marketplace-pagination {
    align-items: flex-start;
    flex-direction: column;
  }

  .marketplace-pagination-controls {
    justify-content: flex-start;
  }
}

@media (max-width: 980px) {
  .map-property-popup {
    position: fixed;
    left: 12px !important;
    right: 12px;
    bottom: 16px;
    top: auto !important;
    width: auto;
    max-height: min(72dvh, 540px);
    transform: none !important;
  }

  .map-property-popup::after {
    display: none;
  }
}

@media (max-width: 640px) {
  .marketplace-pagination {
    padding: 14px;
  }

  .marketplace-pagination-controls button {
    min-width: 38px;
    min-height: 38px;
    padding: 0 11px;
  }

  .map-popup-head,
  .map-popup-body,
  .map-popup-actions {
    grid-template-columns: 1fr;
  }

  .map-popup-head img {
    width: 100%;
    height: 150px;
  }

  .map-popup-price {
    text-align: left;
  }
}

.map-property-popup.is-below {
  transform: translate(-50%, 18px);
}

.map-property-popup.is-left.is-below {
  transform: translate(-86%, 18px);
}

.map-property-popup.is-right.is-below {
  transform: translate(-14%, 18px);
}

.map-property-popup.is-below::after {
  top: -9px;
  bottom: auto;
  border: 0;
  border-left: 1px solid rgba(10, 169, 174, .22);
  border-top: 1px solid rgba(10, 169, 174, .22);
}

.marketplace-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;
}

/* v143 — filtros centrados como extensión visual del bloque Buscar */
.marketplace-search-shell {
  padding: 24px 0 22px;
  background:
    radial-gradient(circle at 14% 0%, rgba(10, 169, 174, .10), transparent 34%),
    radial-gradient(circle at 86% 0%, rgba(255, 122, 26, .10), transparent 36%),
    #fff;
  border-bottom: 1px solid rgba(12, 44, 71, .08);
}

.marketplace-search-zone {
  display: grid;
  justify-items: center;
  gap: 14px;
}

.marketplace-search-zone .marketplace-search,
.marketplace-search-zone .marketplace-filters-top {
  width: min(100%, 1320px);
}

.marketplace-search-zone .marketplace-filters-top {
  position: relative !important;
  top: auto !important;
  z-index: 82;
  justify-content: center;
  flex-wrap: wrap;
  margin: 0 auto;
  min-height: 64px;
  padding: 12px 16px;
  border-radius: 18px;
  background:
    linear-gradient(90deg, rgba(255, 122, 26, .11), rgba(10, 169, 174, .075)),
    rgba(255, 255, 255, .94);
  border: 1px solid rgba(12, 44, 71, .09);
  box-shadow: 0 14px 34px rgba(5, 25, 43, .065);
}

.marketplace-search-zone .marketplace-filters-top::before {
  content: "";
  position: absolute;
  inset: -9px;
  z-index: -1;
  border-radius: 24px;
  background: rgba(255, 255, 255, .42);
  border: 1px solid rgba(12, 44, 71, .035);
}

.marketplace-search-zone .marketplace-filters-top .marketplace-filter-head h2,
.marketplace-search-zone .marketplace-filters-top .filter-toggle,
.marketplace-search-zone .marketplace-filters-top .filter-details summary,
.marketplace-search-zone .marketplace-filters-top .marketplace-filter-actions button {
  box-shadow: none;
}

.marketplace-results-section {
  padding-top: 18px;
}

.marketplace-results-container {
  display: block;
}

@media (max-width: 980px) {
  .marketplace-search-zone {
    gap: 12px;
  }

  .marketplace-search-zone .marketplace-filters-top {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding: 10px;
  }

  .marketplace-search-zone .marketplace-filters-top::before {
    inset: -6px;
    border-radius: 22px;
  }
}

@media (max-width: 640px) {
  .marketplace-search-shell {
    padding: 16px 0 18px;
  }

  .marketplace-search-zone .marketplace-filters-top {
    width: 100%;
    margin-inline: 0;
  }
}

/* v144 — Fondo uniforme y filtros sin card contenedor */
.marketplace-search-shell {
  padding: 24px 0 22px;
  background: #f4f8fa;
  border-bottom: 1px solid rgba(12, 44, 71, .08);
}

.marketplace-search-zone {
  gap: 12px;
}

.marketplace-search-zone .marketplace-search,
.marketplace-search-zone .marketplace-filters-top {
  width: min(100%, 1320px);
}

.marketplace-search-zone .marketplace-filters-top {
  position: relative !important;
  top: auto !important;
  z-index: 82;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin: 0 auto;
  min-height: 48px;
  padding: 0 6px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.marketplace-search-zone .marketplace-filters-top::before {
  display: none;
  content: none;
}

.marketplace-search-zone .marketplace-filters-top .marketplace-filter-head h2,
.marketplace-search-zone .marketplace-filters-top .filter-toggle,
.marketplace-search-zone .marketplace-filters-top .filter-details summary,
.marketplace-search-zone .marketplace-filters-top .marketplace-filter-actions button {
  background: #fff;
  border: 1px solid rgba(12, 44, 71, .12);
  box-shadow: 0 8px 20px rgba(5, 25, 43, .045);
}

.marketplace-search-zone .marketplace-filters-top .filter-block.open .filter-toggle,
.marketplace-search-zone .marketplace-filters-top .filter-details[open] summary,
.marketplace-search-zone .marketplace-filters-top .filter-toggle:hover,
.marketplace-search-zone .marketplace-filters-top .filter-details summary:hover {
  background: #fff;
  border-color: rgba(10, 169, 174, .32);
  color: #008b8f;
}

.marketplace-search-zone .marketplace-filters-top .filter-popover,
.marketplace-search-zone .marketplace-filters-top .filter-details .filter-popover {
  background: #fff;
}

@media (max-width: 980px) {
  .marketplace-search-zone .marketplace-filters-top {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding: 0 2px 4px;
  }
}

@media (max-width: 640px) {
  .marketplace-search-shell {
    padding: 16px 0 18px;
    background: #f4f8fa;
  }
}

/* v145 — barra Buscar + filtros fija; solo resultados hacen scroll */
:root {
  --marketplace-header-fixed-height: 72px;
  --marketplace-search-fixed-height: 180px;
  --marketplace-fixed-search-gap: 18px;
}

@media (min-width: 981px) {
  body.marketplace-page {
    overflow: hidden;
  }

  .marketplace-header {
    z-index: 150;
  }

  .marketplace-search-shell {
    position: fixed;
    top: var(--marketplace-header-fixed-height);
    left: 0;
    right: 0;
    z-index: 120;
    width: 100%;
    box-shadow: 0 12px 28px rgba(5, 25, 43, .06);
  }

  .marketplace-search-shell .dates-popover,
  .marketplace-search-shell .destination-suggestions,
  .marketplace-search-shell .guests-popover,
  .marketplace-search-shell .filter-popover,
  .marketplace-search-shell .filter-details .filter-popover {
    z-index: 180;
  }

  .marketplace-results-section {
    padding-top: calc(var(--marketplace-search-fixed-height) + var(--marketplace-fixed-search-gap)) !important;
    padding-bottom: 0 !important;
  }

  .marketplace-layout-with-map,
  .marketplace-layout {
    height: calc(100dvh - var(--marketplace-header-fixed-height) - var(--marketplace-search-fixed-height) - var(--marketplace-fixed-search-gap)) !important;
    min-height: 0 !important;
    max-height: none !important;
    align-items: stretch !important;
  }

  .marketplace-results {
    height: 100% !important;
    max-height: 100% !important;
    min-height: 0 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
  }

  .marketplace-map-panel-fixed,
  .marketplace-map-panel {
    position: relative !important;
    top: auto !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: 100% !important;
    overflow: hidden !important;
  }

  .marketplace-map-panel-fixed .google-map-card,
  .marketplace-map-panel-fixed .marketplace-map,
  .marketplace-map-panel .google-map-card,
  .marketplace-map-panel .marketplace-map {
    height: 100% !important;
    min-height: 0 !important;
  }

  .marketplace-map-panel-fixed iframe,
  .marketplace-map-panel iframe {
    height: 100% !important;
  }
}

@media (max-width: 980px) {
  body.marketplace-page {
    overflow: auto;
  }

  .marketplace-search-shell {
    position: relative;
    top: auto;
  }
}

/* v146 — invertir columnas del buscador: mapa a la izquierda, resultados a la derecha */
@media (min-width: 981px) {
  .marketplace-layout-with-map,
  .marketplace-layout {
    grid-template-columns: minmax(420px, 42vw) minmax(0, 1fr) !important;
    grid-template-areas: "map results" !important;
  }
}

@media (min-width: 1500px) {
  .marketplace-layout-with-map,
  .marketplace-layout {
    grid-template-columns: minmax(500px, 43vw) minmax(0, 1fr) !important;
  }
}

@media (min-width: 981px) and (max-width: 1180px) {
  .marketplace-layout-with-map,
  .marketplace-layout {
    grid-template-columns: minmax(360px, 38vw) minmax(0, 1fr) !important;
  }
}


/* v147 — popup de pin 100% legible dentro del mapa fijo */
@media (min-width: 981px) {
  .marketplace-map-panel-fixed .google-map-card,
  .marketplace-map-panel .google-map-card {
    overflow: hidden !important;
  }

  .map-property-popup {
    box-sizing: border-box;
    position: absolute !important;
    left: 24px !important;
    right: auto !important;
    bottom: 24px !important;
    top: auto !important;
    width: min(460px, calc(100% - 48px)) !important;
    max-width: calc(100% - 48px) !important;
    max-height: calc(100% - 48px) !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
    transform: none !important;
    z-index: 48 !important;
    padding: 18px;
    border-radius: 24px;
    background: #fff;
    border: 1px solid rgba(10, 169, 174, .24);
    box-shadow: 0 28px 70px rgba(5, 25, 43, .32);
    backdrop-filter: none;
  }

  .map-property-popup::after {
    display: none !important;
  }

  .google-map-card.has-map-popup .google-map-overlay {
    opacity: .28;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity .18s ease, transform .18s ease;
  }

  .map-popup-close {
    top: 12px;
    right: 12px;
    width: 38px;
    height: 38px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(5, 25, 43, .12);
  }

  .map-popup-label {
    margin-right: 46px;
    margin-bottom: 14px;
  }

  .map-popup-head {
    grid-template-columns: 116px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
  }

  .map-popup-head img {
    width: 116px;
    height: 98px;
    border-radius: 18px;
  }

  .map-popup-head h3 {
    margin-right: 34px;
    font-size: 1.08rem;
  }

  .map-popup-body {
    grid-template-columns: minmax(0, 1fr) minmax(112px, auto);
    align-items: end;
    gap: 18px;
  }

  .map-popup-actions {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    position: sticky;
    bottom: -18px;
    margin: 16px -18px -18px;
    padding: 12px 18px 18px;
    background: #fff;
    border-top: 1px solid rgba(12, 44, 71, .08);
    border-radius: 0 0 24px 24px;
  }

  .map-popup-actions .selected-favorite,
  .map-popup-actions .detail-btn,
  .map-popup-actions .whatsapp-btn {
    min-height: 44px;
  }

  .map-property-popup::-webkit-scrollbar {
    width: 8px;
  }

  .map-property-popup::-webkit-scrollbar-track {
    background: rgba(12, 44, 71, .06);
    border-radius: 999px;
  }

  .map-property-popup::-webkit-scrollbar-thumb {
    background: rgba(10, 169, 174, .42);
    border-radius: 999px;
  }
}

@media (min-width: 981px) and (max-width: 1180px) {
  .map-property-popup {
    left: 18px !important;
    bottom: 18px !important;
    width: min(390px, calc(100% - 36px)) !important;
    max-width: calc(100% - 36px) !important;
    max-height: calc(100% - 36px) !important;
    padding: 16px;
  }

  .map-popup-head {
    grid-template-columns: 100px minmax(0, 1fr);
    gap: 14px;
  }

  .map-popup-head img {
    width: 100px;
    height: 88px;
  }

  .map-popup-body {
    grid-template-columns: 1fr;
  }

  .map-popup-price {
    text-align: left;
  }

  .map-popup-actions {
    bottom: -16px;
    margin: 14px -16px -16px;
    padding: 12px 16px 16px;
  }
}

/* v148 — mapa popup: boton Ver detalle con estilo consistente */
.map-popup-actions .detail-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid rgba(10, 169, 174, .38);
  color: #07162d;
  background: #fff;
  box-shadow: 0 10px 24px rgba(5, 25, 43, .08);
  font-size: .92rem;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease, background-color .16s ease, color .16s ease;
}

.map-popup-actions .detail-btn::after {
  content: "→";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  color: #008b8f;
  background: rgba(10, 169, 174, .1);
  font-size: .9rem;
  font-weight: 900;
  line-height: 1;
}

.map-popup-actions .detail-btn:hover,
.map-popup-actions .detail-btn:focus-visible {
  color: #008b8f;
  background: #f4fbfb;
  border-color: rgba(0, 139, 143, .68);
  box-shadow: 0 14px 30px rgba(0, 139, 143, .14);
  transform: translateY(-1px);
  outline: none;
}

.map-popup-actions .detail-btn:active {
  transform: translateY(0);
  box-shadow: 0 8px 18px rgba(5, 25, 43, .1);
}

@media (max-width: 640px) {
  .map-popup-actions .detail-btn {
    min-height: 46px;
    font-size: .88rem;
  }
}

/* v149 — Header limpio para marketplace: solo moneda y CTA de anfitriones */
.marketplace-header-inner-lean {
  justify-content: space-between;
}

.marketplace-header-inner-lean .marketplace-brand {
  flex: 0 0 auto;
}

.marketplace-header-inner-lean .marketplace-actions {
  margin-left: auto;
}

@media (max-width: 980px) {
  .marketplace-header-inner-lean .marketplace-actions {
    display: flex;
  }
}

@media (max-width: 720px) {
  .marketplace-header-inner-lean {
    gap: 12px;
  }

  .marketplace-header-inner-lean .marketplace-brand {
    min-width: 0;
  }

  .marketplace-header-inner-lean .marketplace-brand strong {
    font-size: 1.15rem;
  }

  .marketplace-header-inner-lean .marketplace-brand small {
    display: none;
  }

  .marketplace-header-inner-lean .marketplace-actions {
    gap: 8px;
  }

  .marketplace-header-inner-lean .marketplace-currency-pill {
    width: auto;
    min-height: 38px;
    padding-inline: 8px;
  }

  .marketplace-header-inner-lean .marketplace-currency-pill select {
    width: auto;
    min-width: 86px;
    max-width: 104px;
    font-size: .82rem;
  }

  .marketplace-header-inner-lean .marketplace-publish {
    min-height: 38px;
    padding-inline: 10px;
    font-size: .82rem;
  }
}

@media (max-width: 520px) {
  .marketplace-header-inner-lean .marketplace-publish {
    display: none;
  }
}

/* v150 hardening: filtros activos, rango dual, mapa referencial y estados vacíos accionables */
.marketplace-active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
  max-width: 1180px;
  margin: 12px auto 0;
}

.marketplace-active-filters[hidden] {
  display: none;
}

.marketplace-active-filters button {
  border: 1px solid rgba(0, 151, 154, 0.22);
  background: #ffffff;
  color: #073047;
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(4, 27, 45, 0.06);
  cursor: pointer;
}

.marketplace-active-filters button span {
  color: #00979a;
  margin-left: 6px;
}

.price-range-dual {
  display: grid;
  gap: 12px;
}

.price-range-dual label {
  display: grid;
  gap: 6px;
}

.price-range-dual label span {
  font-size: 0.78rem;
  font-weight: 900;
  color: #607089;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.price-range-dual input[type="range"] {
  width: 100%;
}

.empty-marketplace-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.empty-marketplace-actions button,
.empty-marketplace-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(0, 151, 154, 0.2);
  background: #ffffff;
  color: #062640;
  padding: 0 16px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.empty-marketplace-actions a {
  background: #10b45b;
  color: #ffffff;
  border-color: #10b45b;
}

.google-map-card[data-map-mode="visual-prototype"] iframe {
  pointer-events: none;
}

.google-map-mode-note {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 82px;
  z-index: 5;
  margin: 0;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #43536a;
  font-size: 0.78rem;
  font-weight: 800;
  box-shadow: 0 8px 22px rgba(4, 27, 45, 0.12);
}

.google-map-card.has-map-popup .google-map-mode-note {
  display: none;
}

@media (max-width: 980px) {
  .marketplace-active-filters {
    padding-inline: 18px;
  }

  .google-map-mode-note {
    display: none;
  }
}

/* v151 — Compactar bloque fijo Buscar + filtros para ganar espacio útil */
@media (min-width: 981px) {
  :root {
    --marketplace-search-fixed-height: 142px;
    --marketplace-fixed-search-gap: 12px;
  }

  .marketplace-search-shell {
    padding: 12px 0 10px !important;
    background: #f5f8fa !important;
    box-shadow: 0 10px 24px rgba(5, 25, 43, .045) !important;
  }

  .marketplace-search-zone {
    gap: 8px !important;
  }

  .marketplace-search-zone .marketplace-search,
  .marketplace-search-zone .marketplace-filters-top,
  .marketplace-search-zone .marketplace-active-filters {
    width: min(100%, 1280px) !important;
  }

  .marketplace-search {
    min-height: 60px !important;
    border-radius: 16px !important;
    box-shadow: 0 12px 30px rgba(5, 25, 43, .055) !important;
  }

  .marketplace-search-field {
    min-height: 60px !important;
    padding: 9px 18px !important;
    grid-template-columns: 24px minmax(0, 1fr) !important;
    column-gap: 10px !important;
  }

  .marketplace-search-field i {
    font-size: 1.03rem !important;
  }

  .marketplace-search-field span {
    font-size: .68rem !important;
    line-height: 1.05 !important;
  }

  .marketplace-search-field input,
  .marketplace-search-field select,
  .dates-trigger,
  .guests-trigger {
    min-height: 24px !important;
    padding-top: 0 !important;
    font-size: .92rem !important;
    line-height: 1.15 !important;
  }

  .marketplace-search-field strong,
  .dates-trigger strong,
  .guests-trigger strong {
    font-size: .94rem !important;
    line-height: 1.15 !important;
  }

  .marketplace-search button[type="submit"] {
    min-height: 44px !important;
    margin: 8px 10px !important;
    border-radius: 13px !important;
    font-size: .94rem !important;
    box-shadow: 0 10px 22px rgba(255, 122, 26, .18) !important;
  }

  .marketplace-search-zone .marketplace-filters-top {
    min-height: 38px !important;
    padding: 0 !important;
    gap: 8px !important;
    justify-content: center !important;
  }

  .marketplace-search-zone .marketplace-filters-top .marketplace-filter-head h2,
  .marketplace-search-zone .marketplace-filters-top .filter-toggle,
  .marketplace-search-zone .marketplace-filters-top .filter-details summary,
  .marketplace-search-zone .marketplace-filters-top .marketplace-filter-actions button {
    min-height: 36px !important;
    padding: 0 13px !important;
    border-radius: 999px !important;
    font-size: .8rem !important;
    box-shadow: 0 6px 14px rgba(5, 25, 43, .035) !important;
  }

  .marketplace-search-zone .marketplace-filters-top .filter-toggle small {
    font-size: .72rem !important;
  }

  .marketplace-search-zone .marketplace-filters-top .marketplace-filter-head,
  .marketplace-search-zone .marketplace-filters-top .marketplace-filter-actions {
    gap: 8px !important;
  }

  .marketplace-search-zone .marketplace-active-filters {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 8px !important;
    margin: 2px auto 0 !important;
    max-width: 1280px !important;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 2px 2px 4px !important;
    scrollbar-width: thin;
  }

  .marketplace-search-zone .marketplace-active-filters[hidden] {
    display: none !important;
  }

  .marketplace-search-zone .marketplace-active-filters button {
    flex: 0 0 auto;
    min-height: 30px !important;
    padding: 0 10px !important;
    border-radius: 999px !important;
    font-size: .78rem !important;
    line-height: 1 !important;
    box-shadow: none !important;
    background: rgba(255,255,255,.88) !important;
  }

  .marketplace-search-zone .marketplace-active-filters button span {
    margin-left: 4px !important;
  }

  .marketplace-results-section {
    padding-top: calc(var(--marketplace-search-fixed-height) + var(--marketplace-fixed-search-gap)) !important;
  }

  .marketplace-layout-with-map,
  .marketplace-layout {
    height: calc(100dvh - var(--marketplace-header-fixed-height) - var(--marketplace-search-fixed-height) - var(--marketplace-fixed-search-gap)) !important;
  }

  .marketplace-sortbar {
    min-height: 58px !important;
    padding: 10px 14px !important;
    border-radius: 16px 16px 0 0 !important;
  }

  .marketplace-summary {
    font-size: .88rem !important;
    line-height: 1.35 !important;
  }

  .marketplace-sortbar label {
    gap: 8px !important;
  }

  .marketplace-sortbar select {
    min-height: 40px !important;
    padding: 0 38px 0 16px !important;
    font-size: .84rem !important;
  }

  .marketplace-list {
    padding-top: 10px !important;
  }
}

@media (min-width: 981px) and (max-width: 1180px) {
  .marketplace-search {
    grid-template-columns: minmax(210px, 1fr) minmax(190px, .82fr) minmax(180px, .78fr) minmax(190px, .82fr) 150px !important;
  }

  .marketplace-search-field {
    padding-inline: 14px !important;
  }

  .marketplace-search-zone .marketplace-filters-top,
  .marketplace-search-zone .marketplace-active-filters {
    justify-content: flex-start !important;
  }
}

@media (max-width: 980px) {
  .marketplace-search-shell {
    padding: 14px 0 12px !important;
  }

  .marketplace-search-zone {
    gap: 10px !important;
  }

  .marketplace-search-zone .marketplace-filters-top {
    min-height: 38px !important;
    gap: 8px !important;
  }

  .marketplace-active-filters {
    gap: 8px !important;
    margin-top: 6px !important;
  }

  .marketplace-active-filters button {
    min-height: 32px !important;
    padding: 0 10px !important;
    font-size: .78rem !important;
  }
}

@media (max-width: 640px) {
  .marketplace-search-field {
    min-height: 58px !important;
    padding: 10px 14px !important;
  }

  .marketplace-search button[type="submit"] {
    min-height: 46px !important;
  }
}
