/* Galeria y resumen principal del detalle de viaje.
 * Se mantiene aislado para no mezclar estos ajustes con los estilos historicos.
 */
body {
  font-family: "Poppins", Arial, sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6,
.categoria-detalle,
.titulomostrar-detalle,
.title-itinerario,
.panel-title,
.suplementos-title,
.incluye_no_incluye,
.package-gallery-modal .modal-title {
  font-family: "Rubik", Arial, sans-serif;
}

p,
li,
input,
select,
textarea,
button,
.info-detalle,
.package-gallery-modal,
.package-gallery-carousel {
  font-family: "Poppins", Arial, sans-serif;
}

.gallery-slider {
  position: relative;
}

/* Lightbox de pantalla completa: experiencia limpia, similar a un visor
 * fotografico, sin cabecera ni miniaturas que resten espacio a la imagen. */
.package-gallery-modal {
  background: #000;
}

.package-gallery-modal .modal-dialog {
  width: 100vw;
  height: 100vh;
  max-width: none;
  margin: 0;
}

.package-gallery-modal .modal-content {
  width: 100%;
  height: 100%;
  max-height: none;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #000;
  box-shadow: none;
}

.package-gallery-modal .modal-body,
.package-gallery-carousel,
.package-gallery-carousel__viewport {
  width: 100%;
  height: 100%;
  min-height: 0;
  background: #000;
}

.package-gallery-carousel__media {
  padding: 40px 90px;
  background: #000;
  transform-origin: center;
  transition: transform .25s ease;
}

.package-gallery-carousel__media.is-zoomed {
  transform: scale(1.45);
}

.package-gallery-carousel__media img,
.package-gallery-carousel__media iframe {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.package-gallery-carousel__control {
  width: 52px;
  height: 72px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(255, 255, 255, .82);
  box-shadow: none;
}

.package-gallery-carousel__control--prev {
  left: 0;
}

.package-gallery-carousel__control--next {
  right: 0;
}

.package-gallery-carousel__control:hover {
  background: rgba(255, 255, 255, .08);
  color: #fff;
  transform: translateY(-50%);
  box-shadow: none;
}

.package-gallery-carousel__counter {
  top: 10px;
  right: auto;
  bottom: auto;
  left: 12px;
  z-index: 10;
  min-width: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(255, 255, 255, .82);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .08em;
  backdrop-filter: none;
}

.package-gallery-carousel__toolbar {
  position: absolute;
  top: 7px;
  right: 10px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 4px;
}

.package-gallery-carousel__tool {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: rgba(255, 255, 255, .82);
  cursor: pointer;
  transition: color .16s ease, background-color .16s ease;
}

.package-gallery-carousel__tool:hover,
.package-gallery-carousel__tool[aria-pressed="true"] {
  background: rgba(255, 255, 255, .1);
  color: #fff;
}

.package-gallery-carousel__tool:focus-visible {
  outline: 2px solid #fff;
  outline-offset: -2px;
}

.package-gallery-carousel__tool svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.package-gallery-carousel__tool--close {
  margin-left: 5px;
}

.package-gallery-carousel:fullscreen,
.package-gallery-carousel:-webkit-full-screen {
  width: 100vw;
  height: 100vh;
  background: #000;
}

@media (max-width: 575.98px) {
  .package-gallery-modal .modal-dialog {
    width: 100vw;
    height: 100vh;
    margin: 0;
  }

  .package-gallery-modal .modal-content {
    max-height: none;
    border-radius: 0;
  }

  .package-gallery-carousel__viewport {
    height: 100%;
    min-height: 0;
  }

  .package-gallery-carousel__media {
    padding: 52px 42px 32px;
  }

  .package-gallery-carousel__control {
    width: 42px;
    height: 64px;
  }

  .package-gallery-carousel__control--prev {
    left: 0;
  }

  .package-gallery-carousel__control--next {
    right: 0;
  }

  .package-gallery-carousel__counter {
    top: 14px;
    right: auto;
    bottom: auto;
    left: 12px;
  }

  .package-gallery-carousel__toolbar {
    top: 7px;
    right: 6px;
  }

  .package-gallery-carousel__tool {
    width: 36px;
    height: 36px;
  }
}

/* Estructura del detalle: galeria completa y contenido inferior en dos columnas. */
.detail-content-layout {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(320px, 1fr);
  gap: 24px;
  width: 100%;
  margin-top: 24px;
  padding: 0 15px;
}

.detail-content-layout__main,
.detail-content-layout__sidebar {
  min-width: 0;
}

/* Enlaces relacionados con el destino, integrados con las tarjetas del detalle. */
.detail-footer-content {
  grid-column: 1 / -1;
  flex: 0 0 100%;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.detail-last-updated {
  flex: 0 0 100%;
  width: 100%;
  max-width: 100%;
}

#palabrasdestino.destination-links {
  display: block;
  flex: 0 0 100%;
  align-self: stretch;
  width: 100%;
  max-width: 100%;
  margin: 18px 0 20px;
  padding: 20px 22px;
  box-sizing: border-box;
  border: 1px solid #dce7f1;
  border-radius: 20px;
  background: linear-gradient(135deg, #fff 0%, #f4f9fd 100%);
  box-shadow: 0 8px 24px rgba(24, 74, 123, .08);
}

#palabrasdestino .destination-links__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

#palabrasdestino .destination-links__icon {
  display: inline-flex;
  flex: 0 0 40px;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, #0b9fda, #28549d);
  color: #fff;
  font-size: 1.2rem;
  box-shadow: 0 6px 14px rgba(28, 99, 166, .2);
}

#palabrasdestino .destination-links__title {
  margin: 0;
  color: #214d86;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.2;
}

#palabrasdestino .destination-links__subtitle {
  margin: 3px 0 0;
  color: #64778b;
  font-size: .82rem;
  line-height: 1.35;
}

