/**
 * Estilos para la plantilla de tour individual
 */

/* Layout general */
.tm-tour-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}
.tm-departure-points{
    font-size: 12px;
}

@media (max-width: 768px) {
    .tm-tour-container {
        grid-template-columns: 1fr;
    }
}

/* Encabezado del tour */
.tm-tour-header {
    margin-bottom: 2rem;
}

.tm-tour-title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.tm-tour-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #666;
}

.tm-tour-meta-item {
    display: flex;
    align-items: center;
}

.tm-tour-meta-item i {
    margin-right: 0.5rem;
    color: #0073aa;
}

/* Galería de imágenes */
.tm-tour-gallery {
    margin-bottom: 2rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.tm-tour-gallery img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.tm-tour-gallery .slick-dots {
    bottom: 15px;
}

.tm-tour-gallery .slick-dots li button:before {
    color: white;
}

.tm-tour-gallery .slick-prev,
.tm-tour-gallery .slick-next {
    z-index: 1;
    width: 40px;
    height: 40px;
}

/* Contenido del tour */
.tm-tour-content {
    line-height: 1.6;
    color: #333;
}

.tm-tour-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
}

.tm-tour-section-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #0073aa;
    position: relative;
    padding-left: 1rem;
}

.tm-tour-section-title:before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    height: 60%;
    width: 4px;
    background-color: #0073aa;
    border-radius: 2px;
}

/* Sección de detalles */
.tm-tour-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5px;
}

.tm-tour-detail-item {
    background-color: #f9f9f9;
    padding: 1rem;
    border-radius: 6px;
    display: flex;
    align-items: center;
}

.tm-tour-detail-icon {
    margin-right: 1rem;
    width: 40px;
    height: 40px;
    background-color: #e6f2f8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0073aa;
}

.tm-tour-detail-content h4 {
    margin: 0 0 0.25rem;
    font-size: 0.9rem;
    color: #666;
}

.tm-tour-detail-content p {
    margin: 0;
    font-weight: 600;
    color: #333;
}

/* Sección de inclusiones/exclusiones */
.tm-tour-inclusions-exclusions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

@media (max-width: 576px) {
    .tm-tour-inclusions-exclusions {
        grid-template-columns: 1fr;
    }
}

.tm-tour-list {
    padding-left: 1.5rem;
}

.tm-tour-list li {
    position: relative;
    padding: 0.5rem 0;
    margin-bottom: 0.5rem;
}

.tm-tour-inclusions li:before {
    content: '✓';
    position: absolute;
    left: -1.5rem;
    color: #28a745;
    font-weight: bold;
}

.tm-tour-exclusions li:before {
    content: '✕';
    position: absolute;
    left: -1.5rem;
    color: #dc3545;
    font-weight: bold;
}

/* Sección de itinerario */
.tm-tour-itinerary-item {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
    position: relative;
}

.tm-tour-itinerary-item:before {
    content: '';
    position: absolute;
    left: 7px;
    top: 0;
    bottom: -15px;
    width: 2px;
    background-color: #e0e0e0;
}

.tm-tour-itinerary-item:last-child:before {
    display: none;
}

.tm-tour-itinerary-day {
    position: relative;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #0073aa;
}

.tm-tour-itinerary-day:before {
    content: '';
    position: absolute;
    left: -2rem;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: #0073aa;
    z-index: 1;
}

/* Contenido expandible */
.tm-content-collapsible {
    overflow: hidden;
    transition: max-height 0.3s ease;
    position: relative;
}

.tm-content-collapsible:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(transparent, #fff);
    pointer-events: none;
}

.tm-content-expanded {
    max-height: 2000px;
}

.tm-content-expanded:after {
    display: none;
}

.tm-read-more-toggle {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.3rem 1rem;
    background-color: #f0f0f0;
    color: #0073aa;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.tm-read-more-toggle:hover {
    background-color: #e0e0e0;
    text-decoration: none;
}

/* Barra lateral */
.tm-tour-sidebar {
    position: sticky;
    top: 30px;
    align-self: flex-start;
}

