/* MELANGE — стилі сайту */

:root {
  --ground: #F2F2EF;
  --paper: #FAFAF8;
  --ink: #15171C;
  --muted: #62656C;
  --line: #D5D5CF;
  --red: #BE2A2F;
  --navy: #1E2B47;

  --display: "Alumni Sans", "Arial Narrow", "Roboto Condensed", sans-serif;
  --body: "Onest", "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;

  --gut: clamp(16px, 4vw, 48px);
  --max: 1280px;
  --r: 4px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 400 16px/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
}
body.lock { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }

h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; }

:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ——— верхня смуга і шапка ——— */

.strip {
  background: var(--ink);
  color: #E9E9E4;
  font: 400 12px/1.4 var(--mono);
  letter-spacing: .02em;
  text-align: center;
  padding: 8px var(--gut);
}

.head {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 20;
  background: color-mix(in srgb, var(--ground) 92%, transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.head__in {
  max-width: var(--max);
  margin: 0 auto;
  padding: 12px var(--gut);
  display: flex;
  align-items: center;
  gap: 24px;
}
.logo {
  font: 800 30px/1 var(--display);
  letter-spacing: .06em;
  text-decoration: none;
  margin-right: auto;
}
.logo--sm { font-size: 24px; margin: 0; }

.menu { display: flex; gap: 28px; font-size: 15px; }
.menu a { text-decoration: none; color: var(--muted); }
.menu a:hover { color: var(--ink); }

.cartbtn {
  display: inline-flex; align-items: center; gap: 10px;
  background: none; border: 1px solid var(--ink); border-radius: 999px;
  padding: 7px 8px 7px 16px; cursor: pointer; font-size: 15px;
}
.cartbtn__n {
  min-width: 24px; height: 24px; padding: 0 6px;
  display: grid; place-items: center;
  background: var(--ink); color: var(--ground);
  border-radius: 999px; font: 500 12px/1 var(--mono);
}
.cartbtn.bump .cartbtn__n { background: var(--red); }

@media (max-width: 760px) {
  .menu { display: none; }
  .logo { font-size: 26px; }
}

/* ——— кнопки, мітки ——— */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px;
  border-radius: var(--r);
  font: 500 15px/1 var(--body);
  text-decoration: none; cursor: pointer;
  border: 1px solid var(--ink);
  transition: background .15s, color .15s;
}
.btn--dark { background: var(--ink); color: var(--paper); }
.btn--dark:hover { background: #2B2E36; }
.btn--line { background: transparent; color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--paper); }
.btn--wide { width: 100%; }
.btn[disabled] { opacity: .55; cursor: progress; }

.link { font-size: 15px; text-underline-offset: 4px; }

.label {
  font: 500 12px/1.3 var(--mono);
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
}

.tag {
  position: absolute; left: 10px; top: 10px;
  background: var(--paper); color: var(--ink);
  font: 500 11px/1 var(--mono);
  padding: 6px 8px;
  border-radius: 2px;
  letter-spacing: .04em;
}

.badge {
  position: absolute; right: 10px; top: 10px;
  background: var(--red); color: #fff;
  font: 500 12px/1 var(--mono);
  padding: 6px 8px; border-radius: 2px;
}
.badge--ink { background: var(--navy); }

/* ——— перший екран ——— */

.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(16px, 3vh, 40px) var(--gut) clamp(16px, 3vh, 32px);
  min-height: calc(100dvh - 104px);
  display: grid;
  grid-template-columns: minmax(0, 42fr) minmax(0, 58fr);
  gap: clamp(20px, 4vw, 56px);
  align-items: center;
  position: relative;
}
.hero__text { display: grid; gap: clamp(12px, 2.2vh, 24px); align-content: center; }
.hero h1 {
  font: 800 clamp(44px, min(7.4vw, 10.5vh), 108px)/.88 var(--display);
  text-transform: uppercase;
  letter-spacing: -.005em;
}
.hero h1 span { color: var(--red); }
.hero__lead { max-width: 40ch; color: var(--muted); font-size: clamp(15px, 1.9vh, 17px); }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.hero__meta {
  font: 400 12px/1.4 var(--mono); letter-spacing: .04em;
  text-transform: uppercase; color: var(--muted);
}

