.listing-hero {
  position: relative;
  height: 280px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 2.5rem;
  overflow: hidden;
  margin-top: 80px;
}
@media (max-width: 575.98px) {
  .listing-hero {
    height: 220px;
    padding-bottom: 1.5rem;
  }
}

.listing-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center bottom;
  background-color: var(--navy);
}

.listing-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 43, 69, 0.5), rgba(13, 43, 69, 0.85));
}

.listing-hero .breadcrumb {
  margin-bottom: 0.5rem;
}
.listing-hero .breadcrumb-item,
.listing-hero .breadcrumb-item a {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
}
.listing-hero .breadcrumb-item.active {
  color: rgba(255, 255, 255, 0.9);
}
.listing-hero .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.3);
}

.listing-hero-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.3rem;
}

.listing-hero-sub {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

.listing-main {
  padding: 2rem 0 4rem;
  background: #F3F6F9;
}

.filter-panel {
  background: #fff;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 2px 16px rgba(13, 43, 69, 0.05);
  border: 1px solid rgba(13, 43, 69, 0.04);
  position: sticky;
  top: 100px;
}
@media (max-width: 991.98px) {
  .filter-panel {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 85%;
    max-width: 340px;
    height: 100%;
    z-index: 1050;
    border-radius: 0;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
  }
  .filter-panel.mobile-open {
    display: block;
    transform: translateX(0);
  }
}

.filter-header {
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(13, 43, 69, 0.08);
  margin-bottom: 1rem !important;
}
.filter-header h6 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
}

.btn-close-filters {
  background: none;
  border: none;
  color: var(--navy);
  font-size: 1.25rem;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}

.filter-section {
  margin-bottom: 1.2rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid rgba(13, 43, 69, 0.06);
}
.filter-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.filter-section.search-form-section {
  padding-bottom: 1.4rem;
}

.filter-title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.6rem;
}

.filter-item {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 4px;
}
.filter-item .form-check-label {
  font-size: 0.82rem;
  color: var(--navy-light);
  cursor: pointer;
}
.filter-item .form-check-label .star-icon {
  color: #D9A962;
}
.filter-item input[type=checkbox]:checked + .form-check-label {
  color: var(--ocean);
}
.filter-item input[type=checkbox]:checked + .form-check-label .star-icon {
  color: var(--sun-gold);
}

.filter-panel .form-check-input:checked {
  background-color: var(--ocean) !important;
  border-color: var(--ocean) !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e") !important;
}

.filter-input {
  width: 100%;
  font-size: 0.82rem;
  background: var(--off-white, #F3F6F9);
  border: 1.5px solid transparent;
  border-radius: 10px;
  padding: 0.55rem 0.8rem 0.55rem 2.2rem;
  height: 42px;
  transition: all 0.25s;
  color: var(--navy);
}
.filter-input:focus {
  background: #fff;
  border-color: var(--turquoise);
  box-shadow: 0 0 0 3px rgba(23, 184, 194, 0.1);
  outline: none;
}

.input-icon-wrapper {
  position: relative;
}
.input-icon-wrapper i {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ocean);
  font-size: 0.85rem;
  pointer-events: none;
}

@media (max-width: 991.98px) {
  body.filters-sidebar-open {
    overflow: hidden;
  }
}

.filters-overlay {
  display: none;
}
@media (max-width: 991.98px) {
  .filters-overlay {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }
  .filters-overlay.active {
    opacity: 1;
    visibility: visible;
  }
}

.btn-filter-mobile {
  background: #fff;
  border: 1.5px solid rgba(13, 43, 69, 0.1);
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--navy);
  padding: 0.65rem;
  transition: all 0.2s;
}
.btn-filter-mobile:hover {
  border-color: var(--ocean);
  color: var(--ocean);
}

.listing-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1rem 1.2rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(13, 43, 69, 0.04);
}
@media (max-width: 991.98px) {
  .listing-topbar {
    flex-direction: column;
    align-items: flex-start;
  }
}

