/* ============================================================
   Sellerts Shop v7 — Premium Light 2026
   Полностью переписано. Изолированная дизайн-система витрины.
   ============================================================ */

/* ─── Graphik LCG (self-hosted) ───────────────────────────── */
@font-face {
  font-family: 'Graphik LCG';
  src: url(/fonts/GraphikLCG-Regular.woff2) format('woff2'),
       url(/fonts/GraphikLCG-Regular.woff) format('woff');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Graphik LCG';
  src: url(/fonts/GraphikLCG-Medium.woff2) format('woff2'),
       url(/fonts/GraphikLCG-Medium.woff) format('woff');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Graphik LCG';
  src: url(/fonts/GraphikLCG-Semibold.woff2) format('woff2'),
       url(/fonts/GraphikLCG-Semibold.woff) format('woff');
  font-weight: 600 800; font-style: normal; font-display: swap;
}

/* ─── Preloader (sellerts.css не грузится на витрине) ─────── */
.loader.loader--active { opacity: 1; visibility: visible; pointer-events: auto; }
.loader.loader--done   { display: none !important; }
.panel-preloader { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; position: relative; }
.panel-preloader__glow { position: absolute; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(109,94,252,.18) 0%, rgba(168,85,247,.08) 45%, transparent 70%); pointer-events: none; }
.panel-preloader__content { display: flex; flex-direction: column; align-items: center; gap: 1.125rem; animation: sx-pl-in .45s cubic-bezier(.22,1,.36,1) both; }
.panel-preloader__mark { position: relative; width: 72px; height: 72px; display: flex; align-items: center; justify-content: center; }
.panel-preloader__ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); transform-origin: center; animation: sx-pl-spin 1.15s cubic-bezier(.55,.15,.35,.85) infinite; }
.panel-preloader__ring-track { fill: none; stroke: rgba(109,94,252,.16); stroke-width: 3; }
.panel-preloader__ring-spin  { fill: none; stroke: url(#panel-preloader-gradient); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 72 132; }
.panel-preloader__logo { width: 34px; height: 34px; border-radius: 8px; animation: sx-pl-pulse 2.2s ease-in-out infinite; box-shadow: 0 4px 16px rgba(109,94,252,.25); }
.panel-preloader__text { margin: 0; font-family: 'Graphik LCG', system-ui, sans-serif; font-size: .8125rem; font-weight: 500; letter-spacing: .06em; color: #6b7280; opacity: .92; }
@keyframes sx-pl-spin  { to { transform: rotate(270deg); } }
@keyframes sx-pl-pulse { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(.94); opacity: .88; } }
@keyframes sx-pl-in    { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }

/* ─── Design Tokens ───────────────────────────────────────── */
:root {
  --sx-font: 'Graphik LCG', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* surfaces */
  --sx-bg:      #f8f9fc;
  --sx-card:    #ffffff;
  --sx-card-2:  #fbfcff;

  /* ink */
  --sx-ink:     #0d1220;
  --sx-sub:     #59627a;
  --sx-muted:   #98a1b8;

  /* lines */
  --sx-line:    #e7eaf4;
  --sx-line-2:  #f0f2fa;

  /* accent (indigo → violet) */
  --sx-a1:      #6d5efc;
  --sx-a2:      #a855f7;
  --sx-accent:  #6d5efc;
  --sx-accent-d:#5546e8;
  --sx-accent-soft: #f0eeff;
  --sx-grad:    linear-gradient(135deg, #6d5efc 0%, #8b5cf6 52%, #a855f7 100%);
  --sx-grad-soft: linear-gradient(135deg, #7c6ffd 0%, #a855f7 100%);

  /* semantic */
  --sx-green:   #0ea968;
  --sx-green-bg:#dff5ea;
  --sx-red:     #e5484d;
  --sx-red-bg:  #fde7e8;
  --sx-amber:   #f0910b;
  --sx-amber-bg:#fef2d8;

  /* geometry */
  --sx-r:       20px;
  --sx-r-lg:    26px;
  --sx-r-md:    16px;
  --sx-r-sm:    12px;
  --sx-pill:    999px;

  /* shadows */
  --sx-sh1: 0 1px 2px rgba(13,18,32,.04), 0 4px 12px rgba(13,18,32,.05);
  --sx-sh2: 0 2px 8px rgba(13,18,32,.06), 0 14px 34px rgba(13,18,32,.10);
  --sx-sh3: 0 10px 28px rgba(13,18,32,.12), 0 36px 70px rgba(13,18,32,.16);
  --sx-glow: 0 8px 22px rgba(109,94,252,.40);

  /* layout */
  --sx-topbar-h: 46px;
  --sx-sidebar-w: 244px;
  --sx-gap: 22px;
  --sx-max: 1320px;
}

/* ─── Reset / isolation ───────────────────────────────────── */
html:has(.st-shop-page),
html.st-shop--light {
  margin: 0;
  padding: 0;
}

.st-shop-body {
  margin: 0;
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100dvh;
  font-family: var(--sx-font) !important;
  font-size: 14px;
  line-height: 1.55;
  color: var(--sx-ink);
  background: transparent;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Cabinet-style mesh backdrop (matches buyer-cabinet .bc-page) */
.st-shop-body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-color: #f8f9fc;
  background-image:
    radial-gradient(ellipse 88% 72% at 12% 18%, rgba(186, 200, 255, 0.44) 0%, transparent 56%),
    radial-gradient(ellipse 76% 58% at 88% 10%, rgba(191, 219, 254, 0.4) 0%, transparent 52%),
    radial-gradient(ellipse 68% 68% at 78% 88%, rgba(221, 214, 254, 0.34) 0%, transparent 54%),
    radial-gradient(ellipse 58% 48% at 22% 78%, rgba(255, 237, 213, 0.24) 0%, transparent 50%),
    radial-gradient(ellipse 42% 38% at 52% 42%, rgba(224, 242, 254, 0.22) 0%, transparent 52%),
    linear-gradient(158deg, #fcfdff 0%, #f6f8fc 38%, #f1f5fb 72%, #f8f6fc 100%);
}

.st-shop-body::after {
  content: '';
  position: fixed;
  inset: -18%;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 38% 34% at 58% 38%, rgba(167, 186, 255, 0.2) 0%, transparent 72%),
    radial-gradient(ellipse 32% 28% at 28% 62%, rgba(254, 215, 170, 0.12) 0%, transparent 70%);
  opacity: 0.65;
}

@media (prefers-reduced-motion: no-preference) {
  .st-shop-body::after {
    animation: sx-bg-drift 26s ease-in-out infinite alternate;
  }
}

@keyframes sx-bg-drift {
  0% { transform: translate(-2.5%, -1.5%) scale(1); opacity: 0.55; }
  100% { transform: translate(3.5%, 2.5%) scale(1.06); opacity: 0.72; }
}

.st-shop-page { font-family: var(--sx-font) !important; color: var(--sx-ink); display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; width: 100%; margin: 0; background: transparent; }
.st-shop-page *, .st-shop-page *::before, .st-shop-page *::after { box-sizing: border-box; }
.st-shop-page img { max-width: 100%; display: block; }
.st-shop-page a { color: inherit; text-decoration: none; }
.st-shop-page button {
  cursor: pointer; border: none; background: none;
  font-family: inherit; font-size: inherit; color: inherit;
}
.st-shop-page button:not(.st-tabs__btn):not(.st-mp-sidebar-toggle):not(.st-mp-trust__badge):not(.st-mp-product__desc-more):not(.st-btn):not(.st-mp-search button) {
  padding: 0;
}

/* ─── Container ───────────────────────────────────────────── */
.st-container {
  width: 100%;
  max-width: var(--sx-max);
  margin-inline: auto;
  padding-inline: 26px;
}

/* ============================================================
   HERO (topbar + shop identity — light card, same system)
   ============================================================ */
.sx-hero {
  position: relative;
  isolation: isolate;
  color: var(--sx-ink);
  overflow: hidden;
  width: 100%;
  margin: 0;
  border-radius: 0;
  background: var(--sx-card);
  border-bottom: 1px solid var(--sx-line);
  box-shadow: 0 6px 18px rgba(13, 18, 32, .07);
}

/* thin accent strip — premium touch without dominating */
.sx-hero::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; z-index: 1;
  height: 3px;
  background: var(--sx-grad);
  pointer-events: none;
}

/* Topbar strip */
.sx-topbar {
  height: var(--sx-topbar-h);
  display: flex;
  align-items: center;
  background: var(--sx-card-2);
  border-bottom: 1px solid var(--sx-line);
}
.sx-topbar__inner { display: flex; align-items: center; gap: 14px; width: 100%; }

.sx-topbar__brand {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; color: var(--sx-sub);
  margin-right: auto;
  transition: color .15s;
}
.sx-topbar__brand:hover { color: var(--sx-ink); }
.sx-topbar__brand img { border-radius: 5px; }

.sx-topbar__btn {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; font-weight: 600; color: var(--sx-sub);
  padding: 6px 14px; border-radius: var(--sx-pill);
  background: var(--sx-card);
  border: 1px solid var(--sx-line);
  transition: background .16s, border-color .16s, color .16s;
  white-space: nowrap;
}
.sx-topbar__btn:hover {
  background: var(--sx-accent-soft);
  border-color: rgba(109,94,252,.22);
  color: var(--sx-accent);
}

/* Trust badges inside hero */
.sx-hero .st-mp-trust { display: flex; align-items: center; gap: 8px; }
.sx-hero .st-mp-trust__badge {
  position: relative;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11.5px; font-weight: 500; color: var(--sx-sub);
  padding: 5px 12px; border-radius: var(--sx-pill);
  background: var(--sx-card);
  border: 1px solid var(--sx-line);
  cursor: default; white-space: nowrap; font-family: var(--sx-font);
  transition: border-color .15s, color .15s;
}
.sx-hero .st-mp-trust__badge:hover {
  border-color: rgba(109,94,252,.25);
  color: var(--sx-ink);
}
.sx-hero .st-mp-trust__icon { flex-shrink: 0; color: var(--sx-accent); opacity: .85; }
.st-mp-trust__tooltip { display: none; }
.st-mp-trust-strip { display: none; }

/* Shop identity row */
.sx-shop { padding: 24px 0 28px; display: flex; flex-direction: column; gap: 0; }
.sx-shop__inner {
  display: flex;
  align-items: center;
  gap: 22px;
}

.sx-shop__avatar {
  flex-shrink: 0;
  width: 92px; height: 92px;
  border-radius: 22px;
  overflow: hidden;
  background: var(--sx-card-2);
  border: 2px solid var(--sx-line);
  box-shadow: var(--sx-sh1);
  transition: transform .2s, box-shadow .2s;
}
.sx-shop__avatar:hover {
  transform: translateY(-1px);
  box-shadow: var(--sx-sh2);
}
.sx-shop__avatar img { width: 100%; height: 100%; object-fit: cover; }

.sx-shop__main { min-width: 0; flex: 1; }

.sx-shop__namerow {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin-bottom: 8px;
}
.sx-shop__name {
  font-size: 28px; font-weight: 800; letter-spacing: -.02em;
  color: var(--sx-ink); margin: 0; line-height: 1.1;
}
.sx-shop__name a { color: inherit; }
.sx-shop__name a:hover { color: var(--sx-accent); }

.sx-shop__badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11.5px; font-weight: 600;
  padding: 4px 11px; border-radius: var(--sx-pill);
  background: var(--sx-green-bg);
  border: 1px solid rgba(14,169,104,.18);
  color: var(--sx-green); white-space: nowrap;
}
.sx-shop__badge--verified svg { opacity: .9; }

.sx-shop__meta {
  font-size: 13px;
  color: var(--sx-muted);
  margin: 0 0 8px;
  line-height: 1.4;
}

.sx-shop__desc {
  font-size: 14px; color: var(--sx-sub);
  margin: 0; max-width: 640px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* Stat cards */
.sx-shop__stats {
  display: flex; align-items: stretch; gap: 10px;
  margin: 0; flex-shrink: 0;
}
.sx-stat {
  display: flex; flex-direction: column; gap: 2px;
  min-width: 88px;
  padding: 11px 14px;
  border-radius: var(--sx-r-sm);
  background: var(--sx-card-2);
  border: 1px solid var(--sx-line);
}
.sx-stat__value {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 19px; font-weight: 800; color: var(--sx-ink); line-height: 1.1;
  letter-spacing: -.01em;
}
.sx-stat__value svg { color: var(--sx-muted); opacity: .9; }
.sx-stat__value > svg { color: #f99e29; opacity: 1; }
.sx-stat__label {
  font-size: 10.5px; font-weight: 600; color: var(--sx-muted);
  text-transform: uppercase; letter-spacing: .04em;
}
.sx-stat__fb { display: inline-flex; align-items: center; gap: 4px; }
.sx-stat__fb--up { color: var(--sx-green); }
.sx-stat__fb--down { color: var(--sx-red); }
.sx-stat__fb svg { color: currentColor; opacity: .85; }
.sx-stat__sep { width: 1px; height: 14px; background: var(--sx-line); }

/* Payment trust strip (inside sx-shop) */
.sx-pay-trust {
  margin-top: 18px;
  padding: 14px 16px 15px;
  border-radius: var(--sx-r-md);
  background:
    linear-gradient(135deg, rgba(109,94,252,.06) 0%, rgba(168,85,247,.04) 100%),
    var(--sx-card);
  border: 1px solid rgba(109,94,252,.14);
  box-shadow: 0 1px 0 rgba(255,255,255,.6) inset;
}
.sx-pay-trust__head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.sx-pay-trust__shield {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: var(--sx-accent-soft);
  border: 1px solid rgba(109,94,252,.18);
  color: var(--sx-accent);
  box-shadow: 0 4px 14px rgba(109,94,252,.12);
}
.sx-pay-trust__intro { min-width: 0; }
.sx-pay-trust__title {
  margin: 0 0 3px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--sx-ink);
  letter-spacing: -.01em;
}
.sx-pay-trust__lead {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--sx-sub);
  max-width: 720px;
}

/* ============================================================
   MAIN
   ============================================================ */
.st-mp-main { flex: 1 0 auto; padding-block: 30px 44px; }

.st-mp-layout {
  display: grid;
  grid-template-columns: var(--sx-sidebar-w) 1fr;
  gap: var(--sx-gap);
  align-items: start;
}
.st-mp-layout--wide { grid-template-columns: var(--sx-sidebar-w) 1fr; }
.st-mp-content { min-width: 0; }

/* ============================================================
   SIDEBAR (categories)
   ============================================================ */
.st-mp-sidebar-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: sticky;
  top: 18px;
  align-self: start;
  min-width: 0;
  width: 100%;
}

.st-mp-sidebar {
  background: var(--sx-card);
  border-radius: var(--sx-r);
  box-shadow: var(--sx-sh2);
  border: 1px solid rgba(231,234,244,.8);
  overflow: hidden;
}
.st-mp-categories { padding: 10px; }
.st-mp-sidebar__title {
  font-size: 10.5px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--sx-muted);
  margin: 0; padding: 8px 10px 10px;
}
.st-mp-categories__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }

