
/* Estilos para el contenedor del itinerario */
#itinerario-container {
    margin-top: 20px;
}
#ed_toolbar input{
    width: 60px;
}
.wp-editor-container input{
    width: 60px;
}
/* Estilos para cada día del itinerario */
.dia {
    margin-bottom: 30px;
    padding: 15px;
    border: 1px solid #ddd;
    background-color: #f9f9f9;
}

.dia h4 {
    margin-top: 0;
    font-size: 18px;
    color: #333;
}

/* Estilos para los campos de entrada */
.dia input[type="text"],
.dia textarea {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* Estilos para el botón de seleccionar imagen */
.dia .seleccionar-imagen {
    margin-top: 10px;
}

/* Estilos para la vista previa de la imagen */
.vista-previa-imagen {
    margin-top: 10px;
}

.vista-previa-imagen img {
    max-width: 150px;
    height: auto;
    border: 1px solid #ddd;
    padding: 5px;
    background-color: #fff;
}
#agregar-dia{
    padding: 10px 15px;
}
/* Estilos para el botón de agregar día */
#agregar-dia,#agregar-pregunta-respuesta,.seleccionar-imagen.button,.button.insert-media.add_media,#agregar-imagen {
    margin-top: 20px;

    background-color: #00aa17;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

#agregar-dia:hover,#agregar-pregunta-respuesta:hover, .seleccionar-imagen.button:hover,.button.insert-media.add_media:hover,#agregar-imagen:hover{
    background-color: #09e827;
    color: #fff;
}



.pregunta-respuesta{
 margin-top: 40px;
}
#galeria-container .galeria-imagenes{
    display: flex;
   flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}
#galeria-container .galeria-imagenes .galeria-imagen{
  position: relative;

}
#galeria-container .galeria-imagenes .galeria-imagen button{
    position: absolute;
    right: 0;
    background: transparent;
    color: #fff;
    font-weight: 700;
    padding: 0;
    font-size: 16px;
    border: none;
    line-height: 0;
  }

  .pregunta-respuesta {
    margin-bottom: 10px;
    padding: 15px;
    border: 1px solid #ddd;
    background-color: #e9ecef;
    border-radius: 8px;
    position: relative;
}
 .pregunta-respuesta h3{
    color: var(--primary-color);
 }

.pregunta-respuesta label {
    display: block;
    margin: 10px 0 5px;
    font-weight: bold;
    color: #23282d;
}

.pregunta-respuesta input.widefat {
    width: 100%;
    padding: 8px;
    box-sizing: border-box;
    border: 1px solid #ddd;
    border-radius: 3px;
}

.wp-editor-container {
    margin-top: 5px;
    border: 1px solid #ddd;
}

.wp-editor-container .wp-editor-area {
    width: 100%;
    min-height: 150px;
}

.pregunta-respuesta .eliminar-pregunta-respuesta,.eliminar-dia.button {
    margin-top: 10px;
    background-color: #dc3232;
    color: white;
    border-color: #dc3232;
}

.pregunta-respuesta .eliminar-pregunta-respuesta:hover,.eliminar-dia.button:hover {
    border-color: #a00;
    color: #000;
}
/**/
#details ul{
 padding-left: 20px;
}
#details h2,
#details h3,
#details h4,
#details h5,
#details h6{
    color: var(--primary-color);
}
#details h4{
    font-size: 19px;
}
#details p{
    color: var(--text-color);
}


#details h2 {
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: 600; /* Color más oscuro para títulos */
}

#details h3 {
    font-size: 18px;
    margin: 15px 0 10px 0;
    font-weight: 500;
}

#details p {
    font-size: 14px;
    margin-bottom: 12px;
    max-width: 85ch; 
    text-align: justify;
}

#details a {
    font-size: 14px;
    color: var(--secondary-color); /* Color típico para enlaces (ajustar) */
    text-decoration: none;
    transition: color 0.3s;
}

#details a:hover {
    color: var(--secondary-color); /* Color hover para enlaces */
}

#details .highlight {
    font-size: 15px;
    font-weight: 500;
    margin: 15px 0;
    padding-left: 10px;
    border-left: 3px solid #ccc; /* Borde izquierdo elegante */
}

#details small, #details .small-text {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
    display: block;
}

#details .item {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee; /* Separador sutil */
}

#details .item:last-child {
    border-bottom: none;
}




.content-area.content-single-tour{
    max-width: 1350px;
    margin: 0 auto;
}
/* 
header styles */
.entry-content-tab{
    margin-top: 10px;
}
.entry-content-tab h1,
.entry-content-tab h2,
.entry-content-tab h3,
.entry-content-tab h4,
.entry-content-tab h5{
    color: var(--title-color);
}


