/* OdaMarket — магазин аккаунтов Roblox */
:root {
  --odm-header-bg: #ffffff;
  --odm-accent: #FFAB79;
  --odm-price: #FFAB79;
  --odm-sale: #f1184e;
  --odm-live-muted: #b6c0c5;
  --odm-badge-text: #cfc6be;
  --odm-footer-bg: #282828;
  --odm-footer-text-muted: #a4a4a4;
  --odm-card-promo: #FFAB79;
  --odm-card-deal: #ea7ea5;
  --odm-cta-purple: #8a00c2;
  --odm-cta-purple-hover: #7500a8;
  --radius-xl: 50px;
  --radius-lg: 45px;
  --radius-md: 20px;
  --font-display: "Unbounded", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.45;
  color: #1a1a1a;
  background: #f2f3f5;
  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;
  border: 0;
}

/* ——— Header (sticky, белый фон) ——— */
.odm-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: env(safe-area-inset-top, 0px) 0 0;
  margin: 0;
  border: none;
  outline: none;
  box-shadow: none;
  font-family: var(--font-display);
  -webkit-font-smoothing: antialiased;
}

.odm-header__inner {
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-top: none;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
  padding: 14px 20px 16px;
}

.odm-topbar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 0;
  flex-wrap: nowrap;
  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: none;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  color: #1a1a1a;
  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: 12px;
  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: #1a1a1a;
  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: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 2px 4px;
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
}

.odm-menu > li {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  list-style: none;
}

.odm-menu a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 12px;
  box-sizing: border-box;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.2;
  color: #1a1a1a;
  opacity: 0.78;
  border: none;
  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: #1a1a1a;
  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: #1a1a1a;
  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: 0;
  height: auto;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: currentColor;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  box-shadow: none;
  box-sizing: border-box;
  margin-left: 2px;
}

.odm-topbar__cart-badge[hidden] {
  display: none !important;
}

.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 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 8px;
  color: #1a1a1a;
  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);
}

@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: #1a1a1a;
  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: #1a1a1a;
  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-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;
  padding: 8px 12px;
}

.odm-topbar__user-skeleton {
  font-family: var(--font-body);
  font-size: 14px;
  color: #9ca3af;
  letter-spacing: 0.2em;
}

.odm-topbar__close {
  display: none;
}

/* Блок под шапкой: нейтральный фон как у страницы */
.odm-landing {
  background: linear-gradient(180deg, #f2f3f5 0%, #eae8e6 100%);
  margin: 0;
  padding: 0 0 6px;
  border: 0;
  margin-top: -6px;
  padding-top: calc(13px + 6px);
  position: relative;
  z-index: 1;
}

.odm-landing::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -4px;
  height: 8px;
  background: #f2f3f5;
  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;
  border: none;
}

/* Только промо: блок «Акция дня» скрыт (настройка в админке) */
.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: #FFAB79;
  color: #0f1419;
  overflow: hidden;
  isolation: isolate;
}

.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(15, 20, 25, 0.88);
  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 {
  to {
    transform: rotate(360deg);
  }
}

.odm-hero__promo-deco-img {
  position: absolute;
  right: -8%;
  bottom: -12%;
  width: min(58vw, 440px);
  max-width: none;
  height: auto;
  object-fit: contain;
  object-position: right bottom;
  transform-origin: 50% 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__title,
.odm-hero__tile--promo .odm-hero__text,
.odm-hero__tile--promo .odm-hero__promo-foot {
  position: relative;
  z-index: 1;
}

.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;
  border: 2px solid rgba(255, 255, 255, 0.38);
  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);
  border-color: rgba(255, 255, 255, 0.55);
  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;
  border: none;
  background: transparent;
  border-radius: 50%;
  color: #0f1419;
}

.odm-hero__tile--promo .odm-hero__social:hover {
  border: none;
  background: rgba(15, 20, 25, 0.08);
  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;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}

.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 .odm-hero__social {
  color: #fff;
}

.odm-hero__tile--promo.odm-hero--custom-bg .odm-hero__social:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.odm-hero__tile--promo.odm-hero--custom-bg .odm-hero__vk-icon {
  color: #fff;
}

.odm-hero__tile--promo.odm-hero--custom-bg .odm-hero__promo-deco-img {
  opacity: 0.35;
}

.odm-hero__tile--promo .odm-hero__vk-icon {
  min-width: auto;
  height: auto;
  padding: 0;
  border-radius: 0;
  background: transparent;
  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%;
  border: 3px solid rgba(255, 255, 255, 0.85);
  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: #1a1a1a;
}

.odm-home-roles__link-desc {
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.45;
  font-weight: 500;
  color: #6a7580;
}

@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__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;
  border: 1px solid rgba(0, 0, 0, 0.07);
  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;
  border-color: rgba(255, 165, 87, 0.3);
  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;
}

/* Три колонки: текст слева, иконка в квадрате по высоте блока текста */
.odm-features {
  list-style: none;
  margin: 28px 0 0;
  padding: 32px 0 8px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 3vw, 28px);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.odm-features__item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: stretch;
  gap: clamp(14px, 2.2vw, 20px);
  padding: 8px 0;
  text-align: left;
}

.odm-features__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.odm-features__icon {
  grid-column: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  height: 100%;
  aspect-ratio: 1;
  width: auto;
  min-width: 0;
  box-sizing: border-box;
  background: rgba(255, 165, 87, 0.12);
  border-radius: var(--radius-md);
  color: var(--odm-price);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  line-height: 1;
}

.odm-features__title {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.2vw, 1.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #1a1a1a;
  margin: 0 0 6px;
  line-height: 1.2;
}

.odm-features__text {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
  color: #5a6a78;
  margin: 0;
}

@media (max-width: 768px) {
  .odm-features {
    grid-template-columns: 1fr;
  }
}

/* ——— Catalog ——— */
.odm-catalog {
  background: #fff;
  padding: 48px 0 64px;
  flex: 1;
}

.odm-catalog__head {
  margin-bottom: 8px;
}

.odm-catalog__head--page {
  margin-bottom: 4px;
}

/* Отдельная страница каталога */
.odm-page-catalog {
  background: #fff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.odm-page-catalog main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.odm-catalog-page-head {
  padding: 32px 0 28px;
  background: linear-gradient(165deg, #fafbfc 0%, #f2f4f7 42%, #ffffff 100%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.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: #111;
}

.odm-catalog-page-head__lead {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  color: #5a6570;
  margin: 0;
  max-width: 40rem;
}

.odm-page-catalog .odm-catalog {
  padding-top: 28px;
  padding-bottom: 72px;
}

/* ——— Страница корзины ——— */
.odm-page-cart {
  background: #fff;
  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: #fff;
}

.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;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

@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: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: var(--radius-md);
    overflow: hidden;
    background: #fff;
  }
}

.odm-cart__line {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  padding: 18px;
  background: #f4f6f8;
  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: #fff;
    border-radius: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  }

  .odm-cart__line:last-child {
    border-bottom: none;
  }

  .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: #111;
  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: #3d454c;
}

.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: none;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.06);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  color: #1a1a1a;
  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: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  background: #fff;
  text-align: center;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: #111;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.odm-cart__qty-input:focus {
  outline: none;
  border-color: rgba(255, 165, 87, 0.55);
  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: none;
  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, #fafbfc 0%, #fff 55%);
  border: 1px solid rgba(0, 0, 0, 0.07);
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.05);
}

.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: #111;
}

.odm-cart__summary-rows {
  margin: 0;
}

.odm-cart__summary-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  font-family: var(--font-body);
  font-size: 14px;
  color: #5a6570;
}

.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: #1a1a1a;
}

.odm-cart__summary-row--total {
  border-bottom: none;
  padding-top: 14px;
  font-size: 15px;
}

.odm-cart__summary-row--total dt {
  font-weight: 700;
  color: #111;
}

.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: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  background: #fff;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #1a1a1a;
  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;
  border-color: rgba(255, 165, 87, 0.65);
  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: none;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.06);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: #3d454c;
  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);
  border: 1px solid rgba(245, 158, 11, 0.28);
}

.odm-cart__commission-note {
  font-family: var(--font-body);
  font-size: 12px;
  line-height: 1.45;
  color: #4b5563;
  margin: 0 0 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 171, 121, 0.12);
  border: 1px solid rgba(255, 165, 87, 0.28);
}

.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: none;
  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;
  border: none;
  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: none;
  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;
  border: 1px solid rgba(0, 0, 0, 0.1);
  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;
  border-color: rgba(255, 165, 87, 0.55);
  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: none;
  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: none;
  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] {
  display: none !important;
}

@media (max-width: 879px) {
  .odm-cart__layout {
    grid-template-columns: 1fr;
  }

  .odm-cart__aside {
    position: static;
    order: -1;
  }
}

/* ——— Страница товара ——— */
.odm-page-product {
  background: #fff;
  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: #111;
}

