/* OPTIK61 A1, этап 2 — главная. Токены и общие компоненты (кнопки, шкала, иконки) — из base.css, классы страницы — o61h-.
   Эталон: макет главной D:\work\optik61-design\home\styles.css (= /maket/home/). Мобильная раскладка до 991 px, как в оболочке. */

/* ---------- сброс темы внутри страницы ---------- */
.o61h, .o61h *, .o61h *::before, .o61h *::after { box-sizing: border-box; }
.o61h { font: 400 var(--t-16)/1.5 var(--f-ui); color: var(--ink-900); -webkit-font-smoothing: antialiased; overflow-x: clip; }
.o61h :where(h1, h2, h3, p, ul, ol, pre) { margin: 0; padding: 0; }
.o61h :where(h1, h2, h3) { font-family: var(--f-head); font-weight: 800; line-height: 1.15; }
.o61h :where(ul, ol) { list-style: none; }
.o61h :where(a), .o61h :where(a):hover, .o61h :where(a):focus { text-decoration: none; }
.o61h :where(img) { display: block; max-width: 100%; border: 0; }
.o61h :where(button) { font: inherit; color: inherit; margin: 0; }
/* у темы есть «button:focus { outline: none !important }», поэтому кольцо фокуса с !important */
.o61h :focus-visible { outline: 2px solid var(--blue-500) !important; outline-offset: 2px; border-radius: 6px; }
.o61h .o61h-dark :focus-visible { outline-color: var(--gold-400) !important; }
.o61h-ico--s { width: 16px; height: 16px; }
.o61h-gold { color: var(--gold-400); }

