/* ==========================================================================
   ВИТРИНА — ОФОРМЛЕНИЕ
   Цвета приходят переменными: --accent, --accent-2, --page, --ink (их ставит
   сервер из BRAND_ACCENT, BRAND_ACCENT_DARK, BRAND_PAGE, BRAND_INK в .env).
   Шрифт заголовков — Bounded (bounded-var.woff2, открытая лицензия OFL —
   bounded-OFL.txt). Встроенная в чужой сайт витрина помечается атрибутом
   data-showcase-embed на <html> — по нему правила ниже прячут лишнее.
   ========================================================================== */
@font-face {
  font-family: 'Bounded';
  src: url('bounded-var.woff2') format('woff2-variations');
  font-weight: 200 900;
  font-style: normal;

  font-display: swap;
}

:root {

  --accent:   #FF5100;
  --accent-2: #E2440A;
  --page:     #F7F4F3;
  --page-2:   #FBF9F7;
  --surface:  #FFFFFF;
  --ink:      #1A120D;
  --tint:     #FFF1E8;
  --on-accent: #FFFFFF;
  --muted: rgba(26, 18, 13, .60);
  --line:  rgba(26, 18, 13, .12);

  --font-display: 'Bounded', system-ui, sans-serif;
  --font-body:    'Bounded', system-ui, sans-serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --gut: max(16px, env(safe-area-inset-left), env(safe-area-inset-right));
  --top-safe: env(safe-area-inset-top);
  --bottom-safe: env(safe-area-inset-bottom);

  --kb: 0px;
  --bar-h: 60px;
  --radius: 14px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  background: var(--page);

}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);

  background: var(--page);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  overscroll-behavior-y: none;
}

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

[hidden] { display: none !important; }
ul { list-style: none; margin: 0; padding: 0; }
dl, dd { margin: 0; }
h1, h2, h3, p { margin: 0; }

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

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

.noscript {
  padding: 24px var(--gut);
  color: var(--muted);
  font-size: .95rem;
}
.noscript a { color: var(--ink); }

.form-trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .02em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color .2s var(--ease-out), border-color .2s var(--ease-out);
}
.btn--primary { background: var(--accent); color: var(--on-accent); }
.btn--primary:active { background: var(--accent-2); }
.btn--ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}
.btn--ghost:active { border-color: rgba(26, 18, 13, .3); }
.btn--wide { width: 100%; }
.btn--grow { flex: 1 1 auto; }
.btn--icon { flex: 0 0 auto; width: 52px; padding: 12px; }
.btn--icon svg { width: 20px; height: 20px; }
.btn[disabled] { opacity: .55; cursor: default; }

.iconbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
}
.iconbtn svg { width: 24px; height: 24px; }
.iconbtn:active { background: rgba(26, 18, 13, .08); }

.linkbtn {
  margin-top: 8px;
  padding: 6px 0;
  border: 0;
  background: none;
  color: var(--accent-2);
  font-size: .88rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.screen { padding-bottom: 32px; }
.screen[hidden] { display: none; }
.screen--lot {

  padding-bottom: calc(var(--bar-h) + var(--bottom-safe) + 24px);
}

.app {
  opacity: 0;
  transition: opacity .42s var(--ease-out);
}
.app.is-in { opacity: 1; }

.topbar__text,
.grid {
  transition: transform .48s var(--ease-out);
}
.app:not(.is-in) .topbar__text,
.app:not(.is-in) .grid { transform: translateY(14px); }

.topbar {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: start;
  column-gap: 12px;
  padding: calc(var(--top-safe) + 18px) var(--gut) 14px;
}

.topbar__logo { grid-column: 1; grid-row: 1; }
.helpbtn      { grid-column: 3; grid-row: 1; }
.topbar__text { grid-column: 1 / -1; grid-row: 2; text-align: center; }

.topbar__logo {
  width: 34px;
  height: 40px;
  margin-top: 1px;
  opacity: 0;
  transition: opacity .16s linear;
}
.topbar__logo.is-in { opacity: 1; }
.topbar__text { min-width: 0; margin-top: 2px; }

.helpbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  transition: border-color .2s var(--ease-out), background-color .2s var(--ease-out);
}
.helpbtn svg { width: 22px; height: 22px; }
.helpbtn:active {
  background: rgba(26, 18, 13, .08);
  border-color: rgba(26, 18, 13, .3);
}

.topbar__brand {
  font-family: var(--font-display);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .3em;
  color: var(--accent);
  text-transform: uppercase;
}
/*
  ⚠️ ЗАГОЛОВОК ПЕРЕСТАЛ КРИЧАТЬ (01.10.2026). Крупный капс во всю ширину
  забивал собой и знак компании, и машины: первое, что видел человек, — три
  строки заглавными. Теперь это обычная строка — смысл тот же, а взгляд уходит
  туда, где товар.
*/
.topbar__title {
  margin-top: 6px;
  font-family: var(--font-display);

  font-size: clamp(.98rem, 2.6vw, 1.22rem);
  letter-spacing: -.005em;
  font-weight: 600;
  line-height: 1.25;
  text-transform: none;
  color: var(--muted);
  text-wrap: balance;
}
.topbar__sub {
  margin-top: 6px;
  color: var(--muted);
  font-size: .86rem;
}

