/* ========================================
   PACKAGE PAGE STYLES
   ======================================== */

/* Hero Section */
/*.package-hero {
    height: 75vh;
    background: url('/assets/images/machupicchu-survivor-discovery-sur-peru-bike-01-package.jpg') center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}*/
/*.package-hero {
    height: 75vh;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;

}*/
.package-hero {
    height: 90vh;
    background-position: center bottom; /* ✅ Muestra la parte inferior completa */
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /*background: rgba(0, 0, 0, 0.3);*/
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 1200px;
    padding: 0 20px;
}

.breadcrumb {
    margin-bottom: 20px;
    font-size: 14px;
}

.breadcrumb a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
}

.breadcrumb a:hover {
    opacity: 0.8;
}

.hero-content h1 {
    margin-top: 120px;
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 50px;
    font-weight: 600;
}

.main-content p {
    color: #555;
    font-size: 16px;
    font-weight: 600;
}

.main-content strong {
    color: rgb(9, 9, 9);
    /*text-transform: uppercase;*/
  }

.tour-stats {
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
}

.stat-item {
    background: rgba(85, 82, 82, 0.25);
    /*backdrop-filter: blur(3px);*/
    /*margin-top: 130px;*/

    padding: 20px 30px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: transform 0.3s, background 0.3s;
}

.stat-item:hover {
    transform: translateY(-5px);
    /*background: rgba(239, 140, 10, 0.2);*/
    background: rgb(245, 134, 52);
}

.stat-icon {
    font-size: 2rem;
}

.stat-info h3 {
    color: #fff;
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 5px;
    opacity: 0.9;
}

.stat-info p {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Main Content Section */
.package-content-section {
    padding: 60px 0;
}

.package-content-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
}

/* Overview Section */
/* ========================================= */
/* 1. Estilos del Encabezado (Overview) */
/* ========================================= */
.overview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.overview-header h2 {
    color: #7b5d3a;
    font-size: 2rem;
    /*margin-bottom: 40px; */
}

/* ========================================= */
/* 2. Contenedor de los Bloques (days-selector) */
/* ========================================= */
.days-selector {
    display: flex; /* Coloca los botones uno al lado del otro */
    align-items: center;
    gap: 10px;    /* Espacio entre el bloque de "Days" y el de "Nights" */
}

.youtube-icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #FF0000;
    color: white !important;
    border-radius: 50%;
    font-size: 20px;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.youtube-icon-link:hover {
    background-color: #CC0000;
    color: white !important;
    transform: scale(1.1);
    box-shadow: 0 4px 10px rgba(255, 0, 0, 0.4);
}

.youtube-icon-link i {
    line-height: 1;
}

/* ========================================= */
/* 3. Estilos de Cada Botón/Bloque Individual (day-option) */
/* ========================================= */
.day-option {
    /* Reseteo y Base */
    border: 2px solid #f57c3e; /* Borde visible en la imagen */
    border-radius: 5px; /* Bordes redondeados */
    cursor: default;
    pointer-events: none;
    background-color: white; /* Fondo blanco para todo el bloque por defecto */

    /* Dimensiones y Flexbox Interno */
    width: 80px; /* Ancho fijo (ajustar si es necesario) */
    height: 80px; /* Altura fija (ajustar si es necesario) */
    padding: 0;

    /* Usaremos Flexbox para dividir el contenido verticalmente */
    display: flex;
    flex-direction: column;
    overflow: hidden; /* Asegura que el contenido respete el border-radius */
}

/* ========================================= */
/* 4. Estilos de la Parte Numérica Superior (.number) */
/* ========================================= */
.day-option .number {
    /* Color de Fondo y Texto */
    background-color: white; /* Fondo blanco por defecto (para el bloque "Nights") */
    color: #f57c3e; /* Texto naranja por defecto (para el bloque "Nights") */

    /* Tipografía y Centrado */
    font-size: 28px;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;

    /* Ocupación de Espacio */
    width: 100%;
    flex-grow: 1; /* Permite que ocupe la mitad del espacio vertical */
}

