.vcm-hotel-finder {
	--vcm-red: #ED2649;
	--vcm-blue: #5468AF;
	--vcm-ink: #171923;
	--vcm-muted: #667085;
	--vcm-line: #E6E9F2;
	--vcm-soft: #F6F8FC;
	margin: 24px auto;
	color: var(--vcm-ink);
}

.vcm-hotel-finder--hero {
	max-width: 1180px;
	margin: -52px auto 36px;
	position: relative;
	z-index: 5;
}

.vcm-hotel-finder__tabs {
	display: inline-flex;
	gap: 4px;
	padding: 4px;
	background: #fff;
	border: 1px solid var(--vcm-line);
	border-radius: 8px 8px 0 0;
	box-shadow: 0 12px 30px rgba(23, 25, 35, .08);
}

.vcm-hotel-finder__tabs button {
	border: 0;
	background: transparent;
	padding: 9px 14px;
	border-radius: 6px;
	font-weight: 700;
	color: var(--vcm-muted);
}

.vcm-hotel-finder__tabs .is-active {
	background: var(--vcm-blue);
	color: #fff;
}

.vcm-hotel-finder__form {
	display: grid;
	grid-template-columns: minmax(180px, 1.5fr) minmax(130px, .8fr) repeat(2, minmax(130px, .8fr)) repeat(4, minmax(82px, .45fr)) auto;
	gap: 10px;
	align-items: end;
	padding: 14px;
	background: #fff;
	border: 1px solid var(--vcm-line);
	border-radius: 8px;
	box-shadow: 0 14px 42px rgba(23, 25, 35, .09);
}

.vcm-hotel-finder--hero .vcm-hotel-finder__form {
	border-top-left-radius: 0;
}

.quote-card.vcm-finder.vcm-hotel-finder__form {
	display: grid;
	padding: 14px;
	border-radius: 8px;
}

.vcm-hotel-finder__field {
	display: grid;
	gap: 6px;
	min-width: 0;
}

.quote-card.vcm-finder .vcm-hotel-finder__field,
.quote-card.vcm-finder .vcm-hotel-finder__check {
	margin: 0;
}

.quote-card.vcm-finder .vcm-hotel-finder__field {
	display: grid;
}

.vcm-hotel-finder__field span,
.vcm-hotel-finder__check span {
	font-size: 12px;
	font-weight: 800;
	color: #3B4255;
}

.vcm-hotel-finder__field input,
.vcm-hotel-finder__field select {
	width: 100%;
	min-height: 44px;
	border: 1px solid #D8DEEA;
	border-radius: 8px;
	padding: 9px 10px;
	background: #fff;
	color: var(--vcm-ink);
	font-size: 14px;
	box-shadow: none;
}

.quote-card.vcm-finder .vcm-hotel-finder__field input,
.quote-card.vcm-finder .vcm-hotel-finder__field select {
	min-height: 44px;
	border-radius: 8px;
	padding: 9px 10px;
	font-weight: 700;
}

.vcm-hotel-finder__field input:focus,
.vcm-hotel-finder__field select:focus {
	outline: 2px solid rgba(84, 104, 175, .22);
	border-color: var(--vcm-blue);
}

.vcm-hotel-finder__check {
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	white-space: nowrap;
}

.vcm-hotel-finder__check input {
	width: 18px;
	height: 18px;
	accent-color: var(--vcm-red);
}

.vcm-hotel-finder__actions {
	display: flex;
	align-items: center;
	gap: 8px;
	white-space: nowrap;
}

.vcm-finder__note {
	grid-column: 1 / -1;
	margin: 0;
	color: var(--vcm-muted);
	font-size: 13px;
	font-weight: 700;
}

.vcm-hotel-finder__primary,
.vcm-hotel-finder__primary-link,
.vcm-hotel-finder__secondary,
.vcm-hotel-finder__reset {
	min-height: 44px;
	border-radius: 8px;
	padding: 11px 16px;
	font-weight: 800;
	text-decoration: none;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid transparent;
	line-height: 1.1;
}

.vcm-hotel-finder__primary,
.vcm-hotel-finder__primary-link {
	background: var(--vcm-red);
	color: #fff;
	border-color: var(--vcm-red);
}

.vcm-hotel-finder__secondary,
.vcm-hotel-finder__reset {
	background: #fff;
	color: var(--vcm-blue);
	border-color: var(--vcm-blue);
}

.vcm-hotel-finder__reset {
	min-height: auto;
	padding: 9px 12px;
	font-size: 12px;
}

.vcm-hotel-finder__results {
	margin-top: 18px;
}

.vcm-hotel-finder__summary,
.vcm-hotel-finder__notice,
.vcm-hotel-finder__empty {
	border: 1px solid var(--vcm-line);
	background: #fff;
	border-radius: 8px;
	padding: 13px 15px;
	font-weight: 800;
	box-shadow: 0 8px 24px rgba(23, 25, 35, .05);
}