/* ============================================================================
   ВЫВЕСКА В ШАПКЕ: ЗНАК, ТЕЛЕФОН И МЕСТО ПОД ЗНАК
   ----------------------------------------------------------------------------
   ⚠️ ЗНАК И ТЕЛЕФОН ВИДНЫ СРАЗУ, И ЭТО НЕ УКРАШЕНИЕ. Витрина продаётся как
   «ваш магазин под вашим брендом»: если первое, что видит покупатель, — чужая
   вёрстка без знака и без номера, продавать нечего. Телефон в шапке — самый
   короткий путь к сделке, короче любой формы.
   ========================================================================== */

.topbar__phone {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  align-self: center;
  max-width: 100%;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .01em;
  white-space: nowrap;
  text-decoration: none;
}
.topbar__phone:active { background: rgba(26, 18, 13, .06); }
.topbar__phone[hidden] { display: none; }

/*
  МЕСТО ПОД ЛОГОТИП.

  ⚠️ ПУНКТИР И ПЕРЕЛИВ — ЧТОБЫ НЕ ПЕРЕПУТАТЬ С ГОТОВЫМ ЗНАКОМ. Владелец должен
  с первого взгляда понять, что это не его витрина «как есть», а место, куда
  встанет его знак. Перелив медленный: быстрый мигающий блок на рабочем экране
  раздражает через минуту.
*/
.logoghost {
  grid-column: 1 / 3;
  grid-row: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.logoghost[hidden] { display: none; }

.logoghost__mark {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border: 2px dashed var(--accent);
  border-radius: 12px;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .04em;
}

.logoghost__text {
  font-family: var(--font-display);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;

  background-image: linear-gradient(
    100deg,
    #D23B2E 0%,
    #E08A1E 18%,
    #1F9D55 38%,
    #2563EB 58%,
    #7C3AED 78%,
    #D23B2E 100%
  );
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: logoghost-shine 9s linear infinite;
}

@keyframes logoghost-shine {
  from { background-position: 0% 50%; }
  to   { background-position: 300% 50%; }
}

/* Человек выключил анимации в системе — перелив не навязываем. */
@media (prefers-reduced-motion: reduce) {
  .logoghost__text { animation: none; }
}

.filterbar {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 10px var(--gut) 12px;
  background: var(--page);
  border-bottom: 1px solid var(--line);
}

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

.ffchecks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
}
.fcheck {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  flex: 1 1 280px;
  min-width: 0;
  padding: 9px 12px;
  border: 1.5px solid rgba(26, 18, 13, .18);
  border-radius: 12px;
  background: var(--surface);
  cursor: pointer;
}
.fcheck:has(.fcheck__box:checked) {
  border-color: var(--accent);
  background: var(--tint);
}
.fcheck__box {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  accent-color: var(--accent);
  cursor: pointer;
}
.fcheck__text { min-width: 0; }
.fcheck__title { display: block; font-size: .92rem; font-weight: 600; }
.fcheck__hint {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: .76rem;
  line-height: 1.3;
}

.ffrates { min-width: 0; }
.ffrates[hidden] { display: none; }
.ffrates__label {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.ffrates__row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.rate { cursor: pointer; }

.rate__box {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.rate__text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  min-height: 40px;
  padding: 6px 14px;
  border: 1.5px solid rgba(26, 18, 13, .22);
  border-radius: 999px;
  background: var(--surface);
  font-size: .9rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background-color .14s linear, border-color .14s linear, color .14s linear;
}
.rate:hover .rate__text { border-color: var(--accent); color: var(--accent); }
.rate__box:checked + .rate__text {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--on-accent);
}

.rate__box:focus-visible + .rate__text { outline: 2px solid var(--accent); outline-offset: 2px; }

