#destacadas-placeholder {
  background: #F8F8F8 0% 0% no-repeat padding-box !important;
}

.destacadas {
  background: #F8F8F8 0% 0% no-repeat padding-box !important;
  opacity: 1 !important;
  margin-top: 10rem !important;
  margin-bottom: 10rem !important;
}
.grupo-meta .grupo-left {
  align-self: flex-start !important;
  line-height: 1 !important;
}

.grupo-title--destacado {
  font-family: 'Marcellus', serif !important;
  font-style: normal !important;
  font-weight: normal !important;
  font-size: 24px !important;
  line-height: 30px !important;
  letter-spacing: 0px !important;
  color: #000000 !important;
  text-align: left !important;
  opacity: 1 !important;
  margin: 0 !important;
}
/* SOLO PARA DESTACADAS: asegura que cada card tenga altura suficiente y el pie nunca se solape */
.destacadas .grupo-item {
  display: flex;
  flex-direction: column;
  min-height: 370px; /* ajusta según el contenido real */
  margin-bottom: 0 !important;
}

.destacadas .grupo-wrapper {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}

.destacadas .grupo-card--destacado {
  flex-shrink: 0;
  max-height: 274px !important;
  overflow: hidden;
}

.destacadas .grupo-info--destacado {
  margin-top: auto;
}
/* Grupos heading */
.grupos-heading {
  font: normal normal normal 36px/66px Marcellus;
  letter-spacing: 0px;
  color: #000000;
  text-align: left;
  opacity: 1;
  margin: 0 0 49px 0;
}
/* Compra title inherits same visual style as grupos-heading for consistency */
.compra-title {
  font: normal normal normal 36px/66px Marcellus;
  letter-spacing: 0px;
  color: #000000;
  text-align: left;
  opacity: 1;
  margin: 0 0 49px 0;
}
/* Public layout shared styles */
.public-fullscreen {
  width: 100%;
  min-height: 100vh; /* full viewport height */
  display: flex;
  flex-direction: column;
}

.public-80percent {
  width: 80%;
  min-height: 100vh;
  margin: 0 auto; /* center horizontally */
  display: flex;
  flex-direction: column;
}

.public-content {
  flex: 1 1 auto;
  width: 100%;
}

#categorias {
  background: #F8F8F8 0% 0% no-repeat padding-box;
  opacity: 1;
  margin-top: 10rem !important;
}

#grupos {
  background: #FFFFFF;
}

/* Ensure excursiones index background is white (scoped) */
.excursiones-index {
  background: #FFFFFF !important;
}

/* Full-page background white when the excursiones index section is present.
   Uses :has() where supported, plus selector fallbacks to ensure visibility. */
body:has(.excursiones-index), html:has(.excursiones-index) {
  background: #FFFFFF !important;
}
#kt_app_body:has(.excursiones-index) {
  background: #FFFFFF !important;
}
/* Fallback: ensure common layout containers are white as well */
.excursiones-index, .excursiones-index ~ .public-80percent, .excursiones-index .public-80percent {
  background: #FFFFFF !important;
}

/* Ensure compra page background is white when the compra full-width section is present.
   Mirrors the excursiones approach and provides fallbacks for browsers without :has(). */
body:has(.compra-hero), html:has(.compra-hero) {
  background: #FFFFFF !important;
}
#kt_app_body:has(.compra-hero) {
  background: #FFFFFF !important;
}
/* Fallback selectors to cover common layout containers */
.compra-hero, .compra-hero ~ .compra-80percent, .compra-80percent {
  background: #FFFFFF !important;
}

.categorias-heading {
  font: normal normal normal 56px/66px Marcellus;
  letter-spacing: 0px;
  color: #000000;
  text-align: center;
  opacity: 1;
}

.categorias-subheading {
  font: normal normal normal 16px/21px 'DM Sans', sans-serif;
  letter-spacing: 0px;
  color: #5B5B5B;
  text-align: center;
  opacity: 1;
  margin-bottom: 32px; /* increased spacing below subheading */
}


