

/* Start:/local/templates/xcore_front/css/configurator-presets.xfmin-1-34916.css?179283140212630*/
.xfp {
padding: 28px 0 48px;
font-family: var(--font-sans);
color: var(--text);
}
.xfp *,
.xfp-strip *,
.xfp-notice * { box-sizing: border-box; }
.xfp .xf-crumbs a { display: inline-block; padding: 14px 0; margin: -14px 0; }
.xfp-head { margin-bottom: 26px; }
.xfp-eyebrow {
display: inline-flex; align-items: center; gap: 8px;
font-family: var(--font-mono); font-size: 11px; letter-spacing: 2.5px;
text-transform: uppercase; color: var(--accent-2); margin-bottom: 14px;
}
.xfp-eyebrow__tick { display: inline-block; width: 28px; height: 1px; background: var(--accent-2); }
.xfp-title {
margin: 0 0 14px; font-weight: 600;
font-size: clamp(28px, 3.4vw, 44px); line-height: 1.05; letter-spacing: -1.4px;
}
.xfp-lede { margin: 0; font-size: 16px; line-height: 1.6; color: var(--text-2); max-width: 68ch; }
.xfp-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.xfp-chip {
min-height: 40px; padding: 8px 14px; font-size: 14px; cursor: pointer;
transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.xfp-chip__n { font-family: var(--font-mono); font-size: 12px; color: var(--text-3); }
.xfp-chip[aria-pressed="true"] .xfp-chip__n { color: inherit; opacity: .75; }
@media (hover: hover) {
.xfp-chip:hover { border-color: var(--line); color: var(--text); }
.xfp-chip[aria-pressed="true"]:hover { color: var(--accent-2); }
}
.xfp-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
@media (max-width: 1199.98px) { .xfp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767.98px)  { .xfp-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; } }
.xfp-status { margin: 22px 0 0; font-size: 14px; color: var(--text-3); }
.xfp-status:empty { margin: 0; }
.xfp-empty {
background: var(--surface); border: 1px solid var(--line-soft); border-radius: 16px;
padding: 40px 24px; text-align: center; max-width: 520px;
}
.xfp-empty__icon { color: var(--text-3); display: flex; justify-content: center; margin-bottom: 14px; }
.xfp-empty__title { margin: 0 0 8px; font-size: 18px; font-weight: 600; letter-spacing: -0.3px; }
.xfp-empty__text { margin: 0 0 18px; font-size: 14px; line-height: 1.5; color: var(--text-2); }
.xfp-card {
position: relative; display: flex; flex-direction: column;
background: var(--surface); border: 1px solid var(--line-soft); border-radius: 16px;
transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
min-width: 0;
}
.xfp-card[hidden] { display: none; }
@media (hover: hover) {
.xfp-card:hover {
border-color: var(--accent-line);
transform: translateY(calc(-2px * var(--xf-motion, 1)));
box-shadow: var(--shadow-card);
}
}
.xfp-card__link {
position: absolute; inset: 0; z-index: 2;
border-radius: inherit; text-decoration: none; cursor: pointer;
}
.xfp-card__media {
position: relative; aspect-ratio: 4 / 3; overflow: hidden;
border-radius: 15px 15px 0 0; background: var(--surface-3);
}
.xfp-card__media .xf-art { align-items: flex-end; padding: 18px 18px 16px; }
.xfp-card__media .xf-art__img { max-width: 100%; max-height: 100%; object-fit: contain; }
.xfp-card__badge { position: absolute; top: 10px; left: 10px; z-index: 3; pointer-events: none; }
html[data-theme="dark"] .xfp-card { box-shadow: var(--nx-edge); }
@media (hover: hover) {
html[data-theme="dark"] .xfp-card:hover {
box-shadow: var(--nx-edge), 0 18px 40px -22px oklch(0.56 0.25 300 / 0.8);
}
}
html[data-theme="dark"] .xfp-card__media { margin: 8px 8px 0; border-radius: 10px; }
.xfp-card { --xfp-tie: 8px; --xfp-step: 12px; }
.xfp-card__body { display: flex; flex-direction: column; flex: 1; padding: 18px; min-width: 0; }
.xfp-card__sec { align-self: flex-start; margin-bottom: var(--xfp-tie); }
.xfp-grid[data-xfp-filtered="1"] .xfp-card__sec { display: none; }
.xfp-card__name { position: relative; z-index: 3; margin: 0 0 var(--xfp-tie); font-size: 20px; font-weight: 600; line-height: 1.25; letter-spacing: -0.3px; }
.xfp-card__facts { display: flex; flex-direction: column; gap: 4px; margin-bottom: var(--xfp-step); }
.xfp-card__price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.xfp-card__from { font-size: 13.5px; color: var(--text-3); }
.xfp-card__sum { font-family: var(--font-mono); font-size: 20px; font-weight: 600; letter-spacing: -0.3px; }
.xfp-card__stock {
display: flex; align-items: flex-start; gap: 6px;
font-size: 13px; font-weight: 500; letter-spacing: 0.01em; line-height: 1.35;
}
.xfp-card__stock .xfp-card__dot { margin-top: calc((1em * 1.35 - 6px) / 2); }
.xfp-card__dot {
width: 6px; height: 6px; border-radius: 999px; background: currentColor; flex: 0 0 auto;
box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 18%, transparent);
}
.xfp-card__stock[data-status="ok"]           { color: var(--success-ink); }
.xfp-card__stock[data-status="on_order"]     { color: var(--warning); }
.xfp-card__stock[data-status="missing_soft"] { color: var(--warning); }
.xfp-card__stock[data-status="missing"]      { color: var(--danger-ink); }
.xfp-card__text {
margin: 0 0 var(--xfp-step); font-size: 14.5px; line-height: 1.45; color: var(--text-2);
display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
min-height: calc(1em * 1.45 * 2);
}
.xfp-card__specs {
list-style: none; margin: 0 0 var(--xfp-step); padding: 0;
display: flex; flex-direction: column; gap: 7px;
min-height: calc(4 * 20px + 3 * 7px);
}
.xfp-card__spec { display: flex; align-items: center; gap: 9px; min-width: 0; }
.xfp-card__spec-icon {
flex: 0 0 auto; width: 20px; height: 20px; border-radius: 6px;
display: inline-flex; align-items: center; justify-content: center;
background: var(--surface-2); color: var(--text-3);
}
.xfp-card__spec-icon svg { width: 13px; height: 13px; }
.xfp-card__spec-label {
font-size: 14.5px; line-height: 20px; color: var(--text-2); min-width: 0;
overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.xfp-grid .xfp-card__spec { align-items: flex-start; }
.xfp-grid .xfp-card__spec-label {
white-space: normal; overflow-wrap: anywhere;
display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2;
}
.xfp-card__cta {
margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line-soft);
display: inline-flex; align-items: center; gap: 6px;
font-size: 14.5px; font-weight: 500; color: var(--text-2);
transition: color .15s ease;
}
.xfp-card__cta svg { transition: transform .15s ease; }
@media (hover: hover) {
.xfp-card:hover .xfp-card__cta { color: var(--accent-2); }
.xfp-card:hover .xfp-card__cta svg { transform: translateX(calc(3px * var(--xf-motion, 1))); }
}
.xfp-card__admin { position: absolute; top: 10px; right: 10px; z-index: 3; }
.xfp-card--compact { border-radius: 14px; }
.xfp-card--compact .xfp-card__media { aspect-ratio: 16 / 10; border-radius: 13px 13px 0 0; }
.xfp-card--compact .xfp-card__media .xf-art { padding: 14px 14px 12px; }
.xfp-card--compact .xfp-card__body { padding: 14px; }
.xfp-card--compact .xfp-card__name { font-size: 16px; min-height: calc(1em * 1.25 * 2); }
.xfp-card--compact .xfp-card__sum { font-size: 16px; }
.xfp-card--compact .xfp-card__text { font-size: 13px; -webkit-line-clamp: 1; min-height: calc(1em * 1.45); }
.xfp-card--compact .xfp-card__specs { min-height: calc(2 * 20px + 7px); }
.xfp-card--compact .xfp-card__spec-label { font-size: 13px; }
.xfp-card--compact .xfp-card__cta { font-size: 13px; }
.xfp-strip { margin: 0 0 26px; padding-bottom: 24px; border-bottom: 1px solid var(--line-soft); }
.xfp-strip[hidden] { display: none; }
.xfp-strip__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.xfp-strip__title { margin: 0; font-size: 16px; font-weight: 600; letter-spacing: -0.2px; }
.xfp-strip__all {
display: inline-flex; align-items: center; gap: 6px;
min-height: 44px; padding: 4px 0;
font-size: 13px; color: var(--text-2); text-decoration: none;
transition: color .15s ease;
}
.xfp-strip__all:hover { color: var(--accent-2); }
.xfp-strip__all-n { font-family: var(--font-mono); }
.xfp-headlink[hidden] { display: none; }
.xfp-strip__rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 12px; }
.xfp-home__head {
display: flex; align-items: center; justify-content: space-between;
gap: 0 20px; flex-wrap: wrap; margin-bottom: 12px;
}
.xfp-home__title { margin: 0; font-size: 22px; font-weight: 600; line-height: 1.2; letter-spacing: -0.3px; }
.xfp-home__all {
display: inline-flex; align-items: center; gap: 8px;
min-height: 44px;
font-size: 14px; color: var(--text-2); text-decoration: none;
transition: color .15s ease;
}
.xfp-home__all-n { font-family: var(--font-mono); }
@media (hover: hover) {
.xfp-home__all:hover { color: var(--text); }
}
.xfp-home__rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 14px; }
@media (min-width: 992px) and (max-width: 1199.98px) {
.xfp-home__rail > .xfp-card:nth-child(n+4) { display: none; }
}
.xfp-notice-host:empty { display: none; }
.xfp-notice {
background: var(--surface); border: 1px solid var(--line-soft); border-radius: 14px;
padding: 14px 16px; margin-bottom: 18px;
}
.xfp-notice[data-tone="danger"]  { border-color: color-mix(in oklch, var(--danger) 40%, transparent); }
.xfp-notice[data-tone="warning"] { border-color: color-mix(in oklch, var(--warning) 40%, transparent); }
.xfp-notice__head { display: flex; align-items: flex-start; gap: 10px; }
.xfp-notice__icon { flex: 0 0 auto; display: inline-flex; margin-top: 1px; }
.xfp-notice[data-tone="danger"]  .xfp-notice__icon { color: var(--danger); }
.xfp-notice[data-tone="warning"] .xfp-notice__icon { color: var(--warning); }
.xfp-notice__title { flex: 1; min-width: 0; font-size: 14px; font-weight: 500; line-height: 1.4; }
.xfp-notice__close {
flex: 0 0 auto; width: 32px; height: 32px; margin: -6px -8px 0 0;
display: inline-flex; align-items: center; justify-content: center;
background: none; border: 0; border-radius: 8px; color: var(--text-3);
font-size: 18px; line-height: 1; cursor: pointer;
}
.xfp-notice__close:hover { color: var(--text); background: var(--surface-2); }
.xfp-notice__list { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.xfp-notice__row {
display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
padding-top: 8px; border-top: 1px solid var(--line-soft);
}
.xfp-notice__row-text { flex: 1; min-width: 0; font-size: 13px; line-height: 1.4; color: var(--text-2); }
.xfp-notice__row-step { color: var(--text); font-weight: 500; }
.xfp-notice__row-why { display: inline-flex; align-items: center; gap: 5px; }
.xfp-notice__row[data-status="missing"]  .xfp-notice__row-why { color: var(--danger-ink); }
.xfp-notice__row[data-status="on_order"] .xfp-notice__row-why { color: var(--warning); }
.xfp-notice__row-actions { display: inline-flex; align-items: center; gap: 6px; flex: 0 0 auto; }
.xfp-notice__row-btn--drop { color: var(--text-3); }
.xfp-notice__row-btn--drop:hover { color: var(--danger-ink); }
@media (max-width: 991.98px) {
.xfp { padding: 20px 0 40px; }
.xfp-strip__rail,
.xfp-home__rail {
display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
-webkit-overflow-scrolling: touch; overscroll-behavior-x: contain;
padding: 4px 28px 4px 4px; margin: -4px 0 0 -4px; scroll-padding-inline-start: 4px;
mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent 100%);
-webkit-mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent 100%);
}
.xfp-strip__rail > .xfp-card { flex: 0 0 78%; scroll-snap-align: start; }
.xfp-home__rail > .xfp-card { flex: 0 0 42%; scroll-snap-align: start; }
}
@media (max-width: 767.98px) {
.xfp { padding: 10px 0 40px; }
.xfp-eyebrow { margin-bottom: 8px; }
.xfp-title { font-size: clamp(26px, 7vw, 34px); letter-spacing: -1px; margin-bottom: 8px; }
.xfp-lede { font-size: 15px; line-height: 1.5; }
.xfp-head { margin-bottom: 12px; }
.xfp-chips { margin-bottom: 10px; }
.xfp-card__media { aspect-ratio: 16 / 9; }
.xfp-card__media .xf-art { padding: 12px 12px 10px; }
.xfp-card__body { padding: 14px 16px 16px; }
.xfp-grid .xfp-card__text,
.xfp-grid .xfp-card__specs { min-height: 0; }
.xfp-strip__rail > .xfp-card,
.xfp-home__rail > .xfp-card { flex: 0 0 84%; }
.xfp-home__title { font-size: 20px; }
.xfp-home__all-word { display: none; }
.xfp-chip { min-height: 44px; }
.xfp-headlink { min-height: 44px; }
.xfp-notice__row-actions { width: 100%; }
.xfp-notice__row-btn { flex: 1; min-height: 44px; }
.xfp-notice__close { width: 44px; height: 44px; margin: -10px -12px 0 0; }
}