.hero__pics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: clamp(8px, 1vw, 16px);
  height: min(72vh, 620px);
}
.hero__pic {
  position: relative; padding: 0; border: 0; background: var(--line);
  cursor: pointer; overflow: hidden; border-radius: var(--r);
  height: 100%;
}
.hero__pic--a { height: 86%; align-self: start; }
.hero__pic--b { height: 100%; }
.hero__pic--c { height: 78%; align-self: end; }
.hero__pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.hero__pic:hover img { transform: scale(1.04); }

.hero__down {
  position: absolute; left: var(--gut); bottom: clamp(8px, 2vh, 20px);
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--muted);
  font: 400 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .12em;
}
.hero__down svg { animation: nudge 2.4s ease-in-out infinite; }
@keyframes nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(4px); } }
.hero__down:hover { color: var(--ink); }

@media (max-width: 900px) {
  .hero h1 { font-size: clamp(34px, min(8.6vw, 7.6vh), 60px); }
  .hero__lead { font-size: 15px; max-width: 46ch; }
  .hero {
    grid-template-columns: 1fr;
    align-content: center;
    gap: clamp(14px, 2.4vh, 24px);
    min-height: calc(100dvh - 124px);
    padding-block: clamp(10px, 2vh, 24px) clamp(30px, 6vh, 48px);
  }
  .hero__pics {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 56%;
    height: min(36vh, 300px);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin-inline: calc(var(--gut) * -1);
    padding-inline: var(--gut);
    scrollbar-width: none;
  }
  .hero__pics::-webkit-scrollbar { display: none; }
  .hero__pic, .hero__pic--a, .hero__pic--b, .hero__pic--c { height: 100%; align-self: stretch; scroll-snap-align: start; }
  .hero__down { left: 50%; transform: translateX(-50%); }
}

/* ——— картки товарів ——— */

.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px) clamp(16px, 2.4vw, 32px);
  align-items: start;
}
.card { display: flex; flex-direction: column; gap: 14px; }
.card--lead { grid-column: span 5; }
.card--drop { grid-column: span 4; margin-top: clamp(40px, 7vw, 96px); }
.card:not(.card--lead):not(.card--drop) { grid-column: span 3; margin-top: clamp(12px, 2vw, 28px); }

.card__pic {
  position: relative; padding: 0; border: 0; cursor: zoom-in;
  aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--r);
  background: var(--line);
}
.card--lead .card__pic { aspect-ratio: 4 / 5; }
.card--drop .card__pic { aspect-ratio: 3 / 4; }
.card:not(.card--lead):not(.card--drop) .card__pic { aspect-ratio: 2 / 3; }
.card__pic img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; transition: transform .6s ease; }
.card__pic:hover img { transform: scale(1.03); }

@media (max-width: 980px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card--lead, .card--drop, .card:not(.card--lead):not(.card--drop) { grid-column: span 1; margin-top: 0; }
  .card--drop { margin-top: clamp(24px, 6vw, 56px); }
  .card--lead .card__pic, .card--drop .card__pic, .card:not(.card--lead):not(.card--drop) .card__pic { aspect-ratio: 3 / 4; }
}
@media (max-width: 620px) {
  .grid { grid-template-columns: 1fr; gap: 40px; }
  .card--drop { margin-top: 0; }
}

/* ——— секції ——— */

.shop {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(40px, 6vw, 80px) var(--gut);
}

.sechead {
  display: flex; flex-wrap: wrap; align-items: baseline;
  justify-content: space-between; gap: 8px 24px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 12px;
}
.sechead h2, .fabric h2, .contacts h2 {
  font: 800 clamp(40px, 5vw, 64px)/.95 var(--display);
  text-transform: uppercase;
}
.sechead p { color: var(--muted); max-width: 52ch; font-size: 15px; }