.categoria-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.categoria-wrapper > a {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.categoria-card {
  width: 100%;
  max-width: 524px;
  height: 384px;
  max-height: 384px;
  border-radius: 0;
  opacity: 1;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}

@media (max-width: 1200px) {
  .categoria-card {
    width: 100%;
    max-width: 524px;
  }
}

.categoria-title {
  position: absolute;
  left: 16px;
  bottom: 8px;
  z-index: 5;
  font-family: 'Marcellus', serif;
  font-style: normal;
  font-weight: normal;
  font-size: 24px;
  line-height: 30px;
  letter-spacing: 0px;
  color: #FFFFFF;
  text-align: left;
  opacity: 1;
  padding: 8px;
  margin: 0;
}

.btn-mas-tours {
  font: normal normal normal 16px/20px Marcellus;
  letter-spacing: 0;
  color: #ffffff;
  background: #FC5B62 0% 0% no-repeat padding-box;
  border: none;
  border-radius: 25px;
  padding: 12px 24px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease;
  width: 246px;
}

.btn-mas-tours:hover {
  background: #e14f55;
}

.btn-mas-tours:active {
  transform: translateY(1px);
}

/* Bloque "Otras categorías" */
.otras-categorias {
  width: 100%;
  margin: 10rem 0 !important;
}

.otras-categorias-heading {
  font: normal normal normal 56px/66px Marcellus;
  letter-spacing: 0px;
  color: #000000;
  text-align: center;
  opacity: 1;
  margin-bottom: 1.25rem;
}

.otras-categorias-grid .categoria-card {
  max-width: 100%;
  height: 140px;
  border-radius: 0;
}

.otras-categorias-grid .categoria-title {
  font-size: 14px;
  line-height: 18px;
  padding: 8px 4px;
  bottom: 6px;
}

@media (max-width: 575.98px) {
  .otras-categorias-grid .categoria-card {
    height: 110px;
  }
  .otras-categorias-grid .categoria-title {
    font-size: 12px;
    padding: 6px 2px;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .otras-categorias-grid .categoria-card {
    height: 130px;
  }
  .otras-categorias-grid .categoria-title {
    bottom: 6px;
  }
}

/* Fase 6: Ajustes responsive del titulo overlay
   - Mantener 24/30 en tarjetas grandes (h:384)
   - Reducir proporcionalmente en breakpoints intermedios y móviles
   - Ajustes específicos para otras-categorias (h:140,130,110)
*/

@media (max-width: 1199.98px) {
  .categoria-title {
    font-size: 20px;
    line-height: 26px;
    padding: 12px;
  }
}

@media (max-width: 991.98px) {
  .categoria-title {
    font-size: 18px;
    line-height: 22px;
    padding: 10px;
  }
}

@media (max-width: 575.98px) {
  .categoria-title {
    font-size: 16px;
    line-height: 20px;
    padding: 8px;
    bottom: 4px;
  }
}

/* Ajustes puntuales para otras-categorias por altura: 140 (default), 130 (tablet), 110 (mobile) */
@media (min-width: 992px) {
  .otras-categorias-grid .categoria-title {
    font-size: 14px;
    line-height: 18px;
    padding: 8px 4px;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .otras-categorias-grid .categoria-title {
    font-size: 13px;
    line-height: 16px;
    padding: 6px 3px;
  }
}

@media (max-width: 575.98px) {
  .otras-categorias-grid .categoria-title {
    font-size: 12px;
    line-height: 14px;
    padding: 6px 2px;
  }
}

/* Evitar recortes: permitir wrapping y limitar ancho util del titulo */
.categoria-title {
  white-space: normal;
  word-break: break-word;
  max-width: calc(100% - 32px);
}

/* Estilos para grupos/excursiones */
.grupo-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.grupo-wrapper > a {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.grupo-card {
  width: 100%;
  max-width: 524px;
  height: 288px;
  max-height: 288px;
  border-radius: 20px 20px 0 0;
  opacity: 1;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.grupo-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 82px;
  height: 32px;
  background: #FC5B62 0% 0% no-repeat padding-box;
  border-radius: 10px;
  opacity: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font: normal normal bold 14px/18px 'DM Sans', sans-serif;
  color: #FFFFFF;
  z-index: 10;
}

.grupo-info {
  width: 100%;
  max-width: 524px;
  height: 218px;
  max-height: 218px;
  padding: 16px 36px;
  background: #ffffff;
  border-radius: 0 0 20px 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Variante para items destacados: sin padding/margin lateral */
.grupo-info--destacado {
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  background: transparent !important;
  height: auto !important;
  max-height: none !important;
}

.grupo-location {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 4px 0;
}

.grupo-location-icon {
  width: 13px;
  height: 17px;
  display: inline-block;
  background-image: url('/img/iconos/ubicacion.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 1;
  flex: 0 0 auto;
}

.grupo-location-text {
  font: normal normal normal 12px/16px 'DM Sans', sans-serif;
  color: #5B5B5B;
}

.grupo-title {
  font: normal normal normal 24px/58px Marcellus;
  letter-spacing: 0px;
  color: #000000;
  text-align: left;
  opacity: 1;
  margin: 0 0 8px 0;
  padding: 0;
}

.grupo-separator {
  border-bottom: 1px dashed #C3C3C3;
  opacity: 1;
  width: 100%;
  height: 0;
  margin: 4px 0 8px 0;
}

.grupo-price {
  font: normal normal bold 24px/58px 'DM Sans', sans-serif;
  letter-spacing: 0px;
  color: #000000;
  text-align: left;
  margin: 0;
}

/* Equivalent class for Atlantico cart items so styles apply outside .excursiones-item */
.atlantico-grupo-price {
  font: normal normal bold 24px/58px 'DM Sans', sans-serif;
  letter-spacing: 0px;
  color: #000000;
  text-align: left;
  margin: 0;
}

.grupo-duration {
  font: normal normal normal 16px/58px 'Switzer', sans-serif;
  letter-spacing: 0px;
  color: #727272;
  text-align: right;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.grupo-duration-icon {
  width: 17px;
  height: 17px;
  display: inline-block;
  background-image: url('/img/iconos/reloj.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 1;
  flex: 0 0 auto;
}

.grupo-description {
  font: normal normal normal 14px/20px 'DM Sans', sans-serif;
  letter-spacing: 0px;
  color: #5B5B5B;
  text-align: left;
  margin: 12px 0 0 0;
  line-height: 1.5;
}

.grupo-meta { margin: 0 0 4px 0; }

.grupo-footer { margin-top: auto; }

/* Destacado modifiers */
.grupo-card--destacado { border-radius: 0 !important; background-color: transparent !important; }
.grupo-title--destacado {
  font-family: 'Marcellus', serif;
  font-style: normal;
  font-weight: normal;
  font-size: 24px;
}

/* Specific styles for the excursiones partial (_item_excursion) */
.excursiones-item .grupo-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 24px;
  line-height: 66px;
  color: #000000;
  margin: 0;
}

.excursiones-item .grupo-desc,
.excursiones-item .grupo-description {
  font-family: 'DM Sans', sans-serif;
  font-size: 24px;
  line-height: 66px;
  color: #000000;
}

.excursiones-item .cancelacion-gratuita {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 21px;
  color: #FC5B62;
}

.excursiones-item .grupo-service {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 27px;
  color: #5B5B5B;
}

.excursiones-item .grupo-days {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 21px;
}

.excursiones-item .grupo-price-box {
  background: #F8F8F8;
}

.excursiones-item .grupo-price {
  font-weight: 700;
}

/* Remove rounded corners for images in the excursiones partial */
.excursiones-item .grupo-card {
  border-radius: 0 !important;
}
.excursiones-item .grupo-desc {
  margin: 0;
  /* UI Properties */
  font: normal normal normal 16px/21px 'DM Sans', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  letter-spacing: 0px;
  text-align: left;
  color: #5B5B5B;
  opacity: 1;
}

.excursiones-item .grupo-meta { display: block !important; color: #5B5B5B; z-index: 2; }
.excursiones-item .grupo-days { font-family: 'DM Sans', sans-serif; font-size: 16px; color: #5B5B5B; }
.excursiones-item .grupo-day { display: inline-block; padding: 2px 4px; }

/* Estado de días: activo / inactivo (Fase 6) */
.excursiones-item .grupo-day--active {
  font: normal normal normal 16px/21px 'DM Sans', sans-serif;
  letter-spacing: 0px;
  text-align: left;
  color: #FC5B62;
}
.excursiones-item .grupo-day--inactive {
  font: normal normal normal 16px/21px 'DM Sans', sans-serif;
  letter-spacing: 0px;
  text-align: left;
  color: #C5C5C5;
}

.excursiones-item .grupo-days-duration { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.excursiones-item .grupo-duration-meta { min-width: 80px; }
.excursiones-item .grupo-meta-col { margin-bottom: 0.5rem; display:flex; flex-direction:column; gap:6px; line-height: 0; }
.excursiones-item .grupo-meta-col > * { line-height: 1 !important; margin: 0; }

/* Position meta elements at the bottom of the card for excursiones partial */
.excursiones-item .grupo-meta-bottom {
  margin-top: auto !important;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* Ensure the days/duration block is anchored to the bottom of the meta area */
.excursiones-item .grupo-meta-bottom .grupo-days-duration {
  margin-top: auto;
}

/* Ensure meta column content doesn't stretch and allows days-duration to stick to bottom */
.excursiones-item .grupo-meta-bottom .grupo-meta-col {
  flex: 0 0 auto;
}

/* Excursiones index: set left/right columns to ~30% / 70% on lg+ screens
   Uses view-scoped classes added to templates/layout_public/excursiones/index.html.twig
   to avoid global Bootstrap column overrides. */
@media (min-width: 992px) {
  .excursiones-index .excursiones-index__aside {
    flex: 0 0 30% !important;
    max-width: 30% !important;
  }
  .excursiones-index .excursiones-index__main {
    flex: 0 0 70% !important;
    max-width: 70% !important;
  }
}

/* Item container sizing and border (scoped to excursions partial) */
.excursiones-item {
  box-sizing: border-box;
  height: 309px;
  border: 1px solid #F8F8F8;
  border-radius: 0;
  display: block;
  overflow: hidden;
}

/* Ensure the outer item and its columns fill the set height */
.grupo-item { height: 309px; }
.grupo-wrapper { height: 100%; }

/* Ensure each card stacks image + info without overlapping next card */
.grupo-item {
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  overflow: hidden;
}

.grupo-wrapper {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}

.grupo-wrapper > a {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
}

.grupo-card {
  flex: 0 0 auto;
}

.grupo-info {
  flex: 0 0 auto;
  z-index: 2;
}
.excursiones-item { display: block; height: 309px; }
.excursiones-item > .row { height: 100%; }
.excursiones-item .row > [class*="col-"] { height: 100%; }
.excursiones-item .grupo-item {
  display: flex !important;
  flex-direction: row !important;
  align-items: stretch !important;
}
.excursiones-item .grupo-card { height: 100% !important; }
.excursiones-item .grupo-price-box { height: 100% !important; }
.excursiones-item .grupo-price-col,
.excursiones-item .grupo-price-col .grupo-price-box {
  height: 100%;
}
.excursiones-item .grupo-info { height: 100%; max-height: none; display: flex; flex-direction: column; }
.excursiones-item .grupo-info .grupo-footer { margin-top: auto; }

/* Adjust column widths: increase first column by 5px, decrease middle by 5px on md+ */
@media (min-width: 768px) {
  /* Column layout for excursiones: 35% / 45% / 20% */
  .excursiones-item .row > .col-md-3:first-child {
    flex: 0 0 35% !important;
    max-width: 35% !important;
  }
  .excursiones-item .row > .col-md-6 {
    flex: 0 0 45% !important;
    max-width: 45% !important;
  }
  .excursiones-item .row > .col-md-3:last-child {
    flex: 0 0 20% !important;
    max-width: 20% !important;
  }
}

/* Remove top/bottom padding and margins from the middle column in the excursions partial
   so its content can align exactly to the top and bottom of the card. */
.excursiones-item .row > .col-md-6 {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* Ensure the inner info container uses the full height and has no extra top/bottom padding
   to allow its children to stick to the top and bottom respectively. */
.excursiones-item .row > .col-md-6 .grupo-info {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  height: 100% !important;
}

/* Ensure image background covers and occupies full height */
.excursiones-item .grupo-card {
  background-size: cover !important;
  background-position: center !important;
  height: 100% !important;
}

/* Force the left column image to the fixed item height (309px) so it always fills the column */
.excursiones-item .row > .col-md-3:first-child .grupo-card {
  height: 309px !important;
  min-height: 309px !important;
  max-height: 309px !important;
  background-size: cover !important;
  background-position: center !important;
}

/* Fallback: when columns collapse on small screens, ensure the image keeps a sensible height */
@media (max-width: 767.98px) {
  .excursiones-item .row > .col-12 > .grupo-card,
  .excursiones-item .grupo-card {
    height: 309px !important;
  }
}

/* Ensure the meta area is visible inside the info box */
.excursiones-item .grupo-info { overflow: visible !important; }
.grupo-meta--destacado { margin-left: 0; padding-left: 0; margin-right: 0; padding-right: 0; }
.grupo-meta--destacado { margin-left: 0; padding-left: 0; margin-right: 0; padding-right: 0; }
.grupo-desde {
  font: normal normal normal 16px/21px 'DM Sans', sans-serif;
  letter-spacing: 0px;
  color: #000000;
  text-align: left;
  opacity: 1;
  margin-bottom: 4px;
}

/* Precio variante destacado */
.grupo-price--destacado {
  font: normal normal 500 24px/31px 'DM Sans', sans-serif;
  letter-spacing: 0px;
  color: #000000;
  text-align: left;
  opacity: 1;
  margin: 0;
}

/* Collapse de categorías */
.filter-collapse {
  background: transparent;
  opacity: 1;
  border-radius: 8px;
  overflow: hidden;
  margin-top: 0;
}

.filter-collapse:nth-of-type(2) {
  margin-top: 0px;
}

.filter-collapse-header {
  width: 100%;
  background: #F8F8F8 0% 0% no-repeat padding-box;
  border: none;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font: normal normal normal 18px/24px Marcellus;
  color: #000000;
  text-align: left;
  opacity: 1;
}

.filter-collapse-header:hover {
  background: #efefef;
}

.filter-collapse-icon {
  width: 14px;
  height: 8px;
  background: #000000 0% 0% no-repeat padding-box;
  opacity: 1;
  clip-path: polygon(0% 0%, 50% 100%, 100% 0%, 85% 0%, 50% 70%, 15% 0%);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.filter-collapse-header[aria-expanded="false"] .filter-collapse-icon {
  transform: rotate(180deg);
}

/* Estilo específico para el collapse de detalle/reserva (texto "Tu elección") */
.excursion-main-reserva.filter-collapse {
  border-radius: 0;
  opacity: 1;
}

.excursion-main-reserva .filter-collapse-header {
  background: transparent;
  border-bottom: 1px solid #AFAFAF;
  padding: 0;
  font: normal normal normal 24px/66px Marcellus;
  letter-spacing: 0px;
  color: #FC5B62;
}

.excursion-main-reserva .filter-collapse-header:hover {
  background: transparent;
}

/* Estilos para el contenido de los collapse */
.excursion-collapse-text {
  font: normal normal normal 16px/21px 'DM Sans', sans-serif;
  letter-spacing: 0px;
  color: #000000;
  text-align: left;
  margin: 0;
}

.excursion-collapse-text p {
  font: normal normal normal 16px/21px 'DM Sans', sans-serif;
  letter-spacing: 0px;
  color: #000000;
  text-align: left;
  margin: 0 0 12px 0;
}

.excursion-collapse-text p:last-child {
  margin-bottom: 0;
}

.descripcion-toggle-btn {
  font: normal normal normal 16px/20px Marcellus;
  letter-spacing: 0;
  color: #FC5B62;
  background: transparent;
  border: none;
  padding: 12px 0;
  cursor: pointer;
  text-align: left;
  width: 100%;
}

.descripcion-toggle-btn:hover {
  text-decoration: underline;
}

/* Separator used before compra action buttons to match collapse header underline */
.compra-actions-separator {
  border-top: 1px solid #AFAFAF;
  margin: 8px 0 56px;
  width: 100%;
  height: 0;
}

/* FAQ List Styles */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  border-bottom: none;
  padding-bottom: 0;
}

.faq-item:last-child { border-bottom: none; }

.faq-title {
  font: normal normal bold 16px/21px 'DM Sans', sans-serif;
  letter-spacing: 0px;
  color: #000000;
  text-align: left;
  margin: 0 0 8px 0;
}

/* Mostrar ':' al final del título según requisito de UI */
.faq-title::after {
  content: ":";
}

.faq-content {
  font: normal normal normal 16px/21px 'DM Sans', sans-serif;
  letter-spacing: 0px;
  color: #000000;
  text-align: left;
  margin: 0;
}

/* Estilos para incluidos/no incluidos */
.incluidos-section {
  margin-bottom: 16px;
}

.incluidos-titulo {
  font: normal normal bold 18px/21px 'DM Sans', sans-serif;
  letter-spacing: 0px;
  color: #000000;
  text-align: left;
  margin: 0 0 8px 0;
}

.incluidos-lista {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font: normal normal normal 16px/21px 'DM Sans', sans-serif;
  letter-spacing: 0px;
  color: #000000;
  text-align: left;
}

.incluidos-item {
  display: inline;
}

/* Compra layout: cloned/adapted rules to render two equal columns
   Left: buyer form partial, Right: AJAX-loaded cart partial (#compra-cart-container) */
.compra-index {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  width: 100%;
  box-sizing: border-box;
  padding: 16px 0;
  flex-wrap: wrap;
}

.compra-index .compra-column {
  box-sizing: border-box;
  flex: 0 0 50%;
  max-width: 50%;
}

/* Column content containers */
.compra-column .compra-card {
  background: #FFFFFF;
  border: 1px solid #F0F0F0;
  padding: 20px;
  border-radius: 4px;
}

#compra-buyer-form .form-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

#compra-buyer-form input[type="text"],
#compra-buyer-form input[type="email"],
#compra-buyer-form input[type="tel"],
#compra-buyer-form input[type="search"],
#compra-buyer-form input[type="number"],
#compra-buyer-form input[type="url"],
#compra-buyer-form input[type="datetime-local"],
#compra-buyer-form select,
#compra-buyer-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #E6E6E6;
  border-radius: 4px;
  font: normal normal normal 14px/20px 'DM Sans', sans-serif;
  color: #000000;
  box-sizing: border-box;
}

/* Ensure checkboxes in the compra form render as small native controls
   and do not inherit the full-width/text-input styling. */
#compra-buyer-form input[type="checkbox"] {
  width: auto;
  height: auto;
  padding: 0;
  margin: 0 0.5rem 0 0; /* small gap to the label */
  -webkit-appearance: checkbox;
  appearance: checkbox;
  vertical-align: middle;
  box-shadow: none;
  border: none;
  background: transparent;
}

/* Helper for the acceptTerms row: keep items centered and inline */
.compra-buyer-form .form-check {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Replica categorias-filter checkbox visual style inside compra form */
#compra-buyer-form .categorias-filter-item,
#compra-buyer-form .compra-accept-row { display: block; }

#compra-buyer-form input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0;
  background: #FFFFFF 0% 0% no-repeat padding-box;
  border: 1px solid #707070;
  border-radius: 4px;
  opacity: 1;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  position: relative;
  display: inline-block;
  cursor: pointer;
  flex-shrink: 0;
}

#compra-buyer-form input[type="checkbox"]:checked {
  background: #FC5B62;
  border-color: #707070;
}

#compra-buyer-form input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 6px;
  width: 4px;
  height: 8px;
  border: solid #FFFFFF;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Ensure the acceptTerms row is left-aligned and takes full width */
.compra-buyer-form .form-check { justify-content: flex-start; width: 100%; margin-left: 0; }
.compra-buyer-form .col-12 > .form-check { justify-content: flex-start; }
.compra-buyer-form .form-check .categorias-filter-name,
.compra-buyer-form .form-check .compra-accept-label {
  display: inline-block;
  margin: 0;
  line-height: 1.2;
  white-space: normal;
}

#compra-buyer-form .two-col {
  flex: 0 0 48%;
  max-width: 48%;
}

#compra-buyer-form .full-width { flex: 0 0 100%; max-width: 100%; }

#compra-cart-container { min-height: 120px; }

/* Buttons */
.compra-actions { display:flex; gap:12px; margin-top:16px; }
.reserva-action-group { display:flex; justify-content:center; }
.reserva-no-gap { gap: 0 !important; }
.compra-actions .btn-secondary { background: transparent; border: 1px solid #CFCFCF; color: #000; padding: 10px 16px; border-radius: 25px; }
.compra-actions .btn-primary { background: #FC5B62; color: #fff; border: none; padding: 10px 16px; border-radius: 25px; }

@media (max-width: 991.98px) {
  .compra-index .compra-column { flex: 0 0 100%; max-width: 100%; }
  #compra-buyer-form .two-col { flex: 0 0 100%; max-width: 100%; }
}

/* Compra page additional styles (moved here from compra.css) */
.compra-title {
  font: normal normal normal 36px/66px Marcellus;
  color: #000000;
  margin: 0 0 16px 0;
}

.compra-hero {
  width: 100%;
  background: #FFFFFF;
  padding: 24px 0;
}
.compra-hero-inner { text-align: center; }

.compra-80percent { width: 80%; margin: 0 auto; display: block; }

/* Apply site default sans-serif (Kumbh Sans from index.css) to compra view */
.compra-80percent, .compra-80percent * {
  font-family: 'Kumbh Sans', sans-serif;
}

/* Apply excursiones detalle typography to compra columns (labels, body text, cart content) */
.compra-80percent label,
.compra-80percent .compra-buyer-form .form-control,
.compra-80percent .compra-buyer-form .form-check-label,
.compra-80percent .compra-buyer-form textarea,
.compra-80percent .compra-col,
.compra-80percent #compra-cart-container,
.compra-80percent #compra-cart-container *,
.compra-80percent .filter-collapse-body,
.compra-80percent .excursion-collapse-text,
.compra-80percent .faq-content,
.compra-80percent .incluidos-lista {
  font: normal normal normal 16px/21px 'DM Sans', sans-serif;
  letter-spacing: 0px;
  color: #000000;
  text-align: left;
}

/* Section/subtitles inside compra (matching incluidos-titulo / faq-title) */
.compra-80percent .incluidos-titulo,
.compra-80percent .faq-title {
  font: normal normal bold 18px/21px 'DM Sans', sans-serif;
  letter-spacing: 0px;
  color: #000000;
  text-align: left;
  margin: 0 0 8px 0;
}

/* Prefer Bootstrap's grid (.row + .col-*) for responsive columns. Keep small padding. */
.compra-main-row { /* empty: rely on .row + .col-* */ }
.compra-col { box-sizing: border-box; }
.compra-col-left, .compra-col-right { padding: 8px; }

.compra-buyer-form .form-group { margin-bottom: 12px; }
.compra-buyer-form .btn { padding: 10px 16px; }

.compra-primary { color: #FC5B62; }
.compra-muted { color: #5B5B5B; }

/* Ensure compra area background matches excursiones (white) */
.compra-80percent { background: #FFFFFF !important; }
.compra-hero { background: #FFFFFF !important; }

/* Resumen bar: icons (75%) and unified modifier style */
.excursion-resumen-item { display: inline-flex; align-items: center; gap: 8px; }
.excursion-resumen-icon {
  width: 20px !important; /* force fixed size to avoid percentage issues inside flex */
  height: 20px !important;
  min-width: 20px !important;
  max-width: none !important;
  flex: 0 0 20px !important;
  display: inline-block !important;
  vertical-align: middle !important;
  object-fit: contain !important;
  color: #FC5B62 !important; /* used when SVGs use currentColor or when inlined */
}

/* If SVGs are inlined, ensure they pick currentColor */
.excursion-resumen-icon svg {
  fill: currentColor;
}

/* Extra override: ensure img tag itself isn't constrained by global img rules */
.excursion-resumen-item > img.excursion-resumen-icon {
  max-width: none !important;
  width: 20px !important;
  height: 20px !important;
}

.excursion-resumen-text,
.excursion-resumen-modifier {
  font: normal normal normal 14px/20px 'DM Sans', sans-serif;
  letter-spacing: 0px;
  color: #5B5B5B;
  display: inline-block;
  vertical-align: middle;
}

.excursion-resumen-modifier { color: #5B5B5B; }

.incluidos-item:not(:last-child)::after {
  content: ",";
  margin-right: 4px;
}

/* --- Excursiones: force meta area to stick to bottom with no gap --- */
.excursiones-item .grupo-info {
  padding-bottom: 0 !important;
}

/* Position the bottom meta block using flexbox (no absolute positioning) */
.excursiones-item .grupo-meta-bottom {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.excursiones-item .grupo-meta-bottom .grupo-days-duration {
  margin-top: 0;
}

.excursiones-item .grupo-meta-bottom .grupo-meta-col {
  flex: 0 0 auto;
}

.excursion-main-reserva .filter-collapse-body {
  padding-left: 0;
  padding-right: 0;
}

/* Truncation and column layout for excursiones partial */
.excursiones-item .grupo-title {
  /* UI Properties */
  font: normal normal normal 24px/66px 'DM Sans', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  letter-spacing: 0px;
  color: #000000;
  text-align: left;
  opacity: 1;
  margin: 0 0 8px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Compact title variant for excursiones partial: remove spacing between title and description */
.excursiones-item .grupo-title--compact {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* Force visibility if other rules hide the title */
.excursiones-item h3.grupo-title,
.excursiones-item .grupo-title {
  color: #000000 !important;
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
  position: relative !important;
  z-index: 999 !important;
}

/* Ensure title is above the image and visible despite stacking contexts */
.excursiones-item .grupo-info {
  position: relative !important;
  z-index: 1000 !important;
  overflow: visible !important;
}

.excursiones-item .grupo-card {
  position: relative !important;
  z-index: 0 !important;
}

/* Remove possible visual hiding from transforms/clipping */
.excursiones-item .grupo-title {
  transform: none !important;
  clip-path: none !important;
  text-indent: 0 !important;
  text-shadow: none !important;
  -webkit-text-fill-color: #000 !important;
  -webkit-font-smoothing: antialiased !important;
  font-weight: 700 !important;
}

.excursiones-item .grupo-meta-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.excursiones-item .grupo-reducido,
.excursiones-item .grupo-service {
  /* UI Properties (scoped to excursiones partial) */
  font: normal normal normal 16px/27px 'DM Sans', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  letter-spacing: 0px;
  text-align: left;
  color: #5B5B5B;
  opacity: 1;
}
.excursiones-item .cancelacion-gratuita {
  /* keep cancelación distinct color */
  font: normal normal normal 16px/27px 'DM Sans', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  letter-spacing: 0px;
  text-align: left;
  color: #FC5B62;
  opacity: 1;
}

.categorias-filter-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.categorias-filter-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font: normal normal normal 18px/24px 'DM Sans', sans-serif;
  letter-spacing: 0px;
  color: #000000;
  opacity: 1;
  padding: 0;
}

.categorias-filter-content {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.categorias-filter-item input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0;
  background: #FFFFFF 0% 0% no-repeat padding-box;
  border: 1px solid #707070;
  border-radius: 4px;
  opacity: 1;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  position: relative;
  display: inline-block;
  cursor: pointer;
  flex-shrink: 0;
}

.categorias-filter-item input[type="checkbox"]:checked {
  background: #FC5B62;
  border-color: #707070;
}

.categorias-filter-item input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 6px;
  width: 4px;
  height: 8px;
  border: solid #FFFFFF;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.categorias-filter-name {
  line-height: 36px;
}

/* Compra acceptTerms label: reuse visual spacing of categorias-filter-name and prevent wrapping */
.compra-accept-label {
  line-height: 36px;
  white-space: nowrap;
}

.categorias-filter-quota {
  font: normal normal normal 18px/36px 'DM Sans', sans-serif;
  letter-spacing: 0px;
  text-align: right;
  color: #989898;
  opacity: 1;
  flex-shrink: 0;
}

.categorias-filter-empty {
  font: normal normal normal 14px/20px 'DM Sans', sans-serif;
  color: #727272;
}

.categorias-filter-toggle {
  margin-top: 0;
  background: transparent;
  border: none;
  padding: 0;
  font: normal normal normal 16px/66px 'Marcellus', serif;
  letter-spacing: 0px;
  color: #FC5B62;
  opacity: 1;
  cursor: pointer;
  text-align: left;
}

.filter-collapse-body {
  padding: 16px 20px;
  background: inherit;
}

/* Duracion Filter Styles */
.duracion-filter-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.duracion-filter-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font: normal normal normal 18px/24px 'DM Sans', sans-serif;
  letter-spacing: 0px;
  color: #000000;
  opacity: 1;
  padding: 0;
}

.duracion-filter-content {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.duracion-filter-item input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0;
  background: #FFFFFF 0% 0% no-repeat padding-box;
  border: 1px solid #707070;
  border-radius: 4px;
  opacity: 1;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  position: relative;
  display: inline-block;
  cursor: pointer;
  flex-shrink: 0;
}

.duracion-filter-item input[type="checkbox"]:checked {
  background: #FC5B62;
  border-color: #707070;
}

.duracion-filter-item input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 6px;
  width: 4px;
  height: 8px;
  border: solid #FFFFFF;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.duracion-filter-name {
  line-height: 36px;
}

/* Precio Filter Styles */
.precio-filter-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.precio-filter-sliders {
  width: 100%;
}

.precio-filter-range-wrapper {
  position: relative;
  width: 100%;
  height: 50px;
  padding: 15px 0;
  box-sizing: border-box;
  display: flex;
  align-items: center;
}

.precio-filter-range-wrapper::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 4px;
  top: 23px;
  left: 0;
  background: transparent;
  border: 2px solid #CFCFCF;
  border-radius: 2px;
  box-sizing: border-box;
  opacity: 1;
  z-index: 1;
  pointer-events: none;
}

.precio-filter-slider {
  position: absolute;
  width: 100%;
  height: 40px;
  top: 13px;
  left: 0;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: transparent;
  pointer-events: none;
  z-index: 5;
}

.precio-filter-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #FC5B62 0% 0% no-repeat padding-box;
  opacity: 1;
  border: none;
  cursor: pointer;
  pointer-events: auto;
  z-index: 1000;
}

.precio-filter-slider::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #FC5B62 0% 0% no-repeat padding-box;
  opacity: 1;
  border: none;
  cursor: pointer;
  pointer-events: auto;
  z-index: 1000;
}

.precio-filter-slider::-webkit-slider-runnable-track {
  width: 100%;
  height: 40px;
  background: transparent;
  border: none;
  box-sizing: border-box;
}

.precio-filter-slider::-moz-range-track {
  background: transparent;
  border: none;
  height: 40px;
  box-sizing: border-box;
}

.precio-filter-inputs {
  display: flex;
  gap: 16px;
}

.precio-filter-input-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.precio-filter-label {
  font: normal normal normal 18px/66px 'DM Sans', sans-serif;
  letter-spacing: 0px;
  color: #000000;
  text-align: left;
  opacity: 1;
}

.precio-filter-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.precio-filter-input {
  width: 100%;
  padding: 8px 50px 8px 12px;
  background: #FFFFFF 0% 0% no-repeat padding-box;
  border: 1px solid #707070;
  border-radius: 4px;
  font: normal normal normal 16px/20px 'DM Sans', sans-serif;
  color: #000000;
  opacity: 1;
}

.precio-filter-input:focus {
  outline: none;
  border-color: #FC5B62;
  box-shadow: 0 0 0 3px rgba(252, 91, 98, 0.1);
}

.precio-filter-currency {
  position: absolute;
  right: 12px;
  font: normal normal normal 16px/20px 'DM Sans', sans-serif;
  color: #5B5B5B;
  pointer-events: none;
}

/* Estilos para detalle de excursión */
.excursion-images-container {
  width: 100% !important;
  height: 558px !important;
  display: flex !important;
  gap: 8px !important;
  margin-bottom: 32px !important;
}

.excursion-image-main-col {
  flex: 1 !important;
  height: 100% !important;
  min-width: 0 !important;
}

.excursion-image-main {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

.excursion-images-grid {
  flex: 1 !important;
  height: 100% !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  min-width: 0 !important;
}

.excursion-image-thumb-col {
  width: calc(50% - 4px) !important;
  height: calc(50% - 4px) !important;
}

.excursion-image-thumb {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

@media (max-width: 768px) {
  .excursion-images-container {
    height: auto !important;
    flex-direction: column !important;
  }
  
  .excursion-image-main-col {
    height: 300px !important;
  }
  
  .excursion-images-grid {
    height: 300px !important;
  }
}

@media (max-width: 1200px) {
  .grupo-card,
  .grupo-info {
    width: 100%;
    max-width: 524px;
  }
}

/* Excursion detail images layout (high-specificity, class-based) */
.excursion-detalle-container .excursion-images-container {
  width: 100% !important;
  height: 558px !important;
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 8px !important;
  margin-bottom: 32px !important;
}

.excursion-detalle-container .excursion-image-main-col {
  height: 100% !important;
}

.excursion-detalle-container .excursion-image-main {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

.excursion-detalle-container .excursion-images-grid {
  height: 100% !important;
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  grid-template-rows: 1fr 1fr !important;
  gap: 8px !important;
}

.excursion-detalle-container .excursion-image-thumb-col {
  width: auto !important;
  height: auto !important;
}

.excursion-detalle-container .excursion-image-thumb {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

/* Separación horizontal doble entre columnas (detalle/reserva) */
.excursion-main-row {
  --bs-gutter-x: 3rem;
}

#excursion-detalle,
.excursion-detalle-container {
  background: #ffffff;
}

/* Título columna derecha (gestión de reserva) */
.reserva-title {
  font: normal normal normal 36px/66px 'Marcellus', serif;
  letter-spacing: 0px;
  color: #000000;
  text-align: left;
  opacity: 1;
  margin: 0 0 16px 0;
}

/* Collapses columna reserva */
.reserva-collapse {
  border-radius: 8px;
  padding: 0;
}

.reserva-collapse + .reserva-collapse {
  margin-top: 12px;
}

.reserva-collapse-header {
  width: 100%;
  background: #F8F8F8 0% 0% no-repeat padding-box;
  opacity: 1;
  border: none;
  padding: 0 16px 0 32px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  height: 38px;
  font: normal normal normal 18px/24px 'Marcellus', serif;
  letter-spacing: 0px;
  color: #000000;
  text-align: left;
}

.reserva-collapse-header[aria-expanded="false"] .filter-collapse-icon {
  transform: rotate(180deg);
}

.reserva-separator {
  border: 1px solid #AFAFAF;
  opacity: 1;
  margin-top: 12px;
}

.reserva-block {
  margin-top: 20px;
}

.reserva-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding: 0 16px 0 32px;
}

.reserva-total-label,
.reserva-total-amount {
  font: normal normal bold 18px/66px 'DM Sans', sans-serif;
  letter-spacing: 0px;
  color: #000000;
  opacity: 1;
}

.reserva-total-label {
  text-align: left;
}

.reserva-total-amount {
  text-align: right;
}

.reserva-buttons {
  display: flex;
  gap: 0;
  justify-content: center;
}

.reserva-btn {
  width: 246px;
  height: 50px;
  border: none;
  cursor: pointer;
  font: normal normal normal 16px/20px 'Marcellus', serif;
  letter-spacing: 0px;
  color: #FFFFFF;
  opacity: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
  pointer-events: auto;
  opacity: 1;
}

.reserva-btn:disabled {
  pointer-events: none;
  opacity: 0.4;
  cursor: not-allowed;
}

.reserva-btn:not(:disabled):hover {
  opacity: 0.9;
}

.reserva-btn-cart {
  background: #000000 0% 0% no-repeat padding-box;
  border-radius: 25px 0px 0px 25px;
}

.reserva-btn-buy {
  background: #FC5B62 0% 0% no-repeat padding-box;
  border-radius: 0px 25px 25px 0px;
}

#reserva-cart-feedback {
  width: 492px;
  max-width: 100%;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 25px;
  border: none;
  font: normal normal normal 16px/20px 'Marcellus', serif;
  letter-spacing: 0px;
  text-align: center;
  margin: 0 auto;
  padding: 0 20px;
}

#reserva-cart-feedback.alert-success {
  background: #e9ecef;
  color: #212529;
}

#reserva-cart-feedback.alert-danger {
  background: #f8d7da;
  color: #842029;
}

.reserva-collapse-body {
  padding: 12px 16px 16px 32px;
  border-radius: 0 0 8px 8px;
  width: 100%;
}

.reserva-collapse .collapse {
  background: transparent;
}

@media (max-width: 768px) {
  .excursion-detalle-container .excursion-images-container {
    height: auto !important;
    grid-template-columns: 1fr !important;
  }
  .excursion-detalle-container .excursion-image-main-col {
    height: 300px !important;
  }
  .excursion-detalle-container .excursion-images-grid {
    height: 300px !important;
  }
}

/* Carrousel Modal Styles */
.carrousel-modal-header {
  padding: 0.5rem 1rem !important;
  min-height: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.carrousel-indicator-header {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 0.95rem;
  opacity: 0.7;
}

.carrousel-modal-content {
  background-color: rgba(33, 37, 41, 0.65) !important;
  backdrop-filter: blur(5px);
}

.carrousel-play-btn {
  background: transparent;
  border: 0;
  color: white;
  opacity: 0.5;
  padding: 0.25rem;
  cursor: pointer;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  line-height: 1;
}

.carrousel-play-btn:hover {
  opacity: 0.75;
}

.carrousel-play-btn.active {
  opacity: 1;
}

.carrousel-play-icon {
  display: inline-block;
  line-height: 1;
}

.excursion-carrousel-image {
  max-width: 90%;
  max-height: 90vh;
  object-fit: contain;
}

.carrousel-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: 0;
  color: white;
  opacity: 0.5;
  cursor: pointer;
  z-index: 10;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  line-height: 1;
  padding: 0.5rem 0.75rem;
}

.carrousel-nav-btn:hover {
  opacity: 0.75;
}

.carrousel-nav-btn-prev {
  left: 20px;
}

.carrousel-nav-btn-next {
  right: 20px;
}

.carrousel-nav-icon {
  display: inline-block;
  line-height: 1;
}

.carrousel-indicator {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 10px 20px;
  border-radius: 20px;
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  .carrousel-nav-btn {
    font-size: 1.8rem;
    padding: 0.25rem 0.5rem;
  }

  .carrousel-nav-btn-prev {
    left: 10px;
  }

  .carrousel-nav-btn-next {
    right: 10px;
  }
}

/* Excursion Detail Menu */
.excursion-menu {
  width: 100%;
  margin: 32px 0;
}

.excursion-menu-nav {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
}

.excursion-menu-item {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0;
  border: none;
  background: transparent;
  color: #000000;
  font: normal normal normal 24px/66px Marcellus;
  letter-spacing: 0px;
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 1;
  white-space: nowrap;
}


.excursion-menu-icon {
  width: 24px;
  height: 24px;
  display: inline-block;
}

/* Separador vertical */
.excursion-menu-separator {
  width: 1px;
  height: 24px; /* match icon height */
  background-color: #C1C1C1;
  margin: 0;
  padding: 0;
  align-self: center; /* ensure vertical centering */
}

/* Barra de resumen con 4 opciones */
.excursion-resumen-bar {
  display: flex;
  width: 100%;
  gap: 40px;
  padding: 24px 0;
  align-items: center;
}

.excursion-resumen-item {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 1 auto;
}

.excursion-resumen-icon {
  width: 24px;
  height: 24px;
  display: inline-block;
  flex-shrink: 0;
}

.excursion-resumen-text {
  font: normal normal normal 14px/20px 'DM Sans', sans-serif;
  color: #5B5B5B;
  opacity: 1;
  white-space: nowrap;
}

.excursion-resumen-modifier {
  font: normal normal bold 14px/20px 'DM Sans', sans-serif;
  color: #5B5B5B;
  opacity: 1;
  white-space: nowrap;
}

/* Horizontal separator under the menu */
.excursion-menu-horizontal-separator {
  width: 100%;
  border-top: 1px solid #C1C1C1;
  opacity: 1;
  margin: 0;
}

@media (max-width: 768px) {
  .excursion-menu {
    margin: 20px 0;
  }

  .excursion-menu-nav {
    flex-wrap: wrap;
  }

  .excursion-menu-item {
    flex: 1 1 calc(50% - 8px);
    gap: 8px;
    padding: 12px 4px;
  }

  .excursion-menu-separator {
    display: none;
  }

  .excursion-resumen-bar {
    flex-wrap: wrap;
    gap: 20px;
    padding: 16px 0;
  }

  .excursion-resumen-item {
    flex: 1 1 calc(50% - 10px);
    min-width: 150px;
  }

  .excursion-resumen-text,
  .excursion-resumen-modifier {
    white-space: normal;
  }

  .excursion-resumen-title {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .excursion-categoria-prefix {
    display: block;
    margin-bottom: 4px;
  }

  .excursion-nombre-principal {
    word-break: break-word;
    max-width: 100%;
  }

  .excursion-resumen-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .excursion-resumen-bar {
    flex-direction: column;
    gap: 12px;
  }

  .excursion-resumen-item {
    flex: 1 1 100%;
  }
}

.excursion-resumen {
  width: 100%;
}

.excursion-resumen-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
}

.excursion-resumen-title {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0;
  white-space: nowrap;
}

.excursion-categoria-prefix {
  font: normal normal normal 20px/26px 'DM Sans', sans-serif;
  letter-spacing: 0px;
  color: #000000;
  opacity: 1;
  white-space: nowrap;
}

.excursion-nombre-principal {
  font: normal normal normal 46px/66px Marcellus;
  letter-spacing: 0px;
  color: #000000;
  opacity: 1;
  white-space: nowrap;
}

.excursion-precio-resumen {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.excursion-precio-desde {
  font: normal normal normal 16px/27px 'DM Sans', sans-serif;
  letter-spacing: 0px;
  color: #5B5B5B;
  opacity: 1;
}

.excursion-precio-valor {
  font: normal normal bold 38px/27px 'DM Sans', sans-serif;
  letter-spacing: 0px;
  color: #5B5B5B;
  opacity: 1;
}

/* Estilos para opciones de eventos en reserva */
.reserva-opciones-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 0;
}

.reserva-option {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  margin-bottom: 0 !important;
  height: 38px;
}

.reserva-option input[type="radio"] {
  width: 18px;
  height: 18px;
  margin: 0;
  background: #FFFFFF 0% 0% no-repeat padding-box;
  border: 1px solid #707070;
  border-radius: 50%;
  opacity: 1;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  position: relative;
  display: inline-block;
  cursor: pointer;
  flex-shrink: 0;
}

.reserva-option input[type="radio"]:checked {
  background: #FC5B62;
  border-color: #707070;
}

.reserva-option input[type="radio"]:checked::after {
  content: '';
  position: absolute;
  width: 6px;
  height: 6px;
  background: #FFFFFF;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.reserva-option span {
  line-height: 36px;
  font: normal normal normal 14px/36px 'DM Sans', sans-serif;
  color: #5B5B5B;
}

/* Estilos para selector de idioma */
.reserva-idioma-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.reserva-idioma-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 24px;
  background: #FFFFFF;
  border: 2px solid #E0E0E0;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font: normal normal normal 14px/20px 'DM Sans', sans-serif;
  color: #5B5B5B;
  min-width: 120px;
}

.reserva-idioma-btn:hover {
  border-color: #FC5B62;
  background: #FFF5F6;
}

.reserva-idioma-btn.active {
  background: #FC5B62;
  border-color: #FC5B62;
  color: #FFFFFF;
}

.reserva-idioma-text {
  font-weight: 500;
}

/* ===== DATEPICKER FLATPICKR ===== */
.reserva-fecha-container {
  position: relative;
  width: 100%;
}

#reserva-fechas-disponibles {
  display: none !important;
}

.reserva-fecha-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 1px;
  height: 1px;
  border: 0;
  padding: 0;
}

.flatpickr-calendar.inline {
  width: 100% !important;
  max-width: none;
}

.flatpickr-inner,
.flatpickr-rContainer {
  width: 100%;
}

.flatpickr-calendar {
  background: #fff;
  border: 0;
  box-shadow: none;
  border-radius: 6px;
  font-family: 'Helvetica', 'Arial', sans-serif;
  color: #6a6a6a;
  width: 100%;
}

.flatpickr-calendar.open {
  z-index: 9999;
}

.flatpickr-months {
  width: 100%;
  display: flex;
  justify-content: center;
}

.flatpickr-months .flatpickr-month {
  background: transparent;
  color: #000000;
  font: normal normal normal 18px/66px Marcellus;
  letter-spacing: 0px;
  text-align: left;
  width: 100%;
  display: flex;
  justify-content: center;
}

.flatpickr-prev-month,
.flatpickr-next-month {
  color: #9c9c9c;
}

.flatpickr-prev-month:hover,
.flatpickr-next-month:hover {
  color: #6a6a6a;
}

.flatpickr-weekdays {
  margin-top: 6px;
  width: 100%;
  border-radius: 0;
  border: 1px solid transparent;
}

.flatpickr-weekdaycontainer {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
.flatpickr-day:hover {
  background: inherit !important;
  color: inherit !important;
  border-color: transparent !important;
  box-shadow: none !important;
}
  color: #000000;
  font: normal normal bold 16px/66px 'DM Sans', sans-serif;
  letter-spacing: 0px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.flatpickr-calendar.inline {
  width: 100%;
}

.flatpickr-day {
  color: #FC5B62;
  font: normal normal normal 16px/66px 'DM Sans', sans-serif;
  letter-spacing: 0px;
  text-align: left;
  opacity: 1;
  padding: 6px 8px;
  border-radius: 0;
  border: 1px solid transparent;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.flatpickr-days {
  width: 100%;
}

.flatpickr-days .dayContainer {
  width: 100% !important;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  grid-auto-rows: 34px;
  justify-items: center;
  column-gap: 4px;
  row-gap: 4px;
}

.flatpickr-day:hover {
  background: inherit !important;
  color: inherit !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

.flatpickr-day.selected {
  background: #FC5B62 0% 0% no-repeat padding-box;
  border: none;
  border-radius: 0;
  font: normal normal normal 16px/66px 'DM Sans', sans-serif;
  letter-spacing: 0px;
  text-align: left;
  color: #FFFFFF;
  opacity: 1;
  box-shadow: none;
}

.flatpickr-day.selected:hover {
  background: #FC5B62 0% 0% no-repeat padding-box !important;
  border: none !important;
  color: #FFFFFF !important;
  box-shadow: none !important;
}

.flatpickr-day.disabled,
.flatpickr-day.unavailable {
  background-color: #b6b6b6;
  color: #f5f5f5;
  cursor: not-allowed;
}

.flatpickr-day.inRange {
  background-color: #f4bcbc;
  color: #4a4a4a;
}

.flatpickr-day.today {
  background: #979797 0% 0% no-repeat padding-box;
  border: none;
  border-radius: 0;
  color: #fff;
  box-shadow: none;
}

.flatpickr-day.today:hover {
  background: #979797 0% 0% no-repeat padding-box !important;
  color: #fff !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.flatpickr-innerContainer {
  padding: 4px 8px 8px;
  width: 100%;
}

/* Precio Selector 3-Column Layout */
.reserva-precio-row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  margin-bottom: 16px;
}

.reserva-precio-col-1 {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0;
  text-align: left;
}

.reserva-precio-col-2 {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: center;
}

.reserva-precio-col-3 {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0;
  text-align: right;
}

.reserva-precio-tipo {
  font: normal normal normal 16px/1.2 DM Sans;
  letter-spacing: 0px;
  color: #979797;
  opacity: 1;
  margin: 0;
}

.reserva-precio-unitario-amount {
  font: normal normal bold 16px/1.2 DM Sans;
  letter-spacing: 0px;
  color: #000000;
  opacity: 1;
  margin: 0;
}

.reserva-precio-total-label {
  font: normal normal normal 16px/1.2 DM Sans;
  letter-spacing: 0px;
  color: #979797;
  opacity: 1;
  margin: 0;
}

.reserva-precio-acumulado-amount {
  font: normal normal bold 16px/1.2 DM Sans;
  letter-spacing: 0px;
  color: #000000;
  opacity: 1;
  margin: 0;
}

.reserva-precio-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.reserva-precio-btn {
  width: 32px;
  height: 32px;
  border: 1px solid #BABABA;
  background: #FFFFFF 0% 0% no-repeat padding-box;
  color: #000000;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
  opacity: 1;
}
  opacity: 1;
}

.reserva-precio-btn:hover {
  background-color: #F5F5F5;
  border-color: #000000;
}

.reserva-precio-input {
  width: 60px;
  height: 32px;
  border: none;
  background: #FFFFFF 0% 0% no-repeat padding-box;
  font: normal normal bold 16px/66px DM Sans;
  letter-spacing: 0px;
  color: #000000;
  text-align: center;
  border-radius: 2px;
  padding: 4px;
  opacity: 1;
}

.reserva-precio-input:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(252, 91, 98, 0.1);
}

.reserva-precio-input-hidden {
  display: none;
}

.reserva-precio-cantidad {
  min-width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font: normal normal bold 16px/66px DM Sans;
  letter-spacing: 0px;
  color: #000000;
  opacity: 1;
}

/* Subtotal section styling */
.reserva-precio-label {
  font: normal normal bold 16px/1.2 DM Sans;
  letter-spacing: 0px;
  color: #000000;
  opacity: 1;
  margin: 0;
}

.reserva-precio-amount {
  font: normal normal bold 16px/1.2 DM Sans;
  letter-spacing: 0px;
  color: #000000;
  opacity: 1;
  margin: 0;
}

/* Ensure DM Sans is available; fall back to system sans if blocked */

/* Atlantico cart item layout */
.cart-item.atlantico-item {
  border: none;
  padding: 0;
  gap: 0;
}

.atlantico-item-frame {
  width: 100%;
  border: 1px solid var(--cart-border-color, #dee2e6);
  border-radius: var(--cart-border-radius, 0.375rem);
  background: #ffffff;
}

.atlantico-item-grid {
  display: grid;
  width: 100%;
  grid-template-columns: 30% 40% 30%;
  grid-template-rows: auto auto;
  align-items: start;
  margin-bottom: 0.5rem;
}

.atlantico-item-col {
  padding: 0.5rem;
}

.atlantico-remove-header--full {
  grid-column: 1 / -1;
  grid-row: 1;
}

.atlantico-item-col-image {
  grid-column: 1;
  grid-row: 2;
  vertical-align: top;
  text-align: center;
  padding: 0;
  margin: 0;
}

.atlantico-item-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  margin: 0;
}

.atlantico-item-col-center {
  grid-column: 2;
  grid-row: 2;
  vertical-align: top;
}

.atlantico-item-center-grid {
  display: table;
  width: 100%;
  table-layout: fixed;
}

.atlantico-item-center-col {
  display: table-cell;
  width: 50%;
  vertical-align: top;
}

.atlantico-item-center-col-left {
  padding-right: 0.25rem;
  text-align: left;
}

.atlantico-item-center-col-right {
  padding-left: 0.25rem;
  text-align: left;
}

/* Equivalent visual intent to categorias-filter-name + compra-accept-label */
.atlantico-item-center-text {
  line-height: 36px;
  white-space: nowrap;
}

.atlantico-item-center-line {
  display: block;
}

.atlantico-item-col-total {
  grid-column: 3;
  grid-row: 2;
  vertical-align: top;
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.atlantico-item-total-price {
  display: block;
  margin-top: 0.5rem;
  text-align: right;
  font-weight: 800;
  font-size: 2.2em;
}

.atlantico-item-actions {
  text-align: right;
  padding: 0 0.5rem 0.5rem;
}

.atlantico-remove-header {
  width: 100%;
  background: #F8F8F8 0% 0% no-repeat padding-box;
  border: none;
  padding: 0 16px 0 32px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  height: 38px;
  font: normal normal normal 18px/24px 'Marcellus', serif;
  letter-spacing: 0;
  color: #000000;
  text-align: left;
  margin: 0;
}

.atlantico-remove-icon {
  font: normal normal bold 22px/1 'DM Sans', sans-serif;
  color: #000000;
}

.atlantico-remove-header > span:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
