/* ARCLINE landing. Nothing here is shared with the panel in web-ui: the panel
   is a dense workspace, this is a storefront. Two rules hold the look together
   — every corner is square (no border-radius anywhere) and every surface is
   separated by a 1px line rather than a shadow. */

@import url('fonts.css');

/* ---------- tokens ---------- */

:root {
  color-scheme: light;

  --bg: #ffffff;
  --bg-sunk: #f4f4f2;
  --surface: #ffffff;
  --surface-alt: #fafaf8;
  --ink: #101012;
  --ink-soft: #43434b;
  --muted: #6f6f78;
  --line: #e3e3de;
  --line-strong: #c9c9c2;
  --accent: #ff5a1f;
  --accent-hover: #e84a12;
  --on-accent: #100c08;
  --art: #101012;
  --art-soft: #b9b9b2;
  --focus: #ff5a1f;

  --space: 24px;
  --wrap: 1240px;
  --header-h: 68px;

  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display: 'Manrope', 'Inter', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', 'Consolas', monospace;
}

:root[data-theme='dark'] {
  color-scheme: dark;

  --bg: #0a0a0b;
  --bg-sunk: #0f0f11;
  --surface: #121214;
  --surface-alt: #17171a;
  --ink: #f3f3f1;
  --ink-soft: #c8c8c6;
  --muted: #91919a;
  --line: #26262b;
  --line-strong: #3a3a41;
  --accent: #ff6a33;
  --accent-hover: #ff8352;
  --on-accent: #100c08;
  --art: #f3f3f1;
  --art-soft: #3a3a41;
  --focus: #ff6a33;
}

/* ---------- reset ---------- */

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
}

p { margin: 0; }

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

::selection { background: var(--accent); color: var(--on-accent); }

/* ---------- shared pieces ---------- */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--space);
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: var(--on-accent);
  padding: 12px 16px;
  z-index: 100;
}
.skip:focus { left: 0; }

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.section { padding: 96px 0; border-top: 1px solid var(--line); }
.section--sunk { background: var(--bg-sunk); }
.section--tight { padding: 64px 0; }
.section--flush { border-top: 0; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 40px;
}
.section-head h2 { font-size: clamp(28px, 3.6vw, 42px); }
.section-head p { color: var(--muted); max-width: 52ch; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--bg);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: background 120ms linear, color 120ms linear, border-color 120ms linear;
}
.btn:hover { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn .icon { width: 18px; height: 18px; }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { background: transparent; border-color: var(--ink); color: var(--ink); }

.btn--accent { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn--accent:hover { background: var(--accent-hover); border-color: var(--accent-hover); }

.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: square; stroke-linejoin: miter; }
.icon--lg { width: 28px; height: 28px; }

/* ---------- header ---------- */

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.header__inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 32px;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark { width: 28px; height: 28px; }
.brand__mark .arc { stroke: var(--accent); }
.brand__mark .corner { stroke: var(--art); }
.brand__name {
  font-family: var(--display);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a {
  position: relative;
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  padding: 4px 0;
  transition: color 120ms linear;
}
.nav a:hover { color: var(--ink); }
.nav a[aria-current='page'] { color: var(--ink); }
.nav a[aria-current='page']::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--accent);
}

.header__actions { display: flex; align-items: center; gap: 8px; }

.icon-btn {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  transition: border-color 120ms linear, color 120ms linear;
}
.icon-btn:hover { border-color: var(--ink); color: var(--accent); }

.nav-toggle { display: none; }

/* ---------- hero ---------- */

