/* ============================================================
   POLE CONCEPT STORE — макет v1
   Вайб: минимализм, ч/б, воздух, Defectica + Inter,
   пунктирные волосяные линии #ccc, прямые углы, капсулы, случайный регистр.
   Шрифты подключены в fonts.css (base64 — работает с file://).
   ============================================================ */

/* ---------- токены ---------- */
:root {
  --black: #000;
  --white: #fff;
  --ink: #111;
  --gray: #767676;
  --line: #ccc;
  --line-strong: #8c8c8c;
  --line-dashed: 1px dashed var(--line);
  --surface: #f5f5f3;

  --font-display: "Defectica", "Arial Black", sans-serif;
  --font-ui: "Inter", "Helvetica Neue", Arial, sans-serif;

  --container: 1360px;
  --gutter: clamp(16px, 3vw, 40px);
  --radius-pill: 200px;

  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --t-fast: 180ms;
}

/* ---------- база ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  overflow-x: clip;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.5;
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  clip-path: inset(50%);
  overflow: hidden;
}

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- типографика ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: 0.01em;
  text-transform: none;
  margin: 0;
}

.h1 { font-size: clamp(40px, 6.5vw, 88px); }
.h2 { font-size: clamp(30px, 4vw, 56px); }
.h3 { font-size: clamp(22px, 2.6vw, 32px); }

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: clamp(24px, 4vw, 48px);
}

.section-link {
  font-size: 15px;
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 1px;
  transition: color var(--t-fast) var(--ease);
  white-space: nowrap;
}
.section-link:hover { color: var(--gray); }

.meta {
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gray);
}

/* ---------- кнопки ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 36px;
  font-size: 16px;
  font-weight: 500;
  border: 1px solid var(--black);
  border-radius: 0;
  transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
  text-align: center;
}
.btn--solid { background: var(--black); color: var(--white); }
.btn--solid:hover { background: var(--white); color: var(--black); }
.btn--ghost { background: transparent; color: var(--black); }
.btn--ghost:hover { background: var(--black); color: var(--white); }
.btn--wide { width: 100%; }

.link-underline {
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 1px;
  transition: color var(--t-fast) var(--ease);
}
.link-underline:hover { color: var(--gray); }

/* ---------- шапка ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: var(--line-dashed);
}

.topbar__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(16px, 3vw, 48px);
  padding-block: 14px;
}

.logo {
  display: inline-flex;
  align-items: center;
}
.logo img {
  display: block;
  height: 20px;
  width: auto;
}

.nav {
  display: flex;
  gap: clamp(16px, 2.5vw, 36px);
}
.nav a {
  font-size: 15px;
  text-transform: lowercase;
  padding-block: 6px;
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-fast) var(--ease);
}
.nav a:hover { border-color: var(--black); }
.nav a[aria-current="page"],
.mnav a[aria-current="page"] { border-color: var(--black); }

.topbar__actions {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 24px);
}

.search {
  position: relative;
  width: clamp(140px, 18vw, 280px);
}
.search input {
  width: 100%;
  height: 40px;
  padding: 0 16px;
  font-family: var(--font-ui);
  font-weight: 300;
  font-size: 15px;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  background: var(--white);
  outline-offset: 2px;
}
.search input::placeholder { color: var(--gray); }
.search input:focus { border-color: var(--black); outline: none; }

.icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  transition: opacity var(--t-fast) var(--ease);
}
.icon-btn:hover { opacity: 0.6; }
.icon-btn svg { width: 20px; height: 20px; }

.icon-btn__count {
  position: absolute;
  top: 2px;
  right: 0;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 600;
  background: var(--black);
  color: var(--white);
  border-radius: var(--radius-pill);
}

.burger { display: none; }

/* мобильное меню — простой дропдаун */
.mnav {
  display: none;
  flex-direction: column;
  border-top: var(--line-dashed);
  padding: 12px var(--gutter) 20px;
}
.mnav.open { display: flex; }
.mnav a {
  font-family: var(--font-display);
  font-size: 26px;
  text-transform: lowercase;
  padding-block: 10px;
  border-bottom: var(--line-dashed);
}
.mnav a:last-child { border-bottom: 0; }
.mnav .search {
  display: block;
  width: 100%;
  margin-block: 12px;
}