.ffields {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(158px, 1fr));
  gap: 12px 10px;

  align-items: end;
}
.ff {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-width: 0;
}
.ff__label {
  display: flex;
  align-items: flex-end;

  min-height: 2.3em;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .04em;
  line-height: 1.15;
  text-transform: uppercase;
}
.ff__select,
.ff__input {
  width: 100%;
  min-width: 0;
  height: 42px;
  padding: 0 10px;
  border: 1px solid rgba(26, 18, 13, .22);
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink);
  font-family: inherit;
  font-size: .9rem;
}
.ff__select { padding-right: 6px; }
.ff__input::placeholder { color: rgba(26, 18, 13, .40); }
.ff__select:focus-visible,
.ff__input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}
.ff__select:disabled {
  background: rgba(26, 18, 13, .04);
  color: var(--muted);
}
.ff__pair {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
.ff__dash { flex: 0 0 auto; color: var(--muted); }

.ff__input[type="number"]::-webkit-outer-spin-button,
.ff__input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.ff__input[type="number"] { -moz-appearance: textfield; appearance: textfield; }

.ffbottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.ff__hint {
  margin: 0;
  color: var(--muted);
  font-size: .76rem;
  line-height: 1.3;
}
.ffbottom__hint { flex: 1 1 200px; min-width: 0; }
.ffbottom__hint[hidden] { display: none; }
.ff__reset {
  margin-left: auto;
  min-height: 40px;
  padding: 8px 16px;
  font-size: .82rem;
  white-space: nowrap;
}

.chips {
  display: flex;
  gap: 6px;
  min-width: 0;

  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.chips::-webkit-scrollbar { display: none; }

.chip {
  flex: 0 0 auto;

  min-height: 44px;
  padding: 7px 16px;
  border: 1.5px solid rgba(26, 18, 13, .22);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font-size: .9rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background-color .14s linear, border-color .14s linear, color .14s linear;
}
.chip:hover { border-color: var(--accent); color: var(--accent); }
.chip.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--on-accent);

  box-shadow: 0 2px 10px rgba(255, 81, 0, .32);
}
.chip.is-active:hover { color: var(--on-accent); }

.filterbtn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  min-height: 44px;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font-size: .88rem;
  font-weight: 500;
}
.filterbtn__ico { width: 18px; height: 18px; }
.filterbtn__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font-size: .72rem;
  font-weight: 700;
}

.count {
  flex: 1 1 auto;
  min-width: 0;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .01em;
}

.count::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--accent);
  vertical-align: middle;
}
.count:empty::before { content: none; }
.count--muted { color: var(--muted); font-weight: 500; }
.count--muted::before { background: var(--muted); }

.stale {
  padding: 6px var(--gut) 0;
  color: var(--muted);
  font-size: .8rem;
}

.offernote {
  padding: 20px var(--gut) 0;
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.45;
}

.more { padding: 18px var(--gut) 0; }

.state {
  margin: 18px var(--gut) 0;
  padding: 22px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  text-align: center;
}
.state__title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
}
.state__text {
  margin: 8px 0 16px;
  color: var(--muted);
  font-size: .9rem;
}

.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  padding: 14px var(--gut) 0;
}

.card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.card__open {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: transparent;
  font-size: 0;
}
.card__open:active + .card__media { opacity: .85; }

.card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #F7F4F3;
  transition: opacity .15s linear;
}
.card__img { width: 100%; height: 100%; object-fit: cover; }
.card__nophoto {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: .85rem;
}

.badge {
  position: absolute;
  z-index: 1;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: .74rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}
.badge--rate { background: var(--accent); color: var(--on-accent); }

.badge--sanction {
  border: 1px solid rgba(26, 18, 13, .35);
  background: var(--surface);
  color: var(--ink);
  font-weight: 500;
}
.card__rate { top: 10px; right: 10px; }
.card__sanction { bottom: 10px; left: 10px; }

.card__body { padding: 14px 14px 16px; }
.card__title {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 600;
  line-height: 1.2;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}
.card__facts {
  margin-top: 6px;
  color: var(--muted);
  font-size: .86rem;
}
.card__price {
  margin-top: 10px;
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}
.card__price--na { color: var(--muted); font-weight: 500; }
.card__pricesub {
  margin-top: 2px;
  color: var(--muted);
  font-size: .82rem;
  font-variant-numeric: tabular-nums;
}
.card__source {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .78rem;
}

.card--skeleton .card__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.card__skelbar {
  display: block;
  height: 12px;
  width: 55%;
  border-radius: 6px;
  background: rgba(26, 18, 13, .08);
}
.card__skelbar--wide { width: 85%; }
.card--skeleton .card__media { background: rgba(26, 18, 13, .05); }

.grid[aria-busy="true"] .card--skeleton { animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }

.lotbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: calc(var(--top-safe) + 8px) 8px 8px;

  background: var(--surface);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