/* ---------- общие кусочки ---------- */
.o61h-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); }
.o61h-eyebrow::before { content: ""; flex: none; width: 36px; height: 10px; 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; opacity: .85; }
.o61h-eyebrow--dark { color: var(--blue-600); }
.o61h-ticks { margin-top: 22px; display: grid; gap: 9px; }
h1.o61h-hero__title + .o61h-ticks { margin-top: 18px; }
.o61h-ticks li { display: flex; align-items: center; gap: 11px; font-size: 15.5px; color: #E3E9F7; }
.o61h-ticks--links a, .o61h-ticks--links a:visited { color: inherit; text-decoration: none; border-bottom: 1px solid rgba(227, 233, 247, .35); transition: color .2s, border-color .2s; }
.o61h-ticks--links a:hover, .o61h-ticks--links a:focus-visible { color: var(--gold-400); border-color: var(--gold-400); }
.o61h-ck { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--gold-400); display: grid; place-items: center; flex: none; }
.o61h-ck svg { width: 11px; height: 11px; stroke: var(--gold-400); stroke-width: 2.4; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.o61-btn.o61h-btn-ghost { color: #fff; border: 1px solid rgba(255,255,255,.34); background: rgba(255,255,255,.04); }
/* как кнопки в base.css (QA 12.11): на таче после тапа фон/рамка не «залипают» — подсветка только мышью, с клавиатуры и в момент нажатия */
.o61-btn.o61h-btn-ghost:hover, .o61-btn.o61h-btn-ghost:focus { color: #fff; }
.o61-btn.o61h-btn-ghost:focus-visible, .o61-btn.o61h-btn-ghost:active { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.6); }
@media (hover: hover) and (pointer: fine) { .o61-btn.o61h-btn-ghost:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.6); } }
.o61h-xls { width: 28px; height: 28px; border-radius: 7px; background: #1D7A45; color: #fff; display: grid; place-items: center; font: 800 9.5px var(--f-head); flex: none; }
.o61h-qrb { width: 28px; height: 28px; border-radius: 7px; background: var(--navy-900); display: grid; place-items: center; flex: none; }
.o61h-qrb .o61-ico { width: 18px; height: 18px; stroke: #fff; }

.o61h-stepper { display: inline-flex; align-items: center; height: 40px; border: 1.5px solid var(--line-2); border-radius: 10px; background: #fff; flex: none; }
.o61h-stepper button { width: 34px; height: 100%; display: grid; place-items: center; color: var(--navy-900); border: 0; border-radius: 8px; background: none; cursor: pointer; }
.o61h-stepper button:hover { color: var(--blue-600); background: var(--bg-soft); }
.o61h-stepper input { width: 38px; height: 100%; padding: 0; text-align: center; border: 0; font: 700 15px var(--f-head); color: var(--ink-900); background: none; outline: none; box-shadow: none; -moz-appearance: textfield; }
.o61h-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }
.o61h-stepper:focus-within { border-color: var(--blue-600); box-shadow: 0 0 0 3px rgba(29,87,219,.12); }
.o61h-stepper--s { height: 34px; }
.o61h-stepper--s button { width: 28px; }
.o61h-stepper--s input { width: 30px; font-size: 14px; }

/* ---------- первый экран ---------- */
.o61h-hero { padding: 20px 0 0; background: linear-gradient(180deg, var(--bg-soft) 0, #fff 520px); }
.o61h-hero__grid { display: grid; grid-template-columns: 248px minmax(0, 1fr) 316px; gap: 16px; align-items: stretch; }

.o61h-side { background: #fff; border: 1px solid var(--line); border-radius: var(--r-20); padding: 10px; box-shadow: var(--sh-1); display: flex; flex-direction: column; min-width: 0; }
.o61h-side__link { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 12px; font-size: 15px; font-weight: 500; color: var(--ink-900); transition: background .16s var(--ease), color .16s var(--ease); }
.o61h-side__link .o61-ico { width: 24px; height: 24px; color: var(--navy-800); stroke-width: 1.4; }
.o61h-side__link:hover, .o61h-side__link:focus, .o61h-side__link.is-active { background: var(--blue-50); color: var(--blue-600); }
.o61h-side__link:hover .o61-ico, .o61h-side__link.is-active .o61-ico { color: var(--blue-600); }
.o61h-side__cnt { margin-left: auto; font-size: 12px; color: var(--ink-500); font-variant-numeric: tabular-nums; }
.o61h-side__new { margin-left: auto; height: 20px; padding: 0 7px; border-radius: 6px; background: var(--g-gold); color: var(--navy-950); font: 800 10.5px/20px var(--f-ui); letter-spacing: .04em; }
.o61h-side__foot { margin-top: auto; padding: 12px; border-radius: 14px; background: var(--bg-tint); display: grid; gap: 8px; }
.o61h-side__foot a { display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 600; color: var(--navy-900); }
.o61h-side__foot a:hover, .o61h-side__foot a:focus { color: var(--blue-600); }

/* баннер */
.o61h-banner { position: relative; border-radius: var(--r-20); overflow: hidden; background: var(--g-navy); color: #fff; min-height: 468px; isolation: isolate; box-shadow: var(--sh-3); min-width: 0; }
.o61h-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .6s var(--ease), visibility .6s; }
.o61h-slide.is-on { opacity: 1; visibility: visible; }
.o61h-slide[data-slide="0"] .o61h-slide__bg { left: 13%; width: 87%; }
.o61h-slide__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; z-index: -1; transform: scale(1.04); transition: transform 6s linear; }
.o61h-slide.is-on .o61h-slide__bg { transform: scale(1); }
.o61h-slide__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(6,18,41,.92) 0%, rgba(6,18,41,.7) 38%, rgba(6,18,41,0) 70%); }
.o61h-slide__in { position: relative; height: 100%; padding: 44px 44px 46px; display: flex; flex-direction: column; max-width: 580px; }
.o61h-hero__title { margin: 18px 0 0; font: 800 var(--t-49)/1.04 var(--f-head); letter-spacing: -.02em; color: #fff; }
.o61h-hero__title--s { font-size: var(--t-39); }
.o61h-hero__city { display: block; margin-top: 6px; font: 700 var(--t-20)/1.2 var(--f-head); letter-spacing: 0; color: #E3E9F7; }
.o61h-hero__btns { margin-top: auto; display: flex; gap: 12px; padding-top: 26px; flex-wrap: wrap; }
.o61h-ribbon { position: absolute; top: 0; right: 30px; width: 112px; padding: 14px 10px 22px; text-align: center; color: var(--navy-950); background: var(--g-gold); clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 86%, 0 100%); box-shadow: var(--sh-gold); z-index: 1; }
.o61h-ribbon b { display: block; font: 800 31px/1 var(--f-head); letter-spacing: -.02em; }
.o61h-ribbon span { display: block; font-size: 12px; line-height: 1.25; font-weight: 600; margin-top: 4px; }
.o61h-dots { position: absolute; left: 44px; bottom: 18px; display: flex; gap: 8px; z-index: 3; }
.o61h-dots button { width: 26px; height: 8px; padding: 0; border: 0; border-radius: 2px; background: none; position: relative; overflow: hidden; cursor: pointer; }
.o61h-dots button::before { content: ""; position: absolute; left: 0; right: 0; top: 2px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.28); }
.o61h-dots button::after { content: ""; position: absolute; left: 0; right: 0; top: 2px; height: 4px; border-radius: 2px; background: var(--gold-400); transform: scaleX(0); transform-origin: left; }
.o61h-dots button.is-on::after { animation: o61h-fillbar 7s linear forwards; }
.o61h-banner.is-paused .o61h-dots button.is-on::after { animation-play-state: paused; }
@keyframes o61h-fillbar { to { transform: scaleX(1); } }
.o61h-banner__arrows { position: absolute; right: 18px; bottom: 16px; display: flex; gap: 8px; z-index: 3; }
.o61h-banner__arrows button { width: 38px; height: 38px; border-radius: 50%; padding: 0; display: grid; place-items: center; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.22); color: #fff; cursor: pointer; transition: background .16s var(--ease); }
.o61h-banner__arrows button:hover { background: rgba(255,255,255,.2); }
.o61h-chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); font-size: 13.5px; color: #DDE5F7; margin-top: 18px; width: max-content; max-width: 100%; transition: background .16s var(--ease), color .16s; }
.o61h-chip:hover, .o61h-chip:focus { background: rgba(255,255,255,.16); color: #fff; }
.o61h-chip img { width: 40px; height: 30px; border-radius: 999px; object-fit: cover; background: #fff; }
.o61h-chip + .o61h-chip { margin-top: 10px; }

/* правая колонка: калькулятор гостя / кабинет клиента */
.o61h-tool { background: #fff; border: 1px solid var(--line); border-radius: var(--r-20); box-shadow: var(--sh-2); padding: 18px 16px 16px; display: flex; flex-direction: column; position: relative; min-width: 0; }
.o61h-tool__k { font: 700 11.5px/1 var(--f-ui); text-transform: uppercase; letter-spacing: .12em; color: var(--blue-600); }
.o61h-tool__t { margin: 8px 0 0; font: 800 18px/1.22 var(--f-head); letter-spacing: -.01em; }
.o61h-picks { margin: 12px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.o61h-picks > li { min-width: 0; }
.o61h-pick { display: flex; flex-direction: column; gap: 6px; padding: 5px 5px 7px; position: relative; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; transition: border-color .16s var(--ease), background .16s var(--ease); user-select: none; margin: 0; height: 100%; }
.o61h-pick:hover { border-color: var(--line-2); background: var(--bg-soft); }
.o61h-pick input { position: absolute; opacity: 0; pointer-events: none; }
.o61h-pick img { width: 100%; height: 58px; border-radius: 8px; object-fit: contain; background: #fff; }
.o61h-pick__txt { padding: 0 3px; min-width: 0; }
.o61h-pick__n { display: block; font-size: 12.5px; font-weight: 600; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.o61h-pick__p { display: block; font-size: 12px; color: var(--ink-500); }
.o61h-pick__box { position: absolute; right: 9px; top: 9px; background: #fff; width: 22px; height: 22px; border-radius: 7px; border: 1.5px solid var(--line-2); display: grid; place-items: center; transition: all .16s var(--ease); }
.o61h-pick__box svg { width: 12px; height: 12px; stroke: #fff; stroke-width: 2.6; fill: none; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transform: scale(.6); transition: all .16s var(--ease); }
.o61h-pick:has(input:checked) { border-color: var(--blue-600); background: var(--blue-50); }
.o61h-pick input:checked ~ .o61h-pick__box { background: var(--blue-600); border-color: var(--blue-600); }
.o61h-pick input:checked ~ .o61h-pick__box svg { opacity: 1; transform: none; }
.o61h-pick input:focus-visible ~ .o61h-pick__box { outline: 2px solid var(--blue-500); outline-offset: 2px; }
.o61h-pick:has(input:focus-visible) { outline: 2px solid var(--blue-500) !important; outline-offset: 2px; border-radius: 12px; }
.o61h-perrow { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; font-size: 13px; color: var(--ink-700); line-height: 1.3; }
.o61h-perrow small { display: block; color: var(--ink-500); font-size: 11.5px; }
.o61h-tool__sum { margin-top: 10px; padding: 11px 14px; border-radius: 14px; background: var(--navy-900); color: #fff; }
.o61h-tool__sumrow { display: flex; align-items: baseline; justify-content: space-between; }
.o61h-tool__sumrow b { font: 800 25px/1 var(--f-head); letter-spacing: -.01em; }
.o61h-tool__sumrow span { font-size: 13px; color: #B8C4DE; }
.o61h-tool__state { font-size: 12.5px; margin-top: 8px; color: #C8D2EA; }
.o61h-tool__state b { color: var(--gold-300); font-weight: 600; }
.o61h-tool__state.is-ready { color: #8FE0B0; }
.o61h-tool > .o61-btn { margin-top: 10px; width: 100%; }
.o61h-calc.is-ready .o61-scale__fill, .o61h-calc.is-ready .o61-scale__mark { background: #3DD68C; }

.o61h-card__msg { font-size: 12.5px; line-height: 1.4; color: var(--err-600); margin-top: 8px; }
.o61h-card__msg.is-info { color: var(--ink-700); }
.o61h-card__msg[hidden] { display: none; }

/* кабинет клиента */
.o61h-acct__hello { display: flex; align-items: center; gap: 12px; }
.o61h-acct__ava { width: 44px; height: 44px; border-radius: 12px; background: var(--g-navy); color: var(--gold-300); display: grid; place-items: center; font: 800 16px var(--f-head); flex: none; }
.o61h-acct__hi { font-size: 13px; color: var(--ink-500); }
.o61h-acct__org { font: 800 17px/1.2 var(--f-head); overflow-wrap: break-word; }
.o61h-lastord { margin: 16px 0 14px; padding: 14px; border-radius: 14px; background: var(--bg-soft); border: 1px solid var(--line); }
.o61h-lastord__top { display: flex; justify-content: space-between; font-size: 13px; color: var(--ink-500); }
.o61h-lastord__big { font: 800 25px/1.1 var(--f-head); margin-top: 6px; letter-spacing: -.01em; }
.o61h-lastord__big small { font: 600 14px var(--f-ui); color: var(--ink-500); }
.o61h-lastord__empty { margin-top: 8px; font-size: 13px; line-height: 1.45; color: var(--ink-700); }
.o61h-thumbs { display: flex; margin-top: 12px; }
.o61h-thumbs img, .o61h-thumbs span { width: 46px; height: 46px; border-radius: 50%; object-fit: contain; border: 2px solid #fff; margin-right: -10px; background: #fff; box-shadow: var(--sh-1); }
.o61h-thumbs span { display: grid; place-items: center; font: 700 12px var(--f-ui); background: var(--navy-900); color: #fff; }
.o61h-lastord__warn { display: flex; gap: 8px; margin-top: 12px; font-size: 12.5px; line-height: 1.4; color: var(--ink-700); }
.o61h-lastord__warn .o61-ico { width: 16px; height: 16px; color: var(--gold-600); margin-top: 1px; }
.o61h-acct > .o61-btn { width: 100%; }
.o61h-freq { margin-top: 14px; }
.o61h-freq__cap { font-size: 12px; color: var(--ink-500); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 6px; }
.o61h-freq__row { display: flex; align-items: center; gap: 10px; padding: 6px 0; border-top: 1px solid var(--line); font-size: 13px; }
.o61h-freq__row img { width: 40px; height: 30px; border-radius: 6px; object-fit: contain; background: #fff; flex: none; }
.o61h-freq__row > span { min-width: 0; }
.o61h-freq__row b { font-weight: 600; display: block; line-height: 1.2; }
.o61h-freq__row b a { color: var(--ink-900); }
.o61h-freq__row b a:hover { color: var(--blue-600); }
.o61h-freq__row small { color: var(--ink-500); }
.o61h-freq__add { margin-left: auto; height: 30px; padding: 0 10px; border: 0; border-radius: 8px; background: var(--blue-50); color: var(--blue-600); font: 700 12.5px var(--f-ui); white-space: nowrap; cursor: pointer; transition: background .16s; flex: none; }
.o61h-freq__add:hover { background: var(--blue-100); }
.o61h-freq__add.is-done { background: var(--ok-100); color: var(--ok-600); }
.o61h-freq__add[disabled] { cursor: default; }
.o61h-freq__no { margin-left: auto; font-size: 12px; color: var(--ink-500); white-space: nowrap; }
.o61h-acct__links { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.o61h-acct__links a { display: flex; align-items: center; justify-content: center; gap: 8px; height: 40px; border-radius: 10px; border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--navy-900); transition: border-color .16s, color .16s; }
.o61h-acct__links a:hover, .o61h-acct__links a:focus { border-color: var(--blue-600); color: var(--blue-600); }
.o61h-acct__links .o61-ico { width: 17px; height: 17px; }

.o61h-mtiles { display: none; }

/* ---------- полоса фактов ---------- */
.o61h-facts { margin: 16px 0 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); }
.o61h-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); }
.o61h-fact + .o61h-fact::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 1px; background: var(--line); }
.o61h-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); }
.o61h-fact__i .o61-ico { width: 22px; height: 22px; stroke-width: 1.5; }
.o61h-fact b { display: block; color: var(--ink-900); font-weight: 600; }
/* «Быстрый заказ» — вся плашка ссылкой на «Заказ по артикулам» (Вадим 12.11). Нажимаемость: стрелка в кружке справа;
   наведение — только с мышью (Safari на таче держит :hover после тапа), на таче — отклик :active */
.o61h-fact.o61h-fact--link { padding: 0; }
/* подсветка — «таблетка» с отступом 4 px внутри ячейки: не доходит до края и не закрывает разделитель с соседней плашкой
   (QA 12.11); снаружи размеры прежние: 4 + 12 = 16, 4 + 10 = 14 */
.o61h-fact__a { flex: 1; min-width: 0; align-self: stretch; display: flex; align-items: center; gap: 11px; margin: 4px; padding: 12px 10px; border-radius: 12px; color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; transition: background-color .16s var(--ease); }
.o61h-fact__a:hover, .o61h-fact__a:focus { color: inherit; text-decoration: none; }
.o61h-fact__t { flex: 1 1 auto; min-width: 0; }
.o61h-fact__go { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-50); color: var(--blue-600); transition: transform .18s var(--ease), background-color .18s var(--ease), color .18s var(--ease); }
.o61h-fact__go .o61-ico { width: 14px; height: 14px; stroke-width: 2.2; }
.o61h-fact__a:active { background: var(--bg-soft); }
.o61h-fact__a:active .o61h-fact__go { transform: translateX(2px); }
@media (hover: hover) and (pointer: fine) {
  .o61h-fact__a:hover { background: #F7F9FE; }
  .o61h-fact__a:hover b { color: var(--blue-600); }
  .o61h-fact__a:hover .o61h-fact__go { transform: translateX(3px); background: var(--blue-600); color: #fff; }
}

/* ---------- секции ---------- */
.o61h-sec { padding: 72px 0 0; }
.o61h-sec__head { display: flex; align-items: flex-end; gap: 24px; margin-bottom: 24px; }
.o61h-sec__title { margin: 8px 0 0; font: 800 var(--t-31)/1.15 var(--f-head); letter-spacing: -.015em; }
.o61h-sec__more { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; color: var(--blue-600); font-weight: 600; font-size: 15px; white-space: nowrap; }
.o61h-sec__more:hover, .o61h-sec__more:focus { color: var(--blue-600); }
.o61h-sec__more .o61-ico { transition: transform .16s var(--ease); }
.o61h-sec__more:hover .o61-ico { transform: translateX(3px); }

/* категории */
.o61h-cats { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); grid-auto-rows: minmax(214px, auto); gap: 16px; }
.o61h-cat { position: relative; border-radius: var(--r-20); overflow: hidden; background: linear-gradient(165deg, #FFFFFF 0%, #F2F5FB 100%); border: 1px solid var(--line); padding: 18px 20px; display: flex; flex-direction: column; justify-content: flex-end; color: var(--ink-900); transition: border-color .2s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease); isolation: isolate; }
.o61h-cat:hover, .o61h-cat:focus { color: var(--ink-900); border-color: #BFD0F5; box-shadow: var(--sh-2); transform: translateY(-2px); }
.o61h-cat__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 8px 20px 62px; z-index: -1; mix-blend-mode: multiply; transition: transform .5s var(--ease); }
.o61h-cat:hover .o61h-cat__img { transform: scale(1.045); }
.o61h-cat__ph { position: absolute; inset: 0 0 62px; display: grid; place-items: center; color: var(--navy-800); z-index: -1; }
.o61h-cat__ph .o61-ico { width: 64px; height: 64px; stroke-width: 1.1; opacity: .5; }
.o61h-cat__n, .o61h-cat__c { padding-right: 40px; }
.o61h-cat__n { font: 700 17px/1.2 var(--f-head); }
.o61h-cat__c { font-size: 13px; color: var(--ink-500); margin-top: 3px; }
.o61h-cat__go { position: absolute; right: 16px; bottom: 16px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); color: var(--blue-600); transition: all .2s var(--ease); }
.o61h-cat:hover .o61h-cat__go { background: var(--blue-600); color: #fff; border-color: var(--blue-600); transform: translateX(2px); }
.o61h-cat--main { grid-row: span 2; background: var(--g-navy); color: #fff; border: 0; padding: 28px; }
.o61h-cat--main:hover, .o61h-cat--main:focus { color: #fff; }
.o61h-cat--main .o61h-cat__img { mix-blend-mode: normal; object-fit: cover; padding: 0; object-position: 72% 60%; }
.o61h-cat--main::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(6,18,41,.92) 0%, rgba(6,18,41,.3) 46%, transparent 70%); }
.o61h-cat--main .o61h-cat__n { font-size: var(--t-25); padding-right: 0; }
.o61h-cat--main .o61h-cat__c { color: #C8D2EA; font-size: 14px; max-width: 300px; margin-top: 8px; padding-right: 0; }
.o61h-cat__big { font: 800 var(--t-49)/1 var(--f-head); letter-spacing: -.02em; }
.o61h-cat__big small { font: 600 16px var(--f-ui); color: #C8D2EA; letter-spacing: 0; margin-left: 6px; }
.o61h-cat--main .o61h-cat__go { background: var(--g-gold); color: var(--navy-950); border: 0; width: 44px; height: 44px; }

/* хиты, карточки */
.o61h-hits { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 16px; align-items: stretch; }
.o61h-tabs { display: inline-flex; gap: 6px; padding: 5px; background: var(--bg-tint); border-radius: 14px; margin-left: 28px; }
.o61h-tab { height: 38px; padding: 0 16px; border: 0; border-radius: 10px; background: none; font-weight: 600; font-size: 14px; color: var(--ink-700); cursor: pointer; transition: all .16s var(--ease); }
.o61h-tab:hover { color: var(--blue-600); }
.o61h-tab[aria-selected="true"] { background: var(--navy-900); color: #fff; box-shadow: var(--sh-2); }
.o61h-tab span { font-weight: 500; opacity: .7; margin-left: 4px; }
.o61h-rail { position: relative; min-width: 0; }
.o61h-rail__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 4); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 18px; margin: -4px -2px 0; }
.o61h-rail__track::-webkit-scrollbar { display: none; }
.o61h-rail__nav { position: absolute; top: 34%; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: var(--sh-3); color: var(--navy-900); cursor: pointer; z-index: 3; transition: opacity .2s, transform .16s; }
.o61h-rail__nav:hover { color: var(--blue-600); transform: scale(1.06); }
.o61h-rail__nav--prev { left: -18px; }
.o61h-rail__nav--next { right: -18px; }
.o61h-rail__nav[disabled] { opacity: 0; pointer-events: none; }
.o61h-rail__empty { grid-column: 1 / -1; padding: 48px; text-align: center; border: 1px dashed var(--line-2); border-radius: var(--r-16); color: var(--ink-500); }

.o61h-card { 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; }
.o61h-card:hover { box-shadow: var(--sh-3); border-color: transparent; transform: translateY(-3px); }
.o61h-card[hidden] { display: none; }
.o61h-card__media { position: relative; aspect-ratio: 4 / 3; border-radius: 15px 15px 0 0; overflow: hidden; background: #fff; }
.o61h-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease), opacity .3s; }
.o61h-card__media img[data-fit="contain"] { object-fit: contain; mix-blend-mode: multiply; } /* высокое фото целиком */
.o61h-card__media img.o61h-card__alt { position: absolute; inset: 0; opacity: 0; background: #fff; }
.o61h-card:hover .o61h-card__alt { opacity: 1; }
.o61h-card:hover .o61h-card__media img { transform: scale(1.04); }
.o61h-card__ovl { position: absolute; inset: 0; z-index: 1; }
.o61h-badge { position: absolute; left: 12px; top: 12px; height: 24px; padding: 0 10px 0 8px; border-radius: 8px; display: inline-flex; align-items: center; gap: 6px; font: 700 11.5px/1 var(--f-ui); letter-spacing: .03em; z-index: 2; }
.o61h-badge--hit { background: var(--navy-900); color: #fff; }
.o61h-badge--hit::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold-400); }
.o61h-badge--new { background: var(--g-gold); color: var(--navy-950); }
.o61h-card__body { padding: 14px; display: flex; flex-direction: column; flex: 1; }
.o61h-card__art { font: 600 12px/1 var(--f-ui); color: var(--ink-500); letter-spacing: .02em; }
.o61h-card__name { margin: 6px 0 0; font: 600 15px/1.3 var(--f-ui); min-height: 39px; }
.o61h-card__name a { color: var(--ink-900); }
.o61h-card__name a:hover, .o61h-card__name a:focus { color: var(--blue-600); }
.o61h-card__row { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.o61h-price { font: 800 var(--t-25)/1 var(--f-head); letter-spacing: -.01em; white-space: nowrap; }
.o61h-price small { display: inline; margin-left: 2px; font: 500 13px/1 var(--f-ui); color: var(--ink-500); letter-spacing: 0; }
.o61h-stock { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--ok-600); white-space: nowrap; }
.o61h-stock--dup { display: none; }
.o61h-stock::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px var(--ok-100); }

/* ряд диоптрий — та же шкала */
.o61h-dio { margin-top: 12px; }
.o61h-dio__cap { display: flex; justify-content: space-between; gap: 6px; white-space: nowrap; font-size: 12px; color: var(--ink-500); margin-bottom: 6px; }
.o61h-dio__cap b { color: var(--ink-900); font-weight: 600; }
.o61h-dio__cap span:last-child::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: var(--ok-600); vertical-align: 1px; }
.o61h-dio__row { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; position: relative; padding-bottom: 7px; }
.o61h-dio__row::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: repeating-linear-gradient(90deg, var(--line-2) 0 1px, transparent 1px calc(100% / 14)); border-bottom: 1px solid var(--line-2); }
.o61h-dc { height: 34px; padding: 0; border-radius: 7px; border: 1px solid var(--line); background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; font: 600 11px/1 var(--f-ui); letter-spacing: -.03em; color: var(--ink-900); position: relative; cursor: pointer; transition: all .14s var(--ease); font-variant-numeric: tabular-nums; }
.o61h-dc i { width: 5px; height: 5px; border-radius: 50%; background: var(--ok-600); margin-top: 4px; }
.o61h-dc:hover { border-color: var(--blue-600); color: var(--blue-600); }
.o61h-dc[aria-pressed="true"] { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.o61h-dc[aria-pressed="true"] i { background: var(--gold-400); }
.o61h-dc.is-out { color: var(--ink-500); background: repeating-linear-gradient(135deg, #F4F6FA 0 4px, #fff 4px 8px); cursor: not-allowed; }
.o61h-dc.is-out i { background: transparent; border: 1px solid var(--ink-400); box-sizing: border-box; }
.o61h-incart { display: none; order: 1; } /* видна только там, где в плитке нет кнопки (ниже, «Новые модели» ≤ 991 px) */
.o61h-card__all { margin-top: 8px; font-size: 13px; font-weight: 600; color: var(--blue-600); display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; }
.o61h-card__all:hover, .o61h-card__all:focus { color: var(--blue-600); text-decoration: underline; text-underline-offset: 3px; }
.o61h-card__sum { margin-top: 8px; font-size: 12.5px; color: var(--ink-700); }
.o61h-card__sum[hidden] { display: none; }
.o61h-card__buy { display: flex; gap: 8px; margin-top: auto; padding-top: 12px; }
.o61h-card__buy .o61-btn { flex: 1; min-width: 0; --h: 40px; padding: 0 8px; gap: 6px; font-size: 14px; border-radius: 10px; }
.o61h-card__buy .o61h-stepper { height: 40px; }
.o61h-card__buy .o61h-stepper button { width: 28px; }
.o61h-card__buy .o61h-stepper input { width: 30px; font-size: 14px; }
.o61h-card.is-err .o61h-dio__row .o61h-dc:not(.is-out) { border-color: #F0B8B8; }
.o61h-card.is-err .o61h-card__msg { animation: o61h-shake .3s; }
@keyframes o61h-shake { 25% { transform: translateX(-3px); } 75% { transform: translateX(3px); } }
.o61h-card.is-added .o61h-card__buy .o61-btn--blue { background: var(--ok-600); }

/* условия для оптовиков */
.o61h-offer { position: relative; border-radius: var(--r-20); overflow: hidden; background: var(--g-navy); color: #fff; padding: 26px 24px 24px; display: flex; flex-direction: column; gap: 14px; isolation: isolate; box-shadow: var(--sh-3); min-width: 0; }
.o61h-offer::before { content: ""; position: absolute; inset: 0; z-index: -1; background: repeating-linear-gradient(90deg, rgba(255,255,255,.05) 0 1px, transparent 1px 22px); -webkit-mask: linear-gradient(180deg, transparent, #000 50%, transparent); mask: linear-gradient(180deg, transparent, #000 50%, transparent); }
.o61h-offer__k { font: 800 13px/1.2 var(--f-head); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-300); }
.o61h-offer__t { font: 800 var(--t-25)/1.2 var(--f-head); letter-spacing: -.01em; color: #fff; }
.o61h-offer__ph { display: inline-flex; align-items: center; gap: 10px; margin-top: auto; font: 800 20px/1 var(--f-head); color: #fff; white-space: nowrap; }
.o61h-offer__ph:hover, .o61h-offer__ph:focus { color: var(--gold-300); }
.o61h-offer__ph .o61-ico { color: var(--gold-400); }
.o61h-offer .o61-btn { width: 100%; }
.o61h-offer__note { font-size: 12px; color: #9DAAC6; text-align: center; }
.o61h-offer__list { display: grid; gap: 13px; max-width: 190px; }
.o61h-offer__list li { display: flex; gap: 10px; align-items: center; font-size: 15px; color: #E3E9F7; }

/* быстрый заказ (картинка-пример, рабочая страница — этап 8) */
.o61h-qo { display: grid; grid-template-columns: 1fr 1.25fr; border-radius: var(--r-28); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--sh-2); background: #fff; }
.o61h-qo__left { padding: 40px; background: var(--bg-soft); border-right: 1px solid var(--line); position: relative; min-width: 0; }
.o61h-qo__left::after { content: ""; position: absolute; right: 0; top: 40px; bottom: 40px; width: 9px; background: repeating-linear-gradient(180deg, var(--line-2) 0 1px, transparent 1px 12px); }
.o61h-qo__t { margin: 10px 0 0; font: 800 var(--t-31)/1.15 var(--f-head); letter-spacing: -.015em; }
.o61h-qo__p { color: var(--ink-700); margin: 12px 0 0; font-size: 15px; max-width: 440px; }
.o61h-qo__fmt { margin-top: 18px; font-size: 13px; color: var(--ink-500); }
.o61h-qo__fmt code { font: 600 13px/1.6 ui-monospace, "Cascadia Mono", Consolas, monospace; background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 2px 6px; color: var(--navy-900); }
.o61h-qo__code { margin-top: 14px; padding: 14px 16px; border: 1.5px solid var(--line-2); border-radius: 14px; background: #fff; font: 500 15px/1.65 ui-monospace, "Cascadia Mono", Consolas, monospace; color: var(--ink-900); white-space: pre; overflow-x: auto; }
.o61h-qo__btns { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.o61h-qo__right { padding: 32px 36px; display: flex; flex-direction: column; min-width: 0; }
.o61h-qo__cap { font-size: 12px; color: var(--ink-500); text-transform: uppercase; letter-spacing: .06em; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.o61h-qrow { display: grid; grid-template-columns: 60px 1fr 64px 72px 86px; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.o61h-qrow img { width: 60px; height: 45px; border-radius: 8px; object-fit: contain; background: #fff; border: 1px solid var(--line); }
.o61h-qrow__n { font-weight: 600; line-height: 1.25; min-width: 0; }
.o61h-qrow__n small { display: block; font-weight: 400; color: var(--ink-500); font-size: 12px; }
.o61h-qrow__s { text-align: right; font: 700 15px var(--f-head); }
.o61h-qo__total { margin-top: auto; padding-top: 18px; display: flex; align-items: center; gap: 20px; }
.o61h-qo__sum { font: 800 var(--t-31)/1 var(--f-head); letter-spacing: -.01em; }
.o61h-qo__meta { font-size: 13px; color: var(--ink-500); margin-top: 4px; }
.o61h-qo__bar { flex: 1; }
.o61h-qo__bar .o61-scale { margin-top: 10px; }
.o61h-qo__bar small { font-size: 12.5px; color: var(--ink-700); }

/* новинки */
.o61h-news { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

/* как начать + прайс */
.o61h-start { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.o61h-steps { padding: 36px; border-radius: var(--r-28); border: 1px solid var(--line); background: #fff; min-width: 0; }
.o61h-steps__list { margin: 26px 0; position: relative; }
.o61h-steps__list::before { content: ""; position: absolute; left: 21px; top: 8px; bottom: 30px; width: 10px; background: repeating-linear-gradient(180deg, var(--line-2) 0 1px, transparent 1px 8px); -webkit-mask: linear-gradient(90deg, #000 0 1px, transparent 1px 3px, #000 3px 100%); mask: linear-gradient(90deg, #000 0 1px, transparent 1px 3px, #000 3px 100%); }
.o61h-step { display: grid; grid-template-columns: 44px 1fr; gap: 18px; padding-bottom: 24px; position: relative; }
.o61h-step__n { width: 44px; height: 44px; border-radius: 50%; background: #fff; border: 1.5px solid var(--line-2); display: grid; place-items: center; font: 800 16px var(--f-head); color: var(--navy-900); position: relative; z-index: 1; }
.o61h-step:first-child .o61h-step__n { background: var(--g-gold); border: 0; box-shadow: var(--sh-gold); }
.o61h-step b { display: block; font: 700 17px/1.3 var(--f-head); padding-top: 2px; }
.o61h-step p { margin: 4px 0 0; color: var(--ink-700); font-size: 14.5px; }
.o61h-step p a { color: var(--blue-600); font-weight: 600; }
.o61h-step p a:hover, .o61h-step p a:focus { color: var(--blue-500); text-decoration: underline; }

/* прайсы и каталоги: текст и две кнопки во всю ширину, внизу — два «файла», каждый откликается на свою кнопку */
.o61h-pack { position: relative; border-radius: var(--r-28); overflow: hidden; background: var(--g-navy); color: #fff; padding: 36px; isolation: isolate; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; }
.o61h-pack--art { padding-bottom: 262px; }
.o61h-pack::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 50% at 80% 100%, rgba(242,193,78,.16), transparent 70%); }
.o61h-pack__tag { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 999px; border: 1px solid rgba(242,193,78,.5); background: rgba(242,193,78,.1); color: var(--gold-300); font: 700 12px/1 var(--f-ui); letter-spacing: .12em; text-transform: uppercase; }
.o61h-pack .o61h-sec__title { color: #fff; margin-top: 16px; }
.o61h-pack p { color: #C8D2EA; max-width: 470px; font-size: 15px; margin: 12px 0 0; }
.o61h-pack .o61h-pack__sub { margin-top: 8px; font: 700 var(--t-20)/1.3 var(--f-head); color: #E3E9F7; letter-spacing: -.005em; }
.o61h-pack__btns { display: grid; gap: 12px; margin-top: 24px; width: 100%; }
.o61h-pack__btns .o61-btn { width: 100%; }
.o61h-pack .o61h-pack__note { margin-top: 14px; font-size: 13px; line-height: 1.45; color: #9DAAC6; max-width: none; }
.o61h-spread { position: absolute; left: 32px; bottom: -34px; z-index: 1; width: 344px; display: grid; grid-template-columns: 1fr 1fr; background: #fff; border-radius: 8px; box-shadow: 0 40px 60px -20px rgba(0,0,0,.6); transform: rotate(-4deg); transform-origin: 30% 100%; color: var(--ink-900); transition: transform .45s var(--ease); }
.o61h-spread::after { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 28px; margin-left: -14px; background: linear-gradient(90deg, transparent, rgba(12,23,48,.09) 50%, transparent); pointer-events: none; }
.o61h-spread__pg { position: relative; display: grid; grid-template-columns: 1fr 1fr; align-content: start; gap: 10px; padding: 16px 14px 30px; }
.o61h-spread__m { min-width: 0; }
.o61h-spread__m img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; background: #F4F6FA; border-radius: 4px; }
.o61h-spread__m b { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; margin-top: 7px; font: 700 10.5px/1.25 var(--f-head); min-height: 2.5em; }
.o61h-spread__m small { display: block; margin-top: 2px; font-size: 9.5px; line-height: 1.3; color: var(--ink-500); }
.o61h-spread__m i { display: block; height: 5px; margin-top: 6px; background: repeating-linear-gradient(90deg, var(--line-2) 0 1px, transparent 1px 4px); }
.o61h-spread__n { position: absolute; bottom: 10px; left: 14px; font: 600 9px/1 var(--f-ui); color: var(--ink-400); }
.o61h-spread__pg + .o61h-spread__pg .o61h-spread__n { left: auto; right: 14px; }
.o61h-xl { position: absolute; right: 22px; bottom: -58px; width: 300px; background: #fff; border-radius: 12px; box-shadow: 0 40px 60px -20px rgba(0,0,0,.55); transform: rotate(5deg); transform-origin: 70% 100%; color: var(--ink-900); overflow: hidden; font-size: 11.5px; transition: transform .45s var(--ease); }
/* «поднять» прайс/каталог при наведении на кнопку — только мышью и с клавиатуры, на таче после тапа не залипает (QA 12.11) */
.o61h-pack:has(.o61-btn--gold:focus-visible) .o61h-xl { transform: rotate(2deg) translateY(-18px); }
.o61h-pack:has(.o61h-btn-ghost:focus-visible) .o61h-spread { transform: rotate(-1.5deg) translateY(-18px); }
@media (hover: hover) and (pointer: fine) {
  .o61h-pack:has(.o61-btn--gold:hover) .o61h-xl { transform: rotate(2deg) translateY(-18px); }
  .o61h-pack:has(.o61h-btn-ghost:hover) .o61h-spread { transform: rotate(-1.5deg) translateY(-18px); }
}
.o61h-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; }
.o61h-xl__bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.4); }
.o61h-xl__bar span { margin-left: 8px; }
.o61h-xl table { width: 100%; border-collapse: collapse; margin: 0; }
.o61h-xl th, .o61h-xl td { border: 1px solid #E3E7EE; padding: 6px 8px; text-align: left; white-space: nowrap; background: none; font-size: inherit; line-height: 1.4; color: inherit; }
.o61h-xl th { background: #F3F5F8; font-weight: 600; color: var(--ink-500); }
.o61h-xl td:last-child { text-align: right; font-weight: 600; }
.o61h-xl tr:nth-child(3) td { background: #E8F2EC; }

/* доставка и контакты */
.o61h-contact { display: grid; grid-template-columns: 1.15fr 1fr; gap: 16px; }
.o61h-wh { position: relative; border-radius: var(--r-28); overflow: hidden; min-height: 460px; background: var(--g-navy); isolation: isolate; min-width: 0; }
.o61h-wh img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.o61h-wh::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(6,18,41,.88) 0%, rgba(6,18,41,.2) 55%, transparent 80%); }
.o61h-wh__in { position: absolute; left: 32px; right: 32px; bottom: 30px; color: #fff; }
.o61h-wh__in .o61h-sec__title { color: #fff; margin-top: 0; }
.o61h-wh__in p { color: #D5DDF0; margin: 10px 0 0; max-width: 520px; }
.o61h-wh__chips { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.o61h-wh__chips span { height: 32px; padding: 0 12px; border-radius: 999px; display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); font-size: 13px; }
.o61h-wh__chips .o61-ico { width: 16px; height: 16px; color: var(--gold-400); }
.o61h-cbox { border-radius: var(--r-28); border: 1px solid var(--line); background: #fff; padding: 28px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.o61h-cbox__t { font: 800 var(--t-25)/1.2 var(--f-head); letter-spacing: -.015em; }
.o61h-cline { display: flex; align-items: flex-start; gap: 14px; color: var(--ink-900); }
.o61h-cline__i { width: 42px; height: 42px; border-radius: 12px; background: var(--bg-tint); display: grid; place-items: center; color: var(--navy-800); flex: none; }
.o61h-cline small { display: block; font-size: 12.5px; color: var(--ink-500); }
.o61h-cline b { font: 700 17px/1.3 var(--f-head); overflow-wrap: break-word; }
a.o61h-cline:hover, a.o61h-cline:focus { color: var(--ink-900); }
a.o61h-cline:hover b, a.o61h-cline:focus b { color: var(--blue-600); }
.o61h-cbox__msg { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; }
.o61h-cbox__msg a { height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; gap: 10px; font-weight: 600; font-size: 15px; border: 1px solid var(--line); color: var(--ink-900); transition: all .16s; }
.o61h-cbox__msg a:hover, .o61h-cbox__msg a:focus { border-color: var(--blue-600); color: var(--blue-600); }
.o61h-mx { height: 18px; padding: 0 5px; border-radius: 6px; background: linear-gradient(135deg, #2A5FE0, #6E35E8); color: #fff; font: 800 10px/18px var(--f-head); letter-spacing: .04em; }
.o61h-map { position: relative; flex: 1; min-height: 190px; border-radius: 16px; overflow: hidden; background: var(--bg-tint); border: 1px solid var(--line); }
.o61h-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; opacity: 0; transition: opacity .4s var(--ease); }
.o61h-map.is-live iframe { opacity: 1; }
.o61h-map__pv { position: absolute; inset: 0; }
.o61h-map__pv > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.o61h-map__pin { position: absolute; left: calc(50% - 22px); top: calc(42% - 58px); width: 44px; height: 44px; border-radius: 50% 50% 50% 0; rotate: -45deg; background: var(--navy-900); display: grid; place-items: center; box-shadow: var(--sh-2); }
.o61h-map__pin .o61-ico { rotate: 45deg; color: var(--gold-400); width: 22px; height: 22px; }
.o61h-map__card { position: absolute; left: 50%; top: calc(42% + 2px); transform: translateX(-50%); background: #fff; border-radius: 10px; padding: 8px 12px; box-shadow: var(--sh-2); font-size: 12.5px; color: var(--ink-700); white-space: nowrap; text-align: center; }
.o61h-map__card b { display: block; color: var(--ink-900); font-size: 13px; }
.o61h-map__open { position: absolute; left: 12px; bottom: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: 10px; background: #fff; box-shadow: var(--sh-2); font-size: 13px; font-weight: 600; color: var(--blue-600); }
.o61h-map__open:hover, .o61h-map__open:focus { background: var(--blue-50); color: var(--blue-600); }
.o61h-map__load { position: absolute; right: 12px; bottom: 12px; z-index: 2; height: 36px; padding: 0 14px; border: 0; border-radius: 10px; background: var(--navy-900); color: #fff; font: 600 13px var(--f-ui); cursor: pointer; transition: background .16s var(--ease); }
.o61h-map__load:hover { background: var(--blue-600); }
.o61h-map.is-live .o61h-map__load, .o61h-map.is-loading .o61h-map__load { display: none; }

/* о компании: текст из модуля раскладки, в его HTML остались инлайн-стили редактора — гасим стилями контейнера */
.o61h-about__grid { display: grid; grid-template-columns: 1fr 2fr; gap: 32px; border-top: 1px solid var(--line); padding-top: 40px; }
.o61h-about .o61h-sec__title { margin-top: 0; }
.o61h-about__text { max-width: 760px; color: var(--ink-700); font: 400 16px/1.65 var(--f-ui); min-width: 0; }
.o61h-about__text * { font-family: inherit !important; font-size: inherit !important; line-height: inherit !important; color: inherit !important; text-align: left !important; background: none !important; white-space: normal !important; letter-spacing: normal !important; }
.o61h-about__text p { margin: 0 0 14px; }
.o61h-about__text p:last-child { margin-bottom: 0; }
.o61h-about__text :is(h1, h2, h3) { margin: 0 0 14px; font-family: var(--f-head) !important; font-size: var(--t-20) !important; font-weight: 800; color: var(--ink-900) !important; line-height: 1.25 !important; }
.o61h-about__text b, .o61h-about__text strong { font-weight: 700; color: var(--ink-900) !important; }
.o61h-about__text a { color: var(--blue-600) !important; text-decoration: underline; text-underline-offset: 3px; }
.o61h-about__text img { max-width: 100%; height: auto; }
.o61h-about__text :is(ul, ol) { margin: 0 0 14px; padding-left: 22px; list-style: revert; }

/* всплывающие подсказки о корзине */
/* один тост за раз, сверху: на ПК справа под плашкой корзины, на телефоне под липкой шапкой; отступ сверху считает
   O61Toast.place (shell.js) и пишет в --o61-toast-top, значения здесь запасные; тело тоста кликов не ловит */
.o61h-toasts { position: fixed; top: var(--o61-toast-top, 96px); right: 14px; z-index: 1200; display: grid; gap: 8px; width: min(380px, calc(100vw - 28px)); pointer-events: none; }
.o61h-toast { display: flex; align-items: flex-start; 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: o61h-pop .3s var(--ease); pointer-events: none; }
.o61h-toast i { width: 30px; height: 30px; border-radius: 50%; background: var(--ok-600); display: grid; place-items: center; flex: none; }
.o61h-toast i svg { width: 16px; height: 16px; stroke: #fff; stroke-width: 2.4; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.o61h-toast.is-warn i { background: var(--gold-500); }
.o61h-toast.is-warn i svg { stroke: var(--navy-950); }
.o61h-toast b { color: var(--gold-300); font-weight: 600; }
@keyframes o61h-pop { from { opacity: 0; transform: translateY(-10px) scale(.98); } }
@media (max-width: 991px) {
  .o61h-toasts { top: var(--o61-toast-top, 72px); left: 12px; right: 12px; width: auto; }
  .o61h-toast { padding: 10px 14px 10px 10px; gap: 10px; font-size: 13.5px; line-height: 1.35; }
}

@media (max-width: 420px) {
  .o61h-map { min-height: 250px; }
  .o61h-map__open, .o61h-map__load { left: 12px; right: 12px; width: auto; justify-content: center; }
  .o61h-map__open { bottom: 56px; }
  .o61h-map__load { bottom: 12px; }
}

/* ---------- ниже 1200: боковой каталог уходит, остаются баннер и правая колонка ---------- */
@media (max-width: 1199px) {
  .o61h-hero__grid { grid-template-columns: minmax(0, 1fr) 300px; }
  .o61h-side { display: none; }
  .o61h-facts { grid-template-columns: repeat(2, 1fr); }
  .o61h-fact:nth-child(3)::before { display: none; }
  .o61h-fact:nth-child(n+3) { border-top: 1px solid var(--line); }
  .o61h-cats { grid-template-columns: repeat(3, 1fr); }
  .o61h-cat--main { grid-column: 1 / -1; grid-row: span 1; min-height: 250px; }
  .o61h-rail__track { grid-auto-columns: calc((100% - 32px) / 3); }
  .o61h-hits { grid-template-columns: minmax(0, 1fr) 260px; }
  .o61h-news { grid-template-columns: repeat(3, 1fr); }
  .o61h-qrow { grid-template-columns: 52px 1fr 56px 64px 76px; gap: 8px; }
}

/* ---------- телефон и планшет: раскладка оболочки (до 991 px) ---------- */
@media (max-width: 991px) {
  .o61h-hero { padding-top: 12px; background: none; }
  .o61h-hero__grid { display: flex; flex-direction: column; gap: 12px; }
  .o61h-banner { min-height: 0; height: 392px; border-radius: 20px; }
  .o61h-slide__bg, .o61h-slide[data-slide="0"] .o61h-slide__bg { object-position: 50% 100%; left: 0; width: 100%; }
  .o61h-slide__shade { background: linear-gradient(180deg, rgba(6,18,41,.92) 0%, rgba(6,18,41,.55) 46%, rgba(6,18,41,0) 72%); }
  .o61h-slide__in { padding: 22px 20px 22px; max-width: none; }
  .o61h-hero__title { font-size: var(--t-31); margin-top: 12px; }
  .o61h-hero__title--s { font-size: var(--t-25); }
  .o61h-hero__city { font-size: var(--t-16); margin-top: 6px; }
  .o61h-about__grid { grid-template-columns: 1fr; gap: 16px; padding-top: 28px; }
  .o61h-eyebrow { font-size: 12px; }
  .o61h-ticks { margin-top: 14px; gap: 6px; }
  .o61h-ticks li { font-size: 13.5px; }
  .o61h-hero__btns { padding-top: 0; }
  .o61h-hero__btns .o61-btn--gold { width: 100%; }
  .o61h-hero__btns .o61h-btn-ghost { display: none; }
  .o61h-ribbon { display: none; }
  .o61h-dots { left: 20px; bottom: 12px; }
  .o61h-banner__arrows { display: none; }
  .o61h-chip { margin-top: 12px; }

  .o61h-mtiles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
  .o61h-mtile { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 4px 10px; border-radius: 14px; background: #fff; border: 1px solid var(--line); font-size: 12px; font-weight: 600; text-align: center; line-height: 1.15; color: var(--navy-900); position: relative; }
  .o61h-mtile:hover, .o61h-mtile:focus { color: var(--navy-900); border-color: var(--blue-600); }
  .o61h-mtile .o61-ico { width: 24px; height: 24px; color: var(--blue-600); }
  .o61h-mtile .o61h-xls { width: 26px; height: 26px; border-radius: 6px; font-size: 10px; }
  .o61h-mtile__new { position: absolute; top: 6px; right: 6px; width: 8px; height: 8px; border-radius: 50%; background: var(--gold-500); }
  .o61h-acct { order: -1; padding: 14px; }
  .o61h-acct .o61h-thumbs, .o61h-acct .o61h-lastord__warn { display: none; }
  .o61h-acct .o61h-lastord { margin: 10px 0; padding: 10px 12px; }
  .o61h-acct > .o61-btn { --h: 48px; }
  .o61h-picks { grid-template-columns: 1fr 1fr; }
  .o61h-pick img { height: 64px; }

  .o61h-facts { margin: 12px 0 0; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; border: 0; background: none; box-shadow: none; gap: 8px; scrollbar-width: none; }
  .o61h-facts::-webkit-scrollbar { display: none; }
  .o61h-fact { flex: 0 0 72%; scroll-snap-align: start; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px; }
  .o61h-fact__a { margin: 0; padding: 12px; border-radius: 13px; } /* полоса прокручивается: плашка — своя карточка */
  .o61h-fact--link { border-color: #C9D9FB; } /* чуть заметнее, что нажимается */
  .o61h-fact + .o61h-fact::before { display: none; }
  .o61h-fact:nth-child(n+4) { border-top: 1px solid var(--line); }

  .o61h-sec { padding-top: 40px; }
  .o61h-sec__head { flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
  .o61h-sec__title { font-size: var(--t-25); }
  .o61h-sec__more { margin-left: 0; font-size: 14px; }
  .o61h-cats { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; gap: 10px; }
  .o61h-cat { padding: 12px 14px; border-radius: 16px; }
  .o61h-cat--main { grid-column: 1 / -1; grid-row: span 2; padding: 20px; min-height: 0; }
  .o61h-cat__big { font-size: var(--t-39); }
  .o61h-cat__n { font-size: 14.5px; }
  .o61h-cat__c { font-size: 12px; }
  .o61h-cat__go { width: 30px; height: 30px; right: 10px; bottom: 10px; }
  .o61h-cat__img { padding: 6px 10px 52px; }
  .o61h-cat--main .o61h-cat__img { padding: 0; }

  .o61h-tabs { margin-left: 0; order: 3; }
  .o61h-hits { grid-template-columns: 1fr; }
  .o61h-rail__track { grid-auto-columns: min(300px, 84%); gap: 12px; }
  .o61h-rail__nav { display: none; }
  .o61h-offer { min-height: 0; }

  .o61h-qo { grid-template-columns: 1fr; border-radius: 20px; }
  .o61h-qo__left, .o61h-qo__right { padding: 22px 18px; }
  .o61h-qo__left::after { display: none; }
  /* «Сформировать заказ по артикулам» длиннее прежней кнопки: на телефоне кнопки во всю ширину и с переносом */
  .o61h-qo__btns .o61-btn { flex: 1 1 100%; min-width: 0; white-space: normal; justify-content: center; text-align: center; }
  .o61h-qo__t { font-size: var(--t-25); }
  .o61h-qrow { grid-template-columns: 52px 1fr auto; row-gap: 2px; }
  .o61h-qrow img { width: 52px; height: 39px; }
  .o61h-qrow__d, .o61h-qrow__q { display: none; }
  .o61h-qo__total { flex-wrap: wrap; }

  .o61h-news { grid-template-columns: 1fr 1fr; gap: 10px; }
  .o61h-news .o61h-card__name { font-size: 13.5px; min-height: 35px; }
  .o61h-news .o61h-price { font-size: 20px; }
  .o61h-news .o61h-card__row { flex-direction: column; align-items: flex-start; gap: 6px; }
  .o61h-news .o61h-dio, .o61h-news .o61h-card__buy, .o61h-news .o61h-card__sum, .o61h-news .o61h-card__msg { display: none; }
  .o61h-news .o61h-card__row { margin-bottom: 10px; }
  .o61h-news .o61h-stock--dup { display: inline-flex; }
  .o61h-news .o61h-card__all { align-self: stretch; justify-content: center; margin-top: auto; height: 40px; border: 1px solid var(--line-2); border-radius: 10px; text-align: center; line-height: 1.15; padding: 0 8px; }
  .o61h-news .o61h-card__body { padding: 12px; }
  /* модель уже в корзине (Вадим 12.11): кнопки в плитке «Новых моделей» тут нет — зелёная строка над «Все N диоптрий» (home.js) */
  .o61h-news .o61h-incart { display: flex; order: 1; align-self: stretch; align-items: center; justify-content: center; min-height: 32px; margin: auto 0 8px; padding: 0 8px; border-radius: 10px; background: var(--ok-100); color: var(--ok-600); font: 700 13px/1.2 var(--f-ui); text-align: center; animation: o61-incart-in .32s cubic-bezier(.2, .8, .2, 1); }
  .o61h-news .o61h-incart + .o61h-card__all { margin-top: 0; }

  .o61h-start, .o61h-contact { grid-template-columns: 1fr; }
  .o61h-steps, .o61h-pack { padding: 24px 20px; border-radius: 20px; }
  .o61h-pack--art { padding-bottom: 250px; }
  .o61h-pack .o61h-pack__sub { font-size: 17px; }
  .o61h-pack__btns .o61-btn { padding: 0 14px; }
  .o61h-wh { min-height: 380px; border-radius: 20px; }
  .o61h-wh__in { left: 20px; right: 20px; bottom: 22px; }
  .o61h-wh__in .o61h-sec__title { font-size: var(--t-25); }
  .o61h-cbox { padding: 20px; border-radius: 20px; }
}

@media (max-width: 560px) {
  .o61h-picks { grid-template-columns: 1fr 1fr; }
  .o61h-facts { gap: 8px; }
}

/* ==== этап 10, A: наложения и переносы (начало) ==== */
/* первый экран главной: на 992–1340 баннер уже 640 px, заголовок 49 px упирался в золотую ленту «314 моделей» */
@media (min-width: 992px) and (max-width: 1340px) {
  .o61h-hero__title { font-size: var(--t-39); }
  .o61h-hero__title--s { font-size: var(--t-31); }
}
/* «Что помещается в минимальный заказ»: название модели в две строки, чтобы артикул не прятался за многоточием */
.o61h-pick__n { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; min-height: 30px; overflow-wrap: anywhere; }
/* ==== этап 10, A: наложения и переносы (конец) ==== */

/* этап 10, руководитель: ссылка из калькулятора героя на «Стартовый набор» */
.o61h-calc__more { align-self: center; margin-top: 10px; font: 600 13px/1.3 var(--f-ui); color: var(--blue-600); text-decoration: none; }
.o61h-calc__more:hover, .o61h-calc__more:focus-visible { text-decoration: underline; }

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

/* P2-2. Плавающая кнопка связи (62 px, справа внизу) на ширинах до ~1460 заходит на правую колонку героя и закрывала
   кнопку калькулятора. Колонке даём отступ ровно на ту часть, которая заходит: 72 px на 1280, 49 на 1366, 0 с 1464. */
@media (min-width: 992px) {
  .o61h-hero__grid { padding-right: clamp(0px, calc(732px - 50vw), 72px); }
}

/* P1-4. Кнопка калькулятора: ниже минимума подпись длиннее («Положить и добрать до 5 000 ₽») — даём перенос,
   высоту держим одинаковой в обоих состояниях, чтобы блок не прыгал. */
.o61h-calc > #o61h-calc-add { height: auto; min-height: 56px; padding: 8px 14px; white-space: normal; line-height: 1.2; text-align: center; }
/* чекбокс модели: настоящий input во всю карточку (раньше 13×13 и pointer-events: none), видимый квадрат 24 px */
.o61h-pick input { inset: 0; width: 100%; height: 100%; margin: 0; z-index: 1; pointer-events: auto; cursor: pointer; }
.o61h-pick__box { width: 24px; height: 24px; z-index: 0; }

/* P2-1. «Выбрать диоптрии» — вторичная кнопка, пока не отмечена ни одна диоптрия; подсказка над рядом, 14 px */
.o61h-card__buy .o61-btn.is-ask { background: #fff; color: var(--blue-600); box-shadow: inset 0 0 0 1.5px var(--blue-600); }
.o61h-card__buy .o61-btn.is-ask:hover, .o61h-card__buy .o61-btn.is-ask:focus { background: var(--blue-50); color: var(--blue-600); }
.o61h-card.is-added .o61h-card__buy .o61-btn.is-ask { background: var(--ok-600); color: #fff; box-shadow: none; }
.o61h-card__body > .o61h-dio, .o61h-card__body > .o61h-card__all, .o61h-card__body > .o61h-card__sum, .o61h-card__body > .o61h-card__buy { order: 1; }
.o61h-card .o61h-card__msg { font-size: 14px; line-height: 1.35; }
.o61h-card .o61h-card__msg.is-info { margin-top: 10px; padding: 8px 10px; border-radius: 8px; background: var(--blue-50); box-shadow: inset 3px 0 0 var(--blue-600); color: var(--navy-900); font-weight: 600; }
@keyframes o61h-nudge { 0%, 100% { transform: none; } 40% { transform: translateY(-4px); } }
.o61h-card.is-nudge .o61h-dc:not(.is-out) { border-color: var(--blue-600); animation: o61h-nudge .5s var(--ease) both; }
.o61h-card.is-nudge .o61h-dc:nth-child(2) { animation-delay: .05s; }
.o61h-card.is-nudge .o61h-dc:nth-child(3) { animation-delay: .1s; }
.o61h-card.is-nudge .o61h-dc:nth-child(4) { animation-delay: .15s; }
.o61h-card.is-nudge .o61h-dc:nth-child(5) { animation-delay: .2s; }
.o61h-card.is-nudge .o61h-dc:nth-child(6) { animation-delay: .25s; }
.o61h-card.is-nudge .o61h-dc:nth-child(7) { animation-delay: .3s; }

/* P2-3/P2-10. Кнопки первого экрана: на телефоне главная — «Смотреть каталог и цены», регистрация вторичная */
.o61h-hero__btns .o61h-hero__cat { display: none; }

@media (max-width: 991px) {
  /* P2-10 */
  .o61h-banner { height: 476px; }
  .o61h-slide__in { padding-bottom: 52px; }
  .o61h-hero__btns { flex-direction: column; flex-wrap: nowrap; gap: 10px; }
  .o61h-hero__btns .o61h-hero__cat { display: inline-flex; }
  .o61h-hero__btns .o61h-hero__reg { --h: 46px; background: rgba(6,18,41,.6); color: #fff; border: 1px solid rgba(255,255,255,.45); box-shadow: none; }
  /* после тапа фон и рамка не «залипают» (QA 12.11): подсветка — мышью, с клавиатуры и в момент нажатия */
  .o61h-hero__btns .o61h-hero__reg:hover, .o61h-hero__btns .o61h-hero__reg:focus { color: #fff; box-shadow: none; }
  .o61h-hero__btns .o61h-hero__reg:focus-visible, .o61h-hero__btns .o61h-hero__reg:active { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.7); }
  .o61h-hero__reg::after { display: none; }
  @media (hover: hover) and (pointer: fine) { .o61h-hero__btns .o61h-hero__reg:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.7); } }

  /* P2-9. Точки карусели: видимая полоска прежняя (26×4), зона нажатия 44×44, лежит под кнопками слайда */
  .o61h-dots { left: 8px; bottom: 0; gap: 0; }
  .o61h-dots button { width: 44px; height: 44px; overflow: visible; }
  .o61h-dots button::before, .o61h-dots button::after { left: 9px; right: 9px; top: 20px; }
  /* P2-9. «−/+»: кнопки 44×44 (степпер калькулятора и хитов) */
  .o61h-stepper, .o61h-card__buy .o61h-stepper, .o61h-stepper--s { height: 47px; } /* 44 внутри рамки 1,5 px */
  .o61h-stepper button, .o61h-card__buy .o61h-stepper button, .o61h-stepper--s button { width: 44px; }
  .o61h-stepper--s input, .o61h-card__buy .o61h-stepper input { width: 32px; }
  .o61h-card__buy .o61-btn { --h: 47px; }
  /* P2-9. Текстовая ссылка калькулятора: зона 44 px по высоте */
  .o61h-calc__more { display: inline-flex; align-items: center; min-height: 44px; margin-top: 4px; }
}

/* P2-8. Мелкий текст на телефоне: рабочие данные не мельче 13 px, служебные «брови» не мельче 12 px */
@media (max-width: 760px) {
  .o61h-tool__k, .o61h-badge { font-size: 12px; }
  .o61h-perrow small { font-size: 12px; }
  .o61h-pick__n, .o61h-pick__p { font-size: 13px; }
  .o61h-tool__state { font-size: 13px; }
  .o61h-card__art, .o61h-dio__cap, .o61h-card__sum, .o61h-stock--dup, .o61h-qo__bar small { font-size: 13px; }
  .o61h-dc { font-size: 13px; }
  .o61h-dio__cap { gap: 4px; }
  .o61h-qrow__n small { font-size: 13px; }
}

/* P2-2 (продолжение). Отступ справа сузил баннер на 992–1439: заголовок 39 px (до 1340 так уже было), поля слайда 32 px —
   иначе «оптом» упирается в золотую ленту «314 моделей», а кнопки «Стать оптовым клиентом» и «Прайс в Excel» уходят в два ряда. */
@media (min-width: 992px) and (max-width: 1439px) {
  .o61h-hero__title { font-size: var(--t-39); }
  .o61h-hero__title--s { font-size: var(--t-31); }
  .o61h-slide__in { padding-left: 32px; padding-right: 32px; padding-bottom: 64px; } /* кнопки выше стрелок слайдера */
  .o61h-dots { left: 32px; }
}

/* пока ничего не выбрано, количество не нужно: кнопка «Выбрать диоптрии» занимает всю строку (в узкой карточке она не помещалась рядом со степпером) */
.o61h-card__buy:has(> .o61-btn.is-ask) .o61h-stepper { display: none; }

/* P2-10/P2-8, узкие телефоны. Четыре строки списка на 360 переносятся на две, поэтому слайд выше, а над кнопками есть зазор. */
@media (max-width: 991px) {
  .o61h-hero__btns { padding-top: 14px; }
  .o61h-mtiles { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 400px) {
  .o61h-mtiles { gap: 6px; }
  .o61h-mtile { padding-left: 0; padding-right: 0; letter-spacing: -.03em; }
}

/* ==== этап 11, приёмка (Н-4): на телефоне кнопки закрывали очки на фото ====
   На ≤440 фото ставится по ширине слайда (не растягивается по высоте), очки лежат в просвете между списком и кнопками;
   кнопки ниже (50 и 40 px), у списка на узких экранах кегль 13. Положение фото — --gy (центр очков от верха слайда). */
@media (max-width: 991px) {
  .o61h-hero__btns { gap: 8px; }
  .o61h-hero__btns .o61h-hero__cat { --h: 50px; }
  .o61h-hero__btns .o61h-hero__reg { --h: 42px; }
}
@media (max-width: 440px) {
  .o61h-banner { height: 500px; --gy: 286px; }
  .o61h-slide[data-slide="0"] .o61h-slide__bg { left: 0; width: 100%; height: auto; top: calc(var(--gy, 300px) - .919 * (100vw - 32px)); bottom: auto; object-fit: fill; }
  .o61h-slide[data-slide="0"] .o61h-slide__shade { background: linear-gradient(180deg, rgba(6,18,41,.97) 0%, rgba(6,18,41,.85) 22%, rgba(6,18,41,.5) 40%, rgba(6,18,41,0) 62%), linear-gradient(0deg, rgba(6,18,41,1) 0%, rgba(6,18,41,.96) 28%, rgba(6,18,41,0) 46%); }
}
@media (max-width: 370px) {
  .o61h-banner { height: 552px; --gy: 345px; }
}
@media (max-width: 400px) {
  .o61h-ticks li { font-size: 13px; gap: 9px; }
  .o61h-ck { width: 18px; height: 18px; }
}

/* ==== этап 11, приёмка (P2-9, остатки): зоны нажатия ссылок на телефоне ==== */
@media (max-width: 991px) {
  .o61h-sec__more { min-height: 44px; }
  .o61h-card__all { min-height: 44px; margin-top: 0; }
  .o61h-news .o61h-card__all { height: auto; min-height: 44px; }
}

/* ==== этап 11, круг 2: блок вошедшего клиента ==== */
/* К-5. «Часто берёте»: иконка корзины и «+N пар» — по кнопке видно, что товар уйдёт в корзину */
.o61h-freq__add { display: inline-flex; align-items: center; gap: 6px; }
.o61h-freq__add .o61-ico { width: 16px; height: 16px; }
.o61h-freq__add.is-done .o61-ico { display: none; }
.o61h-freq__row small { font-size: 12.5px; }
/* К-1. Повтор прошлого заказа: после добавления кнопка не нажимается второй раз (иначе количества удвоятся) */
.o61h-acct > .o61-btn.is-done { pointer-events: none; background: var(--ok-600); color: #fff; box-shadow: none; }
.o61h-acct > .o61-btn.is-done .o61-ico { display: none; } /* галочка уже в тексте, значок повтора не нужен */
@media (max-width: 991px) {
  .o61h-freq__add { height: 44px; padding: 0 14px; }
  .o61h-freq__row { padding: 4px 0; }
}
@media (max-width: 760px) {
  .o61h-freq__row small { font-size: 13px; }
}

/* ==== этап 11, QA M-10: заголовок героя и лента «314 моделей» ====
   Зазор от строки заголовка до ленты (она занимает 142 px справа) не меньше 16 px на любой ширине баннера: кегль заголовка
   считается от ширины баннера (container query), а если места совсем мало, заголовок переносится ниже. */
@media (min-width: 992px) {
  .o61h-banner { container-type: inline-size; }
  h1.o61h-hero__title { font-size: clamp(34px, calc((100cqi - 202px) / 9.8), 49px); max-width: calc(100cqi - 202px); }
  h1.o61h-hero__title .o61h-hero__city { margin-right: -160px; } /* строка «со склада…» ниже ленты и может быть шире заголовка */
}
@media (min-width: 992px) and (max-width: 1439px) {
  h1.o61h-hero__title { font-size: clamp(34px, calc((100cqi - 202px) / 9.8), 39px); }
}

/* ==== «О компании»: лид и факты рядом с фото, полный текст под «Читать полностью» (текст тот же, из модуля темы) ==== */
.o61h-ab { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px; align-items: stretch; border-top: 1px solid var(--line); padding-top: 40px; }
.o61h-ab__ph { position: relative; margin: 0; border-radius: var(--r-28); overflow: hidden; background: var(--g-navy); min-height: 360px; isolation: isolate; }
.o61h-ab__ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; z-index: -1; }
.o61h-ab__ph::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(6,18,41,.78) 0%, rgba(6,18,41,0) 45%); }
.o61h-ab__ph figcaption { position: absolute; left: 20px; bottom: 18px; display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: 999px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28); color: #fff; font: 600 14px/1 var(--f-ui); }
.o61h-ab__ph figcaption::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold-400); box-shadow: 0 0 0 4px rgba(242,193,78,.25); }
.o61h-ab__body { min-width: 0; display: flex; flex-direction: column; }
.o61h-ab .o61h-sec__title { margin: 0; }
.o61h-ab__lead { margin: 14px 0 0; max-width: 620px; font: 500 var(--t-20)/1.4 var(--f-ui); color: var(--ink-900); }
.o61h-ab__facts { margin: 24px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.o61h-ab__facts li { display: flex; flex-direction: column; gap: 4px; padding: 16px 16px 14px; border-radius: var(--r-16); background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-1); min-width: 0; }
.o61h-ab__facts b { font: 800 var(--t-25)/1.1 var(--f-head); letter-spacing: -.015em; color: var(--navy-900); overflow-wrap: anywhere; }
.o61h-ab__facts li:nth-child(-n+3) b { color: var(--blue-600); }
.o61h-ab__facts span { font: 500 14px/1.35 var(--f-ui); color: var(--ink-700); }
.o61h-ab__more { margin-top: 24px; }
.o61h-ab .o61h-about__text { max-width: 760px; }
.o61h-ab .o61h-about__text.is-clamped { position: relative; max-height: 96px; overflow: hidden; }
.o61h-ab .o61h-about__text.is-clamped::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 56px; background: linear-gradient(180deg, rgba(255,255,255,0), #fff); }
.o61h-ab__btn { margin-top: 10px; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0; border: 0; background: none; color: var(--blue-600); font: 600 15px/1 var(--f-ui); cursor: pointer; }
.o61h-ab__btn[hidden] { display: none; }
.o61h-ab__btn:hover { text-decoration: underline; text-underline-offset: 3px; }
.o61h-ab__btn .o61-ico { transition: transform .2s var(--ease); }
.o61h-ab__btn[aria-expanded="true"] .o61-ico { transform: rotate(180deg); }
@media (max-width: 991px) {
  .o61h-ab { grid-template-columns: minmax(0, 1fr); gap: 20px; padding-top: 28px; }
  .o61h-ab__ph { min-height: 0; aspect-ratio: 16 / 10; border-radius: 20px; }
  .o61h-ab__lead { font-size: 17px; }
  .o61h-ab__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .o61h-ab__facts li { padding: 12px 12px 10px; }
  .o61h-ab__facts b { font-size: 20px; }
  .o61h-ab__facts span { font-size: 13px; }
}
@media (max-width: 400px) {
  .o61h-ab__facts b { font-size: 18px; }
}

/* «О компании» без фото (настоящего фото склада пока нет): лид и факты во всю ширину */
.o61h-ab--solo { grid-template-columns: minmax(0, 1fr); }
.o61h-ab--solo .o61h-ab__facts { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.o61h-ab--solo .o61h-ab__facts b { font-size: var(--t-20); }
@media (max-width: 1199px) {
  .o61h-ab--solo .o61h-ab__facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 991px) {
  .o61h-ab--solo .o61h-ab__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .o61h-ab--solo .o61h-ab__facts b { font-size: 18px; }
}

.o61h-ab--solo .o61h-ab__lead { max-width: 900px; }

/* фото плитки хитов, новинок и спецпредложений открывает окно быстрого заказа (home.js → dp-panel.js, правка Вадима 11.11);
   на ПК при наведении — подсказка «Быстрый заказ», как в каталоге. Окно — общий dp-panel.css. */
@media (hover: hover) and (pointer: fine) {
  .o61h-card:has(.o61h-dio) .o61h-card__media::after { content: "Быстрый заказ"; position: absolute; right: 10px; bottom: 10px; z-index: 2; height: 30px; padding: 0 12px 0 30px; border-radius: 15px; background: rgba(10, 27, 61, .88) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F9DC8A' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") 10px 50% / 14px no-repeat; color: #fff; font: 600 12.5px/30px var(--f-ui); pointer-events: none; opacity: 0; transform: translateY(6px); transition: opacity .2s var(--ease), transform .2s var(--ease); }
  .o61h-card:has(.o61h-dio):hover .o61h-card__media::after { opacity: 1; transform: none; }
}

/* подпись «Все 24 диоптрии модели» в узкой плитке «Новинок» (две колонки на телефоне, 159–260 px) в одну строку не
   помещается: «модели» убираем, полный текст остаётся в title и aria-label ссылки */
@media (max-width: 575px) {
  .o61h-news .o61h-card__all-m { display: none; }
}

/* прайсы и каталоги на телефоне: «файлы» мельче, прайс уходит за правый край, цена остаётся видна */
@media (max-width: 560px) {
  .o61h-pack--art { padding-bottom: 196px; }
  .o61h-spread { left: 12px; bottom: -30px; width: 250px; }
  .o61h-spread__pg { gap: 7px; padding: 10px 9px 22px; }
  .o61h-spread__m b { margin-top: 5px; font-size: 8.5px; }
  .o61h-spread__m small { font-size: 7.5px; }
  .o61h-spread__m i { height: 4px; margin-top: 4px; }
  .o61h-spread__n { bottom: 8px; left: 9px; font-size: 7.5px; }
  .o61h-spread__pg + .o61h-spread__pg .o61h-spread__n { right: 9px; }
  .o61h-xl { width: 220px; right: -14px; bottom: -40px; font-size: 9px; }
  .o61h-xl__bar { height: 24px; font-size: 9.5px; }
  .o61h-xl th, .o61h-xl td { padding: 3px 5px; }
}

/* ---------- «Новинки»: пул последних 20 моделей (24.11.2026) ---------- */
.o61-novinki__crumbs { margin: 0 0 14px; font-size: 13px; color: var(--ink-500); }
.o61-novinki__crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.o61-novinki__crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--ink-400); }
.o61-novinki__crumbs a { color: var(--ink-700); }
.o61-novinki__lead { max-width: 760px; margin: 0 0 20px; font-size: 15px; line-height: 1.55; color: var(--ink-700); }
.o61-novinki__empty { padding: 24px 0; color: var(--ink-500); }
