/* ==========================================================================
   Donatix — theme 2026
   Loaded after the legacy theme CSS; overrides it under body.dx.
   ========================================================================== */

:root {
  --dx-bg: #110B1F;
  --dx-bg-2: #160E29;
  --dx-surface: #1B1232;
  --dx-surface-2: #241943;
  --dx-line: #33285A;
  --dx-line-strong: #4A3B80;
  --dx-violet: #9B4DFF;
  --dx-violet-2: #7C3AED;
  --dx-magenta: #D946EF;
  --dx-coin: #FFC94D;
  --dx-coin-ink: #2A1B00;
  --dx-text: #F3EEFF;
  --dx-muted: #A79CC8;
  --dx-dim: #7B70A3;
  --dx-ok: #4ADE80;

  --dx-display: "Unbounded", "Manrope", system-ui, sans-serif;
  --dx-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --dx-r-sm: 10px;
  --dx-r: 16px;
  --dx-r-lg: 24px;
  --dx-ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
body.dx {
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(155, 77, 255, .16), transparent 60%),
    radial-gradient(900px 500px at -10% 30%, rgba(217, 70, 239, .07), transparent 60%),
    var(--dx-bg);
  background-attachment: fixed;
  color: var(--dx-text);
  font-family: var(--dx-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
body.dx #container,
body.dx .main-wrapper { background: transparent; }
body.dx .main-wrapper { margin-top: 0; padding-top: 20px; }

body.dx h1, body.dx h2, body.dx h3,
body.dx .goods__title, body.dx .good-h1, body.dx .main_faq {
  font-family: var(--dx-display);
  letter-spacing: -0.01em;
  color: var(--dx-text);
}

body.dx a { color: inherit; }
body.dx ::selection { background: var(--dx-violet); color: #fff; }

body.dx :focus-visible {
  outline: 2px solid var(--dx-coin);
  outline-offset: 3px;
  border-radius: 8px;
}

body.dx .container { max-width: 1240px; }

/* ---------- Header ---------- */
body.dx .dx-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(17, 11, 31, .78);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(74, 59, 128, .45);
  padding: 0;
}
.dx-header__bar {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 72px;
}
.dx-header__logo { display: inline-flex; flex: none; }
.dx-header__logo img { height: 36px; width: auto; display: block; }

.dx-header__nav { display: flex; gap: 4px; margin-right: auto; }
.dx-header__nav a {
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--dx-muted);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: color .15s, background-color .15s;
}
.dx-header__nav a:hover { color: var(--dx-text); background: rgba(155, 77, 255, .12); }

.dx-header__support {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--dx-line-strong);
  color: var(--dx-text) !important;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: border-color .15s, background-color .15s;
}
.dx-header__support svg { color: #4FB6F0; }
.dx-header__support:hover { border-color: var(--dx-violet); background: rgba(155, 77, 255, .12); }

body.dx .dx-burger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--dx-line-strong);
  background-color: transparent;
  flex: none;
}

body.dx .mobile-nav {
  background: var(--dx-bg-2);
  border-bottom: 1px solid var(--dx-line);
}
body.dx .mobile-nav a {
  font-family: var(--dx-display);
  font-weight: 500;
  color: var(--dx-text);
}

@media (max-width: 860px) {
  .dx-header__nav { display: none; }
  .dx-header__bar { gap: 10px; height: 64px; }
  .dx-header__logo { margin-right: auto; }
  .dx-header__logo img { height: 32px; }
  body.dx .dx-burger { display: block; }
  .dx-header__support { padding: 9px 14px; font-size: 14px; }
}
@media (max-width: 400px) {
  .dx-header__support span { display: none; }
  .dx-header__support { width: 44px; height: 44px; padding: 0; justify-content: center; }
}

/* ---------- Slider (hero) ---------- */
body.dx #slider_top { padding-top: 28px; }
body.dx .slider-slide {
  border-radius: var(--dx-r-lg);
  overflow: hidden;
  position: relative;
}
body.dx .slider-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(17, 11, 31, .82) 0%, rgba(17, 11, 31, .35) 45%, transparent 75%);
  pointer-events: none;
}
body.dx .slider-inner-text { z-index: 2; }
body.dx .slider-title {
  font-family: var(--dx-display);
  font-weight: 700;
  font-size: clamp(24px, 3.6vw, 44px);
  line-height: 1.08;
  max-width: 16ch;
  text-wrap: balance;
}
body.dx .slider-desc p {
  font-size: 17px;
  color: #E3DAFF;
  max-width: 40ch;
  margin-top: 10px;
}
body.dx .slick-dots li button { background: var(--dx-line-strong); }
body.dx .slick-dots li.slick-active button { background: var(--dx-coin); }

/* ---------- Catalogue ---------- */
body.dx #categories { padding-top: 40px; }
body.dx .goods__title-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 24px;
}
body.dx .goods__title {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  margin: 0;
}
.dx-lead {
  margin: 8px 0 0;
  color: var(--dx-muted);
  font-size: 16px;
}

body.dx .search-row,
body.dx .select__wrapper {
  background: var(--dx-surface);
  border: 1px solid var(--dx-line);
  border-radius: 14px;
  transition: border-color .15s;
}
body.dx .select__wrapper:hover { border-color: var(--dx-line-strong); }
body.dx .search-row svg { z-index: 1; color: var(--dx-muted); }
body.dx .search-row:focus-within { border-color: var(--dx-violet); }
body.dx .search-row__input,
body.dx .search-row__input.form-control {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  color: var(--dx-text);
  font-family: var(--dx-body);
  font-size: 16px;
  height: 50px;
  margin: 0;
  padding-left: 50px !important;
}
body.dx .search-row__input::placeholder { color: var(--dx-dim); }
body.dx .select__top p { color: var(--dx-text); font-weight: 600; }
body.dx .select__bottom {
  background: var(--dx-surface-2);
  border: 1px solid var(--dx-line-strong);
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .45);
}
body.dx .select__bottom-item:hover { background: rgba(155, 77, 255, .16); }