/* Formulario de reservación */
.tm-tour-booking-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 2rem;
}

.tm-tour-booking-header {
    background-color: #0073aa;
    color: white;
    padding: 1.5rem;
    text-align: center;
}

.tm-tour-price {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.tm-tour-price-note {
    font-size: 0.9rem;
    opacity: 0.8;
}

.tm-tour-booking-content {
    padding: 1.5rem;
}

.tm-form-group {
    margin-bottom: 1.5rem;
}

.tm-form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.tm-form-control {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.tm-btn {
    display: block;
    width: 100%;
    padding: 1rem;
    background-color: #0073aa;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.tm-btn:hover {
    background-color: #005d8a;
}

.tm-tour-booking-footer {
    padding: 1rem 1.5rem;
    background-color: #f9f9f9;
    text-align: center;
    font-size: 0.9rem;
    color: #666;
}

.tm-tour-booking-guarantees {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 0.5rem;
}

.tm-tour-guarantee {
    display: flex;
    align-items: center;
    font-size: 0.8rem;
}

.tm-tour-guarantee i {
    margin-right: 0.3rem;
    color: #28a745;
}

/* Compartir en redes sociales */
.tm-tour-share {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
}

.tm-tour-share-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    text-align: center;
}

.tm-tour-share-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.tm-tour-share-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #f0f0f0;
    border-radius: 50%;
    color: #333;
    text-decoration: none;
    transition: all 0.3s;
}

.tm-tour-share-button:hover {
    transform: translateY(-3px);
}

.tm-tour-share-button.facebook:hover {
    background-color: #3b5998;
    color: white;
}

.tm-tour-share-button.twitter:hover {
    background-color: #1da1f2;
    color: white;
}

.tm-tour-share-button.whatsapp:hover {
    background-color: #25d366;
    color: white;
}

/* Alertas y mensajes */
.tm-alert {
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 4px;
}

.tm-alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.tm-alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Animaciones */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.tm-tour-container {
    animation: fadeIn 0.6s ease;
}

/* Estilos para la página individual de tour */

/* Contenedor principal */
.tm-tour-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* Estructura de columnas */
.tm-tour-content-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.tm-tour-main-content {
    flex: 1 1 65%;
    min-width: 0;
}

.tm-tour-sidebar {
    flex: 1 1 30%;
    min-width: 300px;
}

/* Encabezado del tour */
.tm-tour-header {
    margin-bottom: 2rem;
}

.tm-tour-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.tm-tour-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.tm-tour-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: #666;
}

.tm-tour-meta-item i {
    color: #ff6b6b;
    font-size: 1.1rem;
}

/* Galería de imágenes */
.tm-tour-gallery-wrapper {
    margin-bottom: 2.5rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.tm-tour-gallery {
    width: 100%;
}

.tm-tour-gallery img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.tm-tour-gallery .slick-prev, 
.tm-tour-gallery .slick-next {
    z-index: 1;
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.tm-tour-gallery .slick-prev:before, 
.tm-tour-gallery .slick-next:before {
    color: #333;
}

.tm-tour-gallery .slick-dots {
    bottom: 15px;
}

.tm-tour-gallery .slick-dots li button:before {
    color: white;
    opacity: 0.8;
}

.tm-tour-gallery .slick-dots li.slick-active button:before {
    color: white;
    opacity: 1;
}

/* Secciones del contenido */
.tm-section {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
}

.tm-section:last-child {
    border-bottom: none;
}

.tm-section-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #333;
    position: relative;
    padding-bottom: 0.5rem;
}

.tm-section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: #ff6b6b;
}

/* Detalles del tour */
.tm-tour-details {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}

.tm-tour-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.tm-tour-detail-icon {
    width: 40px;
    height: 40px;
    background-color: #f8f8f8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tm-tour-detail-icon i {
    color: #fff;
    font-size: 1.1rem;
    
}

.tm-tour-detail-content h4 {
    font-size: 1rem;
    margin: 0 0 0.25rem;
    color: #666;
}

.tm-tour-detail-content p {
    font-size: 1.1rem;
    margin: 0;
    color: #333;
    font-weight: 500;
}