/* ========================================= */
/* 5. Estilos de la Parte de Texto Inferior (.text) */
/* ========================================= */
.day-option .text {
    /* Color de Fondo y Texto */
    background-color: white; /* Fondo blanco */
    color: #494949; /* Texto gris oscuro */

    /* ¡CAMBIO CLAVE: LÍNEA DIVISORIA! */
    border-top: 2px solid #f57c3e; /* Borde superior naranja */

    /* Tipografía y Centrado (se mantiene) */
    font-size: 14px;
    font-weight: 600;
    display: flex;
    justify-content: center;
    align-items: center;

    /* Ocupación de Espacio (se mantiene) */
    width: 100%;
    flex-grow: 1;
}

/* ========================================= */
/* 6. Estilos Específicos para el Bloque ACTIVO */
/* ========================================= */

/* El número del bloque activo tiene fondo NARANJA y texto BLANCO */
.day-option.active .number {
    background-color: #f57c3e;
    color: white;
}

/* El texto inferior del bloque activo tiene texto GRIS OSCURO (igual que el inactivo) */
.day-option.active .text {
    color: #494949;
}

/* Highlights */
.highlights {
    margin-top: 40px;
    margin-bottom: 50px;
    border-bottom: 1px solid #B89D00; /* LÍNEA INFERIOR (se mantiene) */
    padding-bottom: 15px; /* AJUSTE: Reducir padding-bottom para que la línea esté cerca */
}

.highlights h3 {
    color: #7b5d3a;
    font-size: 22px;
    font-weight: 600;
    border-bottom: 1px solid #B89D00; /* LÍNEA DEBAJO DEL TÍTULO */
    padding-bottom: 50px; /* Espacio entre el texto y la línea */
    /* Espacio entre la línea y las imágenes */
    margin-bottom: 40px; /* Se puede ajustar según lo necesites */
}

.highlights-images {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.highlights-images img {
    width: 100%;
    height: 118px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s;
}

.highlights-images img:hover {
    transform: scale(1.05);
}

/* Itinerary */
.itinerary {
    margin-bottom: 50px;
}

.expand-control {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #666;
}

.expand-toggle {
    position: relative;
    width: 50px;
    height: 26px;
    background: #ccc;
    border-radius: 13px;
    cursor: pointer;
    transition: background 0.3s;
}

.expand-toggle:hover {
    background: #bbb;
}

.expand-toggle.active {
    background: #f57c3e;
}

.expand-toggle::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    transition: transform 0.3s;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.expand-toggle.active::after {
    transform: translateX(24px);
}

.day-item {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: box-shadow 0.3s;
}

.day-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.day-header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    cursor: pointer;
    background: #f9f9f9;
    transition: background 0.3s;
}

.day-header:hover {
    background: #f0f0f0;
}

.day-icon {
    width: 40px;
    height: 40px;
    background: #B89D00;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.custom-location-pin {
    width: 20px;
    height: 20px;
    /* CAMBIO CLAVE: Relleno transparente para que se vea el fondo de la tarjeta. */
    fill: transparent;
    /* Contorno visible (se aplica a la línea exterior de la ruta) */
    stroke: #fff;
    stroke-width: 50; /* Aumentamos el ancho de línea para que se vea, ya que el viewBox es grande (0 0 384 512) */

    vertical-align: middle;
    margin-right: 0px;
    background-color: transparent;
    border-radius: 50%;
    padding: 0;
}

/* Estilos para el contenedor del círculo SVG */
.day-circulo {
    margin-left: 15px;
    /* Define el tamaño del contenedor que el SVG va a llenar */
    width: 15px;  /* Ajusta este valor para el tamaño deseado del círculo */
    height: 15px; /* Debería ser igual al ancho para un círculo perfecto */

    /* Color dorado para el círculo (gracias a fill="currentColor" en el SVG) */
    color: #B89D00; /* O el tono exacto de dorado que estés usando */

    /* Alineación si es necesario */
    display: inline-flex; /* o 'flex' si quieres más control de alineación */
    justify-content: center;
    align-items: center;
}



.day-title {
    margin-left: 0px;
    flex: 1;
    font-weight: 600;
    font-size: 1.1rem;
    color: #333;
}

