/* OPTIK61 A1, этап 7 — информационные страницы (О нас, Доставка, Оплата, Обмен и брак, Договор оферты, политики, Как оформить)
   и страница «Контакты». Тексты страниц остаются из БД: здесь только оформление, а инлайн-стили старого HTML-контента
   (шрифт Montserrat, цвета, размеры, отступы) гасятся стилями контейнера .o61-i__prose. Подключается из
   extension/module/optik61_info. Классы o61-i-*, o61-ct-*; токены и кнопки — из base.css. */

/* ---------- хлебные крошки (общие для страниц этапа 7) ---------- */
.o61-crumbs { padding: 18px 0 14px; font: 400 13.5px/1.4 var(--f-ui); color: var(--ink-500); }
.o61-crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.o61-crumbs li { display: inline-flex; align-items: center; gap: 6px; margin: 0; }
.o61-crumbs li + li::before { content: ""; width: 6px; height: 6px; border-right: 1.5px solid var(--ink-400); border-top: 1.5px solid var(--ink-400); transform: rotate(45deg); margin-right: 4px; }
.o61-crumbs a { color: var(--ink-500); text-decoration: none; }
.o61-crumbs a:hover { color: var(--blue-600); text-decoration: none; }
.o61-crumbs [aria-current] { color: var(--ink-900); font-weight: 600; }
.o61-crumbs a:focus-visible { outline: 2px solid var(--blue-500); outline-offset: 2px; border-radius: 4px; }

/* ---------- каркас: меню разделов слева, текст справа ---------- */
.o61-i { padding-bottom: 72px; font: 400 var(--t-16)/1.5 var(--f-ui); color: var(--ink-900); background: var(--bg); }
.o61-i *, .o61-i *::before, .o61-i *::after { box-sizing: border-box; }
.o61-i__layout { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 48px; align-items: start; padding-top: 8px; }
.o61-i__main { min-width: 0; max-width: 880px; }
.o61-i__h1 { position: relative; margin: 0 0 28px; padding-bottom: 22px; font: 800 var(--t-39)/1.12 var(--f-head); letter-spacing: -.02em; color: var(--ink-900); text-transform: none; text-wrap: balance; }
/* опознавательный элемент сайта: диоптрийная шкала под заголовком */
.o61-i__h1::after { content: ""; position: absolute; left: 0; bottom: 0; width: 112px; height: 10px;
  background: linear-gradient(var(--gold-400), var(--gold-400)) left bottom / 100% 2px no-repeat,
    repeating-linear-gradient(90deg, var(--gold-400) 0 1px, transparent 1px 16px) left bottom / 100% 10px no-repeat,
    repeating-linear-gradient(90deg, var(--gold-400) 0 1px, transparent 1px 4px) left bottom / 100% 5px no-repeat; }

