/* Блок «Фара в сборе: стекло и корпус» (модуль «Комплекты товаров»). Только классы .shs — штатный блок Аспро не задевается. */
.shs { --shs-blue: #257de3; --shs-blue-dark: #1b67bf; --shs-tint: #eef5fd; --shs-ink: #333; --shs-text: #555; --shs-muted: #8a8f98; --shs-line: #ececec; --shs-ok: #3e9b4f; --shs-low: #e3902b; container-type: inline-size; }
.shs__box { display: grid; grid-template-columns: minmax(0, 1fr) 340px; border: 1px solid var(--shs-line); border-radius: 3px; overflow: hidden; background: #fff; }
.shs__items { padding: 8px 22px; display: grid; align-content: center; }
.shs__row { display: grid; grid-template-columns: 112px minmax(0, 1fr) auto auto; align-items: center; gap: 18px; padding: 14px 0; }
.shs__row--choice { grid-template-columns: 22px 112px minmax(0, 1fr) auto auto; cursor: pointer; border-radius: 3px; padding-inline: 8px; margin-inline: -8px; transition: background-color .15s ease; }
.shs__row--choice.is-picked { background: var(--shs-tint); }
.shs__row--choice + .shs__row--choice { margin-top: 4px; }
.shs__pick { display: grid; place-items: center; margin: 0; }
.shs__radio { width: 16px; height: 16px; margin: 0; accent-color: var(--shs-blue); cursor: pointer; }
.shs__thumb { width: 112px; aspect-ratio: 16 / 9; display: grid; place-items: center; }
.shs__thumb img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }
.shs__info { display: grid; gap: 4px; min-width: 0; }
.shs__name { color: var(--shs-ink); font-size: 14px; line-height: 1.35; text-decoration: none; }
a.shs__name:hover { color: var(--shs-blue); text-decoration: underline; text-underline-offset: 3px; }
.shs__here { font-size: 11px; color: var(--shs-muted); }
.shs__art { white-space: nowrap; font-size: 11px; letter-spacing: .4px; color: var(--shs-muted); font-variant-numeric: tabular-nums; }
.shs__stock { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--shs-muted); }
.shs__stock::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--shs-ok); }
.shs__stock--low::before { background: var(--shs-low); }
.shs__price { display: grid; justify-items: end; font-weight: 700; font-size: 17px; color: var(--shs-ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.shs__old { font-weight: 400; font-size: 12px; color: var(--shs-muted); text-decoration: line-through; }
.shs__plus { display: grid; grid-template-columns: 112px 1fr; align-items: center; gap: 18px; }
.shs__plus span { justify-self: center; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--shs-line); display: grid; place-items: center; color: var(--shs-muted); font-size: 16px; line-height: 1; }
.shs__plus::after { content: ""; height: 1px; background: var(--shs-line); }
.shs__choose { font-size: 13px; color: var(--shs-text); padding-top: 10px; }

.shs__btn { font-family: inherit; font-size: 11px; letter-spacing: .8px; text-transform: uppercase; border-radius: 3px; padding: 11px 16px; cursor: pointer; border: 1px solid var(--shs-blue); background: var(--shs-blue); color: #fff; display: inline-flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap; transition: background-color .18s ease, color .18s ease, border-color .18s ease, opacity .18s ease; }
.shs__btn svg { width: 14px; height: 14px; flex: none; }
.shs__btn:focus-visible { outline: 2px solid var(--shs-blue); outline-offset: 2px; }
.shs__btn--ghost { background: #fff; color: var(--shs-blue); }
.shs__btn--ghost:hover { background: var(--shs-tint); color: var(--shs-blue-dark); }
.shs__btn--white { background: #fff; color: var(--shs-blue); border-color: #fff; width: 100%; padding-block: 14px; }
.shs__btn--white:hover { background: var(--shs-tint); border-color: var(--shs-tint); color: var(--shs-blue-dark); }
.shs__btn .shs__t-in { display: none; }
.shs__btn.is-in .shs__t-in { display: inline; }
.shs__btn.is-in .shs__t-add { display: none; }
.shs__btn.is-in { background: var(--shs-ok); border-color: var(--shs-ok); color: #fff; }
.shs__btn--white.is-in { background: #fff; border-color: #fff; color: var(--shs-ok); }
.shs__btn.is-loading { opacity: .6; pointer-events: none; }
.shs__btn.is-error { background: #d9534f; border-color: #d9534f; color: #fff; }

.shs__side { background: var(--shs-blue); color: #fff; padding: 22px 24px 24px; display: grid; gap: 14px; align-content: center; }
.shs__stack { position: relative; aspect-ratio: 16 / 9; background: #fff; border-radius: 3px; }
.shs__stack img { position: absolute; inset: 6%; width: 88%; height: 88%; object-fit: contain; }
.shs__stack .shs__stack-b { mix-blend-mode: multiply; transform: translate(5%, -7%) scale(.9); }
.shs__bundle-title { font-size: 16px; font-weight: 600; line-height: 1.35; text-wrap: balance; }
.shs__sum { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 13px; color: #d6e6fa; }
.shs__sum-price { color: #fff; font-size: 28px; font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.shs__economy { font-size: 13px; color: #fff; text-align: right; margin-top: -8px; }
.shs__note { font-size: 12px; color: #d6e6fa; text-align: center; }

@container (max-width: 640px) {
  .shs__box { grid-template-columns: 1fr; }
  .shs__items { padding: 4px 14px; }
  .shs__row { grid-template-columns: 84px minmax(0, 1fr); gap: 4px 12px; padding: 12px 0; }
  .shs__row--choice { grid-template-columns: 20px 84px minmax(0, 1fr); }
  .shs__thumb { width: 84px; grid-row: span 3; align-self: start; }
  .shs__pick { grid-row: span 3; align-self: start; padding-top: 14px; }
  .shs__price { justify-items: start; font-size: 16px; }
  .shs__row .shs__btn { justify-self: start; padding: 9px 12px; }
  .shs__row--choice .shs__price, .shs__row--choice .shs__btn { grid-column: 3; }
  .shs__plus { grid-template-columns: 84px 1fr; gap: 12px; }
  .shs__side { padding: 18px 16px 20px; }
  .shs__stack { display: none; }
}
@media (prefers-reduced-motion: reduce) { .shs__btn, .shs__row--choice { transition: none; } }