#palabrasdestino .destination-links__list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: left;
  justify-content: center;
}

#palabrasdestino .destination-links__list li {
  margin: 0;
  padding: 0;
}

#palabrasdestino .destination-links__list a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 5px 13px;
  border: 1px solid #c9ddec;
  border-radius: 999px;
  background: #fff;
  color: #24568f;
  font-size: .82rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  box-shadow: 0 3px 9px rgba(31, 81, 132, .06);
  transition: border-color .2s ease, background-color .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}

#palabrasdestino .destination-links__list a span {
  font-size: 1.15em;
  line-height: 1;
  transition: transform .2s ease;
}

#palabrasdestino .destination-links__list a:hover,
#palabrasdestino .destination-links__list a:focus-visible {
  border-color: #168dcc;
  background: #168dcc;
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(22, 113, 177, .18);
}

#palabrasdestino .destination-links__list a:hover span,
#palabrasdestino .destination-links__list a:focus-visible span {
  transform: translateX(2px);
}

#palabrasdestino .destination-links__list a:focus-visible {
  outline: 3px solid rgba(22, 141, 204, .25);
  outline-offset: 2px;
}

@media (max-width: 575.98px) {
  .count-history {
    width: 100%;
    margin-right: 0;
    margin-left: 0;
    padding: 16px 0;
    justify-content: flex-start !important;
  }

  .count-history>p,
  .count-history__breadcrumb {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
  }

  .count-history__breadcrumb {
    padding-right: 15px;
    padding-left: 15px;
    justify-content: flex-start;
    overflow-wrap: anywhere;
  }

  .count-history__breadcrumb span {
    display: inline;
  }

  #palabrasdestino.destination-links {
    margin-bottom: 16px;
    padding: 17px 16px;
    border-radius: 16px;
  }

  #palabrasdestino .destination-links__header {
    align-items: flex-start;
    margin-bottom: 14px;
  }

  #palabrasdestino .destination-links__icon {
    flex-basis: 36px;
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }

  #palabrasdestino .destination-links__title {
    font-size: 1.05rem;
  }

  #palabrasdestino .destination-links__list {
    gap: 8px;
  }

  #palabrasdestino .destination-links__list a {
    min-height: 36px;
    padding: 7px 11px;
    font-size: .78rem;
  }
}

.detail-content-layout__main>.col-12,
.detail-content-layout__sidebar .calendario_detalle,
.detail-content-layout__main #itinerarioDias {
  width: 100%;
  max-width: none;
  padding-right: 0;
  padding-left: 0;
}

.detail-content-layout__sidebar {
  display: flex;
  flex-direction: column;
}

.detail-section--calendar {
  order: 1;
}

.detail-section--rates {
  order: 2;
}

.detail-section--terms {
  order: 3;
}

.detail-section--recommendations {
  order: 4;
}

.detail-content-layout .calendario-desktop {
  position: static;
  top: auto;
  grid-column: auto;
  grid-row: auto;
  margin: 0 0 24px !important;
}

.detail-content-layout #tituloIncluye {
  display: block;
  grid-column: auto;
  grid-row: auto;
}

.detail-section--itinerary #itinerarioDias {
  display: block;
  margin: 0 !important;
}

.detail-sidebar-subsection {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid #e1e8ef;
}

.detail-sidebar-subsection .title-itinerario {
  margin-bottom: 12px;
  font-size: 1.05rem;
  border-bottom: none;
}

.detail-content-layout__sidebar .tabla_hoteles {
  display: table;
  table-layout: fixed;
  font-size: .72rem;
}

.detail-content-layout__sidebar .tabla_hoteles td {
  overflow-wrap: anywhere;
}

@media (min-width: 992px) {
  .detail-section--calendar {
    position: sticky;
    top: 18px;
    z-index: 2;
  }
}

@media (max-width: 991.98px) {
  .detail-content-layout {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 18px;
    padding: 0 10px;
  }

  .detail-content-layout__sidebar {
    margin-top: 8px;
  }

  .detail-content-layout .calendario_detalle {
    margin: 0 0 20px !important;
  }
}

/* Ajuste final del lightbox: fondo translucido y medio realmente centrado.
 * box-sizing evita que el padding sume ancho y desplace el iframe. */
body.package-gallery-is-open>.modal-backdrop.show {
  opacity: 0 !important;
}