/* Inclusiones y exclusiones */
.tm-inclusions-exclusions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.tm-inclusions-list, 
.tm-exclusions-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.tm-inclusions-list li, 
.tm-exclusions-list li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.tm-inclusions-list li:before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: #4CAF50;
    position: absolute;
    left: 0;
    top: 2px;
}

.tm-exclusions-list li:before {
    content: '\f00d';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: #f44336;
    position: absolute;
    left: 0;
    top: 2px;
}

/* Itinerario */
.tm-itinerary-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.tm-itinerary-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px dashed #eee;
    position: relative;
}

.tm-itinerary-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.tm-itinerary-day {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.75rem;
}

.tm-itinerary-description {
    color: #666;
    line-height: 1.6;
}

/* Contenido recortado con botón "Leer más" */
.tm-content-collapsible {
    position: relative;
    max-height: none;
    overflow: hidden;
    transition: max-height 0.4s ease;
}
.tm-content-collapsible.collapsed {
    max-height: 200px;
}
.tm-content-collapsible.expanded {
    max-height: 2000px;
}

.tm-content-collapsible:not(.expanded):after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
}

.tm-read-more-toggle {
    display: inline-block;
    margin-top: 1rem;
    color: #ff6b6b;
    cursor: pointer;
    font-weight: 500;
}

.tm-read-more-toggle:hover {
    text-decoration: underline;
}

/* Formulario de reserva */
.tm-booking-form-wrapper {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 30px;
}

.tm-booking-title {
    font-size: 1.3rem;
    margin-bottom: 1.25rem;
    text-align: center;
    color: #333;
}

.tm-booking-price {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
    color: #ff6b6b;
}

.tm-form-group {
    margin-bottom: 1.25rem;
}

.tm-form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #555;
}

.tm-form-control {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.tm-form-control:focus {
    outline: none;
    border-color: #ff6b6b;
    box-shadow: 0 0 0 2px rgba(255, 107, 107, 0.2);
}

.tm-booking-total {
    margin: 1.25rem 0;
    padding: 1rem;
    background-color: #f1f1f1;
    border-radius: 4px;
    text-align: center;
    font-weight: 600;
}

.tm-booking-btn {
    width: 100%;
    background-color: #ff6b6b;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 0.85rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.tm-booking-btn:hover {
    background-color: #ff5252;
}

.tm-booking-btn:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

/* Alertas y mensajes */
.tm-alert {
    padding: 1rem;
    border-radius: 4px;
    margin: 1rem 0;
}

.tm-alert-success {
    background-color: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}

.tm-alert-error {
    background-color: #ffebee;
    color: #c62828;
    border: 1px solid #ffcdd2;
}

/* Compartir en redes sociales */
.tm-tour-share {
    margin-top: 1.5rem;
}

.tm-tour-share-title {
    font-size: 1rem;
    margin-bottom: 0.75rem;
    color: #666;
}

.tm-tour-share-buttons {
    display: flex;
    gap: 0.75rem;
}

.tm-tour-share-button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: transform 0.3s, background-color 0.3s;
}

.tm-tour-share-button:hover {
    transform: translateY(-3px);
}

.tm-tour-share-facebook {
    background-color: #3b5998;
}

.tm-tour-share-twitter {
    background-color: #1da1f2;
}

.tm-tour-share-whatsapp {
    background-color: #25d366;
}

/* Media queries para responsividad */
@media (max-width: 992px) {
    .tm-tour-gallery-image {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .tm-tour-header {
        flex-direction: column;
    }
    
    .tm-tour-gallery-image {
        height: 300px;
    }
    
    .tm-tour-title {
        font-size: 2rem;
    }
    
    .tm-booking-form-container {
        position: static;
        margin-top: 2rem;
    }
}

/* Estilos para la página de tour individual */

/* Contenedor principal */
.tm-tour-single {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
    color: #333;
}

/* Sección de encabezado */
.tm-tour-header {
    margin-bottom: 2rem;
}

.tm-tour-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 1rem;
    color: #1d2327;
}

