/* =====================================================================
   «Рельеф»: страница модели /seo/<марка>/<модель>/ (relief/seo-model.php, parts/seo-model.php). 03.12.2026.
   Сцена: ответ в 1–2 предложения, цена, одна кнопка, паспорт с цифрами. Ниже: пары, кому подойдут, что нового,
   размер, три похожие модели, вопросы, «Ещё по теме». Каждый блок коротко (03.12: «без перегрузки»). Три цвета: чёрный, белый, оранжевый; серых плоскостей нет.
   ===================================================================== */

/* ---------- верх: как карточка товара (p-product.css), белый лист с фото модели. 03.12 владелец: «нет фото самой модели»,
   «категории через / на новую строку — не очень», «на мобилке продумай UX». Телефон одной колонкой в порядке решения:
   «‹ раздел», марка и модель, фото, цена, кнопка, ответ, цифры. ПК (от 1000): фото слева, всё остальное справа. ---------- */
.p-seo-top { display: flex; flex-direction: column; padding-bottom: 8px; }
.p-seo-crow { order: 0; } .p-seo-title { order: 1; } .p-seo-photo { order: 2; } .p-seo-deal { order: 3; }
.p-seo-answer { order: 4; } .p-seo-pass { order: 5; }   /* в HTML ответ сразу под заголовком — для поиска и нейросетей */
.p-seo-crow { display: flex; align-items: center; min-height: 40px; }
.p-seo-crumbs { display: none; min-width: 0; }
.p-seo-back { display: inline-flex; align-items: center; gap: 6px; min-width: 0; min-height: 44px; margin-left: -2px; padding-right: 8px;
  font: 600 15px/1.2 var(--f-text); color: var(--ink-2); }
.p-seo-back span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.p-seo-back .i { flex: none; color: var(--ink); }

/* H1: мелко «Беговые кроссовки Nike» (марка в строке, как у карточки товара), крупно модель Unbounded, у шиповок ниже дисциплина */
.p-seo-title__b { display: block; font: 700 15px/1.25 var(--f-text); color: var(--ink-2); }
.p-seo-title__m { display: block; margin-top: 2px; font: 800 28px/1.08 var(--f-display); letter-spacing: -.02em; text-wrap: balance; }
.p-seo-title__s { display: block; margin-top: 4px; font: 500 15px/1.35 var(--f-text); color: var(--ink-2); }
.p-seo-title::after { content: ""; display: block; width: 32px; height: 3px; margin-top: 8px; border-radius: 2px; background: var(--accent); }

/* фото: кадр сайта — квадрат, contain, поле 2,4 %; белое на белом очерчено волосной линией (как .p-gal__plate) */
.p-seo-photo { display: block; margin-top: 12px; aspect-ratio: 1; padding: var(--mtf-ph-pad, var(--ph-pad, 2.4%)); border-radius: 20px;
  background: #fff; box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.p-seo-photo img { display: block; width: 100%; height: 100%; object-fit: contain; }

.p-seo-deal { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; }   /* цена и кнопка одной строкой: обе на первом экране телефона */
.p-seo-buy { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.p-seo-buy .price--l { font-size: 26px; }
.p-seo-buy__n { font: 500 13px/1.3 var(--f-text); color: var(--ink-2); }
.p-seo .price { color: var(--ink); }                       /* цены чёрные, как в каталоге и на карточке (владелец 24.11) */
.p-seo-btns { flex: none; margin: 0; }
.p-seo-btns .btn { padding-inline: 18px; }
.p-seo-answer { margin-top: 20px; max-width: 62ch; font: 400 16px/1.6 var(--f-text); color: var(--ink); }

/* цифры модели: одна рамка, подпись назначения оранжевым */
.p-seo-pass { margin-top: 18px; padding: 14px 16px 2px; border-radius: var(--r4); box-shadow: inset 0 0 0 1px var(--line); }
.p-seo-pass__t { font: 700 12px/1.2 var(--f-text); letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.p-seo-pass dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.p-seo-pass__t + dl { margin-top: 4px; }
.p-seo-pass dl > div { padding: 12px 0; }
.p-seo-pass dl > div:nth-child(n + 3) { border-top: 1px solid var(--line); }
.p-seo-pass dt { font: 500 13px/1.3 var(--f-text); color: var(--ink-2); }
.p-seo-pass dd { margin-top: 4px; font: 700 19px/1.2 var(--f-text); color: var(--ink); }

@media (min-width: 600px) and (max-width: 999px) {
  .p-seo-photo, .p-seo-deal { width: min(100%, 520px); }
}
@media (min-width: 1000px) {
  .p-seo-top { display: grid; grid-template-columns: minmax(0, 560px) minmax(0, 1fr); column-gap: 64px; align-items: start;
    grid-template-areas: "crow crow" "photo title" "photo answer" "photo deal" "photo pass" "photo ."; grid-template-rows: auto auto auto auto auto 1fr;
    padding-bottom: 24px; }
  .p-seo-top--nophoto { grid-template-columns: minmax(0, 760px); grid-template-areas: "crow" "title" "answer" "deal" "pass"; grid-template-rows: none; }
  .p-seo-crow { grid-area: crow; min-height: 44px; margin-bottom: 8px; }
  .p-seo-back { display: none; }
  .p-seo-crumbs { display: block; }
  .p-seo-title { grid-area: title; }
  .p-seo-photo { grid-area: photo; margin-top: 0; border-radius: 24px; }
  .p-seo-answer { grid-area: answer; margin-top: 18px; font-size: 17px; }
  .p-seo-deal { grid-area: deal; justify-content: flex-start; gap: 28px; margin-top: 24px; }
  .p-seo-buy .price--l { font-size: 32px; }
  .p-seo-btns .btn { padding-inline: 28px; }
  .p-seo-pass { grid-area: pass; margin-top: 26px; padding: 14px 20px 2px; }
  .p-seo-pass dl { grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); }
  .p-seo-pass dl > div:nth-child(n + 3) { border-top: 0; }
  .p-seo-title__b { font-size: 17px; }
  .p-seo-title__m { font-size: clamp(36px, 3.4vw, 48px); }
  .p-seo-title__s { font-size: 17px; }
}

/* ---------- пары ---------- */
.p-seo .sec { padding: 36px 0; }
.p-seo-pairs { padding-top: 4px !important; }
.p-seo-pairs .sec-head__sub { margin-top: 8px; font-size: 15px; }
.p-seo .p-catalog-grid { gap: 22px 10px; }
@media (min-width: 600px) { .p-seo .p-catalog-grid { gap: 28px 16px; } }
@media (min-width: 1200px) { .p-seo .p-catalog-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px 20px; } }
.p-seo-more { margin-top: 24px; }
.p-seo-more > summary { list-style: none; cursor: pointer; gap: 8px; }
.p-seo-more > summary::-webkit-details-marker { display: none; }
.p-seo-more[open] > summary { display: none; }
.p-seo-more > .p-catalog-grid { margin-top: 4px; }
.p-seo-pc { display: none; }
@media (min-width: 1024px) {
  .p-seo-mo { display: none; }
  .p-seo-pc { display: inline; }
  .p-seo-more--mo { display: none; }
}
.p-seo-all { margin-top: 14px; }
.p-seo-empty { font-size: 17px; line-height: 1.5; color: var(--ink-2); }

/* ---------- колонка текста ---------- */
.p-seo-col > * { max-width: 760px; }
.p-seo-col > .h2 + * { margin-top: 18px; }
.p-seo-col > p { margin-top: 12px; font-size: 17px; line-height: 1.6; }
.p-seo-col > .btn, .p-seo-col > .more { margin-top: 18px; }

.p-seo-list { display: grid; gap: 12px; font-size: 17px; line-height: 1.5; }
.p-seo-list li { display: flex; gap: 12px; align-items: flex-start; }
.p-seo-list li > .i { flex: none; width: 22px; height: 22px; margin-top: 1px; color: var(--accent); }
.p-seo-list a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 2px; }
.p-seo-list--num { counter-reset: n; }
.p-seo-list--num li { counter-increment: n; }
.p-seo-list--num li::before { content: counter(n); flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--accent); color: var(--on-accent); font: 800 14px/1 var(--f-display); }
.p-seo-list--dash li::before { content: ""; flex: none; width: 14px; height: 2px; margin-top: 12px; background: var(--ink); }