.odm-product-missing__text {
  font-family: var(--font-body);
  color: #5a6570;
  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: #3d454c;
  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-img,
.odm-product-page__hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.odm-product-page__media-ph,
.odm-product-page__hero-ph {
  width: 100%;
  height: 100%;
  min-height: 200px;
  background:
    radial-gradient(140px 100px at 25% 18%, rgba(255, 165, 87, 0.4), rgba(255, 165, 87, 0) 58%),
    radial-gradient(120px 100px at 82% 78%, rgba(56, 189, 248, 0.32), rgba(56, 189, 248, 0) 55%),
    linear-gradient(165deg, #4a4f58 0%, #2f3238 100%);
}

.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;
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: linear-gradient(165deg, #fafbfc 0%, #fff 55%);
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
}

.odm-product-page__panel-inner .odm-product-page__tag {
  border: none;
}

.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: #5a4a38;
  border: 1px solid rgba(255, 165, 87, 0.28);
}

.odm-product-page__tag--type {
  background: #f0f2f4;
  color: #5a6570;
  border-color: rgba(0, 0, 0, 0.06);
}

.odm-product-page__tag--new {
  background: var(--odm-sale);
  border-color: transparent;
  color: #fff;
}

a.odm-product-page__tag--link {
  text-decoration: none;
  cursor: pointer;
}

a.odm-product-page__tag--link:hover {
  border-color: rgba(255, 165, 87, 0.55);
}

.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);
  border: 1px solid rgba(196, 90, 26, 0.28);
  transition: background 0.15s ease, border-color 0.15s ease;
}

.odm-product-page__seller-reviews:hover {
  background: rgba(255, 171, 121, 0.32);
  border-color: rgba(196, 90, 26, 0.45);
}

.odm-product-page__seller-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: none;
  text-decoration: none;
  color: #111;
  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-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: #111;
}

.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: #374151;
  line-height: 1.4;
}

.odm-product-page__stock--empty {
  color: #b45309;
}

.odm-product-page__commission-note {
  font-family: var(--font-body);
  font-size: 12px;
  line-height: 1.45;
  color: #4b5563;
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 171, 121, 0.12);
  border: 1px solid rgba(255, 165, 87, 0.28);
}

.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: #6b7280;
  margin: 12px 0 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.odm-product-page__buy-label {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8a9299;
}

.odm-product-page__qty {
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  gap: 8px;
  flex-wrap: nowrap;
  width: 100%;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: none;
}

.odm-product-page__qty-btn {
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.06);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  color: #1a1a1a;
  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: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  background: #fff;
  text-align: center;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  color: #111;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.odm-product-page__qty-input:focus {
  outline: none;
  border-color: rgba(255, 165, 87, 0.55);
  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;
  border: 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__section {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
}

.odm-product-page__section--lead {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.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: #111;
}

.odm-product-page__list {
  margin: 0;
  padding-left: 1.25rem;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.65;
  color: #4a5560;
}

.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: #4a5560;
  margin: 0;
  max-width: 48rem;
}

.odm-product-page__prose--plain {
  word-break: break-word;
}

.odm-product-page__steps {
  margin: 0;
  padding-left: 1.35rem;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.65;
  color: #4a5560;
  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);
  border: 1px solid rgba(0, 0, 0, 0.07);
  background: #fafbfc;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.odm-product-page__related-card:hover {
  border-color: rgba(255, 165, 87, 0.45);
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06);
}

.odm-product-page__related-name {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  color: #1a1a1a;
}

.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: #6a7580;
  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;
}

.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;
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 16px 20px;
  background: #f4f7f9;
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.02em;
  color: #111;
  min-width: 0;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.odm-filters input:focus,
.odm-filters select:focus {
  outline: none;
  border-color: rgba(255, 165, 87, 0.55);
  background: #fff;
}

.odm-filters input::placeholder {
  color: #555;
}

/* После общего padding — иначе shorthand перетирает отступ под иконку */
.odm-filters__wrap--search input {
  padding-left: 3rem;
  -webkit-appearance: none;
  appearance: none;
}

.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: #fff;
  border: 1px solid rgba(0, 0, 0, 0.07);
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.odm-product__link:hover {
  border-color: rgba(255, 165, 87, 0.45);
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.07);
}

.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);
  border: 1px solid rgba(0, 0, 0, 0.07);
}

.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: #1a1a1a;
  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: #6a7580;
  padding: 4px 10px;
  border-radius: 999px;
  background: #f0f2f4;
}

.odm-product__badge {
  font-size: 12px;
  font-weight: 600;
  color: #5a6570;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 165, 87, 0.12);
  border: 1px solid rgba(255, 165, 87, 0.22);
  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-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;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  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%);
  border: 1px solid rgba(255, 165, 87, 0.22);
  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;
  border-bottom: 1px solid rgba(196, 90, 26, 0.35);
  transition: color 0.15s ease, border-color 0.15s ease;
}

.odm-product__seller-strip-link:hover {
  color: #9a420f;
  border-bottom-color: rgba(154, 66, 15, 0.5);
}

.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: 72px;
  height: 72px;
  border-radius: 20px;
  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;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
}

.odm-public-seller-avatar__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.odm-catalog-page-head.odm-public-seller-head {
  background: transparent;
  border-bottom: none;
  padding-bottom: 8px;
  margin-bottom: 20px;
}

.odm-public-seller-products-grid {
  background: transparent;
}

.odm-public-seller-reviews-section {
  margin-top: 2.25rem;
}

.odm-public-seller-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 6px;
  margin-top: 10px !important;
  font-size: 14px;
  line-height: 1.45;
  color: #5a6570;
}

.odm-public-seller-meta-row #odmPublicSellerSales {
  font-weight: 600;
  color: #3d2918;
}

.odm-public-seller-meta-sep {
  color: #c5cad1;
  user-select: none;
  padding: 0 2px;
}

a.odm-public-seller-meta-reviews {
  font-weight: 700;
  color: #c45a1a;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: rgba(196, 90, 26, 0.45);
}

a.odm-public-seller-meta-reviews:hover {
  color: #9a420f;
  text-decoration-color: rgba(154, 66, 15, 0.65);
}

a.odm-public-seller-meta-reviews:focus-visible {
  outline: 2px solid #c45a1a;
  outline-offset: 2px;
  border-radius: 2px;
}

.odm-page-seller-reviews .odm-header__inner {
  border: none;
}

.odm-page-seller-reviews .odm-catalog-page-head {
  border-bottom: none;
}

.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%);
  border: 1px solid rgba(196, 90, 26, 0.28);
  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: #2d2418;
}

.odm-public-seller-review-empty {
  list-style: none;
  margin: 0;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255, 171, 121, 0.12);
  border: 1px dashed rgba(196, 90, 26, 0.35);
  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;
  left: 0;
  right: 0;
  bottom: 0;
  margin-top: auto;
  padding: 80px 20px 24px;
  box-sizing: border-box;
  width: 100%;
  background: linear-gradient(180deg, rgba(7, 10, 18, 0) 0%, rgba(7, 10, 18, 0.25) 18%, rgba(7, 10, 18, 0.82) 58%, rgba(7, 10, 18, 0.97) 100%);
  pointer-events: none;
  display: flex;
  flex-direction: column;
}

.odm-product__game-visual:has(.odm-product__game-seller-pill--corner) .odm-product__game-details {
  padding-bottom: 84px;
}

.odm-product__game-toprow {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 22px;
  margin-bottom: 8px;
}

.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 4px 14px rgba(0, 0, 0, 0.28);
}

.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);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
}

.odm-product__game-meta {
  margin-top: 6px;
}

.odm-product__game-meta .odm-product__pill {
  font-size: 10px;
  padding: 4px 8px;
  background: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.94);
  border-color: rgba(255, 255, 255, 0.08);
}

.odm-product__game-footer {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 12px;
  margin-top: auto;
  padding-right: 58px; /* место под круглую кнопку в углу */
}

.odm-product__game-footer-main {
  min-width: 0;
  flex: 1;
}

.odm-product__game-seller-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  padding: 7px 12px 7px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: #111827;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.35);
  pointer-events: auto;
  position: relative;
  z-index: 4;
  transition: box-shadow 0.15s ease, background 0.15s ease;
}

.odm-product__game-seller-pill--corner {
  position: absolute;
  left: 10px;
  bottom: 10px;
  max-width: calc(100% - 24px - var(--odm-game-seller-pill-h));
}

.odm-product__game-seller-pill:hover {
  background: #fff;
  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;
}

.odm-product__game-seller-meta {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 3px;
  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;
}

.odm-product__game-seller-meta-sep {
  opacity: 0.55;
  font-weight: 700;
}

.odm-product__game-seller-av {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(17, 24, 39, 0.12);
}

.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;
}

.odm-product__game-seller-name {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  color: #0f172a;
  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.62);
}