.results-count {
  font-size: 0.88rem;
  color: #7A8EA0;
}
.results-count strong {
  color: var(--navy);
}

.view-label,
.sort-label {
  font-size: 0.75rem;
  color: #7A8EA0;
  white-space: nowrap;
}

.view-toggle {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.view-btn {
  font-size: 0.78rem;
  font-weight: 500;
  color: #7A8EA0;
  background: transparent;
  border: 1.5px solid transparent;
  border-radius: 8px;
  padding: 0.3rem 0.7rem;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.view-btn.active {
  color: var(--navy);
  border-color: rgba(13, 43, 69, 0.12);
  font-weight: 600;
  background: rgba(13, 43, 69, 0.03);
}
.view-btn:hover {
  color: var(--navy);
}

.sort-select {
  font-size: 0.82rem;
  border: 1.5px solid rgba(13, 43, 69, 0.1);
  border-radius: 8px;
  padding: 0.3rem 0.8rem 0.3rem 0.5rem;
  height: 36px;
  width: auto;
  min-width: 120px;
  color: var(--navy);
  background: #fff;
  cursor: pointer;
}
.sort-select:focus {
  outline: none;
  border-color: var(--turquoise);
  box-shadow: 0 0 0 3px rgba(23, 184, 194, 0.1);
}

.results-container {
  position: relative;
}

.results-loader {
  position: sticky;
  inset: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
}

.results-loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  color: var(--navy-light);
  font-size: 0.84rem;
  font-weight: 500;
}

.results-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid rgba(14, 124, 154, 0.15);
  border-top-color: var(--ocean);
  border-radius: 50%;
  animation: results-spin 0.7s linear infinite;
}

@keyframes results-spin {
  to {
    transform: rotate(360deg);
  }
}
.resort-list.is-loading {
  opacity: 0.4;
  pointer-events: none;
  transition: opacity 0.2s;
}

.rl-card {
  display: flex;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(13, 43, 69, 0.05);
  border: 1px solid rgba(13, 43, 69, 0.04);
  margin-bottom: 1.2rem;
  transition: transform 0.3s, box-shadow 0.3s;
}
.rl-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(13, 43, 69, 0.1);
}
@media (max-width: 991.98px) {
  .rl-card {
    flex-direction: column;
  }
}

.rl-card-img {
  width: 340px;
  height: 280px;
  position: relative;
  flex-shrink: 0;
  overflow: hidden;
}
.rl-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
  display: block;
}
.rl-card:hover .rl-card-img img {
  transform: scale(1.04);
}
.rl-card-img .prev-btn,
.rl-card-img .next-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: #fff;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  color: var(--navy);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: opacity 0.2s;
  opacity: 0.85;
}
.rl-card-img .prev-btn:hover,
.rl-card-img .next-btn:hover {
  opacity: 1;
}
.rl-card-img .prev-btn {
  left: 10px;
}
.rl-card-img .next-btn {
  right: 10px;
}
@media (max-width: 991.98px) {
  .rl-card-img {
    width: 100%;
    min-height: 200px;
    height: 220px;
  }
}
@media (max-width: 575.98px) {
  .rl-card-img {
    height: 200px;
  }
}

.rl-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
  background: var(--navy);
  padding: 0.3rem 0.85rem;
  border-radius: 50px;
  z-index: 2;
}
.rl-badge.rl-badge--alto {
  background: var(--ocean);
}
.rl-badge.rl-badge--medio {
  background: var(--sun-gold);
}
.rl-badge.rl-badge--guest {
  background: #7A8EA0;
}

.rl-transfer {
  position: absolute;
  bottom: 12px;
  left: 12px;
  font-size: 0.7rem;
  font-weight: 500;
  color: #fff;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(6px);
  padding: 0.25rem 0.7rem;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  z-index: 2;
}