.st-mp-categories__link {
  display: flex; align-items: center; gap: 11px;
  padding: 9px 11px; border-radius: 14px;
  color: var(--sx-sub); font-size: 13.5px; font-weight: 600;
  transition: background .15s, color .15s, transform .12s;
  font-family: var(--sx-font);
}
.st-mp-categories__link:not(.st-mp-categories__link--active):hover { background: var(--sx-line-2); color: var(--sx-ink); }
.st-mp-categories__link:not(.st-mp-categories__link--active):hover .st-mp-categories__icon { transform: scale(1.05); }

.st-mp-categories__link--active {
  background: var(--sx-grad);
  color: #fff;
  box-shadow: var(--sx-glow);
}
.st-mp-categories__link--active:hover,
.st-mp-categories__link--active:focus-visible {
  background: var(--sx-grad);
  color: #fff;
  filter: brightness(1.04);
}
.st-mp-categories__link--active:hover .st-mp-categories__icon,
.st-mp-categories__link--active:focus-visible .st-mp-categories__icon {
  transform: none;
}
.st-mp-categories__link--active .st-mp-categories__count {
  background: rgba(255,255,255,.24); color: #fff;
}

.st-mp-categories__icon {
  flex-shrink: 0; width: 34px; height: 34px; border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  background: var(--sx-accent-soft); color: var(--sx-accent);
  overflow: hidden; transition: transform .15s;
}
.st-mp-categories__link--active .st-mp-categories__icon {
  background: rgba(255,255,255,.22); color: #fff;
}
.st-mp-categories__icon--img { background: var(--sx-line-2); }
.st-mp-categories__icon--img img { width: 34px; height: 34px; object-fit: cover; border-radius: 11px; }