.card__body { display: flex; flex-direction: column; gap: 12px; flex: 1; }
.card__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.card h3 { font: 600 17px/1.3 var(--body); }
.card h3 button { background: none; border: 0; padding: 0; cursor: pointer; text-align: left; font: inherit; }
.card h3 button:hover { text-decoration: underline; text-underline-offset: 3px; }
.card__sub { color: var(--muted); font-size: 14px; margin-top: -6px; }
.card__act { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: auto; }

.price { white-space: nowrap; font-variant-numeric: tabular-nums; }
.price b { font-weight: 600; }
.price s { color: var(--muted); font-size: 13px; margin-left: 4px; }
.price--lg b { font: 700 34px/1 var(--display); letter-spacing: .01em; }
.price--lg s { font-size: 15px; }

.opts { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; }

.swatches { display: flex; gap: 8px; }
.sw {
  width: 26px; height: 26px; border-radius: 50%;
  border: 1px solid rgba(0,0,0,.18);
  background: var(--c);
  cursor: pointer; padding: 0;
  box-shadow: 0 0 0 2px var(--ground), 0 0 0 3px transparent;
  transition: box-shadow .15s;
}
.sw[aria-checked="true"] { box-shadow: 0 0 0 2px var(--ground), 0 0 0 3.5px var(--ink); }
.swatches--lg .sw { width: 34px; height: 34px; }

.sizes { display: flex; gap: 6px; flex-wrap: wrap; }
.sz {
  min-width: 38px; height: 34px; padding: 0 8px;
  border: 1px solid var(--line); background: var(--paper);
  border-radius: var(--r); cursor: pointer;
  font: 500 13px/1 var(--mono);
}
.sz:hover { border-color: var(--ink); }
.sz[aria-checked="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.sizes--lg .sz { min-width: 56px; height: 44px; font-size: 14px; }
.sizes.shake { animation: shake .35s; }
@keyframes shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }

.hint { color: var(--red); font-size: 13px; margin-top: -4px; }

/* ——— діалоги загальне ——— */

dialog {
  border: 0; padding: 0; color: var(--ink);
  max-width: none; max-height: none;
}
dialog::backdrop { background: rgba(21, 23, 28, .55); }

.x {
  position: absolute; right: 12px; top: 12px; z-index: 3;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--paper); border: 1px solid var(--line);
  display: grid; place-items: center; cursor: pointer;
}
.x:hover { border-color: var(--ink); }
.x--static { position: static; }

/* ——— вікно товару ——— */

.pd {
  width: min(1060px, calc(100% - 32px));
  max-height: calc(100dvh - 48px);
  background: var(--paper);
  border-radius: 6px;
  overflow: hidden;
}
.pd[open] { animation: pdIn .22s ease-out; }
@keyframes pdIn { from { opacity: 0; transform: translateY(12px); } }

.pd__in {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  max-height: calc(100dvh - 48px);
}
.pd__media { position: relative; background: var(--line); min-height: 0; }
.pd__media img { width: 100%; height: 100%; max-height: calc(100dvh - 48px); object-fit: cover; object-position: 50% 20%; }
.pd__note {
  position: absolute; left: 10px; bottom: 10px;
  background: rgba(21,23,28,.78); color: #fff;
  font: 400 12px/1.3 var(--mono); padding: 7px 10px; border-radius: 2px;
}

.pd__info {
  overflow-y: auto;
  padding: 36px 36px 28px;
  display: flex; flex-direction: column; gap: 20px;
}
.pd__info h2 { font: 800 clamp(38px, 4vw, 52px)/.95 var(--display); text-transform: uppercase; padding-right: 44px; }
.pd__desc { color: var(--muted); font-size: 15px; }