.tm-tour-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.tm-tour-meta-item {
    display: flex;
    align-items: center;
    font-size: 1rem;
}

.tm-tour-meta-item i {
    margin-right: 0.5rem;
    color: #0073aa;
}

.tm-tour-price-wrap {
    background-color: #f8f9fa;
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.tm-tour-price {
    font-size: 1.75rem;
    font-weight: 700;
    color: #0073aa;
}

.tm-tour-price-unit {
    font-size: 1rem;
    color: #666;
}

/* Galería de imágenes */
.tm-tour-gallery-wrap {
    margin-bottom: 2rem;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.tm-tour-gallery {
    width: 100%;
}

.tm-tour-gallery img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.tm-gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.tm-gallery-arrow:hover {
    background: white;
}

.tm-gallery-prev {
    left: 15px;
}

.tm-gallery-next {
    right: 15px;
}

.slick-dots {
    position: absolute;
    bottom: 15px;
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 0;
    margin: 0;
    list-style: none;
}

.slick-dots li {
    margin: 0 5px;
}

.slick-dots button {
    font-size: 0;
    line-height: 0;
    display: block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    cursor: pointer;
    border: none;
    outline: none;
    background: rgba(255, 255, 255, 0.5);
    padding: 0;
}

.slick-dots li.slick-active button {
    background: white;
}

/* Sección de contenido */
.tm-tour-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

@media (max-width: 768px) {
    .tm-tour-content {
        grid-template-columns: 1fr;
    }
}

.tm-tour-main {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.tm-section-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 1rem;
    color: #1d2327;
}

.tm-content-collapsible {
    overflow: hidden;
    transition: max-height 0.3s ease;
}
.tm-auth-actions {
    display: flex;
    justify-content: space-between;
    width: 100%;
}
.tm-read-more-toggle {
    display: inline-block;
    color: #0073aa;
    cursor: pointer;
    margin-top: 0.5rem;
    font-weight: 500;
}
.tm-share-container {
    display: flex;
    position: fixed;
    right: 5px;
    top: 50vh;
    flex-direction: column;
}
.tm-read-more-toggle:hover {
    text-decoration: underline;
}


.tm-details-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tm-details-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f5f5f5;
}

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

.tm-details-label {
    font-weight: 600;
    color: #555;
}

/* Inclusiones y exclusiones */
.tm-inclusions-exclusions {
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

@media (max-width: 576px) {
    .tm-inclusions-exclusions {
        grid-template-columns: 1fr;
    }
}

.tm-inclusions, .tm-exclusions {
    padding: 0;
}

.tm-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tm-list-item {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

.tm-list-item:before {
    position: absolute;
    left: 0;
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
}

.tm-inclusions .tm-list-item:before {
    content: '\f00c';
    color: #28a745;
}

.tm-exclusions .tm-list-item:before {
    content: '\f00d';
    color: #dc3545;
}

/* Itinerario */
.tm-itinerary {
    padding: 1.5rem;
}

.tm-itinerary-day {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #f5f5f5;
}

.tm-itinerary-day:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.tm-day-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 0.75rem;
    color: #0073aa;
}

/* Sidebar de reserva */
.tm-tour-sidebar {
    align-self: start;
    position: sticky;
    top: 30px;
}

.tm-booking-form-wrap {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 1.5rem;
}

.tm-booking-header {
    background: #0073aa;
    color: white;
    padding: 1rem 1.5rem;
}

.tm-booking-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
}

.tm-booking-form {
    padding: 1.5rem;
}

.tm-form-group {
    margin-bottom: 1rem;
}

.tm-form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.tm-form-control {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #f8f9fa;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.tm-form-control:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.2);
}

.tm-booking-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8f9fa;
    padding: 0.75rem 1.5rem;
    border-top: 1px solid #eee;
    margin-top: 1rem;
}

.tm-total-label {
    font-weight: 600;
}

.tm-total-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0073aa;
}

.tm-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    width: 100%;
}

.tm-btn-primary {
    background: #0073aa;
    color: white;
}

.tm-btn-primary:hover {
    background: #005d8a;
}

