/* ============================================================
   ПРОД-ВЕРСИЯ css страницы «info» (шаблон popilov_wr).
   Собрано tools/wr_probes/deploy_2026-11-30/w3/build_page_css.py:
   песочница -> strip_canon_blocks.py (без слепков канонов) -> этот файл.
   Отличия от песочницы: шрифт Montserrat-mh (объявлен в mh.css), правило body
   перенесено на корни страницы: .in-page (фон остался фоном документа шаблона), блок изоляции, страничные правила прода.
   Руками не править: правка вида - в песочнице (чат адаптива), прод-правки -
   в extra/info.css, изоляция - в iso/info.css, потом пересборка.
   ============================================================ */

/* ============================================================
   ИЗОЛЯЦИЯ ИНФОСТРАНИЦЫ от глобальных стилей шаблона-копии.
   Приём опорника (разд. 6.6): сброс через :where, тот же, что в секции 1
   канона mh.css для шапки и футера и в iso раздела каталога / корзины.
   Действует только внутри корня страницы - .in-page (внутри лежат и крошки
   .cg-head, и поднавигация .in-nav, и тело .in-layout: корень один).

   Зачем. Инфостраница - ТЕКСТОВАЯ: абзацы, подзаголовки, списки, таблицы,
   ссылки в тексте. На бою рядом bootstrap (ядро) и css кодера (reset-styles,
   main-styles, style-basel-child): их правила-теги - p, h2, h3, li, a, table,
   th, label, input - специфичностью (0,0,1) сильнее универсального (0,0,0), а
   body шаблона отдаёт странице свои шрифт 20px и межстрочный. Без этого блока
   страница получает шрифт 20px вместо 16px, заголовкам bootstrap задаёт 30px
   и line-height 1.1, абзацам и спискам - свои отступы.

   Как. Каждый сброс = :where(корень) + ОДИН тег (или :is() из тегов: его
   специфичность равна самому специфичному аргументу, то есть 0,0,1). Это ровно
   специфичность чужих правил-тегов, но сброс объявлен ПОЗЖЕ (css страницы идёт
   после бандлов) и потому побеждает их. Любое наше правило с классом (0,1,0)
   сильнее сброса. Свои значения страница задаёт в css страницы.

   Отличия от iso корзины (текстовая страница):
   - пункт 2: в список сброса добавлены table/tr/th/td/dt/em/u и прочие теги
     текста - у bootstrap и reset у них свои отступы и выравнивание;
   - пункт 3: th/td - выравнивание по наследованию (bootstrap: th { text-align:
     left }), кнопки и поля - браузерские шрифт и appearance;
   - пункт 5: копия ставит font-family 'Montserrat' с !important на p, a, h1-h4
     (style-basel-child.css, строка 14). В песочницах такого правила нет, и весь
     текст страницы идёт одним семейством страницы. Здесь возвращаем семейство
     страницы (Montserrat-mh) на этих тегах - иначе абзацы, заголовки и ссылки
     рендерились бы файлами копии, а списки и таблицы - каноном: две версии
     Montserrat на одной странице;
   - пункт 6: межстрочный текстовых тегов - наследование (bootstrap dt/dd:
     1.43; заголовкам 1.2 снято в п.2). Свои значения - классами (.in-p и т.п.).

   Оставлено как у шаблона (не look, поведение всего сайта; шапка живёт так же):
   -webkit-text-size-adjust: 100%, touch-action: manipulation, прозрачный
   тап-хайлайт, tab-size: 4.
   Чего сброс не снимает по построению: чужие правила с классом внутри :not().
   Такие места - строкой в журнал адаптива (раздел «Шаблон и полигон», T-08).

   Сверка: node info_shots.mjs (кадры 1366/390, замер ширины и шрифтов) на
   локальном превью - живой каркас боя + тело страницы + css/info.css.
   ============================================================ */

/* 1. Наследуемое от body шаблона (font-size: 2rem = 20px; line-height: 1.6;
      cursor: default; word-break: break-word). В песочнице - браузерные
      значения body. */