.field { display: grid; gap: 10px; }
.field--row { display: flex; align-items: center; justify-content: space-between; }
.field__label { font-size: 14px; display: flex; gap: 8px; align-items: baseline; }
.field__label b { font-weight: 600; }
.field__aside { margin-left: auto; font-size: 13px; color: var(--muted); text-underline-offset: 3px; }

.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--r); background: var(--ground); }
.qty button { width: 40px; height: 40px; background: none; border: 0; cursor: pointer; font-size: 18px; }
.qty output { min-width: 32px; text-align: center; font: 500 15px/1 var(--mono); }

.pd__act { display: grid; gap: 8px; }

.pd__spec { display: grid; margin: 0; border-top: 1px solid var(--line); }
.pd__spec > div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.pd__spec dt { font: 400 11px/1.6 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.pd__spec dd { margin: 0; }

.pd__more { display: grid; gap: 12px; }
.minis { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mini {
  display: grid; grid-template-columns: 56px 1fr; gap: 12px; align-items: center;
  padding: 8px; border: 1px solid var(--line); border-radius: var(--r);
  background: var(--ground); cursor: pointer; text-align: left;
}
.mini:hover { border-color: var(--ink); }
.mini img { width: 56px; height: 72px; object-fit: cover; object-position: 50% 20%; border-radius: 2px; }
.mini b { display: block; font-weight: 600; font-size: 14px; line-height: 1.25; }
.mini span { font-size: 13px; color: var(--muted); }

@media (max-width: 760px) {
  .pd {
    width: 100%; max-height: 100dvh; height: 100dvh;
    margin: 0; border-radius: 0;
    inset: 0;
  }
  .pd[open] { animation: sheetIn .25s ease-out; }
  @keyframes sheetIn { from { transform: translateY(24px); opacity: .4; } }
  .pd__in { grid-template-columns: 1fr; height: 100dvh; max-height: none; overflow-y: auto; display: block; }
  .pd__media { aspect-ratio: 4 / 5; }
  .pd__media img { max-height: none; }
  .pd__info { overflow: visible; padding: 22px 16px 0; }
  .pd__info h2 { padding-right: 0; }
  .pd__act .btn { font-size: 14px; padding: 0 10px; }
  .pd__act {
    position: sticky; bottom: 0; z-index: 2;
    background: var(--paper);
    margin: 0 -16px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--line);
    grid-template-columns: 1fr 1fr;
  }
  .pd__more { padding-bottom: 24px; }
  .minis { grid-template-columns: 1fr; }
  .x { top: calc(12px + env(safe-area-inset-top, 0px)); }
}

/* ——— кошик ——— */

.drawer {
  margin: 0 0 0 auto;
  width: min(440px, 100%);
  height: 100dvh; max-height: 100dvh;
  background: var(--paper);
}
.drawer[open] { animation: drIn .25s ease-out; }
@keyframes drIn { from { transform: translateX(30px); opacity: .3; } }

.drawer__in {
  height: 100%;
  display: flex; flex-direction: column;
  padding: calc(16px + env(safe-area-inset-top, 0px)) 20px calc(16px + env(safe-area-inset-bottom, 0px));
}
.drawer__head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 14px; border-bottom: 1px solid var(--ink);
}
.drawer__head h2 { font: 800 36px/1 var(--display); text-transform: uppercase; }
.drawer__step { flex: 1; display: flex; flex-direction: column; min-height: 0; }