.hero { padding: 88px 0 80px; }
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(40px, 6vw, 72px);
  margin: 18px 0 22px;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero__lead { color: var(--ink-soft); font-size: 18px; max-width: 54ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__art { border: 1px solid var(--line); background: var(--surface-alt); padding: 24px; }

.art { width: 100%; height: auto; }
.art .stroke { stroke: var(--art); fill: none; stroke-width: 2; }
.art .thin { stroke: var(--art-soft); fill: none; stroke-width: 1.4; }
.art .fill-accent { fill: var(--accent); }
.art .stroke-accent { stroke: var(--accent); fill: none; stroke-width: 2.4; }
.art .fill-soft { fill: var(--art-soft); opacity: 0.25; }

/* ---------- ticker band ---------- */

.band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface-alt);
}
.band__inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.band__item {
  padding: 26px var(--space);
  border-right: 1px solid var(--line);
}
.band__item:last-child { border-right: 0; }
.band__value {
  font-family: var(--mono);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.band__label { color: var(--muted); font-size: 13px; margin-top: 4px; }

/* ---------- family / feature cards ---------- */

.grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.tile {
  background: var(--surface);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 190px;
  transition: background 120ms linear;
}
a.tile:hover { background: var(--surface-alt); }
a.tile:hover .tile__go { color: var(--accent); transform: translateX(4px); }
.tile__icon { color: var(--accent); }
.tile h3 { font-size: 19px; letter-spacing: -0.01em; }
.tile p { color: var(--muted); font-size: 14px; }
.tile__meta { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; }
.tile__go { margin-top: auto; color: var(--muted); transition: transform 120ms linear, color 120ms linear; }

.steps { counter-reset: step; }
.step__num {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--accent);
}

/* ---------- product cards ---------- */

.products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(248px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.card {
  background: var(--surface);
  display: flex;
  flex-direction: column;
  padding: 0;
  /* Карточка открывает галерею, поэтому это кнопка, а не div с onclick:
     клавиатура и скринридер получают её бесплатно. */
  border: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
  width: 100%;
}
.card:focus-visible { outline: 2px solid var(--focus); outline-offset: -2px; }
.card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--surface-alt);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 14px;
  transition: transform 160ms ease-out;
}
.card:hover .card__media img { transform: scale(1.03); }
.card__tag {
  position: absolute;
  top: 0;
  left: 0;
  padding: 6px 10px;
  background: var(--ink);
  color: var(--bg);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.card__count {
  position: absolute;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  background: var(--bg);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
}
.card__count .icon { width: 14px; height: 14px; }
.card:hover .card__count { color: var(--accent); }

.card__body { padding: 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card__group { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.card__name { font-family: var(--display); font-weight: 700; font-size: 17px; letter-spacing: -0.01em; }
.card__foot {
  margin-top: auto;
  padding-top: 14px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}
.card__price { font-family: var(--mono); font-weight: 600; font-size: 19px; }
.card__unit { font-family: var(--mono); font-size: 11px; color: var(--muted); letter-spacing: 0.1em; }

/* ---------- catalog controls ---------- */

.catalog-head { padding: 56px 0 32px; }
.catalog-head h1 { font-size: clamp(34px, 5vw, 52px); margin: 14px 0 16px; }
.catalog-head p { color: var(--muted); max-width: 60ch; }

.controls {
  position: sticky;
  top: var(--header-h);
  z-index: 30;
  background: var(--bg);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}
.controls__row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.search {
  position: relative;
  flex: 1 1 320px;
  display: flex;
  align-items: center;
  border: 1px solid var(--line-strong);
  background: var(--surface);
}
.search:focus-within { border-color: var(--accent); }
.search .icon { margin: 0 12px; color: var(--muted); }
.search input {
  flex: 1;
  border: 0;
  background: transparent;
  padding: 12px 0;
  outline: none;
}
.search input::placeholder { color: var(--muted); }
/* The browser's own clear cross would sit next to ours and open a second,
   unstyled way to do the same thing. */
.search input::-webkit-search-cancel-button,
.search input::-webkit-search-decoration { -webkit-appearance: none; appearance: none; }
.search__clear {
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  padding: 0 12px;
  height: 100%;
  display: none;
}
.search__clear:hover { color: var(--accent); }
.search--filled .search__clear { display: flex; align-items: center; }

.select {
  position: relative;
  display: flex;
  align-items: center;
  border: 1px solid var(--line-strong);
  background: var(--surface);
}
.select select {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 12px 40px 12px 14px;
  outline: none;
  cursor: pointer;
}
.select .icon { position: absolute; right: 10px; pointer-events: none; color: var(--muted); width: 16px; height: 16px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chip {
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--muted);
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: color 120ms linear, border-color 120ms linear, background 120ms linear;
}
.chip:hover { color: var(--ink); border-color: var(--ink); }
.chip[aria-pressed='true'] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
}

.result-note {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 24px 0 0;
}

.group { padding-top: 56px; }
.group__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 12px;
  margin-bottom: 24px;
}
.group__head h2 { font-size: 24px; }
.group__head p { color: var(--muted); font-size: 14px; }
.group__count { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: 0.1em; }

.empty {
  border: 1px solid var(--line);
  background: var(--surface-alt);
  padding: 56px 28px;
  text-align: center;
  margin-top: 32px;
}
.empty .icon { margin: 0 auto 16px; color: var(--muted); width: 34px; height: 34px; }
.empty h3 { font-size: 20px; margin-bottom: 8px; }
.empty p { color: var(--muted); }
.empty__suggest { margin-top: 18px; display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }

/* ---------- about ---------- */

.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: 56px;
  align-items: center;
}
.about__grid h1 { font-size: clamp(34px, 5vw, 54px); margin: 14px 0 20px; }
.about__grid p + p { margin-top: 16px; }
.about__grid p { color: var(--ink-soft); }
.about__art { border: 1px solid var(--line); background: var(--surface-alt); padding: 24px; }