.day-title-inicio-fin {
    flex: 1;
    font-weight: 600;
    font-size: 1.1rem;
    color: #333;
}

.expand-icon {
    transition: transform 0.3s;
    color: #666;
}

.day-item.active .expand-icon {
    transform: rotate(180deg);
}

.day-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.day-item.active .day-content {
    max-height: 2000px;
}

.day-inner {
    padding: 20px;
    margin-left: 53px;
    background: white;

    /* Justificado del texto */
    text-align: justify;

    /* Evita que se formen "huecos" blancos demasiado grandes
       distribuyendo mejor el espacio entre palabras */
    text-justify: inter-word;

    /* Opcional: mejora la lectura en bloques largos */
    line-height: 1.6;
}

.day-inner p {
    margin-bottom: 15px;

    line-height: 1.8;
    color: #555;
}

.day-details {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.day-details p {
    margin-bottom: 8px;
    color: #555;
}

.day-details strong {
    color: #333;
}

/* Sidebar */
.sidebar {
    position: sticky;
    top: 140px;
    height: fit-content;
}

.price-box {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 20px;
    text-align: center;
}

.price-label {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.price {
    font-size: 2.5rem;
    color: #f57c3e;
    font-weight: 700;
    margin-bottom: 5px;
}

.price-subtitle {
    color: #666;
    font-size: 0.9rem;
}

.benefits {
    background: #f9f9f9;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px;
}

.benefit-item:last-child {
    margin-bottom: 0;
}

.benefit-item i.fa-check-circle {
    color: #4CAF50;
    font-size: 1.2rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.benefit-item i.fa-question-circle {
    color: #ccc;
    font-size: 0.9rem;
    margin-left: 5px;
}

.benefit-item span {
    color: #666;
    flex: 1;
}

.help-text {
    text-align: center;
    margin-bottom: 15px;
    color: #666;
    font-size: 14px;
}

.help-text a {
    color: #f57c3e;
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.3s;
}

.help-text a:hover {
    opacity: 0.8;
}

.contact-btn {
    width: 100%;
    padding: 15px;
    background: #f57c3e;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}

.contact-btn:hover {
    background: #e66b2d;
    transform: translateY(-2px);
}

.contact-btn:active {
    transform: translateY(0);
}


/* Section Divider */
.section-divider {
    width: 100%;
    height: 1px;
    background-color: #c4a747;
    margin-bottom: 40px;
}

/* Cost Section */
.cost-section {
    margin-bottom: 60px;
}

.cost-section h2 {
    color: #7b5d3a;
    font-size: 2rem;
    margin-bottom: 30px;
    font-weight: 600;
}

.cost-section h3 {
    color: #7b5d3a;
    font-size: 1.3rem;
    margin: 30px 0 20px;
    font-weight: 600;
}

/* Cost Lists */
.cost-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.cost-list li {
    color: #333;
    line-height: 1.8;
    margin-bottom: 12px;
    padding-left: 35px;
    position: relative;
    font-size: 1rem;
}

/* Checkmark icon for includes */
.cost-list.includes li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    width: 24px;
    height: 24px;
    background-color: #6b9e3e;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
}

/* X icon for excludes */
.cost-list.excludes li::before {
    content: "✕";
    position: absolute;
    left: 0;
    top: 0;
    width: 24px;
    height: 24px;
    background-color: #d64545;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
}

/* Map Section */
.map-section {
    margin-bottom: 40px;
}

.map-section h2 {
    color: #7b5d3a;
    font-size: 2rem;
    margin-bottom: 30px;
}

.map-placeholder {
    width: 100%;
    overflow: hidden;
}

.map-placeholder iframe {
    display: block;
}

.related-trips-section {
    margin-bottom: 40px;
}

.related-trips-section h2 {
    color: #7b5d3a;
    font-size: 2rem;
    margin-bottom: 30px;
}

/*ESTILOS PARA LOS CARDS }}*/
/* Search Results Cards */
.related-trips-container {
    width: 100%;
    padding: 0;
}

.related-trips-container .search-results {
    padding: 0 15px;
}

@media (min-width: 768px) {
    .related-trips-container .search-results {
        padding: 0 30px;
    }
}

@media (min-width: 992px) {
    .related-trips-container .search-results {
        padding: 0 40px;
    }
}

@media (min-width: 1200px) {
    .related-trips-container .search-results {
        padding: 0 60px;
    }
}

@media (min-width: 1400px) {
    .related-trips-container .search-results {
        padding: 0 0;
    }
}

.search-results {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.tour-card-title-link {
    text-decoration: none;
    color: inherit; /* Mantiene el color original del título */
    transition: color 0.3s ease;
}

.tour-card-title-link:hover {
    color: rgb(245, 134, 52) /* Color naranja */
}

.tour-card-title-link:hover .tour-card-title {
    color: rgb(245, 134, 52) /* Asegura que el h3 también cambie */
}

/*.tour-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}*/

.tour-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.tour-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.tour-card-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.tour-card-body {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.tour-card-title {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.tour-card-info {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #666;
    font-size: 14px;
}

.info-item i {
    color: #b8860b;
}

.tour-card-description {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
    flex-grow: 1;
}

.tour-card-price {
    font-size: 28px;
    font-weight: 700;
    color: #b8860b;
    text-align: right;
    margin-top: auto;
}

.no-tours-message {
    text-align: center;
    padding: 60px 20px;
    color: #666;
    font-size: 18px;
}

/* Responsive */
@media (max-width: 768px) {
    .tour-card-img {
        height: 200px;
    }

    .related-trips-container {
        padding: 0 15px;
    }
}


/* Responsive Design */
@media (max-width: 968px) {
    .highlights-images img {
        height: 350px;
    }

    .content-wrapper {
        display: block;
    }

    .main-content {
        display: block;
    }

    /* El sidebar se moverá con JavaScript */
    .sidebar {
        position: static;
        margin-bottom: 40px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .tour-stats {
        gap: 20px;
    }

    .stat-item {
        padding: 15px 20px;
    }

    .highlights-images {
        grid-template-columns: 1fr;
    }

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

    .days-selector {
        width: 100%;
    }

    .day-option {
        flex: 1;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .stat-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .stat-icon {
        font-size: 1.5rem;
    }

    .tour-stats {
        gap: 15px;
    }

    .price {
        font-size: 2rem;
    }

    .day-title {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .highlights-images img {
        height: 180px;
    }

    .hero-content h1 {
        font-size: 1.5rem;
    }

    .overview-header h2,
    .highlights h2,
    .cost-section h2,
    .map-section h2 {
        font-size: 1.5rem;
    }

    .stat-item {
        padding: 12px 15px;
    }
}

/* IMPORTANTE: Asegurar que todos los hijos directos de main-content tengan flex para el orden */
@media (max-width: 968px) {
    .main-content > * {
        width: 100%;
    }
}

.day-circulo-container {
    width: 40px; /* Mismo ancho que .day-icon */
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

/* El círculo pequeño sólido */
.day-circulo-pequeno {
    width: 12px;
    height: 12px;
    background-color: #B89D00; /* Tu color dorado/mostaza */
    border-radius: 50%;
}


.highlights-images a {
    display: inline-block; /* Cambiado a inline-block para ajustarse a la imagen */
    position: relative;
    overflow: hidden;
    line-height: 0; /* Quita espacios extra debajo de la imagen */
}

/* Capa oscura */
.highlights-images a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Un poco más oscuro para que se note */
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
    pointer-events: none;
}

/* Icono Lupa */
.highlights-images a::after {
    content: '\f00e';
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 30px;
    color: #fff;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 3;
    pointer-events: none;
}

/* Efecto Hover */
.highlights-images a:hover::before,
.highlights-images a:hover::after {
    opacity: 1 !important;
}

/* ========================================
   BOOKING MODAL STYLES
   ======================================== */

/* Modal Overlay */
.booking-modal {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease;
}

/* Modal Content Container */
.booking-modal-content {
    background-color: #ffffff;
    margin: 5% auto;
    width: 90%;
    max-width: 600px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    animation: slideDown 0.3s ease;
    position: relative;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Modal Header */
.booking-modal-header {
    background-color: #f5f5f5;
    padding: 20px 25px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 8px 8px 0 0;
}

.booking-modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
    color: #333;
    font-weight: 600;
}

/* Close Button */
.booking-close {
    color: #999;
    font-size: 32px;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
    transition: color 0.3s ease;
}

.booking-close:hover,
.booking-close:focus {
    color: #333;
}

/* Modal Body */
.booking-modal-body {
    padding: 30px 25px;
}

/* Form Sections */
.booking-form-section {
    margin-bottom: 25px;
}

.customer-details-section,
.tour-details-section {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid #e0e0e0;
}

/* Form Labels */
.booking-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: #666;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Form Inputs */
.booking-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    color: #333;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.booking-input:focus {
    outline: none;
    border-color: #a67c52;
}

.booking-input:disabled,
.booking-input[readonly] {
    background-color: #f5f5f5;
    cursor: not-allowed;
}

/* Email Group */
.booking-email-group {
    display: flex;
    gap: 10px;
}

.booking-email-group .booking-input {
    flex: 1;
}

/* Validate Button */
.validate-btn {
    padding: 12px 25px;
    background-color: #a67c52;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    white-space: nowrap;
}

.validate-btn:hover {
    background-color: #8b6440;
}

/* Email Messages */
.email-message {
    margin-top: 10px;
    font-size: 13px;
    min-height: 20px;
}

/* Phone Messages */
.phone-message {
    margin-top: 10px;
    font-size: 13px;
    min-height: 20px;
}

.error-message {
    color: #d32f2f;
}

.success-message {
    color: #388e3c;
}

.info-message {
    color: #1976d2;
}

.loading-message {
    color: #666;
}

/* Form Rows */
.booking-form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

.booking-form-row.three-cols {
    grid-template-columns: 1fr 1fr 1fr;
}

@media (min-width: 600px) {
    .booking-form-row:has(.booking-form-group:nth-child(3)) {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

.booking-form-group {
    display: flex;
    flex-direction: column;
}

/* Tour Details Section */
.tour-detail-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 15px;
    align-items: center;
    padding: 12px 0;
}

.tour-detail-label {
    font-size: 12px;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
}

.tour-detail-values {
    border-top: 1px solid #e0e0e0;
    padding-top: 15px;
}

.tour-name {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

.quantity-input {
    width: 60px;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-align: center;
    font-size: 14px;
}

.tour-price,
.tour-total {
    font-size: 16px;
    font-weight: 700;
    color: #f57c3e;
}

/* Responsive para los detalles del tour en el modal */
@media (max-width: 768px) {
    .tour-detail-row {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 8px 0;
    }

    .tour-detail-row.tour-detail-values {
        border-top: none;
        padding-top: 0;
    }

    .tour-detail-label {
        width: 100%;
        margin-bottom: 5px;
    }

    .tour-name {
        width: 100%;
        order: 1;
    }

    .quantity-input {
        width: 100%;
        order: 2;
        margin-top: 10px;
    }

    .tour-price {
        width: 100%;
        order: 3;
        margin-top: 10px;
    }

    .tour-total {
        width: 100%;
        order: 4;
        margin-top: 10px;
        font-size: 20px;
    }
}

/* ========================================
   CUSTOMER DETAILS CONTAINER STYLES
   ======================================== */

/* Customer Details Container with Orange Border and Light Background */
.customer-details-container {
    border: 2px solid #f57c3e;
    border-radius: 8px;
    background-color: #FDF7F2;
    padding: 20px;
}

/* Adjust spacing for form rows inside customer container */
.customer-details-container .booking-form-row {
    margin-bottom: 0;
}

.customer-details-container .booking-form-row:not(:last-child) {
    margin-bottom: 15px;
}

/* ========================================
   TOUR DETAILS CONTAINER STYLES
   ======================================== */

/* Description Container with Orange Border and Light Background */
/* This container now wraps the entire tour details section */
.description-container {
    border: 2px solid #f57c3e;
    border-radius: 8px;
    background-color: #FDF7F2;
    padding: 20px;
}

/* Tour detail rows inside the container */
.description-container .tour-detail-row {
    padding: 12px 0;
}

.description-container .tour-detail-row:first-child {
    padding-top: 0;
}

/* Description Textarea */
.booking-textarea {
    width: 100%;
    padding: 12px 15px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    color: #333;
    background-color: #fff;
    resize: vertical;
    font-family: inherit;
    line-height: 1.5;
    box-sizing: border-box;
}

.booking-textarea:focus {
    outline: none;
    border: 1px solid #f57c3e;
}

.booking-textarea::placeholder {
    color: #999;
    font-style: italic;
}

/* Margin Top Utility */
.mt-4 {
    margin-top: 25px;
}

/* Form Actions */
.booking-form-actions {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid #e0e0e0;
}

/* Send Reservation Button */
.send-reservation-btn {
    width: 100%;
    padding: 15px;
    background-color: #f57c3e;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.send-reservation-btn:hover {
    background-color: #e66b2d;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 124, 62, 0.3);
}

.send-reservation-btn:active {
    transform: translateY(0);
}

/* Responsive Modal */
@media (max-width: 768px) {
    .booking-modal-content {
        width: 95%;
        margin: 5% auto;
    }

    .booking-modal-header {
        padding: 15px 20px;
    }

    .booking-modal-header h2 {
        font-size: 1.25rem;
    }

    .booking-modal-body {
        padding: 20px 15px;
    }

    /* Formato lista para tour details - Opción C */
    /* Ocultar la fila de headers en móvil */
    .tour-detail-row:not(.tour-detail-values) {
        display: none !important;
    }

    /* Convertir la fila de valores en lista vertical */
    .tour-detail-row.tour-detail-values {
        display: flex;
        flex-direction: column;
        gap: 15px;
        border-top: none;
        padding-top: 0;
        align-items: stretch;
    }

    /* Wrapper para cada elemento */
    .tour-detail-values > * {
        width: 100%;
    }

    /* TRIP con su label */
    .tour-detail-values .tour-name {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 14px;
        order: 1;
    }

    .tour-detail-values .tour-name::before {
        content: attr(data-label);
        font-size: 11px;
        font-weight: 600;
        color: #666;
        text-transform: uppercase;
        min-width: 70px;
        letter-spacing: 0.5px;
        flex-shrink: 0;
    }

    /* QTY - Crear wrapper con label */
    /* QTY - wrapper con label */
    .tour-detail-values .quantity-wrapper {
        display: flex;
        align-items: center;
        gap: 10px;
        order: 2;
    }

    .tour-detail-values .quantity-wrapper::before {
        content: attr(data-label);
        font-size: 11px;
        font-weight: 600;
        color: #666;
        text-transform: uppercase;
        min-width: 70px;
        letter-spacing: 0.5px;
        flex-shrink: 0;
    }

    .tour-detail-values .quantity-wrapper .quantity-input {
        width: 80px;
        padding: 10px;
        text-align: center;
    }

    /* PRICE con su label */
    .tour-detail-values .tour-price {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 16px;
        order: 3;
    }

    .tour-detail-values .tour-price::before {
        content: attr(data-label);
        font-size: 11px;
        font-weight: 600;
        color: #666;
        text-transform: uppercase;
        min-width: 70px;
        letter-spacing: 0.5px;
        flex-shrink: 0;
    }

    /* TOTAL con su label */
    .tour-detail-values .tour-total {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 16px;
        order: 4;
    }

    .tour-detail-values .tour-total::before {
        content: attr(data-label);
        font-size: 11px;
        font-weight: 600;
        color: #666;
        text-transform: uppercase;
        min-width: 70px;
        letter-spacing: 0.5px;
        flex-shrink: 0;
    }

    .booking-form-row:has(.booking-form-group:nth-child(3)) {
        grid-template-columns: 1fr;
    }

    .booking-email-group {
        flex-direction: column;
    }

    .validate-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .booking-modal-content {
        margin: 2% auto;
    }
}