body.dx .goods__grid__2 {
  gap: 20px 16px;
}
body.dx .goods__grid-item .t-category-href {
  display: block;
  text-decoration: none;
  border-radius: 20px;
}
body.dx .goods__grid-item .category-img-outer {
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--dx-surface) !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06);
  position: relative;
}
body.dx .goods__grid-item .category-home-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s var(--dx-ease);
}
body.dx .goods__grid-item .category-img-outer::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 2px var(--dx-violet);
  opacity: 0;
  transition: opacity .2s;
}
body.dx .goods__grid-item a:hover .category-home-img { transform: scale(1.05); }
body.dx .goods__grid-item a:hover .category-img-outer::after { opacity: 1; }
body.dx .goods__grid-item .category-name {
  margin-top: 10px;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.3;
  color: var(--dx-text);
}

/* Sidebar */
body.dx .goods__sidebar-item img { border-radius: var(--dx-r); display: block; }
body.dx .goods__sidebar--banner { gap: 12px; }
body.dx .goods__reviews-title {
  font-family: var(--dx-display);
  font-weight: 600;
  font-size: 18px;
}
body.dx .goods__reviews-item {
  background: var(--dx-surface);
  border: 1px solid var(--dx-line);
  border-radius: var(--dx-r);
}
body.dx .goods__reviews-item--name {
  color: var(--dx-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}
body.dx .goods__reviews-item--text { color: var(--dx-text); }
body.dx .goods__reviews-item--more-link { color: var(--dx-violet); font-weight: 600; }

/* ---------- How it works ---------- */
.dx-steps {
  margin: 72px 0 24px;
  padding: 36px;
  border-radius: var(--dx-r-lg);
  background:
    linear-gradient(135deg, rgba(155, 77, 255, .18), rgba(217, 70, 239, .06) 60%, transparent),
    var(--dx-surface);
  border: 1px solid var(--dx-line);
}
.dx-steps__title {
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 600;
  margin: 0 0 24px;
}
.dx-steps__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  counter-reset: dxstep;
}
.dx-steps__list li {
  counter-increment: dxstep;
  position: relative;
  padding: 0 8px 0 60px;
}
.dx-steps__list li::before {
  content: counter(dxstep);
  position: absolute;
  left: 0;
  top: -2px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--dx-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--dx-coin-ink);
  background: radial-gradient(circle at 35% 30%, #FFE08A, var(--dx-coin) 55%, #E0A21F);
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .18), 0 6px 18px rgba(255, 201, 77, .25);
}
.dx-steps__list h3 {
  font-family: var(--dx-body) !important;
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 6px;
  letter-spacing: 0;
}
.dx-steps__list p { margin: 0; color: var(--dx-muted); font-size: 15px; }

@media (max-width: 600px) {
  body.dx .slider-desc p { font-size: 14px; }
}
@media (max-width: 860px) {
  .dx-steps { padding: 24px 20px; margin-top: 48px; }
  .dx-steps__list { grid-template-columns: 1fr; gap: 20px; }
}

/* ---------- FAQ / accordion ---------- */
body.dx .goods__main-andseo { background: none; }
body.dx .main_faq { font-size: clamp(24px, 3vw, 32px); font-weight: 700; }
body.dx .main_faq_desc {
  color: var(--dx-muted);
  font-size: 15px;
  line-height: 1.6;
  letter-spacing: 0;
  max-width: 62ch;
  margin-left: auto;
  margin-right: auto;
}
body.dx .accordion .accordion-item {
  background: var(--dx-surface) !important;
  border: 1px solid var(--dx-line) !important;
  border-radius: var(--dx-r) !important;
  overflow: hidden;
  margin-bottom: 10px;
}
body.dx .accordion .accordion-header { background: transparent !important; margin: 0; }
body.dx .accordion .accordion-button {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--dx-text) !important;
  font-family: var(--dx-body);
  font-weight: 700;
  font-size: 16px;
  box-shadow: none !important;
  padding: 20px 22px;
}
body.dx .accordion .accordion-button:not(.collapsed) { color: #fff !important; }
body.dx .accordion-body {
  color: #D9D1F2;
  font-size: 15px;
  line-height: 1.65;
  padding: 0 22px 22px;
}

/* ---------- Generic blocks ---------- */
body.dx .block-section,
body.dx .block-section-border {
  background: var(--dx-surface);
  border: 1px solid var(--dx-line);
  border-radius: var(--dx-r-lg);
}
body.dx .rank-math-breadcrumb { color: var(--dx-dim); font-size: 14px; }
body.dx .rank-math-breadcrumb a { color: var(--dx-muted); text-decoration: none; }
body.dx .rank-math-breadcrumb a:hover { color: var(--dx-text); }
body.dx .rank-math-breadcrumb .last { color: var(--dx-text); }

.dx-block-title {
  font-family: var(--dx-display) !important;
  font-size: 18px !important;
  font-weight: 600;
  margin: 0 0 14px;
}

/* ---------- Game page ---------- */
body.dx .child_product_cat { padding-top: 24px; }

body.dx .good-header {
  border-radius: var(--dx-r-lg);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--dx-line);
  min-height: 180px;
  display: flex;
  align-items: flex-end;
  background: var(--dx-surface);
}
body.dx .good-header .game__banner-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 1;
  filter: none;
}
body.dx .good-header .game__banner-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(17, 11, 31, .95) 5%, rgba(17, 11, 31, .45) 60%, rgba(17, 11, 31, .2));
}
body.dx .good-header-cover {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  gap: 18px;
  padding: 22px;
  width: 100%;
}
body.dx .good-header .category-img-outer {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  overflow: hidden;
  flex: none;
  box-shadow: 0 0 0 3px rgba(17, 11, 31, .9), 0 10px 30px rgba(0, 0, 0, .5);
}
body.dx .good-header .category-img { width: 100%; height: 100%; object-fit: cover; }
body.dx .good-h1 {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  margin: 0 0 10px;
  line-height: 1.1;
}
body.dx .good-header-data-official_pan {
  background: rgba(74, 222, 128, .12);
  color: #B9F5CF;
  border: 1px solid rgba(74, 222, 128, .35);
  border-radius: 999px;
  font-weight: 600;
  font-size: 13px;
}
body.dx .good-header-data-official_pan svg path { stroke: currentColor; }