.vcm-hotel-finder__notice {
	margin-top: 8px;
	color: var(--vcm-blue);
	font-weight: 700;
	background: #F4F6FF;
}

.vcm-hotel-finder__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 14px 0;
}

.vcm-hotel-finder__chips button {
	border: 1px solid #D8DEEA;
	background: #fff;
	color: #3B4255;
	border-radius: 999px;
	padding: 8px 13px;
	font-weight: 800;
	cursor: pointer;
}

.vcm-hotel-finder__chips .is-active {
	border-color: var(--vcm-blue);
	background: var(--vcm-blue);
	color: #fff;
}

.vcm-hotel-finder__group {
	margin-top: 22px;
}

.vcm-hotel-finder__group-heading {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 12px;
}

.vcm-hotel-finder__group-heading h2 {
	margin: 0;
	font-size: clamp(22px, 2vw, 30px);
	line-height: 1.15;
}

.vcm-hotel-finder__group-heading span {
	color: var(--vcm-muted);
	font-weight: 700;
}

.vcm-hotel-finder__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.vcm-hotel-finder-card {
	display: grid;
	grid-template-rows: 190px 1fr;
	background: #fff;
	border: 1px solid var(--vcm-line);
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(23, 25, 35, .07);
	min-width: 0;
}

.vcm-hotel-finder-card__image {
	display: block;
	background: var(--vcm-soft);
	overflow: hidden;
}

.vcm-hotel-finder-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.vcm-hotel-finder-card__body {
	display: grid;
	gap: 10px;
	padding: 14px;
}

.vcm-hotel-finder-card__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}

.vcm-hotel-finder-card__top span {
	background: #FDE8ED;
	color: var(--vcm-red);
	border-radius: 999px;
	padding: 5px 9px;
	font-size: 12px;
	font-weight: 900;
}

.vcm-hotel-finder-card__top small {
	color: var(--vcm-muted);
	font-weight: 800;
}

.vcm-hotel-finder-card h3 {
	margin: 0;
	font-size: 18px;
	line-height: 1.2;
}

.vcm-hotel-finder-card h3 a {
	color: var(--vcm-ink);
	text-decoration: none;
}