.package-gallery-modal {
  background: rgba(3, 13, 27, .86);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.package-gallery-modal .modal-content,
.package-gallery-modal .modal-body,
.package-gallery-carousel,
.package-gallery-carousel__viewport,
.package-gallery-carousel__media {
  background: transparent;
}

.package-gallery-carousel__media {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 52px 88px;
}

.package-gallery-carousel__media img {
  flex: 0 1 auto;
  width: auto;
  height: auto;
  max-width: min(82vw, 1440px);
  max-height: calc(100vh - 104px);
  object-fit: contain;
}

.package-gallery-carousel__media iframe {
  flex: 0 1 auto;
  width: min(82vw, 1280px);
  height: auto;
  max-width: calc(100vw - 176px);
  max-height: calc(100vh - 104px);
  aspect-ratio: 16 / 9;
  background: #000;
}

@media (max-width: 575.98px) {
  .package-gallery-modal {
    background: rgba(3, 13, 27, .9);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
  }

  .package-gallery-carousel__media {
    padding: 52px 42px 28px;
  }

  .package-gallery-carousel__media img {
    max-width: calc(100vw - 84px);
    max-height: calc(100vh - 80px);
  }

  .package-gallery-carousel__media iframe {
    width: calc(100vw - 84px);
    max-width: calc(100vw - 84px);
    max-height: calc(100vh - 80px);
  }
}

.travel-gallery__item--main {
  display: flex;
  flex-direction: column;
  background: #0877b5;
}

.travel-gallery__media {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
}

.travel-gallery__media>img,
.travel-gallery__media>iframe {
  position: absolute;
  inset: 0;
}

/* En las piezas laterales el contenido es absoluto, por eso el contenedor
 * debe ocupar explicitamente toda la celda para que la imagen sea visible. */
.travel-gallery__item--secondary .travel-gallery__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.travel-gallery__item--main .gallery-summary {
  flex: 0 0 auto;
  width: 100%;
  margin: 0;
  padding: 0;
}

.travel-gallery__item--main .info-detalle {
  min-height: 112px;
  margin: 0;
  padding: 16px 20px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.travel-gallery__item--main .info-actions,
.travel-gallery__item--main .info-stats,
.travel-gallery__item--main .info-price {
  flex: 0 1 auto;
}

.travel-gallery__item--main .info-price .price-value {
  white-space: nowrap;
}

/* El modal se mantiene por encima de su backdrop incluso si otros estilos
 * historicos de Bootstrap modifican el orden de apilamiento. */
.package-gallery-modal {
  z-index: 1065 !important;
  padding-right: 0 !important;
}

body>.modal-backdrop {
  z-index: 1040 !important;
}

/* Bootstrap coloca los modales en 1050 y el backdrop en 1040. La galeria
 * dibuja su propia capa oscura; los demas modales conservan el fondo normal. */
#cotizarfromModal {
  z-index: 1050 !important;
}

body>.modal-backdrop.show {
  opacity: .5 !important;
}

body.package-gallery-is-open>.modal-backdrop.show {
  opacity: 0 !important;
}

.package-gallery-modal .modal-dialog {
  width: min(1180px, calc(100% - 32px));
  max-width: none;
  margin: 16px auto;
}

.package-gallery-modal .modal-content {
  max-height: calc(100vh - 32px);
}

.package-gallery-modal .modal-body {
  padding: 0;
  overflow: hidden;
  background: #07182e;
}

.package-gallery-carousel {
  position: relative;
  background: #07182e;
  outline: 0;
}

.package-gallery-carousel__viewport {
  position: relative;
  height: min(64vh, 670px);
  min-height: 420px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 35%, rgba(29, 93, 151, .3), transparent 48%),
    #061426;
}

.package-gallery-carousel__slide {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(.985);
  transition: opacity .28s ease, transform .35s ease, visibility 0s linear .35s;
}

.package-gallery-carousel__slide.is-active {
  z-index: 1;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: scale(1);
  transition-delay: 0s;
}

.package-gallery-carousel__media {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  margin: 0;
  background: #07182e;
}

.package-gallery-carousel__media img,
.package-gallery-carousel__media iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.package-gallery-carousel__media img {
  object-fit: contain;
}

.package-gallery-carousel__media iframe {
  object-fit: cover;
}

.package-gallery-carousel__control {
  position: absolute;
  top: 50%;
  z-index: 8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 50%;
  background: rgba(255, 255, 255, .96);
  color: #12376c;
  transform: translateY(-50%);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .38);
  cursor: pointer;
  transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease;
}

.package-gallery-carousel__control--prev {
  left: 22px;
}

.package-gallery-carousel__control--next {
  right: 22px;
}

.package-gallery-carousel__control:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .48);
}

.package-gallery-carousel__control:focus-visible {
  outline: 3px solid #ffd600;
  outline-offset: 3px;
}

.package-gallery-carousel__control svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.package-gallery-carousel__counter {
  position: absolute;
  right: 18px;
  bottom: 16px;
  z-index: 3;
  min-width: 64px;
  margin: 0;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(7, 24, 46, .78);
  color: #fff;
  font-size: .85rem;
  font-weight: 700;
  text-align: center;
  backdrop-filter: blur(8px);
}

.package-gallery-carousel__thumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 92px;
  padding: 12px 18px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-color: #2b9ed6 #0b213d;
  background: linear-gradient(180deg, #0d2948 0%, #071a31 100%);
}

.package-gallery-carousel__thumb {
  position: relative;
  flex: 0 0 112px;
  height: 66px;
  padding: 0;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 10px;
  background: #102f50;
  color: #fff;
  opacity: .66;
  cursor: pointer;
  box-shadow: 0 5px 14px rgba(0, 0, 0, .22);
  transition: opacity .18s ease, border-color .18s ease, transform .18s ease;
}

.package-gallery-carousel__thumb:hover,
.package-gallery-carousel__thumb.is-active {
  border-color: #26b6f4;
  opacity: 1;
  transform: translateY(-2px);
}

.package-gallery-carousel__thumb:focus-visible {
  outline: 3px solid #ffd600;
  outline-offset: 2px;
}

.package-gallery-carousel__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.package-gallery-carousel__video-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #df123d, #8f0c2b);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.package-gallery-carousel__video-thumb svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
}

.package-gallery-carousel__thumb-number {
  position: absolute;
  right: 4px;
  bottom: 4px;
  min-width: 20px;
  padding: 2px 5px;
  border-radius: 999px;
  background: rgba(4, 18, 35, .82);
  color: #fff;
  font-size: .67rem;
  font-weight: 800;
  line-height: 1.2;
}

/* Escritorio: las dos miniaturas terminan donde acaba la imagen principal.
 * La tercera fila queda reservada exclusivamente para la franja de precio. */
@media (min-width: 576px) {
  .travel-gallery {
    --gallery-summary-height: 112px;
    grid-template-rows: repeat(2, minmax(0, 1fr)) calc(var(--gallery-summary-height) - 12px);
  }

  .travel-gallery__item--main {
    grid-row: 1 / 4;
  }

  .travel-gallery--count-2 .travel-gallery__item--secondary {
    grid-row: 1 / 3;
  }

  .travel-gallery__item--main .info-detalle {
    min-height: var(--gallery-summary-height);
  }
}

@media (max-width: 991.98px) {
  .travel-gallery {
    --gallery-summary-height: 104px;
  }

  .travel-gallery__item--main .info-detalle {
    min-height: 104px;
  }

  .travel-gallery__item--main .info-actions {
    display: none !important;
  }
}