.st-mp-categories__label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-mp-categories__count {
  flex-shrink: 0; font-size: 11px; font-weight: 700;
  color: var(--sx-sub); background: var(--sx-line-2);
  border-radius: var(--sx-pill); padding: 2px 9px; line-height: 1.6;
}

/* Mobile toggle */
.st-mp-sidebar-toggle {
  display: none; align-items: center; gap: 9px;
  padding: 12px 16px; font-size: 14px; font-weight: 700;
  color: var(--sx-ink); background: var(--sx-card);
  border-radius: var(--sx-r-md); box-shadow: var(--sx-sh1);
  border: 1px solid rgba(231,234,244,.8); width: 100%;
  text-align: left; margin-bottom: 12px; font-family: var(--sx-font);
}
.st-mp-sidebar-toggle svg { color: var(--sx-accent); }
.st-mp-sidebar-toggle[aria-expanded="true"] .st-mp-sidebar-toggle__icon--open { display: none; }
.st-mp-sidebar-toggle[aria-expanded="false"] .st-mp-sidebar-toggle__icon--close,
.st-mp-sidebar-toggle:not([aria-expanded]) .st-mp-sidebar-toggle__icon--close { display: none; }

/* ============================================================
   CATALOG HEAD + TOOLBAR
   ============================================================ */
.st-mp-catalog-head { margin-bottom: 16px; }
.st-mp-catalog-head__title {
  font-size: 24px; font-weight: 800; letter-spacing: -.02em;
  color: var(--sx-ink); margin: 0; font-family: var(--sx-font);
}
.st-mp-catalog-head__meta { font-size: 13px; color: var(--sx-sub); margin: 3px 0 0; }

.st-mp-section-head { margin-bottom: 16px; }
.st-mp-section-head__title {
  font-size: 24px; font-weight: 800; letter-spacing: -.02em;
  color: var(--sx-ink); margin: 0 0 5px; font-family: var(--sx-font);
}
.st-mp-section-head__desc { font-size: 13.5px; color: var(--sx-sub); margin: 0; }

.st-mp-toolbar-panel {
  background: var(--sx-card);
  border-radius: var(--sx-r-md);
  box-shadow: var(--sx-sh1);
  border: 1px solid rgba(231,234,244,.8);
  padding: 12px;
  margin-bottom: 16px;
}
.st-mp-toolbar { display: flex; align-items: center; gap: 12px; }

