/* p-product.css — «Рельеф», этап 3: карточка товара. Основа — прототип (docs/redesign_2026-11-24/proto/assets/css/p-product.css), без листов
   заказа, корзины и «Заказ оформлен» (окно заказа строит живой script.js, корзина и спасибо — живые страницы). В конце файла стили
   живых вставок, которые прототип рисовал сам: окно заказа #order_screen, «Оплата частями», подписка на размер, строки под ценой.
   Только классы p-* и id/классы живых вставок. Цвета: чёрный, белый, оранжевый (токены tf-base.css). */

/* ---------- общее ---------- */
.p-page { padding-top: 6px; padding-bottom: 56px; }
.p-page [hidden], .p-sheet [hidden] { display: none !important; }   /* hidden сильнее display компонентов */
.p-page > .ridge:first-child { height: clamp(24px, 6vw, 40px); }    /* край шапки на рядовых страницах тонкий */
.p-page .price { color: var(--ink); }                               /* цены чёрные (владелец 24.11), на сцене белые */
.p-sub { margin-top: 6px; font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.p-sec { padding-top: 48px; }
.p-link { display: inline-flex; align-items: center; min-height: 44px; font: 600 14px/1.3 var(--f-text); color: var(--ink);
  text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-2); text-align: left; }
.u { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-2); }
.p-hide-m { display: none; }
.p-card { padding: 18px 16px; border-radius: 20px; background: #fff; }
.p-card__h { font: 800 18px/1.2 var(--f-text); letter-spacing: -.01em; }
@media (min-width: 900px) {
  .p-sec { padding-top: 80px; }
  .p-hide-m { display: inline; }
  .p-card { padding: 24px; border-radius: 24px; }
  .p-card__h { font-size: 20px; }
}

/* ---------- верх карточки. Телефон: одна колонка в порядке решений (марка и модель, фото, цена, расцветка, размер,
   кнопка, сроки), «О модели» после покупки. ПК (от 900): галерея и «О модели» слева, липкая покупка справа ---------- */
.p-pdp { padding-top: 0; }
.p-top { display: flex; flex-direction: column; }
.p-colL, .p-colR, .p-buy { display: contents; }
.p-crumbrow { order: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; }
.p-crumbs, .p-sku { display: none; }
.p-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-back span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.p-back .i { flex: none; color: var(--ink); }
.p-crumbrow__r { display: flex; align-items: center; gap: 16px; flex: none; }
.p-head { order: 1; }
.p-gal { order: 2; margin-top: 14px; }
.p-pricebox { order: 3; margin-top: 14px; }
.p-panel { order: 4; margin-top: 22px; }
.p-about { order: 5; margin-top: 48px; }

/* H1 тремя строками: марка жирно, модель Unbounded, расцветка и пол; оранжевая черта — узнаваемая деталь сайта */
.p-title__brand { display: block; font: 800 16px/1.2 var(--f-text); letter-spacing: -.01em; }
.p-title__model { display: block; margin-top: 3px; font: 800 25px/1.1 var(--f-display); letter-spacing: -.02em; text-wrap: balance; }
.p-title--m .p-title__model { font-size: 22px; }
.p-title--l .p-title__model { font-size: 19px; }
.p-title__cw { display: -webkit-box; margin-top: 6px; font: 500 15px/1.35 var(--f-text); color: var(--ink-2);
  -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.p-title::after { content: ""; display: block; width: 32px; height: 3px; margin-top: 10px; border-radius: 2px; background: var(--accent); }

/* галерея: кадр сайта — квадрат, contain, поле 2,4 %; белое на белом очерчено волосной линией */
.p-gal__thumbs { display: none; }
.p-gal__plate { position: relative; aspect-ratio: 1; border-radius: 20px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.p-gal__track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.p-gal__track::-webkit-scrollbar { display: none; }
.p-gal__track:focus-visible { outline: 2px solid var(--accent); outline-offset: -4px; }
.p-gal__slide { flex: 0 0 100%; height: 100%; padding: var(--mtf-ph-pad, var(--ph-pad, 2.4%)); scroll-snap-align: start; }   /* кадр сайта, тот же токен, что у .pcard__ph */
.p-gal__slide img { width: 100%; height: 100%; object-fit: contain; }
.p-gal__fav { position: absolute; right: 10px; top: 10px; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: #fff; box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); transition: transform var(--t1) var(--ease); }
.p-gal__fav:active { transform: scale(.9); }
.p-gal__fav[aria-pressed="true"] { color: var(--accent); }
.p-gal__count { position: absolute; right: 10px; bottom: 10px; height: 26px; padding: 0 10px; border-radius: var(--pill); background: #fff;
  box-shadow: inset 0 0 0 1px var(--line); font: 600 13px/26px var(--f-text); color: var(--ink-2); font-variant-numeric: tabular-nums; }   /* 30.11 (M P2-1): 13 px */
.p-gal__count b { font-weight: 600; color: var(--ink); }

/* цена «от» чернилами и «Долями» справа (тот же вид, что в карточке каталога); узко — «Долями» строкой ниже */
.p-pricehead { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; }
.p-price { font-size: 30px; letter-spacing: -.02em; }
.p-price.is-tick .num, .p-sticky__price.is-tick { animation: p-tick var(--t2) var(--ease) both; }
@keyframes p-tick { from { opacity: 0; transform: translateY(4px); } }
.p-split { position: relative; display: grid; justify-items: end; gap: 5px; margin-left: auto; text-align: right;
  font: 500 13px/1.2 var(--f-text); color: var(--ink-2); }
.p-split::after { content: ""; position: absolute; inset: -9px -8px; }   /* зона нажатия не меньше 44 px */
.p-split b { font-weight: 700; color: var(--ink); }
.p-split .dolyame { width: 72px; height: 10px; color: var(--ink); }

/* ---------- покупка: без своей белой карточки, блоки делит волосная линия ---------- */
.p-panel, .p-pick, .p-sizebox, .p-cta, .p-terms { grid-template-columns: minmax(0, 1fr); }   /* лента расцветок не раздвигает колонку */
.p-panel { display: grid; gap: 22px; }
.p-pick { display: grid; gap: 16px; }
.p-cwbox { min-width: 0; }
.p-pick__h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; min-width: 0; font: 700 15px/1.3 var(--f-text); }
.p-pick__h b { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.p-pick__h span { flex: none; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.p-pick__l { font: 700 15px/1.3 var(--f-text); }
.p-cw { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 10px calc(-1 * var(--gut)) 0; padding: 2px var(--gut); }
.p-cw::-webkit-scrollbar { display: none; }
.p-cw__t { flex: none; width: 56px; height: 56px; padding: 3px; border-radius: var(--r2); background: #fff; box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow var(--t1); }
.p-cw__t[aria-current] { box-shadow: inset 0 0 0 2px var(--ink); }
@media (hover: hover) { .p-cw__t:not([aria-current]):hover { box-shadow: inset 0 0 0 1.5px var(--ink); } }
.p-cw__t img { width: 100%; height: 100%; object-fit: contain; }
.p-cw__t.is-x { display: none; }                                   /* ПК: за плиткой «+N», пока не раскрыли */
/* 30.11.2026 (ревью ПК P0): grid ставил «+» и «14» в две строки — flex и без переноса */
.p-cw__more { display: flex; align-items: center; justify-content: center; gap: 1px; white-space: nowrap; aspect-ratio: 1; border-radius: var(--r2); background: #fff; box-shadow: inset 0 0 0 1.5px var(--line-2);
  font: 700 15px/1 var(--f-text); color: var(--ink); font-variant-numeric: tabular-nums; }
@media (hover: hover) { .p-cw__more:hover { box-shadow: inset 0 0 0 1.5px var(--ink); } }
.p-alt { display: inline-flex; align-items: center; gap: 6px; justify-self: start; min-height: 44px; font: 600 15px/1.3 var(--f-text); }
.p-alt .i { width: 18px; height: 18px; color: var(--accent); }
/* та же модель другого пола (30.11, ревью D P1-9, M P2-24): прямоугольник 12 px, подпись «Женская версия: …» переносится внутри рамки */
.p-twin { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px; padding: 10px 10px 10px 14px;
  border-radius: var(--r2); background: #fff; box-shadow: inset 0 0 0 1.5px var(--line-2); font: 500 14px/1.35 var(--f-text); color: var(--ink);
  transition: box-shadow var(--t1); }
.p-twin__t { min-width: 0; }
.p-twin b { font-weight: 700; }
.p-twin .i { flex: none; color: var(--ink); }
@media (hover: hover) { .p-twin:hover { box-shadow: inset 0 0 0 1.5px var(--ink); } }

/* размер: единицы, разброс цены, посадка, сетка с надбавкой */
.p-sizebox { display: grid; gap: 10px; padding-top: 20px; border-top: 1px solid var(--line); }
.p-size__h { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.p-size__t { font: 800 18px/1.2 var(--f-text); letter-spacing: -.01em; }
.seg.p-units { flex: none; gap: 0; padding: 0; border-radius: var(--pill); }
.p-units button { min-width: 46px; height: 44px; padding: 0 10px; border-radius: var(--pill); }
.p-units button[aria-pressed="true"] { background: var(--ink); color: #fff; box-shadow: none; }
.p-spread { font-size: 13px; line-height: 1.4; color: var(--ink-2); }
.p-fit { font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.p-fit b { font-weight: 700; color: var(--ink); }
.p-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin-top: 2px; border-radius: 14px; transition: box-shadow var(--t1); }
.p-grid.is-need { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--accent); }
.p-sz { position: relative; min-width: 0; }
.p-sz input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
.p-sz label { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 56px; padding: 0 2px;
  border-radius: var(--r2); background: #fff; box-shadow: inset 0 0 0 1.5px var(--line-2); cursor: pointer;
  font: 700 16px/1 var(--f-text); font-variant-numeric: tabular-nums; white-space: nowrap; transition: transform var(--t1) var(--ease), box-shadow var(--t1), background var(--t1); }
.p-grid--flat .p-sz label { min-height: 48px; }
.p-sz label:active { transform: scale(.97); }
.p-sz__d { font: 600 11px/1 var(--f-text); color: var(--ink-2); }
.p-sz input:checked + label { background: var(--soft); box-shadow: inset 0 0 0 2px var(--accent); color: var(--ink); }
.p-sz input:checked + label .p-sz__d { color: var(--ink); }
.p-sz input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 2px; }
.p-sz label.unavailable { background: transparent; box-shadow: none; border: 1.5px dashed var(--ink-3); color: var(--ink-3); }
.p-sz label.unavailable .p-sz__d { color: var(--ink-3); }
@media (hover: hover) { .p-sz input:not(:checked):not(:disabled) + label:hover { box-shadow: inset 0 0 0 1.5px var(--ink); } }
@media (max-width: 359px) { .p-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.p-need { font: 600 14px/1.35 var(--f-text); color: var(--accent-dark); }
.p-sum { font-size: 14px; line-height: 1.4; }
.p-sum:empty { display: none; }

/* кнопки, сроки, оплата, гарантия */
.p-cta { display: grid; gap: 10px; }
.p-cta__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.p-cta__row .btn { min-width: 0; padding: 0 10px; font-size: 16px; }
.p-cta__row .btn .i { width: 20px; height: 20px; }
.p-cartok { font-size: 14px; } .p-cartok a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.p-terms { display: grid; gap: 12px; padding-top: 20px; border-top: 1px solid var(--line); }
.p-terms ul { display: grid; gap: 12px; }
.p-terms__r p { font-size: 14px; line-height: 1.35; color: var(--ink-2); }
.p-terms__r b { margin-right: 2px; font-weight: 700; color: var(--ink); }
/* полоса дней: длина = срок. 30.11 (ревью D P2-20, M P2-17): оранжевая полоса экспресса под чёрной стандарта читалась как выбранная
   вкладка — обе чёрные, под ними волосная линия во всю ширину (шкала), серых плоскостей нет */
.p-terms__r i { display: block; width: 100%; height: 4px; margin-top: 7px; border-radius: 2px;
  background: linear-gradient(var(--ink), var(--ink)) 0 0 / var(--w) 100% no-repeat, linear-gradient(var(--line), var(--line)) 0 50% / 100% 1px no-repeat; }
.p-terms__n { font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.p-next { margin-top: -8px; font-size: 13px; line-height: 1.45; color: var(--ink-2); }
.p-trust { display: flex; align-items: center; gap: 12px; min-height: 56px; padding-top: 14px; border-top: 1px solid var(--line); }
.p-trust > .i:first-child { color: var(--ink); }
.p-trust > span { flex: 1; display: grid; gap: 1px; }
.p-trust b { font: 700 15px/1.25 var(--f-text); }
.p-trust span span { font-size: 13px; color: var(--ink-2); }
.p-trust > .i:last-child { color: var(--ink-2); transition: transform var(--t1) var(--ease); }
@media (hover: hover) { .p-trust:hover > .i:last-child { transform: translateX(3px); } }

/* ---------- липкая панель (телефон и планшет) ---------- */
.p-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; display: flex; align-items: center; gap: 10px;
  min-height: 64px; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px rgba(20, 19, 14, .08); transform: translateY(110%); transition: transform var(--t2) var(--ease); }
.p-sticky.is-on, .p-sticky.is-early { transform: none; }
/* 30.11 (ревью ПК B, P0-2): спрятанная сдвигом панель попадала в полностраничный снимок и в переход по Tab */
.p-sticky:not(.is-on):not(.is-early) { visibility: hidden; transition: transform var(--t2) var(--ease), visibility 0s linear var(--t2); }
.p-sticky__ph { flex: none; width: 44px; height: 44px; padding: 2px; border-radius: 10px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); object-fit: contain; }
.p-sticky__t { flex: 1; min-width: 0; display: grid; gap: 1px; }
.p-sticky__price { font: 700 17px/1.2 var(--f-text); color: var(--ink); white-space: nowrap; }
.p-sticky__size { font-size: 13px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.p-sticky__btn { flex: none; min-height: 48px; padding: 0 18px; font-size: 19px; }
/* 30.11.2026 (ревью телефона P0-1): «Размер не выбр…» обрезался рядом с кнопкой. До выбора строки нет, на узком экране кнопка 17 px. */
.p-sticky__size:empty { display: none; }
@media (max-width: 420px) { .p-sticky__btn { padding: 0 14px; font-size: 17px; } }
@media (max-width: 359px) { .p-sticky__ph { display: none; } }
@media (max-width: 899px) {
  html.p-early .mobbar, html.has-cta .mobbar { transform: translateY(150%); visibility: hidden; }
  html.is-shot.p-early .mobbar { visibility: hidden; }   /* снимок: вместо нижней панели липкая покупка */
}
@media (min-width: 900px) { .p-sticky { display: none; } }

/* ---------- «О модели»: назначение, описание свёрнуто, артикул ---------- */
.p-about__h { margin-bottom: 14px; }
.p-about__purpose { max-width: 44ch; margin-bottom: 12px; font: 600 17px/1.45 var(--f-text); }
.p-desc { position: relative; max-width: 68ch; max-height: calc(1.6em * 6 + 4px); overflow: hidden; font-size: 16px; line-height: 1.6; }
.p-desc::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 72px; background: linear-gradient(rgba(255, 255, 255, 0), var(--sheet)); pointer-events: none; }
.p-desc.is-open { max-height: none; }
.p-desc.is-open::after { display: none; }
.p-desc h3 { margin: 18px 0 4px; font: 700 17px/1.35 var(--f-text); }
.p-desc > :first-child { margin-top: 0; }
.p-desc p + p { margin-top: 8px; }
.p-desc ul { margin: 6px 0; padding-left: 20px; list-style: disc; }
.p-about__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; margin-top: 14px; }
.p-more { min-height: 44px; }
.p-copy { min-height: 44px; font-size: 13px; color: var(--ink-2); text-decoration: underline dotted; text-underline-offset: 3px; }
.p-sku { text-decoration: underline dotted; text-underline-offset: 3px; }

/* ---------- сцена: эта пара (вырезка носком влево) и паспорт — единственная тёмная полоса ---------- */
.p-stage { margin-top: 48px; padding: 32px 0 40px; overflow: hidden; }
.p-stage__in { display: grid; gap: 24px; }
.p-stage .price { flex: none; color: var(--on-stage); }
.p-specs { display: grid; gap: 16px; }
.p-specs:empty { display: none; }
.p-specs .passport { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
.p-specs .passport dd { font-size: 26px; }
/* сцена без вырезки: заголовок и модель слева, цифры паспорта справа (ПК) */
.p-stage--pass { padding: 32px 0 36px; }
.p-stage__h { color: var(--on-stage); }
.p-stage__m { margin-top: 8px; font-size: 15px; line-height: 1.35; color: var(--on-stage-2); }
.p-stage__m b { font-weight: 800; color: var(--on-stage); }
.p-sim .sec-head { align-items: flex-end; }
.p-sim__nav { display: none; gap: 8px; }
.p-sim__nav .btn-round { width: 48px; height: 48px; }
.p-sim__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.p-sim__c { min-width: 0; }
.p-sim__x { display: none; }
.p-sim.is-all .p-sim__x { display: block; }
.p-sim__more { width: 100%; margin-top: 16px; }
.p-faq__in { display: grid; gap: 12px; }

/* ---------- листы: окно заказа, размер, таблица, Долями ---------- */
.p-sheet { background: #fff; }
.p-sheet .bsheet__head { gap: 8px; }
.p-sheet .bsheet__title:focus { outline: none; }   /* фокус ставим на заголовок для чтения, кольцо не нужно */
.p-x { flex: none; }
.p-sheet .bsheet__foot { background: #fff; }
.btn.is-busy { opacity: .8; }
.p-tbl { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.p-tbl th, .p-tbl td { height: 44px; padding: 0 10px; border-bottom: 1px solid var(--line); text-align: left; }
.p-tbl thead th { font: 600 13px/1 var(--f-text); color: var(--ink-2); }
.p-tbl tbody th { position: sticky; left: 0; background: #fff; font-weight: 700; }
.p-tbl tr.is-off { color: var(--ink-3); }
.p-tbl tr.is-sel th { box-shadow: inset 3px 0 0 var(--accent); }
.p-how { display: grid; gap: 4px; margin-top: 20px; font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.p-how b { font: 700 17px/1.3 var(--f-text); color: var(--ink); }
.p-dbody { display: grid; gap: 10px; padding-bottom: 28px; font-size: 16px; line-height: 1.5; }
@media (min-width: 900px) { }
.p-xopt { padding: 12px 16px; border-radius: 20px; background: #fff; }   /* цены чёрные (владелец 24.11) */
.p-empty { display: none; }
html.is-empty .p-empty { display: block; }
html.is-empty .p-full { display: none; }
.p-seen { margin-top: 40px; }
.p-wempty { justify-items: center; padding: 64px 20px; background: transparent; text-align: center; }
.p-wempty::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink); opacity: .06;
  -webkit-mask: url("../img/topo.svg") center / cover no-repeat; mask: url("../img/topo.svg") center / cover no-repeat; }
.p-wempty { isolation: isolate; }
.pcard.p-out .pcard__img { opacity: .5; }
.p-wnotify { display: flex; align-items: center; justify-content: center; width: calc(100% - 24px); min-height: 44px; margin: 0 12px 12px; border-radius: var(--r2);
  box-shadow: inset 0 0 0 1.5px var(--line-2); font: 700 14px/1.2 var(--f-text); }
.p-wnotify[aria-pressed="true"] { box-shadow: none; background: var(--paper-2); }

/* ---------- планшет: раскладка телефона, плита до 560 по центру ---------- */
@media (min-width: 600px) {
  .p-gal { align-self: center; width: 100%; max-width: 560px; }
  .p-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
  .p-sim__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .p-sim.is-all .p-sim__x, .p-sim__x { display: block; }
  .p-sim__more { display: none; }
}

/* ---------- ПК: две колонки — галерея и «О модели» слева, покупка справа и липнет (05 §2.2) ---------- */
@media (min-width: 900px) {
  .p-pdp { padding-top: 0; }
  .p-top { display: grid; grid-template-columns: minmax(0, 1fr) clamp(340px, 40vw, 440px); column-gap: 40px; align-items: start; }
  .p-crumbrow { grid-column: 1 / -1; min-height: 44px; margin-bottom: 6px; }
  .p-share.btn-round { width: 44px; height: 44px; }
  .p-back { display: none; }
  .p-crumbs { display: block; min-width: 0; }
  .p-sku { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; color: var(--ink-2); white-space: nowrap; }
  @media (hover: hover) { .p-sku:hover { color: var(--ink); } }
  .p-colL { display: block; min-width: 0; }
  .p-colR { display: block; min-width: 0; align-self: stretch; }
  /* липнет под шапкой; выше окна — липнет низом (--p-stick ставит p-product.js) */
  .p-buy { display: block; position: sticky; top: var(--p-stick, calc(var(--hdr) + 16px)); }
  .p-head, .p-gal, .p-pricebox, .p-pw, .p-panel, .p-about { order: 0; }

  .p-gal { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 16px; max-width: none; margin-top: 0; }
  .p-gal--one { grid-template-columns: minmax(0, 1fr); }
  .p-gal__main { width: 100%; max-width: calc(100vh - 136px); }   /* фото целиком в окне даже на низком экране */
  .p-gal__thumbs { display: grid; gap: 8px; align-content: start; }
  .p-gal__th { width: 64px; height: 64px; padding: 3px; border-radius: var(--r2); background: #fff; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow var(--t1); }
  .p-gal__th.is-on { box-shadow: inset 0 0 0 2px var(--ink); }
  @media (hover: hover) { .p-gal__th:not(.is-on):hover { box-shadow: inset 0 0 0 1.5px var(--ink); } }
  .p-gal__th img { width: 100%; height: 100%; object-fit: contain; }
  .p-gal__plate { border-radius: 24px; }
  .p-about { margin-top: 56px; }
  .p-gal:not(.p-gal--one) + .p-about { padding-left: 80px; }       /* текст по левому краю фото, не миниатюр */
  .p-desc { max-height: calc(1.6em * 8 + 4px); }

  .p-title__brand { font-size: 17px; }
  .p-title__model { font-size: 30px; line-height: 1.08; }
  .p-title--m .p-title__model { font-size: 27px; }
  .p-title--l .p-title__model { font-size: 24px; }
  .p-title__cw { font-size: 16px; }
  .p-title::after { width: 40px; margin-top: 12px; }
  .p-pricebox { margin-top: 12px; }
  .p-price { font-size: 34px; }
  .p-panel { gap: 18px; margin-top: 18px; }
  .p-pick { gap: 14px; }
  .p-sizebox { padding-top: 16px; }
  .p-terms { padding-top: 16px; }
  .p-cw { display: grid; grid-template-columns: repeat(auto-fill, minmax(48px, 1fr)); margin: 10px 0 0; padding: 2px 0; overflow: visible; }
  .p-cw__t { width: auto; height: auto; aspect-ratio: 1; }
  .p-size__h { justify-content: flex-start; }
  .p-grid { grid-template-columns: repeat(auto-fill, minmax(54px, 1fr)); gap: 8px; }
  .p-sz label { min-height: 52px; }
  .p-grid--flat .p-sz label { min-height: 46px; }
  .p-cta__row .btn { font-size: 17px; }

  .p-stage { margin-top: 88px; padding: 64px 0 72px; }
  .p-stage__in { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: 56px; align-items: center; }
  .p-specs .passport { gap: 28px 24px; padding: 24px 0; }
  .p-specs .passport dd { font-size: 40px; }
  .p-specs .passport dd small { font-size: 15px; }
  .p-specs .passport dd.w { font-size: 22px; }
  .p-stage--pass { padding: 56px 0 60px; }
  .p-stage--pass .p-stage__in { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
  .p-stage--pass .passport { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .p-stage--pass .p-stage__h { font-size: clamp(28px, 2.6vw, 40px); }
  .p-stage--pass .passport dd.w { font-size: 32px; line-height: 1; }
  .p-sim__nav { display: flex; }
  .p-sim__grid { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .p-sim__grid::-webkit-scrollbar { display: none; }
  .p-sim__c { flex: 0 0 calc((100% - 3 * 24px) / 4); scroll-snap-align: start; }
  .p-faq__in { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: 48px; }
}

/* ---------- большой ПК: лист шире 1280 (на 1920 было по 320 px пустоты с боков), панель покупки шире ---------- */
@media (min-width: 1200px) {
  /* ширина 1600 — общая (tf-base --wrap) */
  /* на 1920 фото упирается в высоту окна (квадрат): лишняя ширина уходит панели покупки, а не в пустую полосу у фото */
  .p-top { grid-template-columns: minmax(0, 1fr) clamp(400px, 30vw, 560px); column-gap: 56px; }
  .p-title__brand { font-size: 18px; }
  .p-title__model { font-size: 36px; }
  .p-title--m .p-title__model { font-size: 32px; }
  .p-title--l .p-title__model { font-size: 28px; }
  .p-title__cw { font-size: 17px; }
  .p-price { font-size: 36px; }
  .p-stage__in { column-gap: 80px; }
}
@media (prefers-reduced-motion: reduce) {
  .p-sticky, .p-switch i::after, .p-trust > .i:last-child { transition: none; }
}

/* =============== блок размера v2 (25.11, владелец: «удобнее и красивее, таблица размеров непонятна») =============== */
.p-size__h { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 4px 12px; }
.p-spread { font: 500 13px/1.3 var(--f-text); color: var(--ink-2); }
/* посадка: линейка −½ / свой / +½ со стрелкой — тот же знак, что «Подберём размер» на главной */
.p-fitrow { display: grid; grid-template-columns: 132px minmax(0, 1fr); align-items: center; gap: 14px; margin: 10px 0 12px; }
.p-fitbar { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding-top: 24px; }
.p-fitbar__ruler { position: absolute; left: 16.66%; right: 16.66%; top: 13px; height: 7px; border-top: 2px solid var(--ink);
  background: repeating-linear-gradient(to right, var(--ink) 0 1.5px, transparent 1.5px 7px) top left / 100% 6px no-repeat; }
.p-fitbar__mark { position: absolute; top: 0; left: calc(50% + var(--s, 0) * 33.333%); width: 0; height: 0; margin-left: -8px;
  border-left: 8px solid transparent; border-right: 8px solid transparent; border-top: 12px solid var(--accent); }
.p-fitbar__l { text-align: center; font: 700 12px/1 var(--f-text); color: var(--ink-2); }   /* «−½ / +½» были бледные, контраст 2:1 */
.p-fitbar[data-s="-1"] .p-fitbar__l:nth-of-type(2), .p-fitbar[data-s="0"] .p-fitbar__l:nth-of-type(3), .p-fitbar[data-s="1"] .p-fitbar__l:nth-of-type(4) { color: var(--ink); }
.p-fitrow .p-fit { margin: 0; font-size: 13.5px; }
/* кнопка размера: EU крупно, стопа в см, надбавка; выбранный — чёрный, как во всей системе */
.p-sz label { min-height: 64px; gap: 1px; padding: 6px 2px; box-shadow: inset 0 0 0 1.5px rgba(13, 13, 13, .22); }
.p-sz__n { font: 800 16px/1.1 var(--f-text); }
.p-sz__cm { font: 500 11px/1.2 var(--f-text); color: var(--ink-2); }
.p-sz__d { margin-top: 2px; font: 700 12px/1 var(--f-text); color: var(--ink); }   /* 30.11.2026 (ревью телефона P1-8): доплата за размер 10 px не читалась */
.p-sz input:checked + label { background: var(--ink); color: #fff; box-shadow: none; }
.p-sz input:checked + label .p-sz__cm, .p-sz input:checked + label .p-sz__d { color: rgba(255, 255, 255, .78); }
.p-sz label.unavailable { border: 0; background: transparent; box-shadow: inset 0 0 0 1.5px rgba(13, 13, 13, .1); color: rgba(13, 13, 13, .38); }
.p-sz label.unavailable .p-sz__n { text-decoration: line-through; text-decoration-thickness: 1.5px; }
.p-sz label.unavailable .p-sz__cm, .p-sz label.unavailable .p-sz__d { color: rgba(13, 13, 13, .38); }
.p-grid--flat .p-sz label { min-height: 58px; }
.p-sizehelp { display: flex; flex-wrap: wrap; gap: 4px 22px; margin-top: 10px; }
.p-sizehelp .p-link { min-height: 44px; display: inline-flex; align-items: center; font-weight: 700; }
/* таблица размеров: как пользоваться — одной фразой, стопа первой колонкой, шаги измерения списком */
.p-tbl__how { margin-bottom: 12px; font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.p-tbl th:first-child, .p-tbl td:first-child { font-weight: 800; }
.p-how ol { margin: 8px 0 10px; padding-left: 20px; display: grid; gap: 6px; font-size: 14px; line-height: 1.45; color: var(--ink-2); list-style: decimal; }
/* тёмный блок: «Для чего» первой строкой над цифрами */
.p-for { display: grid; gap: 4px; margin-bottom: 18px; font: 600 17px/1.4 var(--f-text); color: var(--on-stage); }
.p-for span { font: 700 13px/1.2 var(--f-text); color: var(--on-stage-3); }
@media (min-width: 1200px) { .p-for { font-size: 20px; } }

/* блок размера v3 (25.11, владелец: «нравился выбор EU/US/см — вернуть»): переключатель систем справа от заголовка,
   разброс цены строкой ниже; в кнопке крупно размер выбранной системы, под ним см или EU */
.p-size__h { align-items: center; justify-content: space-between; flex-wrap: nowrap; gap: 12px; }
.p-sizebox .p-spread { margin: -2px 0 0; }
.seg.p-units { flex: none; }
.p-units button { min-width: 46px; height: 44px; padding: 0 8px; }
@media (max-width: 359px) { .p-units button { min-width: 40px; padding: 0 6px; font-size: 13px; } }

/* «Долями» v14: у цены — плашка со знаком, в листе — график четырёх долей лесенкой (первая оранжевая — при оплате) */
.p-split { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; padding: 9px 14px 9px 12px; border-radius: var(--pill);
  box-shadow: inset 0 0 0 1.5px var(--ink); font: 500 14px/1 var(--f-text); color: var(--ink); text-align: left; }
.p-split::after { inset: -4px; }
.p-split b { font-weight: 800; }
.p-split .dl4, .p-switch .dl4 { height: 14px; gap: 2.5px; }
.p-split .dl4 i, .p-switch .dl4 i { width: 3.5px; height: 9px; }
.dl-plan__sum { font-size: 17px; }
.dl-plan__sum b { font-weight: 800; }
.dl-plan { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 4px 0 6px; padding: 0; list-style: none; }
.dl-plan li { display: grid; align-content: start; gap: 6px; min-width: 0; }
.dl-plan__bar { position: relative; display: block; height: 92px; }
.dl-plan__bar i { position: absolute; left: 0; right: 0; bottom: 0; height: 64px; border-radius: 10px; box-shadow: inset 0 0 0 1.5px var(--ink); }
.dl-plan li:nth-child(2) .dl-plan__bar i { bottom: 9px; }
.dl-plan li:nth-child(3) .dl-plan__bar i { bottom: 18px; }
.dl-plan li:nth-child(4) .dl-plan__bar i { bottom: 27px; }
.dl-plan li.is-now .dl-plan__bar i { background: var(--accent); box-shadow: none; }
.dl-plan b { font: 700 13px/1.25 var(--f-text); }
.dl-plan li > span:last-child { font: 500 12px/1 var(--f-text); color: var(--ink-2); }
.dl-plan__bar i { display: flex; align-items: center; justify-content: center; font: 800 15px/1 var(--f-display); letter-spacing: -.02em; color: var(--ink); }
.dl-plan li.is-now .dl-plan__bar i { color: #fff; }
@media (max-width: 599px) { .p-split { margin-left: 0; } }

/* профиль модели в тёмном блоке (27.11, «профессиональнее для спортсменов»): сегменты, выбранное — белым; данные — группы подбора */
.p-prof { display: grid; gap: 12px; margin: 0 0 22px; }
.p-prof__row { display: grid; gap: 6px; }
.p-prof__k, .p-prof__fit span { font: 700 13px/1.2 var(--f-text); color: var(--on-stage-3); }
/* 30.11 (ревью D P2-19, M P2-19): невыбранные значения — подписи шкалы, не кнопки (без рамок, 64 % белого вместо 42 %);
   выбранное — белая плашка. Неизвестное значение — строкой с ссылкой в Telegram (.p-prof__na), не «выбранной» пилюлей (D P1-16) */
.p-prof__seg { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; }
.p-prof__seg i { display: inline-flex; align-items: center; min-height: 30px; padding: 0; border-radius: var(--pill); font: 600 13px/1 var(--f-text);
  font-style: normal; color: var(--on-stage-3); }
.p-prof__seg i.is-on { margin: 0 -4px; padding: 0 12px; background: #fff; color: var(--ink); }
.p-prof__na { margin: 0; font: 500 15px/1.4 var(--f-text); color: var(--on-stage-2); }
.p-prof__na a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; color: var(--on-stage);
  text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--on-stage-3); }
.p-prof__fit { display: grid; gap: 4px; margin: 2px 0 0; font: 600 15px/1.35 var(--f-text); color: var(--on-stage); }
@media (min-width: 1200px) { .p-prof__seg i { min-height: 34px; font-size: 14px; } }

/* =====================================================================================================================
   Живые вставки в «Рельефе» (живые стили темы на этих страницах снимаются, поэтому рисуем их здесь)
   ===================================================================================================================== */

/* цена и строки под ней */
.p-pricebox { display: grid; gap: 8px; }
.p-old .price_old { font-size: 15px; color: var(--ink-2); text-decoration: line-through; }
.sale_badge { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: var(--pill); background: var(--accent); color: #fff; font: 700 12px/1 var(--f-text); letter-spacing: .02em; }
.p-notes { display: grid; gap: 8px; font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.p-notes a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-2); }
.p-notes .price_depends, .p-notes .price_terms { font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.mtf-instock-note, .mtf-instock-cross { padding: 12px 14px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.mtf-instock-note__head { display: flex; align-items: center; gap: 8px; font: 700 15px/1.3 var(--f-text); color: var(--ink); }
.mtf-instock-note__text, .mtf-instock-cross__text { margin-top: 4px; font-size: 14px; line-height: 1.45; }
.mtf-instock-cross__cta { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }
.up_link__dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.p-pw { order: 4; margin-top: 22px; font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.p-pw:empty { display: none; }
.p-pw button, .p-pw a { min-height: 44px; }

/* «Долями»: логотип сервиса и ступенчатая иконка рядом с ценой */
.mtf-dolyame { display: inline-flex; align-items: center; }
.mtf-dolyame__logo { display: block; height: var(--dl-h, 10px); width: auto; color: currentColor; }
.mtf-dolyame__name { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* «Оплатить Долями» одной строкой под кнопками заказа (30.11, ревью D P1-7, P1-8, M P2-21; была живая панель над кнопкой).
   Выключатель контуром без серой заливки, включённый — чёрный; нажимается вся строка (input поверх неё) */
.p-dl { position: relative; display: flex; align-items: center; gap: 12px; min-height: 44px; cursor: pointer;
  font: 500 14px/1.35 var(--f-text); color: var(--ink-2); }
.p-dl b { font-weight: 700; color: var(--ink); white-space: nowrap; }
.p-dl .split-toggle__input { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.p-dl__sw { position: relative; flex: none; width: 40px; height: 24px; border-radius: var(--pill); background: #fff; box-shadow: inset 0 0 0 1.5px var(--ink);
  transition: background var(--t1); }
.p-dl__sw::after { content: ""; position: absolute; left: 4px; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--ink);
  transition: transform var(--t1) var(--ease), background var(--t1); }
.p-dl .split-toggle__input:checked ~ .p-dl__sw { background: var(--ink); }
.p-dl .split-toggle__input:checked ~ .p-dl__sw::after { transform: translateX(16px); background: #fff; }
.p-dl .split-toggle__input:focus-visible ~ .p-dl__sw { outline: 2px solid var(--accent); outline-offset: 2px; }
.p-dl.is-active .p-dl__t { color: var(--ink); }

/* кнопки заказа */
.p-main { min-height: 56px; font-size: 19px; }
.p-main.warn_button { background: var(--ink); color: #fff; }
.horizontal-shake { animation: p-shake .5s var(--ease); }
@keyframes p-shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.p-cta__row--one { grid-template-columns: minmax(0, 1fr); }
.p-cartok.is-err { color: var(--accent-dark); }
.p-cartok { padding: 0; }
.p-cta .btn { min-height: 48px; }
.p-stock__chip { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: var(--pill); background: var(--ink); color: #fff; font: 800 17px/1 var(--f-text); }

/* подписка на размер (живая mtf_size_alert_box): свой вид на странице «Рельефа» */
.p-sa .mtf-sa { margin: 4px 0 0; }
.p-sa .mtf-sa__form { display: grid; gap: 10px; padding: 14px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.p-sa .mtf-sa__head { font-size: 15px; line-height: 1.4; }
.p-sa .mtf-sa__field { display: grid; gap: 5px; }
.p-sa .mtf-sa__lbl { font: 700 12px/1 var(--f-text); letter-spacing: .03em; text-transform: uppercase; color: var(--ink-2); }
.p-sa .mtf-sa__form input[type="email"] { height: 52px; padding: 0 14px; border-radius: 14px; border: 1.5px solid var(--line-2); font-size: 17px; background: #fff; color: var(--ink); width: 100%; }
.p-sa .mtf-sa__form input[type="email"]:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.p-sa .mtf-sa__consent { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; line-height: 1.45; color: var(--ink-2); min-height: 44px; }
.p-sa .mtf-sa__consent input { flex: none; width: 22px; height: 22px; margin: 0; accent-color: var(--accent); }
.p-sa .mtf-sa__consent a { color: var(--ink); text-decoration: underline; }
.p-sa .mtf-sa__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.p-sa .mtf-sa__row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.p-sa .mtf-sa__submit { flex: 1 1 auto; min-height: 52px; padding: 0 18px; border: 0; border-radius: var(--pill); background: var(--ink); color: #fff; font: 700 16px/1 var(--f-text); cursor: pointer; }
.p-sa .mtf-sa__submit[disabled] { opacity: .6; cursor: progress; }
.p-sa .mtf-sa__close { min-height: 44px; padding: 0 6px; border: 0; background: none; color: var(--ink-2); font-size: 14px; text-decoration: underline; cursor: pointer; }
.p-sa .mtf-sa__msg { padding: 10px 12px; border-radius: 10px; background: var(--soft); font: 600 14px/1.4 var(--f-text); color: var(--ink); }
.p-sa .mtf-sa__msg.err { color: var(--accent-dark); }

/* ниже покупки */
.p-alt-tasks__tag { display: inline-block; margin-bottom: 8px; font: 700 13px/1.3 var(--f-text); color: var(--ink); }
.p-alt-tasks .rail__item, .p-vers .rail__item { min-width: 0; }
/* 30.11.2026 (ревью телефона P0-2): метка над карточкой + .pcard{height:100%} выталкивали низ карточки за ленту — срезались
   расцветки и рамка. Ячейка — колонка, карточка занимает остаток. */
.p-alt-tasks .rail__item, .p-vers .rail__item { display: flex; flex-direction: column; }
.p-alt-tasks .rail__item > .pcard, .p-vers .rail__item > .pcard { flex: 1 1 auto; height: auto; }
.p-why { margin-top: 6px; display: flex; flex-wrap: wrap; gap: 4px 8px; font-size: 13px; line-height: 1.3; color: var(--ink-2); }
.p-why__tag { font-weight: 600; color: var(--ink); }
.p-why__delta--down { color: var(--ink); font-weight: 600; }
.p-sels .chip { min-height: 44px; }
.p-outfit__t { margin: 18px 0 10px; font: 700 16px/1.3 var(--f-text); }
.p-outfit__c { display: grid; gap: 6px; width: 150px; }
.p-outfit__ph { display: block; aspect-ratio: 1; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.p-outfit__ph img { width: 100%; height: 100%; object-fit: contain; padding: var(--ph-pad); }
.p-outfit__n { font-size: 14px; line-height: 1.3; }
.p-outfit__p { font: 700 14px/1.2 var(--f-text); }
.p-faq .acc { margin: 0; }

/* =====================================================================================================================
   Окно заказа: его строит живой script.js (create_order_screen) с классами темы. Вид «Рельефа»: нижний лист на телефоне,
   панель справа на ПК. Классы, id и поля не тронуты: заказ уходит тем же create_order.
   ===================================================================================================================== */
#order_screen { position: fixed; inset: 0; z-index: 120; display: flex; align-items: flex-end; justify-content: center; background: rgba(20, 19, 14, .5);
  -webkit-overflow-scrolling: touch; }
#order_screen .order_screen_form { position: relative; width: 100%; max-height: 94dvh; overflow-y: auto; overscroll-behavior: contain; padding: 22px 16px calc(20px + env(safe-area-inset-bottom));
  border-radius: 24px 24px 0 0; background: #fff; color: var(--ink); font-family: var(--f-text); }
#order_screen .icon-cross { position: absolute; right: 8px; top: 8px; width: 44px; height: 44px; border-radius: 50%; cursor: pointer; font-size: 0; }
#order_screen .icon-cross::before, #order_screen .icon-cross::after { content: ""; position: absolute; left: 12px; top: 21px; width: 20px; height: 2px; border-radius: 1px; background: var(--ink); }
#order_screen .icon-cross::before { transform: rotate(45deg); }
#order_screen .icon-cross::after { transform: rotate(-45deg); }
#order_screen .icon-cross:focus-visible { outline: 2px solid var(--accent); outline-offset: 0; }
#order_screen h1 { margin: 0 44px 6px 0; font: 800 24px/1.15 var(--f-display); letter-spacing: -.02em; }
#order_screen h1:focus { outline: none; }
#order_screen .sub_title { margin-bottom: 16px; font-size: 15px; line-height: 1.45; color: var(--ink-2); }
#order_screen .product_preview { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; padding: 10px; border-radius: 16px; background: var(--soft); }
#order_screen .product_preview_img { flex: none; width: 64px; height: 64px; padding: var(--ph-pad); border-radius: 12px; background: #fff; object-fit: contain; }
#order_screen .product_preview_description { min-width: 0; display: grid; gap: 2px; font-size: 14px; line-height: 1.35; }
#order_screen .product_preview_description > div:first-child { font-weight: 700; color: var(--ink) !important; }
#order_screen .product_preview_description > div:nth-child(2) { font-weight: 800; color: var(--ink) !important; }
#order_screen .product_preview_description > div:nth-child(3) { color: var(--ink-2) !important; }
#order_screen form { display: grid; gap: 8px; }
#order_screen label { font: 700 14px/1.3 var(--f-text); color: var(--ink); }
#order_screen .element:not([type="radio"]):not([type="checkbox"]):not(button) { width: 100%; height: 52px; padding: 0 14px; border: 1.5px solid var(--line-2); border-radius: 14px;
  background: #fff; color: var(--ink); font: 400 17px/1.2 var(--f-text); }
#order_screen select.element { appearance: none; background: #fff url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24'><path fill='none' stroke='%2314130e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M6 9l6 6 6-6'/></svg>") no-repeat right 14px center; padding-right: 44px; }
#order_screen .element:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
#order_screen .order_email_hint { margin-top: -2px; font-size: 13px; line-height: 1.4; color: var(--ink-2); }
#order_screen .order_form_errors { padding: 10px 12px; border-radius: 12px; background: var(--soft); color: var(--accent-dark); font: 600 14px/1.4 var(--f-text); }
#order_screen .form_delivery_wrapper { display: grid; gap: 8px; min-width: 0; margin: 6px 0 0; padding: 0; border: 0; }
#order_screen .form_delivery_wrapper legend { padding: 0; font: 700 14px/1.3 var(--f-text); }
#order_screen .form_delivery_element { display: flex; flex-direction: row-reverse; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; margin: 0 !important;
  padding: 10px 14px; border-radius: 14px; box-shadow: inset 0 0 0 1.5px var(--line-2); font-weight: 600; line-height: 1.35; cursor: pointer; }
#order_screen .form_delivery_element input, #order_screen .policy input { flex: none; width: 22px; height: 22px; margin: 0; accent-color: var(--accent); }
#order_screen .form_delivery_element:has(input:checked) { background: var(--soft); box-shadow: inset 0 0 0 2px var(--accent); }
#order_screen .form_delivery_instock { font-size: 14px; line-height: 1.45; color: var(--ink-2); }
#order_screen .policy { display: flex; align-items: flex-start; gap: 12px; min-height: 44px; margin-top: 4px; font: 400 13px/1.45 var(--f-text); color: var(--ink-2); cursor: pointer; }
#order_screen .policy a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
#order_screen button.element { display: inline-flex; align-items: center; justify-content: center; width: 100%; min-height: 56px; margin-top: 6px; padding: 0 20px; border: 0; border-radius: var(--pill);
  background: var(--accent); color: #fff; font: 700 19px/1 var(--f-text); cursor: pointer; }
#order_screen button.element:disabled { background: var(--line-2); color: var(--ink-2); cursor: not-allowed; }
#order_screen .order_screen_form > a { display: block; }
#order_screen .loader_container { display: inline-flex; gap: 6px; }
#order_screen .loader_circle { width: 9px; height: 9px; border-radius: 50%; background: currentColor; animation: p-dot 1s infinite ease-in-out; }
#order_screen .loader_circle:nth-child(2) { animation-delay: .12s; }
#order_screen .loader_circle:nth-child(3) { animation-delay: .24s; }
#order_screen .loader_circle:nth-child(4) { animation-delay: .36s; }
@keyframes p-dot { 0%, 80%, 100% { opacity: .3; transform: scale(.8); } 40% { opacity: 1; transform: scale(1); } }
@media (min-width: 600px) {
  #order_screen { align-items: stretch; justify-content: flex-end; }
  #order_screen .order_screen_form { width: 480px; max-height: none; height: 100%; padding: 28px 28px 24px; border-radius: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .horizontal-shake, #order_screen .loader_circle { animation: none; }
  .p-dl__sw, .p-dl__sw::after, .p-twin { transition: none; }
}

/* ---------- UX-разбор 28.11 ---------- */
/* P1-4: «дешевле на N ₽» под карточкой в «Похожих парах» не перекрывается следующим рядом */
.p-sim__c { display: flex; flex-direction: column; }
.p-sim__c > .pcard { height: auto; flex: 1 0 auto; order: 0 !important; }   /* у карточки inline order для сетки каталога: здесь он уводил её за подпись */
@media (min-width: 900px) { .p-sim__grid { padding-bottom: 28px; } }
/* 30.11.2026: строка о гарантии подошвы у теннисных пар — под профилем, обычным текстом */
.p-prof__note { margin-top: 10px; font: 500 14px/1.45 var(--f-text); color: var(--ink-2); }
.p-prof__note p { margin: 0; }

/* =====================================================================================================================
   Ревью 30.11.2026: docs/redesign_2026-11-24/review_2026-11-29/VISUAL_DESKTOP.md («D») и VISUAL_MOBILE.md («M»)
   ===================================================================================================================== */
/* гарантия подошвы у тенниса стоит в тёмной сцене профиля: светлым текстом (ink-2 на чёрном не читался) */
.p-stage .p-prof__note { color: var(--on-stage-2); }

/* D P1-6: название модели — самый крупный текст колонки; заголовки разделов карточки 24 px на телефоне, 28 px на ПК, «О модели» 24 */
.p-pdp .h2 { font-size: 24px; line-height: 1.12; }
.p-pdp .p-about__h { font-size: 24px; }

/* D P1-7, P2-16: «Таблица размеров» и «Подобрать размер в Telegram» одной строкой под шапкой блока «Размер»; посадка без своих полей */
.p-sizehelp { margin-top: -4px; gap: 0 20px; }
.p-fitrow { margin: 0; }

/* D P2-15: в каждой ячейке строка надбавки (пустая, если надбавки нет) — числа ряда на одной высоте, с надбавкой и без */
.p-sz label { justify-content: center; min-height: 58px; padding: 6px 2px; }
.p-sz__d { min-height: 12px; }

/* D P2-30: «Спросить в Telegram» не прилипает к краям кнопки */
.p-cta__row .btn { gap: 6px; padding: 0 14px; }

/* D P2-21, M P2-20: «дешевле / дороже на N ₽» и «та же цена» — внутри рамки карточки, под её текстом */
.pcard > .p-why { position: relative; z-index: 2; margin: -6px 0 0; padding: 0 12px 12px; }
.p-why__delta--same { color: var(--ink-2); }

@media (min-width: 900px) {
  /* D P1-7: крошки только над галереей, колонка покупки начинается вровень с ними — кнопка заказа выше на строку */
  .p-top { grid-template-rows: auto 1fr; }   /* высоту колонки покупки забирает вторая строка, крошки остаются своей высоты */
  .p-crumbrow { grid-column: 1; grid-row: 1; }
  .p-colL { grid-column: 1; grid-row: 2; }
  .p-colR { grid-column: 2; grid-row: 1 / span 2; }
  /* название крупнее заголовков разделов (28 px) при любой длине: длинное 29–30 px, а не 26–28 */
  .p-title__model { font-size: 32px; }
  .p-title--m .p-title__model { font-size: 30px; }
  .p-title--l .p-title__model { font-size: 29px; }
  .p-price { font-size: 28px; }
  .p-pdp .h2, .p-stage--pass .p-stage__h { font-size: 28px; }
  .p-pdp .p-about__h { font-size: 24px; }
  .p-panel { gap: 16px; margin-top: 16px; }
  .p-pick { gap: 12px; }
  .p-sizebox { gap: 8px; padding-top: 14px; }
  .p-sz label { min-height: 52px; padding: 5px 2px; }
  .p-cta__row .btn { font-size: 16px; }
}
@media (min-width: 900px) and (hover: hover) and (pointer: fine) {
  /* мышь: ссылкам и строкам хватает 30–40 px (44 px — для пальца на телефоне и планшете) */
  .p-sizehelp .p-link { min-height: 30px; }
  .p-dl { min-height: 36px; }
  .p-twin { min-height: 40px; padding-top: 8px; padding-bottom: 8px; }
}
@media (min-width: 1200px) {
  .p-title__model { font-size: 36px; }
  .p-title--m .p-title__model { font-size: 32px; }
  .p-title--l .p-title__model { font-size: 30px; }
  .p-price { font-size: 30px; }
  /* заголовки разделов остаются 28 px: длинное название (30 px) всё равно крупнее, равенства 30 = 30 нет */
  .p-pdp .h2, .p-stage--pass .p-stage__h { font-size: 28px; }
  .p-pdp .p-about__h { font-size: 24px; }
}

/* D P1-7: пустая обёртка подписки на размер не добавляет отступ сетки, пока форма скрыта (её открывает нажатие на разобранный размер) */
.p-sa:empty, .p-sa:has(> .mtf-sa[hidden]) { display: none; }
@media (min-width: 900px) {
  .p-title__model { margin-top: 2px; }
  .p-title__cw { margin-top: 4px; }
  .p-title::after { margin-top: 8px; }
  .p-pricebox { margin-top: 10px; }
  .p-cw { grid-template-columns: repeat(auto-fill, 48px); margin-top: 8px; }   /* плитки расцветок 48 px, «+N» тем же квадратом */
  .p-sz label { min-height: 48px; padding: 4px 2px; }
}
@media (min-width: 900px) and (hover: hover) and (pointer: fine) {
  .p-sizehelp .p-link { min-height: 26px; }
  .p-twin { min-height: 36px; padding-top: 6px; padding-bottom: 6px; }
}
/* D P1-7: колонка покупки на ПК шире — восемь размеров в ряд (15 размеров — два ряда вместо трёх) */
@media (min-width: 1200px) {
  .p-top { grid-template-columns: minmax(0, 1fr) clamp(400px, 34vw, 560px); }
  .p-grid { gap: 6px; }
}

/* D P1-7: липкая панель на ПК — только пока «Оформить заказ» ниже края экрана (is-early ставит product.js); дошли до кнопки — уходит.
   После прокрутки ниже колонки покупки на ПК её нет (is-on — состояние телефона). Кнопка та же: «Оформить заказ». */
.p-sticky__m, .p-sticky__l-d { display: none; }
@media (min-width: 900px) {
  .p-sticky { display: flex; gap: 16px; min-height: 56px; padding: 6px max(var(--gut), calc((100% - var(--wrap)) / 2)); }
  .p-sticky.is-on:not(.is-early) { transform: translateY(110%); }
  .p-sticky__m { display: block; flex: 1; min-width: 0; font: 500 16px/1.3 var(--f-text); color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .p-sticky__m b { font-weight: 800; }
  .p-sticky__t { flex: none; justify-items: end; text-align: right; }
  .p-sticky__btn { min-width: 240px; min-height: 44px; font-size: 17px; }
  .p-sticky__l-m { display: none; }
  .p-sticky__l-d { display: inline; }
}

/* в лентах «Другие версии модели» и «Под другую задачу» у карточки инлайн order из сетки каталога: подпись уезжала над карточкой */
.p-vers .rail__item > .pcard, .p-alt-tasks .rail__item > .pcard { order: 0 !important; }
/* профиль: первая выбранная плашка — по левому краю подписи строки */
.p-prof__seg i.is-on:first-child { margin-left: 0; }
.p-title__g { margin-top: 2px; }   /* 30.11: пол строкой под расцветкой */

/* 01.12.2026, владелец: «тумблер с долями под кнопкой оформления не видно, сделай выше и более явно, чтобы человек захотел
   разделить платёж, прямо где указано долями». Плашка под ценой: знак четырёх долей, заголовок, сумма доли, выключатель справа.
   Включённая — оранжевая рамка и тинт. Справка о Долями — ссылкой под плашкой. */
.p-dlbox { display: grid; justify-items: start; gap: 6px; margin-top: 12px; }
.p-dl--top { width: 100%; min-height: 60px; padding: 10px 14px; border-radius: var(--r3); background: #fff; box-shadow: inset 0 0 0 1.5px var(--line-2);
  color: var(--ink); transition: box-shadow var(--t1), background var(--t1); }
.p-dl--top .dl4 { flex: none; height: 20px; gap: 3px; }
.p-dl--top .dl4 i { width: 5px; height: 14px; }
.p-dl--top .p-dl__t { display: grid; gap: 2px; min-width: 0; font: 500 14px/1.35 var(--f-text); color: var(--ink-2); }
.p-dl--top .p-dl__t > b { font: 800 16px/1.2 var(--f-text); color: var(--ink); white-space: normal; }
.p-dl--top .p-dl__sw { margin-left: auto; }
.p-dl--top.is-active { background: var(--soft); box-shadow: inset 0 0 0 2px var(--accent); }
@media (hover: hover) { .p-dl--top:hover { box-shadow: inset 0 0 0 1.5px var(--ink); } .p-dl--top.is-active:hover { box-shadow: inset 0 0 0 2px var(--accent); } }
.p-dlbox__how { padding: 4px 0; font: 600 13px/1.3 var(--f-text); color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
@media (hover: hover) { .p-dlbox__how:hover { color: var(--ink); } }

/* 01.12.2026: у администратора окно заказа уходило под чёрную полосу WordPress (у покупателей её нет) */
body.admin-bar #order_screen { top: 32px; }
@media (max-width: 782px) { body.admin-bar #order_screen { top: 46px; } }

/* 01.12.2026: «в других расцветках от N ₽» под рядом расцветок, не между ценой и выбором размера */
.p-notes--cw { margin-top: 8px; }