@media (max-width: 575.98px) {
  .travel-gallery {
    grid-template-rows: minmax(360px, 100vw) minmax(112px, 31vw);
  }

  .travel-gallery__item--main .info-detalle {
    min-height: 124px;
    padding: 12px;
    gap: 8px;
  }

  .travel-gallery__item--main .info-stats,
  .travel-gallery__item--main .info-price {
    width: auto;
  }

  .travel-gallery__item--main .info-stats {
    gap: 6px;
  }

  .travel-gallery__item--main .pill {
    padding: 7px 8px;
    font-size: .75rem;
  }

  .travel-gallery__item--main .info-price {
    padding-top: 0;
    margin-top: 0;
    border-top: 0;
    text-align: right;
  }

  .travel-gallery__item--main .info-price .price-label {
    margin-bottom: 2px;
    font-size: .68rem;
  }

  .travel-gallery__item--main .info-price .price-value {
    font-size: 1.25rem;
  }

  .travel-gallery__item--main .info-price .tax-note {
    font-size: .72rem;
  }

  .package-gallery-modal .modal-dialog {
    width: calc(100% - 16px);
    margin: 8px auto;
  }

  .package-gallery-modal .modal-content {
    max-height: calc(100vh - 16px);
    border-radius: 16px;
  }

  .package-gallery-modal .modal-header {
    padding: 12px 14px;
  }

  .package-gallery-modal__eyebrow {
    display: none;
  }

  .package-gallery-carousel__viewport {
    height: min(58vh, 560px);
    min-height: 320px;
  }

  .package-gallery-carousel__control {
    width: 42px;
    height: 42px;
  }

  .package-gallery-carousel__control--prev {
    left: 8px;
  }

  .package-gallery-carousel__control--next {
    right: 8px;
  }

  .package-gallery-carousel__control svg {
    width: 23px;
    height: 23px;
  }

  .package-gallery-carousel__counter {
    right: 10px;
    bottom: 10px;
  }

  .package-gallery-carousel__thumbs {
    min-height: 76px;
    padding: 10px;
  }

  .package-gallery-carousel__thumb {
    flex-basis: 88px;
    height: 54px;
  }
}

/* Estas reglas deben permanecer al final: sustituyen la presentacion anterior
 * del modal por el visor negro de pantalla completa. */
.package-gallery-modal {
  background: #000;
}

.package-gallery-modal .modal-dialog {
  width: 100vw;
  height: 100vh;
  max-width: none;
  margin: 0;
}

.package-gallery-modal .modal-content {
  width: 100%;
  height: 100%;
  max-height: none;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #000;
  box-shadow: none;
}

.package-gallery-modal .modal-body,
.package-gallery-carousel,
.package-gallery-carousel__viewport {
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 0;
  background: #000;
}

.package-gallery-carousel__media {
  padding: 40px 90px;
  background: #000;
  transform-origin: center;
  transition: transform .25s ease;
}

.package-gallery-carousel__media.is-zoomed {
  transform: scale(1.45);
}

.package-gallery-carousel__media img,
.package-gallery-carousel__media iframe {
  object-fit: contain;
}

.package-gallery-carousel__control {
  width: 52px;
  height: 72px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(255, 255, 255, .82);
  box-shadow: none;
}

.package-gallery-carousel__control--prev {
  left: 0;
}

.package-gallery-carousel__control--next {
  right: 0;
}

.package-gallery-carousel__control:hover {
  background: rgba(255, 255, 255, .08);
  color: #fff;
  transform: translateY(-50%);
  box-shadow: none;
}

.package-gallery-carousel__counter {
  top: 10px;
  right: auto;
  bottom: auto;
  left: 12px;
  min-width: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .08em;
  backdrop-filter: none;
}

@media (max-width: 575.98px) {
  .package-gallery-modal .modal-dialog {
    width: 100vw;
    height: 100vh;
    margin: 0;
  }

  .package-gallery-modal .modal-content {
    max-height: none;
    border-radius: 0;
  }

  .package-gallery-carousel__viewport {
    height: 100%;
    min-height: 0;
  }

  .package-gallery-carousel__media {
    padding: 52px 42px 32px;
  }

  .package-gallery-carousel__control {
    width: 42px;
    height: 64px;
  }

  .package-gallery-carousel__control--prev {
    left: 0;
  }

  .package-gallery-carousel__control--next {
    right: 0;
  }

  .package-gallery-carousel__counter {
    top: 14px;
    right: auto;
    bottom: auto;
    left: 12px;
  }
}

/* Centrado y transparencia definitivos del visor. */
body.package-gallery-is-open>.modal-backdrop.show {
  opacity: 0 !important;
}