.st-mp-search {
  flex: 1; display: flex; align-items: center;
  background: var(--sx-card-2);
  border: 1.5px solid var(--sx-line);
  border-radius: var(--sx-r-sm); overflow: hidden;
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.st-mp-search:focus-within {
  border-color: var(--sx-accent); background: #fff;
  box-shadow: 0 0 0 4px rgba(109,94,252,.14);
}
.st-mp-search__icon { flex-shrink: 0; display: flex; align-items: center; padding: 0 12px; color: var(--sx-muted); pointer-events: none; }
.st-mp-search input[type="search"] {
  flex: 1; min-width: 0; border: none; background: transparent;
  font-size: 14px; font-family: var(--sx-font); color: var(--sx-ink);
  padding: 11px 0; outline: none; -webkit-appearance: none;
}
.st-mp-search input[type="search"]::placeholder { color: var(--sx-muted); }
.st-mp-search input[type="search"]::-webkit-search-cancel-button { display: none; }
.st-mp-search button[type="submit"] {
  flex-shrink: 0; background: var(--sx-grad); color: #fff !important;
  font-size: 13.5px; font-family: var(--sx-font); font-weight: 700;
  padding: 9px 20px !important; margin: 4px 4px 4px 0;
  border: none; border-radius: 10px; cursor: pointer;
  transition: filter .15s, transform .1s; white-space: nowrap;
  line-height: 1.2; min-height: 38px;
}
.st-mp-search button[type="submit"]:hover { filter: brightness(1.06); }
.st-mp-search button[type="submit"]:active { transform: scale(.98); }
.st-mp-search button[type="submit"] svg { display: none; }

.st-mp-sort { display: flex; align-items: center; gap: 9px; flex-shrink: 0; }
.st-mp-sort__label { font-size: 12.5px; color: var(--sx-muted); white-space: nowrap; }
.st-mp-sort__select-wrap { position: relative; }
.st-mp-sort__select-wrap::after {
  content: ''; position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent;
  border-top: 5px solid var(--sx-sub); pointer-events: none;
}
.st-select, .st-mp-sort__select {
  appearance: none; -webkit-appearance: none;
  background: var(--sx-card-2); border: 1.5px solid var(--sx-line);
  border-radius: var(--sx-r-sm); font-size: 13px; font-family: var(--sx-font);
  color: var(--sx-ink); font-weight: 600; padding: 10px 32px 10px 13px;
  cursor: pointer; outline: none; transition: border-color .15s, box-shadow .15s; min-width: 168px;
}
.st-select:focus, .st-mp-sort__select:focus {
  border-color: var(--sx-accent); box-shadow: 0 0 0 4px rgba(109,94,252,.14);
}

/* ============================================================
   TABS
   ============================================================ */
.st-mp-tabs.st-tabs {
  display: inline-flex; align-items: center; gap: 6px;
  margin-bottom: 18px; padding: 7px 10px;
  background: rgba(255,255,255,.7); backdrop-filter: blur(6px);
  border: 1px solid rgba(231,234,244,.9);
  border-radius: 16px; box-shadow: var(--sx-sh1);
}
.st-tabs__btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 24px; border-radius: 12px;
  font-size: 13.5px; font-weight: 600; font-family: var(--sx-font);
  color: var(--sx-sub); background: transparent; border: none; cursor: pointer;
  transition: background .15s, color .15s, box-shadow .15s; white-space: nowrap; line-height: 1.4;
}
.st-tabs__btn:hover { color: var(--sx-ink); background: var(--sx-line-2); }
.st-tabs__btn--active {
  background: var(--sx-grad) !important; color: #fff !important;
  box-shadow: var(--sx-glow); font-weight: 700;
}
.st-mp-tabs__count {
  font-size: 11px; font-weight: 700; background: var(--sx-line-2);
  color: var(--sx-sub); border-radius: var(--sx-pill); padding: 1px 8px; line-height: 1.6;
}
.st-tabs__btn--active .st-mp-tabs__count { background: rgba(255,255,255,.26); color: #fff; }
.display-none { display: none !important; }

/* ============================================================
   PRODUCT GRID + CARDS (vertical, store style)
   ============================================================ */
.st-mp-catalog {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(258px, 296px));
  gap: 20px;
  justify-content: start;
  margin-bottom: 26px;
}

.sx-card {
  display: flex; flex-direction: column;
  background: var(--sx-card);
  border-radius: var(--sx-r);
  border: 1px solid rgba(231,234,244,.8);
  box-shadow: var(--sx-sh1);
  overflow: hidden;
  transition: transform .24s cubic-bezier(.22,1,.36,1), box-shadow .24s, border-color .24s;
  position: relative;
}
.sx-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sx-sh3);
  border-color: rgba(109,94,252,.35);
}

.sx-card__cover {
  position: relative; display: block;
  aspect-ratio: 16 / 11; overflow: hidden;
  background: linear-gradient(135deg, #eef0fa, #e4e7f5);
}
.sx-card__cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s cubic-bezier(.22,1,.36,1); }
.sx-card:hover .sx-card__cover img { transform: scale(1.07); }
.sx-card__cover::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(13,18,32,.42) 100%);
  opacity: .85; transition: opacity .24s;
}
.sx-card:hover .sx-card__cover::after { opacity: 1; }

.sx-card__discount {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  background: linear-gradient(135deg, #ff5f6d, #e5484d);
  color: #fff !important; font-size: 12px; font-weight: 800;
  padding: 4px 10px; border-radius: var(--sx-pill);
  box-shadow: 0 6px 16px rgba(229,72,77,.4); letter-spacing: .02em;
}
.sx-card__cat {
  position: absolute; left: 12px; bottom: 12px; z-index: 2;
  display: inline-flex; align-items: center;
  font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  color: #fff; padding: 4px 11px; border-radius: var(--sx-pill);
  background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.3);
  backdrop-filter: blur(8px);
}

