/* deye.shop — страница сравнения (редизайн 10.2026). Классы cx-*; старые .cmp-table нужны /sovmestimost/. */
.cx {
  --cx-ink: #1d1d1f; --cx-mut: #6e6e73; --cx-line: #e8e8ed; --cx-soft: #f5f5f7; --cx-bg: #fff;
  --cx-blue: #015cbb; --cx-blue-h: #0a4f9c; --cx-navy: #023881; --cx-best-bg: #e7f0fb; --cx-ok: #167a43; --cx-way: #a35400;
  --cx-hover: #ececf0; --cx-ring: #015cbb; --cx-vw: calc(100vw - 40px);
  --cx-lab: 240px; --cx-col: minmax(0, 1fr); --cx-gap: 20px;
  position: relative; color: var(--cx-ink); margin-bottom: 56px;
}
html.dark .cx {
  --cx-ink: #e6e9ef; --cx-mut: #a3abb8; --cx-line: #2a3342; --cx-soft: #1b2433; --cx-bg: #161c26;
  --cx-blue: #5ea3ff; --cx-blue-h: #82b8ff; --cx-navy: #9cc4ff; --cx-best-bg: #1d2c44; --cx-ok: #4cc785; --cx-way: #f0a24b;
  --cx-hover: #232d3d; --cx-ring: #5ea3ff;
}

/* --- кнопки --- */
.cx-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border: 0; border-radius: 10px;
  font: inherit; font-size: 15px; font-weight: 500; line-height: 1.2; cursor: pointer; text-decoration: none; transition: background-color .15s, color .15s, box-shadow .15s; }