.tm-alert {
    padding: 0.75rem 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    display: none;
}

.tm-alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.tm-alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Compartir */
.tm-tour-share {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 1.5rem;
}

.tm-share-buttons {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.tm-share-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tm-share-button:hover {
    transform: translateY(-2px);
}

.tm-share-facebook {
    background: #3b5998;
}

.tm-share-twitter {
    background: #1da1f2;
}

.tm-share-whatsapp {
    background: #25d366;
}

/* Responsive */
@media (max-width: 992px) {
    .tm-tour-title {
        font-size: 2rem;
    }
    
    .tm-tour-gallery img {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .tm-tour-meta {
        gap: 1rem;
    }
    
    .tm-tour-gallery img {
        height: 350px;
    }
    
    .tm-tour-sidebar {
        position: static;
    }
}

@media (max-width: 576px) {
    .tm-tour-title {
        font-size: 1.75rem;
    }
    
    .tm-tour-gallery img {
        height: 250px;
    }
    
    .tm-tour-price {
        font-size: 1.5rem;
    }
    
    .tm-gallery-arrow {
        width: 35px;
        height: 35px;
    }
}

/**
 * Estilos para la página individual de tour
 * Tours Marketplace Plugin
 */

/* Contenedor principal */
.tm-tour-single-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    font-family: 'Montserrat', Arial, sans-serif;
}

/* Encabezado del tour */
.tm-tour-header {
    margin-bottom: 30px;
}

.tm-tour-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #333;
}

.tm-tour-location {
    display: flex;
    align-items: center;
    font-size: 16px;
    color: #666;
    margin-bottom: 15px;
}

.tm-tour-location i {
    margin-right: 8px;
    color: #ff5722;
}

/* Galería de imágenes */
.tm-tour-gallery-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    max-width:100vw;
}

.tm-tour-gallery .slick-slide img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.tm-tour-gallery .slick-prev,
.tm-tour-gallery .slick-next {
    z-index: 10;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
}

.tm-tour-gallery .slick-prev {
    left: 15px;
}
.slick-dotted.slick-slider{
    margin-bottom: 0;
}

.tm-tour-gallery .slick-next {
    right: 15px;
}

.tm-tour-gallery .slick-dots {
    bottom: 15px;
}

.tm-tour-gallery .slick-dots li button:before {
    color: white;
    opacity: 0.8;
}

.tm-tour-gallery .slick-dots li.slick-active button:before {
    color: white;
    opacity: 1;
}
.tm-tour-main-content h1 {
    margin-bottom: 0;
    font-size: 2rem;
    margin-top: 0;
}
/* Contenido del tour y barra lateral */
.tm-tour-content-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}
footer#site-footer {
    display: none;
}
.tm-tour-main-content {
    flex: 1;
    min-width: 280px;
}

.tm-tour-sidebar {
    width: 350px;
}

/* Secciones de información */
.tm-section {
    margin-bottom: 30px;
    padding: 25px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.tm-section-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f5f5f5;
    color: #333;
}

/* Descripción del tour */
.tm-tour-description {
    line-height: 1.7;
    color: #555;
}