:where(.in-page) {
  font-size: 16px;
  line-height: normal;
  cursor: auto;
  word-break: normal;
}

/* 2. Универсальный сброс страницы на специфичности тега: чужие отступы у
      заголовков, абзацев, списков, таблиц, подписей полей, картинок, кнопок.
      Заголовкам bootstrap задаёт line-height: 1.1 - вернуть наследование. */
:where(.in-page) :is(h1, h2, h3, h4, h5, h6, p, ul, ol, li, dl, dt, dd, figure, figcaption, blockquote, pre, hr, label, input, button, select, textarea, img, svg, iframe, video, a, nav, section, article, aside, header, footer, main, div, span, i, b, strong, small, em, u, table, thead, tbody, tfoot, tr, th, td, fieldset, legend, picture, details, summary, abbr, sup, sub, code, form) {
  margin: 0;
  padding: 0;
}
:where(.in-page) :is(h1, h2, h3, h4, h5, h6) {
  line-height: normal;
}

/* 3. Браузерная база, которую bootstrap (reboot) подменяет. Ссылки - браузерные
      цвет и подчёркивание (свои - классом: крошки без черты, текстовые - navy);
      картинки - без max-width и по baseline (свои - .in-figure, .in-richtext img);
      кнопки и поля - браузерский шрифт и appearance (у кнопок с текстом шрифт
      задан классом); таблицы - без чужого выравнивания. */
:where(.in-page) a {
  color: -webkit-link;
  text-decoration: underline;
  background-color: transparent;
}
:where(.in-page) :is(img, svg) {
  vertical-align: baseline;
}
:where(.in-page) img {
  max-width: none;
}
:where(.in-page) :is(button, input, select, textarea) {
  font: 400 13.3333px Arial;
  line-height: normal;
}
:where(.in-page) button {
  appearance: auto;
}
:where(.in-page) :is(th, td) {
  text-align: inherit;
}
:where(.in-page) :is(ul, ol) {
  list-style: none;
}

/* 4. СОСТОЯНИЯ (приём iso корзины). Чужие правила состояний сильнее сброса:
      у bootstrap button:focus и a:focus специфичность 0,1,1 - как у правила
      с классом и тегом. Здесь специфичность выше, чем в пунктах 1-3, но ниже,
      чем у наших правил состояний (класс + :hover = 0,2,0).

      Кольцо фокуса - только с клавиатуры (T-07): focus мышью и тапом - без
      кольца, с клавиатуры - браузерное (revert снимает чужой outline).
      Ховер ссылок правилом не трогаем: у каждой видимой ссылки страницы есть
      своё правило состояния (крошки, поднавигация, текст, кнопка) - они сильнее
      чужого a:hover (0,1,1) и объявлены под @media (hover: hover). */
:where(.in-page) button:focus:not(:focus-visible) {
  outline-style: none;
}
:where(.in-page) button:focus-visible,
:where(.in-page) a:focus-visible {
  outline: revert;
}
:where(.in-page) :is(a, button):focus:not(:focus-visible) {
  outline-style: none;
}

/* 5. СЕМЕЙСТВО на текстовых тегах: копия ставит 'Montserrat' с !important
      (style-basel-child.css: body, p, a, h1-h4) - вернуть семейство страницы.
      Тот же вес важности, специфичность выше (класс + тег): правило сильнее. */
:where(.in-page) :is(p, a, h1, h2, h3, h4) {
  font-family: "Montserrat-mh", "Segoe UI", sans-serif !important;
}

/* 6. МЕЖСТРОЧНЫЙ текстовых тегов - наследование (bootstrap dt/dd: 1.43;
      заголовкам 1.1/1.2 снято в п.2). Свои значения - классами в css страницы. */
:where(.in-page) :is(p, li, dd, dt, th, td, label, a, span, div) {
  line-height: inherit;
}