.odm-product__game-price-row .odm-product__price {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: #fff;
  text-shadow: 0 4px 14px rgba(0, 0, 0, 0.24);
}

.odm-product__game-price-row .odm-product__price--sale {
  color: #fff1a6;
}

.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.96);
  color: #111827;
  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: var(--odm-accent);
  color: #fff;
}

.odm-product__link .odm-product__cart--game-corner {
  pointer-events: none;
}

.odm-product__link:hover .odm-product__cart--game-corner {
  background: var(--odm-accent);
  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: 72px 14px 20px;
  }

  .odm-product__game-visual:has(.odm-product__game-seller-pill--corner) .odm-product__game-details {
    padding-bottom: 76px;
  }

  .odm-product__game-seller-pill--corner {
    left: 8px;
    bottom: 8px;
    max-width: 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;
  }
}

.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: #5a6570;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.03);
  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);
  border-color: rgba(255, 165, 87, 0.35);
  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);
  border: none;
  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: none;
  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;
  border: none;
  background: #eeeff0;
  font-family: var(--font-body);
  font-size: 16px;
}

.odm-search-form button {
  height: 56px;
  border-radius: 60px;
  border: 2px solid #e30613;
  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: #666;
  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;
}

/* index.html — без обводок у блоков интерфейса */
.odm-page--home .odm-header__inner {
  border: none;
}

.odm-page--home .odm-hero__btn {
  border: none;
}

.odm-page--home .odm-live__purchase,
.odm-page--home .odm-live__purchase:hover {
  border: none;
}

.odm-page--home .odm-features {
  border-top: none;
}

.odm-page--home .odm-filters input,
.odm-page--home .odm-filters select {
  border: none;
}

.odm-page--home .odm-filters input:focus,
.odm-page--home .odm-filters select:focus {
  border: none;
}

.odm-page--home .odm-catalog .odm-product__link,
.odm-page--home .odm-catalog .odm-product__link:hover {
  border: none;
}

.odm-page--home .odm-catalog .odm-product__link:focus-visible {
  outline: none;
}

.odm-page--home .odm-catalog .odm-product__badge {
  border: none;
}

.odm-page--home .odm-load-more,
.odm-page--home .odm-load-more:hover {
  border: none;
}

.odm-page--home .odm-reviews__card {
  border: none;
}

.odm-page--home .odm-reviews__fallback {
  border: none;
}

.odm-page--home .odm-faq {
  border-top: none;
}

.odm-page--home .odm-faq__item,
.odm-page--home .odm-faq__item:hover,
.odm-page--home .odm-faq__item[open] {
  border: none;
}

.odm-page--home .odm-faq__answer {
  border-top: none;
}

.odm-page--home .odm-faq__question::after {
  border: none;
  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 {
  border: none;
}

.odm-page--home .odm-cta-card__corner {
  display: none;
}

.odm-page--home .odm-search-form button {
  border: none;
}

/* catalog.html — без обводок */
.odm-page-catalog .odm-header__inner {
  border: none;
}

.odm-page-catalog .odm-catalog-page-head {
  border-bottom: none;
}

.odm-page-catalog .odm-filters input,
.odm-page-catalog .odm-filters select {
  border: none;
}

.odm-page-catalog .odm-filters input:focus,
.odm-page-catalog .odm-filters select:focus {
  border: none;
}

.odm-page-catalog .odm-catalog .odm-product__link,
.odm-page-catalog .odm-catalog .odm-product__link:hover {
  border: none;
}

.odm-page-catalog .odm-catalog .odm-product__link:focus-visible {
  outline: none;
}

.odm-page-catalog .odm-catalog .odm-product__badge {
  border: none;
}

.odm-page-catalog .odm-load-more,
.odm-page-catalog .odm-load-more:hover {
  border: none;
}

.odm-page-cart .odm-header__inner {
  border: none;
}

.odm-page-cart .odm-catalog-page-head {
  border-bottom: none;
}

/* ——— Отзывы ——— */
.odm-reviews {
  background: #f4f7f9;
  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: #111;
}

.odm-block-lead {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  color: #4a5560;
  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: #fff;
  border-radius: 22px;
  border: 1px solid rgba(0, 0, 0, 0.07);
  box-shadow:
    0 4px 6px rgba(15, 23, 42, 0.04),
    0 16px 40px rgba(15, 23, 42, 0.08);
  overflow: hidden;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.odm-reviews__card:hover {
  box-shadow:
    0 8px 12px rgba(15, 23, 42, 0.06),
    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: #f4f7f9;
}

.odm-reviews__embed iframe {
  width: 100% !important;
  max-width: 100%;
  display: block;
  border: 0;
}

@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: #4a5560;
  margin: 0;
  padding: 20px;
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.odm-reviews__fallback a {
  color: var(--odm-price);
  font-weight: 600;
}

/* ——— Частые вопросы ——— */
.odm-faq {
  background: #fff;
  padding: 52px 0 64px;
  border-top: 1px solid #ebe8e5;
}

.odm-faq__list {
  width: 100%;
  max-width: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.odm-faq__item {
  border-radius: var(--radius-md);
  border: 1px solid #e6e2de;
  background: #fafbfc;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.odm-faq__item:hover {
  border-color: #e2cfc2;
}

.odm-faq__item[open] {
  border-color: rgba(255, 165, 87, 0.38);
  box-shadow: none;
  background: #fff;
}

.odm-faq__question {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #1a1a1a;
  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;
  border-right: 2px solid var(--odm-price);
  border-bottom: 2px solid var(--odm-price);
  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;
  border-top: 1px solid #f0ebe8;
}

.odm-faq__answer p {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  color: #4a5560;
  margin: 14px 0 0;
}

/* ——— CTA: Telegram ——— */
.odm-cta-section {
  background: #f4f7f9;
  padding: 8px 0 56px;
  width: 100%;
}

.odm-cta-card {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 40px 40px 36px;
  background: #fff;
  border-radius: 22px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 8px 40px rgba(15, 23, 42, 0.06);
}

.odm-cta-card__corner {
  position: absolute;
  width: 26px;
  height: 26px;
  pointer-events: none;
  border-color: #ddd4cc;
  border-style: solid;
  border-width: 0;
}

.odm-cta-card__corner--tl {
  top: 20px;
  left: 20px;
  border-top-width: 2px;
  border-left-width: 2px;
  border-top-left-radius: 3px;
}

.odm-cta-card__corner--tr {
  top: 20px;
  right: 20px;
  border-top-width: 2px;
  border-right-width: 2px;
  border-top-right-radius: 3px;
}

.odm-cta-card__corner--bl {
  bottom: 20px;
  left: 20px;
  border-bottom-width: 2px;
  border-left-width: 2px;
  border-bottom-left-radius: 3px;
}

.odm-cta-card__corner--br {
  bottom: 20px;
  right: 20px;
  border-bottom-width: 2px;
  border-right-width: 2px;
  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: #111;
  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: #1a1a1a;
  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: #5a6570;
  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(0, 0, 0, 0.04);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #1a1a1a;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.odm-cta-card__link:hover {
  background: rgba(255, 165, 87, 0.14);
  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: #faf9f7;
  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: #1a1a1a;
}

.odm-notifications__lead {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #5a6570;
  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: #6b7280;
  font-size: 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px dashed rgba(0, 0, 0, 0.08);
}

.odm-notifications__item {
  padding: 16px 18px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 18px rgba(25, 20, 15, 0.04);
}

.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: #111827;
  line-height: 1.35;
}

.odm-notifications__item-body {
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.5;
  color: #4b5563;
  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: #fff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.odm-page-support .odm-header__inner {
  border: none;
}

.odm-page-support .odm-catalog-page-head {
  border-bottom: none;
}

.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;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  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: #111;
}

.odm-support-chat__status {
  font-family: var(--font-body);
  font-size: 12px;
  color: #7a8794;
}

.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: rgba(0, 0, 0, 0.06);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8a9299;
}

.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: #1a1a1a;
  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: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-bottom-left-radius: 6px;
  box-shadow: none;
}

.odm-support-msg--out {
  margin-left: auto;
  background: linear-gradient(145deg, #ffe8d2 0%, #ffd4a8 100%);
  border-bottom-right-radius: 6px;
  box-shadow: none;
}

.odm-support-msg__time {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: #9aa3ad;
  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, 165, 87, 0.10);
  border: 1px solid rgba(255, 165, 87, 0.22);
  color: #2a3830;
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.45;
  overflow-wrap: break-word;
}

.odm-support-evidence__title {
  font-weight: 800;
  color: #5a6570;
  margin: 0 0 8px;
}

.odm-support-evidence__text {
  margin: 0;
  color: #1a1a1a;
  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;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.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;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
}

.odm-support-chat__input {
  flex: 1;
  min-height: 44px;
  max-height: 120px;
  padding: 12px 14px;
  border: none;
  border-radius: 22px;
  background: #f0f2f5;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.4;
  color: #111;
  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: #9aa3ad;
}

