/* Andalucía es tu casa — UI tipo Airbnb */

.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;
}

body.abnb-filters-open { overflow: hidden; }

/* —— Buscador pill —— */
.abnb-search {
  width: 100%;
}

.abnb-search--hero {
  max-width: none;
}

.abnb-search--compact {
  max-width: 850px;
  margin: 0 auto;
}

/* Logout POST form */
.logout-form {
  display: inline;
  margin: 0;
  padding: 0;
}

.logout-form__btn {
  border: none;
  background: none;
  padding: 0;
  font: inherit;
  font-size: 0.875rem;
  color: #737373;
  cursor: pointer;
  text-decoration: none;
}

.logout-form__btn:hover {
  color: #171717;
  text-decoration: underline;
}

.abnb-search-pill {
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid #dddddd;
  border-radius: 9999px;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.08),
    0 4px 12px rgba(0, 0, 0, 0.05);
  padding: 7px 7px 7px 0;
  transition: box-shadow 0.2s ease;
}

.abnb-search-pill:hover,
.abnb-search-pill:focus-within {
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.1),
    0 8px 24px rgba(0, 0, 0, 0.08);
}

.abnb-search-seg {
  flex: 1 1 0;
  min-width: 0;
  padding: 12px 20px;
  border-radius: 9999px;
  cursor: text;
  transition: background 0.15s ease;
}

.abnb-search-seg:hover,
.abnb-search-seg:focus-within {
  background: #f7f7f7;
}

.abnb-search-seg--where { flex: 1.4 1 0; }
.abnb-search-seg--guests {
  flex: 0.8 1 0;
  min-width: 90px;
  cursor: default;
}

.abnb-guest-stepper {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
}

.abnb-guest-stepper .abnb-field-input {
  width: 2rem;
  text-align: center;
  font-weight: 600;
  color: #222;
  -moz-appearance: textfield;
}

.abnb-guest-stepper .abnb-field-input::-webkit-outer-spin-button,
.abnb-guest-stepper .abnb-field-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.abnb-guest-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1px solid #dddddd;
  border-radius: 50%;
  background: #fff;
  color: #717171;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color 0.15s, color 0.15s;
}

.abnb-guest-btn:hover {
  border-color: #222;
  color: #222;
}

.abnb-search-errors {
  margin-top: 10px;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--brand-soft);
  border: 1px solid var(--brand-muted);
  font-size: 13px;
  color: #b91c1c;
}

.abnb-search-errors p { margin: 0; }
.abnb-search-errors p + p { margin-top: 4px; }

.abnb-search--compact {
  max-width: 850px;
  margin: 0 auto;
}

.abnb-search-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  color: #222222;
  letter-spacing: 0.01em;
}

.abnb-field-input,
.abnb-search-seg .abnb-field-input {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  outline: none !important;
  font-size: 14px;
  line-height: 1.3;
  font-weight: 400;
  color: #717171;
  appearance: none;
  -webkit-appearance: none;
}

.abnb-field-input::placeholder { color: #b0b0b0; }

.abnb-field-input[type="date"] {
  color: #717171;
  min-height: 18px;
}

.abnb-field-input[type="date"]::-webkit-calendar-picker-indicator {
  opacity: 0.5;
  cursor: pointer;
}

.abnb-search-divider {
  width: 1px;
  height: 32px;
  background: #dddddd;
  flex-shrink: 0;
}

.abnb-search-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-shrink: 0;
  height: 48px;
  min-width: 48px;
  margin-left: 4px;
  padding: 0 16px;
  border: none;
  border-radius: 9999px;
  background: linear-gradient(to right, var(--brand) 0%, var(--brand) 50%, var(--brand-dark) 100%);
  color: #fff;
  cursor: pointer;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.abnb-search--hero .abnb-search-submit {
  padding: 0 20px;
}

.abnb-search-submit:hover {
  filter: brightness(1.06);
  transform: scale(1.02);
}

.abnb-search-submit svg {
  width: 16px;
  height: 16px;
}

.abnb-search-submit-text {
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
}

.abnb-search-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}

