/* Bundles and prices (centre_bundles). Tokens: theme.css (--cx-*). */

.cbu__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(15.5rem, 1fr));
    gap: 1rem;
    align-items: stretch;
    margin: 0;
    padding: 0;
    list-style: none;
}

@media (min-width: 64rem) {
    .cbu__grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .cbu__grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.cbu__card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.6rem 1.4rem;
    border: 1px solid var(--cx-line);
    border-radius: var(--cx-r-lg);
    background: var(--cx-surface);
}

.cbu__card--featured {
    border-color: transparent;
    background:
        radial-gradient(100% 70% at 100% 0%, color-mix(in srgb, var(--cx-accent) 45%, transparent), transparent 70%),
        radial-gradient(80% 60% at 0% 100%, color-mix(in srgb, var(--cx-violet) 35%, transparent), transparent 70%),
        var(--cx-night);
    color: #fff;
    box-shadow: 0 30px 60px -30px color-mix(in srgb, var(--cx-accent) 70%, transparent);
}

@media (min-width: 64rem) {
    .cbu__card--featured { transform: translateY(-10px); }
}

.cbu__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.cbu__name {
    margin: 0;
    font-family: var(--cx-display);
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.cbu__card--featured .cbu__name {
    color: #fff;
}

.cbu__badge {
    padding: 0.2rem 0.65rem;
    border-radius: 999px;
    background: var(--cx-lime);
    color: #1d3307;
    font-size: 0.75rem;
    font-weight: 750;
}

.cbu__text {
    margin: 0;
    color: var(--cx-ink-2);
    font-size: 0.92rem;
    line-height: 1.5;
}

.cbu__card--featured .cbu__text {
    color: rgba(255, 255, 255, 0.7);
}

.cbu__price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.25rem 0.6rem;
    padding: 0.75rem 0;
    border-block: 1px solid var(--cx-line);
}

.cbu__card--featured .cbu__price {
    border-color: rgba(255, 255, 255, 0.14);
}

.cbu__old {
    color: var(--cx-ink-3);
    font-size: 0.95rem;
}

.cbu__card--featured .cbu__old {
    color: rgba(255, 255, 255, 0.5);
}

.cbu__now {
    font-family: var(--cx-display);
    font-size: clamp(1.7rem, 1.4rem + 1vw, 2.2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    font-variant-numeric: tabular-nums;
}

.cbu__save {
    padding: 0.15rem 0.55rem;
    border-radius: 999px;
    background: color-mix(in srgb, #2f9a4b 14%, #fff);
    color: #1f6b33;
    font-size: 0.8rem;
    font-weight: 700;
}

.cbu__card--featured .cbu__save {
    background: rgba(160, 230, 70, 0.18);
    color: var(--cx-lime);
}

.cbu__list {
    display: grid;
    gap: 0.45rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.cbu__list li {
    display: flex;
    gap: 0.5rem;
    font-size: 0.93rem;
    line-height: 1.4;
}

.cbu__list .cms-icon {
    width: 1.05rem;
    height: 1.05rem;
    flex: none;
    margin-top: 0.12rem;
    color: #2f9a4b;
}

.cbu__card--featured .cbu__list .cms-icon {
    color: var(--cx-lime);
}

.cbu__btn {
    justify-content: center;
    margin-top: auto;
}

.cbu__note {
    max-width: 44rem;
    margin: 1.75rem auto 0;
    color: var(--cx-ink-2);
    font-size: 0.9rem;
    text-align: center;
}
