.unit-rooms {
    --unit-rooms-primary: #092c4a;
    --unit-rooms-secondary: #729dbe;
    --unit-rooms-soft: #f2f6f9;
    --unit-rooms-text: #4a5560;
    display: inline-block;
    scroll-margin-top: 110px;
    width: 100%;
}

.unit-rooms__panel {
    border: 1px solid #e5ebf0;
    border-radius: 6px;
    box-shadow: 0 6px 22px rgba(9, 44, 74, 0.06);
    overflow: hidden;
}

.unit-rooms__header {
    align-items: center;
    background: rgba(114, 157, 190, 0.16);
    border-bottom: 2px solid var(--unit-rooms-secondary);
    color: var(--unit-rooms-primary);
    display: flex;
    min-height: 92px;
    padding: 24px 30px;
}

.unit-rooms__header span {
    font-size: 21px;
    font-weight: 600;
}

.unit-rooms__item {
    align-items: center;
    background: #fff;
    display: flex;
    gap: 28px;
    justify-content: space-between;
    min-height: 154px;
    padding: 30px;
}

.unit-rooms__item:nth-of-type(even) {
    background: var(--unit-rooms-soft);
}

.unit-rooms__item + .unit-rooms__item {
    border-top: 1px solid #e5ebf0;
}

.unit-rooms__content {
    min-width: 0;
}

.unit-rooms__content h4 {
    color: var(--unit-rooms-primary);
    font-size: 20px;
    line-height: 1.35;
    margin: 0 0 15px;
}

.unit-rooms__summary {
    color: var(--unit-rooms-text);
    font-size: 16px;
    line-height: 1.5;
    margin: 0;
}

.unit-rooms__summary span:not(:last-child)::after {
    content: ", ";
}

.unit-rooms__price {
    flex: 0 0 auto;
    min-width: 112px;
    text-align: right;
}

.unit-rooms__price span {
    color: #77838e;
    display: block;
    font-size: 13px;
    line-height: 1.3;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.unit-rooms__price strong {
    color: var(--unit-rooms-primary);
    font-size: 23px;
    font-weight: 500;
    line-height: 1.2;
}

@media (max-width: 767px) {
    .unit-rooms__header {
        min-height: 74px;
        padding: 20px;
    }

    .unit-rooms__item {
        align-items: flex-start;
        flex-direction: column;
        gap: 22px;
        min-height: 0;
        padding: 24px 20px;
    }

    .unit-rooms__price {
        border-top: 1px solid #dbe4eb;
        min-width: 0;
        padding-top: 18px;
        text-align: left;
        width: 100%;
    }
}

/* ==========================================
   Estilos para el Popup de Confirmación
   ========================================== */

.booking-confirmation-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.booking-confirmation-modal[hidden] {
    display: none !important;
}

.booking-confirmation-modal__backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(9, 44, 74, 0.7);
    backdrop-filter: blur(4px);
}

.booking-confirmation-modal__dialog {
    position: relative;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(9, 44, 74, 0.15);
    width: 100%;
    max-width: 460px;
    padding: 35px;
    text-align: center;
    z-index: 1;
    animation: modalScaleIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.booking-confirmation-modal__check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #e6f7ed;
    color: #26af61;
    border-radius: 50%;
    font-size: 24px;
    margin-bottom: 20px;
}

#booking-confirmation-title {
    color: var(--unit-rooms-primary);
    font-size: 22px;
    font-weight: 600;
    margin: 0 0 10px 0;
}

.booking-confirmation-modal__message {
    color: #77838e;
    font-size: 15px;
    margin-bottom: 25px;
}

.booking-confirmation-modal__details {
    background: var(--unit-rooms-soft);
    border: 1px solid #e5ebf0;
    border-radius: 6px;
    padding: 20px;
    text-align: left;
    margin-bottom: 25px;
}

.booking-confirmation-modal__details > div {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px dashed #dbe4eb;
    font-size: 14px;
}

.booking-confirmation-modal__details > div:last-child,
.booking-confirmation-modal__details > .booking-confirmation-modal__total {
    border-bottom: none;
}

.booking-confirmation-modal__details span {
    color: #77838e;
}

.booking-confirmation-modal__details strong {
    color: var(--unit-rooms-primary);
    font-weight: 600;
}

.booking-confirmation-modal__rooms {
    flex-direction: column !important;
    gap: 5px;
}

.booking-confirmation-modal__rooms ul {
    list-style: none;
    padding: 0;
    margin: 5px 0 0 0;
    width: 100%;
}

.booking-confirmation-modal__rooms li {
    font-size: 13px;
    color: var(--unit-rooms-primary);
    font-weight: 500;
    background: #fff;
    border: 1px solid #e5ebf0;
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 4px;
}

.booking-confirmation-modal__total {
    padding-top: 12px !important;
    margin-top: 5px;
    font-size: 16px !important;
}

.booking-confirmation-modal__total strong {
    font-size: 18px;
    color: #26af61 !important;
}

@keyframes modalScaleIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}