.offers-purchase .spinner {
    margin: 3rem 0;
    text-align: center;
}
.offers-purchase .spinner blox-icon {
    font-size: 3rem;
    animation-name: fa-spin;
    animation-direction: normal;
    animation-duration: 1s;
    animation-iteration-count: infinite;
    animation-timing-function: steps(8);
    line-height: 1.2;
}
.offers-purchase .spinner blox-icon::slotted(svg) {
    height: 1.25em;
}
.offers-purchase .offers-message {
    max-width: 720px;
    margin: 0 auto var(--blox-spacing-x-small);
    text-align: center;
}

.offers-purchase .offers {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}
.offers-purchase .offer {
    flex: 0 1 720px;
    display: flex;
    position: relative;
    background-color: #fff;
    border-radius: 0.5rem;
    padding: 1rem;
    border: 1px solid #777;
    box-shadow: 0px 2px 5px rgba(0,0,0,0.13);
    cursor: pointer;
    user-select: none;
    
    &:has(.offer-radio:checked) {
        border: 1px solid var(--blox-primary);
        outline: 4px solid rgba(var(--blox-primary-rgb), 0.25);
    }
    
    & .offer-radio-container {
        flex: 0 0 30px;
        & input.offer-radio {
            cursor: pointer;
            width: 20px;
            height: 20px;
            margin: 0;
            accent-color: var(--blox-primary);
        }
    }
    & .offer-details {
        width: 100%;
    }
    & .offer-featured {
        position: absolute;
        top: -15px;
        left: 50%;
        transform: translateX(-50%);
        background-color: var(--blox-primary, #0d6efd);
        display: inline-block;
        color: white;
        padding: 6px 14px;
        border-radius: 3px;
        font-size: 12px;
        letter-spacing: 1px;
        text-transform: uppercase;
        font-weight: 700;
        white-space: nowrap;
    }
    & .offer-title {
        font-size: 18px;
        font-weight: 300;
        line-height: 1.2;
    }
    & .offer-primary {
        & .offer-image-container {
            margin-top: 0.5rem;
            & .offer-image {
                display: block;
                max-width: 100%;
                height: auto;
            }
        }
    }
    & .offer-pricing {
        margin-top: 0.5rem;
    }
    & .offer-rate {
        font-size: 1.625rem;
        font-weight: 700;
        line-height: 1.2;
    }
    & .offer-limits {
        font-size: 0.875rem;
        color: #495057;
    }
    & .offer-billing-cycle {
        margin-top: 0.125rem;
        font-size: 0.875rem;
    }
    & .offer-savings {
        margin-top: 0.375rem;
        font-weight: 500;
        font-size: 14px;
        background-color: #198754;
        color: #fff;
        display: inline-block;
        padding: 3px 7px;
        border-radius: 3px;
    }
    & .offer-description {
        margin-top: 0.75rem;
        border-top: 1px solid #ddd;
        padding-top: 0.75rem;
        font-size: 14px;
    }
    & > *:last-child,
    & .offer-description > *:last-child {
        margin-bottom: 0;
    }
}
@media(min-width: 576px) {
    .offers-purchase .offer {
        & .offer-featured {
            top: 14px;
            left: auto;
            right: 14px;
            transform: none;
        }
        &.featured .offer-title {
            padding-right: 90px;
        }
        & .offer-primary {
            display: flex;
            & .offer-image-container {
                flex: 0 0 150px;
                margin-right: 0.75rem;
            }
        }
        & .offer-pricing {
            margin-top: 0;
        }
    }
}