.product-card {
  position: relative;
  display: block;
  box-shadow: rgba(0, 0, 0, 0.3) 5px 5px 20px;
  border-radius: 3px;
  height: 150px;
  overflow: hidden;
  margin-bottom: 30px; }
  .product-card > div:nth-child(1), .product-card > div:nth-child(2) {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: 100% 100%; }
  .product-card > div:nth-child(1) {
    background-size: 100% 100%; }
  .product-card > div:nth-child(2) {
    background: rgba(0, 0, 0, 0.3); }
    .product-card > div:nth-child(2) > span:nth-child(1), .product-card > div:nth-child(2) > span:nth-child(2) {
      line-height: 23px;
      padding: 3px 10px;
      color: #FFF;
      border-radius: 2px;
      position: absolute;
      right: 10px; }
    .product-card > div:nth-child(2) > span:nth-child(1) {
      background: #3fb358;
      top: 10px; }
    .product-card > div:nth-child(2) > span:nth-child(2) {
      background: #4196da;
      top: 45px; }
    .product-card > div:nth-child(2) p {
      position: absolute;
      bottom: 0;
      width: 100%;
      display: block;
      line-height: 20px;
      padding: 5px 10px;
      color: #FFF;
      background: rgba(0, 0, 0, 0.67);
      text-overflow: ellipsis;
      overflow: hidden;
      white-space: nowrap; }
  .product-card:hover > div:nth-child(2) {
    background: rgba(0, 0, 0, 0); }
    .product-card:hover > div:nth-child(2) p {
      overflow: visible;
      white-space: normal; }

@media (max-width: 991.99px) {
  .product-card {
    height: 150px; } }