:root {
  --curve: cubic-bezier(0.22, 1, 0.36, 1);
  --navy: #0a234f;
  --steel: #4a73a3;
  --ink: #14202e;
  --muted: #8b96a3;
  --line: #e4e9ef;
  --paper: #ffffff;
  --pad: clamp(20px, 4.5vw, 72px);
  --container: 1400px;
  --gx: max(var(--pad), calc((100vw - var(--container)) / 2));
  --sec-top: clamp(64px, 9vh, 110px);
  --sec-bot: clamp(64px, 9vh, 110px);

}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

.in-page {
  font-family: "Montserrat-mh", "Segoe UI", sans-serif;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

/* ============================================================
   КАРКАС: крошки + H1 - как у корзины и карточки товара.
   Один корень .in-page: в нём заголовок, поднавигация и тело.
   ============================================================ */

.in-page {
  --in-col: 760px;                 /* ширина текстовой колонки */
}

.cg-head {
  padding: calc(var(--mh-h-compact) + 30px) var(--gx) 0;
}
.pl-crumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.pl-crumbs a { color: inherit; text-decoration: none; transition: color 0.25s ease; }
@media (hover: hover) {
  .pl-crumbs a:hover { color: var(--navy); }
}
.pl-crumbs__sep { opacity: 0.55; }
.pl-crumbs__cur { color: var(--ink); }

/* H1 служебной страницы - компактный (единый размер с H1 карточки товара
   и корзины); слово- или два-строчный заголовок вроде «Popilov Yachting -
   бренд для влюблённых в море» переносится свободно */
.cg-head__h {
  max-width: 22em;
  font-size: clamp(16px, 1.8vw, 22px);
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.3;
  color: var(--ink);
}

/* ------------------------------------------------------------
   ПОДНАВИГАЦИЯ раздела «О нас» (about/menu.php): ряд ссылок под
   заголовком, активная - navy с линией. Телефон - лента с прокруткой
   (contain: inline-size - лента не распирает колонку, S-24).
   ------------------------------------------------------------ */
.in-nav {
  margin: 26px var(--gx) 0;
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  contain: inline-size;
  scrollbar-width: none;
}
.in-nav::-webkit-scrollbar { display: none; }
.in-nav__list {
  display: flex;
  gap: clamp(20px, 2.6vw, 36px);
  list-style: none;
  white-space: nowrap;
}
.in-nav__item { display: flex; }
.in-nav__link {
  display: block;
  padding: 2px 0 13px;
  margin-bottom: -1px;
  border-bottom: 2px solid transparent;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
  transition: color 0.25s ease, border-color 0.25s ease;
}
@media (hover: hover) {
  .in-nav__link:hover { color: var(--ink); }
}
.in-nav__item.is-active .in-nav__link {
  color: var(--navy);
  border-color: var(--navy);
}

/* ============================================================
   ТЕЛО: текстовая колонка (+ карточка справа, если есть)
   ============================================================ */

.in-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(28px, 3.4vw, 56px);
  padding: 34px var(--gx) var(--sec-bot);
  align-items: start;
}
.in-layout--aside {
  grid-template-columns: minmax(0, var(--in-col)) minmax(300px, 1fr);
}
.in-doc {
  min-width: 0;
}
/* текстовые блоки - в колонке 760; галерея (включаемая область) - шире, до 960 */
.in-doc > * { max-width: var(--in-col); }
.in-doc > .in-gallery { max-width: 960px; }
/* поток документа: любые два соседних блока - через 14px; свои отступы
   ниже у блоков, которым нужно больше (заголовки, врезки, кнопки) */
.in-doc > * + * { margin-top: 14px; }
.in-doc > .in-h2 { margin-top: 34px; }
.in-doc > .in-h2:first-child,
.in-doc > .in-doc__title:first-child { margin-top: 0; }
.in-doc > .in-h3 { margin-top: 26px; }
.in-doc > .in-h2 + .in-h3,
.in-doc > .in-h3 + .in-h3 { margin-top: 14px; }
.in-doc > .in-list { margin-top: 8px; }
.in-doc > .in-table { margin-top: 14px; }
.in-doc > .in-note { margin-top: 24px; }
.in-doc > .in-actions { margin-top: 28px; }
.in-doc > .in-phone { margin-top: 4px; }
.in-doc > .in-figure { margin-top: 22px; }

