.bookable-alternatives__cards {
    display: grid;
    gap: 2rem;
}

.bookable-alternatives__photo {
    aspect-ratio: 3 / 2;
    overflow: hidden;
}

@media (min-width: 768px) {
    .bookable-alternatives__cards {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .bookable-alternatives__cards[data-alternative-count="1"],
    .bookable-alternatives__cards[data-alternative-count="2"] {
        grid-template-columns: repeat(2, minmax(0, 33%));
        justify-content: center;
    }

    .bookable-alternatives__cards[data-alternative-count="1"] {
        grid-template-columns: minmax(0, 33%);
    }

    .bookable-alternatives__cards:not([data-alternative-count="3"]) .bookable-alternatives__photo {
        width: 70%;
        margin-inline: auto;
    }
}

.bookable-alternatives-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .625rem;
    margin-block: 1.5rem;
}

.bookable-alternatives-loading::before {
    content: "";
    box-sizing: border-box;
    width: 1.125rem;
    height: 1.125rem;
    border: 2px solid currentColor;
    border-block-end-color: transparent;
    border-radius: 50%;
    animation: bookable-alternatives-rotation .8s linear infinite;
}

@keyframes bookable-alternatives-rotation {
    to { transform: rotate(1turn); }
}

@media (prefers-reduced-motion: reduce) {
    .bookable-alternatives-loading::before { animation: none; }
}

[data-hotel-member-template]:not(:has([data-confirmed-rate-list])) [data-stay-rate-benefits] {
    margin: 0;
    padding: 0;
    border: 0;
}

[data-hotel-member-template]:not(:has([data-confirmed-rate-list])) [data-stay-rate-benefits] > * {
    display: none;
}
