/* Shared modern package-card presentation. Commerce controls remain untouched. */
.ievent-plans-page .ievent-page-shell { background: #f7f7fa; }
.ievent-plan-catalog { container-type: inline-size; }
.ievent-plan-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px 18px; align-items: stretch; }
.ievent-plan {
    --plan-ink: #201632; --plan-muted: #70657f; --plan-line: #e6e2ec; --plan-accent: #5830bf;
    display: grid; grid-template-rows: auto auto auto auto auto 1fr auto;
    min-inline-size: 0; padding: 24px; color: var(--plan-ink); background: #fff;
    border: 1px solid var(--plan-line); border-radius: 22px; box-shadow: 0 4px 14px #20163203;
}
.ievent-plan.is-featured {
    --plan-ink: #fff; --plan-muted: #d1c6e4; --plan-line: #ffffff30; --plan-accent: #d4bdff;
    background: linear-gradient(160deg, #2f1856, #171020 80%); border-color: #302047;
}
.ievent-plan :where(h2, h3, p, ul, dl, dd) { margin: 0; }
.ievent-plan__header { padding-block-end: 22px; }
.ievent-plan__eyebrow { display: inline-flex; align-items: center; min-block-size: 26px; margin-block-end: 12px; color: var(--plan-muted); font-size: .75rem; }
.ievent-plan__badge { padding: 2px 10px; color: #e1d2ff; background: #ad7bff26; border-radius: 6px; }
.ievent-plan .ievent-plan__header :is(h2, h3) { margin: 0; color: var(--plan-ink); font-size: 1.35rem; font-weight: 600; line-height: 1.5; }
.ievent-plan__header p { margin-block-start: 6px; color: var(--plan-muted); font-size: .875rem; line-height: 1.7; }
.ievent-plan__price { padding-block-end: 24px; color: var(--plan-ink); }
.ievent-plan__price > small { display: block; margin-block-end: 5px; color: var(--plan-muted); font-size: .8rem; }
.ievent-plan__price > div { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; font-size: clamp(1.85rem, 2.8vw, 2.5rem); font-weight: 600; line-height: 1.25; }
.ievent-plan__price :where(bdi, .amount) { white-space: nowrap; }
.ievent-plan__price .woocommerce-Price-currencySymbol { font-size: .45em; font-weight: 500; }
.ievent-plan__price del { color: var(--plan-muted); font-size: 1rem; }
.ievent-plan__price ins { color: inherit; text-decoration: none; }
.ievent-plan__capacity { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding-block-end: 20px; }
.ievent-plan__capacity > div { display: flex; flex-direction: column-reverse; justify-content: end; gap: 3px; min-inline-size: 0; }
.ievent-plan__capacity > div + div { padding-inline-start: 12px; border-inline-start: 1px solid var(--plan-line); }
.ievent-plan__capacity dt { color: var(--plan-muted); font-size: .75rem; line-height: 1.6; }
.ievent-plan__capacity dd { color: var(--plan-ink); font-size: 1.25rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.ievent-plan__choice { padding-block-end: 20px; }
.ievent-plan a.ievent-plan__choose {
    display: flex; align-items: center; justify-content: center; gap: 12px; inline-size: 100%; min-block-size: 50px;
    padding: 10px 12px; color: #5830bf; background: #fff; border: 1px solid #7752d7; border-radius: 9px;
    font-size: .9rem; font-weight: 600; line-height: 1.5; text-decoration: none;
}
.ievent-plan a.ievent-plan__choose:hover { background: #f2edfc; border-color: #5830bf; }
.ievent-plan.is-featured a.ievent-plan__choose { color: #fff; background: #6d3cf0; border-color: #8659fb; }
.ievent-plan.is-featured a.ievent-plan__choose:hover { background: #794bf2; }
[dir="ltr"] .ievent-plan__choose > span { transform: rotate(180deg); }
.ievent-plan__choice p { margin-block-start: 10px; color: var(--plan-muted); font-size: .75rem; line-height: 1.6; text-align: center; }
.ievent-plan h3.ievent-plan__features-title { padding-block: 20px 10px; border-block-start: 1px solid var(--plan-line); color: var(--plan-ink); font-size: .85rem; font-weight: 600; }
.ievent-plan__features { display: grid; padding: 0; list-style: none; }
.ievent-plan__features > li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; min-block-size: 52px; padding-block: 9px; font-size: .83rem; line-height: 1.6; }
.ievent-plan__feature-name { overflow-wrap: anywhere; }
.ievent-plan__value { max-inline-size: 8em; color: var(--plan-ink); font-weight: 600; font-variant-numeric: tabular-nums; text-align: end; overflow-wrap: anywhere; }
.ievent-plan__tick { display: block; inline-size: 18px; block-size: 18px; background: #13815d; mask: url('../icons/check.svg') center / contain no-repeat; -webkit-mask: url('../icons/check.svg') center / contain no-repeat; }
.ievent-plan.is-featured .ievent-plan__tick { background: #c4adff; }
.ievent-plan__dash { color: var(--plan-muted); inline-size: 18px; text-align: center; font-weight: 500; }
.ievent-plan__footer { display: grid; justify-items: stretch; align-content: end; gap: 2px; margin-block-start: 18px; padding-block-start: 12px; border-block-start: 1px solid var(--plan-line); }
.ievent-plan__footer a { display: flex; justify-content: center; align-items: center; min-block-size: 44px; color: var(--plan-accent); font-size: .83rem; font-weight: 500; text-align: center; text-decoration: none; }
.ievent-plan__footer a.ievent-plan__help { color: var(--plan-muted); font-size: .75rem; font-weight: 400; }
.ievent-plan__footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.ievent-plan-catalog__footer { display: grid; justify-items: center; gap: 18px; margin-block-start: 26px; text-align: center; }
.ievent-plan-catalog__footer p { max-inline-size: 48rem; margin: 0; color: #70657f; font-size: .8rem; line-height: 1.8; }
.ievent-plan-catalog__compare { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-block-size: 48px; padding: 10px 24px; border: 1px solid #d4c6f1; border-radius: 10px; color: #5830bf; background: #fff; font-size: .95rem; font-weight: 600; text-decoration: none; }
.ievent-plan-catalog__compare:hover { background: #eee8fb; color: #48259f; }
.ievent-plan-catalog a:focus-visible { outline: 3px solid #13815d; outline-offset: 4px; }
.ievent-plan.is-featured a:focus-visible { outline-color: #aef2dc; }
.ievent-plan-catalog--compact .ievent-plan { padding: 22px; }
.ievent-plan-catalog--compact .ievent-plan__header { padding-block-end: 18px; }
.ievent-plan-catalog--compact .ievent-plan__price { padding-block-end: 20px; }
.ievent-plan-catalog--compact .ievent-plan__features > li { min-block-size: 48px; }
.ievent-plan-catalog--home .ievent-plan { padding: 22px; }
.ievent-plan-catalog--home .ievent-plan__header { padding-block-end: 16px; }
.ievent-plan-catalog--home .ievent-plan__price { padding-block-end: 18px; }
.ievent-plan-catalog--home .ievent-plan__capacity { padding-block-end: 16px; }
.ievent-plan-catalog--home .ievent-plan__choice { padding-block-end: 16px; }
.ievent-plan-catalog--home .ievent-plan__features > li { min-block-size: 46px; }
.ievent-plan-catalog--home .ievent-plan__footer { margin-block-start: 12px; }
@container (min-width: 640px) { .ievent-plan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@container (min-width: 1080px) { .ievent-plan-catalog--home .ievent-plan-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@container (min-width: 1180px) { .ievent-plan-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
/* Shared row tracks align the CTA and each corresponding benefit, without JS heights. */
@supports (grid-template-rows: subgrid) {
    .ievent-plan-grid { row-gap: 0; }
    .ievent-plan { grid-row: span calc(var(--plan-rows) + 6); grid-template-rows: subgrid; row-gap: 0; margin-block-end: 24px; }
    .ievent-plan__features { grid-row: span var(--plan-rows); grid-template-rows: subgrid; row-gap: 0; }
}
@media (forced-colors: active) {
    .ievent-plan.is-featured { background: Canvas; }
    .ievent-plan__tick, .ievent-plan.is-featured .ievent-plan__tick { background: CanvasText; }
}