/* ------------------------------------------------------------
   ТИПОГРАФИКА: лид 18 / текст 16 (правило 09.11)
   ------------------------------------------------------------ */
.in-lead {
  max-width: 62ch;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--ink);
}
.in-p {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: rgba(20, 32, 46, 0.82);
}
.in-p--strong { color: var(--ink); }
.in-doc__title {
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.3;
  color: var(--ink);
}
.in-h2 {
  font-size: clamp(16px, 1.8vw, 22px);
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.35;
  color: var(--ink);
}
.in-h3 {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.4;
  color: var(--ink);
}
/* выделение в тексте: жирный - ink 700 (как b в списках каталога),
   курсив - без наклона (у Montserrat-mh нет курсивных лиц, синтетический
   наклон полужирным не читается) - цветом */
.in-lead b, .in-lead strong, .in-p b, .in-p strong,
.in-list b, .in-list strong, .in-note b, .in-note strong {
  color: var(--ink);
  font-weight: 700;
}
.in-lead em, .in-p em, .in-list em {
  font-style: normal;
  color: var(--ink);
}
/* ссылки в тексте */
.in-doc a, .in-aside a, .in-richtext a {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.25s ease;
}
@media (hover: hover) {
  .in-doc a:hover, .in-aside a:hover, .in-richtext a:hover { color: var(--steel); }
}

/* ------------------------------------------------------------
   СПИСКИ: маркер-чёрточка steel (как список SEO-текста раздела)
   ------------------------------------------------------------ */
.in-list {
  list-style: none;
}
.in-list li {
  position: relative;
  padding-left: 18px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  color: rgba(20, 32, 46, 0.82);
}
.in-list li + li { margin-top: 8px; }
.in-list li::before {
  content: "-";
  position: absolute;
  left: 0;
  color: var(--steel);
}
/* строки-пункты с собственным маркером в тексте кодера (политика: «●» +
   табуляция): маркер остаётся в тексте дословно, пункт - с висячим отступом */
.in-list--marks li {
  padding-left: 12px;
  text-indent: -12px;
}
.in-list--marks li::before { content: none; }

/* ------------------------------------------------------------
   ТАБЛИЦА-РЕКВИЗИТЫ: «ключ | значение», строки через линию 1px
   ------------------------------------------------------------ */
.in-table {
  width: 100%;
  border-collapse: collapse;
}
.in-table th,
.in-table td {
  vertical-align: top;
  text-align: left;
  padding: 11px 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: rgba(20, 32, 46, 0.82);
  border-bottom: 1px solid var(--line);
}
.in-table tr:first-child th,
.in-table tr:first-child td { padding-top: 4px; }
.in-table tr:last-child th,
.in-table tr:last-child td { border-bottom: 0; padding-bottom: 4px; }
.in-table th {
  width: 172px;
  padding-right: 18px;
  color: var(--muted);
  white-space: nowrap;
}
.in-table .in-table__wide {
  padding-top: 18px;
  color: var(--ink);
  font-weight: 700;
}

/* ------------------------------------------------------------
   ВРЕЗКА: рамка 1px (как итоги корзины) - важное в тексте
   ------------------------------------------------------------ */
.in-note {
  padding: 20px 24px;
  border: 1px solid var(--line);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--ink);
}
.in-note--contact { border-left: 3px solid var(--navy); }

/* ------------------------------------------------------------
   ТЕЛЕФОН: крупной цифрой (howto, opt)
   ------------------------------------------------------------ */
.in-phone {
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
  color: var(--navy);
}
.in-phone a {
  color: inherit;
  text-decoration: none;
}
@media (hover: hover) {
  .in-phone a:hover { text-decoration: underline; text-underline-offset: 6px; }
}

/* ------------------------------------------------------------
   КНОПКИ: канон - заливка .cg-basket, обводка .pop__all
   ------------------------------------------------------------ */
