/* Лендинг худі-пледа (стили взяты с лендинга сумок cordura). Сначала телефон, затем широкие экраны.
   Фон страницы совпадает с фоном фото — белый фон фото перекрашен в этот цвет. */

@font-face { font-family: "Oswald"; font-weight: 600; font-display: swap; src: url("../fonts/Oswald-600-cyrillic.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Oswald"; font-weight: 600; font-display: swap; src: url("../fonts/Oswald-600-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+20B4, U+2212; }
@font-face { font-family: "Fixel Text"; font-weight: 400; font-display: swap; src: url("../fonts/FixelText-Regular-s.woff2") format("woff2"); }
@font-face { font-family: "Fixel Text"; font-weight: 600; font-display: swap; src: url("../fonts/FixelText-SemiBold-s.woff2") format("woff2"); }

:root {
  --bg: #eceae6;
  --tint: #dfdcd5;
  --ink: #141517;
  --ink-2: #33363a;
  --muted: #5f6368;
  --line: rgba(20, 21, 23, .16);
  --accent: #fd5113;          /* оранжевый с логотипа магазина */
  --accent-press: #e2440a;
  --dark: #141517;
  --dark-2: #202226;
  --dark-line: rgba(241, 239, 235, .18);
  --on-dark: #f1efeb;
  --on-dark-muted: #a9acb0;
  --err: #ff8a6b;
  --display: "Oswald", "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
  --body: "Fixel Text", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --gut: max(16px, env(safe-area-inset-left, 0px));
  --ease: cubic-bezier(.22, .8, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
h1, h2, h3, p, ul, ol, dl, dd, figure, fieldset { margin: 0; padding: 0; }
fieldset { border: 0; min-width: 0; }
ul, ol { list-style: none; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding-left: var(--gut); padding-right: max(16px, env(safe-area-inset-right, 0px)); }

h1, h2, h3 { font-family: var(--display); font-weight: 600; text-transform: uppercase; letter-spacing: .005em; line-height: 1.14; text-wrap: balance; }
h1 { font-size: clamp(23px, 6.5vw, 34px); }
h2 { font-size: clamp(27px, 7.6vw, 40px); }

/* ---------- Кнопки ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 22px; border: 0; border-radius: 2px; font-family: var(--display); font-weight: 600; font-size: 19px; letter-spacing: .05em; text-transform: uppercase; transition: transform .12s var(--ease), background-color .15s linear; }
.btn--cta { width: 100%; background: var(--accent); color: var(--ink); }
.btn--cta:hover { background: var(--accent-press); }
.btn--cta:active { transform: translateY(2px); background: var(--accent-press); }
.btn--cta[disabled] { background: #8d5a43; color: #2a1c15; cursor: progress; transform: none; }
.btn--sm { width: auto; min-height: 48px; padding: 0 20px; font-size: 17px; }
.btn--ghost { background: transparent; color: var(--on-dark); box-shadow: inset 0 0 0 2px var(--dark-line); width: 100%; }
.btn--ghost:active { transform: translateY(2px); }

/* ---------- Первый экран ---------- */
.hero { padding-bottom: 28px; }
.hero__grid { padding-left: 0; padding-right: 0; }
.hero__info { padding: 14px max(16px, env(safe-area-inset-right, 0px)) 0 var(--gut); display: flex; flex-direction: column; gap: 12px; }

.tabs { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); padding-top: env(safe-area-inset-top, 0px); }
.tabs button { min-height: 46px; padding: 4px 4px 2px; background: none; border: 0; border-bottom: 3px solid transparent; font-family: var(--display); font-weight: 600; font-size: 15px; letter-spacing: .03em; text-transform: uppercase; color: var(--muted); white-space: nowrap; transition: color .15s linear, border-color .15s linear; }
.tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--accent); }

.gal { position: relative; background: var(--bg); }
.gal__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; -webkit-overflow-scrolling: touch; transition: opacity .18s linear; }
.gal__track::-webkit-scrollbar { display: none; }
.gal__track.is-swap { opacity: 0; }
.gal__slide { flex: 0 0 100%; scroll-snap-align: start; scroll-snap-stop: always; aspect-ratio: 1 / .88; }
.gal__slide img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 76%; }
.gal__badge { position: absolute; left: var(--gut); top: 12px; background: var(--ink); color: var(--on-dark); font-family: var(--display); font-weight: 600; font-size: 13px; letter-spacing: .05em; text-transform: uppercase; padding: 5px 9px 4px; }
.gal__count { position: absolute; right: max(16px, env(safe-area-inset-right, 0px)); bottom: 10px; background: rgba(20, 21, 23, .78); color: var(--on-dark); font-size: 13px; font-weight: 600; padding: 2px 9px; font-variant-numeric: tabular-nums; }

