/* Карточка товара Premium (ТЗ 4). Макет: Figma «Карточка товара 1920 / 390 · премиум».
   Всё внутри .vspp, чтобы не задевать старые стили карточки (product.css грузится на всех страницах). */

.vspp { font-family: var(--vsp-text); color: var(--vsp-ink); background: #fff; }
.vspp *, .vspp *::before, .vspp *::after { box-sizing: border-box; }
.vspp p { margin: 0; }
.vspp a { color: inherit; }
.vspp-nowrap { white-space: nowrap; }
.vspp-wrap { width: 100%; max-width: 1344px; margin: 0 auto; padding: 0 32px; }

/* ---------- секции и заголовки ---------- */

/* отступы секций — как в макете: белые идут подряд с 72 px между ними */
.vspp-sec { padding: 72px 0; background: #fff; }
.vspp-compare, .vspp-reviews { padding-top: 0; }
.vspp-hero + .vspp-compare, .vspp-options + .vspp-reviews { padding-top: 72px; }
.vspp-options { background: var(--vsp-bg); }
.vspp-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 28px; }
.vspp-h2 { margin: 0; max-width: 800px; font: 700 48px/1.1 var(--vsp-head); color: var(--vsp-ink); }
.vspp-lead { max-width: 380px; font-size: 16px; line-height: 1.5; color: rgba(13, 13, 13, .65); }

/* ---------- 1. первый экран ---------- */

.vspp-hero { background: var(--vsp-bg); padding: 28px 0 72px; }

/* хлебные крошки: та же разметка breadcrumbs_mm(), другой вид */
.vspp-crumbs { margin-bottom: 32px; }
.vspp-crumbs .breadcrumbs { margin: 0; padding: 0; background: none; }
.vspp-crumbs .breadcrumbs .wrap { max-width: none; width: auto; margin: 0; padding: 0; }
.vspp-crumbs .breadcrumbs,
.vspp-crumbs .breadcrumbs .wrap,
.vspp-crumbs .breadcrumbs ol { border: 0 !important; box-shadow: none !important; }
.vspp-crumbs .breadcrumbs::before,
.vspp-crumbs .breadcrumbs::after,
.vspp-crumbs .breadcrumbs .wrap::after { display: none !important; }
/* « → » между пунктами — текстовые узлы; гасим их размером шрифта, разделитель рисуем сами */
.vspp-crumbs .breadcrumbs ol { display: block; margin: 0; padding: 0; list-style: none; font-size: 0; line-height: 0; }
.vspp-crumbs .breadcrumbs li { display: inline; font: 400 15px/22px var(--vsp-text); color: var(--vsp-ink); }
.vspp-crumbs .breadcrumbs li meta { display: none; }
.vspp-crumbs .breadcrumbs li + li::before { content: '/'; margin: 0 10px; color: rgba(13, 13, 13, .35); }
.vspp-crumbs .breadcrumbs a { color: rgba(13, 13, 13, .55); text-decoration: none; font-size: 15px; }
.vspp-crumbs .breadcrumbs a:hover { color: var(--vsp-ink); }
.vspp-crumbs .breadcrumbs span { font-size: 15px; }

.vspp-hero__row { display: flex; gap: 48px; align-items: flex-start; }

/* галерея */
.vspp-gallery { flex: 0 0 600px; width: 600px; display: flex; flex-direction: column; gap: 12px; }
.vspp-gallery__main {
  position: relative;
  height: 600px;
  border-radius: 28px;
  background: #fff;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  touch-action: pan-y;
}
.vspp-gallery__img { display: none; width: 520px; height: 470px; max-width: 86%; object-fit: contain; }
.vspp-gallery__img.is-active { display: block; }
.vspp-badge {
  position: absolute;
  z-index: 2;
  left: 20px;
  top: 20px;
  padding: 8px 14px;
  border-radius: 40px;
  background: var(--vsp-ink);
  color: var(--vsp-yellow);
  font: 600 13px/19px var(--vsp-text);
}
.vspp-gallery__arrow {
  position: absolute;
  z-index: 2;
  top: 238px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 22px;
  background: var(--vsp-yellow);
  color: var(--vsp-ink);
  font: 600 18px/1 var(--vsp-text);
  cursor: pointer;
  transition: background-color .15s;
}
.vspp-gallery__arrow:hover { background: var(--vsp-yellow-h); }
.vspp-gallery__arrow--prev { left: 20px; }
.vspp-gallery__arrow--next { right: 20px; }
.vspp-gallery__thumbs { display: flex; gap: 12px; overflow-x: auto; scrollbar-width: none; }
.vspp-gallery__thumbs::-webkit-scrollbar { display: none; }
.vspp-gallery__thumb {
  flex: 0 0 calc((100% - 48px) / 5);
  height: 96px;
  padding: 3px;
  border: 0;
  border-radius: 16px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: none;
}
.vspp-gallery__thumb img { width: 90px; height: 80px; max-width: 100%; object-fit: contain; }
.vspp-gallery__thumb.is-active { box-shadow: inset 0 0 0 3px var(--vsp-yellow); }
.vspp-gallery__thumb:focus-visible,
.vspp-gallery__arrow:focus-visible { outline: 3px solid var(--vsp-ink); outline-offset: 2px; }
.vspp-video { width: 100%; }
.vspp-video__play { background: var(--vsp-yellow); color: var(--vsp-ink); font-size: 13px; padding-left: 2px; }
.vspp-nophoto { font-size: 15px; color: rgba(13, 13, 13, .5); }

/* данные товара */
.vspp-info { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 26px; }
.vspp-series { padding: 8px 16px; border-radius: 40px; background: var(--vsp-yellow); font: 600 15px/22px var(--vsp-text); }
.vspp-h1 { margin: 0; font: 700 56px/1.1 var(--vsp-head); color: var(--vsp-ink); overflow-wrap: anywhere; }
.vspp-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.vspp-chip { padding: 8px 16px; border-radius: 40px; box-shadow: inset 0 0 0 1px rgba(13, 13, 13, .2); font: 400 15px/22px var(--vsp-text); color: rgba(13, 13, 13, .85); }

.vspp-desc { width: 100%; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.vspp-desc__text { font-size: 18px; line-height: 1.55; color: rgba(13, 13, 13, .75); }
.vspp-desc__text p + p { margin-top: .6em; }
.vspp-desc.is-clamped .vspp-desc__text { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.vspp-desc.is-clamped .vspp-desc__text p + p { display: none; }
.vspp-desc__toggle {
  padding: 0;
  border: 0;
  background: none;
  font: 500 16px/23px var(--vsp-text);
  color: var(--vsp-ink);
  text-decoration: underline;
  text-underline-position: from-font;
  cursor: pointer;
}
.vspp-desc__toggle[hidden] { display: none; }

.vspp-adv { width: 100%; margin: 0; padding: 0; list-style: none; display: flex; border-radius: 20px; background: #fff; overflow: hidden; }
.vspp-adv__item { flex: 1 1 0; display: flex; gap: 12px; align-items: flex-start; padding: 22px 20px; min-width: 0; }
.vspp-adv__item + .vspp-adv__item { border-left: 1px solid rgba(13, 13, 13, .1); }
.vspp-adv__num { font: 500 16px/20px var(--vsp-head); opacity: .6; }
.vspp-adv__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; font: 500 17px/1.35 var(--vsp-text); overflow-wrap: break-word; hyphens: auto; }
.vspp-adv__text b { font-weight: 500; }
.vspp-adv__text span { font-size: 14px; font-weight: 400; color: rgba(13, 13, 13, .6); }

/* чекбокс параметра изготовления (синхронизирован с плиткой регулятора) */
.vspp-check {
  -webkit-appearance: none;
  appearance: none;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  margin: 0;
  border: 0;
  border-radius: 6px;
  box-shadow: inset 0 0 0 1.5px rgba(13, 13, 13, .2);
  background: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.vspp-check:checked { background: var(--vsp-yellow); box-shadow: none; }
.vspp-check:checked::after { content: '✓'; font: 600 14px/1 var(--vsp-text); color: var(--vsp-ink); }
.vspp-check:focus-visible { outline: 3px solid var(--vsp-ink); outline-offset: 2px; }

.vspp-param {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border-radius: 20px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(13, 13, 13, .18);
  cursor: pointer;
  transition: box-shadow .15s;
}
.vspp-param.is-on { box-shadow: inset 0 0 0 1px var(--vsp-yellow); }
.vspp-param__text { flex: 1; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.vspp-param__text b { font: 600 17px/25px var(--vsp-text); }
.vspp-param__sub { font: 400 14px/20px var(--vsp-text); opacity: .6; }

/* ссылки-кнопки: общий .vspp a { color: inherit } не должен перебивать цвет кнопки */
.vspp a.vsp-btn { text-decoration: none; }
.vspp a.vsp-btn--dark, .vspp a.vsp-btn--dark:hover { color: #fff; }
.vspp a.vsp-btn--yellow, .vspp a.vsp-btn--outline { color: var(--vsp-ink); }
.vspp-param__fee { font: 700 18px/22px var(--vsp-head); white-space: nowrap; }

/* цена и покупка */
.vspp-buy { width: 100%; display: flex; flex-direction: column; gap: 18px; padding: 24px; border-radius: 24px; background: #fff; }
.vspp-buy__price { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 10px; }
.vspp-buy__sum { font: 700 48px/60px var(--vsp-head); white-space: nowrap; }
.vspp-buy__sum--req { font-size: 28px; line-height: 1.2; }
.vspp-buy__vat { padding-bottom: 8px; font-size: 16px; color: rgba(13, 13, 13, .55); }
.vspp-buy__note { font-size: 14px; line-height: 1.4; color: rgba(13, 13, 13, .6); }
.vspp-buy__note[hidden] { display: none; }
.vspp-buy__row { display: flex; align-items: flex-end; gap: 14px; }
.vspp-buy__row .vsp-qty { flex-shrink: 0; }
.vspp-buy__add { flex: 1; min-width: 0; }
.vspp-buy__add.is-busy { opacity: .7; pointer-events: none; }
.vspp-buy__links { display: flex; gap: 12px; align-items: flex-start; }
.vspp-buy__doc { flex: 1; padding: 18px 24px; font-size: 16px; }
.vspp-buy__opts { flex-shrink: 0; }
.vspp-buy__tz { display: flex; align-items: center; gap: 12px; padding: 4px 0; font: 600 16px/1.3 var(--vsp-text); text-decoration: none; }
.vspp-buy__tz > span:last-child { display: flex; flex-direction: column; gap: 2px; text-decoration: underline; text-underline-position: from-font; }
.vspp-buy__tz small { font-size: 13px; font-weight: 400; color: rgba(13, 13, 13, .55); text-decoration: none; display: inline-block; }
.vspp-buy__tz-icon { flex-shrink: 0; width: 30px; height: 30px; border-radius: 15px; background: var(--vsp-yellow); position: relative; }
.vspp-buy__tz-icon::after { content: '↓'; position: absolute; inset: 0; display: grid; place-items: center; font: 600 15px/1 var(--vsp-text); color: var(--vsp-ink); }
.vspp-buy__tz:hover > span:last-child { color: #000; text-decoration-thickness: 2px; }
.vspp-buy__tz:focus-visible { outline: 3px solid var(--vsp-ink); outline-offset: 2px; border-radius: 8px; }

/* ---------- 2. характеристики и вкладки ---------- */

.vspp-tabs { display: flex; gap: 10px; margin-bottom: 28px; overflow-x: auto; scrollbar-width: none; }
.vspp-tabs::-webkit-scrollbar { display: none; }
.vspp-tab {
  flex-shrink: 0;
  padding: 12px 22px;
  border: 0;
  border-radius: 40px;
  background: var(--vsp-grey);
  font: 600 16px/23px var(--vsp-text);
  color: var(--vsp-ink);
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .15s;
}
.vspp-tab:hover { background: #e6e6e6; }
.vspp-tab.is-active { background: var(--vsp-ink); color: #fff; }
.vspp-tab:focus-visible { outline: 3px solid var(--vsp-yellow); outline-offset: 2px; }
.vspp-panel[hidden] { display: none; }

.vspp-table { display: flex; gap: 8px; align-items: flex-start; padding: 8px; border-radius: 28px; background: var(--vsp-grey); }
.vspp-table__col { flex: 1; min-width: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.vspp-table__row { display: flex; align-items: center; gap: 16px; min-height: 57px; padding: 17px 22px; border-radius: 14px; background: #fff; }
.vspp-table__row dt { flex: 1; min-width: 0; margin: 0; font-size: 16px; line-height: 1.4; color: rgba(13, 13, 13, .6); }
.vspp-table__row dd { margin: 0; max-width: 55%; font: 600 16px/1.4 var(--vsp-text); text-align: right; }
.vspp-table--single { max-width: 900px; }
.vspp-note { margin-top: 16px !important; max-width: 900px; font-size: 14px; line-height: 1.5; color: rgba(13, 13, 13, .6); }

.vspp-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px; border-radius: 28px; background: var(--vsp-grey); }
.vspp-list { padding: 24px 28px; border-radius: 20px; background: #fff; }
.vspp-list h3 { margin: 0 0 14px; font: 700 19px/1.25 var(--vsp-head); }
.vspp-list ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.vspp-list li { position: relative; padding-left: 20px; font-size: 16px; line-height: 1.5; color: rgba(13, 13, 13, .8); }
.vspp-list li::before { content: ''; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; border-radius: 4px; background: var(--vsp-yellow); }
.vspp-rich { max-width: 900px; padding: 24px 28px; border-radius: 20px; background: var(--vsp-grey); font-size: 16px; line-height: 1.55; }
.vspp-rich p + p, .vspp-rich ul, .vspp-rich ol { margin-top: .7em; }
.vspp-rich ul, .vspp-rich ol { padding-left: 1.2em; }

/* ---------- 3. сравнение ---------- */

.vspp-swipe { display: none; }
.vspp-cmp { position: relative; border-radius: 28px; background: var(--vsp-grey); padding: 8px; overflow-x: auto; }
.vspp .vsp-qty, .vspp-tabs, .vspp-letters { position: relative; }
.vspp-cmp:focus-visible { outline: 3px solid var(--vsp-yellow); outline-offset: 2px; }
.vspp-cmp__table { width: 100%; min-width: 1000px; border-collapse: separate; border-spacing: 0 6px; margin: -6px 0; }
.vspp-cmp__table th,
.vspp-cmp__table td { padding: 0 8px; text-align: left; font: 400 16px/1.3 var(--vsp-text); vertical-align: middle; }
.vspp-cmp__table thead th { padding: 14px 8px 8px; font-size: 13px; color: rgba(13, 13, 13, .5); }
.vspp-cmp__table thead th:first-child { padding-left: 22px; }
.vspp-cmp__table tbody tr { height: 72px; }
.vspp-cmp__table tbody th,
.vspp-cmp__table tbody td { background: #fff; }
.vspp-cmp__table tbody th { padding-left: 22px; border-radius: 14px 0 0 14px; font-weight: 600; white-space: nowrap; }
.vspp-cmp__table tbody td:last-child { padding-right: 14px; border-radius: 0 14px 14px 0; text-align: right; }
.vspp-cmp__table tbody th span { display: block; }
.vspp-cmp__table tbody tr.is-current th,
.vspp-cmp__table tbody tr.is-current td { background: var(--vsp-warn); box-shadow: inset 0 2px 0 var(--vsp-yellow), inset 0 -2px 0 var(--vsp-yellow); }
.vspp-cmp__table tbody tr.is-current th { box-shadow: inset 2px 2px 0 var(--vsp-yellow), inset 0 -2px 0 var(--vsp-yellow); }
.vspp-cmp__table tbody tr.is-current td:last-child { box-shadow: inset -2px 2px 0 var(--vsp-yellow), inset 0 -2px 0 var(--vsp-yellow); }
.vspp-cmp__you { display: inline-block !important; margin-bottom: 4px; padding: 3px 10px; border-radius: 20px; background: var(--vsp-ink); color: var(--vsp-yellow); font: 600 12px/1.4 var(--vsp-text); }
.vspp-cmp__price { font-weight: 600 !important; white-space: nowrap; }
.vspp-cmp__stock { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; color: #17732e; white-space: nowrap; }
.vspp-cmp__stock::before { content: ''; width: 8px; height: 8px; border-radius: 4px; background: #1f9d55; }
.vspp-cmp__stock.is-out { color: var(--vsp-red); }
.vspp-cmp__stock.is-out::before { background: var(--vsp-red); }
.vspp-cmp__more { display: inline-block; padding: 10px 18px; border-radius: 40px; background: var(--vsp-ink); color: #fff !important; font: 600 14px/20px var(--vsp-text); text-decoration: none; white-space: nowrap; transition: background-color .15s; }
.vspp-cmp__more:hover { background: var(--vsp-dark-h); }
.vspp-cmp__cur { font-weight: 600; font-size: 15px; white-space: nowrap; }
.vspp-cmp__foot { display: flex; align-items: center; gap: 24px; margin-top: 28px; }
.vspp-cmp__note { flex: 1; font-size: 14px; line-height: 1.4; color: rgba(13, 13, 13, .55); }

/* ---------- 4. опции ---------- */

.vspp-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.vspp-tile { display: flex; flex-direction: column; gap: 14px; min-height: 508px; padding: 16px; border-radius: 24px; background: #fff; }
.vspp-tile__photo { height: 220px; border-radius: 16px; background: #fff; display: flex; align-items: center; justify-content: center; }
.vspp-tile__photo img { width: 300px; height: 210px; max-width: 100%; object-fit: contain; }
.vspp-tile__body { display: flex; flex-direction: column; gap: 8px; padding: 0 8px; }
.vspp-tile__title { margin: 0; font: 700 19px/1.25 var(--vsp-head); }
.vspp-tile__title a { text-decoration: none; }
.vspp-tile__title a:hover { text-decoration: underline; }
.vspp-tile__text { font-size: 15px; line-height: 1.4; color: rgba(13, 13, 13, .65); }
.vspp-tile__params { font: 600 15px/1.4 var(--vsp-text); }
.vspp-tile__buy { margin-top: auto; display: flex; flex-direction: column; gap: 12px; padding: 0 8px 8px; }
.vspp-tile__price { font: 700 24px/1.25 var(--vsp-head); white-space: nowrap; }
.vspp-tile__price--req { font-size: 18px; }
.vspp-tile__row { display: flex; align-items: flex-end; gap: 10px; }
.vspp-tile__add {
  flex: 1;
  min-width: 0;
  height: 48px;
  padding: 0 12px;
  border: 0;
  border-radius: 40px;
  background: var(--vsp-yellow);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font: 600 16px/1 var(--vsp-text);
  color: var(--vsp-ink);
  cursor: pointer;
  transition: background-color .15s, opacity .15s;
}
.vspp-tile__add:hover { background: var(--vsp-yellow-h); }
.vspp-tile__add:focus-visible { outline: 3px solid var(--vsp-ink); outline-offset: 2px; }
.vspp-tile__add.is-off, .vspp-tile__add:disabled { background: #cfcfcf; color: #7a7a7a; cursor: default; }
.vspp-tile__add.is-busy { opacity: .7; pointer-events: none; }
.vspp-tile__row .vsp-qty.is-error ~ .vspp-tile__add,
.vspp-buy__row .vsp-qty.is-error ~ .vspp-buy__add { background: #cfcfcf; color: #7a7a7a; pointer-events: none; }

.vspp-tile--reg .vspp-tile__body { padding-bottom: 1px; }
.vspp-tile__fee { display: flex; align-items: baseline; gap: 10px; font-size: 14px; color: rgba(13, 13, 13, .65); white-space: nowrap; }
.vspp-tile__fee b { font: 700 24px/1.25 var(--vsp-head); color: var(--vsp-ink); }
.vspp-tile__check {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 22px 0 18px;
  border-radius: 40px;
  box-shadow: inset 0 0 0 1px rgba(13, 13, 13, .18);
  font: 500 16px/1.3 var(--vsp-text);
  cursor: pointer;
  transition: box-shadow .15s;
}
.vspp-tile__check.is-on { box-shadow: inset 0 0 0 1px var(--vsp-yellow); }

.vspp-cartbar { display: flex; align-items: center; gap: 24px; margin-top: 28px; padding: 26px 32px; border-radius: 24px; background: var(--vsp-ink); color: #fff; }
.vspp-cartbar__icon { flex-shrink: 0; width: 56px; height: 56px; border-radius: 28px; background: var(--vsp-yellow) url(../../image/premium/cart-24.svg) center no-repeat; }
.vspp-cartbar__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.vspp-cartbar__title { font: 700 22px/27px var(--vsp-head); color: #fff; }
.vspp-cartbar__line { font-size: 16px; line-height: 1.4; color: rgba(255, 255, 255, .65); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vspp-cartbar__sum { font: 700 30px/37px var(--vsp-head); color: var(--vsp-yellow); white-space: nowrap; }
.vspp-cartbar__go { display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 28px; border-radius: 40px; background: var(--vsp-yellow); color: var(--vsp-ink) !important; font: 600 17px/1 var(--vsp-text); text-decoration: none; white-space: nowrap; transition: background-color .15s; }
.vspp-cartbar__go:hover { background: var(--vsp-yellow-h); }
.vspp-cartbar [hidden] { display: none; }

/* ---------- 5. гарантия ---------- */

.vspp-gcards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.vspp-gcard {
  position: relative;
  height: 400px;
  padding: 24px;
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  background: #333;
  color: #fff;
  text-decoration: none;
  isolation: isolate;
}
.vspp-gcard::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(13, 13, 13, 0) 35%, rgba(13, 13, 13, .92) 100%); }
.vspp-gcard__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.vspp-gcard__title { font: 700 19px/1.2 var(--vsp-head); color: #fff; }
.vspp-gcard__text { font-size: 15px; line-height: 1.45; color: rgba(255, 255, 255, .8); }

/* ---------- 6. отзывы ---------- */

.vspp-letters { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 72px) / 4); gap: 24px; overflow-x: auto; scrollbar-width: thin; padding-bottom: 4px; }
.vspp-letter { height: 420px; padding: 20px; border-radius: 24px; background: var(--vsp-bg); display: flex; align-items: center; justify-content: center; }
.vspp-letter img { width: 250px; height: 370px; max-width: 100%; object-fit: contain; }
.vspp-letter:focus-visible { outline: 3px solid var(--vsp-yellow); outline-offset: 2px; }

/* ---------- 7. форма подбора ---------- */

.vspp-podbor-sec { padding: 0 32px 72px; background: var(--vsp-grey); }
.vspp-options + .vspp-podbor-sec { padding-top: 72px; }
.vspp-podbor {
  position: relative;
  max-width: 1420px;
  margin: 0 auto;
  padding: 64px 70px;
  border-radius: 32px;
  overflow: hidden;
  display: flex;
  gap: 64px;
  align-items: flex-start;
  background: #333;
  isolation: isolate;
}
.vspp-podbor::before { content: ''; position: absolute; inset: 0; z-index: -2; background: url(../../image/premium/podbor-bg.jpg) center / cover no-repeat; transform: scaleX(-1); }
.vspp-podbor::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(13, 13, 13, .96) 0%, rgba(13, 13, 13, .7) 45%, rgba(13, 13, 13, .1) 75%, rgba(13, 13, 13, .4) 100%); }
.vspp-podbor__left { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 18px; color: #fff; }
.vspp-podbor__title { margin: 0; font: 700 44px/1.12 var(--vsp-head); letter-spacing: -.88px; color: #fff; }
.vspp-podbor__lead { font-size: 21px; line-height: 1.42; color: rgba(255, 255, 255, .8); }
.vspp-podbor__contacts { align-self: flex-start; margin-top: 60px; display: flex; flex-direction: column; gap: 4px; padding: 16px 22px; border-radius: 18px; background: rgba(13, 13, 13, .6); -webkit-backdrop-filter: blur(9px); backdrop-filter: blur(9px); }
.vspp-podbor__tel { font: 700 30px/1.12 var(--vsp-head); letter-spacing: -.6px; color: #fff !important; text-decoration: none; white-space: nowrap; }
.vspp-podbor__tel2 { font: 700 22px/1.12 var(--vsp-head); letter-spacing: -.44px; color: #fff !important; text-decoration: none; white-space: nowrap; }
.vspp-podbor__mail { font-size: 20px; line-height: 1.42; color: var(--vsp-yellow) !important; text-decoration: underline; text-underline-position: from-font; }
.vspp-podbor__msg { display: flex; gap: 10px; margin-top: 6px; }
.vspp-msg { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 22px; background: rgba(255, 255, 255, .12); }
.vspp-msg img, .vspp-msg svg { width: 28px; height: 28px; display: block; }

.vspp-podbor__form {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 32px;
  border-radius: 24px;
  background: rgba(26, 26, 26, .72);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1);
}
.vspp-chip-ctx { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; padding: 10px 16px; border: 0; border-radius: 40px; background: var(--vsp-yellow); font: 600 15px/1.2 var(--vsp-text); color: var(--vsp-ink); cursor: pointer; }
.vspp-chip-ctx__x { font-weight: 400; font-size: 18px; line-height: 1; color: rgba(13, 13, 13, .6); }
.vspp-chip-ctx[hidden] { display: none; }
.vspp-chip-ctx:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }

.vspp-podbor .vsp-field input,
.vspp-podbor .vsp-field textarea { height: 62px; padding: 18px 20px; font-size: 18px; }
.vspp-podbor .vsp-field textarea { height: 120px; }
.vspp-podbor .vsp-field__label,
.vspp-podbor .vsp-consent label,
.vspp-podbor .vsp-consent .wpcf7-list-item-label { font-size: 15px; }

.vspp-podbor__ok { width: 100%; display: flex; flex-direction: column; gap: 16px; color: #fff; outline: none; }
.vspp-podbor__ok[hidden] { display: none; }
.vspp-podbor__ok-icon { width: 64px; height: 64px; border-radius: 32px; background: #2cb742; display: grid; place-items: center; font: 600 30px/1 var(--vsp-text); }
.vspp-podbor__ok-title { font: 700 28px/1.12 var(--vsp-head); letter-spacing: -.56px; }
.vspp-podbor__ok-text { font-size: 18px; line-height: 1.42; color: rgba(255, 255, 255, .8); }

/* ---------- промежуточные ширины ---------- */

@media (max-width: 1359px) {
  .vspp-h2 { font-size: 40px; }
  .vspp-h1 { font-size: 48px; }
  .vspp-gallery { flex-basis: 46%; width: 46%; }
  .vspp-gallery__main { height: auto; aspect-ratio: 1; }
  .vspp-gallery__arrow { top: calc(50% - 62px); }
  .vspp-buy__links { flex-wrap: wrap; }
  .vspp-buy__add { padding: 18px 20px; gap: 10px; white-space: nowrap; }
  .vspp-buy__doc, .vspp-buy__opts { flex: 1 1 240px; }
  .vspp-podbor { padding: 48px; gap: 40px; }
  .vspp-podbor__title { font-size: 36px; }
}

@media (max-width: 1199px) {
  /* узкая колонка данных: три преимущества списком, текст переносится целиком */
  .vspp-adv { flex-direction: column; }
  .vspp-adv__item { align-items: center; padding: 14px 20px; }
  .vspp-adv__item + .vspp-adv__item { border-left: 0; border-top: 1px solid rgba(13, 13, 13, .1); }
}

@media (max-width: 1023px) {
  .vspp-hero__row { flex-direction: column; }
  .vspp-gallery { width: 100%; flex-basis: auto; max-width: 640px; margin: 0 auto; }
  .vspp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vspp-gcards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vspp-letters { grid-auto-columns: calc((100% - 48px) / 3); }
  .vspp-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .vspp-lead { max-width: none; }
  .vspp-table { flex-direction: column; align-items: stretch; }
  .vspp-lists { grid-template-columns: 1fr; }
  .vspp-podbor { flex-direction: column; }
  .vspp-podbor__left, .vspp-podbor__form { width: 100%; }
  .vspp-podbor__contacts { margin-top: 8px; }
  .vspp-cartbar { flex-wrap: wrap; }
}

/* ---------- мобильная (макет 390) ---------- */

@media (max-width: 767px) {
  .vspp-wrap { padding: 0 20px; }
  .vspp-sec { padding: 24px 0 !important; }
  .vspp-hero { padding: 24px 0; }
  .vspp-head { margin-bottom: 14px; }
  .vspp-h2 { font-size: 24px; line-height: 1.2; }
  .vspp-lead { display: none; }

  .vspp-crumbs { margin-bottom: 16px; }
  .vspp-crumbs .breadcrumbs li { font-size: 13px; line-height: 19px; }
  .vspp-crumbs .breadcrumbs li + li::before { margin: 0 6px; }
  .vspp-crumbs .breadcrumbs a, .vspp-crumbs .breadcrumbs span { font-size: 13px; }
  .vspp-crumbs .breadcrumbs a { color: rgba(13, 13, 13, .6); }

  .vspp-hero__row { gap: 16px; }
  .vspp-gallery { gap: 16px; }
  .vspp-gallery__main { aspect-ratio: auto; height: 330px; border-radius: 22px; }
  .vspp-gallery__img { width: 320px; height: 290px; max-width: 92%; }
  .vspp-badge { left: 14px; top: 14px; padding: 6px 12px; }
  .vspp-gallery__arrow { display: none; }
  .vspp-gallery__thumbs { gap: 8px; }
  .vspp-gallery__thumb { flex-basis: calc((100% - 32px) / 5); height: 60px; padding: 2px; border-radius: 12px; }
  .vspp-gallery__thumb img { width: 54px; height: 50px; }
  .vspp-gallery__thumb.is-active { box-shadow: inset 0 0 0 2px var(--vsp-yellow); }
  .vspp-video { min-height: 58px; padding: 14px 24px; font-size: 16px; }

  .vspp-info { gap: 16px; }
  .vspp-series { padding: 6px 14px; font-size: 13px; line-height: 19px; }
  .vspp-h1 { font-size: 30px; line-height: 1.15; }
  .vspp-chips { gap: 8px; }
  .vspp-chip { padding: 6px 12px; font-size: 13px; line-height: 19px; }
  .vspp-desc { gap: 6px; }
  .vspp-desc__text { font-size: 16px; line-height: 1.5; }
  .vspp-desc.is-clamped .vspp-desc__text { -webkit-line-clamp: 4; }
  .vspp-desc__toggle { font-size: 15px; font-weight: 600; opacity: .6; }

  .vspp-adv { flex-direction: column; border-radius: 18px; }
  .vspp-adv__item { align-items: center; padding: 14px 16px; }
  .vspp-adv__item + .vspp-adv__item { border-left: 0; border-top: 1px solid rgba(13, 13, 13, .1); }
  .vspp-adv__num { font-size: 14px; }
  .vspp-adv__text { font-size: 15px; }

  .vspp-param { gap: 12px; padding: 14px 16px; border-radius: 18px; }
  .vspp-check { width: 22px; height: 22px; }
  .vspp-param__text { gap: 2px; }
  .vspp-param__text b { font-size: 15px; line-height: 1.35; }
  .vspp-param__sub { font-size: 13px; }
  .vspp-param__fee { font-size: 15px; }

  .vspp-buy { gap: 14px; padding: 18px; border-radius: 22px; }
  .vspp-buy__price { gap: 8px; }
  .vspp-buy__sum { font-size: 34px; line-height: 1.2; }
  .vspp-buy__sum--req { font-size: 22px; }
  .vspp-buy__vat { padding-bottom: 4px; font-size: 14px; }
  .vspp-buy__row { gap: 10px; }
  .vspp-buy__add { min-height: 48px; height: 48px; padding: 0 12px; gap: 8px; font-size: 16px; border-radius: 40px; }
  .vspp-buy__add .vsp-btn__circle { display: none; }
  .vspp-buy__add::before { content: ''; width: 17px; height: 17px; flex-shrink: 0; background: url(../../image/premium/ui-cart-17.svg) center no-repeat; }
  .vspp-buy__add.vsp-btn--grey::before { display: none; }
  .vspp-buy__add-text { font-size: 0; }
  .vspp-buy__add-text::after { content: 'В корзину'; font-size: 16px; }
  .vspp-buy__links { flex-direction: column; align-items: stretch; gap: 12px; }
  .vspp-buy__doc, .vspp-buy__opts { flex: none; width: 100%; min-height: 58px; padding: 14px 24px; font-size: 16px; }

  .vspp-tabs { gap: 8px; margin: 0 -20px 16px; padding: 0 20px; }
  .vspp-tab { padding: 10px 16px; font-size: 14px; line-height: 20px; }
  .vspp-table { padding: 0; gap: 16px; background: none; border-radius: 0; }
  .vspp-table__col { padding: 6px; border-radius: 20px; background: var(--vsp-grey); }
  .vspp-table__row { min-height: 46px; padding: 13px 14px; gap: 12px; border-radius: 12px; }
  .vspp-table__row dt, .vspp-table__row dd { font-size: 14px; line-height: 1.3; }
  .vspp-list { padding: 18px; }
  .vspp-list h3 { font-size: 16px; }
  .vspp-list li { font-size: 15px; }
  .vspp-rich { padding: 18px; font-size: 15px; }

  .vspp-swipe { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; font-size: 14px; color: rgba(13, 13, 13, .65); }
  .vspp-swipe span { font-size: 16px; color: var(--vsp-ink); }
  .vspp-cmp { padding: 6px; border-radius: 20px; }
  .vspp-cmp__table { min-width: 860px; border-spacing: 0 6px; }
  .vspp-cmp__table th, .vspp-cmp__table td { font-size: 14px; }
  .vspp-cmp__table tbody tr { height: 66px; }
  .vspp-cmp__table tbody th { padding-left: 14px; border-radius: 12px 0 0 12px; }
  .vspp-cmp__table tbody td:last-child { padding-right: 12px; border-radius: 0 12px 12px 0; }
  .vspp-cmp__table thead th:first-child { padding-left: 14px; }
  .vspp-cmp__you { font-size: 13px; padding: 2px 8px; margin-bottom: 3px; }
  .vspp-cmp__more { padding: 9px 14px; font-size: 13px; }
  .vspp-cmp__foot { flex-direction: column; align-items: stretch; gap: 12px; margin-top: 14px; }
  .vspp-cmp__note { font-size: 13px; }
  .vspp-cmp__help { width: 100%; min-height: 52px; padding: 0 20px; font-size: 16px; border-radius: 40px; }
  .vspp-cmp__help .vsp-btn__circle { display: none; }

  .vspp-options .vspp-lead { display: block; font-size: 15px; }
  .vspp-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .vspp-tile { display: grid; grid-template-columns: 96px minmax(0, 1fr); grid-template-areas: 'photo body' 'buy buy'; column-gap: 12px; row-gap: 12px; min-height: 0; padding: 14px; border-radius: 20px; }
  .vspp-tile__photo { grid-area: photo; width: 96px; height: 96px; border-radius: 12px; align-self: center; }
  .vspp-tile__photo img { width: 96px; height: 96px; }
  .vspp-tile__body { grid-area: body; gap: 4px; padding: 0; align-self: center; }
  .vspp-tile__title { font-size: 15px; overflow-wrap: break-word; hyphens: manual; }
  .vspp-tile__body { min-width: 0; }
  .vspp-tile__text, .vspp-tile__params { font-size: 13px; font-weight: 400; color: rgba(13, 13, 13, .65); }
  .vspp-tile__buy { grid-area: buy; padding: 0; gap: 10px; }
  .vspp-tile__price { font-size: 17px; }
  .vspp-tile__add { gap: 6px; font-size: 15px; }
  .vspp-tile--reg .vspp-tile__buy { flex-direction: row; align-items: center; gap: 12px; }
  .vspp-tile__fee { flex-direction: column; align-items: flex-start; gap: 0; font-size: 13px; }
  .vspp-tile__fee b { font-size: 20px; }
  .vspp-tile__check { flex: 1; min-height: 48px; padding: 0 14px; gap: 10px; font-size: 15px; white-space: normal; }

  /* заполненная плашка: значок + текст в первой строке, сумма и кнопка — своими строками на всю ширину */
  .vspp-cartbar { flex-wrap: wrap; align-items: flex-start; margin-top: 12px; padding: 18px; gap: 12px 14px; border-radius: 20px; }
  .vspp-cartbar__icon { width: 44px; height: 44px; border-radius: 22px; background-size: 20px 20px; }
  .vspp-cartbar__text { flex: 1 1 0; min-width: 0; align-self: center; }
  .vspp-cartbar__title { font-size: 17px; line-height: 1.2; }
  .vspp-cartbar__line { font-size: 14px; white-space: normal; overflow-wrap: anywhere; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
  .vspp-cartbar__sum { flex: 1 1 100%; padding-left: 58px; font-size: 22px; line-height: 1.2; }
  .vspp-cartbar__go { flex: 1 1 100%; justify-content: center; height: 52px; font-size: 16px; }

  .vspp-gcards { grid-template-columns: 1fr; gap: 12px; }
  .vspp-gcard { height: 220px; padding: 18px; gap: 6px; border-radius: 20px; }
  .vspp-gcard::before { background: linear-gradient(180deg, rgba(13, 13, 13, 0) 30%, rgba(13, 13, 13, .92) 100%); }
  .vspp-gcard__title { font-size: 18px; }
  .vspp-gcard__text { font-size: 14px; }

  .vspp-letters { grid-auto-columns: calc((100% - 10px) / 2); gap: 10px; }
  .vspp-letter { height: 240px; padding: 12px; border-radius: 18px; }
  .vspp-letter img { width: 140px; height: 210px; }

  .vspp-podbor-sec,
  .vspp-options + .vspp-podbor-sec { padding: 24px 20px; background: #fff; }
  .vspp-podbor { flex-direction: column; gap: 14px; padding: 0; border-radius: 0; background: none; overflow: visible; }
  .vspp-podbor::before, .vspp-podbor::after { display: none; }
  .vspp-podbor__left { gap: 14px; color: var(--vsp-ink); }
  .vspp-podbor__title { font-size: 26px; line-height: 1.2; letter-spacing: 0; color: var(--vsp-ink); }
  .vspp-podbor__lead { font-size: 16px; line-height: 1.45; color: rgba(13, 13, 13, .7); }
  .vspp-podbor__contacts { align-self: stretch; margin: 0; padding: 18px; border-radius: 20px; background: var(--vsp-ink); }
  .vspp-podbor__tel { font-size: 22px; letter-spacing: 0; }
  .vspp-podbor__tel2 { font: 600 18px/1.3 var(--vsp-text); letter-spacing: 0; }
  .vspp-podbor__mail { font-size: 15px; }
  .vspp-podbor__form { padding: 18px; gap: 12px; border-radius: 20px; background: var(--vsp-panel); -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; }
  .vspp-chip-ctx { min-height: 32px; padding: 6px 12px; gap: 8px; font-size: 13px; }
  .vsp-form .wpcf7-form { gap: 12px; }
  .vsp-form .vspf-row { flex-direction: column; gap: 12px; }
  .vsp-form .vsp-field { gap: 6px; }
  .vsp-form .vsp-field input { height: 52px; padding: 14px 16px; font-size: 16px; }
  .vsp-form .vsp-field textarea { height: 96px; padding: 14px 16px; font-size: 16px; }
  .vsp-form .vsp-field__label { font-size: 14px; }
  .vsp-form .vsp-consent label, .vsp-form .vsp-consent .wpcf7-list-item-label { font-size: 13px; }
  .vsp-form .vspf-submit { min-height: 52px; padding: 0 20px; font-size: 16px; border-radius: 40px; }
  .vsp-form .vspf-submit .vsp-btn__circle { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .vspp *, .vspp *::before, .vspp *::after { transition: none !important; scroll-behavior: auto !important; }
}