.package-gallery-modal {
  background: rgba(3, 13, 27, .86);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.package-gallery-modal .modal-content,
.package-gallery-modal .modal-body,
.package-gallery-carousel,
.package-gallery-carousel__viewport,
.package-gallery-carousel__media {
  background: transparent;
}

.package-gallery-carousel__media {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 52px 88px;
}

.package-gallery-carousel__media img {
  flex: 0 1 auto;
  width: auto;
  height: auto;
  max-width: min(82vw, 1440px);
  max-height: calc(100vh - 104px);
}

.package-gallery-carousel__media iframe {
  flex: 0 1 auto;
  width: min(82vw, 1280px);
  height: auto;
  max-width: calc(100vw - 176px);
  max-height: calc(100vh - 104px);
  aspect-ratio: 16 / 9;
  background: #000;
}

@media (max-width: 575.98px) {
  .package-gallery-modal {
    background: rgba(3, 13, 27, .9);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
  }

  .package-gallery-carousel__media {
    padding: 52px 42px 28px;
  }

  .package-gallery-carousel__media img,
  .package-gallery-carousel__media iframe {
    max-width: calc(100vw - 84px);
    max-height: calc(100vh - 80px);
  }

  .package-gallery-carousel__media iframe {
    width: calc(100vw - 84px);
  }
}

/* Promocion financiera e incluye/no incluye inspirados en la tarjeta visual. */
.promo-highlight {
  overflow: hidden;
  border: 8px solid transparent !important;
  border-radius: 28px !important;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(100deg, #f49a20 0%, #f15b24 52%, #ed1c3a 100%) border-box !important;
  box-shadow: none !important;
}

.promo-highlight::before,
.promo-highlight-badge,
.promo-highlight .title-itinerario {
  display: none !important;
}

.promo-highlight .card-body {
  padding: 14px 26px 12px !important;
}

.promo-financing {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(150px, .65fr);
  align-items: center;
  gap: 24px;
  color: #064f72;
}

.promo-financing__price {
  text-align: left;
}

.promo-financing__eyebrow {
  display: block;
  margin: 0 0 -3px 4px;
  font-size: .72rem;
  font-style: italic;
  font-weight: 600;
  text-transform: uppercase;
}

.promo-financing__amount {
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: .82;
}

.promo-financing__amount>strong {
  color: #004c70;
  font-family: "Rubik", Arial, sans-serif;
  font-size: clamp(3rem, 6.5vw, 5rem);
  font-weight: 700;
  letter-spacing: -.07em;
}

.promo-financing__amount>span {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-transform: uppercase;
}

.promo-financing__amount b {
  font-family: "Rubik", Arial, sans-serif;
  font-size: clamp(1.45rem, 3vw, 2.25rem);
  line-height: .9;
}

.promo-financing__amount small {
  font-size: clamp(.9rem, 1.8vw, 1.35rem);
  font-weight: 700;
  line-height: 1;
}

.promo-financing__amount--offer>strong {
  font-size: clamp(2.25rem, 5vw, 4rem);
  letter-spacing: -.04em;
  text-transform: uppercase;
}

.promo-financing__legal {
  display: block;
  margin: 3px 0 0 82px;
  font-size: .52rem;
  font-weight: 500;
  text-transform: uppercase;
}

.promo-financing__bank {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-left: 22px;
  border-left: 1px solid #dce7eb;
  text-align: center;
  text-transform: uppercase;
}

.promo-financing__bank strong {
  font-family: "Rubik", Arial, sans-serif;
  font-size: clamp(1.7rem, 3.5vw, 2.7rem);
  font-style: italic;
  line-height: .9;
}

.promo-financing__bank small {
  margin-top: 3px;
  font-size: .58rem;
  font-weight: 700;
}

.promo-financing__bank span {
  font-family: "Rubik", Arial, sans-serif;
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  font-weight: 500;
  letter-spacing: -.05em;
  line-height: .95;
}

.promo-highlight-text {
  grid-column: 1 / -1;
  margin: 6px 0 0 !important;
  color: #506c7e !important;
  font-size: .68rem !important;
  line-height: 1.35 !important;
  text-align: center;
}

/* Cards de contenido que viven dentro de tituloIncluye (incluye, tours,
 * seguros y visas). Las reglas historicas dejaban transparentes todas ellas. */
#tituloIncluye.detail-includes-section>.card-detalle {
  width: 100%;
  overflow: hidden;
  border: 1px solid #dce6ee !important;
  border-radius: 24px !important;
  background: #ffffff !important;
  box-shadow: 0 12px 30px rgba(19, 57, 91, .08) !important;
}

#tituloIncluye.detail-includes-section>.card-detalle>.card-body {
  padding: 24px !important;
}

.detail-includes-section>.card-detalle:not(:first-child)>.card-body>.title-itinerario {
  position: static;
  width: auto;
  height: auto;
  margin: 0 0 18px !important;
  padding: 0 0 12px;
  overflow: visible;
  clip: auto;
  white-space: normal;
  color: #163d74;
  font-size: 1.25rem;
  border-bottom: 1px solid #dce6ee;
}

.detail-includes-section>.card-detalle:not(:first-child)>.card-body>.row {
  display: block !important;
  margin: 0 !important;
}

.detail-includes-section>.card-detalle:not(:first-child) ul {
  margin: 0;
  padding-left: 1.15rem;
}

.detail-includes-section>.card-detalle:not(:first-child) li {
  color: #263746;
  line-height: 1.65;
}

.detail-includes-section>.card-detalle:not(:first-child) li+li {
  margin-top: 18px;
}

.detail-includes-section>.card-detalle:not(:first-child) li>p {
  /* max-width: 72ch; */
  margin: 10px 0 0;
  color: #425466;
  line-height: 1.65;
}

#tituloIncluye>.card-detalle:first-child>.card-body>.row {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 12px !important;
  margin: 0 !important;
}

#tituloIncluye .texto_incluye,
#tituloIncluye .texto_noincluye {
  width: 100% !important;
  max-width: none !important;
  min-height: 100%;
  padding: 20px 20px 22px !important;
  border: 0 !important;
  border-radius: 28px !important;
  background: #f6f6f7 !important;
  color: #294f93 !important;
  font-size: .78rem !important;
  line-height: 1.48 !important;
  box-shadow: none !important;
}

#tituloIncluye .incluye_no_incluye {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px !important;
  color: #203b72 !important;
  font-family: "Rubik", Arial, sans-serif;
  font-size: 1.12rem !important;
  font-weight: 600 !important;
  line-height: 1.1;
  text-transform: uppercase;
}

#tituloIncluye .incluye_no_incluye::before {
  content: "✓";
  display: inline-flex;
  flex: 0 0 23px;
  align-items: center;
  justify-content: center;
  width: 23px;
  height: 23px;
  border: 3px solid #1388ca;
  border-radius: 50%;
  color: #1388ca;
  font-family: Arial, sans-serif;
  font-size: .9rem;
  font-weight: 800;
  line-height: 1;
}