.vcm-hotel-finder-card__badges {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.vcm-hotel-finder-card__badges span {
	border: 1px solid var(--vcm-line);
	border-radius: 999px;
	padding: 5px 8px;
	font-size: 11px;
	font-weight: 800;
	color: #3B4255;
	background: #fff;
}

.vcm-hotel-finder-card__price {
	margin: 0;
	font-size: 16px;
	font-weight: 900;
	color: var(--vcm-ink);
}

.vcm-hotel-finder-card__fit {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 6px;
}

.vcm-hotel-finder-card__fit span {
	background: var(--vcm-soft);
	border-radius: 8px;
	padding: 8px;
	font-size: 12px;
	font-weight: 800;
	color: #3B4255;
}

.vcm-hotel-finder-card__alternates {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 6px;
}

.vcm-hotel-finder-card__alternates li {
	display: flex;
	justify-content: space-between;
	gap: 8px;
	border-top: 1px solid var(--vcm-line);
	padding-top: 6px;
	font-size: 12px;
}

.vcm-hotel-finder-card__alternates span {
	color: var(--vcm-muted);
	text-align: right;
}

.vcm-hotel-finder-card__actions {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	margin-top: 2px;
}

.vcm-hotel-finder__skeleton {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.vcm-hotel-finder__skeleton span {
	min-height: 310px;
	border-radius: 8px;
	background: linear-gradient(90deg, #EEF2F8, #F8FAFD, #EEF2F8);
	background-size: 220% 100%;
	animation: vcmFinderPulse 1.2s infinite linear;
}

@keyframes vcmFinderPulse {
	to {
		background-position: -220% 0;
	}
}

.vcm-finder--landing {
	max-width: 1180px;
	margin: -58px auto 0;
	position: relative;
	z-index: 2;
}

.vcm-finder--landing .vcm-hotel-finder__form {
	grid-template-columns: minmax(180px, 1.35fr) minmax(130px, .8fr) repeat(2, minmax(140px, .86fr)) minmax(100px, .55fr) minmax(118px, .7fr) auto;
	gap: 12px;
	padding: 18px;
	border: 1px solid #E5E7EB;
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 22px 55px rgba(15, 23, 42, .12);
}

.vcm-finder--landing .vcm-hotel-finder__field span,
.vcm-finder--landing .vcm-hotel-finder__check span {
	color: #344054;
	font-size: 12px;
	letter-spacing: 0;
}

.vcm-finder--landing .vcm-hotel-finder__field input,
.vcm-finder--landing .vcm-hotel-finder__field select {
	min-height: 46px;
	border-radius: 12px;
	background: #F8FAFC;
}

.vcm-finder--landing .vcm-hotel-finder__field input[aria-invalid="true"] {
	border-color: #ED2649;
	background: #fff;
}

.vcm-finder--landing .vcm-hotel-finder__primary,
.vcm-finder--landing .vcm-hotel-finder__primary-link,
.vcm-finder--landing .vcm-hotel-finder__secondary,
.vcm-finder--landing .vcm-hotel-finder__reset {
	border-radius: 12px;
}

.vcm-finder-results {
	margin-top: 22px;
}

.vcm-finder-empty {
	display: grid;
	grid-template-columns: 58px minmax(0, 1fr);
	gap: 16px;
	align-items: center;
	border: 1px solid #E5E7EB;
	border-radius: 20px;
	background: #fff;
	padding: 24px;
	box-shadow: 0 18px 45px rgba(15, 23, 42, .08);
}

.vcm-finder-empty__icon {
	display: grid;
	place-items: center;
	width: 58px;
	height: 58px;
	border-radius: 999px;
	background: #FDE8ED;
	color: #ED2649;
	font-size: 24px;
	font-weight: 900;
}

.vcm-finder-empty h2 {
	margin: 0;
	color: #111827;
	font-size: 22px;
	line-height: 1.18;
	letter-spacing: 0;
}

.vcm-finder-empty p {
	max-width: 680px;
	margin: 8px 0 16px;
	color: #667085;
	line-height: 1.55;
}

.vcm-finder--landing .vcm-hotel-finder__summary {
	border-radius: 16px;
	padding: 14px 18px;
}

.vcm-finder--landing .vcm-hotel-finder__group-heading h2 {
	font-size: 26px;
}

.vcm-finder--landing .vcm-hotels-grid,
.vcm-finder--landing .vcm-hotel-finder__grid {
	gap: 18px;
}

.vcm-finder--landing .vcm-hotel-card,
.vcm-finder--landing .vcm-hotel-finder-card {
	border-radius: 20px;
	border-color: #E5E7EB;
	box-shadow: 0 18px 45px rgba(15, 23, 42, .08);
}

@media (max-width: 1120px) {
	.vcm-hotel-finder__form {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.vcm-finder--landing .vcm-hotel-finder__form {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.vcm-hotel-finder__destination,
	.vcm-hotel-finder__actions {
		grid-column: span 2;
	}

	.vcm-finder--landing .vcm-hotel-finder__destination,
	.vcm-finder--landing .vcm-hotel-finder__actions {
		grid-column: span 3;
	}

	.vcm-hotel-finder__grid,
	.vcm-hotel-finder__skeleton {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 720px) {
	.vcm-hotel-finder,
	.vcm-hotel-finder--hero {
		margin: 18px 0;
	}

	.vcm-finder--landing {
		margin: -48px 0 0;
	}

	.vcm-hotel-finder__tabs {
		width: 100%;
		border-radius: 8px 8px 0 0;
	}

	.vcm-hotel-finder__tabs button {
		flex: 1;
		padding: 9px 8px;
	}

	.vcm-hotel-finder__form {
		grid-template-columns: 1fr 1fr;
		border-radius: 0 0 8px 8px;
	}

	.vcm-finder--landing .vcm-hotel-finder__form {
		grid-template-columns: 1fr;
		padding: 14px;
		border-radius: 18px;
	}

	.vcm-hotel-finder__destination,
	.vcm-hotel-finder__optional,
	.vcm-hotel-finder__check,
	.vcm-hotel-finder__actions {
		grid-column: 1 / -1;
	}

	.vcm-finder--landing .vcm-hotel-finder__destination,
	.vcm-finder--landing .vcm-hotel-finder__optional,
	.vcm-finder--landing .vcm-hotel-finder__check,
	.vcm-finder--landing .vcm-hotel-finder__actions {
		grid-column: 1 / -1;
	}

	.vcm-hotel-finder__actions {
		align-items: stretch;
	}

	.vcm-hotel-finder__primary,
	.vcm-hotel-finder__reset {
		flex: 1;
	}

	.vcm-hotel-finder__grid,
	.vcm-hotel-finder__skeleton {
		grid-template-columns: 1fr;
	}

	.vcm-hotel-finder__group-heading {
		display: block;
	}

	.vcm-hotel-finder-card {
		grid-template-rows: 170px 1fr;
	}

	.vcm-hotel-finder-card__fit {
		grid-template-columns: 1fr;
	}

	.vcm-hotel-finder-card__alternates li {
		display: grid;
	}

	.vcm-hotel-finder-card__alternates span {
		text-align: left;
	}

	.vcm-finder-empty {
		grid-template-columns: 1fr;
		padding: 20px;
	}
}

/* Vuelos Caribe FINAL rate-card override loaded last.
   Keeps hotel room/rate titles from collapsing one word per line and makes the matching-room toggle readable. */
.vcm-rate-card[data-vcm-rate-card],
[data-vcm-rate-card].vcm-rate-card {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(150px, auto) minmax(130px, auto) auto !important;
  gap: 18px !important;
  align-items: center !important;
}

.vcm-rate-card[data-vcm-rate-card] .vcm-rate-main,
.vcm-rate-card[data-vcm-rate-card] .vcm-rate-card__main {
  min-width: 0 !important;
  width: auto !important;
  max-width: none !important;
}

.vcm-rate-card[data-vcm-rate-card] .vcm-rate-title,
.vcm-rate-card[data-vcm-rate-card] .vcm-rate-card__title,
.vcm-rate-card[data-vcm-rate-card] h3 {
  display: block !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: 100% !important;
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
  line-height: 1.25 !important;
  text-align: left !important;
}

.vcm-rate-card[data-vcm-rate-card] .vcm-rate-badges,
.vcm-rate-card[data-vcm-rate-card] .vcm-rate-card__badges {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
  max-width: 260px !important;
}

.vcm-rate-card[data-vcm-rate-card] .vcm-rate-price,
.vcm-rate-card[data-vcm-rate-card] .vcm-rate-card__price {
  min-width: 150px !important;
  width: auto !important;
}

.vcm-rate-card[data-vcm-rate-card] .vcm-rate-calculation {
  display: block !important;
  clear: both !important;
  margin-top: 6px !important;
  font-size: 13px !important;
  line-height: 1.35 !important;
  white-space: normal !important;
  text-align: left !important;
  position: static !important;
}

.vcm-rate-card[data-vcm-rate-card] .vcm-rate-stock {
  width: auto !important;
  max-width: 180px !important;
  min-width: 0 !important;
  padding: 8px 12px !important;
  white-space: normal !important;
}

.vcm-rate-card[data-vcm-rate-card] .vcm-btn,
.vcm-rate-card[data-vcm-rate-card] button {
  white-space: nowrap !important;
}

.vcm-toggle-row {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.75rem !important;
  margin: 1.25rem 0 1.75rem !important;
  padding: 0.65rem 1rem !important;
  border-radius: 999px !important;
  border: 1px solid #d6dde9 !important;
  background: #fff !important;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08) !important;
  font-weight: 600 !important;
  font-size: 0.95rem !important;
  color: #0f172a !important;
}

.vcm-toggle-row input[type="checkbox"] {
  appearance: none !important;
  width: 24px !important;
  height: 24px !important;
  border-radius: 999px !important;
  border: 1.5px solid #cbd5f5 !important;
  background: #fff !important;
  position: relative !important;
  cursor: pointer !important;
  transition: background 200ms ease, border-color 200ms ease !important;
}

.vcm-toggle-row input[type="checkbox"]::after {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: transparent;
  transition: background 200ms ease !important;
}

.vcm-toggle-row input[type="checkbox"]:checked {
  background: #ef4444 !important;
  border-color: #ef4444 !important;
}

.vcm-toggle-row input[type="checkbox"]:checked::after {
  background: #fff !important;
}

@media (max-width: 900px) {
  .vcm-rate-card[data-vcm-rate-card],
  [data-vcm-rate-card].vcm-rate-card {
    grid-template-columns: 1fr !important;
  }

  .vcm-rate-card[data-vcm-rate-card] .vcm-rate-price,
  .vcm-rate-card[data-vcm-rate-card] .vcm-rate-card__price {
    min-width: 0 !important;
  }

  .vcm-rate-card[data-vcm-rate-card] .vcm-rate-stock {
    max-width: none !important;
  }

  .vcm-rate-card[data-vcm-rate-card] .vcm-btn,
  .vcm-rate-card[data-vcm-rate-card] button {
    width: 100% !important;
  }
}

/* Premium Rooms & Rates cards */
.vcm-hotel-page .vcm-room-card,
.vcm-booking-rates .vcm-room-card {
  display: grid;
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr) minmax(240px, 260px);
  gap: 1.2rem;
  align-items: stretch;
  border: 1px solid #e2e8f0;
  border-radius: 1.25rem;
  padding: 1.25rem 1.35rem;
  background: #ffffff;
  box-shadow: 0 12px 35px rgba(15, 23, 42, 0.07);
  transition: border-color 220ms ease, box-shadow 220ms ease;
  width: 100%;
  overflow: hidden;
}

.vcm-room-card.is-selected {
  border-color: rgba(248, 113, 113, 0.5);
  box-shadow: 0 18px 45px rgba(244, 114, 182, 0.3);
}

.vcm-room-card:hover {
  border-color: #c2410c;
}

.vcm-room-card:focus-within {
  outline: 2px solid #2563eb;
  outline-offset: 4px;
}

.vcm-room-card__gallery {
  border-radius: 1.1rem;
  overflow: hidden;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.05);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.vcm-room-card__gallery-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(100%, 1fr);
  overflow: hidden;
  scroll-snap-type: x mandatory;
  position: relative;
  min-height: 220px;
	-ms-overflow-style: none;
	scrollbar-width: none;
	scroll-behavior: smooth;
}

.vcm-room-card__gallery-track::-webkit-scrollbar {
	display: none;
}

.vcm-room-card__gallery-frame {
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  scroll-snap-align: center;
  transition: transform 200ms ease;
}

.vcm-room-card__gallery-frame:hover,
.vcm-room-card__gallery-frame.is-active {
  transform: scale(1.02);
}

.vcm-room-card__gallery-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.vcm-room-card__gallery-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1.25rem 0.35rem;
  font-weight: 600;
}

.vcm-room-card__gallery-counter {
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #475569;
}

.vcm-room-card__gallery-open {
  border: 0;
  background: #0f172a;
  color: #fff;
  padding: 0.45rem 1.05rem;
  border-radius: 999px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: background 180ms ease;
}

.vcm-room-card__gallery-open:hover,
.vcm-room-card__gallery-open:focus-visible {
  background: #c2410c;
}

.vcm-room-card__gallery-thumbs {
  display: flex;
  gap: 0.65rem;
  padding: 0 1rem 1rem;
  flex-wrap: nowrap;
  align-items: center;
}

.vcm-room-card__gallery-thumb {
  border: none;
  border-radius: 0.75rem;
  padding: 0;
  background: transparent;
  box-shadow: 0 6px 15px rgba(15, 23, 42, 0.12);
  width: 64px;
  height: 64px;
  overflow: hidden;
  cursor: pointer;
}

.vcm-room-card__gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.vcm-room-card__gallery-thumb.is-active {
  outline: 2px solid #c2410c;
}

.vcm-room-card__gallery-more {
  font-size: 0.75rem;
  font-weight: 600;
  color: #475569;
}

.vcm-room-card__gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(15, 23, 42, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1rem;
}

.vcm-room-card__gallery-lightbox-inner {
  position: relative;
  width: min(1200px, 100%);
  padding: 1rem 1.2rem 1.5rem;
  background: transparent;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.vcm-room-card__gallery-lightbox-close {
  position: absolute;
  top: 0.25rem;
  right: 0;
  border: none;
  background: #fff;
  color: #0f172a;
  border-radius: 999px;
  width: 42px;
  height: 42px;
  cursor: pointer;
}

.vcm-room-card__gallery-lightbox-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(100%, 1fr);
  overflow: hidden;
  scroll-snap-type: x mandatory;
}

.vcm-room-card__gallery-lightbox-slide {
  scroll-snap-align: center;
  padding: 0 1rem;
}

.vcm-room-card__gallery-lightbox-slide img {
  width: 100%;
  height: auto;
  max-height: 70vh;
  object-fit: contain;
  border-radius: 1rem;
}

.vcm-room-card__gallery-lightbox-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.vcm-room-card__gallery-lightbox-controls button {
  border: none;
  background: rgba(255, 255, 255, 0.9);
  color: #0f172a;
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
}

.vcm-room-card__gallery-lightbox-counter {
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #f8fafc;
}

body.vcm-room-gallery--locked {
  overflow: hidden;
}

.vcm-room-card__content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
}

.vcm-room-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 0.6rem 0 0.85rem;
}

.vcm-room-card__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.25rem 0.9rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
}