.tour-header-container {
    max-width: 1350px;
    margin: 0 auto;
    padding: 0 4rem;
    
}
.tour-label-header{
    padding: 5px 10px;
    background-color: var(--secondary-color);
    border-radius: 5px;
    color: #fff;
    font-family: var(--font-family);
    font-size: 14px;
}
.tour-title {
    margin-top: 5px;
    font-size: 24px;
    font-weight: 700;
    color: var(--title-color);
    margin-bottom: 5px;
}

.tour-header-highlights {
    display: flex;
    gap: 5px 20px;
    margin-bottom: 5px;
    flex-wrap: wrap;
}

.tour-highlight-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-color);
    font-weight: 500;
}

.highlight-icon {
    color: #00877C;
    font-size: 18px;
}

.tour-description {
    margin-bottom: 25px;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}

.tour-details-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 125px;
    padding: 15px 0;
    border-top: 1px solid #e1e1e1;
    border-bottom: 1px solid #e1e1e1;
}

.tour-detail-item {
    display: flex;
    gap: 12px;
    align-items: center;
}

.detail-icon-tours {
    color: #00877C;
    font-size: 20px;
    margin-top: 2px;
}

.detail-content {
    display: flex;
    flex-direction: column;
}

h1{
    font-family: var(--font-family);
}
p{
    font-family: var(--font-family);
    font-weight: 500;
}
/**/
/*Detalles del tour*/
.entry-title{
    color:var(--primary-color);
}
p{
    color:var(--text-color);   
}




.main-tour{
 padding: 0 4rem;
 position: relative;
}

/*Galeria de imagenes*/
.rutas-slider{
    
    height: 65vh;
    position: relative;
    margin-top: 5px;
}
.rutas-slider .rutas-list .rutas-item{
    position: absolute;
    inset: 0 0 0 0;
    overflow: hidden;
    opacity: 0;
    transition: .5s;
    height: 65vh;
    
}
.rutas-slider .rutas-list .rutas-item img{
    width: 100%;
    height: 65vh;
    object-fit: cover;
    border-radius: 20px;
}


.rutas-slider .rutas-list .rutas-item .rutas-content{
    position: absolute;
    left: 10%;
    top: 20%;
    width: 500px;
    max-width: 80%;
    z-index: 1;
}
.rutas-slider .rutas-list .rutas-item .rutas-content p:nth-child(1){
    text-transform: uppercase;
    letter-spacing: 10px;
    color: aliceblue;
}
.rutas-slider .rutas-list .rutas-item .rutas-content h2{
    font-size: 100px;
    margin: 0;
    color: aliceblue;
}
.rutas-slider .rutas-list .rutas-item.active{
    opacity: 1;
    z-index: 10;
}
@keyframes showContent{
    to{
        transform: translateY(0);
        filter: blur();
        opacity: 1;

    }
}
.rutas-slider .rutas-list .rutas-item.active p:nth-child(1),
.rutas-slider .rutas-list .rutas-item.active h2,
.rutas-slider .rutas-list .rutas-item.active p:nth-child(3){
    transform: translateY(30px);
    filter: blur(20px);
    opacity: 0;
    animation: showContent .5s .7s ease-in-out 1 forwards;
}
.rutas-slider .rutas-list .rutas-item.active h2{
    animation-delay: 1s;
}
.rutas-slider .rutas-list .rutas-item.active p:nth-child(3){
    animation-delay: 1.3s;
}
.rutas-arrows{
    position: absolute;
    top: 88%;
    right: 50%;
    z-index: 100;
    transform: translateX(50%);
    display: flex;
    flex-direction: row;
    gap: 10px;
}
.rutas-arrows button{
    background-color: #00877c52;
    border: none;
    padding: 5px;
    display: flex;
    align-items: center;
    border-radius: 50%;
    font-size: x-large;
    color: var(--primary-color);
    transition: .5s;
    cursor: pointer;
}
.rutas-arrows button:hover{
    background-color: #00877c;
}
.miniatura{
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 11;
    display: flex;
    gap: 10px;  
    max-width: 1350px;
    padding: 10px 0;
    width: 100%;
    height: auto;
    box-sizing: border-box;
    scroll-behavior: smooth;
    overflow-x: auto;
    justify-content: start;
}
.miniatura {
    overflow-x: auto; /* Habilita el scroll horizontal */
    scrollbar-width: none; /* Oculta en Firefox */
    -ms-overflow-style: none; /* Oculta en IE/Edge */
}

/* Oculta en Chrome, Safari y Opera */
.miniatura::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
    background: transparent;
}