.sx-card__body {
  display: flex; flex-direction: column; gap: 8px;
  padding: 16px 17px 12px;
}
.sx-card__title {
  font-size: 15.5px; font-weight: 700; color: var(--sx-ink); margin: 0;
  line-height: 1.35; letter-spacing: -.01em; font-family: var(--sx-font);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  min-height: 42px;
}
.sx-card__title a { color: inherit; transition: color .15s; }
.sx-card__title a:hover { color: var(--sx-accent); }
.sx-card__desc {
  font-size: 12.5px; color: var(--sx-sub); margin: 0; line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.sx-card__meta { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; margin-top: 1px; }
.sx-card__rating {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 11.5px; font-weight: 700; color: var(--sx-amber);
  background: var(--sx-amber-bg); border-radius: var(--sx-pill); padding: 3px 9px;
}
.sx-card__sales {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 11.5px; font-weight: 600; color: var(--sx-sub);
  background: var(--sx-line-2); border-radius: var(--sx-pill); padding: 3px 9px;
}

.sx-card__foot {
  margin-top: auto;
  padding: 13px 17px 17px;
  border-top: 1px solid var(--sx-line-2);
  display: flex; flex-direction: column; gap: 11px;
}
.sx-card__price-row { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; min-width: 0; }
.sx-card__price-label { font-size: 11px; font-weight: 600; color: var(--sx-muted); text-transform: uppercase; letter-spacing: .05em; }
.sx-card__price {
  font-size: clamp(16px, 0.35vw + 15.5px, 17px); font-weight: 800; letter-spacing: -.02em; line-height: 1.15;
  color: var(--sx-ink); font-family: var(--sx-font);
  overflow-wrap: anywhere;
}
.sx-card__old { font-size: 13px; color: var(--sx-muted); text-decoration: line-through; }

.st-shop-page .sx-card__buy,
.st-shop-page a.sx-card__buy {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  background: var(--sx-grad); color: #fff !important;
  font-size: 14px; font-family: var(--sx-font); font-weight: 700;
  padding: 12px 16px; border-radius: 13px;
  text-decoration: none !important; letter-spacing: .01em; cursor: pointer;
  box-shadow: var(--sx-glow); border: none;
  transition: transform .14s, filter .15s, box-shadow .15s;
}
.st-shop-page .sx-card__buy:hover,
.st-shop-page a.sx-card__buy:hover {
  transform: translateY(-1px); filter: brightness(1.07);
  color: #fff !important; box-shadow: 0 12px 28px rgba(109,94,252,.5);
}
.sx-card__buy svg { flex-shrink: 0; transition: transform .18s; }
.sx-card__buy:hover svg { transform: translateX(3px); }

/* ============================================================
   ADVANTAGES
   ============================================================ */
.st-mp-advantages { margin-top: 34px; }
.st-mp-advantages__title {
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em;
  color: var(--sx-muted); margin: 0 0 16px;
}
.st-mp-advantages__list {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  list-style: none; margin: 0; padding: 0;
}
.st-mp-advantage {
  display: flex; align-items: flex-start; gap: 13px;
  padding: 18px; border-radius: var(--sx-r-md);
  background: var(--sx-card); border: 1px solid rgba(231,234,244,.8);
  box-shadow: var(--sx-sh1);
}
.st-mp-advantage__icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: var(--sx-accent-soft);
  color: var(--sx-accent);
}
.st-mp-advantage__body { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.st-mp-advantage__name {
  display: block;
  font-size: 13.5px; font-weight: 700; color: var(--sx-ink);
  margin: 0; font-family: var(--sx-font); line-height: 1.3;
}
.st-mp-advantage__text {
  display: block;
  font-size: 12px; color: var(--sx-sub); margin: 0; line-height: 1.45;
}

/* Sidebar column block */
.st-mp-advantages--sidebar {
  margin-top: 0;
  width: 100%;
  min-width: 0;
  padding: 12px 10px 10px;
  background: var(--sx-card);
  border-radius: var(--sx-r);
  border: 1px solid rgba(231,234,244,.8);
  box-shadow: var(--sx-sh2);
}
.st-mp-advantages--sidebar .st-mp-advantages__title {
  margin: 0 0 8px;
  padding: 0 6px;
  font-size: 10.5px;
  letter-spacing: .12em;
}
.st-mp-advantages--sidebar .st-mp-advantages__list {
  grid-template-columns: 1fr;
  gap: 0;
}
.st-mp-advantages--sidebar .st-mp-advantage {
  align-items: center;
  gap: 11px;
  padding: 10px 6px;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  border-bottom: 1px solid var(--sx-line-2);
}
.st-mp-advantages--sidebar .st-mp-advantage:last-child {
  border-bottom: none;
  padding-bottom: 4px;
}
.st-mp-advantages--sidebar .st-mp-advantage:hover {
  background: var(--sx-card-2);
  border-radius: 12px;
}
.st-mp-advantages--sidebar .st-mp-advantage__icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
}
.st-mp-advantages--sidebar .st-mp-advantage__name {
  font-size: 12.5px;
}
.st-mp-advantages--sidebar .st-mp-advantage__text {
  font-size: 11px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ============================================================
   REVIEWS
   ============================================================ */
.st-mp-reviews { display: flex; flex-direction: column; gap: 14px; margin-bottom: 22px; }
.st-mp-review, .st-mp-review--premium {
  display: flex; gap: 16px;
  background: var(--sx-card); border-radius: var(--sx-r-md);
  border: 1px solid rgba(231,234,244,.8); box-shadow: var(--sx-sh1);
  padding: 20px 22px;
}
.st-mp-review__avatar {
  flex-shrink: 0; width: 46px; height: 46px; border-radius: 50%;
  background: var(--sx-accent-soft); display: flex; align-items: center; justify-content: center;
  color: var(--sx-accent); border: 2px solid #fff; box-shadow: var(--sx-sh1);
}
.st-mp-review__content { flex: 1; min-width: 0; }
.st-mp-review__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 9px; }
.st-mp-review__rating {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12px; font-weight: 700; border-radius: var(--sx-pill); padding: 4px 12px;
}
.st-mp-review__rating--positive { background: var(--sx-green-bg); color: var(--sx-green); }
.st-mp-review__rating--negative { background: var(--sx-red-bg); color: var(--sx-red); }
.st-mp-review__date { font-size: 11.5px; color: var(--sx-muted); white-space: nowrap; }
.st-mp-review__product { display: inline-block; font-size: 12.5px; font-weight: 600; color: var(--sx-accent); margin-bottom: 8px; }
.st-mp-review__product:hover { text-decoration: underline; }
.st-mp-review__text { font-size: 14px; color: var(--sx-ink); margin: 0 0 10px; line-height: 1.6; }
.st-mp-review__answer {
  background: var(--sx-accent-soft); border-left: 3px solid var(--sx-accent);
  border-radius: 0 12px 12px 0; padding: 12px 16px; margin: 0 0 8px;
  font-size: 13px; color: var(--sx-ink); line-height: 1.55;
}
.st-mp-review__answer-label { display: block; font-size: 11px; font-weight: 700; color: var(--sx-accent); margin-bottom: 5px; text-transform: uppercase; letter-spacing: .05em; }
.st-mp-review__badge { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; color: var(--sx-muted); }

/* ============================================================
   BREADCRUMB
   ============================================================ */
.st-mp-breadcrumb {
  display: flex; align-items: center; gap: 7px; flex-wrap: wrap;
  font-size: 12.5px; color: var(--sx-sub); margin-bottom: 18px;
}
.st-mp-breadcrumb a { color: var(--sx-accent); font-weight: 600; }
.st-mp-breadcrumb a:hover { text-decoration: underline; }
.st-mp-breadcrumb__sep { color: var(--sx-muted); }

/* ============================================================
   PRODUCT DETAIL
   ============================================================ */