.vcm-room-card__badge--selected {
  background: #fff1f2;
  color: #9f1239;
  border-color: #fecdd3;
}

.vcm-room-card__badge--availability {
  background: #eef2ff;
  color: #312e81;
}

.vcm-room-card__badge--match {
  background: #e0f2fe;
  color: #0f172a;
}

.vcm-room-card__badge--tag {
  background: #f1f5f9;
  color: #475569;
}

.vcm-room-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  font-size: 0.85rem;
  color: #475569;
}

.vcm-room-card__meta-chip {
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #f8fafc;
}

.vcm-room-card__cta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.9rem;
  min-width: 0;
}

.vcm-room-card__price {
  text-align: right;
}

.vcm-room-card__price-label {
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #64748b;
}

.vcm-room-card__price-total {
  font-size: 1.8rem;
  line-height: 1.15;
  color: #0f172a;
  margin-top: 0.25rem;
  display: block;
}

.vcm-room-card__price-calculation {
  font-size: 0.78rem;
  color: #475569;
  margin-top: 0.25rem;
  display: block;
}

.vcm-room-card__price-nightly {
  font-size: 0.9rem;
  color: #0f172a;
  font-weight: 500;
  margin-top: 0.45rem;
  display: block;
}

.vcm-room-card__cta .vcm-book-now {
  width: 100%;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.25rem;
  font-size: 0.95rem;
}