.abnb-search-meta--compact {
  justify-content: center;
  margin-top: 10px;
}

.abnb-search-city select {
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-radius: 9999px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  outline: none;
}

.abnb-search-city select option {
  color: #222;
  background: #fff;
}

.abnb-filters-trigger,
.abnb-map-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
  text-decoration: none;
}

.abnb-search--hero .abnb-filters-trigger,
.abnb-search--hero .abnb-map-link {
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.abnb-search--hero .abnb-filters-trigger:hover,
.abnb-search--hero .abnb-map-link:hover {
  background: rgba(255, 255, 255, 0.2);
}

.abnb-search--compact .abnb-filters-trigger {
  border: 1px solid #dddddd;
  background: #fff;
  color: #222;
}

.abnb-search--compact .abnb-filters-trigger:hover {
  border-color: #222;
}

.abnb-filters-trigger svg,
.abnb-map-link svg {
  width: 16px;
  height: 16px;
}

/* Modal filtros */
.abnb-filters-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10040;
  background: rgba(0, 0, 0, 0.45);
}

.abnb-filters-modal {
  position: fixed;
  inset: 0;
  z-index: 10045;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
}

.abnb-filters-modal:not([hidden]) {
  pointer-events: auto;
}

.abnb-filters-modal-inner {
  width: 100%;
  max-width: 640px;
  max-height: 90vh;
  background: #fff;
  border-radius: 16px 16px 0 0;
  box-shadow: 0 -4px 32px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  animation: abnb-slide-up 0.25s ease;
}

@media (min-width: 640px) {
  .abnb-filters-modal {
    align-items: center;
    padding: 24px;
  }
  .abnb-filters-modal-inner {
    border-radius: 16px;
    max-height: 85vh;
  }
}

