/* BS shop — variant 7 («Табло + Флаг»): Rubik, italic caps for display, red / navy / blue on white. */
[hidden] { display: none !important; }
:root {
  --red: #e01933; --navy: #0f1f4a; --blue: #1f3fae; --ink: #111827; --muted: #5b6478;
  --line: #e6e8ee; --paper: #f1f2f4; --white: #fff;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --pad: clamp(16px, 2.8vw, 40px);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 16px/1.45 Rubik, system-ui, sans-serif; color: var(--ink); background: var(--white); }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.wrap { padding-left: var(--pad); padding-right: var(--pad); }
.dz { font-family: Rubik, sans-serif; font-style: italic; font-weight: 900; text-transform: uppercase; letter-spacing: -.02em; }
.h2 { margin: 0; font-size: clamp(36px, 4.6vw, 64px); line-height: .95; }
.muted { color: var(--muted); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; background: var(--ink); color: #fff; padding: 10px 14px; z-index: 100; }
.skip:focus { top: 8px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 54px; padding: 0 28px; border-radius: 999px; border: 0;
  font-weight: 500; font-size: 17px; text-decoration: none; cursor: pointer; transition: transform .15s var(--ease), background .2s, color .2s; }
.btn:active { transform: scale(.97); }
.btn-white { background: #fff; color: var(--ink); } .btn-white:hover { background: #f3f4f6; }
.btn-red { background: var(--red); color: #fff; } .btn-red:hover { background: #c5132b; }
.btn-ink { background: var(--ink); color: #fff; } .btn-ink:hover { background: #000; }
.btn-line { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px #cfd3dc; } .btn-line:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn[disabled] { opacity: .5; cursor: default; }
.btn-sm { height: 42px; padding: 0 18px; font-size: 15px; }

/* marquee */
.mq { background: var(--navy); color: #fff; height: 38px; display: flex; align-items: center; overflow: hidden; white-space: nowrap; font-size: 14px; font-weight: 500; }
.mq-track { display: inline-flex; align-items: center; animation: mq 40s linear infinite; }
.mq-track span { padding: 0 22px; flex: none; }
.mq-track i { flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
.mq:hover .mq-track { animation-play-state: paused; }
@keyframes mq { to { transform: translateX(-50%); } }

/* header */
.hdr { position: sticky; top: 0; z-index: 40; background: #fff; border-bottom: 1px solid #eceef2; }
.hdr-in { height: 76px; display: flex; align-items: center; gap: clamp(14px, 2.2vw, 32px); }
.logo { flex: none; display: block; line-height: 0; }
.nav { display: flex; gap: 24px; font-weight: 500; }
.nav a { text-decoration: none; white-space: nowrap; }
.nav a:hover, .nav a[aria-current] { color: var(--red); }
.nav .hot { color: var(--red); }
.search { flex: 1; min-width: 0; position: relative; }
.search input { width: 100%; height: 46px; border-radius: 999px; border: 0; background: var(--paper); padding: 0 20px; font-size: 15px; }
.hdr-act { display: flex; align-items: center; gap: 14px; flex: none; }
.hdr-act .link { text-decoration: none; font-weight: 500; }
.cart-btn { position: relative; }
.lang { border: 0; background: none; font-weight: 500; color: var(--muted); cursor: pointer; padding: 6px; }
.burger { display: none; width: 44px; height: 44px; border: 0; background: var(--paper); border-radius: 50%; cursor: pointer; }
.mnav { display: none; }

/* hero slider */
.hero { position: relative; height: min(780px, calc(100svh - 114px)); min-height: 520px; overflow: hidden; background: var(--ink); color: #fff; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08);
  transition: opacity 1s var(--ease), transform 6s linear; }
.hero-img.on { opacity: 1; transform: scale(1); }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(0deg, rgba(17,24,39,.9) 0%, rgba(17,24,39,.55) 45%, rgba(17,24,39,0) 75%), linear-gradient(90deg, rgba(17,24,39,.45) 0%, rgba(17,24,39,0) 60%); }
.hero-bars { position: absolute; left: var(--pad); right: var(--pad); top: 24px; display: flex; gap: 6px; z-index: 2; }
.hero-bars button { flex: 1; height: 16px; border: 0; background: none; padding: 6px 0; cursor: pointer; }
.hero-bars span { display: block; height: 3px; border-radius: 2px; background: rgba(255,255,255,.4); overflow: hidden; }
.hero-bars b { display: block; height: 100%; background: #fff; transform: scaleX(0); transform-origin: left; }
.hero-bars .done b { transform: scaleX(1); }
.hero-bars .run b { animation: fill var(--t, 5s) linear forwards; }
.hero.paused .hero-bars .run b { animation-play-state: paused; }
@keyframes fill { to { transform: scaleX(1); } }
.hero-copy { position: absolute; left: var(--pad); right: var(--pad); bottom: 60px; z-index: 2; }
.hero-cap { min-height: clamp(150px, 20vw, 290px); display: flex; flex-direction: column; justify-content: flex-end; gap: 14px; margin-bottom: 30px; }
.hero-cap h1, .hero-cap h2 { margin: 0; font-size: clamp(48px, 9.2vw, 132px); line-height: .88; max-width: 12ch; }
.hero-cap p { margin: 0; font-size: clamp(17px, 1.6vw, 22px); }
.hero-cap.enter > * { animation: capIn .7s var(--ease) both; }
.hero-cap.enter p { animation-delay: .08s; }
@keyframes capIn { from { opacity: 0; transform: translateY(24px); } }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* directions */
.dirs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.dir { position: relative; min-height: 340px; padding: 36px 40px; overflow: hidden; text-decoration: none; display: block; }
.dir .dz { display: block; font-size: clamp(36px, 3.6vw, 52px); line-height: .95; }
.dir img { position: absolute; right: 0; bottom: 0; width: 56%; height: 52%; object-fit: cover; clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%); transition: transform .5s var(--ease); }
.dir:hover img { transform: scale(1.04); }
.dir-sub { position: absolute; left: 40px; bottom: 36px; width: 36%; font-weight: 500; line-height: 1.35; }
.dir.boxing { background: var(--red); color: #fff; } .dir.wrestling { background: #fff; color: var(--navy); } .dir.lifting { background: var(--blue); color: #fff; }

/* sections */
.sec { padding-top: 64px; padding-bottom: 64px; }
.sec.gray { background: var(--paper); }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.sec-head a { font-weight: 500; }
.grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }

/* category tiles */
.cat { text-decoration: none; background: #fff; display: flex; flex-direction: column; overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s; }
.cat:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(15,31,74,.14); }
.cat-pic { aspect-ratio: 325 / 210; overflow: hidden; }
.cat-pic img { width: 100%; height: 100%; object-fit: cover; clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%); transition: transform .5s var(--ease); }
.cat:hover .cat-pic img { transform: scale(1.04); }
.cat-body { padding: 12px 20px 20px; display: flex; flex-direction: column; gap: 8px; }
.tag { align-self: flex-start; color: #fff; font: italic 700 12px/1 Rubik; letter-spacing: .06em; text-transform: uppercase; padding: 6px 10px; transform: skewX(-12deg); }
.tag.boxing { background: var(--red); } .tag.wrestling { background: var(--navy); } .tag.lifting { background: var(--blue); }
.cat-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.cat-name { font: italic 900 clamp(18px, 1.7vw, 24px)/1.05 Rubik; text-transform: uppercase; }
.arrow { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--paper); display: grid; place-items: center; transition: background .2s, color .2s; }
.cat:hover .arrow { background: var(--red); color: #fff; }

/* filters */
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin: 22px 0 28px 6px; }
.fl { height: 44px; padding: 0 22px; border: 0; cursor: pointer; font: italic 900 14px/44px Rubik; text-transform: uppercase; letter-spacing: .02em;
  transform: skewX(-12deg); background: var(--paper); color: var(--ink); transition: background .2s, color .2s; }
.sec:not(.gray) .fl { background: var(--paper); } .sec.gray .fl { background: #fff; }
.fl[aria-pressed="true"] { background: var(--ink) !important; color: #fff; }

/* product card */
.cd { --c: var(--red); --band: #ffe3e6; position: relative; background: #fff; text-decoration: none; display: flex; flex-direction: column; overflow: hidden;
  box-shadow: 0 0 0 1px var(--line); transition: transform .35s var(--ease), box-shadow .35s; }
.cd.wrestling { --c: var(--navy); --band: #e7ebf5; } .cd.lifting { --c: var(--blue); --band: #e3e9ff; }
.cd:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(15,31,74,.16); }
.cd-pic { position: relative; aspect-ratio: 325 / 280; overflow: hidden; background: var(--band); }
.cd-pic img { width: 100%; height: 100%; object-fit: cover; clip-path: polygon(0 0, 100% 0, 100% 86%, 0 100%); transition: transform .5s var(--ease); }
.cd:hover .cd-pic img { transform: scale(1.04); }
.badge { position: absolute; left: 16px; top: 16px; z-index: 2; background: var(--c); color: #fff; font: italic 900 13px/1 Rubik; letter-spacing: .04em; text-transform: uppercase; padding: 8px 12px; transform: skewX(-12deg); }
.cd-body { padding: 16px 20px 20px; display: flex; flex-direction: column; gap: 10px; border-top: 4px solid var(--c); flex: 1; }
.cd-kind { font-size: 13px; font-weight: 500; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; line-height: 1.2; }
.cd-name { font: italic 900 clamp(18px, 1.7vw, 24px)/1.05 Rubik; text-transform: uppercase; }
.sizes { display: flex; gap: 6px; flex-wrap: wrap; }
.sizes span, .sizes button { min-width: 36px; height: 30px; padding: 0 8px; display: grid; place-items: center; border: 1.5px solid #d6d9e0; background: #fff; font-size: 13px; font-weight: 500; transform: skewX(-12deg); }
.cd-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 4px; gap: 10px; }
.price { font: italic 900 clamp(20px, 1.7vw, 24px)/1 Rubik; color: var(--c); }
.price.ask { font-size: 17px; }
.price { white-space: nowrap; min-width: 0; }
.price.ask { white-space: normal; line-height: 1.1; }
.cd-name { overflow-wrap: anywhere; hyphens: auto; }
.cd .old { display: block; margin: 4px 0 0; }
.old { color: var(--muted); text-decoration: line-through; font-size: 14px; margin-left: 6px; font-style: normal; font-weight: 500; }
.add { width: 48px; height: 48px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 26px; border: 0; cursor: pointer; transition: background .2s, transform .15s; flex: none; }
.cd:hover .add { background: var(--red); } .add:active { transform: scale(.94); }

/* banners */
.ban { display: grid; grid-template-columns: 2fr 1fr; min-height: 380px; background: var(--red); }
.ban-l { position: relative; overflow: hidden; background: var(--navy); clip-path: polygon(0 0, 100% 0, calc(100% - 80px) 100%, 0 100%); }
.ban-l img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.ban-l div { position: absolute; left: 48px; bottom: 44px; display: flex; flex-direction: column; gap: 18px; color: #fff; }
.ban-l .dz { font-size: clamp(44px, 5vw, 72px); line-height: .92; }
.ban-r { color: #fff; padding: 44px 48px 44px 24px; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; }
.ban-r .dz { font-size: clamp(32px, 3.6vw, 52px); line-height: .95; }
.chip-dark { align-self: flex-start; background: var(--ink); padding: 8px 14px; font: italic 900 14px Rubik; text-transform: uppercase; transform: skewX(-12deg); }

/* footer */
.ftr { background: var(--navy); color: #fff; padding-top: 48px; padding-bottom: 40px; }
.ftr-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.ftr .dz { font-size: clamp(56px, 8vw, 110px); line-height: .9; display: block; }
.ftr-brand small { display: block; margin-top: 10px; font: 500 14px Rubik, sans-serif; letter-spacing: .04em; text-transform: uppercase; opacity: .7; }
.ftr nav { display: flex; gap: 22px; flex-wrap: wrap; font-weight: 500; }
.ftr nav a { text-decoration: none; color: #c3c9d6; } .ftr nav a:hover { color: #fff; }
.ftr-bot { margin-top: 32px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.15); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; color: #c3c9d6; }

/* page heads, forms */
.page-head { padding-top: 40px; padding-bottom: 8px; }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.crumbs a { text-decoration: none; } .crumbs a:hover { color: var(--red); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field span { font-size: 14px; font-weight: 500; }
.field input, .field textarea, .field select { height: 50px; border: 1.5px solid #d6d9e0; border-radius: 12px; padding: 0 14px; background: #fff; font-size: 16px; }
.field textarea { height: 96px; padding: 12px 14px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--ink); outline: 0; }
.err { color: var(--red); font-size: 14px; min-height: 20px; }
.note { background: var(--paper); padding: 14px 16px; border-radius: 12px; font-size: 15px; }
.empty { padding: 48px 0; text-align: center; color: var(--muted); }

/* catalog layout */
.cat-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 32px; align-items: start; }
.side { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 22px; }
.side h3 { margin: 0 0 8px; font: italic 900 18px Rubik; text-transform: uppercase; }
.side a { display: block; padding: 7px 0; text-decoration: none; font-weight: 500; }
.side a[aria-current] { color: var(--red); }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }

/* product page */
.pdp { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: start; }
.product-gallery { min-width: 0; }
.pdp-pic { position: relative; background: #fff; aspect-ratio: 1; }
.gallery-track { display: flex; width: 100%; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-track img { display: block; flex: 0 0 100%; width: 100%; height: 100%; min-width: 0; object-fit: contain; scroll-snap-align: start; }
.gallery-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; display: grid; place-content: center; background: #fffffff0; color: var(--ink); border: 1px solid #c8cbd1; border-radius: 50%; font: 28px/1 sans-serif; cursor: pointer; }
.gallery-arrow:disabled { opacity: .45; cursor: default; }
.gallery-arrow.prev { left: 8px; }
.gallery-arrow.next { right: 8px; }
.gallery-dots { display: flex; justify-content: center; align-items: center; padding: 4px 6px; }
.gallery-dots button { display: grid; place-items: center; flex: 0 1 22px; min-width: 0; height: 32px; border: 0; padding: 0; cursor: pointer; background: transparent; }
.gallery-dots button::after { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #b2b6bf; }
.gallery-dots button[aria-current]::after { background: var(--ink); transform: scale(1.35); }
.variant-links { display: flex; gap: 6px; flex-wrap: wrap; }
.variant-links a { display: grid; place-items: center; width: 44px; height: 44px; border: 2px solid transparent; border-radius: 50%; }
.variant-links a[aria-current] { border-color: var(--ink); }
.variant-links a.text-color { width: auto; border-radius: 8px; padding: 0 8px; }
.variant-links i { display: block; width: 30px; height: 30px; border-radius: 50%; border: 1px solid #0004; }
.variant-label { margin: 0 0 4px; }
.shoe-guide summary { width: fit-content; cursor: pointer; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.shoe-guide p { margin: 10px 0; }
.size-chart { width: 100%; }
.size-chart table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.size-chart th, .size-chart td { padding: 6px; border-bottom: 1px solid #cbd0da; text-align: center; }
.size-chart th { position: sticky; top: 0; background: #eef1fb; }
.size-h .size-guide-link { margin-inline-start: auto; flex-shrink: 0; max-width: 55%; min-height: 36px; text-align: end; }
html:has(.size-dialog) { scrollbar-gutter: stable; }
html:has(.size-dialog[open]) { overflow: hidden; }
dialog.size-dialog { width: min(520px, calc(100% - 28px)); max-height: min(80vh, 680px); max-height: min(80dvh, 680px); border-radius: 14px; color: var(--ink); overflow: hidden; }
.size-dialog[open] { display: flex; flex-direction: column; }
.size-dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 16px 12px 20px; border-bottom: 1px solid #d6d9e0; }
.size-dialog-header h2 { margin: 0; font-size: 21px; line-height: 1.2; }
.size-dialog-close { flex: 0 0 44px; height: 44px; border: 0; border-radius: 50%; background: #f0f2f5; color: inherit; font: 28px/1 Rubik, sans-serif; cursor: pointer; }
.size-dialog-body { padding: 4px 20px 20px; overflow-y: auto; overscroll-behavior: contain; line-height: 1.5; }
.cd-color { font-size: 14px; color: #525867; }
.pdp-info { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 100px; }
.pdp-info h1 { margin: 0; font-size: clamp(34px, 3.6vw, 52px); line-height: .95; }
.pdp-price { font: italic 900 36px/1 Rubik; color: var(--red); }
.pick { display: flex; gap: 8px; flex-wrap: wrap; }
.pick button { min-width: 56px; height: 44px; padding: 0 14px; border: 1.5px solid #d6d9e0; background: #fff; cursor: pointer; font-weight: 500; transform: skewX(-12deg); }
.pick button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.pick button:disabled { color: #b4b9c4; border-color: #e6e8ee; background: #f7f8fa; cursor: not-allowed; text-decoration: line-through; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid #d6d9e0; border-radius: 999px; height: 54px; }
.qty button { width: 48px; height: 100%; border: 0; background: none; font-size: 22px; cursor: pointer; }
.qty output { min-width: 32px; text-align: center; font-weight: 500; }

/* cart */
.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 40px; align-items: start; }
.line { display: grid; grid-template-columns: 110px minmax(0, 1fr) auto; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: center; }
.line img { width: 110px; height: 110px; object-fit: cover; background: var(--paper); }
.line h3 { margin: 0 0 6px; font: italic 900 18px/1.1 Rubik; text-transform: uppercase; }
.line-r { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.line .qty { height: 42px; } .line .qty button { width: 38px; font-size: 18px; }
.rm { border: 0; background: none; color: var(--muted); cursor: pointer; font-size: 14px; text-decoration: underline; }
.box { background: var(--paper); padding: 28px; display: flex; flex-direction: column; gap: 14px; position: sticky; top: 100px; }
.box h2 { margin: 0; font-size: 28px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; background: #fff; border-radius: 999px; padding: 4px; }
.seg button { height: 42px; border: 0; border-radius: 999px; background: none; cursor: pointer; font-weight: 500; }
.seg button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.code-in { letter-spacing: .4em; font-size: 24px !important; text-align: center; }

/* toast */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 140%); background: var(--ink); color: #fff; padding: 14px 20px; border-radius: 14px; z-index: 90;
  display: flex; gap: 16px; align-items: center; transition: transform .35s var(--ease); max-width: calc(100vw - 32px); }
.toast.on { transform: translate(-50%, 0); }
.toast a { color: #fff; font-weight: 500; }

/* reveal */
.rv { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.rv.in { opacity: 1; transform: none; }

/* responsive */
@media (max-width: 1100px) {
  .nav { display: none; }
  .burger { display: flex; }
  .grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cat-layout { grid-template-columns: 1fr; }
  .side { position: static; flex-direction: row; flex-wrap: wrap; gap: 8px 24px; }
  .mnav { position: fixed; inset: 114px 0 0; background: #fff; z-index: 39; padding: 24px var(--pad); flex-direction: column; gap: 4px; overflow: auto; }
  .mnav.open { display: flex; }
  .mnav a { font: italic 900 32px/1.25 Rubik; text-transform: uppercase; text-decoration: none; padding: 6px 0; }
}
@media (max-width: 860px) {
  .dirs { grid-template-columns: 1fr; }
  .dir { min-height: 240px; }
  .ban { grid-template-columns: 1fr; }
  .ban-l { clip-path: none; min-height: 340px; }
  .ban-r { padding: 36px var(--pad); }
  .pdp { grid-template-columns: minmax(0, 1fr); }
  .cart-layout { grid-template-columns: 1fr; }
  .pdp-info, .box { position: static; }
  .hdr-act .link.hide-m { display: none; }
}
@media (max-width: 640px) {
  .hdr-in { height: 64px; gap: 10px; }
  .search { display: none; }
  .hdr-act { margin-left: auto; gap: 8px; }
  .hdr-act .btn { padding: 0 14px; }
  .mnav { inset: 102px 0 0; }
  .grid4, .grid3 { gap: 12px; }
  .cd-body, .cat-body { padding: 12px 12px 14px; }
  .sizes { display: none; }
  .cd-name, .cat-name { font-size: 16px; }
  .price { font-size: 17px; }
  .price.ask { font-size: 14px; }
  .cat .arrow { display: none; }
  .add { width: 40px; height: 40px; font-size: 22px; }
  .hero { min-height: 560px; }
  .hero-copy { bottom: 28px; }
  .line { grid-template-columns: 80px minmax(0, 1fr); }
  .line img { width: 80px; height: 80px; }
  .line-r { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
  .ftr-top { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .mq-track { animation: none; }
  .rv { opacity: 1; transform: none; }
}
@media (max-width: 640px) { #pf { grid-template-columns: 1fr !important; } }

/* Phone: everything one step smaller (owner, 25.11). Kept last so it wins over the rules above. */
@media (max-width: 640px) {
  :root { --pad: 14px; }
  body { font-size: 15px; }
  .mq { height: 30px; font-size: 12px; }
  .mq-track span { padding: 0 14px; }
  .mq-track i { width: 4px; height: 4px; }
  .hdr-in { height: 54px; gap: 8px; }
  .logo svg { width: 112px; height: 40px; }
  .lang { font-size: 13px; padding: 4px; }
  .hdr-act .btn { height: 34px; padding: 0 12px; font-size: 13px; }
  .burger { width: 36px; height: 36px; }
  .mnav { inset: 84px 0 0; }
  .mnav a { font-size: 24px; }
  .btn { height: 44px; padding: 0 20px; font-size: 15px; }
  .btn-sm { height: 36px; padding: 0 14px; font-size: 13px; }

  .hero { height: 70svh; min-height: 420px; max-height: 560px; }
  .hero-bars { top: 14px; }
  .hero-copy { bottom: 20px; }
  .hero-cap { min-height: 120px; gap: 8px; margin-bottom: 18px; }
  .hero-cap h1, .hero-cap h2 { font-size: 38px; }
  .hero-cap p { font-size: 14px; }
  .hero-btns { gap: 8px; }

  .dir { min-height: 168px; padding: 20px var(--pad); }
  .dir .dz { font-size: 28px; }
  .dir img { width: 50%; height: 62%; }
  .dir-sub { left: var(--pad); bottom: 18px; width: 44%; font-size: 13px; }

  .sec { padding-top: 36px; padding-bottom: 36px; }
  .h2 { font-size: 30px; }
  .sec-head { margin-bottom: 16px; }
  .sec-head a { font-size: 14px; }
  .grid4, .grid3 { gap: 10px; }
  .cat-body { padding: 8px 10px 10px; gap: 6px; }
  .tag { font-size: 9px; padding: 4px 7px; }
  .cat-name, .cd-name { font-size: 14px; }
  .filters { gap: 6px; margin: 14px 0 18px 4px; }
  .fl { height: 32px; padding: 0 12px; font-size: 11px; line-height: 32px; }
  .badge { left: 8px; top: 8px; font-size: 10px; padding: 5px 8px; }
  .cd-body { padding: 10px 10px 12px; gap: 6px; border-top-width: 3px; }
  .cd-kind { font-size: 10px; }
  .price { font-size: 15px; }
  .price.ask { font-size: 12px; }
  .add { width: 34px; height: 34px; font-size: 20px; }

  .ban-l { min-height: 240px; }
  .ban-l div { left: var(--pad); bottom: 22px; gap: 12px; }
  .ban-l .dz { font-size: 34px; }
  .ban-r { padding: 24px var(--pad); gap: 14px; }
  .ban-r .dz { font-size: 28px; }
  .chip-dark { font-size: 11px; padding: 6px 10px; }

  .ftr { padding-top: 28px; padding-bottom: 24px; }
  .ftr .dz { font-size: 48px; }
  .ftr nav { gap: 14px; font-size: 14px; }
  .ftr-bot { margin-top: 20px; font-size: 12px; }

  .page-head { padding-top: 22px; }
  .crumbs { font-size: 12px; margin-bottom: 8px; }
  .side h3 { font-size: 15px; } .side a { padding: 4px 0; font-size: 14px; }
  .pdp { gap: 20px; }
  .pdp-info { gap: 12px; }
  .pdp-info h1 { font-size: 28px; }
  .pdp-price { font-size: 26px; }
  .pick button { min-width: 44px; height: 36px; font-size: 13px; }
  .qty { height: 44px; } .qty button { width: 38px; font-size: 18px; }
  .line { gap: 10px; padding: 12px 0; grid-template-columns: 64px minmax(0, 1fr); }
  .line img { width: 64px; height: 64px; }
  .line h3 { font-size: 14px; }
  .line .qty { height: 36px; } .line .qty button { width: 32px; }
  .box { padding: 18px; gap: 10px; }
  .box h2 { font-size: 22px; }
  .field input, .field select { height: 44px; font-size: 16px; }
  .field span { font-size: 13px; }
  .toast { bottom: 14px; padding: 10px 14px; font-size: 14px; }
}

/* ---------- shop pages: checkout, order, info, catalog tools ---------- */
.empty-state { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; padding: 56px 16px; }
.empty-state .dz { font-size: clamp(28px, 4vw, 48px); line-height: .95; }
.empty-state p { margin: 0; color: var(--muted); max-width: 44ch; }
.sum-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.pay-logos { display: flex; gap: 8px; flex-wrap: wrap; }
.pl { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 8px; font: 700 14px/1 Rubik; letter-spacing: -.01em; }
.pl.payme { background: #fff; color: #00a8b5; box-shadow: inset 0 0 0 1.5px #00ccd6; }
.pl.click { background: #fff; color: #0077ff; box-shadow: inset 0 0 0 1.5px #3d9bff; }
.pl.cash { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px #cfd3dc; font-weight: 500; }
.ftr .pl { box-shadow: none; }
.steps { display: flex; flex-direction: column; gap: 16px; }
.step { background: #fff; box-shadow: 0 0 0 1px var(--line); padding: 24px; }
.step h2 { margin: 0 0 16px; display: flex; align-items: center; gap: 12px; font: italic 900 22px/1 Rubik; text-transform: uppercase; }
.step h2 span { width: 32px; height: 32px; display: grid; place-items: center; background: var(--red); color: #fff; font-size: 16px; transform: skewX(-12deg); }
.step.off { opacity: .45; pointer-events: none; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
.pay-opts { display: grid; gap: 10px; }
.pay-opt { display: grid; grid-template-columns: 22px auto 1fr; align-items: center; gap: 12px; padding: 14px 16px; border: 1.5px solid #d6d9e0; cursor: pointer; transition: border-color .2s; }
.pay-opt:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.pay-opt input { width: 20px; height: 20px; accent-color: var(--red); margin: 0; }
.pay-opt.dis { opacity: .5; cursor: default; }
.pay-sub { color: var(--muted); font-size: 14px; }
.mini { display: grid; grid-template-columns: 48px 1fr auto; gap: 10px; align-items: center; font-size: 14px; }
.mini img { width: 48px; height: 48px; object-fit: cover; background: #fff; }
.btn-pay.payme { background: #00ccd6; color: #04252b; } .btn-pay.payme:hover { background: #00b8c1; }
.btn-pay.click { background: #0077ff; color: #fff; } .btn-pay.click:hover { background: #0066dd; }
.btn-pay.uzum { background: #7000ff; color: #fff; } .btn-pay.uzum:hover { background: #5f00db; }
.banner { padding: 16px 18px; margin: 0 0 24px; background: var(--paper); border-left: 4px solid var(--muted); }
.banner.ok { background: #eaf6ee; border-color: #1d7a46; }
.banner.warn { background: #fff4e5; border-color: #e08a00; }
.track { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 0; margin: 0 0 24px; counter-reset: s; }
.track li { position: relative; padding-top: 14px; font-size: 14px; font-weight: 500; color: var(--muted); border-top: 4px solid var(--line); }
.track li.on { color: var(--ink); border-color: var(--red); }
.facts { display: grid; grid-template-columns: 140px 1fr; gap: 8px 16px; margin: 24px 0 0; font-size: 15px; }
.facts dt { color: var(--muted); } .facts dd { margin: 0; }
.order-row { text-decoration: none; grid-template-columns: minmax(0, 1fr) auto; }
.order-row:hover h3 { color: var(--red); }
.auth-card { max-width: 460px; background: #fff; box-shadow: 0 0 0 1px var(--line); padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.prose { max-width: 760px; font-size: 17px; line-height: 1.6; }
.prose h2 { font: italic 900 24px/1.1 Rubik; text-transform: uppercase; margin: 36px 0 12px; }
.prose ul { padding-left: 20px; } .prose li { margin: 6px 0; }
.contacts { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 1px; background: var(--line); box-shadow: 0 0 0 1px var(--line); }
.contacts li { display: flex; justify-content: space-between; gap: 16px; padding: 18px 20px; background: #fff; }
.contacts span { color: var(--muted); }
.ftr-cols { display: flex; gap: clamp(28px, 5vw, 72px); flex-wrap: wrap; }
.ftr-cols nav { display: flex; flex-direction: column; gap: 8px; }
.ftr-cols b { font: italic 900 14px Rubik; text-transform: uppercase; color: #fff; margin-bottom: 4px; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px 20px; margin-bottom: 18px; flex-wrap: wrap; }
.tools { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.size-f { display: flex; gap: 6px; flex-wrap: wrap; }
.size-f .fl { height: 34px; line-height: 34px; padding: 0 12px; font-size: 12px; }
.sort select { height: 40px; border: 1.5px solid #d6d9e0; border-radius: 999px; padding: 0 14px; background: #fff; font-weight: 500; }
@media (max-width: 640px) {
  .step { padding: 16px; } .step h2 { font-size: 17px; } .step h2 span { width: 26px; height: 26px; font-size: 13px; }
  .form-grid { grid-template-columns: 1fr; }
  .track li { font-size: 11px; }
  .facts { grid-template-columns: 1fr; gap: 2px; } .facts dd { margin-bottom: 10px; }
  .prose { font-size: 15px; } .prose h2 { font-size: 19px; }
  .pay-opt { grid-template-columns: 20px auto; } .pay-sub { grid-column: 2; font-size: 13px; }
  .ftr-cols { gap: 24px; }
  .sort select { height: 36px; font-size: 13px; }
}
.pay-opt .pl { justify-self: start; }
@media (max-width: 1100px) {
  /* catalog on small screens: one swipeable row of categories instead of a tall sidebar */
  .side { flex-wrap: nowrap; overflow-x: auto; gap: 8px; margin: 0 calc(-1 * var(--pad)); padding: 0 var(--pad) 4px; scrollbar-width: none; }
  .side::-webkit-scrollbar { display: none; }
  .side > div { display: contents; }
  .side h3 { margin: 0; font: inherit; }
  .side a { flex: none; padding: 8px 14px; border-radius: 999px; background: var(--paper); font-size: 14px; white-space: nowrap; }
  .side h3 a { background: var(--ink); color: #fff; }
  .side a[aria-current] { background: var(--red); color: #fff !important; }
  .size-f { flex-wrap: nowrap; overflow-x: auto; max-width: 100%; scrollbar-width: none; }
  .tools { width: 100%; justify-content: space-between; flex-wrap: nowrap; }
  .tools .size-f { flex: 1; min-width: 0; }
}
@media (max-width: 640px) {
  .seg button { font-size: 13px; }
  .cat-layout { margin-top: 16px !important; gap: 16px; }
}
@media (max-width: 1100px) {
  .cat-layout { grid-template-columns: minmax(0, 1fr); }
  .toolbar, .tools { min-width: 0; }
}

/* ---------- header and hero, livelier (owner, 26.11: «слишком сухо») ---------- */
.ic { position: relative; width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--paper); color: var(--ink); display: grid; place-items: center; cursor: pointer; text-decoration: none; transition: background .2s, color .2s, transform .15s var(--ease); }
.ic:hover { background: var(--ink); color: #fff; } .ic:active { transform: scale(.94); }
.ic-cart { background: var(--ink); color: #fff; }
.ic-cart b { position: absolute; top: -3px; right: -3px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: var(--red); color: #fff; font: 700 11px/19px Rubik; text-align: center; box-shadow: 0 0 0 2px #fff; }
.show-m, .show-s { display: none !important; }
.burger { display: none; flex-direction: column; justify-content: center; gap: 4px; width: 42px; height: 42px; padding: 0 12px; border: 0; border-radius: 50%; background: var(--paper); cursor: pointer; }
.burger span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.tri { display: grid; grid-template-columns: 1.2fr 1fr 1.6fr; height: 4px; }
.tri i:nth-child(1) { background: var(--red); } .tri i:nth-child(2) { background: var(--navy); } .tri i:nth-child(3) { background: var(--blue); }
.msearch { display: flex; gap: 8px; padding: 0 var(--pad) 10px; }
.msearch[hidden] { display: none; }
.msearch input { flex: 1; min-width: 0; height: 44px; border: 0; border-radius: 999px; background: var(--paper); padding: 0 18px; font-size: 16px; }
.msearch .btn { width: 44px; height: 44px; padding: 0; }

.mnav { flex-direction: column; gap: 8px; }
.mnav-search input { width: 100%; height: 48px; border: 0; border-radius: 999px; background: var(--paper); padding: 0 18px; font-size: 16px; margin-bottom: 6px; }
.mnav a.mnav-dir { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px !important; color: #fff; font: italic 900 28px/1 Rubik; text-transform: uppercase; text-decoration: none;
  clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 100%, 0 100%); }
.mnav-dir.boxing { background: var(--red); } .mnav-dir.wrestling { background: var(--navy); } .mnav-dir.lifting { background: var(--blue); }
.mnav-dir.sale { background: #fff; color: var(--red) !important; box-shadow: inset 0 0 0 2px var(--red); clip-path: none; }
.mnav-dir i { font-style: normal; font-size: 22px; }
.mnav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; margin-top: 10px; }
.mnav-links a { font: 500 16px/1.3 Rubik !important; text-transform: none !important; padding: 8px 0 !important; }
.mnav-lang { align-self: flex-start; margin-top: 8px; height: 40px; padding: 0 18px; border: 1.5px solid #cfd3dc; border-radius: 999px; background: #fff; font-weight: 500; cursor: pointer; }
html.menu-open { overflow: hidden; }

.hero-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.hero-nav { display: flex; align-items: center; gap: 10px; }
.hn-btn { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.55); background: rgba(17,24,39,.25); color: #fff; font-size: 20px; cursor: pointer; backdrop-filter: blur(6px); transition: background .2s, border-color .2s, transform .15s var(--ease); }
.hn-btn:hover { background: #fff; color: var(--ink); border-color: #fff; } .hn-btn:active { transform: scale(.94); }
.hn-count { font: italic 900 18px/1 Rubik; color: rgba(255,255,255,.7); min-width: 70px; text-align: center; }
.hn-count b { color: #fff; font-size: 26px; }

@media (max-width: 860px) {
  .hide-m { display: none !important; }
  .show-m { display: grid !important; }
  .burger { display: flex; }
}
@media (max-width: 640px) {
  .show-s { display: grid !important; }
  .ic, .burger { width: 38px; height: 38px; }
  .burger { padding: 0 11px; }
  .hdr-act { gap: 6px; }
  .mnav { inset: 88px 0 0; }
  .mnav a.mnav-dir { font-size: 22px; padding: 14px 16px !important; }
  .hn-btn { width: 40px; height: 40px; font-size: 16px; }
  .hn-count { font-size: 14px; min-width: 52px; } .hn-count b { font-size: 20px; }
  .hero-row { flex-wrap: nowrap; align-items: center; }
  .hero-btns .btn { padding: 0 16px; }
}
@media (max-width: 380px) { .hero-nav .hn-count { display: none; } }
.hero-nav { position: absolute; right: var(--pad); bottom: 60px; z-index: 3; }
.hn-count { white-space: nowrap; }
@media (max-width: 640px) {
  .hero-nav { top: 14px; bottom: auto; gap: 6px; }
  .hn-btn { width: 36px; height: 36px; font-size: 15px; }
}
@media (max-width: 380px) { .hero-nav .hn-count { display: inline; } }

/* ---------- ticker (owner, 26.11: «бегущая строка тоже сухая») ---------- */
.mq { height: 42px; background: var(--navy); font: italic 900 14px/1 Rubik; text-transform: uppercase; letter-spacing: .02em; position: relative; }
.mq-tag { flex: none; position: relative; z-index: 2; height: 100%; display: flex; align-items: center; gap: 8px; padding: 0 26px 0 var(--pad); background: var(--red); color: #fff; text-decoration: none;
  clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 100%, 0 100%); }
.mq-tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: mqPulse 1.4s ease-in-out infinite; }
@keyframes mqPulse { 50% { opacity: .25; transform: scale(.7); } }
.mq-run { flex: 1; min-width: 0; overflow: hidden; height: 100%; display: flex; align-items: center; margin-left: -14px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 40px, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(90deg, transparent 0, #000 40px, #000 calc(100% - 40px), transparent); }
.mq-track { animation-duration: 32s; }
.mq-track span { padding: 0 20px; color: #fff; }
.mq-track span.alt { color: #ff8a98; }
.mq-track i { width: 14px; height: 4px; border-radius: 0; background: var(--red); transform: skewX(-25deg); box-shadow: 6px 0 0 var(--blue); margin-right: 6px; }
.mq:hover .mq-track { animation-play-state: paused; }
@media (max-width: 640px) {
  .mq { height: 34px; font-size: 12px; }
  .mq-tag { padding: 0 20px 0 var(--pad); font-size: 11px; gap: 6px; }
  .mq-tag::before { width: 6px; height: 6px; }
  .mq-track span { padding: 0 14px; }
  .mq-track i { width: 10px; height: 3px; box-shadow: 4px 0 0 var(--blue); }
  .mnav { inset: 92px 0 0; }
}
@media (max-width: 1100px) and (min-width: 641px) { .mnav { inset: 122px 0 0; } }
@media (prefers-reduced-motion: reduce) { .mq-tag::before { animation: none; } }

/* ---------- home: three shops showcase, hit of the week, the shop (owner, 26.11: «нечто креативное») ---------- */
.xp { padding-top: 72px; padding-bottom: 72px; --dc: var(--red); }
.xp[data-dir="wrestling"] { --dc: var(--navy); } .xp[data-dir="lifting"] { --dc: var(--blue); }
.xp-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px 32px; flex-wrap: wrap; margin-bottom: 28px; }
.xp-head p { margin: 0; max-width: 46ch; }
.xp-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 10px; }
.xp-tab { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 16px 20px; border: 0; cursor: pointer; text-align: left; background: var(--paper); color: var(--ink);
  clip-path: polygon(0 0, 100% 0, calc(100% - 16px) 100%, 0 100%); transition: background .3s var(--ease), color .3s var(--ease); }
.xp-tab:hover { background: #e6e8ee; }
.xp-mark { width: 46px; height: 46px; display: grid; place-items: center; font: italic 900 20px Rubik; color: #fff; background: var(--ink); transform: skewX(-12deg); transition: background .3s, color .3s; }
.xp-tab.boxing .xp-mark { background: var(--red); } .xp-tab.wrestling .xp-mark { background: var(--navy); } .xp-tab.lifting .xp-mark { background: var(--blue); }
.xp-tname { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.xp-tname b { font: italic 900 22px/1 Rubik; text-transform: uppercase; letter-spacing: -.02em; }
.xp-tname i { font-style: inherit; opacity: .5; }
.xp-tname small { font-size: 13px; font-weight: 500; opacity: .7; }
.xp-count { font: italic 900 30px/1 Rubik; opacity: .25; }
.xp-tab[aria-selected="true"] { color: #fff; }
.xp-tab.boxing[aria-selected="true"] { background: var(--red); } .xp-tab.wrestling[aria-selected="true"] { background: var(--navy); } .xp-tab.lifting[aria-selected="true"] { background: var(--blue); }
.xp-tab[aria-selected="true"] .xp-mark { background: #fff; color: var(--dc); }
.xp-tab.boxing[aria-selected="true"] .xp-mark { color: var(--red); } .xp-tab.wrestling[aria-selected="true"] .xp-mark { color: var(--navy); } .xp-tab.lifting[aria-selected="true"] .xp-mark { color: var(--blue); }
.xp-tab[aria-selected="true"] .xp-count { opacity: .6; }
.xp-panel { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 10px; min-height: 520px; }
.xp-visual { position: relative; overflow: hidden; background: var(--dc); text-decoration: none; color: #fff; min-height: 420px; transition: background .4s var(--ease); }
.xp-imgs img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity .6s var(--ease), transform 1.2s var(--ease); }
.xp-imgs img.on { opacity: 1; transform: scale(1); }
.xp-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(17,24,39,.85), rgba(17,24,39,0) 60%); }
.xp-word { position: absolute; left: 32px; bottom: 64px; z-index: 2; font-size: clamp(48px, 7vw, 108px); line-height: .86; max-width: 9ch; }
.xp-meta { position: absolute; left: 32px; bottom: 28px; z-index: 2; font-weight: 500; }
.xp-meta b { font: italic 900 20px Rubik; }
.xp-visual:hover .xp-meta { text-decoration: underline; }
.xp-index { list-style: none; margin: 0; padding: 8px 28px; background: var(--paper); display: flex; flex-direction: column; justify-content: center; counter-reset: x; }
.xp-index a { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto 28px; align-items: center; gap: 12px; padding: 16px 0; border-bottom: 1px solid #d6d9e0; text-decoration: none; color: var(--ink);
  transition: color .25s var(--ease), padding .35s var(--ease); }
.xp-index li:last-child a { border-bottom: 0; }
.xi-num { font: italic 700 14px Rubik; color: var(--muted); }
.xi-thumb { display: none; }
.xi-name { font: italic 900 clamp(24px, 2.6vw, 38px)/1 Rubik; text-transform: uppercase; letter-spacing: -.02em; overflow-wrap: anywhere; }
.xi-n { font: 500 14px Rubik; color: var(--muted); }
.xi-go { opacity: 0; transform: translateX(-8px); transition: opacity .25s, transform .35s var(--ease); font-size: 20px; color: var(--dc); }
.xp-index a.on, .xp-index a:hover { color: var(--dc); padding-left: 10px; }
.xp-index a.on .xi-go, .xp-index a:hover .xi-go { opacity: 1; transform: none; }
.xp-railhead { display: flex; justify-content: space-between; align-items: center; margin: 40px 0 18px; }
.xp-railhead h3 { margin: 0; font-size: 28px; }
.xp-arrows { display: flex; gap: 8px; }
.xp-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, calc((100% - 60px) / 4)); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 6px; }
.xp-rail::-webkit-scrollbar { display: none; }
.xp-rail .cd { scroll-snap-align: start; }

.spot { background: var(--paper); --dc: var(--red); }
.spot.wrestling { --dc: var(--navy); } .spot.lifting { --dc: var(--blue); }
.spot-in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; align-items: center; padding-top: 72px; padding-bottom: 72px; }
.spot-pic { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; background: #fff; }
.spot-band { position: absolute; inset: -10% -40% -10% 35%; background: var(--dc); transform: skewX(-18deg); }
.spot-pic img { position: absolute; inset: 6%; width: 88%; height: 88%; object-fit: cover; clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%); box-shadow: 0 30px 60px rgba(15,31,74,.25); transition: transform .6s var(--ease); }
.spot-pic:hover img { transform: scale(1.03); }
.spot-tag { position: absolute; left: 0; top: 28px; z-index: 2; background: var(--ink); color: #fff; padding: 10px 18px 10px 20px; font-size: 18px; clip-path: polygon(0 0, 100% 0, calc(100% - 12px) 100%, 0 100%); }
.spot-info { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.spot-info h2 { margin: 0; font-size: clamp(36px, 4.4vw, 64px); line-height: .92; }
.spot-info p { margin: 0; font-size: 17px; max-width: 44ch; }
.spot-price { display: flex; align-items: baseline; gap: 12px; }
.spot-price .dz { font-size: clamp(30px, 3vw, 42px); color: var(--dc); }
.spot-price s { color: var(--muted); font-size: 18px; }
.spot-l { margin: 0 0 10px; font-weight: 500; }
.spot-btns { display: flex; gap: 10px; flex-wrap: wrap; }

.store { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.store::before { content: ""; position: absolute; right: -10%; top: 0; bottom: 0; width: 45%; background: var(--blue); transform: skewX(-18deg); opacity: .35; }
.store-in { position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 72px; }
.store-l { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.store-l h2 { margin: 0; font-size: clamp(44px, 6vw, 92px); line-height: .88; }
.store-txt { margin: 0; font-size: 18px; max-width: 44ch; color: #d5dae6; }
.store-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.store-r { display: flex; flex-direction: column; gap: 10px; }
.acc { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; background: #fff; color: var(--ink); padding: 16px 20px; clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 100%, 0 100%); }
.acc-mark { width: 52px; height: 52px; display: grid; place-items: center; color: #fff; font: italic 900 20px Rubik; transform: skewX(-12deg); background: var(--red); }
.acc.wrestling .acc-mark { background: var(--navy); } .acc.lifting .acc-mark { background: var(--blue); }
.acc-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.acc-body b { font: italic 900 20px/1 Rubik; text-transform: uppercase; }
.acc-body > span { color: var(--muted); font-size: 14px; }
.acc-links { display: flex; gap: 14px; margin-top: 4px; }
.acc-links a { font-weight: 500; font-size: 14px; }

@media (max-width: 1100px) {
  .xp-rail { grid-auto-columns: minmax(240px, calc((100% - 20px) / 2.4)); }
  .spot-in, .store-in { gap: 32px; }
}
@media (max-width: 860px) {
  .xp-panel { grid-template-columns: 1fr; }
  .xp-visual { min-height: 300px; }
  .spot-in, .store-in { grid-template-columns: 1fr; }
  .store::before { width: 70%; right: -40%; }
}
@media (max-width: 640px) {
  .xp { padding-top: 40px; padding-bottom: 40px; }
  .xp-head { margin-bottom: 16px; } .xp-head p { font-size: 14px; }
  .xp-tabs { gap: 6px; }
  .xp-tab { grid-template-columns: 1fr; justify-items: start; gap: 8px; padding: 12px 12px 12px 10px; clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 100%, 0 100%); }
  .xp-mark { width: 34px; height: 34px; font-size: 15px; }
  .xp-tname b { font-size: 13px; } .xp-tname i { display: none; } .xp-tname small { display: none; }
  .xp-count { display: none; }
  .xp-visual { min-height: 220px; }
  .xp-word { left: 16px; bottom: 44px; font-size: 40px; } .xp-meta { left: 16px; bottom: 16px; font-size: 13px; }
  .xp-index { padding: 4px 14px; }
  .xp-index a { grid-template-columns: 56px minmax(0, 1fr) auto 18px; gap: 10px; padding: 10px 0; }
  .xp-index a.on, .xp-index a:hover { padding-left: 0; }
  .xi-num { display: none; }
  .xi-thumb { display: block; width: 56px; height: 44px; object-fit: cover; clip-path: polygon(0 0, 100% 0, 100% 80%, 0 100%); }
  .xi-name { font-size: 18px; } .xi-go { opacity: 1; transform: none; font-size: 16px; }
  .xp-railhead { margin: 24px 0 12px; } .xp-railhead h3 { font-size: 20px; } .xp-arrows { display: none; }
  .xp-rail { grid-auto-columns: 44%; gap: 10px; margin: 0 calc(-1 * var(--pad)); padding: 0 var(--pad) 6px; scroll-padding: 0 var(--pad); }
  .spot-in, .store-in { padding-top: 40px; padding-bottom: 40px; gap: 22px; }
  .spot-tag { font-size: 13px; top: 14px; padding: 7px 14px 7px 14px; }
  .spot-info { gap: 12px; } .spot-info h2 { font-size: 30px; } .spot-info p { font-size: 15px; }
  .store-l { gap: 14px; } .store-l h2 { font-size: 40px; } .store-txt { font-size: 15px; }
  .acc { padding: 12px 14px; gap: 12px; } .acc-mark { width: 40px; height: 40px; font-size: 15px; } .acc-body b { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) { .xp-imgs img { transition: none; } }
@media (max-width: 1100px) and (min-width: 641px) {
  .xp-tab { gap: 10px; padding: 14px; }
  .xp-tname b { font-size: 16px; } .xp-tname i { display: none; }
  .xp-count { display: none; }
}

/* other companies only as their app icons (owner, 26.11) */
.appi { display: inline-block; width: 28px; height: 28px; border-radius: 23%; vertical-align: middle; object-fit: cover; flex: none; background: #fff; }
.appi.lg { width: 40px; height: 40px; }
.appi.onbtn { width: 24px; height: 24px; margin-left: 2px; }
.appi.inline { width: 22px; height: 22px; margin: -3px 2px 0; }
img.appi[src$=".svg"] { padding: 3px; }
.appl { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; transition: transform .15s var(--ease); }
.appl:hover { transform: translateY(-2px); }
.pay-logos { align-items: center; }
.pay-logos .appi { width: 34px; height: 34px; }
.ftr-bot .appi { width: 30px; height: 30px; }
.acc-links { gap: 10px; } .acc-links .appi { width: 32px; height: 32px; }
.btn-map { gap: 10px; }
.contacts li > span { display: flex; align-items: center; }
.ftr-bot { align-items: center; }
.ftr-bot > span { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.prose .appi.inline { width: 28px; height: 28px; margin-top: -4px; }

/* ---------- Guiding the buyer (owner, 26.11: the audience must be led very simply) ---------- */
.fab-help { position: fixed; right: 16px; bottom: 16px; z-index: 40; display: flex; align-items: center; gap: 10px; padding: 8px 18px 8px 8px; border-radius: 999px; background: #fff; color: var(--ink); text-decoration: none; font: 500 15px Rubik, sans-serif; box-shadow: 0 8px 28px rgba(15,31,74,.22); transition: transform .2s var(--ease); }
.fab-help:hover { transform: translateY(-2px); }
.fab-help .appi { width: 36px; height: 36px; }
@media (max-width: 640px) { .fab-help { padding: 6px; } .fab-help span { display: none; } .fab-help .appi { width: 44px; height: 44px; } }
body:has(.buybar.on) .fab-help { bottom: 92px; }

.size-h { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 0 0 10px; font-size: 17px; }
.link-btn { border: 0; background: none; padding: 0; color: var(--blue, #1f3fae); font: 500 15px Rubik, sans-serif; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.size-tip { margin-top: 12px; padding: 14px 16px; background: #eef1fb; border-left: 4px solid var(--blue, #1f3fae); font-size: 15px; line-height: 1.5; }
.shake { animation: shake .45s; } @keyframes shake { 20%,60% { transform: translateX(-6px); } 40%,80% { transform: translateX(6px); } }
#size .err { font-weight: 700; font-size: 16px; }
.btn-1click { width: 100%; flex-direction: column; height: auto; min-height: 56px; padding: 10px 20px; gap: 2px; line-height: 1.15; }
.btn-1click small { font-weight: 400; font-size: 13px; opacity: .75; }
.help-line { margin: 0; font-size: 15px; color: #5b6478; } .help-line a { color: var(--ink); font-weight: 500; }
.toast-go { font-weight: 700; }

.buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 39; display: none; align-items: center; gap: 12px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: #fff; box-shadow: 0 -6px 24px rgba(15,31,74,.14); transform: translateY(110%); transition: transform .3s var(--ease); }
.buybar > div { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.buybar b { font: italic 900 20px Rubik; color: var(--blue, #1f3fae); } .buybar span { font-size: 13px; color: #5b6478; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.buybar .btn { flex: none; }
@media (max-width: 860px) { .buybar { display: flex; } .buybar.on { transform: none; } }

.dlg { border: 0; padding: 0; width: min(440px, calc(100vw - 24px)); box-shadow: 0 24px 60px rgba(0,0,0,.35); }
.dlg::backdrop { background: rgba(15,31,74,.55); }
.dlg-in { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 28px 24px 24px; }
.dlg-x { position: absolute; top: 8px; right: 10px; border: 0; background: none; font-size: 30px; line-height: 1; cursor: pointer; color: #5b6478; }
.btn-big { min-height: 58px; font-size: 18px; width: 100%; }

.step-hint { margin: -4px 0 14px; color: #5b6478; font-size: 15px; }
.choice { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.choice-opt { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 16px 16px 16px 48px; border: 2px solid #d6d9e0; cursor: pointer; transition: border-color .2s, background .2s; }
.choice-opt input { position: absolute; left: 16px; top: 18px; width: 20px; height: 20px; accent-color: var(--red); }
.choice-opt b { font-size: 17px; } .choice-opt small { color: #5b6478; font-size: 14px; }
.choice-opt:has(input:checked) { border-color: var(--red); background: #fff5f6; }
@media (max-width: 560px) { .choice { grid-template-columns: 1fr; } }
.field.bad input, .field.bad textarea { border-color: var(--red) !important; box-shadow: 0 0 0 3px rgba(224,25,51,.15); }
.banner.big { font-size: 18px; padding: 20px 22px; }

/* ---------- 26.11 (2): icons, cards, filters, hits, footer shop ---------- */
.i { display: block; flex: none; }
/* header buttons on a phone: light, no fill, one line weight (Lucide) */
@media (max-width: 860px) {
  .hdr-act { gap: 2px; }
  .ic, .burger { width: 40px; height: 40px; background: transparent; }
  .ic .i { width: 22px; height: 22px; }
  .ic:hover { background: var(--paper); }
  .ic-cart { background: transparent; color: var(--ink); }
  .ic-cart b { top: 1px; right: 0; min-width: 17px; height: 17px; font-size: 10px; line-height: 17px; }
  .burger { padding: 0 10px; gap: 4px; }
  .burger span { height: 1.9px; }
}
@media (max-width: 640px) { .ic, .burger { width: 38px; height: 38px; } }

/* card: name, price and one way forward — the product page */
.cd .go { display: inline-flex; align-items: center; gap: 6px; flex: none; height: 40px; padding: 0 14px; border-radius: 999px; background: var(--ink); color: #fff; font: 500 14px Rubik, sans-serif; transition: background .2s; }
.cd .go .i { width: 16px; height: 16px; }
.cd:hover .go { background: var(--red); }
.cd .cd-foot { flex-wrap: wrap; row-gap: 10px; }
@media (max-width: 640px) { .cd .go { height: 34px; padding: 0 11px; font-size: 13px; width: 100%; justify-content: center; } }

/* catalog filters */
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.fbtn { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 6px 14px; border: 1.5px solid #d6d9e0; border-radius: 14px; background: #fff; color: var(--ink); font: 500 15px Rubik, sans-serif; text-align: left; cursor: pointer; }
.fbtn span { display: flex; flex-direction: column; line-height: 1.2; } .fbtn small { font-size: 12px; color: var(--muted); font-weight: 400; }
.fbtn .i { width: 20px; height: 20px; color: var(--muted); } .fbtn .i:last-child { width: 18px; height: 18px; margin-left: 2px; }
.fbtn.on { border-color: var(--ink); }
.fbtn-cat { display: none; }
.fclear { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; color: var(--red); font: 500 14px Rubik, sans-serif; cursor: pointer; }
.fclear .i { width: 16px; height: 16px; }
@media (max-width: 1100px) {
  .side { display: none !important; }
  .fbtn-cat { display: inline-flex; }
}
@media (max-width: 640px) {
  .filters { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .fbtn-cat { grid-column: 1 / -1; }
  .fbtn { min-height: 50px; padding: 6px 12px; font-size: 14px; }
  .fbtn > .i:first-child { display: none; } .fbtn > .i:last-child { margin-left: auto; }
  .fclear { grid-column: 1 / -1; justify-content: center; }
}
.sheet { border: 0; padding: 0; margin: auto auto 0; width: 100%; max-width: 560px; max-height: 85vh; border-radius: 20px 20px 0 0; animation: sheet-up .28s var(--ease); }
@media (min-width: 700px) { .sheet { margin: auto; border-radius: 20px; } }
.sheet::backdrop { background: rgba(15,31,74,.5); }
@keyframes sheet-up { from { transform: translateY(40px); opacity: 0; } }
.sh-in { display: flex; flex-direction: column; max-height: 85vh; }
.sh-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px 10px; }
.sh-head b { font-size: 24px; }
.sh-x { width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--paper); display: grid; place-items: center; cursor: pointer; }
.sh-body { overflow-y: auto; padding: 0 12px calc(16px + env(safe-area-inset-bottom)); }
.sh-group { margin: 16px 8px 4px; font: italic 900 14px Rubik; text-transform: uppercase; color: var(--muted); }
.sh-opt { display: flex; width: 100%; justify-content: space-between; align-items: center; gap: 12px; min-height: 54px; padding: 0 12px; border: 0; border-bottom: 1px solid #eceef2; background: none; color: var(--ink); text-decoration: none; font: 500 17px Rubik, sans-serif; text-align: left; cursor: pointer; }
.sh-opt .i { width: 20px; height: 20px; color: #9aa1af; }
.sh-opt.on { color: var(--red); } .sh-opt.on .i { color: var(--red); }
.sh-sizes { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 10px; padding: 6px 8px 8px; }
.sh-sizes button { height: 56px; border: 1.5px solid #d6d9e0; border-radius: 12px; background: #fff; font: 700 18px Rubik, sans-serif; cursor: pointer; }
.sh-sizes button.on { border-color: var(--red); background: var(--red); color: #fff; }

/* hits ribbon */
.hits { padding-top: 56px; padding-bottom: 24px; }
.hits-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 20px; }
.link-more { color: var(--ink); font-weight: 500; text-decoration: none; white-space: nowrap; } .link-more:hover { color: var(--red); }
.hits-rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 4); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 6px; }
.hits-rail::-webkit-scrollbar { display: none; }
.hits-rail .cd { scroll-snap-align: start; }
.hits-dots { display: flex; justify-content: center; gap: 6px; margin-top: 14px; }
.hits-dots i { width: 6px; height: 6px; border-radius: 3px; background: #cfd3dc; transition: width .3s var(--ease), background .3s; }
.hits-dots i.on { width: 22px; background: var(--red); }
@media (max-width: 1100px) { .hits-rail { grid-auto-columns: calc((100% - 32px) / 3); } }
@media (max-width: 640px) { .hits { padding-top: 36px; padding-bottom: 12px; } .hits-rail { grid-auto-columns: 58%; gap: 12px; } }

/* footer: the shop, compact, single-colour icons */
.ftr-shop { display: flex; flex-direction: column; gap: 8px; min-width: 220px; }
.ftr-shop > a { display: flex; align-items: center; gap: 8px; color: #c3c9d6; text-decoration: none; font-weight: 500; } .ftr-shop > a:hover { color: #fff; }
.ftr-shop .i { width: 18px; height: 18px; }
.ftr-acc { display: flex; align-items: center; gap: 10px; color: #c3c9d6; font-size: 14px; }
.ftr-acc span { min-width: 112px; }
.ftr-acc a { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1px solid rgba(255,255,255,.22); color: #fff; transition: background .2s, color .2s; }
.ftr-acc a:hover { background: #fff; color: var(--navy); }
.ftr-acc .i { width: 16px; height: 16px; }
.ftr-acc:first-of-type { margin-top: 6px; }
/* help button: single colour */
.fab-help { background: var(--navy); color: #fff; padding: 8px 18px 8px 10px; }
.fab-help .i { width: 26px; height: 26px; padding: 4px; border-radius: 50%; background: rgba(255,255,255,.12); box-sizing: content-box; }
@media (max-width: 640px) { .fab-help { padding: 10px; } .fab-help .i { width: 24px; height: 24px; padding: 0; background: none; } }
.hn-btn { display: grid; place-items: center; } .hn-btn .i { width: 20px; height: 20px; }
.ftr-bot { padding-right: 64px; } @media (min-width: 641px) { .ftr-bot { padding-right: 240px; } }

/* ---------- footer, redone (owner, 26.11: «оформи футер красиво и распредели всё нормально») ---------- */
.ftx { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.ftx::before { content: ''; position: absolute; inset: 0 auto 0 62%; width: 60%; background: #16286a; transform: skewX(-14deg); transform-origin: top; pointer-events: none; }
.ftx > * { position: relative; }
.ftx a { color: inherit; }
.ftx-in { display: grid; grid-template-columns: 1.25fr 1.15fr .7fr .8fr; gap: 40px 56px; padding-top: 64px; padding-bottom: 48px; }
.ftx-h { display: block; margin-bottom: 18px; font: italic 900 15px Rubik; text-transform: uppercase; letter-spacing: .02em; color: #fff; }
.ftx-logo { display: inline-block; line-height: 0; }
.ftx-slogan { margin: 14px 0 24px; max-width: 30ch; font-size: 15px; line-height: 1.45; color: #aeb6c8; }
.ftx-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.ftx-btn { display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 20px; border-radius: 999px; background: #fff; color: var(--navy) !important; font: 700 16px Rubik, sans-serif; text-decoration: none; white-space: nowrap; transition: transform .15s var(--ease), background .2s; }
.ftx-btn .i { width: 18px; height: 18px; }
.ftx-btn.line { background: transparent; color: #fff !important; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.35); font-weight: 500; }
.ftx-btn:hover { transform: translateY(-1px); } .ftx-btn.line:hover { box-shadow: inset 0 0 0 1.5px #fff; }
.ftx-addr { display: flex; gap: 12px; align-items: flex-start; margin-top: 24px; text-decoration: none; font-weight: 500; line-height: 1.35; }
.ftx-addr .i { width: 20px; height: 20px; margin-top: 1px; color: var(--red); }
.ftx-addr small { display: block; margin-top: 4px; font-size: 13px; color: #aeb6c8; font-weight: 400; }
.ftx-addr:hover small { color: #fff; }

.ftx-shops { display: flex; flex-direction: column; }
.ftx-shop { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px solid rgba(255,255,255,.12); }
.ftx-shop:last-child { border-bottom: 1px solid rgba(255,255,255,.12); }
.ftx-mark { display: grid; place-items: center; width: 42px; height: 30px; font: italic 900 14px Rubik; transform: skewX(-12deg); background: var(--red); }
.ftx-shop.wrestling .ftx-mark { background: #fff; color: var(--navy); }
.ftx-shop.lifting .ftx-mark { background: #1f3fae; }
.ftx-name { font-weight: 500; font-size: 16px; line-height: 1.2; }
.ftx-name small { display: block; margin-top: 2px; font-size: 13px; font-weight: 400; color: #aeb6c8; }
.ftx-soc { display: flex; gap: 8px; }
.ftx-soc a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08); transition: background .2s, color .2s; }
.ftx-soc a:hover { background: #fff; color: var(--navy); }
.ftx-soc .i { width: 17px; height: 17px; }

.ftx-nav { display: flex; flex-direction: column; gap: 12px; }
.ftx-nav a { text-decoration: none; color: #c9cfdc; font-weight: 500; width: fit-content; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: color .2s, background-size .25s var(--ease); }
.ftx-nav a:hover { color: #fff; background-size: 100% 1.5px; }

.ftx-bot { display: flex; justify-content: space-between; align-items: center; gap: 16px 32px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 26px; border-top: 1px solid rgba(255,255,255,.12); font-size: 14px; color: #aeb6c8; }
.ftx-pay { display: flex; align-items: center; gap: 12px; }
.ftx-pay .appi { width: 30px; height: 30px; }
.ftx-pay .pl { box-shadow: none; }
.ftx-legal { display: flex; flex-wrap: wrap; gap: 6px 20px; padding-right: 220px; }
.ftx-legal a { text-decoration: none; } .ftx-legal a:hover { color: #fff; }

@media (max-width: 1100px) {
  .ftx-in { grid-template-columns: 1fr 1fr; }
  .ftx::before { inset: 0 auto 0 70%; }
}
@media (max-width: 640px) {
  .ftx::before { display: none; }
  .ftx-in { grid-template-columns: 1fr 1fr; gap: 36px 20px; padding-top: 40px; padding-bottom: 32px; }
  .ftx-brand, .ftx-shops { grid-column: 1 / -1; }
  .ftx-logo svg { width: 140px; height: 50px; }
  .ftx-slogan { margin: 10px 0 18px; font-size: 14px; }
  .ftx-cta { display: grid; grid-template-columns: 1fr; }
  .ftx-btn { justify-content: center; height: 52px; }
  .ftx-shops { padding: 6px 16px; border-radius: 16px; background: rgba(255,255,255,.05); }
  .ftx-shops .ftx-h { margin: 12px 0 6px; }
  .ftx-shop:first-of-type { border-top: 0; } .ftx-shop:last-child { border-bottom: 0; }
  .ftx-nav { gap: 10px; font-size: 15px; }
  .ftx-h { margin-bottom: 12px; }
  .ftx-bot { flex-direction: column; align-items: flex-start; gap: 14px; padding-bottom: 88px; font-size: 13px; }
  .ftx-legal { padding-right: 0; gap: 6px 16px; }
}

/* ---------- 26.11 (3) ---------- */
/* hero: no arrows or counter — swipe and auto-advance only */
.hero-nav { display: none !important; }
/* sport tabs */
.xp-tab { grid-template-columns: minmax(0, 1fr) auto; min-height: 76px; }
.xp-tname b { font-size: clamp(16px, 2vw, 26px); line-height: 1.05; }
.xp-tname small { display: block !important; }
.xp-arr .i { width: 22px; height: 22px; opacity: .45; transition: transform .25s var(--ease), opacity .2s; }
.xp-tab[aria-selected="true"] .xp-arr .i { opacity: 1; transform: translateX(3px); }
@media (max-width: 640px) {
  .xp-tab { min-height: 64px; padding: 10px 12px; grid-template-columns: 1fr; align-content: center; }
  .xp-tname b { font-size: 14px; } .xp-tname small { font-size: 11px; }
  .xp-arr { display: none; }
}
/* every card picture the same frame, whatever the photo */
.cd { display: flex; flex-direction: column; }
.cd-pic { aspect-ratio: 4 / 3.4; flex: none; }
.cd-pic img { position: absolute; inset: 0; }
/* payment marks: single colour */
.pay-mono { display: inline-flex; align-items: center; gap: 14px; flex-wrap: wrap; color: inherit; }
.pay-mono .pm { display: block; height: 26px; width: auto; }
.pm-cash { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; font-size: 14px; }
.pm-cash .i { width: 22px; height: 22px; }
.ftx-pay { color: #fff; }
/* the sport panel keeps one size whichever tab is open */
.xp-panel { height: 560px; min-height: 0; }
.xp-visual { min-height: 0; height: 100%; }
.xp-index { overflow: hidden; }
.xi-thumb { aspect-ratio: 56 / 44; flex: none; }
@media (max-width: 1100px) { .xp-panel { height: auto; } .xp-visual { height: auto; aspect-ratio: 16 / 10; } }
@media (max-width: 640px) { .xp-visual { aspect-ratio: 4 / 3; } .xp-index li { min-height: 64px; } }

/* ---------- 26.11 (4): category tiles, two different rails, no wobble on touch ---------- */
/* hover lift only where there is a real pointer; on a phone a tap left the card 4px up and the rail scrolled vertically */
@media (hover: none) {
  .cd:hover { transform: none; box-shadow: none; }
  .cd:hover .cd-pic img { transform: none; }
}
.xp-rail, .hits-rail { overflow-y: hidden; overscroll-behavior-x: contain; touch-action: pan-x pan-y; }

/* category tiles: photo, name on it at the bottom */
.xp-index { padding: 0; background: none; display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; gap: 10px; }
.xp-index li { min-height: 0; }
.xp-index[data-n="1"], .xp-index[data-n="2"] { grid-template-columns: 1fr; }
.xp-index[data-n="3"] li:first-child, .xp-index[data-n="5"] li:first-child { grid-column: 1 / -1; }
.ct { position: relative; display: block; height: 100%; min-height: 120px; overflow: hidden; color: #fff; text-decoration: none; background: var(--navy); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%); }
.ct img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .4s; filter: brightness(.82); }
.ct::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,16,36,.92) 0%, rgba(10,16,36,.35) 42%, rgba(10,16,36,0) 70%); }
.ct-name { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 10px; font: italic 900 clamp(17px, 1.7vw, 24px)/1 Rubik; text-transform: uppercase; letter-spacing: -.01em; }
.ct-name i { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 50%; background: var(--dc, var(--red)); transform: translateX(-6px); opacity: 0; transition: transform .3s var(--ease), opacity .3s; }
.ct-name .i { width: 16px; height: 16px; }
.ct-n { position: absolute; top: 12px; right: 12px; z-index: 1; min-width: 28px; height: 28px; padding: 0 8px; display: grid; place-items: center; border-radius: 999px; background: rgba(255,255,255,.16); backdrop-filter: blur(6px); font: 700 13px Rubik; }
@media (hover: hover) {
  .ct:hover img { transform: scale(1.06); filter: brightness(.95); }
  .ct:hover .ct-name i { transform: none; opacity: 1; }
}
.ct.on .ct-name i { transform: none; opacity: 1; }
@media (max-width: 1100px) { .xp-index { grid-auto-rows: 150px; } }
@media (max-width: 640px) {
  .xp-index { gap: 8px; grid-auto-rows: 128px; }
  .xp-index[data-n="3"] li:first-child, .xp-index[data-n="5"] li:first-child { grid-row: span 1; }
  .ct-name { left: 12px; right: 10px; bottom: 11px; font-size: 15px; }
  .ct-name i { display: none; }
  .ct-n { top: 8px; right: 8px; height: 24px; min-width: 24px; font-size: 12px; }
}

/* «Сейчас в разделе»: compact horizontal cards — picture left, text right */
.xp-rail .cd { flex-direction: row; min-height: 0; }
.xp-rail .cd-pic { width: 44%; aspect-ratio: auto; flex: none; }
.xp-rail .cd-pic img { clip-path: polygon(0 0, 100% 0, 86% 100%, 0 100%); }
.xp-rail .cd-pic .badge { font-size: 10px; }
.xp-rail .cd-body { flex: 1; min-width: 0; padding: 14px 14px 14px 6px; gap: 6px; }
.xp-rail .cd-kind { display: none; }
.xp-rail .cd-name { font-size: 16px; }
.xp-rail .price { font-size: 17px; }
.xp-rail .cd .go { height: 34px; padding: 0 12px; font-size: 13px; }
.xp-rail { grid-auto-columns: minmax(340px, calc((100% - 40px) / 3)); }
@media (max-width: 640px) {
  .xp-rail { grid-auto-columns: 84%; }
  .xp-rail .cd { min-height: 150px; }
  .xp-rail .cd-name { font-size: 14px; }
  .xp-rail .price { font-size: 15px; }
  .xp-rail .cd .go { width: auto; }
}

/* «Хиты недели»: a dark stage, the card in focus is full size, the others step back */
.hits { position: relative; background: var(--navy); color: #fff; max-width: none; padding-left: 0; padding-right: 0; overflow: hidden; }
.hits::before { content: ''; position: absolute; inset: 0 0 auto 55%; height: 100%; background: #16286a; transform: skewX(-14deg); transform-origin: top; }
.hits > * { position: relative; }
.hits-head { max-width: var(--max, 1320px); margin: 0 auto 22px; padding: 0 var(--pad); }
.hits-head h2 { color: #fff; } .hits .link-more { color: #fff; }
.hits-rail { padding: 10px max(var(--pad), calc((100% - var(--max, 1320px)) / 2 + var(--pad))) 12px; scroll-padding: 0 max(var(--pad), calc((100% - var(--max, 1320px)) / 2 + var(--pad))); grid-auto-columns: 300px; gap: 18px; }
.hits-rail .cd { transition: transform .45s var(--ease), opacity .45s var(--ease); transform: scale(.92); opacity: .55; transform-origin: center bottom; }
.hits-rail .cd.focus { transform: none; opacity: 1; box-shadow: 0 24px 50px rgba(0,0,0,.35); }
.hits-dots i { background: rgba(255,255,255,.25); }
@media (max-width: 640px) { .hits-rail { grid-auto-columns: 66%; gap: 12px; } }
@media (prefers-reduced-motion: reduce) { .hits-rail .cd { transition: none; } }
.hits { padding-left: var(--pad); padding-right: var(--pad); }
.hits-head { max-width: none; padding: 0; }
.hits-rail { padding: 10px 0 12px; scroll-padding: 0; }
@media (max-width: 640px) { .hits-rail { margin: 0 calc(-1 * var(--pad)); padding: 10px var(--pad) 12px; scroll-padding: 0 var(--pad); } }
/* fixes: tiles override the old list-row styles; hits cards keep their own colours */
.xp-index a.ct { display: block; padding: 0; border: 0; color: #fff; grid-template-columns: none; }
.xp-index a.ct.on, .xp-index a.ct:hover { color: #fff; padding: 0; }
.ct::after { z-index: 0; } .ct-name, .ct-n { z-index: 2; }
.ct.on .ct-name, .ct .ct-name { color: #fff; }
.hits .cd { color: var(--ink); }
.hits-rail .cd { transform: none; opacity: 1; }
@media (max-width: 640px) {
  .hits-rail .cd { transform: scale(.92); filter: brightness(.6); transition: transform .45s var(--ease), filter .45s var(--ease); }
  .hits-rail .cd.focus { transform: none; filter: none; }
}
.ct, .ct .ct-name, .xp-index a.ct, .xp-index a.ct.on, .xp-index a.ct:hover { color: #fff !important; } .ct-name { text-shadow: 0 1px 12px rgba(0,0,0,.45); }

/* ---------- 26.11 (5): language in the header, menu screen redone ---------- */
.lang-seg { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--paper); flex: none; }
.lang-seg button { height: 30px; min-width: 38px; padding: 0 10px; border: 0; border-radius: 999px; background: none; color: var(--muted); font: 700 13px Rubik, sans-serif; cursor: pointer; transition: background .2s, color .2s; }
.lang-seg button[aria-pressed="true"] { background: var(--ink); color: #fff; }
@media (max-width: 640px) {
  .lang-seg { padding: 2px; } .lang-seg button { height: 28px; min-width: 32px; padding: 0 7px; font-size: 12px; }
}
.mnav.open { position: fixed; inset: auto 0 0 0 !important; top: var(--mtop, 96px) !important; z-index: 39; display: flex; flex-direction: column; gap: 14px; padding: 16px var(--pad) calc(24px + env(safe-area-inset-bottom)); background: #fff; overflow-y: auto; overscroll-behavior: contain; }
.mnav-search { position: relative; }
.mnav-search .i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); }
.mnav-search input { height: 50px; padding-left: 44px !important; margin: 0 !important; }
.mnav-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mnav .mt { position: relative; display: flex; align-items: flex-end; height: 104px; padding: 12px 14px !important; overflow: hidden; color: #fff !important; text-decoration: none; background: var(--navy); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%); }
.mnav .mt img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.7); }
.mnav .mt::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,16,36,.85), rgba(10,16,36,0) 65%); }
.mnav .mt span { position: relative; z-index: 1; font: italic 900 17px/1.05 Rubik; text-transform: uppercase; text-shadow: 0 1px 10px rgba(0,0,0,.4); }
.mnav .mt.boxing { grid-column: 1 / -1; height: 120px; }
.mnav .mt.sale { background: var(--red); }
.mnav .mt.sale::after { display: none; }
.mnav .mt.sale b { position: absolute; right: 12px; top: 2px; font: italic 900 64px/1 Rubik; opacity: .25; }
.mnav-list { display: flex; flex-direction: column; border-top: 1px solid #eceef2; }
.mnav .mnav-list a { display: grid; grid-template-columns: 36px 1fr 18px; align-items: center; gap: 14px; padding: 11px 2px !important; border-bottom: 1px solid #eceef2; color: var(--ink); text-decoration: none; font: 500 16px Rubik, sans-serif !important; text-transform: none !important; }
.mnav-list .mi { width: 36px; height: 36px; border-radius: 10px; background: var(--navy); color: #fff; display: grid; place-items: center; transform: skewX(-8deg); }
.mnav-list .mi.red { background: var(--red); }
.mnav-list .mi svg { width: 19px; height: 19px; transform: skewX(8deg); }
.mnav-list .i:last-child { width: 18px; height: 18px; color: #b5bbc7; }
.mnav-cta { display: grid; grid-template-columns: 1.4fr 1fr; gap: 8px; margin-top: auto; }
.mnav-cta .ftx-btn { justify-content: center; height: 50px; padding: 0 12px; font-size: 15px; background: var(--ink); color: #fff !important; }
.mnav-cta .ftx-btn.dark { background: var(--paper); color: var(--ink) !important; box-shadow: none; }
.mnav-dir, .mnav-links, .mnav-lang { display: none !important; }
.mnav .mt.sale { grid-column: 1 / -1; height: 64px; align-items: center; }
.mnav .mt.sale b { top: 50%; transform: translateY(-50%); font-size: 48px; }
.mnav .mnav-cta a { font: 600 15px Rubik, sans-serif !important; text-transform: none !important; padding: 0 12px !important; white-space: nowrap; }
.mnav-cta { margin-top: 6px; }
html.menu-open .fab-help { display: none; }

/* ---------- 26.11 (6): lighter ticker, smaller header on a phone ---------- */
.mq { font-weight: 600; font-size: 12px; letter-spacing: .04em; height: 36px; }
.mq-tag { font-weight: 800; font-size: 12px; }
@media (max-width: 640px) {
  .mq { height: 28px; font-size: 10.5px; letter-spacing: .05em; }
  .mq-tag { font-size: 10px; padding: 0 16px 0 var(--pad); }
  .mq-tag::before { width: 5px; height: 5px; }
  .mq-track span { padding: 0 12px; }
  .hdr-in { height: 52px; gap: 6px; }
  .logo svg { width: 92px; height: 33px; }
  .ic, .burger { width: 34px; height: 34px; }
  .ic .i { width: 20px; height: 20px; }
  .burger { padding: 0 8px; gap: 3.5px; }
  .lang-seg button { height: 26px; min-width: 30px; padding: 0 6px; font-size: 11px; }
}

/* ---------- 26.11 (7): heskaperfume's way — payments as words, square switches, one thin line icon set ---------- */
.pay-text { font-weight: 500; }
.ftx-pay { gap: 6px; font-size: 14px; color: #c9cfdc; }
.ftx-pay .pay-text { color: #fff; }
.pm-name { font: 700 17px Rubik, sans-serif; color: var(--ink); }
.pay-opt input, .choice-opt input { appearance: none; -webkit-appearance: none; width: 14px; height: 14px; margin: 0; border: 1.4px solid var(--ink); border-radius: 0; background: #fff; box-shadow: inset 0 0 0 2.5px #fff; }
.pay-opt input:checked, .choice-opt input:checked { background: var(--ink); }
.choice-opt input { top: 21px; }
.pay-opt:has(input:checked), .choice-opt:has(input:checked) { border-color: var(--ink); background: #fff; box-shadow: inset 0 0 0 1px var(--ink); }
.prose b { font-weight: 700; }
/* icons: one line weight everywhere, as in the set */
.i { stroke-width: 1.4; }
.burger span { height: 1.4px !important; }
/* phone header — thinner */
@media (max-width: 640px) {
  .hdr-in { height: 46px; gap: 4px; }
  .logo svg { width: 84px; height: 30px; }
  .ic, .burger { width: 32px; height: 32px; }
  .ic .i { width: 19px; height: 19px; }
  .burger { padding: 0 7px; gap: 4px; }
  .lang-seg button { height: 24px; min-width: 28px; font-size: 10.5px; }
  .ic-cart b { top: 0; right: -2px; min-width: 15px; height: 15px; font-size: 9px; line-height: 15px; }
}
/* payment marks from heskaperfume.uz: single colour, 16–20 px, in a row */
.pay-marks { display: flex; align-items: center; gap: 12px; margin: 0; padding: 0; list-style: none; color: #fff; }
.pay-marks .pm { width: 20px; height: 20px; display: block; }
.box .pay-marks, .cart-layout .pay-marks { color: var(--ink); }
.pm-in { display: inline-flex; vertical-align: -3px; } .pm-in .pm { width: 18px; height: 18px; }
.pm-name { display: inline-flex; align-items: center; gap: 10px; }
.pm-name .pm { width: 20px; height: 20px; }

/* ---------- 26.11 (8): checkout — no boxes, total in plain type; footer buttons ---------- */
.pay-opt { position: relative; grid-template-columns: 1fr auto !important; grid-template-areas: "name tick" "sub tick"; gap: 4px 12px; padding: 16px 18px; border: 1.5px solid #e1e4ea; border-radius: 14px; background: #fff; box-shadow: none !important; transition: border-color .2s, background .2s; }
.pay-opt input { position: absolute; opacity: 0; pointer-events: none; }
.pay-opt .pm-name { grid-area: name; }
.pay-opt .pay-sub { grid-area: sub; grid-column: auto !important; font-size: 13px; }
.pay-tick { grid-area: tick; align-self: center; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid #d6d9e0; color: transparent; transition: background .2s, border-color .2s, color .2s; }
.pay-tick .i { width: 16px; height: 16px; stroke-width: 2; }
.pay-opt:has(input:checked) { border-color: var(--ink); background: #f7f8fa; }
.pay-opt:has(input:checked) .pay-tick { background: var(--red); border-color: var(--red); color: #fff; }
.pay-opt:has(input:focus-visible) { outline: 3px solid var(--blue); outline-offset: 2px; }
.pay-opt .pm-name { font: 600 16px Rubik, sans-serif; }
.sum-total { font: 700 22px/1.1 Rubik, sans-serif; letter-spacing: -.01em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.box .mini b { font-weight: 600; }
/* footer: two actions side by side, same shape */
.ftx-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; max-width: 420px; }
.ftx-btn { height: 46px; padding: 0 14px; border-radius: 12px; justify-content: center; font: 600 14px Rubik, sans-serif !important; gap: 8px; }
.ftx-btn:not(.line) { background: var(--red); color: #fff !important; }
.ftx-btn.line { background: rgba(255,255,255,.08); box-shadow: none; }
.ftx-btn.line:hover { background: rgba(255,255,255,.16); box-shadow: none; }
.ftx-btn .i { width: 17px; height: 17px; }
@media (max-width: 640px) { .ftx-cta { display: grid; grid-template-columns: 1fr 1fr; } .ftx-btn { height: 46px; font-size: 13.5px !important; padding: 0 10px; } }
.i.ph { stroke: none; }

/* ---------- 26.11 (9): motion — loader and appearance for everything (monopo-like) ---------- */
:root { --mo-e: cubic-bezier(.16, 1, .3, 1); --mo-t: .9s; }
.rv, .rv.in { opacity: 1; transform: none; transition: none; }
/* first visit: a navy cover from the very first paint, the loader takes over when the script runs */
html.mo-intro body { overflow: hidden; }
html.mo-intro body::before { content: ''; position: fixed; inset: 0; z-index: 9998; background: var(--navy); }
.ld { position: fixed; inset: 0; z-index: 9999; pointer-events: none; }
.ld-panel { position: absolute; inset: 0; transition: transform 1s var(--mo-e); }
.ld-panel.red { background: var(--red); transition-delay: .12s; }
.ld-panel.navy { background: var(--navy); display: grid; place-items: center; }
.ld.out .ld-panel { transform: translateY(-101%); }
.ld.out .ld-panel.red { transition-delay: 0s; } .ld.out .ld-panel.navy { transition-delay: .08s; }
.ld-center { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.ld-logo svg { display: block; width: min(300px, 64vw); height: auto; overflow: visible; }
.ld-pg { clip-path: inset(0 100% 0 0); transform: translateX(-24px); transition: clip-path .9s var(--mo-e), transform .9s var(--mo-e); }
.ld-word { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--mo-e) .35s, transform .9s var(--mo-e) .35s; }
.ld.go .ld-pg { clip-path: inset(0 0 0 0); transform: none; }
.ld.go .ld-word { opacity: 1; transform: none; }
.ld-line { width: min(300px, 64vw); height: 2px; background: rgba(255,255,255,.15); overflow: hidden; }
.ld-line i { display: block; height: 100%; background: #fff; transform: scaleX(0); transform-origin: left; transition: transform .25s linear; }
.ld-tag { color: rgba(255,255,255,.6); font: 500 12px Rubik, sans-serif; letter-spacing: .14em; text-transform: uppercase; text-align: center; padding: 0 24px; opacity: 0; transition: opacity .8s var(--mo-e) .6s; }
.ld.go .ld-tag { opacity: 1; }
.ld-count { position: absolute; right: var(--pad); bottom: calc(24px + env(safe-area-inset-bottom)); color: #fff; font: italic 900 clamp(64px, 14vw, 160px)/.8 Rubik; letter-spacing: -.04em; opacity: .9; font-variant-numeric: tabular-nums; }
.ld.out .ld-center, .ld.out .ld-count { opacity: 0; transform: translateY(-40px); transition: opacity .4s, transform .8s var(--mo-e); }

/* appearance: hidden until released; motion.js plays the entrance with the Web Animations API (nothing lingers after) */
html.mo [data-mo="up"]:not(.mo-in), html.mo [data-mo="img"]:not(.mo-in) { opacity: 0; }
html.mo [data-mo="head"] > .mo-l { display: block; }
html.mo [data-mo="head"]:not(.mo-in) > .mo-l { translate: 0 105%; }
html.mo [data-mo="head"]:not(.mo-in), html.mo [data-mo="head"].mo-run { clip-path: inset(-40% -12% 0 -12%); }
html.mo img.mo-wait { opacity: 0; }
/* nothing of the page until its content is there: no «Загружаем…» over an empty page with the footer at the top */
html.mo:not(.mo-ready) main, html.mo:not(.mo-ready) .ftx, html.mo:not(.mo-ready) .ftx-edge { visibility: hidden; }

/* hero: title and buttons rise once the curtain lifts, the photo settles from a zoom */
html.mo .hero .hero-img.on { transform: scale(1.14); }
html.mo .hero .hero-cap h1, html.mo .hero .hero-cap p, html.mo .hero .hero-btns { opacity: 0; transform: translateY(60px); }
html.mo .hero.mo-hero .hero-img.on { transform: none; transition: transform 2.2s var(--mo-e), opacity .6s; }
html.mo .hero.mo-hero .hero-cap h1 { opacity: 1; transform: none; transition: opacity .8s var(--mo-e) .05s, transform 1.1s var(--mo-e) .05s; }
html.mo .hero.mo-hero .hero-cap p { opacity: 1; transform: none; transition: opacity .8s var(--mo-e) .2s, transform 1.1s var(--mo-e) .2s; }
html.mo .hero.mo-hero .hero-btns { opacity: 1; transform: none; transition: opacity .8s var(--mo-e) .32s, transform 1.1s var(--mo-e) .32s; }
@media (prefers-reduced-motion: reduce) { .ld { display: none; } }
/* order: ticker and header first */
/* the header plays only on the first visit (with the loader); on the next pages it is simply there */
html.mo.mo-first .mq, html.mo.mo-first .hdr-in, html.mo.mo-first .hdr .tri { opacity: 0; transform: translateY(-14px); }
html.mo.mo-top .mq, html.mo.mo-top .hdr-in, html.mo.mo-top .hdr .tri { opacity: 1; transform: none; transition: opacity .6s var(--mo-e), transform .9s var(--mo-e); }
html.mo.mo-top .hdr-in { transition-delay: .08s; } html.mo.mo-top .hdr .tri { transition-delay: .14s; }

/* (10) Footer, compact (owner, 27.11: «в футере снизу много места, всё должно быть мельче», «белая часть, если потянуть»). */
html { background: var(--navy); }
/* while the page waits for its content the short page must not show the navy under it */
html.mo:not(.mo-ready) { background: var(--white); }
.ftx-edge { height: 46px; margin-top: 24px; background: linear-gradient(to bottom right, transparent calc(50% - 1px), var(--red) 50%, var(--red) calc(50% + 7px), var(--navy) calc(50% + 8px)); }
body:has(.hero) .ftx-edge { display: none; }
.ftx-in { padding-top: 40px; padding-bottom: 28px; gap: 28px 44px; }
.ftx-h { margin-bottom: 12px; font-size: 13px; }
.ftx-logo svg { width: 120px; height: auto; }
.ftx-slogan { margin: 8px 0 16px; font-size: 13px; }
.ftx-cta { max-width: 340px; gap: 6px; }
.ftx-btn { height: 40px !important; font-size: 13px !important; border-radius: 10px; }
.ftx-btn .i { width: 15px; height: 15px; }
.ftx-addr { margin-top: 16px; font-size: 14px; gap: 10px; }
.ftx-addr .i { width: 17px; height: 17px; }
.ftx-addr small { font-size: 12px; }
.ftx-shop { grid-template-columns: 34px minmax(0, 1fr) auto; gap: 12px; padding: 8px 0; }
.ftx-mark { width: 34px; height: 24px; font-size: 12px; }
.ftx-name { font-size: 14px; }
.ftx-name small { font-size: 12px; }
.ftx-soc a { width: 32px; height: 32px; }
.ftx-soc .i { width: 15px; height: 15px; }
.ftx-nav { gap: 8px; font-size: 14px; }
.ftx-bot { padding-top: 16px; padding-bottom: calc(18px + env(safe-area-inset-bottom)); font-size: 12px; }
.ftx-pay .i { width: 22px; height: 22px; }
@media (max-width: 760px) {
  .ftx-in { padding-top: 28px; padding-bottom: 20px; gap: 22px 16px; }
  .ftx-logo svg { width: 104px; height: auto; }
  .ftx-cta { max-width: none; }
  .ftx-shops { padding: 2px 12px; border-radius: 12px; }
  .ftx-shops .ftx-h { margin: 10px 0 2px; }
  .ftx-nav { gap: 7px; font-size: 13.5px; }
  .ftx-h { margin-bottom: 8px; }
  .ftx-bot { gap: 10px; padding-bottom: calc(18px + env(safe-area-inset-bottom)); font-size: 12px; }
  body:has(#buybar) .ftx-bot { padding-bottom: calc(92px + env(safe-area-inset-bottom)); }
  .ftx-edge { height: 34px; margin-top: 16px; }
}

/* (11) Contacts: four cards and the three shops (owner, 27.11: the old list had empty labels and a grey frame). */
.cx { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 8px; }
.cx-card { position: relative; display: flex; flex-direction: column; gap: 4px; min-height: 168px; padding: 20px; border-radius: 4px; background: var(--paper); color: var(--ink); text-decoration: none; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%); transition: transform .2s var(--ease); }
a.cx-card:hover { transform: translateY(-2px); }
.cx-ic { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: auto; border-radius: 10px; background: var(--navy); color: #fff; transform: skewX(-8deg); }
.cx-ic svg { width: 22px; height: 22px; transform: skewX(8deg); }
.cx-k { margin-top: 18px; font-size: 13px; color: var(--muted); }
.cx-v { font: italic 900 20px/1.15 Rubik; text-transform: none; }
.cx-go { font-size: 13px; color: var(--muted); }
.cx-call { background: var(--red); color: #fff; }
.cx-call .cx-ic { background: #fff; color: var(--red); }
.cx-call .cx-k, .cx-call .cx-go { color: rgba(255,255,255,.8); }
.cx-addr .cx-go { color: var(--blue); font-weight: 500; }
.cx-h { margin: 40px 0 14px; font-size: 26px; }
.cx-shops { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.cx-shop { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 16px; border: 1px solid var(--line); border-radius: 4px; }
.cx-shop .ftx-mark { color: #fff; }
.cx-shop.wrestling .ftx-mark { background: var(--navy); color: #fff; }
.cx-shop-t b { display: block; font-size: 16px; }
.cx-shop-t span { display: block; font-size: 13px; color: var(--muted); line-height: 1.3; }
.cx-shop-l { display: flex; gap: 6px; }
.cx-shop-l a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--paper); color: var(--ink); }
.cx-shop-l a:hover { background: var(--ink); color: #fff; }
.cx-shop-l .i { width: 17px; height: 17px; }
.cx-note { margin: 28px 0 0; color: var(--muted); }
@media (max-width: 960px) { .cx { grid-template-columns: 1fr 1fr; } .cx-shops { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .cx-card { min-height: 0; padding: 16px; } .cx-k { margin-top: 12px; } .cx-v { font-size: 17px; } .cx-ic { width: 38px; height: 38px; } .cx-ic svg { width: 19px; height: 19px; } .cx-h { margin-top: 32px; font-size: 22px; } }

/* (12) Rails under the grids: «Похожие товары», «Вы недавно смотрели», «Популярное». */
.rail-sec { margin-top: 56px; }
.rail-sec .xp-railhead { margin: 0 0 16px; }
.rail-sec .xp-railhead h3 { font-size: clamp(24px, 3vw, 34px); }
.rail-sec .arr { display: grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--paper); color: var(--ink); cursor: pointer; transition: background .2s, color .2s; }
.rail-sec .arr:hover { background: var(--ink); color: #fff; }
.rail-sec .arr .i { width: 18px; height: 18px; }
.rail-sec .arr[data-dir="-1"] .i { transform: rotate(180deg); }
.rail-sec .xp-rail { grid-auto-columns: minmax(230px, calc((100% - 60px) / 4)); }
@media (max-width: 760px) { .rail-sec { margin-top: 40px; } .rail-sec .xp-arrows { display: none; } .rail-sec .xp-rail { grid-auto-columns: 62%; gap: 10px; margin-right: calc(-1 * var(--pad)); padding-right: var(--pad); } }
/* Long one-word headings («Конфиденциальности») must wrap, not widen the page on a phone. */
.page-head h1, .h2 { overflow-wrap: break-word; hyphens: auto; }
@media (max-width: 520px) { .h-long { font-size: 24px !important; } .page-head h1 { overflow-wrap: anywhere; } }

/* Rails below the grids keep the ordinary vertical card (the home page's rail uses the wide one). */
.rail-sec .xp-rail .cd { flex-direction: column; min-height: 0; }
.rail-sec .xp-rail .cd-pic { width: auto; aspect-ratio: 325 / 280; }
.rail-sec .xp-rail .cd-pic img { clip-path: polygon(0 0, 100% 0, 100% 86%, 0 100%); }
.rail-sec .xp-rail .cd-body { padding: 14px; }
.rail-sec .xp-rail .cd-kind { display: block; }
@media (max-width: 520px) { .cx-call { grid-column: 1 / -1; } .rail-sec .xp-rail .cd-name { font-size: 14px; } }

/* Sign-in through Telegram */
.tg-login { gap: 10px; } .tg-login .i { width: 20px; height: 20px; }
.snap-wait { display: flex; gap: 10px; align-items: center; color: var(--muted); }
.snap-wait i { width: 16px; height: 16px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--red); animation: tgspin .8s linear infinite; }
@keyframes tgspin { to { transform: rotate(360deg); } }

/* (13) Action buttons are capsules; calling is offered, not pushed: no number on the buttons (owner, 27.11: «задача сайта — заказ с сайта»). */
.ftx-btn, .mnav-cta .ftx-btn { border-radius: 999px !important; border: 0 !important; background-image: none !important; box-shadow: none !important; text-shadow: none; }
.ftx-btn.line { background: rgba(255,255,255,.1) !important; }
.ftx-btn.line:hover { background: rgba(255,255,255,.18) !important; }
.mnav-cta .ftx-btn.dark { background: var(--paper) !important; }

/* ---------- (14) order wait: steps while the server checks stock and reserves ---------- */
.owait { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; background: rgba(15,31,74,.55); backdrop-filter: blur(4px); opacity: 0; transition: opacity .25s var(--ease); }
.owait.in { opacity: 1; }
.owait-box { width: min(380px, 100%); background: #fff; padding: 28px 26px 22px; display: flex; flex-direction: column; align-items: center; gap: 18px; box-shadow: 0 24px 60px rgba(0,0,0,.3); transform: translateY(8px); transition: transform .3s var(--ease); }
.owait.in .owait-box { transform: none; }
.owait-ring { width: 44px; height: 44px; border-radius: 50%; border: 4px solid #e6e8ee; border-top-color: var(--red); animation: owspin .8s linear infinite; }
@keyframes owspin { to { transform: rotate(360deg); } }
.owait ol { list-style: none; margin: 0; padding: 0; width: 100%; display: flex; flex-direction: column; gap: 10px; }
.owait li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: #9aa1b0; transition: color .2s; }
.owait li::before { content: ''; flex: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid #d6d9e0; transition: background .2s, border-color .2s; }
.owait li.now { color: var(--ink); font-weight: 500; }
.owait li.now::before { border-color: var(--red); }
.owait li.done { color: var(--ink); }
.owait li.done::before { background: #1d7a46 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/12px no-repeat; border-color: #1d7a46; }
.owait-note { margin: 0; font-size: 13px; color: var(--muted); text-align: center; }
@media (prefers-reduced-motion: reduce) { .owait-ring { animation-duration: 2.4s; } .owait, .owait-box { transition: none; } }
.pay-hold { margin: 6px 0 0; font-size: 13px; color: var(--muted); }

/* 29.11: budget / premium shelves — one capsule switch above the filters, in every section */
.tiers { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: #eef1f6; flex-basis: 100%; max-width: max-content; }
.tier { display: inline-flex; align-items: baseline; gap: 6px; padding: 9px 16px; border-radius: 999px; font: 600 14px/1 Rubik, sans-serif; color: var(--ink); text-decoration: none; transition: background .25s, color .25s; }
.tier small { font-weight: 500; font-size: 12px; opacity: .55; }
.tier.on { background: var(--navy); color: #fff; }
.tier.on small { opacity: .7; }
@media (hover: hover) { .tier:not(.on):hover { background: #fff; } }
@media (max-width: 640px) { .tiers { max-width: none; width: 100%; } .tier { flex: 1; justify-content: center; padding: 10px 8px; font-size: 13px; } }

/* 29.11: first screen leads to a purchase — a real product in stock with its price, and one line of reasons.
   The product sits under the buttons in the hero's own dark glass: as a white card on top it read as a notification. */
.hero-trust { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 18px 0 0; font: 500 14px/1.3 Rubik, sans-serif; color: rgba(255,255,255,.88); }
.hero-trust span { display: inline-flex; align-items: center; gap: 6px; }
.hero-trust .i, .hero-trust svg { width: 16px; height: 16px; color: #7ee2a0; flex: none; }
.hero-pick { position: absolute; right: 0; bottom: 0; width: 360px; display: flex; gap: 14px; align-items: center; padding: 10px 14px 10px 10px; border-radius: 20px;
  background: rgba(10,18,40,.55); border: 1px solid rgba(255,255,255,.16); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); color: #fff; text-decoration: none; }
.hero-pick.in .hp-img img, .hero-pick.in .hp-body { animation: hpIn .55s var(--ease, cubic-bezier(.16,1,.3,1)) both; }
.hero-pick.in .hp-body { animation-delay: .06s; }
@keyframes hpIn { from { opacity: 0; transform: translateY(10px); } }
.hp-img { flex: none; width: 92px; aspect-ratio: 1; border-radius: 14px; background: #fff; display: grid; place-items: center; overflow: hidden; }
.hp-img img { width: 100%; height: 100%; object-fit: contain; }
.hp-body { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 12px; min-width: 0; flex: 1; }
.hp-chip { grid-column: 1 / -1; justify-self: start; font: 600 11px/1 Rubik, sans-serif; color: #7ee2a0; }
.hp-name { grid-column: 1 / -1; font: 600 14px/1.25 Rubik, sans-serif; color: #fff; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hp-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.hp-price b { font: italic 900 19px/1 Rubik, sans-serif; color: #fff; }
.hp-price s { font-size: 12px; color: rgba(255,255,255,.55); }
.hp-buy { display: inline-flex; align-items: center; gap: 6px; background: var(--red); color: #fff; font: 600 13px/1 Rubik, sans-serif; padding: 9px 14px; border-radius: 999px; transition: background .2s, transform .2s; }
.hp-buy svg, .hp-buy .i { width: 14px; height: 14px; }
@media (hover: hover) { .hero-pick:hover .hp-buy { transform: translateX(2px); } }
@media (max-width: 900px) {
  .hero { height: auto; min-height: 0; max-height: none; }
  .hero-copy { position: relative; left: auto; right: auto; bottom: auto; padding: 120px var(--pad) 18px; }
  .hero-pick { position: relative; width: auto; margin-top: 14px; padding: 8px 12px 8px 8px; gap: 12px; border-radius: 18px; }
  .hp-img { width: 64px; border-radius: 12px; }
  .hp-name { font-size: 13px; -webkit-line-clamp: 1; }
  .hp-price b { font-size: 16px; }
  .hp-buy { padding: 8px 12px; }
  .hero-trust { font-size: 12px; gap: 4px 12px; margin-top: 12px; }
}

/* «Добавлено в корзину»: drops from the top, photo + name + price + «Оформить», swipe up or × to close */
.ctoast { position: fixed; z-index: 95; top: 12px; left: 50%; width: min(440px, calc(100% - 24px)); transform: translate(-50%, calc(-100% - 24px)); transition: transform .45s var(--ease, cubic-bezier(.16,1,.3,1));
  display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 10px; border-radius: 20px; background: rgba(255,255,255,.97); color: var(--ink); box-shadow: 0 18px 50px rgba(15,31,74,.28); }
.ctoast.on { transform: translate(-50%, 0); }
.cto-img { flex: none; width: 60px; height: 60px; border-radius: 14px; background: #f3f4f6; overflow: hidden; display: grid; place-items: center; }
.cto-img img { width: 100%; height: 100%; object-fit: contain; }
.cto-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.cto-ok { display: inline-flex; align-items: center; gap: 5px; font: 600 12px/1 Rubik, sans-serif; color: #137a3c; }
.cto-ok svg, .cto-ok .i { width: 14px; height: 14px; }
.cto-name { font: 600 14px/1.2 Rubik, sans-serif; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cto-price { font: italic 900 16px/1 Rubik, sans-serif; color: var(--red); }
.cto-go { flex: none; background: var(--ink); color: #fff; text-decoration: none; font: 600 14px/1 Rubik, sans-serif; padding: 11px 16px; border-radius: 999px; }
.cto-x { flex: none; border: 0; background: none; padding: 6px; color: #8a91a1; cursor: pointer; }
.cto-x svg { width: 16px; height: 16px; }
@media (prefers-reduced-motion: reduce) { .ctoast { transition: none; } }

/* «Подбери под свой размер»: three steps of chips, a live strip of what fits and one button to the catalog */
.fit { margin-top: 56px; }
.fit-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 20px; margin-bottom: 18px; }
.fit-head .muted { margin: 0; }
.fit-box { display: grid; gap: 18px; padding: 24px; border-radius: 26px; background: #f3f5f9; }
.fit-step > b { display: block; font: italic 900 15px/1 Rubik, sans-serif; text-transform: uppercase; margin-bottom: 10px; }
.fit-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.fc { border: 0; cursor: pointer; padding: 11px 16px; border-radius: 999px; background: #fff; color: var(--ink); font: 600 14px/1 Rubik, sans-serif; box-shadow: inset 0 0 0 1px #dde2ea; transition: background .2s, color .2s, box-shadow .2s; }
.fc small { font-weight: 500; opacity: .55; }
.fc.on { background: var(--navy); color: #fff; box-shadow: none; }
@media (hover: hover) { .fc:not(.on):hover { box-shadow: inset 0 0 0 1px var(--navy); } }
.fit-sizes .fc { min-width: 56px; }
.fit-res { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding-top: 16px; border-top: 1px solid #dde2ea; }
.fit-strip { display: flex; align-items: center; gap: 10px; min-height: 64px; }
.fs-it { display: flex; flex-direction: column; align-items: center; gap: 4px; text-decoration: none; color: var(--ink); font: 600 12px/1 Rubik, sans-serif; }
.fs-it img { width: 64px; height: 64px; object-fit: contain; background: #fff; border-radius: 14px; }
.fs-more { font: 700 14px/1 Rubik, sans-serif; color: #6b7385; }
.fit-go { min-width: 220px; justify-content: center; }
@media (max-width: 640px) { .fit { margin-top: 36px; } .fit-box { padding: 16px; border-radius: 20px; } .fc { padding: 10px 13px; font-size: 13px; } .fit-go { width: 100%; } .fs-it img { width: 56px; height: 56px; } }

.fit-sub { flex-basis: 100%; margin-top: 6px; font: 600 12px/1 Rubik, sans-serif; color: #6b7385; text-transform: uppercase; letter-spacing: .04em; }
.cto-price { white-space: nowrap; }

/* «Подбери под свой размер» on the home page: a heading and one button; the filter itself opens in the catalog */
.fit-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; padding: 28px 32px; border-radius: 26px; background: #f3f5f9; }
.fit-cta .h2 { margin: 0; }
.fit-cta .muted { margin: 8px 0 0; }
.fit-cta .fit-go { min-width: 260px; }
.fit-sheet .fit-step { margin-bottom: 16px; }
.fit-sheet .fit-res { margin-top: 4px; }
.fit-sheet .fit-go { width: 100%; }
@media (max-width: 640px) { .fit-cta { padding: 20px; border-radius: 20px; } .fit-cta .fit-go { width: 100%; min-width: 0; } }
/* the filters grid on a phone: the price switch takes its own row, no button may push the page wider than the screen */
@media (max-width: 700px) {
  .filters > * { min-width: 0; }
  .filters .tiers { grid-column: 1 / -1; }
  .filters .fbtn span { min-width: 0; overflow: hidden; }
  .filters .fbtn span, .filters .fbtn small { white-space: nowrap; text-overflow: ellipsis; overflow: hidden; }
}
/* Checkout: delivery or pickup (client, 29.11) — the catalog's pill switch on buttons. */
.get-way { margin: 4px 0 14px; }
.get-way .tier { border: 0; background: transparent; cursor: pointer; }
.get-way .tier.on { background: var(--navy); }
/* Account (29.11): orders, profile and saved addresses under one pill switch. */
.acc-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.acc-hello { font-size: 28px; line-height: 1.1; }
.acc-tabs { margin-bottom: 20px; }
.acc-tabs .tier { border: 0; background: transparent; cursor: pointer; }
.acc-tabs .tier.on { background: var(--navy); }
.acc-h { font-size: 28px; margin: 32px 0 8px; }
.acc-list { display: flex; flex-direction: column; }
.acc-order { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); color: inherit; text-decoration: none; }
.acc-order img, .acc-noimg { width: 72px; height: 72px; object-fit: cover; border-radius: 12px; background: var(--paper); display: block; }
.acc-o-top { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.acc-o-top b { font: italic 900 17px/1.1 Rubik; text-transform: uppercase; }
.acc-o-items { margin: 6px 0 2px; font-size: 15px; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.acc-o-way { margin: 0; font-size: 13px; }
.acc-o-side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; white-space: nowrap; }
@media (hover: hover) { .acc-order:hover .acc-o-top b { color: var(--red); } }
.acc-empty { padding: 24px 0; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.acc-form { max-width: 640px; }
.acc-save { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.acc-facts { margin-top: 28px; max-width: 640px; }
.acc-sub { font: italic 900 20px/1.1 Rubik; text-transform: uppercase; margin: 24px 0 0; }
.acc-addrs { display: flex; flex-direction: column; gap: 12px; max-width: 640px; }
.acc-addr { display: flex; justify-content: space-between; gap: 16px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 16px; }
.acc-addr.main { border-color: var(--navy); }
.acc-addr p { margin: 6px 0 0; }
.acc-addr-b { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; white-space: nowrap; }
@media (max-width: 640px) {
  .acc-order { grid-template-columns: 60px minmax(0, 1fr); gap: 12px; }
  .acc-order img, .acc-noimg { width: 60px; height: 60px; }
  .acc-o-side { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; flex-wrap: wrap; }
  .acc-addr { flex-direction: column; }
  .acc-addr-b { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 14px; }
}
/* Checkout: saved addresses as chips. */
.addr-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.addr-chip { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 14px; font: 500 14px/1.2 Rubik, sans-serif; cursor: pointer; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink); }
.addr-chip.on { border-color: var(--navy); background: var(--navy); color: #fff; }
.save-addr { display: flex; gap: 8px; align-items: center; margin-top: 10px; font-size: 14px; }

/* The account is one tap from every page on a phone too (owner, 29.11: «где кабинет?»). */
@media (max-width: 400px) { .hdr-act { gap: 2px; } .hdr-act .ic { width: 38px; } }