body.dx .x2-bonus-badge {
  display: block;
  margin: 0 0 18px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 201, 77, .08);
  border: 1px solid rgba(255, 201, 77, .3);
  color: #F5E6C4;
  font-size: 14px;
  line-height: 1.45;
}
body.dx .x2-bonus-badge strong { color: var(--dx-coin); }

/* Packs: the signature element */
body.dx #products .t-products-row {
  width: 100%;
  min-width: 0;
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
  margin: 0;
}
body.dx #products .t-product-card {
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  cursor: pointer;
  border-radius: 18px;
}
body.dx #products .t-product-card.filterDiv { display: none; }
body.dx #products .t-product-card.filterDiv.show { display: block; }

body.dx #products .t-product-card .pack {
  position: relative;
  height: 100%;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
  padding: 18px 12px 14px !important;
  border-radius: 18px;
  background:
    radial-gradient(120% 70% at 50% 0%, rgba(155, 77, 255, .22), transparent 70%),
    var(--dx-surface-2);
  border: 1px solid var(--dx-line) !important;
  transition: border-color .15s, transform .15s var(--dx-ease), box-shadow .15s;
}
body.dx #products .t-product-card:hover .pack {
  border-color: var(--dx-line-strong) !important;
  transform: translateY(-2px);
}
body.dx #products .t-product-card .pack.selected {
  border-color: var(--dx-violet) !important;
  box-shadow: 0 0 0 1px var(--dx-violet), 0 12px 32px rgba(155, 77, 255, .3);
  background:
    radial-gradient(120% 70% at 50% 0%, rgba(155, 77, 255, .4), transparent 70%),
    var(--dx-surface-2);
}
body.dx #products .t-product-card .pack-data {
  position: static !important;
  width: 72px;
  height: 72px;
  margin-bottom: 6px;
}
body.dx #products .t-product-card .pack-cover {
  width: 72px !important;
  height: 72px !important;
  object-fit: contain;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .45));
  position: static !important;
}
body.dx #products .t-product-card .pack-name {
  font-family: var(--dx-display);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.2;
  color: var(--dx-text);
  margin: 0 !important;
  position: static !important;
  text-align: center;
}
body.dx #products .t-product-card .pack-nominal {
  position: static !important;
  font-size: 13px;
  color: var(--dx-muted);
  margin: 0;
}
body.dx #products .t-product-card .pack-prices {
  position: static !important;
  align-self: stretch;
  justify-content: center;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-top: auto;
  padding-top: 10px;
}
body.dx #products .t-product-card .pack-prices_actual {
  display: inline-block;
  margin: 0;
  padding: 6px 12px;
  border-radius: 999px;
  font-family: var(--dx-display);
  font-weight: 600;
  font-size: 14px;
  color: var(--dx-coin-ink);
  background: linear-gradient(180deg, #FFDA7A, var(--dx-coin));
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .14);
  white-space: nowrap;
}
.dx-pack-check {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--dx-line-strong);
  transition: background-color .15s, border-color .15s;
}
.pack.selected .dx-pack-check {
  border-color: var(--dx-violet);
  background: var(--dx-violet) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* Order form */
body.dx .fields-row .form-control-wrap label {
  display: block;
  width: 100%;
  font-weight: 700;
  font-size: 14px;
  color: var(--dx-text);
}
body.dx .form-control-wrap + .form-control-wrap { margin-top: 14px; }
body.dx .form-control,
body.dx input.form-control {
  background: var(--dx-bg-2) !important;
  border: 1px solid var(--dx-line-strong) !important;
  border-radius: 12px !important;
  color: var(--dx-text) !important;
  font-family: var(--dx-body);
  font-size: 16px !important;
  height: 52px;
  padding: 0 16px !important;
  margin-top: 8px;
  box-shadow: none !important;
  transition: border-color .15s, box-shadow .15s;
}
body.dx .form-control::placeholder { color: var(--dx-dim) !important; }
body.dx .form-control:focus {
  border-color: var(--dx-violet) !important;
  box-shadow: 0 0 0 4px rgba(155, 77, 255, .22) !important;
}
.dx-hint {
  display: block;
  margin-top: 8px;
  font-weight: 500;
  font-size: 13px;
  line-height: 1.45;
  color: var(--dx-muted);
}
body.dx label.error, body.dx .error-alert { color: #FF9C9C; font-size: 13px; }
body.dx .error-alert {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 12px 14px;
  margin-top: 14px;
  border-radius: 12px;
  background: rgba(202, 96, 96, .12);
  border: 1px solid rgba(202, 96, 96, .4);
}

body.dx .round-btn,
body.dx .good-overal-buy .round-btn.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 56px;
  margin-top: 18px;
  border: 0;
  border-radius: 16px;
  font-family: var(--dx-display);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0;
  color: #fff !important;
  background: linear-gradient(100deg, var(--dx-violet-2), var(--dx-violet) 50%, var(--dx-magenta));
  background-size: 160% 100%;
  background-position: 0 0;
  box-shadow: 0 10px 28px rgba(155, 77, 255, .35);
  transition: background-position .3s var(--dx-ease), transform .1s, box-shadow .2s;
}
body.dx .round-btn:hover { background-position: 100% 0; box-shadow: 0 12px 34px rgba(217, 70, 239, .38); }
body.dx .round-btn:active { transform: translateY(1px); }

/* Side columns on game page */
body.dx .child_product_cat__other-title p,
body.dx .child_product_cat__top-left p {
  font-family: var(--dx-display);
  font-weight: 600;
  font-size: 16px;
}
body.dx .child_product_cat__other-item {
  border-radius: 12px;
  border: 1px solid transparent;
  background: transparent;
  transition: background-color .15s;
}
body.dx .child_product_cat__other-item:hover { background: rgba(155, 77, 255, .1); }
body.dx .child_product_cat__other-item.current_cat {
  background: rgba(155, 77, 255, .16);
  border-color: var(--dx-violet);
}
body.dx .child_product_cat__other-item img { border-radius: 10px; }
body.dx .child_product_cat__other-item-name { font-weight: 600; color: var(--dx-text); }
body.dx .child_product_cat__top-right a { color: var(--dx-violet); font-weight: 600; text-decoration: none; }

body.dx .feedback {
  background: var(--dx-surface-2);
  border: 1px solid var(--dx-line);
  border-radius: var(--dx-r);
}
body.dx .feedback-header_name { color: var(--dx-muted); font-size: 13px; }
body.dx .feedback-header_name span { color: var(--dx-text); font-weight: 600; }
body.dx .stars-review { background: none; border: 0; }
body.dx .stars-review svg path { fill: var(--dx-coin); }

/* ---------- Cart ---------- */
.dx-cart { padding: 32px 0 72px; }
body.dx .dx-cart #cart_checkout {
  display: block;
  max-width: 560px;
  margin: 0 auto;
  padding: 0 16px;
  background: none;
  border: 0;
}
body.dx .dx-cart .dx-cart__submit {
  width: 100%;
  max-width: none;
  margin-top: 20px;
  line-height: 1.2;
}
.dx-back {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--dx-muted) !important;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
}
.dx-back:hover { color: var(--dx-text) !important; }
.dx-cart__card {
  position: relative;
  overflow: hidden;
  border-radius: var(--dx-r-lg);
  border: 1px solid var(--dx-line);
  background: var(--dx-surface);
  padding: 24px;
}
.dx-cart__banner {
  position: absolute;
  inset: 0 0 auto 0;
  height: 140px;
  background-size: cover;
  background-position: center;
  opacity: .35;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent);
  mask-image: linear-gradient(180deg, #000, transparent);
}
.dx-cart__game {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}
.dx-cart__cover {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 0 0 3px rgba(17, 11, 31, .9);
}
.dx-cart__kicker { margin: 0 0 2px; color: #D8CFF5; font-size: 14px; font-weight: 600; }
.dx-cart__title { margin: 0; font-size: 24px !important; font-weight: 700; }

body.dx .dx-cart__item {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: var(--dx-r);
  background: var(--dx-surface-2);
  border: 1px solid var(--dx-line);
}
.dx-cart__item img { width: 56px; height: 56px; object-fit: contain; }
.dx-cart__item-name { font-family: var(--dx-display); font-weight: 600; font-size: 17px; }
.dx-cart__item-price .total-product {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  font-family: var(--dx-display);
  font-weight: 600;
  font-size: 14px;
  color: var(--dx-coin-ink);
  background: linear-gradient(180deg, #FFDA7A, var(--dx-coin));
  white-space: nowrap;
}
.dx-cart__details {
  margin: 18px 0 0;
  border-radius: var(--dx-r);
  border: 1px solid var(--dx-line);
}
.dx-cart__details > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
}
.dx-cart__details > div + div { border-top: 1px solid var(--dx-line); }
.dx-cart__details dt { font-weight: 500; color: var(--dx-muted); }
.dx-cart__details dd {
  margin: 0;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  word-break: break-all;
  text-align: right;
}
.dx-cart__edit {
  display: inline-block;
  margin-top: 10px;
  color: var(--dx-violet) !important;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.dx-cart__total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px dashed var(--dx-line-strong);
}
.dx-cart__total span { color: var(--dx-muted); font-weight: 600; }
.dx-cart__total strong {
  font-family: var(--dx-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--dx-coin);
}
.dx-cart__note {
  margin: 12px 0 0;
  color: var(--dx-muted);
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
}

/* ---------- Footer ---------- */
body.dx .dx-footer {
  margin-top: 72px;
  padding: 40px 0 28px;
  background: rgba(10, 6, 20, .6);
  border-top: 1px solid var(--dx-line);
}
.dx-footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr auto;
  gap: 32px;
  align-items: start;
}
.dx-footer__brand img { height: 34px; width: auto; }
.dx-footer__brand p { margin: 12px 0 0; color: var(--dx-muted); font-size: 14px; max-width: 42ch; }
.dx-footer__links { display: flex; flex-direction: column; gap: 10px; }
.dx-footer__links a,
.dx-footer__tg {
  color: var(--dx-muted) !important;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}