@keyframes abnb-slide-up {
  from { transform: translateY(24px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.abnb-filters-header {
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid #ebebeb;
}

.abnb-filters-title {
  text-align: center;
  font-size: 16px;
  font-weight: 600;
}

.abnb-filters-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  border-radius: 50%;
  cursor: pointer;
}

.abnb-filters-close:hover { background: #f7f7f7; }
.abnb-filters-close svg { width: 18px; height: 18px; }

.abnb-filters-body {
  overflow-y: auto;
  padding: 24px;
}

.abnb-filters-grid {
  display: grid;
  gap: 20px;
}

@media (min-width: 480px) {
  .abnb-filters-grid { grid-template-columns: 1fr 1fr; }
}

.abnb-filter-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #222;
  margin-bottom: 8px;
}

.abnb-filter-input,
.abnb-filter-field select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #b0b0b0;
  border-radius: 8px;
  font-size: 14px;
  color: #222;
  background: #fff;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.abnb-filter-input:focus,
.abnb-filter-field select:focus {
  border-color: #222;
  box-shadow: 0 0 0 2px rgba(34, 34, 34, 0.08);
}

.abnb-amenity-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid #dddddd;
  border-radius: 9999px;
  font-size: 14px;
  cursor: pointer;
  transition: border-color 0.15s ease;
}

.abnb-amenity-chip:has(input:checked) {
  border-color: #222;
  background: #f7f7f7;
}

.abnb-amenity-chip input { accent-color: #222; }

.abnb-link-btn {
  border: none;
  background: none;
  font-size: 14px;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
  color: #222;
}

.abnb-btn-primary {
  padding: 14px 24px;
  border: none;
  border-radius: 8px;
  background: #222;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}

.abnb-btn-primary:hover { background: #000; }

/* Barra filtros listado */
.abnb-filter-bar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid #ebebeb;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}

.abnb-filter-bar__inner {
  max-width: 1760px;
  margin: 0 auto;
  padding: 14px 16px 16px;
}

@media (min-width: 640px) {
  .abnb-filter-bar__inner {
    padding: 16px 24px 18px;
  }
}

.abnb-filter-bar__search {
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
}

.abnb-search-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

.abnb-search-meta--compact {
  justify-content: center;
}

.abnb-search--compact .abnb-map-link--primary {
  border: 1px solid #222;
  background: #222;
  color: #fff;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.abnb-search--compact .abnb-map-link--primary:hover {
  background: #000;
  border-color: #000;
}

.abnb-chip {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border: 1px solid #dddddd;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 500;
  color: #222;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.abnb-chip:hover { border-color: #222; }

.abnb-chip--active {
  background: #222;
  border-color: #222;
  color: #fff;
}

.abnb-map-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid #dddddd;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  color: #222;
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.15s ease;
}

.abnb-map-btn:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Responsive buscador */
@media (max-width: 767px) {
  .abnb-search-pill {
    flex-wrap: wrap;
    border-radius: 20px;
    padding: 8px;
    gap: 4px;
  }

  .abnb-search-seg {
    flex: 1 1 calc(50% - 4px);
    padding: 10px 14px;
    border-radius: 14px;
  }

  .abnb-search-seg--where {
    flex: 1 1 100%;
  }

  .abnb-search-seg--checkout,
  .abnb-search-seg--dates {
    flex: 1 1 calc(50% - 4px);
  }

  .abnb-search-seg--guests {
    flex: 1 1 100%;
  }

  .abnb-search-divider,
  .abnb-search-divider--mid {
    display: none;
  }

  .abnb-search-submit {
    flex: 1 1 100%;
    width: 100%;
    margin: 4px 0 0;
    height: 46px;
    border-radius: 14px;
  }

  .abnb-search--hero .abnb-search-submit-text {
    display: inline;
  }

  .abnb-search-meta {
    justify-content: center;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .abnb-search-seg { padding: 10px 14px; }
  .abnb-search--hero .abnb-search-submit-text { display: none; }
}

@media (max-width: 1023px) {
  .abnb-map-search .abnb-search--compact {
    max-width: none;
  }
  .abnb-map-search .abnb-search-pill {
    flex-direction: column;
    align-items: stretch;
    border-radius: 16px;
    padding: 8px;
  }
  .abnb-map-search .abnb-search-seg {
    flex: 1 1 auto;
    border-radius: 12px;
  }
  .abnb-map-search .abnb-search-divider { display: none; }
  .abnb-map-search .abnb-search-submit {
    width: 100%;
    margin: 4px 0 0;
    border-radius: 12px;
  }
}

@media (min-width: 1024px) {
  .abnb-map-search .abnb-search--compact {
    max-width: none;
  }
  .abnb-map-search .abnb-search-pill {
    flex-wrap: wrap;
    border-radius: 20px;
    padding: 8px;
  }
  .abnb-map-search .abnb-search-seg {
    flex: 1 1 45%;
    padding: 8px 12px;
  }
  .abnb-map-search .abnb-search-seg--where { flex: 1 1 100%; }
  .abnb-map-search .abnb-search-divider { display: none; }
  .abnb-map-search .abnb-search-submit {
    flex: 1 1 100%;
    width: 100%;
    margin-top: 4px;
    border-radius: 12px;
  }
  .abnb-map-search .abnb-search-seg--hide-sm,
  .abnb-map-search .abnb-search-divider--hide-sm { display: block; }
  .abnb-map-search .abnb-search-seg--hide-sm { flex: 1 1 45%; display: block; }
}

/* —— Cards —— */
.abnb-card { cursor: pointer; }
.abnb-card:hover .abnb-card-img { transform: scale(1.03); }

.abnb-card-img-wrap {
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 20 / 19;
  background: #f3f4f6;
}

.abnb-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.abnb-heart {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  cursor: pointer;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
  transition: transform 0.2s;
}

.abnb-heart:hover { transform: scale(1.1); }
.abnb-heart svg { width: 24px; height: 24px; }
.abnb-heart .heart-fill { fill: rgba(0, 0, 0, 0.5); }
.abnb-heart.liked .heart-fill,
.abnb-heart:hover .heart-fill { fill: #ff385c; }

.abnb-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
  z-index: 10;
}

.abnb-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  transition: all 0.2s;
}

.abnb-dot.active { background: #fff; transform: scale(1.2); }

/* —— Detalle propiedad —— */
.detail-page {
  width: 100%;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  padding: 24px 20px 96px;
}

@media (min-width: 768px) {
  .detail-page {
    padding-left: 32px;
    padding-right: 32px;
  }
}

@media (min-width: 1024px) {
  .detail-page {
    padding-bottom: 48px;
    padding-top: 32px;
  }
}

.detail-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 14px;
}

.detail-breadcrumb a {
  color: #222;
  text-decoration: underline;
  font-weight: 500;
}

.detail-breadcrumb span { color: #717171; }

.detail-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
}

.detail-title {
  font-size: clamp(1.5rem, 2.5vw, 1.75rem);
  font-weight: 600;
  line-height: 1.25;
  color: #222;
  max-width: 720px;
}

.detail-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.detail-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: none;
  background: none;
  font-size: 14px;
  font-weight: 600;
  text-decoration: underline;
  color: #222;
  cursor: pointer;
}

.detail-action-btn.is-saved { color: #ff385c; text-decoration: none; }

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 14px;
  color: #222;
}

.detail-meta a { font-weight: 600; text-decoration: underline; color: inherit; }

.detail-meta-rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
}

.detail-meta-rating svg { width: 14px; height: 14px; }

/* Galería adaptativa */
.abnb-gallery {
  display: grid;
  gap: 8px;
  height: 52vh;
  min-height: 300px;
  max-height: 520px;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 32px;
}

.abnb-gallery--1 { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.abnb-gallery--2 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr; }
.abnb-gallery--3 {
  grid-template-columns: 1.2fr 1fr;
  grid-template-rows: 1fr 1fr;
}
.abnb-gallery--3 .abnb-g-item:first-child { grid-row: 1 / 3; }
.abnb-gallery--4 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }
.abnb-gallery--5,
.abnb-gallery--many {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
}
.abnb-gallery--5 .abnb-g-item:first-child,
.abnb-gallery--many .abnb-g-item:first-child { grid-row: 1 / 3; }

@media (max-width: 768px) {
  .abnb-gallery {
    grid-template-columns: 1fr !important;
    grid-template-rows: 1fr !important;
    height: 42vh;
    min-height: 240px;
  }
  .abnb-gallery .abnb-g-item { grid-row: auto !important; }
  .abnb-gallery .abnb-g-item:not(:first-child) { display: none; }
}

.abnb-g-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: #e5e7eb;
  min-height: 0;
}