.lotbar > .iconbtn[hidden] + .lotbar__title { padding-left: 8px; }
.lotbar__title {
  flex: 1 1 auto;
  min-width: 0;
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 600;
  text-transform: uppercase;
  text-align: center;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.lotload { padding: 0 0 24px; }
.lotload__media {
  aspect-ratio: 4 / 3;
  background: rgba(26, 18, 13, .05);
}
.lotload__bar {
  height: 14px;
  width: 45%;
  margin: 16px var(--gut) 0;
  border-radius: 6px;
  background: rgba(26, 18, 13, .08);
}
.lotload__bar--wide { width: 80%; }

.gallery__stage {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #F7F4F3;

  touch-action: pan-y;
  overflow: hidden;
}
.gallery__img { width: 100%; height: 100%; object-fit: cover; }
.gallery__none {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 0 24px;
  color: var(--muted);
  font-size: .9rem;
  text-align: center;
}
.gallery__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(26, 18, 13, .20);
  border-radius: 50%;

  background: #FFFFFF;
  color: var(--ink);

  box-shadow: 0 2px 12px rgba(26, 18, 13, .28);
}
.gallery__nav svg { width: 22px; height: 22px; }
.gallery__nav--prev { left: 8px; }
.gallery__nav--next { right: 8px; }
.gallery__counter {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 4px 10px;
  border-radius: 999px;

  background: #FFFFFF;
  color: var(--ink);
  box-shadow: 0 2px 12px rgba(26, 18, 13, .28);
  font-size: .76rem;
  font-variant-numeric: tabular-nums;
}
.gallery__sanction { bottom: 10px; left: 10px; }