/* меню разделов */
.o61-i__nav { padding: 10px; border-radius: var(--r-20); background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-1); }
.o61-i__group + .o61-i__group { margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--line); }
.o61-i__gt { padding: 10px 12px 6px; font: 700 12px/1 var(--f-ui); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-500); }
.o61-i__group ul { list-style: none; margin: 0; padding: 0; }
.o61-i__group li { margin: 0; }
.o61-i__link { position: relative; display: block; padding: 10px 36px 10px 12px; border-radius: 12px; font: 500 15px/1.35 var(--f-ui); color: var(--ink-700); text-decoration: none; transition: background-color .16s var(--ease), color .16s var(--ease); }
.o61-i__link:hover { background: var(--bg-soft); color: var(--blue-600); text-decoration: none; }
.o61-i__link:focus-visible { outline: 2px solid var(--blue-500); outline-offset: -2px; }
.o61-i__link.is-active, .o61-i__link.is-active:hover { background: var(--navy-900); color: #fff; font-weight: 600; }
.o61-i__link.is-active::after { content: ""; position: absolute; right: 16px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-right: 2px solid var(--gold-400); border-top: 2px solid var(--gold-400); transform: rotate(45deg); }

/* блок «Остались вопросы» */
.o61-i__help { margin-top: 16px; padding: 22px 20px 20px; border-radius: var(--r-20); background: var(--g-navy); color: #C9D3EA; }
.o61-i__help-t { font: 800 var(--t-20)/1.25 var(--f-head); color: #fff; }
.o61-i__help p { margin: 6px 0 0; font-size: 14px; line-height: 1.45; color: #C9D3EA; }
.o61-i__help-ph { display: block; margin-top: 12px; font: 800 var(--t-20)/1.2 var(--f-head); color: #fff; text-decoration: none; }
.o61-i__help-ph:hover { color: var(--gold-300); text-decoration: none; }
.o61-i__help-msg { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.o61-i__help-msg a, .o61-ct__msg a { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px 0 8px; border-radius: 12px; border: 1px solid rgba(255,255,255,.22); font: 600 14px/1 var(--f-ui); color: #fff; text-decoration: none; transition: background-color .16s var(--ease); }
.o61-i__help-msg a:hover { background: rgba(255,255,255,.1); color: #fff; text-decoration: none; }
.o61-i__help .o61-btn { margin-top: 16px; width: 100%; }
.o61-i__help a:focus-visible { outline: 2px solid var(--gold-400); outline-offset: 2px; }

/* ---------- читаемая колонка текста ---------- */
.o61-i__prose { padding: 36px 44px 40px; border-radius: var(--r-28); background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-1); font-size: 16px; line-height: 1.7; color: var(--ink-700); overflow-wrap: break-word; }
.o61-i__prose:empty { display: none; }
.o61-i__prose > * { max-width: 740px; }
.o61-i__prose > *:first-child { margin-top: 0; }
.o61-i__prose > *:last-child { margin-bottom: 0; }
.o61-i__prose p { margin: 0 0 16px; }
.o61-i__prose h2, .o61-i__prose h3, .o61-i__prose h4 { font-family: var(--f-head); color: var(--ink-900); letter-spacing: -.01em; text-transform: none; }
.o61-i__prose h2 { margin: 36px 0 14px; font-size: var(--t-25); line-height: 1.25; font-weight: 800; }
.o61-i__prose h3 { margin: 28px 0 10px; font-size: var(--t-20); line-height: 1.3; font-weight: 800; }
.o61-i__prose h4 { margin: 22px 0 8px; font-size: 17px; line-height: 1.35; font-weight: 700; }
.o61-i__prose > h2:first-child, .o61-i__prose > h3:first-child { margin-top: 0; }
.o61-i__prose strong, .o61-i__prose b { font-weight: 700; color: var(--ink-900); }
.o61-i__prose ul, .o61-i__prose ol { margin: 0 0 18px; padding: 0 0 0 24px; }
.o61-i__prose ul { list-style: none; }
.o61-i__prose ul > li { position: relative; margin: 0 0 8px; padding: 0; }
.o61-i__prose ul > li::before { content: ""; position: absolute; left: -17px; top: .72em; width: 6px; height: 6px; border-radius: 50%; background: var(--gold-500); }
.o61-i__prose ol > li { margin: 0 0 8px; padding: 0 0 0 4px; }
.o61-i__prose ol > li::marker { font-weight: 700; color: var(--ink-900); }
.o61-i__prose li > ul, .o61-i__prose li > ol { margin: 8px 0 0; }
.o61-i__prose a { color: var(--blue-600); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.o61-i__prose a:hover { color: var(--blue-500); text-decoration-thickness: 2px; }
.o61-i__prose a:focus-visible { outline: 2px solid var(--blue-500); outline-offset: 2px; border-radius: 3px; }
.o61-i__prose img { max-width: 100%; height: auto; border-radius: 12px; }
.o61-i__prose table { width: 100%; max-width: 100%; margin: 0 0 18px; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; }
.o61-i__prose th, .o61-i__prose td { padding: 10px 12px; border: 1px solid var(--line-2); text-align: left; vertical-align: top; }
.o61-i__prose th { background: var(--bg-soft); color: var(--ink-900); }
.o61-i__prose blockquote { margin: 0 0 18px; padding: 4px 0 4px 18px; border-left: 3px solid var(--gold-400); color: var(--ink-700); }
.o61-i__prose hr { margin: 28px 0; border: 0; border-top: 1px solid var(--line); }

/* инлайн-стили старого HTML-контента из админки (Montserrat, серый цвет, 14-16 px, justify, mso-*): гасим стилями контейнера */
.o61-i__prose [style], .o61-i__prose font { font-family: inherit !important; font-size: inherit !important; font-style: inherit !important; font-variant: normal !important; color: inherit !important; background: none !important; background-color: transparent !important; line-height: inherit !important; text-align: left !important; white-space: normal !important; vertical-align: baseline !important; letter-spacing: normal !important; text-indent: 0 !important; }
.o61-i__prose b[style], .o61-i__prose strong[style] { font-weight: 700 !important; color: var(--ink-900) !important; }
.o61-i__prose p[style] { margin: 0 0 16px !important; padding: 0 !important; }
.o61-i__prose h2[style] { margin: 36px 0 14px !important; padding: 0 !important; font-size: var(--t-25) !important; line-height: 1.25 !important; font-weight: 800 !important; color: var(--ink-900) !important; font-family: var(--f-head) !important; }
.o61-i__prose h3[style] { margin: 28px 0 10px !important; padding: 0 !important; font-size: var(--t-20) !important; line-height: 1.3 !important; font-weight: 800 !important; color: var(--ink-900) !important; font-family: var(--f-head) !important; }
.o61-i__prose h4[style] { margin: 22px 0 8px !important; padding: 0 !important; font-size: 17px !important; color: var(--ink-900) !important; font-family: var(--f-head) !important; }
.o61-i__prose > h2[style]:first-child, .o61-i__prose > h3[style]:first-child { margin-top: 0 !important; }
.o61-i__prose h2 [style], .o61-i__prose h2 font, .o61-i__prose h3 [style], .o61-i__prose h3 font, .o61-i__prose h4 [style] { font-family: var(--f-head) !important; font-weight: 800 !important; color: var(--ink-900) !important; }
.o61-i__prose ul[style], .o61-i__prose ol[style] { margin: 0 0 18px !important; padding: 0 0 0 24px !important; }
.o61-i__prose ul[style] { list-style: none !important; }
.o61-i__prose ol[style] { list-style: decimal !important; }
.o61-i__prose li[style] { margin: 0 0 8px !important; padding: 0 !important; position: relative !important; }
.o61-i__prose ul > li[style] { list-style: none !important; }
.o61-i__prose ol > li[style] { padding-left: 4px !important; }
.o61-i__prose li > ol[style], .o61-i__prose li > ul[style] { margin: 8px 0 0 !important; }
.o61-i__prose span[style], .o61-i__prose span { display: inline; }
.o61-i__prose [style*="float"] { float: none !important; }
/* 13.11, Вадим: «то крупный, то мелкий шрифт». Кроме style="font-size" и <font> (выше) в тексте из админки встречаются
   <big>/<small>, <font size>, h5/h6 и h1 — тоже к шкале дизайна: текст 16 px, заголовки — h2–h4 выше */
.o61-i__prose big, .o61-i__prose small, .o61-i__prose font[size], .o61-i__prose font[face] { font-size: inherit !important; font-family: inherit !important; }
.o61-i__prose h1 { margin: 36px 0 14px; font: 800 var(--t-25)/1.25 var(--f-head); color: var(--ink-900); letter-spacing: -.01em; }
.o61-i__prose h5, .o61-i__prose h6 { margin: 18px 0 6px; font: 700 16px/1.4 var(--f-head); color: var(--ink-900); }
.o61-i__prose h1[style], .o61-i__prose h5[style], .o61-i__prose h6[style] { font-family: var(--f-head) !important; color: var(--ink-900) !important; font-weight: 700 !important; }
.o61-i__prose h1[style] { font-size: var(--t-25) !important; line-height: 1.25 !important; font-weight: 800 !important; }
.o61-i__prose h5[style], .o61-i__prose h6[style] { font-size: 16px !important; line-height: 1.4 !important; }
.o61-i__prose td, .o61-i__prose th { font-size: inherit; }
.o61-i__prose [style*="width"] { max-width: 100% !important; }

/* примечание про обмен (страница «Обмен и брак») */
.o61-i__note { display: flex; gap: 14px; align-items: flex-start; margin-top: 16px; padding: 20px 22px; border-radius: var(--r-20); background: var(--blue-50); border: 1px solid var(--blue-100); color: var(--ink-700); }
.o61-i__note-i { flex: none; width: 24px; height: 24px; margin-top: 1px; fill: none; stroke: var(--blue-600); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.o61-i__note p { margin: 0; font-size: 15px; line-height: 1.55; }
.o61-i__note .o61-i__note-t { margin-bottom: 4px; font: 700 17px/1.35 var(--f-head); color: var(--ink-900); }
.o61-i__tel { font-weight: 700; color: var(--blue-600); text-decoration: none; white-space: nowrap; }
.o61-i__tel:hover { text-decoration: underline; }

/* ---------- страница «Документы»: карточки файлов для скачивания ---------- */
.o61-docs__sec + .o61-docs__sec { margin-top: 48px; }
.o61-docs__h { margin: 0 0 8px; font: 800 var(--t-25)/1.25 var(--f-head); letter-spacing: -.01em; text-transform: none; color: var(--ink-900); }
.o61-docs__lead { margin: 0 0 20px; max-width: 640px; font-size: 15px; line-height: 1.55; color: var(--ink-500); }
.o61-docs__h + .o61-docs__list { margin-top: 16px; }
.o61-docs__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.o61-doc { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; align-items: center; gap: 20px; margin: 0; padding: 20px 22px; border-radius: var(--r-20); background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-1); transition: box-shadow .2s var(--ease), border-color .2s var(--ease); }
.o61-doc:hover { border-color: var(--line-2); box-shadow: var(--sh-2); }
.o61-doc__ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--blue-50); color: var(--blue-600); }
.o61-doc__ic .o61-ico { width: 26px; height: 26px; }
.o61-doc__body { min-width: 0; }
.o61-doc__kind { display: block; font: 700 12px/1.3 var(--f-ui); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-500); }
.o61-doc__t { margin: 4px 0 0; font: 700 18px/1.3 var(--f-head); letter-spacing: 0; text-transform: none; color: var(--ink-900); overflow-wrap: anywhere; }
.o61-doc__note { margin: 6px 0 0; font-size: 14.5px; line-height: 1.5; color: var(--ink-500); }
.o61-doc__valid { display: inline-flex; align-items: center; height: 28px; margin-top: 10px; padding: 0 10px; border-radius: 8px; background: var(--ok-100); color: var(--ok-600); font: 600 12.5px/1 var(--f-ui); }
.o61-doc__dl { gap: 8px; min-width: 188px; justify-content: center; white-space: nowrap; }
.o61-doc__dl small { font: 500 12.5px/1 var(--f-ui); opacity: .8; }
.o61-doc__dl:focus-visible { outline: 2px solid var(--blue-500); outline-offset: 2px; }

/* ---------- «Контакты»: родные блоки темы в стиле сайта + блок под ними ---------- */
/* родные блоки темы (карта, три карточки) подгоняем под сетку страницы; разметку и скрипты темы не трогаем */
.o61-shell .breadcrumbs { margin: 0; padding: 18px 0 14px; font: 400 13.5px/1.4 var(--f-ui); }
.o61-shell .breadcrumbs .container-fluid, .o61-shell .contacts .container-fluid { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.o61-shell .breadcrumbs__link { color: var(--ink-500); }
.o61-shell .breadcrumbs__link:hover { color: var(--blue-600); }
.o61-shell .breadcrumbs__menu li:last-child { color: var(--ink-900); font-weight: 600; }
.contacts { padding: 8px 0 24px; color: var(--ink-700); font-family: var(--f-ui); }
.contacts__heading { position: relative; margin: 0 0 28px; padding-bottom: 22px; font: 800 var(--t-39)/1.12 var(--f-head); letter-spacing: -.02em; color: var(--ink-900); }
.contacts__heading::after { content: ""; position: absolute; left: 0; bottom: 0; width: 112px; height: 10px;
  background: linear-gradient(var(--gold-400), var(--gold-400)) left bottom / 100% 2px no-repeat,
    repeating-linear-gradient(90deg, var(--gold-400) 0 1px, transparent 1px 16px) left bottom / 100% 10px no-repeat,
    repeating-linear-gradient(90deg, var(--gold-400) 0 1px, transparent 1px 4px) left bottom / 100% 5px no-repeat; }
.o61-shell .contacts__map { width: 100%; max-width: 100%; left: 0; margin: 0; height: 440px; border-radius: var(--r-28); overflow: hidden; }
.o61-shell .contacts__info { margin: 0 32px -70px; padding: 14px 32px; border-radius: var(--r-20); border: 1px solid var(--line); box-shadow: var(--sh-3); }
.o61-shell .contacts__item-icon { background: var(--navy-900); color: var(--gold-400); }
.o61-shell .contacts__item-title { font: 700 16px/1.3 var(--f-head); color: var(--ink-900); }
.o61-shell .contacts__item-text { font-size: 15px; line-height: 1.5; color: var(--ink-700); }
.o61-shell .contacts__container .btn { top: 20px; left: 20px; border-radius: 12px; font: 600 13px/18px var(--f-ui); letter-spacing: 0; text-transform: none; }
.o61-ct { padding: 32px 0 72px; font: 400 var(--t-16)/1.5 var(--f-ui); color: var(--ink-900); }
.o61-ct *, .o61-ct *::before, .o61-ct *::after { box-sizing: border-box; }
.o61-ct__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.o61-ct__card { display: flex; flex-direction: column; align-items: flex-start; padding: 26px 28px; border-radius: var(--r-20); background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-1); }
.o61-ct__t { font: 800 var(--t-20)/1.25 var(--f-head); color: var(--ink-900); margin: 0 0 10px; }
.o61-ct__card p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--ink-700); }
.o61-ct__req { overflow-wrap: anywhere; }
.o61-ct__msg { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; }
.o61-ct__msg a { border-color: var(--line-2); color: var(--ink-900); }
.o61-ct__msg a:hover { border-color: var(--blue-600); color: var(--blue-600); text-decoration: none; }
.o61-ct__card .o61-btn { margin-top: 16px; }
.o61-ct__card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.o61-ct__card li { margin: 0; }
.o61-ct__card li a { color: var(--blue-600); font-weight: 600; font-size: 15px; text-decoration: none; }
.o61-ct__card li a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- планшет и телефон ---------- */
@media (max-width: 1200px) {
  .o61-i__layout { grid-template-columns: 260px minmax(0, 1fr); gap: 32px; }
  .o61-i__prose { padding: 30px 32px 34px; }
}
@media (max-width: 991px) {
  .o61-i__layout { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .o61-i__side { display: contents; }
  .o61-i__nav { order: 1; padding: 6px; }
  .o61-i__main { order: 2; }
  .o61-i__help { order: 3; margin-top: 4px; }
  .o61-i__group { display: flex; align-items: center; gap: 4px; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .o61-i__group::-webkit-scrollbar { display: none; }
  .o61-i__group + .o61-i__group { margin-top: 4px; padding-top: 4px; }
  .o61-i__gt { flex: none; padding: 0 8px 0 10px; font-size: 11px; }
  .o61-i__group ul { display: flex; gap: 4px; }
  .o61-i__link { white-space: nowrap; padding: 9px 14px; font-size: 14px; }
  .o61-i__link.is-active::after { display: none; }
  .o61-ct__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .o61-crumbs { padding: 10px 0; font-size: 12.5px; }
  .o61-i { padding-bottom: 40px; }
  .o61-i__h1 { margin-bottom: 18px; padding-bottom: 18px; font-size: 28px; line-height: 1.15; }
  .o61-i__prose { padding: 22px 18px 24px; border-radius: 20px; font-size: 15.5px; line-height: 1.65; }
  .o61-i__prose h2, .o61-i__prose h2[style] { font-size: 21px !important; }
  .o61-i__prose h3, .o61-i__prose h3[style] { font-size: 18px !important; }
  .o61-i__note { padding: 16px; }
  .o61-docs__sec + .o61-docs__sec { margin-top: 36px; }
  .o61-docs__h { font-size: 21px; }
  .o61-doc { grid-template-columns: 44px minmax(0, 1fr); gap: 14px; padding: 16px; border-radius: 16px; }
  .o61-doc__ic { width: 44px; height: 44px; border-radius: 12px; }
  .o61-doc__t { font-size: 17px; }
  .o61-doc__dl { grid-column: 1 / -1; justify-content: center; width: 100%; }
  .o61-ct { padding-bottom: 40px; }
  .o61-shell .contacts__map { height: 300px; border-radius: 20px; }
  .o61-shell .contacts__info { top: -40px; margin: 0 12px -40px; padding: 8px 16px; }
  .o61-shell .contacts__info .row > [class*="col-"] { flex: 0 0 100%; max-width: 100%; }
  .o61-shell .contacts__item { padding: 14px 0 14px 60px; }
  .contacts__heading { font-size: 28px; margin-bottom: 18px; padding-bottom: 18px; }
  .o61-shell .breadcrumbs { padding: 10px 0; font-size: 12.5px; }
  .o61-ct__card { padding: 20px 18px; }
}

/* ---------- страница 404 ---------- */
.o61-nf { padding-bottom: 72px; }
.o61-nf__box { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; align-items: start; padding-top: 8px; }
.o61-nf__main { position: relative; min-width: 0; }
.o61-nf__code { position: absolute; right: 0; top: -22px; font: 800 140px/1 var(--f-head); letter-spacing: -.04em; color: var(--blue-50); pointer-events: none; user-select: none; z-index: 0; }
.o61-nf__main > *:not(.o61-nf__code) { position: relative; z-index: 1; }
.o61-nf__lead { margin: 0 0 24px; max-width: 560px; font-size: 17px; line-height: 1.6; color: var(--ink-700); }
.o61-nf__search { display: flex; gap: 10px; max-width: 560px; }
.o61-nf__input { flex: 1; min-width: 0; height: 52px; padding: 0 18px; border: 1.5px solid var(--line-2); border-radius: 14px; background: #fff; font: 400 16px/1 var(--f-ui); color: var(--ink-900); box-shadow: none; -webkit-appearance: none; appearance: none; }
.o61-nf__input::placeholder { color: var(--ink-500); }
.o61-nf__input:focus { border-color: var(--blue-600); box-shadow: 0 0 0 4px rgba(29,87,219,.12); outline: none; }
.o61-nf__search .o61-btn { --h: 52px; flex: none; }
.o61-nf__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.o61-nf__side { padding: 26px 28px; border-radius: var(--r-20); background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-1); }
.o61-nf__t { margin: 0 0 12px; font: 800 var(--t-20)/1.25 var(--f-head); color: var(--ink-900); }
.o61-nf__t--2 { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.o61-nf__side ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.o61-nf__side li { margin: 0; }
.o61-nf__side a { color: var(--blue-600); font-weight: 600; font-size: 15px; text-decoration: none; }
.o61-nf__side a:hover { text-decoration: underline; text-underline-offset: 3px; }
.o61-nf a:focus-visible, .o61-nf button:focus-visible { outline: 2px solid var(--blue-500) !important; outline-offset: 2px; }
@media (max-width: 991px) {
  .o61-nf__box { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .o61-nf__code { font-size: 96px; top: -12px; }
}
@media (max-width: 760px) {
  .o61-nf { padding-bottom: 40px; }
  .o61-nf__code { font-size: 72px; top: -6px; }
  .o61-nf__lead { font-size: 15.5px; }
  .o61-nf__search { flex-direction: column; }
  .o61-nf__search .o61-btn, .o61-nf__btns .o61-btn { width: 100%; }
  .o61-nf__side { padding: 20px 18px; }
}
@media (max-width: 760px) { .o61-nf__input { flex: none; width: 100%; } }

/* ==== этап 10, A: наложения и переносы (начало) ==== */
/* контакты: карточка не заезжает на карту. Внизу карты стоят обязательные «© Яндекс», «Условия использования» и логотип,
   карточка с отрицательным отступом закрывала их на всех ширинах. */
.o61-shell .contacts__info { top: 0; margin: 20px 32px 0; }
@media (max-width: 760px) {
  .o61-shell .contacts__info { top: 0; margin: 12px 0 0; }
  .o61-shell .contacts__item { padding: 14px 0; } /* 60 px слева оставались от десктопной иконки и сдвигали значок и текст */
  .o61-shell .contacts__info .row > [class^="col-"]:last-of-type { text-align: left; } /* тема центрировала только «Телефон» */
}
/* ==== этап 10, A: наложения и переносы (конец) ==== */

/* ---------- «Контакты» r4: карточка склада + живая карта + как забрать заказ (information/contact.twig, класс o61-cx).
   Карта грузится лениво (скрипт в шаблоне), до этого — заглушка с меткой того же размера: без сдвига раскладки. ---------- */
.o61-cx { padding-bottom: 8px; }
.o61-cx *, .o61-cx *::before, .o61-cx *::after { box-sizing: border-box; }
.o61-cx__hero { display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1fr); gap: 0; border-radius: var(--r-28); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-3); min-height: 520px; }
.o61-cx__card { position: relative; display: flex; flex-direction: column; padding: 32px 32px 28px; background: var(--g-navy); color: #fff; overflow: hidden; }
.o61-cx__card::after { content: ""; position: absolute; left: 32px; right: 32px; bottom: 14px; height: 8px; background: repeating-linear-gradient(90deg, rgba(249, 220, 138, .5) 0 1px, transparent 1px 10px); -webkit-mask: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); mask: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); pointer-events: none; }
.o61-cx__eb { display: inline-flex; align-items: center; gap: 10px; font: 700 12px/1 var(--f-ui); letter-spacing: .1em; text-transform: uppercase; color: var(--gold-300); }
.o61-cx__eb i { width: 8px; height: 8px; border-radius: 50%; background: var(--gold-400); box-shadow: 0 0 0 4px rgba(242, 193, 78, .2); animation: o61-cx-beat 2.4s ease-in-out infinite; }
@keyframes o61-cx-beat { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(.7); opacity: .6; } }
.o61-cx__addr { margin: 16px 0 0; font: 800 26px/1.22 var(--f-head); letter-spacing: -.01em; color: #fff; text-wrap: balance; }
.o61-cx__facts { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 10px; }
.o61-cx__facts li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; line-height: 1.45; color: #C9D3EA; margin: 0; }
.o61-cx__facts b { color: #fff; font-weight: 700; }
.o61-cx__facts .o61-ico { width: 20px; height: 20px; flex: none; color: var(--gold-400); margin-top: 1px; }
.o61-cx__call { display: grid; gap: 8px; margin-top: 24px; }
.o61-cx__tel { display: flex; align-items: center; gap: 14px; min-height: 56px; padding: 8px 16px 8px 10px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .16); color: #fff; text-decoration: none !important; transition: background-color .18s var(--ease), border-color .18s var(--ease), transform .18s var(--ease); }
.o61-cx__tel:hover { background: rgba(255, 255, 255, .08); border-color: rgba(249, 220, 138, .5); color: #fff; transform: translateY(-1px); }
.o61-cx__tel .o61-ico { width: 38px; height: 38px; padding: 9px; border-radius: 11px; background: rgba(255, 255, 255, .1); color: var(--gold-300); flex: none; }
.o61-cx__tel.is-main .o61-ico { background: var(--g-gold); color: var(--navy-950); }
.o61-cx__tel span { display: grid; gap: 3px; font: 800 19px/1.1 var(--f-head); letter-spacing: .01em; }
.o61-cx__tel small { font: 600 12px/1 var(--f-ui); letter-spacing: .02em; color: #9FB0D3; }
.o61-cx__acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.o61-cx__acts .o61-btn { --h: 48px; }
.o61-cx__mail { color: #fff !important; border-color: rgba(255, 255, 255, .28) !important; background: transparent !important; min-width: 0; }
.o61-cx__mail span { overflow: hidden; text-overflow: ellipsis; }
.o61-cx__mail:hover { border-color: var(--gold-300) !important; }
.o61-cx__form { margin-top: auto; padding-top: 20px; padding-bottom: 12px; font: 600 14px/1.3 var(--f-ui); color: var(--gold-300) !important; align-self: flex-start; }
.o61-cx__form:hover { text-decoration: underline !important; text-underline-offset: 3px; }

.o61-cx__mapbox { position: relative; min-height: 360px; background: #E9EEF5; overflow: hidden; }
.o61-shell .o61-cx__map { position: absolute; inset: 0; height: auto; border-radius: 0; opacity: 0; transition: opacity .6s var(--ease); }
.o61-cx__mapbox.is-ready .o61-cx__map { opacity: 1; }
.o61-cx__ph { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 14px; background:
    linear-gradient(90deg, rgba(10, 27, 61, .05) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(rgba(10, 27, 61, .05) 1px, transparent 1px) 0 0 / 48px 48px,
    radial-gradient(60% 60% at 50% 50%, #F7F9FC, #E6ECF4); transition: opacity .5s var(--ease); }
.o61-cx__mapbox.is-ready .o61-cx__ph { opacity: 0; pointer-events: none; }
.o61-cx__pin { width: 56px; height: 56px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--navy-900); display: grid; place-items: center; box-shadow: var(--sh-3); animation: o61-cx-drop 1.6s cubic-bezier(.2, .8, .2, 1) infinite; }
.o61-cx__pin .o61-ico { width: 24px; height: 24px; transform: rotate(45deg); color: var(--gold-400); }
@keyframes o61-cx-drop { 0%, 100% { transform: rotate(-45deg) translate(0, 0); } 50% { transform: rotate(-45deg) translate(5px, -5px); } }
.o61-cx__ld { font: 600 13px/1 var(--f-ui); color: var(--ink-500); }
.o61-cx__mapbox.is-fail .o61-cx__ld { color: var(--ink-700); }
.o61-cx__mapbox.is-fail .o61-cx__pin { animation: none; }
.o61-cx__chip { position: absolute; left: 20px; top: 20px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; max-width: calc(100% - 40px); padding: 10px 16px 10px 12px; border-radius: 14px; background: #fff; box-shadow: var(--sh-3); font: 700 14px/1.25 var(--f-head); color: var(--ink-900); pointer-events: none; }
.o61-cx__chip .o61-ico { width: 18px; height: 18px; color: var(--blue-600); flex: none; }
.o61-cx__open { position: absolute; right: 16px; top: 16px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 16px; border-radius: 12px; background: #fff; box-shadow: var(--sh-2); font: 700 14px/1 var(--f-ui); color: var(--ink-900) !important; text-decoration: none !important; transition: transform .18s var(--ease), box-shadow .18s var(--ease); }
.o61-cx__open:hover { transform: translateY(-2px); box-shadow: var(--sh-3); }

.o61-cx__how { margin-top: 40px; }
.o61-cx__h2 { margin: 0 0 18px; font: 800 var(--t-25)/1.2 var(--f-head); color: var(--ink-900); letter-spacing: -.01em; }
.o61-cx__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: none; }
.o61-cx__steps li { position: relative; margin: 0; padding: 22px 22px 24px; border-radius: var(--r-20); background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-1); display: grid; gap: 8px; align-content: start; transition: transform .22s var(--ease), box-shadow .22s var(--ease); }
.o61-cx__steps li:hover { transform: translateY(-3px); box-shadow: var(--sh-2); }
.o61-cx__steps li:not(:last-child)::after { content: ""; position: absolute; right: -13px; top: 38px; width: 10px; height: 10px; border-top: 2px solid var(--gold-500); border-right: 2px solid var(--gold-500); transform: rotate(45deg); z-index: 1; }
.o61-cx__n { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--g-gold); color: var(--navy-950); font: 800 18px/1 var(--f-head); box-shadow: var(--sh-gold); margin-bottom: 6px; }
.o61-cx__steps b { font: 700 17px/1.3 var(--f-head); color: var(--ink-900); }
.o61-cx__steps li > span:last-child { font-size: 15px; line-height: 1.55; color: var(--ink-700); }
.o61-cx__dlv { margin: 16px 0 0; padding: 14px 18px; border-radius: 14px; background: var(--bg-soft); font-size: 15px; line-height: 1.5; color: var(--ink-700); }
.o61-cx__dlv a { color: var(--blue-600); font-weight: 600; white-space: nowrap; }
.o61-cx + .o61-ct { padding-top: 24px; }

@media (max-width: 1100px) {
  .o61-cx__hero { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .o61-cx__mapbox { min-height: 380px; }
}
@media (max-width: 760px) {
  .o61-cx__hero { border-radius: 22px; }
  .o61-cx__card { padding: 24px 18px 26px; }
  .o61-cx__card::after { left: 18px; right: 18px; }
  .o61-cx__addr { font-size: 22px; }
  .o61-cx__facts li { font-size: 14.5px; }
  .o61-cx__tel span { font-size: 18px; }
  .o61-cx__acts .o61-btn { flex: 1 1 100%; }
  .o61-cx__mapbox { min-height: 300px; }
  .o61-cx__chip { left: 12px; top: 12px; max-width: calc(100% - 24px); font-size: 13px; }
  .o61-cx__open { right: 12px; top: auto; bottom: 44px; height: 40px; padding: 0 12px; font-size: 13px; }
  .o61-cx__chip { right: 12px; }
  .o61-cx__how { margin-top: 28px; }
  .o61-cx__h2 { font-size: 21px; }
  .o61-cx__steps { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .o61-cx__steps li { grid-template-columns: 40px minmax(0, 1fr); column-gap: 14px; padding: 16px; }
  .o61-cx__steps li > * { grid-column: 2; }
  .o61-cx__n { grid-column: 1 !important; grid-row: 1 / span 2; margin: 0; }
  .o61-cx__steps li:not(:last-child)::after { right: auto; left: 35px; top: auto; bottom: -11px; transform: rotate(135deg); }
}

/* ---------- «Все категории» (/all-categories, аудит 12.11): дерево каталога карточками разделов ---------- */
.o61-i__lead { margin: -8px 0 20px; font-size: 16px; line-height: 1.55; color: var(--ink-700); }
/* карточки по высоте своего содержимого: «Футляры» не тянутся под высоту «Очков» (QA 12.11) */
.o61-i__cats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.o61-i__cat { padding: 22px 24px 18px; border-radius: var(--r-20, 20px); background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-1); }
.o61-i__cat-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 10px; font: 800 20px/1.25 var(--f-head); color: var(--ink-900); }
.o61-i__cat-h a { color: inherit; text-decoration: none; }
.o61-i__cat-n { flex: none; font: 600 13px/1.2 var(--f-ui); color: var(--ink-500); white-space: nowrap; }
.o61-i__cat-list { list-style: none; margin: 0; padding: 0; }
.o61-i__cat-list li + li { border-top: 1px dashed var(--line); }
.o61-i__cat-list a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; padding: 8px 0; color: var(--blue-600); font-weight: 600; font-size: 15px; text-decoration: none; }
.o61-i__cat-list small { flex: none; font-size: 13px; font-weight: 500; color: var(--ink-500); white-space: nowrap; }
.o61-i__cat-h a:focus-visible, .o61-i__cat-list a:focus-visible { outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) {
  .o61-i__cat-h a:hover { color: var(--blue-600); }
  .o61-i__cat-list a:hover span { text-decoration: underline; text-underline-offset: 3px; }
}
@media (max-width: 760px) {
  .o61-i__cats { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .o61-i__cat { padding: 18px 18px 12px; border-radius: 18px; }
  .o61-i__cat-h { font-size: 18px; }
}

/* ---------- «О компании» (/o-nas, Вадим 13.11): шапка по его макету ---------- */
.o61-iab { position: relative; padding: 36px 40px 34px; border-radius: var(--r-28); background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-1); overflow: hidden; isolation: isolate; }
/* опознавательный элемент сайта — диоптрийная шкала по нижнему краю */
.o61-iab::after { content: ""; position: absolute; left: 40px; right: 40px; bottom: 0; height: 10px; z-index: -1; opacity: .55;
  background: linear-gradient(var(--line-2), var(--line-2)) left bottom / 100% 1px no-repeat, repeating-linear-gradient(90deg, var(--line-2) 0 1px, transparent 1px 2.5%) left bottom / 100% 10px no-repeat, repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px .625%) left bottom / 100% 5px no-repeat; }
.o61-iab::before { content: ""; position: absolute; right: -120px; top: -140px; width: 420px; height: 420px; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, rgba(44,104,240,.10), rgba(44,104,240,0)); }
.o61-iab__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(--blue-600); }
.o61-iab__eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--gold-400); transform: rotate(45deg); }
.o61-iab__h1 { margin: 14px 0 0; max-width: 680px; font: 800 var(--t-39)/1.12 var(--f-head); letter-spacing: -.02em; color: var(--ink-900); text-wrap: balance; }
.o61-iab__sub { margin: 14px 0 0; max-width: 640px; font-size: 17px; line-height: 1.55; color: var(--ink-700); }
.o61-iab__facts { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.o61-iab__facts li { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 12px 14px; border-radius: 16px; background: var(--bg-soft); border: 1px solid var(--line); }
.o61-iab__facts b { display: block; font: 700 15px/1.3 var(--f-head); color: var(--ink-900); }
.o61-iab__facts small { display: block; margin-top: 2px; font-size: 13px; line-height: 1.35; color: var(--ink-500); }
.o61-iab__i { flex: none; width: 40px; height: 40px; border-radius: 12px; 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-iab__i svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.o61-iab + .o61-qc { margin-top: 18px; }
/* 992–1199: колонка текста узкая (~620 px), три пункта в ряд — значок над подписью, «Ростов‑на‑Дону» не рвётся (QA 13.11) */
@media (min-width: 992px) and (max-width: 1199px) {
  .o61-iab__facts li { flex-direction: column; align-items: flex-start; gap: 8px; }
}
.o61-iab ~ .o61-i__prose { margin-top: 18px; }

/* ---------- «Контроль качества заказа» (Вадим 13.11): «Оптовым покупателям» — полная, «О компании» — компактная ---------- */
.o61-qc { --qc: var(--gold-400); /* Вадим 13.11: акцент как у остальных тёмных блоков (было зелёное) */ position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 28px 44px; align-items: center; padding: 42px 46px 46px; border-radius: var(--r-28); background: var(--g-navy); color: #fff; overflow: hidden; isolation: isolate; box-shadow: var(--sh-3); }
.o61-qc::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(55% 70% at 88% 20%, rgba(44,104,240,.28), transparent 70%), radial-gradient(40% 60% at 0% 110%, rgba(242,193,78,.12), transparent 70%); }
.o61-qc::after { content: ""; position: absolute; left: 46px; right: 46px; bottom: 18px; height: 10px; z-index: -1; opacity: .45;
  background: linear-gradient(rgba(242,193,78,.6), rgba(242,193,78,.6)) left bottom / 100% 1px no-repeat, repeating-linear-gradient(90deg, rgba(242,193,78,.6) 0 1px, transparent 1px 2.5%) left bottom / 100% 10px no-repeat; }
.o61-qc__eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 700 12.5px/1 var(--f-ui); letter-spacing: .14em; text-transform: uppercase; color: var(--qc); }
.o61-qc__eyebrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.o61-qc .o61-qc__t { margin: 14px 0 0; font: 800 var(--t-31)/1.15 var(--f-head); letter-spacing: -.015em; color: #fff; text-wrap: balance; text-transform: none; }
.o61-qc__lead { margin: 14px 0 0; max-width: 520px; font-size: 16px; line-height: 1.6; color: #C8D2EA; }
.o61-qc__promise { margin: 22px 0 0; padding: 16px 18px 16px 20px; border-radius: 16px; background: rgba(242,193,78,.10); border: 1px solid rgba(242,193,78,.32); border-left: 4px solid var(--qc); font-size: 15.5px; line-height: 1.5; color: #E3E9F7; }
.o61-qc__promise b { display: block; margin-bottom: 2px; font: 800 18px/1.3 var(--f-head); color: #fff; }
.o61-qc__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.o61-qc__list li { display: flex; align-items: flex-start; gap: 14px; padding: 16px 18px; border-radius: 16px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); font-size: 14.5px; line-height: 1.5; color: #C8D2EA; }
.o61-qc__list b { display: block; margin-bottom: 3px; font: 700 16px/1.3 var(--f-head); color: #fff; }
.o61-qc__i { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(242,193,78,.14); color: var(--qc); }
.o61-qc__i svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
/* компактная — в колонке текста «О компании» (до 880 px): заголовок, фраза, три пункта плитками */
.o61-qc--compact { grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 30px 32px 36px; box-shadow: var(--sh-2); }
.o61-qc--compact::after { left: 32px; right: 32px; bottom: 14px; }
.o61-qc--compact .o61-qc__t { font-size: var(--t-25); }
.o61-qc--compact .o61-qc__promise { margin-top: 16px; }
/* всегда три в ряд (на 1024 auto-fit давал 2 + 1, QA 13.11); на телефоне — столбиком, ниже */
.o61-qc--compact .o61-qc__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.o61-qc--compact .o61-qc__list li { flex-direction: column; gap: 10px; padding: 16px; font-size: 13.5px; }
.o61-qc--compact .o61-qc__list b { font-size: 15px; }
@media (max-width: 991px) {
  .o61-qc { grid-template-columns: minmax(0, 1fr); padding: 32px 28px 38px; }
  .o61-iab__facts { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .o61-iab { padding: 24px 18px 26px; border-radius: 22px; }
  .o61-iab::after { left: 18px; right: 18px; }
  .o61-iab__h1 { font-size: 28px; line-height: 1.15; }
  .o61-iab__sub { font-size: 15.5px; }
  .o61-iab__facts { margin-top: 18px; gap: 8px; }
  .o61-iab__facts li { min-height: 56px; }
  .o61-qc, .o61-qc--compact { padding: 24px 18px 30px; border-radius: 22px; gap: 16px; }
  .o61-qc::after { left: 18px; right: 18px; bottom: 12px; }
  .o61-qc .o61-qc__t, .o61-qc--compact .o61-qc__t { font-size: 23px; }
  .o61-qc__lead { font-size: 15px; }
  .o61-qc__promise { padding: 14px 14px 14px 16px; font-size: 14.5px; }
  .o61-qc__promise b { font-size: 16.5px; }
  .o61-qc__list li, .o61-qc--compact .o61-qc__list li { flex-direction: row; padding: 14px; font-size: 13.5px; }
  .o61-qc--compact .o61-qc__list { grid-template-columns: minmax(0, 1fr); }
}
