/* ============================================================
   DISEÑO PÁGINA INDIVIDUAL DE VIAJE (PALETA STAMPIA)
   ============================================================ */
.tour-single-layout {
  padding-bottom: 80px;
  background-color: var(--background); /* #fff6f6 */
  font-family: var(--font-sans);
  color: #0D1B2A; /* Tu color oscuro principal */
}

.tour-hero {
  background: white;
  padding-top: 120px;
  padding-bottom: 60px;
  padding-left: 0;
  padding-right: 0;
  border-bottom: 1px solid var(--border); /* #f3e9df */
  
  /* NUEVO: Ajustes obligatorios para controlar la lluvia de Sakura */
  position: relative;
  overflow: hidden; /* Corta los pétalos para que no invadan las secciones de abajo */
  z-index: 1;
}

/* NUEVO: Contenedor Canvas optimizado para encapsularse estrictamente en el Hero */
#sakura-canvas {
  position: fixed;   /* Cambiado de fixed a absolute para que se mueva con el Hero */
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  pointer-events: none; /* Permite hacer clic en los textos/enlaces que estén detrás */
  z-index: 1;           /* Capa base baja dentro del contenedor relativo */
  opacity: 0.65;        /* Se mezcla suavemente con tu fondo */
}

.tour-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  
  /* NUEVO: Forzamos a que el contenido visual quede por encima de los pétalos */
  position: relative;
  z-index: 2;
}

@media (max-width: 768px) {
  .tour-hero-grid { grid-template-columns: 1fr; gap: 24px; }
}

.tour-tag {
  background: var(--background); /* #fff6f6 */
  color: #d23f57; /* Manteniendo el tono vivo para alertas/tags cortos */
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 16px;
}

.tour-hero-info h1 {
  font-family: var(--font-serif); /* Fraunces */
  font-size: 42px;
  margin-bottom: 20px;
  color: #0D1B2A;
}

.tour-quick-meta span {
  display: block;
  margin-bottom: 8px;
  color: #4a5568;
  font-size: 15px;
}

/* ============================================================
   ESTILOS SLIDER NATIVO (OPTIMIZADO SIN ESPACIOS EN BLANCO)
   ============================================================ */
.tour-main-img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(13, 27, 42, 0.04);
}

.tour-slider-container {
  position: relative;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(13, 27, 42, 0.04);
}

.tour-native-slider {
  display: flex;
  flex-wrap: nowrap;
  width: 100%;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
}

.tour-native-slider::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.tour-native-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 480px; /* Consistencia de altura visual */
  scroll-snap-align: start;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #f7f7f7;
}

.tour-main-img-slider {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Flechas flotantes */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(13, 27, 42, 0.5);
  color: white;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
  z-index: 10;
}

.slider-btn:hover {
  background: rgba(13, 27, 42, 0.8);
}

.slider-btn.prev { left: 16px; }
.slider-btn.next { right: 16px; }

.slider-btn.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

@media (max-width: 576px) {
  .tour-native-slide {
    height: 280px;
  }
  .slider-btn {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }
}

/* ============================================================
   DISTRIBUCIÓN DEL CUERPO DE LA PÁGINA
   ============================================================ */
.tour-body-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  margin-top: 48px;
  align-items: start;
  position: relative;
  z-index: 1;
}

@media (max-width: 992px) {
  .tour-body-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ACORDEÓN DE ITINERARIO STAMPIA */
.tour-itinerary-section h3 {
  font-family: var(--font-serif);
  color: #0D1B2A;
}

.itinerary-accordion {
  border: 1px solid var(--border); /* #f3e9df */
  border-radius: 12px;
  background: white;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(226, 156, 175, 0.05);
}

.accordion-item {
  border-bottom: 1px solid var(--border);
}

.accordion-item:last-child {
  border-bottom: none;
}

.accordion-header {
  width: 100%;
  display: flex;
  align-items: center;
  background: white;
  border: none;
  padding: 18px 20px;
  text-align: left;
  cursor: pointer;
  outline: none;
  transition: background 0.2s;
}

.accordion-header:hover {
  background: var(--background);
}

.day-badge {
  background: var(--primary); /* #e29caf */
  color: white;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  margin-right: 16px;
}

.day-title {
  font-size: 16px;
  font-weight: 600;
  color: #0D1B2A;
  flex-grow: 1;
}

.accordion-icon::before {
  content: '+';
  font-size: 20px;
  color: var(--primary);
  font-weight: 400;
}

.accordion-item.active .accordion-icon::before {
  content: '−';
}

.accordion-content {
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  background: #fffcfc;
}

.accordion-content p {
  font-size: 15px;
  color: #334155;
  line-height: 1.6;
  margin: 0;
}

/* Inclusiones boxes */
.tour-inclusions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 40px;
}

@media (max-width: 576px) {
  .tour-inclusions-grid { grid-template-columns: 1fr; }
}

.inclusion-box {
  background: white;
  padding: 24px;
  border-radius: 14px;
  border: 1px solid var(--border);
}

.inclusion-box h3 {
  margin-bottom: 16px;
  font-size: 18px;
  font-family: var(--font-serif);
  color: #0D1B2A;
}

.inclusion-box ul {
  list-style: none;
  padding: 0;
}

.inclusion-box li {
  margin-bottom: 10px;
  color: #334155;
  font-size: 15px;
}

.tour-payments-info {
  background: white;
  padding: 30px;
  border-radius: 14px;
  border-left: 4px solid var(--accent); /* Dorado elegante #d4af37 */
  border-top: 1px solid var(--border);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.03);
}

.tour-payments-info h3 {
  font-family: var(--font-serif);
  color: #0D1B2A;
  margin-bottom: 10px;
}

/* Caja de conversión fija (Sticky Sidebar) */
.tour-sidebar {
  position: sticky;
  top: 100px;
}

.sticky-conversion-card {
  background: white;
  padding: 32px;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: 0 20px 40px rgba(13, 27, 42, 0.04);
}

.price-label {
  font-size: 12px;
  text-transform: uppercase;
  color: #707b8a;
  letter-spacing: 1px;
  font-weight: 500;
}

.tour-price {
  font-family: var(--font-serif);
  font-size: 32px;
  color: #0D1B2A;
  margin-top: 6px;
  margin-bottom: 20px;
}

.card-benefits {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
  margin-bottom: 24px;
}

.card-benefits p {
  font-size: 14px;
  margin-bottom: 12px;
  color: #334155;
}

/* Botón de WhatsApp estilizado con la marca o conservando el branding */
.btn-cta-whatsapp {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #0D1B2A; /* Cambiado a tu color institucional oscuro para que combine perfectamente */
  color: white;
  text-decoration: none;
  padding: 16px;
  border-radius: 12px;
  font-weight: 600;
  text-align: center;
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn-cta-whatsapp:hover {
  background: var(--primary); /* Cambia al rosa suave en el hover */
  transform: translateY(-2px);
}

body.single-paquete .site-footer {
  position: relative;
  z-index: 1;
}