.hospedes-group {
    position: relative;
    overflow: visible !important;
}

.dropdown-hospedes {
    display: none;
    position: absolute;
    top: 110%;
    left: 0;
    background-color: #1f1f1f;
    border: 1px solid #a88f50;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
    z-index: 9999;
    /* 🔥 agora fica por cima de tudo */
    width: 250px;
    animation: fadeIn 0.25s ease;
}

.dropdown-hospedes.show {
    display: block;
}

.dropdown-hospedes label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #f5f5f5;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.dropdown-hospedes input[type="number"] {
    width: 65px;
    background: #2a2a2a;
    color: #fff;
    border: 1px solid #3b3b3b;
    border-radius: 6px;
    text-align: center;
    outline: none;
    height: 30px;
}

#confirmarHospedes {
    background-color: #a88f50;
    border: none;
    color: #1a1a1a;
    padding: 8px 12px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 5px;
}

#confirmarHospedes:hover {
    background-color: #c3a957;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#reserva {
    display: none;
}

@media (min-width: 768px) {
    #reserva {
        display: flex;
        position: fixed;
        bottom: 0;
        padding: 1rem;
        background-color: transparent;
        width: 100vw;
    }

    #reserva form.reserva-form {
        padding: 20px 25px;
    }

    #reserva .input-group {
        padding-top: 8px;
        padding-bottom: 8px;
        display: flex;
        flex-wrap: nowrap;
    }
    body:has(#reserva) #footer  {
        padding-bottom: 200px;
    }

    .dropdown-hospedes {
        top: unset;
        bottom: 110%;
    }
}

@media (min-width: 1200px) {
    body:has(#reserva) #footer  {
        padding-bottom: 150px;
    }
}
