/* ── Шапка ────────────────────────────────────────────────────────── */
.shop-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .9rem 1.5rem;
  background: rgba(6,13,26,.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(56,189,248,.12);
}
.shop-header-logo {
  font-size: 1.1rem;
  font-weight: 800;
  color: #7dd3fc;
  letter-spacing: .02em;
}

/* ── Кнопка корзины ───────────────────────────────────────────────── */
.cart-btn {
  display: flex;
  align-items: center;
  gap: .45rem;
  padding: .5rem 1rem;
  background: rgba(56,189,248,.1);
  border: 1px solid rgba(56,189,248,.25);
  border-radius: 10px;
  color: #7dd3fc;
  font-family: 'Inter', sans-serif;
  font-size: .88rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s, border-color .2s;
}
.cart-btn:hover { background: rgba(56,189,248,.18); border-color: rgba(56,189,248,.5); }
.cart-btn-icon { font-size: 1rem; }
.cart-btn-count {
  background: #38bdf8;
  color: #0a1628;
  font-size: .72rem;
  font-weight: 800;
  padding: .05rem .4rem;
  border-radius: 99px;
  min-width: 18px;
  text-align: center;
  display: none;
}
.cart-btn-count.visible { display: inline-block; }

/* ── Контейнер ────────────────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
  position: relative;
  z-index: 2;
}

/* ── Логотип на странице магазина ─────────────────────────────────── */
.logo {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  text-align: center;
  letter-spacing: .06em;
  background: linear-gradient(135deg, #7dd3fc, #a5b4fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.75rem;
}

/* ── Навигация по категориям ──────────────────────────────────────── */
.category-nav {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 1.75rem;
}
.cat-btn {
  padding: .5rem 1.2rem;
  background: rgba(15,30,60,.6);
  border: 1px solid rgba(56,189,248,.18);
  border-radius: 99px;
  color: #94a3b8;
  font-family: 'Inter', sans-serif;
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
}
.cat-btn:hover { color: #e2e8f0; border-color: rgba(56,189,248,.4); }
.cat-btn.active {
  background: rgba(56,189,248,.15);
  border-color: rgba(56,189,248,.5);
  color: #7dd3fc;
}

/* ── Секции категорий ─────────────────────────────────────────────── */
.category-section { display: none; }
.category-section.visible { display: block; }

/* ── Табы (Навсегда / 30 Дней / 60 Дней) ─────────────────────────── */
.tabs {
  display: flex;
  gap: .4rem;
  margin-bottom: 1.5rem;
}
.tab-btn {
  padding: .45rem 1.1rem;
  background: rgba(15,30,60,.5);
  border: 1px solid rgba(56,189,248,.15);
  border-radius: 8px;
  color: #64748b;
  font-family: 'Inter', sans-serif;
  font-size: .83rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
}
.tab-btn:hover { color: #94a3b8; }
.tab-btn.active {
  background: rgba(56,189,248,.12);
  border-color: rgba(56,189,248,.4);
  color: #7dd3fc;
}

/* ── Заголовок секции ─────────────────────────────────────────────── */
.shop-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #94a3b8;
  margin: 1.75rem 0 1rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: .8rem;
}

/* ── Сетка товаров ────────────────────────────────────────────────── */
.shop-grid {
  display: none;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}
.shop-grid.active { display: grid; }

/* ── Карточка товара ──────────────────────────────────────────────── */
.product {
  background: rgba(10,22,45,.8);
  border: 1px solid rgba(56,189,248,.15);
  border-radius: 14px;
  cursor: pointer;
  perspective: 800px;
  animation: cardIn .4s ease both;
  transition: border-color .25s, box-shadow .25s;
  height: 220px;
}
.product:hover {
  border-color: rgba(56,189,248,.4);
  box-shadow: 0 4px 20px rgba(56,189,248,.1);
}
.product.elite {
  border-color: rgba(250,204,21,.3);
  background: rgba(20,16,5,.8);
}
.product.elite:hover { border-color: rgba(250,204,21,.6); box-shadow: 0 4px 20px rgba(250,204,21,.12); }

@keyframes cardIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Флип-карточка ────────────────────────────────────────────────── */

.product-front,
.product-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  border-radius: 14px;
}

/* простые карточки (кейсы, валюта, разное) */
.product .product-front {
  position: static;
  padding: 1.25rem;
}

.product h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #e2e8f0;
}
.product.elite h3 { color: #fde68a; }

.price {
  font-size: 1.3rem;
  font-weight: 800;
  color: #7dd3fc;
}
.product.elite .price { color: #fcd34d; }

.info-hint {
  font-size: .72rem;
  color: #475569;
  margin-top: auto;
}

.case-icon { font-size: 2.4rem; }

/* ── Карточка кейса (уровни 1/3/5/10 вместо отдельных карточек) ─────── */
.product.tiered {
  height: 250px;
  cursor: default;
}
.tier-select {
  display: flex;
  gap: .35rem;
}
.tier-btn {
  flex: 1;
  padding: .4rem 0;
  background: rgba(15,30,60,.5);
  border: 1px solid rgba(56,189,248,.15);
  border-radius: 8px;
  color: #64748b;
  font-family: 'Inter', sans-serif;
  font-size: .82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s;
}
.tier-btn:hover { color: #94a3b8; border-color: rgba(56,189,248,.35); }
.tier-btn.active {
  background: rgba(56,189,248,.15);
  border-color: rgba(56,189,248,.5);
  color: #7dd3fc;
}
.product.tiered.elite .tier-btn.active {
  background: rgba(250,204,21,.15);
  border-color: rgba(250,204,21,.5);
  color: #fcd34d;
}

/* ── Список фич ───────────────────────────────────────────────────── */

/* ── Кнопка купить ────────────────────────────────────────────────── */
.buy-btn {
  margin-top: auto;
  padding: .55rem;
  background: linear-gradient(135deg, rgba(56,189,248,.15), rgba(99,102,241,.15));
  border: 1px solid rgba(56,189,248,.3);
  border-radius: 8px;
  color: #7dd3fc;
  font-family: 'Inter', sans-serif;
  font-size: .82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s;
  width: 100%;
}
.buy-btn:hover { background: rgba(56,189,248,.2); border-color: rgba(56,189,248,.6); }
.buy-btn.added {
  background: rgba(52,211,153,.15);
  border-color: rgba(52,211,153,.4);
  color: #6ee7b7;
}
.product.elite .buy-btn {
  border-color: rgba(250,204,21,.3);
  color: #fcd34d;
}

/* ── Модальное окно корзины ───────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.65);
  backdrop-filter: blur(4px);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.modal-overlay.active { display: flex; }

.modal {
  background: rgba(8,18,40,.97);
  border: 1px solid rgba(56,189,248,.2);
  border-radius: 18px;
  padding: 2rem;
  width: 100%;
  max-width: 460px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,.7);
}

.modal-close {
  position: absolute;
  top: 1rem; right: 1rem;
  background: rgba(255,255,255,.07);
  border: none;
  color: #94a3b8;
  width: 30px; height: 30px;
  border-radius: 8px;
  font-size: .9rem;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.modal-close:hover { background: rgba(255,255,255,.12); color: #e2e8f0; }

.modal-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #e2e8f0;
  margin-bottom: 1.25rem;
}

/* Список товаров в корзине */
.cart-items { display: flex; flex-direction: column; gap: .5rem; margin-bottom: 1rem; }
.cart-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .6rem .75rem;
  background: rgba(56,189,248,.06);
  border: 1px solid rgba(56,189,248,.12);
  border-radius: 8px;
}
.cart-item-name { flex: 1; font-size: .88rem; color: #e2e8f0; }
.cart-item-price { font-size: .88rem; font-weight: 700; color: #7dd3fc; white-space: nowrap; }
.cart-item-remove {
  background: none; border: none;
  color: #475569; cursor: pointer;
  font-size: .8rem; padding: .1rem .3rem;
  transition: color .2s;
}
.cart-item-remove:hover { color: #f87171; }
.cart-empty { color: #475569; font-size: .9rem; text-align: center; padding: 1rem 0; }

/* Итого */
.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .75rem 0;
  border-top: 1px solid rgba(56,189,248,.12);
  border-bottom: 1px solid rgba(56,189,248,.12);
  margin-bottom: 1.25rem;
}
.cart-total-label { font-size: .9rem; color: #94a3b8; font-weight: 600; }
.cart-total-sum { font-size: 1.2rem; font-weight: 800; color: #7dd3fc; }

/* Поля формы */
.modal-field { display: flex; flex-direction: column; gap: .35rem; margin-bottom: .85rem; }
.modal-field label { font-size: .82rem; color: #94a3b8; font-weight: 600; }
.modal-optional { font-weight: 400; color: #475569; }
.modal-field input {
  padding: .65rem .9rem;
  background: rgba(15,30,60,.6);
  border: 1px solid rgba(56,189,248,.2);
  border-radius: 9px;
  color: #e2e8f0;
  font-family: 'Inter', sans-serif;
  font-size: .9rem;
  transition: border-color .2s;
  outline: none;
}
.modal-field input:focus { border-color: rgba(56,189,248,.5); }
.modal-field input::placeholder { color: #334155; }

.modal-submit {
  width: 100%;
  padding: .85rem;
  background: linear-gradient(135deg, #38bdf8, #6366f1);
  border: none;
  border-radius: 10px;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  margin-top: .5rem;
  transition: opacity .2s, transform .15s;
}
.modal-submit:hover { opacity: .88; transform: translateY(-1px); }

/* ── Футер ────────────────────────────────────────────────────────── */
.shop-footer {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(56,189,248,.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .6rem;
  text-align: center;
}
.shop-footer-logo { font-size: 1.1rem; font-weight: 800; color: #7dd3fc; }
.shop-footer-copy { font-size: .78rem; color: #475569; line-height: 1.6; }

/* ── Адаптив ──────────────────────────────────────────────────────── */
@media (max-width: 600px) {
  .shop-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
  .product { height: 200px; }
  .modal { padding: 1.5rem 1.25rem; }
}

/* ── Модалка описания товара ──────────────────────────────────────── */

.product-modal {
  background: rgba(8,18,40,.98);
  border: 1px solid rgba(56,189,248,.25);
  border-radius: 20px;
  padding: 2rem;
  width: 100%;
  max-width: 520px;
  max-height: 88vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 24px 64px rgba(0,0,0,.8), 0 0 0 1px rgba(56,189,248,.1);
  animation: modalIn .2s ease;
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(16px) scale(.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.product-modal.elite {
  border-color: rgba(250,204,21,.35);
  box-shadow: 0 24px 64px rgba(0,0,0,.8), 0 0 40px rgba(250,204,21,.08);
}

.product-modal-close {
  position: absolute;
  top: 1rem; right: 1rem;
  background: rgba(255,255,255,.07);
  border: none;
  color: #94a3b8;
  width: 32px; height: 32px;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: background .2s, color .2s;
  display: flex; align-items: center; justify-content: center;
}
.product-modal-close:hover { background: rgba(255,255,255,.13); color: #e2e8f0; }

.product-modal-name {
  font-size: 1.5rem;
  font-weight: 800;
  color: #7dd3fc;
  margin-bottom: .25rem;
  padding-right: 2.5rem;
}
.product-modal.elite .product-modal-name { color: #fde68a; }

.product-modal-price {
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 1.25rem;
}
.product-modal.elite .product-modal-price { color: #fcd34d; }

.product-modal-divider {
  height: 1px;
  background: rgba(56,189,248,.12);
  margin: 1rem 0;
}

.product-modal-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .55rem;
  margin-bottom: 1.5rem;
}
.product-modal-features li {
  font-size: .92rem;
  color: #94a3b8;
  line-height: 1.5;
  display: flex;
  gap: .5rem;
  align-items: flex-start;
}
.product-modal-features li::before {
  content: '✦';
  color: #38bdf8;
  flex-shrink: 0;
  font-size: .7rem;
  margin-top: .2rem;
}
.product-modal.elite .product-modal-features li::before { color: #fcd34d; }

.product-modal-buy {
  width: 100%;
  padding: .9rem;
  background: linear-gradient(135deg, #38bdf8, #6366f1);
  border: none;
  border-radius: 12px;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: opacity .2s, transform .15s;
}
.product-modal-buy:hover { opacity: .88; transform: translateY(-1px); }
.product-modal-buy.added {
  background: linear-gradient(135deg, #34d399, #059669);
}
.product-modal.elite .product-modal-buy {
  background: linear-gradient(135deg, #f59e0b, #d97706);
}

/* Карточка — убираем флип, добавляем курсор */
.product { cursor: pointer; height: auto; min-height: 160px; }
.product-front { position: static; }

/* ── Модалка выбора способа оплаты ───────────────────────────────── */
.pay-method-modal { max-width: 420px; }

.pay-method-sub {
  font-size: .85rem;
  color: #64748b;
  margin-bottom: 1.25rem;
  margin-top: -.5rem;
}

.pay-method-list { display: flex; flex-direction: column; gap: .65rem; }

.pay-method-btn {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: .9rem 1rem;
  background: rgba(56,189,248,.06);
  border: 1px solid rgba(56,189,248,.15);
  border-radius: 12px;
  color: #e2e8f0;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: all .2s;
  text-align: left;
  width: 100%;
}
.pay-method-btn:hover {
  background: rgba(56,189,248,.12);
  border-color: rgba(56,189,248,.4);
  transform: translateX(3px);
}
.pay-method-btn--manual:hover {
  background: rgba(250,204,21,.08);
  border-color: rgba(250,204,21,.4);
}

.pay-method-icon { font-size: 1.6rem; flex-shrink: 0; }

.pay-method-info {
  display: flex;
  flex-direction: column;
  gap: .15rem;
  flex: 1;
}
.pay-method-name { font-size: .95rem; font-weight: 700; }
.pay-method-desc { font-size: .78rem; color: #64748b; }
.pay-method-arrow { color: #475569; font-size: 1rem; flex-shrink: 0; }

/* ── Бейдж выбранного метода в корзине ───────────────────────────── */
.pay-method-badge {
  display: inline-block;
  padding: .3rem .8rem;
  border-radius: 99px;
  font-size: .78rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: rgba(56,189,248,.1);
  border: 1px solid rgba(56,189,248,.25);
  color: #7dd3fc;
}

/* ── Кнопка "Назад" в корзине ─────────────────────────────────────── */
.modal-back {
  background: none;
  border: none;
  color: #475569;
  font-family: 'Inter', sans-serif;
  font-size: .82rem;
  cursor: pointer;
  padding: 0;
  margin-bottom: .75rem;
  transition: color .2s;
  display: block;
}
.modal-back:hover { color: #94a3b8; }

/* ── Блок ручной оплаты ───────────────────────────────────────────── */

.modal-commission {
  font-size: .75rem;
  color: #475569;
  text-align: center;
  margin-bottom: .5rem;
  display: none;
}

.recent-purchases { margin: 2rem 0 1rem; }

.rp-list {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 1rem;
}

.rp-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  animation: rpFadeIn .3s ease;
}

@keyframes rpFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.rp-avatar {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(56,189,248,.15);
  flex-shrink: 0;
}

.rp-avatar img {
  width: 56px;
  height: 56px;
  image-rendering: pixelated;
  display: block;
}

.rp-nick {
  font-size: .78rem;
  font-weight: 600;
  color: #94a3b8;
  text-align: center;
  max-width: 64px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rp-skeleton {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  background: rgba(255,255,255,.04);
  animation: rpPulse 1.4s ease infinite;
}

@keyframes rpPulse {
  0%, 100% { opacity: .4; }
  50%       { opacity: .8; }
}
/* ── Счётчик количества для исчисляемых товаров ──────────────────── */
.qty-stepper {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin: .5rem 0;
}

.qty-btn {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  background: rgba(56,189,248,.14);
  border: 1px solid rgba(56,189,248,.3);
  border-radius: 8px;
  color: #7dd3fc;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: background .2s, transform .15s;
}
.qty-btn:hover  { background: rgba(56,189,248,.28); }
.qty-btn:active { transform: scale(.94); }

.qty-input {
  width: 68px;
  padding: .35rem .4rem;
  background: rgba(15,30,60,.6);
  border: 1px solid rgba(56,189,248,.2);
  border-radius: 8px;
  color: #e2e8f0;
  font-family: 'Inter', sans-serif;
  font-size: .9rem;
  font-weight: 600;
  text-align: center;
  outline: none;
}
.qty-input:focus { border-color: rgba(56,189,248,.5); }

.cart-item-qty { margin: 0; }
.cart-item-qty .qty-input { width: 56px; }

.product-summary {
  font-size: .78rem;
  color: #6ee7b7;
  font-weight: 600;
  margin-bottom: .5rem;
}

.product-desc {
  font-size: .8rem;
  color: #94a3b8;
  margin-bottom: .5rem;
}

/* ── Способы оплаты: недоступные ─────────────────────────────────── */
.pay-method-btn.disabled {
  opacity: .55;
  cursor: not-allowed;
  border-color: rgba(248,113,113,.25);
}
.pay-method-btn.disabled:hover { transform: none; }

.pay-method-warning {
  display: block;
  margin-top: .3rem;
  font-size: .75rem;
  line-height: 1.35;
  color: #fca5a5;
}

/* ── Форма оформления ────────────────────────────────────────────── */
.checkout-form { margin-top: .5rem; }

.modal-hint {
  font-size: .74rem;
  color: #64748b;
}

.modal-note {
  display: flex;
  gap: .55rem;
  margin: .5rem 0 .7rem;
  padding: .65rem .8rem;
  background: rgba(56,189,248,.07);
  border: 1px solid rgba(56,189,248,.18);
  border-radius: 10px;
  font-size: .8rem;
  line-height: 1.45;
  color: #a5b4c8;
}
.modal-note::before {
  content: 'i';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: .05rem;
  border-radius: 50%;
  background: rgba(56,189,248,.2);
  color: #7dd3fc;
  font-size: .68rem;
  font-weight: 800;
}

/* ── Плашки-уведомления ──────────────────────────────────────────── */
.notice {
  --notice-accent: 56,189,248;
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  margin: .6rem 0 .8rem;
  padding: .85rem .95rem;
  background: linear-gradient(135deg, rgba(var(--notice-accent),.1), rgba(var(--notice-accent),.03));
  border: 1px solid rgba(var(--notice-accent),.25);
  border-radius: 12px;
  animation: noticeIn .25s ease;
}
.notice--info    { --notice-accent: 56,189,248; }
.notice--reserve { --notice-accent: 52,211,153; }
.notice--error   { --notice-accent: 248,113,113; }

.notice-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(var(--notice-accent),.16);
  font-size: 1.05rem;
  line-height: 1;
}
.notice-body { flex: 1; min-width: 0; }
.notice-title {
  display: block;
  margin-bottom: .2rem;
  font-size: .88rem;
  font-weight: 700;
  color: #e2e8f0;
}
.notice-text {
  font-size: .8rem;
  line-height: 1.5;
  color: #a5b4c8;
}
.notice-text b { color: #e2e8f0; font-weight: 700; }
.notice--reserve .notice-text b { color: #6ee7b7; }
.notice--error .notice-text { color: #fecaca; font-size: .84rem; }

.notice-action {
  margin-top: .55rem;
  padding: .45rem .8rem;
  background: rgba(52,211,153,.14);
  border: 1px solid rgba(52,211,153,.4);
  border-radius: 8px;
  color: #6ee7b7;
  font-family: 'Inter', sans-serif;
  font-size: .8rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s, transform .15s;
}
.notice-action:hover { background: rgba(52,211,153,.24); transform: translateY(-1px); }

@keyframes noticeIn {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Окна-предупреждения перед оплатой */
.notice-modal { max-width: 440px; }
.notice-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin: .25rem auto 1rem;
  border-radius: 20px;
  background: radial-gradient(circle at 30% 25%, rgba(52,211,153,.35), rgba(52,211,153,.08));
  border: 1px solid rgba(52,211,153,.35);
  box-shadow: 0 0 32px rgba(52,211,153,.15);
  font-size: 1.9rem;
}
.notice-hero-title { text-align: center; margin-bottom: .5rem; }
.notice-lead {
  margin-bottom: 1.1rem;
  text-align: center;
  font-size: .9rem;
  line-height: 1.5;
  color: #a5b4c8;
}
.notice-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .55rem;
  margin-bottom: 1.25rem;
  padding: .9rem;
  background: rgba(255,255,255,.025);
  border: 1px solid rgba(56,189,248,.12);
  border-radius: 12px;
}
.notice-steps li {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: .82rem;
  line-height: 1.45;
  color: #cbd5e1;
}
.notice-steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(52,211,153,.16);
  color: #6ee7b7;
  font-size: .7rem;
  font-weight: 800;
}
.notice-actions { display: flex; flex-direction: column; gap: .5rem; }
.notice-actions .modal-submit { margin-top: 0; }
.modal-submit--ghost {
  background: rgba(56,189,248,.08);
  border: 1px solid rgba(56,189,248,.35);
  color: #7dd3fc;
}
.modal-submit--ghost:hover { background: rgba(56,189,248,.15); opacity: 1; }

/* Кнопка-ссылка в модалке товара через бота */
a.modal-submit { display: block; box-sizing: border-box; text-align: center; text-decoration: none; }
.contact-list { margin: 0 0 1rem; padding-left: 1.2rem; color: #cbd5e1; line-height: 1.6; text-align: left; }
.contact-list[hidden] { display: none; }

/* Карточки «через бота»: кнопка всегда у нижнего края, даже если название переносится на две строки */
.product.contact { display: flex; flex-direction: column; }
.product.contact > .product-front { flex: 1; }
.product.contact .buy-btn { margin-top: .6rem; }

@media (prefers-reduced-motion: reduce) {
  .notice { animation: none; }
}

.modal-submit:disabled {
  opacity: .6;
  cursor: progress;
}

/* ── Заглушки состояния ──────────────────────────────────────────── */
.catalog-loading,
.rp-empty {
  padding: 2rem 0;
  color: rgba(255,255,255,.35);
  font-size: .9rem;
  text-align: center;
}

.alias[hidden] { display: none; }

/* ── Метки режимов: анархия / тренировочные ───────────────────────── */
.mode-pill {
  align-self: flex-start;
  display: inline-block;
  padding: .12rem .55rem;
  border-radius: 999px;
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #7dd3fc;
  background: rgba(56,189,248,.1);
  border: 1px solid rgba(56,189,248,.28);
}
.shop-title .mode-pill { margin-left: .75rem; vertical-align: middle; }
.mode-pill.mode-practice { color: #c4b5fd; background: rgba(167,139,250,.12); border-color: rgba(167,139,250,.4); }
.mode-pill.mode-shared { color: #6ee7b7; background: rgba(52,211,153,.1); border-color: rgba(52,211,153,.35); }

/* Тренировочные режимы — фиолетовый акцент вместо голубого. */
.product.mode-practice { border-color: rgba(167,139,250,.35); background: rgba(18,12,40,.8); }
.product.mode-practice:hover { border-color: rgba(167,139,250,.7); box-shadow: 0 4px 20px rgba(167,139,250,.18); }
.product.mode-practice .price { color: #c4b5fd; }
.product.mode-practice .buy-btn { border-color: rgba(167,139,250,.4); color: #c4b5fd; background: rgba(167,139,250,.1); }
.product.mode-practice.elite { border-color: rgba(250,204,21,.4); }
.product.mode-practice.elite .price { color: #fcd34d; }
.product.mode-practice.elite .buy-btn { border-color: rgba(250,204,21,.35); color: #fcd34d; }
.product.mode-shared { border-color: rgba(52,211,153,.3); }
.cat-btn.mode-practice { border-color: rgba(167,139,250,.4); }
.cat-btn.mode-practice.active { background: rgba(167,139,250,.18); color: #ddd6fe; }
.category-section.mode-practice .shop-title { color: #c4b5fd; }

/* Крупное предупреждение «банк отклонил платёж — используйте СБП» */
.notice--loud {
  --notice-accent: 251,191,36;
  padding: 1.1rem 1.1rem;
  margin-bottom: 1rem;
  border-width: 2px;
  background: linear-gradient(135deg, rgba(251,191,36,.22), rgba(251,191,36,.08));
  box-shadow: 0 0 0 4px rgba(251,191,36,.12), 0 8px 28px rgba(251,191,36,.18);
}
.notice--loud .notice-icon { width: 2.6rem; height: 2.6rem; font-size: 1.5rem; }
.notice--loud .notice-title { font-size: 1.15rem; font-weight: 800; color: #fde68a; text-transform: uppercase; letter-spacing: .02em; }
.notice--loud .notice-text { font-size: 1rem; font-weight: 600; color: #f1f5f9; }
.notice--loud .notice-text b { color: #fbbf24; font-weight: 800; }

/* Галочка подтверждения способа оплаты */
.modal-confirm { display: flex; gap: .6rem; align-items: flex-start; margin: .2rem 0 .9rem; font-size: .92rem; font-weight: 600; color: #f1f5f9; cursor: pointer; }
.modal-confirm[hidden] { display: none; }
.modal-confirm input { margin-top: .2rem; width: 1.15rem; height: 1.15rem; flex-shrink: 0; accent-color: #fbbf24; }

/* Рекомендуемый способ: мерцающая обводка */
.pay-method-btn--glow {
  position: relative;
  border-color: rgba(52,211,153,.8);
  background: linear-gradient(135deg, rgba(52,211,153,.14), rgba(56,189,248,.08));
  animation: pay-glow 2.2s ease-in-out infinite;
}
.pay-method-btn--glow:hover { border-color: #6ee7b7; }
@keyframes pay-glow {
  0%, 100% { box-shadow: 0 0 0 1px rgba(52,211,153,.35), 0 0 8px rgba(52,211,153,.25); }
  50% { box-shadow: 0 0 0 2px rgba(110,231,183,.9), 0 0 22px rgba(52,211,153,.6); }
}
@media (prefers-reduced-motion: reduce) {
  .pay-method-btn--glow { animation: none; box-shadow: 0 0 0 2px rgba(110,231,183,.7), 0 0 14px rgba(52,211,153,.4); }
}

/* ── Скидка и плашка товара ───────────────────────────────────────── */
.old-price {
  font-size: .62em;
  font-weight: 600;
  color: #64748b;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  margin-left: .35rem;
}
.product-badge {
  align-self: flex-start;
  padding: .2rem .55rem;
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  background: rgba(56,189,248,.15);
  color: #7dd3fc;
}
.product-badge[hidden],
.product-modal-highlights[hidden] { display: none; }
.product-modal .product-badge { margin-bottom: .6rem; }

.product-modal-highlights {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .45rem;
  padding: .85rem 1rem;
  border-radius: 12px;
  background: rgba(56,189,248,.08);
  border: 1px solid rgba(56,189,248,.2);
}
.product-modal-highlights li {
  font-size: .95rem;
  font-weight: 700;
  color: #e2e8f0;
}

/* ── Хэллоуинская лимитка (theme: halloween) ──────────────────────── */
.product.theme-halloween {
  position: relative;
  border-color: rgba(249,115,22,.55);
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(168,85,247,.28), transparent 60%),
    radial-gradient(90% 70% at 0% 100%, rgba(249,115,22,.22), transparent 65%),
    rgba(18,8,24,.92);
  animation: cardIn .4s ease both, ghostGlow 2.8s ease-in-out infinite;
  overflow: hidden;
}
.product.theme-halloween::after {
  content: '👻';
  position: absolute;
  right: .8rem;
  bottom: 3.4rem;
  font-size: 2.6rem;
  opacity: .22;
  pointer-events: none;
  animation: ghostFloat 3.2s ease-in-out infinite;
}
.product.theme-halloween:hover { border-color: rgba(249,115,22,.85); }
.product.theme-halloween h3 {
  color: #fb923c;
  font-size: 1.2rem;
  letter-spacing: .12em;
  text-shadow: 0 0 12px rgba(249,115,22,.55);
}
.product.theme-halloween .price { color: #fdba74; }
.product.theme-halloween .info-hint { color: #a78bfa; }
.product.theme-halloween .buy-btn {
  background: linear-gradient(135deg, rgba(249,115,22,.3), rgba(168,85,247,.3));
  border-color: rgba(249,115,22,.55);
  color: #fed7aa;
}
.product.theme-halloween .buy-btn:hover { background: linear-gradient(135deg, rgba(249,115,22,.45), rgba(168,85,247,.45)); }
.product.theme-halloween .buy-btn.added {
  background: rgba(52,211,153,.15);
  border-color: rgba(52,211,153,.4);
  color: #6ee7b7;
}
.theme-halloween .product-badge {
  background: linear-gradient(135deg, #f97316, #a855f7);
  color: #fff;
  box-shadow: 0 0 12px rgba(249,115,22,.45);
}

.product-modal.theme-halloween {
  border-color: rgba(249,115,22,.5);
  background:
    radial-gradient(100% 60% at 100% 0%, rgba(168,85,247,.22), transparent 60%),
    rgba(16,7,22,.98);
  box-shadow: 0 24px 64px rgba(0,0,0,.8), 0 0 48px rgba(249,115,22,.18);
}
.product-modal.theme-halloween .product-modal-name { color: #fb923c; letter-spacing: .12em; }
.product-modal.theme-halloween .product-modal-price { color: #fdba74; }
.product-modal.theme-halloween .product-modal-divider { background: rgba(249,115,22,.2); }
.product-modal.theme-halloween .product-modal-highlights {
  background: linear-gradient(135deg, rgba(249,115,22,.16), rgba(168,85,247,.16));
  border-color: rgba(249,115,22,.45);
}
.product-modal.theme-halloween .product-modal-highlights li { color: #fed7aa; }
.product-modal.theme-halloween .product-modal-features li::before { content: '🕸'; color: #fb923c; }
.product-modal.theme-halloween .product-modal-buy {
  background: linear-gradient(135deg, #f97316, #a855f7);
}
.product-modal.theme-halloween .product-modal-buy.added {
  background: linear-gradient(135deg, #34d399, #059669);
}

@keyframes ghostGlow {
  0%, 100% { box-shadow: 0 0 14px rgba(249,115,22,.18); }
  50%      { box-shadow: 0 0 26px rgba(168,85,247,.35); }
}
@keyframes ghostFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}
@media (prefers-reduced-motion: reduce) {
  .product.theme-halloween,
  .product.theme-halloween::after { animation: none; }
}