.abnb-g-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.abnb-g-item:hover img { transform: scale(1.03); }

.abnb-gallery-btn {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 2;
  display: none;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid #222;
  border-radius: 8px;
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  color: #222;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

@media (min-width: 768px) {
  .abnb-gallery-btn { display: inline-flex; }
}

.abnb-show-all {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

.detail-layout {
  display: grid;
  gap: 40px;
}

@media (min-width: 1024px) {
  .detail-layout {
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 56px;
    align-items: start;
  }
}

.detail-sidebar {
  display: none;
}

@media (min-width: 1024px) {
  .detail-sidebar {
    display: block;
  }
}

.detail-sidebar-sticky {
  position: sticky;
  top: calc(var(--detail-sticky-top, 3.25rem) + 0.5rem);
}

.detail-amenities-grid {
  display: grid;
  gap: 4px;
}

@media (min-width: 640px) {
  .detail-amenities-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.detail-reviews-grid {
  display: grid;
  gap: 0 48px;
}

@media (min-width: 640px) {
  .detail-reviews-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.detail-reviews-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 32px;
  font-size: 22px;
  font-weight: 600;
}

.detail-reviews-header svg {
  width: 24px;
  height: 24px;
}

.detail-subtext {
  color: #717171;
}

.detail-host-name {
  font-size: 18px;
  font-weight: 600;
}

.detail-host-meta {
  font-size: 14px;
  color: #717171;
}

.detail-review-author {
  font-weight: 600;
}

.detail-review-date {
  font-size: 14px;
  color: #717171;
}

.detail-review-body {
  color: #484848;
  line-height: 1.65;
}

.detail-review-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.detail-review-stars {
  margin-bottom: 8px;
}

.abnb-avatar--lg {
  width: 56px;
  height: 56px;
  font-size: 1.25rem;
}

.abnb-avatar--sm {
  width: 40px;
  height: 40px;
  font-size: 0.875rem;
}

.detail-section { padding: 32px 0; }
.detail-section:first-of-type { padding-top: 0; }

.detail-section-title {
  font-size: 22px;
  font-weight: 600;
  color: #222;
  margin-bottom: 16px;
}

.detail-highlight {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 24px;
}

.detail-highlight h2 {
  font-size: 22px;
  font-weight: 600;
  color: #222;
}

.detail-highlight p {
  margin-top: 6px;
  font-size: 16px;
  color: #717171;
}

.detail-description {
  font-size: 16px;
  line-height: 1.65;
  color: #222;
  white-space: pre-line;
}

.abnb-booking {
  border: 1px solid #dddddd;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  background: #fff;
  padding: 24px;
}

.abnb-booking-header {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 16px;
}

.abnb-booking-price-total {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
  color: #222;
}

.abnb-booking-price-total span {
  font-size: 16px;
  font-weight: 400;
}

.abnb-booking-rating {
  margin: 0;
  font-size: 14px;
  color: #717171;
  display: flex;
  align-items: center;
  gap: 4px;
}

.abnb-booking-rating svg {
  width: 14px;
  height: 14px;
}

.abnb-booking-box {
  position: relative;
  border: 1px solid #b0b0b0;
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: visible;
  z-index: 1;
}

.abnb-booking-box:has(.abnb-booking-dates-pop:not([hidden])) {
  z-index: 30;
}

.abnb-booking-dates-pop {
  position: absolute;
  top: calc(100% - 1px);
  left: -1px;
  right: -1px;
  z-index: 40;
  border: 1px solid #ddd;
  border-radius: 12px;
  margin-bottom: 0;
  background: #fff;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.14);
  overflow: hidden;
}

.abnb-booking-dates-trigger {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid #b0b0b0;
}

.abnb-booking-dates-field {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 14px;
  border: none;
  background: #fff;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
}

.abnb-booking-dates-field + .abnb-booking-dates-field {
  border-left: 1px solid #b0b0b0;
}

.abnb-booking-dates-field.is-active {
  background: #fafafa;
  box-shadow: inset 0 -2px 0 var(--brand, #3ea35d);
}

.abnb-booking-dates-field.is-set .abnb-booking-dates-value {
  color: #222;
  font-weight: 500;
}

.abnb-booking-dates-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #222;
}

.abnb-booking-dates-value {
  font-size: 14px;
  color: #717171;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.abnb-booking-dates-value.is-set {
  color: #222;
  font-weight: 500;
}

.abnb-booking-dates-pop .booking-cal {
  border: none;
  border-radius: 0;
  padding: 12px;
}

.abnb-booking-travelers {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 16px;
  border: none;
  border-top: 1px solid #b0b0b0;
  background: #fff;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
}

.abnb-booking-travelers-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  color: #222;
}

.abnb-booking-travelers-value {
  font-size: 14px;
  color: #717171;
}

.abnb-booking-guests-pop {
  border: 1px solid #ddd;
  border-radius: 12px;
  margin-bottom: 12px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.abnb-booking-pop-head {
  display: none;
}

.abnb-booking-pop-foot {
  display: none;
}

.abnb-booking-pop-backdrop {
  display: none;
}

.abnb-booking-pop-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border: none;
  background: #f7f7f7;
  border-radius: 9999px;
  cursor: pointer;
  color: #222;
}

.abnb-booking-pop-close svg {
  width: 1rem;
  height: 1rem;
}

.abnb-booking-pop-head__title {
  font-size: 1rem;
  font-weight: 600;
  color: #222;
  text-align: center;
}

.abnb-booking-pop-head__spacer {
  width: 2rem;
  height: 2rem;
}

@media (max-width: 1023px) {
  .abnb-booking-pop-head {
    display: grid;
    grid-template-columns: 2rem 1fr 2rem;
    align-items: center;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #ebebeb;
    flex-shrink: 0;
  }

  .abnb-booking-pop-foot {
    display: flex;
    justify-content: flex-end;
    padding: 0.875rem 1rem calc(0.875rem + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid #ebebeb;
    background: #fff;
    flex-shrink: 0;
  }

  .abnb-booking-pop-foot .abnb-date-done {
    min-width: 7rem;
  }

  .abnb-booking-pop-backdrop:not([hidden]) {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 10120;
    background: rgba(0, 0, 0, 0.45);
  }

  .abnb-booking-box {
    overflow: visible;
  }

  .abnb-booking-dates-pop:not([hidden]),
  .abnb-booking-guests-pop:not([hidden]) {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: auto;
    z-index: 10130;
    display: flex;
    flex-direction: column;
    max-height: min(88vh, 720px);
    margin: 0;
    border: none;
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.18);
    overflow: hidden;
    animation: abnb-booking-pop-in 0.28s ease;
  }

  @keyframes abnb-booking-pop-in {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
  }

  .abnb-booking-dates-pop .booking-cal {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0.75rem 1rem 1rem;
    border: none;
    border-radius: 0;
  }

  .abnb-booking-guests-pop .abnb-guest-rows {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .abnb-booking-guests-pop {
    margin-bottom: 0;
  }

  .booking-cal-day {
    min-height: 44px;
    font-size: 12px;
  }

  .detail-mobile-sheet-inner .abnb-booking {
    border: none;
    box-shadow: none;
    padding: 0;
  }

  .detail-mobile-sheet-inner .abnb-booking-header {
    margin-bottom: 1rem;
  }

  .detail-mobile-sheet {
    z-index: 10100;
  }

  .detail-mobile-bar {
    z-index: 10050;
  }

  body.booking-pop-open .detail-mobile-bar {
    z-index: 40;
  }

  .detail-page--holidu .detail-body {
    padding-bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px));
  }
}

.abnb-booking-guests-pop .abnb-guest-row.is-disabled {
  opacity: 0.55;
}

.abnb-booking-note {
  margin: 12px 0 0;
  text-align: center;
  font-size: 14px;
  color: #717171;
}

.abnb-booking-note--login a {
  color: var(--brand, #3ea35d);
  font-weight: 600;
  text-decoration: none;
}

.abnb-booking-note--login a:hover {
  text-decoration: underline;
}

.booking-cal-clear {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 0;
  border: none;
  background: none;
  font-size: 13px;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
  color: #222;
  font-family: inherit;
  text-align: left;
}

.abnb-booking-price {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
  color: #222;
}

.abnb-booking-price-prefix {
  font-size: 0.9375rem;
  font-weight: 500;
  color: #717171;
  margin-right: 0.25rem;
}

.abnb-booking-price strong {
  font-weight: 700;
}

.abnb-booking-price span {
  font-size: 16px;
  font-weight: 400;
  color: #717171;
}

.abnb-booking-dates {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid #b0b0b0;
  border-radius: 8px;
  overflow: hidden;
}

.abnb-booking-dates label {
  padding: 10px 12px;
  border-right: 1px solid #b0b0b0;
}

.abnb-booking-dates label:last-child { border-right: none; }

.abnb-booking-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #222;
}

.abnb-booking-guests {
  display: block;
  padding: 10px 12px;
  border: 1px solid #b0b0b0;
  border-radius: 8px;
}

.abnb-booking-field,
.abnb-booking-dates .abnb-booking-field {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  outline: none !important;
  font-size: 14px;
  font-weight: 500;
  color: #222;
}

.abnb-booking-field[type="date"]::-webkit-calendar-picker-indicator {
  cursor: pointer;
}

.abnb-booking-fees {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #ebebeb;
  font-size: 14px;
}

.abnb-booking-fees-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  color: #717171;
}