.vcm-room-card__cta .vcm-book-now:focus-visible {
  outline: 2px solid rgba(59, 130, 246, 0.85);
  outline-offset: 3px;
}

@media (max-width: 960px) {
  .vcm-room-card {
    grid-template-columns: 1fr;
  }

  .vcm-room-card__cta,
  .vcm-room-card__price {
    text-align: left;
    align-items: stretch;
  }

	.vcm-room-card__gallery {
		grid-column: 1 / -1;
	}

	.vcm-room-card__gallery-thumbs {
		display: none;
	}
}

@media (max-width: 640px) {
  .vcm-room-card {
    padding: 1rem;
  }
}

@media (max-width: 600px) {
	.vcm-room-card__gallery-thumbs {
		display: none;
	}
}

.vcm-room-card__gallery-lightbox[hidden] {
	display: none;
	pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
	.vcm-room-card__gallery-frame,
	.vcm-room-card__gallery-open,
	.vcm-room-card__gallery-lightbox-track {
		transition: none !important;
	}
}


/* FINAL FIX: hotel room/rate cards - broad override */
.vcm-hotel-page .vcm-rate-card,
.vcm-booking-rates .vcm-rate-card,
.vcm-rate-card {
  display: grid !important;
  grid-template-columns: minmax(360px, 1fr) 150px 150px 120px !important;
  gap: 18px !important;
  align-items: center !important;
  width: 100% !important;
}