/* ---------- декоративные SVG-линии: один фон на несколько блоков ---------- */
.bg-lines {
  background-image: url("../img/line-2-5-2.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
.footer {
  background-image: url("../img/vector-13.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

/* ---------- акцентные карточки выставок ---------- */
.exhibits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 2vw, 32px);
}
.exhibit {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  padding: clamp(16px, 2vw, 28px);
  min-height: 420px;
}
.exhibit__label {
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.exhibit__media {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 2.5vw, 40px) 0;
}
.exhibit__media img {
  max-height: 380px;
  width: auto;
  max-width: 100%;
  height: auto;
  transition: transform 400ms var(--ease);
}
.exhibit:hover .exhibit__media img { transform: scale(1.02); }
.exhibit__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 14px;
  color: var(--ink);
}
.exhibit__foot svg {
  width: 28px;
  height: 28px;
  transition: transform var(--t-fast) var(--ease);
}
.exhibit:hover .exhibit__foot svg { transform: translateX(6px); }

/* ---------- герой ---------- */
.hero { padding-block: clamp(28px, 5vw, 72px); }

.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.hero__title { margin-bottom: clamp(16px, 2.5vw, 28px); }

.hero__sub {
  max-width: 46ch;
  font-size: clamp(15px, 1.4vw, 18px);
  font-weight: 300;
  color: var(--ink);
  margin: 0 0 clamp(24px, 3vw, 40px);
}

.hero__media {
  position: relative;
  border-radius: var(--radius-pill);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--surface);
}
.hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
  z-index: 0;
}

.hero__note {
  display: block;
  margin-top: 18px;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gray);
}

/* ---------- категории: редакционный указатель ---------- */
.cats { padding-block: clamp(40px, 6vw, 96px); }

.cats__list {
  border-top: var(--line-dashed);
}
.cats__item {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  align-items: baseline;
  gap: clamp(12px, 2vw, 32px);
  padding-block: clamp(14px, 1.8vw, 22px);
  border-bottom: var(--line-dashed);
  transition: padding-left var(--t-fast) var(--ease);
}
.cats__item:hover { padding-left: 14px; }
.cats__num {
  font-size: 13px;
  color: var(--gray);
  font-variant-numeric: tabular-nums;
}
.cats__name {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.4vw, 44px);
  line-height: 1;
  text-transform: lowercase;
}
.cats__count { font-size: 14px; color: var(--gray); }

/* ---------- карточка товара ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 2.5vw, 32px);
  row-gap: clamp(32px, 4vw, 56px);
}

.card { position: relative; }

.card__media {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--surface);
  overflow: hidden;
  margin-bottom: 14px;
}
.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms var(--ease);
}
.card:hover .card__media img { transform: scale(1.03); }

.card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 14px;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--white);
}
.card__badge--sold { background: var(--black); color: var(--white); }

.card__name {
  display: block;
  font-size: 15px;
  line-height: 1.35;
  margin-bottom: 4px;
}
.card__brand {
  display: block;
  font-size: 13px;
  color: var(--gray);
  margin-bottom: 8px;
}
.card__price {
  display: block;
  font-size: 16px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.card__price s {
  color: var(--gray);
  font-weight: 400;
  margin-right: 8px;
}
.card__sold-note {
  font-size: 13px;
  color: var(--gray);
}

/* ---------- USP ---------- */
.usp {
  border-bottom: var(--line-dashed);
}
.usp__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.usp__item {
  padding: clamp(32px, 5vw, 72px) clamp(16px, 2.5vw, 40px);
}
.usp__item + .usp__item { border-left: var(--line-dashed); }
.usp__title {
  font-family: var(--font-display);
  font-size: 20px;
  margin: 0 0 8px;
}
.usp__text {
  font-size: 14px;
  font-weight: 300;
  color: var(--ink);
  margin: 0;
}

/* ---------- футер ---------- */
.footer {
  padding-block: clamp(40px, 6vw, 80px) 32px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: clamp(24px, 4vw, 64px);
  padding-bottom: clamp(32px, 4vw, 56px);
  border-bottom: var(--line-dashed);
}
.footer__logo {
  display: block;
  height: clamp(90px, 9vw, 130px);
  width: auto;
  margin-bottom: 16px;
}
.footer__addr {
  font-size: 14px;
  font-weight: 300;
  color: var(--ink);
  max-width: 34ch;
  margin: 0;
}
.footer__col-title {
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray);
  margin: 0 0 16px;
}
.footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.footer__list a {
  font-size: 15px;
  text-transform: lowercase;
}
.footer__list a:hover { text-decoration: underline; text-underline-offset: 5px; }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  font-size: 13px;
  color: var(--gray);
}
.footer__pay {
  display: flex;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer__pay span {
  border: 1px solid var(--line);
  padding: 4px 10px;
  font-size: 11px;
  letter-spacing: 0.06em;
}

/* ============================================================
   КАТАЛОГ
   ============================================================ */
.page-head {
  padding-block: clamp(24px, 4vw, 56px) clamp(16px, 2vw, 28px);
}
.breadcrumbs {
  font-size: 13px;
  color: var(--gray);
  margin-bottom: clamp(12px, 2vw, 24px);
  padding-top: 20px;
}
.breadcrumbs a:hover { color: var(--black); }
.page-head .meta { display: block; margin-top: 12px; }

.section {
  padding-block: clamp(40px, 6vw, 96px);
}

/* мобильный переключатель фильтров */
.filters-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 20px;
  font-size: 15px;
  border: 1px solid var(--black);
}