.abnb-booking-fees-row span:first-child { text-decoration: underline; }

.abnb-booking-minstay {
  font-size: 12px;
  color: #717171;
  margin-top: 2px;
}

.booking-cal {
  border: 1px solid #ebebeb;
  border-radius: 12px;
  padding: 12px;
  background: #fff;
}

.booking-cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 14px;
}

.booking-cal-nav {
  width: 32px;
  height: 32px;
  border: 1px solid #ddd;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
}

.booking-cal-weekdays,
.booking-cal-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}

.booking-cal-weekdays span {
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  color: #717171;
  padding: 4px 0;
}

.booking-cal-day {
  min-height: 52px;
  border: none;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  padding: 2px;
  font-size: 13px;
  color: #222;
}

.booking-cal-day small {
  font-size: 10px;
  color: var(--brand);
  font-weight: 600;
  line-height: 1;
}

.booking-cal-day em {
  font-size: 9px;
  color: #717171;
  font-style: normal;
}

.booking-cal-day.is-empty {
  background: transparent;
  cursor: default;
}

.booking-cal-day.is-disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.booking-cal-day.is-checkin,
.booking-cal-day.is-checkout {
  background: #222;
  color: #fff;
}

.booking-cal-day.is-checkin small,
.booking-cal-day.is-checkout small,
.booking-cal-day.is-checkin em,
.booking-cal-day.is-checkout em {
  color: #fff;
}