.odm-support-chat__send {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border: none;
  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: #9aa3ad;
  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;
  border: 1px dashed rgba(61, 69, 76, 0.35);
  background: rgba(255, 255, 255, 0.65);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: #3d454c;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.odm-support-open-acc__btn:hover {
  background: rgba(255, 171, 121, 0.18);
  border-color: rgba(255, 140, 90, 0.55);
}

.odm-support-acc {
  margin: 0 0 12px;
  padding: 14px 14px 12px;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(255, 248, 242, 0.95), rgba(255, 255, 255, 0.88));
  border: 1px solid rgba(255, 171, 121, 0.35);
  box-shadow: 0 8px 24px rgba(61, 69, 76, 0.06);
}

.odm-support-acc__lead {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: #2a3036;
}

.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: #3d454c;
}

.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;
  border: 1px solid rgba(61, 69, 76, 0.18);
  padding: 10px 12px;
  font-family: var(--font-body);
  font-size: 14px;
  background: #fff;
}

.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: #6a737d;
}

.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;
  border: 1px solid rgba(61, 69, 76, 0.2);
  background: transparent;
  font-size: 13px;
  cursor: pointer;
}

.odm-support-acc__submit {
  padding: 8px 16px;
  border-radius: 10px;
  border: none;
  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: #f2f3f5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.odm-page-auth .odm-header__inner {
  border: none;
}

.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: #fff;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
}

.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: #111;
}

.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: #111;
}

.odm-auth__lead {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
  color: #6a7580;
  margin: 0 0 26px;
}

.odm-auth__btn-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 13px 18px;
  border: none;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(15, 23, 42, 0.04);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: #1f2937;
  cursor: pointer;
  transition: box-shadow 0.2s ease, background 0.2s ease;
}

.odm-auth__btn-google:hover {
  background: #fafafa;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1), 0 4px 14px rgba(15, 23, 42, 0.07);
}

.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: rgba(0, 0, 0, 0.08);
}

.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: #4a5560;
}

.odm-auth__field-label {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: #4a5560;
}

.odm-auth__field input {
  width: 100%;
  padding: 13px 16px;
  border: none;
  border-radius: 12px;
  background: #f0f2f5;
  font-family: var(--font-body);
  font-size: 15px;
  color: #111;
  transition: box-shadow 0.2s ease, background 0.2s ease;
}

.odm-auth__field input::placeholder {
  color: #9aa3ad;
}

.odm-auth__field input:focus {
  outline: none;
  background: #e8eaee;
  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: none;
  border-radius: 12px;
  background: #f0f2f5;
  color: #4a5560;
  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: #e8eaee;
}

.odm-auth__role-btn.is-active {
  background: rgba(255, 165, 87, 0.22);
  color: #7a3d00;
  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: none;
  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: #6a7580;
}

.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.12);
  font-family: var(--font-body);
  font-size: 12px;
  line-height: 1.45;
  color: #5c3d1a;
  text-align: center;
}

.odm-auth__note[hidden] {
  display: none !important;
}

.odm-auth__switch-btn {
  background: none;
  border: 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__panels,
.odm-account-ledger-modal__body,
.odm-account-topup-modal__body,
.odm-seller-settings-modal__body,
.odm-lines-modal__body,
.odm-review-modal__body,
.odm-seller-lines-modal__body,
.odm-seller-lines-modal__pre,
.odm-admin__ticket-thread {
  scrollbar-width: thin;
  scrollbar-color: rgba(45, 45, 45, 0.55) rgba(67, 67, 67, 0.16);
}

.odm-auth-modal__panels::-webkit-scrollbar,
.odm-account-ledger-modal__body::-webkit-scrollbar,
.odm-account-topup-modal__body::-webkit-scrollbar,
.odm-seller-settings-modal__body::-webkit-scrollbar,
.odm-lines-modal__body::-webkit-scrollbar,
.odm-review-modal__body::-webkit-scrollbar,
.odm-seller-lines-modal__body::-webkit-scrollbar,
.odm-seller-lines-modal__pre::-webkit-scrollbar,
.odm-admin__ticket-thread::-webkit-scrollbar {
  width: 10px;
  height: 10px;
  background: transparent;
}

.odm-auth-modal__panels::-webkit-scrollbar-track,
.odm-account-ledger-modal__body::-webkit-scrollbar-track,
.odm-account-topup-modal__body::-webkit-scrollbar-track,
.odm-seller-settings-modal__body::-webkit-scrollbar-track,
.odm-lines-modal__body::-webkit-scrollbar-track,
.odm-review-modal__body::-webkit-scrollbar-track,
.odm-seller-lines-modal__body::-webkit-scrollbar-track,
.odm-seller-lines-modal__pre::-webkit-scrollbar-track,
.odm-admin__ticket-thread::-webkit-scrollbar-track {
  background: rgba(67, 67, 67, 0.14);
  border-radius: 999px;
}

.odm-auth-modal__panels::-webkit-scrollbar-thumb,
.odm-account-ledger-modal__body::-webkit-scrollbar-thumb,
.odm-account-topup-modal__body::-webkit-scrollbar-thumb,
.odm-seller-settings-modal__body::-webkit-scrollbar-thumb,
.odm-lines-modal__body::-webkit-scrollbar-thumb,
.odm-review-modal__body::-webkit-scrollbar-thumb,
.odm-seller-lines-modal__body::-webkit-scrollbar-thumb,
.odm-seller-lines-modal__pre::-webkit-scrollbar-thumb,
.odm-admin__ticket-thread::-webkit-scrollbar-thumb {
  background: rgba(45, 45, 45, 0.55);
  border-radius: 999px;
  border: 2px solid rgba(67, 67, 67, 0.14);
}

.odm-auth-modal__panels::-webkit-scrollbar-thumb:hover,
.odm-account-ledger-modal__body::-webkit-scrollbar-thumb:hover,
.odm-account-topup-modal__body::-webkit-scrollbar-thumb:hover,
.odm-seller-settings-modal__body::-webkit-scrollbar-thumb:hover,
.odm-lines-modal__body::-webkit-scrollbar-thumb:hover,
.odm-review-modal__body::-webkit-scrollbar-thumb:hover,
.odm-seller-lines-modal__body::-webkit-scrollbar-thumb:hover,
.odm-seller-lines-modal__pre::-webkit-scrollbar-thumb:hover,
.odm-admin__ticket-thread::-webkit-scrollbar-thumb:hover {
  background: rgba(45, 45, 45, 0.7);
}

.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;
  border: none;
  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: #fff;
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.28);
  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: none;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.05);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #5a6570;
  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: none;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.05);
  color: #374151;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.odm-auth-modal__close:hover {
  background: rgba(0, 0, 0, 0.09);
  color: #111;
}

.odm-auth-modal__tab:hover {
  color: #111;
  background: rgba(0, 0, 0, 0.08);
}

.odm-auth-modal__tab[aria-selected="true"] {
  background: rgba(255, 165, 87, 0.22);
  color: #7a3d00;
}

.odm-auth-modal__panels {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  -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;
  border: none;
  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: #fff;
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.28);
}

.odm-role-pick-modal__title {
  margin: 0 0 12px;
  text-align: center;
  color: #374151;
  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(15, 23, 42, 0.04);
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.odm-auth__role-dialog[hidden] {
  display: none !important;
}

.odm-auth__role-dialog-title {
  margin: 0 0 10px;
  text-align: center;
  color: #374151;
  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;
  }
}

/* ——— Личный кабинет ——— */
.odm-page-account {
  background: #fff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.odm-page-account .odm-header__inner {
  border: none;
}

.odm-page-account .odm-catalog-page-head {
  border-bottom: none;
}

.odm-page-account main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.odm-account {
  flex: 1;
  padding: 8px 0 72px;
  background: linear-gradient(180deg, #fafbfc 0%, #fff 32%);
}

.odm-account__profile {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 24px;
  margin-bottom: 24px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
}

.odm-account__profile-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-left: auto;
}

.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: #111;
}

.odm-account__profile-email {
  font-family: var(--font-body);
  font-size: 14px;
  color: #6a7580;
  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: 20px;
}

.odm-account__balance-hero-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 26px;
  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-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: #8a9299;
  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: #111;
  line-height: 1.05;
}

.odm-account__balance-hero-note {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.55;
  color: #6a7580;
  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;
  border: 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(85vh, 640px);
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.odm-account-ledger-modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px 14px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.odm-account-ledger-modal__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #111;
}

.odm-account-ledger-modal__close {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 12px;
  background: #f0f2f5;
  cursor: pointer;
  color: #111;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.odm-account-ledger-modal__close:hover {
  background: #e5e8ec;
}

.odm-account-ledger-modal__body {
  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;
  border: 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%);
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
}

.odm-account-topup-modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px 14px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.odm-account-topup-modal__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #111;
}

