.tc-bundle .tc-bundle__line{grid-template-columns:var(--tc-photo-size) minmax(0,1fr) max-content 34px;gap:8px}
.tc-bundle__line-price{grid-column:3;grid-row:1}
.tc-bundle__options{position:relative;grid-column:4;grid-row:1;justify-self:end}
.tc-bundle__line[data-bundle-removed] .tc-bundle__photo{opacity:.5}
.tc-bundle__dots{display:grid;place-items:center;min-width:34px;min-height:44px;padding:0;border:0;border-radius:6px;background:transparent;color:inherit;cursor:pointer}
.tc-bundle__dots svg{display:block;flex:none}
.tc-bundle__dots:hover,.tc-bundle__dots[aria-expanded="true"]{background:var(--tc-surface)}
.tc-bundle__option-list{position:absolute;z-index:5;inset-inline-end:0;top:100%;min-width:132px;overflow:hidden;border:1px solid var(--tc-line);border-radius:8px;background:#fff;box-shadow:0 5px 22px #191a1c22}
.tc-bundle__option-list button{display:block;width:100%;min-height:40px;padding:8px 12px;border:0;background:none;color:inherit;text-align:start;font:inherit;cursor:pointer}
.tc-bundle__option-list button:hover,.tc-bundle__option-list button:focus-visible{background:var(--tc-surface)}
.tc-bundle__option-list button:focus-visible{outline-offset:-3px}
.tc-bundle :is(.tc-bundle__dots,.tc-bundle-picker button,.tc-bundle-picker input):focus-visible{outline:2px solid #1549a4;outline-offset:2px}
dialog.tc-bundle-picker{position:fixed;inset:0;box-sizing:border-box;margin:auto;width:min(1010px,calc(100% - 36px));max-width:none;max-height:min(88vh,790px);max-height:min(88dvh,790px);padding:0;overflow:hidden;border:0;border-radius:11px;background:#fff;color:var(--tc-ink);font:inherit;box-shadow:0 14px 52px #0003}
.tc-bundle-picker::backdrop{background:#0008}
html:has(dialog.tc-bundle-picker[open]){overflow:hidden}
.tc-bundle-picker__layout{box-sizing:border-box;display:flex;flex-direction:column;max-height:min(88vh,790px);max-height:min(88dvh,790px);min-width:0;padding:18px 22px 12px}
.tc-bundle-picker__header{display:grid;grid-template-columns:42px minmax(0,1fr) 42px;gap:6px;align-items:center;padding-bottom:14px}
.tc-bundle-picker__header h3{grid-column:2;color:inherit;text-align:center;font:inherit;font-size:17px;font-weight:700;line-height:1.25;letter-spacing:normal;text-transform:uppercase;margin:0}
.tc-bundle-picker__step{color:var(--tc-muted);font-size:13px;font-variant-numeric:tabular-nums}
.tc-bundle-picker__close{grid-column:3;align-self:start;width:40px;height:40px;border:0;border-radius:5px;background:none;color:inherit;font-size:28px;line-height:1;cursor:pointer}
.tc-bundle-picker__close:hover{background:var(--tc-surface)}
.tc-bundle-picker__tools{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:15px}
.tc-bundle-picker__tools label{display:flex;min-width:0;align-items:center;gap:8px;padding-inline:10px;border:1px solid var(--tc-line);border-radius:7px;color:var(--tc-muted);font-size:14px}
.tc-bundle-picker__tools label:focus-within{border-color:#1549a4}
.tc-bundle-picker__search svg{flex:none}
.tc-bundle-picker .tc-bundle-picker__tools :is(input,select){display:block;width:100%;min-width:0;height:42px;padding:5px;border:0;background:none;color:var(--tc-ink);font:inherit}
.tc-bundle-picker__results{min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding:3px 4px 4px 3px}
.tc-bundle-picker__grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}
.tc-bundle-picker__item{min-width:0;display:flex;flex-direction:column;gap:7px;align-items:center;padding:11px;border:1px solid var(--tc-line);border-radius:8px;text-align:center}
.tc-bundle-picker__media{display:grid;place-items:center;width:100%;height:clamp(110px,16vw,154px)}
.tc-bundle-picker__media img{display:block;width:100%;height:100%;min-height:0;object-fit:contain}
.tc-bundle-picker__item h4{margin:4px 0 0;color:inherit;font:inherit;font-size:16px;font-weight:550;line-height:1.2;overflow-wrap:anywhere}
.tc-bundle-picker__model{margin:0;color:var(--tc-muted);font-size:13px}
.tc-bundle-picker__prices{display:flex;align-items:baseline;justify-content:center;flex-wrap:wrap;gap:2px 7px;width:100%;margin-top:auto;padding-top:3px;font-variant-numeric:tabular-nums}
.tc-bundle-picker__prices strong{color:var(--tc-promo);font-weight:650}
.tc-bundle-picker__item select{width:100%;min-width:0;min-height:36px;padding:4px 6px;border-radius:5px}
.tc-bundle-picker__choose,.tc-bundle-picker__footer button{min-height:37px;border:1px solid var(--tc-ink);border-radius:6px;background:#fff;color:var(--tc-ink);font:inherit;font-weight:650;cursor:pointer}
.tc-bundle-picker__choose{width:100%;padding:4px;text-transform:uppercase;font-size:12px}
.tc-bundle-picker__choose:is(:hover,[data-current]),.tc-bundle-picker__footer button:hover{background:var(--tc-ink);color:#fff}
.tc-bundle-picker__choose:disabled{cursor:default}
.tc-bundle-picker__empty{min-height:86px;display:grid;place-items:center;color:var(--tc-muted);margin:0;padding:12px;text-align:center}
.tc-bundle-picker__footer{display:flex;justify-content:end;padding:11px 2px 1px}
.tc-bundle-picker__footer button{border-color:var(--tc-line);padding:5px 13px}
@media(max-width:730px){.tc-bundle-picker__grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:520px){.tc-bundle .tc-bundle__line{gap:5px;grid-template-columns:var(--tc-photo-size) minmax(0,1fr) max-content 31px}.tc-bundle__dots{min-width:31px}dialog.tc-bundle-picker{width:calc(100% - 18px)}.tc-bundle-picker__layout{padding:11px 8px 7px}.tc-bundle-picker__header{padding-bottom:9px}.tc-bundle-picker__header h3{font-size:14px}.tc-bundle-picker__tools{gap:7px;margin-bottom:9px}.tc-bundle-picker__tools label{gap:4px;padding-inline:6px;font-size:12px}.tc-bundle-picker__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.tc-bundle-picker__item{padding:7px;gap:6px}.tc-bundle-picker__item h4{font-size:14px}.tc-bundle-picker__model{font-size:12px}}