.vcm-hotel-page .vcm-rate-main,
.vcm-booking-rates .vcm-rate-main,
.vcm-rate-main {
  min-width: 0 !important;
  width: 100% !important;
  max-width: none !important;
}

.vcm-hotel-page .vcm-rate-main h3,
.vcm-hotel-page .vcm-rate-title,
.vcm-booking-rates .vcm-rate-main h3,
.vcm-booking-rates .vcm-rate-title,
.vcm-rate-main h3,
.vcm-rate-title {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 280px !important;
  margin: 0 0 10px !important;
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
  hyphens: none !important;
  line-height: 1.25 !important;
  text-align: left !important;
}

.vcm-hotel-page .vcm-rate-price,
.vcm-booking-rates .vcm-rate-price,
.vcm-rate-price {
  min-width: 140px !important;
  width: 140px !important;
  text-align: left !important;
}

.vcm-hotel-page .vcm-rate-stock,
.vcm-booking-rates .vcm-rate-stock,
.vcm-rate-stock {
  min-width: 130px !important;
  max-width: 150px !important;
  width: auto !important;
  padding: 0 !important;
  white-space: normal !important;
}

.vcm-hotel-page .vcm-rate-badges,
.vcm-booking-rates .vcm-rate-badges,
.vcm-rate-badges {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
  max-width: 100% !important;
}

.vcm-hotel-page .vcm-rate-badges span,
.vcm-booking-rates .vcm-rate-badges span,
.vcm-rate-badges span {
  display: inline-flex !important;
  width: auto !important;
  max-width: none !important;
  white-space: normal !important;
}

.vcm-hotel-page .vcm-book-now,
.vcm-booking-rates .vcm-book-now,
.vcm-rate-card .vcm-btn {
  justify-self: end !important;
  white-space: nowrap !important;
}

@media (max-width: 1100px) {
  .vcm-hotel-page .vcm-rate-card,
  .vcm-booking-rates .vcm-rate-card,
  .vcm-rate-card {
    grid-template-columns: 1fr 140px !important;
  }

  .vcm-hotel-page .vcm-rate-main h3,
  .vcm-hotel-page .vcm-rate-title,
  .vcm-booking-rates .vcm-rate-main h3,
  .vcm-booking-rates .vcm-rate-title,
  .vcm-rate-main h3,
  .vcm-rate-title {
    min-width: 0 !important;
  }

  .vcm-hotel-page .vcm-rate-stock,
  .vcm-booking-rates .vcm-rate-stock,
  .vcm-rate-stock,
  .vcm-hotel-page .vcm-book-now,
  .vcm-booking-rates .vcm-book-now,
  .vcm-rate-card .vcm-btn {
    justify-self: start !important;
  }
}

@media (max-width: 780px) {
  .vcm-hotel-page .vcm-rate-card,
  .vcm-booking-rates .vcm-rate-card,
  .vcm-rate-card {
    grid-template-columns: 1fr !important;
  }

  .vcm-hotel-page .vcm-rate-price,
  .vcm-booking-rates .vcm-rate-price,
  .vcm-rate-price,
  .vcm-hotel-page .vcm-rate-stock,
  .vcm-booking-rates .vcm-rate-stock,
  .vcm-rate-stock {
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
  }

  .vcm-hotel-page .vcm-book-now,
  .vcm-booking-rates .vcm-book-now,
  .vcm-rate-card .vcm-btn {
    width: 100% !important;
    justify-self: stretch !important;
  }
}