#tituloIncluye .texto_noincluye .incluye_no_incluye::before {
  content: "×";
  font-size: 1.1rem;
}

#tituloIncluye ul {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

#tituloIncluye li {
  position: relative;
  margin: 0 !important;
  padding-left: 10px;
}

#tituloIncluye li::before {
  content: "•";
  position: absolute;
  top: 0;
  left: 0;
  color: #2979bc;
}

#tituloIncluye li+li {
  margin-top: 4px !important;
}

@media (max-width: 575.98px) {
  .promo-highlight {
    border-width: 6px !important;
    border-radius: 23px !important;
  }

  .promo-highlight .card-body {
    padding: 14px 16px 12px !important;
  }

  .promo-financing {
    grid-template-columns: minmax(0, 1.2fr) minmax(108px, .8fr);
    gap: 10px;
  }

  .promo-financing__amount>strong {
    font-size: clamp(2.45rem, 15vw, 3.5rem);
  }

  .promo-financing__legal {
    margin-left: 3px;
  }

  .promo-financing__bank {
    padding-left: 10px;
  }

  .promo-financing__bank span {
    font-size: clamp(2rem, 11vw, 3rem);
  }

  #tituloIncluye>.card-detalle:first-child>.card-body>.row {
    grid-template-columns: 1fr !important;
  }

  #tituloIncluye .texto_incluye,
  #tituloIncluye .texto_noincluye {
    padding: 18px !important;
    border-radius: 22px !important;
  }

  #tituloIncluye.detail-includes-section>.card-detalle>.card-body {
    padding: 18px !important;
  }
}

/* Orden final solicitado:
 * 1. Galeria completa.
 * 2. Debajo: precio/promocion a la izquierda y calendario a la derecha. */
.detail-section--package-price {
  width: 100%;
  margin: 0 0 16px;
}

.detail-section--package-price .gallery-summary {
  width: 100%;
  margin: 0;
  padding: 0;
}

.detail-section--package-price .info-detalle {
  min-height: 112px;
  margin: 0;
  padding: 16px 20px;
  border: 0;
  border-radius: 0 0 24px 24px;
  background: linear-gradient(110deg, #079ed9 0%, #176eaf 58%, #304f9c 100%);
  box-shadow: 0 12px 28px rgba(18, 69, 123, .16);
}

.detail-section--promotion {
  margin-top: 0 !important;
}

@media (min-width: 576px) {
  .travel-gallery {
    grid-template-rows: repeat(2, minmax(0, 1fr)) !important;
  }

  .travel-gallery__item--main {
    grid-row: 1 / 3 !important;
  }

  .travel-gallery--count-2 .travel-gallery__item--secondary {
    grid-row: 1 / 3 !important;
  }
}

@media (min-width: 992px) {
  .gallery-slider {
    margin-bottom: 0;
  }

  .detail-content-layout {
    align-items: start;
    margin-top: 14px;
  }

  .detail-section--calendar {
    align-self: start;
  }

  .detail-section--calendar .calendario-desktop {
    margin-top: 0 !important;
  }
}

@media (max-width: 991.98px) {
  .detail-section--package-price .info-detalle {
    min-height: 104px;
    border-radius: 0 0 18px 18px;
  }
}

@media (max-width: 575.98px) {
  .detail-section--package-price {
    margin-bottom: 14px;
  }

  .detail-section--package-price .info-detalle {
    min-height: 0;
    padding: 14px;
    border-radius: 16px;
  }
}

/* La galeria y el contenido inferior comparten exactamente la misma reticula.
 * Así coinciden la división imagen/precio y miniaturas/calendario. */
.gallery-slider,
.detail-content-layout {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  margin-right: 0;
  margin-left: 0;
  padding-right: 15px;
  padding-left: 15px;
}

.travel-gallery,
.detail-content-layout {
  grid-template-columns: minmax(0, 2fr) minmax(320px, 1fr);
  gap: 16px;
}

.travel-gallery {
  width: 100%;
}

.detail-content-layout {
  /* margin-top: 16px; */
  margin-top: 0px;
}

@media (max-width: 991.98px) {
  .travel-gallery {
    grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
    gap: 12px;
  }

  .detail-content-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

@media (max-width: 575.98px) {

  .gallery-slider,
  .detail-content-layout {
    padding-right: 10px;
    padding-left: 10px;
  }

  .travel-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
}

/* Tarjeta de precio basada en el arte final proporcionado. */
.detail-section--package-price .package-price-card {
  display: grid !important;
  grid-template-columns: minmax(0, 1.15fr) minmax(210px, .85fr);
  align-items: stretch !important;
  gap: 18px;
  min-height: 136px;
  overflow: hidden;
  padding: 15px 20px 12px;
  border: 0;
  border-radius: 0 0 26px 26px;
  /* Tono inicial oscurecido respecto al original (#0ba7dc) para que el texto blanco cumpla 4.5:1 en todo el degradado */
  background: linear-gradient(110deg, #0a72a0 0%, #1674b7 57%, #31509e 100%);
  color: #fff;
  box-shadow: 0 12px 28px rgba(18, 69, 123, .16);
}

.package-price-card__details {
  display: grid;
  grid-template-rows: auto auto 1fr;
  align-content: center;
  min-width: 0;
}

.package-price-card__duration {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #fff;
  font-family: "Rubik", Arial, sans-serif;
  font-size: 1.75rem;
  line-height: 1;
}

.package-price-card__duration img {
  width: 25px;
  height: 25px;
  object-fit: contain;
}

.package-price-card__duration strong {
  font-weight: 400;
}

.package-price-card__duration span {
  opacity: .82;
  font-weight: 300;
}

.font-money {
  margin-bottom: 2px;
  color: #fff;
  font-size: clamp(1.15rem, 2.3vw, 2rem);
  font-weight: 200;
  letter-spacing: 0.1rem;
}

.package-price-card__destinations {
  display: -webkit-box;
  max-width: 100%;
  /* margin: 5px 0 9px; */
  margin: 10px 0 0px;
  overflow: hidden;
  color: #fff;
  font-size: .875rem;
  /* font-weight: 700; */
  line-height: 1.3;
  letter-spacing: .015em;
  text-transform: uppercase;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.package-price-card__destinations strong {
  font-style: italic;
}

.package-price-card__actions {
  display: flex;
  align-items: center;
  gap: 25px;
  align-content: flex-end;
}

.package-price-card__actions button,
.package-price-card__actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 3px 8px rgba(7, 49, 93, .14);
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease;
}

.package-price-card__actions button:hover,
.package-price-card__actions a:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(7, 49, 93, .22);
}

.package-price-card__actions img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-section--package-price .package-price-card__price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  width: auto;
  min-width: 0;
  padding: 0;
  border: 0;
  text-align: right;
}

.detail-section--package-price .price-label {
  margin: 0 15px 1px 0;
  color: #fff;
  font-family: "Rubik", Arial, sans-serif;
  font-size: 1.5rem;
  font-style: italic;
  font-weight: 500;
}

.detail-section--package-price .price-value {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 5px;
  width: 100%;
  margin: 0;
  color: #fff;
  font-family: "Rubik", Arial, sans-serif;
  line-height: .9;
  white-space: nowrap;
}

.detail-section--package-price .price-value .font-weight-bold {
  font-size: clamp(2rem, 3.6vw, 3.15rem);
  letter-spacing: -.055em;
}

.detail-section--package-price .price-value small {
  margin-bottom: 2px;
  color: #fff;
  font-size: clamp(1.15rem, 2.3vw, 2rem);
  font-weight: 400;
}

.detail-section--package-price .tax-note,
.detail-section--package-price .price-old {
  margin: 1px 2px 0 0;
  color: #fff;
  font-size: .78rem;
  font-weight: 600;
}

.package-price-card__cta {
  min-width: 177px;
  margin-top: 8px;
  padding: 10px 18px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #28447e;
  font-family: "Rubik", Arial, sans-serif;
  font-size: .80rem;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(14, 45, 101, .2);
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease;
}

.package-price-card__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 16px rgba(14, 45, 101, .28);
}