.product-block {
  position: relative;
  margin: -30px;
  margin-bottom: 30px;
  border-bottom: 1px solid RGB(227, 228, 232);
  background: linear-gradient(to bottom, #6a9bb1 0%, #60acae 44%, #8ba7c3 100%);
  border-radius: 1px;
  color: #FFF;
  overflow: hidden; }
  .product-block .product-bg {
    position: absolute;
    height: calc( 100% + 20px );
    width: calc( 100% + 20px );
    background-size: 100% auto;
    left: -10px;
    top: -10px;
    filter: blur(4px); }
  .product-block .product-content {
    position: relative;
    background: rgba(0, 0, 0, 0.45);
    padding: 80px 15px; }
    .product-block .product-content h2 {
      font-size: 30px;
      display: block;
      width: calc( 100% - 200px );
      text-overflow: ellipsis;
      overflow: hidden;
      white-space: nowrap; }
    .product-block .product-content span b {
      line-height: 23px;
      padding: 3px 10px;
      color: RGB(255, 255, 255);
      border-radius: 2px; }
    .product-block .product-content span .price {
      background: #3fb358;
      margin-right: 10px; }
    .product-block .product-content span .count {
      background: #4196da; }
    .product-block .product-content button {
      position: absolute;
      right: 15px;
      top: 40px;
      height: 65px;
      width: 190px;
      font-size: 18px;
      background: rgba(65, 150, 218, 0.58); }

.buy-product-key-info {
  margin: 15px 0 0 0;
  padding: 15px;
  background: #fbfbfb;
  border: 1px solid #DDD;
  border-radius: 2px; }
  .buy-product-key-info p:last-child {
    margin: 0; }

/*# sourceMappingURL=primary.css.map */


/* =========================================================
   REALBOYS CLEAN MODULE CSS ONLY 2026: digital_store
   Правка внутри существующего CSS модуля. Новые файлы не добавлены.
   ========================================================= */

:root {
  --rbm-digital_store-accent: #e32645;
  --rbm-digital_store-accent-2: #f4d85c;
}

.block,
.box,
.panel,
.card,
.module-block,
.module-card {
  border-radius: 22px;
  border-color: rgba(126,153,194,.18);
  background:
    radial-gradient(circle at 0% 0%, rgba(227,38,69, .10), transparent 34%),
    radial-gradient(circle at 100% 0%, rgba(87,198,255,.07), transparent 34%),
    linear-gradient(180deg, rgba(11,22,39,.96), rgba(7,17,29,.96));
  color: #edf4ff;
  box-shadow: 0 18px 46px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.035);
}

h1,
h2,
h3,
h4,
h5,
.title,
.module-title,
[class*="title"],
[class*="head"] {
  color: #fff;
  font-weight: 1000;
  letter-spacing: -.03em;
}

p,
small,
.desc,
.description,
.text-muted,
[class*="desc"] {
  color: #9fb1ca;
}

a {
  color: #f4d85c;
  text-decoration: none;
}

a:hover {
  color: #fff;
}

img {
  max-width: 100%;
}

.btn,
button,
input[type="button"],
input[type="submit"] {
  border-radius: 13px;
  font-weight: 900;
  border: 1px solid rgba(255,255,255,.10);
  white-space: nowrap;
}

.btn-primary,
.btn-info {
  background: linear-gradient(180deg, #f4d85c, #e32645);
  color: #fff;
}

.btn-success {
  background: linear-gradient(180deg, #43e0a0, #22b97a);
  color: #fff;
}

.btn-danger,
.btn-warning {
  background: linear-gradient(180deg, #ff4866, #e32645);
  color: #fff;
}

input,
select,
textarea,
.form-control {
  border-radius: 12px;
  background: rgba(8,15,27,.92);
  border: 1px solid rgba(126,153,194,.22);
  color: #edf4ff;
}

input:focus,
select:focus,
textarea:focus,
.form-control:focus {
  border-color: rgba(227,38,69, .46);
  box-shadow: 0 0 0 3px rgba(227,38,69, .10);
  outline: none;
}

.row {
  align-items: stretch;
}

.item,
.product,
.product-item,
.shop_item,
.shop-item,
.case,
.case-block,
[class*="item"],
[class*="product"],
[class*="case"] {
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 0%, rgba(227,38,69, .12), transparent 42%),
    linear-gradient(180deg, rgba(15,30,53,.96), rgba(9,18,32,.96));
  border: 1px solid rgba(126,153,194,.20);
  color: #edf4ff;
  overflow: hidden;
  box-shadow: 0 14px 32px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.035);
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.item:hover,
.product:hover,
.product-item:hover,
.case:hover,
.case-block:hover,
[class*="item"]:hover,
[class*="product"]:hover {
  transform: translateY(-2px);
  border-color: rgba(227,38,69, .42);
  box-shadow: 0 20px 44px rgba(0,0,0,.30), 0 0 24px rgba(227,38,69, .10);
}

.item img,
.product img,
.product-item img,
.case img,
.case-block img,
[class*="item"] img,
[class*="product"] img {
  object-fit: contain;
  border-radius: 13px;
}

.price,
.cost,
.money,
.balance,
[class*="price"],
[class*="cost"],
[class*="money"],
[class*="balance"] {
  color: #f4d85c;
  font-weight: 1000;
}

/* CONSOLIDATED FROM realboys-correct-module.css — no separate overlay file */
/* =========================================================
   REALBOYS MODULE CORE SKIN 2026: digital_store
   Аккуратная тема под шаблон. Логика не изменена.
   ========================================================= */
.rbm-digital_store, .rbm-digital_store * { box-sizing: border-box; }
.rbm-digital_store { color:#edf4ff; max-width:100%; }
.rbm-digital_store a { color:#8bd7ff; text-decoration:none; }
.rbm-digital_store a:hover { color:#fff; }
.rbm-digital_store h1, .rbm-digital_store h2, .rbm-digital_store h3, .rbm-digital_store h4,
.rbm-digital_store .title, .rbm-digital_store [class*="title"], .rbm-digital_store [class*="head"] {
  color:#fff; font-weight:1000; letter-spacing:-.03em;
}
.rbm-digital_store .block, .rbm-digital_store .box, .rbm-digital_store .panel, .rbm-digital_store .card,
.rbm-digital_store [class*="block"], .rbm-digital_store [class*="panel"], .rbm-digital_store [class*="card"] {
  border-radius:22px;
  background:radial-gradient(circle at 0 0, rgba(227,38,69,.10), transparent 34%),
             linear-gradient(180deg, rgba(12,23,41,.96), rgba(7,17,29,.96));
  border:1px solid rgba(126,153,194,.18);
  box-shadow:0 18px 46px rgba(0,0,0,.26), inset 0 1px 0 rgba(255,255,255,.035);
  color:#edf4ff;
}
.rbm-digital_store .btn, .rbm-digital_store button, .rbm-digital_store input[type="button"], .rbm-digital_store input[type="submit"] {
  border-radius:13px; font-weight:900; border:1px solid rgba(255,255,255,.10);
  white-space:nowrap;
}
.rbm-digital_store input, .rbm-digital_store select, .rbm-digital_store textarea {
  border-radius:12px; background:rgba(8,15,27,.92); border:1px solid rgba(126,153,194,.22); color:#edf4ff;
}
.rbm-digital_store img { max-width:100%; object-fit:cover; }


/* =========================================================
   REALBOYS MODULE TARGET FIX 2026: cases
   Магазин кейсов, карточки, последние открытия.
   ========================================================= */
.rbm-cases, .rbm-cases * { box-sizing:border-box; }
.rbm-cases { max-width:100%; overflow:visible; }

.rbm-cases .row {
  display:flex;
  flex-wrap:wrap;
  align-items:flex-start;
  gap:18px;
}

.rbm-cases .description,
.rbm-cases .desc,
.rbm-cases [class*="description"],
.rbm-cases [class*="desc"] {
  flex:1 1 430px;
  max-width:560px;
  min-width:300px;
}

.rbm-cases .item,
.rbm-cases .case,
.rbm-cases .product,
.rbm-cases .product-item,
.rbm-cases .shop_item,
.rbm-cases [class*="item"],
.rbm-cases [class*="case"],
.rbm-cases [class*="product"] {
  width:128px;
  min-width:112px;
  max-width:148px;
  min-height:178px;
  padding:10px;
  margin:0 8px 14px 0;
  display:inline-flex;
  flex-direction:column;
  align-items:center;
  justify-content:space-between;
  text-align:center;
  vertical-align:top;
  overflow:hidden;
  border-radius:18px;
  background:linear-gradient(180deg, rgba(15,29,52,.96), rgba(9,18,32,.96));
  border:1px solid rgba(126,153,194,.18);
  box-shadow:0 14px 32px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.035);
}

.rbm-cases .item:hover,
.rbm-cases .case:hover,
.rbm-cases .product:hover,
.rbm-cases [class*="item"]:hover {
  transform:translateY(-2px);
  border-color:rgba(244,216,92,.42);
  box-shadow:0 20px 44px rgba(0,0,0,.30), 0 0 24px rgba(244,216,92,.10);
}

.rbm-cases img {
  max-width:86px;
  max-height:86px;
  width:auto;
  height:auto;
  object-fit:contain;
  border-radius:13px;
}

.rbm-cases .price,
.rbm-cases .cost,
.rbm-cases [class*="price"],
.rbm-cases [class*="cost"] {
  color:#f4d85c;
  font-weight:1000;
}

.rbm-cases .last,
.rbm-cases .last-open,
.rbm-cases .last-opened,
.rbm-cases .last_opened,
.rbm-cases .last_opens,
.rbm-cases [class*="last"][class*="open"],
.rbm-cases [class*="last_open"] {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px;
  overflow:visible;
}

.rbm-cases .last .item,
.rbm-cases .last-open .item,
.rbm-cases .last-opened .item,
.rbm-cases .last_opened .item,
.rbm-cases .last_opens .item,
.rbm-cases [class*="last_open"] .item {
  width:86px;
  min-width:82px;
  max-width:94px;
  min-height:132px;
  padding:7px;
  font-size:11px;
}

.rbm-cases .last img,
.rbm-cases .last-open img,
.rbm-cases .last-opened img,
.rbm-cases .last_opened img,
.rbm-cases .last_opens img,
.rbm-cases [class*="last_open"] img {
  max-width:58px;
  max-height:58px;
  object-fit:contain;
}

@media(max-width:991px){
  .rbm-cases .description, .rbm-cases .desc { flex-basis:100%; max-width:100%; }
}


/* CONSOLIDATED FROM realboys-premium-module.css — no separate overlay file */
/* =========================================================
   REAL BOYS PREMIUM MODULE SKIN — digital_store
   Категория: Магазин / ключи / скины
   Красивое оформление под шаблон Real Boys.
   Логика модуля не изменена.
   ========================================================= */

.rbm-digital_store {
  --rb-accent: #e32645;
  --rb-accent-2: #ff5b75;
  --rb-accent-rgb: 227,38,69;
  --rb-bg: #07111d;
  --rb-card: #0b1424;
  --rb-card-2: #0e1a2f;
  --rb-line: rgba(126,153,194,.18);
  --rb-line-strong: rgba(126,153,194,.30);
  --rb-text: #edf4ff;
  --rb-muted: #9fb1ca;
  --rb-danger: #ff5b75;
  --rb-green: #32d987;
  --rb-gold: #f4d85c;
  color: var(--rb-text);
}

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

/* Главная оболочка модуля */
.rbm-digital_store.realboys-module-scope,
.realboys-module-scope.rbm-digital_store,
.rbm-digital_store .module,
.rbm-digital_store .module_content,
.rbm-digital_store .content,
.rbm-digital_store .main-content {
  position: relative;
}

/* Премиальная панель */
.rbm-digital_store .block,
.rbm-digital_store .box,
.rbm-digital_store .panel,
.rbm-digital_store .card,
.rbm-digital_store .module-block,
.rbm-digital_store .module-card,
.rbm-digital_store .shop-block,
.rbm-digital_store .inventory-block,
.rbm-digital_store [class*="block"],
.rbm-digital_store [class*="panel"],
.rbm-digital_store [class*="card"] {
  position: relative;
  border-radius: 24px !important;
  background:
    radial-gradient(circle at 0% 0%, rgba(var(--rb-accent-rgb), .18), transparent 34%),
    radial-gradient(circle at 100% 0%, rgba(87,198,255,.08), transparent 34%),
    linear-gradient(180deg, rgba(12,23,41,.98), rgba(6,15,27,.98)) !important;
  border: 1px solid var(--rb-line) !important;
  box-shadow:
    0 22px 60px rgba(0,0,0,.34),
    inset 0 1px 0 rgba(255,255,255,.045) !important;
  color: var(--rb-text) !important;
  overflow: hidden;
}

.rbm-digital_store .block::before,
.rbm-digital_store .box::before,
.rbm-digital_store .panel::before,
.rbm-digital_store .card::before,
.rbm-digital_store [class*="block"]::before,
.rbm-digital_store [class*="panel"]::before,
.rbm-digital_store [class*="card"]::before {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--rb-accent-rgb), .65), transparent);
  pointer-events: none;
}

/* Заголовки */
.rbm-digital_store h1,
.rbm-digital_store h2,
.rbm-digital_store h3,
.rbm-digital_store h4,
.rbm-digital_store h5,
.rbm-digital_store .title,
.rbm-digital_store .module-title,
.rbm-digital_store .block_head,
.rbm-digital_store .block-title,
.rbm-digital_store [class*="title"],
.rbm-digital_store [class*="head"] {
  color: #fff !important;
  font-weight: 1000 !important;
  letter-spacing: -.035em;
  text-shadow: 0 0 22px rgba(var(--rb-accent-rgb), .22);
}

.rbm-digital_store .title::first-letter,
.rbm-digital_store .module-title::first-letter,
.rbm-digital_store h1::first-letter,
.rbm-digital_store h2::first-letter,
.rbm-digital_store h3::first-letter {
  color: var(--rb-accent);
}

/* Описание */
.rbm-digital_store p,
.rbm-digital_store small,
.rbm-digital_store .desc,
.rbm-digital_store .description,
.rbm-digital_store .text-muted,
.rbm-digital_store .muted,
.rbm-digital_store [class*="desc"] {
  color: var(--rb-muted) !important;
}

/* Ссылки */
.rbm-digital_store a {
  color: var(--rb-accent-2) !important;
  text-decoration: none !important;
  transition: .18s ease;
}

.rbm-digital_store a:hover {
  color: #fff !important;
  text-shadow: 0 0 18px rgba(var(--rb-accent-rgb), .32);
}

/* Карточки товаров/кейсов/инвентаря */
.rbm-digital_store .item,
.rbm-digital_store .product,
.rbm-digital_store .product-item,
.rbm-digital_store .shop_item,
.rbm-digital_store .shop-item,
.rbm-digital_store .market_item,
.rbm-digital_store .inventory_item,
.rbm-digital_store .inventory-item,
.rbm-digital_store .case,
.rbm-digital_store .case-item,
.rbm-digital_store .skin,
.rbm-digital_store .skin-item,
.rbm-digital_store [class*="item"],
.rbm-digital_store [class*="product"],
.rbm-digital_store [class*="case"],
.rbm-digital_store [class*="skin"] {
  position: relative;
  border-radius: 20px !important;
  background:
    linear-gradient(180deg, rgba(15,29,52,.96), rgba(9,18,32,.96)) !important;
  border: 1px solid rgba(126,153,194,.18) !important;
  box-shadow:
    0 14px 32px rgba(0,0,0,.24),
    inset 0 1px 0 rgba(255,255,255,.035) !important;
  color: var(--rb-text) !important;
  overflow: hidden;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.rbm-digital_store .item:hover,
.rbm-digital_store .product:hover,
.rbm-digital_store .product-item:hover,
.rbm-digital_store .shop_item:hover,
.rbm-digital_store .inventory_item:hover,
.rbm-digital_store .case:hover,
.rbm-digital_store .skin:hover,
.rbm-digital_store [class*="item"]:hover,
.rbm-digital_store [class*="product"]:hover,
.rbm-digital_store [class*="case"]:hover,
.rbm-digital_store [class*="skin"]:hover {
  transform: translateY(-2px);
  border-color: rgba(var(--rb-accent-rgb), .48) !important;
  box-shadow:
    0 22px 48px rgba(0,0,0,.32),
    0 0 0 1px rgba(var(--rb-accent-rgb), .10),
    0 0 28px rgba(var(--rb-accent-rgb), .12) !important;
}

/* Глянец карточки */
.rbm-digital_store .item::after,
.rbm-digital_store .product::after,
.rbm-digital_store .product-item::after,
.rbm-digital_store .case::after,
.rbm-digital_store [class*="item"]::after,
.rbm-digital_store [class*="product"]::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.06), transparent 36%);
  pointer-events: none;
}