.odm-account-topup-modal__close {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 12px;
  background: #f0f2f5;
  cursor: pointer;
  color: #111;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.odm-account-topup-modal__close:hover {
  background: #e5e8ec;
}

.odm-account-topup-modal__body {
  padding: 16px 20px 22px;
}

.odm-account-topup-modal__note {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.55;
  color: #5a6570;
  margin: 0 0 16px;
}

.odm-account-topup-modal__methods {
  border: none;
  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__method {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: #f0f3f6;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 14px;
  color: #202a35;
  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 span {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.odm-account-topup-modal__method strong {
  font-size: 14px;
  line-height: 1.2;
  font-weight: 700;
}

.odm-account-topup-modal__method small {
  font-size: 12px;
  line-height: 1.35;
  color: #6b7280;
}

.odm-account-topup-modal__method:has(input:checked) {
  border-color: rgba(255, 122, 69, 0.45);
  background: #fff3ec;
  box-shadow: 0 0 0 2px rgba(255, 165, 87, 0.2);
}

.odm-account-topup-modal__method:hover {
  border-color: rgba(148, 163, 184, 0.45);
  background: #edf2f7;
}

.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;
  border: none;
  background: #f0f3f6;
  font-family: var(--font-body);
  font-size: 15px;
  color: #111;
  outline: none;
  box-shadow: none;
}

.odm-account-topup-modal__input:focus-visible {
  background: #e4e9ee;
  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);
  border: 1px solid rgba(239, 68, 68, 0.18);
  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--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__btn {
  white-space: nowrap;
}

.odm-account__chip {
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: #fff;
  border: none;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06);
}

.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: #8a9299;
  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: #111;
}

.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: #fff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.odm-page-my-reviews .odm-header__inner {
  border: none;
}

.odm-page-my-reviews .odm-catalog-page-head {
  border-bottom: none;
  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, #fafbfc 0%, #fff 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%);
  border: 1px solid rgba(196, 90, 26, 0.26);
  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);
  border: 1px dashed rgba(196, 90, 26, 0.35);
  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, #fff 70%, transparent);
}

.odm-account__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.05);
}

.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: none;
  border-radius: 999px;
  background: transparent;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #5a6570;
  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: #111;
  background: rgba(255, 255, 255, 0.7);
}

.odm-account__tab[aria-selected="true"] {
  background: #fff;
  color: var(--odm-price);
  box-shadow: none;
}

.odm-account__panels {
  min-height: 320px;
}

.odm-account__panel[hidden] {
  display: none !important;
}

/* ——— Кабинет продавца /seller ——— */
.odm-page-seller {
  background: linear-gradient(180deg, #faf8f5 0%, #f3f1ed 48%, #ebe8e3 100%);
  min-height: 100vh;
}

.odm-page-seller .odm-bottom-nav__link.odm-page-seller__bottom-add-product {
  color: #c2410c;
}

.odm-page-seller .odm-bottom-nav__link.odm-page-seller__bottom-add-product.is-active {
  color: #9a3412;
}

.odm-seller-product-back {
  margin: 12px 0 4px;
}

.odm-seller-page {
  padding: 20px 0 48px;
}

.odm-seller-tabs-wrap {
  margin-bottom: 18px;
}

.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-product-stock-hint {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.45;
  color: #6a7580;
}

.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: #7a8794;
  font-size: 15px;
}

.odm-seller-review-item {
  padding: 16px 18px;
  border-radius: 14px;
  background: #fafbfc;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.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: #111;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 165, 87, 0.45);
}

.odm-seller-review-item__product-link:hover {
  color: #c45a1a;
  border-bottom-color: rgba(196, 90, 26, 0.55);
}

.odm-seller-review-item__author {
  margin: 0 0 8px;
  font-size: 13px;
  color: #6a7580;
}

.odm-seller-review-item__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #333;
  white-space: pre-wrap;
  word-break: break-word;
}

.odm-seller-review__muted {
  color: #9aa3ad;
  font-style: italic;
}

.odm-seller-page__intro {
  margin-bottom: 22px;
}

.odm-seller-profile {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 20px;
  padding: 22px 24px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 40px rgba(15, 23, 42, 0.07);
  border: 1px solid rgba(255, 165, 87, 0.12);
}

.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: #111;
  line-height: 1.2;
}

.odm-seller-profile__email {
  font-size: 14px;
  color: #6a7580;
  word-break: break-word;
}

.odm-seller-profile__tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.odm-seller-profile__tools .odm-account__btn {
  white-space: nowrap;
}

.odm-seller-card--span-full {
  grid-column: 1 / -1;
}

.odm-seller-settings-modal__body {
  max-height: min(70vh, 520px);
  overflow-y: auto;
}

.odm-seller-settings-modal__lead {
  font-size: 14px;
  line-height: 1.5;
  color: #6a7580;
  margin: 0 0 18px;
}

.odm-seller-settings-modal__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.odm-seller-settings-modal__actions--stack {
  justify-content: flex-start;
  align-items: center;
}

.odm-seller-settings-modal__actions--stack .odm-account__logout-btn {
  margin-right: auto;
}

.odm-seller-field--telegram {
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.odm-seller-tg-status {
  font-size: 14px;
  line-height: 1.45;
  margin: 8px 0 0;
  color: #1f2937;
}

.odm-seller-tg-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
  align-items: center;
}

.odm-seller-tg-card {
  margin-top: 10px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.odm-seller-tg-card .odm-seller-tg-status {
  margin-top: 0;
}

.odm-seller-field--telegram .odm-seller-label {
  margin-bottom: 4px;
}

.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;
  border: 0;
}

.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;
  border: 1px dashed rgba(255, 140, 80, 0.55);
  background: linear-gradient(180deg, rgba(255, 248, 240, 0.95), #fff);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: #3d454c;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.odm-seller-avatar-upload__btn:hover {
  border-color: rgba(255, 140, 80, 0.35);
  border-style: solid;
  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: #c2410c;
}

.odm-seller-field-hint--error {
  color: #c41545;
  font-weight: 600;
  margin-top: 10px;
}

.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;
  border: 2px dashed rgba(255, 140, 80, 0.42);
  background: linear-gradient(165deg, rgba(255, 252, 248, 0.98), #fff 55%, #faf6f0);
  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 {
  border-color: rgba(255, 140, 66, 0.65);
  border-style: solid;
  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;
  border-color: rgba(255, 165, 87, 0.38);
  background: linear-gradient(155deg, #fffbf7 0%, #fff 45%, #fff8f2);
}

.odm-seller-file-drop__zone--lines {
  min-height: 128px;
  border-color: rgba(15, 23, 42, 0.12);
  background: linear-gradient(160deg, #f8fafc 0%, #fff 50%, #f1f5f9);
}

.odm-seller-file-drop__zone--lines:hover {
  border-color: rgba(255, 140, 66, 0.5);
}

.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: #475569;
}

.odm-seller-file-drop__title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  color: #111;
  letter-spacing: -0.02em;
}

.odm-seller-file-drop__meta {
  font-size: 12px;
  line-height: 1.4;
  color: #6a7580;
  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: #14532d;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.25);
  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);
  border-color: rgba(251, 146, 60, 0.28);
}

.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: #fff;
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.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: #111;
}

.odm-seller-card__lead {
  font-size: 14px;
  line-height: 1.55;
  color: #6a7580;
  margin: 0 0 18px;
  max-width: 56ch;
}

.odm-seller-card--wallet {
  padding: 0;
  overflow: hidden;
  border: none;
  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, #fff9f2 0%, #fff 50%, #faf6f0 100%);
  box-shadow: 0 12px 44px rgba(255, 140, 66, 0.14);
  border: 1px solid rgba(255, 165, 87, 0.2);
}

.odm-seller-card__wallet-main {
  flex: 1 1 220px;
  min-width: 0;
}

.odm-seller-card__wallet-hold {
  flex: 1 1 200px;
  min-width: 0;
  padding-left: 22px;
  border-left: 1px solid rgba(255, 140, 66, 0.25);
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: left;
  display: block;
}

.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: #9a7a62;
  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: #111;
  line-height: 1.05;
}

.odm-seller-card__note {
  font-size: 14px;
  line-height: 1.5;
  color: #6a7580;
  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;
    border-left: none;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 140, 66, 0.2);
  }

  .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: #5a6570;
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}

.odm-seller-field-hint {
  margin: 8px 0 0;
  font-size: 12px;
  line-height: 1.45;
  color: #8a9390;
}

.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: #6b7870;
}

.odm-seller-price-breakdown__value {
  font-weight: 700;
  color: #2a3830;
  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;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: #fafbfc;
  color: #111;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.odm-seller-input:focus,
.odm-seller-textarea:focus,
.odm-seller-select:focus {
  outline: none;
  border-color: rgba(255, 165, 87, 0.65);
  box-shadow: 0 0 0 3px rgba(255, 165, 87, 0.18);
  background: #fff;
}

.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: #2d7a4e;
  font-weight: 600;
}