.lines { flex: 1; overflow-y: auto; }
.line {
  display: grid; grid-template-columns: 72px 1fr auto; gap: 14px;
  padding: 16px 0; border-bottom: 1px solid var(--line);
}
.line img { width: 72px; height: 96px; object-fit: cover; object-position: 50% 20%; border-radius: 2px; }
.line__name { font-weight: 600; font-size: 15px; line-height: 1.3; }
.line__meta { color: var(--muted); font-size: 13px; margin-top: 2px; display: flex; align-items: center; gap: 6px; }
.line__meta i { width: 12px; height: 12px; border-radius: 50%; background: var(--c); border: 1px solid rgba(0,0,0,.18); display: inline-block; }
.line__ctl { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.line__ctl .qty button { width: 32px; height: 32px; font-size: 16px; }
.line__rm { background: none; border: 0; padding: 0; color: var(--muted); font-size: 13px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.line__sum { font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }

.empty { flex: 1; display: grid; place-content: center; justify-items: center; gap: 16px; color: var(--muted); }

.drawer__foot { display: grid; gap: 10px; padding-top: 16px; }
.total { display: flex; justify-content: space-between; align-items: baseline; }
.total b { font: 700 30px/1 var(--display); font-variant-numeric: tabular-nums; }
.small { font-size: 12px; color: var(--muted); }

.checkout { overflow-y: auto; gap: 14px; padding-top: 12px; }
.back { align-self: flex-start; background: none; border: 0; padding: 4px 0; color: var(--muted); cursor: pointer; font-size: 14px; }
.f { display: grid; gap: 6px; border: 0; margin: 0; padding: 0; min-width: 0; }
.f > label, .f legend { font-size: 13px; font-weight: 500; }
.f legend { padding: 0; margin-bottom: 6px; }
.opt { color: var(--muted); font-weight: 400; }
.f input[type="text"], .f input[type="tel"], .f textarea {
  width: 100%; font: 400 16px/1.4 var(--body); color: var(--ink);
  background: var(--ground); border: 1px solid var(--line); border-radius: var(--r);
  padding: 12px 12px;
}
.f textarea { resize: vertical; }
.f input:focus, .f textarea:focus { outline: none; border-color: var(--ink); background: var(--paper); }
.f input.bad { border-color: var(--red); }
.radio { display: flex; gap: 10px; align-items: center; font-size: 15px; padding: 4px 0; cursor: pointer; }
.radio input { accent-color: var(--ink); width: 18px; height: 18px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.formerr { color: var(--red); font-size: 14px; }
.formerr a { color: inherit; }

.done { justify-content: center; gap: 16px; text-align: left; }
.done__big { font: 800 64px/.9 var(--display); text-transform: uppercase; }
.done p { color: var(--muted); }
.done .btn { align-self: flex-start; }

/* ——— тост ——— */

.toast {
  position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  z-index: 50;
  background: var(--ink); color: var(--paper);
  padding: 12px 14px 12px 18px; border-radius: var(--r);
  display: flex; align-items: center; gap: 16px;
  font-size: 14px; max-width: calc(100% - 32px);
  box-shadow: 0 10px 30px -10px rgba(0,0,0,.4);
}
.toast button { background: none; border: 0; color: #fff; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-size: 14px; white-space: nowrap; }

/* ——— три смужки і меню ——— */

.burger {
  width: 46px; height: 46px; flex: none;
  display: grid; align-content: center; gap: 5px;
  padding: 0 11px; cursor: pointer;
  background: none; border: 1px solid var(--ink); border-radius: 999px;
}
.burger span { display: block; height: 1.6px; background: var(--ink); border-radius: 2px; }
.burger span:nth-child(2) { width: 70%; }
.burger:hover { background: var(--ink); }
.burger:hover span { background: var(--paper); }

.btn--sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
@media (max-width: 760px) { .head .btn--sm { display: none; } }

.nav {
  margin: 0 0 0 auto;
  width: min(480px, 100%);
  height: 100dvh; max-height: 100dvh;
  background: var(--paper);
}
.nav[open] { animation: navIn .25s ease-out; }
@keyframes navIn { from { transform: translateX(28px); opacity: .3; } }
.nav__in {
  height: 100%; overflow-y: auto;
  display: flex; flex-direction: column; gap: 28px;
  padding: calc(16px + env(safe-area-inset-top, 0px)) clamp(20px, 5vw, 36px) calc(24px + env(safe-area-inset-bottom, 0px));
}
.nav__head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 14px; border-bottom: 1px solid var(--ink); }
.nav__cols { display: grid; gap: 26px; }
.nav__col { display: grid; gap: 10px; }
.nav__title {
  font: 500 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .1em;
  color: var(--muted); padding-bottom: 6px; border-bottom: 1px solid var(--line);
}
.nav__col a { text-decoration: none; font-size: 17px; width: fit-content; }
.nav__col a:hover { text-decoration: underline; text-underline-offset: 4px; }
.nav__foot { margin-top: auto; display: grid; justify-items: start; gap: 10px; padding-top: 20px; border-top: 1px solid var(--line); }
.nav__phone { font: 500 16px/1 var(--mono); text-decoration: none; }

/* ——— підвал ——— */

.foot {
  background: var(--ink); color: #BFC1C6;
  padding: clamp(32px, 5vw, 56px) var(--gut) calc(24px + env(safe-area-inset-bottom, 0px));
}
.foot__in {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr));
  gap: 28px 24px;
}
.foot__brand { display: grid; gap: 10px; align-content: start; }
.foot__brand .logo { color: #F2F2EF; }
.foot .small { color: #9EA1A8; font-size: 13px; }
.foot__col { display: grid; gap: 9px; align-content: start; }
.foot__title { font: 500 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .1em; color: #8A8D94; }
.foot__col a { color: #E3E4E7; text-decoration: none; font-size: 14px; width: fit-content; }
.foot__col a:hover { text-decoration: underline; text-underline-offset: 3px; }
.foot__copy {
  max-width: var(--max); margin: clamp(28px, 4vw, 44px) auto 0;
  padding-top: 18px; border-top: 1px solid #2C2F36;
  color: #8A8D94; font-size: 13px;
}
@media (max-width: 900px) { .foot__in { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot__in { grid-template-columns: 1fr; gap: 22px; } }

/* ——— текстові сторінки ——— */

.page {
  max-width: 820px; margin: 0 auto;
  padding: clamp(28px, 5vw, 56px) var(--gut) clamp(48px, 7vw, 88px);
  display: grid; gap: 22px;
}
.crumbs { font: 400 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; text-underline-offset: 3px; }
.crumbs span { padding: 0 6px; }
.page h1 { font: 800 clamp(42px, 7vw, 76px)/.95 var(--display); text-transform: uppercase; }
.page__lead { font-size: 18px; max-width: 60ch; }

.prose { display: grid; gap: 14px; color: var(--muted); }
.prose h2 {
  font: 600 14px/1.3 var(--body); color: var(--ink);
  margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line);
}
.prose p, .prose li { max-width: 68ch; }
.prose ul { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
.prose li::marker { color: var(--red); }
.prose b { color: var(--ink); font-weight: 600; }
.prose a { color: var(--ink); text-underline-offset: 3px; }
.note { font-size: 13px; padding: 14px 16px; background: var(--paper); border-left: 2px solid var(--red); }

.page__cta {
  display: grid; gap: 16px; margin-top: 14px;
  padding: clamp(20px, 3vw, 28px);
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
}
.page__cta-links { display: flex; flex-wrap: wrap; gap: 10px; }

.term__more { font-size: 14px; text-underline-offset: 4px; margin-top: 2px; }

/* ——— акордеони у вікні товару ——— */

.pd__acc { display: grid; }
.pd__acc details { border-bottom: 1px solid var(--line); }
.pd__acc summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 14px 0; font-size: 15px; font-weight: 500;
}
.pd__acc summary::-webkit-details-marker { display: none; }
.pd__acc summary::after { content: "+"; font: 400 20px/1 var(--mono); color: var(--muted); transition: transform .2s; }
.pd__acc details[open] summary::after { transform: rotate(45deg); }
.acc__body { display: grid; gap: 10px; padding: 0 0 16px; color: var(--muted); font-size: 14px; }
.acc__body a { color: var(--ink); text-underline-offset: 3px; }

.sizetable--sm { min-width: 0; }
.sizetable--sm th, .sizetable--sm td { padding: 8px 10px 8px 0; font-size: 13px; }
.sizetable--sm thead th:not(:first-child) { font-size: 18px; }