.booking-cal-day.is-inrange {
  background: #f7f7f7;
}

.booking-cal-hint {
  margin-top: 8px;
  font-size: 12px;
  color: #717171;
  text-align: center;
}

.booking-cal-hint--error {
  color: #b91c1c;
  font-weight: 500;
}

.booking-cal-alert {
  margin-top: 0.5rem;
  padding: 0.5rem 0.65rem;
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.45;
}

.booking-cal-alert--error {
  background: var(--brand-soft);
  color: #b91c1c;
  border: 1px solid var(--brand-muted);
}

.booking-cal-alert--ok {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.abnb-btn-reserve.is-disabled,
.abnb-btn-reserve:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.abnb-booking-fees-row--total {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid #ebebeb;
  font-weight: 600;
  color: #222;
}

.abnb-booking-fees-row--total span:first-child {
  text-decoration: none;
}

.pricing-seasons-table-wrap {
  overflow-x: auto;
  margin-top: 1rem;
}

.pricing-seasons-table .blog-input {
  min-width: 110px;
  font-size: 0.8125rem;
  padding: 0.45rem 0.5rem;
}

.abnb-btn-reserve {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(to right, var(--brand), var(--brand-dark));
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: filter 0.2s ease;
  text-align: center;
  text-decoration: none;
}

.abnb-btn-reserve:hover { filter: brightness(1.06); }

.detail-map-wrap {
  margin-top: 16px;
  height: 320px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #dddddd;
}

/* Ubicación / mapa detalle */
.detail-location {
  overflow: visible;
}

.detail-location-area {
  font-size: 16px;
  font-weight: 600;
  color: #222;
  margin: -8px 0 16px;
}

.detail-map-card {
  border: 1px solid #dddddd;
  border-radius: 16px;
  overflow: hidden;
  background: #f7f7f7;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.detail-map-card .detail-map-wrap {
  margin-top: 0;
  height: 360px;
  min-height: 240px;
  border: none;
  border-radius: 0;
  border-bottom: 1px solid #ebebeb;
}

.detail-map-wrap .maplibregl-map,
.detail-map-wrap .maplibregl-canvas-container,
.detail-map-wrap canvas.maplibregl-canvas {
  width: 100% !important;
  height: 100% !important;
}

.detail-map-info {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  background: #fff;
}

.detail-map-info-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #f5f5f5;
  color: #222;
}