/* End */


/* Start:/local/templates/xcore_front/css/configurator-preset-page.css?179282396230388*/
/* OWNS: .xfpd-* — страница одной готовой сборки (#514, этап 2A),
   /onlayn-konfigurator/sborki/<code>/. Плюс один допустимый local override:
   `.xfpd .xf-crumbs a` — тап-цель крошек на этой странице (тот же приём, что
   .xfp .xf-crumbs a в configurator-presets.css: вид крошек остаётся за
   catalog.css, здесь только площадь нажатия).

   Свой островок: из чужого каскада берём только ГОТОВЫЕ примитивы шаблона по
   их собственным классам (.xf-pill, .xf-btn, .xf-art, .xf-crumbs) и токены
   tokens.css — ничего из них здесь не переопределяется. Точка статуса
   (.xfp-card__dot, из xfp_status_dot()) и сетка карточек (.xfp-grid) —
   готовые примитивы блока пресетов (css/configurator-presets.css, agent B):
   их форма приходит оттуда, здесь только цвет через свой [data-status].
   Движение — только через var(--xf-motion, 1) (The Motion-Multiplier Rule).
   Per-element :focus не пишем — глобальный :focus-visible в ui.css. */

.xfpd { padding: 20px 0 56px; font-family: var(--font-sans); color: var(--text); }
.xfpd *, .xfpd-more-section * { box-sizing: border-box; }

