.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; }



/* REAL BOYS compatibility: full styling is loaded from templates/standart/css/realboys-modules-extra.css */

/* =========================================================
   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;
  }
}