/* Opcional: Si necesitas que el contenido sea desplazable con el mouse */
.miniatura {
    -webkit-overflow-scrolling: touch; /* Suaviza el scroll en iOS */
}
.miniatura .rutas-item{
    width: 180px;
    height: auto;
    filter: brightness(.5);
    transition: .5s;
    flex-shrink: 0;
}
.miniatura .rutas-item img{
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 10px;
}
.miniatura .rutas-item.active{
    filter: brightness(1.5);
}
.miniatura .rutas-item .rutas-content{
    position: absolute;
    inset: auto 10px 10px 10px;
}


/*menu de navegacion */
.nav-menu-tours {
   
    position: sticky;
    max-width: 100%;
  overflow: hidden;
  z-index: 999;
  margin-top: 15px;
}
.nav-menu-tours-container{
display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  gap: 5px;
}
.nav-menu-tours .scroll-arrow {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 40px;
  background: rgba(255,255,255,0.7);

  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1;
  display: none;
}

.nav-menu-tours .scroll-arrow.lefttour {
  left: 0;
}

.nav-menu-tours .scroll-arrow.righttour {
  right: 0;
}

.nav-menu-tours {
    overflow-x: auto; /* Habilita el scroll horizontal */
    scrollbar-width: none; /* Oculta en Firefox */
    -ms-overflow-style: none; /* Oculta en IE/Edge */
}

/* Oculta en Chrome, Safari y Opera */
.nav-menu-tours::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
    background: transparent;
}

/* Opcional: Si necesitas que el contenido sea desplazable con el mouse */
.nav-menu-tours {
    -webkit-overflow-scrolling: touch; /* Suaviza el scroll en iOS */
}

.nav-menu-tours button {

    flex: 1;
    background: #fff;
    color: var(--title-color);
    border: 1px solid #e1e1e1;
    
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    font-weight: bold;
    border-radius: 6px;
}

.nav-menu-tours button:hover,
.nav-menu-tours button.active {
    background-color: var(--secondary-color);
    color: #fff;
    border: none;
}

.section-iti {
    display: none;
    opacity: 0;
    transform: translateY(20px); /* Efecto de desplazamiento */
    transition: opacity 0.5s ease, transform 0.5s ease; 
}

.section-iti.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}


.content-tour-dates{
    display: flex;
}
.entry-content-tab{
    width: 70%;
    padding-top: 20px;
}
/*FAQS*/
.faq-m{
    margin-bottom: 20px;
}
.faqs-itinerary {
    margin: 20px 0;
    font-family: inherit;
}