.dx-footer__links a:hover, .dx-footer__tg:hover { color: var(--dx-text) !important; }
.dx-footer__contacts { display: flex; flex-direction: column; gap: 10px; }
.dx-footer__tg { display: inline-flex; align-items: center; gap: 10px; }
.dx-footer__bottom {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--dx-line);
  color: var(--dx-dim);
  font-size: 13px;
}
@media (max-width: 760px) {
  .dx-footer__top { grid-template-columns: 1fr; gap: 24px; }
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  body.dx *, body.dx *::before, body.dx *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}

/* ==========================================================================
   Compatibility with the original category.php / cart.php markup
   (pack name outside the card, legacy cart blocks), extra form fields,
   and the compact mobile game page.
   ========================================================================== */

/* Packs: legacy markup has .pack-name after .pack, price before nominal */
body.dx #products .t-product-card {
  display: flex;
  flex-direction: column;
}
body.dx #products .t-product-card.filterDiv:not(.show) { display: none; }
body.dx #products .t-product-card .pack { height: auto; flex: 1 1 auto; }
body.dx #products .t-product-card .pack-data { order: 1; }
body.dx #products .t-product-card .pack .pack-name { order: 2; }
body.dx #products .t-product-card .pack-nominal { order: 3; }
body.dx #products .t-product-card .pack-prices { order: 4; }
body.dx #products .t-product-card > .pack-name {
  margin-top: 8px !important;
  font-size: 14px;
}