.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.fact { background: var(--surface); padding: 26px; }
.fact__value { font-family: var(--mono); font-size: 30px; font-weight: 600; }
.fact__label { color: var(--muted); font-size: 14px; margin-top: 6px; }

.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.contact__side { background: var(--surface-alt); padding: 32px; display: flex; flex-direction: column; gap: 26px; }
.contact__item { display: flex; gap: 14px; }
.contact__item .icon { color: var(--accent); margin-top: 2px; }
.contact__item h3 { font-size: 15px; margin-bottom: 2px; }
.contact__item p, .contact__item a { color: var(--muted); font-size: 14px; }
.contact__item a:hover { color: var(--accent); }

.form { background: var(--surface); padding: 32px; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea, .field select {
  border: 1px solid var(--line-strong);
  background: var(--bg);
  padding: 12px 14px;
  outline: none;
}
.field textarea { resize: vertical; min-height: 132px; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--accent); }
.field--error input, .field--error textarea { border-color: #d9382b; }
.field__error { color: #d9382b; font-size: 12px; display: none; }
.field--error .field__error { display: block; }

.form__note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  border: 1px solid var(--line);
  background: var(--surface-alt);
  padding: 14px;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 20px;
}
.form__note .icon { color: var(--accent); width: 18px; height: 18px; margin-top: 1px; }

.form__done {
  display: none;
  gap: 10px;
  align-items: flex-start;
  border: 1px solid var(--accent);
  padding: 14px;
  font-size: 14px;
  margin-top: 18px;
}
.form__done .icon { color: var(--accent); width: 18px; height: 18px; margin-top: 2px; }
.form--sent .form__done { display: flex; }

/* ---------- cta + footer ---------- */

.cta {
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--bg);
  padding: 56px;
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
}
.cta h2 { font-size: clamp(26px, 3.4vw, 38px); max-width: 22ch; }
.cta p { color: rgba(255, 255, 255, 0.66); margin-top: 12px; max-width: 46ch; }
:root[data-theme='dark'] .cta p { color: rgba(0, 0, 0, 0.62); }

.footer { border-top: 1px solid var(--line); padding: 56px 0 32px; background: var(--bg-sunk); }
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 32px;
}
.footer h4 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; font-weight: 600; }
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer a { color: var(--muted); font-size: 14px; }
.footer a:hover { color: var(--accent); }
.footer__about { color: var(--muted); font-size: 14px; max-width: 40ch; margin-top: 14px; }
.footer__bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
}