.rl-card-body {
  flex: 1;
  padding: 1.3rem 1.5rem;
  display: flex;
  flex-direction: column;
}
@media (max-width: 575.98px) {
  .rl-card-body {
    padding: 1rem;
  }
}

.rl-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.6rem;
}

.rl-name {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
@media (max-width: 575.98px) {
  .rl-name {
    font-size: 1.15rem;
  }
}

.rl-name-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
.rl-name-link:hover {
  color: var(--ocean);
}

.rl-stars {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.2rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--sun-gold);
}

.rl-sun {
  height: 14px;
  width: auto;
}

.rl-location {
  font-size: 0.72rem;
  color: var(--ocean);
  white-space: nowrap;
  flex-shrink: 0;
  font-weight: 500;
}

.rl-desc {
  font-size: 0.84rem;
  color: #7A8EA0;
  line-height: 1.6;
  margin-bottom: 0.8rem;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rl-desc p {
  margin: 0;
  padding: 0;
}

.rl-amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}
.rl-amenities span {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--navy-light);
  background: #F3F6F9;
  padding: 0.3rem 0.65rem;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  transition: all 0.2s;
}
.rl-amenities span:hover {
  background: #E4EFF4;
  color: var(--ocean);
}
.rl-amenities i {
  font-size: 0.72rem;
  color: var(--ocean);
}
@media (max-width: 575.98px) {
  .rl-amenities span {
    font-size: 0.65rem;
    padding: 0.2rem 0.5rem;
  }
}

.rl-card-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 1.2rem;
  margin-top: auto;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(13, 43, 69, 0.05);
}

.rl-price {
  text-align: right;
}

.rl-price-label {
  display: block;
  font-size: 0.65rem;
  color: #7A8EA0;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.rl-price-amount {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}

.btn-rl-detail {
  font-size: 0.8rem;
  font-weight: 600;
  color: #fff;
  background: var(--ocean);
  border: none;
  padding: 0.6rem 1.5rem;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.3s;
  white-space: nowrap;
}
.btn-rl-detail:hover {
  background: var(--navy);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(13, 43, 69, 0.2);
}

.resort-list.grid-view {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}
.resort-list.grid-view .rl-card {
  flex-direction: column;
  margin-bottom: 0;
  height: 100%;
}
.resort-list.grid-view .rl-card-img {
  width: 100%;
  min-height: 200px;
  height: 220px;
}
.resort-list.grid-view .rl-card-body {
  flex: 1;
}
.resort-list.grid-view .rl-name {
  font-size: 1.15rem;
}
.resort-list.grid-view .rl-location {
  white-space: normal;
}
.resort-list.grid-view .rl-desc {
  -webkit-line-clamp: 3;
}
@media (max-width: 991.98px) {
  .resort-list.grid-view {
    grid-template-columns: 1fr;
  }
}

.listing-pagination .page-link {
  border: none;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--navy-light);
  background: transparent;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  transition: all 0.2s;
}
.listing-pagination .page-item.active .page-link {
  background: var(--ocean);
  color: #fff;
  box-shadow: 0 2px 10px rgba(14, 124, 154, 0.3);
}
.listing-pagination .page-link:hover {
  background: #E4EFF4;
  color: var(--ocean);
}
.listing-pagination .page-item.disabled .page-link {
  opacity: 0.4;
  pointer-events: none;
}

.static-infos {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 1.5rem;
}
.static-infos.top-static-infos {
  margin-bottom: 1rem;
}
.static-infos h1 {
  font-size: 22px;
  line-height: 27px;
  font-weight: 700;
  color: var(--navy);
  margin: 0;
}
.static-infos h2 {
  font-size: 18px;
  line-height: 22px;
  font-weight: 600;
  color: var(--navy);
  margin: 0;
  margin-bottom: 8px;
}
.static-infos .text-content {
  font-size: 15px;
  line-height: 20px;
  color: #000;
  margin: 0;
  margin-bottom: 20px;
}
.static-infos .text-content p {
  margin: 0;
  padding: 0;
}