/* Any extra fields (server, zone, email, selects) */
body.dx .fields-row .form-control-wrap label > div:first-child,
body.dx .fields-row label {
  font-weight: 700;
  font-size: 14px;
  color: var(--dx-text);
}
body.dx select.form-control,
body.dx .fields-row select {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 52px;
  padding: 0 44px 0 16px !important;
  background: var(--dx-bg-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M11 1.5 6 6.5 1 1.5' stroke='%23A79CC8' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 16px center / 12px no-repeat !important;
  border: 1px solid var(--dx-line-strong) !important;
  border-radius: 12px !important;
  color: var(--dx-text) !important;
  font-family: var(--dx-body);
  font-size: 16px;
}
body.dx select.form-control option { background: var(--dx-surface-2); color: var(--dx-text); }

/* Legacy cart blocks */
body.dx #cart_checkout.block-section { padding: 24px; }
body.dx .cart-category-info-wrapper {
  border-radius: var(--dx-r);
  overflow: hidden;
  background: var(--dx-surface-2);
}
body.dx .cart-category-info-wrapper .game__banner-bg { opacity: .35; }
body.dx .cart-category-img-wrapper > div { border-radius: 14px; }
body.dx .cart-category-info {
  font-family: var(--dx-display);
  font-weight: 700;
  font-size: 22px;
}
body.dx .cart-subtitle { font-weight: 700; color: var(--dx-muted); }
body.dx .t-cart-line {
  background: var(--dx-surface-2) !important;
  border: 1px solid var(--dx-line) !important;
  border-radius: var(--dx-r) !important;
}
body.dx .t-cart-line .t-cart-line-digs .t-cart-line-title {
  font-family: var(--dx-display);
  font-weight: 600;
  font-size: 16px;
  color: var(--dx-text);
}
body.dx .t-cart-line .t-cart-line-digs .t-cart-line-price { color: var(--dx-coin); font-family: var(--dx-display); font-weight: 600; }
body.dx .delivery-info,
body.dx .t-total-subtotal {
  background: transparent !important;
  border: 1px solid var(--dx-line);
  border-radius: var(--dx-r);
  padding: 14px 16px;
  font-size: 16px;
}
body.dx .delivery-info > div + div { margin-top: 10px; }
body.dx .delivery-info > div > div:last-child,
body.dx .t-total-subtotal > div > div:last-child { font-weight: 700; }
body.dx .t-total-subtotal > div > div:last-child { color: var(--dx-coin); font-family: var(--dx-display); }
body.dx #cart_checkout .place_order.round-btn { width: 100%; max-width: none; }

/* ---------- Mobile game page: no "other games" strip, denser packs ---------- */
@media (max-width: 991px) {
  body.dx .child_product_cat__left,
  body.dx #products .rank-math-breadcrumb { display: none !important; }
  body.dx .child_product_cat { padding-top: 12px; }
}

@media (max-width: 600px) {
  body.dx .good-header { min-height: 0; }
  body.dx .good-header-cover { padding: 14px; gap: 14px; align-items: center; }
  body.dx .good-header .category-img-outer { width: 64px; height: 64px; border-radius: 16px; }
  body.dx .good-h1 { font-size: 22px; margin-bottom: 6px; }

  body.dx .child_product_cat__center .block-section { padding: 16px; }
  .dx-block-title { font-size: 16px !important; margin-bottom: 10px; }
  body.dx .x2-bonus-badge { font-size: 12px; padding: 8px 10px; margin-bottom: 12px; }

  body.dx #products .t-products-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }
  body.dx #products .t-product-card .pack {
    padding: 12px 6px 10px !important;
    border-radius: 14px;
    gap: 2px;
  }
  body.dx #products .t-product-card .pack-data,
  body.dx #products .t-product-card .pack-cover {
    width: 44px !important;
    height: 44px !important;
    margin-bottom: 4px;
  }
  body.dx #products .t-product-card .pack-name {
    font-size: 12px;
    line-height: 1.25;
    word-break: break-word;
    hyphens: auto;
  }
  body.dx #products .t-product-card .pack-nominal { font-size: 11px; }
  body.dx #products .t-product-card .pack-prices { padding-top: 6px; }
  body.dx #products .t-product-card .pack-prices_actual { font-size: 11px; padding: 4px 8px; }
  .dx-pack-check { width: 16px; height: 16px; top: 6px; right: 6px; }
  .pack.selected .dx-pack-check { background-size: 10px; }
}
@media (max-width: 991px) {
  body.dx .feedback_prod_list, body.dx .feedback { width: 100%; max-width: none; }
}

/* ---------- About page (giveaways.php) ---------- */
.dx-about { padding: 8px 0 24px; }
.dx-about .rank-math-breadcrumb { margin-bottom: 16px; }

