/* ========================================== */
/* ESTILOS MÓDULO DE TOURS - VILLALILIANA     */
/* ========================================== */
.tours-grid-container {
    font-family: serif;
    background-color: #f4f1ea;
    padding: 40px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.tour-card {
    background: #fff;
    border: 1px solid #dcd6cc;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.tour-img-wrapper {
    position: relative;
    height: 200px;
    overflow: hidden;
}
.tour-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.badge-featured {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #34495e;
    color: #fff;
    font-size: 10px;
    letter-spacing: 1px;
    padding: 4px 8px;
    text-transform: uppercase;
}
.tour-content {
    padding: 20px;
}
.tour-content h3 {
    font-size: 22px;
    color: #2c3e50;
    margin: 0;
    font-weight: normal;
}
.tour-actions {
    display: flex;
    border-top: 1px solid #dcd6cc;
    padding: 12px 20px;
    justify-content: space-between;
    align-items: center;
}
.tour-actions .btn-action {
    background: none;
    border: none;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    color: #2c3e50;
}
.tour-actions .btn-explore {
    border: 1px solid #2c3e50;
    padding: 8px 16px;
    text-decoration: none;
    display: inline-block;
}

/* Estilos Panel Quick View */
.qv-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 450px;
    max-width: 100%;
    height: 100%;
    background: #fdfbf7;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    transition: right 0.4s ease;
    z-index: 9999;
    overflow-y: auto;
    font-family: serif;
}
.qv-drawer.open { right: 0; }
.qv-header { position: relative; background: #2c3e50; }
.qv-header img { width: 100%; height: 250px; object-fit: cover; }
.close-drawer {
    position: absolute; top: 15px; right: 15px;
    background: rgba(255,255,255,0.9); border: none;
    font-size: 18px; cursor: pointer; padding: 8px 12px; z-index: 10;
}
.qv-body { padding: 25px; }
.qv-title { font-size: 24px; color: #2c3e50; margin-bottom: 5px; }
.qv-meta {
    font-size: 13px; color: #666; margin-bottom: 20px;
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
}
.qv-tag { background: #d35400; color: #fff; padding: 3px 8px; font-size: 10px; text-transform: uppercase; }
.qv-desc {
    font-size: 14px; line-height: 1.6; color: #444;
    border-top: 1px solid #ddd; border-bottom: 1px solid #ddd;
    padding: 20px 0; margin-bottom: 20px;
}
.qv-footer-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.qv-btn {
    flex: 1; min-width: 140px; padding: 12px; text-align: center;
    border: 1px solid #2c3e50; background: transparent;
    text-transform: uppercase; font-size: 12px; letter-spacing: 1px;
    cursor: pointer; text-decoration: none; color: #2c3e50;
}
.qv-btn.book { background: #2c3e50; color: #fff; }

/* Estilos Avanzados Modal de Reservas y Cotizador */
.booking-container {
    display: none;
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.6); z-index: 10000;
    justify-content: center; align-items: center; font-family: serif;
    overflow-y: auto; padding: 20px;
}
.booking-container.active { display: flex; }
.booking-card {
    background: #fdfbf7; padding: 30px; width: 650px;
    max-width: 100%; border: 1px solid #dcd6cc; position: relative;
    max-height: 90vh; overflow-y: auto;
}
.booking-card h3 { color: #2c3e50; margin-top: 0; font-size: 24px; border-bottom: 1px solid #dcd6cc; padding-bottom: 10px; }
.booking-section-title { font-size: 14px; text-transform: uppercase; letter-spacing: 1px; color: #d35400; margin-top: 20px; margin-bottom: 10px; font-weight: bold; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.form-group { margin-bottom: 12px; }
.form-group.full { grid-column: span 2; }
.booking-card label { display: block; font-size: 12px; color: #444; margin-bottom: 5px; text-transform: uppercase; letter-spacing: 1px; }
.booking-card input, .booking-card select, .booking-card textarea {
    width: 100%; padding: 10px; border: 1px solid #dcd6cc; background: #fff; box-sizing: border-box; font-family: serif; font-size: 14px;
}
.booking-card .close-booking { position: absolute; top: 15px; right: 15px; background: none; border: none; font-size: 20px; cursor: pointer; color: #2c3e50; }

.bank-info-box {
    background: #f4f1ea; border: 1px dashed #2c3e50; padding: 15px; margin-top: 15px; font-size: 13px; color: #2c3e50;
}
.btn-confirm-book {
    width: 100%; background: #2c3e50; color: #fff; border: none; padding: 14px;
    margin-top: 25px; text-transform: uppercase; letter-spacing: 1px; cursor: pointer; font-size: 14px;
}
.btn-confirm-book:hover { background: #34495e; }

@media (max-width: 900px) { .tours-grid-container { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) {
    .tours-grid-container { grid-template-columns: 1fr; padding: 15px; }
    .form-grid { grid-template-columns: 1fr; }
    .form-group.full { grid-column: span 1; }
}