/* Картинки */
.rbm-digital_store img {
  max-width: 100%;
  object-fit: cover;
}

.rbm-digital_store .item img,
.rbm-digital_store .product img,
.rbm-digital_store .product-item img,
.rbm-digital_store .shop_item img,
.rbm-digital_store .inventory_item img,
.rbm-digital_store .case img,
.rbm-digital_store [class*="item"] img,
.rbm-digital_store [class*="product"] img,
.rbm-digital_store [class*="case"] img {
  border-radius: 16px !important;
  box-shadow: 0 10px 24px rgba(0,0,0,.20);
}

/* Цена / валюта / баланс */
.rbm-digital_store .price,
.rbm-digital_store .cost,
.rbm-digital_store .money,
.rbm-digital_store .balance,
.rbm-digital_store .rub,
.rbm-digital_store .coins,
.rbm-digital_store [class*="price"],
.rbm-digital_store [class*="cost"],
.rbm-digital_store [class*="money"],
.rbm-digital_store [class*="balance"] {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--rb-gold) !important;
  font-weight: 1000 !important;
  text-shadow: 0 0 14px rgba(244,216,92,.18);
}

/* Badges */
.rbm-digital_store .badge,
.rbm-digital_store .label,
.rbm-digital_store [class*="badge"],
.rbm-digital_store [class*="label"] {
  border-radius: 999px !important;
  padding: 4px 9px !important;
  background: rgba(var(--rb-accent-rgb), .14) !important;
  border: 1px solid rgba(var(--rb-accent-rgb), .24) !important;
  color: #fff !important;
  font-weight: 900 !important;
}