.dx-about__hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  align-items: center;
  gap: 32px;
  padding: 48px;
  border-radius: 28px;
  border: 1px solid var(--dx-line);
  background:
    radial-gradient(600px 300px at 90% 50%, rgba(217, 70, 239, .22), transparent 70%),
    radial-gradient(500px 300px at 10% 0%, rgba(155, 77, 255, .25), transparent 70%),
    var(--dx-surface);
}
.dx-about__hero h1 {
  margin: 0 0 16px;
  font-size: clamp(30px, 4.4vw, 52px);
  font-weight: 700;
  line-height: 1.05;
  text-wrap: balance;
}
.dx-about__hero p {
  margin: 0;
  max-width: 52ch;
  color: #D8CFF5;
  font-size: 17px;
  line-height: 1.6;
}
.dx-about__hero-logo {
  width: 100%;
  max-width: 360px;
  height: auto;
  justify-self: center;
  filter: drop-shadow(0 20px 50px rgba(155, 77, 255, .45));
}
.dx-about__hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
body.dx .dx-about__btn {
  width: auto;
  margin: 0;
  padding: 0 26px;
  gap: 10px;
  text-decoration: none;
}
.dx-about__btn-ghost {
  display: inline-flex;
  align-items: center;
  min-height: 56px;
  padding: 0 24px;
  border-radius: 16px;
  border: 1px solid var(--dx-line-strong);
  color: var(--dx-text) !important;
  font-weight: 700;
  text-decoration: none;
  transition: border-color .15s, background-color .15s;
}
.dx-about__btn-ghost:hover { border-color: var(--dx-violet); background: rgba(155, 77, 255, .12); }

.dx-about__section { margin-top: 64px; }
.dx-about__section > h2,
.dx-about__help h2 {
  margin: 0 0 22px;
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 700;
}

.dx-about__features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.dx-about__feature {
  padding: 24px;
  border-radius: 20px;
  background: var(--dx-surface);
  border: 1px solid var(--dx-line);
}
.dx-about__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  border-radius: 14px;
  color: #E9DDFF;
  background: linear-gradient(135deg, rgba(155, 77, 255, .45), rgba(217, 70, 239, .25));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
}
.dx-about__feature h3 {
  margin: 0 0 8px;
  font-family: var(--dx-body) !important;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0;
}
.dx-about__feature p { margin: 0; color: var(--dx-muted); font-size: 15px; line-height: 1.55; }

.dx-about__steps { margin-top: 64px; }
.dx-steps__list--4 { grid-template-columns: repeat(4, 1fr); }

.dx-about__checks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 32px;
}
.dx-about__checks li {
  display: flex;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--dx-line);
}
.dx-about__check {
  flex: none;
  width: 26px;
  height: 26px;
  margin-top: 1px;
  border-radius: 50%;
  background: rgba(74, 222, 128, .15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234ADE80' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat;
  box-shadow: inset 0 0 0 1px rgba(74, 222, 128, .4);
}
.dx-about__checks strong { display: block; font-size: 16px; margin-bottom: 4px; }
.dx-about__checks p { margin: 0; color: var(--dx-muted); font-size: 15px; }

.dx-about__help {
  margin-top: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 36px 40px;
  border-radius: 28px;
  border: 1px solid var(--dx-line-strong);
  background:
    linear-gradient(110deg, rgba(124, 58, 237, .35), rgba(217, 70, 239, .15) 70%),
    var(--dx-surface);
}
.dx-about__help h2 { margin-bottom: 8px; }
.dx-about__help p { margin: 0; max-width: 56ch; color: #D8CFF5; }
.dx-about__help .dx-about__btn { flex: none; }

@media (max-width: 991px) {
  .dx-about__features { grid-template-columns: repeat(2, 1fr); }
  .dx-steps__list--4 { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}
@media (max-width: 760px) {
  .dx-about__hero { grid-template-columns: 1fr; padding: 28px 22px; gap: 0; }
  .dx-about__hero-logo { display: none; }
  .dx-about__hero p { font-size: 16px; }
  .dx-about__hero-actions { flex-direction: column; }
  body.dx .dx-about__btn, .dx-about__btn-ghost { width: 100%; justify-content: center; }
  .dx-about__section, .dx-about__steps, .dx-about__help { margin-top: 44px; }
  .dx-about__features { grid-template-columns: 1fr; gap: 12px; }
  .dx-about__feature { padding: 20px; display: grid; grid-template-columns: 48px 1fr; column-gap: 16px; }
  .dx-about__icon { grid-row: span 2; margin: 0; }
  .dx-steps__list--4 { grid-template-columns: 1fr; gap: 20px; }
  .dx-about__checks { grid-template-columns: 1fr; gap: 0; }
  .dx-about__help { flex-direction: column; align-items: stretch; padding: 26px 22px; gap: 20px; }
}

/* ==========================================================================
   2026-11 — блоки доверия и продаж
   ========================================================================== */

/* Полоса доверия под шапкой */
.dx-trust {
  background: rgba(27, 18, 50, .72);
  border-bottom: 1px solid var(--dx-line);
}
.dx-trust__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.dx-trust__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #D8CFF5;
  text-decoration: none;
  white-space: nowrap;
}
.dx-trust__item .dx-ico { color: var(--dx-ok); flex: none; }
a.dx-trust__item:hover { color: var(--dx-text); }
.dx-trust__item--link .dx-ico { color: var(--dx-coin); }
@media (max-width: 760px) {
  .dx-trust__row {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    justify-content: flex-start;
    gap: 20px;
  }
  .dx-trust__row::-webkit-scrollbar { display: none; }
  .dx-trust__row {
    -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent);
    mask-image: linear-gradient(90deg, #000 85%, transparent);
    padding-right: 40px;
  }
  .dx-trust__item { font-size: 13px; }
}

/* Кнопка-монета */
.dx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 14px;
  font-weight: 800;
  font-size: 16px;
  text-decoration: none;
  transition: transform .15s var(--dx-ease), box-shadow .2s;
}
.dx-btn--coin {
  color: var(--dx-coin-ink) !important;
  background: linear-gradient(180deg, #FFE08A, var(--dx-coin) 55%, #E9AE2B);
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .18), 0 10px 28px rgba(255, 201, 77, .28);
}
.dx-btn--coin:hover { transform: translateY(-1px); box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .18), 0 14px 34px rgba(255, 201, 77, .4); }