.catalog {
  display: grid;
  grid-template-columns: 264px 1fr;
  gap: clamp(24px, 3.5vw, 56px);
  padding-bottom: clamp(48px, 6vw, 96px);
}

/* фильтры */
.filters {
  position: sticky;
  top: 86px;
  align-self: start;
}
.filters__group {
  border-top: var(--line-dashed);
  padding-block: 18px;
}
.filters__title {
  font-family: var(--font-display);
  font-size: 17px;
  margin: 0 0 14px;
  text-transform: lowercase;
}
.filters__list {
  display: grid;
  gap: 10px;
}
.check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  cursor: pointer;
  user-select: none;
}
.check input {
  appearance: none;
  width: 18px;
  height: 18px;
  border: 1px solid var(--line-strong);
  cursor: pointer;
  display: grid;
  place-items: center;
  margin: 0;
  flex: none;
}
.check input:checked { background: var(--black); border-color: var(--black); }
.check input:checked::after {
  content: "";
  width: 10px;
  height: 6px;
  border-left: 2px solid var(--white);
  border-bottom: 2px solid var(--white);
  transform: rotate(-45deg) translate(0, -1px);
}
.check .n { color: var(--gray); font-size: 12px; }

.price-inputs {
  display: flex;
  align-items: center;
  gap: 8px;
}
.price-inputs input {
  width: 100%;
  height: 44px;
  padding: 0 12px;
  font: inherit;
  font-size: 14px;
  border: 1px solid var(--line-strong);
  border-radius: 0;
}
.price-inputs input:focus { outline: none; border-color: var(--black); }

/* свотчи цвета */
.swatches { display: flex; flex-wrap: wrap; gap: 12px; }
.swatch {
  position: relative;
  width: 28px;
  height: 28px;
  border: 1px solid var(--line-strong);
}
.swatch::after {
  content: "";
  position: absolute;
  inset: -8px;
}
.swatch.selected { outline: 2px solid var(--black); outline-offset: 2px; }

/* тулбар над сеткой */
.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: clamp(20px, 3vw, 36px);
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  padding: 11px 18px;
  border: 1px solid var(--black);
  border-radius: var(--radius-pill);
  transition: opacity var(--t-fast) var(--ease);
}
.chip:hover { opacity: 0.6; }
.sort {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  white-space: nowrap;
}
.sort select {
  height: 44px;
  padding: 0 12px;
  font: inherit;
  font-size: 14px;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  background: var(--white);
}

/* каталог 3 колонки */
.catalog .grid { grid-template-columns: repeat(3, 1fr); }

/* пагинация */
.pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: clamp(40px, 5vw, 72px);
}
.pagination a,
.pagination span {
  min-width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  border: 1px solid transparent;
}
.pagination a:hover { border-color: var(--black); }
.pagination .current { border-color: var(--black); background: var(--black); color: var(--white); }

/* ============================================================
   КОРЗИНА
   ============================================================ */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: clamp(24px, 4vw, 72px);
  align-items: start;
  padding-bottom: clamp(48px, 6vw, 96px);
}

.cart-items { border-top: var(--line-dashed); }

.cart-item {
  display: grid;
  grid-template-columns: 96px 1fr auto auto;
  gap: clamp(16px, 2vw, 32px);
  align-items: center;
  padding-block: 24px;
  border-bottom: var(--line-dashed);
}
.cart-item__img {
  width: 96px;
  aspect-ratio: 1 / 1;
  background: var(--surface);
  overflow: hidden;
}
.cart-item__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cart-item__name {
  display: block;
  font-size: 16px;
  margin-bottom: 4px;
}
.cart-item__meta { font-size: 13px; color: var(--gray); }
.cart-item__price { font-size: 15px; white-space: nowrap; }