/* ---------- о модели (страницы без экспертных данных) ---------- */
.p-seo-about .p-seo-col > p { max-width: 68ch; }

/* ---------- кому подойдут ---------- */
.p-seo-for__cols { display: grid; gap: 16px; margin-top: 20px; }
.p-seo-for__c { padding: 20px 18px; border-radius: var(--r4); box-shadow: inset 0 0 0 1.5px var(--line); }
.p-seo-for__c--yes { box-shadow: inset 0 0 0 2px var(--accent); }
.p-seo-for__c .h3 { margin-bottom: 14px; }
@media (min-width: 900px) { .p-seo-for__cols { grid-template-columns: 1fr 1fr; gap: 20px; } .p-seo-for__c { padding: 26px 28px; } }

/* ---------- размер ---------- */
.p-seo-size__v { display: flex; align-items: center; gap: 10px; font: 800 20px/1.3 var(--f-text); }
.p-seo-size__dot { flex: none; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); }

/* ---------- похожие модели ---------- */
.p-seo-alts__row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 72%); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gut);
  margin: 0 calc(-1 * var(--gut)); padding: 2px var(--gut) 8px; scrollbar-width: none; }
.p-seo-alts__row::-webkit-scrollbar { display: none; }
.p-seo-alt { display: flex; flex-direction: column; gap: 4px; scroll-snap-align: start; color: var(--ink); }
.p-seo-alt__ph { display: block; aspect-ratio: 1; margin-bottom: 8px; border-radius: var(--r3); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.p-seo-alt__ph img { width: 100%; height: 100%; object-fit: contain; padding: var(--mtf-ph-pad, 2.4%); transition: transform var(--t2) var(--ease); }
.p-seo-alt__b { font: 700 12px/1.2 var(--f-text); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.p-seo-alt__m { font: 800 18px/1.2 var(--f-text); }
.p-seo-alt__why { font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.p-seo-alt .price { margin-top: 4px; color: var(--ink); }
@media (hover: hover) { .p-seo-alt:hover .p-seo-alt__ph img { transform: translateY(-4px); } }
@media (min-width: 900px) {
  .p-seo-alts__row { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible; margin: 0; padding: 0; gap: 24px; }
}

/* ---------- вопросы ---------- */
.p-seo-faq .acc summary { font: 700 17px/1.35 var(--f-text); }
.p-seo-faq .acc__body { font-size: 16px; }

/* ---------- ещё по теме ---------- */
.p-seo-idx { border-top: 1px solid var(--line); }
.p-seo-links { border-top: 2px solid var(--ink); }
.p-seo-links a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 12px 0; border-bottom: 1px solid var(--line);
  font-size: 16px; line-height: 1.35; color: var(--ink); }
.p-seo-links .i { flex: none; width: 18px; height: 18px; color: var(--accent); }
@media (hover: hover) { .p-seo-links a:hover { color: var(--accent); } }

/* 03.12: X-Wide, GT-2000 не рвём на строки */
.p-seo .nw { white-space: nowrap; }
