.cv-home-search__bar {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  max-width: 860px;
  margin: 0 auto;
}
.cv-home-search__field {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 14px 20px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  border-radius: 6px;
  transition: background 0.15s;
}
.cv-home-search__field:hover, .cv-home-search__field:focus-visible {
  background: #f5f5f5;
}
.cv-home-search__field-label {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #444;
}
.cv-home-search__field-value {
  font-size: 0.9375rem;
  color: #111;
  white-space: nowrap;
}
.cv-home-search__sep {
  width: 1px;
  height: 32px;
  background: #e0e0e0;
  flex-shrink: 0;
}
.cv-home-search__submit {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 6px;
  padding: 12px 22px;
  background: #2a6eb5;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.15s;
}
.cv-home-search__submit svg {
  width: 18px;
  height: 18px;
}
.cv-home-search__submit:hover {
  background: #1f5a9a;
}
.cv-home-search__submit:not(:has(span)) {
  padding: 12px;
  gap: 0;
}
.cv-home-search__modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  overflow-y: auto;
  padding: 56px 16px;
}
.cv-home-search__modal[aria-hidden=true] {
  display: none;
}
.cv-home-search__modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}
.cv-home-search__modal-panel {
  position: relative;
  margin: 0 auto;
  background: #fff;
  border-radius: 16px;
  width: min(640px, 100vw - 32px);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cv-home-search__modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.125rem;
  cursor: pointer;
  color: #666;
}
.cv-home-search__modal-close:hover {
  color: #111;
}
.cv-home-search__modal-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0;
  padding-right: 32px;
}
.cv-home-search__modal-body {
  flex: 1;
}
.cv-home-search__modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid #eee;
}
.cv-home-search__modal-clear {
  background: none;
  color: #444;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 6px 14px;
  cursor: pointer;
  font-size: 0.8125rem;
}
.cv-home-search__modal-clear:hover {
  border-color: #888;
}
.cv-home-search__modal-apply {
  background: #2a6eb5;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 6px 16px;
  cursor: pointer;
  font-size: 0.8125rem;
  font-weight: 600;
}
.cv-home-search__modal-apply:hover {
  background: #1f5a9a;
}
.cv-home-search__modal-apply--secondary {
  background: none;
  color: #2a6eb5;
  border: 1px solid #2a6eb5;
}
.cv-home-search__modal-apply--secondary:hover {
  background: #f0f5fb;
}

.cvhs-dates-extras {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-top: 4px;
}
.cvhs-dates-extras .cv-filters__date-mode {
  flex: 1;
}
.cvhs-dates-extras .cv-filters__date-mode > .cv-range-inputs__label {
  flex: 0 0 100%;
  width: 100%;
}
.cvhs-dates-extras .cv-filters__date-mode {
  gap: 0;
}
.cvhs-dates-extras .cv-filters__date-mode .cv-toggle__option span {
  padding-top: 11px;
  padding-bottom: 11px;
}
.cvhs-dates-extras .cv-filters__date-mode .cv-filters__desired-nights input[type=number] {
  padding: 7px 8px;
  font-size: 0.9rem;
}
@media (max-width: 720px) {
  .cvhs-dates-extras {
    flex-direction: column;
    gap: 16px;
  }
}

.cvhs-dates-guests {
  flex-shrink: 0;
  min-width: 200px;
}
@media (max-width: 720px) {
  .cvhs-dates-guests {
    width: 100%;
    min-width: 0;
  }
}

.cvhs-dp-months {
  display: flex;
  gap: 16px;
}
.cvhs-dp-months .cv-datepicker__cal {
  flex: 1;
  min-width: 0;
}

.cvhs-dp-next-mobile {
  visibility: hidden;
}

@media (max-width: 720px) {
  .cvhs-dp-months .cv-datepicker__cal:last-child {
    display: none;
  }
  .cvhs-dp-next-mobile {
    visibility: visible;
  }
}
.cvhs-filter-group {
  padding-bottom: 20px;
  margin-bottom: 4px;
}

.cvhs-filter-group__label {
  display: block;
  font-weight: 600;
  margin-bottom: 10px;
  font-size: 0.9375rem;
}

.cvhs-filter-row-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 16px;
}
.cvhs-filter-row-group .cvhs-filter-group {
  padding-bottom: 20px;
}
@media (max-width: 720px) {
  .cvhs-filter-row-group {
    grid-template-columns: 1fr;
  }
}

.cvhs-region-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
@media (max-width: 480px) {
  .cvhs-region-tiles {
    grid-template-columns: repeat(2, 1fr);
  }
}

.cvhs-region-tile {
  position: relative;
  display: flex;
  overflow: hidden;
  border-radius: 8px;
  padding: 0;
  cursor: pointer;
  aspect-ratio: 4/3;
  background: #e0e0e0;
  transition: outline-color 0.15s;
  outline: 2px solid transparent;
  outline-offset: -2px;
}
.cvhs-region-tile.is-selected {
  outline-color: #2a6eb5;
}
.cvhs-region-tile__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.cvhs-region-tile__img--placeholder {
  background: #d0d0d0;
}
.cvhs-region-tile__bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
  padding: 12px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 60%);
}
.cvhs-region-tile__name {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #fff;
  text-align: left;
}
.cvhs-region-tile__count {
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 400;
  color: #fff;
  opacity: 0.85;
  white-space: nowrap;
}
.cvhs-region-tile:hover .cvhs-region-tile__img {
  transform: scale(1.04);
}

.cv-home-search__mobile-trigger {
  display: none;
}
.cv-home-search__mob-field {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  width: 100%;
  padding: 14px 4px;
  background: none;
  border: none;
  border-bottom: 1px solid #e0e0e0;
  cursor: pointer;
  text-align: left;
}
.cv-home-search__mob-field:hover {
  background: #f5f5f5;
}
.cv-home-search__mob-field-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #444;
}
.cv-home-search__mob-field-value {
  font-size: 0.9375rem;
  color: #111;
}
.cv-home-search__submit--mobile {
  width: 100%;
  justify-content: center;
  margin: 4px 0 0;
}

@media (max-width: 720px) {
  .cv-home-search__bar {
    display: none;
  }
  .cv-home-search__mobile-trigger {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 20px;
    background: #2a6eb5;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
  }
  .cv-home-search__mobile-trigger:hover {
    background: #1f5a9a;
  }
  .cv-home-search__modal {
    padding: 0;
    display: flex;
    flex-direction: column;
  }
  .cv-home-search__modal-panel {
    margin: auto 0 0;
    width: 100%;
    border-radius: 0;
  }
  .cv-home-search__modal-panel--parent {
    gap: 12px;
  }
}