.faqs-iti {
    margin-bottom: 10px;
 
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faqs-iti[open] {
    border-color: #00877c;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.faqs-iti summary {
    padding: 15px 20px;
    background-color: #E6F2F1;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    transition: background-color 0.2s ease;
    position: relative;
}
.faqs-iti summary h4{
    color: var(--title-color);
}
.faqs-iti summary:hover {
    background-color: #E6F2F1;
}

.faqs-iti summary::-webkit-details-marker {
    display: none;
}

.faqs-iti summary span {
    flex-grow: 1;
    font-weight: 500;
    color: var(--primary-color);
}

.faqs-iti .icon {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-left: 12px;
    fill: var(--secondary-color);
}

.faqs-iti[open] .icon {
    transform: rotate(180deg);
    color: #4a90e2;
}

.respuesta-contenido {
    background-color: #E6F2F1;
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faqs-iti[open] .respuesta-contenido {
    max-height: 1000px; /* Ajustar según necesidad */
}

.respuesta-content-inner {
    padding: 15px 0;
}
.tour-tab-title{
    color: var(--title-color);
}
.respuesta {
    margin: 0;
    color: var(--text-color);
    line-height: 1.6;
}
.inclusiones .contenido ul,
.exclusiones .contenido ul,
.recomendaciones .contenido ul{
    padding-left: 20px;
    list-style: none;
}
.inclusiones .contenido ul li,
.exclusiones .contenido ul li,
.recomendaciones .contenido ul li{
    margin-bottom: 10px;
    color: var(--text-color);
}
.inclusiones .contenido,
.exclusiones .contenido,
.recomendaciones .contenido {
    background: #E6F2F1;
    padding: 20px 10px;
    border-radius: 8px;
}
.inclusiones .contenido i,
.exclusiones .contenido i,
.recomendaciones .contenido i {
    color: #00877C;
}



/*Sidebar*/
.reserva-tour-sidebar {
    position: sticky;
    top: 100px;
    /* max-width: 350px; */
    min-width: 300px;
    width: 30%;
    height: fit-content;
    margin: 20px 0 0 20px;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    background: white;
}

.reserva-header h3 {
    color: #2d3748;
    font-size: 1.5rem;
   
    font-weight: 700;
}

.precios-info h4 {
    color: #4a5568;
    font-size: 16px;
    margin: 0;
    font-weight: 600;
}

.lista-precios {
    list-style: none;
    padding: 0;
    margin: 0 0 3px;
    display: flex;
    justify-content: space-around;
}

.lista-precios li {
    display: flex;
    flex-direction: column;
    color: #4a5568;
}

.precio-destacado {
    color: #2d3748;
    font-weight: 600;
}

.requisito-minimo {
    color: var(--text-color);
    font-size: 12px;
    margin-bottom: 3px;
}

/* Form Tabs */
.form-tabs-container {
    margin-top: 10px;
}

.form-tabs-nav {
    display: flex;
    border-bottom: 2px solid #edf2f7;
    margin-bottom: 0px;
    background: #E6F2F1;
    border-radius: 8px;
    padding: 4px;
}

.form-tab-btn {
    background: none;
    border: none;
    font-size: 16px;
    font-weight: 600;
    color: #718096;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    flex: 1;
    text-align: center;
    border-radius: 6px;
}

.form-tab-btn.active {
    color: #00877C;
    
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.form-tab-btn.active:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #00877C;
}

.form-tab-content {
    display: none;
}

.form-tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Form Styles */
.formulario-reserva {
    margin-top: 10px;
}

.form-group {
    margin-bottom: 0;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #4a5568;
    font-size: 14px;
    font-family: var(--font-family);
}

.input-with-icon {
    position: relative;
}

.input-with-icon i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #a0aec0;
}

.input-with-icon input {
    width: 100%;
    padding: 12px 15px 12px 40px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.input-with-icon input:focus {
    border-color: #00877C;
    box-shadow: 0 0 0 3px rgba(0, 135, 124, 0.2);
    outline: none;
}

.cantidad-selector {
    display: flex;
    align-items: center;
}

.btn-cantidad {
    background: #edf2f7;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-cantidad:hover {
    background: #E6F2F1;
    color: #00877C;
}
.cant-price-p{
    display: flex;
    justify-content: space-between;
}
.input-cantidad {
    width: 60px;
    text-align: center;
margin: 0;
    padding: 8px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
}
.wpcf7-form-control-wrap textarea{
    border: 1px solid #ced4da;
    width: 100%;
    font-family: var(--font-family);
    font-size: 14px;
    color: var(--text-color);
    border-radius: 8px;
    padding: 10px;
}
.wpcf7-form-control-wrap textarea:focus{
    outline: none;
}
.wpcf7-form-control-wrap textarea::placeholder{
    font-family: var(--font-family);
    font-size: 14px;
    color: var(--text-color);
}
/* .resumen-pago {
    background: #f8fafc;
    border-radius: 8px;
    
} */
.detalle-precio{
    display: flex;
    flex-direction: column;
}
.detalle-precio span{
 font-size: 14px;
 color: var(--text-color);
 font-weight: 600;
}
#precio-persona{
    margin-top: 10px;
    font-size: 18px;
    text-align: center;
}
.detalle-total {
    
    padding: 8px 0;
}

.detalle-total {
    font-weight: 600;
    color: #2d3748;
    border-top: 1px solid #e2e8f0;
    margin-top: 8px;

}
.total{
    color: var(--secondary-color);
}
.total-destacado {
    color: #ffffff;
    font-size: 1.1rem;
}

.opciones-pago {
    margin: 0;
    display: flex;
    flex-direction: row;
    gap: 12px;
}

.radio-option {
    display: flex;
    align-items: center;
    cursor: pointer;
    position: relative;
}

.radio-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.radio-custom {
    width: 1px;
    height: 20px;
    border: 2px solid #e2e8f0;
    margin-right: 12px;
    position: relative;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.radio-option:hover .radio-custom {
    border-color: #00877C;
}

.radio-option input:checked + .radio-custom {
    border-color: #00877C;
    background-color: #E6F2F1;
}

.radio-option input:checked + .radio-custom::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 10px;
    height: 10px;
    background: #00877C;
    border-radius: 50%;
}

.radio-label {
    color: #4a5568;
    font-weight: 500;
}

.monto-a-pagar {
    background: #E6F2F1;
    padding: 12px 15px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    color: #00877C;
}

.btn-reservar,input[type="submit"] {
    width: 100%;
    background: #00877C;
    color: white;
    border: none;
    padding: 15px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.btn-reservar i {
    margin-right: 10px;
}

.btn-reservar:hover {
    background: #007A6E;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 135, 124, 0.2);
}

/* Inquiry Form Styles */
.inquiry-form-container {
    padding: 20px 0;
}

.inquiry-form-container .form-header {
    margin-bottom: 20px;
}

.inquiry-form-container .form-header h3 {
    color: #2d3748;
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.inquiry-form-container .form-header p {
    color: #718096;
    font-size: 0.95rem;
}
.wpcf7 form.sent .wpcf7-response-output{
    border-radius: 8px;
    border-color: #007A6E;
}
.cancelacion{
    margin-top: 20px;
 background: #fff3f3;
 padding: 12px 15px;
 color: #d63939;
 border-radius: 8px;
}
.cancelacion p{
    margin: 0;
}
/*Formulario de pago izipay*/

  
 
.container-form-reserva {
    max-width: 1200px;
    margin: 0px auto 2rem auto;
    padding: 0 1rem;
  }
  
  /* Estructura del formulario */
  #reservaForm {
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    padding: 2rem;
    margin: 120px 4rem;
  }
  
  .row {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
  }
  
  .left-column, .right-column {
    flex: 1;
    min-width: 300px;
  }
  
  /* Secciones */
  .customer-details, .billing-details, .payment-details {
    margin-bottom: 2rem;
  }
  
  .resumen-reserva {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
  }
  
  .resumen-reserva h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
   
  }
  
  .resumen-reserva p {
    margin-bottom: 0.5rem;
  }
  
  .resumen-reserva h4 {
    font-size: 24px;
    margin-top: 1rem;
    color: var(--primary-color);
  }
  
  /* Títulos de sección */
  h2 {
    font-size: 1.5rem;
    
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
  }
  
  #reservaForm h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
  }
  
  /* Campos del formulario */
  .form-group {
    margin-bottom:0;
    position: relative;
  }
  
  .form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
  }
  
  .form-row .form-group {
    flex: 1;
    min-width: 200px;
  }
  .form-cant label{
font-family: var(--font-family);
font-size: 14px;
  }
  label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #495057;
    
  }
  
  input, select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #ced4da;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
  }
  
  input:focus, select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(74, 107, 255, 0.2);
  }
  
  input[readonly] {
    background-color: #e9ecef;
    cursor: not-allowed;
  }
  
  /* Honeypot field */
  .hp-field {
    position: absolute;
    left: -9999px;
  }
  
  /* Botón de submit */
  #submitBtn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
  }
  
  #submitBtn:hover {
    background-color: var(--primary-color);
  }
  
  #loading-spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
  }
  
  @keyframes spin {
    to { transform: rotate(360deg); }
  }
  
  /* Mensajes de error - ESTOS SON LOS CAMBIOS IMPORTANTES */
  .error-message {
    color: #dc3545;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    display: none;
  }
  
  
  /* Reglas para validación manual */
  .form-submitted input.invalid,
  .form-submitted select.invalid {
    border-color: #dc3545;
  }
  
  .form-submitted .invalid + .error-message {
    display: block;
  }
  
  /* Nota de seguridad */
  .security-note {
    background-color: #e7f5ff;
    color: var(--primary-color);
    font-family: var(--font-family);
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1.5rem;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  /* Estilos para el checkbox de términos */
.terms-checkbox {
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
  }
  
  .terms-checkbox input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
  }
  
  .terms-checkbox label {
    margin-bottom: 0;
    font-weight: normal;
    cursor: pointer;
  }
  
  .terms-checkbox label a {
    color: var(--primary-color);
    text-decoration: none;
  }
  
  .terms-checkbox label a:hover {
    text-decoration: underline;
  }
  
  .terms-checkbox .error-message {
    position: absolute;
    bottom: -20px;
    
  }

 /*payment form*/
 .payment-container {
    display: grid;
    max-width: 1200px;
    margin: 5rem auto 0 auto;
    gap: 2rem;
    padding: 0 1rem;
    grid-template-columns: repeat(2,1fr);
}