.gallery__thumbs {
  display: flex;
  gap: 8px;
  padding: 10px var(--gut) 0;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.gallery__thumbs::-webkit-scrollbar { display: none; }
.thumb {
  flex: 0 0 auto;
  width: 64px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #F7F4F3;
  overflow: hidden;
}
.thumb.is-active { border-color: var(--accent); }
.thumb__img { width: 100%; height: 100%; object-fit: cover; }

.lothead { padding: 18px var(--gut) 0; }
.lothead__eyebrow {
  color: var(--muted);
  font-size: .8rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.lothead__title {
  margin-top: 6px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.15;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}
.lothead__title:focus { outline: none; }

.price {
  margin: 18px var(--gut) 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.price__label {
  color: var(--muted);
  font-size: .8rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.price__total {
  margin-top: 4px;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 8vw, 2.1rem);
  font-weight: 700;
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}
.price__src {
  margin-top: 4px;
  color: var(--muted);
  font-size: .86rem;
  font-variant-numeric: tabular-nums;
}

.lines {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
}
.line__name {
  min-width: 0;
  font-size: .95rem;
  text-wrap: pretty;
}
.line__sub {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: .78rem;
  font-variant-numeric: tabular-nums;
}
.line__val {
  flex: 0 0 auto;
  white-space: nowrap;
  font-size: .95rem;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}
.line__val--na { color: var(--muted); }

.fee {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-top: 6px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.fee__key { min-width: 0; font-size: .95rem; font-weight: 400; text-wrap: pretty; }
.fee__val {
  flex: 0 0 auto;
  white-space: nowrap;
  font-size: .95rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}
.fee__val--na { color: var(--muted); font-weight: 400; }

.excl {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.excl__head {
  color: var(--muted);
  font-size: .78rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.excl__list { margin-top: 6px; }
.excl__item {
  position: relative;
  padding-left: 16px;
  font-size: .9rem;
}
.excl__item::before {
  content: '';
  position: absolute;
  left: 0;
  top: .7em;
  width: 8px;
  height: 1px;
  background: var(--muted);
}

.rates {
  margin-top: 12px;
  color: rgba(26, 18, 13, .45);
  font-size: .74rem;
  font-variant-numeric: tabular-nums;
}

.disclaimer {
  padding: 12px var(--gut) 0;
  color: var(--muted);
  font-size: .8rem;
  line-height: 1.45;
}

.nocalc {
  margin: 18px var(--gut) 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.nocalc__title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
}
.nocalc__text { margin-top: 6px; color: var(--muted); font-size: .9rem; }
.nocalc__price {
  margin-top: 10px;
  font-size: 1rem;
  font-variant-numeric: tabular-nums;
}

.specs__head {
  padding: 24px var(--gut) 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.specs { padding: 8px var(--gut) 0; }
.spec {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}
.spec__key { min-width: 0; color: var(--muted); font-size: .9rem; }
.spec__val {
  flex: 0 1 auto;
  font-size: .92rem;
  text-align: right;
  overflow-wrap: anywhere;
  font-variant-numeric: tabular-nums;
}

.actionbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: var(--kb);
  z-index: 30;
  display: flex;
  gap: 10px;
  padding: 10px var(--gut) calc(10px + var(--bottom-safe));

  background: var(--surface);
  border-top: 1px solid var(--line);
}
.actionbar[hidden] { display: none; }

.sheet {
  width: 100%;
  max-width: 100%;
  max-height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  overflow: visible;
}
.sheet:not([open]) { display: none; }
.sheet::backdrop { background: rgba(5, 5, 6, .72); }

.sheet__panel {
  position: fixed;
  left: 0;
  right: 0;
  bottom: var(--kb);
  display: flex;
  flex-direction: column;

  max-height: calc(100svh - var(--kb) - 24px);
  border-top: 1px solid var(--line);
  border-radius: 18px 18px 0 0;
  background: var(--surface);
}
.sheet--fallback {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(5, 5, 6, .72);
}
.sheet__grab {
  width: 40px;
  height: 4px;
  margin: 8px auto 0;
  border-radius: 999px;
  background: rgba(26, 18, 13, .22);
}
.sheet__head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 8px 8px var(--gut);
}
.sheet__title {
  flex: 1 1 auto;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  text-transform: uppercase;
}
.sheet__body {
  flex: 1 1 auto;
  min-height: 0;
  padding: 4px var(--gut) 16px;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
.sheet__foot {
  display: flex;
  gap: 10px;
  padding: 12px var(--gut) calc(12px + var(--bottom-safe));
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.field { margin-top: 14px; }
.field:first-child { margin-top: 4px; }
.field__label {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: .82rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.field__input,
.field__select {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--page-2);
  color: var(--ink);

  font-family: var(--font-body);
  font-size: 16px;
  appearance: none;
  -webkit-appearance: none;
}
.field__select {

  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%),
                    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 18px) 21px, calc(100% - 12px) 21px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 38px;
}
.field__input::placeholder { color: rgba(26, 18, 13, .38); }
.field__input:disabled,
.field__select:disabled { opacity: .5; }
.field__input:focus,
.field__select:focus { border-color: rgba(26, 18, 13, .3); outline: none; }
.field__input:focus-visible,
.field__select:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 1px; }

.field__input::-webkit-outer-spin-button,
.field__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.field__input[type="number"] { -moz-appearance: textfield; }

.field__pair {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
}
.field__dash { color: var(--muted); }
.field__hint { margin-top: 6px; color: var(--muted); font-size: .78rem; }
.field__error {
  margin-top: 6px;
  color: var(--accent-2);
  font-size: .8rem;
}
.field__error:empty { display: none; }

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 16px;
  cursor: pointer;
}
.consent__input {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  margin: 1px 0 0;
  accent-color: var(--accent);
}
.consent__text { color: var(--muted); font-size: .82rem; line-height: 1.45; }
.consent__link { color: var(--ink); text-underline-offset: 3px; }

.leadform__text {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.45;
}
.leadform__fail {
  margin-top: 14px;
  padding: 10px 12px;
  border: 1px solid var(--accent);
  border-radius: 10px;
  color: var(--ink);
  font-size: .86rem;
}
#leadSubmit { margin-top: 18px; }

/*
  ⚠️ ЛОВУШКА ДЛЯ РОБОТОВ УБРАНА С ЭКРАНА, НО НЕ display:none. Робот
  пропускает поля, скрытые display:none, и ловушка перестаёт ловить.
*/
.leadtrap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Лист заявки — такой же край цветом, как у приветствия. */
.sheet--lead .sheet__panel { border-top: 2px solid var(--accent); }

.leadok { padding: 18px 0 8px; text-align: center; }
.leadok__title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  text-transform: uppercase;
}
.leadok__text { margin: 8px 0 18px; color: var(--muted); font-size: .9rem; }

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(var(--bar-h) + var(--bottom-safe) + 20px);
  z-index: 80;
  transform: translateX(-50%);
  max-width: calc(100% - 32px);
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font-size: .85rem;
  text-align: center;
}
.toast[hidden] { display: none; }

.stats {
  margin: calc(var(--top-safe) + 10px) var(--gut) 0;
  padding: 10px 12px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.stats:not([hidden]) + .topbar { padding-top: 14px; }

.stats__head {
  display: flex;
  align-items: center;
  gap: 8px;
}
.stats__brand {
  flex: 0 0 auto;
  font-family: var(--font-display);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .2em;
  color: var(--accent);
  text-transform: uppercase;
}

.stats__period {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: .72rem;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.stats__toggle {
  flex: 0 0 auto;
  min-height: 36px;
  padding: 5px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-size: .76rem;
  font-weight: 500;
  white-space: nowrap;
}

.stats__table {
  width: 100%;
  margin-top: 9px;
  border-collapse: collapse;
}
.stats__corner { padding: 0; }
.stats__col {
  width: 23%;
  padding: 0 0 3px 8px;
  color: var(--muted);
  font-size: .66rem;
  font-weight: 500;
  letter-spacing: .04em;
  text-align: right;
  text-transform: uppercase;
  white-space: nowrap;
}
.stats__name {
  padding: 3px 0;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 400;
  text-align: left;
}

.stats__num {
  padding: 3px 0 3px 8px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  text-align: right;
  white-space: nowrap;
}
.stats__row + .stats__row .stats__name,
.stats__row + .stats__row .stats__num { border-top: 1px solid var(--line); }

.stats__chart { margin-top: 9px; }
.stats__bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 34px;
}

.stats__bar {
  display: flex;
  align-items: flex-end;
  flex: 1 1 0;
  min-width: 0;
  height: 100%;
  border-radius: 2px;
  background: rgba(26, 18, 13, .05);
}
.stats__bar::after {
  content: '';
  display: block;
  width: 100%;
  height: var(--h, 0%);
  min-height: 2px;
  border-radius: 2px;
  background: var(--accent);
}
.stats__chartnote {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 5px;
  color: var(--muted);
  font-size: .7rem;
}
.stats__chartmax {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.stats__more { margin-top: 12px; }
.stats__group + .stats__group { margin-top: 12px; }
.stats__grouphead {
  font-family: var(--font-display);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.stats__list { margin-top: 3px; }
.stats__item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 4px 0;
  border-top: 1px solid var(--line);
  font-size: .82rem;
}
.stats__item:first-child { border-top: 0; }

.stats__item-key {
  min-width: 0;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.stats__item-val {
  flex: 0 0 auto;
  font-family: var(--font-display);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  white-space: nowrap;
}

@media (min-width: 620px) {
  :root { --gut: max(24px, env(safe-area-inset-left)); }
  .app,
  .sheet__panel {
    max-width: 620px;
    margin-inline: auto;
  }
  .sheet__panel { left: 50%; right: auto; transform: translateX(-50%); width: 100%; }
  .actionbar {
    max-width: 620px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: 100%;
  }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.splash {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
}

.splash__bg {
  position: absolute;
  inset: 0;
  background: #FFFFFF;
  transition: opacity .4s var(--ease-out);
}
.splash--fading { pointer-events: none; }
.splash--fading .splash__bg { opacity: 0; }

.splash__dark {
  position: absolute;
  inset: 0;
  background: #000000;
  pointer-events: none;
}

.splash__stack {
  position: relative;
  display: grid;
  place-items: center;
}

.splash__glow {
  position: absolute;
  top: 64px;
  left: 50%;
  width: min(74vw, 380px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 81, 0, .20), rgba(255, 81, 0, 0) 68%);
  opacity: 0;
  pointer-events: none;
}

.splash__name {
  position: relative;
  margin: 18px 0 0;
  font-family: var(--font-display);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .3em;
  color: var(--ink);
  text-transform: uppercase;
  opacity: 0;
}
.splash__mark {
  position: relative;
  width: 128px;

  transform-origin: 0 0;
  will-change: transform;
}
.splash__svg { display: block; width: 100%; height: auto; opacity: 0; transform-origin: center; }

/*
  ЗНАК ИМПОРТЁРА

  ⚠️ НЕ ДОПОЛНЯЕТ НАШ, А ЗАМЕНЯЕТ ЕГО. Два знака рядом на заставке читаются как
  «витрина чужая, а бренд приклеен сверху» — ровно то впечатление, которого
  витрина под брендом импортёра должна избегать.

  Признак data-brand-logo ставит сервер, когда логотип пришёл с площадки.
*/
.splash__svg--logo { display: none; object-fit: contain; }
html[data-brand-logo] .splash__svg--logo { display: block; }
html[data-brand-logo] .splash__svg--mark { display: none; }

/*
  ⚠️ ЛОГОТИП ШИРЕ КВАДРАТА — НОРМА. У нашего знака квадрат 38×38, а у импортёра
  обычно вытянутая надпись: жёсткая ширина превратила бы её в кашу. Высота
  фиксирована, ширина свободна до разумного предела.
*/
html[data-brand-logo] .topbar__logo {
  width: auto;
  max-width: 132px;
  object-fit: contain;
  object-position: left center;
}

.splash__part {
  opacity: 0;
  transform-box: view-box;
  transform-origin: center;
}

.splash__part--red,
.splash__part--white { opacity: 1; }
.splash__bg { background: #FFFFFF; }
.splash__dark { animation: splash-dark .42s ease-out forwards; }
.splash__glow { animation: splash-glow .92s ease-out .2s; }

.splash__svg { animation: splash-appear .56s cubic-bezier(0.16, 1, 0.3, 1) .26s both; }
.splash__name { animation: splash-name .36s cubic-bezier(0.16, 1, 0.3, 1) .42s both; }

.splash--fading .splash__name { animation: splash-name-out .26s ease-out both; }

@keyframes splash-dark {
  0%, 26% { opacity: 1; }
  100%    { opacity: 0; }
}

@keyframes splash-glow {
  0%   { opacity: 0; transform: translate(-50%, -50%) scale(.18); }
  40%  { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(1); }
}
@keyframes splash-appear {
  from { opacity: 0; transform: scale(.42); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes splash-name {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes splash-name-out {
  from { opacity: 1; }
  to   { opacity: 0; }
}

@keyframes splash-red {
  from { opacity: 0; transform: translate(-150px, -125px); }
  to   { opacity: 1; transform: translate(0, 0); }
}
@keyframes splash-white {
  from { opacity: 0; transform: translate(150px, 125px); }
  to   { opacity: 1; transform: translate(0, 0); }
}

.sheet--guide .sheet__panel {
  max-height: calc(100svh - var(--kb) - 12px);

  border-top: 2px solid var(--accent);
}
.guide__title {
  font-size: 1.08rem;
  line-height: 1.2;
}
.guide__text {
  margin-top: 12px;
  color: rgba(26, 18, 13, .78);
  font-size: .95rem;
  line-height: 1.55;
  text-wrap: pretty;
}
.guide__text:first-child { margin-top: 6px; }

.guide__shot {
  margin: 16px 0 2px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(26, 18, 13, .05), rgba(26, 18, 13, 0));
}
.guide__img {
  display: block;
  width: auto;
  max-width: 100%;

  max-height: 40svh;
  margin-inline: auto;
}

.guide__img:not([src]) { display: none; }

html { touch-action: pan-x pan-y; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

html[data-showcase-embed] {

  --embed-view-top: 0px;
  --embed-view-height: 640px;
  --gut: 16px;
  --radius: 16px;
  touch-action: auto;
}

html[data-showcase-embed],
html[data-showcase-embed] body { background: #FFFFFF; }

html[data-showcase-embed] .splash { display: none !important; }

@media (prefers-reduced-motion: reduce) {
  .splash__dark,
  .splash__glow { display: none; }
  .splash__svg,
  .splash__name { animation: none; opacity: 1; }
}
/*
  ⚠️ ЗНАК И НАЗВАНИЕ ВНУТРИ РАМКИ ТЕПЕРЬ ВИДНЫ (01.10.2026). Раньше их тут
  прятали: витрину вставляли на сайт клиента, где его знак уже был в шапке
  сайта, и второй выглядел бы повтором. Но та же рамка открывается в панели
  импортёра и в чужих конструкторах, где шапки нет вовсе, — и витрина
  показывалась обезличенной. Знак и имя важнее одного лишнего повтора.
*/
html[data-showcase-embed] .app {
  max-width: 1200px;
  margin-inline: auto;
  opacity: 1;
}

/*
  ⚠️ ВОЗДУХ ПО КРАЯМ РАМКИ. В рамке витрина — отдельный островок на чужой
  странице: карточки, прижатые к самому краю, читаются как сломанная вёрстка.
*/
html[data-showcase-embed] { --gut: 26px; }
html[data-showcase-embed] .topbar { padding-top: 18px; padding-bottom: 12px; }
html[data-showcase-embed] .screen { padding-bottom: 18px; }
html[data-showcase-embed] .filterbar { padding-top: 6px; padding-bottom: 14px; }

@media (max-width: 560px) {
  html[data-showcase-embed] { --gut: 16px; }
}

html[data-showcase-embed] .filterbar {
  position: static;
  padding-left: 0;
  padding-right: 0;
  background: transparent;
}
html[data-showcase-embed] .filterbar,
html[data-showcase-embed] .topbar,
html[data-showcase-embed] .grid { padding-left: var(--gut); padding-right: var(--gut); }

html[data-showcase-embed] .actionbar {
  top: calc(var(--embed-view-top) + var(--embed-view-height) - var(--bar-h) - 14px);
  bottom: auto;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  width: min(100%, 620px);
}
html[data-showcase-embed] .sheet__panel,
html[data-showcase-embed] .sheet--fallback {
  top: calc(var(--embed-view-top) + 24px);
  bottom: auto;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  width: min(100% - 32px, 620px);
  max-height: calc(var(--embed-view-height) - 48px);
  border-radius: var(--radius);
}
html[data-showcase-embed] .toast {
  top: calc(var(--embed-view-top) + var(--embed-view-height) - 96px);
  bottom: auto;
}

@media (min-width: 600px) {
  html[data-showcase-embed] .app { max-width: 1200px; }
  html[data-showcase-embed] .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
}

@media (min-width: 900px) {
  html[data-showcase-embed] { --gut: 0px; }
  html[data-showcase-embed] .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }

  html[data-showcase-embed] .card__media { aspect-ratio: 4 / 3; }
  html[data-showcase-embed] .card__body { padding: 16px 16px 18px; }
  html[data-showcase-embed] .topbar__title { font-size: 2rem; }
  html[data-showcase-embed] .topbar__sub { font-size: .95rem; }
  html[data-showcase-embed] .count { font-size: 1.05rem; }
}

@media (min-width: 1200px) {
  html[data-showcase-embed] .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
}

@media (hover: hover) and (pointer: fine) {
  html[data-showcase-embed] .card {
    transition: transform .18s var(--ease-out), box-shadow .18s var(--ease-out), border-color .18s linear;
  }
  html[data-showcase-embed] .card:hover {
    transform: translateY(-2px);
    border-color: rgba(26, 18, 13, .18);
    box-shadow: 0 10px 28px rgba(26, 18, 13, .10);
  }
  html[data-showcase-embed] .card__open { cursor: pointer; }
}

@media (min-width: 900px) {
  html[data-showcase-embed] .lotview {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    column-gap: 28px;
    align-items: start;
  }
  html[data-showcase-embed] .gallery { grid-column: 1; grid-row: 1 / span 99; }
  html[data-showcase-embed] .lotview > *:not(.gallery) { grid-column: 2; }
  html[data-showcase-embed] .gallery__stage { border-radius: var(--radius); }

  html[data-showcase-embed] .gallery__stage { max-height: 520px; }
  html[data-showcase-embed] .gallery__img { object-fit: cover; }
}

html[data-showcase-embed] .lotbar { position: static; padding-left: 0; padding-right: 0; }
html[data-showcase-embed] .lotscroll,
html[data-showcase-embed] .lotview { padding-left: var(--gut); padding-right: var(--gut); }

html[data-showcase-embed] .lotbar {
  border-radius: var(--radius) var(--radius) 0 0;
}
html[data-showcase-embed] .actionbar {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 12px;
  box-shadow: 0 12px 32px rgba(26, 18, 13, .16);
}

html[data-showcase-embed] .sheet::backdrop { background: transparent; }
html[data-showcase-embed] .sheet[open]::before {
  content: '';
  position: fixed;
  left: 0;
  right: 0;
  top: var(--embed-view-top);
  height: var(--embed-view-height);
  background: rgba(5, 5, 6, .55);
}
html[data-showcase-embed] .sheet--fallback {
  inset: auto 0 auto 0;
  top: var(--embed-view-top);
  height: var(--embed-view-height);
  background: rgba(5, 5, 6, .55);
}

html[data-showcase-embed] .sheet__grab { display: none; }
html[data-showcase-embed] .sheet__panel,
html[data-showcase-embed] .sheet--guide .sheet__panel {
  max-height: calc(var(--embed-view-height) - 48px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(5, 5, 6, .35);
}
html[data-showcase-embed] .sheet--guide .sheet__panel { border-top: 2px solid var(--accent); }
html[data-showcase-embed] .sheet__head { padding-top: 16px; }
html[data-showcase-embed] .sheet__foot { padding-bottom: 14px; }

html[data-showcase-embed] .sheet__body { scrollbar-width: thin; scrollbar-color: rgba(26, 18, 13, .28) transparent; }
html[data-showcase-embed] .sheet__body::-webkit-scrollbar { width: 10px; }
html[data-showcase-embed] .sheet__body::-webkit-scrollbar-track { background: transparent; }
html[data-showcase-embed] .sheet__body::-webkit-scrollbar-thumb {
  border: 3px solid transparent;
  border-radius: 999px;
  background-clip: content-box;
  background-color: rgba(26, 18, 13, .28);
}

.iconbtn__label { display: none; }
html[data-showcase-embed] .iconbtn--back {
  width: auto;
  gap: 6px;
  padding: 0 14px 0 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
}
html[data-showcase-embed] .iconbtn--back .iconbtn__label {
  display: inline;
  font-size: .9rem;
  font-weight: 600;
}
.lotback2 { display: none; }
html[data-showcase-embed] .lotback2 {
  display: inline-flex;
  margin: 18px 0 8px;
}
.btn--wide { width: 100%; justify-content: center; }

.contacts { display: none; }
html[data-showcase-embed] .contacts {
  display: flex;
  flex: 1 1 auto;
  gap: 8px;
}
html[data-showcase-embed] #lotLead { display: none; }
.contacts__btn {
  display: inline-flex;
  flex: 1 1 0;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
}
.contacts__btn:first-child {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--on-accent);
}
.contacts__ico { width: 20px; height: 20px; }
.contacts__logo { width: 22px; height: 22px; border-radius: 6px; }
@media (hover: hover) and (pointer: fine) {
  .contacts__btn { transition: transform .15s var(--ease-out), box-shadow .15s var(--ease-out); }
  .contacts__btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(26, 18, 13, .14); }
}

@media (max-width: 520px) {
  html[data-showcase-embed] .contacts__label { display: none; }
  html[data-showcase-embed] .contacts__btn { padding: 8px 10px; }
}

html[data-showcase-embed] .guide__img { max-height: min(340px, calc(var(--embed-view-height) * 0.4)); }

html[data-showcase-embed] #lotShare2 { display: none; }
html[data-showcase-embed] .actionbar { justify-content: stretch; }

.specs__more { display: none; }
html[data-showcase-embed] .specs__more { display: inline-flex; margin-top: 12px; }
html[data-showcase-embed] .specs:not(.specs--full) .spec:nth-of-type(n + 6) { display: none; }

html[data-showcase-embed] .specs--full { padding: 0; }

html[data-showcase-embed] .sheet__body {
  padding: 4px 28px 22px 28px;
}
html[data-showcase-embed] .sheet__head { padding-left: 28px; padding-right: 16px; }
html[data-showcase-embed] .sheet__foot { padding-left: 28px; padding-right: 28px; }

html[data-showcase-embed] .sheet--specs .sheet__body { padding-top: 0; }