/* ---------- responsive ---------- */

@media (max-width: 1080px) {
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__grid, .about__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .contact__grid { grid-template-columns: minmax(0, 1fr); }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .section { padding: 72px 0; }
  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 8px 0;
  }
  .nav a { padding: 14px var(--space); }
  .nav a[aria-current='page']::after { display: none; }
  .header--open .nav { display: flex; }
  .nav-toggle { display: inline-flex; }
  .header__inner { gap: 12px; }
  .header__actions { margin-left: auto; }
  .band__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .band__item:nth-child(2) { border-right: 0; }
  .band__item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .grid--3 { grid-template-columns: minmax(0, 1fr); }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .cta { padding: 36px; }
}

@media (max-width: 560px) {
  .grid--4 { grid-template-columns: minmax(0, 1fr); }
  .products { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
  .form__row { grid-template-columns: minmax(0, 1fr); }
  .footer__grid { grid-template-columns: minmax(0, 1fr); }
  .form, .contact__side { padding: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- галерея товара ---------- */

.no-scroll { overflow: hidden; }

.modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(10, 10, 11, 0.72);
}
.modal[open], .modal.is-open { display: flex; }

.modal__panel {
  position: relative;
  width: min(1080px, 100%);
  max-height: calc(100vh - 48px);
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  background: var(--bg);
  border: 1px solid var(--line-strong);
  overflow: hidden;
}

.modal__close {
  position: absolute;
  top: 0;
  right: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-left: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  color: var(--muted);
  cursor: pointer;
  z-index: 2;
}
.modal__close:hover { color: var(--accent); }

.modal__media { display: flex; flex-direction: column; border-right: 1px solid var(--line); min-width: 0; }

.modal__stage {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-alt);
  min-height: 320px;
}
.modal__stage img {
  width: 100%;
  height: 100%;
  max-height: 62vh;
  object-fit: contain;
  padding: 24px;
}

.modal__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  cursor: pointer;
}
.modal__nav:hover { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.modal__nav[hidden] { display: none; }
.modal__nav--prev { left: 12px; }
.modal__nav--next { right: 12px; }
.modal__nav--prev .icon { transform: rotate(180deg); }

.modal__thumbs {
  display: flex;
  background: var(--surface);
  border-top: 1px solid var(--line);
  overflow-x: auto;
}
.modal__thumb {
  flex: 0 0 84px;
  height: 64px;
  border: 0;
  border-right: 1px solid var(--line);
  padding: 6px;
  background: var(--surface);
  cursor: pointer;
}
.modal__thumb img { width: 100%; height: 100%; object-fit: contain; }
.modal__thumb[aria-current='true'] { background: var(--surface-alt); box-shadow: inset 0 -3px 0 var(--accent); }
.modal__thumbs--single { display: none; }

.modal__meta { padding: 28px; display: flex; flex-direction: column; gap: 14px; overflow-y: auto; }
.modal__group { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.modal__name { font-family: var(--display); font-weight: 800; font-size: 26px; letter-spacing: -0.02em; }
.modal__price { font-family: var(--mono); font-weight: 600; font-size: 30px; }
.modal__price span { font-size: 12px; color: var(--muted); margin-left: 8px; letter-spacing: 0.1em; }
.modal__specs { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.modal__specs li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.modal__specs dt, .modal__specs .k { color: var(--muted); }
.modal__note { color: var(--muted); font-size: 13px; }
.modal__meta .btn { margin-top: auto; justify-content: center; }

@media (max-width: 860px) {
  .modal { padding: 0; }
  .modal__panel {
    grid-template-columns: minmax(0, 1fr);
    max-height: 100vh;
    height: 100%;
    overflow-y: auto;
  }
  .modal__media { border-right: 0; border-bottom: 1px solid var(--line); }
  .modal__stage img { max-height: 46vh; }
  .modal__meta { padding: 22px; }
}