/* Баннер акции */
.dx-promo-wrap { margin: 28px 0 8px; }
.dx-promo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px 40px;
  padding: 28px 36px;
  border-radius: var(--dx-r-lg);
  border: 1px solid var(--dx-line-strong);
  background:
    radial-gradient(500px 220px at 100% 0%, rgba(255, 201, 77, .18), transparent 70%),
    linear-gradient(110deg, rgba(124, 58, 237, .38), rgba(217, 70, 239, .14) 70%),
    var(--dx-surface);
}
.dx-promo__label {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--dx-coin);
  color: var(--dx-coin-ink);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.dx-promo__title {
  margin: 12px 0 6px;
  font-family: var(--dx-display);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  line-height: 1.15;
}
.dx-promo__text { margin: 0; max-width: 60ch; color: #D8CFF5; font-size: 16px; }
.dx-promo .dx-btn { flex: none; }
@media (max-width: 760px) {
  .dx-promo { flex-direction: column; align-items: stretch; padding: 24px 20px; }
}

/* Карточки игр: бейдж и цена */
body.dx .goods__grid-item .dx-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--dx-coin);
  color: var(--dx-coin-ink);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.3;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .35);
}
body.dx .goods__grid-item .dx-price {
  margin-top: 2px;
  text-align: center;
  font-size: 13px;
  color: var(--dx-muted);
}
body.dx .goods__grid-item .dx-price b { color: var(--dx-coin); font-weight: 700; }

/* Звёзды */
.dx-stars { display: inline-flex; gap: 1px; vertical-align: -2px; }
.dx-stars .on { color: var(--dx-coin); }
.dx-stars .off { color: var(--dx-line-strong); }

