/* RCON-магазин — шаблон never */

/* ---------- карточки товаров ---------- */
.rcon-shop-product {
  margin-bottom: 15px;
  padding: 0;
  overflow: hidden;
  border-radius: 15px;
}

.rcon-shop-product .image {
  position: relative;
  width: 100%;
  height: 200px;
  background-position: center;
  background-size: cover;
  transition: .3s all;
}

.rcon-shop-product .image .price {
  position: absolute;
  top: 10px;
  right: 10px;
  border-radius: 10px;
  font-weight: 700;
  cursor: default;
}

.rcon-shop-product .image .title {
  position: absolute;
  top: 10px;
  left: 10px;
  max-width: 60%;
  height: 34px;
  padding: 0 10px;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid rgba(236, 41, 223, .5);
  background: rgba(23, 5, 31, .88);
  line-height: 34px;
  font-weight: 600;
  color: #ffffff;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: default;
}

.rcon-shop-product .actions {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 12px;
  text-align: center;
}

.rcon-shop-product .actions .header_btn {
  flex: 1 1 0;
  cursor: pointer;
}

.rcon-shop-product .actions .buy-btn {
  background: linear-gradient(135deg, #7b2cff 0%, #ec29df 55%, #ff72a8 100%) !important;
  border-color: rgba(236, 41, 223, .76) !important;
}

/* ---------- меню серверов и категорий (правая колонка) ---------- */
.l_block {
  margin-bottom: 15px;
  overflow: hidden;
  border-radius: 15px;
  border: 1px solid rgba(236, 41, 223, .38);
  background: linear-gradient(180deg, rgba(44, 13, 53, .96), rgba(23, 5, 31, .98));
}

.l_block .block_card_header {
  margin: 0;
  border-radius: 0;
}

.l_block .block_card_header > div {
  padding: 12px 14px !important;
}

.l_block_c {
  margin: 0;
  padding: 6px 0;
  list-style: none;
}

.l_block_c li {
  list-style: none;
}

.l_block_c li a {
  display: block;
  padding: 10px 16px;
  border-left: 3px solid transparent;
  font-size: 14px;
  font-weight: 500;
  color: #ffffff;
  transition: background .15s ease, border-color .15s ease;
}

.l_block_c li a:hover {
  background: rgba(255, 79, 184, .12);
  color: #ffffff;
}

.l_block_c li.active a {
  border-left-color: #ff4fb8;
  background: linear-gradient(90deg, rgba(236, 41, 223, .35), rgba(123, 44, 255, .15));
  font-weight: 700;
}

/* если категории выведены внутри ul.vertical-navigation — убираем двойную рамку */
.vertical-navigation > .l_block {
  margin: 0;
  border: 0;
  border-radius: 0;
}

/* ---------- страница товара ---------- */
.rcon-shop-product-in-detail .image {
  display: block;
  max-height: 300px;
}

.rcon-shop-product-in-detail .image img {
  display: block;
  max-width: 100%;
  max-height: 300px;
  margin: 0 auto;
  border-radius: 12px;
}

.rcon-shop-product-in-detail .btn-group-toggle {
  margin-bottom: 8px;
}

.rcon-shop-product-in-detail .btn-group-toggle .btn.active {
  background: linear-gradient(135deg, #7b2cff 0%, #ec29df 55%, #ff72a8 100%) !important;
  border-color: rgba(236, 41, 223, .76) !important;
}

.rcon-shop-product-in-detail .form-check .form-check-input {
  top: -2px;
}

.rcon-shop-product-in-detail .bs-callout-info {
  border-radius: 12px;
  border-color: rgba(236, 41, 223, .5);
  background: rgba(255, 79, 184, .08);
}