@media (max-width: 767.98px) {
  .detail-section--package-price .package-price-card {
    grid-template-columns: minmax(0, 1fr) minmax(175px, .8fr);
    gap: 12px;
    min-height: 124px;
    padding: 14px;
  }

  .package-price-card__duration {
    font-size: 1.45rem;
  }

  .package-price-card__duration img {
    width: 21px;
    height: 21px;
  }
}

@media (max-width: 479.98px) {
  .detail-section--package-price .package-price-card {
    grid-template-columns: 1fr;
    gap: 12px;
    border-radius: 18px;
  }

  .detail-section--package-price .package-price-card__price {
    align-items: flex-start;
    text-align: left;
  }

  .detail-section--package-price .price-value {
    justify-content: flex-start;
  }

  .package-price-card__cta {
    width: 100%;
  }
}

/* Promoción compacta: mensaje a la izquierda e insignia a la derecha. */
.detail-section--promotion .promo-highlight {
  min-height: 164px;
  border-width: 10px !important;
  border-radius: 38px !important;
}

.detail-section--promotion .promo-highlight .card-body {
  display: flex;
  align-items: center;
  min-height: 144px;
  padding: 24px 34px !important;
}

.promo-offer {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 28px;
  width: 100%;
  color: #064f72;
}

.promo-offer__content {
  min-width: 0;
  padding-right: 0;
}

.promo-offer__title {
  margin: 0;
  color: #064f72;
  font-family: "Rubik", Arial, sans-serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 600;
  line-height: 1.03;
}

.promo-offer__title span {
  font-size: .9em;
}

.promo-offer__description {
  margin-top: 0;
  color: #064f72;
  font-family: "Poppins", Arial, sans-serif;
  font-size: clamp(1rem, 2.25vw, 1.4rem);
  font-weight: 600;
  line-height: 1.2;
}

.promo-offer__description p {
  margin: 0;
}

.promo-offer__badge {
  position: static;
  align-self: start;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 190px;
  padding: 9px 20px;
  border-radius: 999px;
  background: #075378;
  color: #fff;
  font-family: "Rubik", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .02em;
  text-align: center;
  text-transform: uppercase;
}