.odm-seller-product-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.odm-seller-product-list__empty {
  padding: 28px 16px;
  text-align: center;
  color: #7a8794;
  font-size: 15px;
}

.odm-seller-product-item {
  padding: 18px 20px;
  border-radius: 14px;
  background: #fafbfc;
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.2s ease;
}

.odm-seller-product-item:hover {
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06);
}

.odm-seller-product-item__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.odm-seller-product-item__main {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.odm-seller-product-item__id {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8a9299;
}

.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-wizard__head {
  margin-bottom: 20px;
}

.odm-seller-wizard__step-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9a7a62;
  margin: 0 0 8px;
}

.odm-seller-wizard__title {
  margin-bottom: 8px !important;
}

.odm-seller-wizard__lead {
  margin-bottom: 0 !important;
}

.odm-seller-wizard__nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px;
}

.odm-seller-choice-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 520px) {
  .odm-seller-choice-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.odm-seller-choice-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 20px 18px;
  border-radius: 16px;
  border: 2px solid rgba(0, 0, 0, 0.08);
  background: #fafbfc;
  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 {
  border-color: rgba(255, 140, 80, 0.45);
  background: #fff;
}

.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 {
  border-color: rgba(255, 140, 66, 0.85);
  background: linear-gradient(160deg, #fff9f2 0%, #fff 100%);
  box-shadow: 0 8px 28px rgba(255, 140, 66, 0.12);
}

.odm-seller-choice-card__icon {
  font-size: 1.75rem;
  color: #c2410c;
}

.odm-seller-choice-card__title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: #111;
}

.odm-seller-choice-card__desc {
  font-size: 13px;
  color: #6a7580;
  line-height: 1.4;
}

.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: #5a6570;
  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-delete-product__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: #3d454c;
}

.odm-seller-product-item__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 10px;
  color: #111;
  line-height: 1.35;
}

.odm-seller-product-item__main .odm-seller-product-item__title {
  margin: 0;
}

.odm-seller-product-item__thumb {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid rgba(200, 203, 208, 0.7);
  background: #f4f5f7;
  flex: 0 0 52px;
}

.odm-seller-product-item__thumb--placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #98a0a8;
}

.odm-seller-product-item__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: 13px;
  color: #5a6570;
  margin-bottom: 14px;
}

.odm-seller-product-item__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.odm-seller-product-item__upload {
  cursor: pointer;
}

@media (min-width: 900px) {
  .odm-seller-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 20px;
    align-items: start;
  }

  .odm-seller-card--wallet {
    grid-column: 1 / -1;
  }

  .odm-seller-card--wide {
    grid-column: 1 / -1;
  }
}

.odm-account__purchase-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.odm-account__purchase {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  padding: 18px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.05);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.odm-account__purchase:hover {
  box-shadow: 0 10px 32px rgba(15, 23, 42, 0.09);
}

.odm-account__purchase-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.odm-account__purchase-id {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8a9299;
}

.odm-account__purchase-summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #faf7f3 100%);
  border: 1px solid rgba(255, 165, 87, 0.14);
}

.odm-account__purchase-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
  color: #111;
  line-height: 1.35;
}

.odm-account__purchase-title .odm-account__purchase-link--product {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.18);
}

.odm-account__purchase-title .odm-account__purchase-link--product:hover {
  color: var(--odm-price);
  border-bottom-color: rgba(255, 165, 87, 0.55);
}

.odm-account__purchase-seller {
  font-weight: 600;
  color: #6a7580;
  font-size: 0.92em;
}

.odm-account__purchase-title .odm-account__purchase-link--seller {
  color: #5c6875;
  text-decoration: none;
  border-bottom: 1px solid rgba(92, 104, 117, 0.35);
}

.odm-account__purchase-title .odm-account__purchase-link--seller:hover {
  color: var(--odm-price);
  border-bottom-color: rgba(255, 165, 87, 0.55);
}

.odm-account__purchase-line-name .odm-account__purchase-link--product {
  color: #1a1a1a;
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.14);
}

.odm-account__purchase-line-name .odm-account__purchase-link--product:hover {
  color: var(--odm-price);
}

.odm-account__purchase-line-name .odm-account__purchase-seller {
  font-weight: 500;
}

.odm-account__purchase-line-name .odm-account__purchase-link--seller {
  color: #5c6875;
  text-decoration: none;
  border-bottom: 1px solid rgba(92, 104, 117, 0.35);
}

.odm-account__purchase-line-name .odm-account__purchase-link--seller:hover {
  color: var(--odm-price);
}

.odm-account__seller-check-product .odm-account__purchase-link--product {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.18);
}

.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;
  border-bottom: 1px solid rgba(92, 104, 117, 0.35);
}

.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: 16px;
  flex-wrap: wrap;
}

.odm-account__purchase-date {
  font-family: var(--font-body);
  font-size: 13px;
  color: #7a8794;
}

.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: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--odm-price);
  flex-shrink: 0;
  align-self: center;
  padding: 8px 12px;
  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: 1px solid rgba(0, 0, 0, 0.1);
  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);
  border-color: rgba(255, 165, 87, 0.35);
  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.5;
  color: #7a8794;
}

.odm-account__purchase-section {
  padding: 12px 14px;
  border-radius: 16px;
  background: #fbfbfc;
  border: 1px solid rgba(15, 23, 42, 0.05);
}

.odm-account__purchase-delivery {
  margin: 0;
  padding: 14px 16px;
  max-height: min(280px, 45vh);
  overflow: auto;
  border-radius: 12px;
  background: #f4f6f8;
  border: 1px solid rgba(0, 0, 0, 0.06);
  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;
  border-color: rgba(255, 165, 87, 0.55);
}

.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;
  border: 1px solid rgba(15, 23, 42, 0.05);
  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;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.odm-account__seller-check-card:first-of-type {
  padding-top: 0;
  border-top: none;
}

.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: #f3f4f6;
  color: #1f2937;
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.odm-account__purchase-actions-row .odm-account__btn-review:hover:not(:disabled) {
  background: #eceff3;
}

.odm-account__seller-check-actions .odm-account__purchase-hold-ok {
  background: rgba(16, 185, 129, 0.14);
  color: #047857;
  border: 1px solid rgba(16, 185, 129, 0.22);
}

.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;
  border: 1px solid rgba(239, 68, 68, 0.14);
}

.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;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  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 .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: 12px;
  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: 6px;
}

.odm-account__purchase-thumb {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid rgba(200, 203, 208, 0.7);
  background: #f4f5f7;
  flex: 0 0 44px;
}

.odm-account__purchase-thumb--placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #98a0a8;
}

.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: none;
  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;
  border: 1px solid rgba(0, 0, 0, 0.1);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.45;
  resize: vertical;
  min-height: 100px;
}

.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%);
  border: none;
  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;
  border: none;
  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(0, 0, 0, 0.06);
  color: #3d454c;
}

.odm-account__btn--ghost:hover:not(:disabled) {
  background: rgba(0, 0, 0, 0.1);
}

.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;
  border: none;
  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-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__ref-layout {
  display: grid;
  gap: 20px;
}

.odm-account__ref-card {
  padding: 24px 22px;
  border-radius: var(--radius-md);
  background: #fff;
  border: none;
  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;
  border: none;
  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: none;
  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;
  border: none;
  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;
  border: none;
}

.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 {
    padding: 16px;
  }

  .odm-account__purchase-summary {
    flex-direction: column;
    align-items: stretch;
  }

  .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-line {
    flex-direction: column;
    align-items: stretch;
  }

  .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 {
    border-top: none;
  }

  .odm-page-account .odm-menu__cart-wrap {
    border-top: none;
    margin-top: 8px;
    padding-top: 0;
  }
}

/* Footer */
.odm-footer {
  background: var(--odm-footer-bg);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  padding: 48px 24px 40px;
  margin-top: auto;
}

.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-bottom-nav {
  display: none;
}

