/* OPTIK61 A1, этап 4 — карточка товара. Эталон — макет maket/card (D:\work\optik61-design\card\card.css).
   Токены и кнопки — base.css (оболочка). Всё — внутри .o61-pdp, чтобы не задеть другие страницы и блоки темы.
   Карточка товара в ленте (.o61-pcard) — своя копия до общего компонента этапа 3 (договорённость в ТЗ этапа 4). */

/* ---------- основа и сброс поверх темы ---------- */
.o61-pdp { background: #fff; color: var(--ink-900); font: 400 15px/1.5 var(--f-ui); padding-bottom: 8px; }
:where(.o61-pdp) button { font: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0; cursor: pointer; }
:where(.o61-pdp) button[disabled] { cursor: default; }
:where(.o61-pdp) a { color: inherit; text-decoration: none; }
:where(.o61-pdp) a:hover { text-decoration: none; }
:where(.o61-pdp) :is(h1, h2, h3) { color: var(--ink-900); text-transform: none; }
:where(.o61-pdp) :where(ul, ol, dl, figure, p) { margin: 0; padding: 0; }
:where(.o61-pdp) img { max-width: 100%; display: block; }
.o61-pdp .o61-ico { width: 20px; height: 20px; }
.o61-noscroll, .o61-noscroll body { overflow: hidden; }
.o61-pdp [hidden] { display: none !important; }
.o61-pdp .o61-btn:focus-visible, .o61-pdp button:focus-visible, .o61-pdp a:focus-visible, .o61-pdp input:focus-visible, .o61-pdp summary:focus-visible { outline: 2px solid var(--blue-500); outline-offset: 2px; }
.o61-pdp .o61-btn { text-decoration: none; }
.o61-pdp .o61-btn--ghost { color: #fff; border: 1px solid rgba(255,255,255,.32); background: rgba(255,255,255,.05); }
.o61-pdp .o61-btn--ghost:hover, .o61-pdp .o61-btn--ghost:focus { color: #fff; background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.58); }
.o61-pdp .o61-btn.is-loading { color: transparent !important; }
.o61-pdp .o61-btn.is-loading .o61-ico { opacity: 0; }
.o61-pdp .o61-btn--ghost.is-loading::before, .o61-pdp .o61-btn--gold.is-loading::before { border-color: var(--navy-950) transparent var(--navy-950) transparent; }
.o61-pdp .o61-btn--ghost.is-loading::before { border-color: #fff transparent #fff transparent; }
@keyframes o61-pop { from { opacity: 0; transform: translateY(14px) scale(.98); } }
@keyframes o61-shake { 25% { transform: translateX(-3px); } 75% { transform: translateX(3px); } }
@keyframes o61-cellpop { 0% { transform: scale(1); } 40% { transform: scale(1.07); box-shadow: 0 8px 18px -8px rgba(29,87,219,.45); } 100% { transform: scale(1); } }
@keyframes o61-flash { 0%, 100% { box-shadow: 0 0 0 0 rgba(29,87,219,0); } 30% { box-shadow: 0 0 0 5px rgba(29,87,219,.3); } }

/* общие мелкие компоненты страницы */
.o61-pdp .o61-eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 700 12.5px/1 var(--f-ui); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-300); }
.o61-pdp .o61-eyebrow::before { content: ""; flex: none; width: 36px; height: 10px; opacity: .85; background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat, linear-gradient(currentColor, currentColor) left bottom / 1px 10px no-repeat, linear-gradient(currentColor, currentColor) 50% 100% / 1px 8px no-repeat, linear-gradient(currentColor, currentColor) right bottom / 1px 10px no-repeat, repeating-linear-gradient(90deg, currentColor 0 1px, transparent 1px 4.5px) left bottom / 100% 4px no-repeat; }
.o61-pdp .o61-eyebrow--dark { color: var(--blue-600); }
.o61-pdp .o61-stepper { display: inline-flex; align-items: center; height: 40px; border: 1.5px solid var(--line-2); border-radius: 10px; background: #fff; flex: none; }
.o61-pdp .o61-stepper button { width: 34px; height: 100%; display: grid; place-items: center; color: var(--navy-900); border-radius: 8px; transition: background .14s var(--ease), color .14s var(--ease); }
.o61-pdp .o61-stepper button:hover { color: var(--blue-600); background: var(--bg-soft); }
.o61-pdp .o61-stepper input { width: 44px; height: 100%; text-align: center; border: 0; font: 700 15px var(--f-head); background: none; outline: none; color: var(--ink-900); padding: 0; -moz-appearance: textfield; box-shadow: none; }
.o61-pdp .o61-stepper input::-webkit-inner-spin-button, .o61-pdp .o61-stepper input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.o61-pdp .o61-stepper .o61-ico { width: 16px; height: 16px; stroke-width: 2; }
.o61-pdp .o61-stepper--dark { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.24); height: 46px; }
.o61-pdp .o61-stepper--dark button { color: #fff; width: 38px; }
.o61-pdp .o61-stepper--dark button:hover { background: rgba(255,255,255,.1); color: var(--gold-300); }
.o61-pdp .o61-stepper--dark input { color: #fff; width: 56px; font-size: 17px; }
.o61-pdp .o61-stepper--lg { height: 54px; border-radius: 12px; }
.o61-pdp .o61-stepper--lg button { width: 44px; }
.o61-pdp .o61-stepper--lg .jq-number__field { display: block; height: 100%; }
.o61-pdp .o61-stepper--lg input { width: 56px; font-size: 18px; }
.o61-pdp .o61-badge { height: 26px; padding: 0 10px 0 8px; border-radius: 8px; display: inline-flex; align-items: center; gap: 6px; font: 700 12px/1 var(--f-ui); letter-spacing: .03em; }
.o61-pdp .o61-badge--hit { background: var(--navy-900); color: #fff; }
.o61-pdp .o61-badge--hit::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold-400); }
.o61-pdp .o61-badge--new { background: var(--g-gold); color: var(--navy-950); }
.o61-pdp .o61-badge--sale { background: var(--err-600); color: #fff; }
.o61-pdp .o61-fav { position: absolute; right: 10px; top: 10px; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.94); display: grid; place-items: center; color: var(--navy-900); z-index: 3; box-shadow: var(--sh-1); transition: transform .16s var(--ease), color .16s var(--ease); }
.o61-pdp .o61-fav:hover { transform: scale(1.08); color: var(--err-600); }
.o61-pdp .o61-fav[aria-pressed="true"] { color: var(--err-600); }
.o61-pdp .o61-fav[aria-pressed="true"] svg { fill: currentColor; }
.o61-pdp .o61-stock { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 600; color: var(--ok-600); white-space: nowrap; }
.o61-pdp .o61-stock::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px var(--ok-100); flex: none; }
.o61-pdp .o61-stock--no { color: var(--ink-500); }
.o61-pdp .o61-stock--no::before { box-shadow: 0 0 0 3px var(--bg-tint); }

/* ---------- хлебные крошки ---------- */
.o61-crumbs { background: var(--bg-soft); }
.o61-crumbs ol { list-style: none; margin: 0; padding: 18px 0 4px; display: flex; flex-wrap: wrap; gap: 6px; font-size: 13.5px; color: var(--ink-500); }
.o61-crumbs li { display: flex; align-items: center; gap: 6px; }
.o61-crumbs li + li::before { content: ""; width: 5px; height: 5px; border-top: 1.5px solid var(--ink-400); border-right: 1.5px solid var(--ink-400); transform: rotate(45deg); margin-right: 4px; }
.o61-crumbs a { color: var(--ink-500); transition: color .14s var(--ease); }
.o61-crumbs a:hover { color: var(--blue-600); }
.o61-crumbs [aria-current] { color: var(--ink-900); font-weight: 500; }
.o61-crumbs__back { display: none; }

/* ---------- товар: галерея + покупка ---------- */
.o61-pd { background: linear-gradient(180deg, var(--bg-soft) 0, #fff 640px); padding: 14px 0 0; }
.o61-pd__grid { display: grid; grid-template-columns: minmax(0, 1fr) 520px; gap: 40px; align-items: start; }

.o61-gal { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 14px; position: sticky; top: 16px; }
.o61-gal__thumbs { display: flex; flex-direction: column; gap: 10px; max-height: 560px; overflow: auto; scrollbar-width: none; padding: 2px; }
.o61-gal__thumbs::-webkit-scrollbar { display: none; }
.o61-pdp .o61-gal__thumbs button { flex: none; width: 80px; height: 60px; border-radius: 12px; overflow: hidden; border: 2px solid transparent; background: #fff; box-shadow: var(--sh-1); transition: border-color .16s var(--ease), transform .16s var(--ease); }
.o61-pdp .o61-gal__thumbs button:hover { transform: translateY(-1px); border-color: var(--line-2); }
.o61-pdp .o61-gal__thumbs button[aria-selected="true"] { border-color: var(--blue-600); }
.o61-gal__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.o61-gal__stage { grid-column: 2; position: relative; border-radius: var(--r-28); overflow: hidden; background: #fff; box-shadow: var(--sh-2), inset 0 0 0 1px rgba(10,27,61,.05); aspect-ratio: 4 / 3; isolation: isolate; cursor: zoom-in; }
.o61-gal__track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.o61-gal__track::-webkit-scrollbar { display: none; }
.o61-gal__slide { flex: 0 0 100%; margin: 0; position: relative; scroll-snap-align: center; }
.o61-gal__slide img { width: 100%; height: 100%; object-fit: cover; }
.o61-gal__badges { position: absolute; left: 18px; top: 18px; z-index: 3; display: flex; gap: 6px; flex-wrap: wrap; }
.o61-pdp .o61-gal__fav { right: 16px; top: 16px; width: 42px; height: 42px; }
.o61-pdp .o61-gal__zoom { position: absolute; right: 16px; bottom: 16px; z-index: 3; display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; border-radius: 999px; background: rgba(255,255,255,.94); box-shadow: var(--sh-2); font-size: 13.5px; font-weight: 600; color: var(--navy-900); transition: background .16s var(--ease), color .16s var(--ease); }
.o61-pdp .o61-gal__zoom:hover { background: #fff; color: var(--blue-600); }
.o61-gal__zoom .o61-ico { width: 16px; height: 16px; }
.o61-gal__cnt { position: absolute; left: 18px; bottom: 18px; z-index: 3; height: 28px; padding: 0 10px; border-radius: 999px; background: rgba(10,27,61,.72); color: #fff; font-size: 12.5px; font-weight: 600; display: inline-flex; align-items: center; }
.o61-gal__dots { display: none; }
.o61-gal__hint { grid-column: 2; display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--ink-500); }
.o61-gal__hint .o61-ico { width: 16px; height: 16px; color: var(--blue-600); }
.o61-gal > .o61-gal__stage:first-child, .o61-gal > .o61-gal__stage:first-child ~ .o61-gal__hint { grid-column: 1 / -1; }
/* модель без фото: рамка 4:3 осталась (раскладка не прыгает), блок «Фото скоро будет» занимает её целиком, лупы и «Увеличить» нет */
.o61-gal--none .o61-gal__stage { cursor: default; }
.o61-gal__slide .o61-noimg { position: absolute; inset: 0; }
.o61-gal__slide .o61-noimg .o61-ico { width: 72px; height: 72px; }
.o61-gal__slide .o61-noimg small { font-size: 14px; }

/* лупа: двигаем transform, а не left/top */
.o61-loupe { position: absolute; left: -105px; top: -105px; z-index: 4; width: 210px; height: 210px; border-radius: 50%; pointer-events: none; opacity: 0; transition: opacity .18s var(--ease); background-repeat: no-repeat; background-color: #fff; box-shadow: 0 0 0 4px #fff, 0 0 0 5px rgba(10,27,61,.12), 0 24px 40px -12px rgba(6,18,41,.5); will-change: transform; }
.o61-loupe.is-on { opacity: 1; }
.o61-loupe::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 32% 28%, rgba(255,255,255,.35), transparent 42%); }

/* правая колонка */
.o61-buy { min-width: 0; padding-top: 4px; }
.o61-pdp .o61-buy__h1 { margin: 0; font: 800 var(--t-39)/1.08 var(--f-head); letter-spacing: -.02em; }
.o61-buy__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 16px; margin-top: 12px; font-size: 14px; color: var(--ink-500); }
.o61-buy__meta b { color: var(--ink-900); font-weight: 600; }
/* «Бренд Glodiatr» — ссылка на страницу бренда (QA 12.11): синяя с пунктиром, как ссылки в тексте сайта; наведение — только мышью */
.o61-pdp .o61-buy__meta a:not(.o61-buy__rating) { color: var(--blue-600); text-decoration: underline; text-decoration-style: dotted; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.o61-pdp .o61-buy__meta a b { color: inherit; }
/* зона нажатия ≥ 40 px по высоте без изменения вида (как P2-9): поля сверху и снизу, строка не растёт (QA 12.11, 375: было 16 px) */
.o61-pdp .o61-buy__meta a:not(.o61-buy__rating) { display: inline-block; padding-block: 12px; margin-block: -12px; }
.o61-pdp .o61-buy__meta a:not(.o61-buy__rating):hover, .o61-pdp .o61-buy__meta a:not(.o61-buy__rating):focus { color: var(--blue-600); }
@media (hover: hover) and (pointer: fine) { .o61-pdp .o61-buy__meta a:not(.o61-buy__rating):hover { text-decoration-style: solid; } }
.o61-pdp .o61-buy__rating { color: var(--gold-600); font-weight: 600; }
.o61-buy__price { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.o61-buy__pricebox b { font: 800 var(--t-49)/1 var(--f-head); letter-spacing: -.025em; }
.o61-buy__pricebox small { font: 500 16px var(--f-ui); color: var(--ink-500); margin-left: 8px; }
.o61-buy__from { font: 600 20px var(--f-head); color: var(--ink-500); margin-right: 8px; vertical-align: 6px; }
.o61-buy__zones { display: block; margin-top: 6px; font-size: 13px; color: var(--ink-700); }
.o61-pdp .o61-buy__zones a { color: var(--blue-600); font-weight: 600; margin-left: 4px; white-space: nowrap; }
.o61-pdp .o61-buy__zones a:hover { text-decoration: underline; text-underline-offset: 3px; }
.o61-buy__login { font-size: 15px; color: var(--ink-700); }
.o61-pdp .o61-buy__login a, .o61-pdp .o61-plain__login a { color: var(--blue-600); font-weight: 600; }
.o61-buy__checked { margin-top: 6px !important; font-size: 12.5px; color: var(--ink-500); }

/* диоптрийная шкала — опознавательный элемент */
/* QA Игоря 11.11: шкала читается как линейка — диапазон в заголовке, цифры целых диоптрий под рисками,
   высота риски = целая / половина / четверть, цвет = есть / нет; значок статуса справа и есть легенда */
.o61-axis { --tk-ok: var(--navy-800); --tk-out: #E59A9A; margin-top: 14px; padding: 12px 16px 10px; border-radius: var(--r-16); background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-1); }
.o61-axis__cap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 14px; color: var(--ink-500); }
.o61-axis__rng { font-size: 13.5px; color: var(--ink-500); }
.o61-axis__rng b { margin-left: 2px; font-size: 15px; font-weight: 700; color: var(--navy-900); letter-spacing: -.005em; }
.o61-axis__note { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 7px; font-size: 13px; color: var(--ink-700); text-align: right; }
.o61-axis__note b { font-weight: 700; color: var(--err-600); }
.o61-axis__note b.is-ink { color: var(--ink-900); }
.o61-axis__leg { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.o61-axis__leg + .o61-axis__leg { margin-left: 8px; }
/* значок-риска: тот же цвет, что риски на шкале */
.o61-axis__key { width: 3px; height: 13px; border-radius: 1.5px; background: var(--tk-ok); flex: none; }
.o61-axis__key.is-out { background: var(--tk-out); }
.o61-axis__bar { width: 4px; height: 12px; border-radius: 2px; background: linear-gradient(180deg, var(--gold-300), var(--gold-500)); flex: none; }
.o61-axis__plot { position: relative; height: 46px; margin: 6px 6px 0; }
.o61-axis__plot::after { content: ""; position: absolute; left: -6px; right: -6px; bottom: 0; height: 1px; background: var(--line-2); }
.o61-axis__zero { position: absolute; top: 2px; bottom: 0; width: 0; border-left: 1px dashed var(--line-2); }
/* «Минус · для дали» / «Плюс · для близи» над рисками, у нуля; card.js переключает обе на короткие, если хоть одна не влезает */
.o61-axis__side { position: absolute; top: 0; height: 16px; pointer-events: none; overflow: hidden; font: 600 11.5px/16px var(--f-ui); color: var(--ink-500); white-space: nowrap; transition: opacity .2s var(--ease); }
.o61-axis__side > span { display: inline-block; }
.o61-axis__side.is-m { text-align: right; }
.o61-axis__side.is-m > span { padding-right: 9px; }
.o61-axis__side.is-p > span { padding-left: 9px; }
.o61-axis__side b { font-weight: inherit; }
.o61-axis__side .is-short, .o61-axis.is-sides-short .o61-axis__side .is-full { display: none; }
.o61-axis.is-sides-short .o61-axis__side .is-short { display: inline; }
.o61-axis.is-sides-none .o61-axis__side { visibility: hidden; }
.o61-axis.has-bars .o61-axis__side { opacity: 0; }
.o61-tk { position: absolute; bottom: 0; width: 3px; height: 10px; margin-left: -1px; background: var(--tk-ok); border-radius: 1.5px 1.5px 0 0; cursor: pointer; }
.o61-tk.is-int { height: 15px; }
.o61-tk.is-q { height: 7px; }
.o61-tk::before { content: ""; position: absolute; left: -3px; right: -3px; bottom: 0; height: 46px; }
.o61-tk.is-out { background: var(--tk-out); }
.o61-tk__bar { position: absolute; left: -.5px; bottom: 19px; width: 4px; height: 25px; border-radius: 2px; background: linear-gradient(180deg, var(--gold-300), var(--gold-500)); transform: scaleY(0); transform-origin: bottom; transition: transform .45s var(--ease); }
.o61-tk:hover { background: var(--blue-600); }
.o61-tk.is-out:hover { background: var(--err-600); }
.o61-tk[data-tip]:hover::after { content: attr(data-tip); position: absolute; bottom: 48px; left: 50%; transform: translateX(-50%); white-space: nowrap; padding: 4px 8px; border-radius: 6px; background: var(--navy-950); color: #fff; font: 600 11.5px/1.2 var(--f-ui); z-index: 6; pointer-events: none; border: 0; width: auto; height: auto; }
.o61-tk.is-out[data-tip]:hover::after { background: var(--err-600); }
.o61-axis__lbl { position: relative; height: 16px; margin: 5px 6px 0; font-size: 11.5px; color: var(--ink-500); }
.o61-axis__lbl span { position: absolute; transform: translateX(-50%); white-space: nowrap; }
.o61-axis__lbl span.is-zero { color: var(--ink-900); font-weight: 600; }
/* подсказка, что шкала живая: на мыши — навести и нажать, на пальце — вести */
.o61-axis__hint { display: flex; align-items: center; gap: 8px; margin: 9px 0 0; padding-top: 8px; border-top: 1px dashed var(--line); font-size: 12px; line-height: 1.35; color: var(--ink-500); }
.o61-axis__hint .o61-ico { width: 16px; height: 16px; flex: none; color: var(--gold-600); }
.o61-axis__hint-t { display: none; }
@media (hover: none), (pointer: coarse) { .o61-axis__hint-m { display: none; } .o61-axis__hint-t { display: inline; } }

/* признаки модели */
.o61-pdp .o61-chips { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 5px; }
.o61-chips li { height: 30px; padding: 0 11px; border-radius: 999px; background: var(--bg-tint); font-size: 12.5px; color: var(--ink-700); display: inline-flex; align-items: center; white-space: nowrap; }
.o61-pdp .o61-chips .o61-chips__rmc { position: relative; background: var(--blue-50); padding: 0; }
.o61-pdp .o61-rmc { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px 0 12px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--blue-600); }
.o61-pdp .o61-rmc .o61-ico { width: 15px; height: 15px; }
.o61-rmc__tip { position: absolute; z-index: 10; left: 50%; bottom: calc(100% + 10px); transform: translateX(-50%) translateY(4px); width: 270px; padding: 11px 13px; border-radius: 12px; background: var(--navy-950); color: #DDE5F7; font-size: 12.5px; line-height: 1.45; white-space: normal; box-shadow: var(--sh-3); opacity: 0; pointer-events: none; transition: opacity .16s var(--ease), transform .16s var(--ease); }
.o61-rmc__tip b { color: #fff; }
.o61-chips__rmc:hover .o61-rmc__tip, .o61-rmc:focus-visible + .o61-rmc__tip { opacity: 1; transform: translateX(-50%); }

/* вход в типовую сетку */
.o61-launch { position: relative; margin-top: 14px; padding: 18px 22px 16px; border-radius: var(--r-20); background: var(--g-navy); color: #fff; overflow: hidden; isolation: isolate; box-shadow: var(--sh-3); }
.o61-launch::before { content: ""; position: absolute; inset: 0; z-index: -2; background: repeating-linear-gradient(90deg, rgba(255,255,255,.05) 0 1px, transparent 1px 14px) left bottom / 100% 10px no-repeat, repeating-linear-gradient(90deg, rgba(255,255,255,.08) 0 1px, transparent 1px 70px) left bottom / 100% 18px no-repeat; }
.o61-launch::after { content: ""; position: absolute; right: -70px; top: -60px; width: 340px; height: 240px; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, rgba(120,160,235,.42), rgba(120,160,235,0)); }
.o61-launch__k { display: inline-flex; align-items: center; gap: 8px; font: 700 11.5px/1 var(--f-ui); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-300); }
.o61-launch__k::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--gold-400); transform: rotate(45deg); }
.o61-pdp .o61-launch__t { margin: 8px 0 0; max-width: 400px; font: 800 19px/1.28 var(--f-head); letter-spacing: -.005em; color: #fff; }
.o61-launch__row { display: flex; align-items: center; gap: 10px; margin-top: 12px; }
.o61-launch__lbl { font-size: 13px; color: #C8D2EA; white-space: nowrap; margin: 0; font-weight: 400; }
.o61-pdp .o61-launch__go { flex: 1; --h: 46px; }
.o61-launch__quick { display: flex; gap: 6px; margin-top: 10px; flex-wrap: wrap; min-height: 30px; }
.o61-pdp .o61-launch__quick button { height: 30px; padding: 0 11px; border-radius: 8px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); color: #DDE5F7; font-size: 12.5px; font-weight: 600; transition: background .16s var(--ease), border-color .16s var(--ease); animation: o61-pop .25s var(--ease); }
.o61-pdp .o61-launch__quick button:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.34); }
.o61-pdp .o61-launch__quick button.is-on { background: var(--gold-400); border-color: var(--gold-400); color: var(--navy-950); }
.o61-pdp .o61-launch__note { margin: 10px 0 0; font-size: 12px; color: #9DAAC6; }
.o61-launch__done { margin-top: 12px; padding: 10px 12px; border-radius: 12px; background: rgba(242,193,78,.12); border: 1px solid rgba(242,193,78,.35); display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: #F4E3B5; animation: o61-pop .3s var(--ease); }
.o61-launch__done b { color: #fff; font-weight: 700; }
.o61-launch__done .o61-ico { width: 16px; height: 16px; flex: none; }
.o61-pdp .o61-launch__done a { margin-left: auto; color: var(--gold-300); font-weight: 700; white-space: nowrap; display: inline-flex; align-items: center; gap: 4px; }
/* 12.11, Вадим: один блок автоподбора. Подзаголовок-пояснение, скрытая подпись поля, «Как в прошлый раз» второстепенной строкой */
.o61-pdp .o61-launch__lead { margin: 6px 0 0; max-width: 460px; font-size: 13.5px; line-height: 1.45; color: #C8D2EA; }
.o61-launch__lbl { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.o61-pdp .o61-launch__note { line-height: 1.45; }
/* «Округлили до 12 шт.» — дробь в поле количества (card.js, fixN); гаснет сама через 4 с */
.o61-pdp .o61-launch__fix { margin: 8px 0 0; font-size: 12.5px; line-height: 1.35; color: var(--gold-300); }
.o61-launch__fix.is-in { animation: o61-pop .25s var(--ease); }
.o61-launch__last { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 14px 0 0; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; color: #9DAAC6; }
.o61-pdp .o61-launch__lastb { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 12px; border-radius: 10px; border: 1px solid rgba(255,255,255,.28); background: rgba(255,255,255,.06); color: #fff; font: 600 14px var(--f-ui); transition: border-color .16s var(--ease), background-color .16s var(--ease), color .16s var(--ease); }
.o61-pdp .o61-launch__lastb:hover { border-color: rgba(255,255,255,.5); background: rgba(255,255,255,.12); }
.o61-pdp .o61-launch__lastb:focus-visible { outline: 2px solid var(--gold-400); outline-offset: 2px; }
.o61-pdp .o61-launch__lastb.is-on { border-color: var(--gold-400); color: var(--gold-300); }
.o61-pdp .o61-launch__lastb.is-loading { opacity: .6; }
.o61-launch__lastb .o61-ico { width: 16px; height: 16px; }
.o61-pdp .o61-launch__last .o61-kseg button { height: 34px; }
.o61-launch__lastd { font-size: 12.5px; color: #9DAAC6; }
.o61-launch__lastd b { color: #fff; font-weight: 600; }
.o61-pdp .o61-launch__last--guest { flex-wrap: nowrap; align-items: flex-start; margin: 14px 0 0; line-height: 1.4; }
.o61-launch__last--guest .o61-ico { width: 16px; height: 16px; flex: none; margin-top: 1px; color: var(--gold-300); }
.o61-pdp .o61-launch__last--guest a { color: var(--gold-300); font-weight: 600; display: inline-block; padding-block: 12px; margin-block: -12px; }

.o61-buy__alt { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.o61-pdp .o61-buy__alt .o61-btn { width: 100%; padding: 0 12px; }
.o61-buy__repeat { display: flex; gap: 8px; align-items: flex-start; margin-top: 12px !important; font-size: 13px; color: var(--ink-500); line-height: 1.4; }
.o61-buy__repeat .o61-ico { width: 16px; height: 16px; color: var(--blue-600); margin-top: 1px; flex: none; }
.o61-pdp .o61-buy__repeat a { color: var(--blue-600); font-weight: 600; }

/* товар без диоптрий: покупка количеством (механизм темы) */
.o61-buy__plain { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.o61-buy__plain .o61-buy__checked { margin: 0 !important; }
.o61-plain { margin-top: 18px; padding: 20px; border-radius: var(--r-20); background: var(--bg-soft); border: 1px solid var(--line); }
.o61-pdp .o61-plain .sku__price { margin: 0; font: 800 var(--t-49)/1 var(--f-head); letter-spacing: -.025em; color: var(--ink-900); }
.o61-pdp .o61-plain .sku__price u { font: 600 20px var(--f-head); color: var(--ink-500); text-decoration: line-through; margin-left: 10px; letter-spacing: 0; }
.o61-pdp .o61-plain .o61-plain__login { font: 500 16px var(--f-ui); }
.o61-plain__extra { margin-top: 8px !important; font-size: 13px; color: var(--ink-500); }
.o61-plain__action { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.o61-pdp .o61-plain__cart { flex: 1 1 200px; }
.o61-pdp .o61-plain__oc { flex: 1 1 180px; }
.o61-pdp .o61-plain .o61-plain__unit { margin: 0 0 6px; font: 600 14px var(--f-ui); color: var(--ink-500); }
.o61-plain__min, .o61-pdp .o61-plain .min_50_qty { margin-top: 10px !important; font-size: 13px; color: var(--ink-500); }
.o61-opts { margin-top: 16px; display: grid; gap: 14px; }
.o61-pdp .o61-opt { border: 0; margin: 0; padding: 0; min-width: 0; }
.o61-pdp .o61-opt__lbl { display: block; margin: 0 0 8px; padding: 0; font: 700 14px var(--f-ui); color: var(--ink-900); }
.o61-opt__lbl.is-req::after { content: " *"; color: var(--err-600); }
.o61-opt__vals { display: flex; flex-wrap: wrap; gap: 6px; }
.o61-optv { position: relative; margin: 0; cursor: pointer; }
.o61-optv input { position: absolute; opacity: 0; pointer-events: none; }
.o61-optv span { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; border-radius: 10px; border: 1.5px solid var(--line-2); background: #fff; font-weight: 600; font-size: 14px; transition: border-color .14s var(--ease), background .14s var(--ease); }
.o61-optv:hover span { border-color: var(--blue-600); }
.o61-optv input:checked + span { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.o61-optv input:focus-visible + span { outline: 2px solid var(--blue-500); outline-offset: 2px; }
.o61-pdp .o61-select, .o61-pdp .o61-input { width: 100%; height: 44px; padding: 0 12px; border: 1.5px solid var(--line-2); border-radius: 10px; background: #fff; font: 500 15px var(--f-ui); color: var(--ink-900); }
.o61-pdp textarea.o61-input { height: auto; padding: 10px 12px; }
.o61-opt.is-error .o61-select, .o61-opt.is-error .o61-optv span { border-color: var(--err-600); }
.o61-pdp .o61-opt .ui-error { display: block; margin-top: 6px; font-size: 13px; color: var(--err-600); }

/* доверие */
.o61-pdp .o61-facts { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border: 1px solid var(--line); border-radius: var(--r-16); box-shadow: var(--sh-1); }
.o61-fact { display: flex; align-items: center; gap: 11px; padding: 16px 14px; position: relative; font-size: 13.5px; line-height: 1.3; color: var(--ink-700); }
.o61-fact + .o61-fact::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 1px; background: var(--line); }
.o61-fact__i { width: 38px; height: 38px; border-radius: 12px; flex: none; display: grid; place-items: center; background: linear-gradient(160deg, #F3F7FF, #E2EAFB); color: var(--navy-800); box-shadow: inset 0 0 0 1px rgba(29,87,219,.1); }
.o61-pdp .o61-fact__i .o61-ico { width: 22px; height: 22px; stroke-width: 1.5; }
.o61-fact b { display: block; color: var(--ink-900); font-weight: 600; white-space: nowrap; }

/* ---------- матрица ---------- */
.o61-mx { padding: 48px 0 0; }
.o61-mx__card { position: relative; border-radius: var(--r-28); background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-2); }
.o61-mx__head { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 18px 24px; padding: 26px 28px; border-radius: 27px 27px 0 0; background: var(--g-navy); color: #fff; isolation: isolate; overflow: hidden; }
.o61-mx__head::before { content: ""; position: absolute; inset: auto 0 0 0; height: 22px; z-index: -1; background: repeating-linear-gradient(90deg, rgba(255,255,255,.07) 0 1px, transparent 1px 12px) left bottom / 100% 8px no-repeat, repeating-linear-gradient(90deg, rgba(242,193,78,.25) 0 1px, transparent 1px 60px) left bottom / 100% 16px no-repeat; }
.o61-pdp .o61-mx__h2 { margin: 12px 0 0; font: 800 var(--t-31)/1.12 var(--f-head); letter-spacing: -.015em; color: #fff; }
.o61-kseg { display: inline-flex; padding: 3px; gap: 2px; border-radius: 11px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.18); }
.o61-pdp .o61-kseg button { height: 38px; min-width: 46px; padding: 0 8px; border-radius: 8px; font: 700 14px var(--f-head); color: #C8D2EA; }
.o61-pdp .o61-kseg button:hover { color: #fff; }
.o61-pdp .o61-kseg button[aria-checked="true"] { background: #fff; color: var(--navy-900); }
.o61-pdp .o61-mx__clear { justify-self: end; display: inline-flex; align-items: center; gap: 6px; height: 46px; padding: 0 6px; font-size: 14px; font-weight: 600; color: #C8D2EA; border-radius: 10px; transition: color .14s var(--ease), opacity .14s var(--ease); }
.o61-mx__clear .o61-ico { width: 16px; height: 16px; }
.o61-pdp .o61-mx__clear:hover { color: #fff; }
.o61-pdp .o61-mx__clear[disabled] { opacity: .4; }

.o61-mx__notice { margin: 20px 28px 0; padding: 13px 16px; border-radius: 14px; display: flex; align-items: flex-start; gap: 12px; font-size: 14.5px; line-height: 1.45; animation: o61-pop .3s var(--ease); }
.o61-pdp .o61-mx__notice > .o61-ico { width: 22px; height: 22px; flex: none; margin-top: -1px; }
.o61-mx__notice b { font-weight: 700; }
.o61-mx__notice small { display: block; font-size: 13px; opacity: .85; margin-top: 2px; }
.o61-mx__notice--warn { background: #FFF6DF; border: 1px solid #F1D38B; color: #5C4200; }
.o61-mx__notice--warn > .o61-ico { color: var(--gold-600); }
.o61-mx__notice--info { background: var(--blue-50); border: 1px solid #C9D9FB; color: var(--navy-900); }
.o61-mx__notice--info > .o61-ico { color: var(--blue-600); }
.o61-mx__notice--err { background: var(--err-100); border: 1px solid #F1C2C2; color: #7A1F1F; }
.o61-mx__notice--err > .o61-ico { color: var(--err-600); }
.o61-pdp .o61-mx__notice-x { margin-left: auto; width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; opacity: .6; flex: none; }
.o61-pdp .o61-mx__notice-x:hover { opacity: 1; background: rgba(0,0,0,.05); }
.o61-mx__notice-x .o61-ico { width: 16px; height: 16px; }

.o61-mx__seg { display: none; }
.o61-mx__body { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; padding: 24px 28px 6px; position: relative; }
.o61-mx__body::before { content: ""; position: absolute; left: 50%; top: 28px; bottom: 10px; width: 1px; background: repeating-linear-gradient(180deg, var(--line-2) 0 4px, transparent 4px 8px); }
.o61-mx__body.is-single { grid-template-columns: minmax(0, 640px); }
.o61-mx__body.is-single::before { display: none; }
.o61-mx__noscript { grid-column: 1 / -1; color: var(--ink-500); }
.o61-mxb__head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 12px; min-height: 28px; }
.o61-pdp .o61-mxb__head h3 { margin: 0; font: 800 var(--t-20)/1.2 var(--f-head); }
.o61-mxb__sign { color: var(--blue-600); }
.o61-mxb[data-o61-block="minus"] .o61-mxb__sign { color: var(--navy-700); }
.o61-mxb__have { font-size: 13px; color: var(--ink-500); }
.o61-mxb__sum { margin-left: auto; font-size: 13.5px; font-weight: 700; color: var(--navy-900); white-space: nowrap; }
.o61-mxb__sum:empty { display: none; }
.o61-mxb__grid { display: grid; grid-template-columns: 30px repeat(4, minmax(0, 1fr)); gap: 6px; align-items: center; }
.o61-mxb__ch { font-size: 11.5px; font-weight: 600; color: var(--ink-400); text-align: center; letter-spacing: .04em; padding-bottom: 2px; }
.o61-mxb__rl { font: 800 15px/1 var(--f-head); color: var(--navy-800); text-align: right; padding-right: 4px; font-variant-numeric: tabular-nums; }
.o61-mxb__div { grid-column: 2 / -1; display: flex; align-items: center; gap: 10px; font-size: 11.5px; color: var(--ink-500); margin: 6px 0 0; white-space: nowrap; }
.o61-mxb__div b { order: 2; height: 22px; padding: 0 9px; border-radius: 7px; background: #FFF3CF; border: 1px solid #F1D38B; color: #6B4A00; font: 700 12px/20px var(--f-ui); }
.o61-mxb__div.is-zone span { color: var(--ink-700); font-weight: 600; }
.o61-mxb__div::before, .o61-mxb__div::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.o61-mxb__div::before { order: 0; } .o61-mxb__div span { order: 1; } .o61-mxb__div::after { order: 3; }
.o61-mxb__grid .c1 { grid-column: 2; } .o61-mxb__grid .c2 { grid-column: 3; } .o61-mxb__grid .c3 { grid-column: 4; } .o61-mxb__grid .c4 { grid-column: 5; }
.o61-mxb__grid .s1 { grid-column: 2 / span 2; } .o61-mxb__grid .s2 { grid-column: 4 / span 2; }

.o61-cell { position: relative; height: 46px; display: flex; align-items: center; justify-content: space-between; gap: 2px; padding: 0 2px 0 9px; border-radius: 11px; border: 1px solid var(--line); background: #fff; transition: border-color .16s var(--ease), background-color .2s var(--ease), box-shadow .2s var(--ease); min-width: 0; }
.o61-cell:hover { border-color: var(--line-2); }
.o61-cell:focus-within { border-color: var(--blue-500); box-shadow: 0 0 0 3px rgba(29,87,219,.14); }
.o61-cell__d { font: 700 13.5px/1 var(--f-head); color: var(--ink-900); font-variant-numeric: tabular-nums; white-space: nowrap; letter-spacing: -.01em; }
.o61-cell__d small { margin-left: 8px; font: 600 11.5px var(--f-ui); color: var(--gold-600); letter-spacing: 0; }
.o61-stp { display: inline-flex; align-items: center; flex: none; }
.o61-pdp .o61-stp button { width: 24px; height: 34px; border-radius: 8px; display: grid; place-items: center; color: var(--ink-500); transition: background .14s var(--ease), color .14s var(--ease); }
.o61-pdp .o61-stp button:hover { background: var(--bg-tint); color: var(--blue-600); }
.o61-pdp .o61-stp button[disabled] { opacity: .3; pointer-events: none; }
.o61-pdp .o61-stp .o61-ico { width: 15px; height: 15px; stroke-width: 2; }
.o61-pdp .o61-stp input { width: 30px; height: 34px; border: 0; background: none; text-align: center; font: 800 15px/1 var(--f-head); color: var(--ink-900); outline: none; padding: 0; font-variant-numeric: tabular-nums; box-shadow: none; }
.o61-stp input::placeholder { color: var(--ink-400); font-weight: 600; opacity: 1; }
.o61-mxb__grid .s1 .o61-stp, .o61-mxb__grid .s2 .o61-stp { margin-left: auto; }
.o61-cell__bar { position: absolute; left: 10px; right: 10px; bottom: 4px; height: 3px; border-radius: 2px; background: linear-gradient(90deg, var(--gold-400), var(--gold-500)); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); pointer-events: none; }
.o61-cell.is-on { border-color: #9DB7F5; background: var(--blue-50); }
.o61-pdp .o61-cell.is-on .o61-stp input { color: var(--blue-600); }
.o61-pdp .o61-cell.is-on .o61-stp button { color: var(--navy-900); }
.o61-cell.is-pop { animation: o61-cellpop .42s var(--ease) both; animation-delay: var(--dl, 0ms); }
.o61-cell.is-out { background: repeating-linear-gradient(135deg, #F4F6FA 0 5px, #fff 5px 10px); border-style: dashed; border-color: var(--line-2); cursor: not-allowed; }
.o61-cell.is-out .o61-cell__d { color: var(--ink-400); }
.o61-cell__no { font-size: 12px; font-weight: 600; color: var(--err-600); padding-right: 8px; }
.o61-cell__cart { position: absolute; top: -9px; right: 6px; height: 18px; padding: 0 6px; border-radius: 9px; background: var(--ok-600); color: #fff; font: 700 10.5px/18px var(--f-ui); white-space: nowrap; z-index: 2; box-shadow: 0 0 0 2px #fff; }
.o61-cell.is-capped { border-color: var(--gold-500); background: #FFF8E6; box-shadow: 0 0 0 3px rgba(226,165,44,.18); }
.o61-cell.is-capped .o61-cell__cart { background: var(--gold-600); }
.o61-cell.is-flash { animation: o61-flash 1s var(--ease); }
/* В4 «Сообщить о поступлении»: колокольчик у диоптрии, которой нет на складе; «ждём» — подписка оформлена */
.o61-cell.is-ask { cursor: default; }
.o61-cell__out { display: inline-flex; align-items: center; gap: 0; flex: none; }
.o61-cell.is-ask .o61-cell__no { padding-right: 0; }
.o61-pdp .o61-cell__ask { width: 28px; height: 32px; border-radius: 8px; display: grid; place-items: center; color: var(--ink-500); cursor: pointer; transition: background .14s var(--ease), color .14s var(--ease); }
.o61-pdp .o61-cell__ask:hover { background: var(--bg-tint); color: var(--blue-600); }
.o61-pdp .o61-cell__ask .o61-ico { width: 17px; height: 17px; }
.o61-pdp .o61-cell__ask.is-loading { opacity: .45; pointer-events: none; }
.o61-cell.is-wait { border-color: #9DB7F5; }
.o61-cell.is-wait .o61-cell__no, .o61-pdp .o61-cell.is-wait .o61-cell__ask { color: var(--blue-600); }
.o61-cell.is-wait .o61-bell path:first-child { fill: currentColor; }
.o61-rs-key { display: inline-grid; place-items: center; color: var(--ink-500); }
.o61-rs-key .o61-ico { width: 15px; height: 15px; }
/* форма гостя: всплывает у ячейки и живёт в body (вне .o61-pdp), поэтому стили самодостаточные */
.o61-rs { position: fixed; z-index: 125; box-sizing: border-box; padding: 16px 16px 14px; border-radius: 14px; background: #fff; color: var(--ink-900, #0F172A); border: 1px solid var(--line, #E2E8F0); box-shadow: var(--sh-3, 0 18px 40px -12px rgba(15, 23, 42, .35)); font: 400 14px/1.45 var(--f-ui, sans-serif); text-align: left; }
.o61-rs[hidden] { display: none; }
.o61-rs__x { position: absolute; top: 6px; right: 6px; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 8px; background: none; display: grid; place-items: center; color: var(--ink-500, #64748B); cursor: pointer; }
.o61-rs__x:hover { background: var(--bg-tint, #F1F5F9); }
.o61-rs__x .o61-ico { width: 16px; height: 16px; }
.o61-rs__t { margin: 0 30px 12px 0; }
.o61-rs__t b { white-space: nowrap; }
.o61-rs__l { display: block; margin: 0 0 4px; font-size: 12.5px; font-weight: 600; color: var(--ink-500, #64748B); }
.o61-rs__i { box-sizing: border-box; width: 100%; height: 44px; margin: 0 0 10px; padding: 0 12px; border: 1px solid var(--line-2, #CBD5E1); border-radius: 10px; background: #fff; color: inherit; font: inherit; font-size: 16px; box-shadow: none; }
.o61-rs__i:focus { outline: none; border-color: var(--blue-500, #2563EB); box-shadow: 0 0 0 3px rgba(29, 87, 219, .14); }
.o61-rs__c .pdn-consent { margin: 0 0 10px !important; font-size: 12.5px; line-height: 1.4; }
.o61-rs__err { margin: 0 0 10px; color: var(--err-600, #DC2626); font-size: 13px; }
.o61-rs__err[hidden] { display: none; }
.o61-rs__go { width: 100%; height: 44px; padding: 0 16px; border: 0; border-radius: 10px; background: var(--navy-950, #0B1739); color: #fff; font: 600 15px/1 var(--f-ui, sans-serif); cursor: pointer; }
.o61-rs__go:hover { background: var(--navy-900, #13235A); }
.o61-rs__go[disabled] { opacity: .6; cursor: default; }

.o61-mx__legend { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; padding: 16px 28px 0; font-size: 12.5px; color: var(--ink-500); }
.o61-mx__legend > span { display: inline-flex; align-items: center; gap: 7px; }
.o61-lg { width: 14px; height: 14px; border-radius: 4px; flex: none; }
.o61-lg--ok { border: 1px solid var(--line-2); background: #fff; }
.o61-lg--no { border: 1px dashed var(--line-2); background: repeating-linear-gradient(135deg, #E9EDF4 0 3px, #fff 3px 6px); }
.o61-lg--cart { width: 24px; height: 12px; border-radius: 6px; background: var(--ok-600); }
.o61-lg--bar { height: 3px; width: 18px; border-radius: 2px; background: var(--gold-500); }

/* липкий итог */
.o61-sum { position: sticky; bottom: calc(16px + var(--o61-ck, 0px)); z-index: 20; margin: 18px 16px 16px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 28px; padding: 14px 14px 14px 24px; border-radius: 20px; background: var(--navy-900); color: #fff; box-shadow: 0 24px 50px -18px rgba(6,18,41,.6), 0 0 0 1px rgba(255,255,255,.06) inset; transition: transform .3s var(--ease), opacity .3s var(--ease); }
.o61-sum::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(60% 120% at 0% 0%, rgba(44,104,240,.28), transparent 60%); }
.o61-sum__main { min-width: 0; position: relative; }
.o61-sum__line { font-size: 14px; color: #C8D2EA; white-space: nowrap; }
.o61-sum__line b { color: #fff; font-weight: 700; }
.o61-sum__dot { margin: 0 6px; opacity: .6; }
.o61-sum__money { margin-top: 3px; font: 800 var(--t-31)/1 var(--f-head); letter-spacing: -.015em; white-space: nowrap; }
.o61-sum__prog { position: relative; min-width: 0; }
.o61-sum__hint { font-size: 13.5px; color: #C8D2EA; min-height: 20px; }
.o61-sum__hint b { color: var(--gold-300); font-weight: 700; }
.o61-sum__hint.is-ready { color: #8FE0B0; }
.o61-sum__hint.is-ready b { color: #B9F0CF; }
.o61-pdp .o61-sum__scale { height: 10px; margin-top: 9px; }
.o61-sum__scale .o61-scale__track, .o61-sum__scale .o61-scale__fill { top: 4px; }
.o61-pdp .o61-sum__scale .o61-scale__fill { left: 0; width: 100%; transform-origin: left; transform: scaleX(0); transition: transform .5s var(--ease); }
.o61-sum__cartfill { position: absolute; left: 0; top: 4px; height: 2px; border-radius: 2px; background: rgba(255,255,255,.62); width: 100%; transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.o61-sum__scale .o61-scale__mark { top: 0; }
.o61-sum.is-ready .o61-scale__fill, .o61-sum.is-ready .o61-scale__mark { background: #3DD68C; }
.o61-sum__err { margin-top: 8px; font-size: 13.5px; font-weight: 600; color: #FFB9B9; display: flex; align-items: center; gap: 6px; }
.o61-sum__err::before { content: "!"; width: 18px; height: 18px; border-radius: 50%; background: var(--err-600); color: #fff; display: grid; place-items: center; font-size: 12px; font-weight: 800; flex: none; }
.o61-sum.is-err { animation: o61-shake .3s; }
.o61-sum__btns { display: flex; gap: 10px; position: relative; }
.o61-pdp .o61-sum__one { --h: 54px; }
.o61-pdp .o61-sum__add { min-width: 250px; }
.o61-pdp .o61-sum__add.is-added { background: linear-gradient(180deg, #2FB56C, #138A4A); color: #fff; }
.o61-pdp .o61-sum.is-zero .o61-sum__add { opacity: .6; }

/* ---------- описание, характеристики, как получить ---------- */
.o61-info { margin-top: 72px; padding: 56px 0; background: linear-gradient(180deg, var(--bg-soft) 0%, #fff 100%); border-top: 1px solid var(--line); }
.o61-info__grid { display: grid; grid-template-columns: 1.05fr 1fr 1fr; gap: 16px; align-items: stretch; }
.o61-info__grid.is-nodesc { grid-template-columns: 1.1fr 1fr; }
.o61-pdp .o61-info__title { margin: 0 0 16px; font: 800 var(--t-25)/1.15 var(--f-head); letter-spacing: -.015em; }
.o61-desc, .o61-specs, .o61-get { background: #fff; border: 1px solid var(--line); border-radius: var(--r-28); padding: 28px; box-shadow: var(--sh-1); position: relative; min-width: 0; }
.o61-desc__body { font-size: 15.5px; color: var(--ink-700); line-height: 1.6; overflow-wrap: anywhere; }
.o61-desc__body p { margin: 0 0 12px; }
.o61-desc__body img { height: auto; border-radius: 12px; }
.o61-specs__dl > div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 14.5px; }
.o61-specs__dl > div:last-child { border-bottom: 0; }
.o61-specs__dl dt { color: var(--ink-500); display: inline-flex; align-items: center; gap: 4px; position: relative; flex: none; font-weight: 400; max-width: 45%; }
.o61-specs__dl dd { margin: 0; font-weight: 600; color: var(--ink-900); text-align: right; }
.o61-pdp .o61-rmc--i { height: 22px; width: 22px; padding: 0; justify-content: center; }
.o61-specs__dl .o61-rmc__tip { left: 0; bottom: calc(100% + 8px); transform: translateY(4px); width: 220px; }
.o61-specs__dl dt:hover .o61-rmc__tip, .o61-specs__dl .o61-rmc--i:focus-visible + .o61-rmc__tip { opacity: 1; transform: none; }
.o61-get__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.o61-get__list li { display: flex; gap: 14px; }
.o61-get__i { width: 42px; height: 42px; border-radius: 12px; background: var(--bg-tint); display: grid; place-items: center; color: var(--navy-800); flex: none; }
.o61-get__list b { display: block; font: 700 15.5px/1.3 var(--f-head); margin-bottom: 3px; color: var(--ink-900); }
.o61-get__list li > span:last-child { font-size: 14px; color: var(--ink-700); line-height: 1.5; }
.o61-get__t { display: block; }
.o61-pdp .o61-get__list a { display: inline-flex; align-items: center; gap: 4px; margin: 6px 14px 0 0; color: var(--blue-600); font-weight: 600; font-size: 14px; }
.o61-pdp .o61-get__list a .o61-ico { width: 16px; height: 16px; transition: transform .16s var(--ease); }
.o61-pdp .o61-get__list a:hover .o61-ico { transform: translateX(3px); }
.o61-get__help { margin-top: 20px; padding: 14px 16px; border-radius: 16px; background: var(--bg-tint); display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: 13.5px; color: var(--ink-500); }
.o61-pdp .o61-get__help > a { font: 800 19px var(--f-head); color: var(--ink-900); white-space: nowrap; }
.o61-pdp .o61-get__help > a:hover { color: var(--blue-600); }
.o61-get__msg { display: flex; flex-wrap: wrap; gap: 8px; width: 100%; }
.o61-pdp .o61-get__msg a { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 12px 0 8px; border-radius: 10px; background: #fff; border: 1px solid var(--line); font-weight: 600; color: var(--navy-900); font-size: 13.5px; }
.o61-pdp .o61-get__msg a:hover { border-color: var(--blue-600); color: var(--blue-600); }

/* ---------- модель в прайсе ---------- */
.o61-sec { padding: 72px 0 0; }
.o61-sec__head { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 16px 24px; margin-bottom: 24px; }
.o61-pdp .o61-sec__title { margin: 8px 0 0; font: 800 var(--t-31)/1.15 var(--f-head); letter-spacing: -.015em; }
.o61-sec__tag { margin-left: auto; height: 34px; padding: 0 14px; border-radius: 10px; background: var(--bg-tint); font-weight: 600; font-size: 14px; color: var(--ink-700); display: inline-flex; align-items: center; }
.o61-inprice { position: relative; display: grid; grid-template-columns: 1fr 1.05fr; gap: 24px; min-height: 340px; padding: 44px; border-radius: var(--r-28); background: var(--g-navy); color: #fff; overflow: hidden; isolation: isolate; box-shadow: var(--sh-3); }
.o61-inprice::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 70% at 85% 100%, rgba(242,193,78,.18), transparent 70%); }
.o61-pdp .o61-inprice .o61-sec__title { color: #fff; max-width: 470px; margin-top: 0; }
.o61-pdp .o61-inprice p { color: #C8D2EA; font-size: 15px; max-width: 440px; margin: 14px 0 0; }
.o61-inprice__btns { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.o61-inprice__art { position: relative; min-height: 260px; }
.o61-xl { position: absolute; right: 0; top: 8px; width: 450px; background: #fff; border-radius: 12px; box-shadow: 0 40px 60px -20px rgba(0,0,0,.55); transform: rotate(-3deg); color: var(--ink-900); overflow: hidden; font-size: 11.5px; }
.o61-xl__bar { height: 30px; background: #1D7A45; display: flex; align-items: center; gap: 6px; padding: 0 12px; color: #fff; font-weight: 600; font-size: 11.5px; }
.o61-xl__bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.4); }
.o61-xl__bar span { margin-left: 8px; }
.o61-pdp .o61-xl table { width: 100%; border-collapse: collapse; margin: 0; }
.o61-pdp .o61-xl th, .o61-pdp .o61-xl td { border: 1px solid #E3E7EE; padding: 6px 8px; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 170px; font-size: 11.5px; line-height: 1.3; }
.o61-pdp .o61-xl th { background: #F3F5F8; font-weight: 600; color: var(--ink-500); }
.o61-pdp .o61-xl td:last-child { text-align: right; font-weight: 600; }
.o61-pdp .o61-xl tr.is-hl td { background: #FFF3CF; font-weight: 700; }
.o61-book { position: absolute; left: 0; bottom: -24px; width: 176px; height: 250px; border-radius: 6px; background: #fff; box-shadow: 0 30px 50px -18px rgba(0,0,0,.6); transform: rotate(5deg); padding: 14px; color: var(--ink-900); display: flex; flex-direction: column; z-index: 2; }
.o61-book__logo { width: 72px; height: auto; }
.o61-book__t { font: 800 12px/1.2 var(--f-head); margin-top: 8px; }
.o61-book__ph { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; margin-top: 8px; }
.o61-book__ph.o61-noimg { height: auto; border-radius: 4px; }
.o61-book__row { display: flex; justify-content: space-between; gap: 6px; margin-top: 6px; font-size: 10.5px; }
.o61-book__row b { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.o61-book__row span { white-space: nowrap; }
.o61-book__qr { margin-top: auto; display: flex; align-items: center; gap: 8px; font-size: 9px; color: var(--ink-500); line-height: 1.25; }
.o61-book__qr svg { width: 54px !important; height: 54px !important; flex: none; }

/* ---------- похожие модели ---------- */
.o61-pdp .o61-tabs { display: inline-flex; gap: 6px; padding: 5px; background: var(--bg-tint); border-radius: 14px; margin-left: auto; }
.o61-pdp .o61-tab { height: 38px; padding: 0 16px; border-radius: 10px; font-weight: 600; font-size: 14px; color: var(--ink-700); transition: background .16s var(--ease), color .16s var(--ease); white-space: nowrap; }
.o61-pdp .o61-tab:hover { color: var(--blue-600); }
.o61-pdp .o61-tab[aria-selected="true"] { background: var(--navy-900); color: #fff; box-shadow: var(--sh-2); }
.o61-tab span { font-weight: 500; opacity: .7; margin-left: 6px; }
.o61-rail { position: relative; min-width: 0; }
.o61-rail__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 64px) / 5); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 18px; margin: -4px -2px 0; }
.o61-rail__track::-webkit-scrollbar { display: none; }
.o61-pdp .o61-rail__nav { position: absolute; top: 30%; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: var(--sh-3); color: var(--navy-900); z-index: 3; transition: opacity .2s var(--ease), transform .16s var(--ease); }
.o61-pdp .o61-rail__nav:hover { color: var(--blue-600); transform: scale(1.06); }
.o61-rail__nav--prev { left: -18px; }
.o61-rail__nav--next { right: -18px; }
.o61-pdp .o61-rail__nav[disabled] { opacity: 0; pointer-events: none; }

.o61-pcard { scroll-snap-align: start; background: #fff; border: 1px solid var(--line); border-radius: var(--r-16); display: flex; flex-direction: column; transition: box-shadow .25s var(--ease), border-color .2s var(--ease), transform .25s var(--ease); position: relative; min-width: 0; }
.o61-pcard:hover { box-shadow: var(--sh-3); border-color: transparent; transform: translateY(-3px); }
.o61-pcard__media { position: relative; aspect-ratio: 4 / 3; border-radius: 15px 15px 0 0; overflow: hidden; background: var(--bg-soft); }
.o61-pcard__media > a { display: block; height: 100%; }
.o61-pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.o61-pcard__media img[data-fit="contain"] { object-fit: contain; mix-blend-mode: multiply; } /* высокое фото целиком */
.o61-pcard:hover .o61-pcard__media img { transform: scale(1.04); }
.o61-pcard__media .o61-badge { position: absolute; left: 12px; top: 12px; z-index: 2; height: 24px; font-size: 11.5px; }
.o61-pcard__body { padding: 14px; display: flex; flex-direction: column; flex: 1; }
.o61-pcard__art { font: 600 12px/1 var(--f-ui); color: var(--ink-500); letter-spacing: .02em; }
.o61-pdp .o61-pcard__name { margin: 6px 0 0; font: 600 15px/1.3 var(--f-ui); min-height: 39px; }
.o61-pdp .o61-pcard__name a:hover { color: var(--blue-600); }
.o61-pcard__row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px 8px; margin-top: 10px; }
.o61-pcard__price { font: 800 var(--t-25)/1 var(--f-head); letter-spacing: -.01em; white-space: nowrap; }
.o61-pcard__price small { font: 500 13px var(--f-ui); color: var(--ink-500); letter-spacing: 0; }
.o61-pdp .o61-pcard__from { font: 600 14px var(--f-ui); margin-right: 4px; }
.o61-pcard .o61-stock { font-size: 12.5px; }
.o61-pcard__dio { margin-top: 10px !important; font-size: 12.5px; color: var(--ink-500); }
.o61-pcard__dio b { color: var(--ink-900); font-weight: 600; }
.o61-pdp .o61-pcard__go { margin-top: auto; --h: 42px; width: 100%; font-size: 14px; border-radius: 10px; }
.o61-pcard__dio + .o61-pcard__go { margin-top: 12px; }
.o61-pcard__body > .o61-pcard__go:last-child { margin-top: auto; }
.o61-pcard__body .o61-pcard__dio { margin-bottom: 12px !important; }


/* ---------- отзывы (разметка темы) и метки ---------- */
.o61-reviews { padding: 72px 0 0; }
.o61-reviews .comments { padding: 0; background: none; }
.o61-reviews__grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 32px; margin-top: 20px; }
.o61-pdp .o61-reviews__t { margin: 0 0 12px; font: 700 18px var(--f-head); }

/* ---------- уведомления и большое фото ---------- */
.o61-toasts { position: fixed; top: 20px; left: 50%; transform: translateX(-50%); z-index: 130; display: grid; gap: 8px; width: max-content; max-width: calc(100vw - 24px); pointer-events: none; }
.o61-toast { display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; border-radius: 14px; background: var(--navy-950); color: #fff; box-shadow: var(--sh-3); font-size: 14px; line-height: 1.4; animation: o61-pop .3s var(--ease); transition: opacity .3s var(--ease), transform .3s var(--ease); }
.o61-toast.is-out { opacity: 0; transform: translateY(-8px); }
.o61-toast i { width: 30px; height: 30px; border-radius: 50%; background: var(--ok-600); display: grid; place-items: center; flex: none; }
.o61-toast i svg { width: 16px; height: 16px; stroke: #fff; stroke-width: 2.4; }
.o61-toast b { color: var(--gold-300); }
.o61-lb { position: fixed; inset: 0; z-index: 140; display: grid; place-items: center; padding: 24px; }
.o61-lb__bg { position: absolute; inset: 0; background: rgba(6,18,41,.84); animation: o61-pop .2s var(--ease); }
.o61-lb__box { position: relative; width: min(1100px, 100%); animation: o61-pop .3s var(--ease); }
.o61-lb__box img { width: 100%; height: auto; max-height: calc(100vh - 140px); object-fit: contain; border-radius: 20px; background: #EEF0F3; }
.o61-pdp .o61-lb__x { position: absolute; right: 12px; top: 12px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.94); color: var(--navy-900); box-shadow: var(--sh-2); }
.o61-lb__nav { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 14px; color: #fff; font-weight: 600; }
.o61-pdp .o61-lb__nav button { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); color: #fff; }
.o61-pdp .o61-lb__nav button:hover { background: rgba(255,255,255,.22); }

/* ---------- планшет ---------- */
@media (max-width: 1280px) {
  .o61-pd__grid { grid-template-columns: minmax(0, 1fr) 460px; gap: 28px; }
  .o61-rail__track { grid-auto-columns: calc((100% - 48px) / 4); }
  .o61-info__grid, .o61-info__grid.is-nodesc { grid-template-columns: 1fr 1fr; }
  .o61-get { grid-column: 1 / -1; }
  .o61-xl { width: 400px; }
}
@media (max-width: 1080px) {
  .o61-mx__body { grid-template-columns: 1fr; gap: 28px; }
  .o61-mx__body::before { display: none; }
  .o61-sum { grid-template-columns: 1fr auto; }
  .o61-sum__prog { grid-column: 1 / -1; grid-row: 2; }
  .o61-pdp .o61-facts { grid-template-columns: 1fr 1fr; }
  .o61-fact:nth-child(3)::before { display: none; }
  .o61-inprice { grid-template-columns: 1fr; }
  .o61-inprice__art { min-height: 300px; }
}
/* до 991 px у оболочки нижняя панель телефона — итог поднимаем над ней */
@media (max-width: 991px) {
  .o61-sum { bottom: calc(84px + env(safe-area-inset-bottom) + var(--o61-ck, 0px)); }
  /* итог матрицы на экране — нижняя панель оболочки уезжает, итог садится к низу экрана */
  body.o61-pdp-page .o61-mbar { transition: transform .28s var(--ease), opacity .28s var(--ease); }
  body.o61-pdp-sum-on .o61-mbar { transform: translateY(calc(100% + 8px + var(--o61-ck, 0px))); opacity: 0; pointer-events: none; }
  body.o61-pdp-sum-on .o61-sum { bottom: calc(12px + env(safe-area-inset-bottom) + var(--o61-ck, 0px)); }
  .o61-pd__grid { grid-template-columns: 1fr; }
  .o61-gal { position: relative; top: 0; }
  .o61-reviews__grid { grid-template-columns: 1fr; }
}

/* ---------- телефон ---------- */
@media (max-width: 760px) {
  html { scroll-padding-top: 118px; scroll-padding-bottom: 210px; }
  .o61-crumbs { background: #fff; }
  .o61-crumbs ol { display: none; }
  .o61-pdp .o61-crumbs__back { display: inline-flex; align-items: center; gap: 4px; padding: 10px 0 8px; font-size: 14px; font-weight: 600; color: var(--blue-600); }
  .o61-crumbs__back .o61-ico { width: 16px; height: 16px; }
  .o61-pd { padding-top: 0; background: #fff; }
  .o61-pd__grid { gap: 16px; }
  .o61-gal { display: block; margin: 0 -16px; }
  .o61-gal__thumbs, .o61-gal__hint, .o61-loupe { display: none; }
  .o61-gal__stage { border-radius: 0; aspect-ratio: 4 / 3; box-shadow: none; cursor: default; }
  .o61-pdp .o61-gal__zoom { width: 40px; height: 40px; padding: 0; justify-content: center; gap: 0; right: 14px; bottom: 14px; }
  .o61-gal__zoom span { display: none; }
  .o61-gal__zoom .o61-ico { width: 18px; height: 18px; }
  .o61-gal__cnt { display: none; }
  .o61-gal__dots { display: flex; position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); gap: 6px; z-index: 3; }
  .o61-gal__dots i { width: 7px; height: 7px; border-radius: 4px; background: rgba(10,27,61,.25); transition: transform .2s var(--ease), background .2s var(--ease); }
  .o61-gal__dots i.is-on { transform: scaleX(2.4); margin: 0 5px; background: var(--navy-900); }
  .o61-gal__badges { left: 14px; top: 14px; }
  .o61-pdp .o61-gal__fav { right: 12px; top: 12px; }

  .o61-buy { padding-top: 0; display: flex; flex-direction: column; }
  .o61-buy > * { order: 9; }
  .o61-buy__h1 { order: 1; } .o61-buy__meta { order: 2; } .o61-buy__price, .o61-buy__plain { order: 3; } .o61-buy__checked { order: 3; } .o61-launch { order: 4; } .o61-axis { order: 5; } .o61-chips { order: 6; } .o61-buy__alt { order: 7; } .o61-buy__repeat { order: 8; }
  .o61-pdp .o61-buy__h1 { font-size: var(--t-25); }
  .o61-buy__meta { margin-top: 6px; font-size: 13px; gap: 4px 12px; }
  .o61-buy__price { margin-top: 10px; padding-top: 10px; gap: 8px; align-items: flex-start; }
  .o61-buy__pricebox b { font-size: var(--t-31); }
  .o61-buy__pricebox small { font-size: 14px; margin-left: 4px; }
  .o61-buy__from { font-size: 16px; vertical-align: 4px; margin-right: 4px; }
  .o61-buy__zones { font-size: 12.5px; }
  .o61-buy__price .o61-stock { font-size: 13px; white-space: normal; text-align: left; line-height: 1.3; max-width: 120px; align-items: flex-start; }
  .o61-buy__price .o61-stock::before { margin-top: 5px; }
  .o61-axis { margin-top: 12px; padding: 10px 12px; }
  .o61-axis__plot { height: 50px; }
  .o61-tk { width: 2px; margin-left: -1px; }
  .o61-tk__bar { left: -1px; height: 29px; }
  .o61-pdp .o61-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 12px -16px 0; padding: 0 16px 2px; }
  .o61-chips::-webkit-scrollbar { display: none; }
  .o61-pdp .o61-chips .o61-chips__rmc { position: static; }
  .o61-rmc__tip { position: fixed; left: 16px; right: 16px; bottom: auto; top: 140px; width: auto; transform: none !important; }
  .o61-launch { margin-top: 12px; padding: 16px 14px 14px; }
  .o61-pdp .o61-launch__t { font-size: 16.5px; margin-top: 6px; }
  .o61-launch__row { flex-wrap: wrap; }
  .o61-pdp .o61-launch__go { --h: 48px; }
  .o61-pdp .o61-stepper--dark { height: 48px; }
  .o61-pdp .o61-stepper--dark button { width: 44px; }
  .o61-pdp .o61-launch__quick button { height: 34px; }
  .o61-buy__alt { gap: 8px; }
  .o61-pdp .o61-buy__alt .o61-btn { --h: 46px; font-size: 14px; gap: 6px; padding: 0 8px; white-space: normal; line-height: 1.15; text-align: left; }
  .o61-buy__repeat { font-size: 12.5px; }
  .o61-pdp .o61-facts { margin-top: 16px; grid-template-columns: 1fr; }
  .o61-fact + .o61-fact::before { left: 14px; right: 14px; top: 0; bottom: auto; width: auto; height: 1px; display: block !important; }
  .o61-fact { padding: 12px 14px; }
  .o61-plain { padding: 16px; }
  .o61-pdp .o61-plain .sku__price { font-size: var(--t-31); }

  .o61-mx { padding-top: 28px; }
  .o61-mx > .o61-wrap { padding: 0; }
  .o61-mx__card { border-radius: 0; border-left: 0; border-right: 0; box-shadow: none; }
  .o61-mx__head { border-radius: 0; grid-template-columns: 1fr; gap: 14px; padding: 20px 16px 18px; }
  .o61-pdp .o61-mx__h2 { font-size: 23px; margin-top: 10px; padding-right: 90px; }
  .o61-pdp .o61-mx__clear { position: absolute; right: 12px; top: 14px; height: 32px; padding: 0; }
  .o61-pdp .o61-kseg button { height: 38px; min-width: 40px; padding: 0 6px; }
  .o61-mx__notice { margin: 14px 12px 0; font-size: 14px; }

  .o61-mx__seg { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; position: sticky; top: 60px; z-index: 25; padding: 10px 12px; background: rgba(255,255,255,.96); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
  .o61-pdp .o61-mx__seg button { height: 50px; border-radius: 13px; border: 1.5px solid var(--line-2); display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; font-size: 15px; color: var(--navy-900); background: #fff; transition: background .16s var(--ease), color .16s var(--ease), border-color .16s var(--ease); }
  .o61-mx__seg button b { font: 800 20px/1 var(--f-head); }
  .o61-pdp .o61-mx__seg button[aria-selected="true"] { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
  .o61-mx__seg button[aria-selected="true"] b { color: var(--gold-400); }
  .o61-mx__segc { font-size: 11.5px; font-weight: 700; height: 20px; line-height: 20px; padding: 0 7px; border-radius: 10px; background: var(--gold-400); color: var(--navy-950); }
  .o61-mx__segc:empty { display: none; }

  .o61-mx__body, .o61-mx__body.is-single { display: block; padding: 14px 12px 4px; }
  .o61-mx__body[data-side="plus"] .o61-mxb[data-o61-block="minus"], .o61-mx__body[data-side="minus"] .o61-mxb[data-o61-block="plus"] { display: none; }
  .o61-mxb__head { margin-bottom: 10px; flex-wrap: wrap; gap: 4px 10px; }
  .o61-pdp .o61-mxb__head h3 { font-size: 18px; }
  .o61-mxb__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .o61-mxb__ch, .o61-mxb__rl { display: none; }
  .o61-mxb__div { grid-column: 1 / -1; margin: 6px 0 2px; white-space: normal; flex-wrap: wrap; justify-content: center; gap: 6px 8px; }
  .o61-mxb__div::before, .o61-mxb__div::after { display: none; }
  .o61-cell__d small { display: block; margin: 3px 0 0; font-size: 11.5px; }
  .o61-mxb__grid .c1, .o61-mxb__grid .c2, .o61-mxb__grid .c3, .o61-mxb__grid .c4, .o61-mxb__grid .s1, .o61-mxb__grid .s2 { grid-column: auto; }
  .o61-cell { height: 88px; flex-direction: column; justify-content: space-between; align-items: stretch; padding: 9px 5px 6px; border-radius: 14px; gap: 0; }
  .o61-cell__d { font-size: 16.5px; text-align: center; }
  .o61-stp { width: 100%; justify-content: space-between; background: var(--bg-soft); border-radius: 11px; }
  .o61-cell.is-on .o61-stp { background: #fff; }
  .o61-mxb__grid .s1 .o61-stp, .o61-mxb__grid .s2 .o61-stp { margin-left: 0; }
  .o61-pdp .o61-stp button { width: 38px; height: 44px; border-radius: 10px; color: var(--navy-900); }
  .o61-pdp .o61-stp .o61-ico { width: 17px; height: 17px; }
  .o61-pdp .o61-stp input { flex: 1; width: 0; min-width: 0; height: 44px; font-size: 18px; }
  .o61-cell__bar { left: 14px; right: 14px; bottom: 2px; }
  .o61-cell__no { text-align: center; padding: 0 0 12px; }
  .o61-cell__cart { right: 50%; transform: translateX(50%); }
  .o61-cell__out { align-self: center; padding-bottom: 4px; }
  .o61-cell.is-ask .o61-cell__no { padding: 0; }
  .o61-pdp .o61-cell__ask { width: 36px; height: 36px; }

  .o61-mx__legend { padding: 14px 16px 0; gap: 8px 14px; font-size: 12px; }

  .o61-sum { position: fixed; left: 8px; right: 8px; bottom: calc(80px + env(safe-area-inset-bottom) + var(--o61-ck, 0px)); margin: 0; z-index: 86; transition: transform .3s var(--ease), opacity .3s var(--ease), bottom .28s var(--ease); grid-template-columns: minmax(0, 1fr) auto; gap: 8px 10px; padding: 10px 10px 10px 16px; border-radius: 18px; }
  .o61-sum.is-hidden { transform: translateY(calc(100% + 100px)); opacity: 0; pointer-events: none; }
  body.o61-pdp-sum-on .o61-sum { bottom: calc(8px + env(safe-area-inset-bottom) + var(--o61-ck, 0px)); }
  .o61-mx__legend { padding-bottom: calc(120px + var(--o61-ck, 0px)); }
  .o61-sum__line { font-size: 12.5px; white-space: normal; line-height: 1.3; }
  .o61-sum__money { font-size: 22px; margin-top: 2px; }
  .o61-sum__hint { font-size: 12px; }
  .o61-pdp .o61-sum__scale { margin-top: 5px; }
  .o61-pdp .o61-sum__one { display: none; }
  .o61-pdp .o61-sum__add { min-width: 0; --h: 50px; padding: 0 16px; }
  .o61-sum__err { font-size: 12.5px; }
  .has-matrix .o61-info { padding-bottom: calc(150px + var(--o61-ck, 0px)); }

  .o61-info { margin-top: 40px; padding: 32px 0; }
  .o61-info__grid, .o61-info__grid.is-nodesc { grid-template-columns: 1fr; }
  .o61-desc, .o61-specs, .o61-get { padding: 20px; border-radius: 20px; }
  .o61-pdp .o61-info__title { font-size: 21px; }
  .o61-sec { padding-top: 48px; }
  .o61-pdp .o61-sec__title { font-size: 23px; }
  .o61-inprice { padding: 24px 20px; border-radius: 20px; min-height: 0; }
  .o61-inprice__art { min-height: 290px; margin: 0 -10px -30px; }
  .o61-xl { width: 300px; right: -20px; top: 0; }
  .o61-pdp .o61-xl th, .o61-pdp .o61-xl td { font-size: 10px; padding: 5px 6px; max-width: 110px; }
  .o61-book { left: 6px; bottom: 6px; width: 140px; height: 206px; padding: 10px; }
  .o61-book__qr svg { width: 44px !important; height: 44px !important; }
  .o61-rail__track { grid-auto-columns: 78%; }
  .o61-rail__nav { display: none !important; }
  .o61-pdp .o61-tabs { margin-left: 0; max-width: 100%; overflow-x: auto; }
  .o61-sec__tag { margin-left: 0; }
  .o61-lb { padding: 12px; }
}

/* ==== этап 10, A: наложения и переносы (начало) ==== */
/* карточка товара на узком телефоне (360–430): «Типовая сетка», «Разложить», «×0,5…×2» не обрезаются */
@media (max-width: 430px) {
  .o61-launch__last { gap: 8px; }
  .o61-pdp .o61-launch__lastb { flex: 1 1 100%; justify-content: center; height: 42px; }
  .o61-launch__last .o61-kseg { flex: 1 1 100%; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .o61-pdp .o61-kseg button { min-width: 0; padding: 0 4px; }
}
@media (max-width: 389px) {
  .o61-pdp .o61-launch__go { padding: 0 12px; gap: 8px; }
  .o61-pdp .o61-launch__row { gap: 8px; }
}
/* матрица диоптрий на 1081–1199: два блока рядом, ячейка ~105 px; шаговая кнопка «+» вылезала на соседнюю ячейку */
@media (min-width: 1081px) and (max-width: 1199px) {
  .o61-pdp .o61-stp button { width: 20px; }
  .o61-pdp .o61-stp input { width: 24px; }
}
/* ==== этап 10, A: наложения и переносы (конец) ==== */

/* этап 10, руководитель: на телефоне тост не закрывает липкую шапку */
@media (max-width: 991px) { .o61-toasts { top: 72px; } }
/* QA 12.11 (768): после «Распределить» прокрутка ставит матрицу под липкую шапку, а тост «Распределили…» (top 72 px,
   1–2 строки) закрывал её заголовок. Матрица останавливается ниже тоста — заголовок виден, пока тост висит. */
@media (min-width: 761px) and (max-width: 991px) { .o61-pdp #matrix { scroll-margin-top: 150px; } }
/* телефон (≤ 760): после «Распределить» card.js (goMatrix) прокручивает к первому ряду ячеек, а не к шапке матрицы */

/* ==== этап 11: вёрстка и телефон (UX-аудит 09.11.2026) ==== */

/* P2-9. Текстовые ссылки в строке («цены по зонам», «Войдите»): зона нажатия 44 px по высоте, строка не растёт */
.o61-pdp .o61-buy__zones a, .o61-pdp .o61-buy__login a, .o61-pdp .o61-plain__login a, .o61-pdp .o61-buy__repeat a { display: inline-block; padding-block: 12px; margin-block: -12px; }

@media (max-width: 760px) {
  /* P2-8. Рабочие данные не мельче 13 px, служебные подписи не мельче 12 px */
  .o61-pdp .o61-eyebrow, .o61-axis__side, .o61-axis__hint, .o61-launch__k, .o61-axis__lbl, .o61-mxb__div, .o61-mx__segc, .o61-pcard__media .o61-badge { font-size: 12px; }
  .o61-buy__zones, .o61-buy__repeat, .o61-buy__checked, .o61-axis__cap, .o61-axis__note, .o61-pcard__art, .o61-pcard .o61-stock, .o61-pcard__dio,
  .o61-cell__d small, .o61-mxb__ch, .o61-cell__no, .o61-sum__line, .o61-sum__err, .o61-launch__quick button { font-size: 13px; }
  /* мини-таблица прайса: 13 px; колонку «Диоптрии» на телефоне убираем, чтобы «Артикул, Модель, Цена» читались целиком */
  .o61-pdp .o61-xl th, .o61-pdp .o61-xl td { font-size: 13px; padding: 5px 7px; max-width: 120px; }
  .o61-pdp .o61-xl th:nth-child(3), .o61-pdp .o61-xl td:nth-child(3) { display: none; }
  .o61-xl__bar { font-size: 12px; }
}

@media (max-width: 760px) {
  .o61-sum__hint, .o61-mx__legend, .o61-pdp .o61-launch__quick button, .o61-chips li, .o61-pdp .o61-sum__line { font-size: 13px; }
  .o61-pdp .o61-launch__quick button { height: 32px; }
}

@media (max-width: 760px) { .o61-mxb__div b { font-size: 13px; } }

/* ==== этап 11, приёмка: «Заполнить матрицу» не помещалась в кнопку (214 px текста на 146–198 px) ====
   Подпись может уйти на вторую строку; высота ряда не меньше прежней (--h), кнопка не обрезает текст. */
.o61-pdp .o61-launch__go { height: auto; min-height: var(--h); padding-top: 6px; padding-bottom: 6px; white-space: normal; text-align: center; line-height: 1.15; }
.o61-pdp .o61-launch__go { flex: 1 1 0; min-width: 0; }

/* ==== этап 11, приёмка: ещё две кнопки с длинной подписью на карточке («Выбрать диоптрии» в «Ещё модели», «Выбрать диоптрии вручную») ==== */
.o61-pdp .o61-pcard__go, .o61-pdp .o61-buy__alt .o61-btn { height: auto; min-height: var(--h); padding-top: 6px; padding-bottom: 6px; white-space: normal; text-align: center; line-height: 1.15; }

/* товар без цены: «Цена по запросу» в шапке покупки, «Узнать цену» кнопкой */
.o61-buy__pricebox b.o61-buy__ask { font-size: var(--t-31, 31px); color: var(--ink-700); }
.o61-buy__pricebox b.o61-buy__ask + small { display: block; margin: 8px 0 0; }

/* 12.11, Вадим: вкладки «+ Плюс / Для близи» и «− Минус / Для дали» — вторая строка мелко, форма вкладок прежняя */
.o61-mx__segt { display: inline-flex; flex-direction: column; align-items: flex-start; line-height: 1.1; text-align: left; }
.o61-mx__segt small { margin-top: 2px; font-size: 12px; font-weight: 500; opacity: .72; }

/* final-fix 11.11: «Заказ по телефону» с карточки матричной модели — выбор диоптрии и количества в окне «1 клик» (card.js, buildPick).
   Показывается, когда в матрице выбрано не ровно одна ячейка; окно при этом открывается всегда. */
.o61-shell .popup .o61-ocpick { margin: 0 0 18px; padding: 14px 14px 2px; border: 1px solid var(--line); border-radius: var(--r-12); background: var(--bg-soft); }
.o61-shell .popup .o61-ocpick[hidden] { display: none; }
.o61-shell .popup .o61-ocpick__t { margin: 0 0 12px; font: 400 14px/1.45 var(--f-ui); color: var(--ink-700); }
.o61-shell .popup .o61-ocpick__row { display: grid; grid-template-columns: minmax(0, 1fr) 120px; gap: 12px; }
.o61-shell .popup .o61-ocpick .ui-field { margin-bottom: 12px; }
.o61-shell .popup .o61-ocpick__sel { box-sizing: border-box; display: block; width: 100%; height: 52px; margin: 0; padding: 0 40px 0 14px; border: 1.5px solid var(--line-2); border-radius: var(--r-12); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230C1730' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center; font: 400 16px/1.2 var(--f-ui); color: var(--ink-900); -webkit-appearance: none; appearance: none; cursor: pointer; transition: border-color .16s var(--ease), box-shadow .16s var(--ease); }
.o61-shell .popup .o61-ocpick__sel:hover { border-color: var(--blue-600); }
.o61-shell .popup .o61-ocpick__sel:focus-visible { outline: none; border-color: var(--blue-600); box-shadow: 0 0 0 4px rgba(29, 87, 219, .12); }
.o61-shell .popup .o61-ocpick .ui-field.is-error .o61-ocpick__sel { border-color: var(--err-600); background-color: var(--err-100); }
.o61-shell .popup .o61-ocpick__err { display: block; margin: -4px 0 12px; font: 600 13px/1.35 var(--f-ui); color: var(--err-600); }
.o61-shell .popup .o61-ocpick__err[hidden] { display: none; }
@media (max-width: 480px) {
  .o61-shell .popup .o61-ocpick__row { grid-template-columns: minmax(0, 1fr) 96px; gap: 8px; }
  .o61-shell .popup .o61-ocpick__t { font-size: 13.5px; }
}

/* final-fix 11.11 (2): минимальная сумма в окне «Заказ по телефону» — нейтральная подсказка вместо красной плашки темы при открытии */
.o61-shell .popup .o61-ocmin { margin: 0 0 18px; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--r-12); background: var(--bg-soft); font: 400 13.5px/1.4 var(--f-ui); color: var(--ink-700); }
.o61-shell .popup .o61-ocmin[hidden] { display: none; }