.detail-payment {
    flex: 1;
    background: #fff;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.reservation-details h2 {
    margin-top: 0;
    color: var(--title-color);
    font-size: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 10px;
}

.reservation-details h2 i {
    color: var(--title-color);
}

.details-section {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f0f0f0;
}

.details-section h3 {
    color: #444;
    font-size: 1.2rem;
    margin: 1rem 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.details-section h3 i {
    color: var(--title-color);
    font-size: 1rem;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    margin: 0.8rem 0;
    font-size: 1rem;
    line-height: 1.5;
}

.detail-label {
    color: var(--primary-color);
    font-weight: 500;
}

.detail-value {
    font-weight: 600;
    color: var(--text-color);
    
}

.detail-value.highlight {
    color: var(--title-color);
    font-weight: 600;
}

.important-note {
    background: #fff8e6;
    padding: 0.8rem;
    border-radius: 5px;
    margin-top: 1rem !important;
    display: flex !important;
    align-items: center;
    gap: 8px;
    color: #e67e22;
}

.important-note i {
    font-size: 1.2rem;
}

.total-amount {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
    font-size: 1.1rem;
}

.payment-security {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #28a745;
    font-size: 0.9rem;
    margin-top: 1.5rem;
    padding: 0.8rem;
    background: #f8f9fa;
    border-radius: 5px;
}

.payment-security i {
    font-size: 1.2rem;
}
.payment-wrapper{
    position: relative;
}
/* .payment-card{
    position: sticky;
} */
.payment-header{
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 20px;
    justify-content: center;
}
.payment-header img{
    width: 300px;
    margin: 0 auto;
}
span.payment-method{
text-align: center;
}

  #micuentawebstd_rest_wrapper{
display: flex;
align-items: center;
justify-content: center;
  }
  /*Pagina de error*/
  .error-container {
    max-width: 600px;
    margin: 6rem auto ;
    padding: 3rem;
    text-align: center;
    border-radius: 12px;
    background: linear-gradient(135deg, #fff5f5 0%, #fff 100%);
    box-shadow: 0 10px 30px rgba(244, 67, 54, 0.1);
    animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.error-title {
    color: #ff5252;
    margin-bottom: 2rem;
    font-size: 2.2rem;
}

.error-message-error {
    margin: 2rem 0;
    padding: 1.5rem;
    background-color: white;
    border-radius: 8px;
    color: #ff1744;
    font-size: 1.1rem;
    box-shadow: 0 2px 10px rgba(255, 82, 82, 0.1);
    border-left: 5px solid #ff5252;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: #ff5252;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 2px 5px rgba(255, 82, 82, 0.3);
}

.btn:hover {
    background-color: #ff1744;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 82, 82, 0.4);
}
.hp-field {
    position: absolute;
    left: -9999px;
  }

  .error-message {
    color: red;
    font-size: 0.875em;
    display: none;
  }

  .form-control.error {
    border-color: #dc3545;
  }

  #loading-spinner {
    display: none;
  }
/**/
/*Timeline*/

.timeline-itinerary {
    font-family: 'Open Sans', sans-serif;
    color: #333;
    max-width: 900px;
    margin: 0 auto;
    
}

/* Contenedor principal del timeline */
.timeline-days-container {
    position: relative;
    /* padding-left: 70px; */
}

/* Línea vertical del timeline */
.timeline-days-container::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 30px;
    width: 1px;
    background: #e0e0e0;
    z-index: 1;
}