/* Тап-цель крошек ≥44px без сдвига строки (см. исключение в шапке файла). */
.xfpd .xf-crumbs { margin-bottom: 22px; }
.xfpd .xf-crumbs a { display: inline-block; padding: 14px 0; margin: -14px 0; }

/* ============================================================== hero ======= */
/* Мобильный порядок — ровно DOM-порядок (media, затем инфо-блок): один
   столбец, media сверху. На десктопе grid раскладывает те же два ребёнка в
   два столбца борт о борт без переопределения DOM — реордер не нужен. */
.xfpd-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
  margin-bottom: 44px;
  align-items: start;
}
@media (min-width: 992px) {
  .xfpd-hero { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; }
}

.xfpd-hero__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 18px;
  background: var(--surface-3);
  border: 1px solid var(--line-soft);
}
.xfpd-hero__media .xf-art { padding: 32px; }
.xfpd-hero__media .xf-art__img { max-width: 100%; max-height: 100%; object-fit: contain; }
@media (max-width: 767.98px) {
  /* Карточка на телефоне тоже 16/9 (аудит #314) — цена обязана остаться в
     первом экране, а не уехать за фотографией на всю высоту. */
  .xfpd-hero__media { aspect-ratio: 16 / 9; }
}

/* Инфо-колонка — sticky только на десктопе (образец .xfc-side,
   configurator2.css): max-height + внутренний скролл, чтобы на низком
   вьюпорте кнопка и приписка не прятались под фолдом без возможности
   доскроллить (тот же P1, что решался у .xfc-side).

   Отступ сверху — от ЖИВОЙ высоты шапки (--xf-header-h на <html>, её меряет
   js/app.js:357 и там же объявлен фолбэк 154px для десктопа, см. header.css:50),
   а не от магической константы. Прежние `top: 96px` при трёхрядной шапке 154px
   прятали 58px залипшей колонки под шапкой: H1 обрезало на 22px, метки
   категории/ярлыка не было видно вовсе (замер на проде 1440×900, #519-follow-up
   — жалоба владельца «застревает и не видно, оно закрыто верхней строкой»).
   Одна переменная на top и на max-height: иначе внутренняя скролл-область
   рассинхронизируется с отступом, и на низком вьюпорте кнопка снова уйдёт
   под фолд. */
