.popup-content-rate-type {
    border-radius: 1.25vw;
    width: 90%;
    max-width: 28vw;
    padding: 0vh 0vw;
    text-align: center;
}

.popup-header-rate-type {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5vw;
    margin-bottom: 1.2vw;
    min-height: 5vw;
    /* Espacio para la imagen principal */
}

.main-rate-img {
    width: 4vw;
    height: 4vw;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
}

.main-rate-img.visible {
    opacity: 1;
}

.popup-header-rate-type h1 {
    font-size: 1.8vw;
    font-weight: 600;
    color: white;
    font-family: "Poppins Regular";
    margin-bottom: -1vh;
}

.popup-header-rate-type p {
    color: #f9f6ed;
    font-size: 0.8vw;
}

.rate-options-container {
    display: flex;
    flex-direction: column;
    gap: 1vw;
    margin-bottom: 2vw;
}

.rate-option-card {
    position: relative;
    display: flex;
    gap: 1.5vw;
    background-color: #fdfdfb;
    border: 1px solid #e0e0e0;
    border-radius: 1vw;
    padding: 1vw 1.3vw;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.3s ease;
    height: 23vh;
}

.rate-option-card:hover {
    border-color: #d0d0d0;
}

.rate-option-card.selected {
    background-color: #e2dfd7;
    /* Color del borde seleccionado */
    border: 2px solid #6f6b4d;
}

.rate-check-icon {
    position: absolute;
    top: 1vw;
    right: 1vw;
    width: 1.4vw;
}

.rate-icon {
    flex-shrink: 0;
    margin-top: 2vh;
}

.rate-icon img {
    width: 2.5vw;
}

.rate-icon .icon-active {
    display: none;
}

.rate-option-card.selected .icon-active {
    display: block;
}

.rate-option-card.selected .icon-inactive {
    display: none;
}

#hourly-stay-card .rate-details {
    display: flex;
    flex-direction: column;
    gap: 0vh;
    margin-top: 0.5vh;
}

#extended-stay-card .rate-details {
    display: flex;
    flex-direction: column;
    gap: 0.5vw;
    margin-top: 0.5vh;
}

.rate-details p {
    margin-top: 1.5vh;
    width: 17vw;
    line-height: 2.4vh;
    height: 8vh;
}

.rate-price-extended {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: -1.5vh;
    flex-direction: column;
}

.rate-price {
    color: #aaaa118c;
}

.greenblue {
    color: var(--greenblue);
}

.popular-tag {
    position: absolute;
    top: 1vw;
    left: 18vw;
    background-color: #aaa18c;
    border: 1px solid #ffeec2;
    border-radius: 1.5vw;
    padding: 0.3vh 0.8vw;
    color: #fff9e3;
    font-family: "Poppins Regular";
    font-style: normal;
    font-weight: 400;
}

/* Reutilizando tus estilos de botones del pop-up anterior */
.popup-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 1.5vw;
    flex-direction: row;
}

.black-button,
.white-button {
    color: var(--white);
    padding: 0.3vw 2vw;
    height: 4.8vh;
}

.black-button {
    width: 18vw;
    font-size: 0.9vw;
    font-weight: 600;
    font-style: normal;
    font-family: "Poppins Regular";
    display: flex;
    align-items: center;
    justify-content: center;
}

.black-button span {
    color: #FFF;
    margin-right: 1vw;
    text-transform: capitalize;
}

.white-button {
    background: #ffffff00;
    border: 1.5px solid #595d62;
    font-style: normal;
    font-weight: 700;
    line-height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #010101;
}

.regular-12 span {
    color: #4a5565;
}

.rate-details span {
    font-family: "Poppins Regular";
    font-weight: 500;
}

#extended-stay-card .regular-12 {
    margin-top: 0vh;
}

.marron {
    color: #6f6b4d;
}

.marron-claro {
    color: #aaa18c;
}

.bold-marron {
    color: #aaa18c;
    font-weight: 700;
    font-family: "Poppins Bold";
}

@media (max-width: 1440px) {}

@media (max-width: 1280px) {}

@media (max-width: 1024px) {}

@media (max-width: 768px) {
    .popup-content-rate-type {
        width: 90%;
        height: auto;
        max-width: 90%;
    }

    .popup-header-rate-type .main-rate-img {
        width: 4rem;
        height: 4rem;
    }

    .popup-header-rate-type h1 {
        font-size: 1.9rem;
        margin-bottom: 0;
    }

    .popup-header-rate-type p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .rate-options-container .rate-option-card {
        border-radius: 1rem;
        padding: 1.5rem;
        margin-bottom: 1rem;
        gap: 1rem;
        height: auto;
    }

    .rate-option-card img.rate-check-icon {
        width: 1.8rem;
        right: 1rem;
        top: 1rem;
    }

    .popular-tag {
        font-size: 1.2rem;
        top: 1.2rem;
        left: 56%;
        padding: 0.60rem;
        border-radius: 1rem;
    }

    .rate-option-card .rate-icon img {
        width: 3rem;
    }

    .rate-option-card .rate-details {
        width: 100%;
    }

    .rate-option-card .rate-details span {
        margin-bottom: 1.2rem;
        font-size: 1.2rem;
        width: 100%;
    }

    .rate-option-card .rate-details p {
        font-size: 1.1rem;
        width: 86%;
        line-height: normal;
        height: auto;
        margin-top: 0;
        margin-bottom: 2rem;
    }

    .rate-card .rate-details {
        gap: 1rem;
    }

    .popup-content-rate-type .white-button,
    .popup-content-rate-type .black-button {
        height: 3.8vh;
        border-radius: 1rem;
    }

    .popup-content-rate-type .white-button {
        width: 20%;
    }

    .popup-content-rate-type .black-button {
        width: 70%;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .popup-content-rate-type {
        width: 90%;
        height: auto;
        max-width: 90%;
    }

    .popup-header-rate-type .main-rate-img {
        width: 4rem;
        height: 4rem;
    }

    .popup-header-rate-type h1 {
        font-size: 1.9rem;
        margin-bottom: 0;
    }

    .popup-header-rate-type p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .rate-options-container .rate-option-card {
        border-radius: 1rem;
        padding: 1.5rem;
        margin-bottom: 1rem;
        gap: 1rem;
        height: auto;
    }

    .rate-option-card img.rate-check-icon {
        width: 1.8rem;
        right: 1rem;
        top: 1rem;
    }

    .popular-tag {
        font-size: 1.2rem;
        top: 1.2rem;
        left: 56%;
        padding: 0.60rem;
        border-radius: 1rem;
    }

    .rate-option-card .rate-icon img {
        width: 3rem;
    }

    .rate-option-card .rate-details {
        width: 100%;
    }

    .rate-option-card .rate-details span {
        margin-bottom: 1.2rem;
        font-size: 1.2rem;
        width: 100%;
    }

    .rate-option-card .rate-details p {
        font-size: 1.1rem;
        width: 86%;
        line-height: normal;
        height: auto;
        margin-top: 0;
        margin-bottom: 2rem;
    }

    .rate-card .rate-details {
        gap: 1rem;
    }

    .popup-content-rate-type .white-button,
    .popup-content-rate-type .black-button {
        height: 3.8vh;
        border-radius: 1rem;
    }

    .popup-content-rate-type .white-button {
        width: 20%;
    }

    .popup-content-rate-type .black-button {
        width: 70%;
        font-size: 1rem;
    }
}