/* FINAL FIX: prevent rate cards from overlapping sticky booking sidebar */
.vcm-hotel-page .vcm-resort-main,
.vcm-hotel-page .vcm-booking-rates,
.vcm-hotel-page .vcm-rate-cards {
  min-width: 0 !important;
  max-width: 100% !important;
  overflow: hidden !important;
}

.vcm-hotel-page .vcm-rate-card,
.vcm-booking-rates .vcm-rate-card,
.vcm-rate-card {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(115px, 130px) minmax(115px, 135px) !important;
  gap: 14px !important;
  align-items: center !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

.vcm-hotel-page .vcm-rate-title,
.vcm-booking-rates .vcm-rate-title,
.vcm-rate-title {
  grid-column: 1 / 2 !important;
  min-width: 0 !important;
  max-width: 100% !important;
  font-size: 17px !important;
  line-height: 1.22 !important;
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
}

.vcm-hotel-page .vcm-rate-badges,
.vcm-booking-rates .vcm-rate-badges,
.vcm-rate-badges {
  grid-column: 1 / 2 !important;
  max-width: 100% !important;
}

.vcm-hotel-page .vcm-rate-price,
.vcm-booking-rates .vcm-rate-price,
.vcm-rate-price {
  grid-column: 2 / 3 !important;
  min-width: 0 !important;
  width: auto !important;
  text-align: left !important;
}

.vcm-hotel-page .vcm-rate-price strong,
.vcm-booking-rates .vcm-rate-price strong,
.vcm-rate-price strong {
  font-size: 22px !important;
}

.vcm-hotel-page .vcm-rate-calculation,
.vcm-booking-rates .vcm-rate-calculation,
.vcm-rate-calculation {
  font-size: 12px !important;
  line-height: 1.25 !important;
}

.vcm-hotel-page .vcm-rate-stock,
.vcm-booking-rates .vcm-rate-stock,
.vcm-rate-stock {
  grid-column: 3 / 4 !important;
  min-width: 0 !important;
  max-width: 135px !important;
  width: auto !important;
}

.vcm-hotel-page .vcm-book-now,
.vcm-booking-rates .vcm-book-now,
.vcm-rate-card .vcm-btn {
  grid-column: 1 / -1 !important;
  justify-self: end !important;
  width: auto !important;
  min-width: 128px !important;
  white-space: nowrap !important;
}

@media (max-width: 1180px) {
  .vcm-hotel-page .vcm-rate-card,
  .vcm-booking-rates .vcm-rate-card,
  .vcm-rate-card {
    grid-template-columns: minmax(0, 1fr) minmax(115px, 130px) !important;
  }

  .vcm-hotel-page .vcm-rate-stock,
  .vcm-booking-rates .vcm-rate-stock,
  .vcm-rate-stock {
    grid-column: 1 / -1 !important;
    max-width: none !important;
  }

  .vcm-hotel-page .vcm-book-now,
  .vcm-booking-rates .vcm-book-now,
  .vcm-rate-card .vcm-btn {
    grid-column: 2 / 3 !important;
    justify-self: start !important;
  }
}

@media (max-width: 900px) {
  .vcm-hotel-page .vcm-rate-card,
  .vcm-booking-rates .vcm-rate-card,
  .vcm-rate-card {
    grid-template-columns: 1fr !important;
  }

  .vcm-hotel-page .vcm-rate-title,
  .vcm-booking-rates .vcm-rate-title,
  .vcm-rate-title,
  .vcm-hotel-page .vcm-rate-badges,
  .vcm-booking-rates .vcm-rate-badges,
  .vcm-rate-badges,
  .vcm-hotel-page .vcm-rate-price,
  .vcm-booking-rates .vcm-rate-price,
  .vcm-rate-price,
  .vcm-hotel-page .vcm-rate-stock,
  .vcm-booking-rates .vcm-rate-stock,
  .vcm-rate-stock,
  .vcm-hotel-page .vcm-book-now,
  .vcm-booking-rates .vcm-book-now,
  .vcm-rate-card .vcm-btn {
    grid-column: 1 / -1 !important;
  }

  .vcm-hotel-page .vcm-rate-card .vcm-btn,
  .vcm-booking-rates .vcm-rate-card .vcm-btn {
    width: 100% !important;
  }
}

.vcm-hotel-finder.vcm-finder {
	max-width: 1220px;
	margin: -46px auto 42px;
	padding: 0 18px;
	position: relative;
	z-index: 5;
}

.vcm-hotel-finder__form.quote-card,
.vcm-hotel-finder__form.vcm-finder__card,
.vcm-finder--landing .vcm-hotel-finder__form {
	width: 100%;
	max-width: 1220px;
	margin: 0 auto;
	padding: 18px;
	border-radius: 24px;
	background: #fff;
	border: 1px solid rgba(15, 23, 42, .08);
	box-shadow: 0 18px 45px rgba(15, 23, 42, .10);
	display: grid;
	grid-template-columns: 2fr 1.1fr 1fr 1fr .7fr .7fr .7fr auto;
	gap: 12px;
	align-items: end;
	min-height: 0 !important;
	height: auto !important;
}

.vcm-hotel-finder__tabs {
	grid-column: 1 / -1;
	display: flex;
	align-items: center;
	gap: 8px;
	height: 48px;
	margin: 0 0 4px;
	padding: 0;
	border-bottom: 1px solid rgba(15, 23, 42, .08);
}

.vcm-hotel-finder__tabs button {
	height: 44px;
	padding: 0 18px;
	border: 0;
	border-radius: 10px;
	background: transparent;
	color: #071f55;
	font-weight: 800;
	cursor: pointer;
}

.vcm-hotel-finder__tabs button.is-active {
	background: #556bb3;
	color: #fff;
	box-shadow: 0 8px 18px rgba(85, 107, 179, .22);
}

.vcm-hotel-finder__field {
	margin: 0 !important;
	padding: 0 !important;
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
}

.vcm-hotel-finder__field span {
	color: #071f55;
	font-size: 12px;
	line-height: 1.1;
	font-weight: 800;
}

.vcm-hotel-finder__field input,
.vcm-hotel-finder__field select {
	width: 100%;
	max-width: 100%;
	height: 44px;
	min-height: 44px;
	box-sizing: border-box;
	padding: 0 12px;
	border: 1px solid #d8deea;
	border-radius: 12px;
	background: #fff;
	color: #071f55;
	font-size: 14px;
	line-height: 1.2;
	outline: none;
}

.vcm-hotel-finder__field input:focus,
.vcm-hotel-finder__field select:focus {
	border-color: #556bb3;
	box-shadow: 0 0 0 3px rgba(85, 107, 179, .14);
}

.vcm-hotel-finder__check {
	grid-column: 1 / 4;
	margin: 0 !important;
	padding: 0 !important;
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: 36px;
	color: #071f55;
	font-size: 13px;
	font-weight: 800;
}

.vcm-hotel-finder__check input {
	width: 16px;
	height: 16px;
	accent-color: #f32b55;
}

.vcm-hotel-finder__actions {
	grid-column: 4 / -1;
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: 10px;
	margin: 0 !important;
	padding: 0 !important;
}

.vcm-hotel-finder__primary {
	height: 44px;
	min-height: 44px;
	padding: 0 24px;
	border: 0;
	border-radius: 999px;
	background: #f32b55;
	color: #fff;
	font-size: 14px;
	font-weight: 900;
	white-space: nowrap;
	cursor: pointer;
	box-shadow: 0 12px 25px rgba(243, 43, 85, .25);
}

.vcm-hotel-finder__primary:hover {
	background: #d91f46;
}

.vcm-hotel-finder__reset {
	height: 40px;
	padding: 0 16px;
	border-radius: 999px;
	border: 1px solid #556bb3;
	background: #fff;
	color: #556bb3;
	font-weight: 800;
	cursor: pointer;
}

.vcm-finder__note {
	grid-column: 1 / -1;
	margin: 0 !important;
	padding: 2px 0 0;
	text-align: center;
	color: #596579;
	font-size: 13px;
	line-height: 1.35;
	font-weight: 700;
}

.vcm-hotel-finder__results {
	max-width: 1220px;
	margin: 18px auto 0;
}

@media (max-width: 1180px) {
	.vcm-hotel-finder__form.quote-card,
	.vcm-hotel-finder__form.vcm-finder__card,
	.vcm-finder--landing .vcm-hotel-finder__form {
		grid-template-columns: 1.5fr 1fr 1fr 1fr;
	}

	.vcm-hotel-finder__actions {
		grid-column: 1 / -1;
		justify-content: flex-start;
	}

	.vcm-hotel-finder__check {
		grid-column: 1 / -1;
	}
}

@media (max-width: 720px) {
	.vcm-hotel-finder.vcm-finder {
		margin: -28px auto 32px;
		padding: 0 14px;
	}

	.vcm-hotel-finder__form.quote-card,
	.vcm-hotel-finder__form.vcm-finder__card,
	.vcm-finder--landing .vcm-hotel-finder__form {
		display: flex;
		flex-direction: column;
		gap: 12px;
		padding: 16px;
		border-radius: 20px;
	}

	.vcm-hotel-finder__tabs {
		width: 100%;
		height: auto;
		overflow-x: auto;
		padding-bottom: 8px;
	}

	.vcm-hotel-finder__tabs button {
		flex: 0 0 auto;
	}

	.vcm-hotel-finder__actions {
		width: 100%;
		flex-direction: column;
		align-items: stretch;
	}

	.vcm-hotel-finder__primary,
	.vcm-hotel-finder__reset {
		width: 100%;
	}

	.vcm-finder__note {
		text-align: left;
	}
}
