/* 
Estilos para el detalle de la caravana, incluyendo el diseño general, el calendario y la tarjeta de reserva.
 */

:root {
    --hs-primary: #e6b94d;
    /* Amarillo más suave/dorado */
    --hs-secondary: #1e293b;
    --hs-accent: #008080;
    /* Teal para el calendario */
    --hs-bg: #fdfdfb;
    --hs-text: #334155;
    --hs-border: #e2e8f0;
}

.hs-premium-layout {
    font-family: 'Outfit', sans-serif;
    background-color: #fff !important;
    padding: 40px 0;
    color: var(--hs-text);

    /* fluid container instead of 100vw breakout to avoid horizontal scrollbar */
    width: 100% !important;
    max-width: 100% !important;
    position: relative !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

.hs-det-container {
    max-width: 1200px !important;
    /* Centered width */
    width: 90% !important;
    margin: 0 auto !important;
    padding: 0 !important;
    display: block !important;
}

/* 1. Cabecera */
.hs-det-header-new {
    margin-bottom: 30px;
    position: relative;
    padding-top: 50px;
}

/* Botón Icono Volver - Aligned with the header top-right */
.hs-det-back-icon-btn {
    position: absolute;
    top: 0;
    right: 0;
    width: 44px;
    height: 44px;
    background: transparent;
    color: var(--hs-secondary);
    border: 2px solid var(--hs-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 20px;
    padding: 0;
    z-index: 100;
    flex-shrink: 0;
}

.hs-det-back-icon-btn:hover {
    background: var(--hs-primary);
    color: white;
    border-color: var(--hs-primary);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.hs-det-back-icon-btn:active {
    transform: scale(0.95);
}

.hs-det-back-icon-btn .dashicons {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

/* Botón Volver - DEPRECATED (mantener para compatibilidad) */
.hs-det-btn-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #334155;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hs-det-btn-back:hover {
    background: #1e293b;
    transform: translateX(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.hs-det-btn-back:active {
    transform: translateX(-1px);
}

.hs-det-btn-back i {
    font-size: 16px;
}

.hs-det-breadcrumb-new {
    font-size: 13px;
    color: #94a3b8;
    margin-bottom: 20px;
}

.hs-det-title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
}

.hs-det-main-title {
    font-size: 38px;
    font-weight: 800;
    color: #1e293b;
    margin: 0;
    letter-spacing: -0.5px;
}

.hs-det-price-from {
    font-size: 18px;
    color: #64748b;
    font-weight: 500;
}

.hs-det-price-from strong {
    font-size: 32px;
    color: #1e293b;
    margin-left: 8px;
}

.hs-det-badges-new {
    display: flex;
    gap: 12px;
    margin-bottom: 32px;
}

.hs-det-badge-item {
    background: #334155;
    color: #fff;
    padding: 8px 18px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hs-det-badge-location {
    margin-left: auto;
    background: #3f8e87;
    color: #fff;
    padding: 6px 14px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 13px;
}

/* 3. Grid */
.hs-det-main-grid-new {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 30px;
}

.hs-det-main-image-wrap {
    border-radius: 12px;
    height: auto;
    min-height: 400px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.hs-det-main-image-wrap img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.hs-det-nav-arrows {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    transform: translateY(-50%);
    pointer-events: none;
}

.hs-nav-prev,
.hs-nav-next {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    pointer-events: auto;
    color: var(--hs-secondary);
}

/* 4. Booking Card */
.hs-det-booking-card-new {
    background: #fff;
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--hs-border);
}

.hs-det-booking-card-new h3 {
    font-size: 20px;
    margin: 0 0 24px 0;
    color: var(--hs-secondary);
}

.hs-det-step-indicator {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    margin-bottom: 20px;
}

.hs-step-num {
    background: var(--hs-secondary);
    color: #fff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.hs-det-date-display {
    border: 1px solid var(--hs-border);
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
    color: var(--hs-secondary);
    margin-bottom: 24px;
}

/* Calendario Widget */
.hs-det-calendar-widget {
    margin-bottom: 24px;
}

.hs-calendar-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-weight: 700;
    text-transform: uppercase;
}

.hs-calendar-nav button {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #94a3b8;
}

.hs-calendar-days-header {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
    margin-bottom: 10px;
}

.hs-calendar-grid-new {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 480px) {
    .hs-calendar-grid-new {
        gap: 2px;
    }
}

.hs-cal-day-new {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s;
    padding: 2px;
    box-sizing: border-box;
    min-height: 40px;
}

@media (max-width: 480px) {
    .hs-cal-day-new {
        min-height: 32px;
        font-size: 10px;
    }
}

@media (max-width: 380px) {
    .hs-cal-day-new {
        min-height: 28px;
        font-size: 9px;
    }
}

.hs-cal-day-new.available {
    background: #78d5d7 !important;
    /* AZUL MÁS CLARO/TURQUESA DE LA FOTO */
    color: #000 !important;
    border: 1px solid #6ac5c7;
    font-weight: 700;
}

.hs-cal-day-new.available:hover {
    background: #6ac5c7 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.hs-cal-day-new.unavailable {
    background: #e35b6a !important;
    /* ROJO DE LA FOTO */
    color: #fff !important;
    cursor: not-allowed !important;
    pointer-events: none;
}

.hs-cal-day-new.selected {
    background: #e6b94d !important;
    /* AMARILLO RESERVA SUAVE */
    color: #fff !important;
    font-weight: 800;
}

.hs-cal-day-new.in-range {
    background: #fdf6b2 !important;
    /* RANGO AMARILLO MUY SUAVE */
    color: #000 !important;
    border-top: 2px solid #e6b94d;
    border-bottom: 2px solid #e6b94d;
}

.hs-cal-day-new .day-num {
    font-weight: 700;
}

.hs-cal-day-new .day-price {
    font-size: 10px;
    font-weight: 800;
    margin-top: 2px;
}

.hs-cal-day-new.past {
    background: #f1f5f9 !important;
    color: #94a3b8 !important;
    cursor: not-allowed !important;
    opacity: 0.6;
}

.hs-cal-day-new.past .day-price {
    display: none;
}

.hs-occ-field {
    flex: 1;
}

.hs-occ-field label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    color: #94a3b8;
    margin-bottom: 4px;
}

.hs-occ-field input {
    width: 100%;
    border: 1px solid #e2e8f0;
    padding: 8px;
    border-radius: 4px;
    font-size: 14px;
}

/* Summary */
.hs-det-summary-new {
    margin-top: 24px;
    border-top: 1px solid #f1f5f9;
    padding-top: 20px;
}

.hs-summary-title {
    font-size: 12px;
    font-weight: 800;
    color: #3f8e87;
    margin-bottom: 12px;
}

.hs-det-total-box {
    border: 1px solid #1e293b;
    border-radius: 6px;
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.hs-det-total-box span {
    font-size: 16px;
    font-weight: 500;
}

.hs-det-total-box strong {
    font-size: 22px;
    font-weight: 800;
}

.hs-det-btn-submit-new,
.hs-det-btn-check-new {
    width: 100%;
    background: #fccb4e !important;
    color: #1e293b !important;
    border: none;
    padding: 16px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    text-transform: uppercase;
}



/* 5. Included Section */
.hs-det-included-section {
    margin-bottom: 60px;
}

.hs-det-included-section h3 {
    font-size: 24px;
    margin-bottom: 30px;
    font-weight: 700;
}

.hs-det-amenities-grid-new {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.hs-amenity-box {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 15px;
    font-weight: 500;
}

.hs-amenity-box i {
    color: #008080;
    font-size: 24px;
}

/* Responsive para tablet */
@media (max-width: 1024px) {
    .hs-det-amenities-grid-new {
        grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
        gap: 16px;
    }
    
    .hs-amenity-box {
        padding: 14px;
        gap: 8px;
        font-size: 13px;
    }
    
    .hs-amenity-box i {
        font-size: 24px;
    }
    
    .hs-amenity-box strong {
        font-size: 13px;
    }
    
    .hs-amenity-box span {
        font-size: 11px;
    }
}

/* Responsive para móvil */
@media (max-width: 768px) {
    .hs-det-amenities-grid-new {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 12px;
    }
    
    .hs-amenity-box {
        padding: 12px;
        gap: 8px;
        font-size: 12px;
    }
    
    .hs-amenity-box i {
        font-size: 22px;
    }
    
    .hs-amenity-box strong {
        font-size: 12px;
    }
    
    .hs-amenity-box span {
        font-size: 10px;
    }
}

/* Ultra responsive < 480px */
@media (max-width: 480px) {
    .hs-det-amenities-grid-new {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 10px;
    }
    
    .hs-amenity-box {
        padding: 10px;
        gap: 6px;
        font-size: 11px;
    }
    
    .hs-amenity-box i {
        font-size: 20px;
    }
    
    .hs-amenity-box strong {
        font-size: 11px;
    }
    
    .hs-amenity-box span {
        font-size: 9px;
    }
}

/* Ultra pequeño < 380px */
@media (max-width: 380px) {
    .hs-det-amenities-grid-new {
        grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
        gap: 8px;
    }
    
    .hs-amenity-box {
        padding: 8px;
        gap: 5px;
        font-size: 10px;
    }
    
    .hs-amenity-box i {
        font-size: 18px;
    }
    
    .hs-amenity-box strong {
        font-size: 10px;
    }
    
    .hs-amenity-box span {
        font-size: 8px;
    }
}

/* Botón Tour Virtual - COLOR NEGRO */
.hs-det-btn-tour {
    width: 100%;
    padding: 14px 16px;
    margin-top: 20px;
    background: #000000;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hs-det-btn-tour:hover {
    background: #1a1a1a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.hs-det-btn-tour:active {
    transform: translateY(0);
}

.hs-det-tour-icon {
    font-size: 18px;
}

/* Modal Tour Virtual */
.hs-det-tour-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hs-det-tour-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    cursor: pointer;
    animation: fadeIn 0.3s ease;
}

.hs-det-tour-modal-content {
    position: relative;
    background: white;
    border-radius: 12px;
    width: 90%;
    max-width: 1000px;
    height: 80vh;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
    z-index: 10000;
}

.hs-det-tour-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.1);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    color: #333;
    transition: all 0.2s ease;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hs-det-tour-modal-close:hover {
    background: rgba(0, 0, 0, 0.2);
    transform: rotate(90deg);
}

.hs-det-tour-modal-header {
    padding: 20px 30px;
    border-bottom: 1px solid #e9ecef;
    flex-shrink: 0;
}

.hs-det-tour-modal-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #333;
}

.hs-det-tour-modal-body {
    flex: 1;
    padding: 20px 30px;
    overflow: auto;
}

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

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

/* Responsive */
@media (max-width: 1024px) {
    .hs-premium-layout {
        width: 100% !important;
        max-width: 100% !important;
        left: 0 !important;
        transform: none !important;
        padding: 20px 0;
        overflow-x: hidden !important;
    }

    .hs-det-container {
        width: 100% !important;
        padding: 0 15px !important;
        box-sizing: border-box !important;
    }

    .hs-det-main-grid-new {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .hs-det-main-image-wrap {
        height: auto;
        min-height: 250px;
        max-height: 400px;
    }

    .hs-det-amenities-grid-new {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    /* Modal Responsive */
    .hs-det-tour-modal-content {
        width: 95%;
        height: 90vh;
        max-height: 90vh;
        border-radius: 8px;
    }

    .hs-det-tour-modal-header {
        padding: 15px 20px;
    }

    .hs-det-tour-modal-header h3 {
        font-size: 18px;
    }

    .hs-det-tour-modal-body {
        padding: 15px 20px;
    }

    .hs-det-tour-modal-close {
        width: 36px;
        height: 36px;
        font-size: 20px;
        top: 10px;
        right: 10px;
    }

    /* Botón Tour en móvil */
    .hs-det-btn-tour {
        padding: 12px 14px;
        font-size: 14px;
        margin-top: 15px;
    }
}

@media (max-width: 768px) {
    .hs-det-title-row {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .hs-det-main-title {
        font-size: 28px;
        line-height: 1.2;
    }

    .hs-det-price-from {
        text-align: left;
        margin-top: 5px;
    }

    .hs-det-price-from strong {
        font-size: 26px;
    }

    .hs-det-badges-new {
        flex-wrap: wrap;
        gap: 8px;
        margin-bottom: 20px;
    }

    .hs-det-badge-item {
        padding: 6px 12px;
        font-size: 12px;
    }

    .hs-det-badge-location {
        margin-left: 0;
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }

    .hs-det-booking-card-new {
        padding: 16px;
        border-radius: 16px;
    }

    .hs-det-booking-card-new h3 {
        font-size: 18px;
        margin-bottom: 15px;
    }

    .hs-det-cal-day-new {
        font-size: 11px;
    }

    .hs-cal-day-new .day-price {
        font-size: 8px;
    }
    
    .hs-calendar-days-header {
        font-size: 10px;
    }

    /* Botón Volver en Tablet */
    .hs-det-btn-back {
        padding: 10px 18px;
        font-size: 13px;
    }

    /* Icono Volver en Tablet */
    .hs-det-back-icon-btn {
        width: 40px;
        height: 40px;
        font-size: 20px;
        top: 0;
        right: 0;
    }

    .hs-det-back-icon-btn .dashicons {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .hs-det-main-title {
        font-size: 24px;
    }

    .hs-det-main-image-wrap {
        min-height: 180px;
    }

    .hs-det-amenities-grid-new {
        grid-template-columns: 1fr; /* Una columna para que el texto no se corte */
        gap: 12px;
    }

    /* Botón Volver Responsivo */
    .hs-det-btn-back {
        width: 100%;
        padding: 12px 16px;
        font-size: 13px;
        justify-content: center;
    }

    /* Icono Volver en Móvil Pequeño */
    .hs-det-back-icon-btn {
        width: 36px;
        height: 36px;
        font-size: 18px;
        top: 0;
        right: 0;
    }

    .hs-det-back-icon-btn .dashicons {
        font-size: 18px;
    }

    /* Modal Ultra Pequeño */
    .hs-det-tour-modal-content {
        width: 98%;
        height: 95vh;
        border-radius: 6px;
    }

    .hs-det-tour-modal-header {
        padding: 12px 15px;
    }

    .hs-det-tour-modal-header h3 {
        font-size: 16px;
    }

    .hs-det-tour-modal-body {
        padding: 12px 15px;
    }

    .hs-det-btn-tour {
        padding: 11px 12px;
        font-size: 13px;
        gap: 6px;
    }

    .hs-det-tour-icon {
        font-size: 16px;
    }
    
    .hs-calendar-grid-new {
        gap: 2px;
    }
    
    .hs-cal-day-new {
        padding: 2px 0;
    }
}

/* Ultra responsive para pantallas < 380px */
@media (max-width: 380px) {
    .hs-premium-layout {
        padding: 20px 0;
    }

    .hs-det-container {
        width: 95% !important;
        padding: 0 !important;
    }

    .hs-det-header-new {
        margin-bottom: 20px;
    }

    .hs-det-main-title {
        font-size: 20px;
        margin: 0 0 15px 0;
    }

    .hs-det-price-from {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .hs-det-price-from strong {
        font-size: 22px;
    }

    .hs-det-badges-new {
        flex-direction: column;
        gap: 6px;
        margin-bottom: 15px;
    }

    .hs-det-badge-item,
    .hs-det-badge-location {
        width: 100%;
        text-align: center;
        padding: 6px 10px;
        font-size: 11px;
    }

    .hs-det-main-image-wrap {
        min-height: 150px;
        border-radius: 8px;
    }

    .hs-det-booking-card-new {
        padding: 12px;
        border-radius: 12px;
        margin-bottom: 20px;
    }

    .hs-det-booking-card-new h3 {
        font-size: 16px;
        margin-bottom: 12px;
    }

    .hs-det-included-section h3 {
        font-size: 18px;
        margin-bottom: 15px;
    }

    .hs-amenity-box {
        font-size: 13px;
        gap: 10px;
    }

    .hs-amenity-box i {
        font-size: 20px;
        flex-shrink: 0;
    }

    .hs-det-btn-tour {
        padding: 10px 12px;
        font-size: 12px;
        margin-top: 12px;
    }

    .hs-det-btn-submit-new,
    .hs-det-btn-check-new {
        padding: 14px 10px;
        font-size: 13px;
    }

    .hs-calendar-nav {
        margin-bottom: 15px;
    }

    .hs-calendar-days-header {
        font-size: 9px;
        margin-bottom: 8px;
    }

    .hs-calendar-grid-new {
        gap: 1px;
    }

    .hs-cal-day-new {
        font-size: 9px;
    }

    .hs-cal-day-new .day-num {
        font-size: 8px;
    }

    .hs-cal-day-new .day-price {
        font-size: 6px;
    }
}

/* ==========================================================================
   Consolidated Premium Mosaic Gallery, Lightbox and Extra layout rules
   ========================================================================== */

/* Estilo fijo para los badges de arriba (No editables) */
.hs-det-badge-item {
    background: #444 !important;
    color: #fff !important;
    padding: 5px 12px !important;
    border-radius: 15px !important;
    font-size: 13px !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.hs-det-badge-item i {
    color: #fff !important;
    font-size: 16px;
    width: 16px;
    height: 16px;
}

/* Contenedor Principal Estabilizado */
.hs-det-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    font-family: 'Outfit', sans-serif;
}

.hs-det-main-grid-new {
    display: grid;
    grid-template-columns: 1fr 360px;
    /* Columna izquierda flexible, derecha fija */
    gap: 40px;
    align-items: start;
}

@media (max-width: 1024px) {
    .hs-det-main-grid-new {
        grid-template-columns: 1fr;
    }
}

/* Galería Paginada Estabilizada */
.hs-gallery-outer-wrap {
    position: relative;
    margin-bottom: 30px;
    padding: 0 40px;
    /* Espacio para las flechas fuera */
}

.hs-det-gallery-mosaic-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    height: 500px;
    width: 100%;
}

.hs-gallery-slider-new {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    height: 100%;
}

.hs-mosaic-page {
    min-width: 100%;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 15px;
    height: 100%;
}

.hs-mosaic-main {
    border-radius: 12px;
    overflow: hidden;
    background: #eee;
}

.hs-mosaic-side-col {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 15px;
}

.hs-mosaic-side-item {
    border-radius: 12px;
    overflow: hidden;
    background: #eee;
    position: relative;
}

.hs-mosaic-side-item img,
.hs-mosaic-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Flechas a los Lados (FUERA DEL OVERFLOW) - Modernized & Sleek */
.hs-det-nav-arrows {
    position: absolute !important;
    top: 50% !important;
    left: 0 !important;
    right: 0 !important;
    transform: translateY(-50%) !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    pointer-events: none !important;
    z-index: 99999 !important;
    width: 100% !important;
    height: 0 !important;
}

.hs-nav-prev,
.hs-nav-next {
    width: 44px !important;
    height: 44px !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
    font-size: 18px !important;
    color: #334155 !important;
    pointer-events: auto !important;
    transition: all 0.25s ease !important;
}

.hs-nav-prev:hover,
.hs-nav-next:hover {
    background: var(--hs-btn) !important;
    border-color: var(--hs-btn) !important;
    color: #fff !important;
    transform: scale(1.08) !important;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.12) !important;
}

/* Responsive Gallery Configurations */
.hs-gallery-desktop-only {
    display: block;
}
.hs-gallery-mobile-only {
    display: none;
}

@media (max-width: 1024px) {
    .hs-gallery-outer-wrap {
        padding: 0 10px;
    }

    .hs-nav-prev,
    .hs-nav-next {
        width: 40px !important;
        height: 40px !important;
        font-size: 16px !important;
    }
}

@media (max-width: 768px) {
    .hs-gallery-desktop-only {
        display: none;
    }
    .hs-gallery-mobile-only {
        display: block;
    }
    .hs-det-gallery-mosaic-wrap {
        height: 300px;
    }
    .hs-gallery-slider-mobile {
        display: flex;
        transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
        height: 100%;
        width: 100%;
    }
    .hs-mobile-slide {
        min-width: 100%;
        height: 100%;
        border-radius: 12px;
        overflow: hidden;
        background: #eee;
    }
    .hs-mobile-slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }
    .hs-gallery-outer-wrap {
        padding: 0 10px;
    }
    .hs-det-nav-arrows {
        padding: 0 !important;
    }
    .hs-nav-prev,
    .hs-nav-next {
        width: 36px !important;
        height: 36px !important;
        font-size: 16px !important;
        border-width: 1px !important;
        box-shadow: 0 4px 10px rgba(0,0,0,0.15) !important;
    }
}

@media (max-width: 480px) {
    .hs-det-gallery-mosaic-wrap {
        height: 220px;
    }
}

/* Lightbox (PANTALLA COMPLETA TOTAL) */
.hs-lightbox-modal {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.98) !important; /* Más oscuro y profesional */
    z-index: 999999999 !important; /* Aumentado */
    display: none;
    justify-content: center !important;
    align-items: center !important;
    cursor: default !important;
    backdrop-filter: blur(15px); /* Más desenfoque */
}

.hs-lightbox-content {
    max-width: 95vw !important; /* Margen para las flechas */
    max-height: 95vh !important;
    object-fit: contain !important;
    display: block !important;
    user-select: none;
    animation: hsZoomIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 50px rgba(0,0,0,1);
}

@keyframes hsZoomIn {
    from {
        transform: scale(0.95);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.hs-lightbox-close {
    position: absolute !important;
    top: 25px !important;
    right: 25px !important;
    color: #fff !important;
    font-size: 40px !important;
    cursor: pointer !important;
    z-index: 2147483647 !important;
    width: 60px !important;
    height: 60px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(227, 91, 106, 0.9) !important; /* Rojo profesional para cerrar */
    border-radius: 50% !important;
    transition: all 0.3s ease !important;
    border: 2px solid #fff !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5) !important;
}

.hs-lightbox-close:hover {
    transform: scale(1.15) rotate(90deg);
    background: #e35b6a !important;
    border-color: #fff !important;
    box-shadow: 0 0 30px rgba(227, 91, 106, 0.5) !important;
}

/* Estilos para el cierre del Tour Virtual */
.hs-det-tour-modal-close {
    position: absolute !important;
    top: -20px !important;
    right: -20px !important;
    width: 45px !important;
    height: 45px !important;
    background: #e35b6a !important;
    color: #fff !important;
    border: 2px solid #fff !important;
    border-radius: 50% !important;
    font-size: 24px !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 10000 !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
    transition: all 0.3s ease !important;
    padding: 0 !important;
}

.hs-det-tour-modal-close:hover {
    transform: scale(1.1) rotate(90deg);
    background: #000 !important;
}

/* Flechas de Navegación del Lightbox */
.hs-lightbox-nav {
    position: fixed !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    color: #fff !important;
    font-size: 60px !important;
    width: 80px !important;
    height: 80px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    z-index: 2147483647 !important;
    transition: all 0.3s ease !important;
    outline: none !important;
    padding-bottom: 10px !important; /* Ajuste visual del carácter */
}

.hs-lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.3) !important;
    border-color: #fff !important;
    transform: translateY(-50%) scale(1.1) !important;
}

.hs-lightbox-prev {
    left: 30px !important;
}

.hs-lightbox-next {
    right: 30px !important;
}

@media (max-width: 768px) {
    .hs-lightbox-nav {
        width: 50px !important;
        height: 50px !important;
        font-size: 40px !important;
    }
    .hs-lightbox-prev { left: 10px !important; }
    .hs-lightbox-next { right: 10px !important; }
}

/* Sección de Incluidos PROFESIONAL */
.hs-det-amenities-grid-new {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
    padding: 15px 0;
}

.hs-amenity-box {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 18px;
    background: #ffffff;
    border-radius: 14px;
    font-weight: 500;
    color: #333;
    border: 1px solid #f0f0f0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
}

.hs-amenity-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.hs-amenity-icon-svg {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.hs-amenity-box:hover .hs-amenity-icon-svg {
    transform: scale(1.1);
}

/* Botones dinámicos */
.hs-det-btn-tour {
    color: #fff !important;
    border-radius: 10px !important;
    padding: 16px 28px !important;
    font-weight: 600 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
}

.hs-det-btn-specs {
    color: #fff !important;
    border-radius: 10px !important;
    padding: 16px 28px !important;
    font-weight: 600 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
}

/* Espaciado entre secciones */
.hs-det-description-new,
.hs-det-included-section,
.hs-det-extras-new,
.hs-det-flexible-section {
    margin-top: 50px !important;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

/* Miniaturas Desactivadas */
.hs-gallery-thumbnails-new {
    display: none !important;
}

/* Secciones Flexibles */
.hs-det-flexible-section {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.hs-det-flexible-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #333;
}

.hs-det-flexible-content {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
}

/* Sidebar Pegajoso */
.hs-det-booking-col-new {
    position: sticky !important;
    top: 30px !important;
    align-self: start !important;
    z-index: 100;
}

/* Flechas de Navegación Claras */
.hs-det-nav-arrows {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    pointer-events: none;
    z-index: 9999;
}

.hs-det-description-new {
    grid-column: span 2;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.hs-det-specs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 20px;
}

@media (max-width: 1024px) {
    .hs-det-specs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .hs-det-specs-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

.hs-spec-item {
    border-top: 1px solid #eee;
    padding-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hs-spec-label {
    display: block;
    font-weight: 700;
    font-size: 14px;
    color: #333;
    margin-bottom: 0;
}

.hs-spec-value {
    font-size: 13px;
    color: #666;
}

.hs-det-distribution-new {
    grid-column: span 2;
    margin-top: 30px;
}

@media (max-width: 1024px) {
    .hs-det-distribution-new {
        grid-column: span 1;
    }
}

.hs-det-dist-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 15px;
}

@media (max-width: 768px) {
    .hs-det-dist-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

.hs-dist-img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.hs-det-extras-new {
    grid-column: span 2;
    margin-top: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.hs-det-extras-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 16px 30px !important;
    margin-top: 20px !important;
    box-sizing: border-box !important;
}

.hs-extra-item-new {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 12px !important;
    text-align: left !important;
}

@media (max-width: 768px) {
    .hs-det-extras-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
}

.hs-extra-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: #333;
    font-weight: 500;
}

.hs-extra-icon-circle {
    width: 32px;
    height: 32px;
    border: 1px solid #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hs-extra-icon-circle i {
    font-size: 18px;
    color: #333 !important;
    margin: 0;
    width: 18px;
    height: 18px;
}

.hs-sale-card {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    margin-top: 20px;
}

.hs-sale-card h4 {
    margin-top: 0;
    color: #333;
    font-size: 16px;
}

.hs-sale-price {
    font-size: 20px;
    font-weight: 700;
    margin: 10px 0;
}

.hs-sale-info {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.hs-sale-btn {
    display: block;
    text-align: center;
    padding: 10px;
    border-radius: 4px;
    text-decoration: none;
    margin-bottom: 10px;
    font-weight: 600;
}

.hs-btn-email {
    background: #333;
    color: #fff;
}

.hs-btn-whatsapp {
    background: #25d366;
    color: #fff;
}