.detail-map-address {
  font-size: 15px;
  font-weight: 600;
  color: #222;
  line-height: 1.4;
}

.detail-map-note {
  margin-top: 4px;
  font-size: 13px;
  color: #717171;
  line-height: 1.45;
}

@media (max-width: 767px) {
  .detail-page {
    padding-left: 16px;
    padding-right: 16px;
    padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px));
  }

  .detail-breadcrumb {
    font-size: 12px;
    gap: 6px;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-bottom: 12px;
  }

  .detail-breadcrumb::-webkit-scrollbar { display: none; }

  .detail-header {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .detail-title {
    font-size: 1.375rem;
  }

  .detail-actions {
    gap: 12px;
  }

  .detail-meta {
    font-size: 13px;
    margin-bottom: 16px;
  }

  .detail-page > .relative {
    margin-left: -16px;
    margin-right: -16px;
  }

  .detail-page .abnb-gallery {
    border-radius: 0;
    margin-bottom: 24px;
  }

  .detail-section {
    padding: 24px 0;
  }

  .detail-section-title {
    font-size: 20px;
    margin-bottom: 12px;
  }

  .detail-highlight {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .detail-highlight h2 {
    font-size: 20px;
  }

  .detail-highlight p {
    font-size: 15px;
  }

  .detail-description {
    font-size: 15px;
  }

  .detail-location {
    margin-left: -16px;
    margin-right: -16px;
  }

  .detail-map-card {
    border-radius: 0;
    border-left: none;
    border-right: none;
  }

  .detail-map-card .detail-map-wrap {
    height: min(52vw, 280px);
    min-height: 220px;
  }

  .detail-map-info {
    padding: 14px 16px;
  }

  .abnb-host-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px;
  }

  .detail-reviews-header {
    font-size: 20px;
    margin-bottom: 20px;
  }

  .detail-mobile-bar {
    padding-bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  }
}