@media (max-width: 767.98px) {
  .detail-section--promotion .promo-highlight {
    min-height: 150px;
    border-width: 8px !important;
    border-radius: 30px !important;
  }

  .detail-section--promotion .promo-highlight .card-body {
    min-height: 134px;
    padding: 48px 22px 20px !important;
  }

  .promo-offer__content {
    grid-column: 1;
    grid-row: 2;
    padding-right: 0;
  }

  .promo-offer {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .promo-offer__badge {
    grid-column: 1;
    grid-row: 1;
    min-width: 154px;
    padding: 8px 15px;
    font-size: .78rem;
  }
}

@media (max-width: 479.98px) {
  .promo-offer__description {
    font-size: .95rem;
  }
}

/* Columna lateral fija en escritorio y con todo su contenido accesible. */
@media (min-width: 992px) {
  .detail-content-layout__sidebar {
    position: relative;
    top: 16px;
    align-self: start;
    max-height: none;
    padding-right: 0;
    overflow: visible;
  }

  .detail-section--calendar {
    position: static;
    top: auto;
  }
}

.detail-content-layout__sidebar>.detail-section,
.detail-content-layout__sidebar>.card {
  display: block;
  flex: 0 0 auto;
  width: 100%;
  visibility: visible;
  opacity: 1;
}

.detail-content-layout__sidebar .card-body {
  overflow: visible;
}

.detail-content-layout__sidebar .title-itinerario {
  display: block;
  border: none !important;
}

.detail-sidebar-copy {
  color: #1e396a;
  font-size: .78rem !important;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.detail-sidebar-copy p:last-child {
  margin-bottom: 0;
}

.texto_detalles p {
  padding-top: 2px !important;
  color: #5971af;
}

/* Títulos con iconografía propia para las secciones principales. */
.detail-title-with-icon {
  display: flex !important;
  align-items: center;
  gap: 10px;
  color: #1e396a;
  /* border-bottom: 2px solid #1e396a; */
  text-align: left;
  font-size: 1.8rem;
  padding-bottom: .5rem;
  text-transform: uppercase;
  margin-bottom: 2rem;
  margin-top: 2.5rem;
}

.detail-title-with-icon img {
  display: block;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.detail-content-layout__sidebar .detail-title-with-icon {
  margin-bottom: 12px;
}

.detail-content-layout__sidebar .detail-title-with-icon img {
  flex-basis: 34px;
  width: 34px;
  height: 34px;
}

/* Tabla de hoteles compacta, sin columna de estrellas/categoría. */
.detail-content-layout__sidebar .detail-hotels-table {
  width: 100%;
  overflow: hidden;
  border: 0;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 12px;
  background: #edf2f5;
  color: #234b87;
  font-family: "Poppins", Arial, sans-serif;
  font-size: .72rem;
  line-height: 1.25;
}

.detail-hotels-table caption {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.detail-content-layout__sidebar .detail-hotels-table th,
.detail-content-layout__sidebar .detail-hotels-table td {
  padding: 8px 9px;
  border: 0;
  border-right: 1px solid #129fda;
  color: #234b87;
  text-align: left;
  vertical-align: middle;
}

.detail-content-layout__sidebar .detail-hotels-table th:last-child,
.detail-content-layout__sidebar .detail-hotels-table td:last-child {
  border-right: 0;
}

.detail-content-layout__sidebar .detail-hotels-table thead th {
  background: #dfe8ed;
  font-size: .66rem;
  font-weight: 700;
  text-transform: uppercase;
}

.detail-content-layout__sidebar .detail-hotels-table tbody tr:nth-child(odd) td {
  background: #f5f7f8;
}

.detail-content-layout__sidebar .detail-hotels-table tbody tr:nth-child(even) td {
  background: #dfe8ed;
}

.detail-content-layout__sidebar .detail-hotels-table th:first-child,
.detail-content-layout__sidebar .detail-hotels-table td:first-child {
  width: 25%;
}

.detail-content-layout__sidebar .detail-hotels-table th:nth-child(2),
.detail-content-layout__sidebar .detail-hotels-table td:nth-child(2) {
  width: 51%;
}

.detail-content-layout__sidebar .detail-hotels-table th:last-child,
.detail-content-layout__sidebar .detail-hotels-table td:last-child {
  width: 24%;
  text-align: center;
}

.detail-hotels-table__category img {
  display: inline-block;
  width: auto;
  max-width: 58px;
  height: 18px;
  object-fit: contain;
  vertical-align: middle;
}

.detail-content-layout__sidebar .detail-hotels-table tbody tr:last-child td:first-child {
  border-bottom-left-radius: 12px;
}

.detail-content-layout__sidebar .detail-hotels-table tbody tr:last-child td:last-child {
  border-bottom-right-radius: 12px;
}

/* La tabla de precios comparte el lenguaje visual de la tabla de hoteles. */
.detail-content-layout__sidebar .detail-prices-table {
  width: 100%;
  table-layout: fixed;
  overflow: hidden;
  border: 0;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 12px;
  background: #edf2f5;
  color: #234b87;
  font-family: "Poppins", Arial, sans-serif;
  font-size: .62rem;
  line-height: 1.2;
  margin-bottom: 10px;
}

.detail-prices-table caption {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.detail-content-layout__sidebar .detail-prices-table th,
.detail-content-layout__sidebar .detail-prices-table td {
  padding: 7px 8px;
  overflow-wrap: anywhere;
  border: 0;
  border-right: 1px solid #129fda;
  color: #234b87;
  text-align: center;
  vertical-align: middle;
}

.detail-content-layout__sidebar .detail-prices-table th:last-child,
.detail-content-layout__sidebar .detail-prices-table td:last-child {
  border-right: 0;
}

.detail-content-layout__sidebar .detail-prices-table thead th {
  background: #dfe8ed;
  font-size: .56rem;
  font-weight: 700;
  text-transform: uppercase;
}

.detail-content-layout__sidebar .detail-prices-table tbody tr:nth-child(odd) th,
.detail-content-layout__sidebar .detail-prices-table tbody tr:nth-child(odd) td {
  background: #f5f7f8;
}

.detail-content-layout__sidebar .detail-prices-table tbody tr:nth-child(even) th,
.detail-content-layout__sidebar .detail-prices-table tbody tr:nth-child(even) td {
  background: #dfe8ed;
}

.detail-content-layout__sidebar .detail-prices-table th:first-child,
.detail-content-layout__sidebar .detail-prices-table td:first-child {
  width: 42%;
  text-align: left;
  font-weight: 600;
}

.detail-content-layout__sidebar .detail-prices-table th:last-child,
.detail-content-layout__sidebar .detail-prices-table td:last-child {
  width: 58%;
  text-align: left;
}

.detail-content-layout__sidebar .detail-prices-table tbody tr:last-child th:first-child {
  border-bottom-left-radius: 12px;
}

.detail-content-layout__sidebar .detail-prices-table tbody tr:last-child td:last-child {
  border-bottom-right-radius: 12px;
}

@media (max-width: 575.98px) {
  .detail-title-with-icon {
    gap: 8px;
  }

  .detail-title-with-icon img,
  .detail-content-layout__sidebar .detail-title-with-icon img {
    flex-basis: 31px;
    width: 31px;
    height: 31px;
  }
}