/* «Купить комплект» (templates/shop/bundle.twig). */
.shop-bundle__head { margin-block: var(--s-6, 2rem) var(--s-5, 1.5rem); max-width: 48rem; }
.shop-bundle__eyebrow { margin: 0 0 0.5rem; font-size: var(--t-xs, 0.75rem); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-mark, var(--c-primary)); }
.shop-bundle__title { margin: 0; font-family: var(--font-display, inherit); font-size: clamp(1.8rem, 1.3rem + 2vw, 2.6rem); line-height: 1.1; }
.shop-bundle__lead { margin: 0.75rem 0 0; color: var(--c-text-muted); font-size: var(--t-lg, 1.125rem); }

.shop-bundle__form { display: grid; gap: var(--s-6, 2rem); align-items: start; margin-block-end: var(--s-8, 3rem); }
@media (min-width: 60rem) { .shop-bundle__form { grid-template-columns: minmax(0, 1fr) 22rem; } }

.shop-bundle__groups { display: grid; gap: var(--s-5, 1.5rem); margin: 0; padding: 0; list-style: none; }
.shop-bundle__group-title { display: flex; align-items: center; gap: 0.6rem; margin: 0 0 0.75rem; font-size: 1.15rem; }
.shop-bundle__n { display: inline-grid; place-items: center; flex: none; width: 1.75rem; height: 1.75rem; border-radius: 999px; background: var(--c-primary, var(--cx-accent, #4f46e5)); color: #fff; font-size: 0.85rem; font-weight: 700; }
.shop-bundle__choices { display: grid; gap: 0.5rem; margin: 0; padding: 0; border: 0; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); }

.shop-bundle__option {
    display: flex; align-items: center; gap: 0.75rem;
    padding: 0.75rem 1rem; border: 1px solid var(--c-border); border-radius: var(--r-md, 0.75rem); background: var(--c-surface, #fff); cursor: pointer;
}
.shop-bundle__option--only { cursor: default; }
.shop-bundle__option--only .shop-bundle__name { flex: 1; }
/* In a choice the price sits under the name: long names, narrow cards. */
.shop-bundle__choices .shop-bundle__price { display: block; margin-block-start: 0.15rem; font-size: 0.9rem; font-weight: 450; }
.shop-bundle__option:has(input:checked) { border-color: var(--c-primary, var(--cx-accent, #4f46e5)); box-shadow: 0 0 0 1px var(--c-primary, var(--cx-accent, #4f46e5)); }
.shop-bundle__option input { flex: none; width: 1.1rem; height: 1.1rem; margin: 0; accent-color: var(--c-primary, var(--cx-accent, #4f46e5)); }
.shop-bundle__img img { display: block; width: 3rem; height: 3rem; object-fit: cover; border-radius: var(--r-sm, 0.5rem); }
.shop-bundle__name { font-weight: 600; min-width: 0; overflow-wrap: anywhere; }
.shop-bundle__price { white-space: nowrap; color: var(--c-text-muted); font-variant-numeric: tabular-nums; }
.shop-bundle__none { color: var(--c-text-muted); }

.shop-bundle__summary { position: sticky; top: 1rem; padding: 1.25rem; border: 1px solid var(--c-border); border-radius: var(--r-lg, 1rem); background: var(--c-surface, #fff); }
.shop-bundle__sum-title { margin: 0 0 0.75rem; font-size: 1.1rem; }
.shop-bundle__go { width: 100%; margin-block-start: 1rem; }
.shop-bundle__recalc { width: 100%; margin-block-start: 0.5rem; }
.shop-bundle__hint { margin: 0.75rem 0 0; font-size: 0.85rem; color: var(--c-text-muted); }
.js .shop-bundle__recalc { display: none; }