/* Estilos para cada día */
.timeline-day {
    position: relative;
    margin-bottom: 30px;
}

.day-marker {
    position: sticky;
    
    top: 155px;
    width: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 3;
}

.marker-circle {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-color);
    border: 4px solid white;
    box-shadow: 0 0 0 2px var(--primary-color);
    z-index: 1;
}

.marker-line {
    width: 2px;
    height: 100%;
    background: var(--primary-color);
    margin-top: -2px;
    margin-bottom: 10px;
}

.day-number {
    font-weight: bold;
    color: var(--primary-color);
    background: white;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 0.9em;
    border: 1px solid #e0e0e0;
}

/* Contenido del día */
.day-content {
    background: white;
    border-radius: 8px;
    overflow: hidden;   
    padding-left: 60px;
}

.day-header {
    width: 100%;
    padding: 18px 25px;
    text-align: left;
    background: #E6F2F1;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.day-header:hover {
    background: #f7fbfc;
}
.day-header[aria-expanded="true"] {
    background: linear-gradient(135deg, #2a9d8f,#264653);
    color: white;
}

.day-header[aria-expanded="true"] .day-title {
    color: white;
}

.day-header[aria-expanded="true"] .accordion-icon {
    transform: rotate(180deg);
}

.day-title {
    margin: 0;
    color: var(--primary-color);
    font-size: 1.2em;
    font-weight: 600;
}

.accordion-icon {
    transition: transform 0.3s ease;
    color: var(--primary-color);
}

.day-header[aria-expanded="true"] .accordion-icon {
    color: white;
}

.day-details {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.day-header[aria-expanded="true"] + .day-details {
    padding-top: 25px;
    max-height: 5000px;
}

.day-image {
    margin-bottom: 20px;
}

.day-image img {
    width: 100%;
    border-radius: 6px;
    height: auto;
    max-height: 300px;
    object-fit: cover;
}

.day-summary {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px dashed #e0e0e0;
    line-height: 1.6;
}

/* Actividades */
.activities-container {
    margin: 25px 0;
}

.activity-item {
    display: flex;
    margin-bottom: 20px;
    position: relative;
    
}
.activity-item> i::after{
 content: "";
 position: absolute;
 left: 5px;
 top: 20px;
 background-color: var(--line-color);
 height: 90%;
 width: 1px;
}


.activity-item.highlight::before {
    background:#E6F2F1;
    width: 14px;
    height: 14px;
    top: 4px;
}

.activity-item.transport::before {
    background: #00877C;
}

.activity-time {
    flex: 0 0 50px;
    font-weight: bold;
    color: var(--primary-color);
    font-size: 0.9em;
    padding-top: 2px;
}

.activity-content {
    flex: 1;
    background: white;
    padding: 15px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.activity-item.highlight .activity-content {
    border-left: 3px solid #E6F2F1;
}

.activity-item.transport .activity-content {
    border-left: 3px solid #00877C;
}

.activity-content h4 {
    margin: 0 0 8px 0;
    color: var(--primary-color);
    font-size: 1.1em;
}

.activity-content p {
    margin: 0 0 10px 0;
    color: var(--text-color);
    font-size: 14px;
    line-height: 1.5;
}

.activity-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.85em;
    color: #6c757d;
}

.activity-meta span {
    display: inline-flex;
    align-items: center;
}

.activity-meta i {
    margin-right: 5px;
    font-size: 0.9em;
}

.activity-highlight {
    margin-top: 10px;
    padding: 8px 12px;
    background:#E6F2F1;
    border-radius: 4px;
    font-size: 0.85em;
    color: #00877C;
    display: flex;
    align-items: center;
}

.activity-highlight i {
    margin-right: 8px;
    color: #00877C;
}

/* Notas del día */
.day-notes {
    margin-top: 30px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 6px;
    border-left: 3px solid #fcc419;
}

.day-notes h5 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #e67700;
    display: flex;
    align-items: center;
}

.day-notes h5 i {
    margin-right: 8px;
}

.day-notes ul {
    margin: 0;
    padding-left: 20px;
}

.day-notes li {
    margin-bottom: 5px;
    line-height: 1.5;
    font-size: 14px;
    color: var(--text-color);
    font-weight: 500;
}

/*Form Reviews*/
 .modern-tour-review-form {
        margin: 40px 0;
      
        border-radius: 8px;
        background: #fff;
     
        
    }
    .form-data{
        display: grid;
        grid-template-columns: repeat(2,1fr);
        gap: 20px;
    }
    .modern-form-group {
        margin-bottom: 20px;
    }
    
    .modern-form-group label {
        display: block;
        margin-bottom: 8px;
        font-weight: 600;
        color: var(--text-color);
        font-family: var(--font-family);
        font-family: 14px;
    }
    
    .modern-form-group input[type="text"],
    .modern-form-group input[type="email"],
    .modern-form-group textarea {
        width: 100%;
        padding: 12px;
        border: none;
        border-radius: 6px;
        font-size: 15px;
        background-color: #e9ecef;
    }
    .modern-form-group input[type="text"]:focus,
    .modern-form-group input[type="email"]:focus,
    .modern-form-group textarea:focus {
        outline: none;
        border: none;
        box-shadow: none;  
    }
    
    .modern-form-group textarea {
        min-height: 120px;
        resize: vertical;
    }
    
    .modern-rating-stars {
        display: flex;
        direction: ltr;
    }
    
    .modern-rating-stars span.star {
        font-size: 28px;
        cursor: pointer;
        color: #e0e0e0;
        margin-right: 5px;
        transition: all 0.2s ease;
    }
    
    .modern-rating-stars span.star.active, 
    .modern-rating-stars span.star:hover {
        color: #FFC107;
        transform: scale(1.1);
    }
    
    .modern-review-button {
        background-color: #00877C;
        color: white;
        border: none;
        padding: 12px 24px;
        border-radius: 6px;
        font-size: 16px;
        font-weight: 600;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    .modern-review-button:hover {
        background-color: #006B63;
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0, 135, 124, 0.2);
    }
    
    .modern-review-button:active {
        transform: translateY(0);
    }
    
    .modern-review-notice {
        font-size: 0.85em;
        color: var(--text-color);
        margin-top: 15px;
        font-style: italic;
    }
#review_message {
        margin-top: 15px;
        padding: 12px;
        border-radius: 4px;
        display: none;
        font-size: 15px;
    }


