/* OdaMarket — магазин аккаунтов Roblox */
:root {
  --odm-page-bg: #1f1f1f;
  --odm-text-primary: #eaeaea;
  --odm-text-secondary: #b8b8b8;
  --odm-text-soft: #8b9399;
  --odm-surface: #262626;
  --odm-surface-mid: #2a2a2a;
  --odm-row-muted: #2c2c2c;
  --odm-input-bg: #2a2a2a;
  --odm-input-focus-bg: #333333;
  --odm-border-light: rgba(255, 255, 255, 0.1);
  --odm-border-mid: rgba(255, 255, 255, 0.14);
  --odm-header-bg: #262626;
  --odm-accent: #ffab79;
  --odm-price: #ffab79;
  --odm-sale: #f1184e;
  --odm-live-muted: #9aa3a8;
  --odm-badge-text: #cfc6be;
  --odm-footer-bg: #121212;
  --odm-footer-text-muted: #9a9a9a;
  --odm-card-promo: #ffab79;
  --odm-card-deal: #ea7ea5;
  --odm-cta-purple: #c084fc;
  --odm-cta-purple-hover: #a855f7;
  --radius-xl: 50px;
  --radius-lg: 45px;
  --radius-md: 20px;
  --font-display: "Unbounded", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
  /* Полосы прокрутки (Firefox — только сплошные цвета) */
  --odm-scrollbar-w: 11px;
  --odm-scrollbar-track-moz: rgba(255, 255, 255, 0.06);
  --odm-scrollbar-thumb-moz: #e8a06e;
  --odm-scrollbar-thumb-moz-hover: #f0b892;
  --odm-scrollbar-track-webkit: rgba(255, 255, 255, 0.05);
}

/* Глобальные полосы прокрутки: справа, в тон акценту OdaMarket */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--odm-scrollbar-thumb-moz) var(--odm-scrollbar-track-moz);
}

*::-webkit-scrollbar {
  width: var(--odm-scrollbar-w);
  height: var(--odm-scrollbar-w);
}

*::-webkit-scrollbar-track {
  margin: 4px 0;
  background: var(--odm-scrollbar-track-webkit);
  border-radius: 999px;
}

*::-webkit-scrollbar-thumb {
  border-radius: 999px;

  background-clip: content-box;
  background-color: #e8a06e;
  background-image: linear-gradient(
    165deg,
    #ffe8d9 0%,
    var(--odm-accent) 42%,
    #e8943a 100%
  );
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

*::-webkit-scrollbar-thumb:hover {
  background-color: var(--odm-scrollbar-thumb-moz-hover);
  background-image: linear-gradient(
    165deg,
    #ffd4b8 0%,
    #f5a066 45%,
    #d6864a 100%
  );
}

*::-webkit-scrollbar-corner {
  background: transparent;
}

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

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.45;
  color: var(--odm-text-primary);
  background: var(--odm-page-bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

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

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

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

}

/* header-mount.js подставляет шапку синхронно — без плейсхолдера (иначе лишний зазор на главной/каталоге) */
#odm-header-root:empty {
  min-height: 0;
  height: 0;
  overflow: hidden;
}

body > .odm-header,
body #odm-header-root {
  flex-shrink: 0;
}

/* ——— Header (sticky) ——— */
.odm-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: env(safe-area-inset-top, 0) 0 0;
  margin: 0;

  outline: none;
  box-shadow: none;
  font-family: var(--font-display);
  -webkit-font-smoothing: antialiased;
}

.odm-header__inner {
  border-radius: clamp(12px, 1.5vw, 16px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%),
    var(--odm-surface);
  border: 1px solid var(--odm-border-light);
  width: min(100%, 1110px);
  margin: clamp(6px, 1vw, 10px) auto 0;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
  padding: 10px 16px 11px;
  /* Стабильная высота «капсулы» до/после web fonts и смены блока входа (padding + топбар + border) */
  min-height: calc(21px + 48px + 2px);
  box-sizing: border-box;
}

.odm-topbar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0;
  flex-wrap: nowrap;
  /* Не ниже блока профиля (3 строки + колокольчик), чтобы после загрузки шрифтов шапка не «сжималась» */
  min-height: 48px;
}

/* Слот уведомлений в компактной шапке (моб.) — заполняется из api.js */
.odm-topbar__end {
  display: none;
  align-items: center;
  justify-content: flex-end;
  flex-shrink: 0;
}

.odm-topbar__mobile-actions {
  display: flex;
  align-items: center;
  justify-content: center;
}

.odm-burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;

  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  color: var(--odm-text-primary);
  font-size: 1.35rem;
  line-height: 1;
  outline: none;
  flex-shrink: 0;
}

.odm-burger:focus-visible {
  outline: 2px solid rgba(255, 165, 87, 0.5);
  outline-offset: 2px;
}

.odm-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-right: 10px;
  flex-shrink: 0;
}

.odm-logo__mark {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  display: block;
  object-fit: contain;
  filter: none;
  box-shadow: none;
}

.odm-logo__text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--odm-text-primary);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.odm-topbar__nav {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
}

.odm-menu {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
}

.odm-menu > li {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  list-style: none;
  position: relative;
  padding: 0 clamp(2px, 0.4vw, 6px);
}

.odm-menu > li + li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 22px;
  background: var(--odm-border-light);
}

.odm-menu a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 10px;
  box-sizing: border-box;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.2;
  color: var(--odm-text-primary);
  opacity: 0.78;

  background: none;
  border-radius: 8px;
  transition: opacity 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.odm-menu a:hover {
  opacity: 1;
  color: var(--odm-price);
  background: rgba(255, 165, 87, 0.12);
}

.odm-menu__cart-wrap {
  margin-left: auto;
  display: flex;
  align-items: center;
  align-self: stretch;
}

.odm-menu__admin-wrap {
  display: flex;
  align-items: center;
  align-self: stretch;
}

.odm-menu__admin-wrap[hidden] {
  display: none !important;
}

.odm-topbar__cart-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 8px;
  color: var(--odm-text-primary);
  text-decoration: none;
  font-size: inherit;
  line-height: 1.2;
  opacity: 1;
  box-sizing: border-box;
  transition: background 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

/* Те же метрики, что у остальных пунктов меню — одна линия по вертикали */
.odm-menu a.odm-topbar__cart-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.03em;
  line-height: 1.2;
  color: var(--odm-text-primary);
  opacity: 0.78;
  box-sizing: border-box;
}

.odm-menu a.odm-topbar__cart-link:hover {
  opacity: 1;
  color: var(--odm-price);
  background: rgba(255, 165, 87, 0.12);
}

.odm-topbar__cart-link:hover {
  background: rgba(255, 165, 87, 0.15);
  color: var(--odm-price);
}

.odm-menu a.odm-topbar__cart-link.is-active {
  opacity: 1;
}

.odm-topbar__cart-link.is-active {
  color: var(--odm-price);
  background: rgba(255, 165, 87, 0.12);
}

.odm-topbar__cart-badge {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: linear-gradient(145deg, #ff7a3d, #e85d1c);
  color: #fff;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.22);
  box-sizing: border-box;
  margin-left: 6px;
}

.odm-topbar__cart-badge[hidden] {
  display: none !important;
}

.odm-header .odm-menu > li > a[href="/chats"],
a.odm-bottom-nav__link[href="/chats"] {
  position: relative;
}

.odm-topbar__chat-badge {
  position: absolute;
  top: -4px;
  right: -8px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #e53935;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  line-height: 18px;
  text-align: center;
  box-shadow: 0 0 0 2px rgba(26, 26, 26, 0.95);
  animation: odm-chat-badge-pulse 1.1s ease-in-out infinite;
  pointer-events: none;
  z-index: 2;
}

a.odm-bottom-nav__link[href="/chats"] .odm-topbar__chat-badge {
  top: 4px;
  right: 14px;
}

@keyframes odm-chat-badge-pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.72;
    transform: scale(1.14);
  }
}

.odm-menu__login {
  margin-left: 0;
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  align-self: stretch;
}

.odm-menu__login a {
  font-weight: 700;
  opacity: 1;
}

.odm-topbar__user-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
  min-width: 0;
  flex: 1 1 auto;
}

.odm-topbar__notify-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 8px;
  color: var(--odm-text-primary);
  text-decoration: none;
  opacity: 0.78;
  box-sizing: border-box;
  transition: background 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.odm-menu a.odm-topbar__notify-link {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
}

.odm-topbar__notify-link:hover {
  opacity: 1;
  color: var(--odm-price);
  background: rgba(255, 165, 87, 0.12);
}

.odm-topbar__notify-link[aria-current="page"] {
  opacity: 1;
  color: var(--odm-price);
  background: rgba(255, 165, 87, 0.12);
}

.odm-topbar__notify-link--unread::after {
  content: "";
  position: absolute;
  top: 6px;
  right: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e02424;
  box-shadow: 0 0 0 2px var(--odm-surface);
  pointer-events: none;
}

@media (min-width: 769px) {
  .odm-topbar__end {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .odm-topbar__end[hidden] {
    display: none !important;
  }

  .odm-topbar__end {
    display: flex;
    position: absolute;
    right: max(10px, env(safe-area-inset-right));
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    pointer-events: auto;
  }

  .odm-topbar__mobile-actions:not([hidden]) {
    display: flex;
  }

  /* Дубль колокольчика в выезжающем меню скрываем — он в слоте справа */
  .odm-topbar__user-row > .odm-topbar__notify-link--inline {
    display: none !important;
  }

  .odm-topbar__notify-link--strip {
    min-width: 40px;
    min-height: 40px;
    padding: 0 10px;
    font-size: 1.2rem;
    opacity: 0.92;
  }
}

.odm-bottom-nav__icon-stack {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.odm-bottom-nav__cart-badge {
  position: absolute;
  top: -6px;
  right: -10px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: linear-gradient(145deg, #ff7a3d, #e85d1c);
  color: #fff;
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 800;
  line-height: 16px;
  text-align: center;
  box-sizing: border-box;
  pointer-events: none;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.odm-topbar__user {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: nowrap;
  max-width: min(100%, 380px);
}

.odm-topbar__user-link {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
  text-decoration: none;
  color: var(--odm-text-primary);
  padding: 0;
  border-radius: 0;
}

/* Перебивает .odm-menu a — flex, без общего hover/transition меню */
.odm-menu .odm-topbar__user-link {
  display: flex;
  opacity: 1;
  transition: none;
}

.odm-menu .odm-topbar__user-link:hover {
  opacity: 1;
  color: var(--odm-text-primary);
  background: none;
}

.odm-topbar__user-link:focus-visible {
  outline: 2px solid var(--odm-price);
  outline-offset: 3px;
  border-radius: 4px;
}

.odm-topbar__user-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
  min-width: 0;
  flex: 1;
}

.odm-topbar__user-avatar {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--odm-accent) 0%, #ffc48a 100%);
  color: #1a1208;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
  line-height: 1;
  box-shadow: 0 2px 10px rgba(255, 165, 87, 0.38);
  overflow: hidden;
}

.odm-topbar__user-avatar:has(.odm-topbar__user-avatar-img) {
  background: transparent;
  box-shadow: 0 1px 5px rgba(15, 23, 42, 0.12);
}

.odm-topbar__user-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
}

.odm-topbar__user-name {
  max-width: 100%;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.odm-topbar__user-role {
  max-width: 100%;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
  color: #6b7280;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.odm-topbar__user-balance {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  color: var(--odm-price);
  line-height: 1.2;
}

.odm-topbar__user--loading {
  justify-content: center;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  box-sizing: border-box;
}

.odm-topbar__user-skeleton {
  font-family: var(--font-body);
  font-size: 14px;
  color: #9ca3af;
  letter-spacing: 0.2em;
}

/* Пока JS не подтвердил гостя, не показываем «Войти» при наличии токена (убирает мигание при F5). */
html.odm-has-access-token:not(.odm-nav-booted) .odm-menu__login > a.odm-menu__login-link-guest {
  visibility: hidden;
}

.odm-topbar__close {
  display: none;
}

/* Блок под шапкой: нейтральный фон как у страницы */
.odm-landing {
  background: linear-gradient(180deg, #1f1f1f 0%, #1a1a1a 100%);
  margin: 0;
  padding: 0 0 6px;
  padding-top: 0;
  position: relative;
  z-index: 1;
}

.odm-landing::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -4px;
  height: 8px;
  background: var(--odm-page-bg);
  pointer-events: none;
}

/* ——— Hero cards ——— */
/* Доля как у старой сетки: (колонка мерч + колонка кликер) : товар дня ≈ (572+446) : 442 */
.odm-hero {
  display: grid;
  grid-template-areas: "merch day";
  grid-template-columns: minmax(0, 2.31fr) minmax(0, 1fr);
  gap: 16px;
  margin: 0;
  padding-top: 0;
  padding-bottom: 6px;

}

/* Только промо: блок «Акция дня» скрыт (настройка в админке) */
.odm-hero.odm-hero--no-deal {
  grid-template-areas: "merch";
  grid-template-columns: minmax(0, 1fr);
}

/* Иначе второй тайл с grid-area: day попадает в неявную строку сетки и остаётся виден */
.odm-hero.odm-hero--no-deal .odm-hero__tile--deal,
.odm-hero.odm-hero--no-deal #odmHeroDealLink {
  display: none !important;
}

/* Промо на всю ширину героя, когда колонки акции нет */
.odm-hero.odm-hero--no-deal .odm-hero__tile--promo {
  grid-column: 1 / -1;
  width: 100%;
  max-width: none;
}

/* Главная: не показываем зашитые в HTML дефолты до гидрации из /shop/home/ (js/main.js).
   Дублируется критическим inline в head (index), чтобы не было кадра до загрузки styles.css. */
.odm-page--home .odm-hero:not(.odm-hero--ready) {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.odm-page--home .odm-hero.odm-hero--ready {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.25s ease;
}
@media (prefers-reduced-motion: reduce) {
  .odm-page--home .odm-hero.odm-hero--ready {
    transition: none;
  }
}

.odm-hero__tile {
  --border-radius: var(--radius-xl);
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--border-radius);
  padding: 36px 36px 48px;
  min-height: 420px;
  color: #fff;
  font-family: var(--font-display);
  overflow: hidden;
  transition: box-shadow 0.25s ease;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.odm-hero__tile:hover {
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.16);
}

.odm-hero__tile--promo {
  grid-area: merch;
  background: #1f1f1f;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

.odm-hero__tile--promo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: var(--odm-hero-bg-image, none);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  pointer-events: none;
}

.odm-hero__tile--promo:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.odm-hero__tile--promo .odm-hero__text {
  max-width: 42ch;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.9);
  opacity: 1;
}

.odm-hero__promo-deco {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  border-radius: inherit;
}

@keyframes odm-hero-promo-logo-spin {
  from {
    transform: translateY(-50%) rotate(0deg);
  }
  to {
    transform: translateY(-50%) rotate(360deg);
  }
}

.odm-hero__promo-deco-img {
  position: absolute;
  right: 4%;
  top: 50%;
  bottom: auto;
  width: min(42vw, 320px);
  max-width: none;
  height: auto;
  object-fit: contain;
  object-position: right bottom;
  transform-origin: 50% 50%;
  transform: translateY(-50%);
  animation: odm-hero-promo-logo-spin 22s linear infinite;
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  .odm-hero__promo-deco-img {
    animation: none;
  }
}

@supports (overflow: clip) {
  .odm-hero__tile--promo,
  .odm-hero__promo-deco {
    overflow: clip;
  }
}

.odm-hero__tile--promo .odm-hero__promo-kicker,
.odm-hero__tile--promo .odm-hero__title,
.odm-hero__tile--promo .odm-hero__text,
.odm-hero__tile--promo .odm-hero__promo-foot {
  position: relative;
  z-index: 1;
}

.odm-hero__promo-kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 14px 20px;
  margin: 0 0 18px;
  max-width: min(100%, 52rem);
}

.odm-hero__promo-kicker-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
}

.odm-hero__promo-kicker-stat {
  min-width: 0;
}

.odm-hero__promo-sold-line {
  margin: 0;
  line-height: 1;
}

.odm-hero__promo-sold-wrap {
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.85rem, 3.6vw, 2.65rem);
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  color: #fff;
}

.odm-hero__promo-sold-num {
  display: inline-block;
  min-width: 4.5ch;
}

.odm-hero__promo-sold-plus {
  margin-left: 1px;
  font-weight: 800;
  opacity: 0.95;
}

.odm-hero__promo-sold-caption {
  margin: 6px 0 0;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  opacity: 0.88;
  color: rgba(255, 255, 255, 0.92);
}

.odm-hero__promo-rating {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  color: #fff;
  backdrop-filter: blur(8px);
}

.odm-hero__promo-rating-icon {
  display: inline-flex;
  color: #ffde00;
  font-size: 1.05rem;
  line-height: 1;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.25));
}

.odm-hero__promo-rating-val {
  letter-spacing: 0.02em;
}

@media (max-width: 520px) {
  .odm-hero__promo-kicker {
    margin-bottom: 14px;
  }
}

.odm-hero__promo-foot {
  margin-top: auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 6px;
  padding-top: 12px;
}

.odm-hero__promo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.odm-hero__social {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
  color: #fff;

  background: rgba(255, 255, 255, 0.08);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.odm-hero__social:hover {
  background: rgba(255, 255, 255, 0.14);

  color: #fff;
}

.odm-hero__social .bi-telegram {
  font-size: 1.2rem;
}

.odm-hero__vk-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.35rem;
  height: 1.1rem;
  padding: 0 4px;
  border-radius: 4px;
  background: #fff;
  color: #FFAB79;
  font-family: var(--font-display);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1;
}

/* Промо: TG и VK на месте play — только иконки, без обводки */
.odm-hero__tile--promo .odm-hero__social {
  width: 56px;
  height: 56px;
  padding: 0;
  justify-content: center;
  gap: 0;
  background: #fff;
  border-radius: 50%;
  color: #0f1419;
}

.odm-hero__tile--promo .odm-hero__social:hover {
  background: rgba(255, 255, 255, 0.88);
  color: #0f1419;
}

.odm-hero__tile--promo .odm-hero__social .bi-telegram {
  font-size: 1.75rem;
}

/* Промо с фоновой картинкой из админки: читаемый контраст */
.odm-hero__tile--promo.odm-hero--custom-bg .odm-hero__title,
.odm-hero__tile--promo.odm-hero--custom-bg .odm-hero__text {
  color: #fff;
}

.odm-hero__tile--promo.odm-hero--custom-bg .odm-hero__text {
  color: rgba(255, 255, 255, 0.92);
}

.odm-hero__tile--promo.odm-hero--custom-bg::before {
  opacity: 1;
  filter: none;
}

.odm-hero__tile--promo .odm-hero__vk-icon {
  min-width: auto;
  height: auto;
  padding: 0;
  border-radius: 0;
  background: #fff;
  color: #0f1419;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.odm-hero__tile--deal {
  grid-area: day;
  background: transparent;
  padding: 0;
  min-height: 420px;
  overflow: hidden;
  border-radius: var(--radius-xl);
  text-shadow: none;
}

.odm-hero__title {
  font-size: clamp(2.5rem, 4vw, 4.2rem);
  font-weight: 800;
  line-height: 0.95;
  margin: 0 0 16px;
  letter-spacing: -0.03em;
}

.odm-hero__stack {
  font-weight: 800;
}

.odm-hero__title--sm {
  font-size: clamp(1rem, 2.2vw, 1.35rem);
  line-height: 1.15;
  font-weight: 700;
}

.odm-hero__text {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  opacity: 0.95;
  max-width: 22ch;
  margin: 0 0 auto;
}

.odm-hero__btn {
  margin-top: 28px;
  width: 56px;
  height: 56px;
  border-radius: 50%;

  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.odm-hero__btn .bi-play-fill {
  font-size: 1.75rem;
  margin-left: 4px;
}

.odm-deal__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--border-radius);
}

.odm-deal__img[hidden] {
  display: none !important;
}

.odm-deal__inner {
  position: relative;
  z-index: 2;
  padding: 36px;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: transparent;
  border-radius: var(--radius-xl);
}

.odm-deal__inner .odm-deal__label,
.odm-deal__inner .odm-deal__discount,
.odm-deal__inner .odm-hero__title--sm,
.odm-deal__inner .odm-hero__text {
  color: #fff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55), 0 1px 3px rgba(0, 0, 0, 0.4);
}

.odm-deal__label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.9;
  margin: 0 0 4px;
}

.odm-deal__discount {
  font-size: 2.5rem;
  font-weight: 800;
  margin: 0 0 8px;
  color: #ffde00;
}

/* ——— Главная: «Покупай и продавай» — в том же стиле, что блок «Наши соцсети» (odm-cta-card) ——— */
.odm-home-roles.odm-cta-section {
  padding: 20px 0 32px;
}

/* Одна колонка на всю ширину карточки (перекрывает .odm-cta-card__links ниже по файлу) */
.odm-home-roles .odm-cta-card__links {
  grid-template-columns: 1fr;
  align-items: stretch;
}

.odm-home-roles__links > li {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.odm-cta-card__link-icon--buyer {
  background: rgba(244, 114, 182, 0.2);
  color: #be185d;
}

.odm-cta-card__link-icon--seller {
  background: rgba(16, 185, 129, 0.22);
  color: #047857;
}

.odm-home-roles__link {
  flex: 1;
  width: 100%;
  min-height: 0;
  align-items: center;
  padding-top: 14px;
  padding-bottom: 14px;
}

.odm-home-roles__link .odm-cta-card__link-start {
  align-items: flex-start;
}

.odm-home-roles__link-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.odm-home-roles__link-title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--odm-text-primary);
}

.odm-home-roles__link-desc {
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.45;
  font-weight: 500;
  color: var(--odm-text-secondary);
}

@media (max-width: 699px) {
  .odm-home-roles__links > li {
    min-height: 9.25rem;
  }
}

/* ——— Live purchases ——— */
.odm-live {
  margin-top: 22px;
  padding-bottom: 12px;
}

.odm-live__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 16px;
}

.odm-live__titlecol p,
.odm-live__statscol p {
  margin: 0;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  color: #5a6a78;
  letter-spacing: 0.03em;
}

.odm-live__titlecol p {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.odm-live__titlecol p .bi {
  color: var(--odm-accent);
  font-size: 1.1rem;
}

.odm-live__statscol {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.odm-live__statscol > div {
  display: flex;
  align-items: center;
  gap: 8px;
}

.odm-live__statscol .odm-live__glyph {
  font-size: 1.15rem;
  color: #7a8a98;
  opacity: 0.95;
}

.odm-live__num {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--odm-price);
}

.odm-live__purchase--line {
  max-width: min(720px, 92vw);
  align-items: flex-start;
  white-space: normal;
}

.odm-live__purchase-line {
  font-size: 14px;
  color: #3d4d59;
  line-height: 1.45;
  white-space: normal;
}

.odm-live__viewport {
  overflow: hidden;
  margin: 14px -20px 0;
  padding: 12px 0 8px;
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}

.odm-live__track {
  display: flex;
  align-items: stretch;
  gap: 12px;
  width: max-content;
  animation: marquee 55s linear infinite;
}

.odm-live__track:hover {
  animation-play-state: paused;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Горизонтальные карточки «юзер купил … за … ₽» */
.odm-live__purchase {
  flex: 0 0 auto;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px 10px;
  max-width: min(100vw - 48px, 520px);
  padding: 10px 16px;
  border-radius: 14px;
  background: #fff;

  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06);
  font-family: var(--font-display);
  font-size: 13px;
  line-height: 1.35;
  color: #3d4a55;
  white-space: nowrap;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.odm-live__purchase:hover {
  background: #fafbfc;

  box-shadow: 0 6px 22px rgba(15, 23, 42, 0.08);
}

.odm-live__purchase-user {
  font-weight: 700;
  color: #1a1a1a;
  flex-shrink: 0;
}

.odm-live__purchase-mid {
  font-weight: 500;
  color: #7a8794;
  flex-shrink: 0;
}

.odm-live__purchase-product {
  font-weight: 600;
  color: var(--odm-price);
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  max-width: 260px;
}

.odm-live__purchase-price {
  font-weight: 800;
  color: #ffde00;
  flex-shrink: 0;
  letter-spacing: 0.02em;
}

/* Плашка преимуществ: Bootstrap .row / .col в одну строку */
ul.odm-features.row {
  --odm-features-ic: clamp(18px, 1.55vw, 22px);
  --bs-gutter-x: 0;
  --bs-gutter-y: 0;
  list-style: none;
  margin: clamp(10px, 1.35vw, 14px) 0;
  padding: clamp(11px, 1.2vw, 14px) clamp(10px, 1.55vw, 16px);
  width: 100%;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%),
    var(--odm-surface);
  border: 1px solid var(--odm-border-light);
  border-radius: clamp(12px, 1.5vw, 16px);
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  box-sizing: border-box;
  overflow: hidden;
}

ul.odm-features.row > li.col.odm-features__item {
  flex: 1 1 0;
  min-width: 0;
  padding: 0 clamp(10px, 1.2vw, 15px);
  position: relative;
}

ul.odm-features.row > li.col.odm-features__item + li.col.odm-features__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8%;
  width: 1px;
  height: 84%;
  background: var(--odm-border-light);
}

.odm-features__item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: clamp(8px, 0.95vw, 12px);
  margin-top: 0;
  min-height: 48px;
  box-sizing: border-box;
}

.odm-features__body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
}

.odm-features__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: var(--odm-features-ic);
  height: var(--odm-features-ic);
  margin: 0;
  color: var(--odm-accent);
  font-size: var(--odm-features-ic);
  line-height: 1;
}

.odm-features__title {
  font-family: var(--font-body);
  font-size: clamp(12px, 0.92vw, 13.5px);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--odm-text-primary);
  margin: 0;
  padding: 0;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.odm-features__text {
  font-family: var(--font-body);
  font-size: clamp(10.5px, 0.82vw, 12.5px);
  font-weight: 500;
  line-height: 1.2;
  color: var(--odm-text-secondary);
  margin: 0;
  padding: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 991.98px) {
  ul.odm-features.row {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
  }

  ul.odm-features.row > li.col.odm-features__item {
    flex: 0 0 min(236px, 84vw);
    max-width: none;
    width: auto;
    scroll-snap-align: start;
  }
}

/* ——— Popular games rail ——— */
.odm-games {
  margin: clamp(14px, 1.6vw, 18px) 0;
  position: relative;
}

.odm-games__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 12px;
}

.odm-games__title {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  font-weight: 800;
  color: var(--odm-text-primary, #fff);
  margin: 0;
  letter-spacing: -0.01em;
}

.odm-games__all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--odm-text-secondary, #ffa557);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.odm-games__all:hover {
  color: var(--odm-accent, #ffa557);
}

.odm-games__rail {
  position: relative;
}

.odm-games__list {
  list-style: none;
  margin: 0;
  padding: 4px 2px 8px;
  display: flex;
  gap: clamp(10px, 1vw, 14px);
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.odm-games__list::-webkit-scrollbar {
  display: none;
}

.odm-games__item {
  flex: 0 0 auto;
  scroll-snap-align: start;
  width: clamp(84px, 9.2vw, 104px);
}

.odm-games__tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--odm-text-primary, #fff);
  transition: transform 0.18s ease;
}

.odm-games__tile:hover {
  transform: translateY(-2px);
}

.odm-games__tile:hover .odm-games__thumb {
  border-color: rgba(255, 165, 87, 0.4);
}

.odm-games__thumb {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 14px;
  overflow: hidden;
  background: var(--odm-surface, rgba(255, 255, 255, 0.04));
  border: 1px solid var(--odm-border-light, rgba(255, 255, 255, 0.08));
  display: block;
  transition: border-color 0.2s ease;
}

.odm-games__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.odm-games__name {
  font-size: 11.5px;
  line-height: 1.25;
  text-align: center;
  white-space: normal;
  overflow: visible;
  overflow-wrap: break-word;
  hyphens: auto;
  max-width: 100%;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

.odm-games__nav {
  position: absolute;
  top: calc(50% - 14px);
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.14);
  cursor: pointer;
  z-index: 2;
  font-size: 16px;
  padding: 0;
  transition: background 0.18s ease;
}

.odm-games__nav:hover {
  background: rgba(0, 0, 0, 0.78);
}

.odm-games__nav--prev {
  left: -10px;
}

.odm-games__nav--next {
  right: -10px;
}

@media (min-width: 768px) {
  .odm-games__nav {
    display: inline-flex;
  }

  .odm-games__nav.is-scroll-off {
    display: none !important;
  }
}

/* ——— Home: popular tags ——— */
.odm-tags {
  margin-top: clamp(18px, 2.2vw, 28px);
  margin-bottom: clamp(10px, 1.4vw, 18px);
}

.odm-tags__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.odm-tags__title {
  font-family: var(--odm-font-display, "Unbounded", system-ui, sans-serif);
  font-size: clamp(18px, 1.9vw, 22px);
  font-weight: 700;
  margin: 0;
  color: rgba(255, 255, 255, 0.94);
}

.odm-tags__all {
  font-size: 13px;
  font-weight: 600;
  color: var(--odm-accent, #ffab79);
  text-decoration: none;
  white-space: nowrap;
}

.odm-tags__all:hover {
  text-decoration: underline;
}

.odm-tags__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.odm-tags__chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.12s ease;
}

.odm-tags__chip:hover {
  background: rgba(255, 171, 121, 0.14);
  border-color: rgba(255, 171, 121, 0.35);
  color: #fff;
  transform: translateY(-1px);
}

.odm-games__thumb--placeholder {
  display: block;
  width: 120px;
  height: 120px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px dashed rgba(255, 255, 255, 0.12);
}

/* ——— Все плейсы /games ——— */
.odm-games-directory {
  padding: 28px 0 56px;
}

.odm-games-directory__breadcrumb {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  margin: 0 0 10px;
}

.odm-games-directory__breadcrumb a {
  color: var(--odm-accent, #ffab79);
  text-decoration: none;
}

.odm-games-directory__breadcrumb a:hover {
  text-decoration: underline;
}

.odm-games-directory__title {
  font-family: var(--odm-font-display, "Unbounded", system-ui, sans-serif);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 800;
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.96);
}

.odm-games-directory__lead {
  margin: 0 0 22px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.65);
  max-width: 560px;
  line-height: 1.45;
}

.odm-games-directory__grid--loading .odm-games-directory__sk {
  aspect-ratio: 1;
  border-radius: 16px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.06) 0%,
    rgba(255, 255, 255, 0.12) 50%,
    rgba(255, 255, 255, 0.06) 100%
  );
  background-size: 200% 100%;
  animation: odmShimmerGames 1.2s ease-in-out infinite;
}

@keyframes odmShimmerGames {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.odm-games-directory__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
  gap: clamp(12px, 2vw, 18px);
}

@media (min-width: 576px) {
  .odm-games-directory__list {
    grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  }
}

.odm-games-directory__grid--loading {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
  gap: clamp(12px, 2vw, 18px);
}

.odm-games-directory__item {
  min-width: 0;
}

.odm-games-directory__tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 12px 8px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-decoration: none;
  color: inherit;
  transition:
    transform 0.15s ease,
    border-color 0.15s ease,
    background 0.15s ease;
}

.odm-games-directory__tile:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 171, 121, 0.35);
}

.odm-games-directory__thumb {
  width: 100%;
  max-width: 120px;
  aspect-ratio: 1;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.25);
}

.odm-games-directory__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.odm-games-directory__thumb--placeholder {
  border: 1px dashed rgba(255, 255, 255, 0.12);
}

.odm-games-directory__name {
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  line-height: 1.25;
  color: rgba(255, 255, 255, 0.85);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ——— Catalog: блок плейсов на /catalog ——— */
.odm-catalog-places {
  padding: 24px 0 8px;
}

.odm-catalog-places__breadcrumb {
  margin: 0 0 10px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

.odm-catalog-places__breadcrumb a {
  color: inherit;
  text-decoration: none;
}

.odm-catalog-places__breadcrumb a:hover {
  color: rgba(255, 255, 255, 0.88);
}

.odm-catalog-places__title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}

.odm-catalog-places__lead {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.72);
  max-width: 52ch;
}

.odm-catalog-all__title {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  font-weight: 800;
  color: #fff;
}

/* ——— Game page (/<slug>) ——— */
.odm-game-page {
  padding: 32px 0 64px;
}

.odm-game-hero {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.6vw, 22px);
  padding: clamp(16px, 1.8vw, 24px) clamp(16px, 1.8vw, 24px);
  border-radius: clamp(16px, 1.5vw, 22px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01)),
    var(--odm-surface, rgba(255, 255, 255, 0.04));
  border: 1px solid var(--odm-border-light, rgba(255, 255, 255, 0.08));
  margin-bottom: clamp(14px, 1.6vw, 18px);
}

.odm-game-hero__cover {
  flex: 0 0 auto;
  width: clamp(72px, 8vw, 110px);
  aspect-ratio: 1;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.2);
}

.odm-game-hero__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.odm-game-hero__body {
  min-width: 0;
}

.odm-game-hero__breadcrumbs {
  margin: 0 0 6px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
}

.odm-game-hero__breadcrumbs a {
  color: inherit;
  text-decoration: none;
}

.odm-game-hero__breadcrumbs a:hover {
  color: rgba(255, 255, 255, 0.85);
}

.odm-game-hero__sep {
  margin: 0 6px;
  opacity: 0.6;
}

.odm-game-hero__title {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.4vw, 2.05rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}

.odm-game-hero__desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.78);
}

.odm-game-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
}

.odm-tag-chip {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
  font-family: inherit;
}

.odm-tag-chip:hover {
  background: rgba(255, 165, 87, 0.12);
  color: #fff;
  border-color: rgba(255, 165, 87, 0.35);
}

.odm-tag-chip.is-active {
  background: var(--odm-accent, #ffa557);
  color: #1a1a1a;
  border-color: transparent;
}

.odm-tag-chip.is-filtered-out {
  display: none !important;
}

.odm-tag-chip:disabled {
  opacity: 0.45;
  pointer-events: none;
}

.odm-game-empty {
  margin: 24px 0;
  padding: 18px;
  border-radius: 14px;
  border: 1px dashed rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  font-size: 14px;
}

.odm-product__game-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.75);
  background: rgba(12, 10, 22, 0.82);
  backdrop-filter: blur(12px) saturate(1.2);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
  box-shadow:
    0 2px 10px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.odm-product__game-badge--manual {
  background: rgba(58, 32, 14, 0.88);
  border-color: rgba(255, 180, 120, 0.42);
  color: #ffd9bc;
}

.odm-product__game-badge--checker {
  background: rgba(14, 42, 38, 0.88);
  border-color: rgba(110, 231, 183, 0.38);
  color: #b8f5e6;
}

.odm-product__game-badge--kind {
  background: rgba(38, 22, 62, 0.9);
  border-color: rgba(196, 181, 253, 0.42);
  color: #ede9fe;
}

.odm-product__game-stock {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: #f8fafc;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(10, 12, 20, 0.78);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
}

@media (max-width: 540px) {
  .odm-game-hero {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ——— Catalog ——— */
.odm-catalog {
  background: var(--odm-page-bg);
  padding: 48px 0 64px;
  flex: 1;
}

.odm-catalog__head {
  margin-bottom: 8px;
}

.odm-catalog__head--page {
  margin-bottom: 4px;
}

/* Отдельная страница каталога */
.odm-page-catalog {
  background: var(--odm-page-bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.odm-catalog-page-head {
  padding: 32px 0 28px;
  background: linear-gradient(165deg, #2a2a2a 0%, #242424 42%, #1f1f1f 100%);

}

.odm-catalog-page-head__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

.odm-catalog-page-head__crumb {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8a9299;
  margin: 0 0 14px;
}

.odm-catalog-page-head__crumb a {
  color: var(--odm-price);
  text-decoration: none;
}

.odm-catalog-page-head__crumb a:hover {
  text-decoration: underline;
}

.odm-catalog-page-head__title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.65rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
  margin: 0 0 14px;
  color: var(--odm-text-primary);
}

.odm-catalog-page-head__lead {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--odm-text-secondary);
  margin: 0;
  max-width: 40rem;
}

/* Страница /catalog — контент (шапка: общие правила .odm-header, без отдельного margin-top) */
.odm-page-catalog main {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.odm-catalog-page {
  flex: 1;
  width: 100%;
  padding: 20px 0 72px;
  background: var(--odm-page-bg);
  box-sizing: border-box;
}

/* Панель фильтров каталога (горизонтальная, как в магазине) */
.odm-catalog-filters-toolbar {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 12px;
  margin: 0 0 16px;
  padding: 14px 16px;
  background: linear-gradient(165deg, rgba(42, 42, 42, 0.95) 0%, rgba(31, 31, 31, 0.98) 100%);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22);
}

.odm-catalog-filters-toolbar__scroll {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 10px;
  flex: 1 1 380px;
  min-width: 0;
}

.odm-catalog-filter-dd {
  flex: 1 1 160px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 140px;
  max-width: 240px;
}

.odm-catalog-filter-dd__lbl {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--odm-text-secondary);
  white-space: nowrap;
}

.odm-catalog-filter-dd__control {
  position: relative;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.odm-catalog-filter-dd__control:focus-within,
.odm-catalog-filter-dd__control:hover {
  border-color: rgba(255, 171, 121, 0.55);
  box-shadow: 0 0 0 3px rgba(255, 171, 121, 0.12);
}

.odm-catalog-filter-dd__control::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 50%;
  width: 0;
  height: 0;
  margin-top: -3px;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid #ffab79;
  pointer-events: none;
}

.odm-page-catalog .odm-catalog-filter-select {
  width: 100%;
  max-width: 100%;
  margin: 0;
  box-sizing: border-box;
  min-height: 44px;
  padding: 10px 34px 10px 14px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  background: transparent;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  color-scheme: dark;
}

.odm-page-catalog .odm-catalog-filter-select:focus {
  outline: none;
}

/* Нативный popup у select: явные цвета option для читаемости */
.odm-page-catalog .odm-catalog-filter-select option,
.odm-page-catalog .odm-catalog-filter-select optgroup {
  color: #ffffff;
  background-color: #2a2a2a;
}

.odm-page-catalog .odm-catalog-filter-select option:checked,
.odm-page-catalog .odm-catalog-filter-select option:hover {
  background-color: rgba(255, 171, 121, 0.25);
}

.odm-catalog-filter-dd--tags-wrap,
.odm-catalog-filter-dd--games-wrap {
  flex: 1 1 160px;
  max-width: 240px;
  min-width: 140px;
}

.odm-catalog-tags-dd__summary,
.odm-catalog-games-dd__summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  box-sizing: border-box;
  min-height: 44px;
  padding: 10px 34px 10px 14px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.odm-catalog-tags-dd__summary:hover,
.odm-catalog-tags-dd__summary[aria-expanded="true"],
.odm-catalog-games-dd__summary:hover,
.odm-catalog-games-dd__summary[aria-expanded="true"] {
  border-color: rgba(255, 171, 121, 0.55);
  box-shadow: 0 0 0 3px rgba(255, 171, 121, 0.12);
}

.odm-catalog-tags-dd__summary-inner,
.odm-catalog-games-dd__summary-inner {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.odm-catalog-tags-dd__summary-inner i,
.odm-catalog-games-dd__summary-inner i {
  color: #ffab79;
}

.odm-catalog-tags-dd__badge,
.odm-catalog-games-dd__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 7px;
  font-size: 12px;
  font-weight: 800;
  color: #1a1a1a;
  background: var(--odm-price);
  border-radius: 999px;
}

.odm-catalog-tags-dd__badge:empty,
.odm-catalog-games-dd__badge:empty {
  display: none;
}

.odm-catalog-tags-dd__chev,
.odm-catalog-games-dd__chev {
  flex-shrink: 0;
  font-size: 14px;
  opacity: 0.85;
  transition: transform 0.2s ease;
  color: #ffab79;
}

.odm-catalog-tags-dd__summary[aria-expanded="true"] .odm-catalog-tags-dd__chev,
.odm-catalog-games-dd__summary[aria-expanded="true"] .odm-catalog-games-dd__chev {
  transform: rotate(180deg);
}

body.odm-no-scroll {
  overflow: hidden;
}

/* Модальное окно тегов: на весь экран затемнение + центрированный диалог */
.odm-catalog-tags-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 8, 8, 0.55);
  z-index: 1100;
  backdrop-filter: blur(2px);
}

.odm-catalog-tags-pop {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1101;
  padding: 24px;
  pointer-events: none;
}

.odm-catalog-tags-pop[hidden] {
  display: none;
}

.odm-catalog-tags-pop__inner {
  pointer-events: auto;
  width: min(420px, 100%);
  max-height: min(80vh, 600px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
  background: #1f1f1f;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
  color: #ffffff;
}

.odm-catalog-tags-pop__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.odm-catalog-tags-pop__head strong {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
}

.odm-catalog-tags-pop__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: none;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.07);
  color: #ffffff;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.15s ease;
}

.odm-catalog-tags-pop__close:hover {
  background: rgba(255, 255, 255, 0.15);
}

.odm-catalog-tag-search {
  width: 100%;
  padding: 11px 14px;
  font-size: 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(0, 0, 0, 0.4);
  color: #ffffff;
  color-scheme: dark;
}

.odm-catalog-tag-search:focus {
  outline: none;
  border-color: rgba(255, 171, 121, 0.55);
  box-shadow: 0 0 0 3px rgba(255, 171, 121, 0.12);
}

.odm-page-catalog .odm-catalog-tags-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
  flex: 1 1 auto;
  min-height: 0;
  padding-right: 4px;
}

.odm-catalog-tag-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: #ffffff;
  transition: background 0.12s ease;
}

.odm-catalog-tag-chip:hover {
  background: rgba(255, 255, 255, 0.06);
}

.odm-catalog-tag-chip input {
  margin: 0;
  width: 16px;
  height: 16px;
  accent-color: var(--odm-price);
  cursor: pointer;
}

.odm-catalog-filter-reset {
  flex: 0 0 auto;
  align-self: flex-end;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.odm-catalog-filter-reset:hover {
  background: rgba(255, 171, 121, 0.12);
  border-color: rgba(255, 171, 121, 0.5);
}

.odm-catalog__head--page .odm-catalog-toolbar {
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
}

.odm-catalog-crumbs {
  margin: 0 0 8px;
  padding: 0 4px;
  font-family: var(--font-body, "Manrope", "Inter", system-ui, sans-serif);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--odm-text-secondary);
}

.odm-catalog-crumbs[hidden] {
  display: none;
}

.odm-catalog-crumbs a {
  color: var(--odm-price);
  text-decoration: none;
}

.odm-catalog-crumbs a:hover {
  text-decoration: underline;
}

.odm-catalog-crumbs span[aria-hidden="true"] {
  opacity: 0.55;
  padding: 0 6px;
}

.odm-catalog-result-meta {
  margin: 12px 0 4px;
  padding: 0 4px;
  font-family: var(--font-body, "Manrope", "Inter", system-ui, sans-serif);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--odm-text-primary);
}

.odm-catalog-result-meta:empty {
  display: none;
}

/* Скрываем cart-wrap пока неизвестна роль (исключаем мерцание «Корзина → Продать») */
html.odm-has-access-token .odm-menu__cart-wrap:not([data-odm-cart-resolved="1"]),
html.odm-has-access-token [data-odm-marketplace-cart-slot="1"]:not([data-odm-cart-resolved="1"]) {
  visibility: hidden;
}

/* Не рисуем вертикальный разделитель у последнего элемента и после скрытых */
.odm-menu > li:last-child::before,
.odm-menu > li[hidden] + li::before,
.odm-menu > li[aria-hidden="true"] + li::before {
  content: none;
  display: none;
}

@media (max-width: 720px) {
  .odm-catalog-filters-toolbar {
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
  }

  .odm-catalog-filters-toolbar__scroll {
    flex: 1 1 auto;
  }

  .odm-catalog-filter-dd,
  .odm-catalog-filter-dd--tags-wrap,
  .odm-catalog-filter-dd--games-wrap {
    flex: 1 1 calc(50% - 5px);
    max-width: none;
  }

  .odm-catalog-filter-reset {
    align-self: stretch;
    text-align: center;
  }
}

/* ——— Страница корзины ——— */
.odm-page-cart {
  background: var(--odm-page-bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.odm-page-cart main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.odm-cart {
  flex: 1;
  padding: 28px 0 72px;
  background: var(--odm-page-bg);
}

.odm-cart__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  gap: clamp(20px, 3vw, 36px);
  align-items: start;
}

.odm-cart__main {
  min-width: 0;
}

.odm-cart__list-head {
  display: none;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8a9299;
  padding: 0 16px 10px;

}

@media (min-width: 880px) {
  .odm-cart__list-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 92px 132px 100px 44px;
    gap: 16px;
    align-items: center;
    margin-bottom: 14px;
  }
}

.odm-cart__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (min-width: 880px) {
  .odm-cart__list {
    gap: 0;

    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--odm-surface);
  }
}

.odm-cart__line {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  padding: 18px;
  background: var(--odm-row-muted);
  border-radius: var(--radius-md);
  align-items: center;
}

@media (min-width: 880px) {
  .odm-cart__line {
    grid-template-columns: minmax(0, 1fr) 92px 132px 100px 44px;
    gap: 16px;
    padding: 16px 18px;
    background: var(--odm-surface);
    border-radius: 0;

  }

  .odm-cart__line:last-child {

  }

  .odm-cart__remove {
    justify-self: center;
  }
}

.odm-cart__line-main {
  min-width: 0;
}

.odm-cart__line-title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--odm-text-primary);
  text-decoration: none;
  line-height: 1.35;
  display: inline-block;
}

.odm-cart__line-title:hover {
  color: var(--odm-price);
}

.odm-cart__line-note {
  font-family: var(--font-body);
  font-size: 12px;
  color: #7a8794;
  margin: 6px 0 0;
  line-height: 1.4;
}

.odm-cart__line-unit,
.odm-cart__line-sum {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--odm-text-secondary);
}

.odm-cart__line-sum {
  color: var(--odm-price);
  font-weight: 700;
}

@media (max-width: 879px) {
  .odm-cart__line-unit::before,
  .odm-cart__line-sum::before {
    display: block;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #8a9299;
    margin-bottom: 4px;
  }

  .odm-cart__line-unit::before {
    content: "Цена";
  }

  .odm-cart__line-sum::before {
    content: "Сумма";
  }

  .odm-cart__line-qty::before {
    content: "Количество";
    display: block;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #8a9299;
    margin-bottom: 8px;
  }

  .odm-cart__line {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "main main"
      "unit sum"
      "qty remove";
  }

  .odm-cart__line-main {
    grid-area: main;
  }

  .odm-cart__line-unit {
    grid-area: unit;
  }

  .odm-cart__line-sum {
    grid-area: sum;
    text-align: right;
  }

  .odm-cart__line-qty {
    grid-area: qty;
  }

  .odm-cart__remove {
    grid-area: remove;
    justify-self: end;
    align-self: end;
  }
}

.odm-cart__line-qty {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: nowrap;
}

.odm-cart__qty-btn {
  width: 36px;
  height: 36px;
  padding: 0;

  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  color: var(--odm-text-primary);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.odm-cart__qty-btn:hover {
  background: rgba(255, 165, 87, 0.2);
  color: var(--odm-price);
}

.odm-cart__qty-input {
  width: 3rem;
  min-width: 2.75rem;
  max-width: 4.25rem;
  height: 36px;
  box-sizing: border-box;
  padding: 0 6px;

  border-radius: 10px;
  background: var(--odm-input-bg);
  text-align: center;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--odm-text-primary);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.odm-cart__qty-input:focus {
  outline: none;

  box-shadow: 0 0 0 2px rgba(255, 165, 87, 0.2);
}

.odm-cart__qty-input::-webkit-outer-spin-button,
.odm-cart__qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.odm-cart__qty-input[type="number"] {
  appearance: textfield;
  -moz-appearance: textfield;
}

.odm-cart__remove {
  width: 40px;
  height: 40px;
  padding: 0;

  border-radius: 12px;
  background: transparent;
  color: #9aa3ad;
  cursor: pointer;
  font-size: 1.1rem;
  transition: background 0.2s ease, color 0.2s ease;
}

.odm-cart__remove:hover {
  background: rgba(241, 24, 78, 0.08);
  color: var(--odm-sale);
}

.odm-cart__toolbar {
  margin-top: 20px;
}

.odm-cart__continue {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--odm-price);
  text-decoration: none;
}

.odm-cart__continue:hover {
  text-decoration: underline;
}

.odm-cart__aside {
  position: sticky;
  top: calc(env(safe-area-inset-top, 0px) + 88px);
}

.odm-cart__summary {
  padding: 24px 22px 26px;
  border-radius: var(--radius-md);
  background: linear-gradient(165deg, #2a2a2a 0%, var(--odm-surface) 55%);

  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.22);
}

.odm-cart__summary-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
  color: var(--odm-text-primary);
}

.odm-cart__summary-rows {
  margin: 0;
}

.odm-cart__summary-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 10px 0;

  font-family: var(--font-body);
  font-size: 14px;
  color: var(--odm-text-secondary);
}

.odm-cart__summary-row dt {
  margin: 0;
  font-weight: 500;
}

.odm-cart__summary-row dd {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--odm-text-primary);
}

.odm-cart__summary-row--total {

  padding-top: 14px;
  font-size: 15px;
}

.odm-cart__summary-row--total dt {
  font-weight: 700;
  color: var(--odm-text-primary);
}

.odm-cart__summary-row--total dd {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  letter-spacing: -0.02em;
  color: var(--odm-price);
}

.odm-cart__summary-row--discount dt {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  max-width: 72%;
}

.odm-cart__summary-row--discount dd {
  color: #047857;
  font-size: 15px;
}



.odm-cart__promo-row {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  align-items: stretch;
}

.odm-cart__promo-field {
  flex: 1 1 auto;
  min-width: 0;
  box-sizing: border-box;
  padding: 12px 14px;

  border-radius: 12px;
  background: var(--odm-input-bg);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--odm-text-primary);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.odm-cart__promo-field::placeholder {
  text-transform: none;
  letter-spacing: normal;
  font-weight: 500;
  color: #9aa3ad;
}

.odm-cart__promo-field:focus {
  outline: none;

  box-shadow: 0 0 0 3px rgba(255, 165, 87, 0.22);
}

.odm-cart__promo-field:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.odm-cart__promo-apply {
  flex-shrink: 0;
  padding: 12px 18px;

  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--odm-text-secondary);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.odm-cart__promo-apply:hover:not(:disabled) {
  background: rgba(255, 165, 87, 0.22);
  color: var(--odm-price);
}

.odm-cart__promo-apply:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.odm-cart__promo-error {
  font-family: var(--font-body);
  font-size: 12px;
  line-height: 1.45;
  color: #c41545;
  margin: 8px 0 0;
}

.odm-cart__balance-warn {
  font-family: var(--font-body);
  font-size: 12px;
  line-height: 1.5;
  color: #b45309;
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(245, 158, 11, 0.12);

}

.odm-cart__summary-hint {
  font-family: var(--font-body);
  font-size: 12px;
  line-height: 1.5;
  color: #8a9299;
  margin: 14px 0 20px;
}

.odm-cart__checkout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px 20px;

  border-radius: 14px;
  background: var(--odm-accent);
  color: #1a1208;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: filter 0.2s ease;
}

.odm-cart__checkout:hover:not(:disabled) {
  filter: brightness(1.05);
}

.odm-cart__checkout:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* Модальное окно промокода (корзина) */
.odm-cart-promo {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: grid;
  place-items: center;
  padding: 20px;
}

.odm-cart-promo[hidden] {
  display: none !important;
}

.odm-cart-promo__backdrop {
  position: absolute;
  inset: 0;

  margin: 0;
  padding: 0;
  background: rgba(20, 30, 40, 0.55);
  cursor: pointer;
}

.odm-cart-promo__modal {
  position: relative;
  width: 100%;
  max-width: 400px;
  padding: 28px 24px 24px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.22);
  z-index: 1;
}

.odm-cart-promo__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 12px;
  background: #f0f3f6;
  color: #555;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.odm-cart-promo__close:hover {
  background: rgba(255, 165, 87, 0.2);
  color: var(--odm-price);
}

.odm-cart-promo__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 32px 10px 0;
  color: #111;
}

.odm-cart-promo__lead {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.55;
  color: #5a6570;
  margin: 0 0 18px;
}

.odm-cart-promo__form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.odm-cart-promo__input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;

  background: #f4f7f9;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #111;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.odm-cart-promo__input:focus {
  outline: none;

  background: #fff;
}

.odm-cart-promo__input::placeholder {
  text-transform: none;
  letter-spacing: 0.02em;
  font-weight: 500;
  color: #8a9299;
}

.odm-cart-promo__demo {
  font-family: var(--font-body);
  font-size: 12px;
  line-height: 1.5;
  color: #8a9299;
  margin: 0;
}

.odm-cart-promo__demo code {
  font-size: 0.92em;
  padding: 0.1em 0.35em;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.06);
  color: #3d454c;
}

.odm-cart-promo__error {
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.45;
  color: var(--odm-sale);
  margin: 0;
}

.odm-cart-promo__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.odm-cart-promo__apply {
  flex: 1 1 120px;
  padding: 14px 18px;

  border-radius: 12px;
  background: var(--odm-accent);
  color: #1a1208;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: filter 0.2s ease;
}

.odm-cart-promo__apply:hover {
  filter: brightness(1.05);
}

.odm-cart-promo__cancel {
  flex: 1 1 100px;
  padding: 14px 18px;

  border-radius: 12px;
  background: rgba(0, 0, 0, 0.06);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: #3d454c;
  cursor: pointer;
  transition: background 0.2s ease;
}

.odm-cart-promo__cancel:hover {
  background: rgba(0, 0, 0, 0.1);
}

.odm-cart__empty-inner {
  max-width: 26rem;
  margin: 0 auto;
  padding: 48px 20px 56px;
  text-align: center;
}

.odm-cart__empty-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.05);
  font-size: 1.85rem;
  color: #8a9299;
}

.odm-cart__empty-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  margin: 0 0 10px;
  color: #111;
}

.odm-cart__empty-text {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  color: #5a6570;
  margin: 0 0 24px;
}

.odm-cart__empty-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border-radius: 999px;
  background: var(--odm-accent);
  color: #1a1208;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: filter 0.2s ease;
}

.odm-cart__empty-btn:hover {
  filter: brightness(1.05);
}

/* Иначе .odm-cart__empty-btn { display: inline-flex } перебивает UA [hidden] — кнопка «Очистить» остаётся видимой при пустой корзине */
button.odm-cart__empty-btn[hidden] {
  display: none !important;
}

.odm-cart__empty[hidden],
.odm-cart__layout[hidden],
.odm-cart__skeleton-layout[hidden] {
  display: none !important;
}

/* Скелет корзины (пока грузится каталог) */
.odm-cart__line--sk {
  pointer-events: none;
}

.odm-cart__line--sk .odm-cart__sk {
  display: block;
  min-height: 18px;
  border-radius: 10px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.05) 0%,
    rgba(255, 255, 255, 0.12) 50%,
    rgba(255, 255, 255, 0.05) 100%
  );
  background-size: 200% 100%;
  animation: odmCartSkShimmer 1.15s ease-in-out infinite;
}

.odm-cart__sk--main {
  min-height: 44px;
}

.odm-cart__sk--narrow {
  max-width: 100%;
}

.odm-cart__sk--qty {
  height: 40px;
  max-width: 132px;
  margin-inline: auto;
}

.odm-cart__sk--icon {
  width: 40px;
  height: 40px;
  margin-inline: auto;
  border-radius: 12px;
}

.odm-cart__sk--toolbar {
  height: 20px;
  max-width: 220px;
  border-radius: 8px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.05) 0%,
    rgba(255, 255, 255, 0.12) 50%,
    rgba(255, 255, 255, 0.05) 100%
  );
  background-size: 200% 100%;
  animation: odmCartSkShimmer 1.15s ease-in-out infinite;
}

.odm-cart__summary--sk {
  pointer-events: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.odm-cart__sk--summary-title {
  height: 22px;
  width: 45%;
  border-radius: 8px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.05) 0%,
    rgba(255, 255, 255, 0.12) 50%,
    rgba(255, 255, 255, 0.05) 100%
  );
  background-size: 200% 100%;
  animation: odmCartSkShimmer 1.15s ease-in-out infinite;
}

.odm-cart__sk-rows {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.odm-cart__sk--row {
  height: 16px;
  border-radius: 8px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.05) 0%,
    rgba(255, 255, 255, 0.12) 50%,
    rgba(255, 255, 255, 0.05) 100%
  );
  background-size: 200% 100%;
  animation: odmCartSkShimmer 1.15s ease-in-out infinite;
}

.odm-cart__sk--row-total {
  height: 22px;
  margin-top: 4px;
  opacity: 0.92;
}

.odm-cart__sk--promo {
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.05) 0%,
    rgba(255, 255, 255, 0.11) 50%,
    rgba(255, 255, 255, 0.05) 100%
  );
  background-size: 200% 100%;
  animation: odmCartSkShimmer 1.15s ease-in-out infinite;
}

.odm-cart__sk--checkout {
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(
    90deg,
    rgba(255, 171, 121, 0.12) 0%,
    rgba(255, 171, 121, 0.22) 50%,
    rgba(255, 171, 121, 0.12) 100%
  );
  background-size: 200% 100%;
  animation: odmCartSkShimmer 1.15s ease-in-out infinite;
}

@keyframes odmCartSkShimmer {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

@media (max-width: 879px) {
  .odm-cart__line--sk {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "skm skm"
      "sku skq"
      "sks skr";
  }

  .odm-cart__line--sk .odm-cart__sk:nth-child(1) {
    grid-area: skm;
  }

  .odm-cart__line--sk .odm-cart__sk:nth-child(2) {
    grid-area: sku;
  }

  .odm-cart__line--sk .odm-cart__sk:nth-child(3) {
    grid-area: skq;
    margin-inline: 0;
  }

  .odm-cart__line--sk .odm-cart__sk:nth-child(4) {
    grid-area: sks;
  }

  .odm-cart__line--sk .odm-cart__sk:nth-child(5) {
    grid-area: skr;
  }
}

@media (max-width: 879px) {
  .odm-cart__layout {
    grid-template-columns: 1fr;
  }

  .odm-cart__aside {
    position: static;
    order: -1;
  }
}

/* ——— Страница товара ——— */
.odm-page-product {
  background: var(--odm-page-bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.odm-page-product main {
  flex: 1;
}

.odm-product-missing {
  padding: 72px 0 96px;
}

.odm-product-missing__inner {
  text-align: center;
  max-width: 28rem;
  margin: 0 auto;
}

.odm-product-missing__icon {
  font-size: 3rem;
  color: #c5ccd4;
  margin: 0 0 16px;
}

.odm-product-missing__title {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 800;
  margin: 0 0 12px;
  color: var(--odm-text-primary);
}

.odm-product-missing__text {
  font-family: var(--font-body);
  color: var(--odm-text-secondary);
  margin: 0 0 28px;
  line-height: 1.55;
}

.odm-product-missing__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  background: var(--odm-accent);
  color: #fff;
  text-decoration: none;
  transition: filter 0.2s ease;
}

.odm-product-missing__btn:hover {
  filter: brightness(1.05);
  color: #fff;
}

.odm-product-page {
  padding: 20px 0 72px;
}

.odm-product-page__container {
  max-width: 1120px;
  margin: 0 auto;
}

.odm-product-page__crumb {
  font-size: 13px;
  font-weight: 600;
  color: #8a9299;
  margin: 0 0 28px;
  line-height: 1.5;
}

.odm-product-page__crumb a {
  color: var(--odm-price);
  text-decoration: none;
}

.odm-product-page__crumb a:hover {
  text-decoration: underline;
}

.odm-product-page__crumb-sep {
  margin: 0 0.35em;
  opacity: 0.65;
}

.odm-product-page__crumb-current {
  color: var(--odm-text-secondary);
  display: inline-block;
  max-width: min(100%, 42ch);
  vertical-align: bottom;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.odm-product-page__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
  margin-bottom: clamp(32px, 5vw, 48px);
}

.odm-product-page__media {
  min-width: 0;
}

.odm-product-page__media-card {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  width: 100%;
  max-width: min(100%, 750px);
  margin: 0 auto;
  background: linear-gradient(145deg, #4a4f58 0%, #3a3d44 100%);
  aspect-ratio: 1 / 1;
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.12);
}

.odm-product-page__media-card--empty {
  display: flex;
  align-items: stretch;
}

/* display:flex перебивает UA [hidden] — плейсхолдер остаётся над галереей при наличии фото */
.odm-product-page__media-card--empty[hidden],
#odmProductGalleryEmpty[hidden] {
  display: none !important;
}

.odm-product-page__media-img,
.odm-product-page__hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.odm-product-page__media-img:not([hidden]) {
  cursor: zoom-in;
}

.odm-product-page__media-ph,
.odm-product-page__hero-ph {
  width: 100%;
  height: 100%;
  min-height: 200px;
  background: linear-gradient(165deg, #4a4f58 0%, #2f3238 100%);
}

.odm-gallery {
  width: 100%;
  max-width: min(100%, 750px);
  margin: 0 auto;
}

.odm-gallery--edit-modal {
  max-width: 100%;
  margin: 0 0 12px;
}

.odm-gallery__chrome {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: 0;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.12);
  background: #2f3238;
}

.odm-gallery--product .odm-gallery__chrome {
  aspect-ratio: 1 / 1;
}

.odm-gallery--edit-modal .odm-gallery__chrome {
  aspect-ratio: 1 / 1;
  max-height: min(72vw, 360px);
}

.odm-gallery--edit-modal .odm-gallery__slide {
  scroll-snap-stop: always;
}

.odm-gallery__viewport {
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  /* Не smooth на элементе: конфликтует со scroll-snap и даёт «через раз» неверный slide */
  scroll-behavior: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  outline: none;
  touch-action: pan-x;
}

.odm-gallery__viewport::-webkit-scrollbar {
  display: none;
}

.odm-gallery__track {
  display: flex;
  height: 100%;
  width: max-content;
}

.odm-gallery__slide {
  flex: 0 0 100%;
  width: 100%;
  max-width: none;
  box-sizing: border-box;
  scroll-snap-align: start;
  height: 100%;
  position: relative;
}

.odm-gallery--product .odm-gallery__slide {
  scroll-snap-stop: always;
}

.odm-gallery__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  vertical-align: top;
  cursor: zoom-in;
}

.odm-gallery__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  line-height: 1;
  color: #fff;
  background: rgba(15, 23, 42, 0.45);
  cursor: pointer;
  transition: background 0.15s ease, opacity 0.15s ease;
}

.odm-gallery__nav:hover:not(:disabled) {
  background: rgba(15, 23, 42, 0.65);
}

.odm-gallery__nav:disabled {
  opacity: 0.25;
  cursor: default;
}

.odm-gallery__nav--prev {
  left: 10px;
}

.odm-gallery__nav--next {
  right: 10px;
}

.odm-gallery__footer {
  display: flex;
  justify-content: center;
  margin-top: 10px;
  min-height: 22px;
}

.odm-gallery__dots {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  align-items: center;
}

.odm-gallery__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.55);
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}

.odm-gallery__dot.is-active {
  background: rgba(249, 115, 22, 0.95);
  transform: scale(1.25);
}

.odm-seller-edit-gallery-hint {
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.62);
}

.odm-seller-edit-gallery-upload {
  margin-top: 4px;
}

.odm-seller-edit-gallery-reset {
  margin-top: 10px;
}

.odm-product-page__purchase {
  position: sticky;
  top: calc(env(safe-area-inset-top, 0px) + 88px);
  min-width: 0;
}

.odm-product-page__body {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 52rem;
}

@media (min-width: 901px) {
  .odm-product-page__top {
    grid-template-columns: minmax(0, 750px) minmax(320px, 420px);
    gap: clamp(24px, 3.2vw, 44px);
    align-items: start;
  }

  .odm-product-page__media {
    display: flex;
    justify-content: flex-start;
  }
}

@media (max-width: 900px) {
  .odm-product-page__top {
    grid-template-columns: 1fr;
  }

  .odm-product-page__media-card {
    max-width: min(100%, 520px);
  }

  .odm-product-page__purchase {
    position: static;
    top: auto;
  }

  .odm-product-page__body {
    max-width: none;
  }
}

@media (max-width: 600px) {
  .odm-product-page__media-card {
    max-width: none;
    border-radius: 18px;
  }
}

.odm-product-page__panel-inner {
  padding: clamp(22px, 3vw, 32px);
  border-radius: 20px;

  background: linear-gradient(165deg, #2a2a2a 0%, var(--odm-surface) 55%);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}

.odm-product-page__panel-inner .odm-product-page__tag {

}

.odm-product-page__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.odm-product-page__tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 165, 87, 0.14);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.odm-product-page__tag--type {
  background: var(--odm-surface-mid);
  color: var(--odm-text-secondary);

}

.odm-product-page__tag--new {
  background: var(--odm-sale);

  color: #fff;
}

a.odm-product-page__tag--link {
  text-decoration: none;
  cursor: pointer;
}

a.odm-product-page__tag--link:hover {
  background: rgba(255, 165, 87, 0.28);
  border-color: rgba(255, 165, 87, 0.45);
}

.odm-product-page__seller-wrap {
  margin: 0 0 16px;
}

.odm-product-page__seller-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
}

.odm-product-page__seller-reviews {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #c45a1a;
  text-decoration: none;
  white-space: nowrap;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 171, 121, 0.2);

  transition: background 0.15s ease, border-color 0.15s ease;
}

.odm-product-page__seller-reviews:hover {
  background: rgba(255, 171, 121, 0.32);

}

.odm-product-page__seller-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  padding: 0;

  background: transparent;
  box-shadow: none;
  text-decoration: none;
  color: var(--odm-text-primary);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.98rem;
  letter-spacing: -0.02em;
  transition: color 0.15s ease;
}

.odm-product-page__seller-link:hover {
  color: #c45a1a;
}

.odm-product-page__seller-link-text {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  flex: 1;
}

.odm-product-page__seller-link-text .odm-product-page__seller-name {
  flex: 1;
  min-width: 0;
}

.odm-product-page__seller-verified {
  margin-right: 0;
  flex-shrink: 0;
}

.odm-product-page__seller-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  color: #5a6570;
}

.odm-product-page__seller-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.odm-product-page__seller-name {
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.odm-product-page__title {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin: 0 0 20px;
  color: var(--odm-text-primary);
}

.odm-product-page__prices {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px 16px;
  margin-bottom: 18px;
}

.odm-product-page__price-old {
  font-size: 17px;
  text-decoration: line-through;
  color: #9aa3ad;
}

.odm-product-page__price {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3.2vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--odm-price);
}

.odm-product-page__price--sale {
  color: var(--odm-sale);
}

.odm-product-page__stock {
  margin: 0 0 10px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--odm-text-secondary);
  line-height: 1.4;
}

.odm-product-page__stock--empty {
  color: #b45309;
}

.odm-product-page__purchase-kind {
  margin: 0 0 10px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--odm-text-secondary);
  line-height: 1.4;
}

.odm-product-page__commission-note {
  font-family: var(--font-body);
  font-size: 12px;
  line-height: 1.45;
  color: var(--odm-text-secondary);
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 171, 121, 0.12);

}

.odm-product-page__buy {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  width: 100%;
  margin-top: 8px;
}

/* Иначе display:flex перебивает атрибут hidden и блок покупки остаётся видимым */
.odm-product-page__buy[hidden],
#odmProductBuyBlock[hidden] {
  display: none !important;
}

.odm-product-page__seller-no-buy {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.45;
  color: var(--odm-text-secondary);
  margin: 12px 0 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);

}

.odm-product-page__buy-label {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--odm-text-soft);
}

.odm-product-page__qty {
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  gap: 8px;
  flex-wrap: nowrap;
  width: 100%;
  margin: 0;
  padding: 0;

  background: transparent;
  box-shadow: none;
}

.odm-product-page__qty-btn {
  width: 44px;
  height: 44px;
  padding: 0;

  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  color: var(--odm-text-primary);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
  flex-shrink: 0;
}

.odm-product-page__qty-btn:hover:not(:disabled) {
  background: rgba(255, 165, 87, 0.22);
  color: var(--odm-price);
}

.odm-product-page__qty-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.odm-product-page__qty-input {
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  max-width: none;
  height: 44px;
  box-sizing: border-box;
  padding: 0 8px;

  border-radius: 12px;
  background: var(--odm-input-bg);
  text-align: center;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  color: var(--odm-text-primary);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.odm-product-page__qty-input:focus {
  outline: none;

  box-shadow: 0 0 0 2px rgba(255, 165, 87, 0.2);
}

.odm-product-page__qty-input:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.odm-product-page__qty-input::-webkit-outer-spin-button,
.odm-product-page__qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.odm-product-page__qty-input[type="number"] {
  appearance: textfield;
  -moz-appearance: textfield;
}

.odm-product-page__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 22px;
  border-radius: 14px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;

  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  text-align: center;
  width: 100%;
}

.odm-product-page__btn--primary {
  background: var(--odm-accent);
  color: #1a1208;
  min-height: 52px;
  box-sizing: border-box;
}

.odm-product-page__btn--primary:hover {
  filter: brightness(1.06);
  color: #1a1208;
}

.odm-product-page__owner-tools {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}

.odm-product-page__owner-tools[hidden],
#odmProductOwnerTools[hidden] {
  display: none !important;
}

.odm-product-page__btn--ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--odm-text-primary);
  border: 1px solid var(--odm-border-light);
  box-sizing: border-box;
}

.odm-product-page__btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--odm-price);
}

.odm-product-page__btn--outline {
  background: transparent;
  color: var(--odm-accent);
  border: 1px solid rgba(255, 171, 121, 0.55);
  box-sizing: border-box;
}

.odm-product-page__btn--outline:hover {
  border-color: var(--odm-accent);
  color: var(--odm-price);
}

.odm-product-page__section {
  margin-top: 40px;
  padding-top: 32px;

}

.odm-product-page__section--lead {
  margin-top: 0;
  padding-top: 0;

}

.odm-product-page__section--related {
  margin-top: 48px;
  max-width: none;
}

.odm-product-page__section-body--prose {
  margin-top: 4px;
}

.odm-product-page__section-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
  color: var(--odm-text-primary);
}

.odm-product-page__list {
  margin: 0;
  padding-left: 1.25rem;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.65;
  color: var(--odm-text-secondary);
}

.odm-product-page__list li {
  margin-bottom: 10px;
}

.odm-product-page__prose {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  color: var(--odm-text-secondary);
  margin: 0;
  max-width: 48rem;
}

.odm-product-page__prose--plain {
  word-break: break-word;
}

.odm-product-page__prose a {
  color: var(--odm-price);
  font-weight: 600;
  text-underline-offset: 2px;
}

.odm-product-page__prose a:hover {
  color: var(--odm-accent);
}

.odm-product-page__steps {
  margin: 0;
  padding-left: 1.35rem;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.65;
  color: var(--odm-text-secondary);
  max-width: 48rem;
}

.odm-product-page__steps li {
  margin-bottom: 12px;
  padding-left: 4px;
}

.odm-product-page__steps li::marker {
  font-weight: 700;
  color: var(--odm-price);
}

.odm-product-page__related {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.odm-product-page__related-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 18px 16px;
  border-radius: var(--radius-md);

  background: var(--odm-surface);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.odm-product-page__related-card:hover {

  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.28);
}

.odm-product-page__related-name {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--odm-text-primary);
}

.odm-product-page__related-price {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  color: var(--odm-price);
}

.odm-product-page__related-empty {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--odm-text-secondary);
  margin: 0;
}

@media (max-width: 900px) {
  .odm-product-page__related {
    grid-template-columns: 1fr;
  }
}

.odm-catalog__title-row {
  margin-bottom: 18px;
}

.odm-catalog__title-row h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  margin: 0;
  color: var(--odm-text-primary);
}

.odm-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: flex-start;
  gap: 12px;
  width: 100%;
}

.odm-filters__wrap {
  position: relative;
  display: flex;
  align-items: stretch;
  flex: 1 1 0;
  min-width: 0;
}

.odm-filters__wrap--search {
  flex: 1.35 1 220px;
  min-width: min(100%, 240px);
}

.odm-filters__icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.05rem;
  color: #6a7580;
  pointer-events: none;
  z-index: 1;
}

.odm-filters__wrap select {
  width: 100%;
  padding-right: 42px;
}

.odm-filters__chevron {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.85rem;
  color: #9aa3ad;
  pointer-events: none;
  z-index: 1;
}

.odm-filters input,
.odm-filters select {
  width: 100%;
  box-sizing: border-box;

  padding: 16px 20px;
  background: var(--odm-input-bg);
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.02em;
  color: var(--odm-text-primary);
  min-width: 0;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.odm-filters input:focus,
.odm-filters select:focus {
  outline: none;

  background: var(--odm-input-focus-bg);
}

.odm-filters input::placeholder {
  color: var(--odm-text-soft);
}

/* После общего padding — иначе shorthand перетирает отступ под иконку */
.odm-filters__wrap--search input {
  padding-left: 3rem;
  -webkit-appearance: none;
  appearance: none;
}

.odm-filters--search-only .odm-filters__wrap--search {
  flex: 1 1 100%;
  min-width: 0;
  max-width: 100%;
}

.odm-filters select {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

/* Каталог: список без превью */
.odm-catalog-grid--list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 24px 0 0;
}

.odm-catalog-grid--list .odm-product {
  width: 100%;
  padding: 0;
  margin: 0;
}

.odm-product__link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 16px 20px;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: var(--odm-surface);

  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.odm-product__link:hover {

  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.odm-product__link:focus-visible {
  outline: 2px solid rgba(255, 165, 87, 0.55);
  outline-offset: 2px;
}

.odm-product__img {
  width: 84px;
  height: 84px;
  border-radius: 14px;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.06);

}

.odm-product__img--placeholder {
  background:
    radial-gradient(120px 80px at 30% 20%, rgba(255, 165, 87, 0.28), rgba(255, 165, 87, 0) 60%),
    radial-gradient(110px 90px at 80% 75%, rgba(56, 189, 248, 0.22), rgba(56, 189, 248, 0) 55%),
    rgba(0, 0, 0, 0.02);
}

.odm-product__body {
  min-width: 0;
}

.odm-product__title {
  font-family: var(--font-display);
  font-size: clamp(15px, 1.9vw, 17px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--odm-text-primary);
  line-height: 1.35;
  margin: 0 0 10px;
}

.odm-product__tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.odm-product__type {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--odm-text-secondary);
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--odm-surface-mid);
}

.odm-product__badge {
  font-size: 12px;
  font-weight: 600;
  color: #5a6570;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 165, 87, 0.12);

  max-width: none;
  text-align: left;
}

.odm-product__pill {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 6px;
}

.odm-product__pill--new {
  color: #fff;
  background: var(--odm-sale);
}

.odm-product__pill--stock {
  color: #1e3a2f;
  background: rgba(34, 197, 94, 0.18);
  font-weight: 700;
}

.odm-product__pill--oos {
  color: #7a2e2e;
  background: rgba(239, 68, 68, 0.12);
  font-weight: 800;
}

.odm-product--oos {
  opacity: 0.74;
}

.odm-product--oos .odm-product__cart {
  opacity: 0.65;
}

.odm-product__prices {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 4px;
  margin: 0;
}

.odm-product__price-old {
  font-size: 14px;
  text-decoration: line-through;
  color: #9aa3ad;
}

.odm-product__price {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.2vw, 1.35rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--odm-price);
  white-space: nowrap;
}

.odm-product__price--sale {
  color: var(--odm-sale);
}

.odm-product__cart {
  position: static;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(255, 165, 87, 0.14);
  color: var(--odm-price);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  pointer-events: none;
  flex-shrink: 0;
  transition: background 0.2s ease, color 0.2s ease;
}

.odm-product__link:hover .odm-product__cart {
  background: var(--odm-accent);
  color: #fff;
}

/* Каталог в стиле game-item: превью + текст поверх снизу */
.odm-catalog-grid--game {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin: 25px 0 0;
}

.odm-catalog-grid--game.odm-catalog-grid--loading {
  pointer-events: none;
}

@keyframes odm-sk-shimmer {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: -100% 0;
  }
}

.odm-catalog-sk-card {
  min-height: 360px;
  border-radius: var(--radius-xl);
  background: linear-gradient(110deg, #eceef1 0%, #f6f7f9 45%, #eceef1 90%);
  background-size: 200% 100%;
  animation: odm-sk-shimmer 1.25s ease-in-out infinite;

}

@media (prefers-reduced-motion: reduce) {
  .odm-catalog-sk-card {
    animation: none;
    background: #eceef1;
  }
}

.odm-account__profile-avatar--skeleton {
  color: transparent !important;
  text-indent: -9999px;
  overflow: hidden;
  background: linear-gradient(110deg, #dfe3e8 0%, #eef0f3 45%, #dfe3e8 90%);
  background-size: 200% 100%;
  animation: odm-sk-shimmer 1.25s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .odm-account__profile-avatar--skeleton {
    animation: none;
    background: #e4e7eb;
  }
}

.odm-catalog-grid--game .odm-product {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  width: 100%;
  min-width: 0;
  max-width: none;
  display: flex;
  flex-direction: column;
}

.odm-product__seller-inline {
  margin-top: 12px;
  padding-top: 12px;

  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
}

.odm-product__seller-inline-eyebrow {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8a9390;
}

.odm-product__seller-inline-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  text-decoration: none;
  color: #111;
  font-weight: 700;
  font-size: 13px;
  min-width: 0;
}

.odm-product__seller-inline-link:hover {
  color: #c45a1a;
}

.odm-product__seller-inline-avatar {
  width: 26px;
  height: 26px;
  border-radius: 14px;
  object-fit: cover;
  flex-shrink: 0;
}

.odm-product__seller-inline-avatar--letter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #ffd4b8 0%, #ffab79 100%);
  color: #3d2918;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.7rem;
}

.odm-product__seller-inline-name {
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.odm-product__seller-strip {
  margin-top: 8px;
  padding: 9px 12px 10px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 250, 245, 0.95) 0%, #f5f2ee 100%);

  font-size: 12px;
  line-height: 1.35;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
}

.odm-product__seller-strip-label {
  color: #6a7580;
  font-weight: 600;
}

.odm-product__seller-strip-heading {
  flex: 0 0 100%;
  width: 100%;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #5a6570;
  margin: 0 0 2px;
}

.odm-product__seller-strip-avatar {
  width: 32px;
  height: 32px;
  border-radius: 14px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.08);
}

.odm-product__seller-strip-avatar--letter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #ffd4b8 0%, #ffab79 100%);
  color: #3d2918;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.85rem;
}

.odm-product__seller-strip-link {
  font-weight: 700;
  color: #c45a1a;
  text-decoration: none;

  transition: color 0.15s ease, border-color 0.15s ease;
}

.odm-product__seller-strip-link:hover {
  color: #9a420f;
}

.odm-product__game-seller-verified {
  display: inline-flex;
  align-items: center;
  color: #0d6efd;
  font-size: 0.9rem;
  line-height: 1;
  flex-shrink: 0;
}

.odm-public-seller-head__row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.odm-public-seller-head__text {
  flex: 1;
  min-width: 0;
}

.odm-public-seller-avatar {
  width: 80px;
  height: 80px;
  border-radius: 18px;
  overflow: hidden;
  flex-shrink: 0;
  background: linear-gradient(145deg, #ffd4b8 0%, #ffab79 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.75rem;
  color: #3d2918;
  border: 2px solid rgba(255, 171, 121, 0.45);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.odm-public-seller-avatar__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Публичная витрина: зазор под шапкой сайта и над футером */
body.odm-page-seller-vitrine main.odm-catalog-page > .container {
  padding-top: 28px;
  padding-bottom: 56px;
}

.odm-public-seller-hero {
  position: relative;
  margin: 0 0 24px;
  border-radius: var(--radius-md);
  overflow: hidden;
  min-height: 168px;
  background: var(--odm-surface);
  border: 1px solid var(--odm-border-light);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
}

.odm-public-seller-hero--has-banner {
  min-height: 220px;
}

.odm-public-seller-hero__backdrop {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.odm-public-seller-hero--has-banner .odm-public-seller-hero__backdrop {
  opacity: 1;
}

.odm-public-seller-hero__shade {
  position: absolute;
  inset: 0;
  background: transparent;
  pointer-events: none;
}

.odm-public-seller-hero--has-banner .odm-public-seller-hero__shade {
  background: rgba(0, 0, 0, 0.52);
}

.odm-public-seller-hero__banner-hit {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  text-decoration: none;
}

.odm-public-seller-hero__body {
  position: relative;
  z-index: 2;
  padding: 22px 20px 20px;
}

.odm-public-seller-hero__row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  min-width: 0;
}

.odm-public-seller-hero__main {
  flex: 1;
  min-width: 0;
}

.odm-public-seller-hero__title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3.5vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--odm-text-primary);
}

.odm-public-seller-hero--has-banner .odm-public-seller-hero__title {
  color: #fff;
}

.odm-public-seller-hero__about {
  margin: 0 0 14px;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.5;
  color: var(--odm-text-secondary);
  max-width: 52ch;
}

.odm-public-seller-hero--has-banner .odm-public-seller-hero__about {
  color: rgba(255, 255, 255, 0.78);
}

.odm-public-seller-hero__about[hidden] {
  display: none !important;
}

.odm-public-seller-hero__stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.odm-public-seller-stat {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--odm-border-light);
}

.odm-public-seller-hero--has-banner .odm-public-seller-stat {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
}

.odm-public-seller-stat__value {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--odm-price);
  line-height: 1.1;
}

.odm-public-seller-stat__label {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--odm-text-secondary);
}

.odm-public-seller-hero--has-banner .odm-public-seller-stat__label {
  color: rgba(255, 255, 255, 0.6);
}

.odm-public-seller-stat--rating {
  align-items: center;
  gap: 5px;
}

.odm-public-seller-stat--rating .bi {
  font-size: 0.9rem;
  color: var(--odm-price);
  line-height: 1;
}

.odm-public-seller-stat--rating[hidden] {
  display: none !important;
}

.odm-public-seller-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  color: #1a1208;
  background: linear-gradient(145deg, var(--odm-accent) 0%, #ffc48a 100%);
  border: 1px solid rgba(255, 220, 180, 0.45);
  box-shadow: 0 4px 14px rgba(255, 171, 121, 0.28);
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    filter 0.15s ease;
}

.odm-public-seller-btn:hover {
  filter: brightness(1.05);
  box-shadow: 0 6px 18px rgba(255, 171, 121, 0.38);
  color: #1a1208;
  text-decoration: none;
}

.odm-public-seller-btn:active {
  transform: translateY(1px);
}

.odm-public-seller-btn:focus-visible {
  outline: 2px solid var(--odm-accent);
  outline-offset: 2px;
}

.odm-public-seller-btn .bi {
  font-size: 1rem;
  line-height: 1;
}

.odm-public-seller-products-grid {
  background: transparent;
}

.odm-public-seller-reviews-section {
  margin-top: 2.25rem;
}

@media (max-width: 480px) {
  .odm-public-seller-hero__body {
    padding: 18px 16px 16px;
  }

  .odm-public-seller-avatar {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    font-size: 1.5rem;
  }

  .odm-public-seller-hero__stats {
    gap: 6px;
  }

  .odm-public-seller-stat,
  .odm-public-seller-btn {
    padding: 7px 10px;
    min-height: 36px;
    border-radius: 10px;
  }

  .odm-public-seller-btn {
    flex: 1 1 auto;
    min-width: calc(50% - 4px);
  }
}

.odm-page-seller-reviews .odm-header__inner {

}

.odm-page-seller-reviews .odm-catalog-page-head {

}

.odm-public-seller-reviews-page-head {
  padding-top: 8px;
  margin-bottom: 1.25rem;
}

.odm-public-seller-review__time {
  margin: 0 0 8px;
  font-size: 12px;
  color: #8a9299;
}

.odm-public-seller-reviews-h {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0 0 16px;
  color: #c45a1a;
  letter-spacing: -0.02em;
}

.odm-public-seller-reviews-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.odm-public-seller-review {
  margin: 0;
  padding: 16px 18px;
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255, 171, 121, 0.22) 0%, rgba(255, 200, 160, 0.14) 100%);

  box-shadow: 0 8px 26px rgba(196, 90, 26, 0.12);
}

.odm-public-seller-review__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 14px;
  margin-bottom: 8px;
}

.odm-public-seller-review__stars {
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  color: #c45a1a;
  font-weight: 700;
}

.odm-public-seller-review__author {
  font-size: 14px;
  font-weight: 700;
  color: #7a3d12;
}

.odm-public-seller-review__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: #ffffff;
}

.odm-public-seller-review-empty {
  list-style: none;
  margin: 0;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255, 171, 121, 0.12);

  color: #5a4a38;
}

.odm-catalog-grid--game .odm-product--game {
  display: block;
  height: 100%;
}

.odm-catalog-grid--game .odm-product--game:focus-within .odm-product__game-visual {
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.22);
}

.odm-catalog-grid--game .odm-product__game-primary-link:focus-visible {
  outline: 2px solid rgba(255, 165, 87, 0.85);
  outline-offset: -4px;
  border-radius: 22px;
  z-index: 5;
}

.odm-product__game-visual {
  /* Высота seller pill: вертикальные отступы + max(аватар 26px, две строки 13px/11px) — та же высота у .odm-product__cart--game-corner */
  --odm-game-seller-pill-h: calc(14px + max(26px, calc(13px * 1.2 + 2px + 11px * 1.2)));
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 0;
  border-radius: 22px;
  overflow: hidden;
  background: #565454;
  /* Выше квадрата: больше места под заголовок, цену и блок продавца */
  aspect-ratio: 3 / 4;
  box-shadow: 0 14px 38px rgba(15, 23, 42, 0.16);
  transition: box-shadow 0.2s ease;
}

/* Полноэкранная ссылка на товар (без вложенного <a> у продавца) */
.odm-product__game-primary-link {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  text-indent: -9999px;
  overflow: hidden;
}

.odm-catalog-grid--game .odm-product--game:hover .odm-product__game-visual {
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.22);
}

.odm-product__game-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.odm-product__game-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.001);
}

.odm-product__game-img--placeholder {
  min-height: 100%;
  height: 100%;
  background:
    radial-gradient(120px 80px at 30% 20%, rgba(255, 165, 87, 0.35), rgba(255, 165, 87, 0) 60%),
    radial-gradient(110px 90px at 80% 75%, rgba(56, 189, 248, 0.28), rgba(56, 189, 248, 0) 55%),
    #4a4a4a;
}

.odm-product__game-ribbon {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 3;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--odm-sale);
  color: #fff;
  pointer-events: none;
  box-shadow: 0 8px 24px rgba(239, 68, 68, 0.3);
}

.odm-product__game-details {
  position: absolute;
  z-index: 2;
  inset: 0;
  margin-top: 0;
  padding: 10px 16px 20px;
  box-sizing: border-box;
  width: 100%;
  /* Чуть раньше поднимаем затемнение — заголовок и «шт.» читаются на яркой обложке */
  background: linear-gradient(
    180deg,
    rgba(7, 10, 18, 0) 0%,
    rgba(7, 10, 18, 0) 28%,
    rgba(7, 10, 18, 0.18) 48%,
    rgba(7, 10, 18, 0.58) 66%,
    rgba(7, 10, 18, 0.93) 88%,
    rgba(7, 10, 18, 0.98) 100%
  );
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
}

.odm-product__game-visual:has(.odm-product__game-seller-pill--corner) .odm-product__game-details {
  padding-bottom: 72px;
}

.odm-product__game-toprow {
  position: absolute;
  top: 10px;
  left: 14px;
  right: 14px;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 0;
  margin-bottom: 0;
  pointer-events: none;
}

.odm-product__game-visual:has(.odm-product__game-ribbon) .odm-product__game-toprow {
  top: 48px;
}

.odm-product__game-top .odm-product__title {
  margin: 0;
  font-size: clamp(12px, 1.45vw, 14px);
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.95),
    0 0 14px rgba(0, 0, 0, 0.55),
    0 5px 28px rgba(0, 0, 0, 0.45);
}

.odm-product__game-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
  margin-top: 6px;
  pointer-events: auto;
  position: relative;
  z-index: 4;
  max-width: 100%;
}

.odm-product__game-tag {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.95);
  background: rgba(255, 165, 87, 0.22);
  border: 1px solid rgba(255, 165, 87, 0.35);
  pointer-events: auto;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.odm-product__game-tag:hover {
  background: rgba(255, 165, 87, 0.38);
  border-color: rgba(255, 165, 87, 0.55);
  color: #fff;
}

.odm-product__game-tag-more {
  font-size: 9px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.55);
  pointer-events: none;
}

.odm-product__game-platform {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  background: rgba(255, 255, 255, 0.18);

  backdrop-filter: blur(10px);
}

.odm-product__game-meta {
  margin-top: 2px;
}

.odm-product__game-meta .odm-product__pill {
  font-size: 10px;
  padding: 5px 9px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: none;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(10, 12, 20, 0.78);
  color: #f8fafc;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
}

.odm-product__game-meta .odm-product__pill--stock {
  color: #dcfce7;
  background: rgba(12, 42, 28, 0.85);
  border-color: rgba(74, 222, 128, 0.38);
}

.odm-product__game-meta .odm-product__pill--oos {
  color: #fecaca;
  background: rgba(48, 18, 18, 0.85);
  border-color: rgba(248, 113, 113, 0.38);
}

.odm-product__game-footer {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 10px;
  margin-top: 0;
  padding-right: 58px; /* место под круглую кнопку в углу */
}

.odm-product__game-footer-main {
  min-width: 0;
  flex: 1;
}

.odm-product__game-seller-pill {
  display: inline-flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 8px;
  max-width: 100%;
  min-width: 0;
  padding: 7px 12px 7px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #f8fafc;
  text-decoration: none;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);

  pointer-events: auto;
  position: relative;
  z-index: 4;
  box-sizing: border-box;
  overflow: hidden;
  transition: box-shadow 0.15s ease, background 0.15s ease;
}

.odm-product__game-seller-pill--corner {
  position: absolute;
  left: 10px;
  bottom: 10px;
  right: auto;
  width: fit-content;
  max-width: calc(100% - 24px - var(--odm-game-seller-pill-h));
}

.odm-product__game-seller-pill:hover {
  background: rgba(255, 255, 255, 0.16);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.26);
}

.odm-product__game-seller-pill:focus-visible {
  outline: 2px solid var(--odm-accent, #f59e0b);
  outline-offset: 2px;
}

.odm-product__game-seller-pill-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.odm-product__game-seller-pill-name-row {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  max-width: 100%;
}

.odm-product__game-seller-pill-name-row .odm-product__game-seller-verified {
  flex-shrink: 0;
}

.odm-product__game-seller-pill-name-row .odm-product__game-seller-name {
  flex: 1;
  min-width: 0;
}

.odm-product__game-seller-pill .odm-product__game-seller-verified {
  font-size: 0.72rem;
}

.odm-product__game-seller-meta {
  display: inline-flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 3px;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  color: #64748b;
}

.odm-product__game-seller-meta .bi-star-fill {
  font-size: 0.7rem;
  color: #ca8a04;
  flex-shrink: 0;
}

.odm-product__game-seller-meta-rating {
  min-width: 0;
  flex-shrink: 1;
  overflow: hidden;
  text-overflow: ellipsis;
}

.odm-product__game-seller-meta-n {
  flex-shrink: 0;
  font-weight: 500;
  opacity: 0.85;
}

.odm-product__game-seller-meta-sep {
  opacity: 0.55;
  font-weight: 700;
  flex-shrink: 0;
}

.odm-product__game-seller-meta-reviews {
  flex-shrink: 0;
}

.odm-product__game-seller-av {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;

}

.odm-product__game-seller-av--letter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #fde68a 0%, #fbbf24 100%);
  font-size: 12px;
  font-weight: 800;
  color: #1f2937;
}

/* display:flex/inline-flex у аватарок перебивает UA [hidden] — иначе видны и фото, и буква */
.odm-product__game-seller-pill .odm-product__game-seller-av[hidden],
.odm-product__game-seller-pill .odm-product__game-seller-av--letter[hidden] {
  display: none !important;
}

.odm-product__game-seller-name {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  color: #ffffff;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}

.odm-product__game-price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 3px 8px;
  margin-top: 5px;
}

.odm-product--game .odm-product__price-old {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.78);
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.85),
    0 0 10px rgba(0, 0, 0, 0.45);
}

.odm-product__game-price-row .odm-product__price {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: #fff;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.92),
    0 0 16px rgba(0, 0, 0, 0.55),
    0 5px 24px rgba(0, 0, 0, 0.4);
}

.odm-product__game-price-row .odm-product__price--sale {
  color: #fff7c2;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.85),
    0 0 14px rgba(0, 0, 0, 0.5);
}

.odm-product__game-visual .odm-product__cart--game-corner {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: var(--odm-game-seller-pill-h);
  height: var(--odm-game-seller-pill-h);
  min-width: var(--odm-game-seller-pill-h);
  min-height: var(--odm-game-seller-pill-h);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #f8fafc;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
  pointer-events: none;
  font-size: 1.05rem;
  box-sizing: border-box;
}

.odm-catalog-grid--game .odm-product--game:hover .odm-product__cart--game-corner {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.odm-product__link .odm-product__cart--game-corner {
  pointer-events: none;
}

.odm-product__link:hover .odm-product__cart--game-corner {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.odm-product--oos.odm-product--game .odm-product__game-visual {
  opacity: 0.88;
}

@media (max-width: 768px) {
  .odm-catalog-grid--game {
    gap: 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .odm-product__game-visual {
    min-height: 0;
  }

  .odm-product__game-details {
    padding: 8px 12px 18px;
    gap: 5px;
  }

  .odm-product__game-visual:has(.odm-product__game-seller-pill--corner) .odm-product__game-details {
    padding-bottom: 68px;
  }

  .odm-product__game-toprow {
    top: 8px;
    left: 10px;
    right: 10px;
    gap: 5px;
  }

  .odm-product__game-visual:has(.odm-product__game-ribbon) .odm-product__game-toprow {
    top: 44px;
  }

  .odm-product__game-seller-pill--corner {
    left: 8px;
    bottom: 8px;
    max-width: min(
      140px,
      calc(100% - 22px - var(--odm-game-seller-pill-h))
    );
  }

  .odm-product__game-footer {
    padding-right: 52px;
  }

  .odm-product__game-visual .odm-product__cart--game-corner {
    right: 10px;
    bottom: 10px;
  }
}

/* Якорь для бесконечной подгрузки каталога (IntersectionObserver) */
.odm-catalog-sentinel {
  width: 100%;
  height: 32px;
  margin: 0;
  padding: 0;
  pointer-events: none;
  opacity: 0;
}

.odm-load-more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 32px auto 0;
  width: 100%;
  max-width: 280px;
  min-height: 54px;
  padding: 14px 22px;
  box-sizing: border-box;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--odm-text-secondary);

  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.odm-load-more .bi {
  font-size: 1.125rem;
  line-height: 1;
  flex-shrink: 0;
  opacity: 0.85;
}

.odm-load-more:hover {
  background: rgba(255, 165, 87, 0.12);

  color: var(--odm-price);
  box-shadow: 0 4px 16px rgba(255, 165, 87, 0.12);
}

.odm-load-more:hover .bi {
  opacity: 1;
}

.odm-load-more:focus-visible {
  outline: 2px solid rgba(255, 165, 87, 0.45);
  outline-offset: 2px;
}

/* Search modal */
.odm-search-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 20px;
}

.odm-search-overlay[hidden] {
  display: none;
}

.odm-search-overlay__bg {
  position: absolute;
  inset: 0;
  background: rgba(20, 30, 40, 0.65);

  cursor: pointer;
}

.odm-search-modal {
  position: relative;
  width: 100%;
  max-width: 520px;
  padding: 40px 36px;
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.25);
  z-index: 1;
}

.odm-search-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;

  border-radius: 50%;
  background: #f0f3f6;
  cursor: pointer;
  font-size: 1.15rem;
  line-height: 1;
  color: #666;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.odm-search-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.odm-search-form input {
  width: 100%;
  padding: 18px 22px;
  border-radius: 30px;

  background: #eeeff0;
  font-family: var(--font-body);
  font-size: 16px;
}

.odm-search-form button {
  height: 56px;
  border-radius: 60px;

  background: #e30613;
  color: #fff;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: filter 0.2s;
}

.odm-search-form button:hover {
  filter: brightness(1.05);
}

.odm-search-form button .bi {
  margin-right: 8px;
  vertical-align: -0.1em;
}

.odm-catalog__empty {
  width: 100%;
  text-align: center;
  padding: 40px 16px;
  color: var(--odm-text-soft);
  margin: 0;
}

.odm-catalog__empty .bi {
  display: block;
  font-size: 2.5rem;
  margin-bottom: 12px;
  opacity: 0.45;
}

/* Якоря под sticky-шапку */
.odm-catalog,
.odm-reviews,
.odm-faq {
  scroll-margin-top: 96px;
}

.odm-page--home .odm-live,
.odm-page--home .odm-hero__promo-sold-line,
.odm-page--home .odm-hero__promo-sold-caption,
.odm-page--home .odm-hero__promo-sold-wrap {
  display: none !important;
}

.odm-page--home .odm-hero__btn {

}

.odm-page--home .odm-live__purchase,
.odm-page--home .odm-live__purchase:hover {

}

.odm-page--home .odm-features {

}

.odm-page--home .odm-filters input,
.odm-page--home .odm-filters select {

}

.odm-page--home .odm-filters input:focus,
.odm-page--home .odm-filters select:focus {

}

.odm-page--home .odm-catalog .odm-product__link,
.odm-page--home .odm-catalog .odm-product__link:hover {

}

.odm-page--home .odm-catalog .odm-product__link:focus-visible {
  outline: none;
}

.odm-page--home .odm-catalog .odm-product__badge {

}

.odm-page--home .odm-load-more,
.odm-page--home .odm-load-more:hover {

}

.odm-page--home .odm-reviews__card {

}

.odm-page--home .odm-reviews__fallback {

}

.odm-page--home .odm-faq {

}

.odm-page--home .odm-faq__item,
.odm-page--home .odm-faq__item:hover,
.odm-page--home .odm-faq__item[open] {

}

.odm-page--home .odm-faq__answer {

}

.odm-page--home .odm-faq__question::after {

  width: 10px;
  height: 10px;
  background: var(--odm-price);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  transform: translateY(-50%) rotate(90deg);
}

.odm-page--home .odm-faq__item[open] .odm-faq__question::after {
  transform: translateY(-50%) rotate(-90deg);
}

.odm-page--home .odm-cta-card {

}

.odm-page--home .odm-cta-card__corner {
  display: none;
}

.odm-page--home .odm-search-form button {

}

/* catalog.html — без обводок (шапка см. body.odm-page-catalog выше) */

.odm-page-catalog .odm-catalog-page-head {

}

.odm-page-catalog .odm-filters input,
.odm-page-catalog .odm-filters select {

}

.odm-page-catalog .odm-filters input:focus,
.odm-page-catalog .odm-filters select:focus {

}

.odm-page-catalog .odm-catalog .odm-product__link,
.odm-page-catalog .odm-catalog .odm-product__link:hover {

}

.odm-page-catalog .odm-catalog .odm-product__link:focus-visible {
  outline: none;
}

.odm-page-catalog .odm-catalog .odm-product__badge {

}

.odm-page-catalog .odm-load-more,
.odm-page-catalog .odm-load-more:hover {

}

.odm-page-cart .odm-header__inner {

}

.odm-page-cart .odm-catalog-page-head {

}

/* ——— Отзывы ——— */
.odm-reviews {
  background: var(--odm-page-bg);
  padding: 52px 0 60px;
}

.odm-block-title {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 2.8vw, 2.1rem);
  font-weight: 800;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
  color: var(--odm-text-primary);
}

.odm-block-lead {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  color: var(--odm-text-secondary);
  max-width: 42rem;
  margin: 0 0 28px;
}

.odm-faq .odm-block-lead {
  max-width: none;
}

.odm-reviews__intro {
  max-width: none;
}

.odm-block-lead a {
  color: var(--odm-price);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.odm-block-lead a:hover {
  color: var(--odm-accent);
}

.odm-reviews__intro code {
  font-size: 0.88em;
  padding: 0.12em 0.45em;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.06);
}

.odm-reviews__telegram {
  width: 100%;
}

/* Как odm-live__viewport: маска по краям, без полосы прокрутки */
.odm-reviews__viewport {
  overflow: hidden;
  margin: 8px -20px 0;
  padding: 16px 0 12px;
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}

.odm-reviews__track {
  --odm-reviews-marquee-duration: 175s;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 20px;
  width: max-content;
  animation: odm-reviews-marquee var(--odm-reviews-marquee-duration) linear infinite;
}

.odm-reviews__track:hover {
  animation-play-state: paused;
}

@keyframes odm-reviews-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .odm-reviews__track {
    animation: none;
  }

  .odm-reviews__viewport {
    overflow-x: auto;
    mask-image: none;
    -webkit-mask-image: none;
    padding-bottom: 8px;
  }
}

.odm-reviews__card {
  flex: 0 0 auto;
  width: min(392px, calc(100vw - 52px));
  padding: 16px;
  box-sizing: border-box;
  background: var(--odm-surface);
  border-radius: 22px;

  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.2),
    0 16px 40px rgba(0, 0, 0, 0.28);
  overflow: hidden;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.odm-reviews__card:hover {
  box-shadow:
    0 8px 12px rgba(0, 0, 0, 0.25),
    0 22px 48px rgba(255, 165, 87, 0.18);
}

.odm-reviews__card--waiting .odm-reviews__embed {
  background: linear-gradient(105deg, #f3ece6 0%, #faf8f6 45%, #ebe4de 90%);
  background-size: 200% 100%;
  animation: odm-shimmer 1.35s ease-in-out infinite;
}

.odm-reviews__embed {
  min-height: 220px;
  border-radius: 14px;
  overflow: hidden;
  background: var(--odm-row-muted);
}

.odm-reviews__embed iframe {
  width: 100% !important;
  max-width: 100%;
  display: block;

}

@keyframes odm-shimmer {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: -100% 0;
  }
}

.odm-reviews__fallback {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  color: var(--odm-text-secondary);
  margin: 0;
  padding: 20px;
  background: var(--odm-surface);
  border-radius: var(--radius-md);

}

.odm-reviews__fallback a {
  color: var(--odm-price);
  font-weight: 600;
}

/* ——— Частые вопросы ——— */
.odm-faq {
  background: var(--odm-page-bg);
  padding: 52px 0 64px;

}

.odm-faq__list {
  width: 100%;
  max-width: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.odm-faq__item {
  border-radius: var(--radius-md);

  background: var(--odm-surface);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.odm-faq__item:hover {

}

.odm-faq__item[open] {

  box-shadow: none;
  background: var(--odm-surface-mid);
}

.odm-faq__question {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--odm-text-primary);
  padding: 18px 48px 18px 20px;
  cursor: pointer;
  list-style: none;
  position: relative;
  line-height: 1.35;
}

.odm-faq__question::-webkit-details-marker {
  display: none;
}

.odm-faq__question::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 50%;
  width: 10px;
  height: 10px;


  transform: translateY(-65%) rotate(45deg);
  transition: transform 0.25s ease;
}

.odm-faq__item[open] .odm-faq__question::after {
  transform: translateY(-25%) rotate(225deg);
}

.odm-faq__answer {
  padding: 0 20px 18px;

}

.odm-faq__answer p {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  color: var(--odm-text-secondary);
  margin: 14px 0 0;
}

/* ——— CTA: Telegram ——— */
.odm-cta-section {
  background: var(--odm-page-bg);
  padding: 8px 0 56px;
  width: 100%;
}

.odm-cta-card {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 40px 40px 36px;
  background: var(--odm-surface);
  border-radius: 22px;

  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.25);
}

.odm-cta-card__corner {
  position: absolute;
  width: 26px;
  height: 26px;
  pointer-events: none;



}

.odm-cta-card__corner--tl {
  top: 20px;
  left: 20px;
  border-top-left-radius: 3px;
}

.odm-cta-card__corner--tr {
  top: 20px;
  right: 20px;
  border-top-right-radius: 3px;
}

.odm-cta-card__corner--bl {
  bottom: 20px;
  left: 20px;
  border-bottom-left-radius: 3px;
}

.odm-cta-card__corner--br {
  bottom: 20px;
  right: 20px;
  border-bottom-right-radius: 3px;
}

.odm-cta-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 0;
  background: none;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  font-size: 1.65rem;
  color: var(--odm-text-primary);
  box-shadow: none;
}

.odm-cta-card__title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--odm-text-primary);
  margin: 0 0 14px;
  line-height: 1.25;
}

.odm-cta-card__text {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.65;
  color: var(--odm-text-secondary);
  margin: 0 0 22px;
  max-width: none;
}

.odm-cta-card__nav {
  margin: 0;
}

.odm-cta-card__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 10px;
}

.odm-cta-card__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 52px;
  padding: 12px 14px;
  box-sizing: border-box;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);

  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--odm-text-primary);
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.odm-cta-card__link:hover {
  background: rgba(255, 165, 87, 0.12);

  color: var(--odm-price);
}

.odm-cta-card__link:focus-visible {
  outline: 2px solid rgba(255, 165, 87, 0.45);
  outline-offset: 2px;
}

.odm-cta-card__link-start {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.odm-cta-card__link-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 165, 87, 0.14);
  color: var(--odm-price);
  font-size: 1.15rem;
  line-height: 1;
}

.odm-cta-card__link-icon .bi {
  display: block;
  line-height: 1;
}

.odm-cta-card__link-icon--vk {
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #fff;
  background: #0077ff;
}

.odm-cta-card__link-icon--finds {
  background: rgba(234, 179, 8, 0.22);
  color: #b45309;
}

.odm-cta-card__link-icon--trade {
  background: rgba(16, 185, 129, 0.2);
  color: #047857;
}

.odm-cta-card__link-icon--support {
  background: rgba(244, 63, 94, 0.18);
  color: #be123c;
}

.odm-cta-card__link-icon--chat {
  background: rgba(14, 165, 233, 0.2);
  color: #0369a1;
}

.odm-cta-card__link-icon--bot {
  background: rgba(124, 58, 237, 0.18);
  color: #5b21b6;
}

.odm-cta-card__link-icon--news {
  background: rgba(34, 158, 217, 0.2);
  color: #168acd;
}

.odm-cta-card__link-arrow {
  flex-shrink: 0;
  font-size: 0.9rem;
  opacity: 0.55;
  transition: opacity 0.2s ease;
}

.odm-cta-card__link:hover .odm-cta-card__link-arrow {
  opacity: 0.9;
}

@media (max-width: 600px) {
  .odm-cta-card {
    padding: 32px 22px 28px;
  }

  .odm-cta-card__corner--tl,
  .odm-cta-card__corner--tr {
    top: 14px;
  }

  .odm-cta-card__corner--tl,
  .odm-cta-card__corner--bl {
    left: 14px;
  }

  .odm-cta-card__corner--tr,
  .odm-cta-card__corner--br {
    right: 14px;
  }

  .odm-cta-card__corner--bl,
  .odm-cta-card__corner--br {
    bottom: 14px;
  }
}

/* ——— Уведомления ——— */
.odm-page-notifications {
  background: var(--odm-page-bg);
  min-height: 100vh;
}

.odm-notifications {
  padding: 20px 0 48px;
}

.odm-notifications__head {
  margin-bottom: 20px;
}

.odm-notifications__title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--odm-text-primary);
}

.odm-notifications__lead {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--odm-text-secondary);
  max-width: 52ch;
}

.odm-notifications__status {
  font-size: 13px;
  margin-bottom: 12px;
}

.odm-notifications__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.odm-notifications__empty {
  padding: 28px 16px;
  text-align: center;
  color: var(--odm-text-secondary);
  font-size: 14px;
  border-radius: 14px;
  background: var(--odm-surface);

}

.odm-notifications__item {
  padding: 16px 18px;
  border-radius: 14px;
  background: var(--odm-surface);

  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.2);
}

.odm-notifications__item-meta {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #ff9a5c;
  margin-bottom: 6px;
}

.odm-notifications__item-title {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--odm-text-primary);
  line-height: 1.35;
}

.odm-notifications__item-body {
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--odm-text-secondary);
  word-break: break-word;
}

.odm-notifications__item-time {
  font-size: 12px;
  color: #9ca3af;
}

.odm-notifications__more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

/* ——— Поддержка (чат) ——— */
.odm-page-support {
  background: var(--odm-page-bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.odm-page-support .odm-header__inner {

}

.odm-page-support .odm-catalog-page-head {

}

.odm-support-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 16px 0 24px;
}

.odm-support {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.odm-support-chat {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: min(56vh, 520px);
  max-height: calc(100vh - 220px);
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
}

.odm-support-chat__top {
  flex-shrink: 0;
  padding: 14px 0 16px;

  background: transparent;
}

.odm-support-chat__peer {
  display: flex;
  align-items: center;
  gap: 12px;
}

.odm-support-chat__avatar {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--odm-accent) 0%, #ff8c42 100%);
  color: #1a1208;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.odm-support-chat__peer-text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.odm-support-chat__name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--odm-text-primary);
}

.odm-support-chat__status {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--odm-text-soft);
}

.odm-support-chat__scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 16px 0 12px;
  background: transparent;
  scroll-behavior: smooth;
}

.odm-support-chat__day {
  text-align: center;
  margin: 0 0 16px;
}

.odm-support-chat__day span {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--odm-surface-mid);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--odm-text-soft);
}

.odm-support-msg {
  width: fit-content;
  max-width: 88%;
  margin-bottom: 10px;
  padding: 10px 14px 8px;
  border-radius: 18px;
  position: relative;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.5;
  color: var(--odm-text-primary);
  overflow-wrap: break-word;
}

.odm-support-msg p {
  margin: 0 0 4px;
}

.odm-support-msg p:last-of-type {
  margin-bottom: 0;
}

.odm-support-msg a {
  color: var(--odm-price);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.odm-support-msg--in {
  margin-right: auto;
  background: var(--odm-surface);

  border-bottom-left-radius: 6px;
  box-shadow: none;
}

.odm-support-msg--out {
  margin-left: auto;
  background: linear-gradient(145deg, rgba(255, 171, 121, 0.28) 0%, rgba(255, 171, 121, 0.2) 100%);
  border-bottom-right-radius: 6px;
  box-shadow: none;
}

.odm-support-msg__time {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: var(--odm-text-soft);
  text-align: right;
  margin-top: 4px;
}

/* Карточка доказательств (в тикете account_invalid поля evidence_*) */
.odm-support-evidence {
  width: fit-content;
  max-width: 88%;
  margin: 0 auto 12px;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(255, 171, 121, 0.14);
  color: var(--odm-text-secondary);
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.45;
  overflow-wrap: break-word;
}

.odm-support-evidence__title {
  font-weight: 800;
  color: var(--odm-text-primary);
  margin: 0 0 8px;
}

.odm-support-evidence__text {
  margin: 0;
  color: var(--odm-text-primary);
  white-space: pre-wrap;
}

.odm-support-evidence__link {
  display: inline-block;
  margin-top: 8px;
  color: var(--odm-price);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.odm-support-evidence__img {
  display: block;
  margin-top: 10px;
  max-width: 320px;
  width: 100%;
  height: auto;
  border-radius: 14px;

}

.odm-support-msg--in .odm-support-msg__time {
  text-align: left;
}

.odm-support-chat__composer {
  flex-shrink: 0;
  display: flex;
  align-items: flex-end;
  gap: 10px;
  padding: 12px 0 14px;
  background: transparent;

}

.odm-support-chat__input {
  flex: 1;
  min-height: 44px;
  max-height: 120px;
  padding: 12px 14px;

  border-radius: 22px;
  background: var(--odm-input-bg);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.4;
  color: var(--odm-text-primary);
  resize: none;
  overflow-y: auto;
  transition: box-shadow 0.2s ease;
}

.odm-support-chat__input:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(255, 165, 87, 0.45);
}

.odm-support-chat__input::placeholder {
  color: var(--odm-text-soft);
}

.odm-support-chat__send {
  flex-shrink: 0;
  width: 46px;
  height: 46px;

  border-radius: 50%;
  background: var(--odm-accent);
  color: #1a1208;
  font-size: 1.15rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: filter 0.2s ease, transform 0.15s ease;
}

.odm-support-chat__send:hover {
  filter: brightness(1.06);
}

.odm-support-chat__send:active {
  transform: scale(0.96);
}

.odm-support-chat__disclaimer {
  flex-shrink: 0;
  margin: 0;
  padding: 0 0 12px;
  font-family: var(--font-body);
  font-size: 11px;
  line-height: 1.45;
  color: var(--odm-text-soft);
  text-align: center;
  background: transparent;
}

.odm-support-open-acc {
  margin: 0 0 10px;
  padding: 0 4px;
}

.odm-support-open-acc__btn {
  width: 100%;
  padding: 10px 14px;
  border-radius: 12px;

  background: var(--odm-surface);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--odm-text-secondary);
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.odm-support-open-acc__btn:hover {
  background: var(--odm-surface-mid);

}

.odm-support-acc {
  margin: 0 0 12px;
  padding: 14px 14px 12px;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--odm-surface) 0%, var(--odm-surface-mid) 100%);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

.odm-support-acc__lead {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--odm-text-primary);
}

.odm-support-acc__steps {
  margin: 0;
  padding-left: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.odm-support-acc__steps li {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--odm-text-secondary);
}

.odm-support-acc__steps label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
}

.odm-support-acc__select,
.odm-support-acc__textarea {
  width: 100%;
  box-sizing: border-box;
  border-radius: 10px;

  padding: 10px 12px;
  font-family: var(--font-body);
  font-size: 14px;
  background: var(--odm-input-bg);
  color: var(--odm-text-primary);
}

.odm-support-acc__textarea {
  resize: vertical;
  min-height: 72px;
}

.odm-support-acc__file-wrap {
  display: block;
  margin-top: 8px;
}

.odm-support-acc__file-label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 4px;
  color: var(--odm-text-soft);
}

.odm-support-acc__file-wrap input[type="file"] {
  font-size: 12px;
  max-width: 100%;
}

.odm-support-acc__actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 14px;
}

.odm-support-acc__cancel {
  padding: 8px 14px;
  border-radius: 10px;

  background: transparent;
  font-size: 13px;
  cursor: pointer;
}

.odm-support-acc__submit {
  padding: 8px 16px;
  border-radius: 10px;

  background: linear-gradient(135deg, #ff9a6b, #ff7a4a);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.odm-support-acc__submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.odm-support-acc__hint {
  margin: 10px 0 0;
  font-size: 12px;
  color: #c41545;
}

@media (max-width: 600px) {
  .odm-support-chat {
    min-height: min(78vh, 720px);
    max-height: calc(100vh - 120px);
  }
}

/* ——— Вход и регистрация ——— */
.odm-page-auth {
  background: var(--odm-page-bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.odm-page-auth .odm-header__inner {

}

.odm-auth-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px 0 48px;
}

.odm-auth {
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
}

.odm-auth__card {
  padding: 36px 32px 40px;
  border-radius: var(--radius-md);
  background: var(--odm-surface);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);

}

.odm-auth__brand {
  display: flex;
  justify-content: center;
  margin-bottom: 22px;
}

.odm-auth__brand a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--odm-text-primary);
}

.odm-auth__brand img {
  display: block;
}

.odm-auth__title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.65rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  text-align: center;
  margin: 0 0 8px;
  color: var(--odm-text-primary);
}

.odm-auth__lead {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
  color: var(--odm-text-secondary);
  margin: 0 0 26px;
}

.odm-auth__btn-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 13px 18px;

  border-radius: 14px;
  background: var(--odm-input-bg);
  box-shadow: 0 0 0 1px var(--odm-border-mid), 0 2px 8px rgba(0, 0, 0, 0.2);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--odm-text-primary);
  cursor: pointer;
  transition: box-shadow 0.2s ease, background 0.2s ease;
}

.odm-auth__btn-google:hover {
  background: var(--odm-input-focus-bg);
  box-shadow: 0 0 0 1px var(--odm-border-light), 0 4px 14px rgba(0, 0, 0, 0.25);
}

.odm-auth__btn-google:active {
  transform: scale(0.99);
}

.odm-auth__btn-google .odm-auth__g-icon {
  flex-shrink: 0;
}

.odm-auth__divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 22px 0;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9aa3ad;
}

.odm-auth__divider::before,
.odm-auth__divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--odm-border-mid);
}

.odm-auth__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.odm-auth__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.odm-auth__field label {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--odm-text-secondary);
}

.odm-auth__field-label {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--odm-text-secondary);
}

.odm-auth__field input {
  width: 100%;
  padding: 13px 16px;

  border-radius: 12px;
  background: var(--odm-input-bg);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--odm-text-primary);
  transition: box-shadow 0.2s ease, background 0.2s ease;
}

.odm-auth__field input::placeholder {
  color: var(--odm-text-soft);
}

.odm-auth__field input:focus {
  outline: none;
  background: var(--odm-input-focus-bg);
  box-shadow: 0 0 0 3px rgba(255, 165, 87, 0.35);
}

.odm-auth__role-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.odm-auth__role-btn {
  min-height: 44px;
  padding: 10px 12px;

  border-radius: 12px;
  background: var(--odm-input-bg);
  color: var(--odm-text-secondary);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.odm-auth__role-btn:hover {
  background: var(--odm-input-focus-bg);
}

.odm-auth__role-btn.is-active {
  background: rgba(255, 165, 87, 0.22);
  color: #ffd4b8;
  box-shadow: 0 0 0 2px rgba(255, 165, 87, 0.35) inset;
}

.odm-auth__code-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: stretch;
}

.odm-auth__code-btn {
  width: auto;
  min-width: 154px;
  margin-top: 0;
  padding: 0 14px;
  border-radius: 12px;
  font-size: 13px;
}

.odm-auth__hint {
  font-family: var(--font-body);
  font-size: 12px;
  color: #8a9299;
  margin: -8px 0 0;
  line-height: 1.4;
}

.odm-auth__submit {
  margin-top: 4px;
  width: 100%;
  padding: 15px 20px;

  border-radius: 14px;
  background: var(--odm-accent);
  color: #1a1208;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: filter 0.2s ease;
}

.odm-auth__submit:hover:not(:disabled) {
  filter: brightness(1.05);
}

.odm-auth__submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.odm-auth__switch {
  margin: 22px 0 0;
  text-align: center;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--odm-text-secondary);
}

.odm-auth__switch a {
  color: var(--odm-price);
  font-weight: 600;
  text-decoration: none;
}

.odm-auth__switch a:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.odm-auth__note {
  margin: 18px 0 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 165, 87, 0.14);

  font-family: var(--font-body);
  font-size: 12px;
  line-height: 1.45;
  color: #ffd4b8;
  text-align: center;
}

.odm-auth__note[hidden] {
  display: none !important;
}

.odm-auth__switch-btn {
  background: none;

  padding: 0;
  margin: 0;
  font: inherit;
  font-weight: 600;
  color: var(--odm-price);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.odm-auth__switch-btn:hover {
  color: #e8943a;
}

html.odm-auth-modal-open {
  overflow: hidden;
}

.odm-auth-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(12px, env(safe-area-inset-top)) 16px max(20px, env(safe-area-inset-bottom));
  box-sizing: border-box;
}

.odm-auth-modal[hidden] {
  display: none !important;
}

.odm-auth-modal__backdrop {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;

  background: rgba(15, 23, 42, 0.48);
  cursor: pointer;
}

.odm-auth-modal__shell {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  max-height: min(92vh, 860px);
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-md);
  background: var(--odm-surface);

  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}

.odm-auth-modal__toprow {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px 12px 18px;
  flex-shrink: 0;
}

.odm-auth-modal__tabs {
  flex: 1;
  min-width: 0;
  display: flex;
  gap: 6px;
  padding: 0;
}

.odm-auth-modal__tab {
  flex: 1;
  min-width: 0;
  min-height: 44px;
  padding: 10px 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--odm-text-secondary);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.odm-auth-modal__close {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--odm-text-primary);
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.odm-auth-modal__close:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--odm-text-primary);
}

.odm-auth-modal__tab:hover {
  color: var(--odm-text-primary);
  background: rgba(255, 255, 255, 0.1);
}

.odm-auth-modal__tab[aria-selected="true"] {
  background: rgba(255, 165, 87, 0.22);
  color: #ffd4b8;
}

.odm-auth-modal__panels {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  scrollbar-gutter: stable;
  padding-right: 2px;
  -webkit-overflow-scrolling: touch;
}

.odm-auth-modal__panel {
  padding: 16px 22px 20px;
}

.odm-auth-modal__panel[hidden] {
  display: none !important;
}

.odm-auth-modal .odm-auth__title {
  margin-top: 4px;
}

.odm-auth-modal .odm-auth__lead {
  margin-bottom: 20px;
}

.odm-auth-modal .odm-auth__divider {
  margin: 18px 0;
}

.odm-auth-modal__note-wrap {
  padding: 0 22px 18px;
  flex-shrink: 0;
}

.odm-auth-modal__note-wrap .odm-auth__note {
  margin: 0;
}

.odm-role-pick-modal {
  position: fixed;
  inset: 0;
  z-index: 10060;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
}

.odm-role-pick-modal[hidden] {
  display: none !important;
}

.odm-role-pick-modal__backdrop {
  position: absolute;
  inset: 0;

  background: rgba(15, 23, 42, 0.54);
  cursor: pointer;
}

.odm-role-pick-modal__shell {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 360px;
  border-radius: 14px;
  padding: 16px;
  background: var(--odm-surface);

  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
}

.odm-role-pick-modal__title {
  margin: 0 0 12px;
  text-align: center;
  color: var(--odm-text-primary);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
}

.odm-role-pick-modal__actions {
  display: grid;
  gap: 8px;
}

.odm-role-pick-modal__actions .odm-auth__submit {
  margin-top: 0;
  padding-top: 12px;
  padding-bottom: 12px;
}

.odm-role-pick-modal__cancel {
  display: block;
  margin: 10px auto 0;
}

.odm-auth__role-dialog {
  margin: 0 22px 18px;
  padding: 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);

}

.odm-auth__role-dialog[hidden] {
  display: none !important;
}

.odm-auth__role-dialog-title {
  margin: 0 0 10px;
  text-align: center;
  color: var(--odm-text-primary);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
}

.odm-auth__role-dialog-actions {
  display: grid;
  gap: 8px;
}

.odm-auth__role-dialog-actions .odm-auth__submit {
  margin-top: 0;
  padding-top: 12px;
  padding-bottom: 12px;
}

.odm-auth__role-dialog-cancel {
  display: block;
  margin: 10px auto 0;
}

@media (max-width: 480px) {
  .odm-auth__card {
    padding: 28px 20px 32px;
    border-radius: 16px;
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
  }

  .odm-auth-modal__toprow {
    padding-left: 14px;
    padding-right: 12px;
  }

  .odm-auth-modal__panel {
    padding-left: 18px;
    padding-right: 18px;
  }

  .odm-auth-modal__note-wrap {
    padding-left: 18px;
    padding-right: 18px;
  }

  .odm-auth__role-dialog {
    margin-left: 18px;
    margin-right: 18px;
  }

  .odm-auth__code-row {
    grid-template-columns: 1fr;
  }

  .odm-auth__code-btn {
    width: 100%;
    min-width: 0;
  }
}

/* ——— Личный кабинет ——— */
html:has(body.odm-page-account),
html:has(body.odm-page-seller) {
  scroll-padding-top: calc(96px + env(safe-area-inset-top, 0px));
}

.odm-page-account {
  background: var(--odm-page-bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}


.odm-page-account main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* ——— Чаты: полноэкранный messenger (без футера, фикс. высота) ——— */
body.odm-page-chats {
  min-height: 100dvh;
  height: 100dvh;
  max-height: 100dvh;
  overflow: hidden;
}

body.odm-page-chats #odm-header-root {
  flex-shrink: 0;
}

/* footer-mount заменяет #odm-footer-root на <footer class="odm-footer"> */
body.odm-page-chats .odm-footer,
body.odm-page-chats #odm-footer-root,
body.odm-page-chats > .odm-footer,
body.odm-page-chats > footer.odm-footer {
  display: none !important;
}

body.odm-page-chats > main.odm-chats-wrap.container {
  flex: 1 1 auto;
  width: 100%;
  max-width: 1280px;
  min-height: 0;
  margin-left: auto;
  margin-right: auto;
  padding: 8px 20px 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.odm-page-chats main {
  min-height: 0;
}

.odm-chats-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding-bottom: 88px;
  min-height: 0;
}

.odm-page-chats .odm-chats-wrap {
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  padding-bottom: 0;
  box-sizing: border-box;
}

.odm-chats-head {
  margin: 0 0 8px;
}

.odm-chats-head__title {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 4vw, 2rem);
  font-weight: 800;
  margin: 0 0 8px;
  color: var(--odm-text-primary);
}

.odm-chats-head__lead,
.odm-chats-head__warn {
  margin: 0;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.5;
  color: var(--odm-text-secondary);
}

.odm-chats-head__warn {
  color: #ffb4b4;
  margin: 0 0 10px;
}

.odm-page-chats .odm-chats-wrap > .odm-chats-head__warn[hidden] {
  display: none !important;
  margin: 0;
}

.odm-chats {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.odm-page-chats .odm-chats {
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
}

.odm-chats__split {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
  gap: 16px;
  min-height: min(82vh, 920px);
  align-items: stretch;
}

.odm-page-chats .odm-chats__split {
  flex: 1 1 auto;
  min-height: 0 !important;
  overflow: hidden;
}

.odm-page-chats .odm-chats__sidebar,
.odm-page-chats .odm-chats__panel {
  min-height: 0;
  overflow: hidden;
}

.odm-page-chats .odm-chats__panel {
  display: flex;
  flex-direction: column;
}

.odm-page-chats .odm-chats__placeholder,
.odm-page-chats .odm-chats__thread {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.odm-chats__sidebar {
  border-radius: var(--radius-md);
  background: var(--odm-surface);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22);
  padding: 12px;
  min-height: 0;
  overflow-y: auto;
}

.odm-chats__nav-sort {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
  padding: 0 2px;
}

.odm-chats__nav-sort-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--odm-text-soft);
  white-space: nowrap;
}

.odm-chats__nav-sort-select {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 200px;
  margin-left: auto;
  box-sizing: border-box;
  min-height: 36px;
  padding: 8px 30px 8px 12px;
  border-radius: 10px;
  border: 1px solid var(--odm-border-light);
  background-color: var(--odm-surface-mid);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 16 16'%3E%3Cpath fill='%23b8b8b8' d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  color: var(--odm-text-primary);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  color-scheme: dark;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.odm-chats__nav-sort-select:hover {
  border-color: var(--odm-border-mid);
}

.odm-chats__nav-sort-select:focus {
  outline: none;
}

.odm-chats__nav-sort-select:focus-visible {
  border-color: var(--odm-accent);
  box-shadow: 0 0 0 2px rgba(255, 140, 66, 0.22);
}

/* Нативный список option: тёмный фон и светлый текст (Windows / WebKit) */
.odm-chats__nav-sort-select option,
.odm-chats__nav-sort-select optgroup {
  color: #f2f2f2;
  background-color: #2a2a2a;
}

.odm-chats__nav-sort-select option:checked {
  background-color: rgba(255, 171, 121, 0.35);
  color: #ffffff;
}

.odm-chats__nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.odm-chats__nav-btn {
  width: 100%;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 11px 13px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--odm-text-primary);
  font-family: var(--font-body);
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.odm-chats__nav-btn:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.1);
}

.odm-chats__nav-item.is-active .odm-chats__nav-btn {
  border-color: rgba(255, 171, 121, 0.45);
  background: rgba(255, 171, 121, 0.12);
}

.odm-chats__nav-peer {
  display: block;
  font-weight: 700;
  font-size: 14px;
}

.odm-chats__nav-btn--row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  text-align: left;
}

.odm-chats__nav-unread-rail {
  flex-shrink: 0;
  width: 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  align-self: center;
  margin-left: 4px;
}

.odm-chats__nav-unread-pip {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--odm-accent);
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.25);
}

.odm-chats__nav-unread-num {
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  color: var(--odm-accent);
  letter-spacing: -0.02em;
}

.odm-chats__nav-avatar {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(100, 116, 139, 0.55) 0%, rgba(71, 85, 105, 0.45) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.odm-chats__nav-avatar--support {
  background: linear-gradient(145deg, rgba(255, 186, 140, 0.55) 0%, rgba(255, 171, 121, 0.35) 100%);
  border-color: rgba(255, 171, 121, 0.45);
  color: #1a1208;
}

.odm-chats__nav-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.odm-chats__nav-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.odm-chats__nav-top {
  display: flex;
  align-items: center;
  min-width: 0;
  width: 100%;
}

.odm-chats__nav-peer-name {
  flex: 1 1 0%;
  min-width: 0;
  font-weight: 700;
  font-size: 14px;
  color: var(--odm-text-primary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.odm-chats__nav-subl {
  font-size: 11px;
  line-height: 1.35;
  color: var(--odm-text-soft);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.odm-chats__nav-item--pinned .odm-chats__nav-btn {
  border-left: 3px solid rgba(255, 171, 121, 0.75);
  padding-left: 10px;
}

.odm-chats__nav-pin {
  flex-shrink: 0;
  font-size: 12px;
  color: rgba(255, 171, 121, 0.85);
  margin-right: 2px;
}

.odm-chats__nav-btn--support .odm-chats__nav-peer {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.odm-chats__support-nav-mark {
  color: var(--odm-accent);
  font-size: 1.15rem;
  line-height: 1;
  flex-shrink: 0;
}

.odm-chats__support-banner {
  padding: 0 12px 12px;
  border-bottom: 1px solid var(--odm-border-light);
}

.odm-chats__support-banner[hidden] {
  display: none !important;
}

.odm-chats__toolbar-verified {
  color: var(--odm-accent);
  margin-right: 4px;
}

.odm-chats__empty {
  margin: 8px;
  font-size: 13px;
  color: var(--odm-text-soft);
}

.odm-chats__panel {
  display: flex;
  flex-direction: column;
  min-height: 0;
  border-radius: var(--radius-md);
  background: var(--odm-surface);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22);
  overflow: hidden;
}

/* display:flex у блоков перебивает UA [hidden] — без !important плейсхолдер остаётся под открытым чатом */
.odm-chats__placeholder[hidden],
.odm-chats__thread[hidden] {
  display: none !important;
}

.odm-chats__placeholder {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 32px 20px;
  color: var(--odm-text-soft);
  font-size: 14px;
  text-align: center;
}

.odm-chats__placeholder .bi {
  font-size: 2.25rem;
  opacity: 0.65;
}

.odm-chats__placeholder p {
  margin: 0;
  max-width: 320px;
  line-height: 1.5;
}

.odm-chats__thread {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
  background: var(--odm-page-bg);
}

.odm-chats__toolbar {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: var(--odm-surface);
}

.odm-chats__toolbar-product {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.odm-chats__toolbar-product-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.odm-chats__toolbar-end {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  margin-left: auto;
}

.odm-chats__back {
  display: none;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--odm-text-primary);
  cursor: pointer;
}

.odm-chats__toolbar-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.odm-chats__peer {
  font-size: 16px;
  color: var(--odm-text-primary);
}

.odm-chats__peer-link {
  color: inherit;
  text-decoration: none;
}

.odm-chats__peer-link:hover {
  color: var(--odm-accent);
  text-decoration: underline;
}

.odm-chats__peer-link:focus-visible {
  outline: 2px solid var(--odm-accent);
  outline-offset: 2px;
  border-radius: 2px;
}

.odm-chats__peer-link--static {
  pointer-events: none;
  cursor: default;
}

.odm-chats__order-meta {
  font-size: 12px;
  color: var(--odm-text-soft);
}

.odm-chats__toolbar-presence {
  font-size: 12px;
  line-height: 1.35;
  color: var(--odm-text-soft);
  display: block;
}

.odm-chats__toolbar-peer-avatar {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, rgba(100, 116, 139, 0.55) 0%, rgba(71, 85, 105, 0.45) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.odm-chats__toolbar-peer-avatar--letter {
  line-height: 1;
}

.odm-chats__toolbar-peer-avatar--has-img {
  padding: 0;
  background: rgba(0, 0, 0, 0.25);
}

.odm-chats__toolbar-peer-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.odm-chats__toolbar-peer-avatar--support {
  background: linear-gradient(145deg, rgba(255, 186, 140, 0.65) 0%, rgba(255, 171, 121, 0.45) 100%);
  border-color: rgba(255, 171, 121, 0.5);
  color: #1a1208;
  font-size: 22px;
}

.odm-page-chats--messenger .odm-chats__toolbar-product {
  display: none !important;
}

.odm-page-chats--messenger .odm-chats__split {
  gap: 0;
  min-height: 0 !important;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22);
}

.odm-page-chats--messenger .odm-chats__sidebar {
  border-radius: 0;
  box-shadow: none;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.odm-page-chats--messenger .odm-chats__panel {
  border-radius: 0;
  box-shadow: none;
}

.odm-chats__ws {
  flex-shrink: 0;
}

.odm-chats__ws-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.odm-chats__ws-dot--ok {
  background: #6bcf7f;
  box-shadow: 0 0 0 3px rgba(107, 207, 127, 0.25);
}

.odm-chats__ws-dot--wait {
  background: #e8c068;
}

.odm-chats__ws-dot--off {
  background: rgba(255, 255, 255, 0.28);
}

.odm-chats__sound-toggle {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--odm-text-secondary);
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
}

.odm-chats__sound-toggle input {
  accent-color: var(--odm-accent);
}

.odm-chats__nav-badge {
  display: inline-block;
  margin-left: 8px;
  min-width: 18px;
  padding: 1px 6px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  background: var(--odm-accent);
  color: #1a1208;
  vertical-align: middle;
}

.odm-chats__messages-stack {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-height: 100%;
}

.odm-chats__order-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

.odm-chats__order-card {
  margin: 0 0 14px;
  max-width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(120, 120, 128, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
}

.odm-chats__order-card-badge {
  display: inline-block;
  margin-bottom: 8px;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.1);
  color: var(--odm-text-secondary);
}

.odm-chats__order-card-inner {
  margin-top: 8px;
}

.odm-chats__order-card-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.odm-chats__order-card-thumb {
  flex-shrink: 0;
}

.odm-chats__order-card-product {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--odm-text-primary);
  line-height: 1.3;
}

.odm-chats__order-card-status {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.45;
  color: var(--odm-text-secondary);
}

.odm-chats__order-card-done {
  margin: 10px 0 0;
  font-size: 13px;
  color: var(--odm-text-soft);
}

.odm-chats__order-offer {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 165, 87, 0.08);
  border: 1px solid var(--odm-border-light);
}

.odm-chats__order-offer-title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--odm-text-primary);
}

.odm-chats__order-offer-label {
  margin: 10px 0 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--odm-accent);
}

.odm-chats__order-offer-label:first-of-type {
  margin-top: 0;
}

.odm-chats__order-offer-text {
  margin: 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.2);
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.45;
  color: var(--odm-text-secondary);
  white-space: pre-wrap;
  word-break: break-word;
  overflow-x: auto;
}

.odm-chats__order-offer-text--comment {
  background: rgba(0, 0, 0, 0.12);
}

.odm-chats__order-card-actions {
  margin-top: 10px;
  border-radius: 12px;
}

.odm-chats__order-panel-thumb-wrap {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--odm-surface-mid);
  border: 1px solid var(--odm-border-light);
}

.odm-chats__order-panel-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.odm-chats__order-panel-info {
  min-width: 0;
  flex: 1;
}

.odm-chats__actions-wrap {
  flex-shrink: 0;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.12);
}

.odm-chats__buyer-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.odm-chats__action-btn {
  font-size: 13px !important;
  padding: 8px 12px !important;
}

.odm-chats__sys-msg {
  max-width: 92%;
  margin: 0 auto 14px;
  padding: 4px 8px 0;
  text-align: center;
  background: none;
  border: none;
  border-radius: 0;
}

.odm-chats__sys-msg-badge {
  display: inline-block;
  margin-bottom: 4px;
  padding: 0;
  border-radius: 0;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: transparent;
  color: var(--odm-text-soft);
}

.odm-chats__sys-msg-text {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.45;
  color: var(--odm-text-primary);
  text-align: center;
}

.odm-chats__sys-msg-time {
  display: block;
  margin-top: 8px;
  font-size: 11px;
  color: var(--odm-text-soft);
}

.odm-chats__scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 14px 16px 18px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), transparent 48px);
  /* Плавный скролл ломает первый заход в чат: остаёмся вверху старой ленты */
  scroll-behavior: auto;
  -webkit-overflow-scrolling: touch;
}

.odm-chats__stream-end {
  height: 1px;
  width: 100%;
  flex-shrink: 0;
  pointer-events: none;
}

.odm-chats-msg-row {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  margin-bottom: 12px;
  max-width: 100%;
}

.odm-chats-msg-row--in {
  justify-content: flex-start;
}

.odm-chats-msg-row--out {
  justify-content: flex-end;
}

.odm-chats-msg-avatar {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(100, 116, 139, 0.55) 0%, rgba(71, 85, 105, 0.45) 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.22);
  margin-bottom: 4px;
}

.odm-chats-msg-avatar--out {
  background: linear-gradient(145deg, rgba(255, 186, 140, 0.75) 0%, rgba(255, 171, 121, 0.55) 100%);
  color: #1a1208;
  border-color: rgba(255, 171, 121, 0.45);
}

.odm-chats-msg-avatar--img {
  padding: 0;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.2);
}

.odm-chats-msg-avatar--img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.odm-chats-msg-avatar--icon {
  padding: 0;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.92);
}

.odm-chats-msg-avatar--icon .bi {
  line-height: 1;
}

.odm-chats-msg-avatar--out.odm-chats-msg-avatar--icon {
  color: #1a1208;
}

.odm-chats-msg-stack {
  min-width: 0;
  max-width: min(calc(100% - 48px), 420px);
  display: flex;
  flex-direction: column;
}

.odm-chats-msg-row--out .odm-chats-msg-stack {
  align-items: flex-end;
}

/* Пузыри в чатах заказа: контраст и отступы */
.odm-page-chats .odm-chats__scroll .odm-support-msg {
  padding: 12px 16px 10px;
  margin-bottom: 0;
  max-width: 100%;
}

.odm-page-chats .odm-chats__scroll .odm-support-msg__who {
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 6px;
  opacity: 0.9;
}

.odm-page-chats .odm-chats__scroll .odm-support-msg--out .odm-support-msg__who {
  color: rgb(255 255 255 / 88%);
}

.odm-page-chats .odm-chats__scroll .odm-support-msg--in {
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
  border-radius: 20px 20px 20px 6px;
}

.odm-page-chats .odm-chats__scroll .odm-support-msg--out {
  background: linear-gradient(145deg, rgba(255, 186, 140, 0.42) 0%, rgba(255, 171, 121, 0.32) 100%);
  border: 1px solid rgba(255, 171, 121, 0.35);
  color: #1a1208;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.18);
  border-radius: 20px 20px 6px 20px;
}

.odm-page-chats .odm-chats__scroll .odm-support-msg--out .odm-support-msg__time {
  color: rgba(255, 255, 255, 0.65);
}

/* Текст переписки — светлый на тёмном фоне */
.odm-page-chats .odm-chats__scroll .odm-support-msg--in,
.odm-page-chats .odm-chats__scroll .odm-support-msg--in .odm-support-msg__body {
  color: rgba(255, 255, 255, 0.96);
}

.odm-page-chats .odm-chats__scroll .odm-support-msg--in .odm-support-msg__time {
  color: rgba(255, 255, 255, 0.55);
}

.odm-page-chats .odm-chats__scroll .odm-support-msg--in a {
  color: #ffd4b8;
}

.odm-page-chats .odm-chats__scroll .odm-support-msg--out,
.odm-page-chats .odm-chats__scroll .odm-support-msg--out .odm-support-msg__body {
  color: rgba(255, 255, 255, 0.98);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.odm-page-chats .odm-chats__sys-msg-text {
  color: rgba(255, 255, 255, 0.95);
}

.odm-page-chats .odm-chats__sys-msg-badge {
  color: rgba(255, 255, 255, 0.5);
}

.odm-page-chats .odm-chats__order-card {
  background: rgba(72, 72, 78, 0.55);
  border-color: rgba(255, 255, 255, 0.1);
}

.odm-page-chats .odm-chats__order-card-badge {
  color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.08);
}

.odm-page-chats .odm-chats__sys-msg-time {
  color: rgba(255, 255, 255, 0.55);
}

.odm-chats__closed {
  margin: 0;
  padding: 10px 16px;
  font-size: 13px;
  background: rgba(255, 80, 80, 0.12);
  color: #ffb3b3;
}

.odm-chats__composer {
  padding-left: 16px;
  padding-right: 16px;
}

.odm-chats__disclaimer {
  padding-left: 16px !important;
  padding-right: 16px !important;
}

/* Нижняя панель как в мессенджерах: не раздувается при многострочном вводе */
.odm-chats__input-dock {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: var(--odm-surface);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

.odm-page-chats .odm-chats__input-dock .odm-chats__composer {
  padding-top: 10px;
  padding-bottom: 8px;
}

.odm-page-chats .odm-chats__input-dock .odm-chats__disclaimer {
  padding-top: 0 !important;
  padding-bottom: 10px !important;
}

.odm-page-chats .odm-chats__composer-input {
  min-height: 44px;
  max-height: 78px;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  field-sizing: fixed;
  color: rgba(255, 255, 255, 0.96);
}

.odm-page-chats .odm-chats__composer-input::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

.odm-chats__attach-btn {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--odm-text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  transition: background 0.15s ease, transform 0.12s ease;
}

.odm-chats__attach-btn:hover {
  background: rgba(255, 255, 255, 0.12);
}

.odm-chats__attach-btn:active {
  transform: scale(0.96);
}

.odm-chats__attach-preview {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px 8px;
}

/* display:flex выше перебивает UA [hidden] — без этого блок пустого превью остаётся видимым */
.odm-chats__attach-preview[hidden] {
  display: none !important;
  padding: 0 !important;
  gap: 0 !important;
  height: 0;
  min-height: 0;
  overflow: hidden;
}

.odm-chats__attach-preview img {
  max-height: 56px;
  max-width: 120px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.odm-chats__attach-preview img:not([src]),
.odm-chats__attach-preview img[src=""] {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  min-height: 0 !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.odm-chats__attach-clear {
  border: none;
  background: rgba(255, 80, 80, 0.2);
  color: #ffb3b3;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
}

.odm-page-chats .odm-chats__scroll .odm-chats__msg-image-wrap {
  margin-top: 8px;
}

.odm-page-chats .odm-chats__scroll .odm-chats__msg-image {
  display: block;
  max-width: min(100%, 280px);
  max-height: 220px;
  border-radius: 12px;
  object-fit: contain;
  background: rgba(0, 0, 0, 0.2);
}

.odm-chats__loading,
.odm-chats__err {
  margin: 16px;
  font-size: 13px;
  color: var(--odm-text-soft);
}

.odm-chats__err {
  color: #ffb4b4;
}

@media (max-width: 879px) {
  .odm-chats__split {
    grid-template-columns: 1fr;
    min-height: min(76vh, 640px);
  }

  .odm-page-chats .odm-chats__split {
    min-height: 0 !important;
  }

  .odm-chats--thread-focused .odm-chats__sidebar {
    display: none;
  }

  .odm-chats--thread-focused .odm-chats__back {
    display: flex;
  }
}

/* Direct-style чаты на мобиле: full-bleed список, без карточек/скруглений */
@media (max-width: 768px) {
  body.odm-page-chats {
    height: 100dvh;
    max-height: 100dvh;
  }

  body.odm-page-chats > main.odm-chats-wrap.container {
    max-width: none;
    padding-left: 0;
    padding-right: 0;
    padding-bottom: calc(52px + max(6px, env(safe-area-inset-bottom, 0px)));
  }

  .odm-page-chats .odm-chats-wrap {
    padding-bottom: 0;
  }

  .odm-page-chats .odm-chats-head__warn {
    margin: 0 14px 8px;
  }

  .odm-page-chats .odm-chats__split,
  .odm-page-chats--messenger .odm-chats__split {
    flex: 1 1 auto;
    height: 100%;
    min-height: 0;
    max-height: 100%;
    gap: 0;
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
  }

  .odm-page-chats--messenger .odm-chats__sidebar,
  .odm-page-chats .odm-chats__sidebar {
    border-radius: 0;
    box-shadow: none;
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: transparent;
    padding: 0;
  }

  .odm-page-chats .odm-chats__nav-sort {
    margin-bottom: 0;
    padding: 10px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .odm-page-chats .odm-chats__nav-sort-select {
    max-width: none;
  }

  .odm-page-chats .odm-chats__nav {
    gap: 0;
  }

  .odm-page-chats .odm-chats__nav-btn {
    border: none;
    border-radius: 0;
    background: transparent;
    padding: 12px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .odm-page-chats .odm-chats__nav-btn:hover,
  .odm-page-chats .odm-chats__nav-item.is-active .odm-chats__nav-btn {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.05);
  }

  .odm-page-chats .odm-chats__nav-item--pinned .odm-chats__nav-btn {
    border-left: none;
    padding-left: 14px;
  }

  .odm-page-chats .odm-chats__nav-avatar {
    width: 52px;
    height: 52px;
    font-size: 19px;
  }

  .odm-page-chats .odm-chats__nav-peer-name {
    font-size: 15px;
  }

  .odm-page-chats .odm-chats__nav-subl {
    font-size: 12px;
  }

  .odm-page-chats--messenger .odm-chats__panel,
  .odm-page-chats .odm-chats__panel {
    border-radius: 0;
    box-shadow: none;
    background: var(--odm-page-bg);
  }

  /* Без выбранного треда — пустая правая колонка не нужна, список открыт во всю ширину */
  .odm-page-chats .odm-chats__panel:not(:has(.odm-chats__thread:not([hidden]))) {
    display: none;
  }

  /* Тред поверх списка на всю высоту экрана */
  .odm-chats--thread-focused .odm-chats__panel {
    position: fixed;
    inset: 0;
    z-index: 250;
    background: var(--odm-page-bg);
    display: flex;
  }

  .odm-chats--thread-focused .odm-bottom-nav {
    display: none !important;
  }

  .odm-chats__toolbar {
    padding: env(safe-area-inset-top, 0px) 12px 10px;
    padding-top: calc(env(safe-area-inset-top, 0px) + 10px);
  }

  .odm-chats__back {
    display: flex;
    background: transparent;
  }
}

/* Модалка «Правила чатов» на /chats — полноэкранно, без скролла */
.odm-chats-rules-modal.odm-account-topup-modal {
  padding: 0;
  align-items: stretch;
  justify-content: stretch;
}

.odm-chats-rules-modal.odm-account-topup-modal .odm-account-topup-modal__backdrop {
  background: #262626;
  cursor: default;
}

.odm-chats-rules-modal.odm-account-topup-modal .odm-account-topup-modal__panel {
  background: #262626;
  color: #f4f5f8;
  width: 100%;
  height: 100%;
  max-height: none;
  min-height: 100%;
  border: none;
  border-radius: 0;
  box-shadow: none;
  display: flex;
  flex-direction: column;
}

.odm-chats-rules-modal .odm-account-topup-modal__head {
  flex-shrink: 0;
  padding: calc(env(safe-area-inset-top, 0px) + 16px) 20px 12px;
}

.odm-chats-rules-modal .odm-account-topup-modal__body.odm-chats-rules-modal__body {
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
  max-width: 520px;
  width: 100%;
  margin: 0 auto;
  padding: 8px 20px calc(env(safe-area-inset-bottom, 0px) + 20px);
  box-sizing: border-box;
}

.odm-chats-rules-modal .odm-account-topup-modal__title {
  color: #fff;
  font-size: 1.05rem;
  line-height: 1.25;
}

.odm-chats-rules-modal .odm-account-topup-modal__close {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.odm-chats-rules-modal .odm-account-topup-modal__close:hover {
  background: rgba(255, 255, 255, 0.16);
}

.odm-chats-rules-modal__head {
  align-items: center;
}

.odm-chats-rules-modal__title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.odm-chats-rules-modal__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: #5c2d0c;
  background: linear-gradient(145deg, #ffd4b8 0%, #ffab79 100%);
  box-shadow: 0 4px 16px rgba(255, 171, 121, 0.35);
}

.odm-chats-rules-modal__intro {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(244, 245, 248, 0.78);
}

.odm-chats-rules-modal__list {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 1;
  min-height: 0;
}

.odm-chats-rules-modal__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 13px;
  line-height: 1.5;
  color: rgba(244, 245, 248, 0.92);
}

.odm-chats-rules-modal__list li .bi {
  flex-shrink: 0;
  margin-top: 2px;
  font-size: 1.05rem;
  color: #ffab79;
}

.odm-chats-rules-modal__warn {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 12px;
  padding: 10px 12px;
  flex-shrink: 0;
  border-radius: 12px;
  background: rgba(255, 171, 121, 0.12);
  border: 1px solid rgba(255, 171, 121, 0.35);
}

.odm-chats-rules-modal__warn .bi {
  flex-shrink: 0;
  margin-top: 2px;
  font-size: 1.1rem;
  color: #ffab79;
}

.odm-chats-rules-modal__warn p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 232, 210, 0.95);
}

.odm-chats-rules-modal__warn strong {
  color: #ffd4b8;
  font-weight: 700;
}

.odm-chats-rules-modal__remember {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  flex-shrink: 0;
  font-size: 13px;
  color: rgba(244, 245, 248, 0.65);
  cursor: pointer;
  user-select: none;
}

.odm-chats-rules-modal__remember input {
  width: 18px;
  height: 18px;
  accent-color: #ffab79;
  cursor: pointer;
}

.odm-chats-rules-modal__actions {
  margin-top: auto;
  flex-shrink: 0;
  padding-top: 4px;
}

.odm-chats-rules-modal__actions .odm-account__btn--primary {
  width: 100%;
  justify-content: center;
}

@media (max-height: 700px) {
  .odm-chats-rules-modal__icon {
    width: 38px;
    height: 38px;
    font-size: 1.15rem;
  }

  .odm-chats-rules-modal__intro {
    margin-bottom: 8px;
    font-size: 13px;
  }

  .odm-chats-rules-modal__list {
    gap: 6px;
    margin-bottom: 8px;
  }

  .odm-chats-rules-modal__list li {
    padding: 8px 10px;
    font-size: 12px;
    line-height: 1.4;
  }

  .odm-chats-rules-modal__warn {
    margin-bottom: 8px;
    padding: 8px 10px;
  }

  .odm-chats-rules-modal__warn p {
    font-size: 12px;
  }

  .odm-chats-rules-modal__remember {
    margin-bottom: 8px;
    font-size: 12px;
  }
}

body.odm-chats-rules-open {
  overflow: hidden;
}

/* Модалка «Отзыв» на /chats — контраст с тёмной темой страницы */
.odm-chats-review-modal.odm-account-topup-modal .odm-account-topup-modal__panel {
  background: #262626;
  color: #f4f5f8;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.odm-chats-review-modal .odm-account-topup-modal__title {
  color: #fff;
}

.odm-chats-review-modal .odm-account-topup-modal__close {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.odm-chats-review-modal .odm-account-topup-modal__close:hover {
  background: rgba(255, 255, 255, 0.16);
}

.odm-chats-review-modal .odm-review-modal__body {
  max-height: min(78vh, 560px);
}

.odm-chats-review-modal .odm-review-modal__product {
  color: #fff;
  margin: 0 0 18px;
}

.odm-chats-review-modal .odm-review-modal__product:empty {
  display: none;
}

.odm-chats-review-modal .odm-review-modal__field {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}

.odm-chats-review-modal .odm-review-modal__field > .odm-review-modal__label {
  margin-bottom: 0;
  color: rgba(244, 245, 248, 0.55);
}

.odm-chats-review-modal label.odm-review-modal__label[for="odmChatsReviewText"] {
  margin-top: 2px;
  margin-bottom: 10px;
  color: rgba(244, 245, 248, 0.55);
}

.odm-chats-review-modal .odm-review-modal__stars {
  gap: 8px;
}

.odm-chats-review-modal .odm-review-modal__star {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.odm-chats-review-modal .odm-review-modal__star.is-active {
  background: linear-gradient(145deg, #ffd4b8 0%, #ffab79 100%);
  color: #5c2d0c;
  border-color: transparent;
}

.odm-chats-review-modal .odm-review-modal__star:hover {
  border-color: rgba(255, 171, 121, 0.45);
}

.odm-chats-review-modal .odm-review-modal__textarea {
  resize: none;
  margin-bottom: 14px;
  background: #1c1c1c;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.odm-chats-review-modal .odm-review-modal__textarea::placeholder {
  color: #8a9199;
}

.odm-chats-review-modal .odm-review-modal__textarea:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 171, 121, 0.45);
  border-color: rgba(255, 171, 121, 0.65);
}

.odm-chats-review-modal .odm-review-modal__attach-block {
  margin-bottom: 14px;
}

.odm-chats-review-modal .odm-review-modal__clip-btn {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.odm-chats-review-modal .odm-review-modal__clip-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.odm-chats-review-modal .odm-account-topup-modal__error {
  margin: 0 0 12px;
  color: #ffb4b4;
  background: rgba(255, 80, 80, 0.14);
}

.odm-chats-review-modal .odm-account-topup-modal__actions {
  margin-top: 4px;
  gap: 10px;
}

.odm-account {
  flex: 1;
  padding: 20px 0 72px;
  background: linear-gradient(180deg, #222 0%, var(--odm-page-bg) 32%);
}

.odm-page-account .odm-account > .container {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.odm-page-account .odm-account__cabinet-top {
  margin-bottom: 0;
}

.odm-account__cabinet-top {
  display: grid;
  gap: 18px;
  margin-bottom: 22px;
}

@media (min-width: 960px) {
  .odm-account__cabinet-top {
    grid-template-columns: minmax(300px, 400px) minmax(0, 1fr);
    align-items: stretch;
  }

  .odm-account__cabinet-top .odm-account__balance-hero {
    display: flex;
    flex-direction: column;
    margin-bottom: 0;
  }

  .odm-account__cabinet-top .odm-account__balance-hero-inner {
    flex: 1;
    min-height: 0;
  }
}

.odm-cabinet-role {
  margin: 0;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--odm-text-soft);
}

.odm-account__profile {
  display: grid;
  gap: 14px;
  padding: 20px 22px;
  margin-bottom: 0;
  border-radius: var(--radius-md);
  background: var(--odm-surface);
  border: 1px solid var(--odm-border-light);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
}

.odm-account__profile-row {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.odm-account__profile-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-left: auto;
}

.odm-account__profile-tools .odm-profile-tool-icon,
.odm-seller-profile__tools .odm-profile-tool-icon {
  width: 44px;
  min-width: 44px;
  height: 44px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  box-sizing: border-box;
}

.odm-account__profile-tools .odm-profile-tool-icon > i,
.odm-seller-profile__tools .odm-profile-tool-icon > i {
  font-size: 1.2rem;
  line-height: 1;
}

.odm-account__logout-btn {
  white-space: nowrap;
}

.odm-account__profile-avatar {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #1a1208;
  background: linear-gradient(145deg, var(--odm-accent) 0%, #ffc48a 100%);
  overflow: hidden;
}

.odm-account__profile-avatar--has-img {
  padding: 0;
  background: transparent;
}

.odm-account__profile-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
}

.odm-account__profile-text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.odm-account__profile-name {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--odm-text-primary);
}

.odm-account__profile-email {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--odm-text-secondary);
  word-break: break-all;
}

.odm-account__strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 28px;
}

.odm-account__strip--stats {
  grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
}

.odm-account__balance-hero {
  margin-bottom: 0;
}

.odm-account__balance-hero-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 24px;
  border-radius: var(--radius-md);
  background: linear-gradient(165deg, #2a2622 0%, var(--odm-surface) 55%);
  border: 1px solid var(--odm-border-light);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  box-sizing: border-box;
}

.odm-account__balance-hero-main {
  flex: 1 1 220px;
  min-width: 0;
}

.odm-account__balance-hero-eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--odm-text-soft);
  margin-bottom: 6px;
}

.odm-account__balance-hero-sum {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  margin: 0 0 10px;
  color: var(--odm-text-primary);
  line-height: 1.05;
}

.odm-account__balance-hero-note {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.55;
  color: var(--odm-text-secondary);
  margin: 0;
  max-width: 42ch;
}

.odm-account__balance-hero-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
  align-self: center;
}

.odm-account__balance-hero-btn {
  flex-shrink: 0;
  white-space: nowrap;
}

.odm-account-ledger-modal[hidden] {
  display: none !important;
}

.odm-account-ledger-modal {
  position: fixed;
  inset: 0;
  z-index: 11000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
}

.odm-account-ledger-modal__backdrop {
  position: absolute;
  inset: 0;

  padding: 0;
  margin: 0;
  background: rgba(15, 18, 28, 0.55);
  cursor: pointer;
}

.odm-account-ledger-modal__panel {
  position: relative;
  z-index: 1;
  width: min(480px, 100%);
  max-height: min(90vh, 800px);
  display: flex;
  flex-direction: column;
  background: var(--odm-surface);
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  overflow: hidden;

}

.odm-account-ledger-modal__head {
  flex-shrink: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px 14px;

}

.odm-account-ledger-modal__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--odm-text-primary);
}

.odm-account-ledger-modal__close {
  flex-shrink: 0;
  width: 40px;
  height: 40px;

  border-radius: 12px;
  background: var(--odm-input-bg);
  cursor: pointer;
  color: var(--odm-text-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.odm-account-ledger-modal__close:hover {
  background: var(--odm-input-focus-bg);
}

.odm-account-ledger-modal__body {
  flex: 1 1 auto;
  min-height: 0;
  padding: 16px 20px 22px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.odm-account-ledger-modal__body .odm-account__ledger {
  gap: 8px;
}

.odm-account-topup-modal[hidden] {
  display: none !important;
}

.odm-account-topup-modal {
  position: fixed;
  inset: 0;
  z-index: 11000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
}

.odm-account-topup-modal__backdrop {
  position: absolute;
  inset: 0;

  padding: 0;
  margin: 0;
  background: rgba(15, 18, 28, 0.55);
  cursor: pointer;
}

.odm-account-topup-modal__panel {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  max-height: min(90vh, 800px);
  display: flex;
  flex-direction: column;
  background: var(--odm-surface);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);

}

.odm-account-topup-modal__head {
  flex-shrink: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px 14px;

}

.odm-account-topup-modal__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--odm-text-primary);
}

.odm-account-topup-modal__close {
  flex-shrink: 0;
  width: 40px;
  height: 40px;

  border-radius: 12px;
  background: var(--odm-input-bg);
  cursor: pointer;
  color: var(--odm-text-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.odm-account-topup-modal__close:hover {
  background: var(--odm-input-focus-bg);
}

.odm-account-topup-modal__body {
  flex: 1 1 auto;
  min-height: 0;
  padding: 16px 20px 22px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.odm-account-topup-modal__note {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.55;
  color: var(--odm-text-secondary);
  margin: 0 0 16px;
}

.odm-account-topup-modal__methods {

  margin: 0 0 14px;
  padding: 0;
}

.odm-account-topup-modal__methods-legend {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #8a9299;
  margin-bottom: 8px;
  padding: 0;
}

.odm-account-topup-modal__methods-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.odm-account-topup-modal__methods-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-items: stretch;
}

.odm-account-topup-modal__method {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;

  border-radius: 12px;
  background: var(--odm-input-bg);
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--odm-text-primary);
  flex: 1;
  min-width: 0;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.odm-account-topup-modal__method input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  flex-shrink: 0;
}

.odm-account-topup-modal__method-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.65);
}

.odm-account-topup-modal__method-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.odm-account-topup-modal__method-icon--bi {
  font-size: 1.5rem;
  line-height: 1;
  color: var(--odm-text-primary);
  background: rgba(255, 255, 255, 0.1);
}

.odm-account-topup-modal__method-icon--rounded {
  overflow: hidden;
}

.odm-account-topup-modal__method-icon--rounded img {
  border-radius: 10px;
  object-fit: cover;
}

.odm-account-topup-modal__method-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.odm-account-topup-modal__method strong {
  font-size: 14px;
  line-height: 1.2;
  font-weight: 700;
  color: var(--odm-text-primary);
}

.odm-account-topup-modal__method small {
  font-size: 12px;
  line-height: 1.35;
  color: var(--odm-text-secondary);
}

.odm-account-topup-modal__method:has(input:checked) {

  background: rgba(255, 165, 87, 0.12);
  box-shadow: 0 0 0 2px rgba(255, 165, 87, 0.2);
}

.odm-account-topup-modal__method:hover {

  background: var(--odm-input-focus-bg);
}

.odm-account-topup-modal__field {
  position: relative;
  display: block;
  margin-bottom: 10px;
}

.odm-account-topup-modal__input {
  width: 100%;
  box-sizing: border-box;
  padding: 14px 16px;
  border-radius: 12px;

  background: var(--odm-input-bg);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--odm-text-primary);
  outline: none;
  box-shadow: none;
}

.odm-account-topup-modal__input:focus-visible {
  background: var(--odm-input-focus-bg);
  box-shadow: 0 0 0 3px rgba(255, 165, 87, 0.35);
}

.odm-account-topup-modal__error {
  margin: 8px 0 14px;
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.5;
  color: #b91c1c;
  background: rgba(239, 68, 68, 0.08);

  padding: 10px 12px;
  border-radius: 12px;
}

.odm-account-topup-modal__actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 4px;
}

.odm-account-topup-modal__actions--topup {
  flex-wrap: wrap;
  align-items: center;
}

.odm-account-topup-modal__actions--topup > #odmAccountTopupCancel {
  margin-right: auto;
}

.odm-account-topup-modal__actions--stack {
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
}

.odm-account-topup-modal__actions--stack .odm-account__logout-btn {
  margin-right: auto;
}

.odm-account-topup-modal__actions--single {
  justify-content: flex-end;
}

.odm-account-topup-modal__actions--single > .odm-account__btn {
  min-width: 170px;
}

.odm-account-topup-modal__btn {
  white-space: nowrap;
}

.odm-account__chip {
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: var(--odm-surface);
  border: 1px solid var(--odm-border-light);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.22);
}

.odm-account__chip-label {
  display: block;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--odm-text-soft);
  margin-bottom: 8px;
}

.odm-account__chip-value {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.55rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--odm-text-primary);
}

.odm-account__chip--reviews {
  text-decoration: none;
  color: inherit;
  display: block;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.odm-account__chip--reviews:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(196, 90, 26, 0.15);
}

.odm-account__chip--reviews:focus-visible {
  outline: 2px solid #c45a1a;
  outline-offset: 3px;
}

.odm-page-my-reviews {
  background: var(--odm-page-bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.odm-page-my-reviews .odm-header__inner {

}

.odm-page-my-reviews .odm-catalog-page-head {

  padding-top: 8px;
}

.odm-page-my-reviews main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.odm-my-reviews {
  flex: 1;
  padding: 8px 0 88px;
  background: linear-gradient(180deg, #222 0%, var(--odm-page-bg) 36%);
}

.odm-my-reviews__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.odm-my-reviews__item {
  margin: 0;
  padding: 18px 20px;
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255, 171, 121, 0.2) 0%, rgba(255, 200, 160, 0.12) 100%);

  box-shadow: 0 8px 26px rgba(196, 90, 26, 0.1);
}

.odm-my-reviews__item-head {
  margin-bottom: 10px;
}

.odm-my-reviews__product {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: #7a3d12;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.odm-my-reviews__product:hover {
  text-decoration: underline;
}

.odm-my-reviews__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  margin-top: 8px;
  font-size: 13px;
  color: #5a6570;
}

.odm-my-reviews__stars {
  color: #c45a1a;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.odm-my-reviews__order {
  font-weight: 600;
}

.odm-my-reviews__time {
  color: #8a9299;
}

.odm-my-reviews__mod {
  display: inline-block;
  margin-top: 8px;
  margin-right: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.odm-my-reviews__mod--pending {
  background: rgba(234, 179, 8, 0.25);
  color: #854d0e;
}

.odm-my-reviews__mod--rejected {
  background: rgba(239, 68, 68, 0.18);
  color: #991b1b;
}

.odm-my-reviews__mod--hidden {
  background: rgba(100, 116, 139, 0.2);
  color: #334155;
}

.odm-my-reviews__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: #2d2418;
}

.odm-my-reviews__text--muted {
  color: #8a9299;
  font-style: italic;
}

.odm-my-reviews__empty {
  margin: 20px 0;
  padding: 18px 20px;
  border-radius: 16px;
  background: rgba(255, 171, 121, 0.12);

  color: #5a4a38;
  line-height: 1.5;
}

.odm-my-reviews__empty a {
  color: #c45a1a;
  font-weight: 700;
}

.odm-my-reviews__loading {
  text-align: center;
  padding: 12px;
  color: #8a9299;
  font-size: 14px;
}

.odm-my-reviews__sentinel {
  height: 1px;
  margin-top: 8px;
}

.odm-my-reviews__end {
  text-align: center;
  padding: 16px 8px 8px;
  font-size: 13px;
  color: #8a9299;
}

.odm-account__tabs-wrap {
  position: sticky;
  top: calc(env(safe-area-inset-top, 0px) + 72px);
  z-index: 10;
  margin: 0 -20px 24px;
  padding: 0 20px 12px;
  background: linear-gradient(180deg, var(--odm-page-bg) 70%, transparent);
}

.odm-account__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.odm-account__tab {
  flex: 1 1 auto;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;

  border-radius: 999px;
  background: transparent;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--odm-text-secondary);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.odm-account__tab .bi {
  font-size: 1rem;
  opacity: 0.85;
}

.odm-account__tab:hover {
  color: var(--odm-text-primary);
  background: rgba(255, 255, 255, 0.08);
}

.odm-account__tab[aria-selected="true"] {
  background: var(--odm-surface);
  color: var(--odm-price);
  box-shadow: none;
}

.odm-account__panels {
  min-height: 320px;
  padding-top: 4px;
}

.odm-account__section-head {
  margin: 0 0 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--odm-border-light);
}

.odm-account__section-head--orders {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 20px;
}

.odm-account__orders-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.odm-account__sort-label {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--odm-text-soft);
}

.odm-account__sort-select {
  margin: 0;
  min-width: 168px;
  max-width: min(220px, 100%);
  padding: 8px 30px 8px 12px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--odm-text-primary);
  background-color: var(--odm-surface-mid);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 16 16'%3E%3Cpath fill='%23b8b8b8' d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  border: 1px solid var(--odm-border-light);
  border-radius: 10px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.odm-account__sort-select:hover:not(:disabled) {
  border-color: var(--odm-border-mid);
}

.odm-account__sort-select:focus-visible {
  outline: none;
  border-color: var(--odm-accent);
  box-shadow: 0 0 0 2px rgba(255, 140, 66, 0.2);
}

.odm-account__sort-select:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.odm-account__section-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--odm-text-primary);
  line-height: 1.25;
}

.odm-account__panel[hidden] {
  display: none !important;
}

/* ——— Кабинет продавца /seller (как личный кабинет покупателя) ——— */
.odm-page-seller {
  background: var(--odm-page-bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  overflow-x: clip;
}

.odm-page-seller main {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  min-width: 0;
}

/* Новый товар и др. страницы с main.odm-seller-page — отступ от шапки */
.odm-page-seller main.odm-seller-page {
  padding-top: clamp(20px, 4vw, 44px);
  padding-bottom: 28px;
  box-sizing: border-box;
}

.odm-account--seller {
  flex: 1;
  width: 100%;
  min-width: 0;
  padding: calc(28px + env(safe-area-inset-top, 0px)) 0 72px;
  background: linear-gradient(180deg, #222 0%, var(--odm-page-bg) 32%);
  box-sizing: border-box;
}

.odm-account--seller > .container {
  min-width: 0;
}

.odm-account--seller .odm-seller-hero {
  margin-bottom: 18px;
}

.odm-seller-cabinet-top {
  margin-bottom: 22px;
}

.odm-seller-cabinet-top .odm-account__profile {
  margin-bottom: 0;
  padding: 16px 18px;
  gap: 14px;
  display: flex;
  flex-direction: column;
}

.odm-account--seller .odm-account__profile-identity {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-width: 0;
}

.odm-account--seller .odm-account__profile-avatar {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  font-size: 22px;
}

.odm-account--seller .odm-account__profile-meta {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.odm-account--seller .odm-account__profile-email {
  word-break: normal;
  overflow-wrap: anywhere;
  line-height: 1.35;
}

.odm-account--seller .odm-account__profile-tools--row {
  margin-left: 0;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  flex-wrap: nowrap;
}

.odm-account--seller .odm-account__profile-tools--row .odm-profile-tool-icon {
  width: 100%;
  min-width: 0;
  height: 44px;
  border-radius: 12px;
  flex-shrink: 0;
}

@media (min-width: 960px) {
  .odm-seller-cabinet-top {
    grid-template-columns: minmax(300px, 420px) minmax(0, 1fr);
  }
}

.odm-seller-cabinet-hero {
  display: flex;
  flex-direction: column;
  margin-bottom: 0;
  padding: 0;
  border-radius: var(--radius-md);
  background: linear-gradient(165deg, #2a2622 0%, var(--odm-surface) 55%);
  border: 1px solid var(--odm-border-light);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.odm-seller-cabinet-hero__top.odm-account__balance-hero-inner {
  border: none;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.odm-seller-cabinet-hero__stats.odm-account__strip {
  margin: 0;
  padding: 14px 16px 16px;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.odm-seller-cabinet-hero__chip.odm-account__chip {
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.22);
  border-color: rgba(255, 255, 255, 0.07);
  box-shadow: none;
}

.odm-seller-cabinet-hero__chip .odm-account__chip-value {
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  color: var(--odm-price);
}

.odm-seller-cabinet-hero__chip:last-child .odm-account__chip-value {
  color: var(--odm-text-primary);
}

@media (max-width: 768px) {
  .odm-seller-cabinet-hero__stats.odm-account__strip {
    grid-template-columns: 1fr;
  }

}

@media (min-width: 960px) {
  .odm-seller-cabinet-top .odm-seller-cabinet-hero {
    display: flex;
    flex-direction: column;
  }

  .odm-seller-cabinet-top .odm-seller-cabinet-hero__top {
    flex: 1;
    min-height: 0;
  }
}

.odm-account--seller .odm-account__profile-name {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.odm-seller-main-tabs-wrap {
  margin-bottom: 14px;
}

.odm-seller-page-panel {
  border-radius: var(--radius-md);
  background: var(--odm-surface);
  border: 1px solid var(--odm-border-light);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

.odm-seller-page-panel__head.odm-account__section-head {
  margin: 0;
  padding: 16px 18px 12px;
  border-bottom: 1px solid var(--odm-border-light);
}

.odm-seller-page-panel__body {
  padding: 14px 18px 18px;
}

.odm-seller-page-panel__body .odm-seller-reviews__summary {
  margin-top: 0;
}

.odm-seller-wallet-hero__hold-note {
  margin: 0 !important;
  max-width: none !important;
}

.odm-seller-wallet-hero__hold-btn {
  display: inline-flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 8px;
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  font: inherit;
  color: var(--odm-text-secondary);
  cursor: pointer;
  text-align: left;
  line-height: 1.45;
}

.odm-seller-wallet-hero__hold-val {
  font-weight: 700;
  color: var(--odm-price);
}

.odm-seller-wallet-hero__hold-hint {
  font-size: 12px;
  font-weight: 600;
  color: var(--odm-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.odm-page-seller .odm-bottom-nav__link.odm-page-seller__bottom-add-product.is-active {
  color: var(--odm-accent);
}

.odm-page-seller .odm-bottom-nav__link.odm-page-seller__bottom-add-product.is-active .bi {
  color: var(--odm-price);
}

.odm-topbar__cart-link .bi {
  font-size: 1.05rem;
  line-height: 1;
  flex-shrink: 0;
}

/* Продавец: «Продать» в шапке — без плюса на десктопе; на мобиле плюс в нижнем меню */
@media (min-width: 769px) {
  .odm-menu__cart-wrap .odm-topbar__cart-link .bi {
    display: none;
  }

  .odm-menu__cart-wrap .odm-topbar__cart-link {
    gap: 0;
  }

  .odm-menu__cart-wrap .odm-topbar__cart-badge {
    margin-left: 6px;
  }
}

.odm-seller-tabs-wrap {
  margin-bottom: 18px;
}

.odm-seller-main-tabs-wrap.odm-seller-tabs-wrap {
  margin-bottom: 14px;
}

.odm-seller-tabs .odm-account__tab .bi {
  margin-right: 6px;
  opacity: 0.9;
}

.odm-seller-product-stock-tabs-wrap {
  margin-top: 4px;
  margin-bottom: 0;
}

.odm-seller-product-stock-tabs .odm-account__tab .bi {
  margin-right: 6px;
  opacity: 0.9;
}

.odm-seller-product-stock-panels {
  margin-top: 14px;
}

.odm-seller-catalog-filter-wrap {
  margin: 0 0 14px;
}

.odm-seller-catalog-filter {
  flex-wrap: wrap;
  gap: 6px;
}

.odm-seller-catalog-filter .odm-account__tab {
  font-size: 13px;
  padding: 8px 14px;
}

.odm-seller-product-stock-hint {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--odm-text-secondary);
}

.odm-seller-reviews__summary:empty {
  display: none;
}

.odm-seller-reviews-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.odm-seller-reviews-list__empty {
  padding: 24px 16px;
  text-align: center;
  color: var(--odm-text-soft);
  font-size: 15px;
}

.odm-seller-review-item {
  padding: 16px 18px;
  border-radius: 14px;
  background: var(--odm-surface);

}

.odm-seller-review-item__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.odm-seller-review-item__stars {
  font-size: 13px;
  letter-spacing: 0.06em;
  color: #c45a1a;
}

.odm-seller-review-item__date {
  font-size: 12px;
  color: #8a9299;
}

.odm-seller-review-item__product {
  margin-bottom: 6px;
}

.odm-seller-review-item__product-link {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--odm-text-primary);
  text-decoration: none;

}

.odm-seller-review-item__product-link:hover {
  color: var(--odm-accent);
}

.odm-seller-review-item__author {
  margin: 0 0 8px;
  font-size: 13px;
  color: var(--odm-text-secondary);
}

.odm-seller-review-item__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--odm-text-secondary);
  white-space: pre-wrap;
  word-break: break-word;
}

.odm-seller-review__muted {
  color: var(--odm-text-soft);
  font-style: italic;
}

/* Админ /admin-categories: порядок перетаскиванием среди соседей */
.odm-admin-cat-col-drag {
  width: 40px;
  text-align: center;
}

.odm-admin-cat-handle {
  width: 40px;
  text-align: center;
  vertical-align: middle;
  cursor: grab;
  user-select: none;
  touch-action: none;
  color: var(--odm-text-soft);
}

.odm-admin-cat-handle:active {
  cursor: grabbing;
}

.odm-admin-cat-grip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  line-height: 1;
}

.odm-admin-cat-row--dragging {
  opacity: 0.55;
}

.odm-admin-cat-row--drop-hover td:not(.odm-admin-cat-handle) {
  box-shadow: inset 0 2px 0 0 #ff8a4c;
}

.odm-admin-cat-group__label .odm-admin-cat-group__label-cell {
  background: rgba(255, 255, 255, 0.04);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--odm-text-secondary);
  padding-top: 10px;
  padding-bottom: 6px;
}

body.odm-admin-cat-dragging {
  cursor: grabbing !important;
  user-select: none;
}

.odm-seller-hero {
  margin-bottom: 16px;
  border-radius: 20px;
  overflow: hidden;

  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
  background: var(--odm-surface);
}

.odm-seller-hero__inner {
  line-height: 0;
}

.odm-seller-hero__link {
  display: block;
}

.odm-seller-hero__img {
  width: 100%;
  height: auto;
  max-height: 240px;
  object-fit: cover;
  display: block;
  vertical-align: top;
}

.odm-seller-profile__name-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.odm-seller-verified-badge {
  display: inline-flex;
  align-items: center;
  color: #0d6efd;
  font-size: 1.2rem;
  line-height: 1;
}

/* Иначе author `display: inline-flex` перебивает UA для [hidden] — бейдж «проверен» не скрывается. */
.odm-seller-verified-badge[hidden] {
  display: none !important;
}

/* То же для галочки в карточке товара / превью (`.odm-product__game-seller-verified { display: inline-flex }`). */
.odm-product__game-seller-verified[hidden] {
  display: none !important;
}

.odm-seller-verified-badge--lg {
  font-size: 1.35rem;
}

.odm-seller-profile {
  display: grid;
  gap: 12px;
  padding: 20px 22px;
  border-radius: var(--radius-md);
  background: var(--odm-surface);
  border: 1px solid var(--odm-border-light);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.28);
}

.odm-seller-profile__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 20px;
  min-width: 0;
}

.odm-seller-profile__avatar {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(145deg, #ffd4b8 0%, #ffab79 100%);
  color: #3d2918;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.odm-seller-profile__avatar--has-img {
  padding: 0;
  overflow: hidden;
}

.odm-seller-profile__avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.odm-seller-profile__text {
  flex: 1 1 200px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.odm-seller-profile__name {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.5vw, 1.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--odm-text-primary);
  line-height: 1.2;
}

.odm-seller-profile__email {
  font-size: 14px;
  color: var(--odm-text-secondary);
  word-break: break-word;
}

.odm-seller-profile__tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}


.odm-seller-card--span-full {
  grid-column: 1 / -1;
}

.odm-buyer-settings-modal.odm-account-topup-modal .odm-account-topup-modal__panel,
.odm-seller-settings-modal.odm-account-topup-modal .odm-account-topup-modal__panel {
  width: min(560px, 100%);
}

.odm-seller-settings-modal__body,
.odm-buyer-settings-modal__body {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-height: min(78vh, 640px);
  overflow-y: auto;
  padding-bottom: 12px;
}

.odm-user-settings-stack {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.odm-user-settings-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.odm-user-settings-block:first-child {
  border-top: none;
  padding-top: 0;
}

.odm-user-settings-block .odm-seller-field {
  margin-bottom: 0;
}

.odm-user-settings-upload-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.odm-user-settings-upload-col .odm-seller-avatar-upload {
  width: 100%;
}

.odm-user-settings-upload-col .odm-seller-avatar-upload__btn {
  width: 100%;
  box-sizing: border-box;
  justify-content: center;
}

.odm-seller-banner-clear--full {
  width: 100%;
  box-sizing: border-box;
  justify-content: center;
  margin-top: 0;
}

.odm-user-settings-tg-row {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 10px;
  width: 100%;
  margin-top: 8px;
}

.odm-user-settings-tg-row .odm-account__btn {
  flex: 1 1 0;
  min-width: 0;
  justify-content: center;
}

.odm-user-settings-footer {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.odm-user-settings-footer.odm-seller-settings-modal__actions {
  justify-content: stretch;
  margin-top: 12px;
  padding-top: 18px;
  flex-wrap: nowrap;
}

.odm-user-settings-footer .odm-account__btn {
  width: 100%;
  min-width: 0;
}

.odm-user-settings-footer.odm-account-topup-modal__actions--single > .odm-account__btn {
  width: 100%;
  min-width: 0;
}

.odm-seller-settings-modal__actions > .odm-account__btn {
  min-width: 0;
  width: 100%;
}


.odm-seller-field--telegram {
  margin-top: 0;
  padding-top: 0;

}

.odm-user-settings-block--telegram .odm-seller-tg-status {
  font-size: 13px;
  line-height: 1.45;
  margin: 0 0 2px;
  color: var(--odm-text-secondary);
}

.odm-seller-field--telegram .odm-seller-label {
  margin-bottom: 4px;
}

.odm-seller-label--telegram-text {
  font-size: 12px !important;
  line-height: 1.4 !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em !important;
  color: var(--odm-text-secondary) !important;
}

.odm-seller-banner-clear {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 9px 12px;
  border-radius: 12px;

  background: var(--odm-input-bg);
  cursor: pointer;
  user-select: none;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.odm-seller-banner-clear:hover {

  background: var(--odm-input-focus-bg);
}

.odm-seller-banner-clear:focus-within {

  box-shadow: 0 0 0 3px rgba(255, 165, 87, 0.18);
}

.odm-seller-banner-clear__input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.odm-seller-banner-clear__box {
  width: 20px;
  height: 20px;
  border-radius: 7px;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.odm-seller-banner-clear__text {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--odm-text-secondary);
}

.odm-seller-banner-clear__input:checked + .odm-seller-banner-clear__box {

  background: rgba(239, 68, 68, 0.18);
  color: #fca5a5;
}

.odm-seller-banner-clear__input:checked ~ .odm-seller-banner-clear__text {
  color: #fca5a5;
}

@media (max-width: 640px) {
  .odm-seller-settings-modal__actions,
  .odm-account-topup-modal__actions--single,
  .odm-user-settings-tg-row {
    flex-wrap: wrap;
  }

  .odm-seller-settings-modal__actions > .odm-account__btn,
  .odm-account-topup-modal__actions--single > .odm-account__btn,
  .odm-user-settings-tg-row .odm-account__btn {
    width: 100%;
    flex: 1 1 100%;
    min-width: 0;
  }
}

.odm-seller-file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;

}

.odm-seller-avatar-upload {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.odm-seller-avatar-upload__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 12px;

  background: linear-gradient(180deg, rgba(42, 38, 34, 0.95), var(--odm-surface-mid));
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--odm-text-primary);
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.odm-seller-avatar-upload__btn:hover {


  box-shadow: 0 6px 18px rgba(255, 140, 66, 0.12);
}

.odm-seller-avatar-upload__btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 165, 87, 0.35);
}

.odm-seller-avatar-upload__btn i {
  font-size: 1.15rem;
  color: var(--odm-accent);
}

.odm-seller-field-hint--error {
  color: #c41545;
  font-weight: 600;
  margin-top: 10px;
}

.odm-seller-withdraw-warn {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: 12px;

  background: linear-gradient(135deg, rgba(60, 48, 32, 0.75), rgba(38, 38, 38, 0.98));
  color: #ffd4b8;
  font-size: 13px;
  line-height: 1.45;
}

/* display:flex выше перебивает нативное скрытие по [hidden] — иначе виден «пустой» блок с иконкой */
.odm-seller-withdraw-warn[hidden] {
  display: none !important;
}

.odm-seller-withdraw-warn__icon {
  flex-shrink: 0;
  margin-top: 1px;
  font-size: 1.1rem;
  color: #d97706;
}

.odm-seller-withdraw-warn__text {
  margin: 0;
  font-weight: 600;
}

.odm-seller-field--file-drop .odm-seller-label {
  margin-bottom: 8px;
}

.odm-seller-file-drop {
  position: relative;
}

.odm-seller-file-drop__zone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 120px;
  padding: 20px 18px;
  border-radius: 16px;

  background: linear-gradient(165deg, #2a2a2a 0%, var(--odm-surface) 55%, #222);
  cursor: pointer;
  text-align: center;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.odm-seller-file-drop__zone:hover {


  box-shadow: 0 8px 28px rgba(255, 140, 66, 0.1);
}

.odm-seller-file-drop__zone:focus-within {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 165, 87, 0.35);
}

.odm-seller-file-drop__zone--image {
  min-height: 132px;

  background: linear-gradient(155deg, #2e2a26 0%, var(--odm-surface) 45%, #262626);
}

.odm-seller-file-drop__zone--lines {
  min-height: 128px;

  background: linear-gradient(160deg, #2a2c30 0%, var(--odm-surface) 50%, #242628);
}

.odm-seller-file-drop__zone--lines:hover {

}

.odm-seller-file-drop__icon {
  font-size: 2rem;
  color: #c2410c;
  line-height: 1;
}

.odm-seller-file-drop__zone--lines .odm-seller-file-drop__icon {
  color: var(--odm-text-secondary);
}

.odm-seller-file-drop__title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  color: var(--odm-text-primary);
  letter-spacing: -0.02em;
}

.odm-seller-file-drop__meta {
  font-size: 12px;
  line-height: 1.4;
  color: var(--odm-text-secondary);
  max-width: 32ch;
}

.odm-seller-file-drop__filename {
  display: inline-block;
  margin-top: 4px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: #86efac;
  background: rgba(34, 197, 94, 0.18);

  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.odm-seller-file-drop__filename--required {
  color: #9a3412;
  background: rgba(251, 146, 60, 0.12);

}

.odm-page-seller .odm-page-seller__hide-cart {
  display: none !important;
}

.odm-seller-layout {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.odm-seller-card {
  padding: 22px 24px 24px;
  border-radius: 18px;
  background: var(--odm-surface);
  border: 1px solid var(--odm-border-light);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.28);
}

.odm-seller-card--wide {
  padding-bottom: 20px;
}

.odm-seller-card__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
  color: var(--odm-text-primary);
}

.odm-seller-card__lead {
  font-size: 14px;
  line-height: 1.55;
  color: var(--odm-text-secondary);
  margin: 0 0 18px;
  max-width: 56ch;
}

.odm-seller-card--wallet {
  padding: 0;
  overflow: hidden;

  background: transparent;
  box-shadow: none;
}

.odm-seller-card__wallet-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 26px;
  border-radius: 20px;
  background: linear-gradient(155deg, #2e2a26 0%, var(--odm-surface) 50%, #262626);
  border: 1px solid var(--odm-border-light);
  box-shadow: 0 12px 44px rgba(0, 0, 0, 0.35);
}

.odm-seller-card__wallet-main {
  flex: 1 1 220px;
  min-width: 0;
}

.odm-seller-card__wallet-hold {
  flex: 1 1 200px;
  min-width: 0;
  margin: 0;
  padding: 0 0 0 22px;
  border: 0;

  background: transparent;

  cursor: pointer;
  text-align: left;
  color: inherit;
  font: inherit;
  line-height: inherit;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.odm-seller-card__wallet-hold:hover {
  background: rgba(255, 165, 87, 0.06);
}

.odm-seller-card__wallet-hold:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 165, 87, 0.2);
  border-radius: 14px;
}

.odm-seller-card__sum--hold {
  color: #b45309;
}

.odm-seller-card__note--hold {
  max-width: 36ch;
}

.odm-seller-card__eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--odm-text-soft);
  margin-bottom: 6px;
}

.odm-seller-card__sum {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 2.65rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  margin: 0 0 8px;
  color: var(--odm-text-primary);
  line-height: 1.05;
}

.odm-seller-card__note {
  font-size: 14px;
  line-height: 1.5;
  color: var(--odm-text-secondary);
  margin: 0;
  max-width: 44ch;
}

.odm-seller-card__wallet-actions {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 10px;
  flex: 0 1 220px;
  align-items: stretch;
  justify-content: flex-start;
  align-content: stretch;
  min-width: min(100%, 220px);
}

.odm-seller-card__wallet-btn {
  flex: 0 0 auto;
  width: 100%;
  min-width: 0;
  justify-content: center;
  text-align: center;
}

.odm-seller-card__wallet-btn--primary {
  flex: 0 0 auto;
  width: 100%;
}

.odm-seller-card__wallet-btn--wide {
  flex: 0 0 auto;
  width: 100%;
}

@media (max-width: 640px) {
  .odm-seller-card__wallet-inner {
    flex-direction: column;
    align-items: stretch;
    padding: 20px 18px;
    gap: 18px;
  }

  .odm-seller-card__wallet-hold {
    padding-left: 0;

    padding-top: 16px;

  }

  .odm-seller-card__wallet-actions {
    flex: 1 1 auto;
    width: 100%;
  }
}

.odm-seller-field {
  margin-bottom: 14px;
}

.odm-seller-field:last-of-type {
  margin-bottom: 16px;
}

.odm-seller-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--odm-text-secondary);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}

.odm-seller-field-hint {
  margin: 8px 0 0;
  font-size: 12px;
  line-height: 1.45;
  color: var(--odm-text-soft);
}

.odm-seller-field-optional {
  color: rgba(255, 255, 255, 0.4);
  font-weight: 400;
}

.odm-seller-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.odm-seller-price-breakdown {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-top: 8px;
  font-size: 13px;
}

.odm-seller-price-breakdown__label {
  font-weight: 600;
  color: var(--odm-text-secondary);
}

.odm-seller-price-breakdown__value {
  font-weight: 700;
  color: var(--odm-text-primary);
  white-space: nowrap;
}

.odm-seller-input,
.odm-seller-textarea,
.odm-seller-select {
  width: 100%;
  box-sizing: border-box;
  font-family: var(--font-body);
  font-size: 15px;
  padding: 12px 14px;
  border-radius: 12px;

  background: var(--odm-input-bg);
  color: var(--odm-text-primary);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.odm-seller-input:focus,
.odm-seller-textarea:focus,
.odm-seller-select:focus {
  outline: none;

  box-shadow: 0 0 0 3px rgba(255, 165, 87, 0.18);
  background: var(--odm-input-focus-bg);
}

.odm-sp-tag-search {
  margin-bottom: 8px;
}

.odm-seller-label--tags-block {
  margin-top: 14px;
}

/* ——— /seller-product шаг 2: карточки в духе Shopify ——— */
.odm-sp-panel.odm-seller-card {
  padding: 22px clamp(14px, 3vw, 24px) 28px;
}

.odm-sp-form {
  margin: 0;
}

.odm-sp-editor {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.odm-sp-editor__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

@media (min-width: 1080px) {
  .odm-sp-editor__grid {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
    gap: clamp(18px, 2.4vw, 30px);
  }

  .odm-sp-editor__aside {
    position: sticky;
    top: calc(72px + var(--odm-safe-top, 0px));
    z-index: 2;
  }
}

.odm-sp-editor__main {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.odm-sp-editor__stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.odm-sp-card {
  margin: 0;
  padding: 0;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(
      165deg,
      rgba(255, 255, 255, 0.045) 0%,
      rgba(255, 255, 255, 0.02) 100%
    ),
    var(--odm-row-muted);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

.odm-sp-card--aside {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
}

.odm-sp-card__head {
  padding: 16px clamp(14px, 2.5vw, 20px) 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.12);
}

.odm-sp-card__title {
  margin: 0;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.odm-sp-card__title--classify {
  color: rgba(255, 255, 255, 0.92);
  font-size: 13px;
}

.odm-sp-card__subtitle {
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--odm-text-secondary);
}

.odm-sp-card__body {
  padding: clamp(14px, 2.2vw, 20px) clamp(14px, 2.5vw, 20px) 18px;
}

.odm-sp-field + .odm-sp-field {
  margin-top: 18px;
}

.odm-sp-field--tight {
  margin-top: 14px;
}

.odm-sp-field-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: flex-end;
}

.odm-sp-field--grow {
  flex: 1 1 160px;
  min-width: 0;
}

.odm-sp-field--narrow {
  flex: 0 0 120px;
  min-width: 100px;
}

.odm-sp-input--title {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.odm-sp-textarea {
  min-height: 120px;
}

.odm-sp-select-tight {
  margin-top: 8px;
}

.odm-sp-price-block {
  display: grid;
  gap: 16px 24px;
  grid-template-columns: 1fr;
}

@media (min-width: 560px) {
  .odm-sp-price-block {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.odm-sp-price-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.odm-sp-price-col .odm-seller-label {
  margin: 0;
}

.odm-sp-price-col--receive .odm-sp-commission-hint {
  margin-top: 2px;
}

.odm-sp-price-block__control {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: none;
}

.odm-sp-price-block__control .odm-seller-input {
  padding-right: 38px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.odm-sp-price-block__suffix {
  position: absolute;
  right: 14px;
  font-size: 15px;
  font-weight: 700;
  color: var(--odm-text-soft);
  pointer-events: none;
}

.odm-sp-price-readout {
  position: relative;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 44px;
  padding: 10px 38px 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.28);
}

.odm-sp-price-readout__value {
  font-size: 16px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--odm-text-primary);
}

.odm-sp-price-readout__suffix {
  position: absolute;
  right: 14px;
  font-size: 15px;
  font-weight: 700;
  color: var(--odm-text-soft);
  pointer-events: none;
}

.odm-sp-catalog-price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 171, 121, 0.08);
  border: 1px solid rgba(255, 171, 121, 0.22);
}

.odm-sp-catalog-price__label {
  font-size: 13px;
  font-weight: 600;
  color: var(--odm-text-secondary);
}

.odm-sp-catalog-price__value {
  font-size: 16px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--odm-text-primary);
}

.odm-sp-target-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.odm-sp-target {
  position: relative;
  display: block;
  cursor: pointer;
  margin: 0;
}

.odm-sp-target__input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.odm-sp-target__box {
  display: block;
  padding: 12px 14px;
  border-radius: 12px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.15);
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.odm-sp-target__input:checked + .odm-sp-target__box {
  border-color: rgba(255, 171, 121, 0.55);
  background: rgba(255, 171, 121, 0.1);
  box-shadow: 0 0 0 1px rgba(255, 171, 121, 0.2);
}

.odm-sp-target__input:focus-visible + .odm-sp-target__box {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 171, 121, 0.28);
}

.odm-sp-target__title {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--odm-text-primary);
}

.odm-sp-target__desc {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: var(--odm-text-soft);
  line-height: 1.35;
}

.odm-sp-aside-actions {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.odm-sp-aside-actions__row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.odm-sp-btn--wide {
  flex: 1 1 auto;
  min-width: 0;
}

.odm-sp-btn--primary {
  flex: 1 1 52%;
  min-width: 140px;
}

.odm-sp-aside-error.odm-account-topup-modal__error {
  margin: 0 !important;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 13px;
}

.odm-sp-file-zone--media {
  min-height: 164px;
}

.odm-sp-file-zone--lines {
  min-height: 124px;
}

.odm-sp-tags {
  margin-top: 4px;
}

.odm-sp-code {
  font-size: 0.85em;
  padding: 1px 6px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.07);
}

.odm-sp-sr-desc {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip-path: inset(50%) !important;
  clip: rect(0, 0, 1px, 1px) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.odm-sp-media-gallery-hint {
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.62);
}

.odm-sp-media-drop.odm-seller-field--file-drop {
  margin: 0;
}

.odm-sp-card--inventory .odm-seller-field--file-drop {
  margin-bottom: 0;
}

/* Шаг 2: тулбар «Создание товара», нумерация карточек, превью, советы */
.odm-sp-card__head-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.odm-sp-card__num:empty {
  visibility: hidden;
}

.odm-sp-card__num {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  color: #1a120d;
  background: linear-gradient(145deg, #ffb184 0%, #ff904a 100%);
  box-shadow: 0 2px 10px rgba(255, 144, 74, 0.38);
}

.odm-sp-card__head-text {
  flex: 1;
  min-width: 0;
}

.odm-sp-field__label-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.odm-sp-char-count {
  font-size: 12px;
  font-weight: 600;
  color: var(--odm-text-soft);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.odm-sp-create-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 20px;
  padding: 14px clamp(14px, 2vw, 20px);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.2);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.2);
}

.odm-sp-create-toolbar__left {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1 1 220px;
}

.odm-sp-create-toolbar__back {
  flex-shrink: 0;
}

.odm-sp-create-toolbar .odm-sp-create-toolbar__back.odm-account__btn {
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
}

.odm-sp-create-toolbar__back span {
  display: inline;
}

.odm-sp-create-toolbar__titles {
  flex: 1;
  min-width: 0;
}

.odm-sp-create-toolbar__title {
  margin: 0;
  font-family: Unbounded, system-ui, sans-serif;
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--odm-text-primary);
  line-height: 1.2;
}

.odm-sp-create-toolbar__lead {
  margin: 4px 0 0;
  font-size: 12px;
  line-height: 1.45;
  color: var(--odm-text-secondary);
  max-width: 42rem;
}

.odm-sp-create-toolbar__right {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-shrink: 0;
}

.odm-sp-create-toolbar .odm-sp-target-group--segmented {
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 0;
  margin: 0;
}

.odm-sp-create-toolbar .odm-sp-target--segment .odm-sp-target__box {
  padding: 0 14px;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border-width: 1px;
}

.odm-sp-create-toolbar .odm-sp-target--segment:first-child .odm-sp-target__box {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border-right-width: 1px;
}

.odm-sp-create-toolbar .odm-sp-target--segment:last-child .odm-sp-target__box {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  margin-left: -1px;
}

.odm-sp-create-toolbar .odm-sp-target--segment .odm-sp-target__title {
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

/* Иначе flex-сегмент с display:* может перебить UA [hidden] — «К существующей» остаётся видимой в услугах/Robux */
.odm-sp-create-toolbar .odm-sp-target--segment[hidden] {
  display: none !important;
}

.odm-sp-create-toolbar .odm-sp-target-group--single-mode .odm-sp-target--segment:not([hidden]) .odm-sp-target__box {
  border-radius: 12px !important;
  margin-left: 0 !important;
}

.odm-sp-target-group--segmented {
  flex-direction: row;
}

.odm-sp-target--segment .odm-sp-target__box {
  padding: 10px 14px;
}

.odm-sp-target--segment .odm-sp-target__title {
  font-size: 13px;
}

.odm-sp-create-toolbar__publish {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  padding: 10px 18px;
  min-height: 42px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
}

@media (max-width: 720px) {
  .odm-sp-create-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .odm-sp-create-toolbar__left {
    flex: 1 1 auto;
  }

  .odm-sp-create-toolbar__right {
    flex-wrap: wrap;
    justify-content: stretch;
  }

  .odm-sp-create-toolbar .odm-sp-target-group--segmented {
    flex: 1 1 auto;
    min-width: 0;
  }

  .odm-sp-create-toolbar .odm-sp-target--segment {
    flex: 1 1 0;
    min-width: 0;
  }

  .odm-sp-create-toolbar__publish {
    flex: 1 1 100%;
    min-height: 44px;
  }
}

.odm-sp-existing-row {
  padding: 14px clamp(14px, 2vw, 20px);
  border-radius: 12px;
  border: 1px dashed rgba(255, 171, 121, 0.38);
  background: rgba(255, 171, 121, 0.06);
}

.odm-sp-existing-row__inner {
  margin: 0;
}

.odm-sp-toolbar-error.odm-account-topup-modal__error {
  margin: 0 !important;
}

.odm-sp-seller-receive {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.odm-sp-seller-receive__label {
  font-size: 13px;
  font-weight: 600;
  color: var(--odm-text-secondary);
}

.odm-sp-seller-receive__value {
  font-size: 16px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.odm-sp-commission-hint {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  color: var(--odm-text-soft);
}

.odm-sp-media-main-label {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--odm-text-secondary);
}

.odm-sp-preview-card {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(
      165deg,
      rgba(255, 255, 255, 0.055) 0%,
      rgba(255, 255, 255, 0.02) 100%
    ),
    var(--odm-row-muted);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
  overflow: hidden;
  margin-bottom: 18px;
}

.odm-sp-preview-card__caption {
  margin: 0;
  padding: 12px 14px 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.odm-sp-preview-card .odm-sp-preview-product {
  margin: 10px 14px 16px;
  max-width: 100%;
}

.odm-sp-preview-card .odm-sp-preview-product .odm-product__game-visual {
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.14);
}

.odm-sp-tips {
  padding: 16px clamp(14px, 2vw, 18px);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.15);
}

.odm-sp-tips__title {
  margin: 0 0 12px;
  font-family: Unbounded, system-ui, sans-serif;
  font-size: 14px;
  font-weight: 800;
  color: var(--odm-text-primary);
}

.odm-sp-tips__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.odm-sp-tips__item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  line-height: 1.45;
  color: var(--odm-text-secondary);
}

.odm-sp-tips__item + .odm-sp-tips__item {
  margin-top: 12px;
}

.odm-sp-tips__icon {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.odm-sp-tips__item--a .odm-sp-tips__icon {
  background: rgba(255, 171, 121, 0.18);
  color: #ffb184;
}

.odm-sp-tips__item--b .odm-sp-tips__icon {
  background: rgba(167, 139, 250, 0.22);
  color: #c4b5fd;
}

.odm-sp-tips__item--c .odm-sp-tips__icon {
  background: rgba(74, 222, 128, 0.18);
  color: #86efac;
}

.odm-sp-tips__item--d .odm-sp-tips__icon {
  background: rgba(250, 204, 21, 0.18);
  color: #fde047;
}

.odm-sp-tips__item--e .odm-sp-tips__icon {
  background: rgba(96, 165, 250, 0.22);
  color: #93c5fd;
}

/* Компактное поле цены в карточке товара селлера (не на всю ширину) */
.odm-seller-input--price-card {
  width: 6.5rem;
  max-width: 100%;
  flex: 0 0 auto;
  padding: 8px 10px;
  font-size: 14px;
  line-height: 1.2;
  border-radius: 10px;
}

.odm-seller-textarea {
  resize: vertical;
  min-height: 88px;
  line-height: 1.45;
}

.odm-seller-file {
  font-size: 14px;
  width: 100%;
}

.odm-seller-form__actions {
  margin-top: 4px;
}

.odm-seller-toast {
  margin: 12px 0 0;
  font-size: 14px;
  color: #86efac;
  font-weight: 600;
}

.odm-seller-product-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.odm-seller-product-list--catalog {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  min-width: 0;
  max-width: 100%;
}

@media (min-width: 640px) {
  .odm-seller-product-list--catalog {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .odm-seller-product-list--catalog {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1320px) {
  .odm-seller-product-list--catalog {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.odm-seller-catalog-tile {
  margin: 0;
  padding: 0;
  list-style: none;
  min-width: 0;
  display: flex;
}

.odm-seller-catalog-tile__card.odm-product--game {
  margin: 0;
  height: 100%;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 10px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  box-sizing: border-box;
}

.odm-seller-catalog-tile__card .odm-product__game-visual {
  flex: 1 1 auto;
  min-height: 0;
  max-width: 100%;
}

.odm-seller-catalog-tile__badges {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  justify-content: flex-start;
  pointer-events: none;
  z-index: 4;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.odm-seller-catalog-tile__badges > :nth-child(n + 4) {
  display: none !important;
}

.odm-seller-catalog-tile__badges > * {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.odm-seller-catalog-tile__badges .odm-product__game-badge--kind {
  pointer-events: none;
}

.odm-seller-catalog-tile__badges .odm-seller-product-item__status {
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 8px;
}

.odm-seller-catalog-tile__badges .odm-seller-product-item__status--on {
  background: rgba(27, 96, 58, 0.72);
  color: #b8f5d0;
  border: 1px solid rgba(74, 222, 128, 0.25);
}

.odm-seller-catalog-tile__badges .odm-seller-product-item__status--off {
  background: rgba(64, 64, 74, 0.72);
  color: #e2e2ea;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.odm-seller-catalog-tile__badges .odm-seller-product-item__status--sold {
  background: rgba(142, 61, 10, 0.76);
  color: #fed7aa;
  border: 1px solid rgba(251, 146, 60, 0.3);
}

.odm-seller-catalog-tile__badges .odm-seller-product-item__status--pending {
  background: rgba(31, 82, 191, 0.72);
  color: #bfdbfe;
  border: 1px solid rgba(96, 165, 250, 0.35);
}

.odm-seller-catalog-tile__actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  padding: 10px;
  border-radius: 18px;
  background: rgba(18, 18, 20, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  box-sizing: border-box;
}

.odm-seller-catalog-tile__btn-edit {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  padding: 11px 14px;
  border-radius: 14px;
  box-sizing: border-box;
}

.odm-seller-catalog-tile__btn-edit .bi {
  margin-right: 6px;
  vertical-align: -0.1em;
}

.odm-seller-catalog-tile__btn-invalid {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
  padding: 10px 14px;
  border-radius: 14px;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: none;
  box-sizing: border-box;
}

.odm-seller-catalog-tile__btn-invalid strong {
  min-width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1;
  color: #232323;
  background: rgba(255, 255, 255, 0.9);
}

.odm-seller-catalog-tile__btn-invalid:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
}

.odm-seller-catalog-tile__btn-invalid--disabled,
.odm-seller-catalog-tile__btn-invalid--disabled:hover {
  cursor: default;
  opacity: 0.55;
  color: rgba(255, 255, 255, 0.68);
  background: rgba(255, 255, 255, 0.065);
}

.odm-seller-catalog-tile__btn-invalid--disabled strong {
  color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.14);
}

.odm-seller-catalog-tile__meta {
  font-size: 12px;
  color: var(--odm-text-secondary);
}

.odm-seller-product-list__empty {
  padding: 28px 16px;
  text-align: center;
  color: var(--odm-text-soft);
  font-size: 15px;
}

/* История продаж: превью | покупатель + товар × шт | сумма */
.odm-seller-sales-list > li.odm-seller-sale-item {
  list-style: none;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px 16px;
  align-items: center;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  background: var(--odm-surface);
  border: 1px solid var(--odm-border-light);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.2);
  box-sizing: border-box;
}

.odm-seller-sale-item__thumb-wrap {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;

  background: linear-gradient(145deg, #2a2c30 0%, var(--odm-surface-mid) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.odm-seller-sale-item__thumb-wrap--empty {
  color: #94a3b8;
  font-size: 1.35rem;
}

.odm-seller-sale-item__thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.odm-seller-sale-item__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.odm-seller-sales-list > li.odm-seller-sale-item + li.odm-seller-sale-item {
  margin-top: 0;
}

.odm-seller-sale-item__buyer {
  font-size: 14px;
  font-weight: 800;
  color: var(--odm-text-primary);
  line-height: 1.25;
  word-break: break-word;
}

.odm-seller-sale-item__product {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 10px;
  font-size: 13px;
  color: var(--odm-text-secondary);
  line-height: 1.35;
  min-width: 0;
}

.odm-seller-sale-item__product-name {
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.odm-seller-sale-item__qty {
  flex: 0 0 auto;
  font-weight: 700;
  color: var(--odm-text-secondary);
  font-variant-numeric: tabular-nums;
}

.odm-seller-sale-item__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  margin-top: 8px;
}

.odm-seller-sale-item__order {
  font-size: 12px;
  font-weight: 600;
  color: var(--odm-text-soft);
}

.odm-seller-sale-item__chat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  color: var(--odm-text-primary);
  text-decoration: none;
  background: rgba(255, 171, 121, 0.12);
  border: 1px solid rgba(255, 171, 121, 0.35);
  transition: filter 0.15s ease, background 0.15s ease;
}

.odm-seller-sale-item__chat:hover {
  filter: brightness(1.08);
  background: rgba(255, 171, 121, 0.18);
}

.odm-seller-sale-item__amount {
  font-size: 16px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: #86efac;
  text-align: right;
  white-space: nowrap;
  padding: 10px 16px;
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(34, 197, 94, 0.22) 0%, rgba(22, 101, 52, 0.45) 50%, rgba(15, 23, 18, 0.95) 100%);

  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

@media (min-width: 521px) {
  .odm-seller-sale-item__amount {
    margin-left: 4px;
  }
}

@media (max-width: 520px) {
  .odm-seller-sales-list > li.odm-seller-sale-item {
    grid-template-columns: auto 1fr;
    grid-template-areas:
      "thumb body"
      "amount amount";
    gap: 10px 12px;
    padding: 16px;
  }

  .odm-seller-sale-item__thumb-wrap {
    grid-area: thumb;
  }

  .odm-seller-sale-item__body {
    grid-area: body;
  }

  .odm-seller-sale-item__amount {
    grid-area: amount;
    text-align: center;
    margin-left: 0;
    margin-top: 4px;
  }

  .odm-seller-sale-item__product-name {
    white-space: normal;
  }
}

.odm-seller-product-item {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  border-radius: var(--radius-md);
  background: var(--odm-surface);
  border: 1px solid var(--odm-border-light);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}

.odm-seller-product-item:hover {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
}

.odm-seller-product-item__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  padding: 12px 16px;
  border-bottom: 1px solid var(--odm-border-light);
  background: var(--odm-row-muted);
}

.odm-seller-product-item__main {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: 0;
  padding: 14px 16px 12px;
  border-bottom: 1px solid var(--odm-border-light);
}

.odm-seller-product-item__id {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--odm-text-soft);
}

.odm-seller-product-item__status {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
}

.odm-seller-product-item__status--on {
  background: rgba(45, 122, 78, 0.12);
  color: #2d7a4e;
}

.odm-seller-product-item__status--off {
  background: rgba(120, 120, 130, 0.12);
  color: #5a5a66;
}

.odm-seller-product-item__status--sold {
  background: rgba(180, 83, 9, 0.12);
  color: #9a3412;
}

.odm-seller-product-item__status--pending {
  background: rgba(37, 99, 235, 0.12);
  color: #1d4ed8;
}

.odm-seller-lines-modal__ingest-hint {
  font-size: 13px;
  line-height: 1.45;
  color: var(--odm-text-secondary);
  margin: 0 0 10px;
}

.odm-seller-lines-modal__actions {
  margin-bottom: 12px;
}

/* Корзина: проверка при оформлении и ошибка выдачи строк */
.odm-cart-verify-modal .odm-account-topup-modal__panel {
  max-width: min(420px, 94vw);
}

.odm-cart-verify-hint {
  font-size: 13px;
  line-height: 1.45;
  color: var(--odm-text-secondary);
  margin: 12px 0 0;
}

.odm-checkout-verify-progress-wrap {
  margin: 4px 0 14px;
}

.odm-checkout-verify-product {
  font-size: 13px;
  font-weight: 600;
  color: var(--odm-text-secondary);
  text-align: center;
  margin: 0 0 10px;
  line-height: 1.35;
}

.odm-checkout-verify-stats[hidden],
.odm-checkout-verify-stats.is-hidden {
  display: none !important;
}

.odm-checkout-verify-progress {
  position: relative;
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.odm-checkout-verify-progress__fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, #ffab79, #ff8a4a);
  transition: width 0.35s ease;
}

.odm-checkout-verify-progress.is-indeterminate .odm-checkout-verify-progress__fill {
  width: 42%;
  min-width: 72px;
  animation: odm-checkout-verify-indet 1.05s ease-in-out infinite;
  opacity: 1;
}

@keyframes odm-checkout-verify-indet {
  0% {
    transform: translateX(-120%);
  }
  100% {
    transform: translateX(320%);
  }
}

.odm-checkout-verify-elapsed {
  font-size: 12px;
  color: var(--odm-text-soft);
  margin: 8px 0 0;
  text-align: center;
}

.odm-checkout-verify-stats {
  margin-top: 0;
}

.odm-checkout-verify-stats--two {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.odm-cart-verify-line {
  display: block;
  margin-top: 6px;
}

.odm-cart-verify-line:first-child {
  margin-top: 0;
}

.odm-cart-order-fail-intro {
  font-size: 14px;
  line-height: 1.55;
  color: var(--odm-text-secondary);
  margin: 0 0 14px;
}

.odm-cart-order-fail-intro p {
  margin: 0 0 12px;
}

.odm-cart-order-fail-intro p:last-child {
  margin-bottom: 0;
}

.odm-cart-order-fail-intro a {
  color: #c2410c;
  font-weight: 600;
  text-decoration: underline;
}

.odm-app-error-modal__text--detail {
  font-size: 13px;
  line-height: 1.5;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--odm-row-muted);

  margin: 0;
}

.odm-seller-wizard__head {
  margin-bottom: 22px;
}

.odm-seller-wizard__topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.odm-seller-wizard__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--odm-text-secondary);
  text-decoration: none;
  padding: 6px 10px;
  margin-left: -10px;
  border-radius: 10px;
  transition:
    color 0.15s ease,
    background 0.15s ease;
}

.odm-seller-wizard__back:hover {
  color: var(--odm-text-primary);
  background: var(--odm-row-muted);
}

.odm-seller-wizard__back:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 165, 87, 0.35);
}

.odm-seller-wizard__step-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--odm-text-soft);
  margin: 0;
}

.odm-seller-wizard__title {
  margin-bottom: 10px !important;
}

.odm-seller-wizard__lead {
  margin-bottom: 0 !important;
  max-width: 62ch;
}

.odm-seller-wizard__nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 24px;
}

.odm-seller-wizard__next {
  min-width: min(200px, 100%);
  padding-left: 28px;
  padding-right: 28px;
}

.odm-seller-choice-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: stretch;
}

@media (min-width: 520px) {
  .odm-seller-choice-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 720px) {
  .odm-seller-choice-grid--three {
    grid-template-columns: repeat(3, 1fr);
  }

  .odm-seller-choice-grid--flow {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  }
}

.odm-seller-choice-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
  min-height: 0;
  gap: 10px;
  padding: 18px 18px 20px;
  border-radius: 16px;
  border: 1px solid var(--odm-border-light);
  background: var(--odm-row-muted);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease,
    background 0.15s ease;
}

.odm-seller-choice-card:hover {
  background: var(--odm-surface-mid);
  border-color: rgba(255, 171, 121, 0.22);
}

.odm-seller-choice-card:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 165, 87, 0.35);
}

.odm-seller-choice-card.is-selected {
  background: linear-gradient(160deg, #3a3028 0%, var(--odm-surface) 100%);
  border-color: rgba(255, 171, 121, 0.35);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.odm-seller-choice-card__icon {
  font-size: 1.65rem;
  color: #c2410c;
  line-height: 1;
}

.odm-seller-choice-card__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.22;
  color: var(--odm-text-primary);
  min-height: 2.65em;
}

.odm-seller-choice-card__desc {
  font-size: 13px;
  color: var(--odm-text-secondary);
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.odm-seller-choice-card__desc code {
  font-size: 11px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  word-break: break-word;
  padding: 1px 5px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.35);
}

.odm-seller-field-hint--emphasis {
  font-size: 13px;
  color: var(--odm-text-secondary);
  margin-top: 6px;
}

.odm-seller-field-hint--emphasis code {
  font-size: 12px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  word-break: break-word;
}

.odm-seller-invalid-modal__panel {
  max-width: min(560px, 96vw);
}

.odm-seller-invalid-modal__body {
  padding-bottom: 4px;
}

.odm-seller-invalid-modal__toolbar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 10px;
}

.odm-seller-invalid-modal__field {
  display: block;
  width: 100%;
  margin: 0;
  padding: 14px 16px;

  border-radius: 12px;
  box-sizing: border-box;
  background: #0f172a;
  color: #e2e8f0;
  font-size: 12px;
  line-height: 1.45;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  resize: none;
  min-height: 220px;
  max-height: min(65vh, 520px);
  overflow: auto;
  white-space: pre;
  overflow-wrap: break-word;
  word-break: break-all;
}

.odm-seller-lines-modal__panel {
  max-width: min(560px, 96vw);
}

.odm-seller-lines-modal__body {
  max-height: min(70vh, 480px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.odm-seller-lines-modal__meta {
  font-size: 13px;
  color: var(--odm-text-secondary);
  margin: 0 0 10px;
}

.odm-seller-lines-modal__pre {
  margin: 0;
  padding: 14px 16px;
  border-radius: 12px;
  background: #0f172a;
  color: #e2e8f0;
  font-size: 12px;
  line-height: 1.45;
  white-space: pre-wrap;
  word-break: break-word;
  overflow: auto;
  flex: 1;
  min-height: 120px;
  max-height: min(55vh, 400px);
}

.odm-seller-edit-product-modal__panel {
  max-width: min(560px, 96vw);
}

.odm-seller-edit-product-modal__body {
  max-height: min(85vh, 720px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(148, 163, 184, 0.35) rgba(0, 0, 0, 0.12);
}

.odm-seller-edit-product-modal__body::-webkit-scrollbar {
  width: 6px;
}

.odm-seller-edit-product-modal__body::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.12);
  border-radius: 3px;
}

.odm-seller-edit-product-modal__body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.16);
  border-radius: 3px;
}

.odm-seller-edit-product-modal__body::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.24);
}

.odm-seller-edit-product-modal--shopify .odm-seller-edit-product-modal__panel {
  width: min(720px, 100%);
  max-width: none;
  max-height: min(92vh, 900px);
  display: flex;
  flex-direction: column;
}

.odm-seller-edit-product-modal--shopify .odm-seller-edit-product-modal__head {
  align-items: flex-start;
  padding: 18px 22px 16px;
  border-bottom: 1px solid var(--odm-border-light);
}

.odm-seller-edit-product-modal__head-main {
  min-width: 0;
  flex: 1;
  padding-right: 8px;
}

.odm-seller-edit-product-modal__eyebrow {
  margin: 0 0 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--odm-text-soft);
}

.odm-seller-edit-product-modal__submeta {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.4;
  color: var(--odm-text-secondary);
}

.odm-seller-edit-product-modal--shopify .odm-seller-edit-product-modal__body {
  flex: 1;
  min-height: 0;
  max-height: none;
  padding: 18px 22px 20px;
}

.odm-seller-edit-product-modal--shopify .odm-seller-edit-card__intro {
  margin-bottom: 12px;
}

.odm-seller-edit-shopify-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--odm-border-light);
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 12px;
}

.odm-seller-edit-product-modal--shopify .odm-seller-edit-card__section.odm-seller-edit-shopify-card {
  padding: 16px 18px;
  margin-bottom: 12px;
  border-top: none;
}

.odm-seller-edit-card__actions-row > span {
  display: block;
  min-width: 0;
}

.odm-seller-edit-card__actions-row > span .odm-seller-edit-card__btn {
  width: 100%;
}

.odm-seller-edit-product-modal__sticky-footer {
  flex-shrink: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  padding: 14px 22px 18px;
  border-top: 1px solid var(--odm-border-light);
  background: var(--odm-surface);
}

.odm-seller-edit-product-modal__sticky-footer .odm-seller-edit-card__btn {
  width: auto;
  min-width: 0;
}

.odm-seller-edit-product-modal__sticky-footer .odm-seller-edit-card__btn--primary {
  min-width: 120px;
}

.odm-seller-edit-product-modal--shopify .odm-seller-edit-card__title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: var(--odm-text-primary);
  margin-bottom: 8px;
}

@media (max-width: 480px) {
  .odm-seller-edit-product-modal__sticky-footer {
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .odm-seller-edit-product-modal__sticky-footer .odm-seller-edit-card__btn {
    width: 100%;
  }
}

.odm-seller-edit-card {
  display: flex;
  flex-direction: column;
}

.odm-seller-edit-card__intro {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 2px;
}

.odm-seller-edit-card__meta {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--odm-text-secondary);
}

.odm-seller-edit-card__store-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  max-width: 100%;
  padding: 6px 10px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--odm-text-primary);
  text-decoration: none;
  border: 1px solid var(--odm-border-light);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.odm-seller-edit-card__store-link:hover {
  border-color: var(--odm-border-mid);
  color: var(--odm-accent);
  background: rgba(255, 255, 255, 0.06);
}

.odm-seller-edit-card__section {
  padding: 14px 0;
  border-top: 1px solid var(--odm-border-light);
}

.odm-seller-edit-card__title {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--odm-text-soft);
}

.odm-seller-edit-card__lead {
  margin: 0 0 10px;
  font-size: 12px;
  line-height: 1.45;
  color: var(--odm-text-secondary);
}

.odm-seller-edit-card__actions-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.odm-seller-edit-card__actions-row > .odm-seller-edit-card__btn--danger-ghost {
  grid-column: 1 / -1;
}

.odm-seller-edit-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 12px;
  margin: 0;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.2;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  box-sizing: border-box;
  width: 100%;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, filter 0.15s ease;
}

.odm-seller-edit-card__btn .bi {
  font-size: 1rem;
  opacity: 0.88;
  flex-shrink: 0;
}

.odm-seller-edit-card__btn--sm {
  min-height: 34px;
  padding: 0 10px;
  font-size: 12px;
}

.odm-seller-edit-card__btn--primary {
  background: var(--odm-accent);
  color: #1a1208;
  border-color: transparent;
}

.odm-seller-edit-card__btn--primary:hover {
  filter: brightness(1.06);
}

.odm-seller-edit-card__btn--ghost {
  background: transparent;
  color: var(--odm-text-primary);
  border-color: var(--odm-border-mid);
}

.odm-seller-edit-card__btn--ghost:hover {
  border-color: var(--odm-text-soft);
  background: rgba(255, 255, 255, 0.05);
}

.odm-seller-edit-card__btn--secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--odm-text-primary);
  border-color: var(--odm-border-light);
}

.odm-seller-edit-card__btn--secondary:hover {
  border-color: var(--odm-border-mid);
  background: rgba(255, 255, 255, 0.08);
}

.odm-seller-edit-card__btn--danger-ghost {
  background: transparent;
  color: #e57373;
  border-color: rgba(229, 115, 115, 0.28);
}

.odm-seller-edit-card__btn--danger-ghost:hover {
  background: rgba(229, 115, 115, 0.08);
  border-color: rgba(229, 115, 115, 0.42);
  color: #ef9a9a;
}

.odm-seller-edit-card__btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px rgba(255, 140, 66, 0.28);
}

.odm-seller-edit-card__footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
  padding-top: 14px;
  margin-top: 2px;
  border-top: 1px solid var(--odm-border-light);
}

.odm-seller-edit-card__footer .odm-seller-edit-card__btn {
  width: auto;
  min-width: 0;
}

.odm-seller-edit-card__footer .odm-seller-edit-card__btn--primary {
  min-width: 108px;
}

.odm-seller-edit-card__error {
  margin: 8px 0 0;
}

.odm-seller-edit-card__switch-row {
  margin: 0;
}

.odm-seller-edit-card__switch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  cursor: pointer;
}

.odm-seller-edit-card__switch span {
  font-size: 14px;
  color: var(--odm-text-primary);
}

.odm-seller-edit-card__upload .odm-seller-edit-card__upload-btn {
  min-height: 36px;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--odm-border-light);
  box-shadow: none;
}

.odm-seller-edit-card__upload .odm-seller-edit-card__upload-btn:hover {
  border-color: var(--odm-border-mid);
  box-shadow: none;
}

.odm-seller-edit-card__control:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px rgba(255, 140, 66, 0.28);
}

@media (max-width: 400px) {
  .odm-seller-edit-card__actions-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .odm-seller-edit-card__footer {
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .odm-seller-edit-card__footer .odm-seller-edit-card__btn {
    width: 100%;
  }
}

.odm-seller-edit-product-modal__flags {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 20px;
  align-items: center;
}

.odm-seller-edit-product-modal__flag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--odm-text-primary);
  cursor: pointer;
  margin: 0;
}

.odm-seller-edit-product-modal__flag input {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: var(--odm-accent, #ffab79);
}

.odm-seller-edit-lines__toolbar {
  margin: 8px 0 10px;
}

.odm-seller-edit-lines__toolbar .odm-seller-edit-card__btn {
  width: auto;
}

#odmSellerEditProductLinesAddBtn.odm-seller-edit-card__btn {
  width: fit-content;
  max-width: 100%;
}

.odm-seller-edit-lines__count-note {
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.45;
  color: var(--odm-text-secondary);
}

.odm-seller-edit-lines__list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: min(28vh, 240px);
  overflow: auto;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.45);
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.odm-seller-edit-lines__row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  font-size: 13px;
  line-height: 1.4;
}

.odm-seller-edit-lines__row:last-child {
  border-bottom: 0;
}

.odm-seller-edit-lines__row input[type="checkbox"] {
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: var(--odm-accent, #ffab79);
}

.odm-seller-edit-lines__preview {
  flex: 1;
  min-width: 0;
  color: var(--odm-text-primary);
  word-break: break-word;
  white-space: pre-wrap;
}

.odm-seller-edit-lines__id {
  flex-shrink: 0;
  font-size: 11px;
  color: var(--odm-text-secondary);
  font-variant-numeric: tabular-nums;
}

.odm-seller-edit-lines__add {
  margin-top: 8px;
  margin-bottom: 10px;
}

.odm-seller-delete-product__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--odm-text-secondary);
}

.odm-seller-price-modal__meta {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.45;
  color: var(--odm-text-secondary);
}

.odm-seller-price-modal__actions {
  margin-top: 16px;
}

.odm-seller-product-item__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--odm-text-primary);
  line-height: 1.35;
}

.odm-seller-product-item__main .odm-seller-product-item__title {
  margin: 0;
}

.odm-seller-product-item__thumb {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  object-fit: cover;
  background: var(--odm-surface-mid);
  flex: 0 0 56px;
  border: 1px solid var(--odm-border-light);
}

.odm-seller-product-item__thumb--placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--odm-text-soft);
}

.odm-seller-product-item__info {
  display: grid;
  gap: 14px 20px;
  align-items: start;
  margin: 0;
  padding: 0 16px 14px;
}

@media (min-width: 560px) {
  .odm-seller-product-item__info {
    grid-template-columns: minmax(0, 1fr) auto;
  }
}

.odm-seller-product-item__details {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  color: var(--odm-text-secondary);
  min-width: 0;
}

.odm-seller-product-item__kindline {
  color: var(--odm-text-soft);
}

.odm-seller-product-item__buyer-price {
  color: var(--odm-text-secondary);
}

.odm-seller-product-item__buyer-price strong {
  font-weight: 700;
  color: var(--odm-text-primary);
}

.odm-seller-product-item__stock-block {
  justify-self: end;
  text-align: right;
  align-self: start;
}

@media (max-width: 559px) {
  .odm-seller-product-item__stock-block {
    justify-self: stretch;
    text-align: left;
    padding-top: 12px;
    margin-top: 2px;

  }
}

.odm-seller-product-item__stock-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--odm-text-secondary);
  line-height: 1.4;
}

.odm-seller-product-item__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 12px 16px 16px;
  margin: 0;
  border-top: 1px solid var(--odm-border-light);
  background: var(--odm-row-muted);
}

.odm-seller-product-item__upload {
  cursor: pointer;
}

/* ——— История покупок: таблица заказов ——— */
.odm-ph-table {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-md);
  border: 1px solid var(--odm-border-light);
  background: var(--odm-surface);
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 2px 12px rgba(0, 0, 0, 0.12);
}

.odm-ph-table__toolbar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 10px 14px;
  border-bottom: 1px solid var(--odm-border-light);
  background: rgba(255, 255, 255, 0.02);
}

.odm-ph-table__dates {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.odm-ph-table__dates-icon {
  font-size: 1rem;
  color: var(--odm-text-soft);
}

.odm-ph-table__date-input {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--odm-text-primary);
  background: var(--odm-input-bg);
  border: 1px solid var(--odm-border-mid);
  border-radius: 8px;
  padding: 6px 10px;
  min-height: 34px;
  color-scheme: dark;
}

.odm-ph-table__date-input:focus-visible {
  outline: none;
  border-color: var(--odm-accent);
  box-shadow: 0 0 0 2px rgba(255, 140, 66, 0.25);
}

.odm-ph-table__date-sep {
  color: var(--odm-text-soft);
  font-weight: 700;
  user-select: none;
}

.odm-ph-table__date-clear {
  margin: 0;
  padding: 6px 10px;
  border: none;
  border-radius: 8px;
  background: rgba(255, 165, 87, 0.12);
  color: var(--odm-accent);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.odm-ph-table__date-clear:hover {
  background: rgba(255, 165, 87, 0.2);
}

.odm-ph-table__head,
.odm-ph-row__main,
.odm-ph-row__sub {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(0, 1.1fr) 100px minmax(88px, 1fr) 36px;
  gap: 8px 14px;
  align-items: center;
  padding-left: 14px;
  padding-right: 14px;
}

.odm-ph-table__head {
  padding-top: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--odm-border-light);
  background: rgba(0, 0, 0, 0.14);
}

.odm-ph-table__sort {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--odm-text-soft);
  cursor: pointer;
  text-align: left;
}

.odm-ph-table__sort:hover {
  color: var(--odm-text-primary);
}

.odm-ph-table__sort.is-active {
  color: var(--odm-accent);
}

.odm-ph-table__sort .bi {
  font-size: 0.82rem;
  opacity: 0.8;
}

.odm-ph-table__head-toggle {
  display: block;
}

.odm-ph-table__list.odm-account__ph-list {
  gap: 0;
  border-radius: 0;
}

.odm-ph-row {
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  list-style: none;
  border-bottom: 1px solid var(--odm-border-light);
}

.odm-ph-row:last-child {
  border-bottom: none;
}

.odm-ph-row__main {
  width: 100%;
  min-height: 60px;
  padding-top: 10px;
  padding-bottom: 10px;
  margin: 0;
  border: none;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
  transition: background 0.15s ease;
}

.odm-ph-row__main:hover,
.odm-ph-row.is-expanded .odm-ph-row__main {
  background: rgba(255, 255, 255, 0.035);
}

.odm-ph-row__main:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 2px rgba(255, 140, 66, 0.35);
}

.odm-ph-row__cell--album {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.odm-ph-row__thumb-wrap {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--odm-row-muted);
  border: 1px solid var(--odm-border-light);
}

.odm-ph-row__thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.odm-ph-row__thumb--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: var(--odm-text-soft);
  font-size: 1.1rem;
}

.odm-ph-row__album-text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.odm-ph-row__title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--odm-text-primary);
  line-height: 1.25;
}

.odm-ph-row__more {
  font-size: 11px;
  font-weight: 700;
  color: var(--odm-text-soft);
}

.odm-ph-row__seller {
  font-size: 13px;
  font-weight: 600;
  color: var(--odm-text-secondary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.odm-ph-row__seller--empty {
  color: var(--odm-text-soft);
  font-weight: 500;
}

.odm-ph-row__amount {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--odm-price);
  white-space: nowrap;
}

.odm-ph-row__cell--date time {
  font-size: 13px;
  line-height: 1.3;
  color: var(--odm-text-secondary);
  white-space: nowrap;
}

.odm-ph-row__cell--toggle {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.odm-ph-row__chevron {
  font-size: 1.05rem;
  color: var(--odm-text-soft);
  transition: transform 0.2s ease, color 0.15s ease;
}

.odm-ph-row__chevron.is-open {
  transform: rotate(180deg);
  color: var(--odm-accent);
}

.odm-ph-row__details {
  border-top: 1px solid var(--odm-border-light);
  background: rgba(0, 0, 0, 0.12);
}

.odm-ph-row__subs {
  padding: 0;
}

.odm-ph-row__sub {
  min-height: 44px;
  padding-top: 8px;
  padding-bottom: 8px;
  border-top: 1px solid var(--odm-border-light);
}

.odm-ph-row__sub:first-child {
  border-top: none;
}

.odm-ph-row__sub-inner {
  padding-left: 56px;
  min-width: 0;
}

.odm-ph-row__sub-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--odm-text-primary);
}

.odm-ph-row__qty {
  display: inline-block;
  margin-right: 6px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--odm-accent);
}

.odm-ph-row__sub-price {
  font-size: 13px;
  font-weight: 700;
  color: var(--odm-text-secondary);
}

.odm-ph-row__sub-note {
  margin-top: 4px;
}

.odm-ph-row__sub-note .odm-account__ph-line-note {
  max-width: none;
  white-space: normal;
}

.odm-ph-row__sub-review {
  margin-top: 6px;
}

.odm-ph-row__review-btn {
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  color: var(--odm-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.odm-ph-row__review-btn:hover {
  color: var(--odm-price);
}

.odm-ph-row__review-done {
  font-size: 12px;
  font-weight: 600;
  color: var(--odm-text-soft);
}

.odm-ph-row__footer {
  padding: 12px 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid var(--odm-border-light);
}

.odm-ph-row__footer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
}

.odm-ph-row__order-id {
  font-size: 12px;
  font-weight: 700;
  color: var(--odm-text-soft);
}

.odm-ph-row__footer-reviews {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
}

.odm-ph-row__footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.odm-ph-row__footer .odm-account__purchase-instruction {
  border-radius: var(--radius-sm);
  border: 1px solid var(--odm-border-light);
  overflow: hidden;
}

@media (max-width: 720px) {
  .odm-ph-table__head {
    display: none;
  }

  .odm-ph-row__main,
  .odm-ph-row__sub {
    grid-template-columns: minmax(0, 1fr) 88px 28px;
    grid-template-rows: auto auto;
    gap: 6px 10px;
    padding-left: 12px;
    padding-right: 12px;
  }

  .odm-ph-row__cell--album {
    grid-column: 1 / -2;
    grid-row: 1;
  }

  .odm-ph-row__cell--seller {
    grid-column: 1;
    grid-row: 2;
  }

  .odm-ph-row__cell--amount {
    grid-column: 2;
    grid-row: 1 / 3;
    justify-self: end;
    align-self: center;
  }

  .odm-ph-row__cell--date {
    display: none;
  }

  .odm-ph-row__cell--toggle {
    grid-column: 3;
    grid-row: 1 / 3;
    align-self: center;
  }

  .odm-ph-row__sub .odm-ph-row__cell--seller,
  .odm-ph-row__sub .odm-ph-row__cell--date,
  .odm-ph-row__sub .odm-ph-row__cell--toggle {
    display: none;
  }

  .odm-ph-row__sub {
    grid-template-columns: 1fr auto;
  }

  .odm-ph-row__sub-inner {
    padding-left: 0;
  }
}

/* ——— История покупок: карточка заказа и строки товаров (legacy strip) ——— */
.odm-account__ph-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.odm-account__ph-empty {
  margin: 0;
  padding: 28px 20px;
  text-align: center;
  border-radius: var(--radius-md);
  background: var(--odm-surface);
  border: 1px dashed var(--odm-border-mid);
  color: var(--odm-text-secondary);
  font-size: 15px;
  line-height: 1.5;
}

.odm-account__ph-empty p {
  margin: 0;
}

.odm-account__ph-empty a {
  color: var(--odm-accent);
  font-weight: 700;
  text-decoration: none;
}

.odm-account__ph-empty a:hover {
  text-decoration: underline;
}

.odm-account__ph-order {
  display: block;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.odm-account__ph-order:hover {
  border-color: transparent;
  box-shadow: none;
}

.odm-account__ph-order-strip {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 10px 12px;
  padding: 8px 12px;
  min-height: 44px;
  border-radius: 10px;
  background: var(--odm-surface);
  border: 1px solid var(--odm-border-light);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 1px 2px rgba(0, 0, 0, 0.08);
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.odm-account__ph-order:hover .odm-account__ph-order-strip {
  border-color: var(--odm-border-mid);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05) inset, 0 2px 8px rgba(0, 0, 0, 0.14);
}

.odm-account__ph-strip-meta {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 6px 8px;
  flex-shrink: 0;
}

.odm-account__ph-strip-meta .odm-account__purchase-status {
  padding: 3px 8px;
  font-size: 9px;
}

.odm-account__ph-strip-actions {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.odm-account__ph-strip-lines {
  flex: 1 1 auto;
  min-width: 0;
}

.odm-account__ph-strip-tail {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.odm-account__ph-strip-hint {
  font-size: 11px;
  font-weight: 600;
  color: var(--odm-text-soft);
  white-space: nowrap;
}

.odm-account__ph-head-id {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--odm-text-primary);
  line-height: 1.2;
  white-space: nowrap;
}

.odm-account__ph-head-sep {
  color: var(--odm-text-soft);
  font-weight: 600;
  user-select: none;
}

.odm-account__ph-head-date {
  font-size: 13px;
  line-height: 1.2;
  color: var(--odm-text-secondary);
  white-space: nowrap;
}

.odm-account__ph-head-total {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--odm-price);
  white-space: nowrap;
}

.odm-account__ph-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 32px;
  padding: 0 10px;
  margin: 0;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.2;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  box-sizing: border-box;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, filter 0.15s ease;
}

.odm-account__ph-action .bi {
  font-size: 1rem;
  opacity: 0.92;
  flex-shrink: 0;
}

.odm-account__ph-action--solid {
  background: var(--odm-accent);
  color: #1a1208;
  border-color: transparent;
}

.odm-account__ph-action--solid:hover {
  filter: brightness(1.06);
}

.odm-account__ph-action--outline {
  background: transparent;
  color: var(--odm-text-primary);
  border-color: var(--odm-border-mid);
}

.odm-account__ph-action--outline:hover {
  border-color: var(--odm-accent);
  color: var(--odm-accent);
}

.odm-account__ph-action:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px rgba(255, 140, 66, 0.32);
}

.odm-account__ph-lines {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
}

.odm-account__ph-lines--strip {
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 10px 14px;
  min-width: 0;
}

.odm-account__ph-line {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  padding: 0;
  margin: 0;
  border: none;
  flex: 0 1 auto;
  min-width: 0;
  max-width: min(440px, 52vw);
}

.odm-account__ph-lines--strip .odm-account__ph-line + .odm-account__ph-line {
  padding-left: 12px;
  border-left: 1px solid var(--odm-border-light);
}

.odm-account__ph-thumb-wrap {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.odm-account__ph-thumb {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--odm-border-light);
  background: var(--odm-surface-mid);
  display: block;
}

.odm-account__ph-thumb--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  border: 1px solid var(--odm-border-light);
  color: var(--odm-text-soft);
  font-size: 1.15rem;
}

.odm-account__ph-line-core {
  min-width: 0;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 6px 10px;
}

.odm-account__ph-line-top {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px 10px;
  flex: 1 1 auto;
  min-width: 0;
}

.odm-account__ph-line-titles {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 6px 8px;
  min-width: 0;
}

.odm-account__ph-qty {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--odm-border-light);
  color: var(--odm-text-secondary);
  flex-shrink: 0;
}

.odm-account__ph-line-name {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--odm-text-primary);
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.odm-account__ph-line-name .odm-account__purchase-link--product {
  color: inherit;
  text-decoration: none;
}

.odm-account__ph-line-name .odm-account__purchase-link--product:hover {
  color: var(--odm-price);
}

.odm-account__ph-line-name .odm-account__purchase-seller {
  font-weight: 500;
  font-size: 12px;
}

.odm-account__ph-line-name .odm-account__purchase-link--seller {
  color: var(--odm-text-secondary);
  text-decoration: none;
}

.odm-account__ph-line-name .odm-account__purchase-link--seller:hover {
  color: var(--odm-price);
}

.odm-account__ph-line-price {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--odm-price);
  white-space: nowrap;
  flex-shrink: 0;
}

.odm-account__ph-line-note {
  margin: 0;
  font-size: 10px;
  line-height: 1.3;
  color: var(--odm-text-soft);
  max-width: 160px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex-shrink: 0;
}

.odm-account__ph-review {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 4px 6px;
  flex-shrink: 0;
}

.odm-account__ph-pos {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--odm-text-soft);
}

.odm-account__ph-review-btn {
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  color: var(--odm-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
}

.odm-account__ph-review-btn:hover {
  color: var(--odm-price);
}

.odm-account__ph-review-btn:focus-visible {
  outline: none;
  border-radius: 4px;
  box-shadow: 0 0 0 2px rgba(255, 140, 66, 0.35);
}

.odm-account__ph-details {
  margin: 0;
  border-top: 1px solid var(--odm-border-light);
  background: var(--odm-surface);
}

.odm-account__ph-details-sum {
  list-style: none;
  padding: 12px 16px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--odm-price);
  cursor: pointer;
  user-select: none;
  transition: background 0.15s ease;
}

.odm-account__ph-details-sum::-webkit-details-marker {
  display: none;
}

.odm-account__ph-details-sum:hover {
  background: rgba(255, 255, 255, 0.04);
}

.odm-account__ph-details[open] .odm-account__ph-details-sum {
  border-bottom: 1px solid var(--odm-border-light);
}

.odm-account__ph-details-body {
  margin: 0;
  padding: 12px 16px 14px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--odm-text-secondary);
}

.odm-account__ph-details-body .odm-product-page__steps {
  margin: 0;
  padding-left: 1.1rem;
}

.odm-account__ph-details-body .odm-product-page__prose {
  margin: 0;
}

.odm-account__ph-strip-tail .odm-account__ph-details {
  position: relative;
  border: none;
  background: transparent;
}

.odm-account__ph-strip-tail .odm-account__ph-details-sum {
  padding: 5px 8px;
  border-radius: 8px;
  font-size: 10px;
  white-space: nowrap;
}

.odm-account__ph-strip-tail .odm-account__ph-details-body {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  width: min(380px, 86vw);
  max-height: 260px;
  overflow-y: auto;
  z-index: 25;
  margin: 0;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--odm-border-light);
  background: var(--odm-surface);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.35);
}

.odm-account__ph-strip-tail .odm-account__ph-details[open] .odm-account__ph-details-sum {
  border-bottom: none;
}

.odm-account__ph-hint {
  padding: 8px 14px;
  border-top: 1px solid var(--odm-border-light);
  background: rgba(0, 0, 0, 0.14);
}

.odm-account__ph-hint-text {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  color: var(--odm-text-soft);
}

@media (max-width: 720px) {
  .odm-account__ph-line {
    max-width: min(320px, 42vw);
  }

  .odm-account__ph-action-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .odm-account__ph-action {
    position: relative;
    padding: 0 8px;
    min-width: 34px;
  }
}

@media (max-width: 520px) {
  .odm-account__ph-line-top {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
  }

  .odm-account__ph-line-price {
    align-self: center;
  }

  .odm-account__section-head--orders .odm-account__section-title {
    flex: 1 1 100%;
  }

  .odm-account__orders-toolbar {
    width: 100%;
    justify-content: space-between;
  }

  .odm-account__sort-select {
    flex: 1;
    max-width: none;
  }
}

.odm-account__purchase-seller {
  font-weight: 600;
  color: var(--odm-text-secondary);
  font-size: 0.92em;
}

.odm-account__purchase-instruction {
  margin: 0;
  padding: 14px 16px;
  border-radius: 0;
  border-top: 1px solid var(--odm-border-light);
  background: var(--odm-row-muted);
}

.odm-account__purchase-instruction-label {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.88rem;
  letter-spacing: -0.02em;
  color: var(--odm-accent);
}

.odm-account__purchase-instruction-body {
  font-size: 0.9rem;
  line-height: 1.4;
  color: var(--odm-text-secondary);
}

.odm-account__purchase-instruction-body .odm-product-page__steps {
  margin: 0.35em 0 0;
  padding-left: 1.2em;
  color: var(--odm-text-secondary);
}

.odm-account__purchase-download-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
}

.odm-account__purchase-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 12px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;

  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.odm-account__purchase-action-btn i {
  font-size: 1.05rem;
  opacity: 0.9;
}

.odm-account__purchase-action-btn--outline {
  background: var(--odm-input-bg);
  color: var(--odm-text-primary);

  box-shadow: none;
}

.odm-account__purchase-action-btn--outline:hover {

  color: var(--odm-accent);
  background: rgba(255, 165, 87, 0.1);
}

.odm-account__purchase-action-btn--solid {
  background: linear-gradient(180deg, #ffb366 0%, #ff9933 55%, #f57c1a 100%);
  color: #1a1208;

  box-shadow: 0 2px 8px rgba(245, 124, 26, 0.22);
}

.odm-account__purchase-action-btn--solid:hover {
  filter: brightness(1.04);
  box-shadow: 0 3px 12px rgba(245, 124, 26, 0.28);
}

.odm-account__purchase-action-btn:focus-visible {
  outline: 2px solid rgba(255, 140, 60, 0.55);
  outline-offset: 2px;
}

.odm-account__purchase-action-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

.odm-account__purchase-line-main {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  flex: 1 1 auto;
  min-width: 0;
}

.odm-account__purchase-line-copy {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.odm-account__seller-check-product .odm-account__purchase-link--product {
  color: inherit;
  text-decoration: none;

}

.odm-account__seller-check-product .odm-account__purchase-link--product:hover {
  color: var(--odm-price);
}

.odm-account__seller-check-product .odm-account__purchase-link--seller {
  color: #5c6875;
  text-decoration: none;

}

.odm-account__seller-check-product .odm-account__purchase-link--seller:hover {
  color: var(--odm-price);
}

.odm-account__purchase-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.odm-account__purchase-date {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--odm-text-secondary);
}

.odm-account__purchase-status {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

.odm-account__purchase-status--ok {
  background: rgba(16, 185, 129, 0.12);
  color: #047857;
}

.odm-account__purchase-status--done {
  background: rgba(34, 158, 217, 0.14);
  color: #0c6a9e;
}

.odm-account__purchase-status--wait {
  background: rgba(255, 165, 87, 0.2);
  color: #b45309;
}

.odm-account__purchase-price {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--odm-price);
  flex-shrink: 0;
  align-self: center;
  padding: 5px 9px;
  border-radius: 14px;
  background: rgba(255, 165, 87, 0.08);
}

.odm-account__purchase-secrets {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 2px;
}

.odm-account__purchase-toggle {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;

  border-radius: 12px;
  background: #f3f4f6;
  color: #374151;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.odm-account__purchase-toggle:hover {
  background: rgba(255, 165, 87, 0.16);

  color: #5c2f00;
}

.odm-account__purchase-toggle:focus-visible {
  outline: 2px solid rgba(255, 165, 87, 0.5);
  outline-offset: 2px;
}

.odm-account__purchase-toggle-chevron {
  font-size: 1rem;
  transition: transform 0.2s ease;
}

.odm-account__purchase-toggle.is-open .odm-account__purchase-toggle-chevron {
  transform: rotate(-180deg);
}

.odm-account__purchase-delivery-panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.odm-account__purchase-delivery-panel[hidden] {
  display: none !important;
}

.odm-account__purchase-delivery-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 6px;
}

.odm-account__purchase-delivery-row--single {
  flex-direction: column;
  align-items: flex-start;
}

.odm-account__purchase-delivery-row--single .odm-account__btn {
  width: auto;
  min-width: 240px;
  max-width: 100%;
  justify-content: center;
}

.odm-account__purchase-actions-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 260px));
  gap: 10px;
  align-items: stretch;
  margin-top: 6px;
}

.odm-account__purchase-actions-row > .odm-account__btn {
  width: 100%;
  min-height: 48px;
  justify-content: center;
  white-space: nowrap;
  line-height: 1;
}

.odm-account__purchase-review-pos--inline {
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #8a9299;
  align-self: center;
  margin-right: -4px;
}

.odm-account__purchase-dl.odm-account__btn {
  min-height: 46px;
}

.odm-account__purchase-dl:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.odm-account__purchase-hint {
  margin: 0;
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.45;
  color: var(--odm-text-secondary);
}

.odm-account__purchase-section {
  padding: 12px 14px;
  border-radius: 16px;
  background: #fbfbfc;

}

.odm-account__purchase-delivery {
  margin: 0;
  padding: 14px 16px;
  max-height: min(280px, 45vh);
  overflow: auto;
  border-radius: 12px;
  background: #f4f6f8;

  font-family: ui-monospace, "Cascadia Code", "Consolas", monospace;
  font-size: 12px;
  line-height: 1.5;
  white-space: pre-wrap;
  word-break: break-word;
  color: #1a1a1a;
}

.odm-account__purchase-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: stretch;
}

.odm-account__purchase-dl--ghost {
  background: transparent;
  color: #5c2f00;

}

.odm-account__purchase-dl--ghost:hover:not(:disabled) {
  background: rgba(255, 165, 87, 0.12);
  filter: none;
}

.odm-account__seller-check {
  margin: 0;
  padding: 14px;
  border-radius: 16px;

  background: #fbfbfc;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.odm-account__seller-check-title {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #6b7280;
}

.odm-account__seller-check-card {
  padding: 12px 0 0;
  margin: 0;

}

.odm-account__seller-check-card:first-of-type {
  padding-top: 0;

}

.odm-account__seller-check-pos {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9a6b4a;
}

.odm-account__seller-check-product {
  margin: 0 0 6px;
  font-weight: 700;
  font-size: 14px;
  color: #111;
}

.odm-account__seller-check-deadline {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.45;
  color: #6a7580;
}

.odm-account__seller-check-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 240px));
  gap: 10px;
  align-items: stretch;
}

.odm-account__seller-check-actions .odm-account__btn {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  white-space: nowrap;
  line-height: 1.1;
}

.odm-account__seller-check-actions a.odm-account__btn {
  text-decoration: none;
  box-sizing: border-box;
}

.odm-account__purchase-actions-row .odm-account__btn-review {
  background: rgba(255, 255, 255, 0.08);
  color: var(--odm-text-primary);

}

.odm-account__purchase-actions-row .odm-account__btn-review:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.12);

  color: var(--odm-accent);
}

.odm-account__purchase-item-footer .odm-account__purchase-action-btn {
  min-height: 40px;
  padding: 0 16px;
  font-size: 13px;
}

.odm-account__seller-check-actions .odm-account__purchase-hold-ok {
  background: rgba(16, 185, 129, 0.14);
  color: #047857;

}

.odm-account__seller-check-actions .odm-account__purchase-hold-ok:hover:not(:disabled) {
  filter: none;
  background: rgba(16, 185, 129, 0.2);
}

.odm-account__seller-check-actions a.odm-account__btn {
  background: rgba(239, 68, 68, 0.06);
  color: #b42318;

}

.odm-account__seller-check-actions a.odm-account__btn:hover:not(:disabled) {
  background: rgba(239, 68, 68, 0.1);
}

.odm-account__purchase-hold-ok:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.odm-account__purchase-reviews {
  margin: 14px 0 0;
  padding-top: 14px;

  display: flex;
  flex-direction: column;
  gap: 12px;
}

.odm-account__purchase-review-done {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.odm-account__purchase-review-chip .odm-account__purchase-review-status {
  display: inline-flex;
  align-items: center;
}

.odm-account__purchase-review-pending {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.odm-account__purchase-review-row {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
}

.odm-account__purchase-review-pos {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #8a9299;
}

.odm-account__purchase-reviews-title {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6a7580;
}

.odm-account__purchase-lines {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.odm-account__purchase-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 14px;
}

.odm-account__purchase-line-name {
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
  flex: 1 1 140px;
  min-width: 0;
}

.odm-account__purchase-line-partial {
  font-size: 12px;
  font-weight: 500;
  color: #6b7280;
  margin: 6px 0 0;
  line-height: 1.4;
}

.odm-account__purchase-line .odm-account__purchase-delivery-row {
  margin-top: 0;
  flex: 0 1 auto;
  justify-content: flex-end;
}

.odm-account__purchase-line .odm-account__purchase-delivery-row .odm-account__purchase-review-status {
  align-self: center;
}

.odm-account__purchase-main {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  flex: 1 1 auto;
  min-width: 0;
}

.odm-account__purchase-main .odm-account__purchase-title {
  flex: 1;
  min-width: 0;
}

.odm-account__purchase-main-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.odm-account__purchase-thumb {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
  background: var(--odm-surface);
  flex: 0 0 44px;
  border: 1px solid var(--odm-border-light);
}

.odm-account__purchase-thumb--placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--odm-text-soft);
  font-size: 1.1rem;
}

.odm-account__purchase-review-status {
  font-size: 13px;
  font-weight: 600;
}

.odm-account__purchase-review-status--ok {
  color: #1d7a3a;
}

.odm-account__purchase-review-status--wait {
  color: #8a6d2e;
}

.odm-account__purchase-review-status--bad {
  color: #a14d4d;
}

.odm-review-modal__body {
  max-height: min(75vh, 520px);
  overflow-y: auto;
}

.odm-review-modal__product {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  color: #111;
  line-height: 1.35;
}

.odm-review-modal__field {
  margin-bottom: 14px;
}

.odm-review-modal__label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #5a6570;
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.odm-review-modal__stars {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.odm-review-modal__star {
  width: 40px;
  height: 40px;
  padding: 0;

  border-radius: 10px;
  background: rgba(0, 0, 0, 0.05);
  color: rgba(0, 0, 0, 0.2);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, transform 0.1s ease;
}

.odm-review-modal__star.is-active {
  background: linear-gradient(145deg, #ffd4b8 0%, #ffab79 100%);
  color: #c45a1a;
}

.odm-review-modal__star:hover {
  transform: scale(1.05);
}

.odm-review-modal__textarea {
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 12px;
  padding: 12px 14px;
  border-radius: 12px;

  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.45;
  resize: vertical;
  min-height: 100px;
}

.odm-review-modal__attach-block {
  margin-bottom: 12px;
}

.odm-review-modal__attach-toolbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.odm-review-modal__attach-hint {
  flex: 1;
  font-size: 12px;
  line-height: 1.4;
  color: #5a6570;
}

.odm-review-modal__attach-hint kbd {
  font-size: 11px;
  padding: 1px 5px;
  border-radius: 4px;

  background: rgba(0, 0, 0, 0.04);
}

.odm-review-modal__clip-btn {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;

  background: #fff;
  color: #333;
  cursor: pointer;
  font-size: 1.25rem;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.odm-review-modal__clip-btn:hover {
  background: rgba(0, 0, 0, 0.04);

}

.odm-review-modal__attach-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.odm-review-modal__attach-item {
  position: relative;
  width: 72px;
  height: 72px;
  border-radius: 10px;
  overflow: hidden;

  background: rgba(0, 0, 0, 0.04);
}

.odm-review-modal__attach-item .odm-review-img-trigger {
  position: absolute;
  inset: 0;
  padding: 0;
  margin: 0;

  border-radius: 10px;
  cursor: zoom-in;
  background: transparent;
}

.odm-review-modal__attach-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.odm-review-modal__attach-remove {
  position: absolute;
  top: 2px;
  right: 2px;
  z-index: 2;
  width: 22px;
  height: 22px;
  padding: 0;

  border-radius: 6px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.odm-review-modal__attach-remove:hover {
  background: rgba(0, 0, 0, 0.75);
}

.odm-my-reviews__photos {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.odm-review-img-trigger {
  display: block;
  padding: 0;
  margin: 0;

  background: transparent;
  cursor: zoom-in;
  border-radius: 10px;
  overflow: hidden;
}

.odm-review-img-trigger:focus-visible {
  outline: 2px solid #ff8a4c;
  outline-offset: 2px;
}

.odm-my-reviews__photo-thumb {
  width: 88px;
  height: 88px;

}

.odm-my-reviews__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.odm-public-seller-review__photos {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.odm-public-seller-review__photo-thumb {
  width: 88px;
  height: 88px;

}

.odm-public-seller-review__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.odm-seller-review-item__photos {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.odm-seller-review-item__photo-thumb {
  width: 88px;
  height: 88px;

}

.odm-seller-review-item__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

/* Полноэкранный просмотр фото отзыва (review-image-lightbox.js) */
.odm-review-img-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2147482000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
}

.odm-review-img-lightbox[hidden] {
  display: none !important;
}

.odm-review-img-lightbox__backdrop {
  position: absolute;
  inset: 0;

  padding: 0;
  margin: 0;
  background: rgba(0, 0, 0, 0.72);
  cursor: pointer;
}

.odm-review-img-lightbox__frame {
  position: relative;
  z-index: 1;
  max-width: min(96vw, 1200px);
  max-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.odm-review-img-lightbox__img {
  max-width: min(96vw, 1200px);
  max-height: 88vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.45);
}

.odm-review-img-lightbox__close {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 44px;
  height: 44px;

  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: #111;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.odm-review-img-lightbox__close:hover {
  background: #fff;
}

/* Полноэкранное фото товара (product-hero-lightbox.js) */
.odm-product-hero-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2147482100;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: stretch;
  padding: 0;
  box-sizing: border-box;
}

.odm-product-hero-lightbox[hidden] {
  display: none !important;
}

.odm-product-hero-lightbox__backdrop {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.88);
  cursor: pointer;
}

.odm-product-hero-lightbox__stage {
  position: absolute;
  inset: 0;
  z-index: 1;
  touch-action: none;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.odm-product-hero-lightbox__img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transform-origin: center center;
  will-change: transform;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: auto;
}

.odm-product-hero-lightbox__close {
  position: absolute;
  top: max(12px, env(safe-area-inset-top, 0px));
  right: max(12px, env(safe-area-inset-right, 0px));
  z-index: 3;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 0;
  margin: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.95);
  color: #111;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}

.odm-product-hero-lightbox__close:hover {
  background: #fff;
}

.odm-product-hero-lightbox__toolbar {
  position: absolute;
  top: max(12px, env(safe-area-inset-top, 0px));
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 10px;
  align-items: center;
}

.odm-product-hero-lightbox__tool {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 0;
  margin: 0;
  padding: 0;
  background: rgba(40, 40, 40, 0.92);
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.odm-product-hero-lightbox__tool:hover {
  background: rgba(55, 55, 55, 0.96);
}

.odm-product-hero-lightbox__hint {
  position: absolute;
  bottom: max(16px, env(safe-area-inset-bottom, 0px));
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  margin: 0;
  padding: 8px 14px;
  max-width: min(92vw, 420px);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.78rem;
  font-weight: 500;
  text-align: center;
  pointer-events: none;
}

@media (max-width: 520px) {
  .odm-product-hero-lightbox__hint {
    font-size: 0.72rem;
    padding: 6px 12px;
  }
}

.odm-account__balance-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.odm-account__balance-card {
  padding: 28px 24px;
  border-radius: var(--radius-md);
  background: linear-gradient(165deg, #fff8f0 0%, #fff 55%);

  box-shadow: 0 8px 32px rgba(255, 165, 87, 0.12);
}

.odm-account__balance-label {
  font-family: var(--font-body);
  font-size: 14px;
  color: #5a6570;
  margin: 0 0 8px;
}

.odm-account__balance-sum {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.65rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  margin: 0 0 12px;
  color: #111;
}

.odm-account__balance-note {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.55;
  color: #6a7580;
  margin: 0 0 22px;
}

.odm-account__balance-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.odm-account__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 14px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;

  transition: filter 0.2s ease, background 0.2s ease;
  text-align: center;
}

.odm-account__btn--primary {
  background: var(--odm-accent);
  color: #1a1208;
}

.odm-account__btn--primary:hover:not(:disabled) {
  filter: brightness(1.05);
}

.odm-account__btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  color: var(--odm-text-primary);

}

.odm-account__btn--ghost:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.12);

}

.odm-account__btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.odm-account__btn--compact {
  padding: 10px 16px;
  min-height: 42px;
  font-size: 13px;
  border-radius: 12px;
}

.odm-account__balance-side {
  padding: 22px 22px 24px;
  border-radius: var(--radius-md);
  background: #fff;

  box-shadow: 0 6px 22px rgba(15, 23, 42, 0.06);
}

.odm-account__subhead {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  color: #111;
}

.odm-account__ledger {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.odm-account__ledger-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 8px 12px;
  align-items: baseline;
  padding: 12px 14px;
  margin: 0;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.03);
  font-family: var(--font-body);
  font-size: 14px;
}

.odm-account__ledger-row--with-action {
  grid-template-columns: minmax(0, 1fr) auto auto 30px;
  align-items: center;
}

.odm-account__ledger-title {
  color: #3d454c;
  font-weight: 500;
}

.odm-account__ledger-date {
  font-size: 12px;
  color: #9aa3ad;
}

.odm-account__ledger-sum {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  text-align: right;
}

.odm-account__ledger-row--plus .odm-account__ledger-sum {
  color: #047857;
}

.odm-account__ledger-row--minus .odm-account__ledger-sum {
  color: #c2410c;
}

.odm-account__ledger-row--note {
  display: block;
}

.odm-account__ledger-row--note .odm-account__ledger-title {
  line-height: 1.55;
  color: #5a6570;
  font-weight: 500;
}

.odm-account__ledger-status {
  font-size: 12px;
  font-weight: 600;
  color: #9aa3ad;
}

.odm-account__ledger-status--ok {
  color: #047857;
}

.odm-account__ledger-status--fail {
  color: #c2410c;
}

.odm-account__ledger-action-btn {
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--odm-text-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  justify-self: end;
}

.odm-account__ledger-action-btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.18);
}

.odm-account__ledger-action-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.odm-account__ref-layout {
  display: grid;
  gap: 20px;
}

.odm-account__ref-card {
  padding: 24px 22px;
  border-radius: var(--radius-md);
  background: #fff;

  box-shadow: 0 6px 22px rgba(15, 23, 42, 0.06);
}

.odm-account__ref-lead {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.55;
  color: #5a6570;
  margin: 0 0 18px;
}

.odm-account__ref-field {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.odm-account__ref-input {
  flex: 1 1 200px;
  min-width: 0;
  padding: 14px 16px;
  border-radius: 12px;

  background: #f0f3f6;
  font-family: var(--font-body);
  font-size: 13px;
  color: #111;
  outline: none;
  box-shadow: none;
}

.odm-account__ref-input:focus-visible {
  background: #e4e9ee;
  box-shadow: 0 0 0 3px rgba(255, 165, 87, 0.35);
}

.odm-account__ref-copy {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;

  border-radius: 12px;
  background: var(--odm-accent);
  color: #1a1208;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: filter 0.2s ease;
}

.odm-account__ref-copy:hover {
  filter: brightness(1.05);
}

.odm-account__ref-code {
  font-family: var(--font-body);
  font-size: 14px;
  color: #5a6570;
  margin: 0 0 8px;
}

.odm-account__ref-code strong {
  font-family: var(--font-display);
  color: #111;
  letter-spacing: 0.06em;
}

.odm-account__ref-toast {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: #047857;
  margin: 0;
}

.odm-account__ref-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.odm-account__ref-stat {
  padding: 20px 16px;
  text-align: center;
  border-radius: var(--radius-md);
  background: #fff;

  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
}

.odm-account__ref-stat--accent {
  background: linear-gradient(165deg, rgba(255, 165, 87, 0.14) 0%, #fff 100%);
  box-shadow: 0 6px 20px rgba(255, 165, 87, 0.12);
}

.odm-account__ref-stat-val {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #111;
  margin-bottom: 6px;
}

.odm-account__ref-stat--accent .odm-account__ref-stat-val {
  color: var(--odm-price);
}

.odm-account__ref-stat-label {
  font-family: var(--font-body);
  font-size: 12px;
  line-height: 1.4;
  color: #7a8794;
}

.odm-account__ref-rules {
  padding: 22px 22px 24px;
  border-radius: var(--radius-md);
  background: #f4f5f8;

}

.odm-account__ref-list {
  margin: 0;
  padding-left: 1.2rem;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.65;
  color: #4a5560;
}

.odm-account__ref-list li {
  margin-bottom: 8px;
}

@media (max-width: 768px) {
  .odm-account__strip {
    grid-template-columns: 1fr;
  }

  .odm-account__balance-hero-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .odm-account__balance-hero-actions {
    align-self: stretch;
    width: 100%;
  }

  .odm-account__balance-hero-btn {
    width: 100%;
    justify-content: center;
  }

  .odm-account__tabs {
    border-radius: var(--radius-md);
  }

  .odm-account__tab {
    flex: 1 1 100%;
    border-radius: 12px;
  }

  .odm-account__purchase-delivery-row {
    flex-direction: column;
    align-items: stretch;
  }

  .odm-account__purchase-delivery-row .odm-account__btn {
    width: 100%;
    justify-content: center;
  }

  .odm-account__purchase-actions-row {
    grid-template-columns: 1fr;
  }

  .odm-account__purchase-download-bar .odm-account__purchase-action-btn {
    width: 100%;
    justify-content: center;
  }

  .odm-account__purchase-line .odm-account__purchase-delivery-row {
    justify-content: stretch;
  }

  .odm-account__seller-check-actions {
    grid-template-columns: 1fr;
  }

  .odm-account__seller-check-actions .odm-account__btn {
    min-width: 0;
  }

  .odm-account__balance-grid {
    grid-template-columns: 1fr;
  }

  .odm-account__ref-stats {
    grid-template-columns: 1fr;
  }

  .odm-page-account .odm-menu__login {

  }

  .odm-page-account .odm-menu__cart-wrap {

    margin-top: 8px;
    padding-top: 0;
  }
}

/* Footer */
.odm-footer {
  margin-top: auto;
}

.odm-footer:not(.odm-footer--mega) {
  background: var(--odm-footer-bg);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  padding: 48px 24px 40px;
}

.odm-footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
  flex-wrap: wrap;
}

.odm-footer__brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.odm-footer__nav-wrap {
  text-align: right;
  flex: 1;
  min-width: 260px;
}

.odm-footer__menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.odm-footer__menu a {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.04em;
  color: #fff;
  opacity: 0.9;
}

.odm-footer__menu a:hover {
  opacity: 1;
}

.odm-footer__legal {
  margin: 22px 0 0;
  font-size: 12px;
  line-height: 1.55;
  letter-spacing: 0.03em;
  color: var(--odm-footer-text-muted);
  max-width: 52rem;
  margin-left: auto;
}

/* ——— Магазин: расширенный футер ——— */
.odm-footer--mega {
  background: linear-gradient(180deg, #1f1f1f 0%, #1a1a1a 100%);
  color: var(--odm-footer-text-muted);
  border-radius: 0;
}

.odm-footer__mega-wrap {
  padding: 44px 18px 26px;
}

.odm-footer__mega-frame {
  background: var(--odm-surface);
  border-radius: 24px;
  border: 1px solid var(--odm-border-light);
  padding: 40px 36px 44px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
}

.odm-footer__mega-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 38px 34px;
  align-items: flex-start;
}

.odm-footer__mega-col {
  min-width: 0;
  font-family: var(--font-body, "Manrope", system-ui, sans-serif);
  font-size: 11.5px;
  line-height: 1.58;
}

.odm-footer__mega-col--brand {
  padding-right: 10px;
}

.odm-footer__mega-brandhead {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 16px;
}

.odm-footer__mega-logo {
  display: block;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  object-fit: contain;
}

.odm-footer__mega-brandname {
  font-family: var(--font-display);
  font-size: 1.06rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.odm-footer__mega-desc {
  margin: 0 0 17px;
  font-size: 11.5px;
  line-height: 1.62;
  color: #8f9299;
}

.odm-footer__mega-sectitle {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 15px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12.5px;
  color: #fff;
  letter-spacing: 0.02em;
}

.odm-footer__mega-sectitle-ic {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
}

.odm-footer__mega-sectitle-ic--info {
  background: #2563eb;
  color: #fff;
}

.odm-footer__mega-sectitle-ic--pay {
  background: #2563eb;
  color: #fff;
}

.odm-footer__mega-sectitle-ic--heart {
  background: linear-gradient(135deg, #ff5c8d, #e91e8c);
  color: #fff;
}

.odm-footer__mega-sectitle-ic--coop {
  background: #22c55e;
  color: #0f172a;
}

.odm-footer__mega-infolist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.odm-footer__mega-infolist a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #b4b8c0;
  text-decoration: none;
  font-size: 11.5px;
}

.odm-footer__mega-infolist a:hover {
  color: #fff;
}

.odm-footer__mega-infolist i {
  opacity: 0.82;
  font-size: 0.95rem;
}

.odm-footer__mega-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 18px 0;
}

.odm-footer__mega-pair-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px;
}

.odm-footer__mega-outline-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 8px;
  border-radius: 11px;
  font-size: 11px;
  font-weight: 600;
  color: #dfe2e8;
  text-decoration: none;
  background: #1f2126;
  border: 1px solid rgba(255, 255, 255, 0.34);
  text-align: center;
}

.odm-footer__mega-outline-btn:hover {
  background: #2a2a2a;
  color: #fff;
}

.odm-footer__pay-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 11px;
}

.odm-footer__pay-cell {
  aspect-ratio: 1;
  max-height: 46px;
  border-radius: 11px;
  background: #121418;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.odm-footer__pay-cell--roundimg {
  padding: 0;
  overflow: hidden;
}

.odm-footer__pay-cell--roundimg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.odm-footer__pay-svg {
  width: 24px;
  height: 24px;
  display: block;
}

.odm-footer__soc-icons {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  max-width: 100%;
  margin-bottom: 13px;
  align-items: stretch;
}

.odm-footer__soc-ic {
  width: 100%;
  min-width: 0;
  aspect-ratio: 1;
  height: auto;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.22rem;
  transition: transform 0.15s ease, filter 0.15s ease;
  box-sizing: border-box;
}

.odm-footer__soc-ic:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.odm-footer__soc-ic--vk {
  background: #0077ff;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 13.5px;
  letter-spacing: -0.04em;
}

.odm-footer__vk-letters {
  position: relative;
  top: 1px;
}

.odm-footer__soc-ic--tg {
  background: #2aabee;
  color: #fff;
}

.odm-footer__soc-ic--yt {
  background: #ff0000;
  color: #fff;
  font-size: 1.22rem;
}

.odm-footer__soc-ic--tik {
  background: #050505;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.odm-footer__soc-ic--tik .bi-tiktok {
  font-size: 1.2rem;
  line-height: 1;
}

.odm-footer__mega-wide-link {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  margin-top: 9px;
  padding: 10px 12px;
  border-radius: 11px;
  background: #1f2126;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #dfe2e8;
  font-size: 11.5px;
  font-weight: 600;
  text-decoration: none;
}

.odm-footer__mega-wide-link:hover {
  background: #272a31;
  color: #fff;
}

.odm-footer__mega-wide-link .bi-telegram {
  color: #2aabee;
  font-size: 1.08rem;
}

.odm-footer__mega-basket {
  color: #a78bfa;
  font-size: 1.05rem;
  display: inline-flex;
}

.odm-footer__mega-wide-link-arrow {
  margin-left: auto;
  opacity: 0.7;
  font-size: 0.95rem;
}

.odm-footer__mega-small {
  margin: 0 0 9px;
  font-size: 11.5px;
  color: #8f9299;
  line-height: 1.58;
}

.odm-footer__mega-small--coop {
  margin-bottom: 11px;
}

.odm-footer__mega-coop-btn {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  padding: 10px 12px;
  border-radius: 11px;
  background: #1f2126;
  border: 1px solid rgba(42, 171, 238, 0.45);
  color: #e8eef5;
  font-size: 11.5px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.odm-footer__mega-coop-btn:hover {
  background: #272d36;
  color: #fff;
  border-color: rgba(42, 171, 238, 0.7);
}

.odm-footer__mega-coop-btn .bi-telegram {
  color: #2aabee;
  font-size: 1.1rem;
}

.odm-footer__mega-coop-btn-arrow {
  margin-left: auto;
  opacity: 0.72;
  font-size: 0.9rem;
}

.odm-footer__mega-inner-foot {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--odm-border-light);
  text-align: left;
}

.odm-footer__mega-copy {
  margin: 0;
  font-size: 11px;
  color: #6e7178;
  letter-spacing: 0.02em;
  text-align: left;
}

.odm-footer__mega-copy-brand {
  color: #ff7a2f;
  font-weight: 700;
}

@media (max-width: 1100px) {
  .odm-footer__mega-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .odm-footer__mega-col--brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .odm-footer__mega-wrap {
    padding: 32px 12px 20px;
  }

  .odm-footer__mega-frame {
    padding: 26px 16px 30px;
    border-radius: 18px;
  }

  .odm-footer__mega-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .odm-footer__mega-pair-btns {
    grid-template-columns: 1fr;
  }

  .odm-footer__pay-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Legal page */
.odm-page-legal {
  background: #121417;
}

.odm-legal-main {
  padding: 28px 0 64px;
}

.odm-legal {
  max-width: 920px;
}

.odm-legal__card {
  background: #fff;
  border: 1px solid rgba(39, 56, 82, 0.12);
  border-radius: 22px;
  box-shadow: 0 12px 30px rgba(24, 36, 55, 0.06);
  padding: 28px 24px;
}

.odm-page-legal .odm-legal__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
  line-height: 1.2;
  color: #1a2330 !important;
}

.odm-page-legal .odm-legal__updated {
  margin: 10px 0 0;
  color: #5f6b78 !important;
  font-size: 0.95rem;
}

.odm-legal__section {
  margin-top: 22px;
}

.odm-page-legal .odm-legal__section h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.02rem;
  letter-spacing: 0.01em;
  color: #223146 !important;
}

.odm-page-legal .odm-legal__section p {
  margin: 10px 0 0;
  line-height: 1.65;
  color: #2f3f53 !important;
}

.odm-page-legal .odm-legal__card a {
  color: #0f5fe3 !important;
  text-decoration: underline;
}

/* ——— Нижняя навигация (мобильные, как в приложениях) ——— */
.odm-bottom-nav {
  display: none;
}

/* Responsive */
@media (max-width: 768px) {
  .odm-header {
    padding: env(safe-area-inset-top, 0px) 0 0;
    background: rgba(31, 31, 31, 0.94);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  body.odm-page-catalog > .odm-header .odm-header__inner,
  .odm-header__inner {
    border-radius: 0;
    width: 100%;
    margin-top: 0;
    padding: 7px 12px 8px;
    min-height: calc(15px + 40px);
    background: transparent;
    border: none;
    box-shadow: none;
  }

  .odm-topbar {
    min-height: 40px;
    gap: 8px;
  }

  .odm-logo__mark {
    width: 26px;
    height: 26px;
  }

  .odm-logo__text {
    font-size: 0.95rem;
  }

  .odm-burger {
    width: 34px;
    height: 34px;
    font-size: 1.2rem;
  }

  .odm-has-bottom-nav {
    padding-bottom: calc(56px + max(10px, env(safe-area-inset-bottom)));
  }

  .odm-has-bottom-nav .odm-burger,
  .odm-has-bottom-nav .odm-topbar__nav {
    display: none !important;
  }

  .odm-has-bottom-nav .odm-topbar {
    justify-content: center;
  }

  .odm-has-bottom-nav .odm-logo {
    margin-right: 0;
  }

  .odm-bottom-nav {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 200;
    justify-content: space-around;
    align-items: stretch;
    min-height: calc(52px + env(safe-area-inset-bottom));
    padding: 4px 2px max(6px, env(safe-area-inset-bottom));
    margin: 0;
    background: rgba(31, 31, 31, 0.94);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);

    box-shadow: 0 -6px 28px rgba(0, 0, 0, 0.45);
  }

  .odm-bottom-nav__link {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-width: 0;
    max-width: 20vw;
    padding: 6px 4px;
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: var(--odm-text-secondary);
    text-decoration: none;
    border-radius: 12px;
    -webkit-tap-highlight-color: transparent;
    transition: color 0.15s ease, background 0.15s ease;
  }

  .odm-bottom-nav__link .bi {
    font-size: 1.35rem;
    line-height: 1;
    color: var(--odm-text-soft);
    transition: color 0.15s ease;
  }

  .odm-bottom-nav__link span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }

  /* Иконка + бейдж в .odm-bottom-nav__icon-stack — не обрезаем вылет за пределы иконки */
  .odm-bottom-nav__link .odm-bottom-nav__icon-stack,
  .odm-bottom-nav__link .odm-bottom-nav__cart-badge {
    overflow: visible;
  }

  .odm-bottom-nav__link.is-active {
    color: var(--odm-accent);
  }

  .odm-bottom-nav__link.is-active .bi {
    color: var(--odm-price);
  }

  .odm-bottom-nav__link:active {
    background: rgba(255, 165, 87, 0.12);
  }

  /* Главная: плотнее hero, крупные зоны нажатия, отступы секций */
  .odm-page--home .odm-landing {
    padding-top: 8px;
  }

  .odm-page--home .odm-hero {
    gap: 12px;
  }

  .odm-page--home .odm-hero__tile--promo {
    min-height: clamp(268px, 76vw, 420px);
    padding: 24px 18px 26px;
    border-radius: clamp(22px, 5vw, 40px);
  }

  .odm-page--home .odm-hero__tile--deal {
    min-height: 0;
    height: clamp(168px, 40vw, 216px);
    max-height: 220px;
    border-radius: clamp(20px, 4.5vw, 36px);
  }

  .odm-page--home .odm-deal__inner {
    min-height: 100%;
    padding: 14px 14px 16px;
    box-sizing: border-box;
  }

  .odm-page--home .odm-hero__promo-deco-img {
    width: min(38vw, 136px);
    right: 2%;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    opacity: 0.88;
  }

  .odm-page--home .odm-hero__promo-sold-wrap {
    font-size: clamp(1.45rem, 6vw, 2rem);
  }

  .odm-page--home .odm-hero__promo-sold-caption {
    font-size: 12px;
  }

  .odm-page--home .odm-hero__promo-rating {
    padding: 8px 13px;
    font-size: 0.93rem;
  }

  .odm-page--home .odm-hero__title {
    font-size: clamp(1.65rem, 7.2vw, 2.5rem);
    line-height: 1.05;
    margin-bottom: 12px;
  }

  .odm-page--home .odm-hero__tile--promo .odm-hero__text {
    max-width: 30ch;
    font-size: 14px;
    line-height: 1.5;
  }

  .odm-page--home .odm-deal__discount {
    font-size: clamp(1.35rem, 6.5vw, 1.75rem);
    margin-bottom: 4px;
  }

  .odm-page--home .odm-hero__tile--deal .odm-hero__title--sm {
    font-size: clamp(0.86rem, 3.4vw, 0.98rem);
    line-height: 1.28;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
  }

  .odm-page--home .odm-hero__tile--deal .odm-hero__text {
    font-size: 12px;
    margin-top: 4px;
  }

  .odm-page--home .odm-hero__tile--deal .odm-hero__btn {
    margin-top: 10px;
    width: 44px;
    height: 44px;
  }

  .odm-page--home .odm-deal__label {
    font-size: 11px;
    margin-bottom: 2px;
  }

  .odm-page--home .odm-live {
    margin-top: 14px;
    padding-bottom: 8px;
  }

  .odm-page--home .odm-live__header {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .odm-page--home .odm-live__statscol {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .odm-page--home .odm-catalog {
    padding: 28px 0 40px;
  }

  .odm-page--home .odm-catalog__head {
    margin-bottom: 12px;
  }

  .odm-page--home .odm-catalog__title-row h2 {
    font-size: 1.35rem;
    line-height: 1.2;
  }

  .odm-page--home .odm-block-title {
    font-size: clamp(1.3rem, 5vw, 1.65rem);
  }

  .odm-page--home .odm-block-lead {
    font-size: 14px;
    margin-bottom: 16px;
  }

  .odm-page--home .odm-reviews {
    padding: 36px 0 40px;
  }

  .odm-page--home .odm-faq {
    padding: 36px 0 44px;
  }

  .odm-page--home .odm-faq__question {
    padding: 14px 16px;
    min-height: 48px;
    font-size: 15px;
  }

  .odm-page--home .odm-cta-section {
    padding: 28px 0 36px;
  }

  .odm-page--home .odm-cta-card {
    padding: 24px 18px 22px;
  }

  .odm-page--home .odm-cta-card__link {
    min-height: 48px;
    padding: 12px 14px;
  }

  .odm-page--home .odm-load-more {
    min-height: 48px;
    padding: 14px 20px;
  }

  .odm-burger {
    display: inline-flex;
  }

  .odm-topbar__nav {
    position: fixed;
    inset: 0;
    z-index: 150;
    background: rgba(42, 26, 10, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    justify-content: center;
    padding: 40px 24px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s, visibility 0.3s;

  }

  .odm-topbar__nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .odm-menu {
    flex-direction: column;
    align-items: center;
    gap: 4px;
    width: 100%;
  }

  .odm-menu > li {
    padding: 0;
  }

  .odm-menu > li + li::before {
    content: none;
  }

  .odm-topbar__nav.is-open .odm-menu {
    gap: 10px;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
    padding: 8px 0 16px;
  }

  .odm-topbar__nav.is-open .odm-menu > li:not(.odm-menu__login):not(.odm-menu__admin-wrap):not(.odm-menu__cart-wrap) > a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    padding: 12px 20px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);

    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.02em;
  }

  .odm-topbar__nav.is-open .odm-menu > li:not(.odm-menu__login):not(.odm-menu__admin-wrap):not(.odm-menu__cart-wrap) > a:hover {
    background: rgba(255, 255, 255, 0.12);
  }

  .odm-menu__cart-wrap {
    margin-left: 0;
    margin-top: 12px;
    padding-top: 12px;

    width: 100%;
    justify-content: center;
  }

  .odm-page--home .odm-menu__cart-wrap {

    margin-top: 8px;
    padding-top: 0;
  }

  .odm-page-catalog .odm-menu__cart-wrap {

    margin-top: 8px;
    padding-top: 0;
  }

  .odm-page-cart .odm-menu__cart-wrap {

    margin-top: 8px;
    padding-top: 0;
  }

  .odm-page-support .odm-menu__cart-wrap {

    margin-top: 8px;
    padding-top: 0;
  }

  .odm-page-auth .odm-menu__cart-wrap {

    margin-top: 8px;
    padding-top: 0;
  }

  .odm-page-product .odm-menu__cart-wrap {

    margin-top: 8px;
    padding-top: 0;
  }

  .odm-menu__admin-wrap {
    margin-left: 0;
    width: 100%;
    justify-content: center;
  }

  .odm-page--home .odm-menu__admin-wrap,
  .odm-page-catalog .odm-menu__admin-wrap,
  .odm-page-cart .odm-menu__admin-wrap,
  .odm-page-support .odm-menu__admin-wrap,
  .odm-page-auth .odm-menu__admin-wrap,
  .odm-page-product .odm-menu__admin-wrap {
    margin-top: 4px;
  }

  .odm-menu__login {
    margin-left: 0;
    margin-top: 8px;
    padding-top: 0;

    width: 100%;
    text-align: center;
  }

  .odm-page--home .odm-menu__login {

  }

  .odm-page-catalog .odm-menu__login {

  }

  .odm-page-cart .odm-menu__login {

  }

  .odm-page-support .odm-menu__login {

  }

  .odm-page-auth .odm-menu__login {

  }

  .odm-page-product .odm-menu__login {

  }

  .odm-topbar__nav.is-open .odm-topbar__cart-link {
    color: rgba(255, 255, 255, 0.95);
    padding: 10px 16px;
    font-size: 15px;
    border-radius: 10px;
  }

  .odm-topbar__nav.is-open .odm-topbar__cart-link:hover,
  .odm-topbar__nav.is-open .odm-topbar__cart-link.is-active {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
  }

  .odm-topbar__nav.is-open .odm-topbar__notify-link {
    color: rgba(255, 255, 255, 0.95);
    padding: 10px 16px;
    font-size: 18px;
    border-radius: 10px;
    opacity: 0.92;
  }

  .odm-topbar__nav.is-open .odm-topbar__notify-link:hover,
  .odm-topbar__nav.is-open .odm-topbar__notify-link[aria-current="page"] {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    opacity: 1;
  }

  .odm-menu a {
    font-size: 15px;
    opacity: 0.92;
    padding: 10px 16px;
  }

  .odm-topbar__nav.is-open .odm-menu__login {
    justify-content: center;
  }

  .odm-topbar__nav.is-open .odm-topbar__user {
    max-width: 100%;
  }

  .odm-topbar__nav.is-open .odm-topbar__user-link {
    color: rgba(255, 255, 255, 0.95);
    flex-direction: row;
    align-items: center;
    text-align: left;
    padding: 10px 16px;
    margin: 0;
    flex: none;
    width: 100%;
    max-width: 360px;
  }

  .odm-topbar__nav.is-open .odm-menu .odm-topbar__user-link:hover {
    color: rgba(255, 255, 255, 0.95);
    background: none;
  }

  .odm-topbar__nav.is-open .odm-topbar__user-name {
    color: rgba(255, 255, 255, 0.95);
    font-size: 16px;
    line-height: 1.2;
  }

  .odm-topbar__nav.is-open .odm-topbar__user-role {
    color: rgba(255, 255, 255, 0.72);
    font-size: 12px;
  }

  .odm-topbar__nav.is-open .odm-topbar__user-balance {
    color: #ffd4a8;
    font-size: 14px;
    line-height: 1.2;
  }

  .odm-topbar__nav.is-open .odm-topbar__user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    font-size: 1.05rem;
    color: #1a1208;
    background: linear-gradient(145deg, var(--odm-accent) 0%, #ffc48a 100%);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.22);
  }

  .odm-topbar__nav.is-open .odm-topbar__user-skeleton {
    color: rgba(255, 255, 255, 0.45);
  }

  .odm-topbar__close {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: max(16px, env(safe-area-inset-top));
    right: max(16px, env(safe-area-inset-right));
    width: 44px;
    height: 44px;

    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    cursor: pointer;
    color: #fff;
    font-size: 1.25rem;
    padding: 0;
    outline: none;
  }

  .odm-hero {
    grid-template-columns: 1fr;
    grid-template-areas:
      "merch"
      "day";
  }

  .odm-hero.odm-hero--no-deal {
    grid-template-areas: "merch";
  }

  .odm-hero__tile {
    min-height: 320px;
  }

  .odm-hero__tile--deal,
  .odm-deal__inner {
    min-height: 360px;
  }

  /* Главная переопределяет высоты выше: промо выше, акция компактнее */
  .odm-page--home .odm-hero__tile--deal,
  .odm-page--home .odm-deal__inner {
    min-height: 0;
  }

  .odm-live__titlecol {
    display: none;
  }

  .odm-live__statscol {
    width: 100%;
    justify-content: space-around;
  }

  .odm-filters {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "fname fname"
      "fprice fprice"
      "fkind fshopcat";
  }

  .odm-filters__wrap--search {
    grid-area: fname;
  }

  .odm-filters__wrap--sort {
    grid-area: fprice;
  }

  .odm-filters__wrap--kind {
    grid-area: fkind;
  }

  .odm-filters__wrap--shopcat {
    grid-area: fshopcat;
  }

  .odm-filters input,
  .odm-filters select {
    width: 100%;
    min-width: 0;
  }

  .odm-footer__inner {
    flex-direction: column-reverse;
    align-items: center;
    text-align: center;
  }

  .odm-footer__nav-wrap {
    text-align: center;
  }

  .odm-footer__menu {
    justify-content: center;
  }

  .odm-footer__legal {
    margin-left: 0;
  }
}

@media (max-width: 640px) {
  .odm-catalog-grid--list .odm-product__link {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "body body"
      "prices cart";
    gap: 14px 12px;
  }

  .odm-catalog-grid--list .odm-product__body {
    grid-area: body;
  }

  .odm-catalog-grid--list .odm-product__prices {
    grid-area: prices;
    align-items: flex-start;
  }

  .odm-catalog-grid--list .odm-product__cart {
    grid-area: cart;
    justify-self: end;
    align-self: center;
  }
}

@media (max-width: 560px) {
  .odm-live__purchase {
    font-size: 11px;
    padding: 8px 12px;
    gap: 6px 8px;
    max-width: min(100vw - 32px, 340px);
  }

  .odm-live__purchase-product {
    max-width: 140px;
  }
}

@media (min-width: 700px) {
  body {
    scrollbar-width: thin;
    scrollbar-color: #2d2d2d #434343;
  }

  body::-webkit-scrollbar {
    width: 12px;
  }

  body::-webkit-scrollbar-track {
    background: #434343;
  }

  body::-webkit-scrollbar-thumb {
    background: #2d2d2d;
    box-shadow: inset 0 0 4px #474747;
  }
}

/* ——— Админ-дашборд ——— */
html.odm-admin-wait-auth body {
  visibility: hidden;
}

html.odm-admin-spa-loading .odm-admin-main {
  opacity: 0.65;
  pointer-events: none;
  transition: opacity 0.12s ease;
}

.odm-page-admin {
  background: var(--odm-page-bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.odm-page-admin .odm-header__inner {

}

.odm-page-admin .odm-catalog-page-head {

}

.odm-admin-main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.odm-admin-head.odm-catalog-page-head {
  padding-bottom: 20px;
}

.odm-admin {
  flex: 1;
  padding: 20px 0 24px;
  background: linear-gradient(180deg, #222 0%, #1f1f1f 28%, var(--odm-page-bg) 100%);
}

.odm-admin__inner {
  display: grid;
  grid-template-columns: minmax(200px, 240px) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 32px);
  align-items: start;
  padding-top: 8px;
}

.odm-admin__sidebar {
  position: sticky;
  top: calc(env(safe-area-inset-top, 0px) + 88px);
  align-self: start;
  width: 100%;
  box-sizing: border-box;
  padding: 22px 18px 22px;
  border-radius: var(--radius-md);
  background: var(--odm-surface);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.28);

}

.odm-admin__brand {
  margin-bottom: 20px;
  padding-bottom: 18px;

}

.odm-admin__brand-title {
  display: block;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--odm-text-soft);
}

.odm-admin__brand-sub {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--odm-text-primary);
  margin-top: 4px;
}

.odm-admin__nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.odm-admin__nav-link--as-button {
  width: 100%;
  margin: 0;

  padding: 12px 14px;
  border-radius: 12px;
  background: transparent;
  font: inherit;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--odm-text-secondary);
  text-align: left;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: background 0.2s ease, color 0.2s ease;
}

.odm-admin__nav-link--as-button:hover {
  background: rgba(255, 165, 87, 0.1);
  color: var(--odm-price);
}

.odm-admin__nav-link__emoji {
  font-size: 1.1rem;
  line-height: 1;
  width: 1.1rem;
  text-align: center;
  flex-shrink: 0;
}

.odm-admin__nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--odm-text-secondary);
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.odm-admin__nav-link .bi {
  font-size: 1.1rem;
  opacity: 0.88;
}

.odm-admin__nav-link:hover {
  background: rgba(255, 165, 87, 0.1);
  color: var(--odm-price);
}

.odm-admin__nav-link.is-active {
  background: rgba(255, 165, 87, 0.18);
  color: #ffd4b8;
}

.odm-admin__content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.odm-admin__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.odm-admin__period {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--odm-text-secondary);
}

.odm-admin__period .bi {
  color: var(--odm-accent);
  font-size: 1.05rem;
}

.odm-admin__toolbar-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  justify-content: space-between;
}

.odm-page-admin .odm-admin__toolbar-actions .odm-admin__btn {
  min-height: 38px;
  padding: 8px 12px;
  font-size: 12px;
}

.odm-admin__toolbar-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.odm-admin__toolbar-note {
  margin: 0;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--odm-text-soft);
}

body.odm-mishka-open {
  overflow: hidden;
}

.odm-mishka[hidden] {
  display: none !important;
}

.odm-mishka {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
}

.odm-mishka__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(4px);
}

.odm-mishka__panel {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  max-height: min(92vh, 900px);
  overflow: hidden;
  border-radius: 18px;
  background: var(--odm-surface);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);

}

.odm-mishka__panel-inner {
  position: relative;
  z-index: 1;
  max-height: min(92vh, 900px);
  overflow: auto;
}

.odm-mishka__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px 12px;

}

.odm-mishka__head-main {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.odm-mishka__title-gif {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  object-fit: contain;
  border-radius: 10px;
  background: var(--odm-row-muted);
}

.odm-mishka__title {
  margin: 0;
  font-family: var(--font-display, var(--font-body));
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--odm-text-primary);
  line-height: 1.2;
}

.odm-mishka__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;

  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--odm-text-secondary);
  cursor: pointer;
}

.odm-mishka__close:hover {
  background: rgba(255, 255, 255, 0.1);
}

.odm-mishka__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 18px;

}

.odm-mishka__tab {
  padding: 8px 14px;
  border-radius: 10px;

  background: var(--odm-row-muted);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--odm-text-secondary);
  cursor: pointer;
}

.odm-mishka__tab.is-active {

  background: rgba(255, 165, 87, 0.14);
  color: #ffd4b8;
}

.odm-mishka__panes {
  padding: 14px 18px 20px;
}

.odm-mishka__pane[hidden] {
  display: none !important;
}

.odm-mishka__hint {
  margin: 0 0 12px;
  font-size: 13px;
  color: var(--odm-text-soft);
  line-height: 1.45;
}

.odm-mishka__canvas {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  background: #1a1f26;
  margin: 0 auto;
}

.odm-mishka__canvas--dino {
  background: #2a2a2a;
  touch-action: manipulation;
}

.odm-mishka__score {
  margin: 10px 0 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--odm-text-secondary);
}

.odm-mishka__mini-btn {
  display: inline-block;
  margin-left: 6px;
  padding: 4px 10px;
  border-radius: 8px;

  background: var(--odm-input-bg);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  color: var(--odm-text-primary);
}

.odm-mishka__mini-btn:hover {

}

.odm-mishka__photo-wrap {
  border-radius: 12px;
  overflow: hidden;
  background: var(--odm-row-muted);
  text-align: center;
}

.odm-mishka__photo-wrap img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.odm-mishka-goat-overlay {
  position: fixed;
  inset: 0;
  z-index: 10060;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  box-sizing: border-box;
  background: rgba(0, 0, 0, 0.75);
  cursor: pointer;
}

.odm-mishka-goat-overlay__video {
  max-width: min(96vw, 720px);
  max-height: min(88vh, 90vh);
  width: auto;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
  cursor: default;
}

.odm-admin__dash-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: flex-end;
}

.odm-admin__filter {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 124px;
}

.odm-admin__filter--date {
  min-width: 154px;
}

.odm-admin__filter > span {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--odm-text-soft);
}

.odm-admin__filter select,
.odm-admin__filter input[type="date"] {
  min-height: 42px;
  padding: 10px 12px;
  border-radius: 12px;

  background: var(--odm-input-bg);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--odm-text-primary);
  outline: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.odm-admin__filter select:focus,
.odm-admin__filter input[type="date"]:focus {

  box-shadow: 0 0 0 3px rgba(255, 165, 87, 0.18);
}

@media (max-width: 1100px) {
  .odm-admin__toolbar-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .odm-admin__dash-filters {
    width: 100%;
  }
}

@media (max-width: 720px) {
  .odm-admin__dash-filters {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .odm-admin__filter,
  .odm-admin__filter--date {
    min-width: 0;
  }
}

.odm-admin__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 12px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;

  cursor: pointer;
  transition: filter 0.2s ease, background 0.2s ease;
}

.odm-admin__btn--primary {
  background: var(--odm-accent);
  color: #1a1208;
}

.odm-admin__btn--primary:hover {
  filter: brightness(1.05);
}

.odm-admin__btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  color: var(--odm-text-secondary);
}

.odm-admin__btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

.odm-admin__btn--payout-save {
  padding: 8px 12px;
  min-width: 40px;
}
.odm-admin__btn--payout-save .bi {
  font-size: 1.15rem;
  line-height: 1;
}

.odm-admin__kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  min-width: 0;
}

.odm-admin__section-heading {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  margin: 28px 0 14px;
  color: var(--odm-text-primary);
  letter-spacing: -0.02em;
}

.odm-admin__kpi {
  container-type: inline-size;
  container-name: odm-kpi;
  padding: 20px 18px 18px;
  border-radius: var(--radius-md);
  background: var(--odm-surface);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 112px;
  min-width: 0;
}

.odm-admin__kpi--accent {
  background: linear-gradient(165deg, rgba(255, 165, 87, 0.14) 0%, var(--odm-surface) 72%);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
}

.odm-admin__kpi-label {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--odm-text-soft);
}

.odm-admin__kpi-value {
  font-family: var(--font-display);
  font-size: clamp(0.65rem, 0.52rem + 4.2cqi, 1.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--odm-text-primary);
  min-width: 0;
  max-width: 100%;
  line-height: 1.12;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.odm-admin__kpi-value--wrap {
  font-size: clamp(0.65rem, 0.48rem + 3.8cqi, 1.35rem);
  line-height: 1.2;
  word-break: break-word;
}

.odm-admin__kpi-value--muted {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--odm-text-soft);
}

.odm-admin__kpi-delta {
  display: block;
  line-height: 1.45;
  margin-top: auto;
  font-family: var(--font-body);
  font-size: clamp(0.65rem, 0.55rem + 1.1cqi, 13px);
  font-weight: 600;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.odm-admin__kpi-delta strong {
  font-weight: 700;
  font-size: clamp(0.65rem, 0.52rem + 1.4cqi, 0.95em);
  word-break: break-word;
  overflow-wrap: anywhere;
}

/* Ряд «Сегодня / 7 дн / 30 дн» — без разрыва подписей (inline-flex ломал «7» и «дн:»). */
.odm-admin__kpi-periods {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 14px;
}

.odm-admin__kpi-chip {
  white-space: nowrap;
  font-weight: 500;
}

.odm-admin__kpi-chip strong {
  font-weight: 700;
  color: var(--odm-text-secondary);
}

.odm-admin__kpi-delta--up {
  color: #047857;
}

.odm-admin__kpi-delta--down {
  color: #c2410c;
}

.odm-admin__kpi-delta--muted {
  color: var(--odm-text-soft);
  font-weight: 500;
}

.odm-admin__split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
}

.odm-admin__card {
  padding: 22px 22px 20px;
  border-radius: var(--radius-md);
  background: var(--odm-surface);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.25);
}

.odm-admin__card--table {
  padding-bottom: 0;
}

.odm-admin__card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.odm-admin__card--table .odm-admin__card-head {
  padding: 22px 22px 0;
  margin-bottom: 16px;
}

.odm-admin__card--catalog-opts .odm-admin__card-head {
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
}

.odm-admin__card--catalog-opts .odm-admin__card-head-row {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.odm-admin__card--catalog-opts .odm-admin__card-lead {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  max-width: 52rem;
}

.odm-admin__card--catalog-opts .odm-admin__card-lead code {
  font-size: 0.92em;
  padding: 1px 6px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
}

.odm-admin__catalog-opts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 28px;
}

.odm-admin__catalog-opts-grid--single {
  grid-template-columns: 1fr;
  max-width: 720px;
}

@media (max-width: 960px) {
  .odm-admin__catalog-opts-grid {
    grid-template-columns: 1fr;
  }
}

.odm-admin__catalog-opts-subtitle {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  margin: 0 0 12px;
  color: var(--odm-text-primary);
}

.odm-admin__table--compact .odm-admin__catalog-opt-inp {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;

  padding: 8px 10px;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 13px;
  background: var(--odm-input-bg);
}

.odm-admin__table--compact .odm-admin__catalog-opt-inp--num {
  max-width: 88px;
}

.odm-admin__catalog-opts-add {
  margin-top: 14px;
  padding-top: 14px;

  display: flex;
  flex-direction: column;
  gap: 10px;
}

.odm-admin__catalog-opts-add-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.odm-admin__catalog-opts-add-row input[type="text"],
.odm-admin__catalog-opts-add-row input[type="number"] {
  width: 100%;
  max-width: 280px;
  box-sizing: border-box;

  padding: 10px 12px;
  border-radius: 11px;
  font-family: var(--font-body);
  font-size: 14px;
  background: var(--odm-input-bg);
}

.odm-admin__card-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--odm-text-primary);
}

.odm-admin__card-subtitle {
  margin: 6px 0 0;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--odm-text-soft);
}

.odm-admin__pill {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 165, 87, 0.16);
  color: #ffd4b8;
}

.odm-admin__link-all {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--odm-price);
  text-decoration: none;
}

.odm-admin__link-all:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.odm-admin__charts-board {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

.odm-admin__charts-board--commission {
  grid-template-columns: 1fr;
}

.odm-admin__kpis--commission-summary {
  margin-bottom: 20px;
}

@media (max-width: 1020px) {
  .odm-admin__charts-board {
    grid-template-columns: 1fr;
  }
}
.odm-admin__card--chart {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.odm-admin__chart {
  min-height: 0;
  padding: 0;
}
.odm-admin__chart--viz {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-end;
  min-height: 308px;
  margin-top: 10px;
  padding: 14px 12px 10px;
  background: var(--odm-row-muted);
  border-radius: 12px;

  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.odm-admin__viz-canvas {
  position: relative;
  width: 100%;
  height: 300px;
  min-height: 260px;
}
.odm-admin__chartjs-canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}
.odm-admin__viz-empty {
  margin: 0;
  padding: 2rem 1.25rem;
  text-align: center;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--odm-text-soft);

  border-radius: 12px;
  background: rgba(0, 0, 0, 0.2);
}
@media (max-width: 1020px) {
  .odm-admin__viz-canvas {
    height: 280px;
  }
}

.odm-admin__activity {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.odm-admin__activity-item {
  display: flex;
  gap: 14px;
  padding: 14px 0;

}

.odm-admin__activity-item:first-child {

  padding-top: 0;
}

.odm-admin__activity-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.odm-admin__activity-icon--ok {
  background: rgba(16, 185, 129, 0.12);
  color: #047857;
}

.odm-admin__activity-icon--warn {
  background: rgba(255, 165, 87, 0.2);
  color: #b45309;
}

.odm-admin__activity-icon--pay {
  background: rgba(34, 158, 217, 0.14);
  color: #0c6a9e;
}

.odm-admin__activity-icon--new {
  background: rgba(138, 0, 194, 0.1);
  color: #6b21a8;
}

.odm-admin__activity-body {
  min-width: 0;
}

.odm-admin__activity-text {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.45;
  color: var(--odm-text-secondary);
  margin: 0 0 4px;
}

.odm-admin__activity-time {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--odm-text-soft);
}

.odm-admin__table-wrap {
  overflow-x: auto;
  margin: 0 -1px -1px;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
}

/* Заказы, пополнения, выводы: таблица в ширину контейнера, без горизонтального скролла */
body.odm-page-admin[data-odm-admin="orders"] .odm-admin__table-wrap,
body.odm-page-admin[data-odm-admin="topups"] .odm-admin__table-wrap,
body.odm-page-admin[data-odm-admin="payouts"] .odm-admin__table-wrap {
  overflow-x: hidden;
}

body.odm-page-admin[data-odm-admin="orders"] .odm-admin__table,
body.odm-page-admin[data-odm-admin="topups"] .odm-admin__table,
body.odm-page-admin[data-odm-admin="payouts"] .odm-admin__table {
  table-layout: fixed;
  width: 100%;
}

body.odm-page-admin[data-odm-admin="orders"] .odm-admin__table th,
body.odm-page-admin[data-odm-admin="orders"] .odm-admin__table td,
body.odm-page-admin[data-odm-admin="topups"] .odm-admin__table th,
body.odm-page-admin[data-odm-admin="topups"] .odm-admin__table td,
body.odm-page-admin[data-odm-admin="payouts"] .odm-admin__table th,
body.odm-page-admin[data-odm-admin="payouts"] .odm-admin__table td {
  white-space: normal;
  word-break: break-word;
  overflow-wrap: anywhere;
  vertical-align: top;
  padding-left: 8px;
  padding-right: 8px;
}

body.odm-page-admin[data-odm-admin="orders"] .odm-admin__table th,
body.odm-page-admin[data-odm-admin="topups"] .odm-admin__table th,
body.odm-page-admin[data-odm-admin="payouts"] .odm-admin__table th {
  line-height: 1.25;
  letter-spacing: 0.04em;
}

/* Пользователи: таблица в ширину контента, без горизонтального скролла */
body.odm-page-admin[data-odm-admin="users"] .odm-admin__table-wrap {
  overflow-x: hidden;
}

body.odm-page-admin[data-odm-admin="users"] .odm-admin__table {
  table-layout: fixed;
  width: 100%;
  min-width: 0;
}

body.odm-page-admin[data-odm-admin="users"] .odm-admin__table th,
body.odm-page-admin[data-odm-admin="users"] .odm-admin__table td {
  white-space: normal;
  word-break: break-word;
  overflow-wrap: anywhere;
  vertical-align: top;
  padding: 7px 5px;
  font-size: 11px;
  min-width: 0;
}

body.odm-page-admin[data-odm-admin="users"] .odm-admin__table th {
  line-height: 1.25;
  letter-spacing: 0.02em;
  white-space: normal;
  font-size: 10px;
  text-transform: uppercase;
}

body.odm-page-admin[data-odm-admin="users"] .odm-admin__table th:first-child,
body.odm-page-admin[data-odm-admin="users"] .odm-admin__table td:first-child {
  width: 26%;
  min-width: 0;
}

body.odm-page-admin[data-odm-admin="users"] .odm-admin__table th:nth-child(2),
body.odm-page-admin[data-odm-admin="users"] .odm-admin__table td:nth-child(2) {
  width: 7%;
  min-width: 0;
}

body.odm-page-admin[data-odm-admin="users"] .odm-admin__table th:nth-child(3),
body.odm-page-admin[data-odm-admin="users"] .odm-admin__table td:nth-child(3) {
  width: 5%;
  min-width: 0;
}

body.odm-page-admin[data-odm-admin="users"] .odm-admin__table th:nth-child(4),
body.odm-page-admin[data-odm-admin="users"] .odm-admin__table td:nth-child(4) {
  width: 9%;
  min-width: 0;
}

body.odm-page-admin[data-odm-admin="users"] .odm-admin__table th:nth-child(5),
body.odm-page-admin[data-odm-admin="users"] .odm-admin__table td:nth-child(5) {
  width: 11%;
  min-width: 0;
}

body.odm-page-admin[data-odm-admin="users"] .odm-admin__table th:nth-child(6),
body.odm-page-admin[data-odm-admin="users"] .odm-admin__table td:nth-child(6) {
  width: 9%;
  min-width: 0;
}

body.odm-page-admin[data-odm-admin="users"] .odm-admin__table th:nth-child(7),
body.odm-page-admin[data-odm-admin="users"] .odm-admin__table td:nth-child(7) {
  width: 15%;
  min-width: 0;
}

body.odm-page-admin[data-odm-admin="users"] .odm-admin__table th:nth-child(8),
body.odm-page-admin[data-odm-admin="users"] .odm-admin__table td:nth-child(8) {
  width: 7%;
  min-width: 0;
}

body.odm-page-admin[data-odm-admin="users"] .odm-admin__table th:last-child,
body.odm-page-admin[data-odm-admin="users"] .odm-admin__table td:last-child {
  width: 11%;
  min-width: 0;
  white-space: normal;
}

body.odm-page-admin[data-odm-admin="users"] .odm-admin__table .odm-admin__icon-btn {
  width: 30px;
  height: 30px;
  font-size: 0.85rem;
}

body.odm-page-admin[data-odm-admin="users"] .odm-admin__table-actions {
  gap: 4px;
}

body.odm-page-admin[data-odm-admin="users"] .odm-admin__filters__field {
  flex: 1 1 min(100%, 118px);
  min-width: 0;
}

body.odm-page-admin[data-odm-admin="users"] .odm-admin__filters__field--search {
  flex: 1.25 1 160px;
}

/* Пользователи: компактная карточка (аватар + имя + почта + роль) */
body.odm-page-admin[data-odm-admin="users"] .odm-admin__user-cell {
  gap: 8px;
}

body.odm-page-admin[data-odm-admin="users"] .odm-admin__user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  font-size: 11px;
}

body.odm-page-admin[data-odm-admin="users"] .odm-admin__user-name {
  font-size: 12px;
  line-height: 1.25;
}

body.odm-page-admin[data-odm-admin="users"] .odm-admin__user-email {
  font-size: 11px;
  margin: 1px 0 0;
}

body.odm-page-admin[data-odm-admin="users"] .odm-admin__user-fullname,
body.odm-page-admin[data-odm-admin="users"] .odm-admin__user-telegram {
  margin: 1px 0 0;
  font-size: 11px;
  line-height: 1.25;
  color: var(--odm-text-soft);
}

body.odm-page-admin[data-odm-admin="users"] td .odm-admin__role {
  padding: 4px 8px;
  font-size: 9px;
  letter-spacing: 0.04em;
}

body.odm-page-admin[data-odm-admin="users"] .container {
  max-width: min(96vw, 1460px);
}

body.odm-page-admin[data-odm-admin="users"] .odm-admin__inner {
  grid-template-columns: minmax(190px, 220px) minmax(0, 1fr);
  gap: clamp(16px, 2vw, 24px);
}

body.odm-page-admin[data-odm-admin="users"] .odm-admin__user-name {
  font-size: 11px;
}

body.odm-page-admin[data-odm-admin="users"] .odm-admin__user-email,
body.odm-page-admin[data-odm-admin="users"] .odm-admin__user-fullname,
body.odm-page-admin[data-odm-admin="users"] .odm-admin__user-telegram {
  font-size: 10px;
  line-height: 1.2;
}

body.odm-page-admin[data-odm-admin="users"] .odm-admin__state-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  vertical-align: middle;
  background: #9aa3ad;
}

body.odm-page-admin[data-odm-admin="users"] .odm-admin__state-dot--ok {
  background: #16b364;
}

body.odm-page-admin[data-odm-admin="users"] .odm-admin__state-dot--off {
  background: #ef4444;
}

body.odm-page-admin[data-odm-admin="users"] tbody tr[data-odm-admin-user-id] {
  cursor: pointer;
}

body.odm-page-admin[data-odm-admin="users"] tbody tr[data-odm-admin-user-id]:hover {
  background: rgba(255, 165, 87, 0.06);
}

.odm-admin-user-detail-modal {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}

.odm-admin-user-detail-modal.odm-admin-user-detail-modal--open {
  display: flex;
}

body.odm-admin-user-detail-modal-open {
  overflow: hidden;
}

.odm-admin-user-detail-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
}

.odm-admin-user-detail-modal__panel {
  position: relative;
  width: min(920px, 100%);
  max-height: min(88vh, 900px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--odm-surface);
  border-radius: 16px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  z-index: 1;
}

.odm-admin-user-detail-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;

}

.odm-admin-user-detail-modal__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--odm-text-primary);
}

.odm-admin-user-detail-modal__close {

  background: rgba(255, 255, 255, 0.06);
  width: 40px;
  height: 40px;
  border-radius: 12px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--odm-text-secondary);
}

.odm-admin-user-detail-modal__close:hover {
  background: rgba(255, 165, 87, 0.2);
  color: var(--odm-accent);
}

.odm-admin-user-detail-modal__body {
  padding: 14px 18px 18px;
  overflow: auto;
  font-size: 13px;
  line-height: 1.45;
}

.odm-admin-user-detail-modal__body .odm-admin-user-detail__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.odm-admin-user-detail-modal__body .odm-admin-user-detail__chip {
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--odm-row-muted);

}

.odm-admin-user-detail-modal__body .odm-admin-user-detail__chip span {
  display: block;
  font-size: 11px;
  color: var(--odm-text-soft);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.odm-admin-user-detail-modal__body .odm-admin-user-detail__chip strong {
  font-size: 14px;
  color: var(--odm-text-primary);
}

.odm-admin-user-detail-modal__body h3 {
  margin: 18px 0 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--odm-text-soft);
}

.odm-admin-user-detail-modal__body table {
  width: 100%;

  font-size: 12px;
}

.odm-admin-user-detail-modal__body th,
.odm-admin-user-detail-modal__body td {

  padding: 8px 6px;
  text-align: left;
  vertical-align: top;
}

.odm-admin-user-detail-modal__body th {
  color: var(--odm-text-soft);
  font-weight: 700;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Заказы: 9 колонок */
body.odm-page-admin[data-odm-admin="orders"] .odm-admin__table th:nth-child(1),
body.odm-page-admin[data-odm-admin="orders"] .odm-admin__table td:nth-child(1) {
  width: 5%;
}
body.odm-page-admin[data-odm-admin="orders"] .odm-admin__table th:nth-child(2),
body.odm-page-admin[data-odm-admin="orders"] .odm-admin__table td:nth-child(2) {
  width: 9%;
}
body.odm-page-admin[data-odm-admin="orders"] .odm-admin__table th:nth-child(3),
body.odm-page-admin[data-odm-admin="orders"] .odm-admin__table td:nth-child(3) {
  width: 14%;
}
body.odm-page-admin[data-odm-admin="orders"] .odm-admin__table th:nth-child(4),
body.odm-page-admin[data-odm-admin="orders"] .odm-admin__table td:nth-child(4) {
  width: 22%;
}
body.odm-page-admin[data-odm-admin="orders"] .odm-admin__table th:nth-child(5),
body.odm-page-admin[data-odm-admin="orders"] .odm-admin__table td:nth-child(5) {
  width: 9%;
}
body.odm-page-admin[data-odm-admin="orders"] .odm-admin__table th:nth-child(6),
body.odm-page-admin[data-odm-admin="orders"] .odm-admin__table td:nth-child(6) {
  width: 7%;
}
body.odm-page-admin[data-odm-admin="orders"] .odm-admin__table th:nth-child(7),
body.odm-page-admin[data-odm-admin="orders"] .odm-admin__table td:nth-child(7) {
  width: 11%;
}
body.odm-page-admin[data-odm-admin="orders"] .odm-admin__table th:nth-child(8),
body.odm-page-admin[data-odm-admin="orders"] .odm-admin__table td:nth-child(8) {
  width: 10%;
}
body.odm-page-admin[data-odm-admin="orders"] .odm-admin__table th:nth-child(9),
body.odm-page-admin[data-odm-admin="orders"] .odm-admin__table td:nth-child(9) {
  width: 13%;
}

body.odm-page-admin[data-odm-admin="orders"] .odm-admin__table td.odm-admin__cell-clip {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 0;
  word-break: normal;
  vertical-align: middle;
}

body.odm-page-admin[data-odm-admin="orders"] .odm-admin__table td.odm-admin__cell-clip .odm-admin__status {
  display: inline-block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: middle;
}

body.odm-page-admin[data-odm-admin="orders"] .odm-admin__table-actions,
body.odm-page-admin[data-odm-admin="users"] .odm-admin__table-actions {
  justify-content: flex-end;
}

body.odm-page-admin[data-odm-admin="topups"] .odm-admin__table th,
body.odm-page-admin[data-odm-admin="topups"] .odm-admin__table td {
  padding: 10px 8px;
  font-size: 12px;
}

body.odm-page-admin[data-odm-admin="payouts"] .container {
  max-width: min(98vw, 1680px);
}

body.odm-page-admin[data-odm-admin="payouts"] .odm-admin__inner {
  grid-template-columns: minmax(176px, 200px) minmax(0, 1fr);
  gap: clamp(12px, 1.8vw, 20px);
}

body.odm-page-admin[data-odm-admin="payouts"] .odm-admin__table th,
body.odm-page-admin[data-odm-admin="payouts"] .odm-admin__table td {
  padding: 8px 5px;
  font-size: 11px;
  line-height: 1.25;
}

body.odm-page-admin[data-odm-admin="payouts"] .odm-admin__table th {
  font-size: 10px;
  letter-spacing: 0.03em;
}

body.odm-page-admin[data-odm-admin="payouts"] .odm-admin__table th:nth-child(1),
body.odm-page-admin[data-odm-admin="payouts"] .odm-admin__table td:nth-child(1) {
  width: 5%;
  min-width: 44px;
}

body.odm-page-admin[data-odm-admin="payouts"] .odm-admin__table th:nth-child(2),
body.odm-page-admin[data-odm-admin="payouts"] .odm-admin__table td:nth-child(2) {
  width: 20%;
}

body.odm-page-admin[data-odm-admin="payouts"] .odm-admin__table th:nth-child(3),
body.odm-page-admin[data-odm-admin="payouts"] .odm-admin__table td:nth-child(3) {
  width: 13%;
  min-width: 108px;
}

body.odm-page-admin[data-odm-admin="payouts"] .odm-admin__table th:nth-child(4),
body.odm-page-admin[data-odm-admin="payouts"] .odm-admin__table td:nth-child(4) {
  width: 8%;
}

body.odm-page-admin[data-odm-admin="payouts"] .odm-admin__table th:nth-child(5),
body.odm-page-admin[data-odm-admin="payouts"] .odm-admin__table td:nth-child(5) {
  width: 17%;
}

body.odm-page-admin[data-odm-admin="payouts"] .odm-admin__table th:nth-child(6),
body.odm-page-admin[data-odm-admin="payouts"] .odm-admin__table td:nth-child(6) {
  width: 9%;
}

body.odm-page-admin[data-odm-admin="payouts"] .odm-admin__table th:nth-child(7),
body.odm-page-admin[data-odm-admin="payouts"] .odm-admin__table td:nth-child(7) {
  width: 5%;
}

body.odm-page-admin[data-odm-admin="payouts"] .odm-admin__table th:nth-child(8),
body.odm-page-admin[data-odm-admin="payouts"] .odm-admin__table td:nth-child(8) {
  width: 11%;
}

body.odm-page-admin[data-odm-admin="payouts"] .odm-admin__table th:nth-child(9),
body.odm-page-admin[data-odm-admin="payouts"] .odm-admin__table td:nth-child(9) {
  width: 8%;
}

body.odm-page-admin[data-odm-admin="payouts"] .odm-admin__table th:nth-child(10),
body.odm-page-admin[data-odm-admin="payouts"] .odm-admin__table td:nth-child(10) {
  width: 4%;
  text-align: right;
}

body.odm-page-admin[data-odm-admin="payouts"] .odm-admin__cell-payout-sum {
  vertical-align: top;
}

body.odm-page-admin[data-odm-admin="payouts"] .odm-admin__cell-payout-sum .odm-admin__sum {
  font-size: 13px;
}

body.odm-page-admin[data-odm-admin="payouts"] .odm-admin__payout-sum-detail {
  margin-top: 2px;
  font-size: 9.5px;
  line-height: 1.2;
  color: var(--odm-text-soft);
  font-weight: 600;
}

body.odm-page-admin[data-odm-admin="payouts"] .odm-admin__table select.odm-admin__input,
.odm-admin__table .odm-admin__input {
  width: 100%;
  min-width: 0;
  padding: 6px 8px;
  box-sizing: border-box;
  border-radius: 8px;

  background: var(--odm-input-bg);
  color: var(--odm-text-primary);
}

/* Товары (/admin-products): таблица в ширину контейнера, без горизонтального скролла */
body.odm-page-admin[data-odm-admin="products"] .odm-admin__table-wrap {
  overflow-x: hidden;
}

body.odm-page-admin[data-odm-admin="products"] .odm-admin__table {
  table-layout: fixed;
  width: 100%;
}

body.odm-page-admin[data-odm-admin="products"] .odm-admin__table th,
body.odm-page-admin[data-odm-admin="products"] .odm-admin__table td {
  white-space: normal;
  word-break: break-word;
  overflow-wrap: anywhere;
  vertical-align: top;
  padding-left: 10px;
  padding-right: 10px;
}

body.odm-page-admin[data-odm-admin="products"] .odm-admin__table th {
  line-height: 1.25;
  letter-spacing: 0.04em;
}

body.odm-page-admin[data-odm-admin="products"] .odm-admin__table td:nth-child(3),
body.odm-page-admin[data-odm-admin="products"] .odm-admin__table td:nth-child(4),
body.odm-page-admin[data-odm-admin="products"] .odm-admin__table td:nth-child(5),
body.odm-page-admin[data-odm-admin="products"] .odm-admin__table td:nth-child(6) {
  vertical-align: middle;
}

/* Товары: 7 колонок */
body.odm-page-admin[data-odm-admin="products"] .odm-admin__table th:nth-child(1),
body.odm-page-admin[data-odm-admin="products"] .odm-admin__table td:nth-child(1) {
  width: 28%;
}
body.odm-page-admin[data-odm-admin="products"] .odm-admin__table th:nth-child(2),
body.odm-page-admin[data-odm-admin="products"] .odm-admin__table td:nth-child(2) {
  width: 18%;
}
body.odm-page-admin[data-odm-admin="products"] .odm-admin__table th:nth-child(3),
body.odm-page-admin[data-odm-admin="products"] .odm-admin__table td:nth-child(3) {
  width: 10%;
}
body.odm-page-admin[data-odm-admin="products"] .odm-admin__table th:nth-child(4),
body.odm-page-admin[data-odm-admin="products"] .odm-admin__table td:nth-child(4) {
  width: 9%;
}
body.odm-page-admin[data-odm-admin="products"] .odm-admin__table th:nth-child(5),
body.odm-page-admin[data-odm-admin="products"] .odm-admin__table td:nth-child(5) {
  width: 10%;
}
body.odm-page-admin[data-odm-admin="products"] .odm-admin__table th:nth-child(6),
body.odm-page-admin[data-odm-admin="products"] .odm-admin__table td:nth-child(6) {
  width: 12%;
}
body.odm-page-admin[data-odm-admin="products"] .odm-admin__table th:nth-child(7),
body.odm-page-admin[data-odm-admin="products"] .odm-admin__table td:nth-child(7) {
  width: 13%;
}

body.odm-page-admin[data-odm-admin="products"] .odm-admin__table-actions {
  justify-content: flex-end;
}

body.odm-page-admin[data-odm-admin="products"] .odm-admin__product-cell {
  align-items: flex-start;
}

.odm-admin__table {
  width: 100%;

  font-family: var(--font-body);
  font-size: 14px;
}

.odm-admin__table th {
  text-align: left;
  padding: 12px 18px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--odm-text-soft);
  background: rgba(255, 255, 255, 0.04);

  white-space: nowrap;
}

.odm-admin__table td {
  padding: 14px 18px;

  color: var(--odm-text-secondary);
  vertical-align: middle;
}

.odm-admin__table tbody tr:hover td {
  background: rgba(255, 165, 87, 0.04);
}

.odm-admin__table tbody tr:last-child td {

}

.odm-admin__mono {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--odm-text-primary);
}

.odm-admin__sum {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--odm-price);
}

.odm-admin__muted {
  color: var(--odm-text-soft);
  font-size: 13px;
}

.odm-admin__status {
  display: inline-block;
  padding: 5px 11px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.odm-admin__status--ok {
  background: rgba(16, 185, 129, 0.12);
  color: #047857;
}

.odm-admin__status--wait {
  background: rgba(255, 165, 87, 0.2);
  color: #b45309;
}

.odm-admin__status--pay {
  background: rgba(34, 158, 217, 0.14);
  color: #0c6a9e;
}

.odm-admin__status--fail {
  background: rgba(241, 24, 78, 0.1);
  color: #c41545;
}

.odm-admin__status--open {
  background: rgba(124, 58, 237, 0.12);
  color: #5b21b6;
}

.odm-admin__status--closed {
  background: rgba(255, 255, 255, 0.08);
  color: var(--odm-text-secondary);
}

.odm-admin__filters {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 10px;
  width: 100%;
}

.odm-admin__filters__grow {
  flex: 1 1 200px;
  min-width: 0;
}

.odm-admin__filters__field {
  position: relative;
  flex: 1 1 160px;
  min-width: min(100%, 140px);
}

.odm-admin__filters__field--search {
  flex: 1.4 1 220px;
}

.odm-admin__filters__icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1rem;
  color: var(--odm-text-soft);
  pointer-events: none;
  z-index: 1;
}

.odm-admin__filters__chevron {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.8rem;
  color: #9aa3ad;
  pointer-events: none;
  z-index: 1;
}

.odm-admin__filters input[type="search"],
.odm-admin__filters input[type="text"],
.odm-admin__filters input[type="email"],
.odm-admin__filters input[type="number"],
.odm-admin__filters input[type="url"],
.odm-admin__filters select,
.odm-admin__filters textarea {
  width: 100%;
  box-sizing: border-box;

  padding: 14px 16px;
  background: var(--odm-input-bg);
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--odm-text-primary);
  transition: box-shadow 0.2s ease, background 0.2s ease;
}

.odm-admin__filters select {
  padding-right: 40px;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
}

/* Иконка слева ~18px + ширина глифа + зазор до текста */
.odm-admin__filters__field--search input {
  padding-left: calc(18px + 1.125em + 14px);
}

.odm-admin__filters input:focus,
.odm-admin__filters select:focus,
.odm-admin__filters textarea:focus {
  outline: none;
  background: var(--odm-input-focus-bg);
  box-shadow: 0 0 0 3px rgba(255, 165, 87, 0.35);
}

.odm-admin__filters textarea {
  min-height: 88px;
  resize: vertical;
  line-height: 1.5;
}

.odm-admin__pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;

  font-family: var(--font-body);
  font-size: 13px;
  color: var(--odm-text-secondary);
}

.odm-admin__pagination-pages {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.odm-admin__page-btn {
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--odm-text-secondary);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.odm-admin__page-btn:hover:not(:disabled) {
  background: rgba(255, 165, 87, 0.16);
  color: var(--odm-price);
}

.odm-admin__page-btn.is-current {
  background: rgba(255, 165, 87, 0.22);
  color: #ffd4b8;
}

.odm-admin__page-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.odm-admin__table-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.odm-admin__icon-btn {
  width: 38px;
  height: 38px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--odm-text-secondary);
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.odm-admin__icon-btn:hover {
  background: rgba(255, 165, 87, 0.18);
  color: var(--odm-price);
}

.odm-admin__icon-btn--verify-on {
  color: #0d6efd;
  background: rgba(13, 110, 253, 0.12);
}

.odm-admin__icon-btn--verify-on:hover {
  color: #0a58ca;
  background: rgba(13, 110, 253, 0.18);
}

.odm-admin__product-cell {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.odm-admin__thumb {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
  background: var(--odm-row-muted);
}

.odm-admin__product-meta {
  min-width: 0;
}

.odm-admin__product-name {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--odm-text-primary);
  margin: 0 0 4px;
  line-height: 1.3;
}

.odm-admin__product-sku {
  font-size: 12px;
  color: var(--odm-text-soft);
  margin: 0;
}

.odm-admin__badge-soft {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.06);
  color: var(--odm-text-secondary);
}

.odm-admin__badge-soft--ok {
  background: rgba(16, 185, 129, 0.12);
  color: #047857;
}

.odm-admin__badge-soft--off {
  background: rgba(241, 24, 78, 0.08);
  color: #b91c4a;
}

.odm-admin__badge-soft--danger {
  background: rgba(220, 38, 38, 0.14);
  color: #b91c1c;
}

.odm-admin__user-cell {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.odm-admin__user-avatar {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  color: #1a1208;
  background: linear-gradient(145deg, var(--odm-accent) 0%, #ffc48a 100%);
}

.odm-admin__user-meta {
  min-width: 0;
}

.odm-admin__user-name {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--odm-text-primary);
  margin: 0;
  line-height: 1.3;
}

.odm-admin__user-email {
  font-size: 12px;
  color: var(--odm-text-soft);
  margin: 2px 0 0;
  word-break: break-all;
}

.odm-admin__role {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.odm-admin__role--admin {
  background: rgba(138, 0, 194, 0.12);
  color: #6b21a8;
}

.odm-admin__role--mod {
  background: rgba(34, 158, 217, 0.14);
  color: #0c6a9e;
}

.odm-admin__role--user {
  background: rgba(255, 255, 255, 0.08);
  color: var(--odm-text-secondary);
}

.odm-admin__tickets {
  display: grid;
  grid-template-columns: minmax(220px, 260px) minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
  min-height: 420px;
}

.odm-admin__ticket-sort {
  position: relative;
  margin-left: auto;
}

.odm-admin__ticket-sort select {
  appearance: none;
  -webkit-appearance: none;
  padding: 6px 26px 6px 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--odm-text-primary);
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}

.odm-admin__ticket-sort select:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(255, 165, 87, 0.2);
}

.odm-admin__ticket-sort i {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--odm-text-soft);
  font-size: 11px;
}

.odm-admin-oc__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.odm-admin-oc__chk {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--odm-text-secondary);
  cursor: pointer;
}

.odm-admin-oc__pane .odm-admin-oc__thread {
  min-height: 280px;
  max-height: min(52vh, 560px);
  overflow-y: auto;
  padding: 12px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 12px;
}

.odm-admin-oc__dispute {
  margin-bottom: 14px;
  padding: 14px;
  border-radius: 14px;
  background: rgba(255, 171, 121, 0.1);
  border: 1px solid rgba(255, 171, 121, 0.35);
}

.odm-admin-oc__dispute-title {
  margin: 0 0 8px;
  font-size: 16px;
}

.odm-admin-oc__dispute-meta {
  margin: 0 0 12px;
  font-size: 13px;
  color: var(--odm-text-secondary);
}

.odm-admin-oc__dispute-actions,
.odm-admin-oc__dispute-custom {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
}

.odm-admin-oc__input {
  flex: 1 1 140px;
  min-width: 120px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--odm-input-bg);
  color: var(--odm-text-primary);
  font: inherit;
}

.odm-admin-oc__pill {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  background: rgba(239, 68, 68, 0.35);
  color: #fecaca;
}

.odm-admin-oc__err {
  color: #fecaca;
}

.odm-admin__ticket-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.odm-admin__ticket-item {
  display: block;
  width: 100%;
  text-align: left;
  padding: 14px 16px;

  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  transition: background 0.2s ease, box-shadow 0.2s ease;
  font: inherit;
  color: inherit;
}

.odm-admin__ticket-item:hover {
  background: rgba(255, 165, 87, 0.1);
}

.odm-admin__ticket-item.is-active {
  background: rgba(255, 165, 87, 0.18);
  box-shadow: 0 0 0 2px rgba(255, 165, 87, 0.25);
}

.odm-admin__ticket-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.odm-admin__ticket-id {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--odm-text-soft);
}

.odm-admin__ticket-time {
  font-size: 11px;
  color: var(--odm-text-soft);
  white-space: nowrap;
}

.odm-admin__ticket-subject {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--odm-text-primary);
  margin: 0 0 6px;
  line-height: 1.35;
}

.odm-admin__ticket-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(255, 140, 90, 0.22);
  color: #a14a20;
  vertical-align: middle;
}

.odm-admin__ticket-badge--dispute {
  background: rgba(239, 68, 68, 0.22);
  color: #fecaca;
}

.odm-admin__ticket-user {
  font-size: 13px;
  color: var(--odm-text-secondary);
  margin: 0;
}

.odm-admin__ticket-pane {
  padding: 14px 14px 12px;
  border-radius: var(--radius-md);
  background: var(--odm-surface);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.odm-admin__ticket-pane-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
  padding-bottom: 0;
}

.odm-admin__ticket-pane-head > div {
  flex: 1 1 100%;
  min-width: 0;
}

.odm-admin__ticket-pane-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 6px;
  color: var(--odm-text-primary);
}

.odm-admin__ticket-meta {
  margin: 0;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--odm-text-secondary);
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.odm-admin__ticket-meta-pill,
.odm-admin__ticket-meta-text {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--odm-text-secondary);
}

.odm-admin__ticket-meta-pill {
  background: rgba(255, 171, 121, 0.16);
  color: var(--odm-accent);
  font-weight: 800;
}

.odm-admin__ticket-account {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(42, 36, 30, 0.95);

  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.45;
  color: var(--odm-text-secondary);
}

.odm-admin__ticket-account-title {
  margin: 0 0 8px;
  font-weight: 700;
  font-size: 13px;
}

.odm-admin__ticket-account .odm-admin__muted {
  font-size: 12px;
  margin: 4px 0 8px;
}

.odm-admin__ticket-refund-done {
  margin: 8px 0 0;
  color: #1a7f4c;
  font-weight: 600;
}

.odm-admin__ticket-refund-meta {
  margin: 8px 0 0;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.04);
  font-size: 11px;
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: break-word;
}

.odm-admin__account-resolve {
  margin-top: 8px;
  padding: 10px;
  border-radius: 12px;
  background: rgba(255, 171, 121, 0.05);
  border: 1px solid rgba(255, 171, 121, 0.14);
}

.odm-admin__account-resolve__dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 14px;
  margin: 0 0 14px;
  font-size: 13px;
}

.odm-admin__account-resolve__dl dt {
  margin: 0;
  font-weight: 600;
  color: #8a9390;
}

.odm-admin__account-resolve__dl dd {
  margin: 0;
  color: var(--odm-text-primary);
}

.odm-admin__account-resolve__summary {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin: 0 0 8px;
}

.odm-admin__account-resolve__product,
.odm-admin__account-resolve__money {
  padding: 6px 8px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.05);
  min-width: 0;
}

.odm-admin__account-resolve__product span,
.odm-admin__account-resolve__money span {
  display: block;
  margin-bottom: 2px;
  color: var(--odm-text-soft);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.odm-admin__account-resolve__product strong,
.odm-admin__account-resolve__money strong {
  display: block;
  color: var(--odm-text-primary);
  font-family: var(--font-display);
  font-size: 12px;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.odm-admin__account-resolve__money strong {
  color: var(--odm-price);
  font-size: 13px;
}

.odm-admin__account-resolve__evidence {
  margin-bottom: 8px;
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.22);
  font-size: 12px;
}

.odm-admin__account-resolve__evidence summary {
  cursor: pointer;
  color: var(--odm-text-secondary);
  font-weight: 700;
  font-size: 12px;
}

.odm-admin__account-resolve__evidence-text {
  margin: 4px 0 0;
  white-space: pre-wrap;
  word-break: break-word;
  color: var(--odm-text-secondary);
  font-size: 12px;
}

.odm-admin__account-resolve__attach {
  margin: 0 0 8px;
  font-size: 12px;
}

.odm-admin__account-resolve__warn {
  margin: 0 0 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 171, 121, 0.12);
  border: 1px solid rgba(255, 171, 121, 0.28);
  font-size: 13px;
  line-height: 1.45;
  color: var(--odm-text-secondary);
}

.odm-admin__account-resolve__warn p {
  margin: 0;
}

.odm-admin__account-resolve__tools {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 6px;
  margin-top: 4px;
}

.odm-admin__account-resolve__card {
  padding: 6px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.18);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.odm-admin__account-resolve__card--buyer {
  background: rgba(255, 171, 121, 0.08);
}

.odm-admin__account-resolve__card--muted {
  background: rgba(255, 255, 255, 0.03);
}

.odm-admin__account-resolve__card .odm-admin__btn {
  font-size: 12px;
  padding: 8px 10px;
}

.odm-admin__account-resolve__input {
  width: 100%;
  box-sizing: border-box;
  padding: 7px 9px;
  border-radius: 8px;
  font: inherit;
  font-size: 13px;
  background: var(--odm-input-bg);
  color: var(--odm-text-primary);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.odm-admin__account-resolve__input:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(255, 165, 87, 0.15);
}

.odm-admin__account-resolve__calc {
  margin: 0;
  min-height: 14px;
  color: var(--odm-text-soft);
  font-size: 11px;
  line-height: 1.3;
}

.odm-admin__account-resolve__done {
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(22, 163, 74, 0.1);
  color: var(--odm-text-secondary);
  font-size: 12px;
}

.odm-admin__account-resolve__done p {
  margin: 0 0 4px;
}

.odm-admin__account-resolve__done p:last-child {
  margin-bottom: 0;
}

.odm-admin__ticket-thread {
  flex: 1 1 auto;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0 0 12px;
  padding: 10px;
  min-height: 320px;
  max-height: min(72vh, 720px);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.2);
}

.odm-admin__ticket-msg {
  padding: 12px 14px;
  border-radius: 14px;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.5;
  color: var(--odm-text-secondary);
  max-width: 92%;
}

.odm-admin__ticket-msg--in {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.06);
  border-bottom-left-radius: 4px;
}

.odm-admin__ticket-msg--out {
  align-self: flex-end;
  background: linear-gradient(145deg, #4a3828 0%, #3d2e22 100%);
  border-bottom-right-radius: 4px;
  color: #ffd4b8;
}

.odm-admin__ticket-msg--out .odm-admin__ticket-msg-author {
  color: #ffe8d4;
}

.odm-admin__ticket-msg--seller {
  align-self: flex-start;
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.18);
}

.odm-admin__ticket-msg--seller .odm-admin__ticket-msg-author {
  color: #93c5fd;
}

.odm-admin__ticket-msg--system {
  align-self: center;
  max-width: 86%;
  background: rgba(255, 171, 121, 0.09);
  border: 1px solid rgba(255, 171, 121, 0.18);
  color: var(--odm-text-secondary);
  text-align: center;
}

.odm-admin__ticket-msg-author {
  display: block;
  margin-bottom: 4px;
  font-size: 12px;
  font-weight: 700;
  color: var(--odm-text-primary);
  letter-spacing: 0.01em;
}

.odm-admin__ticket-msg-body {
  word-break: break-word;
}

.odm-admin__ticket-msg time {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  color: var(--odm-text-soft);
}

.odm-admin__ticket-reply {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
}

.odm-admin__ticket-reply .odm-admin__filters {
  display: block;
}

.odm-admin__ticket-prio {
  margin-top: 8px;
  display: inline-block;
}

.odm-admin__card--ticket-queue {
  padding-bottom: 16px;
}

.odm-admin__card-head--compact {
  margin-bottom: 12px;
}

.odm-admin__ticket-reply-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: flex-end;
}

.odm-admin__ticket-reply-row .odm-admin__filters__field {
  flex: 1 1 140px;
}

.odm-admin__settings-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.odm-admin__settings-card {
  padding: 22px 22px 20px;
  border-radius: var(--radius-md);
  background: var(--odm-surface);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.25);
}

.odm-admin__settings-head {
  margin-bottom: 18px;
  padding-bottom: 14px;

}

.odm-admin__settings-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 6px;
  color: var(--odm-text-primary);
}

.odm-admin__settings-desc {
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.5;
  color: var(--odm-text-secondary);
  margin: 0;
}

.odm-admin__form-grid {
  display: grid;
  gap: 16px;
}

.odm-admin__form-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.odm-admin__form-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 720px) {
  .odm-admin__form-grid--3 {
    grid-template-columns: 1fr;
  }
}

.odm-admin__hold-timer {
  margin-top: 4px;
}

.odm-admin__card .odm-admin__form-grid .odm-admin__filters__field > label {
  display: block;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--odm-text-secondary);
  margin-bottom: 8px;
}

.odm-admin__card .odm-admin__form-grid .odm-admin__filters__field input[type="text"],
.odm-admin__card .odm-admin__form-grid .odm-admin__filters__field input[type="number"],
.odm-admin__card .odm-admin__form-grid .odm-admin__filters__field input[type="url"],
.odm-admin__card .odm-admin__form-grid .odm-admin__filters__field select {
  width: 100%;
  box-sizing: border-box;

  padding: 12px 14px;
  background: var(--odm-input-bg);
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--odm-text-primary);
  transition: box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.odm-admin__card .odm-admin__form-grid .odm-admin__filters__field select {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
  background-color: var(--odm-input-bg);
  background-image: linear-gradient(45deg, transparent 50%, #a8a8a8 50%),
    linear-gradient(135deg, #a8a8a8 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.odm-admin__card .odm-admin__form-grid .odm-admin__filters__field input:focus,
.odm-admin__card .odm-admin__form-grid .odm-admin__filters__field select:focus {
  outline: none;
  background: var(--odm-input-focus-bg);

  box-shadow: 0 0 0 3px rgba(255, 165, 87, 0.25);
}

.odm-admin__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.odm-admin__field label,
.odm-admin__field .odm-admin__field-label {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--odm-text-secondary);
}

.odm-admin__field-hint {
  font-size: 12px;
  color: var(--odm-text-soft);
  margin: 0;
  line-height: 1.45;
}

.odm-admin__switch {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.odm-admin__switch-text {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--odm-text-secondary);
}

.odm-admin__switch input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.odm-admin__switch-ui {
  flex-shrink: 0;
  width: 48px;
  height: 28px;
  border-radius: 999px;
  background: #525252;
  position: relative;
  transition: background 0.2s ease;
}

.odm-admin__switch-ui::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
  transition: transform 0.2s ease;
}

.odm-admin__switch input:checked + .odm-admin__switch-ui {
  background: var(--odm-accent);
}

.odm-admin__switch input:checked + .odm-admin__switch-ui::after {
  transform: translateX(20px);
}

.odm-admin__switch input:focus-visible + .odm-admin__switch-ui {
  outline: 2px solid rgba(255, 165, 87, 0.55);
  outline-offset: 2px;
}

.odm-admin__settings-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
  padding-top: 18px;

}

.odm-admin__settings-card .odm-admin__switch + .odm-admin__switch {
  margin-top: 10px;
}

.odm-admin__settings-card .odm-admin__home-form .odm-admin__field > input[type="text"],
.odm-admin__settings-card .odm-admin__home-form .odm-admin__field > input[type="url"],
.odm-admin__settings-card .odm-admin__home-form .odm-admin__field > input[type="number"],
.odm-admin__settings-card .odm-admin__home-form .odm-admin__field > input[type="datetime-local"],
.odm-admin__settings-card .odm-admin__home-form .odm-admin__field > textarea {
  width: 100%;
  box-sizing: border-box;

  padding: 14px 16px;
  background: var(--odm-input-bg);
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--odm-text-primary);
  transition: box-shadow 0.2s ease, background 0.2s ease;
}

.odm-admin__settings-card .odm-admin__home-form .odm-admin__field > textarea {
  min-height: 72px;
  resize: vertical;
  line-height: 1.5;
}

.odm-admin__settings-card .odm-admin__home-form .odm-admin__field > input:focus,
.odm-admin__settings-card .odm-admin__home-form .odm-admin__field > textarea:focus {
  outline: none;
  background: var(--odm-input-focus-bg);
  box-shadow: 0 0 0 3px rgba(255, 165, 87, 0.35);
}

.odm-admin__settings-card .odm-admin__home-form .odm-admin__field > select {
  width: 100%;
  box-sizing: border-box;

  padding: 14px 40px 14px 16px;
  background-color: var(--odm-input-bg);
  background-image: linear-gradient(45deg, transparent 50%, #a8a8a8 50%),
    linear-gradient(135deg, #a8a8a8 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  border-radius: 12px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--odm-text-primary);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition: box-shadow 0.2s ease, background-color 0.2s ease;
}

.odm-admin__settings-card .odm-admin__home-form .odm-admin__field > select:focus {
  outline: none;
  background-color: var(--odm-input-focus-bg);
  box-shadow: 0 0 0 3px rgba(255, 165, 87, 0.35);
}

.odm-admin__settings-card--commission {

  background: linear-gradient(165deg, rgba(60, 48, 36, 0.55) 0%, var(--odm-surface) 42%);
}

.odm-admin__settings-head--commission {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
  padding-bottom: 0;

}

.odm-admin__settings-head-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, rgba(255, 190, 120, 0.35), rgba(255, 140, 80, 0.22));
  color: #ffd4b8;
  font-size: 1.35rem;
}

.odm-admin__settings-head-text {
  flex: 1;
  min-width: 0;
}

.odm-admin__settings-head--commission .odm-admin__settings-title {
  margin-bottom: 8px;
}

.odm-admin__settings-head--commission .odm-admin__settings-desc strong {
  color: var(--odm-text-primary);
}

.odm-admin__settings-status {
  margin: 0 0 16px;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.45;
  font-family: var(--font-body);
}

.odm-admin__settings-status--ok {
  background: rgba(26, 127, 76, 0.1);
  color: #1a7f4c;
}

.odm-admin__settings-status--error {
  background: rgba(196, 21, 69, 0.08);
  color: #c41545;
}

.odm-admin__commission-kpis {
  margin-top: 18px;
  padding-top: 18px;

}

@media (max-width: 720px) {
  .odm-admin__settings-head--commission {
    flex-direction: column;
    align-items: stretch;
  }
}

.odm-admin__field--full {
  grid-column: 1 / -1;
}

/* Формы «Новый товар» и «Редактирование товара» в модальных окнах */
#odmNewProductForm,
#odmProductEditForm {
  margin: 0;
  width: 100%;
}

#odmNewProductForm .odm-admin__field,
#odmProductEditForm .odm-admin__field {
  gap: 8px;
}

#odmNewProductForm .odm-admin__field-label,
#odmProductEditForm .odm-admin__field-label {
  letter-spacing: 0.01em;
}

#odmNewProductForm .odm-admin__field input[type="text"],
#odmNewProductForm .odm-admin__field input[type="url"],
#odmNewProductForm .odm-admin__field input[type="number"],
#odmNewProductForm .odm-admin__field select,
#odmProductEditForm .odm-admin__field input[type="text"],
#odmProductEditForm .odm-admin__field input[type="url"],
#odmProductEditForm .odm-admin__field input[type="number"],
#odmProductEditForm .odm-admin__field select {
  width: 100%;
  box-sizing: border-box;

  padding: 11px 14px;
  background: var(--odm-input-bg);
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--odm-text-primary);
  transition: box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

#odmNewProductForm .odm-admin__field input::placeholder,
#odmProductEditForm .odm-admin__field input::placeholder {
  color: #9ca3af;
}

#odmNewProductForm .odm-admin__field select,
#odmProductEditForm .odm-admin__field select {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
  background-color: var(--odm-input-bg);
  background-image: linear-gradient(45deg, transparent 50%, #a8a8a8 50%),
    linear-gradient(135deg, #a8a8a8 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

#odmNewProductForm .odm-admin__field input:hover,
#odmNewProductForm .odm-admin__field select:hover,
#odmProductEditForm .odm-admin__field input:hover,
#odmProductEditForm .odm-admin__field select:hover {

  background-color: var(--odm-input-focus-bg);
}

#odmNewProductForm .odm-admin__field input:focus,
#odmNewProductForm .odm-admin__field select:focus,
#odmProductEditForm .odm-admin__field input:focus,
#odmProductEditForm .odm-admin__field select:focus {
  outline: none;
  background: var(--odm-input-focus-bg);

  box-shadow: 0 0 0 3px rgba(255, 165, 87, 0.22);
}

#odmNewProductForm .odm-admin__field--full.odm-lines-modal__row,
#odmProductEditForm .odm-admin__field--full.odm-lines-modal__row {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  padding: 14px 16px;
  margin-top: 2px;
  border-radius: 14px;
  background: rgba(255, 165, 87, 0.06);

}

#odmNewProductForm .odm-lines-modal__check,
#odmProductEditForm .odm-lines-modal__check {
  margin: 0;
  padding: 4px 0;
}

#odmNewProductForm .odm-lines-modal__check input,
#odmProductEditForm .odm-lines-modal__check input {
  width: 1.05rem;
  height: 1.05rem;
  accent-color: var(--odm-accent);
  cursor: pointer;
}

#odmNewProductForm .odm-lines-modal__actions,
#odmProductEditForm .odm-lines-modal__actions {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  padding-top: 16px;

}

#odmNewProductForm .odm-lines-modal__actions .odm-admin__btn,
#odmProductEditForm .odm-lines-modal__actions .odm-admin__btn {
  min-height: 44px;
  padding-left: 20px;
  padding-right: 20px;
}

.odm-admin__field--spaced {
  margin-top: 18px;
}

.odm-admin__field--spaced-sm {
  margin-top: 16px;
}

.odm-admin__filters--narrow {
  max-width: 200px;
}

.odm-admin__priority {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 6px;
}

.odm-admin__priority--high {
  background: rgba(241, 24, 78, 0.1);
  color: #c41545;
}

.odm-admin__priority--norm {
  background: rgba(255, 165, 87, 0.18);
  color: #b45309;
}

.odm-admin__priority--low {
  background: rgba(255, 255, 255, 0.06);
  color: var(--odm-text-secondary);
}

@media (max-width: 1100px) {
  .odm-admin__kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .odm-admin__inner {
    grid-template-columns: 1fr;
  }

  .odm-admin__sidebar {
    position: static;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px 14px;
  }

  .odm-admin__brand {
    margin-bottom: 0;
    padding-bottom: 12px;
  }

  .odm-admin__nav {
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 8px;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  .odm-admin__nav-link {
    flex-shrink: 0;
    white-space: nowrap;
  }

  .odm-admin__split {
    grid-template-columns: 1fr;
  }

  .odm-admin__tickets {
    grid-template-columns: 1fr;
  }

  .odm-admin__account-resolve__summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .odm-admin__form-grid--2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .odm-page-admin .odm-menu__login {

  }

  .odm-page-admin .odm-menu__cart-wrap {

    margin-top: 8px;
    padding-top: 0;
  }

  .odm-admin__kpis {
    grid-template-columns: 1fr;
  }

  .odm-admin__account-resolve__summary,
  .odm-admin__account-resolve__tools {
    grid-template-columns: 1fr;
  }

  .odm-admin__ticket-pane {
    padding: 14px;
  }

  .odm-admin__ticket-msg {
    max-width: 100%;
  }

  .odm-admin__table--hide-2-sm th:nth-child(2),
  .odm-admin__table--hide-2-sm td:nth-child(2) {
    display: none;
  }
}

@media (max-width: 480px) {
  .odm-admin__toolbar-actions {
    width: 100%;
  }

  .odm-admin__btn {
    flex: 1 1 auto;
  }
}

.odm-product__pill--cat {
  background: rgba(99, 102, 241, 0.14);
  color: #3730a3;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.odm-lines-modal[hidden] {
  display: none !important;
}

.odm-lines-modal {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(12px, env(safe-area-inset-top, 0px)) max(12px, env(safe-area-inset-right, 0px))
    max(12px, env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px));
  box-sizing: border-box;
}

.odm-lines-modal__backdrop {
  position: absolute;
  inset: 0;

  padding: 0;
  margin: 0;
  background: rgba(15, 18, 28, 0.52);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
}

.odm-lines-modal__panel {
  position: relative;
  z-index: 1;
  align-self: center;
  width: min(720px, 100%);
  min-width: 0;
  max-width: 100%;
  max-height: min(92dvh, 900px);
  display: flex;
  flex-direction: column;
  background: var(--odm-surface);
  border-radius: clamp(14px, 3vw, 20px);

  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 32px 72px rgba(0, 0, 0, 0.45),
    0 14px 36px rgba(255, 165, 87, 0.12);
  overflow: hidden;
  isolation: isolate;
  transform: translateZ(0);
}

.odm-lines-modal__panel--wide {
  width: min(900px, 100%);
  max-height: min(94dvh, 920px);
}

.odm-lines-modal__panel::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--odm-accent) 0%, #ffc48a 50%, var(--odm-accent) 100%);
  border-radius: inherit;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  pointer-events: none;
  z-index: 3;
}

.odm-lines-modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px 16px;
  flex-shrink: 0;
  flex-wrap: wrap;
  padding: 22px 22px 16px;
  padding-top: calc(22px + 2px);

  background: linear-gradient(180deg, #2a2a2a 0%, var(--odm-surface) 55%);
  position: relative;
  z-index: 1;
}

.odm-lines-modal__head-text {
  flex: 1;
  min-width: 0;
  padding-right: 4px;
}

.odm-lines-modal__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--odm-text-primary);
}

.odm-lines-modal__meta {
  margin: 6px 0 0;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--odm-text-secondary);
}

.odm-lines-modal__close {
  flex-shrink: 0;
  width: 40px;
  height: 40px;

  border-radius: 12px;
  background: var(--odm-input-bg);
  cursor: pointer;
  color: var(--odm-text-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  line-height: 1;
  transition: background 0.2s ease, color 0.2s ease;
}

.odm-lines-modal__close:hover {
  background: rgba(255, 165, 87, 0.2);
  color: var(--odm-price);
}

.odm-lines-modal__close:focus-visible {
  outline: 2px solid rgba(255, 165, 87, 0.5);
  outline-offset: 2px;
}

.odm-lines-modal__body {
  flex: 1 1 auto;
  min-height: 0;
  padding: 18px 22px 22px;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: linear-gradient(180deg, var(--odm-surface) 0%, #222 100%);
  position: relative;
  z-index: 1;
}

.odm-lines-modal__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.odm-lines-modal__row label {
  font-size: 13px;
  font-weight: 600;
  color: var(--odm-text-secondary);
}

.odm-lines-modal__row select,
.odm-lines-modal__row input[type="number"],
.odm-lines-modal__row input[type="text"] {
  padding: 10px 12px;
  border-radius: 11px;

  font-family: var(--font-body);
  font-size: 14px;
  background: var(--odm-input-bg);
  color: var(--odm-text-primary);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.odm-lines-modal__row select {
  min-width: min(220px, 100%);
  max-width: 100%;
  flex: 1 1 180px;
}

#odmLinesExportCount {
  width: 5rem;
  min-width: 5rem;
  flex: 0 0 auto;
}

.odm-lines-modal__row select:focus,
.odm-lines-modal__row input[type="number"]:focus,
.odm-lines-modal__row input[type="text"]:focus,
.odm-lines-modal__textarea:focus {
  outline: none;
  background: var(--odm-input-focus-bg);

  box-shadow: 0 0 0 3px rgba(255, 165, 87, 0.22);
}

.odm-lines-modal__check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  cursor: pointer;
}

.odm-lines-modal__label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--odm-text-soft);
}

.odm-lines-modal__textarea {
  width: 100%;
  min-height: 200px;
  max-height: 360px;
  box-sizing: border-box;
  padding: 12px 14px;
  border-radius: 12px;

  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  line-height: 1.45;
  resize: vertical;
  background: #1a1a1a;
  color: var(--odm-text-primary);
}

.odm-lines-modal__textarea--paste {
  min-height: 100px;
  max-height: 200px;
  background: var(--odm-input-bg);
}

.odm-lines-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.odm-lines-modal__actions .odm-admin__btn {
  margin: 0;
}

.odm-lines-modal__hint {
  margin: 0;
  font-size: 12px;
  color: var(--odm-text-soft);
  line-height: 1.45;
}

.odm-lines-modal__body--stacked {
  gap: 0;
}

.odm-lines-modal__section {
  padding: 16px 0;

}

.odm-lines-modal__section:first-of-type {
  padding-top: 0;
}

.odm-lines-modal__section:last-of-type {

  padding-bottom: 0;
}

.odm-lines-modal__section--muted {
  background: rgba(0, 0, 0, 0.22);
  margin: 0 -6px;
  padding: 16px 14px;
  border-radius: 14px;

}

.odm-lines-modal__section-title {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--odm-text-secondary);
}

.odm-lines-modal__form-heading {
  margin: 0;
  padding: 4px 0 0;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--odm-text-secondary);
}

.odm-lines-modal__form-heading:not(:first-child) {
  margin-top: 8px;
}

#odmProductEditForm .odm-lines-modal__textarea {
  min-height: 120px;
  max-height: 280px;
}

.odm-lines-modal__field-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.odm-lines-modal__labeled-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.odm-lines-modal__inline-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--odm-text-secondary);
}

.odm-lines-modal__field-row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 10px;
}

.odm-lines-modal__select-grow {
  flex: 1 1 200px;
  min-width: 0;
  padding: 10px 12px;
  border-radius: 11px;

  font-family: var(--font-body);
  font-size: 14px;
  background: var(--odm-input-bg);
  color: var(--odm-text-primary);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.odm-lines-modal__select-grow:focus {
  outline: none;
  background: var(--odm-input-focus-bg);

  box-shadow: 0 0 0 3px rgba(255, 165, 87, 0.22);
}

.odm-lines-modal__field-row .odm-admin__btn {
  flex: 0 0 auto;
  white-space: nowrap;
}

.odm-lines-modal__checkbox-row {
  padding: 10px 12px;
  border-radius: 11px;
  background: rgba(255, 165, 87, 0.06);

}

.odm-lines-modal__toolbar {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.odm-lines-modal__toolbar .odm-admin__btn {
  width: 100%;
  justify-content: center;
  min-height: 42px;
}

.odm-lines-modal__field-hint {
  margin: 8px 0 0;
  font-size: 12px;
  font-weight: 500;
  color: var(--odm-text-soft);
  line-height: 1.4;
}

.odm-lines-modal__field-hint--warn {
  color: #b45309;
}

.odm-admin__img-preview-wrap {
  margin-top: 12px;
}

.odm-admin__img-preview {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 12px;

  background: var(--odm-row-muted);
  display: block;
}

.odm-lines-modal__textarea--readonly {
  background: var(--odm-row-muted);
  color: var(--odm-text-secondary);
}

.odm-lines-modal__btn-block {
  width: 100%;
  justify-content: center;
  min-height: 42px;
  margin-top: 2px;
}

.odm-lines-modal__io-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
}

.odm-lines-modal__io-row--export {
  align-items: center;
}

.odm-lines-modal__io-row--export .odm-lines-modal__inline-label {
  flex: 0 0 auto;
}

.odm-lines-modal__input-narrow {
  width: 5rem;
  min-width: 5rem;
  padding: 10px 12px;
  border-radius: 11px;

  font-family: var(--font-body);
  font-size: 14px;
  background: var(--odm-input-bg);
  color: var(--odm-text-primary);
}

.odm-lines-modal__io-row .odm-admin__btn {
  flex: 1 1 auto;
  min-width: min(100%, 200px);
  justify-content: center;
}

.odm-file-input {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  flex: 1 1 220px;
  min-width: 0;
  min-height: 48px;
  padding: 10px 12px;
  border-radius: 12px;

  background: var(--odm-row-muted);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.odm-file-input:hover {

  background: rgba(255, 165, 87, 0.04);
}

.odm-file-input__native {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
  font-size: 0;
}

.odm-file-input__btn {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  font-family: var(--font-display);
  color: var(--odm-text-secondary);
  background: var(--odm-input-bg);

  pointer-events: none;
}

.odm-file-input__name {
  font-size: 12px;
  color: var(--odm-text-soft);
  flex: 1 1 120px;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 540px) {
  .odm-lines-modal {
    padding: 8px;
    align-items: stretch;
  }

  .odm-lines-modal__panel,
  .odm-lines-modal__panel--wide {
    width: 100%;
    max-height: min(100dvh - 16px, 920px);
    border-radius: 16px;
  }

  .odm-lines-modal__head {
    padding: 18px 16px 14px;
    padding-top: calc(18px + 2px);
  }

  .odm-lines-modal__body {
    padding: 14px 16px 18px;
    gap: 12px;
  }

  .odm-lines-modal__close {
    width: 38px;
    height: 38px;
  }

  .odm-lines-modal__toolbar {
    grid-template-columns: 1fr;
  }

  .odm-lines-modal__io-row {
    flex-direction: column;
    align-items: stretch;
  }

  .odm-lines-modal__io-row .odm-admin__btn {
    min-width: 0;
    width: 100%;
  }
}

/* --- Проверка товара / оформление (модалки) --- */
.odm-check-ring {
  width: 52px;
  height: 52px;
  margin: 0 auto 16px;
  border-radius: 50%;

  animation: odm-check-spin 0.85s linear infinite;
}

.odm-check-ring--inline {
  margin-bottom: 12px;
}

@keyframes odm-check-spin {
  to {
    transform: rotate(360deg);
  }
}

.odm-checkout-verify-modal__body {
  text-align: center;
  padding-top: 8px;
}

.odm-checkout-verify-modal__text {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  color: var(--odm-text-primary);
  margin: 0;
}

.odm-checkout-verify-modal__hint {
  margin-top: 12px;
  text-align: center;
}

.odm-cookie-stock-modal__body {
  padding-top: 4px;
}

.odm-cookie-stock-modal__lead {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--odm-text-primary);
  text-align: center;
  margin: 0 0 14px;
}

.odm-cookie-stock-modal__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 0 0 16px;
  padding: 12px;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(255, 171, 121, 0.14), rgba(38, 38, 38, 0.98));

}

.odm-cookie-stock-modal__stats dt {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--odm-text-soft);
  margin: 0 0 4px;
}

.odm-cookie-stock-modal__stats dd {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--odm-text-primary);
  margin: 0;
  transition: color 0.2s ease;
}

.odm-app-error-modal__text {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.55;
  color: var(--odm-text-secondary);
  margin: 0;
}

/* Глобально убираем тонкие обводки интерфейса */
*,
*::before,
*::after {
  border-width: 0 !important;
  outline-width: 0 !important;
}

@media (max-width: 768px) {
  .odm-legal-main {
    padding: 18px 0 32px;
  }

  .odm-legal__card {
    border-radius: 16px;
    padding: 20px 14px;
  }

  .odm-legal__section {
    margin-top: 18px;
  }
}

/* Главная: типы товаров, аккаунты, услуги; хабы; мастер 4 карточки */
.odm-home-block {
  margin-top: 28px;
}

.odm-home-block__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.odm-home-block__title {
  font-family: var(--odm-font-display, "Unbounded", system-ui, sans-serif);
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0;
}

.odm-home-block__lead {
  margin: 0;
  width: 100%;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.95rem;
}

.odm-home-block__more {
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  color: var(--odm-accent, #ffab79);
}

.odm-home-types__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

@media (min-width: 520px) {
  .odm-home-types__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 960px) {
  .odm-home-types__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.odm-home-type-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 16px;
  border-radius: 16px;
  background: var(--odm-row-muted, rgba(255, 255, 255, 0.04));
  text-decoration: none;
  color: inherit;
  border: 1px solid transparent;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  min-height: 118px;
}

.odm-home-type-card:hover {
  border-color: rgba(255, 171, 121, 0.35);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.odm-home-type-card__icon {
  font-size: 1.5rem;
  color: var(--odm-accent, #ffab79);
}

.odm-home-type-card__title {
  font-weight: 700;
  font-size: 1rem;
}

.odm-home-type-card__meta {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

.odm-home-accounts__rail,
.odm-home-services__rail {
  margin-top: 4px;
}

/* Квадратные карточки каталога (аккаунты / услуги), без изображений */
.odm-home-cards__list .odm-home-cards__item {
  width: clamp(142px, 34vw, 176px);
  max-width: none;
}

.odm-home-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  box-sizing: border-box;
  padding: 14px 12px 12px;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.odm-home-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
}

.odm-home-card__title {
  position: relative;
  margin: 0;
  max-width: 78%;
  font-weight: 700;
  font-size: clamp(1.02rem, 4.5vw, 1.38rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  text-align: left;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4);
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.odm-home-card__icon {
  margin-top: auto;
  align-self: flex-end;
  line-height: 1;
  font-size: clamp(2.25rem, 11vw, 3.1rem);
  color: rgba(255, 255, 255, 0.94);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
  flex-shrink: 0;
}

.odm-home-card__icon i {
  display: block;
}

/* Фоны по позиции в ряду (разноцветные «рандомные» без JS) */
.odm-home-accounts .odm-home-cards__item:nth-child(8n + 1) .odm-home-card {
  background: linear-gradient(155deg, #4c1d95 0%, #6d28d9 50%, #5b21b6 100%);
}

.odm-home-accounts .odm-home-cards__item:nth-child(8n + 2) .odm-home-card {
  background: linear-gradient(160deg, #14532d 0%, #166534 45%, #15803d 100%);
}

.odm-home-accounts .odm-home-cards__item:nth-child(8n + 3) .odm-home-card {
  background: linear-gradient(150deg, #134e4a 0%, #115e59 50%, #0f766e 100%);
}

.odm-home-accounts .odm-home-cards__item:nth-child(8n + 4) .odm-home-card {
  background: linear-gradient(165deg, #312e81 0%, #3730a3 48%, #4338ca 100%);
}

.odm-home-accounts .odm-home-cards__item:nth-child(8n + 5) .odm-home-card {
  background: linear-gradient(150deg, #1e3a8a 0%, #1d4ed8 50%, #2563eb 100%);
}

.odm-home-accounts .odm-home-cards__item:nth-child(8n + 6) .odm-home-card {
  background: linear-gradient(155deg, #7c2d12 0%, #9a3412 45%, #c2410c 100%);
}

.odm-home-accounts .odm-home-cards__item:nth-child(8n + 7) .odm-home-card {
  background: linear-gradient(160deg, #831843 0%, #9d174d 50%, #be185d 100%);
}

.odm-home-accounts .odm-home-cards__item:nth-child(8n + 8) .odm-home-card {
  background: linear-gradient(150deg, #0c4a6e 0%, #075985 50%, #0369a1 100%);
}

.odm-home-services .odm-home-cards__item:nth-child(8n + 1) .odm-home-card {
  background: linear-gradient(155deg, #3730a3 0%, #4f46e5 50%, #6366f1 100%);
}

.odm-home-services .odm-home-cards__item:nth-child(8n + 2) .odm-home-card {
  background: linear-gradient(150deg, #713f12 0%, #a16207 48%, #ca8a04 100%);
}

.odm-home-services .odm-home-cards__item:nth-child(8n + 3) .odm-home-card {
  background: linear-gradient(160deg, #581c87 0%, #7e22ce 50%, #9333ea 100%);
}

.odm-home-services .odm-home-cards__item:nth-child(8n + 4) .odm-home-card {
  background: linear-gradient(150deg, #164e63 0%, #155e75 50%, #0e7490 100%);
}

.odm-home-services .odm-home-cards__item:nth-child(8n + 5) .odm-home-card {
  background: linear-gradient(165deg, #14532d 0%, #166534 50%, #15803d 100%);
}

.odm-home-services .odm-home-cards__item:nth-child(8n + 6) .odm-home-card {
  background: linear-gradient(155deg, #9f1239 0%, #be123c 50%, #e11d48 100%);
}

.odm-home-services .odm-home-cards__item:nth-child(8n + 7) .odm-home-card {
  background: linear-gradient(150deg, #1e3a8a 0%, #1e40af 50%, #1d4ed8 100%);
}

.odm-home-services .odm-home-cards__item:nth-child(8n + 8) .odm-home-card {
  background: linear-gradient(160deg, #3b0764 0%, #5b21b6 50%, #6d28d9 100%);
}

@media (min-width: 1100px) {
  .odm-seller-choice-grid--four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.odm-page-hub .odm-hub-main {
  padding: 24px 0 48px;
}

.odm-hub-hero {
  margin-bottom: 24px;
}

.odm-hub-hero__title {
  font-family: var(--odm-font-display, "Unbounded", system-ui, sans-serif);
  font-size: 1.5rem;
  margin: 0 0 8px;
}

.odm-hub-hero__lead {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  max-width: 52ch;
}

.odm-hub-section__title {
  font-size: 1.1rem;
  margin: 0 0 12px;
}

.odm-hub-tiles {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

@media (min-width: 560px) {
  .odm-hub-tiles {
    grid-template-columns: 1fr 1fr;
  }
}

.odm-hub-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 18px;
  text-align: center;
  color: var(--odm-text-soft);
  font-size: 13px;
}

.odm-hub-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 44px 16px 16px;
  border-radius: 14px;
  background: var(--odm-row-muted, rgba(255, 255, 255, 0.04));
  text-decoration: none;
  color: inherit;
  border: 1px solid transparent;
}

.odm-hub-tile:hover {
  border-color: rgba(255, 171, 121, 0.35);
}

.odm-hub-tile__title {
  font-weight: 700;
  font-size: 0.98rem;
}

.odm-hub-tile__desc {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

.odm-hub-tile__go {
  position: absolute;
  right: 12px;
  top: 14px;
  opacity: 0.7;
}