.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
}
.qty button {
  width: 44px;
  height: 44px;
  font-size: 18px;
  transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.qty button:hover { background: var(--black); color: var(--white); }
.qty output {
  width: 40px;
  text-align: center;
  font-size: 15px;
  font-variant-numeric: tabular-nums;
}

.cart-item__sum {
  font-size: 17px;
  font-weight: 500;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.cart-item__sum-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  text-align: right;
}
.cart-item__remove {
  font-size: 13px;
  color: var(--gray);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.cart-item__remove:hover { color: var(--black); }

/* итоги */
.summary {
  position: sticky;
  top: 86px;
  border: 1px solid var(--black);
  padding: clamp(20px, 2.5vw, 32px);
}
.summary__row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 15px;
  padding-block: 10px;
}
.summary__row--total {
  border-top: var(--line-dashed);
  margin-top: 10px;
  padding-top: 18px;
  font-size: 20px;
  font-weight: 600;
}
.summary__note {
  font-size: 13px;
  color: var(--gray);
  margin: 12px 0 20px;
}
.summary .btn + .summary__back { margin-top: 14px; }
.summary__back {
  display: block;
  text-align: center;
  font-size: 14px;
}
.summary__split {
  margin-top: 18px;
  padding-top: 16px;
  border-top: var(--line-dashed);
  font-size: 13px;
  color: var(--ink);
}

/* ============================================================
   ЧЕКАУТ
   ============================================================ */
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: clamp(24px, 4vw, 72px);
  align-items: start;
  padding-bottom: clamp(48px, 6vw, 96px);
}

.step {
  border-top: var(--line-dashed);
  padding-block: clamp(24px, 3vw, 40px);
}
.step__head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: clamp(18px, 2.5vw, 28px);
}
.step__num {
  font-size: 13px;
  color: var(--gray);
  font-variant-numeric: tabular-nums;
}