.in-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.cg-basket {
  display: block;
  width: 100%;
  padding: 15px 20px;
  border: none;
  border-radius: 4px;
  background: var(--navy);
  color: #f4f6f7;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.3s var(--curve);
}
.in-actions .cg-basket { width: auto; min-width: 260px; }
@media (hover: hover) {
  .cg-basket:hover { background: #123061; transform: scale(1.02); }
}
.cg-basket:active { transform: scale(0.98); }

.pop__all {
  display: inline-flex;
  align-items: center;
  padding: 16px 44px;
  border: 1px solid var(--navy);
  border-radius: 4px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
@media (hover: hover) {
  .pop__all:hover { background: var(--navy); color: #f4f6f7; transform: scale(1.02); }
}
.pop__all:active { transform: scale(0.98); }

/* ------------------------------------------------------------
   ЧУЖОЙ HTML ВНУТРИ (.in-richtext): тексты из инфоблоков и включаемые
   области приходят готовым HTML без наших классов - те же правила
   типографики, но через теги внутри контейнера
   ------------------------------------------------------------ */
.in-richtext > * + * { margin-top: 14px; }
.in-richtext > :is(h1, h2, h3):first-child { margin-top: 0; }
.in-richtext > h1 {
  margin-top: 34px;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.3;
  color: var(--ink);
}
.in-richtext > h2 {
  margin-top: 30px;
  font-size: clamp(16px, 1.8vw, 22px);
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.35;
  color: var(--ink);
}
.in-richtext > h3,
.in-richtext > h4 {
  margin-top: 24px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.4;
  color: var(--ink);
}
.in-richtext > :is(p, li, dd, dt, td, th) {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: rgba(20, 32, 46, 0.82);
}
.in-richtext > ul,
.in-richtext > ol,
.in-richtext li ul,
.in-richtext li ol { margin-top: 8px; list-style: none; }
.in-richtext li {
  position: relative;
  padding-left: 18px;
}
.in-richtext li + li { margin-top: 8px; }
.in-richtext li::before {
  content: "-";
  position: absolute;
  left: 0;
  color: var(--steel);
}
.in-richtext :is(b, strong) { color: var(--ink); font-weight: 700; }
.in-richtext em { font-style: normal; color: var(--ink); }
.in-richtext img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}

/* ------------------------------------------------------------
   ИМИДЖЕВЫЕ КАДРЫ (/about/): строки «текст | фото» из двух колонок;
   картинка - блок во всю колонку, радиус 4, кадр не режется
   ------------------------------------------------------------ */
.in-figure {
  margin: 0;
}
.in-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
}
.in-story {
  display: grid;
  gap: clamp(28px, 4vw, 56px);
  max-width: var(--container);
}
.in-story__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.in-story__col {
  display: grid;
  gap: clamp(24px, 2.6vw, 36px);
  min-width: 0;
  align-content: start;
}
.in-story__row .in-richtext { max-width: var(--in-col); }

/* ============================================================
   АДАПТИВ
   ============================================================ */

@media (max-width: 1023px) {
  .in-layout--aside {
    grid-template-columns: minmax(0, 1fr);
  }
  .in-story__row { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 639px) {
  .cg-head { padding-top: calc(var(--mh-h-compact) + 22px); }
  .pl-crumbs { margin-bottom: 14px; }
  .in-nav { margin-top: 20px; }
  .in-nav__link { font-size: 11px; letter-spacing: 0.12em; }
  .in-layout { padding-top: 26px; }
  .in-lead { font-size: 17px; line-height: 1.55; }
  .in-p, .in-list li, .in-note { font-size: 15px; line-height: 1.65; }
  .in-h2 { letter-spacing: 0.04em; }
  .in-table,
  .in-table tbody,
  .in-table tr,
  .in-table th,
  .in-table td { display: block; }
  .in-table tr {
    padding: 11px 0;
    border-bottom: 1px solid var(--line);
  }
  .in-table tr:first-child { padding-top: 4px; }
  .in-table tr:last-child { border-bottom: 0; padding-bottom: 4px; }
  .in-table th,
  .in-table td {
    padding: 0;
    border: 0;
    white-space: normal;
  }
  .in-table th { margin-bottom: 3px; }
  .in-table .in-table__wide { padding-top: 0; }
  .in-note { padding: 16px 18px; }
  .in-actions .pop__all { padding: 14px 28px; justify-content: center; text-align: center; }
  .in-story__row { gap: 24px; }
  .in-story__col { gap: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01s !important; animation-duration: 0.01s !important; }
}

/* ============================================================
   СТРАНИЧНЫЕ ПРАВИЛА ПРОДА - инфостраницы (волна 7, 01.12).
   То, чего нет в исходнике вида page/info.css: живые механики кодера на двух страницах.
   Едут отдельным блоком в конце css страницы (build_page_css.py --extra).

   КОНТАКТЫ (/about/contacts/): карта Яндекс (#yandex-map - contacts-map.js кодера ищет
   этот id), адреса .address-item (тот же скрипт вешает клик и красит выбранный адрес
   инлайн-стилем), форма обратной связи (class="form" и обёртка .cart__container-short -
   контракт AJAX в js/main-scripts.js: сообщение об успехе вставляется в родителя
   .cart__container-short), #textContainer / #imageContainer - туда showText()/showImage()
   кодера кладут текст магазина, iframe отзывов Яндекса и фотографию.
   ЭКИПАЖАМ (/ekipazh/): включаемая галерея кодера (.ekipazh-gallery из
   /include/ekipazh_photo.php), форма мерча (.merch-form и .merch-form-title - контракт
   того же AJAX: сообщение об успехе вставляется в родителя заголовка).
   ============================================================ */

/* ---------- чужие правила классов-контрактов: снять ---------- */
/* .cart__container-short и .form у кодера - раскладка полей оформления заказа
   (max-width, паддинги 4.2rem !important, margin-bottom 6rem, flex-колонка) */
.in-form .cart__container-short {
  max-width: none;
  margin: 0;
  padding: 0 !important;
}
.in-form form.form {
  display: block;
  width: 100%;
}

/* ---------- КАРТА КОНТАКТОВ ---------- */
.in-map {
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  background: #eef1f5;
}
.in-map__canvas {
  width: 100%;
  height: 420px;
}
.in-map__info {
  margin-top: 18px;
  font-size: 16px;
  line-height: 1.65;
  color: rgba(20, 32, 46, 0.82);
}
.in-map__info:empty {
  margin-top: 0;
}
.in-map__info b {
  color: var(--ink);
  font-weight: 700;
}
.in-map__info iframe {
  display: block;
  width: 100%;
  height: 1300px;
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-sizing: border-box;
}

/* ---------- ФОРМА (контакты, экипажам) ---------- */
.in-form {
  margin-top: 36px;
}
.in-form > .in-h2 {
  margin-bottom: 6px;
}
.in-form__row {
  display: grid;
  gap: 9px;
  margin-top: 16px;
}
.in-form__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.in-form__req {
  color: var(--navy);
}
.in-form__input {
  display: block;
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--paper);
  font-family: inherit;
  font-size: 16px;
  font-weight: 400;
  color: var(--ink);
  outline: none;
  transition: border-color 0.25s ease;
}
.in-form__input::placeholder {
  color: var(--muted);
  opacity: 1;
}
.in-form__input:focus {
  border-color: var(--navy);
}
.in-form__input--area {
  height: auto;
  min-height: 128px;
  padding: 12px 14px;
  line-height: 1.5;
  resize: vertical;
}
.in-form__agree {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 18px;
}
.in-form__check {
  flex: none;
  width: 22px;
  height: 22px;
  margin: 1px 0 0;
  accent-color: var(--navy);
  cursor: pointer;
}
.in-form__label--check {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.5;
  color: rgba(20, 32, 46, 0.82);
}
.in-form__label--check a {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (hover: hover) {
  .in-form__label--check a:hover { color: var(--steel); }
}
.in-form__submit {
  margin-top: 22px;
}
.in-form__submit:disabled {
  opacity: 0.45;
  cursor: default;
}
/* сообщение об успехе (его кладёт AJAX кодера после .cart__container-short / заголовка) */
.in-form .merch-form-success {
  margin-top: 20px;
}

/* ---------- КАРТОЧКА СПРАВА (адреса магазинов) ---------- */
.in-aside > * + * {
  margin-top: 22px;
}
.in-aside > .in-h3:first-child {
  margin-top: 0;
}
.in-shops {
  list-style: none;
  margin: 10px 0 0;
}
.in-shops__item + .in-shops__item {
  margin-top: 4px;
}
.in-shops__link {
  display: block;
  text-decoration: none;
  color: inherit;
}
/* сильнее правила ссылок текста (.in-aside a, .in-aside a:hover - та же специфичность,
   объявлены раньше): адрес - не ссылка-текст, а строка-кнопка карты */
.in-aside .in-shops__link {
  color: inherit;
  text-decoration: none;
}
/* contacts-map.js красит выбранный адрес сам (fontWeight/color инлайн) - фон не трогаем */
.in-shops__link .address-item {
  padding: 7px 10px 7px 12px;
  margin: 0;
  border-left: 2px solid transparent;
  font-size: 16px;
  line-height: 1.5;
  color: rgba(20, 32, 46, 0.82);
  cursor: pointer;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}
@media (hover: hover) {
  .in-shops__link:hover .address-item {
    border-left-color: var(--steel);
    background: rgba(74, 115, 163, 0.06);
  }
}
.in-aside__group {
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.in-aside__group > * + * {
  margin-top: 8px;
}
.in-aside__group > .in-h3 {
  margin-bottom: 12px;
}
.in-aside__photo:empty {
  margin-top: 0;
}
.in-aside__photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
}

/* ---------- ЭКИПАЖАМ: галерея (включаемая область кодера) и форма мерча ---------- */
/* кадры кодера (/include/1..5) разной пропорции и небольшие (313x451 … 653x422): два в ряд,
   без обрезки и без растяжки - высота по кадру; ширина галереи - до 960 (page/info.css) */
.in-gallery {
  margin-top: 30px;
}
.in-gallery .ekipazh-gallery {
  margin: 0;
}
.in-gallery .gallery-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
}
.in-gallery .gallery-item {
  overflow: hidden;
  border-radius: 4px;
  min-width: 0;
  background: var(--line);
}
.in-gallery .gallery-item img {
  display: block;
  width: 100%;
  height: auto;
}
.in-form--merch {
  max-width: var(--in-col);
}
.in-form__sub {
  margin-top: 8px;
}
/* поле телефона: флаг-svg и «+7» кодера - дословно, вокруг - рамка как у полей */
.in-form--merch .phone-field {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 48px;
  margin-top: 16px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  transition: border-color 0.25s ease;
}
.in-form--merch .phone-field:focus-within {
  border-color: var(--navy);
}
.in-form--merch .phone-field .flag-icon {
  display: flex;
  align-items: center;
  margin-right: 4px;
}
.in-form--merch .phone-field .in-form__input--phone {
  height: auto;
  padding: 0 0 0 6px;
  border: 0;
  background: transparent;
  flex: 1 1 auto;
  min-width: 0;
}
.in-form--merch .in-form__submit {
  margin-top: 20px;
  min-width: 220px;
}

/* ---------- телефон: форма, карта, галерея ---------- */
@media (max-width: 1023px) {
  .in-aside {
    margin-top: 6px;
  }
}

@media (max-width: 639px) {
  .in-map__canvas {
    height: 320px;
  }
  .in-map__info iframe {
    height: 938px;
  }
  .in-form {
    margin-top: 28px;
  }
  .in-form__input {
    height: 46px;
  }
  .in-form__agree {
    gap: 10px;
  }
  .in-form__submit,
  .in-form--merch .in-form__submit {
    width: 100%;
    min-width: 0;
  }
  .in-gallery .gallery-row {
    gap: 8px;
  }
}