.tm-content-collapsible {
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.tm-read-more-toggle {
    display: inline-block;
    margin-top: 10px;
    color: #ff5722;
    cursor: pointer;
    font-weight: 500;
}

.tm-read-more-toggle:hover {
    text-decoration: underline;
}

/* Detalles del tour */
.tm-tour-details {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}
.organizer-contact-details {
    display: flex;
    gap: 30px;
}

.organizer-contact-details i {
    color:#2D3142;
    font-size: 25px;
}

.tm-tour-detail-item {
    display: flex;
        align-items: center;
        padding: 10px;
        background-color: #f9f9f9;
        border-radius: 6px;
        gap: 0px;
}
.tm-tour-detail-item:first-child {
    display: grid;
    grid-template-columns: auto 1fr;
@media(min-width:768px){
    display: flex;
}
}
.tm-departure-point-wrapper >div {
    margin-bottom: 10px;
    border-bottom: 1px solid #ddd;
}
.tm-tour-detail-icon {
    margin-right: 12px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ff5722;
    color: white;
    border-radius: 50%;
}

.tm-tour-detail-text {
    flex-grow: 1;
}

.tm-tour-detail-label {
    font-size: 12px;
    color: #888;
    display: block;
}

.tm-tour-detail-value {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

/* Listas (Incluido/Excluido) */
.tm-tour-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tm-tour-list li {
    padding: 8px 0;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #f5f5f5;
}

.tm-tour-list li:last-child {
    border-bottom: none;
}

.tm-tour-list li i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.tm-included i {
    color: #4caf50;
}

.tm-excluded i {
    color: #f44336;
}

/* Itinerario */
.tm-itinerary-item {
    position: relative;
    padding-left: 30px;
    margin-bottom: 25px;
}

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

.tm-itinerary-item:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 20px;
    height: 20px;
    background-color: #ff5722;
    border-radius: 50%;
    z-index: 1;
}

.tm-itinerary-item:after {
    content: "";
    position: absolute;
    left: 9px;
    top: 20px;
    bottom: -25px;
    width: 2px;
    background-color: #ddd;
}

.tm-itinerary-item:last-child:after {
    display: none;
}

.tm-itinerary-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.tm-itinerary-description {
    color: #666;
    line-height: 1.6;
}

/* Tarjeta de reserva */
.tm-booking-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    padding: 25px;
}

.tm-booking-price {
    margin-bottom: 20px;
    text-align: center;
}

.tm-price-amount {
    font-size: 32px;
    font-weight: 700;
    color: #ff5722;
}

.tm-price-text {
    font-size: 14px;
    color: #888;
}

.tm-total-price-row {
    display: flex;
    justify-content: space-between;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 6px;
    margin: 15px 0;
    font-weight: 700;
}

/* Formulario de reserva */
.tm-booking-form .form-group {
    margin-bottom: 15px;
}

.tm-booking-form label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: #555;
}

.tm-booking-form input,
.tm-booking-form select,
.tm-booking-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.tm-booking-form input:focus,
.tm-booking-form select:focus,
.tm-booking-form textarea:focus {
    border-color: #ff5722;
    outline: none;
}

.tm-booking-form button {
    width: 100%;
    padding: 14px;
    background-color: #ff5722;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.tm-booking-form button:hover {
    background-color: #e64a19;
}

.tm-booking-form button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

/* Alertas */
.tm-alert {
    padding: 12px 15px;
    border-radius: 6px;
    margin-bottom: 15px;
    display: none;
}

.tm-alert-success {
    background-color: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
}

.tm-alert-error {
    background-color: #ffebee;
    color: #c62828;
    border: 1px solid #ef9a9a;
}

/* Botones para compartir */
.tm-share-container {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.tm-share-button {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    font-size: 25px;
    cursor: pointer;
    transition: transform 0.2s, opacity 0.2s;
}
a.tm-share-button.tm-share-whatsapp {
    font-size: 30px;
}
.tm-share-button:hover {
    transform: translateY(-3px);
    opacity: 0.9;
}

.tm-share-facebook {
    background-color: #3b5998;
}

.tm-share-twitter {
    background-color: #1da1f2;
}

.tm-share-whatsapp {
    background-color: #25d366;
}

/* Responsive */
@media (max-width: 992px) {
    .tm-tour-content-wrap {
        flex-direction: column;
    }

    .tm-tour-sidebar {
        width: 100%;
    }

    .tm-tour-gallery .slick-slide img {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .tm-tour-gallery .slick-slide img {
        height: 300px;
    }

    .tm-tour-details {
        grid-template-columns: 1fr 1fr;
    }
    
    .tm-tour-title {
        font-size: 26px;
    }
}

@media (max-width: 576px) {
    .tm-tour-details {
        grid-template-columns: 1fr;
    }
    
    .tm-section {
        padding: 20px 15px;
    }
    
    .tm-tour-title {
        font-size: 22px;
    }
    
    .tm-tour-gallery .slick-slide img {
        height: 250px;
    }
} 