.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 8px;
}
.field input {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  font: inherit;
  font-size: 16px;
  border: 1px solid var(--line-strong);
  border-radius: 0;
}
.field input:focus { outline: none; border-color: var(--black); }
.field__hint { font-size: 12px; color: var(--gray); margin-top: 6px; }
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* радио-карточки (доставка/оплата) */
.radio-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  border: 1px solid var(--line-strong);
  cursor: pointer;
  transition: border-color var(--t-fast) var(--ease);
  margin-bottom: 12px;
}
.radio-card:hover { border-color: var(--black); }
.radio-card:has(input:checked) { border-color: var(--black); border-width: 2px; padding: 17px 19px; }
.radio-card input {
  appearance: none;
  width: 20px;
  height: 20px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  margin: 2px 0 0;
  flex: none;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.radio-card input:checked { border-color: var(--black); }
.radio-card input:checked::after {
  content: "";
  width: 10px;
  height: 10px;
  background: var(--black);
  border-radius: 50%;
}
.radio-card__title {
  display: block;
  font-size: 16px;
  margin-bottom: 2px;
}
.radio-card__desc {
  font-size: 13px;
  color: var(--gray);
}
.radio-card__price {
  margin-left: auto;
  font-size: 15px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

/* оплата — доверие рядом */
.pay-note {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  font-size: 13px;
  color: var(--gray);
  margin-top: 16px;
}

/* согласие */
.consent {
  display: flex;
  gap: 12px;
  font-size: 13px;
  color: var(--ink);
  margin: 24px 0;
  max-width: 60ch;
  cursor: pointer;
}
.consent input {
  appearance: none;
  width: 18px;
  height: 18px;
  border: 1px solid var(--line-strong);
  margin: 2px 0 0;
  flex: none;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.consent input:checked { background: var(--black); border-color: var(--black); }
.consent input:checked::after {
  content: "";
  width: 10px;
  height: 6px;
  border-left: 2px solid var(--white);
  border-bottom: 2px solid var(--white);
  transform: rotate(-45deg) translate(0, -1px);
}

/* мини-состав в итогах чекаута */
.summary__title {
  font-size: 22px;
  margin: 0 0 8px;
}
.summary__items { margin-bottom: 8px; }
.summary__item {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 12px;
  align-items: center;
  padding-block: 12px;
  border-bottom: var(--line-dashed);
}
.summary__item img { width: 56px; aspect-ratio: 1; object-fit: cover; background: var(--surface); }
.summary__item-name { font-size: 13px; line-height: 1.3; }
.summary__item-sum { font-size: 13px; font-variant-numeric: tabular-nums; }

/* ============================================================
   СТРАНИЦА ТОВАРА (PDP)
   ============================================================ */
.pdp {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(24px, 4vw, 72px);
  align-items: start;
  padding-bottom: clamp(24px, 3vw, 48px);
}

.pdp__main {
  aspect-ratio: 1 / 1;
  background: var(--surface);
  overflow: hidden;
  margin-bottom: 12px;
}
.pdp__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pdp__thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.pdp__thumb {
  aspect-ratio: 1 / 1;
  background: var(--surface);
  overflow: hidden;
  border: 1px solid transparent;
  padding: 0;
}
.pdp__thumb img { width: 100%; height: 100%; object-fit: cover; }
.pdp__thumb.selected { border-color: var(--black); }

.pdp__title {
  font-size: clamp(30px, 3.4vw, 52px);
  margin: 10px 0 18px;
}
.pdp__price {
  font-size: 28px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  margin: 0 0 4px;
}
.pdp__split { font-size: 13px; color: var(--gray); margin: 0 0 18px; }
.pdp__avail { font-size: 14px; margin: 0 0 14px; }
.pdp__desc {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.6;
  margin: 0 0 24px;
  max-width: 56ch;
}

.buybox {
  display: flex;
  gap: 12px;
  margin-bottom: 22px;
}
.buybox .qty { flex: none; }
.buybox .btn { flex: 1; }

.pdp__trust {
  list-style: none;
  margin: 0 0 28px;
  padding: 16px 0;
  border-top: var(--line-dashed);
  border-bottom: var(--line-dashed);
  display: grid;
  gap: 8px;
  font-size: 14px;
  font-weight: 300;
}

/* аккордеоны */
.acc details {
  border-bottom: var(--line-dashed);
}
.acc summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--font-display);
  font-size: 19px;
  padding-block: 18px;
  min-height: 44px;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after {
  content: "+";
  font-family: var(--font-ui);
  font-size: 22px;
  font-weight: 300;
  color: var(--gray);
  transition: transform var(--t-fast) var(--ease);
}
.acc details[open] summary::after { transform: rotate(45deg); }
.acc__body {
  padding-bottom: 20px;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.6;
  max-width: 60ch;
}
.acc__body p { margin: 0 0 10px; }
.acc__body p:last-child { margin-bottom: 0; }
.specs {
  width: 100%;
  border-collapse: collapse;
}
.specs td {
  padding: 7px 0;
  vertical-align: top;
}
.specs tr + tr td { border-top: var(--line-dashed); }
.specs td:first-child { color: var(--gray); width: 40%; }

/* мобильная закреплённая покупка */
.sticky-buy {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  background: var(--white);
  border-top: var(--line-dashed);
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  align-items: center;
  gap: 16px;
}
.sticky-buy__info {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}
.sticky-buy__name {
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sticky-buy__price { font-size: 15px; font-weight: 600; }
.sticky-buy .btn { min-height: 48px; padding: 10px 28px; }

@media (max-width: 900px) {
  .pdp { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .sticky-buy { display: flex; }
  body { padding-bottom: 76px; }
}

/* ============================================================
   АДАПТИВ
   ============================================================ */
@media (max-width: 1100px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .catalog .grid { grid-template-columns: repeat(2, 1fr); }
  .cart-layout,
  .checkout-layout { grid-template-columns: 1fr; }
  .summary { position: static; }
  .checkout-layout .summary { order: -1; }
}

@media (max-width: 900px) {
  .nav { display: none; }
  .search { display: none; }
  .burger { display: inline-flex; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { max-width: 420px; aspect-ratio: 4 / 3; border-radius: var(--radius-pill); }
  .exhibits { grid-template-columns: 1fr; }
  .exhibit { min-height: 0; }
  .usp__grid { grid-template-columns: 1fr; }
  .usp__item + .usp__item { border-left: 0; border-top: var(--line-dashed); }
  .footer__grid { grid-template-columns: 1fr; }
  .catalog { grid-template-columns: 1fr; }
  .filters { display: none; }
  .filters.open { display: block; }
  .filters-toggle { display: inline-flex; }
  .toolbar { flex-wrap: wrap; }
}

@media (max-width: 600px) {
  .grid,
  .catalog .grid { grid-template-columns: repeat(2, 1fr); gap: 14px; row-gap: 28px; }
  .card__name { font-size: 13px; }
  .card__price { font-size: 14px; }
  .cart-item {
    grid-template-columns: 72px 1fr;
    grid-template-areas:
      "img info"
      "img qty"
      "sum sum";
    row-gap: 12px;
  }
  .cart-item__img { width: 72px; grid-area: img; }
  .cart-item__info { grid-area: info; }
  .cart-item__qty { grid-area: qty; }
  .cart-item__sum-wrap { grid-area: sum; align-items: flex-start; text-align: left; }
  .field-row { grid-template-columns: 1fr; }
}

/* ---------- доступность движения ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