/* Кнопки */
.rbm-digital_store .btn,
.rbm-digital_store button,
.rbm-digital_store input[type="button"],
.rbm-digital_store input[type="submit"] {
  border-radius: 14px !important;
  border: 1px solid rgba(255,255,255,.10) !important;
  font-weight: 950 !important;
  box-shadow: none !important;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.rbm-digital_store .btn:hover,
.rbm-digital_store button:hover,
.rbm-digital_store input[type="button"]:hover,
.rbm-digital_store input[type="submit"]:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(0,0,0,.24), 0 0 18px rgba(var(--rb-accent-rgb), .14) !important;
}

.rbm-digital_store .btn-primary,
.rbm-digital_store .btn-info,
.rbm-digital_store .btn-success,
.rbm-digital_store button.btn-primary,
.rbm-digital_store button.btn-success {
  background: linear-gradient(180deg, var(--rb-accent-2), var(--rb-accent)) !important;
  color: #fff !important;
  border-color: rgba(255,255,255,.14) !important;
}

.rbm-digital_store .btn-danger,
.rbm-digital_store .btn-warning {
  background: linear-gradient(180deg, #ff5b75, #b91834) !important;
  color: #fff !important;
  border-color: rgba(255,255,255,.14) !important;
}

/* Поля */
.rbm-digital_store input,
.rbm-digital_store select,
.rbm-digital_store textarea {
  border-radius: 14px !important;
  background: rgba(8,15,27,.92) !important;
  border: 1px solid rgba(126,153,194,.22) !important;
  color: var(--rb-text) !important;
}

.rbm-digital_store input:focus,
.rbm-digital_store select:focus,
.rbm-digital_store textarea:focus {
  border-color: rgba(var(--rb-accent-rgb), .52) !important;
  box-shadow: 0 0 0 3px rgba(var(--rb-accent-rgb), .12) !important;
  outline: none !important;
}

/* Таблицы */
.rbm-digital_store table {
  width: 100%;
  color: var(--rb-text) !important;
  border-collapse: separate !important;
  border-spacing: 0 8px !important;
}

.rbm-digital_store table th,
.rbm-digital_store table thead td {
  background: rgba(13,24,43,.98) !important;
  color: var(--rb-accent-2) !important;
  border-color: rgba(126,153,194,.16) !important;
  font-weight: 1000 !important;
}

.rbm-digital_store table tbody tr {
  background: rgba(11,20,36,.72) !important;
  box-shadow: 0 8px 18px rgba(0,0,0,.12);
}

.rbm-digital_store table td {
  background: rgba(11,20,36,.72) !important;
  border-color: rgba(126,153,194,.10) !important;
  color: #dce8fb !important;
}

/* Tabs */
.rbm-digital_store .nav-tabs {
  border-color: rgba(126,153,194,.16) !important;
}

.rbm-digital_store .nav-tabs a,
.rbm-digital_store .nav-tabs .nav-link {
  border-radius: 14px 14px 0 0 !important;
  color: var(--rb-muted) !important;
  background: rgba(11,20,36,.60) !important;
  border-color: rgba(126,153,194,.14) !important;
}

.rbm-digital_store .nav-tabs .active,
.rbm-digital_store .nav-tabs a.active {
  color: #fff !important;
  background: rgba(var(--rb-accent-rgb), .14) !important;
  border-color: rgba(var(--rb-accent-rgb), .32) !important;
}

/* Модалки */
.rbm-digital_store .modal-content {
  border-radius: 26px !important;
  background:
    radial-gradient(circle at 0% 0%, rgba(var(--rb-accent-rgb), .16), transparent 34%),
    radial-gradient(circle at 100% 0%, rgba(87,198,255,.08), transparent 34%),
    linear-gradient(180deg, #0b1424, #07111d) !important;
  border: 1px solid rgba(126,153,194,.22) !important;
  box-shadow: 0 30px 86px rgba(0,0,0,.62), inset 0 1px 0 rgba(255,255,255,.045) !important;
  color: var(--rb-text) !important;
}

.rbm-digital_store .modal-header {
  border-bottom: 1px solid rgba(126,153,194,.16) !important;
  background: linear-gradient(90deg, rgba(var(--rb-accent-rgb), .16), rgba(87,198,255,.06)) !important;
}

.rbm-digital_store .modal-title {
  color: #fff !important;
  font-weight: 1000 !important;
}

/* Dropdown */
.rbm-digital_store .dropdown-menu {
  z-index: 9999 !important;
  border-radius: 18px !important;
  background:
    linear-gradient(180deg, rgba(12,23,41,.98), rgba(7,17,29,.98)) !important;
  border: 1px solid rgba(126,153,194,.22) !important;
  box-shadow: 0 20px 48px rgba(0,0,0,.36) !important;
}

.rbm-digital_store .dropdown-menu a {
  color: #dce8fb !important;
}

.rbm-digital_store .dropdown-menu a:hover {
  background: rgba(var(--rb-accent-rgb), .12) !important;
  color: #fff !important;
}

/* Alerts */
.rbm-digital_store .alert {
  border-radius: 18px !important;
  border-color: rgba(126,153,194,.18) !important;
  background: rgba(11,20,36,.90) !important;
  color: #dce8fb !important;
}

/* Прогресс */
.rbm-digital_store .progress {
  border-radius: 999px !important;
  background: rgba(8,15,27,.9) !important;
  overflow: hidden;
}

.rbm-digital_store .progress-bar {
  background: linear-gradient(90deg, var(--rb-accent), var(--rb-accent-2)) !important;
  box-shadow: 0 0 18px rgba(var(--rb-accent-rgb), .25);
}

/* Мобильная защита */
@media(max-width: 767px) {
  .rbm-digital_store {
    overflow-x: auto;
  }

  .rbm-digital_store .item,
  .rbm-digital_store .product,
  .rbm-digital_store .product-item,
  .rbm-digital_store [class*="item"] {
    border-radius: 16px !important;
  }
}

/* =========================================================
   REALBOYS MODULE BEAUTY STYLES 2026
   Единый красивый вид модулей под шаблон.
   Только существующие CSS-файлы модулей, без новых подключений.
   ========================================================= */

.module,
.module-block,
.module_box,
.module-box,
.module-content,
.module_item,
.module-item,
.rb-module,
[class*="module"] .block,
[class*="module"] .card,
[class*="module"] .panel {
  box-sizing: border-box;
  max-width: 100%;
  min-width: 0;
}

/* Карточки модулей */
.module .block,
.module-block,
.module_box,
.module-box,
.module-content,
.module_item,
.module-item,
.rb-module-card,
[class*="module"] .card,
[class*="module"] .panel,
[class*="module"] .item,
[class*="module"] .service,
[class*="module"] .product,
[class*="module"] .case,
[class*="module"] .reward,
[class*="module"] .stat,
[class*="module"] .widget {
  border-radius: 18px;
  background:
    radial-gradient(circle at 0 0, rgba(87,198,255,.055), transparent 32%),
    linear-gradient(180deg, rgba(13,24,42,.88), rgba(7,17,29,.88));
  border: 1px solid rgba(126,153,194,.14);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.028), 0 10px 26px rgba(0,0,0,.14);
  overflow: hidden;
}

/* Заголовки модулей */
.module .block_head,
.module-block .block_head,
.module_box .block_head,
.module-box .block_head,
.module-content .block_head,
[class*="module"] .block_head,
[class*="module"] .card-header,
[class*="module"] .panel-heading,
[class*="module"] h1,
[class*="module"] h2,
[class*="module"] h3 {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.18;
}

/* Сетки */
[class*="module"] .row,
[class*="module"] [class*="col-"],
.module .row,
.module [class*="col-"] {
  min-width: 0;
}

[class*="module"] .row {
  row-gap: 14px;
}

/* Кнопки модулей */
[class*="module"] .btn,
[class*="module"] button,
[class*="module"] input[type="submit"],
[class*="module"] input[type="button"],
.module .btn,
.module button,
.module input[type="submit"],
.module input[type="button"] {
  min-height: 38px;
  border-radius: 12px;
  font-weight: 900;
  white-space: nowrap;
  box-sizing: border-box;
}

/* Формы */
[class*="module"] input,
[class*="module"] select,
[class*="module"] textarea,
[class*="module"] .form-control,
.module input,
.module select,
.module textarea,
.module .form-control {
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  border-radius: 12px;
}

/* Таблицы */
[class*="module"] table,
.module table {
  max-width: 100%;
}

[class*="module"] .table-responsive,
.module .table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

/* Изображения */
[class*="module"] img,
.module img {
  max-width: 100%;
}

[class*="module"] .avatar,
[class*="module"] .user_avatar,
[class*="module"] .user-avatar,
[class*="module"] [class*="avatar"] img {
  object-fit: cover;
}

/* Длинный текст */
[class*="module"] p,
[class*="module"] span,
[class*="module"] div,
[class*="module"] a,
[class*="module"] td,
[class*="module"] th,
.module p,
.module span,
.module div,
.module a,
.module td,
.module th {
  overflow-wrap: anywhere;
}

/* Иконки/бейджи */
[class*="module"] .badge,
[class*="module"] .label,
.module .badge,
.module .label {
  border-radius: 999px;
  font-weight: 900;
}

/* Модалки внутри модулей */
[class*="module"] .modal-dialog,
[class*="module"] .modal-content,
.module .modal-dialog,
.module .modal-content {
  max-width: calc(100vw - 24px);
}

/* Не ломаем цвета групп, верификацию и colors */
[class*="module"] a[style*="groups_styles"],
[class*="module"] span[style*="groups_styles"],
[class*="module"] h3[style*="groups_styles"],
[class*="module"] .rb-colors-inline,
[class*="module"] .rb-chat-text-color {
  max-width: 100%;
}

@media (max-width: 767px) {
  [class*="module"] .btn,
  [class*="module"] button,
  .module .btn,
  .module button {
    min-height: 40px;
  }

  [class*="module"] .table-responsive table,
  .module .table-responsive table {
    min-width: 560px;
  }
}