/*mostar reviews*/
.tour-reviews{
 padding-top: 30px;
 margin-top: 30px;
 border-top: 1px dashed var(--line-color);
}
.tour-reviews h3{
    color: var(--primary-color);
}
   .tour-rating-summary {
        display: flex;
        flex-wrap: wrap;
        gap: 30px;
        margin-bottom: 30px;
    }
    .average-rating {
        display: flex;
        flex-direction: column;
        align-items: center;
        min-width: 150px;
    }
    .average-number-single {
        font-size: 36px;
        font-weight: bold;
        line-height: 1;
        color: var(--primary-color);
    }
    .stars {
        font-size: 24px;
        color: #ffb700;
        margin: 5px 0;
    }
    .review-count {
        color: #666;
        font-size: 0.9em;
    }
    .rating-distribution {
        flex: 1;
        min-width: 250px;
    }
    .rating-bar {
        display: flex;
        align-items: center;
        margin-bottom: 8px;
    }
    .rating-bar .stars {
        font-size: 16px;
        width: 80px;
        color: #ffb700;
    }
    .bar-container {
        flex: 1;
        height: 10px;
        background: #eee;
        border-radius: 5px;
        overflow: hidden;
        margin: 0 10px;
    }
    .bar-container .bar {
        height: 100%;
        background: #ffb700;
    }
    .rating-bar .count {
        width: 30px;
        text-align: right;
        font-size: 0.9em;
        color: var(--text-color);
    }
    .tour-reviews-list {
        margin-top: 20px;
    }
    .tour-review {
        border-bottom: 1px dashed #eee;
        padding: 20px 0;
    }
    .review-header {
        display: flex;
        gap: 15px;
        margin-bottom: 10px;
        flex-wrap: wrap;
        align-items: center;
    }
    .review-author {
        font-weight: bold;
        color: var(--primary-color);
    }
    .review-date {
        color: var(--text-color);
        font-size: 0.9em;
    }
    .review-rating {
        color: #ffb700;
    }
    .review-content {
        line-height: 1.6;
    }








    @media (max-width: 1024px) {
    
    .tour-container-header{
        display: flex;
        flex-direction: column;
    }
    }

    @media (max-width: 768px) {
        .tour-header-container {
            padding: 0 20px;
        }
        .reserva-tour-sidebar {
            padding: 15px;
            margin: 0 0 20px;
            width: 100%;

        }
        .tour-info-header h1.entry-title{
font-size: 3rem;
        }
    .miniatura{
        justify-content: start;
    }
    .rutas-slider .rutas-list .rutas-item .rutas-content h2{
        font-size: 60px;
    }
   
    .tour-container-header{
        padding: 50px 20px 0 20px;
    }
    .tour-image-header{
        margin-top: 20px;
    }
    .tour-info-header{
        padding: 0;
    }
    .tour-info-header h1 {
        border: none;
       
    }
    .tour-details-header{
        border: none;
    }
    .tour-info-title p{
        border: none;
    }
    .tour-details-grid{
        padding: 1rem 20px;
    }
    .main-tour{
        padding: 0 20px;
    }
    .rutas-slider,
    .rutas-slider .rutas-list .rutas-item,
    .rutas-slider .rutas-list .rutas-item img{
        height: 50vh;
    }
    .rutas-arrows{
        top: 85%;
    }
    .nav-menu-tours{
        overflow-x: scroll;
    }
    .content-tour-dates{
        flex-direction: column;
    }
    .entry-content-tab{
        width: 100%;
    }
    .reserva-tour{
        width: 100%;
    }
    /*Formulario de reserva*/
    .row {
        flex-direction: column;
      }
      
      .left-column, .right-column {
        width: 100%;
      }
      
      .form-row .form-group {
        min-width: 100%;
      }
    .payment-container {
        display: flex;
        flex-direction: column;
    }
    
    .detail-payment {
        order: 2;
        margin-top: 1.5rem;
    }
    
    .detail-item {
        flex-direction: column;
        gap: 0.3rem;
    }
    
    .detail-value {
        max-width: 100%;
        text-align: left;
    }
    #reservaForm{
        padding: 0;
        margin: 60px 0;
        box-shadow: none;
    }
    
    .day-content{
        padding-left: 5px;
    }
    .timeline-days-container::before {
        left: -8px;
    }
    
    .day-marker {
        left: -60px;
        width: 60px;
        margin-left: -20px;
    }
    
    .activity-item {
        flex-direction: column;
        padding-left: 0;
    }
    
    .activity-item::before {
        display: none;
    }
    
    .activity-time {
        margin-bottom: 5px;
        font-size: 0.85em;
    }
    .nav-menu-tours .scroll-arrow{
        display: flex;
    }

}