.buy { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.buy__price { font-family: var(--display); font-weight: 600; line-height: 1; white-space: nowrap; }
.buy__price b { font-size: 40px; font-weight: 600; font-variant-numeric: tabular-nums; }
.buy__price span { font-size: 19px; }
.buy__colors { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; min-width: 0; }
.buy__label { font-size: 13.5px; color: var(--muted); }
.buy__label b { color: var(--ink); font-weight: 600; }

.dots { display: flex; flex-wrap: wrap; gap: 4px; justify-content: flex-end; }
.dot { position: relative; width: 42px; height: 42px; padding: 0; border: 0; background: none; border-radius: 50%; }
.dot i { position: absolute; inset: 6px; border-radius: 50%; background-size: cover; background-position: center; box-shadow: inset 0 0 0 1px rgba(20, 21, 23, .28); }
.dot::after { content: ""; position: absolute; inset: 1px; border-radius: 50%; border: 2px solid var(--ink); opacity: 0; transform: scale(.8); transition: opacity .15s linear, transform .2s var(--ease); }
.dot[aria-checked="true"]::after { opacity: 1; transform: scale(1); }
.dots--lg { justify-content: flex-start; gap: 0; margin-left: -5px; flex-wrap: nowrap; }
.dots--lg .dot { width: 40px; height: 40px; }
.dots--lg .dot i { inset: 5px; }

.variant-note { font-size: 14px; color: var(--ink-2); border-left: 3px solid var(--accent); padding-left: 10px; }
.pay { text-align: center; font-size: 13.5px; color: var(--ink-2); font-weight: 600; margin-top: -4px; }
.hero__short { font-size: 15.5px; color: var(--ink-2); order: 5; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; order: 6; }
.chips li { border: 1px solid var(--line); padding: 5px 10px; font-size: 13.5px; font-weight: 600; }
.specs { order: 7; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.specs summary { list-style: none; display: flex; align-items: center; justify-content: space-between; min-height: 50px; font-weight: 600; cursor: pointer; }
.specs summary::-webkit-details-marker { display: none; }
.specs summary::after { content: "+"; font-family: var(--display); font-size: 26px; line-height: 1; transition: transform .2s var(--ease); }
.specs[open] summary::after { transform: rotate(45deg); }
.specs dl { display: grid; grid-template-columns: minmax(96px, 34%) 1fr; gap: 8px 14px; padding: 2px 0 16px; font-size: 14.5px; }
.specs dt { color: var(--muted); }
.specs dd { min-width: 0; overflow-wrap: anywhere; }

/* ---------- Общие секции ---------- */
.sec { padding-block: 44px; }
.sec h2 { margin-bottom: 20px; }
.sec--dark { background: var(--dark); color: var(--on-dark); }
.sec--tint { background: var(--tint); }
.sec__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.fine { margin-top: 14px; font-size: 13.5px; color: var(--muted); }

/* ---------- Каталог ---------- */
.cards { display: grid; gap: 28px; }
.card { display: flex; flex-direction: column; border-top: 2px solid var(--ink); }
.card__photo { position: relative; display: block; width: 100%; padding: 0; border: 0; background: var(--bg); aspect-ratio: 1 / .9; overflow: hidden; }
.card__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 76%; transition: opacity .2s linear; }
.card__photo img.is-swap { opacity: 0; }
.card__badge { position: absolute; left: 0; top: 12px; background: var(--ink); color: var(--on-dark); font-family: var(--display); font-weight: 600; font-size: 13px; letter-spacing: .05em; text-transform: uppercase; padding: 5px 9px 4px; }
.card__body { display: flex; flex-direction: column; gap: 10px; }
.card__name { font-size: 22px; }
.card__short { font-size: 15px; color: var(--ink-2); }
.card__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.card__price { font-family: var(--display); font-weight: 600; font-size: 30px; line-height: 1; white-space: nowrap; }
.card__price span { font-size: 16px; }
.card .chips { order: 0; }

/* ---------- Видео ---------- */
.vids { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; margin: 0 calc(var(--gut) * -1); padding: 0 var(--gut); scroll-padding-left: var(--gut); }
.vids::-webkit-scrollbar { display: none; }
.vid { flex: 0 0 86%; scroll-snap-align: start; display: flex; flex-direction: column; gap: 8px; }
.vid:last-child { margin-right: var(--gut); }
.vid__frame { position: relative; aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
.vid__frame button { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: none; }
.vid__frame img { width: 100%; height: 100%; object-fit: cover; }
.vid__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vid__play { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; background: var(--accent); display: grid; place-items: center; transition: transform .15s var(--ease); }
.vid__frame button:active .vid__play { transform: scale(.94); }
.vid__title { font-size: 15px; font-weight: 600; }

/* ---------- Детали ---------- */
.dgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 10px; }
.dgrid figure { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.dgrid img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; background: var(--tint); }
.dgrid figcaption { font-size: 14px; line-height: 1.35; font-weight: 600; }

/* ---------- Отзывы ---------- */
.rv__count { font-family: var(--display); font-weight: 600; font-size: 18px; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.rv { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; padding: 0 var(--gut); scroll-padding-left: var(--gut); }
.rv::-webkit-scrollbar { display: none; }
.rv__item { flex: 0 0 78%; max-width: 340px; height: 300px; scroll-snap-align: start; padding: 0; border: 0; background: #fff; cursor: zoom-in; }
.rv__item:last-child { margin-right: var(--gut); }
.rv__item img { width: 100%; height: 100%; object-fit: contain; }

/* ---------- Как заказать ---------- */
.steps { display: grid; gap: 0; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 54px 1fr; column-gap: 12px; padding: 16px 0; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps li::before { content: counter(s); grid-row: 1 / 3; font-family: var(--display); font-weight: 600; font-size: 46px; line-height: 1; color: var(--accent); }
.steps b { font-family: var(--display); font-weight: 600; font-size: 20px; text-transform: uppercase; letter-spacing: .01em; }
.steps span { color: var(--ink-2); font-size: 15px; }

/* ---------- Форма заказа ---------- */
.order__wrap { max-width: 560px; }
.oform { color: var(--on-dark); }
#orderForm { display: flex; flex-direction: column; gap: 14px; }
.osum { display: flex; align-items: center; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--dark-line); }
.osum img { width: 60px; height: 75px; object-fit: cover; background: var(--bg); flex: none; transition: opacity .18s linear; }
.osum__txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.osum__txt b { font-family: var(--display); font-weight: 600; font-size: 19px; line-height: 1.2; text-transform: uppercase; }
.osum__txt span { color: var(--on-dark-muted); font-size: 15px; }
.fset { display: flex; flex-direction: column; }
.fset--grow { flex: 1 1 auto; }
.frow { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 10px; }
.fset legend, .fset__label, .field > span:first-child { font-size: 14px; color: var(--on-dark-muted); padding: 0; margin-bottom: 8px; }
.fset legend b { color: var(--on-dark); font-weight: 600; }
.mopts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.mopt { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 60px; padding: 6px 4px; background: var(--dark-2); border: 0; box-shadow: inset 0 0 0 1px var(--dark-line); color: var(--on-dark); text-align: center; transition: box-shadow .15s linear; }
.mopt b { font-weight: 600; font-size: 13.5px; line-height: 1.2; overflow-wrap: anywhere; }
.mopt span { font-family: var(--display); font-weight: 600; font-size: 17px; white-space: nowrap; color: var(--on-dark-muted); }
.mopt[aria-checked="true"] span { color: var(--accent); }
.mopt[aria-checked="true"] { box-shadow: inset 0 0 0 2px var(--accent); }
.oform .dot::after { border-color: var(--accent); }
.oform .dot i { box-shadow: inset 0 0 0 1px rgba(241, 239, 235, .45); }
.qty { display: flex; align-items: center; background: var(--dark-2); box-shadow: inset 0 0 0 1px var(--dark-line); }
.qty button { width: 42px; height: 44px; border: 0; background: none; color: var(--on-dark); font-size: 26px; line-height: 1; }
.qty button:active { background: #2c2f34; }
.qty output { min-width: 30px; text-align: center; font-family: var(--display); font-weight: 600; font-size: 22px; font-variant-numeric: tabular-nums; }
.field { display: flex; flex-direction: column; }
.field input { width: 100%; min-height: 54px; padding: 0 14px; border: 0; border-radius: 0; background: var(--dark-2); box-shadow: inset 0 0 0 1px var(--dark-line); color: var(--on-dark); font: inherit; font-size: 18px; -webkit-appearance: none; appearance: none; }
.field input::placeholder { color: #6b6f75; }
.field input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--accent); }
.field.is-bad input, .field.is-bad .tel { box-shadow: inset 0 0 0 2px var(--err); }
.tel { display: flex; align-items: stretch; background: var(--dark-2); box-shadow: inset 0 0 0 1px var(--dark-line); }
.tel:focus-within { box-shadow: inset 0 0 0 2px var(--accent); }
.tel__pre { display: flex; align-items: center; padding: 0 2px 0 14px; font-size: 18px; font-weight: 600; color: var(--on-dark); }
.tel input { background: none; box-shadow: none !important; padding-left: 8px; letter-spacing: .02em; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ferr { color: var(--err); font-size: 15px; font-weight: 600; }
.fnote { font-size: 13.5px; color: var(--on-dark-muted); text-align: center; margin-top: -4px; }
.spin { width: 20px; height: 20px; border: 3px solid rgba(20, 21, 23, .25); border-top-color: var(--ink); border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.done { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 8px 0; outline: none; }
.done svg { color: var(--accent); }
.done h3 { font-size: 38px; }
.done p { font-size: 18px; }
.done__sum { color: var(--on-dark-muted); font-size: 15px !important; }
.done .btn { margin-top: 10px; }

/* ---------- Подвал, закреплённая кнопка ---------- */
.foot { background: var(--dark); color: var(--on-dark-muted); font-size: 13.5px; padding: 0 0 calc(96px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--dark-line); }
.foot p { padding-top: 18px; }

.bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--dark); color: var(--on-dark); padding: 9px max(16px, env(safe-area-inset-right, 0px)) calc(9px + env(safe-area-inset-bottom, 0px)) var(--gut); border-top: 1px solid var(--dark-line); transform: translateY(110%); transition: transform .28s var(--ease); }
.bar.is-on { transform: none; }
.bar__txt { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.bar__txt b { font-weight: 600; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar__txt span { font-family: var(--display); font-weight: 600; font-size: 18px; }

/* ---------- Окно заказа поверх страницы ---------- */
.sheet { position: fixed; inset: 0; z-index: 50; background: var(--dark); color: var(--on-dark); display: flex; flex-direction: column; transform: translateY(100%); transition: transform .3s var(--ease); }
.sheet.is-on { transform: none; }
.sheet__head { flex: none; display: flex; align-items: center; justify-content: space-between; padding: calc(6px + env(safe-area-inset-top, 0px)) max(6px, env(safe-area-inset-right, 0px)) 6px var(--gut); border-bottom: 1px solid var(--dark-line); }
.sheet__head b { font-family: var(--display); font-weight: 600; font-size: 22px; text-transform: uppercase; letter-spacing: .02em; }
.sheet__close { width: 48px; height: 48px; display: grid; place-items: center; background: none; border: 0; color: var(--on-dark); }
.sheet__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding: 16px max(16px, env(safe-area-inset-right, 0px)) calc(28px + env(safe-area-inset-bottom, 0px)) var(--gut); }
.sheet__body .oform { max-width: 520px; margin: 0 auto; }
html.is-locked, html.is-locked body { overflow: hidden; }

.lb { position: fixed; inset: 0; z-index: 60; background: rgba(12, 13, 14, .94); display: grid; place-items: center; padding: 56px 12px 24px; }
.lb img { max-width: 100%; max-height: 100%; object-fit: contain; background: #fff; }
.lb__close { position: absolute; top: calc(6px + env(safe-area-inset-top, 0px)); right: 6px; width: 48px; height: 48px; display: grid; place-items: center; background: none; border: 0; color: #fff; }

.nojs { padding: 16px; background: var(--accent); font-weight: 600; text-align: center; }

/* ---------- Появление блоков при прокрутке ---------- */
.rv-on .reveal { opacity: 0; transform: translateY(18px); }
.rv-on .reveal.in { opacity: 1; transform: none; transition: opacity .5s linear, transform .6s var(--ease); }

/* ---------- Узкие телефоны: пять цветов в один ряд рядом с ценой ---------- */
@media (max-width: 359px) {
  .buy .dots { gap: 0; flex-wrap: nowrap; }
  .buy .dot { width: 34px; height: 34px; }
  .buy .dot i { inset: 4px; }
  .buy__price b { font-size: 36px; }
}

/* ---------- Низкие экраны (маленькие телефоны, встроенные браузеры) ---------- */
@media (max-width: 899px) and (max-height: 650px) {
  .gal__slide { aspect-ratio: 1 / .8; }
  .gal__slide img { object-fit: contain; }
  .tabs button { min-height: 42px; }
  .hero__info { padding-top: 10px; gap: 10px; }
  .buy__price b { font-size: 36px; }
}

/* ---------- Широкие экраны ---------- */
@media (min-width: 600px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .dgrid { grid-template-columns: repeat(4, 1fr); }
  .vid { flex-basis: 46%; }
  .rv__item { flex-basis: 320px; }
  .steps { grid-template-columns: repeat(3, 1fr); column-gap: 28px; }
  .steps li, .steps li:last-child { border-bottom: 0; grid-template-columns: 1fr; row-gap: 4px; }
  .steps li::before { grid-row: auto; }
}
@media (min-width: 900px) {
  .hero { padding: 28px 0 44px; }
  .hero__grid { display: grid; grid-template-columns: minmax(0, 520px) minmax(0, 1fr); gap: 48px; align-items: start; padding-left: var(--gut); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
  .hero__info { padding: 54px 0 0; gap: 16px; max-width: 480px; }
  .gal__slide { aspect-ratio: 4 / 5; }
  .gal__slide img { object-position: 50% 50%; }
  .gal__badge { left: 0; }
  .gal__count { right: 10px; }
  .hero__short { order: 0; font-size: 17px; }
  .buy { justify-content: flex-start; gap: 36px; }
  .buy__colors { align-items: flex-start; }
  .dots { justify-content: flex-start; }
  .pay { text-align: left; }
  .cards { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .vids { margin: 0; padding: 0; overflow: visible; display: grid; grid-template-columns: repeat(4, 1fr); }
  .vid:last-child { margin-right: 0; }
  .sec { padding-block: 64px; }
  .bar { left: auto; right: 24px; bottom: 24px; width: 380px; border: 1px solid var(--dark-line); }
  .foot { padding-bottom: 28px; }
  .sheet { inset: 0 0 0 auto; width: 480px; transform: translateX(100%); box-shadow: -24px 0 60px rgba(0, 0, 0, .35); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .rv-on .reveal { opacity: 1; transform: none; }
}


/* ====== Фото-плитки моделей ====== */

.tabs--photo { align-items: stretch; }
.tabs--photo button { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 4px; min-height: 0; padding: 6px 4px 8px; font-size: 13.5px; line-height: 1.15; white-space: normal; }
.tabs--photo button + button { box-shadow: -1px 0 0 var(--line); }
.tabs--photo img { width: 100%; height: 56px; object-fit: contain; }
.tabs--photo b { font-weight: 600; }
.tabs__sw { display: flex; justify-content: center; gap: 3px; min-height: 9px; }
.tabs__sw i { width: 9px; height: 9px; border-radius: 50%; background-size: cover; background-position: center; box-shadow: inset 0 0 0 1px rgba(20, 21, 23, .3); }
.tabs--under { border-top: 1px solid var(--line); padding-top: 0; }

@media (max-width: 899px) and (max-height: 700px) {
  .tabs--photo img { height: 42px; }
  .tabs--photo .tabs__sw { display: none; }
  .tabs--photo button { padding: 4px 4px 6px; gap: 2px; }
}
@media (min-width: 900px) {
  .tabs--photo img { height: 78px; }
  .tabs--photo button { font-size: 15px; padding: 10px 6px 12px; }
  .tabs__sw i { width: 11px; height: 11px; }
}


/* ====== Подписи фото, доставка, цитаты, вопросы, форма ====== */


/* подпись на фото: один довод на каждый кадр */
.gal__cap { position: absolute; left: var(--gut); bottom: 10px; max-width: calc(100% - 2 * var(--gut)); background: rgba(20, 21, 23, .84); color: var(--on-dark); font-size: 14px; font-weight: 600; line-height: 1.25; padding: 5px 10px; pointer-events: none; }
.gal__bars { display: flex; gap: 4px; padding: 5px max(16px, env(safe-area-inset-right, 0px)) 5px var(--gut); min-height: 13px; }
.gal__bars i { flex: 1; height: 3px; background: rgba(20, 21, 23, .16); transition: background-color .2s linear; }
.gal__bars i.was { background: rgba(20, 21, 23, .42); }
.gal__bars i.on { background: var(--ink); }
.gal__track { cursor: pointer; }

/* плитки моделей: цена видна сразу, выбранная — тёмным */
.tabs--photo em { font-style: normal; font-family: var(--display); font-weight: 600; font-size: 13.5px; letter-spacing: .01em; color: var(--muted); }
.tabs--photo button[aria-selected="true"] em { color: var(--ink); }

#hPop { color: var(--muted); font-weight: 400; }
/* доставка: узнаваемые логотипы обеих почт */
.pay { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 14px; }
.pay__ship { display: inline-flex; align-items: center; gap: 8px; font-weight: 400; color: var(--ink-2); }
.ship { display: inline-flex; align-items: center; gap: 10px; }
.ship img { height: 18px; width: auto; }
.ship img[alt="Нова Пошта"] { height: 25px; }
.ship--chip { background: #f4f3f0; padding: 6px 10px; gap: 12px; }
.fship { display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 13.5px; color: var(--on-dark-muted); margin-top: -4px; }
.foot__ship { padding-top: 10px !important; }
.pay2 { text-align: center; font-size: 13.5px; color: var(--ink-2); margin-top: -8px; }

/* цитаты из настоящих отзывов рядом с кнопкой */
.quotes { display: flex; flex-direction: column; gap: 6px; width: 100%; padding: 11px 12px; border: 0; background: var(--tint); text-align: left; }
.quotes__list { display: flex; flex-wrap: wrap; gap: 2px 10px; font-size: 14.5px; font-weight: 600; line-height: 1.35; }
.quotes__more { font-size: 13.5px; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }
.quotes:active { background: #d6d2ca; }

.vlink { order: 6; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px 0 10px; border: 0; background: none; box-shadow: inset 0 0 0 1px var(--line); font-size: 14.5px; font-weight: 600; }
.vlink svg { color: var(--accent); }

/* вопросы и ответы */
.faq__wrap { max-width: 760px; }
.faq__list details { border-top: 1px solid var(--line); }
.faq__list details:last-child { border-bottom: 1px solid var(--line); }
.faq__list summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 56px; padding: 8px 0; font-size: 16.5px; font-weight: 600; line-height: 1.3; cursor: pointer; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: "+"; flex: none; font-family: var(--display); font-size: 28px; line-height: 1; color: var(--accent); transition: transform .2s var(--ease); }
.faq__list details[open] summary::after { transform: rotate(45deg); }
.faq__list p { padding: 0 0 16px; font-size: 15.5px; color: var(--ink-2); max-width: 62ch; }

/* форма */
.osum__hint { color: var(--on-dark); font-size: 13.5px !important; font-weight: 600; }
.fticks { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 16px; margin-top: -2px; font-size: 13.5px; font-weight: 600; color: var(--on-dark); }
.fticks li::before { content: "✓"; color: var(--accent); margin-right: 6px; }
.done__next { counter-reset: n; display: grid; gap: 10px; margin-top: 4px; }
.done__next li { counter-increment: n; display: grid; grid-template-columns: 26px 1fr; font-size: 15.5px; line-height: 1.4; color: var(--on-dark); }
.done__next li::before { content: counter(n); font-family: var(--display); font-weight: 600; font-size: 20px; line-height: 1.1; color: var(--accent); }

@media (min-width: 900px) {
  .pay { justify-content: flex-start; }
  .pay2 { text-align: left; }
  .gal__cap { left: 0; }
  .gal__bars { padding-left: 0; padding-right: 0; }
}

/* низкие экраны: первый экран с плитками и ценой должен вмещать кнопку */
@media (max-width: 899px) and (max-height: 700px) {
  .tabs--photo img { height: 34px; }
  .tabs--photo button { padding: 3px 4px 5px; }
  .hero__info { padding-top: 10px; gap: 10px; }
}
@media (max-width: 899px) and (max-height: 650px) {
  .gal__slide { aspect-ratio: 1 / .72; }
  .buy__price b { font-size: 34px; }
}

/* сценарии носки, цена за пару */
.uses { order: 5; font-size: 14px; font-weight: 600; color: var(--ink-2); margin-top: -6px; }
.pairnote { align-self: center; font-size: 14px; font-weight: 600; padding: 5px 10px; box-shadow: inset 0 0 0 1px var(--line); }
.fpair { font-size: 14px; font-weight: 600; color: var(--on-dark); margin-top: -4px; }
@media (min-width: 900px) { .uses { order: 0; margin-top: -8px; } .pairnote { align-self: flex-start; } }

/* варианты «b» сплит-тестов (включаются в products.json → experiments) */
.ab-quotes-b #hQuotes { display: none !important; }
.ab-captions-b .gal__cap { display: none !important; }

/* планшеты, телефон боком и масштаб 200%: фото не должно занимать весь экран */
@media (min-width: 600px) and (max-width: 899px) {
  .gal__slide { aspect-ratio: 16 / 9; }
  .gal__slide img { object-fit: contain; }
}

/* правки после независимого разбора */
button.pairnote { background: none; border: 0; color: var(--ink); min-height: 40px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
button.pairnote::after { content: "→"; color: var(--accent); font-weight: 600; }
button.pairnote:active { background: var(--tint); }
.card__count { position: absolute; right: 0; bottom: 10px; background: rgba(20, 21, 23, .78); color: var(--on-dark); font-size: 13px; font-weight: 600; padding: 2px 9px; }
.foot__seller { color: var(--on-dark); }
.done__contact { font-size: 15px !important; color: var(--on-dark-muted); }
.fship { flex-wrap: wrap; row-gap: 6px; }
button.pairnote { text-align: left; max-width: 100%; }
.foot__seller a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.pay2 { line-height: 1.5; }

/* ====== Полная проверка вёрстки 18.11: магазин, блок доверия, мелочи ====== */
/* знак магазина в углу фото */
.gal__brand { position: absolute; right: max(16px, env(safe-area-inset-right, 0px)); bottom: 10px; width: 36px; height: 36px; border-radius: 2px; pointer-events: none; }
.gal__cap { max-width: calc(100% - 2 * var(--gut) - 48px); }
/* блок доверия под кнопкой — тем же языком, что в форме */
.ticks { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 14px; margin-top: -6px; font-size: 13.5px; color: var(--ink-2); }
.ticks li::before { content: "✓"; color: var(--accent); font-weight: 600; margin-right: 6px; }
/* значения характеристик — с заглавной буквы */
.specs dd::first-letter { text-transform: uppercase; }
/* серый текст на тёмно-бежевом — темнее, чтобы хватало контраста */
.sec--tint .fine, .sec--tint .rv__count { color: var(--ink-2); }
/* подвал: магазин, реквизиты, телефон */
.foot { padding-top: 22px; }
.foot .wrap { display: flex; flex-direction: column; gap: 14px; }
.foot p { padding-top: 0; }
.foot__brand { display: flex; align-items: center; gap: 12px; }
.foot__brand img { width: 52px; height: 52px; border-radius: 2px; flex: none; }
.foot__brand p { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.foot__brand b { font-family: var(--display); font-weight: 600; font-size: 19px; letter-spacing: .02em; text-transform: uppercase; color: var(--on-dark); }
.foot__contact { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 10px; color: var(--on-dark); font-size: 15px; }
.foot__contact a { display: inline-flex; align-items: center; min-height: 44px; color: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.foot__contact span { color: var(--on-dark-muted); }
.foot__ship { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding-top: 0 !important; }
/* экран после заявки: кто позвонит */
.done__shop { display: flex; align-items: flex-start; gap: 12px; padding-top: 14px; border-top: 1px solid var(--dark-line); width: 100%; }
.done__shop img { width: 44px; height: 44px; border-radius: 2px; flex: none; }
.done__shop p { display: flex; flex-direction: column; gap: 3px; font-size: 15px !important; line-height: 1.45; color: var(--on-dark-muted); min-width: 0; }
.done__shop b { font-family: var(--display); font-weight: 600; font-size: 18px; letter-spacing: .02em; text-transform: uppercase; color: var(--on-dark); }
@media (min-width: 900px) {
  .ticks { justify-content: flex-start; }
  .gal__brand { right: 10px; }
}

/* ---------- Худи-плед: одна модель, выбор цвета ---------- */
.tabs--color button { gap: 6px; padding: 10px 4px 10px; }
.tabs--color img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px var(--line); transition: box-shadow .15s linear; }
.tabs--color button[aria-selected="true"] img { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--accent); }
.tabs--color b { font-size: 13.5px; }
.cards--colors { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
.cards--colors .card__photo { aspect-ratio: 4 / 5; }
.cards--colors .card__photo img { object-position: 50% 50%; }
.cards--colors .card__body { gap: 8px; padding-top: 10px; }
.cards--colors .card__name { display: flex; align-items: center; gap: 8px; font-size: 19px; }
.card__sw { flex: none; width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(20, 21, 23, .3); }
.cards--colors .card__price { font-size: 24px; }
.cards--colors .btn--sm { width: 100%; min-height: 46px; padding: 0 10px; font-size: 16px; }
@media (min-width: 900px) {
  .cards--colors { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
  .tabs--color img { width: 64px; height: 64px; }
}

/* ---------- Правки после разбора 19.11: лицо в кадре, плитки «1 / 2 шт», размер, сценарии ---------- */
/* первое фото: на людях важно лицо в капюшоне — кадр держим сверху (у сумок был низ) */
.gal__slide img { object-position: 50% 14%; }
/* под заголовком сразу строка пользы, потом цена */
.hero__short { order: 0; margin-top: -6px; font-weight: 600; color: var(--ink); }

.pack { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pack__opt { position: relative; display: flex; flex-direction: column; align-items: stretch; gap: 0; min-height: 60px; padding: 7px 10px 6px; border: 0; background: transparent; box-shadow: inset 0 0 0 1px var(--line); text-align: left; transition: box-shadow .15s linear, background-color .15s linear; }
.pack__opt[aria-checked="true"] { box-shadow: inset 0 0 0 2px var(--ink); background: #f6f4f0; }
.pack__t { display: flex; justify-content: flex-start; flex-wrap: wrap; gap: 0 8px; padding-right: 0; font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.pack__opt b { font-family: var(--display); font-weight: 600; font-size: 27px; line-height: 1.1; white-space: nowrap; }
.pack__opt b small { font-size: 16px; }
.pack__sub { font-size: 13.5px; font-weight: 600; color: #b23a0c; white-space: nowrap; }
.pack__opt[data-qty="2"]::after { content: "Вигідніше"; position: absolute; top: -10px; right: 6px; background: var(--accent); color: var(--ink); font-family: var(--display); font-weight: 600; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; padding: 2px 7px; }

.size__wrap { display: grid; gap: 18px; }
.size__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 2px solid var(--ink); }
.size__list div { padding: 10px 6px 0 0; }
.size__list dt { font-size: 13px; color: var(--muted); }
.size__list dd { margin: 0; font-family: var(--display); font-weight: 600; font-size: 22px; white-space: nowrap; }
.size__hint { margin-top: 14px; font-size: 15px; color: var(--ink-2); }
.size__pic { width: 100%; max-width: 420px; height: auto; justify-self: center; }
.size__body { fill: var(--tint); stroke: var(--ink); stroke-width: 2.5; stroke-linejoin: round; }
.size__fur { fill: none; stroke: var(--ink); stroke-width: 2; stroke-dasharray: 3 4; }
.size__seam { fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-dasharray: 5 4; }
.size__dim path { fill: none; stroke: var(--accent); stroke-width: 2.5; }
.size__lbl text { font-family: var(--display); font-weight: 600; font-size: 17px; fill: var(--ink); }

.scenes__lead { font-size: 16px; font-weight: 600; margin: -6px 0 18px; }
.scenes__list { display: grid; gap: 22px; }
.scenes__list figure { display: grid; grid-template-columns: 42% 1fr; gap: 14px; align-items: center; }
.scenes__list img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.scenes__list figcaption { display: flex; flex-direction: column; gap: 6px; font-size: 15px; color: var(--ink-2); }
.scenes__list b { font-family: var(--display); font-weight: 600; font-size: 20px; line-height: 1.15; text-transform: uppercase; color: var(--ink); }

/* каталог цветов: карточка целиком — заказ этого цвета, без лишних оранжевых кнопок */
.ccard { display: flex; flex-direction: column; gap: 8px; padding: 0; border: 0; background: none; text-align: left; color: var(--ink); }
.ccard img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; }
.ccard__name { display: flex; align-items: center; gap: 8px; font-family: var(--display); font-weight: 600; font-size: 19px; text-transform: uppercase; }
.ccard__go { font-size: 14px; font-weight: 600; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.ccard:active img { opacity: .85; }

@media (min-width: 900px) {
  .size__wrap { grid-template-columns: 1fr 1fr; align-items: center; gap: 48px; }
  .scenes__list { grid-template-columns: repeat(3, 1fr); }
  .scenes__list figure { grid-template-columns: 1fr; align-items: start; }
  .pack { max-width: 420px; }
}
/* низкие экраны (браузер внутри TikTok/Instagram): кнопка «Замовити» должна помещаться на первый экран */
@media (max-width: 899px) and (max-height: 700px) {
  .tabs--color button { padding: 6px 4px 6px; gap: 3px; }
  .tabs--color img { width: 40px; height: 40px; }
  .tabs--color b { font-size: 12.5px; }
  .pack__opt { min-height: 52px; padding: 5px 10px 4px; }
  .pack__opt b { font-size: 24px; }
  .hero__short { font-size: 14.5px; line-height: 1.4; }
}
/* узкие телефоны: ярлык «Вигідніше» налезает на «−108 грн» — экономию уже видно в подписи */
@media (max-width: 374px) { .pack__opt[data-qty="2"]::after { display: none; } }