/* Responsive */
@media (max-width: 768px) {
  .odm-header__inner {
    border-radius: 0 0 14px 14px;
    padding: 8px 12px 10px;
  }

  .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(255, 255, 255, 0.96);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-top: 1px solid rgba(0, 0, 0, 0.07);
    box-shadow: 0 -6px 28px rgba(15, 23, 42, 0.1);
  }

  .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: #6b7280;
    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: #9ca3af;
    transition: color 0.15s ease;
  }

  .odm-bottom-nav__link span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }

  .odm-bottom-nav__link.is-active {
    color: #b45309;
  }

  .odm-bottom-nav__link.is-active .bi {
    color: var(--odm-price);
  }

  .odm-bottom-nav__link:active {
    background: rgba(255, 165, 87, 0.14);
  }

  /* Главная: плотнее hero, крупные зоны нажатия, отступы секций */
  .odm-page--home .odm-landing {
    padding-top: 8px;
  }

  .odm-page--home .odm-hero {
    gap: 12px;
  }

  .odm-page--home .odm-hero__tile {
    padding: 22px 20px 28px;
    min-height: 0;
  }

  .odm-page--home .odm-hero__tile--deal,
  .odm-page--home .odm-deal__inner {
    min-height: min(52vw, 280px);
  }

  .odm-page--home .odm-deal__inner {
    padding: 20px 18px 24px;
  }

  .odm-page--home .odm-hero__promo-deco-img {
    width: min(70vw, 280px);
  }

  .odm-page--home .odm-hero__title {
    font-size: clamp(1.5rem, 6.5vw, 2.35rem);
    line-height: 1.06;
    margin-bottom: 10px;
  }

  .odm-page--home .odm-hero__text {
    max-width: none;
    font-size: 14px;
    line-height: 1.45;
  }

  .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-features {
    gap: 10px;
    margin-top: 4px;
  }

  .odm-page--home .odm-features__item {
    padding: 14px 16px;
    min-height: 72px;
  }

  .odm-page--home .odm-features {
    grid-template-columns: 1fr;
  }

  .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;
    border: none;
  }

  .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__cart-wrap {
    margin-left: 0;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    width: 100%;
    justify-content: center;
  }

  .odm-page--home .odm-menu__cart-wrap {
    border-top: none;
    margin-top: 8px;
    padding-top: 0;
  }

  .odm-page-catalog .odm-menu__cart-wrap {
    border-top: none;
    margin-top: 8px;
    padding-top: 0;
  }

  .odm-page-cart .odm-menu__cart-wrap {
    border-top: none;
    margin-top: 8px;
    padding-top: 0;
  }

  .odm-page-support .odm-menu__cart-wrap {
    border-top: none;
    margin-top: 8px;
    padding-top: 0;
  }

  .odm-page-auth .odm-menu__cart-wrap {
    border-top: none;
    margin-top: 8px;
    padding-top: 0;
  }

  .odm-page-product .odm-menu__cart-wrap {
    border-top: none;
    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;
    border-top: none;
    width: 100%;
    text-align: center;
  }

  .odm-page--home .odm-menu__login {
    border-top: none;
  }

  .odm-page-catalog .odm-menu__login {
    border-top: none;
  }

  .odm-page-cart .odm-menu__login {
    border-top: none;
  }

  .odm-page-support .odm-menu__login {
    border-top: none;
  }

  .odm-page-auth .odm-menu__login {
    border-top: none;
  }

  .odm-page-product .odm-menu__login {
    border-top: none;
  }

  .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-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: none;
    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-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: #fff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.odm-page-admin .odm-header__inner {
  border: none;
}

.odm-page-admin .odm-catalog-page-head {
  border-bottom: none;
}

.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 72px;
  background: linear-gradient(180deg, #fafbfc 0%, #f2f4f7 28%, #ffffff 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);
  padding: 22px 18px 24px;
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.06);
}

.odm-admin__brand {
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.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: #8a9299;
}

.odm-admin__brand-sub {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #111;
  margin-top: 4px;
}

.odm-admin__nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.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: #5a6570;
  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: #7a3d00;
}

.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: #5a6570;
}

.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: #7a8794;
}

.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: #8a9299;
}

.odm-admin__filter select,
.odm-admin__filter input[type="date"] {
  min-height: 42px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #fff;
  font-family: var(--font-body);
  font-size: 14px;
  color: #20262d;
  outline: none;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}

.odm-admin__filter select:focus,
.odm-admin__filter input[type="date"]:focus {
  border-color: rgba(255, 165, 87, 0.55);
  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;
  border: none;
  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(0, 0, 0, 0.06);
  color: #3d454c;
}

.odm-admin__btn--ghost:hover {
  background: rgba(0, 0, 0, 0.1);
}

.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: #111;
  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: #fff;
  box-shadow: 0 6px 22px rgba(15, 23, 42, 0.05);
  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.12) 0%, #fff 72%);
  box-shadow: 0 8px 28px rgba(255, 165, 87, 0.1);
}

.odm-admin__kpi-label {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #8a9299;
}

.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: #111;
  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: #64748b;
}

.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: #4a5568;
}

.odm-admin__kpi-delta--up {
  color: #047857;
}

.odm-admin__kpi-delta--down {
  color: #c2410c;
}

.odm-admin__kpi-delta--muted {
  color: #7a8794;
  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: #fff;
  box-shadow: 0 6px 22px rgba(15, 23, 42, 0.05);
}

.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(0, 0, 0, 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: #2d3339;
}

.odm-admin__table--compact .odm-admin__catalog-opt-inp {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 8px 10px;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 13px;
  background: #f7f8fa;
}

.odm-admin__table--compact .odm-admin__catalog-opt-inp--num {
  max-width: 88px;
}

.odm-admin__catalog-opts-add {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  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;
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 10px 12px;
  border-radius: 11px;
  font-family: var(--font-body);
  font-size: 14px;
  background: #f4f5f7;
}

.odm-admin__card-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0;
  color: #111;
}

.odm-admin__card-subtitle {
  margin: 6px 0 0;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: #7a8794;
}

.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: #7a3d00;
}

.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: #ffffff;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.07);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset;
}
.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: #8a9299;
  border: 1px dashed rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  background: rgba(248, 250, 252, 0.9);
}
@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;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.odm-admin__activity-item:first-child {
  border-top: none;
  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: #3d454c;
  margin: 0 0 4px;
}

.odm-admin__activity-time {
  font-family: var(--font-body);
  font-size: 12px;
  color: #9aa3ad;
}

.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="users"] .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="users"] .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="users"] .odm-admin__table th,
body.odm-page-admin[data-odm-admin="users"] .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="users"] .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;
}

/* Заказы: 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%;
}

/* Пользователи: 7 колонок */
body.odm-page-admin[data-odm-admin="users"] .odm-admin__table th:nth-child(1),
body.odm-page-admin[data-odm-admin="users"] .odm-admin__table td:nth-child(1) {
  width: 30%;
}
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: 12%;
}
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: 8%;
}
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: 10%;
}
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: 12%;
}
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: 12%;
}
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: 16%;
}

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"] .odm-admin__table th,
body.odm-page-admin[data-odm-admin="payouts"] .odm-admin__table td {
  padding: 10px 6px;
  font-size: 12px;
}

body.odm-page-admin[data-odm-admin="payouts"] .odm-admin__table select.odm-admin__input {
  width: 100%;
  min-width: 0;
  padding: 6px 8px;
}

