/* =========================================================
   МАГАЗИН v2 (sx-*) + админка каталога (shopadm-*)
   Стиль — тот же тёмно-фиолетовый неон, что и на всём сайте.
   ========================================================= */

/* ---------- Шапка ---------- */
.sx-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.sx-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .22; }
.sx-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 18%, rgba(7, 11, 18, .66) 60%, rgba(7, 11, 18, .88)), radial-gradient(640px 320px at 82% 0, rgba(150, 70, 255, .28), transparent); }
.sx-hero-in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: center; padding-top: 34px; padding-bottom: 34px; }
.sx-kicker { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-violet); background: rgba(139, 61, 255, .12); color: var(--lilac); font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.sx-hero h1 { margin: 14px 0 8px; font-size: 40px; font-weight: 900; letter-spacing: -.02em; line-height: 1.08; }
.sx-hero h1 span { background: var(--grad-violet); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sx-hero p { max-width: 520px; margin: 0; color: #c1c7d2; }
.sx-steps { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 0; padding: 0; list-style: none; }
.sx-steps li { display: flex; align-items: center; gap: 9px; padding: 8px 14px 8px 8px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(10, 14, 22, .72); font-size: 13px; font-weight: 600; }
.sx-steps b { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: rgba(139, 61, 255, .24); color: var(--lilac); font-size: 12px; }

.sx-wallet { display: flex; flex-direction: column; gap: 14px; padding: 20px; border-radius: 20px; border: 1px solid var(--line-violet); background: rgba(12, 16, 26, .84); backdrop-filter: blur(12px); box-shadow: 0 20px 60px rgba(0, 0, 0, .45), 0 0 40px rgba(140, 60, 255, .12); }
.sx-w-top { display: flex; align-items: center; gap: 14px; }
.sx-w-ico { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 15px; background: var(--grad-violet); color: #fff; font-size: 21px; box-shadow: var(--shadow-violet); }
.sx-w-top small { display: block; color: var(--muted); font-size: 12px; }
.sx-w-top b { font-size: 28px; font-weight: 900; font-variant-numeric: tabular-nums; line-height: 1.1; }
.sx-w-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sx-w-btns > * { justify-content: center; height: 42px; }
.sx-w-list { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 0; list-style: none; font-size: 12px; }
.sx-w-list li { display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-radius: 10px; background: rgba(255, 255, 255, .035); color: var(--muted); }
.sx-w-list li > i { width: 16px; text-align: center; color: var(--lilac); }
.sx-w-list li > b { margin-left: auto; color: var(--text); max-width: 55%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sx-w-list a { color: inherit; text-decoration: none; }
.sx-w-list a:hover { color: #fff; }
.sx-w-list .ok > i { color: var(--green); }
.sx-w-list .warn, .sx-w-list .warn > i { color: var(--gold); }

/* ---------- Панель категорий ---------- */
.sx-bar { position: sticky; top: var(--tb); z-index: 20; display: flex; flex-direction: column; gap: 10px; padding-top: 12px; padding-bottom: 12px; background: rgba(7, 11, 18, .92); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.sx-tabs-wrap { position: relative; display: flex; align-items: center; gap: 8px; min-width: 0; }
.sx-tabs-wrap::before, .sx-tabs-wrap::after { content: ""; position: absolute; top: 0; bottom: 0; width: 44px; z-index: 2; pointer-events: none; opacity: 0; transition: opacity .2s; }
.sx-tabs-wrap::before { left: 46px; background: linear-gradient(90deg, #070b12 15%, transparent); }
.sx-tabs-wrap::after { right: 46px; background: linear-gradient(270deg, #070b12 15%, transparent); }
.sx-tabs-wrap.can-left::before, .sx-tabs-wrap.can-right::after { opacity: 1; }
.sx-arrow { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line-violet); background: rgba(139, 61, 255, .14); color: #fff; font-size: 13px; cursor: pointer; transition: .18s; }
.sx-arrow:hover:not(:disabled) { background: var(--violet); border-color: transparent; box-shadow: var(--shadow-violet); }
.sx-arrow:disabled { opacity: .3; cursor: default; }
.sx-arrow:focus-visible { outline: 2px solid var(--violet-2); outline-offset: 2px; }
.sx-tabs { flex: 1; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; min-width: 0; scroll-behavior: smooth; cursor: grab; -webkit-overflow-scrolling: touch; padding: 2px 0; }
.sx-tabs.dragging { cursor: grabbing; scroll-behavior: auto; user-select: none; }
.sx-tabs::-webkit-scrollbar { display: none; }
.sx-tabs a { flex: none; white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 11px; border: 1px solid var(--line-2); background: var(--panel); color: #c9ced7; font-size: 13px; font-weight: 700; text-decoration: none; transition: .18s; }
.sx-tabs a:hover { color: #fff; border-color: var(--line-violet); }
.sx-tabs a.active { color: #fff; border-color: transparent; background: var(--grad-violet); box-shadow: var(--shadow-violet); }
.sx-tabs em { font-style: normal; font-size: 11px; padding: 1px 7px; border-radius: 6px; background: rgba(0, 0, 0, .28); }
.sx-tools { display: flex; align-items: center; gap: 8px; min-width: 0; }
.sx-search { position: relative; display: block; flex: 1 1 260px; max-width: 420px; margin: 0; }
.sx-search i { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--dim); font-size: 13px; pointer-events: none; }
.sx-search input { width: 100%; height: 42px; padding: 0 12px 0 36px; border-radius: 11px; border: 1px solid var(--line-2); background: rgba(8, 12, 20, .75); color: var(--text); font-size: 13px; outline: none; transition: .18s; }
.sx-search input:focus { border-color: var(--violet-2); box-shadow: 0 0 0 3px rgba(150, 60, 255, .15); }
.sx-sort { height: 42px; padding: 0 12px; border-radius: 11px; border: 1px solid var(--line-2); background: rgba(8, 12, 20, .75); color: var(--text); font-size: 13px; outline: none; }
.sx-toggle { margin: 0; cursor: pointer; user-select: none; }
.sx-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.sx-toggle span { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 13px; border-radius: 11px; border: 1px solid var(--line-2); background: rgba(8, 12, 20, .75); color: #c9ced7; font-size: 13px; font-weight: 700; transition: .18s; white-space: nowrap; }
.sx-toggle input:checked + span { border-color: transparent; background: rgba(94, 240, 168, .16); color: #8cf4bf; box-shadow: inset 0 0 0 1px rgba(94, 240, 168, .4); }
.sx-toggle input:focus-visible + span { outline: 2px solid var(--violet-2); outline-offset: 2px; }

/* ---------- Секции ---------- */
.sx-page { padding-bottom: 30px; }
.sx-sec { margin: 8px 0 34px; }
.sx-sec[hidden], .sx-card[hidden], .sx-tier[hidden] { display: none !important; }
.sx-sec-h { display: flex; align-items: center; gap: 14px; margin: 10px 0 16px; }
.sx-sec-h > i { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 13px; background: rgba(139, 61, 255, .16); border: 1px solid var(--line-violet); color: var(--lilac); font-size: 17px; }
.sx-sec-h h2 { margin: 0; font-size: 21px; font-weight: 900; letter-spacing: -.01em; }
.sx-sec-h p { margin: 2px 0 0; color: var(--muted); font-size: 13px; }

/* ---------- Привилегии ---------- */
.sx-tiers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.sx-tier { position: relative; display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 18px; padding: 22px; border-radius: 22px; border: 1px solid var(--line); background: linear-gradient(160deg, rgba(255, 190, 70, .07), transparent 55%), var(--panel); overflow: hidden; transition: transform .2s, border-color .2s, box-shadow .2s; }
.sx-tier.tier-delux { border-color: var(--line-violet); background: linear-gradient(160deg, rgba(160, 70, 255, .2), transparent 60%), var(--panel); box-shadow: 0 0 40px rgba(140, 60, 255, .1); }
.sx-tier:hover { transform: translateY(-3px); border-color: var(--line-violet); box-shadow: 0 18px 44px rgba(0, 0, 0, .38), 0 0 34px rgba(140, 60, 255, .14); }
.sx-tier-ico { display: grid; place-items: center; width: 96px; height: 96px; border-radius: 26px; background: linear-gradient(145deg, #ffcb55, #f08a1c); color: #1a1205; font-size: 42px; box-shadow: 0 10px 30px rgba(255, 170, 60, .3); }
.tier-delux .sx-tier-ico { background: var(--grad-violet); color: #fff; box-shadow: var(--shadow-violet); }
.sx-tier-main { min-width: 0; }
.sx-tier-main h3 { margin: 2px 0 6px; font-size: 30px; font-weight: 900; letter-spacing: -.01em; }
.sx-tier-main p { margin: 0 0 12px; color: var(--muted); font-size: 13px; }
.sx-tier-main ul { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; font-size: 13px; color: #d5d9e3; }
.sx-tier-main li i { margin-right: 8px; color: var(--green); font-size: 11px; }
.sx-tier-buy { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding-top: 16px; border-top: 1px solid var(--line); }
.sx-periods { display: flex; flex-wrap: wrap; gap: 6px; flex: 1; min-width: 0; }
.sx-periods span { padding: 5px 10px; border-radius: 8px; background: rgba(255, 255, 255, .05); color: #c4cad6; font-size: 12px; font-weight: 600; white-space: nowrap; }
.sx-tier .sx-own { position: absolute; top: 16px; right: 16px; }
.sx-kind { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; color: var(--dim); font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.sx-kind em { font-style: normal; padding: 2px 8px; border-radius: 6px; background: rgba(255, 255, 255, .06); color: #aeb5c4; letter-spacing: .02em; text-transform: none; font-weight: 700; }
.sx-kind em i { margin-right: 4px; color: var(--lilac); }

/* ---------- Сетка товаров ---------- */
.sx-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(236px, 1fr)); gap: 16px; }
.sx-grid.is-models { grid-template-columns: repeat(auto-fill, minmax(256px, 1fr)); }
.sx-card { position: relative; display: flex; flex-direction: column; min-width: 0; border-radius: 20px; border: 1px solid var(--line); background: var(--panel); overflow: hidden; transition: transform .2s, border-color .2s, box-shadow .2s; }
.sx-card:hover { transform: translateY(-4px); border-color: var(--line-violet); box-shadow: 0 18px 44px rgba(0, 0, 0, .4), 0 0 32px rgba(140, 60, 255, .13); }
.sx-card.is-owned { border-color: rgba(94, 240, 168, .28); }

.sx-stage { position: relative; height: 190px; display: grid; place-items: center; overflow: hidden; background: radial-gradient(70% 80% at 50% 108%, rgba(139, 61, 255, .34), transparent 70%), linear-gradient(180deg, #121a28, #0b1019); }
.is-models .sx-stage { height: 330px; background: radial-gradient(55% 60% at 50% 42%, rgba(210, 160, 255, .26), transparent 72%), radial-gradient(80% 50% at 50% 104%, rgba(139, 61, 255, .4), transparent 70%), linear-gradient(180deg, #151d2e, #0b1019); }
.sx-stage::after { content: ""; position: absolute; left: 22%; right: 22%; bottom: 12px; height: 14px; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .65), transparent); pointer-events: none; }
.t-credits .sx-stage { background: radial-gradient(70% 80% at 50% 108%, rgba(255, 201, 74, .28), transparent 70%), linear-gradient(180deg, #171b24, #0b1019); }
.t-knife .sx-stage { background: radial-gradient(70% 80% at 50% 108%, rgba(255, 190, 70, .26), transparent 70%), linear-gradient(180deg, #181a24, #0b1019); }
.t-weapon .sx-stage { background: radial-gradient(70% 80% at 50% 108%, rgba(255, 86, 86, .26), transparent 70%), linear-gradient(180deg, #1a1822, #0b1019); }
.t-zm_class .sx-stage { background: radial-gradient(70% 80% at 50% 108%, rgba(120, 230, 60, .28), transparent 70%), linear-gradient(180deg, #131b1c, #0b1019); }
.t-clan_tag .sx-stage { background: radial-gradient(70% 80% at 50% 108%, rgba(79, 214, 245, .24), transparent 70%), linear-gradient(180deg, #121a28, #0b1019); }

.sx-photo { position: relative; z-index: 1; width: 100%; height: 100%; padding: 14px 10px 24px; border: 0; background: none; cursor: zoom-in; }
.sx-photo img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 12px 22px rgba(0, 0, 0, .55)); transition: transform .4s ease; }
.t-knife .sx-photo img, .t-zm_class .sx-photo img { padding: 6px; }
.t-weapon .sx-photo img { padding: 10px 4px; }
.sx-card:hover .sx-photo img { transform: scale(1.06); }
.sx-zoom { position: absolute; left: 50%; bottom: 12px; transform: translate(-50%, 8px); display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: 999px; background: rgba(8, 10, 18, .78); border: 1px solid var(--line-2); color: #fff; font-size: 12px; font-weight: 700; opacity: 0; transition: .22s; white-space: nowrap; }
.sx-card:hover .sx-zoom, .sx-photo:focus-visible .sx-zoom { opacity: 1; transform: translate(-50%, 0); }
@media (hover: none) { .sx-zoom { opacity: .9; transform: translate(-50%, 0); } }

.sx-art { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.sx-art > i { font-size: 46px; color: var(--lilac); filter: drop-shadow(0 0 18px rgba(170, 90, 255, .5)); }
.sx-art b { margin-top: 6px; font-size: 32px; font-weight: 900; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.sx-art small { color: var(--muted); font-size: 12px; }
.sx-art.coins > i { color: var(--gold); filter: drop-shadow(0 0 22px rgba(255, 201, 74, .55)); }
.sx-art .coin { position: absolute; width: 14px; height: 14px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ffe28a, #e0a21c); box-shadow: 0 0 12px rgba(255, 201, 74, .55); opacity: .75; animation: sxFloat 4.5s ease-in-out infinite; }
.sx-art .coin.c1 { top: -34px; left: -64px; }
.sx-art .coin.c2 { top: -10px; right: -72px; width: 10px; height: 10px; animation-delay: -1.4s; }
.sx-art .coin.c3 { bottom: 10px; left: -78px; width: 9px; height: 9px; animation-delay: -2.8s; }
@keyframes sxFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@media (prefers-reduced-motion: reduce) { .sx-art .coin { animation: none; } }
.sx-art.tag .tag-demo { font-size: 20px; font-weight: 900; }
.sx-art.tag .tag-demo em { font-style: normal; color: var(--lilac); }

.sx-badge { position: absolute; z-index: 3; top: 12px; left: 12px; padding: 4px 10px; border-radius: 8px; background: var(--grad-violet); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .03em; box-shadow: var(--shadow-violet); }
.sx-own { position: absolute; z-index: 3; top: 12px; right: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 8px; background: rgba(94, 240, 168, .14); border: 1px solid rgba(94, 240, 168, .32); color: #8cf4bf; font-size: 11px; font-weight: 800; }

.sx-body { flex: 1; display: flex; flex-direction: column; gap: 6px; padding: 16px 16px 8px; }
.sx-body h3 { margin: 0; font-size: 18px; font-weight: 900; letter-spacing: -.005em; }
.sx-body p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.sx-hint { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; padding: 3px 9px; border-radius: 7px; background: rgba(255, 201, 74, .09); color: var(--gold); font-size: 11px; font-weight: 700; }

.sx-foot { display: flex; flex-direction: column; gap: 12px; padding: 12px 16px 16px; }
.sx-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.sx-price b { font-size: 25px; font-weight: 900; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sx-price b.free { color: var(--green); }
.sx-price small { color: var(--muted); font-size: 12px; }
.sx-actions { display: flex; gap: 8px; width: 100%; }
.sx-actions > .sx-buy, .sx-actions > a { flex: 1 1 auto; min-width: 0; justify-content: center; }
.sx-actions > .sx-gift { flex: 0 0 46px; padding: 0; }
.sx-foot > a.sx-buy { width: 100%; justify-content: center; }
.sx-note { display: flex; align-items: center; gap: 8px; padding: 9px 16px; border-top: 1px solid var(--line); font-size: 12px; font-weight: 600; }
.sx-note.lock { background: rgba(94, 240, 168, .07); color: #8cf4bf; }
.sx-note.lack { background: rgba(255, 201, 74, .06); color: var(--gold); }

.sx-empty { margin: 20px 0 40px; }

/* ---------- Коллекция ---------- */
.sx-collection { margin: 10px 0 26px; padding: 20px; border-radius: 20px; border: 1px solid var(--line); background: var(--panel); }
.sx-collection header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.sx-collection h2 { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 17px; font-weight: 900; }
.sx-collection h2 i { color: var(--green); }
.sx-collection header a { color: var(--lilac); font-size: 13px; font-weight: 700; text-decoration: none; }
.sx-coll-row { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.sx-coll-item { flex: none; width: 104px; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 8px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, .025); text-align: center; }
.sx-coll-item img { width: 100%; height: 100px; object-fit: contain; }
.sx-coll-item > i { font-size: 34px; height: 100px; display: grid; place-items: center; color: var(--lilac); }
.sx-coll-item b { font-size: 11px; font-weight: 800; }

/* ---------- Адаптив ---------- */
@media (max-width: 1100px) {
  .sx-hero-in { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .sx-tiers { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .sx-hero h1 { font-size: 30px; }
  .sx-hero-in { padding-top: 22px; padding-bottom: 22px; gap: 18px; }
  .sx-steps { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .sx-steps li { flex: none; }
  .sx-bar { gap: 8px; padding-top: 10px; padding-bottom: 10px; }
  .sx-arrow { width: 36px; height: 36px; }
  .sx-tabs-wrap::before { left: 40px; } .sx-tabs-wrap::after { right: 40px; }
  .sx-tools { flex-wrap: wrap; }
  .sx-search { flex: 1 1 100%; max-width: none; }
  .sx-sort, .sx-toggle { flex: 1; }
  .sx-toggle span { width: 100%; justify-content: center; }
  .sx-grid, .sx-grid.is-models { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .sx-stage { height: 150px; }
  .is-models .sx-stage { height: 240px; }
  .sx-body { padding: 12px 12px 6px; }
  .sx-body h3 { font-size: 15px; }
  .sx-body p { -webkit-line-clamp: 2; font-size: 12px; }
  .sx-foot { padding: 10px 12px 12px; }
  .sx-price b { font-size: 20px; }
  .sx-tier { grid-template-columns: 64px minmax(0, 1fr); padding: 16px; gap: 14px; }
  .sx-tier-ico { width: 64px; height: 64px; font-size: 28px; border-radius: 18px; }
  .sx-tier-main h3 { font-size: 24px; }
}
@media (max-width: 420px) {
  .sx-grid, .sx-grid.is-models { grid-template-columns: 1fr; }
}

/* =========================================================
   АДМИНКА: Магазин → Товары и цены
   ========================================================= */
.shopadm-sub a i { margin-right: 6px; }
.shopadm-note code, .shopadm-card code, .shopadm-h code { padding: 1px 6px; border-radius: 6px; background: rgba(139, 61, 255, .14); color: var(--lilac); font-size: 12px; }
.shopadm-bar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 16px 0; }
.shopadm-bar .oz-search-inline { flex: 1; min-width: 220px; max-width: 420px; }
.shopadm-bar .muted { margin-left: auto; }
.shopadm-new { margin-bottom: 18px; }
.shopadm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.shopadm-grid .wide { grid-column: 1 / -1; }
.shopadm-h { display: flex; align-items: center; gap: 10px; margin: 26px 0 12px; font-size: 16px; font-weight: 900; }
.shopadm-h em { font-style: normal; padding: 1px 9px; border-radius: 7px; background: rgba(139, 61, 255, .18); color: var(--lilac); font-size: 12px; }
.shopadm-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 14px; align-items: start; }
.shopadm-card { border-radius: 18px; border: 1px solid var(--line); background: var(--panel); overflow: hidden; }
.shopadm-card.is-off { opacity: .72; border-style: dashed; }
.shopadm-item[hidden] { display: none !important; }
.shopadm-card .sc-top { display: flex; align-items: center; gap: 12px; padding: 14px 14px 10px; }
.sc-thumb { display: grid; place-items: center; width: 52px; height: 52px; flex: none; border-radius: 13px; background: radial-gradient(80% 90% at 50% 100%, rgba(139, 61, 255, .3), transparent 70%), #0b1019; border: 1px solid var(--line); color: var(--lilac); font-size: 20px; overflow: hidden; }
.sc-thumb img { width: 100%; height: 100%; object-fit: contain; }
.sc-id { min-width: 0; flex: 1; }
.sc-id b { display: block; font-size: 15px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sc-id small { color: var(--muted); font-size: 12px; }
.sc-state { flex: none; padding: 3px 9px; border-radius: 7px; font-size: 11px; font-weight: 800; }
.sc-state.on { background: rgba(94, 240, 168, .12); color: #8cf4bf; }
.sc-state.off { background: rgba(255, 201, 74, .12); color: var(--gold); }
.sc-main { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 4px 14px 14px; align-items: end; }
.sc-price-in { position: relative; }
.sc-price-in .oz-input { padding-right: 34px; font-size: 18px; font-weight: 900; font-variant-numeric: tabular-nums; }
.sc-price-in > span { position: absolute; right: 13px; top: 50%; transform: translateY(-50%); color: var(--muted); font-weight: 800; }
.sc-static { display: flex; align-items: center; height: 46px; color: var(--muted); font-weight: 700; }
.sc-save { grid-column: 1 / -1; justify-content: center; height: 42px; }
.sc-more { border-top: 1px solid var(--line); background: rgba(255, 255, 255, .02); }
.sc-more > summary { display: flex; align-items: center; gap: 8px; padding: 11px 14px; cursor: pointer; color: #c4cad6; font-size: 13px; font-weight: 700; list-style: none; }
.sc-more > summary::-webkit-details-marker { display: none; }
.sc-more > summary i { color: var(--lilac); }
.sc-more[open] > summary { border-bottom: 1px solid var(--line); }
.sc-more .shopadm-grid { padding: 14px; }
.shopadm-del { margin: 6px 0 0; }
.shopadm-del .btn-chip { font-size: 11px; opacity: .8; }
@media (max-width: 520px) { .shopadm-cards { grid-template-columns: 1fr; } .shopadm-bar .muted { margin-left: 0; } }

/* ---------- Лента товаров (слайдер) ---------- */
.sx-sec-h { flex-wrap: wrap; }
.sx-sec-h > div:not(.sx-sec-ctl) { flex: 1; min-width: 160px; }
.sx-sec-ctl { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.sx-sec-ctl button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 38px; min-width: 38px; padding: 0 12px; border-radius: 11px; border: 1px solid var(--line-2); background: var(--panel); color: #d7dbe5; font-size: 12px; font-weight: 700; cursor: pointer; transition: .18s; }
.sx-sec-ctl button:hover:not(:disabled) { border-color: var(--line-violet); background: rgba(139, 61, 255, .2); color: #fff; }
.sx-sec-ctl button:disabled { opacity: .3; cursor: default; }
.sx-sec-ctl .sx-mode.on { background: rgba(139, 61, 255, .2); border-color: var(--line-violet); color: #fff; }
.sx-grid.is-slider { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x proximity; scroll-behavior: smooth; padding: 6px 2px 18px; margin: -6px -2px -10px; scrollbar-width: thin; scrollbar-color: rgba(139, 61, 255, .5) transparent; cursor: grab; overscroll-behavior-x: contain; }
.sx-grid.is-slider::-webkit-scrollbar { height: 6px; }
.sx-grid.is-slider::-webkit-scrollbar-thumb { background: rgba(139, 61, 255, .5); border-radius: 6px; }
.sx-grid.is-slider.dragging { cursor: grabbing; scroll-behavior: auto; scroll-snap-type: none; user-select: none; }
.sx-grid.is-slider > .sx-card { flex: 0 0 clamp(230px, 23%, 290px); scroll-snap-align: start; }
.sx-grid.is-slider.is-models > .sx-card { flex-basis: clamp(240px, 24%, 300px); }
.sx-grid.is-slider.dragging .sx-card { pointer-events: none; }
@media (max-width: 640px) {
  .sx-grid.is-slider > .sx-card, .sx-grid.is-slider.is-models > .sx-card { flex-basis: 66%; }
  .sx-sec-ctl .sx-mode span { display: none; }
}