@media (max-width: 480px) {
  .detail-action-btn {
    font-size: 13px;
  }

  .detail-map-card .detail-map-wrap {
    min-height: 200px;
  }
}

.detail-mobile-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
  border-top: 1px solid #ebebeb;
  background: #fff;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.06);
}

@media (min-width: 1024px) {
  .detail-mobile-bar { display: none; }
}

.detail-mobile-sheet {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  align-items: flex-end;
  justify-content: center;
  background: rgba(0, 0, 0, 0.45);
}

.detail-mobile-sheet.is-open { display: flex; }

.detail-mobile-sheet-inner {
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  padding: 0 1.25rem calc(1.25rem + env(safe-area-inset-bottom, 0px));
  border-radius: 16px 16px 0 0;
  background: #fff;
  display: flex;
  flex-direction: column;
}

.detail-mobile-sheet-head {
  display: grid;
  grid-template-columns: 2.5rem 1fr 2.5rem;
  align-items: center;
  padding: 0.875rem 0 0.75rem;
  margin: 0 -0.25rem;
  position: sticky;
  top: 0;
  z-index: 2;
  background: #fff;
  border-bottom: 1px solid #ebebeb;
}

.detail-mobile-sheet-head__title {
  text-align: center;
  font-size: 1rem;
  font-weight: 600;
  color: #222;
}

.detail-mobile-sheet-head__spacer {
  width: 2.5rem;
  height: 2.5rem;
}

.detail-mobile-sheet-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  background: #f7f7f7;
  border-radius: 9999px;
  cursor: pointer;
  color: #222;
}

.detail-mobile-sheet-close svg {
  width: 1.125rem;
  height: 1.125rem;
}

.detail-mobile-sheet-close button {
  border: none;
  background: none;
  font-size: 14px;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
}

.abnb-divider { border-top: 1px solid #ebebeb; margin: 0; }

.abnb-host-card {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 24px;
  border: 1px solid #dddddd;
  border-radius: 12px;
  background: #fafafa;
}

.abnb-amenity {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 0;
  font-size: 16px;
  color: #222;
}

.abnb-amenity-icon { width: 24px; flex-shrink: 0; opacity: 0.65; }

.abnb-review {
  padding: 24px 0;
  border-bottom: 1px solid #ebebeb;
}

.abnb-review:last-child { border-bottom: none; }

.abnb-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #222, #444);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  flex-shrink: 0;
}

.abnb-stars { letter-spacing: 1px; color: #222; }

.abnb-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: #000;
  display: none;
  flex-direction: column;
}

.abnb-lightbox.open { display: flex; }

.abnb-lightbox-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  color: #fff;
}

.abnb-lightbox-close {
  background: transparent;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
}

.abnb-lightbox-close:hover { background: rgba(255, 255, 255, 0.15); }

.abnb-lightbox-body {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}

.abnb-lightbox-body img {
  max-width: min(900px, 100%);
  border-radius: 8px;
}

.abnb-compact.active,
.abnb-compact:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}