.xfpd-hero__info { display: flex; flex-direction: column; min-width: 0; }
@media (min-width: 992px) {
  .xfpd-hero__info {
    --xfpd-stick-top: calc(var(--xf-header-h, 154px) + 16px);
    position: sticky; top: var(--xfpd-stick-top);
    max-height: calc(100dvh - var(--xfpd-stick-top) - 16px);
    overflow-y: auto; scrollbar-width: thin;
    padding-right: 2px; margin-right: -2px;
  }
}

.xfpd-labels { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }

.xfpd-title-row { display: flex; align-items: flex-start; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.xfpd-title {
  margin: 0; font-weight: 600; color: var(--text);
  font-size: 32px; line-height: 1.15; letter-spacing: -0.8px;
}

.xfpd-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
/* «от» — слово, значит Onest; сумма — данные, значит mono (Mono-as-Data).
   Размер/вес/трекинг — те же, что у цены карточки товара
   (.xf-product-info__price, product.css:230): страница сборки — брат PDP, и
   цена обязана читаться одинаково. Вместе с ними забирается и `line-height: 1`:
   без него mono 36px берёт `normal` (~1.25) и блок цены на этой странице был
   на ~9px выше своего близнеца на PDP — лишний воздух между ценой и строкой
   наличия при том же margin. */
.xfpd-price__from { font-size: 15px; color: var(--text-3); }
.xfpd-price__sum {
  font-family: var(--font-mono); font-size: 36px; font-weight: 600;
  letter-spacing: -1px; line-height: 1; color: var(--text);
}
/* «· без видеокарты» (#526) — в той же строке, что число: «от» без подписи рядом
   читается как цена сборки, а это сумма без выпавшей детали. Слова — Onest
   (Mono-as-Data), --text-2, а не --text-3: это не сноска, а часть цены.
   Разделитель «·» — генерируемый и немой для скринридера (alt-текст "" после
   «/»; первая строка — фолбэк для браузера без этого синтаксиса): вслух
   читается «от 4 049.80 BYN без видеокарты». На телефоне подпись стоит своей
   строкой под числом — там разделитель не нужен (см. блок ≤767.98). */
.xfpd-price__without { font-size: 15px; line-height: 1.3; color: var(--text-2); }
.xfpd-price__without::before { content: "·"; content: "·" / ""; margin-right: 8px; color: var(--text-3); }

/* Наличие — своя обёртка (.xfpd-stock), цвет — свой [data-status], форма
   точки (размер/тень) приходит бесплатно из .xfp-card__dot (agent B),
   выбранный тут же вызовом xfp_status_dot(). Конструкция и цвета — те же,
   что на карточке (.xfp-card__stock) и по всему шаблону (карточка листинга,
   корзина, панель совместимости конфигуратора). */
.xfpd-stock-list { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.xfpd-stock {
  display: flex; align-items: flex-start; gap: 7px;
  font-size: 14px; font-weight: 500; letter-spacing: 0.01em; line-height: 1.4;
}
.xfpd-stock .xfp-card__dot { margin-top: calc((1em * 1.4 - 6px) / 2); }
.xfpd-stock[data-status="ok"]           { color: var(--success-ink); }
.xfpd-stock[data-status="on_order"]     { color: var(--warning); }
.xfpd-stock[data-status="missing_soft"] { color: var(--warning); }
.xfpd-stock[data-status="missing"]      { color: var(--danger-ink); }

.xfpd-text { margin: 0 0 20px; font-size: 15px; line-height: 1.55; color: var(--text-2); max-width: 62ch; }

.xfpd-cta { width: 100%; justify-content: center; margin-bottom: 10px; }
/* Два действия (#649): «В корзину» — главное (.xf-btn), «Открыть в
   конфигураторе» — второе (.xf-btn--ghost), столбиком на всю ширину колонки на
   любой ширине экрана: порядок и вес читаются без слов (The Single-Primary
   Rule), а на телефоне обе тап-цели не уже колонки. Своего вида у кнопок нет —
   оба примитива из ui.css. Там, где кнопка одна (неполная конфигурация или
   закрытый гейт xfp_buy_enabled), обёртки нет и .xfpd-cta живёт как раньше. */
.xfpd-actions { display: flex; flex-direction: column; gap: 10px; margin-bottom: 10px; }
.xfpd-actions .xfpd-cta { margin-bottom: 0; }
/* Запрос «положить в корзину» в полёте: кнопка приглушена (как .xf-btn-buy.is-busy
   на карточке товара), подпись меняет JS. pointer-events не трогаем — повторный
   клик глушит JS: Enter с клавиатуры CSS всё равно бы не остановил. */
.xfpd-cta[aria-busy="true"],
.xfpd-sticky__btn[aria-busy="true"] { opacity: .7; cursor: progress; }
/* Слова сервера под кнопками — строкой, а не тостом: её надо успеть прочитать,
   и по ней надо что-то сделать. Тон ставит JS атрибутом data-tone:
     error — отказ («деталь закончилась», «цена изменилась»): Signal Danger,
             как у строки «Нужна замена» выше; смысл несут слова, не цвет;
     info  — «часть деталей уже лежала в корзине, второй раз не добавляли»:
             покупка состоялась, это не ошибка — обычный цвет текста.
   Действие в строке («Обновить страницу») — готовый .xf-btn--link из ui.css;
   здесь ему добирается только площадь нажатия невидимым слоем, без сдвига
   строки — тот же приём, что у .xfpd-parts__pick ниже. */
.xfpd-buy-msg { margin: 0 0 10px; font-size: 14px; line-height: 1.45; color: var(--danger-ink); }
.xfpd-buy-msg[data-tone="info"] { color: var(--text); }
.xfpd-buy-msg__action { position: relative; }
.xfpd-buy-msg__action::before { content: ""; position: absolute; inset: -12px -8px; }
/* Вопрос «заменить или добавить вторую» (#698) — та же строка с тоном info:
   суть жирным, текст сервера, ниже ряд ответов. Два ответа — равные .xf-btn--ghost
   (оба законны; главная кнопка страницы — «В корзину»), отказ — ссылкой. Ряд
   переносится, если не влез (телефон). */
.xfpd-buy-msg__title { display: block; margin-bottom: 2px; font-weight: 600; }
.xfpd-buy-msg__choice { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 10px; }
/* --text-2, а не --text-3 (#526): приписка несёт самую значимую добавку к
   сумме — комплектация и настройка оплачиваются отдельно (60–120 BYN), — и
   была самым бледным текстом страницы. */
.xfpd-note { margin: 0; font-size: 13px; line-height: 1.5; color: var(--text-2); }

/* ============================================================= состав ====== */
.xfpd-parts { margin-bottom: 48px; }
.xfpd-parts__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
/* Заголовок секции — размер/трекинг .xf-product-section__title (product.css:868),
   как «Похожие товары» / «Характеристики» на карточке товара. Было 22px: тот же
   кегль, что у .xfpd-parts__total-label и почти тот же, что у строк состава, —
   ступень H1(32) → секция → строка схлопывалась, и «Состав сборки» читалось как
   подпись к таблице, а не как раздел страницы. Мобильная ступень (22px) — там же,
   в блоке ≤767.98px, парно с PDP. */
.xfpd-parts__title { margin: 0; font-size: 28px; font-weight: 600; letter-spacing: -0.7px; line-height: 1.15; color: var(--text); }
/* «8 деталей»: mono берёт только ЧИСЛО, слово — Onest (The Mono-as-Data Rule:
   mono — для данных, не для «технического» вайба). Раньше вся строка целиком
   шла в XCore Mono, и склоняемое слово выглядело как код. Числовой спан
   отдельным классом — та же конвенция, что у .xfp-chip__n
   (configurator-presets.css:52). */
.xfpd-parts__count { font-size: 13px; color: var(--text-3); white-space: nowrap; }
.xfpd-parts__count-n { font-family: var(--font-mono); }

/* Рамка — на обёртке: внутри неё <ul> деталей и строка «Итого» соседом, а не
   девятым <li> (#529). :first-child ниже по-прежнему снимает линию только у
   первой детали — итог не первый ребёнок обёртки и свою линию сверху держит. */
.xfpd-parts__box {
  background: var(--surface); border: 1px solid var(--line-soft); border-radius: 14px; overflow: hidden;
}
.xfpd-parts__list { list-style: none; margin: 0; padding: 0; }
.xfpd-parts__row {
  display: grid; grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center; gap: 12px;
  padding: 14px 18px; border-top: 1px solid var(--line-soft);
}
.xfpd-parts__row:first-child { border-top: 0; }
.xfpd-parts__icon {
  width: 28px; height: 28px; border-radius: 8px; flex: 0 0 auto;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--surface-2); color: var(--text-3);
}
.xfpd-parts__icon svg { width: 16px; height: 16px; }
.xfpd-parts__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.xfpd-parts__step { font-size: 12px; color: var(--text-3); }
.xfpd-parts__name {
  font-size: 14.5px; color: var(--text); line-height: 1.4;
  /* Полное имя, перенос по словам — это страница, не карточка (короткого
     short-имени тут нет). overflow-wrap: anywhere — только страховка от
     неразрывного длинного артикула шире колонки. */
  overflow-wrap: anywhere;
}
/* Тап-цель ссылки детали заметно меньше 44px (38.8px у двухстрочного имени,
   ~20px у однострочного) — раскладку не трогаем, площадь нажатия добираем
   невидимым слоем (тот же приём, что .xfp-card__parts-sum::before раньше в
   этом же блоке). Строка несёт 14px паддинга сверху/снизу (.xfpd-parts__row),
   поэтому -12px по вертикали заходит в соседнюю строку максимум на 2px —
   пересечение с чужим текстом, а не с чужой тап-целью (там нет своего слоя),
   промах не создаёт. inline-block обязателен: у строчной ссылки абсолютный
   ::before привязывается к одному фрагменту строки (замер на проде: 49px из
   175px ширины двухстрочного имени), и слой накрывал только хвост. */
.xfpd-parts__link { display: inline-block; position: relative; color: inherit; text-decoration: none; }
.xfpd-parts__link::before { content: ""; position: absolute; inset: -12px -6px; }
.xfpd-parts__link:hover { color: var(--accent-2); text-decoration: underline; }
/* Деталь, которой в продаже уже нет (#525): её страница отдаёт 404, ссылки в
   строке нет — и выглядеть как живая позиция она не должна. --text-2 гасит имя
   на ступень: строка читается (её всё ещё надо узнать), но не спорит с теми
   деталями, которые реально в сборке. Зачёркивания нет намеренно: деталь не
   «отменена», её надо заменить, и красная метка справа говорит это словами. */
.xfpd-parts__name--gone { color: var(--text-2); }
/* «Подобрать замену» — единственный клик в такой строке, поэтому он такой же
   тап-цели, как имя живой детали: слой ::before добирает площадь, не трогая
   раскладку (тот же приём, что у .xfpd-parts__link выше). Конфликта слоёв не
   будет: ссылка появляется ровно там, где имя ссылкой НЕ стало. */
.xfpd-parts__pick {
  align-self: flex-start; position: relative; margin-top: 2px;
  font-size: 12.5px; font-weight: 500; color: var(--accent-2); text-decoration: none;
}
.xfpd-parts__pick::before { content: ""; position: absolute; inset: -10px -6px; }
.xfpd-parts__pick:hover { text-decoration: underline; }
.xfpd-parts__qty { font-family: var(--font-mono); font-size: 13px; color: var(--text-3); white-space: nowrap; }
.xfpd-parts__value { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; text-align: right; white-space: nowrap; }
.xfpd-parts__sum { font-family: var(--font-mono); font-size: 14.5px; color: var(--text); }
.xfpd-parts__why { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 500; }
.xfpd-parts__why[data-status="missing"]  { color: var(--danger-ink); }
.xfpd-parts__why[data-status="on_order"] { color: var(--warning); }

.xfpd-parts__row--total {
  background: var(--surface-2);
}
.xfpd-parts__total-label { grid-column: 1 / span 2; font-size: 15px; font-weight: 600; color: var(--text); }
.xfpd-parts__total-value { display: flex; align-items: baseline; gap: 6px; justify-self: end; }
.xfpd-parts__total-from { font-size: 13px; color: var(--text-3); }
.xfpd-parts__total-sum { font-family: var(--font-mono); font-size: 20px; font-weight: 600; letter-spacing: -0.4px; color: var(--text); }
.xfpd-parts__footnote { margin: 8px 2px 0; font-size: 12.5px; color: var(--text-3); }

/* ========================================================= другие сборки === */
.xfpd-more-section { margin-bottom: 8px; }
/* Парно с .xfpd-parts__title — обе секции страницы одного ранга. */
.xfpd-more__title { margin: 0 0 16px; font-size: 28px; font-weight: 600; letter-spacing: -0.7px; line-height: 1.15; color: var(--text); }
/* .xfp-grid (agent B, configurator-presets.css) уже даёт 3/2/1-колоночную
   раскладку — здесь только собственный вертикальный отступ блока. */
.xfpd-more { margin: 0; }

/* ============================================================= sticky ====== */
/* CTA-бар телефона и планшета — зеркалит .xf-buy-sticky (product.css): скрыт
   на десктопе через display:none (сам компонент), transition гейтится
   .is-initialized (без анимации на первый показ, FOUC-страховка), тройной
   гейт скрытого состояния (transform + opacity + pointer-events).
   translateY(100% + safe-area) — позиционный уход бара за экран, а не
   декоративный сдвиг, поэтому var(--xf-motion, 1) здесь не участвует вовсе
   (The Motion-Multiplier Rule, следствие про позиционные трансформы); под
   reduced-motion гасим не саму величину, а transition — см. блок в конце
   файла, тот же приём и тот же селектор специфичности, что у
   .xf-buy-sticky.is-initialized.

   Порог 991.98, а не 767.98 (#527): липкая инфо-колонка включается только с
   992, и в полосе 768–991 постоянной кнопки не было вообще — ни колонки, ни
   бара (замер на проде 900×800, прокрутка 1200: кнопка top −104, бара нет).
   Колонку липкой раньше 992 не делали: она липнет только в пределах hero, и
   при чтении состава кнопка всё равно уезжала бы. Граница живёт в трёх
   местах — здесь, BAR_MQ в js/configurator-preset-page.js и подъём кружка
   чата над полосой в css/chat.css (641–991.98): меняешь одно — меняй все. */
.xfpd-sticky { display: none; }
@media (max-width: 991.98px) {
  .xfpd-sticky {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    background: color-mix(in oklch, var(--bg) 92%, transparent);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid var(--line-soft);
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
    transform: translateY(calc(100% + env(safe-area-inset-bottom, 0px)));
    opacity: 0; pointer-events: none;
  }
  .xfpd-sticky.is-initialized { transition: transform .22s ease-out, opacity .18s ease-out; }
  .xfpd-sticky.is-visible { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .xfpd-sticky__inner { display: flex; align-items: center; gap: 8px; }
  /* Цена — столбик: строка «от + сумма» (nowrap) и под ней квалификатор «без
     видеокарты» (#526). Столбик, а не перенос в одной flex-строке: у
     переносящейся строки max-content — сумма ВСЕХ детей в одну линию, и
     подпись раздувала блок на 30px (замер 390px: 136 → 168), отнимая их у
     кнопки. В столбике ширина = самая широкая строка, то есть сумма; длинный
     список выпавших переносится внутри 50% полосы. Уже суммы блок не сжимается
     (min-width по умолчанию = min-content, сумма nowrap). */
  .xfpd-sticky__price {
    flex: 0 1 auto; max-width: 50%; font-family: var(--font-mono); font-size: 16px; font-weight: 600;
    color: var(--text); letter-spacing: -0.3px; line-height: 1;
    display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
  }
  .xfpd-sticky__amount { display: flex; align-items: baseline; gap: 4px; white-space: nowrap; }
  .xfpd-sticky__from { font-size: 11px; font-family: var(--font-sans); color: var(--text-3); font-weight: 500; }
  .xfpd-sticky__without {
    font-family: var(--font-sans); font-size: 12px; font-weight: 500;
    letter-spacing: 0; line-height: 1.25; color: var(--text-2);
  }
  /* 12px, а не 14px по бокам (и зазор 8, а не 10): «Открыть в конфигураторе» рядом с «от N BYN»
     на 360px вылезало за кнопку на 3px (замер до правок, прод-разметка). */
  .xfpd-sticky__btn { flex: 1 1 auto; min-width: 0; height: 48px; padding: 0 12px; font-size: 14px; }
  /* Место под sticky-бар внизу экрана, чтобы он не перекрывал «Другие сборки». */
  .xfpd-more-section { padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }
}

/* Планшет: та же полоса, но кнопка не тянется на всю ширину окна — цена у
   левого рельса контента, кнопка своей ширины у правого (поля — тот же
   --container-pad, что у страницы). Кружок чата в этой полосе ширин
   поднимается над баром правилом в chat.css (там же объяснение). */
@media (min-width: 768px) and (max-width: 991.98px) {
  .xfpd-sticky { padding-left: var(--container-pad); padding-right: var(--container-pad); }
  .xfpd-sticky__inner { justify-content: space-between; gap: 24px; }
  .xfpd-sticky__price { max-width: none; }
  .xfpd-sticky__btn { flex: 0 0 auto; padding: 0 28px; }
}

@media (max-width: 767.98px) {
  /* Первый экран телефона — как на PDP/странице сборок: чуть меньше воздуха
     сверху, крупные заголовок/цена ужаты под узкий вьюпорт. */
  .xfpd { padding: 12px 0 40px; }
  .xfpd-hero { gap: 16px; margin-bottom: 32px; }
  .xfpd-title { font-size: 24px; letter-spacing: -0.5px; }
  .xfpd-price__sum { font-size: 28px; }
  /* На телефоне «без видеокарты» — всегда строкой под числом, а не «влезет —
     не влезет»: иначе на одной сборке подпись стоит справа от цены, на
     соседней — под ней. Своя строка = разделитель «·» не нужен. */
  .xfpd-price__without { flex-basis: 100%; }
  .xfpd-price__without::before { content: none; }
  /* Мобильная ступень заголовков секций — та же, что у .xf-product-section__title
     на телефоне (product.css:1582). */
  .xfpd-parts__title,
  .xfpd-more__title { font-size: 22px; letter-spacing: -0.5px; }
  .xfpd-parts__row { padding: 12px 14px; grid-template-columns: 24px minmax(0, 1fr) auto; gap: 10px; }
  .xfpd-parts__icon { width: 24px; height: 24px; }

  /* Полоса под след кружка чата (#529). Кружок прибит к правому краю экрана,
     и при прокрутке контент едет под ним вертикальной полосой шириной с сам
     кружок. Строки цены, наличия, «для кого» и приписки на телефоне идут во
     всю ширину — в эту полосу и попадали: страж поднимал кружок над кнопкой
     прямо на описание, а у длинного описания свободного места над ним не
     находилось вовсе (замер 375×667, описание на 7 строк: кружок на тексте на
     протяжении ~145px прокрутки). Копи освобождает полосу справа — и страж
     в любом положении паркует кружок рядом с текстом, а не на нём.
     Ширина = заступ кружка за правый рельс контента + зазор 8px:
       ≤640     — кружок 52px, right 16px, рельс 16px → 52 + 8 = 60px;
       641–767  — кружок 56px, right 24px, рельс 16px → 64 + 8 = 72px
     (размеры кружка — chat.css, .xf-chat / .xf-chat__fab; меняешь там —
     пересчитай здесь). Заголовок и кнопку не трогаем: H1 выше зоны, где
     стоит страж, а кнопку он и так обходит. Текст отказа под кнопками
     (.xfpd-buy-msg, #649) — тоже строка этой колонки, полосу держит и он. */
  .xfpd-price, .xfpd-stock-list, .xfpd-text, .xfpd-note, .xfpd-buy-msg { padding-right: 72px; }
}
@media (max-width: 640px) {
  .xfpd-price, .xfpd-stock-list, .xfpd-text, .xfpd-note, .xfpd-buy-msg { padding-right: 60px; }
}

/* Выезд бара — позиционный уход за экран (translateY), не декоративный сдвиг,
   и `--xf-motion` его не гейтит (см. комментарий у .xfpd-sticky выше) — под
   reduced-motion гасим не величину, а сам transition, точечно. Ход одинаков
   с редукцией и без — то же решение, что уже принято для .xf-buy-sticky в
   product.css (тот же тройной transform+opacity+pointer-events гейт и то же
   grep-совпадение `reduce` там). Селектор повторяет
   `.xfpd-sticky.is-initialized` (там объявлен сам transition): при меньшей
   специфичности отмена не сработала бы. */
@media (prefers-reduced-motion: reduce) {
  .xfpd-sticky.is-initialized { transition: none; }
}

/* End */
/* /local/templates/xcore_front/css/configurator-presets.xfmin-1-34916.css?179283140212630 */
/* /local/templates/xcore_front/css/configurator-preset-page.css?179282396230388 */