/* Товары (/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%;
  border-collapse: collapse;
  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: #8a9299;
  background: rgba(0, 0, 0, 0.03);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  white-space: nowrap;
}

.odm-admin__table td {
  padding: 14px 18px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  color: #3d454c;
  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 {
  border-bottom: none;
}

.odm-admin__mono {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: #111;
}

.odm-admin__sum {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--odm-price);
}

.odm-admin__muted {
  color: #8a9299;
  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(0, 0, 0, 0.06);
  color: #5a6570;
}

.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: #6a7580;
  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;
  border: none;
  padding: 14px 16px;
  background: #f0f2f5;
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 14px;
  color: #111;
  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: #e8eaee;
  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;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  font-family: var(--font-body);
  font-size: 13px;
  color: #6a7580;
}

.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: none;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.05);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: #3d454c;
  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: #7a3d00;
}

.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: none;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.05);
  color: #5a6570;
  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__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: #e8eaee;
}

.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: #111;
  margin: 0 0 4px;
  line-height: 1.3;
}

.odm-admin__product-sku {
  font-size: 12px;
  color: #8a9299;
  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: #f0f2f4;
  color: #5a6570;
}

.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__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: #111;
  margin: 0;
  line-height: 1.3;
}

.odm-admin__user-email {
  font-size: 12px;
  color: #8a9299;
  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(0, 0, 0, 0.06);
  color: #5a6570;
}

.odm-admin__tickets {
  display: grid;
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
  min-height: 420px;
}

.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: none;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.03);
  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: #8a9299;
}

.odm-admin__ticket-time {
  font-size: 11px;
  color: #9aa3ad;
  white-space: nowrap;
}

.odm-admin__ticket-subject {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: #111;
  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-user {
  font-size: 13px;
  color: #5a6570;
  margin: 0;
}

.odm-admin__ticket-pane {
  padding: 20px 20px 18px;
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: 0 6px 22px rgba(15, 23, 42, 0.05);
  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: 12px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.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: #111;
}

.odm-admin__ticket-meta {
  margin: 0;
  font-family: var(--font-body);
  font-size: 13px;
  color: #6a7580;
}

.odm-admin__ticket-account {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 248, 240, 0.9);
  border: 1px solid rgba(255, 171, 121, 0.35);
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.45;
  color: #3d454c;
}

.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: 12px;
  padding: 16px 18px;
  border-radius: 14px;
  background: linear-gradient(165deg, rgba(255, 252, 248, 0.98) 0%, rgba(255, 245, 235, 0.95) 100%);
  border: 1px solid rgba(255, 165, 87, 0.28);
  box-shadow: 0 8px 28px rgba(45, 35, 25, 0.06);
}

.odm-admin__account-resolve__head {
  margin-bottom: 14px;
}

.odm-admin__account-resolve__title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #1a1a1a;
}

.odm-admin__account-resolve__lead {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: #5a6570;
}

.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: #1f2937;
}

.odm-admin__account-resolve__evidence {
  margin-bottom: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.odm-admin__account-resolve__evidence-text {
  margin: 6px 0 0;
  white-space: pre-wrap;
  word-break: break-word;
  color: #374151;
}

.odm-admin__account-resolve__attach {
  margin: 0 0 14px;
}

.odm-admin__account-resolve__done {
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(22, 163, 74, 0.08);
  border: 1px solid rgba(22, 163, 74, 0.22);
  color: #14532d;
  font-size: 13px;
}

.odm-admin__account-resolve__done p {
  margin: 0 0 6px;
}

.odm-admin__account-resolve__done p:last-child {
  margin-bottom: 0;
}

.odm-admin__account-resolve__tools {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin-top: 4px;
}

.odm-admin__account-resolve__card {
  padding: 14px 14px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.odm-admin__account-resolve__card--muted {
  background: rgba(248, 250, 252, 0.9);
}

.odm-admin__account-resolve__card-title {
  margin: 0;
  font-weight: 700;
  font-size: 13px;
  color: #111827;
}

.odm-admin__account-resolve__label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: #6b7280;
  margin-top: 4px;
}

.odm-admin__account-resolve__input {
  width: 100%;
  box-sizing: border-box;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  font: inherit;
  font-size: 14px;
}

.odm-admin__account-resolve__input:focus {
  outline: none;
  border-color: rgba(255, 165, 87, 0.55);
  box-shadow: 0 0 0 2px rgba(255, 165, 87, 0.15);
}

.odm-admin__ticket-thread {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0 0 16px;
  padding-right: 4px;
  max-height: min(52vh, 380px);
}

.odm-admin__ticket-msg {
  padding: 12px 14px;
  border-radius: 14px;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.5;
  color: #3d454c;
  max-width: 92%;
}

.odm-admin__ticket-msg--in {
  align-self: flex-start;
  background: rgba(0, 0, 0, 0.04);
  border-bottom-left-radius: 4px;
}

.odm-admin__ticket-msg--out {
  align-self: flex-end;
  background: linear-gradient(145deg, #ffe8d2 0%, #ffd4a8 100%);
  border-bottom-right-radius: 4px;
  color: #1a1a1a;
}

.odm-admin__ticket-msg time {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  color: #9aa3ad;
}

.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: #fff;
  box-shadow: 0 6px 22px rgba(15, 23, 42, 0.05);
}

.odm-admin__settings-head {
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.odm-admin__settings-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 6px;
  color: #111;
}

.odm-admin__settings-desc {
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.5;
  color: #6a7580;
  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: #4a5560;
  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;
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 12px 14px;
  background: #f7f8fa;
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 14px;
  color: #111;
  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: #f7f8fa;
  background-image: linear-gradient(45deg, transparent 50%, #7a8490 50%),
    linear-gradient(135deg, #7a8490 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: #fff;
  border-color: rgba(255, 165, 87, 0.45);
  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: #4a5560;
}

.odm-admin__field-hint {
  font-size: 12px;
  color: #8a9299;
  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(0, 0, 0, 0.03);
  cursor: pointer;
}

.odm-admin__switch-text {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: #3d454c;
}

.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: #d1d5db;
  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;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.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;
  border: none;
  padding: 14px 16px;
  background: #f0f2f5;
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 14px;
  color: #111;
  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: #e8eaee;
  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;
  border: none;
  padding: 14px 40px 14px 16px;
  background-color: #f0f2f5;
  background-image: linear-gradient(45deg, transparent 50%, #7a8490 50%),
    linear-gradient(135deg, #7a8490 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: #111;
  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: #e8eaee;
  box-shadow: 0 0 0 3px rgba(255, 165, 87, 0.35);
}

.odm-admin__settings-card--commission {
  border: 1px solid rgba(255, 165, 87, 0.28);
  background: linear-gradient(165deg, rgba(255, 248, 240, 0.65) 0%, #fff 42%);
}

.odm-admin__settings-head--commission {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
  padding-bottom: 0;
  border-bottom: none;
}

.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.5), rgba(255, 140, 80, 0.38));
  color: #5a3010;
  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: #2a3036;
}

.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;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

@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;
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 11px 14px;
  background: #f4f5f7;
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 14px;
  color: #111;
  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: #f4f5f7;
  background-image: linear-gradient(45deg, transparent 50%, #6b7280 50%),
    linear-gradient(135deg, #6b7280 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 {
  border-color: rgba(0, 0, 0, 0.14);
  background-color: #f0f1f4;
}

#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: #fff;
  border-color: rgba(255, 165, 87, 0.5);
  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);
  border: 1px solid rgba(255, 165, 87, 0.18);
}

#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;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
}

#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(0, 0, 0, 0.05);
  color: #6a7580;
}

@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__form-grid--2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .odm-page-admin .odm-menu__login {
    border-top: none;
  }

  .odm-page-admin .odm-menu__cart-wrap {
    border-top: none;
    margin-top: 8px;
    padding-top: 0;
  }

  .odm-admin__kpis {
    grid-template-columns: 1fr;
  }

  .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;
  border: 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: #fff;
  border-radius: clamp(14px, 3vw, 20px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.7) inset,
    0 32px 72px rgba(15, 23, 42, 0.22),
    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);
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  background: linear-gradient(180deg, #f8f9fb 0%, #fff 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: #111;
}

.odm-lines-modal__meta {
  margin: 6px 0 0;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  color: #6a7580;
}

.odm-lines-modal__close {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 12px;
  background: #f0f2f5;
  cursor: pointer;
  color: #374151;
  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, #fff 0%, #fafbfc 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: #374151;
}

.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;
  border: 1px solid rgba(0, 0, 0, 0.1);
  font-family: var(--font-body);
  font-size: 14px;
  background: #f9fafb;
  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: #fff;
  border-color: rgba(255, 165, 87, 0.5);
  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: #6b7280;
}

.odm-lines-modal__textarea {
  width: 100%;
  min-height: 200px;
  max-height: 360px;
  box-sizing: border-box;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  line-height: 1.45;
  resize: vertical;
  background: #fafafa;
}

.odm-lines-modal__textarea--paste {
  min-height: 100px;
  max-height: 200px;
  background: #fff;
}

.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: #9ca3af;
  line-height: 1.45;
}

.odm-lines-modal__body--stacked {
  gap: 0;
}

.odm-lines-modal__section {
  padding: 16px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.odm-lines-modal__section:first-of-type {
  padding-top: 0;
}

.odm-lines-modal__section:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.odm-lines-modal__section--muted {
  background: rgba(248, 250, 252, 0.9);
  margin: 0 -6px;
  padding: 16px 14px;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.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: #374151;
}

.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: #374151;
}

.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: #374151;
}

.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;
  border: 1px solid rgba(0, 0, 0, 0.1);
  font-family: var(--font-body);
  font-size: 14px;
  background: #f9fafb;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.odm-lines-modal__select-grow:focus {
  outline: none;
  background: #fff;
  border-color: rgba(255, 165, 87, 0.5);
  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);
  border: 1px solid rgba(255, 165, 87, 0.18);
}

.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: #6b7280;
  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;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #f0f2f4;
  display: block;
}

.odm-lines-modal__textarea--readonly {
  background: #f3f4f6;
  color: #374151;
}

.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;
  border: 1px solid rgba(0, 0, 0, 0.1);
  font-family: var(--font-body);
  font-size: 14px;
  background: #f9fafb;
}

.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;
  border: 1px dashed rgba(0, 0, 0, 0.12);
  background: #fff;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.odm-file-input:hover {
  border-color: rgba(255, 165, 87, 0.45);
  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: #374151;
  background: #eef1f4;
  border: 1px solid rgba(0, 0, 0, 0.08);
  pointer-events: none;
}

.odm-file-input__name {
  font-size: 12px;
  color: #6b7280;
  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%;
  border: 3px solid rgba(255, 165, 87, 0.25);
  border-top-color: #ff9a56;
  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: #111;
  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: #111;
  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.12), rgba(255, 255, 255, 0.9));
  border: 1px solid rgba(255, 165, 87, 0.2);
}

.odm-cookie-stock-modal__stats dt {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6b7280;
  margin: 0 0 4px;
}

.odm-cookie-stock-modal__stats dd {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: #111;
  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: #374151;
  margin: 0;
}