.st-mp-product {
  display: grid; grid-template-columns: minmax(0,1fr) 384px;
  gap: var(--sx-gap); align-items: start; margin-bottom: 40px;
}
.st-mp-product__info {
  display: grid; grid-template-columns: 320px minmax(0,1fr); gap: 26px;
  background: var(--sx-card); border-radius: var(--sx-r);
  border: 1px solid rgba(231,234,244,.8); box-shadow: var(--sx-sh2); padding: 30px;
}
.st-mp-product__media { flex-shrink: 0; }
.st-mp-product__media img {
  width: 100%; aspect-ratio: 1; object-fit: cover;
  border-radius: var(--sx-r-md); box-shadow: 0 12px 34px rgba(13,18,32,.16);
}
.st-mp-product__details { display: flex; flex-direction: column; gap: 15px; }
.st-mp-product__cat {
  display: inline-flex; align-items: center; width: fit-content;
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  color: var(--sx-accent); background: var(--sx-accent-soft);
  padding: 4px 13px; border-radius: var(--sx-pill);
}
.st-mp-product__cat:hover { background: #e6e2ff; }
.st-mp-product__title {
  font-size: 26px; font-weight: 800; line-height: 1.25; letter-spacing: -.02em;
  color: var(--sx-ink); margin: 0; font-family: var(--sx-font);
}
.st-mp-product__stats { display: flex; align-items: center; gap: 10px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.st-mp-product__stats li {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; color: var(--sx-sub);
  background: var(--sx-line-2); border-radius: var(--sx-pill); padding: 6px 13px;
}
.st-mp-product__stat-label { font-size: 12.5px; }
.st-mp-product__stat-value { font-weight: 700; color: var(--sx-ink); }
.st-mp-product__stat-icon { display: flex; align-items: center; }
.st-mp-product__stat-icon--positive { color: var(--sx-green); }
.st-mp-product__stat-icon--negative { color: var(--sx-red); }
.st-mp-product__desc-wrap { display: flex; flex-direction: column; align-items: flex-start; gap: 0; }
.st-mp-product__desc {
  font-size: 14px; line-height: 1.7; color: var(--sx-sub);
  width: 100%; margin: 0;
  white-space: pre-line;
}
.st-mp-product__desc.is-collapsed {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 6;
  overflow: hidden;
}
.st-mp-product__desc.is-expanded {
  display: block; overflow: visible; -webkit-line-clamp: unset;
}
.st-shop-page .st-mp-product__desc-more {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 10px; padding: 0; border: none; background: none;
  font-family: var(--sx-font); font-size: 13.5px; font-weight: 700;
  color: var(--sx-accent); cursor: pointer;
  transition: color .15s;
}
.st-shop-page .st-mp-product__desc-more:hover { color: var(--sx-accent-d); }
.st-shop-page .st-mp-product__desc-more[hidden] { display: none !important; }
.st-mp-product__desc-more svg { flex-shrink: 0; transition: transform .18s; }
.st-mp-product__desc-more[aria-expanded="true"] svg { transform: rotate(90deg); }
.st-mp-product__trust-wrap { margin-top: 4px; padding-top: 16px; border-top: 1px solid var(--sx-line-2); }
.st-mp-product__trust-wrap .st-mp-trust { display: flex; gap: 10px; flex-wrap: wrap; }
.st-mp-product__trust-wrap .st-mp-trust__badge {
  display: inline-flex; align-items: center; gap: 7px; position: relative;
  font-size: 12.5px; font-weight: 600; color: var(--sx-sub);
  background: var(--sx-line-2); border: 1px solid var(--sx-line);
  border-radius: var(--sx-pill); padding: 8px 14px; cursor: default; font-family: var(--sx-font);
}
.st-mp-product__trust-wrap .st-mp-trust__icon--shield { color: var(--sx-green); }
.st-mp-product__trust-wrap .st-mp-trust__icon--bolt { color: var(--sx-amber); }

/* Buy card */
.st-mp-product__buy { position: sticky; top: 18px; }
.st-mp-order-card, .st-order-card {
  background: var(--sx-card); border-radius: var(--sx-r);
  border: 1px solid rgba(231,234,244,.8); box-shadow: var(--sx-sh2); padding: 26px;
}
.st-mp-order-card__title {
  font-size: 17px; font-weight: 800; color: var(--sx-ink); margin: 0 0 18px;
  padding-bottom: 15px; border-bottom: 1px solid var(--sx-line-2); font-family: var(--sx-font);
}
.st-mp-order-card .steps, .st-mp-order-card ol {
  display: flex; align-items: center; gap: 4px; list-style: none; padding: 0;
  margin: 0 0 18px; font-size: 12px; color: var(--sx-sub);
}
.st-mp-order-card .steps li, .st-mp-order-card ol li { display: flex; align-items: center; gap: 4px; }

/* Product reviews section */
.st-mp-product-reviews { margin-top: 12px; }
.st-mp-product-reviews__title {
  font-size: 19px; font-weight: 800; color: var(--sx-ink);
  margin: 0 0 18px; display: flex; align-items: center; gap: 10px; font-family: var(--sx-font);
}

/* ============================================================
   CHECKOUT / ORDER WIZARD (sellerts.css не грузится)
   ============================================================ */
.st-shop-page .st-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; font-size: 14px; font-weight: 700; font-family: var(--sx-font);
  border-radius: 12px; border: none; cursor: pointer;
  transition: transform .12s, filter .15s, box-shadow .15s, background .15s;
  text-decoration: none !important; line-height: 1.3;
}
.st-shop-page .st-btn--primary {
  background: var(--sx-grad); color: #fff !important;
  box-shadow: var(--sx-glow);
}
.st-shop-page .st-btn--primary:hover:not(:disabled) {
  filter: brightness(1.06); transform: translateY(-1px);
  color: #fff !important;
}
.st-shop-page .st-btn--primary:disabled { opacity: .65; cursor: not-allowed; transform: none; }
.st-shop-page .st-btn--ghost {
  background: transparent; color: var(--sx-accent) !important;
  border: 1.5px solid var(--sx-line);
}
.st-shop-page .st-btn--ghost:hover:not(:disabled) {
  background: var(--sx-accent-soft); border-color: rgba(109,94,252,.35);
  color: var(--sx-accent) !important;
}
.st-shop-page .st-btn--block { width: 100%; }

.st-shop-page .st-order-card__title {
  font-size: 15px; font-weight: 700; color: var(--sx-ink);
  margin: 0 0 6px; line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.st-shop-page .st-order-card__subtitle {
  font-size: 13px; color: var(--sx-sub); margin: 0 0 16px; line-height: 1.45;
}

.st-shop-page .st-option { display: block; margin-bottom: 10px; cursor: pointer; position: relative; }
.st-shop-page .st-option input { position: absolute; opacity: 0; pointer-events: none; }
.st-shop-page .st-option__box {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 14px 16px; border: 1.5px solid var(--sx-line); border-radius: 14px;
  background: var(--sx-card-2); transition: border-color .15s, background .15s, box-shadow .15s;
}
.st-shop-page .st-option:hover .st-option__box {
  border-color: rgba(109,94,252,.35); background: #fff;
}
.st-shop-page .st-option input:checked + .st-option__box,
.st-shop-page .st-option input:focus-visible + .st-option__box {
  border-color: var(--sx-accent); background: var(--sx-accent-soft);
  box-shadow: 0 0 0 4px rgba(109,94,252,.12);
}
.st-shop-page .st-option__box span:first-child { font-size: 14px; font-weight: 600; color: var(--sx-ink); }
.st-shop-page .st-option__price { font-size: 15px; font-weight: 800; color: var(--sx-accent); white-space: nowrap; }

.st-shop-page .st-field { margin-bottom: 14px; }
.st-shop-page .st-field label {
  display: block; font-size: 13px; font-weight: 600; color: var(--sx-sub); margin-bottom: 6px;
}
.st-shop-page .st-field input,
.st-shop-page .st-field select,
.st-shop-page .st-field textarea {
  width: 100%; min-height: 46px; padding: 11px 14px;
  border: 1.5px solid var(--sx-line); border-radius: 12px;
  background: var(--sx-card-2); color: var(--sx-ink);
  font-family: var(--sx-font); font-size: 14px;
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.st-shop-page .st-field input:focus,
.st-shop-page .st-field select:focus,
.st-shop-page .st-field textarea:focus {
  outline: none; border-color: var(--sx-accent); background: #fff;
  box-shadow: 0 0 0 4px rgba(109,94,252,.12);
}

.st-shop-page .st-input-group {
  display: flex; align-items: stretch; margin-bottom: 14px;
  border: 1.5px solid var(--sx-line); border-radius: 12px;
  background: var(--sx-card-2); overflow: hidden;
  transition: border-color .15s, box-shadow .15s;
}
.st-shop-page .st-input-group:focus-within {
  border-color: var(--sx-accent); box-shadow: 0 0 0 4px rgba(109,94,252,.12); background: #fff;
}
.st-shop-page .st-input-group input {
  flex: 1; min-width: 0; border: none; background: transparent;
  padding: 11px 14px; font-family: var(--sx-font); font-size: 14px; color: var(--sx-ink); outline: none;
}
.st-shop-page .st-input-group__btn {
  flex-shrink: 0; border: none !important; border-left: 1.5px solid var(--sx-line) !important;
  border-radius: 0 !important; margin: 0 !important; padding: 11px 16px !important; white-space: nowrap;
}

.st-shop-page .st-actions {
  display: flex; flex-direction: column; gap: 10px; margin-top: 18px;
}
.st-shop-page .st-actions .st-btn { width: 100%; }

.st-shop-page .st-error {
  color: var(--sx-red); font-size: 12.5px; font-weight: 600;
  margin: 6px 0 10px; line-height: 1.4;
}

.st-mp-checkout { position: relative; }
.st-mp-checkout--loading .st-mp-checkout__panel { pointer-events: none; opacity: .72; }
.st-mp-checkout__overlay {
  display: none; position: absolute; inset: 0; z-index: 5;
  align-items: center; justify-content: center;
  background: rgba(255,255,255,.55); border-radius: var(--sx-r-md); backdrop-filter: blur(3px);
}
.st-mp-checkout__spinner {
  width: 30px; height: 30px; border: 2.5px solid var(--sx-line);
  border-top-color: var(--sx-accent); border-radius: 50%;
  animation: sx-spin .7s linear infinite;
}
@keyframes sx-spin { to { transform: rotate(360deg); } }

.st-mp-steps { margin-bottom: 18px; padding-bottom: 16px; border-bottom: 1px solid var(--sx-line-2); }
.st-mp-steps__list {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 6px;
  list-style: none; margin: 0; padding: 0;
}
.st-mp-steps__item {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px;
  text-align: center; min-width: 0; position: relative;
}
.st-mp-steps__item:not(:last-child)::after {
  content: ''; position: absolute; top: 15px; left: calc(50% + 17px); right: calc(-50% + 17px);
  height: 2px; background: var(--sx-line); z-index: 0;
}
.st-mp-steps__item.is-complete:not(:last-child)::after { background: var(--sx-accent); opacity: .35; }
.st-mp-steps__marker {
  position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 50%;
  font-size: 12px; font-weight: 800; color: var(--sx-muted);
  background: var(--sx-card-2); border: 2px solid var(--sx-line);
}
.st-mp-steps__item.is-current .st-mp-steps__marker {
  color: #fff; background: var(--sx-accent); border-color: var(--sx-accent);
  box-shadow: 0 0 0 4px rgba(109,94,252,.18);
}
.st-mp-steps__item.is-complete .st-mp-steps__marker {
  color: var(--sx-accent); background: var(--sx-accent-soft);
  border-color: rgba(109,94,252,.35);
}
.st-mp-steps__label {
  font-size: 11px; font-weight: 600; color: var(--sx-muted); line-height: 1.25; max-width: 6.5rem;
}
.st-mp-steps__item.is-current .st-mp-steps__label { color: var(--sx-ink); font-weight: 700; }

.st-mp-checkout__panel { animation: sx-checkout-in .22s ease-out; }
@keyframes sx-checkout-in {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

.st-mp-checkout-summary {
  display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px;
  padding: 14px 16px; background: var(--sx-card-2);
  border: 1px solid var(--sx-line); border-radius: 14px;
}
.st-mp-checkout-summary__row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  font-size: 14px; color: var(--sx-ink);
}
.st-mp-checkout-summary__row strong { font-weight: 800; color: var(--sx-accent); }
.st-mp-checkout-summary__row--muted {
  font-size: 13px; color: var(--sx-sub);
  padding-top: 8px; border-top: 1px dashed var(--sx-line);
}
.st-mp-checkout-notice {
  margin: 0 0 14px; font-size: 12.5px; line-height: 1.55; color: var(--sx-muted);
}
.st-mp-checkout__promo { margin-bottom: 14px; }
.st-mp-checkout__alert { margin-bottom: 14px; }
.st-mp-checkout__loading-hint { margin: -4px 0 10px; font-size: 12.5px; color: var(--sx-muted); }

.st-mp-product__buy .st-mp-order-card__title {
  font-size: 18px; font-weight: 800; margin: 0 0 16px; padding-bottom: 14px;
  border-bottom: 1px solid var(--sx-line-2);
  display: block; -webkit-line-clamp: unset; overflow: visible;
}

/* ============================================================
   PAGINATION
   ============================================================ */
.st-pagination { margin-top: 12px; margin-bottom: 6px; }
.st-pagination .pagination { display: flex; align-items: center; gap: 5px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.st-pagination .page-item .page-link {
  display: flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 13px;
  border-radius: 12px; font-size: 13.5px; font-weight: 600; font-family: var(--sx-font);
  color: var(--sx-sub); background: var(--sx-card); border: 1.5px solid var(--sx-line);
  transition: border-color .15s, color .15s, background .15s, transform .12s;
}
.st-pagination .page-item .page-link:hover { border-color: var(--sx-accent); color: var(--sx-accent); background: var(--sx-accent-soft); transform: translateY(-1px); }
.st-pagination .page-item.active .page-link { background: var(--sx-grad); border-color: transparent; color: #fff !important; box-shadow: var(--sx-glow); }
.st-pagination .page-item.disabled .page-link { opacity: .4; pointer-events: none; }

/* ============================================================
   EMPTY STATE
   ============================================================ */
.st-mp-empty {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 64px 26px; text-align: center; grid-column: 1 / -1;
  background: var(--sx-card); border-radius: var(--sx-r);
  border: 1px solid rgba(231,234,244,.8); box-shadow: var(--sx-sh1);
}
.st-mp-empty__icon {
  width: 76px; height: 76px; border-radius: 22px; margin-bottom: 18px;
  display: flex; align-items: center; justify-content: center;
  background: var(--sx-accent-soft); color: var(--sx-accent);
}
.st-mp-empty__title { font-size: 16px; font-weight: 700; color: var(--sx-ink); margin: 0 0 6px; }
.st-mp-empty__text { font-size: 14px; color: var(--sx-sub); margin: 0; }

/* ============================================================
   FOOTER
   ============================================================ */
.st-mp-footer {
  flex-shrink: 0; margin-top: auto; width: 100%;
  background: var(--sx-card);
  border-top: 1px solid var(--sx-line);
  padding: 24px 0;
  box-shadow: 0 -6px 18px rgba(13, 18, 32, .06);
}
.st-mp-footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.st-mp-footer__copy { font-size: 12.5px; color: var(--sx-sub); margin: 0; }
.st-mp-footer__copy a { color: var(--sx-accent); font-weight: 700; }
.st-mp-footer__links { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.st-mp-footer__links a { font-size: 12.5px; color: var(--sx-sub); transition: color .15s; }
.st-mp-footer__links a:hover { color: var(--sx-ink); }

/* ============================================================
   MARKETPLACE (all shops + all products, /shop)
   ============================================================ */
.st-mp-layout--full { grid-template-columns: 1fr; }

.sx-shop__avatar--brand {
  display: flex; align-items: center; justify-content: center;
  background: var(--sx-grad);
  padding: 0;
}
.sx-shop__avatar--brand img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sx-card__shop {
  position: absolute; left: 12px; top: 12px; z-index: 2;
  display: inline-flex; align-items: center; max-width: calc(100% - 24px);
  font-size: 10.5px; font-weight: 700; letter-spacing: .02em;
  color: #fff; padding: 4px 11px; border-radius: var(--sx-pill);
  background: rgba(13,18,32,.42); border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(8px);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.st-mp-shops-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(268px, 1fr));
  gap: 18px;
  margin-bottom: 26px;
}

.sx-shop-card {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 10px; padding: 24px 20px 20px;
  background: var(--sx-card); border-radius: var(--sx-r);
  border: 1px solid rgba(231,234,244,.8); box-shadow: var(--sx-sh1);
  transition: transform .24s cubic-bezier(.22,1,.36,1), box-shadow .24s, border-color .24s;
}
.sx-shop-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sx-sh3);
  border-color: rgba(109,94,252,.35);
}
.sx-shop-card__avatar {
  display: block; width: 60px; height: 60px; border-radius: 16px; overflow: hidden;
  background: var(--sx-card-2); border: 2px solid var(--sx-line); box-shadow: var(--sx-sh1);
}
.sx-shop-card__avatar img { width: 100%; height: 100%; object-fit: cover; }
.sx-shop-card__body { display: flex; flex-direction: column; gap: 6px; min-width: 0; width: 100%; }
.sx-shop-card__name {
  font-size: 15.5px; font-weight: 700; color: var(--sx-ink); margin: 0;
  font-family: var(--sx-font); letter-spacing: -.01em;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.sx-shop-card__name a { color: inherit; transition: color .15s; }
.sx-shop-card__name a:hover { color: var(--sx-accent); }
.sx-shop-card__desc {
  font-size: 12.5px; color: var(--sx-sub); margin: 0; line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.sx-shop-card__meta { display: flex; align-items: center; justify-content: center; gap: 7px; flex-wrap: wrap; }
.sx-shop-card__rating {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 11.5px; font-weight: 700; color: var(--sx-amber);
  background: var(--sx-amber-bg); border-radius: var(--sx-pill); padding: 3px 9px;
}
.sx-shop-card__count {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 11.5px; font-weight: 600; color: var(--sx-sub);
  background: var(--sx-line-2); border-radius: var(--sx-pill); padding: 3px 9px;
}
.st-shop-page .sx-shop-card__cta {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  width: 100%; margin-top: 4px;
  background: var(--sx-grad); color: #fff !important;
  font-size: 13.5px; font-family: var(--sx-font); font-weight: 700;
  padding: 11px 16px; border-radius: 13px;
  text-decoration: none !important; letter-spacing: .01em; cursor: pointer;
  box-shadow: var(--sx-glow); border: none;
  transition: transform .14s, filter .15s, box-shadow .15s;
}
.st-shop-page .sx-shop-card__cta:hover {
  transform: translateY(-1px); filter: brightness(1.07);
  color: #fff !important; box-shadow: 0 12px 28px rgba(109,94,252,.5);
}
.sx-shop-card__cta svg { flex-shrink: 0; transition: transform .18s; }
.sx-shop-card__cta:hover svg { transform: translateX(3px); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  :root { --sx-sidebar-w: 210px; --sx-gap: 16px; }
  .sx-shop__stats { display: none; }
  .st-mp-product { grid-template-columns: 1fr; }
  .st-mp-product__buy { position: static; }
  .st-mp-advantages__list { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --sx-gap: 14px; }
  .st-container { padding-inline: 16px; }

  .sx-hero .st-mp-trust { display: none; }

  .sx-shop { padding: 20px 0 24px; }
  .sx-shop__inner { gap: 16px; flex-wrap: wrap; }
  .sx-shop__avatar { width: 72px; height: 72px; border-radius: 18px; }
  .sx-shop__name { font-size: 23px; }
  .sx-shop__desc { font-size: 13px; -webkit-line-clamp: 3; }

  .sx-pay-trust { margin-top: 14px; padding: 12px 13px; }
  .sx-pay-trust__head { gap: 10px; }
  .sx-pay-trust__shield { width: 32px; height: 32px; border-radius: 10px; }
  .sx-pay-trust__title { font-size: 13px; }
  .sx-pay-trust__lead { font-size: 12px; }

  .st-mp-layout, .st-mp-layout--wide { grid-template-columns: 1fr; }
  .st-mp-sidebar-col { position: static; }
  .st-mp-sidebar-toggle { display: flex; }
  .st-mp-sidebar { position: static; display: none; }
  .st-mp-sidebar.is-open { display: block; }

  .st-mp-categories__list { flex-direction: row; overflow-x: auto; gap: 8px; padding: 4px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .st-mp-categories__list::-webkit-scrollbar { display: none; }
  .st-mp-categories__link { flex-shrink: 0; }
  .st-mp-sidebar__title { display: none; }

  .st-mp-toolbar { flex-direction: column; gap: 10px; align-items: stretch; }
  .st-mp-sort { justify-content: space-between; }
  .st-mp-sort__select { flex: 1; min-width: 0; }

  .st-mp-catalog { grid-template-columns: repeat(auto-fill, minmax(155px, 1fr)); gap: 13px; }
  .st-mp-shops-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
  .sx-shop-card { padding: 18px 14px 16px; }
  .sx-card__body { padding: 12px 13px 8px; }
  .sx-card__title { font-size: 14px; min-height: 38px; }
  .sx-card__desc { display: none; }
  .sx-card__foot { padding: 11px 13px 14px; }
  .sx-card__price { font-size: 16px; }

  .st-mp-advantages__list { grid-template-columns: 1fr; }
  .st-mp-product__info { grid-template-columns: 1fr; padding: 20px; }
  .st-mp-product__media img { max-height: 300px; }
  .st-mp-product__title { font-size: 21px; }

  .st-mp-tabs.st-tabs { display: flex; width: 100%; padding: 7px 8px; }
  .st-tabs__btn { flex: 1; justify-content: center; padding: 11px 14px; }

  .st-mp-footer__inner { flex-direction: column; align-items: flex-start; gap: 10px; }
}

@media (max-width: 420px) {
  .st-mp-catalog { grid-template-columns: repeat(2, 1fr); gap: 11px; }
  .sx-shop__namerow { gap: 7px; }
  .sx-shop__name { font-size: 20px; }
}