/* Отзывы на главной */
.dx-rev-head { display: flex; flex-direction: column; gap: 4px; margin-bottom: 12px; }
.dx-rev-head .goods__reviews-title { margin: 0; }
.dx-rev-score {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--dx-muted);
  text-decoration: none;
}
.dx-rev-score b { color: var(--dx-text); }
.dx-rev-score:hover { color: var(--dx-text); }
.goods__reviews-item--wrapper2 { display: flex; flex-direction: column; gap: 8px; width: 100%; }
body.dx .dx-rev { padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; }
.dx-rev__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.dx-rev__game {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  font-size: 12px;
  font-weight: 700;
  color: var(--dx-muted);
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dx-rev__game img { border-radius: 6px; flex: none; }
.dx-rev__game:hover { color: var(--dx-text); }
body.dx .dx-rev .goods__reviews-item--text { margin: 0; font-size: 14px; line-height: 1.45; }
.dx-rev__who { margin: 0; font-size: 13px; font-weight: 700; color: var(--dx-dim); }

/* Гарантии под шагами */
.dx-assure {
  list-style: none;
  margin: 28px 0 0;
  padding: 24px 0 0;
  border-top: 1px solid var(--dx-line);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.dx-assure li { display: flex; gap: 12px; align-items: flex-start; }
.dx-assure .dx-ico {
  flex: none;
  width: 40px;
  height: 40px;
  padding: 9px;
  border-radius: 12px;
  background: rgba(74, 222, 128, .1);
  color: var(--dx-ok);
}
.dx-assure b { display: block; font-size: 15px; color: var(--dx-text); }
.dx-assure span { display: block; font-size: 14px; color: var(--dx-muted); }
.dx-assure a { color: var(--dx-violet); text-decoration: none; }
@media (max-width: 991px) { .dx-assure { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .dx-assure { grid-template-columns: 1fr; } }

/* Страница игры: плашки у заголовка */
body.dx .good-header-data-official { display: flex; flex-direction: row; flex-wrap: wrap; gap: 8px; align-items: center; max-width: none; }
body.dx .good-header-data-official > * { flex: none; width: auto; }
.dx-pill {
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--dx-line);
  background: rgba(27, 18, 50, .7);
  font-size: 13px;
  font-weight: 600;
  color: #D8CFF5;
  text-decoration: none;
}
.dx-pill b { color: var(--dx-text); }
.dx-pill .dx-ico { width: 16px; height: 16px; color: var(--dx-coin); }
a.dx-pill:hover { border-color: var(--dx-line-strong); color: var(--dx-text); }

/* Под кнопкой «Купить» */
.dx-buy-trust {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  color: var(--dx-muted);
}
.dx-buy-trust li { display: flex; align-items: center; gap: 8px; }
.dx-buy-trust .dx-ico { width: 18px; height: 18px; color: var(--dx-ok); flex: none; }
.dx-buy-trust a { color: var(--dx-muted); text-decoration: underline; text-underline-offset: 3px; }
.dx-buy-trust a:hover { color: var(--dx-text); }

/* Липкая панель «Купить» на странице игры */
.dx-buybar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1040;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(17, 11, 31, .94);
  border-top: 1px solid var(--dx-line-strong);
  backdrop-filter: blur(10px);
  transform: translateY(110%);
  transition: transform .25s var(--dx-ease);
}
.dx-buybar.is-visible { transform: none; }
.dx-buybar__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.dx-buybar__item { display: flex; align-items: center; gap: 10px; min-width: 0; }
.dx-buybar__thumb img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; display: block; }
.dx-buybar__name {
  font-weight: 700;
  font-size: 15px;
  color: var(--dx-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dx-buybar__btn {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 14px;
  font: inherit;
  font-weight: 800;
  font-size: 16px;
  color: var(--dx-coin-ink);
  background: linear-gradient(180deg, #FFE08A, var(--dx-coin) 55%, #E9AE2B);
  cursor: pointer;
}
.dx-buybar__warn { display: none; }
.dx-buybar.needs-data .dx-buybar__warn { display: inline; }
body.dx-has-buybar { padding-bottom: 76px; }
@media (min-width: 992px) {
  .dx-buybar { display: none; }
  body.dx-has-buybar { padding-bottom: 0; }
}

/* Убираем горизонтальную прокрутку на телефонах */
body.dx #container { overflow-x: clip; }

/* ==========================================================================
   Распродажа 11.11 (включается из $DX_SALE в dx.php)
   ========================================================================== */
.dx-cd { font-variant-numeric: tabular-nums; font-weight: 800; white-space: nowrap; }

/* Полоса над шапкой */
.dx-salebar {
  display: block;
  position: relative;
  z-index: 51;
  color: #fff !important;
  text-decoration: none !important;
  background: linear-gradient(90deg, #7C3AED, #C026D3 55%, #DB2777);
}
.dx-salebar--soon { background: linear-gradient(90deg, #3B2A6B, #5B2A86 60%, #7C3AED); }
.dx-salebar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px 14px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 8px 16px;
  font-size: 14px;
  line-height: 1.3;
}
.dx-salebar__tag {
  flex: none;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--dx-coin);
  color: var(--dx-coin-ink);
  font-weight: 800;
  font-size: 13px;
}
.dx-salebar__text b { font-weight: 800; }
.dx-salebar__time {
  flex: none;
  padding: 3px 10px;
  border-radius: 8px;
  background: rgba(0, 0, 0, .22);
  font-weight: 600;
}
body.dx .dx-salebar, body.dx .dx-salebar * { text-decoration: none !important; }
body.dx .dx-salebar:hover .dx-salebar__text b { text-decoration: underline !important; text-underline-offset: 3px; }
@media (max-width: 640px) {
  .dx-salebar__more { display: none; }
  .dx-salebar__inner { gap: 8px; font-size: 13px; padding: 7px 12px; }
  .dx-salebar__time { padding: 2px 8px; }
}

/* Баннер на главной */
.dx-sale {
  position: relative;
  overflow: hidden;
  border-color: rgba(217, 70, 239, .55);
  background:
    radial-gradient(520px 260px at 100% 0%, rgba(255, 201, 77, .22), transparent 70%),
    linear-gradient(110deg, rgba(124, 58, 237, .55), rgba(219, 39, 119, .28) 75%),
    var(--dx-surface);
}
.dx-sale__num {
  position: absolute;
  right: 270px;
  bottom: -40px;
  font-family: var(--dx-display);
  font-weight: 700;
  font-size: 170px;
  line-height: 1;
  letter-spacing: -0.04em;
  color: rgba(255, 255, 255, .06);
  pointer-events: none;
  user-select: none;
}
.dx-sale .dx-promo__body { position: relative; }
.dx-sale__pct { color: var(--dx-coin); white-space: nowrap; }
.dx-sale__side {
  position: relative;
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  min-width: 230px;
}
.dx-sale__timer {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 16px;
  border-radius: 14px;
  background: rgba(17, 11, 31, .55);
  border: 1px solid rgba(255, 255, 255, .1);
}
.dx-sale__timer span:first-child { font-size: 13px; color: var(--dx-muted); font-weight: 600; }
.dx-sale__timer .dx-cd { font-family: var(--dx-display); font-size: 26px; font-weight: 700; color: #fff; }
@media (max-width: 760px) {
  .dx-sale__side { min-width: 0; }
  .dx-sale__num { font-size: 120px; right: -10px; bottom: auto; top: -24px; }
}

/* Карточки игр в каталоге */
body.dx .goods__grid-item .dx-badge--sale {
  background: linear-gradient(180deg, #F0509A, #DB2777);
  color: #fff;
  font-size: 13px;
}
body.dx .goods__grid-item .dx-price s {
  color: var(--dx-muted);
  opacity: .8;
  text-decoration-thickness: 1.5px;
}

/* Страница игры */
.dx-sale-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  padding: 10px 14px;
  border-radius: 12px;
  background: linear-gradient(110deg, rgba(219, 39, 119, .22), rgba(124, 58, 237, .18));
  border: 1px solid rgba(240, 80, 154, .45);
  color: var(--dx-text);
  font-size: 14px;
  line-height: 1.4;
}
.dx-sale-note__tag {
  flex: none;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--dx-coin);
  color: var(--dx-coin-ink);
  font-weight: 800;
  font-size: 13px;
}
.dx-pack-sale {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
  padding: 2px 7px;
  border-radius: 999px;
  background: #DB2777;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.4;
}
body.dx #products .t-product-card .pack-prices {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
body.dx #products .t-product-card .pack-prices_old {
  font-size: 12px;
  color: var(--dx-muted);
  text-decoration-thickness: 1.5px;
  white-space: nowrap;
}
@media (max-width: 575px) {
  .dx-pack-sale { top: 6px; left: 6px; font-size: 10px; padding: 1px 5px; }
  body.dx #products .t-product-card .pack-prices_old { font-size: 11px; }
}

/* Корзина */
.dx-cart__old { color: var(--dx-muted); font-size: 13px; margin-right: 4px; }
.dx-cart__sale {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(219, 39, 119, .16);
  border: 1px solid rgba(240, 80, 154, .4);
  font-size: 14px;
}
.dx-cart__sale b { color: var(--dx-coin); }
.dx-cart__sale span:last-child { color: var(--dx-ok); font-weight: 700; }