.cx-btn-pri { background: var(--cx-blue); color: #fff; font-weight: 700; }
.cx-btn-pri:hover { background: var(--cx-blue-h); color: #fff; }
html.dark .cx-btn-pri { color: #0f141c; }
.cx-btn-sec { background: var(--cx-soft); color: var(--cx-ink); font-weight: 700; }
.cx-btn-sec:hover { background: var(--cx-hover); color: var(--cx-ink); }
.cx-btn-ghost { background: transparent; color: var(--cx-ink); padding: 0 12px; }
.cx-btn-ghost:hover { background: var(--cx-soft); }
.cx-btn-ghost svg { color: var(--cx-mut); }
.cx-btn-block { width: 100%; }
.cx-btn:disabled { opacity: .6; cursor: default; }
.cx :focus-visible { outline: 2px solid var(--cx-ring); outline-offset: 2px; }
.cx-btn-sm { min-height: 36px; padding: 0 12px; font-size: 13.5px; border-radius: 9px; }

/* --- панель инструментов --- */
.cx-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 4px 0 16px; }
.cx-bar-r { display: flex; flex-wrap: wrap; gap: 4px; }
.cx-seg { display: inline-flex; padding: 4px; border-radius: 12px; background: var(--cx-soft); }
.cx-seg-btn { min-height: 40px; padding: 0 16px; border: 0; border-radius: 9px; background: transparent; color: var(--cx-ink);
  font: inherit; font-size: 15px; font-weight: 500; line-height: 1; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.cx-seg-btn.on { background: var(--cx-bg); color: var(--cx-blue); box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
.cx-seg-btn:disabled { color: var(--cx-mut); cursor: default; }
.cx-seg-n { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--cx-best-bg); color: var(--cx-blue);
  font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; }

/* --- добавление модели --- */
.cx-add { display: grid; grid-template-columns: minmax(260px, 460px) 1fr; align-items: end; gap: 8px 16px; margin-bottom: 20px; }
.cx-add-lab { grid-column: 1 / -1; font-size: 13px; font-weight: 500; color: var(--cx-mut); }
.cx-combo { position: relative; }
.cx-combo-ico { position: absolute; left: 12px; top: 13px; color: var(--cx-mut); pointer-events: none; display: flex; }
.cx-input { box-sizing: border-box; width: 100%; height: 46px; padding: 0 14px 0 40px; border: 1px solid var(--field-line, #838f9f); border-radius: 12px;
  background: var(--cx-bg); color: var(--cx-ink); font: inherit; font-size: 16px; transition: border-color .15s, box-shadow .15s; }
.cx-input:hover { border-color: var(--cx-mut); }
.cx-input:focus { outline: none; border-color: var(--cx-blue); box-shadow: 0 0 0 2px var(--cx-blue); }
.cx-input:disabled { background: var(--cx-soft); cursor: not-allowed; }
.cx-list { position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 6px); max-height: 360px; overflow-y: auto; margin: 0; padding: 6px; list-style: none;
  background: var(--cx-bg); border: 1px solid var(--cx-line); border-radius: 14px; box-shadow: 0 12px 32px rgba(15, 25, 45, .16); }
.cx-opt { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 10px; cursor: pointer; }
.cx-opt img { width: 40px; height: 40px; object-fit: contain; border-radius: 8px; background: var(--cx-soft); flex: none; mix-blend-mode: multiply; }
html.dark .cx-opt img { background: #f2f4f7; mix-blend-mode: normal; }
.cx-opt span { display: flex; flex-direction: column; min-width: 0; }
.cx-opt b { font-size: 14.5px; color: var(--cx-navy); }
.cx-opt em { font-style: normal; font-size: 12.5px; color: var(--cx-mut); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cx-opt.is-active, .cx-opt:hover { background: var(--cx-soft); }
.cx-opt-none { padding: 12px; font-size: 14px; color: var(--cx-mut); }
.cx-sugg { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.cx-sugg-lab { font-size: 13px; color: var(--cx-mut); margin-right: 2px; }
.cx-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border: 1px solid var(--cx-line); border-radius: 999px;
  background: var(--cx-bg); color: var(--cx-ink); font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; }
.cx-chip svg { color: var(--cx-blue); }
.cx-chip:hover { border-color: var(--cx-blue); color: var(--cx-blue); }
.cx-warn { margin: 0 0 16px; padding: 12px 16px; border-radius: 12px; background: #fff6e6; color: #6b4600; font-size: 14px; }
html.dark .cx-warn { background: #2e2414; color: #f0c98a; }

/* --- сетка сравнения --- */
.cx-scroll { overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; }
.cx-scroll:focus-visible { outline-offset: -3px; }
.cx-grid { display: grid; grid-template-columns: var(--cx-lab) repeat(var(--n), var(--cx-col)); min-width: calc(var(--cx-lab) + var(--n) * 170px); }
.cx-row, .cx-sec { display: contents; }
.cx-span { grid-column: 1 / -1; }

/* шапка с моделями */
.cx-head { padding: 0 var(--cx-gap) 20px 0; }
.cx-corner { display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; font-size: 13px; color: var(--cx-mut); }
.cx-legend { display: flex; align-items: center; gap: 8px; line-height: 1.35; }
.cx-legend i { width: 10px; height: 10px; border-radius: 3px; background: var(--cx-blue); flex: none; }
.cx-legend-eq b { font-weight: 500; padding: 1px 7px; border-radius: 999px; background: var(--cx-soft); white-space: nowrap; }
.cx-card { display: flex; flex-direction: column; gap: 8px; padding: 0 var(--cx-gap) 22px; border-left: 1px solid var(--cx-line); min-width: 0; }
.cx-card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.cx-img { width: 116px; height: 116px; border-radius: 16px; background: var(--cx-soft); display: flex; align-items: center; justify-content: center; flex: none; }
.cx-img img { width: 96px; height: 96px; object-fit: contain; mix-blend-mode: multiply; }
html.dark .cx-img { background: #f2f4f7; }
.cx-x { width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--cx-soft); color: var(--cx-mut); cursor: pointer; display: flex; align-items: center; justify-content: center; flex: none; }
.cx-x:hover { color: var(--cx-ink); background: var(--cx-hover); }
.cx-model { font-size: 18px; font-weight: 700; line-height: 1.25; color: var(--cx-navy); text-decoration: none; overflow-wrap: anywhere; }
.cx-model:hover { color: var(--cx-blue); }
.cx-sub { font-size: 13px; line-height: 1.4; color: var(--cx-mut); }
.cx-price-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-top: 2px; }
.cx-price { font-size: 22px; font-weight: 900; letter-spacing: -.2px; font-variant-numeric: tabular-nums; }
.cx-old { font-size: 14px; color: var(--cx-mut); }
.cx-status { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 500; }
.cx-status i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; }
.cx-st-ok { color: var(--cx-ok); }
.cx-st-way { color: var(--cx-way); }
.cx-st-off { color: var(--cx-mut); }
.cx-card .cx-btn-block { margin-top: auto; }

/* главные отличия */
.cx-key { margin: 4px 0 8px; padding: 24px 28px; border-radius: 20px; background: var(--cx-soft); }
.cx-h2 { margin: 0 0 16px; font-size: 20px; font-weight: 700; color: var(--cx-ink); }
.cx-key-grid { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 24px; }
.cx-key-model { font-weight: 700; color: var(--cx-navy); margin-bottom: 6px; overflow-wrap: anywhere; }
.cx-key ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 4px; }
.cx-key li { position: relative; padding-left: 16px; font-size: 15px; line-height: 1.45; }
.cx-key li::before { content: ''; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--cx-blue); }
.cx-muted { margin: 0; font-size: 14px; color: var(--cx-mut); }

/* разделы */
.cx-sec-h { margin-top: 28px; border-bottom: 2px solid var(--cx-ink); }
.cx-sec-btn { width: 100%; display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 0; border: 0; background: transparent; cursor: pointer;
  color: var(--cx-ink); text-align: left; font-family: inherit; }
.cx-sec-t { font-size: 20px; font-weight: 700; }
.cx-sec-n { font-size: 14px; color: var(--cx-mut); font-weight: 500; margin-right: auto; }
.cx-chev { color: var(--cx-mut); transition: transform .2s; transform: rotate(180deg); flex: none; }
.cx-sec.is-closed .cx-chev { transform: none; }
.cx-sec.is-closed .cx-row { display: none; }

/* строки */
.cx-lab, .cx-cell { padding: 14px var(--cx-gap); border-bottom: 1px solid var(--cx-line); font-size: 15px; line-height: 1.45; }
.cx-lab { padding-left: 0; font-size: 14px; color: var(--cx-mut); }
.cx-cell { font-variant-numeric: tabular-nums; overflow-wrap: anywhere; min-width: 0; }
.cx-row:hover > * { background: var(--cx-soft); }
.cx-cell.is-best { color: var(--cx-blue); font-weight: 700; }
.cx-best { display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 999px; background: var(--cx-best-bg); color: var(--cx-blue);
  font-size: 12px; font-weight: 700; vertical-align: 1px; white-space: nowrap; }
.cx-na { color: var(--cx-mut); }
.cx-same-cell { grid-column: span var(--n); color: var(--cx-mut); font-size: 14.5px; }
.cx-eq { display: inline-block; margin-left: 10px; padding: 2px 8px; border-radius: 999px; background: var(--cx-soft); color: var(--cx-mut); font-size: 12px; font-weight: 500; vertical-align: 1px; white-space: nowrap; }
.cx-clamp { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cx-more { display: inline-block; margin-top: 4px; padding: 6px 0; min-height: 32px; border: 0; background: none; color: var(--cx-blue); font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; }
.cx-more[hidden] { display: none; }
.cx-same-cell .cx-clamp + .cx-eq { margin: 6px 0 0; }
.cx.only-diff .cx-row.is-same, .cx.only-diff .cx-sec.no-diff { display: none; }

/* компактная шапка при прокрутке */
.cx-pin { position: sticky; top: 0; height: 0; z-index: 40; pointer-events: none; }
.cx-pin-in { position: absolute; left: 0; right: 0; top: 0; overflow: hidden; background: var(--cx-bg); border-bottom: 1px solid var(--cx-line); box-shadow: 0 6px 20px rgba(15, 25, 45, .06);
  transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .18s, transform .18s, visibility 0s .18s; }
.cx-pin.on .cx-pin-in { opacity: 1; transform: none; visibility: visible; pointer-events: auto; transition: opacity .18s, transform .18s; }
.cx-pin-track { display: grid; grid-template-columns: var(--cx-lab) repeat(var(--n), var(--cx-col)); min-width: calc(var(--cx-lab) + var(--n) * 170px); will-change: transform; }
.cx-pin-lab { display: flex; align-items: center; padding: 10px var(--cx-gap) 10px 0; font-size: 13px; font-weight: 500; color: var(--cx-mut); }
.cx-pin-card { display: flex; align-items: center; gap: 10px; padding: 10px var(--cx-gap); border-left: 1px solid var(--cx-line); min-width: 0; }
.cx-pin-card img { width: 36px; height: 36px; object-fit: contain; border-radius: 8px; background: var(--cx-soft); flex: none; mix-blend-mode: multiply; }
html.dark .cx-pin-card img { background: #f2f4f7; }
.cx-pin-card span { display: flex; flex-direction: column; min-width: 0; }
.cx-pin-card b { font-size: 14px; color: var(--cx-navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cx-pin-card em { font-style: normal; font-size: 13px; color: var(--cx-ink); font-weight: 700; display: flex; flex-wrap: wrap; gap: 0 8px; }
.cx-pin-st { font-style: normal; font-weight: 500; }

/* помощь инженера */
.cx-help { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; margin-top: 48px; padding: 32px 36px; border-radius: 22px;
  background: #023881; color: #fff; }
html.dark .cx-help { background: #12284d; }
.cx-help h2 { margin: 0; font-size: 26px; font-weight: 900; color: #fff; }
.cx-help p { margin: 10px 0 0; font-size: 16px; line-height: 1.5; color: #d6e2f3; max-width: 620px; }
.cx-help-act { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.cx-btn-inv { background: #fff; color: #023881; font-weight: 700; }
.cx-btn-inv:hover { background: #e6eefb; color: #023881; }
.cx-btn-line-inv { background: transparent; color: #fff; font-weight: 700; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .5); }
@media (hover: hover) and (pointer: fine) { .cx-btn-line-inv:hover { box-shadow: inset 0 0 0 1.5px #fff; color: #fff; } }
.cx-tel { color: #fff; font-weight: 700; font-size: 18px; text-decoration: none; white-space: nowrap; padding: 10px 4px; }
.cx-tel:hover { color: #d6e2f3; }
.cx-help :focus-visible { outline-color: #fff; }

/* пустое сравнение */
.cx-empty { padding: 40px 32px; border-radius: 22px; background: var(--cx-soft); text-align: center; }
.cx-empty-title { margin: 0 0 10px; font-size: 26px; font-weight: 900; color: var(--cx-navy); }
.cx-empty > p { max-width: 640px; margin: 0 auto 8px; color: var(--cx-mut); font-size: 16px; line-height: 1.55; }
.cx-empty-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 24px !important; }
.cx-pop { margin-top: 28px; }
.cx-pop-h { margin: 0 0 14px; font-size: 16px; font-weight: 700; color: var(--cx-ink); }
.cx-pop-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; text-align: left; }
.cx-pop-card { display: flex; flex-direction: column; gap: 6px; padding: 16px; border-radius: 16px; background: var(--cx-bg); border: 1px solid var(--cx-line);
  color: var(--cx-ink); text-decoration: none; transition: border-color .15s, box-shadow .15s, transform .15s; }
@media (hover: hover) and (pointer: fine) { .cx-pop-card:hover { border-color: var(--cx-blue); box-shadow: 0 8px 24px rgba(15, 25, 45, .08); transform: translateY(-1px); color: var(--cx-ink); } }
.cx-pop-imgs { display: flex; gap: 6px; margin-bottom: 4px; }
.cx-pop-imgs img { width: 56px; height: 56px; object-fit: contain; border-radius: 10px; background: var(--cx-soft); mix-blend-mode: multiply; }
html.dark .cx-pop-imgs img { background: #f2f4f7; }
.cx-pop-card b { font-size: 15px; color: var(--cx-navy); }
.cx-pop-card em { font-style: normal; font-size: 13px; color: var(--cx-mut); }
.cx-is-empty .cx-add { grid-template-columns: minmax(260px, 520px); justify-content: center; }
.cx-is-empty .cx-add-lab { text-align: left; }

/* уведомление */
.cx-toast { position: fixed; left: 50%; bottom: 28px; z-index: 200; width: max-content; max-width: calc(100vw - 32px); box-sizing: border-box; transform: translate(-50%, 16px); padding: 12px 18px; border-radius: 12px;
  background: #1d1d1f; color: #fff; font-size: 14px; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
.cx-toast.on { opacity: 1; transform: translate(-50%, 0); }

/* заголовки внутри карточек и разделов — без чужих отступов */
.cx-model-h, .cx-sec-h { margin: 0; font: inherit; }
.cx-sec-h { margin-top: 28px; }
.cx-invite { margin: 4px 0 8px; padding: 18px 22px; border-radius: 16px; border: 1px dashed var(--cx-line); color: var(--cx-mut); font-size: 15px; }
.cx-invite b { color: var(--cx-ink); }
/* разные классы напряжения (48 В и HV) в одном сравнении — 12.10.2026 */
.cx-warn { margin: 4px 0 8px; padding: 16px 22px; border-radius: 16px; background: var(--cx-best-bg); border-left: 3px solid var(--cx-blue); color: var(--cx-ink); font-size: 15px; line-height: 1.5; }
.cx-warn b { font-weight: 600; }
.cx-warn a { color: var(--cx-blue); text-decoration: underline; text-underline-offset: 2px; }
.cx-swipe { display: none; align-items: center; gap: 8px; margin: 0 0 10px; font-size: 13px; color: var(--cx-mut); }
.cx-row.is-partial .cx-cell { color: var(--cx-mut); }
/* кольцо фокуса не обрезается краем прокрутки */
.cx-scroll { padding: 4px 4px 0; margin: -4px -4px 0; }
/* планшет и узкий ПК: если таблица шире области, колонка подписей остаётся на месте */
@media (min-width: 761px) {
  .cx.is-wide .cx-lab, .cx.is-wide .cx-head.cx-corner, .cx.is-wide .cx-pin-lab { position: sticky; left: 0; z-index: 2; background: var(--cx-bg); }
  html.dark .cx.is-wide .cx-lab, html.dark .cx.is-wide .cx-head.cx-corner { background: var(--bg, #0f141c); }
  .cx.is-wide .cx-row:hover > .cx-lab { background: var(--cx-soft); }
  .cx.is-wide .cx-sec-h, .cx.is-wide .cx-key, .cx.is-wide .cx-invite, .cx.is-wide .cx-warn { position: sticky; left: 0; width: var(--cx-vw); box-sizing: border-box; }
}
/* тёмная тема сайта красит ссылки и поля — возвращаем свои цвета */
html.dark .cx a.cx-model, html.dark .cx a.cx-model:visited { color: var(--cx-navy); }
html.dark .cx a.cx-btn-sec { color: var(--cx-ink); }
html.dark .cx a.cx-btn-pri { color: #0f141c; }
html.dark .cx-help a.cx-btn-line-inv, html.dark .cx-help a.cx-tel { color: #fff; }
html.dark .cx .cx-input { background: var(--cx-bg); color: var(--cx-ink); border-color: var(--field-line, #66758a); }
html.dark .cx .cx-empty-title { color: var(--cx-navy); }
html.dark .cx-toast { background: #2a3342; }

@media (prefers-reduced-motion: reduce) {
  .cx-pin-in, .cx-chev, .cx-toast, .cx-pop-card { transition: none; }
}

/* --- планшет --- */
@media (max-width: 1024px) {
  .cx { --cx-lab: 200px; --cx-gap: 16px; }
  .cx-img { width: 96px; height: 96px; }
  .cx-img img { width: 80px; height: 80px; }
  .cx-price { font-size: 20px; }
}

/* --- телефон: две модели в кадре, остальные — свайпом; подписи и заголовки стоят на месте --- */
@media (max-width: 760px) {
  .cx { --cx-gap: 12px; --cx-colw: calc((var(--cx-vw) - 12px) / 2); }
  .cx-bar { margin-bottom: 12px; }
  .cx-seg { width: 100%; }
  .cx-seg-btn { flex: 1; justify-content: center; padding: 0 10px; font-size: 14px; }
  .cx-bar-r { width: 100%; justify-content: flex-start; }
  .cx-btn-ghost span { font-size: 14px; }
  .cx-add { grid-template-columns: 1fr; }
  .cx-scroll { scroll-snap-type: x mandatory; scroll-padding-left: 0; }
  .cx-grid, .cx-pin-track { grid-template-columns: repeat(var(--n), var(--cx-colw)); width: max-content; min-width: 100%; column-gap: 12px; }
  .cx-lab, .cx-head.cx-corner, .cx-pin-lab { background: transparent; }
  .cx-scroll { padding: 0; margin: 0; }
  .cx-scroll :focus-visible { outline-offset: -2px; }
  .cx-swipe { display: flex; }
  .cx-toast { bottom: calc(84px + env(safe-area-inset-bottom)); }
  .cx-input { font-size: 16px; }
  .cx-head.cx-corner, .cx-pin-lab { display: none; }
  .cx-card { padding: 0 0 18px; border-left: 0; scroll-snap-align: start; }
  .cx-img { width: 100%; height: 108px; }
  .cx-x { position: relative; }
  .cx-card-top { position: relative; }
  .cx-card-top .cx-x { position: absolute; right: 6px; top: 6px; background: var(--cx-bg); box-shadow: 0 1px 4px rgba(0, 0, 0, .12); }
  .cx-model { font-size: 15px; }
  .cx-price { font-size: 18px; }
  .cx-sub { font-size: 12px; }
  .cx-card .cx-btn { min-height: 44px; font-size: 14px; padding: 0 10px; }
  .cx-span, .cx-lab, .cx-same-cell { position: sticky; left: 0; width: var(--cx-vw); box-sizing: border-box; grid-column: 1 / -1; }
  .cx-key { padding: 18px; border-radius: 16px; }
  .cx-key-grid { grid-template-columns: 1fr; gap: 14px; }
  .cx-sec-h { margin-top: 20px; }
  .cx-sec-t { font-size: 17px; }
  .cx-sec-n { font-size: 13px; }
  .cx-lab { padding: 12px 0 2px; border-bottom: 0; font-size: 13px; }
  .cx-cell { padding: 0 0 12px; font-size: 15px; }
  .cx-row.is-diff .cx-cell { border-bottom: 1px solid var(--cx-line); }
  .cx-same-cell { padding: 0 0 12px; }
  .cx-best { display: block; width: max-content; margin: 4px 0 0; }
  .cx-pin-card { border-left: 0; padding: 8px 0; }
  .cx-pin-card img { width: 30px; height: 30px; }
  .cx-help { padding: 22px 20px; border-radius: 18px; }
  .cx-help h2 { font-size: 21px; }
  .cx-help-act { width: 100%; }
  .cx-help-act .cx-btn { flex: 1 1 100%; }
  .cx-empty { padding: 28px 18px; }
  .cx-empty-title { font-size: 22px; }
}

/* ===== ПР-12 (17.10.2026): сравнение — покупка оранжевая, легенда в панели, пустое состояние, телефон ===== */
.cx-btn-buy { background: var(--orange, #e04e0e); color: #fff; font-weight: 700; }
.cx-btn-buy:hover { background: var(--orange-h, #c7420a); color: #fff; }
.cx-btn-line { background: transparent; color: var(--cx-ink); border: 1px solid var(--line-2, #c9d1dc); font-weight: 600; border-radius: 999px; }
.cx-btn-line:hover { background: var(--cx-soft); border-color: var(--cx-ink); color: var(--cx-ink); }
.cx-bar { justify-content: flex-start; }
.cx-bar-r { margin-left: auto; }
.cx-legends { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; font-size: 13px; color: var(--cx-mut); }
.cx-img { width: 100%; height: 148px; }
.cx-img img { width: 120px; height: 120px; margin: 0 auto; }
.cx-price, .cx-cell, .cx-pin-txt em, .cx-seg-n { font-variant-numeric: tabular-nums; }
/* пустое сравнение: поиск по левому краю под подзаголовком */
.cx-is-empty .cx-add { grid-template-columns: minmax(260px, 560px); justify-content: start; }
.cx-pop-imgs { align-items: center; gap: 8px; }
.cx-pop-imgs img { width: 64px; height: 64px; }
.cx-pop-imgs i { font-style: normal; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--cx-mut); }
.cx-is-empty .cx-empty { padding-top: 32px; }
@media (max-width: 760px) {
  .cx-legends { width: 100%; font-size: 12.5px; }
  .cx-img img { width: 88px; height: 88px; }
  /* разделитель — на всю строку, ячейки без своих линий */
  .cx-lab { border-top: 1px solid var(--cx-line); padding-top: 12px; }
  .cx-sec-h + .cx-row > .cx-lab { border-top: 0; }
  .cx-cell, .cx-row.is-diff .cx-cell, .cx-same-cell { border-bottom: 0; min-height: 0; }
  .cx-grid { align-items: start; }
  .cx-best { margin-top: 2px; }
}
