:root {
  color-scheme: light;
  --bg: #f4f6fb;
  --surface: #ffffff;
  --surface-soft: #f8f9fc;
  --line: #e2e6ef;
  --line-strong: #cfd6e4;
  --text: #111827;
  --muted: #657083;
  --blue: #1f7aff;
  --yellow: #ffd33d;
  --orange: #ff8a1f;
  --green: #20b46b;
  --danger: #f04452;
  --shadow: 0 18px 38px rgba(18, 34, 66, 0.12);
  --shadow-soft: 0 8px 18px rgba(18, 34, 66, 0.08);
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(180deg, #ffffff 0, var(--bg) 520px),
    var(--bg);
  color: var(--text);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a,
select,
input,
textarea {
  outline-color: var(--blue);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  padding: 0 clamp(16px, 4vw, 54px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 950;
  letter-spacing: 0;
}

.brand-mark {
  position: relative;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: var(--radius);
  background: #050505;
  color: white;
  font-size: 14px;
  font-weight: 950;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.2);
}

.brand-mark::after {
  content: "";
  position: absolute;
  right: 7px;
  bottom: 7px;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--yellow);
}

.top-nav,
.mobile-nav {
  align-items: center;
  gap: 6px;
}

.top-nav {
  display: flex;
}

.top-nav a,
.mobile-nav a {
  border-radius: 999px;
  color: #3f4858;
  font-size: 14px;
  font-weight: 850;
  padding: 10px 14px;
  transition: color 160ms ease, background 160ms ease;
}

.top-nav a:hover,
.mobile-nav a:hover,
.top-nav a.active,
.mobile-nav a.active {
  background: #eef2f8;
  color: #050505;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 3px auto;
  border-radius: 999px;
  background: #111827;
}

.mobile-nav {
  display: none;
  padding: 10px 16px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

main {
  min-height: calc(100vh - 180px);
}

.hero {
  position: relative;
  display: grid;
  min-height: 620px;
  align-items: end;
  overflow: hidden;
  padding: clamp(44px, 8vw, 92px) clamp(18px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
  background: #eef4ff;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.99), rgba(255, 255, 255, 0.8) 42%, rgba(255, 255, 255, 0.12)),
    linear-gradient(0deg, rgba(244, 246, 251, 1), rgba(244, 246, 251, 0) 45%),
    url("./assets/store-hero-original.png") center right / cover no-repeat;
}

.hero-copy {
  position: relative;
  max-width: 650px;
  padding-bottom: 18px;
}

.eyebrow {
  margin: 0 0 12px;
  color: #1268d6;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 16px;
  font-size: clamp(36px, 5.4vw, 70px);
  line-height: 0.98;
  letter-spacing: 0;
}

.page-hero h1,
.section-heading h2,
.payment-box h2 {
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.06;
}

.hero-copy p:not(.eyebrow),
.page-hero p,
.section-heading p {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.55;
}

.hero-actions,
.success-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.primary-action,
.secondary-action,
.ghost-button,
.danger-button,
.text-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 950;
  letter-spacing: 0;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.primary-action {
  background: #050505;
  color: white;
  padding: 0 22px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
}

.primary-action::after {
  content: "›";
  margin-left: 10px;
  font-size: 22px;
  line-height: 1;
}

.secondary-action,
.ghost-button {
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: #101827;
  padding: 0 18px;
}

.danger-button {
  border: 1px solid rgba(240, 68, 82, 0.3);
  background: #fff1f2;
  color: #bb1b2b;
  padding: 0 18px;
}

.text-button {
  min-height: 38px;
  margin-bottom: 18px;
  padding: 0 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: #2f3a4c;
}

.primary-action:hover,
.secondary-action:hover,
.ghost-button:hover,
.danger-button:hover,
.text-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.primary-action.full {
  width: 100%;
  margin-top: 18px;
}

.trust-strip,
.section-panel,
.disclaimer,
.game-grid,
.product-grid,
.product-toolbar,
.checkout-layout,
.admin-actions,
.table-wrap,
.page-hero {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: -34px;
  position: relative;
  z-index: 2;
}

.trust-strip article,
.steps article,
.game-card,
.product-card,
.payment-box,
.order-form,
.table-wrap,
.disclaimer {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.trust-strip article {
  padding: 18px;
}

.mini-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  margin-bottom: 12px;
  border-radius: var(--radius);
  background: #edf4ff;
}

.trust-strip h2 {
  margin-bottom: 8px;
  font-size: 18px;
}

.trust-strip p,
.steps p,
.game-card p,
.product-card p,
.payment-box li,
.payment-box dd,
.payment-box dt,
.summary-box,
.security-note,
.site-footer p {
  color: var(--muted);
  line-height: 1.55;
}

.section-panel {
  padding: 58px 0 18px;
}

.section-heading {
  margin-bottom: 18px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.steps article {
  padding: 22px;
}

.steps span {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 999px;
  background: #050505;
  color: white;
  font-weight: 950;
}

.disclaimer {
  margin-top: 32px;
  margin-bottom: 42px;
  padding: 18px;
  color: #5f4300;
  background: #fff8db;
  box-shadow: none;
}

.page-hero {
  padding-top: clamp(34px, 6vw, 72px);
  padding-bottom: 24px;
}

.game-page-hero {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  margin-top: 22px;
  margin-bottom: 24px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #050505;
  color: white;
  box-shadow: var(--shadow-soft);
}

.game-page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.38) 44%, rgba(0, 0, 0, 0.05)),
    var(--page-image) center / cover no-repeat;
  transform: scale(1.02);
}

.game-page-hero > * {
  position: relative;
  z-index: 1;
}

.game-page-hero .eyebrow {
  color: var(--yellow);
}

.game-page-hero p {
  color: rgba(255, 255, 255, 0.78);
}

.page-hero.compact {
  min-height: 0;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding-bottom: 56px;
}

.game-card {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  padding: 0 0 18px;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.game-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.game-art {
  position: relative;
  height: 268px;
  margin-bottom: 22px;
  overflow: hidden;
  background: var(--game-gradient);
}

.game-art img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 200ms ease;
}

.game-card:hover .game-art img {
  transform: scale(1.06);
}

.game-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.46), rgba(0, 0, 0, 0) 50%);
}

.game-icon {
  position: absolute;
  left: 18px;
  top: 225px;
  z-index: 1;
  display: grid;
  width: 70px;
  height: 70px;
  place-items: center;
  border: 4px solid white;
  border-radius: var(--radius);
  background: #050505;
  color: white;
  font-size: 16px;
  font-weight: 950;
  box-shadow: var(--shadow-soft);
}

.game-card h2,
.game-card p {
  padding-inline: 18px;
}

.game-card h2 {
  margin-bottom: 8px;
  font-size: 22px;
}

.game-card .primary-action {
  width: calc(100% - 36px);
  margin: 14px 18px 0;
}

.product-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 0 18px;
}

.segmented {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.segmented button {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: #3f4858;
  cursor: pointer;
  font-weight: 850;
  padding: 0 16px;
}

.segmented button.active {
  border-color: #050505;
  background: #050505;
  color: white;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding-bottom: 60px;
}

.product-card {
  display: flex;
  flex-direction: column;
  min-height: 314px;
  overflow: hidden;
  padding: 0 18px 18px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.product-visual {
  position: relative;
  display: grid;
  min-height: 122px;
  place-items: center;
  margin: 0 -18px 18px;
  overflow: hidden;
  background: #101827;
}

.product-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
}

.product-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.54)),
    radial-gradient(circle at 22% 22%, rgba(255, 255, 255, 0.34), transparent 30%);
}

.product-visual::after {
  content: "";
  position: absolute;
  inset: 10px;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius);
  pointer-events: none;
}

.product-store-name {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 2;
  border-radius: 999px;
  background: rgba(5, 5, 5, 0.78);
  color: white;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0;
  padding: 7px 10px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
}

.product-icon {
  position: relative;
  z-index: 2;
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  border: 4px solid rgba(255, 255, 255, 0.72);
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.22);
  color: white;
  font-size: 36px;
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.2);
}

.product-badge {
  position: absolute;
  right: 14px;
  top: 14px;
  z-index: 2;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #111827;
  font-size: 12px;
  font-weight: 950;
  padding: 7px 10px;
}

.product-card h2 {
  margin-bottom: 10px;
  font-size: 22px;
}

.product-card p {
  flex: 1;
  margin-bottom: 18px;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.price {
  color: #050505;
  font-size: 22px;
  font-weight: 950;
}

.price-stack {
  display: grid;
  gap: 2px;
  line-height: 1.15;
}

.price-stack span + span {
  color: #1268d6;
  font-size: 18px;
}

.price-stack small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 18px;
  padding-bottom: 70px;
}

.checkout-layout .page-hero,
.checkout-layout .order-form {
  width: 100%;
}

.order-form,
.payment-box {
  padding: 22px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

label {
  display: grid;
  gap: 8px;
  color: #3f4858;
  font-size: 14px;
  font-weight: 850;
}

label.wide {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  padding: 12px;
}

select option {
  background: var(--surface);
}

textarea {
  resize: vertical;
}

.receipt-upload {
  position: relative;
  display: grid;
  min-height: 124px;
  place-items: center;
  border: 2px dashed var(--line-strong);
  border-radius: var(--radius);
  background: #f3f7ff;
  text-align: center;
  cursor: pointer;
}

.receipt-upload input {
  position: absolute;
  inset: 0;
  cursor: pointer;
  opacity: 0;
}

.receipt-upload strong {
  color: var(--text);
  font-size: 18px;
}

.receipt-upload small {
  color: var(--muted);
}

.security-note {
  margin-top: 16px;
  border: 1px solid #bfe8d2;
  border-radius: var(--radius);
  background: #ebfff4;
  padding: 14px;
  color: #18633b;
}

.payment-box {
  position: sticky;
  top: 92px;
  align-self: start;
  border-top: 6px solid #050505;
}

.payment-box dl {
  display: grid;
  gap: 10px;
  margin: 0 0 18px;
}

.payment-methods {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.payment-box dl div {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
  padding: 12px;
}

.payment-box dt {
  margin-bottom: 4px;
  font-size: 12px;
  text-transform: uppercase;
}

.payment-box dd {
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--text);
  font-weight: 950;
}

.payment-box dd a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.payment-box dl p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.payment-box ol {
  margin: 0;
  padding-left: 20px;
}

.summary-box {
  margin-top: 18px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.success-view {
  display: grid;
  min-height: calc(100vh - 160px);
  place-items: center;
  padding: 42px 18px;
  text-align: center;
}

.success-view > * {
  max-width: 720px;
}

.success-mark {
  display: grid;
  width: 86px;
  height: 86px;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 999px;
  background: var(--green);
  color: white;
  font-size: 50px;
  font-weight: 950;
}

.success-view h1 {
  font-size: clamp(32px, 5vw, 58px);
}

.success-view p {
  color: var(--muted);
  line-height: 1.6;
}

.success-actions {
  justify-content: center;
}

.admin-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding-bottom: 16px;
}

.table-wrap {
  overflow: auto;
  margin-bottom: 64px;
}

.orders-table {
  width: 100%;
  min-width: 960px;
  border-collapse: collapse;
}

.orders-table th,
.orders-table td {
  border-bottom: 1px solid var(--line);
  padding: 14px;
  text-align: left;
  vertical-align: top;
}

.orders-table th {
  color: #050505;
  font-size: 12px;
  text-transform: uppercase;
}

.orders-table td {
  color: var(--muted);
}

.orders-table strong {
  color: var(--text);
}

.status-select {
  min-width: 160px;
}

.receipt-link {
  color: var(--blue);
  font-weight: 850;
}

.empty-state {
  display: none;
  padding: 34px;
  color: var(--muted);
  text-align: center;
}

.empty-state.visible {
  display: block;
}

.site-footer {
  display: grid;
  gap: 8px;
  padding: 28px clamp(16px, 4vw, 48px);
  border-top: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
}

.site-footer strong {
  color: var(--text);
}

.site-footer p {
  max-width: 920px;
  margin: 0;
}

@media (max-width: 980px) {
  .trust-strip,
  .game-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-grid,
  .steps,
  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .payment-box {
    position: static;
  }
}

@media (max-width: 700px) {
  .top-nav {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .mobile-nav.open {
    display: grid;
  }

  .hero {
    min-height: 520px;
    padding-top: 42px;
    padding-bottom: 42px;
  }

  .hero-media {
    background:
      linear-gradient(180deg, rgba(244, 246, 251, 0.94), rgba(244, 246, 251, 0.72) 52%, rgba(244, 246, 251, 0.98)),
      url("./assets/main.jpg") center / cover no-repeat;
  }

  h1 {
    font-size: 40px;
  }

  .trust-strip,
  .game-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .game-card {
    min-height: 370px;
  }

  .product-toolbar,
  .admin-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .segmented button,
  .ghost-button,
  .danger-button,
  .primary-action,
  .secondary-action {
    width: 100%;
  }

  .hero-actions,
  .success-actions {
    flex-direction: column;
  }
}

/* Supercell Store inspired Brawl cards */
body.brawl-store-page {
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.08) 0 36px, transparent 37px),
    radial-gradient(circle at 74% 28%, rgba(255, 255, 255, 0.08) 0 42px, transparent 43px),
    linear-gradient(180deg, #273dff 0, #245dff 58%, #8b2cff 100%);
}

body.brawl-store-page::before {
  background:
    radial-gradient(circle at 20px 20px, rgba(255, 255, 255, 0.06) 0 14px, transparent 15px),
    radial-gradient(circle at 62px 62px, rgba(255, 255, 255, 0.05) 0 20px, transparent 21px),
    linear-gradient(180deg, rgba(36, 60, 255, 0.74), rgba(115, 46, 255, 0.68));
  background-size: 160px 160px, 160px 160px, auto;
}

body.brawl-store-page .site-header {
  background: rgba(0, 0, 0, 0.88);
}

body.brawl-store-page .game-page-hero {
  border-width: 3px;
  border-color: rgba(0, 0, 0, 0.72);
  background: #10101a;
}

body.brawl-store-page .product-toolbar {
  border: 3px solid rgba(0, 0, 0, 0.55);
  background: rgba(8, 13, 34, 0.82);
}

body.brawl-store-page .product-grid {
  width: min(1180px, calc(100% - 32px));
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  padding-top: 34px;
}

body.brawl-store-page .product-card {
  min-height: 0;
  overflow: visible;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

body.brawl-store-page .product-card::before {
  display: none;
}

body.brawl-store-page .product-card:hover {
  transform: translateY(-8px) rotate(-0.6deg) scale(1.015);
}

body.brawl-store-page .product-visual {
  --offer-bg: linear-gradient(180deg, #65138a 0, #c638ef 58%, #ed0b62 100%);
  position: relative;
  display: block;
  height: 372px;
  min-height: 372px;
  margin: 0 0 12px;
  overflow: visible;
  border: 4px solid #050505;
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 58%, rgba(255, 255, 255, 0.35), transparent 15%),
    linear-gradient(180deg, transparent 0 64%, rgba(255, 255, 255, 0.42) 68%, transparent 74%),
    var(--offer-bg);
  box-shadow:
    inset 0 -7px 0 rgba(0, 0, 0, 0.22),
    0 15px 0 rgba(0, 0, 0, 0.18),
    0 24px 34px rgba(0, 0, 0, 0.28);
  clip-path: polygon(6% 0, 100% 0, 94% 100%, 0 100%);
  transform: skewX(-3deg);
}

body.brawl-store-page .product-card--skin-aqua .product-visual,
body.brawl-store-page .product-card--graffiti .product-visual {
  --offer-bg: linear-gradient(180deg, #9fe4ff 0, #32dbe8 58%, #00a34d 100%);
}

body.brawl-store-page .product-card--skin-blue .product-visual {
  --offer-bg: linear-gradient(180deg, #1e68d7 0, #43b7ff 58%, #d915df 100%);
}

body.brawl-store-page .product-card--skin-yellow .product-visual,
body.brawl-store-page .product-card--pass .product-visual {
  --offer-bg: linear-gradient(180deg, #ffda1f 0, #fff1a8 58%, #ff4a1f 100%);
}

body.brawl-store-page .product-card--special-skin .product-visual,
body.brawl-store-page .product-card--pro .product-visual {
  --offer-bg: linear-gradient(180deg, #151b28 0, #222a3c 62%, #050505 100%);
}

body.brawl-store-page .product-card--pass-plus .product-visual {
  --offer-bg: radial-gradient(circle at 50% 58%, #9c4cff 0, #53166e 58%, #17071f 100%);
}

body.brawl-store-page .product-card--gems .product-visual,
body.brawl-store-page .product-card--special .product-visual {
  --offer-bg: linear-gradient(135deg, #5ff5f0 0, #c8ff35 52%, #ffbf1e 100%);
}

body.brawl-store-page .product-visual::before {
  z-index: 0;
  background:
    repeating-conic-gradient(from 0deg at 50% 55%, rgba(255, 255, 255, 0.11) 0 8deg, transparent 8deg 16deg),
    radial-gradient(circle at 50% 52%, rgba(255, 255, 255, 0.22), transparent 34%);
  opacity: 0.7;
}

body.brawl-store-page .product-visual::after {
  display: none;
}

body.brawl-store-page .store-bonus {
  position: absolute;
  top: -28px;
  left: 28px;
  right: 24px;
  z-index: 7;
  display: grid;
  grid-template-columns: 42px 1fr 58px;
  align-items: center;
  min-height: 50px;
  color: white;
  filter: drop-shadow(0 5px 0 rgba(0, 0, 0, 0.35));
}

body.brawl-store-page .store-bonus span {
  display: grid;
  min-height: 38px;
  padding: 5px 12px 4px 18px;
  border: 3px solid #050505;
  border-left: 0;
  background:
    linear-gradient(110deg, #15151d 0 54%, #353545 55% 72%, #050505 73% 100%);
  transform: skewX(-8deg);
}

body.brawl-store-page .store-bonus img:first-child {
  width: 45px;
  height: 45px;
  object-fit: contain;
  transform: skewX(3deg);
}

body.brawl-store-page .store-bonus .bonus-item {
  justify-self: end;
  width: 54px;
  height: 42px;
  object-fit: contain;
  margin-left: -12px;
  filter: drop-shadow(0 4px 0 rgba(0, 0, 0, 0.25));
}

body.brawl-store-page .store-bonus small {
  color: #f7f7f7;
  font-size: 10px;
  font-weight: 950;
  line-height: 1;
}

body.brawl-store-page .store-bonus strong {
  color: white;
  font-size: 17px;
  font-weight: 950;
  line-height: 1.05;
  text-shadow: 0 3px 0 #050505;
}

body.brawl-store-page .product-timer {
  position: absolute;
  top: 44px;
  left: -7px;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 26px;
  border: 3px solid #050505;
  border-radius: 999px;
  background: #050505;
  color: white;
  font-size: 12px;
  font-weight: 950;
  padding: 0 8px 0 2px;
  transform: skewX(3deg);
}

body.brawl-store-page .product-timer img {
  position: static;
  width: 24px;
  height: 24px;
  object-fit: contain;
  transform: none;
}

body.brawl-store-page .product-discount {
  position: absolute;
  top: 38px;
  right: -10px;
  z-index: 6;
  min-width: 64px;
  border: 3px solid #050505;
  border-radius: 5px;
  background: linear-gradient(180deg, #ff3849, #d9001b);
  color: white;
  font-size: 18px;
  font-weight: 950;
  text-align: center;
  text-shadow: 0 2px 0 #050505;
  padding: 8px 6px;
  transform: rotate(-3deg) skewX(3deg);
}

body.brawl-store-page .product-store-name {
  top: 92px;
  left: 50%;
  z-index: 5;
  background: #4b50f2;
  color: white;
  border: 0;
  border-radius: 0;
  transform: translateX(-50%) skewX(3deg);
  text-shadow: 0 2px 0 #050505;
}

body.brawl-store-page .offer-card-title {
  position: absolute;
  top: 124px;
  left: 24px;
  right: 24px;
  z-index: 5;
  min-height: 0;
  margin: 0;
  color: white;
  font-size: clamp(21px, 2.2vw, 31px);
  line-height: 0.96;
  text-align: center;
  text-transform: uppercase;
  text-shadow:
    0 3px 0 #050505,
    2px 0 0 #050505,
    -2px 0 0 #050505;
  transform: skewX(3deg);
}

body.brawl-store-page .product-icon {
  position: absolute;
  inset: 158px 42px 76px;
  z-index: 4;
  display: grid;
  width: auto;
  height: auto;
  place-items: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: skewX(3deg);
}

body.brawl-store-page .product-card:hover .product-icon {
  transform: skewX(3deg) scale(1.04);
  box-shadow: none;
}

body.brawl-store-page .product-main-art {
  position: static;
  width: 100%;
  height: 100%;
  max-width: 220px;
  max-height: 150px;
  object-fit: contain;
  filter: drop-shadow(0 12px 0 rgba(0, 0, 0, 0.18));
  transform: none;
}

body.brawl-store-page .product-card--pass .product-main-art,
body.brawl-store-page .product-card--pass-plus .product-main-art,
body.brawl-store-page .product-card--pro .product-main-art {
  max-width: 230px;
  max-height: 170px;
}

body.brawl-store-page .product-card--gems .product-main-art {
  max-width: 128px;
  max-height: 128px;
}

body.brawl-store-page .product-card--special .product-main-art {
  max-width: 116px;
  max-height: 116px;
  transform: translateX(-44px);
}

body.brawl-store-page .product-extra-art {
  position: absolute;
  width: 82px;
  height: 82px;
  object-fit: contain;
  filter: drop-shadow(0 8px 0 rgba(0, 0, 0, 0.16));
}

body.brawl-store-page .product-extra-art.extra-1 {
  right: 44px;
  top: 24px;
}

body.brawl-store-page .product-extra-art.extra-2 {
  right: 18px;
  bottom: 8px;
}

body.brawl-store-page .product-extra-art.extra-3 {
  left: 24px;
  bottom: 10px;
}

body.brawl-store-page .store-card-footer {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transform: skewX(3deg);
}

body.brawl-store-page .store-points,
body.brawl-store-page .store-price {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  border: 3px solid #050505;
  border-radius: 8px;
  font-weight: 950;
}

body.brawl-store-page .store-points {
  min-width: 94px;
  background: #f6f6ff;
  color: #171829;
  font-size: 13px;
}

body.brawl-store-page .store-price {
  min-width: 126px;
  background: #20242e;
  color: white;
  font-size: 17px;
}

body.brawl-store-page .product-card > p {
  display: none;
}

body.brawl-store-page .product-meta {
  display: grid;
  gap: 10px;
  margin-top: 10px;
  border: 0;
  padding-top: 0;
}

body.brawl-store-page .product-meta .price {
  display: none;
}

body.brawl-store-page .product-meta .primary-action {
  min-height: 44px;
  border: 3px solid #050505;
  text-transform: uppercase;
}

@media (max-width: 1050px) {
  body.brawl-store-page .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  body.brawl-store-page .product-grid {
    grid-template-columns: 1fr;
  }

  body.brawl-store-page .product-visual {
    height: 344px;
    min-height: 344px;
  }

  body.brawl-store-page .offer-card-title {
    font-size: 24px;
  }
}

/* 2027 Brawl-style refresh */
:root {
  color-scheme: dark;
  --bg: #070b12;
  --surface: #111927;
  --surface-soft: #172133;
  --surface-glass: rgba(17, 25, 39, 0.78);
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.22);
  --text: #f8fbff;
  --muted: #9ca8bc;
  --blue: #25a9ff;
  --yellow: #ffdc34;
  --orange: #ff9d2e;
  --green: #55e06f;
  --danger: #ff5264;
  --shadow: 0 18px 34px rgba(0, 0, 0, 0.36);
  --shadow-soft: 0 10px 22px rgba(0, 0, 0, 0.24);
  --radius: 8px;
}

html {
  background: var(--bg);
}

body {
  background:
    linear-gradient(180deg, #071523 0, #0b1019 420px, #0b0f17 100%),
    var(--bg);
  color: var(--text);
  letter-spacing: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(115deg, rgba(37, 169, 255, 0.16), transparent 34%),
    linear-gradient(245deg, rgba(255, 220, 52, 0.12), transparent 38%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 16px);
  pointer-events: none;
}

.site-header {
  min-height: 76px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(7, 11, 18, 0.86);
  backdrop-filter: blur(22px) saturate(150%);
}

.brand {
  color: white;
  font-size: 16px;
}

.brand-mark {
  background: var(--yellow);
  color: #071019;
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.08),
    0 12px 28px rgba(255, 220, 52, 0.28);
}

.brand-mark::after {
  background: var(--blue);
}

.top-nav a,
.mobile-nav a {
  color: #c7d3e5;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.top-nav a:hover,
.mobile-nav a:hover,
.top-nav a.active,
.mobile-nav a.active {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  transform: translateY(-1px);
}

.mobile-nav {
  border-bottom: 1px solid var(--line);
  background: rgba(7, 11, 18, 0.96);
}

.menu-button {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.08);
}

.menu-button span {
  background: white;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1 {
  font-size: 64px;
  line-height: 0.98;
}

.page-hero h1,
.section-heading h2,
.payment-box h2 {
  font-size: 42px;
}

.hero {
  min-height: 640px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: #07111e;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    url("./assets/brawl-lightning-top.6d481d83.svg") 82% 16% / 190px auto no-repeat,
    url("./assets/brawl-lightning-bottom.843f4aee.svg") 62% 78% / 230px auto no-repeat;
  opacity: 0.42;
  pointer-events: none;
}

.hero-media {
  background:
    linear-gradient(90deg, rgba(7, 11, 18, 0.98), rgba(7, 11, 18, 0.76) 38%, rgba(7, 11, 18, 0.18)),
    linear-gradient(0deg, rgba(7, 11, 18, 1), rgba(7, 11, 18, 0) 48%),
    url("./assets/store-hero-original.png") center right / cover no-repeat;
  filter: saturate(1.16) contrast(1.08);
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  color: var(--yellow);
  letter-spacing: 0;
}

.hero-copy p:not(.eyebrow),
.page-hero p,
.section-heading p {
  color: #b8c5d8;
}

.primary-action,
.secondary-action,
.ghost-button,
.danger-button,
.text-button {
  position: relative;
  isolation: isolate;
  min-height: 48px;
  border-radius: 8px;
  overflow: hidden;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.primary-action {
  background: linear-gradient(180deg, #ffe15c, #ffb629);
  color: #11110b;
  box-shadow:
    inset 0 -3px 0 rgba(111, 59, 0, 0.26),
    0 14px 28px rgba(255, 182, 41, 0.22);
}

.primary-action::before {
  content: "";
  position: absolute;
  inset: -60% auto -60% -40%;
  z-index: -1;
  width: 36%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.62), transparent);
  transform: skewX(-20deg);
  transition: left 420ms ease;
}

.primary-action:hover::before {
  left: 115%;
}

.secondary-action,
.ghost-button,
.text-button {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: white;
}

.danger-button {
  border-color: rgba(255, 82, 100, 0.42);
  background: rgba(255, 82, 100, 0.12);
  color: #ff9ba6;
}

.primary-action:hover,
.secondary-action:hover,
.ghost-button:hover,
.danger-button:hover,
.text-button:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.primary-action:active,
.secondary-action:active,
.ghost-button:active,
.danger-button:active,
.text-button:active,
.segmented button:active {
  transform: translateY(1px) scale(0.99);
}

.trust-strip article,
.steps article,
.game-card,
.product-card,
.payment-box,
.order-form,
.table-wrap,
.disclaimer {
  border-color: rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.095), rgba(255, 255, 255, 0.045));
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(14px);
}

.trust-strip {
  margin-top: -42px;
}

.mini-icon,
.steps span {
  background: linear-gradient(180deg, #2ebcff, #146dff);
  color: white;
  box-shadow: 0 10px 18px rgba(20, 109, 255, 0.22);
}

.trust-strip h2,
.steps h3,
.game-card h2,
.product-card h2,
.orders-table th,
.site-footer strong {
  color: white;
}

.trust-strip p,
.steps p,
.game-card p,
.product-card p,
.payment-box li,
.payment-box dd,
.payment-box dt,
.summary-box,
.security-note,
.site-footer p,
.orders-table td {
  color: var(--muted);
}

.disclaimer {
  color: #ffe9a6;
  background: linear-gradient(180deg, rgba(255, 220, 52, 0.12), rgba(255, 157, 46, 0.08));
}

.page-hero {
  color: white;
}

.game-page-hero {
  min-height: 360px;
  scroll-margin-top: 104px;
  padding-top: 44px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #05080d;
  box-shadow: var(--shadow);
}

.game-page-hero::before {
  background:
    linear-gradient(90deg, rgba(5, 8, 13, 0.94), rgba(5, 8, 13, 0.58) 48%, rgba(5, 8, 13, 0.14)),
    linear-gradient(0deg, rgba(5, 8, 13, 0.92), transparent 48%),
    var(--page-image) center / cover no-repeat;
}

.game-page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("./assets/brawlercard-hero-bg.99024bb5.png") center / cover no-repeat;
  opacity: 0.28;
  mix-blend-mode: screen;
}

.game-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.game-card {
  min-height: 430px;
  transform: translateZ(0);
}

.game-card:hover {
  transform: translateY(-6px) scale(1.01);
}

.game-art {
  height: 276px;
}

.game-icon {
  top: 232px;
  border-radius: 8px;
  background: #071019;
  box-shadow:
    0 0 0 2px rgba(255, 220, 52, 0.7),
    var(--shadow-soft);
}

.product-toolbar {
  position: sticky;
  top: 76px;
  z-index: 20;
  margin-bottom: 18px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
  background: rgba(7, 11, 18, 0.74);
  backdrop-filter: blur(18px) saturate(140%);
}

.segmented {
  gap: 10px;
}

.segmented button {
  min-width: 104px;
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #c9d4e4;
  cursor: pointer;
  font-weight: 950;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.segmented button:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 220, 52, 0.46);
  color: white;
}

.segmented button.active {
  border-color: rgba(255, 220, 52, 0.86);
  background: linear-gradient(180deg, #ffe25c, #ffb72d);
  color: #11110b;
  box-shadow: 0 12px 24px rgba(255, 183, 45, 0.22);
}

.product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.product-card {
  --accent-a: #25a9ff;
  --accent-b: #ffe15c;
  position: relative;
  min-height: 420px;
  padding: 0 14px 16px;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.045)),
    #101824;
  transform: translateZ(0);
}

.product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent-a), transparent 78%), transparent 42%, color-mix(in srgb, var(--accent-b), transparent 82%));
  opacity: 0.9;
  pointer-events: none;
}

.product-card > * {
  position: relative;
  z-index: 1;
}

.product-card:hover {
  transform: translateY(-6px) scale(1.012);
}

.product-card--gems {
  --accent-a: #11bfff;
  --accent-b: #61ff66;
}

.product-card--pass {
  --accent-a: #ffcc28;
  --accent-b: #ff7b29;
}

.product-card--bundle {
  --accent-a: #ffca3c;
  --accent-b: #b4ff2d;
}

.product-card--pro {
  --accent-a: #ff416c;
  --accent-b: #36d8ff;
}

.product-card--skin,
.product-card--skin-bundle {
  --accent-a: #ff4fd8;
  --accent-b: #32ffb8;
}

.product-visual {
  min-height: 178px;
  margin: 0 -14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  background:
    linear-gradient(135deg, var(--accent-a), var(--accent-b)),
    #142032;
}

.product-visual > img {
  opacity: 0.9;
  filter: saturate(1.2) contrast(1.05);
}

.product-visual::before {
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.48)),
    url("./assets/brawlercard-hero-bg.99024bb5.png") center / cover no-repeat;
  opacity: 0.82;
}

.product-visual::after {
  inset: 10px;
  border-color: rgba(255, 255, 255, 0.3);
  border-radius: 8px;
}

.product-store-name,
.product-badge {
  border-radius: 8px;
  backdrop-filter: blur(10px);
}

.product-store-name {
  background: rgba(7, 11, 18, 0.72);
  color: white;
}

.product-badge {
  background: rgba(255, 220, 52, 0.95);
  color: #11110b;
}

.product-icon {
  width: 94px;
  height: 94px;
  border-radius: 8px;
  border: 4px solid rgba(255, 255, 255, 0.76);
  background: rgba(6, 10, 18, 0.38);
  box-shadow:
    inset 0 0 24px rgba(255, 255, 255, 0.1),
    0 16px 26px rgba(0, 0, 0, 0.28);
  transform: rotate(-4deg);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.product-card:hover .product-icon {
  transform: rotate(0deg) scale(1.06);
  box-shadow:
    inset 0 0 28px rgba(255, 255, 255, 0.16),
    0 18px 34px rgba(0, 0, 0, 0.36);
}

.product-icon .gem-icon-img {
  position: static;
  inset: auto;
  width: 76px;
  height: 76px;
  object-fit: contain;
  transform: none;
  filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.34));
}

.pass-icon-shape,
.skin-icon-shape {
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0.04)),
    linear-gradient(135deg, var(--accent-a), var(--accent-b));
  color: white;
  font-size: 22px;
  font-weight: 950;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.24);
}

.skin-icon-shape {
  color: #08101a;
  background:
    url("./assets/brawler_key.webp") center / 68px auto no-repeat,
    linear-gradient(135deg, #eaff2e, #2fffc3);
  font-size: 18px;
  align-items: end;
  padding-bottom: 8px;
}

.product-card h2 {
  min-height: 54px;
  margin-bottom: 8px;
  color: white;
  font-size: 21px;
  line-height: 1.18;
}

.product-card p {
  color: #aebacf;
  font-size: 14px;
}

.product-meta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  border-top-color: rgba(255, 255, 255, 0.12);
}

.product-meta .primary-action {
  width: 100%;
}

.price {
  color: white;
  font-size: 22px;
}

.price-stack {
  grid-template-columns: repeat(3, max-content);
  align-items: end;
  gap: 8px;
}

.price-stack span + span {
  color: var(--green);
  font-size: 16px;
}

.price-stack small {
  color: #7fd9ff;
}

.order-form,
.payment-box,
.table-wrap {
  background: rgba(17, 25, 39, 0.78);
}

input,
select,
textarea {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.07);
  color: white;
}

label {
  color: #b7c3d6;
}

label span {
  color: #c8d3e6;
}

input::placeholder,
textarea::placeholder {
  color: #78869a;
}

select option {
  background: #101824;
  color: white;
}

.receipt-upload {
  border-color: rgba(37, 169, 255, 0.5);
  background: rgba(37, 169, 255, 0.08);
}

.receipt-upload strong {
  color: white;
}

.security-note {
  border-color: rgba(85, 224, 111, 0.28);
  background: rgba(85, 224, 111, 0.1);
  color: #b8ffc6;
}

.payment-box {
  border-top-color: var(--yellow);
}

.payment-box dl div,
.summary-box {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
}

.payment-box dd,
.summary-box strong {
  color: white;
}

.payment-box dd a,
.receipt-link {
  color: #7fd9ff;
}

.orders-table th,
.orders-table td {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.site-footer {
  border-top-color: rgba(255, 255, 255, 0.12);
  background: rgba(7, 11, 18, 0.9);
}

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

.game-card,
.product-card,
.trust-strip article,
.steps article {
  animation: cardEnter 420ms ease both;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}

@media (max-width: 1180px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  h1 {
    font-size: 52px;
  }

  .product-grid,
  .game-grid,
  .trust-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-toolbar {
    position: static;
  }
}

@media (max-width: 700px) {
  h1 {
    font-size: 40px;
  }

  .page-hero h1,
  .section-heading h2,
  .payment-box h2 {
    font-size: 32px;
  }

  .hero {
    min-height: 560px;
  }

  .hero-media {
    background:
      linear-gradient(180deg, rgba(7, 11, 18, 0.78), rgba(7, 11, 18, 0.98)),
      url("./assets/store-hero-original.png") center / cover no-repeat;
  }

  .product-grid,
  .game-grid,
  .trust-strip,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .product-card h2 {
    min-height: 0;
  }

  .price-stack {
    grid-template-columns: 1fr;
  }

  .segmented button {
    min-width: 0;
  }
}

/* Final Brawl card polish: cleaner frames and safe text layout */
body.brawl-store-page .product-grid {
  width: min(1120px, calc(100% - 28px));
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px 28px;
  padding-top: 18px;
  align-items: start;
}

body.brawl-store-page .product-card {
  min-width: 0;
  overflow: visible;
}

body.brawl-store-page .product-card:hover {
  transform: translateY(-6px) scale(1.01);
}

body.brawl-store-page .product-visual {
  height: 386px;
  min-height: 386px;
  margin: 0 0 12px;
  overflow: hidden;
  border: 5px solid #050505;
  border-radius: 8px;
  clip-path: none;
  transform: none;
  background:
    radial-gradient(circle at 50% 56%, rgba(255, 255, 255, 0.34), transparent 17%),
    linear-gradient(180deg, transparent 0 63%, rgba(255, 255, 255, 0.4) 68%, transparent 75%),
    var(--offer-bg);
  box-shadow:
    inset 0 -7px 0 rgba(0, 0, 0, 0.22),
    0 10px 0 rgba(0, 0, 0, 0.28),
    0 22px 28px rgba(0, 0, 0, 0.28);
}

body.brawl-store-page .product-visual::before {
  background:
    radial-gradient(circle at 50% 54%, rgba(255, 255, 255, 0.18), transparent 28%),
    repeating-conic-gradient(from -8deg at 50% 58%, rgba(255, 255, 255, 0.07) 0 9deg, transparent 9deg 18deg);
  opacity: 0.48;
}

body.brawl-store-page .store-bonus {
  top: 10px;
  left: 12px;
  right: 12px;
  grid-template-columns: 38px minmax(0, 1fr) 48px;
  min-height: 44px;
  filter: drop-shadow(0 4px 0 rgba(0, 0, 0, 0.3));
}

body.brawl-store-page .store-bonus span {
  min-width: 0;
  min-height: 34px;
  padding: 5px 9px 4px 14px;
  border-width: 3px;
  transform: none;
}

body.brawl-store-page .store-bonus img:first-child {
  position: static;
  inset: auto;
  width: 39px;
  height: 39px;
  transform: none;
}

body.brawl-store-page .store-bonus .bonus-item {
  position: static;
  inset: auto;
  width: 46px;
  height: 38px;
  margin-left: -8px;
  transform: none;
}

body.brawl-store-page .store-bonus small {
  overflow: hidden;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.brawl-store-page .store-bonus strong {
  overflow: hidden;
  font-size: 15px;
  line-height: 1.05;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.brawl-store-page .product-timer {
  top: 61px;
  left: 10px;
  transform: none;
}

body.brawl-store-page .product-discount {
  top: 58px;
  right: 10px;
  transform: rotate(-2deg);
}

body.brawl-store-page .product-store-name {
  top: 95px;
  max-width: calc(100% - 44px);
  padding: 5px 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transform: translateX(-50%);
}

body.brawl-store-page .offer-card-title {
  top: 126px;
  left: 18px;
  right: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  max-height: 72px;
  padding: 0 4px;
  overflow: hidden;
  color: white;
  font-size: 24px;
  line-height: 1.05;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  text-wrap: balance;
  text-shadow:
    0 2px 0 #050505,
    1px 0 0 #050505,
    -1px 0 0 #050505,
    0 -1px 0 #050505;
  transform: none;
}

body.brawl-store-page .product-card--special .offer-card-title,
body.brawl-store-page .product-card--graffiti .offer-card-title {
  font-size: 21px;
  line-height: 1.08;
}

body.brawl-store-page .product-icon {
  inset: 194px 34px 74px;
  transform: none;
}

body.brawl-store-page .product-card:hover .product-icon {
  transform: scale(1.035);
}

body.brawl-store-page .product-main-art {
  max-width: 222px;
  max-height: 148px;
  filter: drop-shadow(0 10px 0 rgba(0, 0, 0, 0.16));
}

body.brawl-store-page .product-card--gems .product-icon {
  inset: 184px 26px 72px;
}

body.brawl-store-page .product-card--gems .product-main-art {
  width: 100%;
  height: 100%;
  max-width: 230px;
  max-height: 160px;
  object-fit: contain;
  transform: none;
}

body.brawl-store-page .product-card--skin-el-quarterback .product-main-art,
body.brawl-store-page .product-card--skin-scorekeeper-surge .product-main-art,
body.brawl-store-page .product-card--special-skin .product-main-art {
  max-width: 250px;
  max-height: 166px;
}

body.brawl-store-page .product-card--pass .product-main-art,
body.brawl-store-page .product-card--pass-plus .product-main-art,
body.brawl-store-page .product-card--pro .product-main-art {
  max-width: 230px;
  max-height: 162px;
}

body.brawl-store-page .product-card--special .product-main-art {
  max-width: 104px;
  max-height: 104px;
  transform: translateX(-46px);
}

body.brawl-store-page .product-card--special .product-icon {
  inset: 206px 18px 74px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 10px;
}

body.brawl-store-page .product-card--special .product-main-art,
body.brawl-store-page .product-card--special .product-extra-art {
  position: static;
  inset: auto;
  flex: 0 1 31%;
  width: 31%;
  height: auto;
  max-width: 88px;
  max-height: 88px;
  object-fit: contain;
  transform: none;
  filter: drop-shadow(0 8px 0 rgba(0, 0, 0, 0.16));
}

body.brawl-store-page .product-card--special .product-extra-art.extra-1,
body.brawl-store-page .product-card--special .product-extra-art.extra-2 {
  right: auto;
  top: auto;
  bottom: auto;
}

body.brawl-store-page .product-extra-art.extra-1 {
  right: 58px;
  top: 18px;
}

body.brawl-store-page .product-extra-art.extra-2 {
  right: 26px;
  bottom: 6px;
}

body.brawl-store-page .product-card--pass-plus .product-extra-art {
  width: 56px;
  height: 56px;
  opacity: 0.9;
}

body.brawl-store-page .product-card--pass-plus .product-extra-art.extra-1 {
  right: 42px;
  top: 8px;
}

body.brawl-store-page .product-card--pass-plus .product-extra-art.extra-2 {
  right: 12px;
  bottom: 2px;
}

body.brawl-store-page .product-card--pass-plus .product-extra-art.extra-3 {
  left: 20px;
  bottom: 8px;
}

body.brawl-store-page .store-card-footer {
  left: 14px;
  right: 14px;
  bottom: 14px;
  gap: 8px;
  transform: none;
}

body.brawl-store-page .store-points,
body.brawl-store-page .store-price {
  min-width: 0;
  max-width: 100%;
  min-height: 34px;
  padding: 0 10px;
  overflow: hidden;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.brawl-store-page .store-points {
  flex: 0 1 108px;
  font-size: 12px;
}

body.brawl-store-page .store-price {
  flex: 0 0 auto;
  min-width: 104px;
  font-size: 16px;
}

body.brawl-store-page .product-meta .primary-action {
  width: 100%;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 1050px) {
  body.brawl-store-page .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  body.brawl-store-page .product-grid {
    width: min(420px, calc(100% - 24px));
    grid-template-columns: 1fr;
    gap: 28px;
  }

  body.brawl-store-page .product-visual {
    height: 366px;
    min-height: 366px;
  }

  body.brawl-store-page .offer-card-title {
    font-size: 22px;
  }

  body.brawl-store-page .product-card--special .offer-card-title,
  body.brawl-store-page .product-card--graffiti .offer-card-title {
    font-size: 20px;
  }
}

/* Site-wide motion and richer multi-game interface */
@keyframes backgroundSweep {
  0% {
    background-position: 0 0, 0 0, 0 0;
  }
  100% {
    background-position: 240px 180px, -220px 120px, 0 0;
  }
}

@keyframes heroDrift {
  0% {
    transform: scale(1.02) translate3d(0, 0, 0);
    filter: saturate(1.12) contrast(1.04);
  }
  50% {
    transform: scale(1.06) translate3d(-18px, -8px, 0);
    filter: saturate(1.28) contrast(1.08);
  }
  100% {
    transform: scale(1.02) translate3d(0, 0, 0);
    filter: saturate(1.12) contrast(1.04);
  }
}

@keyframes streakMove {
  0% {
    transform: translateX(-12%) skewX(-18deg);
    opacity: 0.2;
  }
  50% {
    opacity: 0.58;
  }
  100% {
    transform: translateX(12%) skewX(-18deg);
    opacity: 0.2;
  }
}

body {
  position: relative;
  isolation: isolate;
  background:
    linear-gradient(180deg, #071523 0, #0b1019 420px, #0b0f17 100%),
    var(--bg);
}

body::before {
  background:
    linear-gradient(115deg, rgba(37, 169, 255, 0.2), transparent 34%),
    linear-gradient(245deg, rgba(255, 220, 52, 0.13), transparent 38%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 18px);
  background-size: 900px 680px, 760px 620px, 120px 120px;
  animation: backgroundSweep 18s linear infinite;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(100deg, transparent 0 38%, rgba(255, 255, 255, 0.08) 40%, transparent 43%),
    linear-gradient(118deg, transparent 0 62%, rgba(37, 169, 255, 0.12) 64%, transparent 67%);
  background-size: 760px 100%, 940px 100%;
  pointer-events: none;
  animation: streakMove 9s ease-in-out infinite alternate;
}

body.home-page {
  background:
    linear-gradient(180deg, #070b18 0, #1027be 520px, #8234ff 960px, #0b0f17 100%),
    #0b0f17;
}

.site-header {
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.22);
}

.site-header::after {
  content: "";
  position: absolute;
  left: clamp(16px, 4vw, 54px);
  right: clamp(16px, 4vw, 54px);
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 220, 52, 0.72), rgba(37, 169, 255, 0.62), transparent);
}

.hero {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  gap: clamp(18px, 4vw, 44px);
  align-items: end;
  min-height: 690px;
}

.hero-media {
  animation: heroDrift 18s ease-in-out infinite;
  transform-origin: center right;
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 44%;
  background: linear-gradient(180deg, transparent, rgba(9, 13, 24, 0.86));
  pointer-events: none;
}

.hero-flow {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-flow span {
  position: absolute;
  display: block;
  width: 240px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255, 220, 52, 0.72), transparent);
  box-shadow: 0 0 26px rgba(255, 220, 52, 0.36);
  transform: rotate(-18deg);
  animation: streakMove 5.8s ease-in-out infinite alternate;
}

.hero-flow span:nth-child(1) {
  top: 18%;
  right: 8%;
}

.hero-flow span:nth-child(2) {
  top: 42%;
  right: 23%;
  width: 190px;
  animation-delay: -1.4s;
  background: linear-gradient(90deg, transparent, rgba(37, 169, 255, 0.7), transparent);
}

.hero-flow span:nth-child(3) {
  bottom: 24%;
  right: 12%;
  width: 280px;
  animation-delay: -3s;
}

.hero-copy {
  z-index: 2;
}

.hero-copy h1 {
  max-width: 760px;
  text-shadow: 0 16px 32px rgba(0, 0, 0, 0.28);
}

.hero-console {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.06)),
    rgba(8, 13, 27, 0.78);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px) saturate(150%);
}

.hero-console::before,
.showcase-card::before,
.deal-grid a::before,
.receipt-card::before,
.game-card::after,
.product-card::after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  pointer-events: none;
}

.console-head,
.console-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.console-head {
  padding: 4px 4px 10px;
  color: #d9e4f7;
  font-size: 13px;
  font-weight: 950;
}

.console-head strong {
  color: var(--yellow);
}

.console-list {
  display: grid;
  gap: 10px;
}

.console-list a {
  min-height: 58px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.console-list a:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 220, 52, 0.62);
  background: rgba(255, 255, 255, 0.13);
}

.console-list span {
  color: white;
  font-weight: 900;
}

.console-list strong {
  color: #11110b;
  border-radius: 6px;
  background: linear-gradient(180deg, #ffe25c, #ffb72d);
  padding: 6px 8px;
  font-size: 12px;
}

.home-showcase,
.deal-wall,
.order-preview {
  width: min(1180px, calc(100% - 32px));
  margin: 34px auto 0;
}

.home-page .trust-strip {
  margin-top: 28px;
}

.home-page .section-panel,
.home-page .disclaimer {
  margin-top: 34px;
}

.home-showcase {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 16px;
}

.showcase-card {
  position: relative;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  overflow: hidden;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: #101824;
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.showcase-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 220, 52, 0.62);
  box-shadow: var(--shadow);
}

.showcase-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(7, 11, 18, 0.08), rgba(7, 11, 18, 0.88)),
    var(--showcase-image) center / cover no-repeat;
  transition: transform 500ms ease;
}

.showcase-card:hover::after {
  transform: scale(1.06);
}

.showcase-card > * {
  position: relative;
  z-index: 1;
}

.showcase-card--brawl {
  --showcase-image: url("./assets/arena-store-card.png");
}

.showcase-card--gems {
  --showcase-image: url("./assets/arena-store-card.png");
}

.showcase-card--passes {
  --showcase-image: url("./assets/item-pass-cover.png");
}

.showcase-card--skins {
  --showcase-image: url("./assets/item-skins-cover.png");
}

.showcase-card span {
  width: max-content;
  border-radius: 6px;
  background: rgba(255, 220, 52, 0.92);
  color: #11110b;
  font-size: 12px;
  font-weight: 950;
  padding: 6px 9px;
  text-transform: uppercase;
}

.showcase-card h2 {
  max-width: 360px;
  margin-bottom: 0;
  color: white;
  font-size: 30px;
  line-height: 1.04;
}

.showcase-card p {
  max-width: 390px;
  margin-bottom: 4px;
  color: #d3def0;
}

.showcase-card .primary-action {
  width: max-content;
  min-height: 42px;
  padding-inline: 18px;
}

.deal-wall {
  display: grid;
  gap: 18px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(37, 169, 255, 0.14), transparent 38%),
    rgba(10, 16, 30, 0.76);
  box-shadow: var(--shadow-soft);
}

.deal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.deal-grid a {
  position: relative;
  min-height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  overflow: hidden;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 220, 52, 0.18), transparent 42%),
    rgba(255, 255, 255, 0.07);
  transition: transform 180ms ease, background 180ms ease;
}

.deal-grid a:hover {
  transform: translateY(-4px);
  background:
    linear-gradient(135deg, rgba(255, 220, 52, 0.28), transparent 42%),
    rgba(255, 255, 255, 0.1);
}

.deal-tag {
  width: max-content;
  border: 3px solid #050505;
  border-radius: 6px;
  background: linear-gradient(180deg, #ff3849, #d9001b);
  color: white;
  font-size: 20px;
  font-weight: 950;
  padding: 6px 10px;
  text-shadow: 0 2px 0 #050505;
  transform: rotate(-2deg);
}

.deal-grid strong {
  color: white;
  font-size: 22px;
  line-height: 1.08;
}

.deal-grid small {
  color: #b8c5d8;
  font-size: 14px;
}

.order-preview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 20px;
  align-items: center;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(120deg, rgba(138, 84, 255, 0.18), transparent 42%),
    rgba(255, 255, 255, 0.07);
  box-shadow: var(--shadow-soft);
}

.order-preview h2 {
  max-width: 560px;
  margin-bottom: 10px;
  color: white;
  font-size: 34px;
  line-height: 1.06;
}

.order-preview p {
  max-width: 660px;
  color: #b8c5d8;
}

.receipt-card {
  position: relative;
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.06)),
    rgba(8, 13, 24, 0.88);
}

.receipt-card span {
  color: var(--yellow);
  font-size: 13px;
  font-weight: 950;
}

.receipt-card strong {
  color: white;
  font-size: 22px;
  line-height: 1.1;
}

.receipt-card p {
  margin: 0;
  color: #b8c5d8;
}

.catalog-page .page-hero,
.game-store-page:not(.brawl-store-page) .game-page-hero {
  overflow: hidden;
  border-color: rgba(255, 255, 255, 0.16);
  background:
    linear-gradient(120deg, rgba(37, 169, 255, 0.2), transparent 46%),
    rgba(10, 16, 30, 0.78);
  box-shadow: var(--shadow-soft);
}

.catalog-page .page-hero::after,
.game-store-page:not(.brawl-store-page) .game-page-hero::after {
  opacity: 0.38;
}

.game-meta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  margin: 8px 0 16px;
}

.game-meta span {
  width: max-content;
  max-width: 100%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: #dbe6f6;
  font-size: 12px;
  font-weight: 850;
  padding: 6px 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.game-card {
  overflow: hidden;
}

.game-card::after {
  inset: 12px;
}

.game-card .primary-action {
  margin-top: auto;
}

.game-store-page:not(.brawl-store-page) .product-grid {
  width: min(1180px, calc(100% - 32px));
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.game-store-page:not(.brawl-store-page) .product-card {
  min-height: 440px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.game-store-page:not(.brawl-store-page) .product-visual {
  min-height: 210px;
}

.game-store-page:not(.brawl-store-page) .product-icon {
  width: 110px;
  height: 110px;
}

.game-store-page:not(.brawl-store-page) .product-main-art {
  max-width: 150px;
  max-height: 150px;
  object-fit: contain;
}

.game-store-page:not(.brawl-store-page) .product-card h2 {
  min-height: 50px;
  overflow-wrap: anywhere;
}

.product-grid.product-grid--single,
.product-grid.product-grid--few {
  justify-content: center;
}

.product-grid.product-grid--single {
  grid-template-columns: minmax(310px, 390px);
}

.product-grid.product-grid--few {
  grid-template-columns: repeat(2, minmax(310px, 390px));
}

body.brawl-store-page .product-grid.product-grid--single {
  grid-template-columns: minmax(310px, 390px);
}

body.brawl-store-page .product-grid.product-grid--few {
  grid-template-columns: repeat(2, minmax(310px, 390px));
}

@media (max-width: 1050px) {
  .hero,
  .home-showcase,
  .order-preview {
    grid-template-columns: 1fr;
  }

  .hero-console {
    max-width: 520px;
  }

  .game-store-page:not(.brawl-store-page) .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .hero {
    min-height: 680px;
    padding-top: 82px;
  }

  .hero-copy h1 {
    font-size: 40px;
  }

  .hero-console,
  .deal-wall,
  .order-preview {
    padding: 16px;
  }

  .home-showcase,
  .deal-grid,
  .game-store-page:not(.brawl-store-page) .product-grid {
    grid-template-columns: 1fr;
  }

  .showcase-card {
    min-height: 260px;
  }

  .deal-grid {
    display: grid;
  }
}

/* Legal and support section */
body.info-page {
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 216, 74, 0.14), transparent 28%),
    radial-gradient(circle at 86% 12%, rgba(45, 167, 255, 0.16), transparent 32%),
    linear-gradient(135deg, #081120 0%, #160f31 46%, #07111f 100%);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 6px;
}

.footer-links a,
.legal-card a {
  color: #ffd84a;
  text-decoration: none;
}

.footer-links a:hover,
.legal-card a:hover {
  color: #ffffff;
}

.legal-hero {
  position: relative;
  overflow: hidden;
  margin-top: 24px;
  padding: clamp(34px, 5vw, 58px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(120deg, rgba(255, 216, 74, 0.18), transparent 42%),
    linear-gradient(135deg, rgba(45, 167, 255, 0.16), rgba(158, 91, 255, 0.18)),
    rgba(10, 15, 28, 0.88);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.28);
}

.legal-hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -45% 34%;
  height: 260px;
  transform: rotate(-8deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  opacity: 0.55;
  pointer-events: none;
}

.legal-quick-links {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.legal-grid {
  width: min(1180px, calc(100% - 32px));
  display: grid;
  gap: 18px;
  margin: 22px auto 56px;
}

.legal-card {
  scroll-margin-top: 104px;
  padding: clamp(22px, 3.2vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03)),
    rgba(9, 13, 27, 0.9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 18px 44px rgba(0, 0, 0, 0.22);
}

.support-card {
  background:
    linear-gradient(135deg, rgba(45, 167, 255, 0.18), transparent 44%),
    linear-gradient(150deg, rgba(255, 216, 74, 0.14), rgba(9, 13, 27, 0.9));
}

.legal-card h2 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.08;
}

.legal-card p,
.legal-list p,
.support-list dd {
  color: rgba(232, 238, 248, 0.78);
  line-height: 1.64;
}

.legal-card > p {
  max-width: 980px;
}

.support-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 22px 0 0;
}

.support-list div {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.support-list dt {
  color: #ffffff;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 12px;
}

.support-list dd {
  margin: 8px 0 0;
}

.legal-list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 20px 0 0;
  list-style: none;
  counter-reset: legal-counter;
}

.legal-list li {
  counter-increment: legal-counter;
  position: relative;
  padding: 18px 18px 18px 64px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.legal-list li::before {
  content: counter(legal-counter, decimal-leading-zero);
  position: absolute;
  top: 18px;
  left: 18px;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 7px;
  color: #07111f;
  background: linear-gradient(135deg, #ffd84a, #25a9ff);
  font-size: 12px;
  font-weight: 900;
}

.legal-list strong {
  display: block;
  color: #ffffff;
  font-size: 18px;
}

.legal-list p {
  margin: 8px 0 0;
}

.terms-consent {
  display: grid;
  grid-template-columns: 22px 1fr;
  align-items: start;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 216, 74, 0.28);
  border-radius: 8px;
  background: rgba(255, 216, 74, 0.08);
  color: rgba(232, 238, 248, 0.86);
  line-height: 1.5;
}

.terms-consent input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: #ffd84a;
}

.terms-consent a {
  color: #ffd84a;
  text-decoration: none;
}

.terms-consent a:hover {
  color: #ffffff;
}

@media (max-width: 820px) {
  .support-list {
    grid-template-columns: 1fr;
  }

  .legal-list li {
    padding-left: 18px;
    padding-top: 62px;
  }
}

/* Final visual cleanup requested: richer background, clean catalog, photo deals */
@keyframes auroraSlide {
  0% {
    background-position: 0% 18%, 100% 4%, 0 0;
  }

  50% {
    background-position: 42% 26%, 58% 18%, 80px 120px;
  }

  100% {
    background-position: 100% 10%, 0% 26%, 160px 240px;
  }
}

@keyframes softFloat {
  0%, 100% {
    transform: translate3d(0, 0, 0) rotate(-10deg);
    opacity: 0.36;
  }

  50% {
    transform: translate3d(-38px, 24px, 0) rotate(-4deg);
    opacity: 0.58;
  }
}

body {
  background:
    radial-gradient(circle at 15% 8%, rgba(255, 216, 74, 0.2), transparent 28%),
    radial-gradient(circle at 86% 12%, rgba(45, 167, 255, 0.23), transparent 34%),
    linear-gradient(145deg, #07111f 0%, #101a43 42%, #111024 72%, #070b13 100%);
}

body::before {
  background:
    radial-gradient(620px 360px at 10% 12%, rgba(255, 216, 74, 0.18), transparent 64%),
    radial-gradient(700px 420px at 88% 10%, rgba(49, 192, 255, 0.18), transparent 66%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 28px);
  background-size: 980px 720px, 1040px 760px, 130px 130px;
  animation: auroraSlide 24s ease-in-out infinite alternate;
}

body::after {
  background:
    linear-gradient(112deg, transparent 0 35%, rgba(255, 255, 255, 0.08) 38%, transparent 42%),
    linear-gradient(112deg, transparent 0 58%, rgba(255, 216, 74, 0.13) 61%, transparent 64%),
    linear-gradient(112deg, transparent 0 76%, rgba(45, 167, 255, 0.12) 79%, transparent 82%);
  background-size: 960px 100%, 1180px 100%, 840px 100%;
  animation: softFloat 14s ease-in-out infinite;
}

body.home-page {
  background:
    radial-gradient(circle at 20% 10%, rgba(255, 216, 74, 0.24), transparent 28%),
    radial-gradient(circle at 86% 6%, rgba(45, 167, 255, 0.26), transparent 34%),
    radial-gradient(circle at 74% 52%, rgba(184, 79, 255, 0.18), transparent 36%),
    linear-gradient(180deg, #07101e 0%, #132cba 520px, #7d32f4 980px, #08101d 100%);
}

.hero {
  grid-template-columns: minmax(0, 820px);
  align-items: end;
  min-height: 650px;
  background:
    linear-gradient(90deg, rgba(6, 9, 18, 0.96), rgba(6, 9, 18, 0.42) 54%, rgba(6, 9, 18, 0.05)),
    linear-gradient(180deg, rgba(6, 9, 18, 0.2), rgba(6, 9, 18, 0.82)),
    url("./assets/arena-store-card.png") center / cover no-repeat;
}

.hero-media {
  opacity: 0.5;
  mix-blend-mode: screen;
}

.hero-copy {
  max-width: 820px;
}

.hero-copy h1 {
  max-width: 760px;
}

.deal-wall {
  position: relative;
  overflow: hidden;
  padding: clamp(22px, 3vw, 34px);
  background:
    linear-gradient(130deg, rgba(255, 216, 74, 0.14), transparent 34%),
    linear-gradient(145deg, rgba(45, 167, 255, 0.18), rgba(108, 72, 255, 0.18)),
    rgba(9, 14, 28, 0.86);
}

.deal-wall::after {
  content: "";
  position: absolute;
  inset: -40% -20% auto 42%;
  height: 260px;
  transform: rotate(-12deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.16), transparent);
  pointer-events: none;
}

.deal-grid a {
  min-height: 260px;
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(5, 8, 15, 0.04), rgba(5, 8, 15, 0.9)),
    rgba(255, 255, 255, 0.07);
}

.deal-media {
  position: absolute;
  inset: 12px 12px auto 12px;
  height: 138px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 7px;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.18), transparent 62%),
    rgba(255, 255, 255, 0.06);
}

.deal-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 216, 74, 0.16), transparent 44%, rgba(45, 167, 255, 0.14));
}

.deal-media img {
  position: relative;
  z-index: 1;
  max-width: 78%;
  max-height: 128px;
  object-fit: contain;
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.32));
}

.deal-media--combo {
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 8px;
}

.deal-media--combo img {
  max-width: 100%;
  max-height: 98px;
}

.deal-tag,
.deal-grid strong,
.deal-grid small {
  position: relative;
  z-index: 1;
}

.deal-tag {
  margin-top: 136px;
}

.order-preview {
  position: relative;
  overflow: hidden;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  padding: clamp(24px, 3.4vw, 38px);
  background:
    linear-gradient(120deg, rgba(45, 167, 255, 0.17), transparent 38%),
    radial-gradient(circle at 82% 18%, rgba(255, 216, 74, 0.16), transparent 34%),
    rgba(8, 13, 26, 0.88);
}

.order-preview::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -150px;
  top: -170px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45, 167, 255, 0.16), transparent 64%);
  pointer-events: none;
}

.order-preview > * {
  position: relative;
  z-index: 1;
}

.order-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.order-badges span {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
  padding: 8px 10px;
}

.receipt-card {
  gap: 12px;
  padding: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.05)),
    linear-gradient(135deg, rgba(255, 216, 74, 0.1), rgba(45, 167, 255, 0.08)),
    rgba(6, 10, 20, 0.92);
}

.receipt-lines {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 2px 0;
  list-style: none;
}

.receipt-lines li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.06);
}

.receipt-lines span {
  color: #b8c5d8;
  font-size: 12px;
}

.receipt-lines strong {
  color: #ffffff;
  font-size: 13px;
  text-align: right;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.site-footer p,
.home-page .disclaimer {
  display: none;
}

.legal-notice-card {
  border-color: rgba(255, 216, 74, 0.22);
  background:
    linear-gradient(135deg, rgba(255, 216, 74, 0.14), transparent 42%),
    rgba(9, 13, 27, 0.9);
}

.catalog-page .game-grid {
  align-items: stretch;
  gap: 22px;
}

.catalog-page .game-card {
  display: grid;
  grid-template-rows: 230px auto auto 1fr auto;
  min-height: 470px;
  padding: 0 0 18px;
  border-radius: 8px;
  transform: none;
}

.catalog-page .game-card:hover {
  transform: translateY(-4px);
}

.catalog-page .game-art {
  height: 230px;
}

.catalog-page .game-icon {
  margin-top: -28px;
  margin-left: 18px;
  z-index: 2;
}

.catalog-page .game-card h2 {
  min-height: 56px;
  margin: 10px 0 6px;
  line-height: 1.08;
}

.catalog-page .game-card p {
  min-height: 72px;
}

.catalog-page .game-meta {
  align-self: end;
  padding-inline: 18px;
}

.catalog-page .game-card .primary-action {
  align-self: end;
}

@media (max-width: 1050px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .deal-grid {
    grid-template-columns: 1fr;
  }

  .deal-grid a {
    min-height: 230px;
  }
}

@media (max-width: 700px) {
  .hero {
    min-height: 620px;
  }

  .catalog-page .game-card {
    min-height: 430px;
  }

  .catalog-page .game-art {
    height: 210px;
  }

  .order-preview {
    grid-template-columns: 1fr;
  }
}

/* Brawl-only catalog */
.brawl-catalog-hero {
  position: relative;
  overflow: hidden;
  margin-top: 24px;
  padding: clamp(34px, 5vw, 62px);
  border: 3px solid rgba(0, 0, 0, 0.68);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(6, 9, 18, 0.94), rgba(6, 9, 18, 0.55) 48%, rgba(6, 9, 18, 0.18)),
    linear-gradient(180deg, rgba(6, 9, 18, 0.1), rgba(6, 9, 18, 0.82)),
    url("./assets/arena-store-card.png") center / cover no-repeat;
  box-shadow: 0 22px 0 rgba(0, 0, 0, 0.18), var(--shadow-soft);
}

.brawl-catalog-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 24%, rgba(255, 216, 74, 0.2), transparent 32%),
    linear-gradient(115deg, transparent 0 58%, rgba(255, 255, 255, 0.12) 60%, transparent 64%);
  pointer-events: none;
}

.brawl-catalog-hero > * {
  position: relative;
  z-index: 1;
}

.brawl-catalog-grid {
  width: min(1180px, calc(100% - 32px));
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin: 24px auto 64px;
}

.brawl-section-card {
  position: relative;
  min-height: 420px;
  display: grid;
  grid-template-rows: 168px 1fr;
  overflow: hidden;
  border: 3px solid rgba(0, 0, 0, 0.78);
  border-radius: 8px;
  background:
    linear-gradient(180deg, var(--catalog-a, #31c4ff), var(--catalog-b, #8e5cff));
  box-shadow: 0 10px 0 rgba(0, 0, 0, 0.2), var(--shadow-soft);
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.brawl-section-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 0 rgba(0, 0, 0, 0.18), var(--shadow);
}

.brawl-section-card::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 5px;
  pointer-events: none;
}

.brawl-section-card--gems {
  --catalog-a: #52f06e;
  --catalog-b: #ffe150;
}

.brawl-section-card--passes {
  --catalog-a: #6e16ab;
  --catalog-b: #f43bd1;
}

.brawl-section-card--specials {
  --catalog-a: #ffdf45;
  --catalog-b: #ff6a24;
}

.brawl-section-card--skins {
  --catalog-a: #2d8cff;
  --catalog-b: #cf24e8;
}

.brawl-section-card--graffiti {
  --catalog-a: #101820;
  --catalog-b: #20dc6f;
}

.brawl-section-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  padding: 20px 14px 8px;
}

.brawl-section-art::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 8px;
  height: 20px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.22);
  filter: blur(8px);
}

.brawl-section-art img {
  position: relative;
  z-index: 1;
  max-width: 36%;
  max-height: 132px;
  object-fit: contain;
  filter: drop-shadow(0 12px 0 rgba(0, 0, 0, 0.12)) drop-shadow(0 14px 18px rgba(0, 0, 0, 0.24));
}

.brawl-section-body {
  display: grid;
  grid-template-rows: auto auto 1fr auto auto;
  gap: 10px;
  padding: 0 16px 18px;
  min-width: 0;
}

.brawl-section-body > span {
  width: max-content;
  max-width: 100%;
  border: 3px solid #050505;
  border-radius: 6px;
  background: linear-gradient(180deg, #ff3849, #d9001b);
  color: #ffffff;
  font-size: 16px;
  font-weight: 950;
  padding: 6px 10px;
  text-shadow: 0 2px 0 #050505;
  transform: rotate(-2deg);
}

.brawl-section-body h2 {
  min-width: 0;
  margin: 0;
  color: #ffffff;
  font-size: clamp(24px, 2vw, 30px);
  line-height: 1.02;
  text-shadow: 0 3px 0 #050505;
  overflow-wrap: anywhere;
}

.brawl-section-body p {
  min-width: 0;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.45;
}

.brawl-section-body .game-meta {
  margin: 0;
}

.brawl-section-body .primary-action {
  width: 100%;
}

@media (max-width: 1180px) {
  .brawl-catalog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .brawl-catalog-grid {
    grid-template-columns: 1fr;
  }

  .brawl-section-card {
    min-height: 360px;
  }
}

/* UI/UX Pro Max final polish */
:root {
  --premium-bg: #050914;
  --premium-panel: rgba(12, 19, 35, 0.86);
  --premium-panel-strong: rgba(16, 27, 50, 0.94);
  --premium-line: rgba(255, 255, 255, 0.16);
  --premium-line-hot: rgba(255, 211, 61, 0.64);
  --premium-text: #ffffff;
  --premium-muted: rgba(235, 241, 255, 0.76);
  --premium-yellow: #ffd33d;
  --premium-cyan: #24d4ff;
  --premium-pink: #ff3d7f;
  --premium-green: #46f56f;
  --premium-shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
  --premium-pop: 0 10px 0 rgba(0, 0, 0, 0.34), 0 26px 50px rgba(0, 0, 0, 0.28);
}

body {
  background:
    linear-gradient(120deg, rgba(255, 211, 61, 0.08), transparent 22%),
    linear-gradient(240deg, rgba(36, 212, 255, 0.1), transparent 28%),
    repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.026) 0 1px, transparent 1px 72px),
    radial-gradient(ellipse at 50% -20%, rgba(45, 140, 255, 0.34), transparent 46%),
    #050914;
  color: var(--premium-text);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 0 11%, rgba(255, 211, 61, 0.08) 11% 12%, transparent 12% 100%),
    linear-gradient(180deg, transparent 0 18%, rgba(36, 212, 255, 0.08) 18% 19%, transparent 19% 100%);
  background-size: 420px 320px;
  animation: premium-grid-drift 18s linear infinite;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(5, 9, 20, 0.02), rgba(5, 9, 20, 0.82)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 4px);
}

@keyframes premium-grid-drift {
  from {
    background-position: 0 0;
  }

  to {
    background-position: 420px 320px;
  }
}

.site-header {
  min-height: 76px;
  border-bottom-color: rgba(255, 211, 61, 0.24);
  background:
    linear-gradient(90deg, rgba(5, 9, 20, 0.96), rgba(9, 17, 33, 0.92)),
    rgba(5, 9, 20, 0.92);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.24);
}

.brand-mark {
  border: 3px solid rgba(255, 255, 255, 0.88);
  box-shadow: 0 0 0 3px rgba(255, 211, 61, 0.2), 0 14px 32px rgba(255, 211, 61, 0.22);
}

.desktop-nav a,
.mobile-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border: 1px solid transparent;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.desktop-nav a:hover,
.mobile-nav a:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 211, 61, 0.28);
  background: rgba(255, 255, 255, 0.12);
}

.hero {
  width: min(1220px, calc(100% - 32px));
  min-height: clamp(610px, 74dvh, 820px);
  margin: 28px auto 0;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.72fr);
  align-items: center;
  gap: clamp(22px, 4vw, 48px);
  padding: clamp(34px, 6vw, 74px);
  overflow: hidden;
  border: 4px solid rgba(0, 0, 0, 0.72);
  border-radius: 8px;
  box-shadow: var(--premium-pop);
  isolation: isolate;
}

.hero::before {
  background:
    linear-gradient(90deg, rgba(5, 9, 20, 0.94) 0%, rgba(5, 9, 20, 0.76) 40%, rgba(5, 9, 20, 0.38) 100%),
    linear-gradient(180deg, rgba(5, 9, 20, 0.12), rgba(5, 9, 20, 0.72));
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -8% -24% 36%;
  height: 62%;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(132deg, transparent 0 28%, rgba(255, 211, 61, 0.36) 29% 31%, transparent 32% 100%),
    linear-gradient(64deg, transparent 0 58%, rgba(36, 212, 255, 0.32) 59% 61%, transparent 62% 100%);
  filter: drop-shadow(0 20px 28px rgba(0, 0, 0, 0.28));
  transform: skewX(-10deg);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 760px;
  align-self: center;
}

.hero-copy h1 {
  max-width: 720px;
  margin-bottom: 20px;
  text-wrap: balance;
  text-shadow: 0 5px 0 rgba(0, 0, 0, 0.38), 0 24px 48px rgba(0, 0, 0, 0.46);
}

.hero-copy p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.84);
}

.hero-console {
  position: relative;
  z-index: 3;
  align-self: center;
  width: min(100%, 440px);
  justify-self: end;
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 3px solid rgba(0, 0, 0, 0.72);
  border-radius: 8px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04)),
    rgba(7, 14, 29, 0.88);
  box-shadow: 0 10px 0 rgba(0, 0, 0, 0.34), 0 30px 70px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(22px);
}

.hero-console::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 5px;
  pointer-events: none;
}

.console-top,
.console-status {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.08);
}

.console-top span,
.console-status span,
.console-deal small {
  color: rgba(235, 241, 255, 0.72);
}

.console-top strong,
.console-status strong {
  color: var(--premium-yellow);
}

.console-deal {
  position: relative;
  z-index: 1;
  min-height: 100px;
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 2px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(36, 212, 255, 0.16), rgba(255, 211, 61, 0.1)),
    rgba(255, 255, 255, 0.08);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.console-deal:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 211, 61, 0.54);
  background:
    linear-gradient(135deg, rgba(255, 211, 61, 0.18), rgba(36, 212, 255, 0.16)),
    rgba(255, 255, 255, 0.1);
}

.console-deal img {
  width: 100%;
  max-height: 96px;
  object-fit: contain;
  filter: drop-shadow(0 16px 22px rgba(0, 0, 0, 0.28));
}

.console-deal strong {
  display: block;
  min-width: 0;
  color: #ffffff;
  font-size: 19px;
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.console-deal--main {
  min-height: 142px;
  grid-template-columns: 124px minmax(0, 1fr);
  border-color: rgba(255, 211, 61, 0.34);
}

.console-deal--main strong {
  font-size: 24px;
}

.console-discount {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  padding: 6px 10px;
  border: 3px solid rgba(0, 0, 0, 0.78);
  border-radius: 6px;
  background: linear-gradient(180deg, #ff4558, #d4001d);
  color: #ffffff;
  font-weight: 950;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.64);
  transform: rotate(2deg);
}

.console-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.console-grid .console-deal {
  min-height: 154px;
  grid-template-columns: 1fr;
  align-content: end;
}

.console-grid .console-deal img {
  height: 76px;
}

.primary-action,
.secondary-action,
.ghost-button,
.text-button,
button {
  cursor: pointer;
  touch-action: manipulation;
}

.primary-action {
  position: relative;
  min-height: 48px;
  overflow: hidden;
  border: 3px solid rgba(0, 0, 0, 0.82);
  color: #111827;
  background:
    linear-gradient(180deg, #fff472, #ffd33d 52%, #ffaf24);
  box-shadow: 0 6px 0 rgba(0, 0, 0, 0.38), 0 18px 34px rgba(255, 178, 36, 0.24);
  transition: transform 170ms ease, box-shadow 170ms ease, filter 170ms ease;
}

.primary-action::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 -42%;
  width: 36%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.56), transparent);
  transform: skewX(-16deg);
  transition: left 320ms ease;
}

.primary-action:hover {
  transform: translateY(-3px);
  box-shadow: 0 9px 0 rgba(0, 0, 0, 0.38), 0 24px 44px rgba(255, 178, 36, 0.32);
  filter: saturate(1.08);
}

.primary-action:hover::after {
  left: 112%;
}

.primary-action:active {
  transform: translateY(2px);
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.42), 0 12px 24px rgba(255, 178, 36, 0.22);
}

.primary-action:disabled {
  cursor: wait;
  opacity: 0.78;
  transform: none;
}

.secondary-action,
.ghost-button,
.text-button {
  min-height: 44px;
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.09);
  color: #ffffff;
  transition: transform 170ms ease, border-color 170ms ease, background 170ms ease;
}

.secondary-action:hover,
.ghost-button:hover,
.text-button:hover {
  transform: translateY(-2px);
  border-color: rgba(36, 212, 255, 0.44);
  background: rgba(36, 212, 255, 0.12);
}

.home-showcase,
.trust-strip,
.deal-wall,
.order-preview,
.checkout-layout,
.game-layout,
.legal-layout {
  width: min(1220px, calc(100% - 32px));
}

.showcase-card,
.deal-grid a,
.trust-strip article,
.order-preview,
.payment-box,
.order-form,
.page-hero.compact,
.brawl-section-card {
  border-radius: 8px;
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: var(--premium-shadow);
}

.showcase-card,
.deal-grid a,
.trust-strip article,
.order-preview,
.page-hero.compact {
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04)),
    var(--premium-panel);
  backdrop-filter: blur(18px);
}

.trust-strip article {
  min-height: 154px;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.trust-strip article:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 211, 61, 0.42);
  background:
    linear-gradient(150deg, rgba(255, 211, 61, 0.12), rgba(36, 212, 255, 0.07)),
    var(--premium-panel-strong);
}

.mini-icon {
  background: #ffffff;
  color: #081120;
  box-shadow: 0 5px 0 rgba(0, 0, 0, 0.34);
}

.deal-wall {
  padding: clamp(26px, 4vw, 44px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(135deg, rgba(36, 212, 255, 0.12), transparent 34%),
    linear-gradient(225deg, rgba(255, 61, 127, 0.11), transparent 34%),
    rgba(7, 13, 27, 0.72);
  box-shadow: var(--premium-shadow);
}

.deal-grid a {
  min-height: 310px;
  border: 3px solid rgba(0, 0, 0, 0.72);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.deal-grid a:hover {
  transform: translateY(-7px) rotate(-0.6deg);
  box-shadow: var(--premium-pop);
}

.deal-media img {
  object-fit: contain;
}

.order-preview {
  position: relative;
  overflow: hidden;
  border-top: 4px solid var(--premium-yellow);
  background:
    linear-gradient(135deg, rgba(255, 211, 61, 0.13), transparent 28%),
    linear-gradient(225deg, rgba(36, 212, 255, 0.12), transparent 30%),
    var(--premium-panel-strong);
}

.order-preview::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 22px);
  opacity: 0.42;
}

.order-badges span,
.game-meta span,
.price-stack span {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
}

.checkout-layout {
  align-items: start;
  gap: clamp(18px, 3vw, 32px);
}

.checkout-page .page-hero.compact {
  border-top: 4px solid var(--premium-cyan);
}

.order-form,
.payment-box {
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.035)),
    rgba(10, 18, 34, 0.9);
  backdrop-filter: blur(20px);
}

.order-form label span,
.platega-method-card span,
.payment-box dt {
  color: rgba(255, 255, 255, 0.76);
}

.order-form input,
.order-form select,
.order-form textarea {
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.order-form input:focus,
.order-form select:focus,
.order-form textarea:focus {
  border-color: rgba(36, 212, 255, 0.78);
  background: rgba(255, 255, 255, 0.11);
  box-shadow: 0 0 0 4px rgba(36, 212, 255, 0.13);
}

.platega-method-card {
  min-height: 98px;
  display: grid !important;
  grid-template-columns: 54px 1fr;
  grid-template-areas:
    "icon label"
    "icon title"
    "icon hint";
  align-content: center;
  column-gap: 14px;
  row-gap: 4px;
  padding: 14px 16px;
  border: 2px solid rgba(255, 211, 61, 0.66);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 211, 61, 0.22), rgba(36, 212, 255, 0.13)),
    rgba(255, 255, 255, 0.09);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12), 0 14px 30px rgba(0, 0, 0, 0.18);
}

.platega-method-card::before {
  content: "PAY";
  grid-area: icon;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  align-self: center;
  border: 3px solid rgba(0, 0, 0, 0.74);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff, #ffd33d);
  color: #07111f;
  font-size: 13px;
  font-weight: 950;
  box-shadow: 0 5px 0 rgba(0, 0, 0, 0.28);
}

.platega-method-card span {
  grid-area: label;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.platega-method-card strong {
  grid-area: title;
  color: #ffffff;
  font-size: 24px;
  line-height: 1.05;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.42);
}

.platega-method-card small {
  grid-area: hint;
  color: var(--premium-muted);
  line-height: 1.35;
}

.receipt-upload {
  border-style: dashed;
  background:
    linear-gradient(135deg, rgba(36, 212, 255, 0.08), rgba(255, 211, 61, 0.08));
}

.terms-consent {
  min-height: 56px;
  align-items: flex-start;
  border-color: rgba(255, 211, 61, 0.22);
  background: rgba(255, 211, 61, 0.075);
}

.terms-consent input {
  width: 22px;
  height: 22px;
  margin-top: 2px;
}

.checkout-submit {
  font-size: 18px;
}

.payment-box {
  position: sticky;
  top: 96px;
  border-top: 5px solid var(--premium-yellow);
}

.payment-methods div,
.payment-box dl div,
.summary-box {
  background: rgba(255, 255, 255, 0.075);
}

.brawl-catalog-hero {
  border-color: rgba(0, 0, 0, 0.78);
  box-shadow: var(--premium-pop);
}

.brawl-catalog-grid {
  gap: clamp(14px, 2vw, 22px);
}

.brawl-section-card {
  min-height: 440px;
  box-shadow: var(--premium-pop);
}

.brawl-section-card:hover {
  transform: translateY(-8px) rotate(-0.45deg);
}

.brawl-section-body h2 {
  text-wrap: balance;
}

.footer-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.82);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: 640px;
    margin-top: 16px;
  }

  .hero-console {
    width: 100%;
    max-width: 620px;
    justify-self: start;
  }

  .payment-box {
    position: static;
  }
}

@media (min-width: 901px) {
  .hero {
    min-height: min(650px, calc(100dvh - 130px));
    padding: clamp(34px, 4vw, 46px) clamp(34px, 4.4vw, 58px);
  }
}

@media (max-width: 620px) {
  .site-header {
    min-height: 66px;
  }

  .hero,
  .home-showcase,
  .trust-strip,
  .deal-wall,
  .order-preview,
  .checkout-layout,
  .game-layout,
  .legal-layout,
  .brawl-catalog-grid {
    width: min(100% - 20px, 1220px);
  }

  .hero {
    min-height: 0;
    border-width: 3px;
    padding: 24px 16px;
    gap: 18px;
  }

  .hero-copy h1 {
    font-size: clamp(36px, 12vw, 50px);
  }

  .hero-copy p {
    font-size: 16px;
    line-height: 1.48;
  }

  .hero-actions {
    align-items: stretch;
  }

  .hero-actions .primary-action,
  .hero-actions .secondary-action {
    width: 100%;
    justify-content: center;
  }

  .hero-console {
    padding: 12px;
    gap: 10px;
  }

  .console-deal,
  .console-deal--main {
    grid-template-columns: 74px minmax(0, 1fr);
    min-height: 104px;
    padding: 10px;
  }

  .console-deal--main strong {
    font-size: 18px;
  }

  .console-grid {
    display: none;
  }

  .console-status {
    display: none;
  }

  .console-deal img {
    max-height: 78px;
  }

  .console-discount {
    top: 8px;
    right: 8px;
    padding: 4px 8px;
    font-size: 14px;
  }

  .order-form,
  .payment-box,
  .deal-wall {
    padding-inline: 16px;
  }

  .brawl-section-card {
    min-height: 380px;
  }
}

/* Charlie Store visual refresh */
:root {
  color-scheme: light;
  --ios-bg: #eef4fb;
  --ios-ink: #101522;
  --ios-muted: #596579;
  --ios-glass: rgba(255, 255, 255, 0.66);
  --ios-glass-strong: rgba(255, 255, 255, 0.82);
  --ios-glass-dark: rgba(14, 20, 35, 0.74);
  --ios-line: rgba(20, 31, 52, 0.14);
  --ios-line-bright: rgba(255, 255, 255, 0.72);
  --ios-cyan: #08aeea;
  --ios-lime: #55d66b;
  --ios-rose: #ff4f87;
  --ios-amber: #ffbf2f;
  --ios-violet: #7c5cff;
  --ios-shadow: 0 22px 70px rgba(36, 50, 78, 0.18);
  --ios-shadow-tight: 0 10px 28px rgba(36, 50, 78, 0.14);
  --radius: 8px;
}

body {
  min-height: 100dvh;
  background:
    linear-gradient(115deg, rgba(8, 174, 234, 0.16), transparent 30%),
    linear-gradient(245deg, rgba(255, 191, 47, 0.18), transparent 32%),
    linear-gradient(180deg, #fbfdff 0%, #eef4fb 48%, #f6f0ff 100%);
  color: var(--ios-ink);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    repeating-linear-gradient(90deg, rgba(16, 21, 34, 0.045) 0 1px, transparent 1px 76px),
    repeating-linear-gradient(0deg, rgba(16, 21, 34, 0.035) 0 1px, transparent 1px 76px);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.8), transparent 78%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(120deg, transparent 0 24%, rgba(255, 255, 255, 0.58) 24% 25%, transparent 25% 100%),
    linear-gradient(55deg, transparent 0 54%, rgba(255, 255, 255, 0.44) 54% 55%, transparent 55% 100%);
  background-size: 420px 420px, 520px 520px;
  opacity: 0.56;
}

.site-header {
  min-height: 72px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.62);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.58)),
    rgba(255, 255, 255, 0.66);
  box-shadow: 0 12px 38px rgba(34, 44, 72, 0.12);
  backdrop-filter: blur(28px) saturate(1.45);
}

.brand {
  color: var(--ios-ink);
}

.brand-mark {
  border: 1px solid rgba(255, 255, 255, 0.76);
  background:
    linear-gradient(135deg, rgba(8, 174, 234, 0.96), rgba(124, 92, 255, 0.9)),
    #101522;
  color: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.52), 0 12px 28px rgba(8, 110, 190, 0.24);
}

.brand-mark::after {
  border-radius: 50%;
  background: #9dff7a;
}

.top-nav a,
.mobile-nav a {
  min-height: 44px;
  color: rgba(16, 21, 34, 0.74);
  border: 1px solid transparent;
  background: transparent;
}

.top-nav a:hover,
.mobile-nav a:hover,
.top-nav a.active,
.mobile-nav a.active {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.64);
  color: var(--ios-ink);
  box-shadow: var(--ios-shadow-tight);
}

.mobile-nav {
  border-bottom: 1px solid rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(24px);
}

.menu-button {
  border-color: rgba(16, 21, 34, 0.12);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--ios-shadow-tight);
}

.menu-button span {
  background: var(--ios-ink);
}

.hero,
.page-hero.compact,
.order-preview,
.deal-wall,
.orders-panel,
.order-form,
.payment-box,
.legal-card,
.support-card,
.trust-strip article,
.showcase-card,
.brawl-section-card,
.product-card {
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.38)),
    var(--ios-glass);
  box-shadow: var(--ios-shadow);
  backdrop-filter: blur(30px) saturate(1.32);
  color: var(--ios-ink);
}

.hero {
  width: min(1240px, calc(100% - 32px));
  min-height: clamp(610px, 76dvh, 780px);
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.72fr);
  border-color: rgba(255, 255, 255, 0.72);
  background:
    linear-gradient(105deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.68) 45%, rgba(255, 255, 255, 0.22) 100%),
    url("./assets/store-hero-original.png") center right / cover no-repeat;
  box-shadow: 0 26px 80px rgba(30, 43, 72, 0.22);
}

.hero-media,
.hero::before,
.hero::after,
.hero-flow {
  display: none;
}

.hero-copy h1 {
  color: var(--ios-ink);
  text-shadow: none;
}

.hero-copy p,
.hero-copy p:not(.eyebrow),
.page-hero p,
.section-heading p,
.legal-card p,
.product-card p {
  color: var(--ios-muted);
}

.eyebrow {
  color: #0877d7;
}

.hero-console {
  border: 1px solid rgba(255, 255, 255, 0.72);
  background:
    linear-gradient(145deg, rgba(12, 20, 38, 0.78), rgba(12, 20, 38, 0.52)),
    rgba(12, 20, 38, 0.68);
  box-shadow: 0 22px 70px rgba(20, 34, 66, 0.26);
  backdrop-filter: blur(34px) saturate(1.4);
}

.hero-console::before {
  border-color: rgba(255, 255, 255, 0.16);
}

.console-deal,
.console-top,
.console-status {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.06)),
    rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.primary-action,
.secondary-action,
.ghost-button,
.text-button {
  border-radius: 8px;
  letter-spacing: 0;
}

.primary-action {
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  background:
    linear-gradient(135deg, #111827, #26364f),
    #111827;
  color: #ffffff;
  box-shadow: 0 14px 34px rgba(20, 32, 58, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.primary-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(20, 32, 58, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.26);
}

.primary-action:active {
  transform: translateY(1px);
  box-shadow: 0 8px 22px rgba(20, 32, 58, 0.2);
}

.secondary-action,
.ghost-button,
.text-button {
  border: 1px solid rgba(16, 21, 34, 0.12);
  background: rgba(255, 255, 255, 0.58);
  color: var(--ios-ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.secondary-action:hover,
.ghost-button:hover,
.text-button:hover {
  border-color: rgba(8, 174, 234, 0.34);
  background: rgba(255, 255, 255, 0.78);
  color: var(--ios-ink);
}

.home-showcase,
.trust-strip,
.deal-wall,
.order-preview,
.checkout-layout,
.orders-panel,
.legal-grid,
.brawl-catalog-grid,
.product-toolbar,
.product-grid {
  width: min(1240px, calc(100% - 32px));
}

.showcase-card,
.trust-strip article,
.deal-grid a,
.brawl-section-card {
  overflow: hidden;
}

.deal-wall {
  border-color: rgba(255, 255, 255, 0.66);
}

.deal-grid a {
  border: 1px solid rgba(255, 255, 255, 0.66);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.36)),
    rgba(255, 255, 255, 0.58);
  color: var(--ios-ink);
  box-shadow: var(--ios-shadow-tight);
}

.deal-grid a:hover,
.trust-strip article:hover,
.brawl-section-card:hover,
.product-card:hover {
  transform: translateY(-5px);
  border-color: rgba(8, 174, 234, 0.38);
  box-shadow: 0 24px 68px rgba(30, 43, 72, 0.24);
}

.brawl-catalog-hero {
  color: var(--ios-ink);
  border-color: rgba(255, 255, 255, 0.72);
}

.brawl-section-card {
  min-height: 410px;
}

.brawl-section-card::before,
.product-card::before,
.product-card::after {
  opacity: 0.28;
}

.brawl-section-card--brawlers,
.product-card--bolt,
.product-card--bolt-plus,
.product-card--bolt-max {
  --catalog-a: #ffe66d;
  --catalog-b: #7c5cff;
}

.brawl-section-card--brawlers .brawl-section-art img:first-child,
.product-card--bolt .product-main-art,
.product-card--bolt-plus .product-main-art,
.product-card--bolt-max .product-main-art {
  width: min(82%, 280px);
  max-height: 300px;
  object-fit: contain;
  filter: drop-shadow(0 22px 28px rgba(45, 52, 88, 0.26));
}

.product-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.product-card {
  padding: 14px;
  overflow: hidden;
}

.product-visual {
  min-height: 286px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(8, 174, 234, 0.2), rgba(124, 92, 255, 0.22)),
    rgba(255, 255, 255, 0.36);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.68);
}

.product-card--gems .product-visual {
  background: linear-gradient(135deg, rgba(8, 174, 234, 0.24), rgba(85, 214, 107, 0.18)), rgba(255, 255, 255, 0.4);
}

.product-card--pass .product-visual,
.product-card--pass-plus .product-visual,
.product-card--pro .product-visual {
  background: linear-gradient(135deg, rgba(255, 191, 47, 0.28), rgba(255, 79, 135, 0.16)), rgba(255, 255, 255, 0.42);
}

.product-card--skin .product-visual,
.product-card--skin-aqua .product-visual,
.product-card--skin-blue .product-visual,
.product-card--skin-yellow .product-visual,
.product-card--special-skin .product-visual {
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.22), rgba(255, 79, 135, 0.16)), rgba(255, 255, 255, 0.42);
}

.product-card--bolt .product-visual,
.product-card--bolt-plus .product-visual,
.product-card--bolt-max .product-visual {
  background:
    linear-gradient(140deg, rgba(255, 230, 109, 0.38), rgba(124, 92, 255, 0.24) 58%, rgba(8, 174, 234, 0.16)),
    rgba(255, 255, 255, 0.48);
}

.offer-card-title,
.product-card h2,
.brawl-section-body h2 {
  color: var(--ios-ink);
  text-shadow: none;
}

.product-store-name,
.product-discount,
.deal-tag,
.console-discount {
  border: 1px solid rgba(255, 255, 255, 0.62);
  background: rgba(16, 21, 34, 0.86);
  color: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 10px 24px rgba(16, 21, 34, 0.18);
  text-shadow: none;
}

.store-bonus,
.product-timer,
.store-card-footer,
.game-meta span,
.order-badges span,
.price-stack span {
  border-color: rgba(16, 21, 34, 0.1);
  background: rgba(255, 255, 255, 0.58);
  color: var(--ios-ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.68);
}

.store-price {
  color: var(--ios-ink);
}

.product-toolbar {
  margin-inline: auto;
}

.segmented {
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.58);
  box-shadow: var(--ios-shadow-tight);
  backdrop-filter: blur(22px) saturate(1.25);
}

.segmented button {
  min-height: 44px;
  color: rgba(16, 21, 34, 0.72);
}

.segmented button.active,
.segmented button:hover {
  background: #101522;
  color: #ffffff;
}

.checkout-layout {
  align-items: start;
}

.order-form,
.payment-box,
.orders-panel {
  color: var(--ios-ink);
}

.order-form label span,
.platega-method-card span,
.payment-box dt {
  color: rgba(16, 21, 34, 0.66);
}

.order-form input,
.order-form select,
.order-form textarea,
.orders-token-form input,
.order-status-select {
  min-height: 48px;
  border: 1px solid rgba(16, 21, 34, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--ios-ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.order-form input:focus,
.order-form select:focus,
.order-form textarea:focus,
.orders-token-form input:focus,
.order-status-select:focus {
  border-color: rgba(8, 174, 234, 0.66);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 0 0 4px rgba(8, 174, 234, 0.14);
}

.platega-method-card,
.terms-consent,
.security-note,
.payment-methods div,
.payment-box dl div,
.summary-box,
.receipt-upload {
  border-color: rgba(16, 21, 34, 0.1);
  background: rgba(255, 255, 255, 0.54);
  color: var(--ios-ink);
}

.platega-method-card::before {
  border: 0;
  background: linear-gradient(135deg, var(--ios-cyan), var(--ios-violet));
  color: #ffffff;
  box-shadow: var(--ios-shadow-tight);
}

.platega-method-card strong,
.payment-box h2 {
  color: var(--ios-ink);
  text-shadow: none;
}

.platega-method-card small,
.payment-box li,
.payment-box dd {
  color: var(--ios-muted);
}

.payment-box {
  border-top: 1px solid rgba(255, 255, 255, 0.68);
}

.success-view {
  color: var(--ios-ink);
  border: 1px solid rgba(255, 255, 255, 0.68);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.46)),
    var(--ios-glass);
  box-shadow: var(--ios-shadow);
  backdrop-filter: blur(28px);
}

.success-mark {
  background: linear-gradient(135deg, var(--ios-lime), var(--ios-cyan));
  color: #ffffff;
}

.orders-hero {
  margin-top: 28px;
}

.orders-panel {
  margin: 24px auto 64px;
  padding: clamp(16px, 3vw, 26px);
}

.orders-token-form {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  gap: 12px;
  align-items: end;
}

.orders-token-form label {
  display: grid;
  gap: 8px;
  color: var(--ios-muted);
  font-weight: 850;
}

.orders-status {
  margin: 16px 0;
  color: var(--ios-muted);
}

.orders-status.error {
  color: #c51f47;
}

.orders-table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.44);
}

.orders-admin-table {
  min-width: 980px;
}

.orders-admin-table th,
.orders-admin-table td {
  border-bottom: 1px solid rgba(16, 21, 34, 0.09);
  color: var(--ios-ink);
  vertical-align: top;
}

.orders-admin-table th {
  background: rgba(255, 255, 255, 0.62);
  color: rgba(16, 21, 34, 0.62);
  font-size: 12px;
  text-transform: uppercase;
}

.orders-admin-table small {
  display: block;
  margin-top: 4px;
  color: var(--ios-muted);
  line-height: 1.35;
}

.orders-admin-table a {
  color: #0877d7;
  font-weight: 900;
}

.orders-empty {
  padding: 28px;
  text-align: center;
  color: var(--ios-muted) !important;
}

.legal-card {
  color: var(--ios-ink);
}

.legal-card h2,
.support-card h2 {
  color: var(--ios-ink);
}

.site-footer {
  border-top-color: rgba(16, 21, 34, 0.1);
  background: rgba(255, 255, 255, 0.42);
  color: var(--ios-muted);
  backdrop-filter: blur(22px);
}

.footer-links a,
.legal-card a {
  color: #0877d7;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero-console {
    justify-self: stretch;
    width: 100%;
  }

  .orders-token-form {
    grid-template-columns: 1fr;
  }

  .orders-token-form .primary-action {
    width: 100%;
  }
}

@media (max-width: 620px) {
  .hero,
  .home-showcase,
  .trust-strip,
  .deal-wall,
  .order-preview,
  .checkout-layout,
  .orders-panel,
  .legal-grid,
  .brawl-catalog-grid,
  .product-toolbar,
  .product-grid {
    width: min(100% - 20px, 1240px);
  }

  .hero {
    padding: 22px 14px;
  }

  .hero-copy h1 {
    font-size: clamp(34px, 11vw, 48px);
    line-height: 1.02;
  }

  .hero-actions .primary-action,
  .hero-actions .secondary-action {
    width: 100%;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-visual {
    min-height: 248px;
  }

  .orders-admin-table,
  .orders-admin-table thead,
  .orders-admin-table tbody,
  .orders-admin-table tr,
  .orders-admin-table th,
  .orders-admin-table td {
    display: block;
    min-width: 0;
  }

  .orders-admin-table thead {
    display: none;
  }

  .orders-admin-table tr {
    padding: 12px;
    border-bottom: 1px solid rgba(16, 21, 34, 0.1);
  }

  .orders-admin-table td {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 10px;
    padding: 8px 0;
    border-bottom: 0;
  }

  .orders-admin-table td::before {
    content: attr(data-label);
    color: var(--ios-muted);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
  }
}

/* Final clean dark visual polish */
:root {
  color-scheme: dark;
  --ios-bg: #080911;
  --ios-ink: #ffffff;
  --ios-muted: rgba(238, 242, 255, 0.72);
  --ios-glass: rgba(16, 18, 31, 0.82);
  --ios-glass-strong: rgba(23, 26, 43, 0.94);
  --ios-glass-dark: rgba(9, 10, 18, 0.92);
  --ios-line: rgba(255, 255, 255, 0.11);
  --ios-line-bright: rgba(255, 255, 255, 0.18);
  --ios-cyan: #49d6ff;
  --ios-lime: #8cff72;
  --ios-rose: #ff3f68;
  --ios-amber: #ffd54a;
  --ios-violet: #8a5cff;
  --ios-shadow: 0 24px 80px rgba(0, 0, 0, 0.36);
  --ios-shadow-tight: 0 14px 38px rgba(0, 0, 0, 0.28);
  --radius: 22px;
}

body {
  min-height: 100dvh;
  background:
    radial-gradient(circle at 18% 8%, rgba(255, 63, 104, 0.24), transparent 30%),
    radial-gradient(circle at 82% 4%, rgba(255, 213, 74, 0.2), transparent 26%),
    radial-gradient(circle at 74% 68%, rgba(73, 214, 255, 0.14), transparent 34%),
    linear-gradient(180deg, #060710 0%, #101121 44%, #080911 100%);
  color: #ffffff;
}

body::before {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.82), transparent 72%);
}

body::after {
  background:
    radial-gradient(circle at 50% 0%, rgba(255,255,255,0.08), transparent 40%),
    linear-gradient(135deg, transparent 0 34%, rgba(255,255,255,0.06) 34% 35%, transparent 35% 100%);
  opacity: 0.72;
}

.site-header {
  min-height: 76px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(8, 9, 17, 0.86);
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(22px) saturate(1.2);
}

.brand,
.top-nav a,
.mobile-nav a {
  color: rgba(255, 255, 255, 0.82);
}

.brand-mark {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: linear-gradient(135deg, #ff335f 0%, #ffb73d 56%, #49d6ff 100%);
  color: #090a12;
  box-shadow: 0 12px 30px rgba(255, 63, 104, 0.28);
}

.brand-mark::after {
  background: #8cff72;
  box-shadow: 0 0 18px rgba(140, 255, 114, 0.7);
}

.top-nav a,
.mobile-nav a {
  border-radius: 999px;
  border: 1px solid transparent;
}

.top-nav a:hover,
.mobile-nav a:hover,
.top-nav a.active,
.mobile-nav a.active {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  box-shadow: none;
}

.mobile-nav {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(8, 9, 17, 0.94);
  backdrop-filter: blur(20px);
}

.menu-button {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.menu-button span {
  background: #ffffff;
}

.hero,
.page-hero.compact,
.order-preview,
.deal-wall,
.orders-panel,
.order-form,
.payment-box,
.legal-card,
.support-card,
.trust-strip article,
.showcase-card,
.brawl-section-card,
.product-card,
.success-view {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.045)),
    rgba(15, 17, 30, 0.82);
  box-shadow: var(--ios-shadow);
  backdrop-filter: blur(20px) saturate(1.18);
  color: #ffffff;
}

.hero {
  width: min(1240px, calc(100% - 32px));
  min-height: clamp(560px, 72dvh, 740px);
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.7fr);
  background:
    linear-gradient(90deg, rgba(8, 9, 17, 0.96) 0%, rgba(12, 13, 24, 0.88) 48%, rgba(12, 13, 24, 0.38) 100%),
    url("./assets/store-hero-original.png") center right / cover no-repeat;
  overflow: hidden;
}

.hero::before {
  display: block;
  content: "";
  position: absolute;
  inset: auto -8% -22% 36%;
  height: 360px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 63, 104, 0.28), transparent 68%);
  filter: blur(10px);
  pointer-events: none;
}

.hero-copy h1,
.page-hero h1,
.section-heading h2,
.product-card h2,
.brawl-section-body h2,
.payment-box h2,
.legal-card h2,
.support-card h2,
.offer-card-title {
  color: #ffffff;
  text-shadow: 0 14px 34px rgba(0, 0, 0, 0.32);
}

.hero-copy p,
.hero-copy p:not(.eyebrow),
.page-hero p,
.section-heading p,
.legal-card p,
.product-card p,
.payment-box li,
.payment-box dd,
.platega-method-card small,
.orders-status,
.orders-admin-table small,
.site-footer,
.form-grid small,
.security-note,
.terms-consent,
.checkout-layout p {
  color: rgba(238, 242, 255, 0.72);
}

.eyebrow {
  width: fit-content;
  color: #ffd54a;
  letter-spacing: 0.08em;
}

.hero-console,
.console-deal,
.console-top,
.console-status,
.deal-grid a,
.product-visual,
.platega-method-card,
.terms-consent,
.security-note,
.payment-methods div,
.payment-box dl div,
.summary-box,
.receipt-upload,
.orders-table-wrap,
.segmented,
.store-bonus,
.product-timer,
.store-card-footer,
.game-meta span,
.order-badges span,
.price-stack span {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.075);
  color: #ffffff;
  box-shadow: none;
}

.hero-console {
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 213, 74, 0.2), transparent 34%),
    radial-gradient(circle at 80% 100%, rgba(73, 214, 255, 0.18), transparent 38%),
    rgba(9, 10, 18, 0.82);
}

.primary-action,
.secondary-action,
.ghost-button,
.text-button {
  min-height: 48px;
  border-radius: 16px;
  letter-spacing: 0.01em;
}

.primary-action {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(135deg, #ff335f 0%, #ff8a3d 52%, #ffd54a 100%);
  color: #090a12;
  box-shadow: 0 16px 34px rgba(255, 63, 104, 0.26);
}

.primary-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 50px rgba(255, 63, 104, 0.34);
}

.secondary-action,
.ghost-button,
.text-button {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.secondary-action:hover,
.ghost-button:hover,
.text-button:hover {
  border-color: rgba(255, 213, 74, 0.38);
  background: rgba(255, 255, 255, 0.13);
  color: #ffffff;
}

.deal-tag,
.console-discount,
.product-discount,
.product-store-name {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: linear-gradient(135deg, #ff335f, #ff8a3d);
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(255, 63, 104, 0.22);
}

.brawl-section-card:hover,
.product-card:hover,
.trust-strip article:hover,
.deal-grid a:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 213, 74, 0.34);
  box-shadow: 0 30px 76px rgba(0, 0, 0, 0.44);
}

.product-visual {
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 213, 74, 0.22), transparent 36%),
    radial-gradient(circle at 82% 78%, rgba(73, 214, 255, 0.18), transparent 42%),
    rgba(255, 255, 255, 0.07) !important;
}

.segmented {
  background: rgba(9, 10, 18, 0.82);
  backdrop-filter: blur(18px);
}

.segmented button {
  color: rgba(238, 242, 255, 0.72);
  border-radius: 12px;
}

.segmented button.active,
.segmented button:hover {
  background: linear-gradient(135deg, #ff335f, #ff8a3d);
  color: #ffffff;
}

.order-form input,
.order-form select,
.order-form textarea,
.orders-token-form input,
.order-status-select {
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 14px;
  background: rgba(3, 4, 10, 0.42);
  color: #ffffff;
  box-shadow: none;
}

.order-form input:focus,
.order-form select:focus,
.order-form textarea:focus,
.orders-token-form input:focus,
.order-status-select:focus {
  border-color: rgba(255, 213, 74, 0.58);
  background: rgba(3, 4, 10, 0.62);
  box-shadow: 0 0 0 4px rgba(255, 213, 74, 0.12);
}

input::placeholder,
textarea::placeholder {
  color: rgba(238, 242, 255, 0.42);
}

.orders-admin-table th,
.orders-admin-table td {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.orders-admin-table th {
  background: rgba(255, 255, 255, 0.07);
  color: rgba(238, 242, 255, 0.64);
}

.orders-admin-table a,
.footer-links a,
.legal-card a {
  color: #ffd54a;
}

.orders-status.error {
  color: #ff6b8b;
}

.success-mark {
  background: linear-gradient(135deg, #8cff72, #49d6ff);
  color: #07100a;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(8, 9, 17, 0.74);
  backdrop-filter: blur(18px);
}

@media (max-width: 620px) {
  .hero,
  .home-showcase,
  .trust-strip,
  .deal-wall,
  .order-preview,
  .checkout-layout,
  .orders-panel,
  .legal-grid,
  .brawl-catalog-grid,
  .product-toolbar,
  .product-grid {
    width: min(100% - 20px, 1240px);
  }

  .hero {
    padding: 22px 14px;
    background:
      linear-gradient(180deg, rgba(8, 9, 17, 0.96), rgba(8, 9, 17, 0.82)),
      url("./assets/store-hero-original.png") center / cover no-repeat;
  }

  .hero-copy h1 {
    font-size: clamp(34px, 11vw, 48px);
    line-height: 1.02;
  }

  .product-visual {
    min-height: 232px;
  }
}
/* ============================================================
   CHARLIE STORE — V4 «GOLDEN ARENA»
   Дисциплинированная тёмная тема: одна звезда — золото,
   поддержка — электрик-синий, ember-красный только для скидок.
   Дисплейный шрифт Unbounded + текст Manrope.
   ============================================================ */

:root {
  --night: #07080f;
  --night-2: #0d0f1c;
  --panel: rgba(17, 19, 33, 0.86);
  --panel-soft: rgba(255, 255, 255, 0.055);
  --line-1: rgba(255, 255, 255, 0.1);
  --line-2: rgba(255, 255, 255, 0.16);
  --ink: #f3f5ff;
  --mist: rgba(222, 228, 255, 0.68);
  --gold: #ffd23d;
  --gold-deep: #9c7400;
  --gold-soft: rgba(255, 210, 61, 0.14);
  --volt: #5b8cff;
  --ember: #ff4d6b;
  --mint: #3ddc97;
  --ios-cyan: var(--volt);
  --ios-lime: var(--mint);
  --ios-rose: var(--ember);
  --ios-amber: var(--gold);
  --ios-violet: var(--volt);
  --radius: 20px;
  font-family: Manrope, Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* ---------- фон сцены ---------- */

body {
  background:
    radial-gradient(820px 420px at 14% -6%, rgba(255, 210, 61, 0.13), transparent 62%),
    radial-gradient(900px 520px at 88% -10%, rgba(91, 140, 255, 0.16), transparent 60%),
    radial-gradient(720px 560px at 76% 78%, rgba(91, 140, 255, 0.07), transparent 64%),
    linear-gradient(180deg, #090a14 0%, var(--night-2) 46%, var(--night) 100%);
  color: var(--ink);
}

body::before {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.75), transparent 64%);
}

body::after {
  background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.06), transparent 42%);
  opacity: 0.8;
}

::selection {
  background: var(--gold);
  color: #100c00;
}

/* ---------- типографика ---------- */

.hero-copy h1,
.page-hero h1,
.success-view h1,
.section-heading h2,
.showcase-card h2,
.brawl-section-body h2,
.payment-box h2,
.legal-card h2,
.support-card h2,
.legal-hero h1,
.orders-hero h1,
.brawl-catalog-hero h1 {
  font-family: Unbounded, Manrope, system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.06;
  color: var(--ink);
  text-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  text-wrap: balance;
}

.hero-copy h1 {
  font-size: clamp(30px, 4.4vw, 56px);
}

.section-heading h2,
.payment-box h2,
.legal-card h2,
.support-card h2 {
  font-size: clamp(21px, 2.4vw, 30px);
}

.hero-copy p,
.page-hero p,
.section-heading p,
.legal-card p,
.product-card p,
.payment-box li,
.payment-box dd,
.platega-method-card small,
.orders-status,
.orders-admin-table small,
.site-footer,
.form-grid small,
.security-note,
.terms-consent,
.checkout-layout p,
.trust-strip p,
.steps p,
.showcase-card p {
  color: var(--mist);
  font-weight: 500;
  line-height: 1.55;
}

/* фирменный айбро — золотой чип со звездой */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 7px 14px;
  border: 1px solid rgba(255, 210, 61, 0.36);
  border-radius: 999px;
  background: var(--gold-soft);
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "★";
  font-size: 11px;
  transform: translateY(-0.5px);
}

/* ---------- шапка ---------- */

.site-header {
  min-height: 76px;
  border-bottom: 1px solid var(--line-1);
  background: rgba(7, 8, 15, 0.78);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(22px) saturate(1.15);
}

.brand {
  font-family: Unbounded, Manrope, sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.01em;
  color: var(--ink);
}

.brand-mark {
  border: 0;
  border-radius: 13px;
  background: linear-gradient(165deg, #ffe084 0%, var(--gold) 46%, #f2a91b 100%);
  color: #181000;
  font-family: Unbounded, sans-serif;
  font-weight: 800;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    0 5px 0 var(--gold-deep),
    0 16px 30px rgba(255, 210, 61, 0.22);
}

.brand-mark::after {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #181000;
  box-shadow: none;
}

.top-nav a,
.mobile-nav a {
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--mist);
  font-weight: 700;
}

.top-nav a:hover,
.mobile-nav a:hover {
  transform: none;
  border-color: var(--line-2);
  background: rgba(255, 255, 255, 0.07);
  color: var(--ink);
  box-shadow: none;
}

.top-nav a.active,
.mobile-nav a.active {
  transform: none;
  border-color: rgba(255, 210, 61, 0.4);
  background: var(--gold-soft);
  color: var(--gold);
  box-shadow: none;
}

.mobile-nav {
  border-bottom: 1px solid var(--line-1);
  background: rgba(7, 8, 15, 0.95);
}

.menu-button {
  border-color: var(--line-2);
  background: rgba(255, 255, 255, 0.06);
}

/* ---------- панели и карточки ---------- */

.hero,
.page-hero.compact,
.order-preview,
.deal-wall,
.orders-panel,
.order-form,
.payment-box,
.legal-card,
.support-card,
.trust-strip article,
.showcase-card,
.brawl-section-card,
.product-card,
.success-view,
.legal-notice-card {
  border: 1px solid var(--line-1);
  border-radius: var(--radius);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02) 58%),
    var(--panel);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 26px 70px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(18px) saturate(1.12);
  color: var(--ink);
}

/* единый «power-up» при наведении: только золото */
.brawl-section-card:hover,
.product-card:hover,
.trust-strip article:hover,
.showcase-card:hover,
.deal-grid a:hover,
.console-deal:hover,
.platega-method-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 210, 61, 0.45);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 0 1px rgba(255, 210, 61, 0.22),
    0 22px 48px rgba(0, 0, 0, 0.5),
    0 18px 60px rgba(255, 210, 61, 0.1);
}

.hero {
  background:
    linear-gradient(90deg, rgba(7, 8, 15, 0.97) 0%, rgba(10, 12, 22, 0.9) 46%, rgba(10, 12, 22, 0.32) 100%),
    url("./assets/store-hero-original.png") center right / cover no-repeat;
}

.hero::before {
  inset: auto -8% -24% 38%;
  background: radial-gradient(circle, rgba(255, 210, 61, 0.22), transparent 66%);
}

.hero-console {
  background:
    radial-gradient(circle at 22% 0%, rgba(255, 210, 61, 0.18), transparent 38%),
    radial-gradient(circle at 84% 100%, rgba(91, 140, 255, 0.16), transparent 42%),
    rgba(9, 10, 18, 0.84);
}

.hero-console,
.console-deal,
.console-top,
.console-status,
.deal-grid a,
.product-visual,
.platega-method-card,
.terms-consent,
.security-note,
.payment-methods div,
.payment-box dl div,
.summary-box,
.receipt-upload,
.orders-table-wrap,
.segmented,
.store-bonus,
.product-timer,
.store-card-footer,
.game-meta span,
.order-badges span,
.price-stack span {
  border: 1px solid var(--line-1);
  background: var(--panel-soft);
  color: var(--ink);
}

.console-status strong {
  color: var(--mint);
}

/* ---------- кнопки: фирменная «игровая» золотая ---------- */

.primary-action,
.secondary-action,
.ghost-button,
.text-button {
  min-height: 50px;
  border-radius: 16px;
  font-weight: 800;
  letter-spacing: 0.01em;
  transition: transform 140ms ease, box-shadow 140ms ease, background 140ms ease, border-color 140ms ease;
}

.primary-action {
  border: 0;
  background: linear-gradient(180deg, #ffe084 0%, var(--gold) 52%, #f5b41f 100%);
  color: #181000;
  text-shadow: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    0 6px 0 var(--gold-deep),
    0 20px 40px rgba(255, 210, 61, 0.22);
}

.primary-action:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    0 8px 0 var(--gold-deep),
    0 26px 52px rgba(255, 210, 61, 0.3);
}

.primary-action:active {
  transform: translateY(4px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 2px 0 var(--gold-deep),
    0 10px 22px rgba(255, 210, 61, 0.18);
}

.secondary-action,
.ghost-button,
.text-button {
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
}

.secondary-action:hover,
.ghost-button:hover,
.text-button:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 210, 61, 0.45);
  background: rgba(255, 255, 255, 0.1);
  color: var(--ink);
}

.danger-button {
  border: 1px solid rgba(255, 77, 107, 0.4);
  background: rgba(255, 77, 107, 0.12);
  color: #ff8ba0;
}

/* ---------- ценники и скидки: ember только здесь ---------- */

.deal-tag,
.console-discount,
.product-discount {
  border: 0;
  border-radius: 10px;
  background: linear-gradient(180deg, #ff6079, var(--ember));
  color: #fff;
  font-weight: 800;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 4px 0 #a31231,
    0 12px 26px rgba(255, 77, 107, 0.3);
  transform: rotate(-2deg);
}

.product-store-name {
  border: 0;
  background: var(--volt);
  color: #fff;
}

.price,
.store-price strong {
  color: var(--gold);
}

.price-stack span {
  color: var(--ink);
}

.price-stack small {
  color: var(--mist);
}

/* ---------- сегментированный фильтр ---------- */

.segmented {
  border-radius: 16px;
  background: rgba(7, 8, 15, 0.8);
}

.segmented button {
  border-radius: 12px;
  color: var(--mist);
  font-weight: 700;
}

.segmented button:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
}

.segmented button.active {
  background: linear-gradient(180deg, #ffe084, var(--gold) 60%, #f5b41f);
  color: #181000;
  box-shadow: 0 3px 0 var(--gold-deep);
}

/* ---------- формы ---------- */

.order-form input,
.order-form select,
.order-form textarea,
.orders-token-form input,
.order-status-select {
  border: 1px solid var(--line-2);
  border-radius: 14px;
  background: rgba(4, 5, 12, 0.5);
  color: var(--ink);
}

.order-form input:focus,
.order-form select:focus,
.order-form textarea:focus,
.orders-token-form input:focus,
.order-status-select:focus {
  border-color: rgba(255, 210, 61, 0.6);
  background: rgba(4, 5, 12, 0.66);
  box-shadow: 0 0 0 4px var(--gold-soft);
}

input::placeholder,
textarea::placeholder {
  color: rgba(222, 228, 255, 0.4);
}

.checkout-submit,
.primary-action.full {
  width: 100%;
}

/* ---------- таблицы заказов ---------- */

.orders-admin-table th,
.orders-admin-table td,
.orders-table th,
.orders-table td {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--ink);
}

.orders-admin-table th,
.orders-table th {
  background: rgba(255, 255, 255, 0.06);
  color: var(--mist);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 12px;
}

.orders-admin-table a,
.footer-links a,
.legal-card a,
.support-card a {
  color: var(--gold);
}

.orders-admin-table a:hover,
.footer-links a:hover,
.legal-card a:hover,
.support-card a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.orders-status.error {
  color: #ff8ba0;
}

/* ---------- успех ---------- */

.success-mark {
  background: linear-gradient(165deg, #ffe084, var(--gold) 55%, #f2a91b);
  color: #181000;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    0 6px 0 var(--gold-deep),
    0 22px 50px rgba(255, 210, 61, 0.25);
}

/* ---------- футер ---------- */

.site-footer {
  border-top: 1px solid var(--line-1);
  background: rgba(6, 7, 13, 0.8);
}

/* ---------- витрина Brawl Stars: гармонизация фона ---------- */

body.brawl-store-page {
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.07) 0 36px, transparent 37px),
    radial-gradient(circle at 74% 28%, rgba(255, 255, 255, 0.07) 0 42px, transparent 43px),
    radial-gradient(900px 460px at 50% -8%, rgba(255, 210, 61, 0.12), transparent 60%),
    linear-gradient(180deg, #1d2dd8 0%, #1f49df 54%, #5a1fb8 100%);
}

body.brawl-store-page .site-header {
  background: rgba(4, 5, 12, 0.9);
}

/* ---------- появление героя (один оркестрованный момент) ---------- */

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

.hero-copy > * {
  animation: cs-rise 560ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.hero-copy > *:nth-child(2) { animation-delay: 70ms; }
.hero-copy > *:nth-child(3) { animation-delay: 140ms; }
.hero-copy > *:nth-child(4) { animation-delay: 210ms; }

.hero-console {
  animation: cs-rise 620ms cubic-bezier(0.2, 0.7, 0.2, 1) 240ms both;
}

/* ---------- доступность и базовое качество ---------- */

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 10px;
}

html {
  scrollbar-color: rgba(255, 210, 61, 0.5) rgba(255, 255, 255, 0.06);
}

::-webkit-scrollbar {
  width: 11px;
}

::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.04);
}

::-webkit-scrollbar-thumb {
  border: 3px solid transparent;
  border-radius: 999px;
  background: rgba(255, 210, 61, 0.4);
  background-clip: padding-box;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ---------- мобильная полировка ---------- */

@media (max-width: 620px) {
  .hero-copy h1 {
    font-size: clamp(28px, 9.4vw, 40px);
  }

  .primary-action,
  .secondary-action {
    min-height: 52px;
  }

  .eyebrow {
    font-size: 11px;
  }
}

/* ---------- V4: гармонизация пофайловых фонов ---------- */

body.home-page {
  background:
    radial-gradient(840px 420px at 16% -6%, rgba(255, 210, 61, 0.14), transparent 60%),
    radial-gradient(960px 540px at 86% -8%, rgba(91, 140, 255, 0.2), transparent 58%),
    radial-gradient(760px 560px at 72% 56%, rgba(122, 92, 255, 0.12), transparent 62%),
    linear-gradient(180deg, #090b16 0%, #0e1124 46%, #07080f 100%);
}

body.info-page,
body.catalog-page,
body.checkout-page,
body.orders-page {
  background:
    radial-gradient(820px 420px at 14% -6%, rgba(255, 210, 61, 0.12), transparent 60%),
    radial-gradient(900px 520px at 88% -10%, rgba(91, 140, 255, 0.16), transparent 58%),
    linear-gradient(180deg, #090a14 0%, #0d0f1c 46%, #07080f 100%);
}

/* ---------- V4: контраст подписей и мелких меток ---------- */

.order-form label span,
.platega-method-card span,
.payment-box dt,
.form-grid label,
.receipt-upload strong {
  color: rgba(233, 238, 255, 0.78);
  font-weight: 700;
}

.payment-box dt {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(233, 238, 255, 0.55);
}

.platega-method-card strong,
.payment-box dd,
.summary-box strong {
  color: var(--ink);
}

/* верхняя акцентная кромка превью заказа — в фирменное золото */
.checkout-layout .page-hero,
.order-preview {
  border-top: 2px solid rgba(255, 210, 61, 0.55);
}

.checkout-page .page-hero.compact {
  border-top: 2px solid rgba(255, 210, 61, 0.55);
}

@media (max-width: 620px) {
  .hero {
    background:
      linear-gradient(180deg, rgba(7, 8, 15, 0.96), rgba(9, 10, 18, 0.86)),
      url("./assets/store-hero-original.png") center / cover no-repeat;
  }
}

/* V4: мобильный герой — одна колонка, консоль под текстом */
@media (max-width: 760px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    align-items: start;
  }

  .hero-copy {
    max-width: 100%;
  }

  .hero-copy h1 {
    text-wrap: pretty;
  }

  .hero-console {
    position: static;
    width: 100%;
    margin-top: 18px;
  }
}

/* ---------- FINAL POLISH: выравнивание и оформление страницы оплаты ---------- */
body.checkout-page .site-header {
  border-bottom-color: rgba(255, 255, 255, 0.1);
  background: rgba(7, 8, 15, 0.86);
}

.checkout-layout {
  width: min(1220px, calc(100% - 32px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 392px);
  align-items: start;
  gap: clamp(18px, 3vw, 30px);
  margin: 28px auto 76px;
  padding-bottom: 0;
}

.checkout-main {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.checkout-page .page-hero.compact,
.order-form,
.payment-box {
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.095), rgba(255, 255, 255, 0.026) 58%),
    rgba(8, 10, 19, 0.84);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 24px 70px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(22px) saturate(1.12);
}

.checkout-page .page-hero.compact {
  padding: clamp(24px, 4vw, 38px);
  border-top: 1px solid rgba(255, 210, 61, 0.32);
  overflow: hidden;
}

.checkout-page .page-hero.compact h1 {
  max-width: 760px;
  letter-spacing: -0.04em;
}

.checkout-page .page-hero.compact p:not(.eyebrow) {
  max-width: 720px;
}

.order-form {
  padding: clamp(20px, 3vw, 30px);
}

.form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.order-form label,
.form-grid label {
  min-width: 0;
  color: rgba(238, 242, 255, 0.78);
}

.order-form label span,
.receipt-upload strong {
  font-size: 13px;
  letter-spacing: 0.01em;
}

.order-form input,
.order-form select,
.order-form textarea {
  border-radius: 16px;
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(5, 7, 14, 0.62);
  color: var(--ink);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 10px 26px rgba(0, 0, 0, 0.12);
}

.order-form select option {
  background: #10131f;
  color: #ffffff;
}

.order-form textarea {
  min-height: 112px;
}

.order-form input:hover,
.order-form select:hover,
.order-form textarea:hover {
  border-color: rgba(255, 210, 61, 0.28);
}

.order-form input:focus,
.order-form select:focus,
.order-form textarea:focus {
  border-color: rgba(255, 210, 61, 0.66);
  background: rgba(7, 9, 18, 0.78);
  box-shadow:
    0 0 0 4px rgba(255, 210, 61, 0.13),
    0 14px 36px rgba(0, 0, 0, 0.18);
}

.platega-method-card,
.receipt-upload,
.security-note,
.terms-consent {
  border-radius: 18px;
  border-color: rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(145deg, rgba(255, 210, 61, 0.09), rgba(91, 140, 255, 0.06)),
    rgba(255, 255, 255, 0.045);
}

.platega-method-card {
  min-height: 104px;
  grid-template-columns: 58px minmax(0, 1fr);
  padding: 16px;
  border-color: rgba(255, 210, 61, 0.34);
}

.platega-method-card::before {
  content: "P";
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: linear-gradient(160deg, #fff2a8, var(--gold) 52%, #e9a914);
  color: #171005;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    0 12px 26px rgba(255, 210, 61, 0.18);
}

.platega-method-card strong {
  font-size: clamp(20px, 2vw, 24px);
}

.payment-box {
  position: sticky;
  top: 94px;
  overflow: hidden;
  padding: clamp(20px, 2.4vw, 26px);
  border-top: 1px solid rgba(255, 210, 61, 0.36);
}

.payment-box::before {
  content: "";
  position: absolute;
  inset: -120px -90px auto auto;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 210, 61, 0.2), transparent 68%);
  pointer-events: none;
}

.payment-box > * {
  position: relative;
  z-index: 1;
}

.payment-box-head {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  margin-bottom: 18px;
}

.payment-box-head .eyebrow {
  margin: 0 0 6px;
  color: var(--gold);
}

.payment-box h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.03;
  letter-spacing: -0.04em;
  text-shadow: none;
}

.payment-subtitle {
  margin: 8px 0 0;
  color: rgba(238, 242, 255, 0.68);
  line-height: 1.5;
}

.payment-icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 20px;
  background:
    linear-gradient(160deg, rgba(255, 242, 168, 0.98), rgba(255, 210, 61, 0.95) 52%, rgba(232, 163, 18, 0.95));
  color: #171005;
  font-size: 28px;
  font-weight: 950;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.68),
    0 16px 34px rgba(255, 210, 61, 0.18);
}

.payment-status-pill {
  grid-column: 1 / -1;
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 30px;
  margin-left: 72px;
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid rgba(62, 225, 139, 0.26);
  background: rgba(62, 225, 139, 0.09);
  color: #9af0bf;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.payment-status-pill::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #45e189;
  box-shadow: 0 0 0 5px rgba(69, 225, 137, 0.12);
}

.payment-progress {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 18px;
}

.payment-progress span {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.payment-progress span:first-child,
.payment-progress span:nth-child(2) {
  background: linear-gradient(90deg, var(--gold), rgba(255, 210, 61, 0.42));
}

.payment-meta,
.payment-methods,
.payment-box dl {
  display: grid;
  gap: 10px;
  margin: 0 0 14px;
  padding: 0;
  border: 0;
}

.payment-meta div,
.payment-methods div,
.payment-box dl div,
.checkout-summary-card {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025)),
    rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.055);
}

.payment-meta div,
.payment-methods div {
  padding: 14px 15px;
}

.payment-box dt,
.payment-methods dt {
  margin-bottom: 5px;
  color: rgba(238, 242, 255, 0.55);
  font-size: 11px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.payment-box dd,
.payment-methods dd {
  margin: 0;
  color: #ffffff;
  font-size: 15px;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.payment-method-row {
  border-color: rgba(255, 210, 61, 0.2) !important;
  background:
    linear-gradient(145deg, rgba(255, 210, 61, 0.12), rgba(91, 140, 255, 0.07)),
    rgba(255, 255, 255, 0.045) !important;
}

.payment-method-hint {
  margin: 0;
  padding: 0 2px;
  color: rgba(238, 242, 255, 0.66);
  line-height: 1.5;
}

.payment-steps,
.payment-box ol {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.payment-steps li,
.payment-box ol li {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  color: rgba(238, 242, 255, 0.72);
  line-height: 1.45;
}

.payment-steps li span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 11px;
  background: rgba(255, 210, 61, 0.12);
  color: var(--gold);
  font-size: 12px;
  font-weight: 950;
}

.checkout-summary-card,
.summary-box {
  margin-top: 18px;
  padding: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
  color: rgba(238, 242, 255, 0.74);
  line-height: 1.55;
}

.checkout-summary-card strong,
.summary-box strong {
  color: #ffffff;
  font-size: 18px;
}

.payment-support-note {
  margin: 14px 0 0;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(62, 225, 139, 0.16);
  background: rgba(62, 225, 139, 0.07);
  color: rgba(213, 255, 232, 0.76);
  line-height: 1.45;
}

.checkout-submit {
  min-height: 58px;
  border-radius: 18px;
  font-size: 17px;
  letter-spacing: -0.01em;
}

@media (max-width: 980px) {
  .checkout-layout {
    grid-template-columns: 1fr;
    margin-top: 18px;
  }

  .payment-box {
    position: static;
  }
}

@media (max-width: 700px) {
  .checkout-layout {
    width: min(100% - 20px, 1220px);
    gap: 14px;
    margin-bottom: 46px;
  }

  .checkout-page .page-hero.compact,
  .order-form,
  .payment-box {
    border-radius: 20px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .payment-box-head {
    grid-template-columns: 50px minmax(0, 1fr);
  }

  .payment-icon {
    width: 50px;
    height: 50px;
    border-radius: 17px;
    font-size: 24px;
  }

  .payment-status-pill {
    margin-left: 64px;
  }
}

/* ============================================================
   CHECKOUT — PRO MAX / 2026 premium redesign
   Aligned to the yellow / cyan / pink arcade signature
   ============================================================ */

@keyframes cx-rise {
  from { opacity: 0; transform: translateY(22px) scale(0.985); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes cx-aurora {
  0%   { transform: translate(-8%, -6%) rotate(0deg) scale(1.1); }
  50%  { transform: translate(8%, 6%) rotate(140deg) scale(1.25); }
  100% { transform: translate(-8%, -6%) rotate(360deg) scale(1.1); }
}
@keyframes cx-sheen {
  0%   { transform: translateX(-130%) skewX(-18deg); }
  100% { transform: translateX(320%) skewX(-18deg); }
}
@keyframes cx-tick {
  0%   { transform: scale(0) rotate(-25deg); opacity: 0; }
  60%  { transform: scale(1.25) rotate(0deg); opacity: 1; }
  100% { transform: scale(1) rotate(0deg); opacity: 1; }
}
@keyframes cx-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(36, 212, 255, 0.0); }
  50%      { box-shadow: 0 0 0 6px rgba(36, 212, 255, 0.10); }
}
@keyframes cx-float-chip {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-4px); }
}

/* Layout shell ------------------------------------------------ */
.checkout-x {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.95fr);
  gap: 28px;
  align-items: start;
}
.checkout-x .checkout-hero {
  grid-column: 1 / -1;
  animation: cx-rise 0.55s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.checkout-x .checkout-hero h1 {
  background: linear-gradient(100deg, #fff 18%, var(--premium-yellow) 50%, var(--premium-cyan) 86%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.01em;
}

/* Form panel -------------------------------------------------- */
.checkout-x .order-form-x {
  position: relative;
  padding: 30px;
  border-radius: 26px;
  border: 1px solid var(--premium-line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 30%),
    var(--premium-panel);
  box-shadow: var(--premium-pop);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  overflow: hidden;
  isolation: isolate;
  animation: cx-rise 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) 0.06s both;
}
/* Animated aurora behind the form */
.checkout-x .order-form-x::before {
  content: "";
  position: absolute;
  inset: -40%;
  z-index: -2;
  background:
    radial-gradient(closest-side, rgba(255, 211, 61, 0.20), transparent 70%),
    radial-gradient(closest-side, rgba(36, 212, 255, 0.20), transparent 70%),
    radial-gradient(closest-side, rgba(255, 61, 127, 0.18), transparent 70%);
  background-size: 70% 70%, 64% 64%, 58% 58%;
  background-position: 12% 18%, 82% 28%, 46% 88%;
  background-repeat: no-repeat;
  filter: blur(26px);
  opacity: 0.55;
  animation: cx-aurora 26s ease-in-out infinite;
}
/* Cursor spotlight (driven by --mx/--my from JS) */
.checkout-x .order-form-x::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, 0.07), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.checkout-x .order-form-x:hover::after { opacity: 1; }

/* Fields ------------------------------------------------------ */
.order-form-x .form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.order-form-x .field-x.wide { grid-column: 1 / -1; }

.field-x {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 9px;
  animation: cx-rise 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.field-x:nth-child(1) { animation-delay: 0.08s; }
.field-x:nth-child(2) { animation-delay: 0.13s; }
.field-x:nth-child(3) { animation-delay: 0.18s; }
.field-x:nth-child(4) { animation-delay: 0.23s; }
.field-x:nth-child(5) { animation-delay: 0.28s; }
.field-x > span {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--premium-muted);
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.field-x .field-hint {
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--premium-cyan);
  text-transform: none;
}
.field-x input,
.field-x select {
  width: 100%;
  padding: 15px 17px;
  border-radius: 16px;
  border: 1px solid var(--premium-line);
  background: rgba(255, 255, 255, 0.035);
  color: var(--premium-text);
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  transition: border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, transform 0.22s ease;
  appearance: none;
}
.field-x select {
  background-image:
    linear-gradient(45deg, transparent 50%, var(--premium-muted) 50%),
    linear-gradient(135deg, var(--premium-muted) 50%, transparent 50%);
  background-position: calc(100% - 22px) center, calc(100% - 17px) center;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 42px;
  cursor: pointer;
}
.field-x input::placeholder { color: rgba(235, 241, 255, 0.40); font-weight: 500; }
.field-x input:hover,
.field-x select:hover { border-color: rgba(255, 255, 255, 0.30); }
.field-x input:focus,
.field-x select:focus {
  outline: none;
  border-color: var(--premium-cyan);
  background: rgba(36, 212, 255, 0.08);
  box-shadow: 0 0 0 4px rgba(36, 212, 255, 0.16);
  transform: translateY(-1px);
}

.email-field { animation: cx-rise 0.42s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.email-field[hidden] { display: none; }

/* Payment selector ------------------------------------------- */
.pay-select { margin-top: 26px; }
.pay-select-title {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--premium-muted);
  margin: 0 0 14px;
}
.pay-options { display: grid; gap: 12px; }
.pay-option {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 17px 19px;
  border-radius: 20px;
  border: 1px solid var(--premium-line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--premium-text);
  cursor: pointer;
  overflow: hidden;
  text-align: left;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.pay-option:hover { transform: translateY(-2px); border-color: rgba(255, 255, 255, 0.30); }
.pay-option .pay-glow {
  position: absolute;
  inset: -1px;
  background: linear-gradient(120deg, rgba(255, 211, 61, 0.18), rgba(36, 212, 255, 0.18) 52%, rgba(255, 61, 127, 0.18));
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.pay-option.is-active {
  border-color: transparent;
  background:
    linear-gradient(rgba(8, 13, 26, 0.7), rgba(8, 13, 26, 0.7)) padding-box,
    linear-gradient(120deg, var(--premium-yellow), var(--premium-cyan) 54%, var(--premium-pink)) border-box;
  box-shadow: 0 14px 34px rgba(36, 212, 255, 0.18);
  animation: cx-pulse 3.4s ease-in-out infinite;
}
.pay-option.is-active .pay-glow { opacity: 1; }
.pay-option-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: 15px;
  font-size: 22px;
  font-weight: 900;
  color: #07101f;
  background: linear-gradient(135deg, var(--premium-yellow), var(--premium-cyan));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3);
}
.pay-option.is-active .pay-option-icon { animation: cx-float-chip 3s ease-in-out infinite; }
.pay-option-body { position: relative; display: flex; flex-direction: column; gap: 3px; flex: 1; }
.pay-option-body strong { font-size: 16px; font-weight: 800; }
.pay-option-body small { font-size: 12.5px; color: var(--premium-muted); }
.pay-check {
  position: relative;
  width: 26px;
  height: 26px;
  flex: none;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.26);
  transition: border-color 0.25s ease;
}
.pay-option.is-active .pay-check { border-color: var(--premium-cyan); }
.pay-option.is-active .pay-check::after {
  content: "✓";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 900;
  color: var(--premium-cyan);
  animation: cx-tick 0.4s cubic-bezier(0.2, 0.9, 0.3, 1.4) both;
}

/* Consent (custom checkbox + hover tooltip) ------------------- */
.consent-x {
  position: relative;
  display: flex;
  gap: 13px;
  align-items: flex-start;
  margin-top: 24px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid var(--premium-line);
  background: rgba(255, 255, 255, 0.025);
  cursor: pointer;
  transition: border-color 0.22s ease, background 0.22s ease;
}
.consent-x:hover { border-color: rgba(255, 255, 255, 0.26); background: rgba(255, 255, 255, 0.04); }
.consent-x input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}
.consent-box {
  position: relative;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  flex: none;
  margin-top: 1px;
  border-radius: 8px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.04);
  transition: border-color 0.22s ease, background 0.22s ease, transform 0.15s ease;
}
.consent-x:active .consent-box { transform: scale(0.92); }
.consent-tick {
  font-size: 14px;
  font-weight: 900;
  color: #07101f;
  opacity: 0;
  transform: scale(0);
}
.consent-x input:checked ~ .consent-box {
  border-color: transparent;
  background: linear-gradient(135deg, var(--premium-yellow), var(--premium-cyan));
  box-shadow: 0 6px 16px rgba(36, 212, 255, 0.32);
}
.consent-x input:checked ~ .consent-box .consent-tick {
  opacity: 1;
  animation: cx-tick 0.38s cubic-bezier(0.2, 0.9, 0.3, 1.4) both;
}
.consent-x input:focus-visible ~ .consent-box {
  outline: 2px solid var(--premium-cyan);
  outline-offset: 3px;
}
.consent-label {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--premium-muted);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 8px;
}
.consent-label a { color: var(--premium-yellow); text-decoration: none; border-bottom: 1px solid rgba(255, 211, 61, 0.4); }
.consent-label a:hover { border-bottom-color: var(--premium-yellow); }

/* Info trigger + tooltip */
.consent-info {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 19px;
  height: 19px;
  flex: none;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  background: transparent;
  color: var(--premium-text);
  font-size: 11px;
  font-weight: 800;
  font-style: italic;
  font-family: inherit;
  cursor: help;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.consent-info:hover,
.consent-info:focus-visible {
  border-color: var(--premium-cyan);
  background: rgba(36, 212, 255, 0.16);
  transform: translateY(-1px);
  outline: none;
}
.consent-tip {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  width: min(330px, 80vw);
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid var(--premium-line);
  background: var(--premium-panel-strong);
  box-shadow: var(--premium-shadow);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: var(--premium-muted);
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.6;
  text-align: left;
  letter-spacing: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.24s ease, transform 0.24s ease, visibility 0.24s;
  z-index: 30;
}
.consent-tip strong {
  display: block;
  margin-bottom: 6px;
  color: var(--premium-yellow);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.consent-tip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 7px solid transparent;
  border-top-color: var(--premium-panel-strong);
}
.consent-info:hover .consent-tip,
.consent-info:focus-visible .consent-tip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* Submit CTA — tactile glass + pop shadow --------------------- */
.glass-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  margin-top: 26px;
  padding: 19px 26px;
  border-radius: 18px;
  border: none;
  background: linear-gradient(120deg, var(--premium-yellow), var(--premium-cyan) 56%, var(--premium-pink));
  color: #06101f;
  font-size: 16.5px;
  font-weight: 900;
  letter-spacing: 0.01em;
  font-family: inherit;
  cursor: pointer;
  overflow: hidden;
  box-shadow: 0 8px 0 rgba(0, 0, 0, 0.32), 0 22px 44px rgba(36, 212, 255, 0.26);
  transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.2s ease;
}
.glass-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 35%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: translateX(-130%) skewX(-18deg);
}
.glass-button:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 10px 0 rgba(0, 0, 0, 0.32), 0 26px 52px rgba(36, 212, 255, 0.34);
}
.glass-button:hover::before { animation: cx-sheen 1s ease; }
.glass-button:active {
  transform: translateY(4px);
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.32), 0 14px 26px rgba(36, 212, 255, 0.24);
}
.glass-button:disabled { filter: grayscale(0.3) brightness(0.85); cursor: progress; }
.glass-button .glass-button-arrow { font-size: 19px; transition: transform 0.18s ease; }
.glass-button:hover .glass-button-arrow { transform: translateX(5px); }

/* Order summary aside ----------------------------------------- */
.payment-box-x {
  position: relative;
  border-radius: 26px;
  border: 1px solid var(--premium-line);
  border-top: 4px solid var(--premium-yellow);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent 26%),
    var(--premium-panel-strong);
  box-shadow: var(--premium-pop);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  overflow: hidden;
  animation: cx-rise 0.62s cubic-bezier(0.2, 0.8, 0.2, 1) 0.12s both;
}
.payment-box-x .payment-status-pill {
  background: rgba(70, 245, 111, 0.16);
  color: var(--premium-green);
  border: 1px solid rgba(70, 245, 111, 0.4);
}
.checkout-summary-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 20px;
  border-radius: 18px;
  border: 1px solid var(--premium-line);
  background:
    radial-gradient(120% 120% at 100% 0%, rgba(36, 212, 255, 0.10), transparent 55%),
    rgba(255, 255, 255, 0.03);
}
.checkout-summary-card strong { font-size: 12px; color: var(--premium-muted); font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.checkout-summary-card .summary-product { font-size: 19px; font-weight: 900; color: var(--premium-text); letter-spacing: -0.01em; }
.checkout-summary-card .summary-fulfillment {
  align-self: flex-start;
  margin-top: 5px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--premium-cyan);
  background: rgba(36, 212, 255, 0.14);
  border: 1px solid rgba(36, 212, 255, 0.3);
}
.checkout-summary-card .price-stack { margin-top: 10px; font-size: 22px; font-weight: 900; }

/* Responsive -------------------------------------------------- */
@media (max-width: 900px) {
  .checkout-x { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .order-form-x .form-grid { grid-template-columns: 1fr; }
  .checkout-x .order-form-x { padding: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .checkout-x .checkout-hero,
  .checkout-x .order-form-x,
  .payment-box-x,
  .field-x,
  .email-field,
  .pay-option.is-active,
  .pay-option.is-active .pay-option-icon,
  .pay-option.is-active .pay-check::after,
  .consent-x input:checked ~ .consent-box .consent-tick { animation: none; }
  .checkout-x .order-form-x::before { animation: none; }
  .glass-button:hover::before { animation: none; }
  .field-x input:focus, .field-x select:focus,
  .pay-option:hover, .glass-button:hover, .glass-button:active { transform: none; }
}
/* ============================================================
   STORE V2 — brand-new catalog tiles (Brawl gem-pack style)
   ============================================================ */
@keyframes v2-rise { from { opacity:0; transform: translateY(24px) scale(.97);} to {opacity:1; transform:none;} }
@keyframes v2-bob  { 0%,100%{transform:translateY(0);} 50%{transform:translateY(-7px);} }
@keyframes v2-shine{ 0%{transform:translateX(-130%) skewX(-18deg);} 100%{transform:translateX(360%) skewX(-18deg);} }
@keyframes v2-ribbon{ 0%,100%{filter:brightness(1);} 50%{filter:brightness(1.18);} }

.product-grid.store-v2 {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  background: none !important;
  border: none !important;
  padding: 0 !important;
}

.v2-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 22px;
  border: 1px solid var(--premium-line);
  background:
    linear-gradient(180deg, rgba(255,255,255,.06), transparent 26%),
    var(--premium-panel);
  box-shadow: var(--premium-pop);
  overflow: hidden;
  cursor: pointer;
  isolation: isolate;
  transform: perspective(900px) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg));
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  animation: v2-rise .5s cubic-bezier(.2,.8,.2,1) both;
}
.v2-card:hover {
  border-color: var(--premium-line-hot);
  box-shadow: 0 14px 0 rgba(0,0,0,.34), 0 34px 60px rgba(0,0,0,.4), 0 0 0 1px rgba(255,211,61,.2);
}
.v2-card:focus-visible { outline: 3px solid var(--premium-cyan); outline-offset: 3px; }

/* Art panel — vivid green Brawl gem tile */
.v2-art {
  position: relative;
  aspect-ratio: 1 / 0.86;
  display: grid;
  place-items: center;
  padding: 14px;
  background:
    radial-gradient(120% 120% at 50% 12%, rgba(255,255,255,.18), transparent 55%),
    linear-gradient(165deg, #7ee23a 0%, #46c93a 52%, #2ba33b 100%);
  border-bottom: 3px solid rgba(0,0,0,.28);
}
.v2-card--gems .v2-art {
  background:
    radial-gradient(120% 120% at 50% 10%, rgba(255,255,255,.22), transparent 52%),
    linear-gradient(165deg, #8bf04a 0%, #43cd3e 54%, #1f9b3a 100%);
}
.v2-card--pass .v2-art, .v2-card--pass-plus .v2-art, .v2-card--pro .v2-art {
  background: radial-gradient(120% 120% at 50% 10%, rgba(255,255,255,.16), transparent 55%), linear-gradient(165deg, #4aa8ff, #6a5cff 55%, #8b3dff);
}
.v2-card--special .v2-art, .v2-card--special-skin .v2-art {
  background: radial-gradient(120% 120% at 50% 10%, rgba(255,255,255,.18), transparent 55%), linear-gradient(165deg, #ffd24a, #ff8a1f 60%, #ff5677);
}
.v2-card--skin .v2-art, .v2-card--skin-aqua .v2-art, .v2-card--skin-blue .v2-art, .v2-card--skin-yellow .v2-art, .v2-card--graffiti .v2-art {
  background: radial-gradient(120% 120% at 50% 10%, rgba(255,255,255,.16), transparent 55%), linear-gradient(165deg, #29d4ff, #3d7bff 60%, #7d3dff);
}

.v2-art-inner {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.v2-card:hover .v2-art-inner { animation: v2-bob 2.6s ease-in-out infinite; }

/* All product art normalized to one consistent box.
   Small source images scale up, large ones scale down — every card matches. */
.v2-art .product-main-art {
  position: static !important;
  inset: auto !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  transform: none !important;
  filter: drop-shadow(0 8px 12px rgba(0,0,0,.42));
}
/* Per-category framing so different art shapes read as a set */
.v2-card--gems .v2-art .product-main-art { padding: 4%; }
.v2-card--pass .v2-art .product-main-art,
.v2-card--pass-plus .v2-art .product-main-art,
.v2-card--pro .v2-art .product-main-art { padding: 10%; }
/* Skins: identical framing across every section — fill the panel,
   center the character. Cover makes all skin cards read as one set
   regardless of the source image aspect ratio. */
.v2-card--skin .v2-art,
.v2-card--skin-aqua .v2-art,
.v2-card--skin-blue .v2-art,
.v2-card--skin-yellow .v2-art {
  padding: 0;
}
.v2-card--skin .v2-art .v2-art-inner,
.v2-card--skin-aqua .v2-art .v2-art-inner,
.v2-card--skin-blue .v2-art .v2-art-inner,
.v2-card--skin-yellow .v2-art .v2-art-inner {
  width: 100%;
  height: 100%;
}
.v2-card--skin .v2-art .product-main-art,
.v2-card--skin-aqua .v2-art .product-main-art,
.v2-card--skin-blue .v2-art .product-main-art,
.v2-card--skin-yellow .v2-art .product-main-art {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center 30% !important;
  padding: 0 !important;
  filter: none;
}
.v2-card--special .v2-art .product-main-art,
.v2-card--special-skin .v2-art .product-main-art { padding: 6%; }
.v2-card--graffiti .v2-art .product-main-art { padding: 8%; }

/* Gem tiers: subtle progression only (cards stay uniform) */
.v2-card--gems .v2-art .gem-tier-0 { transform: scale(0.78) !important; }
.v2-card--gems .v2-art .gem-tier-1 { transform: scale(0.86) !important; }
.v2-card--gems .v2-art .gem-tier-2 { transform: scale(0.93) !important; }
.v2-card--gems .v2-art .gem-tier-3 { transform: scale(0.97) !important; }
.v2-card--gems .v2-art .gem-tier-4 { transform: scale(1.0)  !important; }
.v2-card--gems .v2-art .gem-tier-5 { transform: scale(1.04) !important; }
.v2-art .product-extra-art { display: none !important; }

/* Акция combo: three packs clustered together (restored old look) */
.v2-combo {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 150px;
  z-index: 1;
}
.v2-combo .v2-combo-art {
  position: absolute;
  object-fit: contain;
  filter: drop-shadow(0 6px 10px rgba(0,0,0,.45));
}
.v2-combo .combo-1 { width: 56%; left: 6%;  bottom: 8%;  z-index: 3; }   /* gems */
.v2-combo .combo-2 { width: 40%; right: 8%; top: 12%;    z-index: 2; }   /* coins */
.v2-combo .combo-3 { width: 44%; right: 6%; bottom: 6%;  z-index: 4; }   /* credits */
.v2-card:hover .v2-combo { animation: v2-bob 2.6s ease-in-out infinite; }

/* Cursor glare */
.v2-glow {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: radial-gradient(220px circle at var(--gx,50%) var(--gy,30%), rgba(255,255,255,.28), transparent 60%);
  opacity: 0; transition: opacity .3s ease;
}
.v2-card:hover .v2-glow { opacity: 1; }

/* Amount badge (top-right, like the reference) */
.v2-amount {
  position: absolute; top: 12px; right: 14px; z-index: 3;
  font-family: Unbounded, Manrope, sans-serif;
  font-size: 26px; font-weight: 800; line-height: 1;
  color: #fff;
  text-shadow: 0 2px 0 rgba(0,0,0,.45), 0 0 14px rgba(0,0,0,.3);
}
.v2-discount {
  position: absolute; top: 12px; left: 14px; z-index: 3;
  padding: 4px 9px; border-radius: 999px;
  font-size: 12px; font-weight: 800; color: #06101f;
  background: var(--premium-yellow);
  box-shadow: 0 3px 0 rgba(0,0,0,.3);
}

/* POPULAR / BEST VALUE ribbon (bottom of art) */
.v2-ribbon {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  padding: 6px 0; text-align: center;
  font-size: 12.5px; font-weight: 900; letter-spacing: .14em;
  color: #fff; text-transform: uppercase;
  animation: v2-ribbon 2.4s ease-in-out infinite;
}
.v2-ribbon--popular { background: linear-gradient(90deg,#ff2d55,#ff5677); }
.v2-ribbon--best    { background: linear-gradient(90deg,#ff2d55,#ff7a18); }
.v2-card.is-highlight { border-color: rgba(255,45,85,.5); }

/* Body */
.v2-body { padding: 14px 16px 6px; display: flex; flex-direction: column; gap: 4px; }
.v2-title { margin: 0; font-size: 17px; font-weight: 800; color: var(--premium-text); letter-spacing: -.01em; }
.v2-bonus { font-size: 12px; font-weight: 700; color: var(--premium-cyan); letter-spacing: .02em; }

/* Price bar */
.v2-pricebar {
  margin-top: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 12px 16px 16px;
}
.v2-price {
  font-size: 19px; font-weight: 900; color: var(--premium-text);
  display: inline-flex; align-items: baseline; gap: 7px;
}
.v2-price small { font-size: 12px; font-weight: 600; color: var(--premium-muted); }
.v2-buy {
  position: relative; overflow: hidden;
  padding: 9px 18px; border-radius: 12px;
  font-size: 14px; font-weight: 900; color: #06101f;
  background: linear-gradient(120deg, var(--premium-yellow), var(--premium-cyan));
  box-shadow: 0 5px 0 rgba(0,0,0,.3);
  transition: transform .14s ease, box-shadow .14s ease, filter .2s ease;
}
.v2-card:hover .v2-buy { filter: brightness(1.06); }
.v2-buy::before {
  content:""; position:absolute; top:0; left:0; width:40%; height:100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.6), transparent);
  transform: translateX(-130%) skewX(-18deg);
}
.v2-card:hover .v2-buy::before { animation: v2-shine 1s ease; }
.v2-card:active .v2-buy { transform: translateY(3px); box-shadow: 0 2px 0 rgba(0,0,0,.3); }

@media (max-width: 560px) {
  .product-grid.store-v2 { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .v2-amount { font-size: 20px; }
  .v2-title { font-size: 15px; }
  .v2-price { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .v2-card, .v2-card:hover .v2-art-inner, .v2-ribbon { animation: none; }
  .v2-card { transform: none; }
  .v2-card:hover .v2-buy::before { animation: none; }
}
/* ============================================================
   LANDING V2 (lx-*) — brand-new homepage
   ============================================================ */
@keyframes lx-rise { from{opacity:0; transform:translateY(26px);} to{opacity:1; transform:none;} }
@keyframes lx-orb  { 0%,100%{transform:translate(0,0) scale(1);} 50%{transform:translate(6%, -8%) scale(1.15);} }
@keyframes lx-bob  { 0%,100%{transform:translateY(0) rotate(-3deg);} 50%{transform:translateY(-10px) rotate(-3deg);} }
@keyframes lx-shine{ 0%{transform:translateX(-130%) skewX(-18deg);} 100%{transform:translateX(360%) skewX(-18deg);} }

/* HERO */
.lx-hero {
  position: relative;
  margin: 8px 0 46px;
  padding: 56px clamp(20px, 4vw, 52px);
  border-radius: 30px;
  border: 1px solid var(--premium-line);
  background:
    linear-gradient(180deg, rgba(255,255,255,.05), transparent 24%),
    var(--premium-panel);
  box-shadow: var(--premium-pop);
  overflow: hidden;
  isolation: isolate;
}
.lx-hero-bg { position:absolute; inset:0; z-index:-1; filter: blur(38px); opacity:.6; }
.lx-orb { position:absolute; width:340px; height:340px; border-radius:50%; }
.lx-orb--y { top:-90px; left:-60px;  background: radial-gradient(closest-side, rgba(255,211,61,.6), transparent 70%); animation: lx-orb 16s ease-in-out infinite; }
.lx-orb--c { top:40px;  right:-80px; background: radial-gradient(closest-side, rgba(36,212,255,.55), transparent 70%); animation: lx-orb 19s ease-in-out infinite 1s; }
.lx-orb--p { bottom:-120px; left:38%; background: radial-gradient(closest-side, rgba(255,61,127,.5), transparent 70%); animation: lx-orb 22s ease-in-out infinite .5s; }

.lx-hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0,1.4fr) minmax(240px,.78fr);
  gap: 44px;
  align-items: center;
}
.lx-hero-copy { animation: lx-rise .6s cubic-bezier(.2,.8,.2,1) both; }
.lx-pill {
  display:inline-flex; align-items:center; gap:8px;
  padding:7px 14px; border-radius:999px;
  border:1px solid var(--premium-line);
  background: rgba(255,255,255,.05);
  font-size:12.5px; font-weight:700; color:var(--premium-muted);
}
.lx-pill i { width:8px; height:8px; border-radius:50%; background:var(--premium-green); box-shadow:0 0 10px var(--premium-green); }
.lx-title {
  margin:18px 0 14px;
  font-family: Unbounded, Manrope, sans-serif;
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 800; line-height: 1.02; letter-spacing:-.02em;
  color: var(--premium-text);
}
.lx-title span {
  background: linear-gradient(100deg, var(--premium-yellow), var(--premium-cyan) 55%, var(--premium-pink));
  -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent;
}
.lx-sub { max-width: 540px; font-size:16px; line-height:1.6; color:var(--premium-muted); }
.lx-hero-actions { display:flex; flex-wrap:wrap; gap:14px; margin:26px 0 30px; }
.lx-cta { width:auto; margin:0; padding:16px 28px; }
.lx-ghost {
  display:inline-flex; align-items:center;
  padding:16px 26px; border-radius:16px;
  border:1px solid var(--premium-line);
  background: rgba(255,255,255,.04);
  color:var(--premium-text); font-weight:800; font-size:15px;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.lx-ghost:hover { border-color:var(--premium-line-hot); background:rgba(255,255,255,.07); transform:translateY(-2px); }

.lx-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  margin-top: 4px;
}
.lx-stats div {
  display: flex;
  flex-direction: column;
  min-width: 96px;
  padding-right: 28px;
  border-right: 1px solid var(--premium-line);
}
.lx-stats div:last-child { border-right: none; padding-right: 0; }
.lx-stats strong { font-size: 24px; font-weight: 900; color: var(--premium-text); line-height: 1.1; }
.lx-stats small { font-size: 12px; color: var(--premium-muted); margin-top: 2px; }

/* Hero product card */
.lx-hero-card {
  position: relative;
  width: 100%;
  max-width: 360px;
  justify-self: end;
  border-radius: 24px;
  border:1px solid var(--premium-line);
  background: var(--premium-panel-strong);
  box-shadow: var(--premium-pop);
  overflow: hidden;
  animation: lx-rise .7s cubic-bezier(.2,.8,.2,1) .1s both;
}
.lx-card-ribbon {
  position:absolute; top:14px; left:14px; z-index:2;
  padding:5px 12px; border-radius:999px;
  font-size:12px; font-weight:900; letter-spacing:.1em; color:#06101f;
  background: var(--premium-yellow); box-shadow:0 3px 0 rgba(0,0,0,.3);
}
.lx-card-art {
  display:grid; place-items:center;
  aspect-ratio: 1 / 0.82;
  padding:22px;
  background: radial-gradient(120% 120% at 50% 8%, rgba(255,255,255,.22), transparent 52%), linear-gradient(165deg,#8bf04a,#43cd3e 54%,#1f9b3a);
}
.lx-card-art img {
  width:100%; height:100%;
  object-fit:contain;
  filter: drop-shadow(0 10px 14px rgba(0,0,0,.4));
  animation: lx-bob 4s ease-in-out infinite;
}
.lx-card-body { padding:16px 18px 18px; display:flex; flex-direction:column; gap:5px; }
.lx-card-body strong { font-size:19px; font-weight:900; }
.lx-card-bonus { font-size:12.5px; font-weight:700; color:var(--premium-cyan); }
.lx-card-foot { margin-top:8px; display:flex; align-items:center; justify-content:space-between; }
.lx-card-price { font-size:22px; font-weight:900; }
.lx-card-buy {
  padding:10px 20px; border-radius:13px; font-weight:900; font-size:14px; color:#06101f;
  background: linear-gradient(120deg,var(--premium-yellow),var(--premium-cyan)); box-shadow:0 5px 0 rgba(0,0,0,.3);
  transition: transform .14s ease, filter .2s ease;
}
.lx-card-buy:hover { filter:brightness(1.06); }
.lx-card-buy:active { transform:translateY(3px); box-shadow:0 2px 0 rgba(0,0,0,.3); }

/* SECTIONS */
.lx-section { margin: 0 0 46px; }
.lx-section-head { margin-bottom: 22px; }
.lx-section-head .eyebrow { color: var(--premium-yellow); }
.lx-section-head h2 { margin:6px 0 0; font-family:Unbounded,Manrope,sans-serif; font-size:clamp(24px,3vw,34px); font-weight:800; letter-spacing:-.01em; }

/* Category cards */
.lx-cats { display:grid; grid-template-columns:repeat(auto-fill, minmax(230px,1fr)); gap:18px; }
.lx-cat {
  position:relative; display:flex; align-items:center; gap:16px;
  padding:20px; border-radius:22px; cursor:pointer; overflow:hidden;
  border:1px solid var(--premium-line); background:var(--premium-panel);
  box-shadow: var(--premium-pop);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
  animation: lx-rise .5s cubic-bezier(.2,.8,.2,1) both;
}
.lx-cat:hover { transform:translateY(-4px); border-color:var(--premium-line-hot); box-shadow:0 14px 0 rgba(0,0,0,.34),0 30px 54px rgba(0,0,0,.4); }
.lx-cat-glow { position:absolute; inset:0; z-index:0; opacity:.5; filter:blur(30px); pointer-events:none; }
.lx-cat--gems .lx-cat-glow    { background:radial-gradient(closest-side at 18% 50%, rgba(67,205,62,.6), transparent 70%); }
.lx-cat--pass .lx-cat-glow    { background:radial-gradient(closest-side at 18% 50%, rgba(106,92,255,.6), transparent 70%); }
.lx-cat--skins .lx-cat-glow   { background:radial-gradient(closest-side at 18% 50%, rgba(36,212,255,.6), transparent 70%); }
.lx-cat--special .lx-cat-glow { background:radial-gradient(closest-side at 18% 50%, rgba(255,138,31,.6), transparent 70%); }
.lx-cat img { position:relative; z-index:1; width:62px; height:62px; object-fit:contain; flex:none; filter:drop-shadow(0 6px 8px rgba(0,0,0,.4)); }
.lx-cat-text { position:relative; z-index:1; flex:1; }
.lx-cat-text h3 { margin:0; font-size:18px; font-weight:800; }
.lx-cat-text p { margin:3px 0 0; font-size:13px; color:var(--premium-muted); }
.lx-cat-go { position:relative; z-index:1; font-size:20px; font-weight:900; color:var(--premium-yellow); transition: transform .2s ease; }
.lx-cat:hover .lx-cat-go { transform:translateX(5px); }

/* Steps */
.lx-steps { display:grid; grid-template-columns:repeat(auto-fit, minmax(240px,1fr)); gap:18px; }
.lx-step {
  position:relative; padding:24px; border-radius:22px;
  border:1px solid var(--premium-line); background:var(--premium-panel);
  box-shadow: var(--premium-pop);
}
.lx-step-num {
  display:grid; place-items:center; width:42px; height:42px; margin-bottom:14px;
  border-radius:13px; font-family:Unbounded,Manrope,sans-serif; font-size:18px; font-weight:800; color:#06101f;
  background:linear-gradient(135deg,var(--premium-yellow),var(--premium-cyan)); box-shadow:0 4px 0 rgba(0,0,0,.3);
}
.lx-step h3 { margin:0 0 6px; font-size:17px; font-weight:800; }
.lx-step p { margin:0; font-size:13.5px; line-height:1.55; color:var(--premium-muted); }

/* Trust strip */
.lx-trust { display:grid; grid-template-columns:repeat(auto-fit, minmax(220px,1fr)); gap:14px; margin-bottom:20px; }
.lx-trust article {
  display:flex; align-items:center; gap:14px; padding:18px;
  border-radius:18px; border:1px solid var(--premium-line); background:rgba(255,255,255,.025);
}
.lx-trust span { font-size:24px; flex:none; }
.lx-trust strong { display:block; font-size:15px; font-weight:800; }
.lx-trust p { margin:2px 0 0; font-size:12.5px; color:var(--premium-muted); }

@media (max-width:860px) {
  .lx-hero-inner { grid-template-columns:1fr; }
  .lx-hero-card { max-width:340px; }
}
@media (prefers-reduced-motion: reduce) {
  .lx-orb, .lx-hero-copy, .lx-hero-card, .lx-cat, .lx-card-art img { animation:none; }
  .lx-cat:hover, .lx-ghost:hover { transform:none; }
}

/* ============================================================
   CHARLIE STORE — aligned Brawl-style polish, 2026-06-12
   Fixes uneven spacing, card sizes, section rhythm and visual depth.
   ============================================================ */
:root {
  --cs-bg-a: #1017b7;
  --cs-bg-b: #7d2fff;
  --cs-bg-c: #17102a;
  --cs-panel: rgba(18, 13, 45, 0.78);
  --cs-panel-2: rgba(25, 18, 66, 0.92);
  --cs-stroke: rgba(255, 255, 255, 0.18);
  --cs-stroke-hot: rgba(255, 221, 62, 0.62);
  --cs-yellow: #ffdd3f;
  --cs-orange: #ff8a1f;
  --cs-pink: #ff3d9a;
  --cs-blue: #28b8ff;
  --cs-green: #45f56f;
  --cs-black: #070913;
  --cs-text: #ffffff;
  --cs-muted: rgba(236, 242, 255, 0.78);
  --cs-page-width: 1180px;
  --cs-radius: 24px;
  --cs-pop: 0 10px 0 rgba(0,0,0,.32), 0 28px 62px rgba(0,0,0,.34);
  --cs-soft: 0 20px 60px rgba(5, 5, 20, 0.28);
}

@keyframes cs-bg-pan {
  0% { background-position: 0 0, 0 0, 0 0; }
  100% { background-position: 180px 140px, -240px 200px, 0 0; }
}

@keyframes cs-float-soft {
  0%,100% { transform: translate3d(0,0,0); }
  50% { transform: translate3d(0,-8px,0); }
}

@keyframes cs-glow-pulse {
  0%,100% { opacity: .62; filter: blur(22px); }
  50% { opacity: .9; filter: blur(28px); }
}

html {
  background: #070913;
}

body,
body.home-page,
body.catalog-page,
body.game-store-page,
body.checkout-page,
body.info-page,
body.orders-page {
  color: var(--cs-text);
  background:
    radial-gradient(circle at 16% 9%, rgba(255, 61, 154, .32), transparent 28%),
    radial-gradient(circle at 86% 6%, rgba(40, 184, 255, .28), transparent 30%),
    linear-gradient(180deg, #1518c8 0%, #7a2eff 42%, #17102a 100%);
  background-attachment: fixed;
}

body::before {
  opacity: .78;
  background:
    radial-gradient(circle, rgba(255,255,255,.13) 0 2px, transparent 2.5px) 0 0 / 38px 38px,
    radial-gradient(circle, rgba(255,255,255,.08) 0 1px, transparent 1.5px) 19px 19px / 38px 38px,
    linear-gradient(120deg, rgba(255,255,255,.05), transparent 34%, rgba(255,255,255,.04) 62%, transparent 72%);
  animation: cs-bg-pan 24s linear infinite;
}

body::after {
  background:
    linear-gradient(110deg, transparent 0 37%, rgba(255,255,255,.10) 39%, transparent 42%),
    linear-gradient(70deg, transparent 0 63%, rgba(255,221,63,.16) 65%, transparent 69%);
  opacity: .58;
}

.site-header {
  min-height: 76px;
  padding-inline: max(18px, calc((100vw - var(--cs-page-width)) / 2 + 18px));
  border-bottom: 1px solid rgba(255,255,255,.13);
  background: rgba(8, 8, 24, .72);
  box-shadow: 0 14px 38px rgba(0,0,0,.26);
  backdrop-filter: blur(18px) saturate(150%);
}

.site-header::after {
  left: max(18px, calc((100vw - var(--cs-page-width)) / 2 + 18px));
  right: max(18px, calc((100vw - var(--cs-page-width)) / 2 + 18px));
  background: linear-gradient(90deg, transparent, var(--cs-yellow), var(--cs-blue), var(--cs-pink), transparent);
}

.brand {
  color: #fff;
  letter-spacing: -.02em;
}

.brand-mark {
  width: 46px;
  height: 46px;
  border: 2px solid rgba(255,255,255,.2);
  border-radius: 16px;
  background: linear-gradient(135deg, #ffcf31 0%, #ff8a1f 45%, #ff3d9a 100%);
  color: #090914;
  box-shadow: 0 6px 0 rgba(0,0,0,.28), 0 16px 28px rgba(0,0,0,.26);
}

.brand-mark::after {
  right: 8px;
  bottom: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
}

.top-nav {
  gap: 8px;
  padding: 6px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  background: rgba(255,255,255,.06);
}

.top-nav a,
.mobile-nav a {
  color: rgba(255,255,255,.78);
  padding: 10px 16px;
  border-radius: 999px;
}

.top-nav a:hover,
.mobile-nav a:hover,
.top-nav a.active,
.mobile-nav a.active {
  color: #081020;
  background: linear-gradient(135deg, var(--cs-yellow), var(--cs-blue));
  box-shadow: 0 4px 0 rgba(0,0,0,.24);
}

.mobile-nav {
  border-bottom: 1px solid rgba(255,255,255,.12);
  background: rgba(8,8,24,.94);
}

.menu-button {
  border-color: rgba(255,255,255,.16);
  background: rgba(255,255,255,.08);
}

.menu-button span {
  background: #fff;
}

main {
  width: 100%;
  overflow: clip;
}

/* global centered sections */
.page-hero,
.product-toolbar,
.product-grid,
.brawl-catalog-grid,
.lx-section,
.lx-trust,
.checkout-layout,
.info-layout,
.legal-quick-links {
  width: min(var(--cs-page-width), calc(100% - 32px));
  margin-left: auto;
  margin-right: auto;
}

.eyebrow {
  color: var(--cs-yellow);
  letter-spacing: .08em;
}

/* homepage hero — more like a game store promo block */
.lx-hero {
  width: min(1240px, calc(100% - 28px));
  margin: 22px auto 50px;
  padding: clamp(42px, 5.2vw, 78px) clamp(22px, 5vw, 66px);
  border: 3px solid rgba(0,0,0,.74);
  border-radius: 32px;
  background:
    radial-gradient(circle at 72% 38%, rgba(36,212,255,.30), transparent 24%),
    radial-gradient(circle at 22% 18%, rgba(255,221,63,.22), transparent 26%),
    linear-gradient(135deg, rgba(146,55,255,.95), rgba(58,34,205,.92) 44%, rgba(10,22,118,.94));
  box-shadow: 0 12px 0 rgba(0,0,0,.30), 0 34px 80px rgba(0,0,0,.36);
}

.lx-hero::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 24px;
  pointer-events: none;
}

.lx-hero::after {
  content: "";
  position: absolute;
  inset: auto -4% -32px -4%;
  height: 72px;
  background: linear-gradient(180deg, rgba(0,0,0,.0), rgba(0,0,0,.24));
  pointer-events: none;
}

.lx-hero-inner {
  gap: clamp(26px, 5vw, 70px);
  align-items: center;
}

.lx-title {
  max-width: 760px;
  color: #fff;
  text-shadow: 0 5px 0 rgba(0,0,0,.28), 0 20px 42px rgba(0,0,0,.32);
}

.lx-title span {
  color: var(--cs-yellow);
}

.lx-sub {
  max-width: 650px;
  color: rgba(255,255,255,.86);
}

.lx-pill {
  width: max-content;
  max-width: 100%;
  border: 2px solid rgba(0,0,0,.45);
  color: #07101f;
  background: linear-gradient(135deg, var(--cs-yellow), #fff06d);
  box-shadow: 0 4px 0 rgba(0,0,0,.25);
}

.glass-button,
.lx-ghost,
.primary-action,
.ghost-button,
.secondary-action {
  border-radius: 16px;
}

.glass-button,
.primary-action {
  color: #07101f;
  background: linear-gradient(135deg, var(--cs-yellow), var(--cs-blue));
  box-shadow: 0 6px 0 rgba(0,0,0,.32), 0 18px 34px rgba(0,0,0,.24);
}

.lx-ghost,
.ghost-button,
.secondary-action {
  border: 1px solid rgba(255,255,255,.18);
  color: #fff;
  background: rgba(255,255,255,.08);
}

.lx-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.lx-stats div {
  min-height: 86px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 20px;
  background: rgba(0,0,0,.18);
}

.lx-hero-card {
  width: min(360px, 100%);
  justify-self: center;
  border: 3px solid rgba(0,0,0,.72);
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 22%, rgba(255,255,255,.42), transparent 28%),
    linear-gradient(160deg, #3ff266 0%, #2bc25f 52%, #159744 100%);
  box-shadow: 0 10px 0 rgba(0,0,0,.30), 0 28px 52px rgba(0,0,0,.28);
  transform: none;
}

.lx-hero-card::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 20px;
  pointer-events: none;
}

.lx-card-art {
  min-height: 200px;
}

.lx-card-art img {
  width: min(230px, 78%);
  max-height: 190px;
  object-fit: contain;
  animation: cs-float-soft 3.2s ease-in-out infinite;
}

.lx-card-body {
  margin-top: 0;
  border-radius: 22px;
  background: rgba(6, 9, 20, .82);
}

/* clean content panels */
.lx-section,
.lx-trust,
.checkout-layout,
.info-layout {
  position: relative;
  margin-top: 34px;
}

.lx-section {
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 28px;
  background: rgba(9, 10, 34, .42);
  box-shadow: var(--cs-soft);
  backdrop-filter: blur(12px);
}

.lx-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.lx-section-head h2,
.page-hero h1,
.checkout-hero h1,
.brawl-section-body h2 {
  color: #fff;
  text-shadow: 0 3px 0 rgba(0,0,0,.28);
}

.lx-cats,
.lx-steps,
.lx-trust {
  align-items: stretch;
}

.lx-cat,
.lx-step,
.lx-trust article {
  border-radius: 22px;
  border-color: rgba(255,255,255,.16);
  background: rgba(17, 16, 50, .72);
  box-shadow: 0 6px 0 rgba(0,0,0,.24), 0 18px 36px rgba(0,0,0,.22);
}

.lx-cat {
  min-height: 118px;
  transform: none;
}

.lx-cat:hover,
.lx-step:hover,
.lx-trust article:hover {
  transform: translateY(-4px);
  border-color: var(--cs-stroke-hot);
}

.lx-cat img {
  width: 72px;
  height: 72px;
}

/* catalog cards */
.brawl-catalog-hero,
.game-page-hero,
.checkout-hero,
.legal-hero {
  overflow: hidden;
  margin-top: 28px;
  border: 3px solid rgba(0,0,0,.72);
  border-radius: 28px;
  background:
    radial-gradient(circle at 74% 22%, rgba(255,221,63,.20), transparent 30%),
    radial-gradient(circle at 22% 72%, rgba(40,184,255,.20), transparent 34%),
    linear-gradient(135deg, rgba(32,36,184,.90), rgba(124,47,255,.88) 58%, rgba(20,14,48,.90));
  box-shadow: 0 10px 0 rgba(0,0,0,.28), 0 30px 70px rgba(0,0,0,.32);
}

.brawl-catalog-hero::before,
.game-page-hero::before,
.checkout-hero::before,
.legal-hero::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 20px;
  pointer-events: none;
}

.page-hero p,
.checkout-hero p,
.legal-hero p {
  color: rgba(255,255,255,.82) !important;
}

.brawl-catalog-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 28px;
  margin-bottom: 70px;
}

.brawl-section-card {
  min-height: 450px;
  grid-template-rows: 190px 1fr;
  border: 3px solid rgba(0,0,0,.78);
  border-radius: 26px;
  box-shadow: 0 8px 0 rgba(0,0,0,.28), 0 26px 52px rgba(0,0,0,.30);
  transform: none;
}

.brawl-section-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 0 rgba(0,0,0,.25), 0 34px 66px rgba(0,0,0,.34);
}

.brawl-section-card::before {
  inset: 12px;
  border-radius: 18px;
}

.brawl-section-art {
  padding: 24px 18px 10px;
}

.brawl-section-art img {
  max-width: 34%;
  max-height: 150px;
}

.brawl-section-body {
  padding: 0 22px 22px;
}

.brawl-section-body > span {
  border-width: 2px;
  border-radius: 12px;
  font-size: 14px;
  transform: none;
}

.brawl-section-body p {
  color: rgba(255,255,255,.84);
}

.game-meta span {
  border-color: rgba(255,255,255,.16);
  border-radius: 999px;
  background: rgba(0,0,0,.18);
}

/* product page toolbar */
.product-toolbar {
  position: sticky;
  top: 86px;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  margin-bottom: 26px;
  padding: 12px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 22px;
  background: rgba(8, 8, 24, .68);
  box-shadow: 0 12px 38px rgba(0,0,0,.22);
  backdrop-filter: blur(14px) saturate(150%);
}

.segmented {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  border: 0;
  background: transparent;
}

.segmented button {
  min-height: 42px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 999px;
  color: rgba(255,255,255,.80);
  background: rgba(255,255,255,.07);
  font-weight: 900;
  padding: 0 16px;
}

.segmented button:hover,
.segmented button.active {
  color: #06101f;
  background: linear-gradient(135deg, var(--cs-yellow), var(--cs-blue));
  box-shadow: 0 4px 0 rgba(0,0,0,.28);
}

.product-toolbar .ghost-button {
  min-width: 150px;
  min-height: 42px;
  border-radius: 999px;
}

/* Brawl product cards — uniform, centered, no crooked transforms */
.product-grid.store-v2 {
  width: min(var(--cs-page-width), calc(100% - 32px)) !important;
  grid-template-columns: repeat(auto-fit, minmax(238px, 1fr)) !important;
  gap: 24px !important;
  align-items: stretch !important;
  margin: 0 auto 76px !important;
}

.v2-card {
  min-height: 404px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  border: 3px solid rgba(0,0,0,.76);
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03) 26%, rgba(0,0,0,.12)),
    rgba(15, 15, 45, .88);
  box-shadow: 0 8px 0 rgba(0,0,0,.30), 0 24px 50px rgba(0,0,0,.30);
  transform: none !important;
  transition: translate .22s ease, box-shadow .22s ease, border-color .22s ease, filter .22s ease;
}

.v2-card:hover {
  translate: 0 -8px;
  border-color: rgba(255,221,63,.84);
  box-shadow: 0 12px 0 rgba(0,0,0,.26), 0 32px 68px rgba(0,0,0,.36), 0 0 0 1px rgba(255,221,63,.18);
}

.v2-card::before {
  content: "";
  position: absolute;
  inset: 10px;
  z-index: 2;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 18px;
  pointer-events: none;
}

.v2-art {
  aspect-ratio: 1 / .92;
  min-height: 220px;
  border-bottom: 4px solid rgba(0,0,0,.30);
  border-radius: 22px 22px 0 0;
  padding: 16px;
  overflow: hidden;
}

.v2-art::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 28%, rgba(255,255,255,.34), transparent 28%),
    radial-gradient(circle, rgba(255,255,255,.12) 0 2px, transparent 2.5px) 0 0 / 30px 30px;
  opacity: .52;
  pointer-events: none;
}

.v2-card--gems .v2-art {
  background: linear-gradient(160deg, #9aff55 0%, #45d848 52%, #18a13a 100%);
}

.v2-card--pass .v2-art,
.v2-card--pass-plus .v2-art,
.v2-card--pro .v2-art {
  background: linear-gradient(160deg, #48c8ff 0%, #7458ff 52%, #cf3cff 100%);
}

.v2-card--special .v2-art,
.v2-card--special-skin .v2-art {
  background: linear-gradient(160deg, #ffdf45 0%, #ff8a1f 54%, #ff3d7f 100%);
}

.v2-card--skin .v2-art,
.v2-card--skin-aqua .v2-art,
.v2-card--skin-blue .v2-art,
.v2-card--skin-yellow .v2-art,
.v2-card--graffiti .v2-art,
.v2-card--bolt .v2-art,
.v2-card--bolt-plus .v2-art,
.v2-card--bolt-max .v2-art {
  background: linear-gradient(160deg, #28d5ff 0%, #317cff 56%, #7f35ff 100%);
}

.v2-card--skin-yellow .v2-art {
  background: linear-gradient(160deg, #ffe45c 0%, #ffb02e 52%, #ff5ea8 100%);
}

.v2-card--skin-aqua .v2-art,
.v2-card--graffiti .v2-art {
  background: linear-gradient(160deg, #48f0ff 0%, #28a4ff 54%, #6b45ff 100%);
}

.v2-card--bolt .v2-art,
.v2-card--bolt-plus .v2-art,
.v2-card--bolt-max .v2-art {
  background: linear-gradient(160deg, #222934 0%, #2fb7ff 52%, #ffe04a 100%);
}

.v2-art-inner {
  width: 100%;
  height: 100%;
  place-items: center;
}

.v2-card:hover .v2-art-inner,
.v2-card:hover .v2-combo {
  animation: cs-float-soft 2.8s ease-in-out infinite;
}

.v2-art .product-main-art {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  padding: 8px !important;
  filter: drop-shadow(0 12px 14px rgba(0,0,0,.38));
}

.v2-card--skin .v2-art .product-main-art,
.v2-card--skin-aqua .v2-art .product-main-art,
.v2-card--skin-blue .v2-art .product-main-art,
.v2-card--skin-yellow .v2-art .product-main-art,
.v2-card--special-skin .v2-art .product-main-art {
  object-fit: cover !important;
  object-position: center 30% !important;
  padding: 0 !important;
  filter: none;
}

.v2-card--gems .v2-art .product-main-art {
  object-fit: contain !important;
  padding: 12px !important;
}

.v2-card--pass .v2-art .product-main-art,
.v2-card--pass-plus .v2-art .product-main-art,
.v2-card--pro .v2-art .product-main-art {
  padding: 20px !important;
}

.v2-combo {
  min-height: 190px;
}

.v2-combo .v2-combo-art {
  filter: drop-shadow(0 11px 14px rgba(0,0,0,.42));
}

.v2-combo .combo-1 { width: 52%; left: 7%; bottom: 11%; }
.v2-combo .combo-2 { width: 38%; right: 10%; top: 13%; }
.v2-combo .combo-3 { width: 42%; right: 8%; bottom: 10%; }

.v2-discount,
.v2-amount,
.v2-ribbon {
  z-index: 4;
}

.v2-discount {
  top: 14px;
  left: 14px;
  border: 2px solid rgba(0,0,0,.42);
  border-radius: 12px;
  padding: 5px 10px;
  background: linear-gradient(180deg, #fff06d, var(--cs-yellow));
  box-shadow: 0 4px 0 rgba(0,0,0,.26);
}

.v2-amount {
  top: 15px;
  right: 16px;
  min-width: 44px;
  text-align: right;
  font-size: clamp(20px, 2.2vw, 28px);
  text-shadow: 0 3px 0 rgba(0,0,0,.48), 0 12px 24px rgba(0,0,0,.26);
}

.v2-ribbon {
  left: 14px;
  right: 14px;
  bottom: 12px;
  border-radius: 999px;
  padding: 7px 10px;
  box-shadow: 0 4px 0 rgba(0,0,0,.24);
}

.v2-body {
  padding: 16px 18px 8px;
  gap: 8px;
}

.v2-title {
  min-height: 44px;
  display: -webkit-box;
  overflow: hidden;
  color: #fff;
  font-size: 18px;
  line-height: 1.16;
  text-wrap: balance;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.v2-bonus {
  width: max-content;
  max-width: 100%;
  overflow: hidden;
  color: #10121c;
  background: linear-gradient(135deg, var(--cs-yellow), #fff06d);
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.v2-pricebar {
  padding: 12px 18px 18px;
  gap: 12px;
}

.v2-price {
  min-width: 0;
  color: #fff;
  font-size: 20px;
  white-space: nowrap;
}

.v2-price small {
  color: rgba(255,255,255,.58);
}

.v2-buy {
  flex: none;
  min-width: 96px;
  text-align: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--cs-yellow), var(--cs-blue));
  box-shadow: 0 5px 0 rgba(0,0,0,.32);
}

/* checkout and forms aligned with store design */
.checkout-layout.checkout-x {
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
  align-items: start;
  gap: 24px;
  margin-top: 28px;
  margin-bottom: 72px;
}

.order-form-x,
.payment-box-x,
.checkout-summary-card,
.legal-card,
.admin-card,
.orders-card,
.success-card,
.payment-box,
.order-form {
  border-radius: 26px !important;
  border: 1px solid rgba(255,255,255,.16) !important;
  background: rgba(10, 12, 34, .78) !important;
  box-shadow: 0 8px 0 rgba(0,0,0,.26), 0 26px 54px rgba(0,0,0,.28) !important;
}

.field-x input,
.field-x select,
.field-x textarea,
.order-form input,
.order-form select,
.order-form textarea {
  border-radius: 16px !important;
  border-color: rgba(255,255,255,.14) !important;
  background-color: rgba(255,255,255,.08) !important;
  color: #fff !important;
}

.field-x input::placeholder,
.order-form input::placeholder,
.order-form textarea::placeholder {
  color: rgba(255,255,255,.48);
}

/* footer */
.site-footer {
  width: min(var(--cs-page-width), calc(100% - 32px));
  margin: 22px auto 28px;
  padding: 22px 0 0;
  border-top: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.72);
  background: transparent;
}

.site-footer strong {
  color: #fff;
}

.footer-links a {
  color: var(--cs-yellow);
}

/* Responsive fixes: no cramped crooked blocks */
@media (max-width: 1080px) {
  .brawl-catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .checkout-layout.checkout-x {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  :root {
    --cs-radius: 20px;
  }

  .site-header {
    min-height: 68px;
    padding-inline: 14px;
  }

  .top-nav {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .mobile-nav.open {
    display: grid;
  }

  .page-hero,
  .product-toolbar,
  .product-grid,
  .brawl-catalog-grid,
  .lx-section,
  .lx-trust,
  .checkout-layout,
  .info-layout {
    width: min(100% - 22px, var(--cs-page-width));
  }

  .lx-hero {
    width: min(100% - 18px, 1240px);
    margin-top: 12px;
    padding: 34px 18px;
    border-radius: 24px;
  }

  .lx-hero::before,
  .brawl-catalog-hero::before,
  .game-page-hero::before,
  .checkout-hero::before,
  .legal-hero::before {
    inset: 8px;
    border-radius: 16px;
  }

  .lx-title {
    font-size: clamp(34px, 11vw, 48px);
  }

  .lx-stats {
    grid-template-columns: 1fr;
  }

  .lx-section-head {
    display: block;
  }

  .brawl-catalog-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .brawl-section-card {
    min-height: 390px;
    grid-template-rows: 160px 1fr;
    border-radius: 22px;
  }

  .product-toolbar {
    position: static;
    display: grid;
    padding: 10px;
    border-radius: 18px;
  }

  .segmented {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .segmented button,
  .product-toolbar .ghost-button {
    width: 100%;
    min-width: 0;
    padding-inline: 10px;
    font-size: 13px;
  }

  .product-grid.store-v2 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
    width: min(100% - 20px, var(--cs-page-width)) !important;
    margin-bottom: 48px !important;
  }

  .v2-card {
    min-height: 326px;
    border-width: 2px;
    border-radius: 20px;
  }

  .v2-card::before {
    inset: 7px;
    border-radius: 14px;
  }

  .v2-art {
    min-height: 150px;
    padding: 10px;
    border-radius: 18px 18px 0 0;
  }

  .v2-discount {
    top: 8px;
    left: 8px;
    padding: 3px 7px;
    border-radius: 9px;
    font-size: 10px;
  }

  .v2-amount {
    top: 9px;
    right: 9px;
    font-size: 19px;
  }

  .v2-ribbon {
    left: 8px;
    right: 8px;
    bottom: 8px;
    font-size: 10px;
    letter-spacing: .08em;
    padding: 5px 8px;
  }

  .v2-body {
    padding: 12px 10px 6px;
    gap: 6px;
  }

  .v2-title {
    min-height: 38px;
    font-size: 13.5px;
    line-height: 1.18;
  }

  .v2-bonus {
    max-width: 100%;
    padding: 4px 7px;
    font-size: 10px;
  }

  .v2-pricebar {
    display: grid;
    grid-template-columns: 1fr;
    padding: 8px 10px 12px;
    gap: 8px;
  }

  .v2-price {
    justify-content: center;
    font-size: 15px;
  }

  .v2-price small {
    display: none;
  }

  .v2-buy {
    width: 100%;
    min-width: 0;
    padding: 8px 10px;
    font-size: 12px;
  }
}

@media (max-width: 390px) {
  .product-grid.store-v2 {
    gap: 11px !important;
  }

  .v2-card {
    min-height: 304px;
  }

  .v2-art {
    min-height: 136px;
  }

  .v2-title {
    font-size: 12.5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body::before,
  body::after,
  .lx-card-art img,
  .v2-card:hover .v2-art-inner,
  .v2-card:hover .v2-combo {
    animation: none !important;
  }
}


/* ============================================================
   FINAL POLISH V6 — price bump + typography cleanup
   ============================================================ */
html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body,
button,
input,
select,
textarea,
option {
  font-family: Manrope, Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

h1,
h2,
h3,
.brand,
.lx-title,
.page-hero h1,
.section-heading h2,
.payment-box h2,
.legal-card h2,
.support-card h2,
.brawl-catalog-hero h1,
.lx-section-head h2,
.v2-amount,
.lx-step-num {
  letter-spacing: -0.012em;
}

.top-nav a,
.mobile-nav a,
.glass-button,
.lx-ghost,
.lx-card-buy,
.v2-buy,
.segmented button,
.ghost-button,
.primary-action,
.secondary-action,
.text-button {
  font-weight: 800;
}

.lx-cat-text h3,
.lx-step h3,
.lx-card-body strong,
.v2-title,
.summary-product {
  line-height: 1.2;
}

.v2-body {
  min-height: 78px;
}

.v2-title {
  min-height: 2.4em;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.v2-pricebar {
  align-items: center;
}

.field-x span,
.pay-option-title,
.form-grid label > span,
.order-preview strong,
.summary-product,
.payment-title {
  font-weight: 800;
}

.consent-info {
  font-style: normal;
  font-weight: 900;
}

@media (max-width: 560px) {
  .v2-body {
    min-height: 72px;
  }

  .v2-title {
    min-height: 2.5em;
  }
}


/* ============================================================
   DESIGN REBUILD V7 — cleaner frames, fuller background
   ============================================================ */
:root {
  --clean-panel: rgba(14, 18, 34, 0.86);
  --clean-panel-strong: rgba(18, 22, 41, 0.94);
  --clean-line: rgba(255, 255, 255, 0.14);
  --clean-line-hot: rgba(255, 211, 61, 0.35);
  --clean-shadow: 0 14px 34px rgba(0, 0, 0, 0.34);
}

body {
  background:
    radial-gradient(900px 460px at 10% -4%, rgba(255, 211, 61, 0.16), transparent 60%),
    radial-gradient(920px 520px at 90% 0%, rgba(36, 212, 255, 0.12), transparent 58%),
    radial-gradient(800px 520px at 50% 100%, rgba(255, 61, 127, 0.09), transparent 56%),
    linear-gradient(180deg, #0a0d19 0%, #0b1020 38%, #090c18 100%) !important;
  background-attachment: fixed;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: 0.65;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,0.055) 1.2px, transparent 0),
    linear-gradient(180deg, rgba(255,255,255,0.02), transparent 28%);
  background-size: 28px 28px, 100% 100%;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.95), rgba(0,0,0,.7));
}

main {
  width: min(1280px, calc(100% - 22px));
  margin-inline: auto;
  padding: 18px 0 42px;
}

.site-footer {
  width: min(1280px, calc(100% - 22px));
  margin: 0 auto 26px;
}

.lx-hero,
.page-hero.compact,
.checkout-page .page-hero.compact,
.order-form,
.payment-box,
.order-preview,
.legal-card,
.support-card,
.trust-strip article,
.showcase-card,
.brawl-section-card,
.success-view,
.legal-notice-card,
.lx-cat,
.lx-step,
.lx-trust article,
.product-toolbar,
.segmented,
.orders-panel,
.orders-admin-table,
.table-wrap {
  border: 1px solid var(--clean-line) !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.015)),
    var(--clean-panel) !important;
  box-shadow: var(--clean-shadow) !important;
}

.lx-hero,
.page-hero.compact,
.checkout-page .page-hero.compact,
.order-form,
.payment-box,
.order-preview,
.legal-card,
.support-card,
.trust-strip article,
.showcase-card,
.brawl-section-card,
.success-view,
.legal-notice-card {
  border-radius: 28px !important;
}

.lx-section,
.lx-trust,
.product-grid.store-v2,
.brawl-catalog-grid {
  position: relative;
  padding: 18px;
  border-radius: 30px;
  border: 1px solid rgba(255,255,255,0.08);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01)),
    rgba(9, 12, 24, 0.44);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}

.lx-section::before,
.lx-trust::before,
.product-grid.store-v2::before,
.brawl-catalog-grid::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(circle at top right, rgba(255, 211, 61, 0.08), transparent 26%);
}

.product-grid.store-v2 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
}

.v2-card {
  min-height: 100%;
  transform: none !important;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.12);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02)),
    rgba(15, 20, 36, 0.98);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

.v2-card:hover {
  transform: translateY(-4px) !important;
  border-color: var(--clean-line-hot);
  box-shadow: 0 16px 30px rgba(0,0,0,0.34);
}

.v2-art {
  min-height: 220px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.v2-body {
  padding: 16px 16px 8px;
  min-height: 82px;
}

.v2-title {
  font-size: 16px;
  line-height: 1.24;
}

.v2-bonus {
  margin-top: 2px;
  font-size: 12px;
  color: #8ee9ff;
}

.v2-pricebar {
  margin-top: auto;
  padding: 14px 16px 16px;
  border-top: 1px solid rgba(255,255,255,0.07);
}

.v2-price {
  font-size: 20px;
}

.v2-buy,
.lx-card-buy,
.glass-button,
.primary-action {
  border: 0;
  box-shadow: 0 6px 14px rgba(0,0,0,0.28);
}

.v2-discount,
.lx-card-ribbon,
.eyebrow,
.brawl-section-body > span {
  border-radius: 999px;
}

.brawl-catalog-grid {
  display: grid;
  gap: 18px;
}

.brawl-section-card {
  display: grid !important;
  grid-template-columns: minmax(260px, 0.95fr) minmax(0, 1.05fr);
  align-items: stretch;
  overflow: hidden;
}

.brawl-section-art {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 10px;
  align-items: end;
  min-height: 250px;
  padding: 20px;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.18), transparent 34%),
    linear-gradient(160deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
}

.brawl-section-art img {
  width: 100%;
  height: 165px;
  object-fit: contain;
  filter: drop-shadow(0 8px 12px rgba(0,0,0,0.28));
}

.brawl-section-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding: 24px 26px;
}

.brawl-section-body h2 {
  margin: 0;
  font-size: clamp(24px, 2.7vw, 32px);
}

.brawl-section-body p {
  margin: 0;
  max-width: 54ch;
}

.game-meta {
  gap: 10px;
}

.page-hero.compact,
.checkout-page .page-hero.compact,
.lx-hero {
  overflow: hidden;
}

.page-hero.compact::after,
.checkout-page .page-hero.compact::after,
.lx-hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -26% auto;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 211, 61, 0.18), transparent 62%);
  pointer-events: none;
}

.lx-cat,
.lx-step,
.lx-trust article {
  transform: none !important;
}

.lx-cat:hover,
.lx-step:hover,
.lx-trust article:hover {
  transform: translateY(-3px) !important;
  border-color: var(--clean-line-hot) !important;
}

.segmented {
  padding: 8px;
  border-radius: 20px;
}

.segmented button {
  border-radius: 14px;
}

.top-nav a,
.mobile-nav a {
  letter-spacing: 0.01em;
}

@media (max-width: 980px) {
  .brawl-section-card {
    grid-template-columns: 1fr !important;
  }

  .brawl-section-art {
    min-height: 220px;
  }
}

@media (max-width: 640px) {
  main,
  .site-footer {
    width: min(100%, calc(100% - 14px));
  }

  .lx-section,
  .lx-trust,
  .product-grid.store-v2,
  .brawl-catalog-grid {
    padding: 12px;
    border-radius: 22px;
  }

  .product-grid.store-v2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .v2-art {
    min-height: 170px;
  }

  .v2-body {
    min-height: 74px;
    padding: 14px 12px 8px;
  }

  .v2-pricebar {
    padding: 12px;
  }

  .v2-price {
    font-size: 17px;
  }

  .v2-buy {
    padding: 9px 14px;
    font-size: 13px;
  }

  .brawl-section-body {
    padding: 18px;
  }
}


/* ============================================================
   DESIGN CLEANUP V8 — cleaner borders and normal typography
   ============================================================ */
:root {
  --frame-bg: rgba(16, 21, 38, 0.92);
  --frame-bg-soft: rgba(18, 24, 44, 0.82);
  --frame-line: rgba(255, 255, 255, 0.10);
  --frame-line-strong: rgba(255, 255, 255, 0.16);
  --frame-line-hot: rgba(255, 211, 61, 0.28);
  --frame-shadow: 0 12px 26px rgba(0, 0, 0, 0.24);
}

html {
  font-kerning: normal;
  font-synthesis-weight: none;
}

body,
button,
input,
select,
textarea,
option,
.top-nav a,
.mobile-nav a,
.v2-title,
.v2-bonus,
.v2-price,
.v2-buy,
.v2-discount,
.v2-ribbon,
.lx-card-ribbon,
.lx-card-buy,
.lx-pill,
.lx-cat-text h3,
.lx-cat-text p,
.lx-step h3,
.lx-step p,
.brawl-section-body span,
.brawl-section-body p,
.game-meta,
.segmented button,
.primary-action,
.ghost-button,
.text-button,
.summary-product,
.price,
.price-stack,
.field-x span,
.pay-option-title,
.pay-option-subtitle,
.order-preview,
.site-footer,
.footer-links a {
  font-family: Manrope, Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif !important;
  font-style: normal;
  letter-spacing: 0 !important;
  text-transform: none;
}

.hero-copy h1,
.page-hero h1,
.lx-title,
.lx-section-head h2,
.brawl-section-body h2,
.payment-box h2,
.legal-card h2,
.support-card h2,
.brawl-catalog-hero h1 {
  font-family: Unbounded, Manrope, system-ui, sans-serif !important;
  letter-spacing: -0.018em !important;
}

.eyebrow {
  font-family: Manrope, Inter, ui-sans-serif, system-ui, sans-serif !important;
  letter-spacing: 0.08em !important;
  font-size: 11px;
}

.lx-hero,
.page-hero.compact,
.checkout-page .page-hero.compact,
.order-form,
.payment-box,
.order-preview,
.legal-card,
.support-card,
.trust-strip article,
.showcase-card,
.brawl-section-card,
.success-view,
.legal-notice-card,
.lx-cat,
.lx-step,
.lx-trust article,
.product-toolbar,
.segmented,
.orders-panel,
.orders-admin-table,
.table-wrap,
.v2-card {
  background: var(--frame-bg) !important;
  border: 1px solid var(--frame-line) !important;
  box-shadow: var(--frame-shadow) !important;
}

.lx-hero,
.page-hero.compact,
.checkout-page .page-hero.compact,
.order-form,
.payment-box,
.order-preview,
.legal-card,
.support-card,
.trust-strip article,
.showcase-card,
.brawl-section-card,
.success-view,
.legal-notice-card {
  border-radius: 22px !important;
}

.product-grid.store-v2,
.brawl-catalog-grid,
.lx-section,
.lx-trust {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.product-grid.store-v2::before,
.brawl-catalog-grid::before,
.lx-section::before,
.lx-trust::before {
  display: none !important;
}

.v2-card {
  overflow: hidden;
  border-radius: 18px !important;
}

.v2-card:hover {
  border-color: var(--frame-line-hot) !important;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.28) !important;
}

.v2-art {
  min-height: 214px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.v2-body {
  padding: 14px 14px 8px !important;
  gap: 3px;
  min-height: 74px !important;
}

.v2-title {
  font-size: 16px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  min-height: 2.4em;
}

.v2-bonus {
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  color: #9fdfff !important;
}

.v2-pricebar {
  padding: 12px 14px 14px !important;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.v2-price {
  font-size: 19px !important;
  font-weight: 900 !important;
}

.v2-price small {
  font-size: 11px !important;
}

.v2-buy,
.lx-card-buy,
.primary-action {
  border-radius: 11px !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
}

.v2-discount,
.v2-ribbon,
.lx-card-ribbon,
.brawl-section-body > span {
  font-family: Manrope, Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: 0.04em !important;
}

.v2-amount {
  font-family: Unbounded, Manrope, sans-serif !important;
  font-size: 24px !important;
  font-weight: 800 !important;
  letter-spacing: -0.03em !important;
}

.brawl-section-card {
  border-radius: 22px !important;
}

.brawl-section-art {
  padding: 18px !important;
  min-height: 230px !important;
  background:
    radial-gradient(circle at 20% 18%, rgba(255,255,255,0.12), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015)) !important;
}

.brawl-section-body {
  padding: 22px 24px !important;
  gap: 10px !important;
}

.brawl-section-body h2 {
  font-size: clamp(22px, 2.2vw, 30px) !important;
  line-height: 1.08 !important;
}

.brawl-section-body p,
.game-meta,
.lx-sub,
.page-hero p,
.hero-copy p,
.section-heading p,
.lx-cat-text p,
.lx-step p,
.lx-trust p {
  line-height: 1.5 !important;
}

.lx-cat,
.lx-step,
.lx-trust article {
  border-radius: 18px !important;
}

.segmented {
  gap: 8px;
  border-radius: 18px !important;
  padding: 8px !important;
  background: var(--frame-bg-soft) !important;
}

.segmented button {
  min-height: 40px;
  border-radius: 12px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
}

.segmented button.active {
  background: rgba(255, 211, 61, 0.16) !important;
  color: #ffd33d !important;
  border-color: rgba(255, 211, 61, 0.18) !important;
}

.top-nav a,
.mobile-nav a {
  font-size: 14px !important;
  font-weight: 700 !important;
}

.brand {
  font-size: 15px !important;
}

.site-footer {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 18px;
}

@media (max-width: 640px) {
  .v2-art {
    min-height: 165px !important;
  }

  .v2-title {
    font-size: 14px !important;
  }

  .v2-bonus {
    font-size: 11px !important;
  }

  .v2-price {
    font-size: 16px !important;
  }

  .v2-amount {
    font-size: 18px !important;
  }

  .brawl-section-body {
    padding: 18px !important;
  }
}


/* ============================================================
   HERO CLEANUP V9 — fix stats typography and main card frame
   ============================================================ */
.lx-stats {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px !important;
  margin-top: 8px;
}

.lx-stats div {
  min-width: 0;
  min-height: 88px;
  padding: 16px 16px 14px !important;
  border: 1px solid rgba(255,255,255,0.10) !important;
  border-radius: 18px !important;
  background: rgba(18, 24, 43, 0.82) !important;
  box-shadow: 0 8px 18px rgba(0,0,0,0.18) !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: flex-start !important;
  gap: 4px;
}

.lx-stats strong {
  display: block;
  margin: 0;
  font-family: Manrope, Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif !important;
  font-size: 25px !important;
  font-weight: 900 !important;
  letter-spacing: -0.02em !important;
  line-height: 1 !important;
  color: #ffffff !important;
}

.lx-stats small {
  display: block;
  margin: 0 !important;
  font-family: Manrope, Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
  line-height: 1.35 !important;
  color: rgba(229, 236, 255, 0.78) !important;
}

.lx-hero-card {
  width: min(370px, 100%) !important;
  border: 1px solid rgba(255,255,255,0.10) !important;
  border-radius: 24px !important;
  background: rgba(15, 19, 34, 0.96) !important;
  box-shadow: 0 16px 34px rgba(0,0,0,0.26) !important;
  overflow: hidden;
}

.lx-hero-card::before {
  inset: 0 !important;
  border: none !important;
  background: linear-gradient(180deg, rgba(255,255,255,0.03), transparent 28%);
}

.lx-card-art {
  min-height: 210px !important;
  padding: 24px 22px 18px !important;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background:
    radial-gradient(circle at 50% 18%, rgba(255,255,255,0.18), transparent 36%),
    linear-gradient(180deg, #41db57 0%, #2ebd4e 45%, #219844 100%) !important;
}

.lx-card-art img {
  width: min(220px, 74%) !important;
  max-height: 170px !important;
  filter: drop-shadow(0 10px 14px rgba(0,0,0,.32));
}

.lx-card-body {
  padding: 16px 18px 18px !important;
  border-radius: 0 !important;
  background: transparent !important;
  gap: 6px !important;
}

.lx-card-body strong {
  display: block;
  font-family: Manrope, Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif !important;
  font-size: 21px !important;
  font-weight: 900 !important;
  line-height: 1.12 !important;
  letter-spacing: -0.015em !important;
  color: #ffffff !important;
}

.lx-card-bonus {
  font-family: Manrope, Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  letter-spacing: 0 !important;
  color: #97ddff !important;
}

.lx-card-foot {
  margin-top: 10px !important;
  display: grid !important;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
}

.lx-card-price {
  font-family: Manrope, Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif !important;
  font-size: 25px !important;
  font-weight: 900 !important;
  letter-spacing: -0.02em !important;
  line-height: 1 !important;
  color: #ffffff !important;
}

.lx-card-buy {
  min-width: 112px;
  min-height: 42px;
  padding: 0 18px !important;
  white-space: nowrap;
  justify-content: center;
  border-radius: 12px !important;
  font-family: Manrope, Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  color: #07101f !important;
  background: linear-gradient(135deg, #ffd33d, #8de7ff) !important;
}

.lx-card-ribbon {
  top: 12px !important;
  left: 12px !important;
  padding: 6px 11px !important;
  border: 1px solid rgba(0,0,0,0.08);
  font-family: Manrope, Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: 0.05em !important;
}

@media (max-width: 760px) {
  .lx-stats {
    grid-template-columns: 1fr;
  }

  .lx-stats div {
    min-height: 72px;
  }

  .lx-hero-card {
    width: 100% !important;
  }

  .lx-card-foot {
    grid-template-columns: 1fr;
  }

  .lx-card-buy {
    width: 100%;
  }
}


/* ============================================================
   UI TUNE V10 — hero card, specials, skins, checkout cleanup
   ============================================================ */
.lx-card-foot {
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
}

.lx-card-buy {
  min-width: 122px !important;
  height: 42px !important;
  padding: 0 18px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  white-space: nowrap !important;
  overflow: visible !important;
}

.lx-card-bonus {
  color: #9ce7ff !important;
}

/* Special pack card — make it normal and compact */
[data-product-id="bs-welcome-pack"] .v2-art {
  background: radial-gradient(120% 120% at 50% 10%, rgba(255,255,255,.16), transparent 55%), linear-gradient(165deg, #34d66b, #1fba4f 58%, #13853b) !important;
}
[data-product-id="bs-welcome-pack"] .v2-art .product-main-art {
  object-fit: contain !important;
  padding: 8% !important;
  filter: drop-shadow(0 8px 14px rgba(0,0,0,.32)) !important;
}
[data-product-id="bs-welcome-pack"] .v2-title {
  font-size: 15px !important;
}
[data-product-id="bs-welcome-pack"] .v2-bonus {
  color: rgba(231,241,255,.86) !important;
  font-size: 11.5px !important;
  line-height: 1.35 !important;
}

/* Yellow/orange accents — stronger contrast */
.v2-card--special .v2-ribbon,
.v2-card--special .v2-discount,
.v2-card--special-lou .v2-ribbon,
.v2-card--special-lou .v2-discount,
.v2-card--special-referee .v2-ribbon,
.v2-card--special-referee .v2-discount,
.v2-card--special-surge .v2-ribbon,
.v2-card--special-surge .v2-discount {
  color: #08111f !important;
  text-shadow: none !important;
}

/* Skin covers — backgrounds matched to the image mood */
.v2-card--special-lou .v2-art,
[data-product-id="bs-skin-super-striker-lou"] .v2-art {
  background: radial-gradient(120% 120% at 50% 10%, rgba(255,255,255,.18), transparent 55%), linear-gradient(165deg, #2ac8ff, #0e79ff 60%, #1245a8) !important;
}

.v2-card--special-referee .v2-art,
[data-product-id="bs-skin-refereeple"] .v2-art {
  background: radial-gradient(120% 120% at 50% 10%, rgba(255,255,255,.18), transparent 55%), linear-gradient(165deg, #9b7cff, #5a46ff 58%, #30218e) !important;
}

.v2-card--special-surge .v2-art,
[data-product-id="bs-skin-scorekeeper-surge"] .v2-art {
  background: radial-gradient(120% 120% at 50% 10%, rgba(255,255,255,.18), transparent 55%), linear-gradient(165deg, #ffd54a, #ff9b1f 58%, #ff5f32) !important;
}

/* keep text readable on bright art variants */
.v2-card--special-lou .v2-bonus,
.v2-card--special-referee .v2-bonus,
.v2-card--special-surge .v2-bonus,
.v2-card--skin-yellow .v2-bonus {
  color: #a9e7ff !important;
}

/* Checkout — remove unnecessary framed boxes */
.checkout-x .order-form-x::before,
.checkout-x .order-form-x::after,
.payment-box-x::before {
  display: none !important;
}

.checkout-x .order-form-x,
.payment-box-x,
.checkout-summary-card,
.payment-box dl div,
.field-x,
.checkout-page .page-hero.compact {
  box-shadow: none !important;
}

.checkout-x .order-form-x,
.payment-box-x,
.checkout-page .page-hero.compact {
  border: 1px solid rgba(255,255,255,0.08) !important;
  background: rgba(16, 21, 38, 0.92) !important;
}

.checkout-summary-card {
  padding: 16px 0 6px !important;
  border: none !important;
  background: transparent !important;
}

.checkout-summary-card strong {
  font-size: 12px !important;
  letter-spacing: 0.04em !important;
}

.checkout-summary-card .summary-product {
  font-size: 22px !important;
  line-height: 1.12 !important;
}

.checkout-summary-card .summary-fulfillment {
  margin-top: 2px !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  border-radius: 0 !important;
  color: #9ce7ff !important;
  font-size: 13px !important;
}

.checkout-summary-card .price-stack {
  gap: 10px !important;
  margin-top: 10px !important;
}

.checkout-summary-card .price-stack span,
.checkout-summary-card .price-stack small {
  border: none !important;
  background: transparent !important;
  padding: 0 !important;
  box-shadow: none !important;
}

.payment-box dl div {
  padding: 12px 0 !important;
  border: none !important;
  border-bottom: 1px solid rgba(255,255,255,0.08) !important;
  background: transparent !important;
}
.payment-box dl div:last-child {
  border-bottom: none !important;
}

.field-x {
  gap: 7px !important;
}

.field-x input,
.field-x select {
  border-radius: 14px !important;
  border: 1px solid rgba(255,255,255,0.10) !important;
  background: rgba(255,255,255,0.03) !important;
  box-shadow: none !important;
  transform: none !important;
}

.field-x input:focus,
.field-x select:focus {
  border-color: rgba(36,212,255,0.52) !important;
  box-shadow: 0 0 0 3px rgba(36,212,255,0.12) !important;
}


/* ============================================================
   V11 — premium product picker + larger catalog
   ============================================================ */
.field-x--product > select {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 1px;
  height: 1px;
}

.product-picker {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 2px;
}

.product-picker-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.product-picker-head strong {
  font-size: 13px;
  font-weight: 800;
  color: rgba(235,241,255,0.86);
}

.product-picker-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.product-picker-arrow {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.product-picker-arrow:hover {
  transform: translateY(-1px);
  border-color: rgba(255,211,61,0.26);
  background: rgba(255,211,61,0.10);
}

.product-picker-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 250px);
  gap: 12px;
  overflow-x: auto;
  padding: 4px 2px 10px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,211,61,0.45) rgba(255,255,255,0.08);
}
.product-picker-track::-webkit-scrollbar { height: 10px; }
.product-picker-track::-webkit-scrollbar-thumb { background: rgba(255,211,61,0.42); border-radius: 999px; }
.product-picker-track::-webkit-scrollbar-track { background: rgba(255,255,255,0.06); border-radius: 999px; }

.product-picker-card {
  position: relative;
  display: grid;
  grid-template-columns: 58px minmax(0,1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 86px;
  padding: 12px;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.015)),
    rgba(17, 22, 39, 0.96);
  color: #fff;
  cursor: pointer;
  text-align: left;
  scroll-snap-align: start;
  box-shadow: 0 8px 18px rgba(0,0,0,0.16);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.product-picker-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255,211,61,0.22);
  box-shadow: 0 12px 22px rgba(0,0,0,0.2);
}

.product-picker-card.is-active {
  border-color: rgba(255,211,61,0.38);
  background:
    linear-gradient(180deg, rgba(255,211,61,0.10), rgba(255,255,255,0.02)),
    rgba(18, 24, 44, 0.98);
  box-shadow: 0 0 0 1px rgba(255,211,61,0.16), 0 14px 26px rgba(0,0,0,0.22);
}

.product-picker-art {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: linear-gradient(165deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
  overflow: hidden;
}

.product-picker-art img {
  width: 86%;
  height: 86%;
  object-fit: contain;
  filter: drop-shadow(0 5px 8px rgba(0,0,0,0.24));
}

.product-picker-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 4px;
}

.product-picker-name {
  font-size: 14px;
  font-weight: 800;
  line-height: 1.18;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-picker-meta {
  font-size: 12px;
  font-weight: 700;
  color: rgba(233,239,255,0.68);
}

.product-picker-price {
  font-size: 14px;
  font-weight: 900;
  color: #ffd33d;
  white-space: nowrap;
}

/* larger catalog blocks */
.brawl-catalog-grid {
  gap: 24px !important;
}

.brawl-section-card {
  grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.05fr) !important;
  min-height: 360px;
}

.brawl-section-art {
  min-height: 300px !important;
  padding: 26px !important;
  gap: 14px !important;
}

.brawl-section-art img {
  height: 220px !important;
}

.brawl-section-body {
  padding: 30px 30px 28px !important;
  gap: 14px !important;
}

.brawl-section-body > span {
  align-self: flex-start;
  padding: 7px 13px;
  font-size: 12px !important;
}

.brawl-section-body h2 {
  font-size: clamp(28px, 3vw, 38px) !important;
  line-height: 1.02 !important;
}

.brawl-section-body p {
  font-size: 16px !important;
  line-height: 1.55 !important;
  max-width: 42ch;
}

.game-meta span {
  font-size: 14px;
  padding: 8px 12px;
}

.brawl-section-card .primary-action {
  min-height: 52px;
  padding: 0 26px;
  font-size: 15px;
  align-self: flex-start;
}

@media (max-width: 900px) {
  .brawl-section-card {
    min-height: 0;
  }

  .product-picker-track {
    grid-auto-columns: minmax(210px, 82vw);
  }
}

@media (max-width: 640px) {
  .product-picker-card {
    grid-template-columns: 50px minmax(0,1fr);
  }

  .product-picker-price {
    grid-column: 2;
  }

  .brawl-section-art img {
    height: 150px !important;
  }

  .brawl-section-body h2 {
    font-size: 28px !important;
  }

  .brawl-section-body p {
    font-size: 14px !important;
  }
}


/* ============================================================
   V12 — animated premium skins for Lou / Refereeple / Surge
   ============================================================ */
@keyframes skin-pan-float {
  0%   { transform: scale(1.06) translateY(0) translateX(0); }
  25%  { transform: scale(1.10) translateY(-4px) translateX(-1.5%); }
  50%  { transform: scale(1.12) translateY(-2px) translateX(1.2%); }
  75%  { transform: scale(1.09) translateY(-5px) translateX(-0.8%); }
  100% { transform: scale(1.06) translateY(0) translateX(0); }
}

/* stretch the three special skin covers so the art fills the card instead of showing a plain background */
[data-product-id="bs-skin-super-striker-lou"] .v2-art,
[data-product-id="bs-skin-refereeple"] .v2-art,
[data-product-id="bs-skin-scorekeeper-surge"] .v2-art,
.v2-card--special-lou .v2-art,
.v2-card--special-referee .v2-art,
.v2-card--special-surge .v2-art {
  padding: 0 !important;
  overflow: hidden;
}

[data-product-id="bs-skin-super-striker-lou"] .v2-art .v2-art-inner,
[data-product-id="bs-skin-refereeple"] .v2-art .v2-art-inner,
[data-product-id="bs-skin-scorekeeper-surge"] .v2-art .v2-art-inner,
.v2-card--special-lou .v2-art .v2-art-inner,
.v2-card--special-referee .v2-art .v2-art-inner,
.v2-card--special-surge .v2-art .v2-art-inner {
  width: 100%;
  height: 100%;
}

[data-product-id="bs-skin-super-striker-lou"] .v2-art .product-main-art,
[data-product-id="bs-skin-refereeple"] .v2-art .product-main-art,
[data-product-id="bs-skin-scorekeeper-surge"] .v2-art .product-main-art,
.v2-card--special-lou .v2-art .product-main-art,
.v2-card--special-referee .v2-art .product-main-art,
.v2-card--special-surge .v2-art .product-main-art {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  padding: 0 !important;
  filter: none !important;
  animation: skin-pan-float 7s ease-in-out infinite;
  will-change: transform;
}

/* tuned framing for each cover */
[data-product-id="bs-skin-super-striker-lou"] .v2-art .product-main-art,
.v2-card--special-lou .v2-art .product-main-art {
  object-position: center 24% !important;
}

[data-product-id="bs-skin-refereeple"] .v2-art .product-main-art,
.v2-card--special-referee .v2-art .product-main-art {
  object-position: center 22% !important;
}

[data-product-id="bs-skin-scorekeeper-surge"] .v2-art .product-main-art,
.v2-card--special-surge .v2-art .product-main-art {
  object-position: center 20% !important;
}

/* soft overlay so text still reads nicely on top of full-cover art */
[data-product-id="bs-skin-super-striker-lou"] .v2-art::after,
[data-product-id="bs-skin-refereeple"] .v2-art::after,
[data-product-id="bs-skin-scorekeeper-surge"] .v2-art::after,
.v2-card--special-lou .v2-art::after,
.v2-card--special-referee .v2-art::after,
.v2-card--special-surge .v2-art::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 62px;
  background: linear-gradient(180deg, rgba(10, 14, 27, 0), rgba(10, 14, 27, 0.38));
  pointer-events: none;
}

/* a bit more lively on hover */
[data-product-id="bs-skin-super-striker-lou"]:hover .product-main-art,
[data-product-id="bs-skin-refereeple"]:hover .product-main-art,
[data-product-id="bs-skin-scorekeeper-surge"]:hover .product-main-art,
.v2-card--special-lou:hover .product-main-art,
.v2-card--special-referee:hover .product-main-art,
.v2-card--special-surge:hover .product-main-art {
  animation-duration: 4.8s;
}

@media (prefers-reduced-motion: reduce) {
  [data-product-id="bs-skin-super-striker-lou"] .v2-art .product-main-art,
  [data-product-id="bs-skin-refereeple"] .v2-art .product-main-art,
  [data-product-id="bs-skin-scorekeeper-surge"] .v2-art .product-main-art,
  .v2-card--special-lou .v2-art .product-main-art,
  .v2-card--special-referee .v2-art .product-main-art,
  .v2-card--special-surge .v2-art .product-main-art {
    animation: none;
    transform: scale(1.08);
  }
}


/* ============================================================
   V13 — restore акция image and stop single акция card being huge
   ============================================================ */
.product-grid.store-v2.product-grid--single {
  grid-template-columns: minmax(250px, 310px) !important;
  justify-content: start !important;
  align-items: start !important;
}

.product-grid.store-v2.product-grid--single .v2-card {
  width: 100% !important;
  max-width: 310px !important;
  min-height: auto !important;
}

[data-product-id="bs-welcome-pack"] .v2-art {
  min-height: 214px !important;
  padding: 14px !important;
  background:
    radial-gradient(120% 120% at 50% 10%, rgba(255,255,255,.18), transparent 55%),
    linear-gradient(165deg, #ffd24a, #ff8a1f 60%, #ff5677) !important;
  overflow: hidden;
}

[data-product-id="bs-welcome-pack"] .v2-combo {
  position: relative !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 168px !important;
}

[data-product-id="bs-welcome-pack"] .v2-combo .v2-combo-art {
  object-fit: contain !important;
  filter: drop-shadow(0 7px 10px rgba(0,0,0,.34)) !important;
}

[data-product-id="bs-welcome-pack"] .v2-combo .combo-1 {
  width: 54% !important;
  left: 6% !important;
  bottom: 10% !important;
}

[data-product-id="bs-welcome-pack"] .v2-combo .combo-2 {
  width: 38% !important;
  right: 8% !important;
  top: 12% !important;
}

[data-product-id="bs-welcome-pack"] .v2-combo .combo-3 {
  width: 40% !important;
  right: 7% !important;
  bottom: 8% !important;
}

[data-product-id="bs-welcome-pack"] .v2-body {
  min-height: 76px !important;
}

[data-product-id="bs-welcome-pack"] .v2-title {
  font-size: 15px !important;
  line-height: 1.18 !important;
}

[data-product-id="bs-welcome-pack"] .v2-bonus {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  font-size: 11.5px !important;
  line-height: 1.3 !important;
  color: rgba(235,241,255,0.84) !important;
}

@media (max-width: 640px) {
  .product-grid.store-v2.product-grid--single {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .product-grid.store-v2.product-grid--single .v2-card {
    max-width: none !important;
  }
}


/* ============================================================
   V14 — shrink selected skin covers so characters are visible
   ============================================================ */
[data-product-id="bs-skin-otis"] .v2-art,
[data-product-id="bs-skin-fang"] .v2-art,
[data-product-id="bs-skin-gus"] .v2-art,
[data-product-id="bs-skin-tara"] .v2-art,
[data-product-id="bs-skin-the-fans-fang"] .v2-art {
  padding: 14px !important;
}

[data-product-id="bs-skin-otis"] .v2-art .product-main-art,
[data-product-id="bs-skin-fang"] .v2-art .product-main-art,
[data-product-id="bs-skin-gus"] .v2-art .product-main-art,
[data-product-id="bs-skin-tara"] .v2-art .product-main-art,
[data-product-id="bs-skin-the-fans-fang"] .v2-art .product-main-art {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
  padding: 0 !important;
  filter: drop-shadow(0 8px 12px rgba(0,0,0,.34)) !important;
}

/* Slightly more shrink for the most zoomed covers */
[data-product-id="bs-skin-otis"] .v2-art .product-main-art,
[data-product-id="bs-skin-gus"] .v2-art .product-main-art,
[data-product-id="bs-skin-tara"] .v2-art .product-main-art {
  transform: scale(0.86) !important;
}

[data-product-id="bs-skin-fang"] .v2-art .product-main-art,
[data-product-id="bs-skin-the-fans-fang"] .v2-art .product-main-art {
  transform: scale(0.90) !important;
}

/* Keep card hover pleasant without over-zooming these skins */
[data-product-id="bs-skin-otis"]:hover .v2-art .product-main-art,
[data-product-id="bs-skin-fang"]:hover .v2-art .product-main-art,
[data-product-id="bs-skin-gus"]:hover .v2-art .product-main-art,
[data-product-id="bs-skin-tara"]:hover .v2-art .product-main-art,
[data-product-id="bs-skin-the-fans-fang"]:hover .v2-art .product-main-art {
  transform: scale(0.92) !important;
}

@media (max-width: 640px) {
  [data-product-id="bs-skin-otis"] .v2-art,
  [data-product-id="bs-skin-fang"] .v2-art,
  [data-product-id="bs-skin-gus"] .v2-art,
  [data-product-id="bs-skin-tara"] .v2-art,
  [data-product-id="bs-skin-the-fans-fang"] .v2-art {
    padding: 10px !important;
  }

  [data-product-id="bs-skin-otis"] .v2-art .product-main-art,
  [data-product-id="bs-skin-gus"] .v2-art .product-main-art,
  [data-product-id="bs-skin-tara"] .v2-art .product-main-art {
    transform: scale(0.9) !important;
  }

  [data-product-id="bs-skin-fang"] .v2-art .product-main-art,
  [data-product-id="bs-skin-the-fans-fang"] .v2-art .product-main-art {
    transform: scale(0.94) !important;
  }
}


/* ============================================================
   V15 — cart, cleaner catalog, aligned checkout headings
   ============================================================ */
.nav-cart-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.cart-count-badge {
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 900;
  color: #08111f;
  background: #ffd33d;
  box-shadow: 0 4px 10px rgba(0,0,0,0.18);
}

.cart-count-badge[hidden] { display: none; }

/* Catalog cleanup */
.brawl-catalog-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px !important;
}

.brawl-section-card {
  display: flex !important;
  flex-direction: column !important;
  min-height: 0 !important;
  border-radius: 24px !important;
}

.brawl-section-art {
  min-height: 250px !important;
  padding: 24px !important;
  display: flex !important;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px !important;
}

.brawl-section-art img {
  flex: 1 1 0;
  min-width: 0;
  height: 190px !important;
  object-fit: contain;
}

.brawl-section-body {
  padding: 24px !important;
  gap: 12px !important;
  align-items: flex-start;
}

.brawl-section-body h2 {
  font-size: 30px !important;
  line-height: 1.05 !important;
}

.brawl-section-body p {
  font-size: 15px !important;
  line-height: 1.52 !important;
  max-width: none !important;
}

.brawl-section-card .primary-action {
  min-height: 48px;
  padding: 0 20px;
}

@media (max-width: 900px) {
  .brawl-catalog-grid {
    grid-template-columns: 1fr;
  }
}

/* Product cards actions */
.v2-pricebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.v2-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.v2-cart-btn,
.v2-buy {
  min-height: 40px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.10);
  cursor: pointer;
  font-family: Manrope, Inter, system-ui, sans-serif;
  font-size: 13px;
  font-weight: 800;
}

.v2-cart-btn {
  color: #fff;
  background: rgba(255,255,255,0.06);
}

.v2-buy {
  color: #07101f !important;
  background: linear-gradient(135deg, #ffd33d, #8de7ff) !important;
}

.v2-cart-btn:hover,
.v2-buy:hover { transform: translateY(-1px); }

@media (max-width: 640px) {
  .v2-pricebar {
    flex-direction: column;
    align-items: stretch;
  }
  .v2-actions {
    width: 100%;
    justify-content: stretch;
  }
  .v2-cart-btn,
  .v2-buy {
    flex: 1 1 0;
  }
}

/* Cart page */
.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 22px;
  align-items: start;
}

.cart-panel,
.cart-summary-box {
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  background: rgba(16, 21, 38, 0.92);
  box-shadow: 0 12px 26px rgba(0,0,0,0.24);
}

.cart-panel { padding: 22px; }
.cart-summary-box { padding: 22px; position: sticky; top: 18px; }

.cart-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.cart-panel h2,
.cart-summary-box h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.04;
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cart-item {
  display: grid;
  grid-template-columns: 82px minmax(0,1fr) auto auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  background: rgba(255,255,255,0.03);
}

.cart-item-art {
  width: 82px;
  height: 82px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
}

.cart-item-art img {
  width: 84%;
  height: 84%;
  object-fit: contain;
}

.cart-item-copy { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.cart-item-copy strong { font-size: 18px; line-height: 1.16; }
.cart-item-copy span, .cart-item-copy small { color: rgba(234,239,255,0.72); }

.cart-item-controls {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border-radius: 14px;
  background: rgba(255,255,255,0.04);
}

.qty-btn {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
}

.qty-value { min-width: 28px; text-align: center; font-weight: 800; }

.cart-item-total {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}
.cart-item-total strong { font-size: 18px; }
.cart-remove {
  border: none;
  background: transparent;
  color: #9fdfff;
  cursor: pointer;
  font-weight: 700;
}

.cart-empty {
  padding: 30px 20px;
  border-radius: 18px;
  border: 1px dashed rgba(255,255,255,0.16);
  color: rgba(235,241,255,0.75);
  text-align: center;
}

.cart-summary-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.cart-summary-total:last-of-type { border-bottom: none; }
.cart-summary-total strong { font-size: 24px; }
.cart-summary-note {
  margin-top: 14px;
  color: rgba(234,239,255,0.72);
  line-height: 1.5;
}
.cart-actions { display: grid; gap: 12px; margin-top: 18px; }
.is-disabled { pointer-events: none; opacity: 0.55; }

@media (max-width: 920px) {
  .cart-layout { grid-template-columns: 1fr; }
  .cart-summary-box { position: static; }
}

@media (max-width: 720px) {
  .cart-item {
    grid-template-columns: 70px 1fr;
  }
  .cart-item-controls,
  .cart-item-total {
    grid-column: 2;
    justify-self: start;
  }
  .cart-item-total { align-items: flex-start; }
}

/* Checkout sizing alignment */
.checkout-hero h1,
.payment-box h2 {
  font-size: clamp(30px, 3vw, 40px) !important;
  line-height: 1.03 !important;
}

.checkout-hero p:not(.eyebrow),
.payment-subtitle {
  font-size: 15px !important;
  line-height: 1.56 !important;
  max-width: 48ch !important;
}

.payment-box-head {
  align-items: flex-start !important;
  gap: 14px !important;
}

.payment-box-head > div {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.checkout-cart-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.checkout-cart-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: rgba(235,241,255,0.9);
}

.checkout-cart-name {
  font-weight: 700;
  line-height: 1.35;
}

.checkout-cart-price {
  font-weight: 800;
  white-space: nowrap;
}


/* ============================================================
   V16 — final layout repair: product cards, hero pass, skins, cart spacing
   ============================================================ */
/* Main hit card: Brawl Pass+ should not sit on a green gem background */
.lx-hero-card .lx-card-art {
  position: relative !important;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 24% 18%, rgba(255,255,255,0.30), transparent 28%),
    radial-gradient(circle at 82% 24%, rgba(255,211,61,0.38), transparent 24%),
    linear-gradient(150deg, #3b8dff 0%, #6a5cff 44%, #9c4dff 72%, #ff5fb8 100%) !important;
}

.lx-hero-card .lx-card-art::before {
  content: "";
  position: absolute;
  inset: -45%;
  z-index: -1;
  background:
    conic-gradient(from 0deg, rgba(255,211,61,0.0), rgba(255,211,61,0.26), rgba(36,212,255,0.18), rgba(255,95,184,0.24), rgba(255,211,61,0.0));
  animation: pass-bg-spin 13s linear infinite;
  opacity: 0.85;
}

.lx-hero-card .lx-card-art::after {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.16);
  background: linear-gradient(180deg, rgba(255,255,255,0.08), transparent 45%);
  pointer-events: none;
}

@keyframes pass-bg-spin { to { transform: rotate(360deg); } }

.lx-hero-card .lx-card-art img {
  position: relative;
  z-index: 2;
  width: min(230px, 76%) !important;
  max-height: 178px !important;
  object-fit: contain !important;
  filter: drop-shadow(0 14px 18px rgba(0,0,0,0.34)) !important;
}

/* Product cards: undo shifted layout after adding cart */
.product-grid.store-v2 {
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)) !important;
  gap: 20px !important;
  align-items: stretch !important;
}

.v2-card {
  display: flex !important;
  flex-direction: column !important;
  min-height: 392px !important;
  height: 100% !important;
}

.v2-art {
  flex: 0 0 218px !important;
  min-height: 218px !important;
  height: 218px !important;
}

.v2-body {
  flex: 1 1 auto !important;
  min-height: 84px !important;
  padding: 15px 16px 10px !important;
}

.v2-title {
  min-height: 2.42em !important;
  line-height: 1.21 !important;
}

.v2-bonus { min-height: 1.35em !important; }

.v2-pricebar {
  margin-top: auto !important;
  min-height: 98px !important;
  display: grid !important;
  grid-template-columns: 1fr !important;
  align-items: end !important;
  gap: 12px !important;
  padding: 14px 16px 16px !important;
}

.v2-price {
  min-height: 24px !important;
  display: inline-flex !important;
  align-items: baseline !important;
  flex-wrap: wrap;
  gap: 6px !important;
}

.v2-actions {
  width: 100% !important;
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 10px !important;
}

.v2-cart-btn,
.v2-buy {
  width: 100% !important;
  min-width: 0 !important;
  min-height: 42px !important;
  padding: 0 10px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  white-space: nowrap !important;
}

.product-grid.store-v2.product-grid--single {
  grid-template-columns: minmax(260px, 320px) !important;
  justify-content: start !important;
}

.product-grid.store-v2.product-grid--single .v2-card { max-width: 320px !important; }

/* Skin cards: pull characters back so they are visible */
.v2-card--skin .v2-art,
.v2-card--skin-aqua .v2-art,
.v2-card--skin-blue .v2-art,
.v2-card--skin-yellow .v2-art,
.v2-card--special-lou .v2-art,
.v2-card--special-referee .v2-art,
.v2-card--special-surge .v2-art {
  padding: 18px !important;
  overflow: hidden !important;
}

.v2-card--skin .v2-art .product-main-art,
.v2-card--skin-aqua .v2-art .product-main-art,
.v2-card--skin-blue .v2-art .product-main-art,
.v2-card--skin-yellow .v2-art .product-main-art {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
  padding: 0 !important;
  transform: scale(0.78) !important;
  filter: drop-shadow(0 10px 13px rgba(0,0,0,0.32)) !important;
}

[data-product-id="bs-skin-otis"] .v2-art .product-main-art,
[data-product-id="bs-skin-fang"] .v2-art .product-main-art,
[data-product-id="bs-skin-gus"] .v2-art .product-main-art,
[data-product-id="bs-skin-tara"] .v2-art .product-main-art,
[data-product-id="bs-skin-the-fans-fang"] .v2-art .product-main-art {
  transform: scale(0.72) !important;
}

[data-product-id="bs-skin-super-striker-lou"] .v2-art,
[data-product-id="bs-skin-refereeple"] .v2-art,
[data-product-id="bs-skin-scorekeeper-surge"] .v2-art { padding: 0 !important; }

[data-product-id="bs-skin-super-striker-lou"] .v2-art .product-main-art,
[data-product-id="bs-skin-refereeple"] .v2-art .product-main-art,
[data-product-id="bs-skin-scorekeeper-surge"] .v2-art .product-main-art {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transform: scale(1.0) !important;
  animation: skin-pan-float-soft 8s ease-in-out infinite !important;
}

[data-product-id="bs-skin-super-striker-lou"] .v2-art .product-main-art { object-position: center 18% !important; }
[data-product-id="bs-skin-refereeple"] .v2-art .product-main-art { object-position: center 16% !important; }
[data-product-id="bs-skin-scorekeeper-surge"] .v2-art .product-main-art { object-position: center 14% !important; }

@keyframes skin-pan-float-soft {
  0%, 100% { transform: scale(1.0) translateY(0); }
  50% { transform: scale(1.035) translateY(-4px); }
}

/* Cart: more breathing room */
.cart-layout {
  grid-template-columns: minmax(0, 1.35fr) minmax(360px, 0.65fr) !important;
  gap: 34px !important;
}

.cart-panel,
.cart-summary-box {
  padding: 30px !important;
  border-radius: 28px !important;
}

.cart-panel-head {
  margin-bottom: 24px !important;
  align-items: flex-start !important;
}

.cart-items { gap: 20px !important; }

.cart-item {
  grid-template-columns: 96px minmax(0,1fr) 138px 122px !important;
  gap: 22px !important;
  padding: 20px !important;
  border-radius: 22px !important;
}

.cart-item-art {
  width: 96px !important;
  height: 96px !important;
  border-radius: 20px !important;
}

.cart-item-copy { gap: 7px !important; }
.cart-item-copy strong { font-size: 19px !important; }
.cart-item-controls { justify-content: center !important; padding: 8px !important; }
.qty-btn { width: 38px !important; height: 38px !important; }
.cart-item-total { gap: 10px !important; }
.cart-summary-total { padding: 16px 0 !important; }
.cart-actions { gap: 14px !important; margin-top: 24px !important; }
.cart-empty { padding: 44px 24px !important; }

/* Checkout header and receipt block matching */
.checkout-x {
  grid-template-columns: minmax(0, 1.06fr) minmax(360px, 0.94fr) !important;
  gap: 26px !important;
}

.checkout-hero,
.payment-box-x { min-height: 238px !important; }
.payment-box-head { min-height: 118px !important; }
.checkout-hero h1,
.payment-box h2 { font-size: clamp(32px, 3vw, 42px) !important; }
.checkout-hero p:not(.eyebrow),
.payment-subtitle { min-height: 48px !important; }

@media (max-width: 980px) {
  .cart-layout,
  .checkout-x { grid-template-columns: 1fr !important; }
}

@media (max-width: 720px) {
  .product-grid.store-v2 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 13px !important;
  }

  .v2-card { min-height: 352px !important; }
  .v2-art { height: 168px !important; min-height: 168px !important; flex-basis: 168px !important; }
  .v2-body { min-height: 74px !important; padding: 12px !important; }
  .v2-title { font-size: 14px !important; }
  .v2-pricebar { min-height: 104px !important; padding: 12px !important; }
  .v2-actions { grid-template-columns: 1fr !important; }

  .cart-panel,
  .cart-summary-box { padding: 18px !important; }
  .cart-item { grid-template-columns: 76px 1fr !important; gap: 14px !important; padding: 16px !important; }
  .cart-item-art { width: 76px !important; height: 76px !important; }
  .cart-item-controls,
  .cart-item-total { grid-column: 1 / -1 !important; justify-self: stretch !important; }
  .cart-item-total { align-items: stretch !important; }
}


/* ============================================================
   V17 — slide-in motion everywhere, readable yellow labels,
   fixed skin framing, cleaner cart spacing
   ============================================================ */
@keyframes global-slide-up {
  0% { opacity: 0; transform: translateY(24px) scale(0.985); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.page-hero,
.lx-hero,
.lx-section,
.lx-trust,
.brawl-section-card,
.product-toolbar,
.v2-card,
.cart-panel,
.cart-summary-box,
.cart-item,
.order-form-x,
.payment-box-x,
.product-picker-card,
.pay-option,
.checkout-summary-card {
  animation: global-slide-up .58s cubic-bezier(.2,.8,.2,1) both !important;
}

.v2-card:nth-child(2),
.brawl-section-card:nth-child(2),
.cart-item:nth-child(2),
.product-picker-card:nth-child(2) { animation-delay: .04s !important; }
.v2-card:nth-child(3),
.brawl-section-card:nth-child(3),
.cart-item:nth-child(3),
.product-picker-card:nth-child(3) { animation-delay: .08s !important; }
.v2-card:nth-child(4),
.brawl-section-card:nth-child(4),
.cart-item:nth-child(4),
.product-picker-card:nth-child(4) { animation-delay: .12s !important; }
.v2-card:nth-child(5),
.brawl-section-card:nth-child(5),
.cart-item:nth-child(5),
.product-picker-card:nth-child(5) { animation-delay: .16s !important; }
.v2-card:nth-child(6),
.brawl-section-card:nth-child(6),
.cart-item:nth-child(6),
.product-picker-card:nth-child(6) { animation-delay: .20s !important; }

/* Stop product cards from looking shifted after buttons were added */
.product-grid.store-v2 {
  grid-template-columns: repeat(auto-fill, minmax(252px, 1fr)) !important;
  gap: 22px !important;
}

.v2-card {
  min-height: 382px !important;
  border-radius: 22px !important;
}

.v2-art {
  height: 208px !important;
  min-height: 208px !important;
  flex-basis: 208px !important;
}

.v2-body {
  min-height: 78px !important;
  padding: 15px 16px 8px !important;
}

.v2-pricebar {
  min-height: 96px !important;
  padding: 13px 16px 16px !important;
  display: grid !important;
  grid-template-rows: auto auto !important;
  gap: 12px !important;
}

.v2-price {
  justify-content: flex-start !important;
}

.v2-actions {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 10px !important;
}

.v2-cart-btn,
.v2-buy {
  height: 42px !important;
  line-height: 1 !important;
}

/* Yellow labels must be readable: black text, not gray */
.v2-card--skin .v2-bonus,
.v2-card--skin-aqua .v2-bonus,
.v2-card--skin-blue .v2-bonus,
.v2-card--skin-yellow .v2-bonus,
.v2-card--special-lou .v2-bonus,
.v2-card--special-referee .v2-bonus,
.v2-card--special-surge .v2-bonus,
[data-product-id="bs-welcome-pack"] .v2-bonus {
  display: inline-flex !important;
  align-items: center !important;
  width: fit-content !important;
  max-width: 100% !important;
  min-height: 24px !important;
  padding: 4px 9px !important;
  border-radius: 999px !important;
  background: #ffd33d !important;
  color: #08111f !important;
  border: 1px solid rgba(0,0,0,.10) !important;
  font-weight: 900 !important;
  line-height: 1.18 !important;
  text-shadow: none !important;
}

[data-product-id="bs-welcome-pack"] .v2-bonus {
  white-space: normal !important;
  -webkit-line-clamp: unset !important;
  overflow: visible !important;
}

/* Pull problematic skin covers farther back */
[data-product-id="bs-skin-tara"] .v2-art,
[data-product-id="bs-skin-otis"] .v2-art,
[data-product-id="bs-skin-the-fans-fang"] .v2-art,
[data-product-id="bs-skin-gus"] .v2-art,
[data-product-id="bs-skin-fang"] .v2-art {
  padding: 30px !important;
  background:
    radial-gradient(110% 110% at 50% 12%, rgba(255,255,255,.14), transparent 52%),
    linear-gradient(165deg, #2ac8ff, #3d7bff 58%, #7d3dff) !important;
}

[data-product-id="bs-skin-otis"] .v2-art,
[data-product-id="bs-skin-gus"] .v2-art {
  background:
    radial-gradient(110% 110% at 50% 12%, rgba(255,255,255,.16), transparent 52%),
    linear-gradient(165deg, #ffd24a, #ff9d28 58%, #ff5d45) !important;
}

[data-product-id="bs-skin-tara"] .v2-art .product-main-art,
[data-product-id="bs-skin-otis"] .v2-art .product-main-art,
[data-product-id="bs-skin-the-fans-fang"] .v2-art .product-main-art,
[data-product-id="bs-skin-gus"] .v2-art .product-main-art,
[data-product-id="bs-skin-fang"] .v2-art .product-main-art {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
  padding: 0 !important;
  transform: scale(.58) !important;
  filter: drop-shadow(0 10px 13px rgba(0,0,0,.32)) !important;
}

[data-product-id="bs-skin-tara"]:hover .v2-art .product-main-art,
[data-product-id="bs-skin-otis"]:hover .v2-art .product-main-art,
[data-product-id="bs-skin-the-fans-fang"]:hover .v2-art .product-main-art,
[data-product-id="bs-skin-gus"]:hover .v2-art .product-main-art,
[data-product-id="bs-skin-fang"]:hover .v2-art .product-main-art {
  transform: scale(.62) !important;
}

/* Cart: more air, no cramped rows */
.cart-layout {
  gap: 42px !important;
}

.cart-panel,
.cart-summary-box {
  padding: 34px !important;
}

.cart-panel-head {
  margin-bottom: 30px !important;
}

.cart-items {
  gap: 26px !important;
}

.cart-item {
  grid-template-columns: 110px minmax(0,1fr) 160px 140px !important;
  gap: 28px !important;
  padding: 26px !important;
  border-radius: 26px !important;
}

.cart-item-art {
  width: 110px !important;
  height: 110px !important;
}

.cart-item-copy {
  gap: 9px !important;
}

.cart-item-copy strong {
  font-size: 20px !important;
  line-height: 1.18 !important;
}

.cart-item-controls {
  padding: 10px !important;
  gap: 10px !important;
}

.cart-item-total {
  gap: 12px !important;
}

.cart-summary-total {
  padding: 20px 0 !important;
}

.cart-summary-note {
  margin-top: 20px !important;
}

.cart-actions {
  gap: 16px !important;
  margin-top: 30px !important;
}

@media (max-width: 900px) {
  .cart-layout { gap: 24px !important; }
  .cart-item {
    grid-template-columns: 92px 1fr !important;
    gap: 18px !important;
  }
  .cart-item-controls,
  .cart-item-total {
    grid-column: 2 !important;
    justify-self: start !important;
  }
  .cart-item-total { align-items: flex-start !important; }
}

@media (max-width: 640px) {
  .product-grid.store-v2 {
    grid-template-columns: 1fr !important;
  }
  .v2-card { min-height: auto !important; }
  .v2-art { height: 210px !important; min-height: 210px !important; flex-basis: 210px !important; }
  .v2-actions { grid-template-columns: 1fr 1fr !important; }

  [data-product-id="bs-skin-tara"] .v2-art,
  [data-product-id="bs-skin-otis"] .v2-art,
  [data-product-id="bs-skin-the-fans-fang"] .v2-art,
  [data-product-id="bs-skin-gus"] .v2-art,
  [data-product-id="bs-skin-fang"] .v2-art {
    padding: 24px !important;
  }

  [data-product-id="bs-skin-tara"] .v2-art .product-main-art,
  [data-product-id="bs-skin-otis"] .v2-art .product-main-art,
  [data-product-id="bs-skin-the-fans-fang"] .v2-art .product-main-art,
  [data-product-id="bs-skin-gus"] .v2-art .product-main-art,
  [data-product-id="bs-skin-fang"] .v2-art .product-main-art {
    transform: scale(.64) !important;
  }

  .cart-panel,
  .cart-summary-box { padding: 22px !important; }
  .cart-item { padding: 20px !important; }
  .cart-item-controls,
  .cart-item-total { grid-column: 1 / -1 !important; justify-self: stretch !important; }
}

@media (prefers-reduced-motion: reduce) {
  .page-hero,
  .lx-hero,
  .lx-section,
  .lx-trust,
  .brawl-section-card,
  .product-toolbar,
  .v2-card,
  .cart-panel,
  .cart-summary-box,
  .cart-item,
  .order-form-x,
  .payment-box-x,
  .product-picker-card,
  .pay-option,
  .checkout-summary-card {
    animation: none !important;
  }
}


/* ============================================================
   V18 — hard reset for skins and graffiti alignment
   ============================================================ */

/* Stop earlier zoom/cover/hover rules from breaking character placement */
.product-grid.store-v2 .v2-card[data-product-id^="bs-skin-"] .v2-art,
.product-grid.store-v2 .v2-card[data-product-id^="bs-graffiti-"] .v2-art {
  display: grid !important;
  place-items: center !important;
  min-height: 230px !important;
  height: 230px !important;
  padding: 18px !important;
  overflow: hidden !important;
}

.product-grid.store-v2 .v2-card[data-product-id^="bs-skin-"] .v2-art .v2-art-inner,
.product-grid.store-v2 .v2-card[data-product-id^="bs-graffiti-"] .v2-art .v2-art-inner {
  width: 100% !important;
  height: 100% !important;
  display: grid !important;
  place-items: center !important;
  animation: none !important;
  transform: none !important;
}

.product-grid.store-v2 .v2-card[data-product-id^="bs-skin-"] .v2-art .product-main-art,
.product-grid.store-v2 .v2-card[data-product-id^="bs-graffiti-"] .v2-art .product-main-art {
  position: static !important;
  inset: auto !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
  padding: 0 !important;
  margin: 0 auto !important;
  transform: none !important;
  animation: none !important;
  filter: drop-shadow(0 10px 14px rgba(0,0,0,.34)) !important;
}

.product-grid.store-v2 .v2-card[data-product-id^="bs-skin-"]:hover .v2-art .v2-art-inner,
.product-grid.store-v2 .v2-card[data-product-id^="bs-graffiti-"]:hover .v2-art .v2-art-inner,
.product-grid.store-v2 .v2-card[data-product-id^="bs-skin-"]:hover .v2-art .product-main-art,
.product-grid.store-v2 .v2-card[data-product-id^="bs-graffiti-"]:hover .v2-art .product-main-art {
  animation: none !important;
  transform: none !important;
}

/* Individual character scale — smaller and centered, not cropped */
[data-product-id="bs-skin-tara"] .v2-art .product-main-art,
[data-product-id="bs-skin-otis"] .v2-art .product-main-art,
[data-product-id="bs-skin-gus"] .v2-art .product-main-art,
[data-product-id="bs-skin-the-fans-fang"] .v2-art .product-main-art,
[data-product-id="bs-skin-fang"] .v2-art .product-main-art {
  width: 82% !important;
  height: 82% !important;
}

[data-product-id="bs-skin-tara"] .v2-art,
[data-product-id="bs-skin-otis"] .v2-art,
[data-product-id="bs-skin-gus"] .v2-art,
[data-product-id="bs-skin-the-fans-fang"] .v2-art,
[data-product-id="bs-skin-fang"] .v2-art {
  padding: 24px !important;
}

/* Special skins are also normalized to stop full-cover warping */
[data-product-id="bs-skin-super-striker-lou"] .v2-art .product-main-art,
[data-product-id="bs-skin-refereeple"] .v2-art .product-main-art,
[data-product-id="bs-skin-scorekeeper-surge"] .v2-art .product-main-art {
  width: 88% !important;
  height: 88% !important;
}

[data-product-id="bs-skin-super-striker-lou"] .v2-art,
[data-product-id="bs-skin-refereeple"] .v2-art,
[data-product-id="bs-skin-scorekeeper-surge"] .v2-art {
  padding: 18px !important;
}

/* Graffiti: one identical visual box and one centered image size */
.product-grid.store-v2 .v2-card[data-product-id^="bs-graffiti-"] .v2-art {
  padding: 28px !important;
  background:
    radial-gradient(110% 110% at 50% 12%, rgba(255,255,255,.18), transparent 56%),
    linear-gradient(165deg, #2cd4ff, #376fff 58%, #6238d9) !important;
}

.product-grid.store-v2 .v2-card[data-product-id^="bs-graffiti-"] .v2-art .product-main-art {
  width: 72% !important;
  height: 72% !important;
  filter: drop-shadow(0 8px 12px rgba(0,0,0,.30)) !important;
}

/* Card text/body alignment so graffiti and skins sit on the same baseline */
.product-grid.store-v2 .v2-card[data-product-id^="bs-skin-"] .v2-body,
.product-grid.store-v2 .v2-card[data-product-id^="bs-graffiti-"] .v2-body {
  min-height: 84px !important;
  justify-content: flex-start !important;
}

.product-grid.store-v2 .v2-card[data-product-id^="bs-skin-"] .v2-title,
.product-grid.store-v2 .v2-card[data-product-id^="bs-graffiti-"] .v2-title {
  min-height: 2.35em !important;
}

@media (max-width: 640px) {
  .product-grid.store-v2 .v2-card[data-product-id^="bs-skin-"] .v2-art,
  .product-grid.store-v2 .v2-card[data-product-id^="bs-graffiti-"] .v2-art {
    min-height: 178px !important;
    height: 178px !important;
    padding: 16px !important;
  }

  [data-product-id="bs-skin-tara"] .v2-art .product-main-art,
  [data-product-id="bs-skin-otis"] .v2-art .product-main-art,
  [data-product-id="bs-skin-gus"] .v2-art .product-main-art,
  [data-product-id="bs-skin-the-fans-fang"] .v2-art .product-main-art,
  [data-product-id="bs-skin-fang"] .v2-art .product-main-art {
    width: 84% !important;
    height: 84% !important;
  }

  .product-grid.store-v2 .v2-card[data-product-id^="bs-graffiti-"] .v2-art .product-main-art {
    width: 74% !important;
    height: 74% !important;
  }
}


/* ============================================================
   V19 — skin alignment based on Cat Jessie + restore full-cover specials
   ============================================================ */

/* Base regular-skin framing: use Cat Jessie as the visual reference */
[data-product-id="bs-skin-cat-jessie"] .v2-art,
[data-product-id="bs-skin-tara"] .v2-art,
[data-product-id="bs-skin-otis"] .v2-art,
[data-product-id="bs-skin-gus"] .v2-art,
[data-product-id="bs-skin-the-fans-fang"] .v2-art,
[data-product-id="bs-skin-fang"] .v2-art {
  padding: 16px !important;
  min-height: 220px !important;
  overflow: hidden !important;
}

[data-product-id="bs-skin-cat-jessie"] .v2-art .product-main-art,
[data-product-id="bs-skin-tara"] .v2-art .product-main-art,
[data-product-id="bs-skin-otis"] .v2-art .product-main-art,
[data-product-id="bs-skin-gus"] .v2-art .product-main-art,
[data-product-id="bs-skin-the-fans-fang"] .v2-art .product-main-art,
[data-product-id="bs-skin-fang"] .v2-art .product-main-art {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
  transform: none !important;
  animation: none !important;
  padding: 0 !important;
  max-width: none !important;
  max-height: none !important;
  filter: drop-shadow(0 8px 12px rgba(0,0,0,.30)) !important;
}

/* Fine-tuned but still Cat Jessie-like: a little smaller to avoid clipping */
[data-product-id="bs-skin-tara"] .v2-art .product-main-art,
[data-product-id="bs-skin-otis"] .v2-art .product-main-art,
[data-product-id="bs-skin-gus"] .v2-art .product-main-art,
[data-product-id="bs-skin-the-fans-fang"] .v2-art .product-main-art,
[data-product-id="bs-skin-fang"] .v2-art .product-main-art {
  transform: scale(0.84) !important;
}

[data-product-id="bs-skin-tara"]:hover .v2-art .product-main-art,
[data-product-id="bs-skin-otis"]:hover .v2-art .product-main-art,
[data-product-id="bs-skin-gus"]:hover .v2-art .product-main-art,
[data-product-id="bs-skin-the-fans-fang"]:hover .v2-art .product-main-art,
[data-product-id="bs-skin-fang"]:hover .v2-art .product-main-art,
[data-product-id="bs-skin-cat-jessie"]:hover .v2-art .product-main-art {
  transform: none !important;
}

/* Restore the stretched/full-cover look where the user asked to hide the plain background */
[data-product-id="bs-skin-super-striker-lou"] .v2-art,
[data-product-id="bs-skin-refereeple"] .v2-art,
[data-product-id="bs-skin-scorekeeper-surge"] .v2-art {
  padding: 0 !important;
  min-height: 220px !important;
  overflow: hidden !important;
}

[data-product-id="bs-skin-super-striker-lou"] .v2-art .product-main-art,
[data-product-id="bs-skin-refereeple"] .v2-art .product-main-art,
[data-product-id="bs-skin-scorekeeper-surge"] .v2-art .product-main-art {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  max-width: none !important;
  max-height: none !important;
  padding: 0 !important;
  transform: none !important;
  animation: none !important;
  filter: none !important;
}

[data-product-id="bs-skin-super-striker-lou"] .v2-art .product-main-art {
  object-position: center 20% !important;
}

[data-product-id="bs-skin-refereeple"] .v2-art .product-main-art {
  object-position: center 18% !important;
}

[data-product-id="bs-skin-scorekeeper-surge"] .v2-art .product-main-art {
  object-position: center 16% !important;
}

[data-product-id="bs-skin-super-striker-lou"]:hover .v2-art .product-main-art,
[data-product-id="bs-skin-refereeple"]:hover .v2-art .product-main-art,
[data-product-id="bs-skin-scorekeeper-surge"]:hover .v2-art .product-main-art {
  transform: none !important;
}

/* Graffiti: same size, same centering, no jumping */
[data-product-id="bs-graffiti-lou"] .v2-art,
[data-product-id="bs-graffiti-refereeple"] .v2-art,
[data-product-id="bs-graffiti-scorekeeper"] .v2-art {
  padding: 18px !important;
  min-height: 220px !important;
  overflow: hidden !important;
}

[data-product-id="bs-graffiti-lou"] .v2-art .product-main-art,
[data-product-id="bs-graffiti-refereeple"] .v2-art .product-main-art,
[data-product-id="bs-graffiti-scorekeeper"] .v2-art .product-main-art {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
  transform: scale(0.88) !important;
  animation: none !important;
  filter: drop-shadow(0 7px 10px rgba(0,0,0,.26)) !important;
}

[data-product-id="bs-graffiti-lou"]:hover .v2-art .product-main-art,
[data-product-id="bs-graffiti-refereeple"]:hover .v2-art .product-main-art,
[data-product-id="bs-graffiti-scorekeeper"]:hover .v2-art .product-main-art {
  transform: scale(0.88) !important;
}

/* Keep all skin/graffiti cards visually stable */
[data-product-id^="bs-skin-"] .v2-art::after,
[data-product-id^="bs-graffiti-"] .v2-art::after {
  display: none !important;
}

@media (max-width: 640px) {
  [data-product-id="bs-skin-cat-jessie"] .v2-art,
  [data-product-id="bs-skin-tara"] .v2-art,
  [data-product-id="bs-skin-otis"] .v2-art,
  [data-product-id="bs-skin-gus"] .v2-art,
  [data-product-id="bs-skin-the-fans-fang"] .v2-art,
  [data-product-id="bs-skin-fang"] .v2-art,
  [data-product-id="bs-skin-super-striker-lou"] .v2-art,
  [data-product-id="bs-skin-refereeple"] .v2-art,
  [data-product-id="bs-skin-scorekeeper-surge"] .v2-art,
  [data-product-id="bs-graffiti-lou"] .v2-art,
  [data-product-id="bs-graffiti-refereeple"] .v2-art,
  [data-product-id="bs-graffiti-scorekeeper"] .v2-art {
    min-height: 180px !important;
  }

  [data-product-id="bs-skin-tara"] .v2-art .product-main-art,
  [data-product-id="bs-skin-otis"] .v2-art .product-main-art,
  [data-product-id="bs-skin-gus"] .v2-art .product-main-art,
  [data-product-id="bs-skin-the-fans-fang"] .v2-art .product-main-art,
  [data-product-id="bs-skin-fang"] .v2-art .product-main-art,
  [data-product-id="bs-graffiti-lou"] .v2-art .product-main-art,
  [data-product-id="bs-graffiti-refereeple"] .v2-art .product-main-art,
  [data-product-id="bs-graffiti-scorekeeper"] .v2-art .product-main-art {
    transform: scale(0.9) !important;
  }
}


/* ============================================================
   V20 — real inline-enforced product art reset
   The image sizing is now generated in app.js inline, this only stabilizes boxes.
   ============================================================ */
[data-product-id="bs-skin-cat-jessie"] .v2-art,
[data-product-id="bs-skin-tara"] .v2-art,
[data-product-id="bs-skin-otis"] .v2-art,
[data-product-id="bs-skin-gus"] .v2-art,
[data-product-id="bs-skin-the-fans-fang"] .v2-art,
[data-product-id="bs-skin-fang"] .v2-art,
[data-product-id="bs-skin-super-striker-lou"] .v2-art,
[data-product-id="bs-skin-refereeple"] .v2-art,
[data-product-id="bs-skin-scorekeeper-surge"] .v2-art,
[data-product-id="bs-graffiti-lou"] .v2-art,
[data-product-id="bs-graffiti-refereeple"] .v2-art,
[data-product-id="bs-graffiti-scorekeeper"] .v2-art {
  min-height: 220px !important;
}

[data-product-id="bs-skin-cat-jessie"] .v2-art .v2-art-inner,
[data-product-id="bs-skin-tara"] .v2-art .v2-art-inner,
[data-product-id="bs-skin-otis"] .v2-art .v2-art-inner,
[data-product-id="bs-skin-gus"] .v2-art .v2-art-inner,
[data-product-id="bs-skin-the-fans-fang"] .v2-art .v2-art-inner,
[data-product-id="bs-skin-fang"] .v2-art .v2-art-inner,
[data-product-id="bs-skin-super-striker-lou"] .v2-art .v2-art-inner,
[data-product-id="bs-skin-refereeple"] .v2-art .v2-art-inner,
[data-product-id="bs-skin-scorekeeper-surge"] .v2-art .v2-art-inner,
[data-product-id="bs-graffiti-lou"] .v2-art .v2-art-inner,
[data-product-id="bs-graffiti-refereeple"] .v2-art .v2-art-inner,
[data-product-id="bs-graffiti-scorekeeper"] .v2-art .v2-art-inner {
  width: 100% !important;
  height: 100% !important;
  min-height: 188px !important;
}

[data-product-id^="bs-skin-"] .v2-art::after,
[data-product-id^="bs-graffiti-"] .v2-art::after {
  display: none !important;
}

[data-product-id^="bs-skin-"] .v2-art-inner,
[data-product-id^="bs-graffiti-"] .v2-art-inner {
  animation: none !important;
}

[data-product-id^="bs-skin-"]:hover .v2-art-inner,
[data-product-id^="bs-graffiti-"]:hover .v2-art-inner {
  animation: none !important;
}

@media (max-width: 640px) {
  [data-product-id="bs-skin-cat-jessie"] .v2-art,
  [data-product-id="bs-skin-tara"] .v2-art,
  [data-product-id="bs-skin-otis"] .v2-art,
  [data-product-id="bs-skin-gus"] .v2-art,
  [data-product-id="bs-skin-the-fans-fang"] .v2-art,
  [data-product-id="bs-skin-fang"] .v2-art,
  [data-product-id="bs-skin-super-striker-lou"] .v2-art,
  [data-product-id="bs-skin-refereeple"] .v2-art,
  [data-product-id="bs-skin-scorekeeper-surge"] .v2-art,
  [data-product-id="bs-graffiti-lou"] .v2-art,
  [data-product-id="bs-graffiti-refereeple"] .v2-art,
  [data-product-id="bs-graffiti-scorekeeper"] .v2-art {
    min-height: 180px !important;
  }
}


/* ============================================================
   V21 — remove catalog intro and force readable black text pills
   ============================================================ */
.catalog-page main {
  padding-top: 18px !important;
}

.catalog-grid-clean,
.brawl-catalog-grid.catalog-grid-clean {
  margin-top: 0 !important;
}

/* All product info pills like "100 гемов...", "+250 Bling", "+350 Bling" must be readable */
.v2-bonus,
.product-picker-meta,
.summary-fulfillment {
  color: #08111f !important;
  background: #ffd33d !important;
  border: 1px solid rgba(0,0,0,.12) !important;
  text-shadow: none !important;
  font-weight: 900 !important;
}

.v2-bonus {
  display: inline-flex !important;
  align-items: center !important;
  width: fit-content !important;
  max-width: 100% !important;
  min-height: 24px !important;
  padding: 4px 9px !important;
  border-radius: 999px !important;
  line-height: 1.18 !important;
  white-space: normal !important;
  overflow: visible !important;
  -webkit-line-clamp: unset !important;
}

[data-product-id="bs-welcome-pack"] .v2-bonus,
.v2-card--special .v2-bonus,
.v2-card--gems .v2-bonus,
.v2-card--pass .v2-bonus,
.v2-card--pass-plus .v2-bonus,
.v2-card--pro .v2-bonus,
.v2-card--bolt .v2-bonus,
.v2-card--bolt-plus .v2-bonus,
.v2-card--bolt-max .v2-bonus,
.v2-card--graffiti .v2-bonus,
.v2-card--skin .v2-bonus,
.v2-card--skin-aqua .v2-bonus,
.v2-card--skin-blue .v2-bonus,
.v2-card--skin-yellow .v2-bonus,
.v2-card--special-lou .v2-bonus,
.v2-card--special-referee .v2-bonus,
.v2-card--special-surge .v2-bonus {
  color: #08111f !important;
  background: #ffd33d !important;
}


/* ============================================================
   V22 — no intermediate catalog + final skin crop override
   ============================================================ */

/* The old catalog section page is removed from routing; #/catalog now shows products directly. */
body.brawl-store-page main {
  padding-top: 18px !important;
}

/* Stop old accumulated rules from cropping skin/graffiti art. Inline app.js styles do the sizing. */
[data-product-id^="bs-skin-"] .v2-art,
[data-product-id^="bs-graffiti-"] .v2-art {
  min-height: 220px !important;
  padding: 16px !important;
  overflow: hidden !important;
}

[data-product-id^="bs-skin-"] .v2-art .v2-art-inner,
[data-product-id^="bs-graffiti-"] .v2-art .v2-art-inner {
  width: 100% !important;
  height: 100% !important;
  min-height: 188px !important;
  display: grid !important;
  place-items: center !important;
  animation: none !important;
}

[data-product-id^="bs-skin-"] .v2-art .product-main-art,
[data-product-id^="bs-graffiti-"] .v2-art .product-main-art {
  object-fit: contain !important;
  animation: none !important;
}

[data-product-id^="bs-skin-"] .v2-art::after,
[data-product-id^="bs-graffiti-"] .v2-art::after {
  display: none !important;
}

[data-product-id^="bs-skin-"]:hover .v2-art-inner,
[data-product-id^="bs-graffiti-"]:hover .v2-art-inner,
[data-product-id^="bs-skin-"]:hover .product-main-art,
[data-product-id^="bs-graffiti-"]:hover .product-main-art {
  animation: none !important;
}

/* Keep bonus pills readable everywhere */
.v2-bonus,
.product-picker-meta,
.summary-fulfillment {
  color: #08111f !important;
  background: #ffd33d !important;
  border-color: rgba(0,0,0,.12) !important;
  text-shadow: none !important;
  font-weight: 900 !important;
}

@media (max-width: 640px) {
  [data-product-id^="bs-skin-"] .v2-art,
  [data-product-id^="bs-graffiti-"] .v2-art {
    min-height: 180px !important;
    padding: 12px !important;
  }
}


/* ============================================================
   V23 — ACTUAL skin fix: generated card images, no cropping
   ============================================================ */
.product-grid.store-v2 .v2-card[data-product-id="bs-skin-leon"] .v2-art,
.product-grid.store-v2 .v2-card[data-product-id="bs-skin-nani"] .v2-art,
.product-grid.store-v2 .v2-card[data-product-id="bs-skin-el-quarterback"] .v2-art,
.product-grid.store-v2 .v2-card[data-product-id="bs-skin-fang"] .v2-art,
.product-grid.store-v2 .v2-card[data-product-id="bs-skin-tara"] .v2-art,
.product-grid.store-v2 .v2-card[data-product-id="bs-skin-otis"] .v2-art,
.product-grid.store-v2 .v2-card[data-product-id="bs-skin-the-fans-fang"] .v2-art,
.product-grid.store-v2 .v2-card[data-product-id="bs-skin-mortis"] .v2-art,
.product-grid.store-v2 .v2-card[data-product-id="bs-skin-gus"] .v2-art,
.product-grid.store-v2 .v2-card[data-product-id="bs-skin-cat-jessie"] .v2-art {
  padding: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: 400 / 326 !important;
  overflow: hidden !important;
  background: #1b2038 !important;
}

.product-grid.store-v2 .v2-card[data-product-id="bs-skin-leon"] .v2-art .v2-art-inner,
.product-grid.store-v2 .v2-card[data-product-id="bs-skin-nani"] .v2-art .v2-art-inner,
.product-grid.store-v2 .v2-card[data-product-id="bs-skin-el-quarterback"] .v2-art .v2-art-inner,
.product-grid.store-v2 .v2-card[data-product-id="bs-skin-fang"] .v2-art .v2-art-inner,
.product-grid.store-v2 .v2-card[data-product-id="bs-skin-tara"] .v2-art .v2-art-inner,
.product-grid.store-v2 .v2-card[data-product-id="bs-skin-otis"] .v2-art .v2-art-inner,
.product-grid.store-v2 .v2-card[data-product-id="bs-skin-the-fans-fang"] .v2-art .v2-art-inner,
.product-grid.store-v2 .v2-card[data-product-id="bs-skin-mortis"] .v2-art .v2-art-inner,
.product-grid.store-v2 .v2-card[data-product-id="bs-skin-gus"] .v2-art .v2-art-inner,
.product-grid.store-v2 .v2-card[data-product-id="bs-skin-cat-jessie"] .v2-art .v2-art-inner {
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  display: block !important;
  animation: none !important;
}

.product-grid.store-v2 .v2-card[data-product-id="bs-skin-leon"] .v2-art .product-main-art,
.product-grid.store-v2 .v2-card[data-product-id="bs-skin-nani"] .v2-art .product-main-art,
.product-grid.store-v2 .v2-card[data-product-id="bs-skin-el-quarterback"] .v2-art .product-main-art,
.product-grid.store-v2 .v2-card[data-product-id="bs-skin-fang"] .v2-art .product-main-art,
.product-grid.store-v2 .v2-card[data-product-id="bs-skin-tara"] .v2-art .product-main-art,
.product-grid.store-v2 .v2-card[data-product-id="bs-skin-otis"] .v2-art .product-main-art,
.product-grid.store-v2 .v2-card[data-product-id="bs-skin-the-fans-fang"] .v2-art .product-main-art,
.product-grid.store-v2 .v2-card[data-product-id="bs-skin-mortis"] .v2-art .product-main-art,
.product-grid.store-v2 .v2-card[data-product-id="bs-skin-gus"] .v2-art .product-main-art,
.product-grid.store-v2 .v2-card[data-product-id="bs-skin-cat-jessie"] .v2-art .product-main-art {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  transform: none !important;
  animation: none !important;
  filter: none !important;
  padding: 0 !important;
}

.product-grid.store-v2 .v2-card[data-product-id^="bs-skin-"]:hover .v2-art .product-main-art,
.product-grid.store-v2 .v2-card[data-product-id^="bs-skin-"]:hover .v2-art .v2-art-inner {
  transform: none !important;
  animation: none !important;
}

/* special skins stay full-cover as requested */
.product-grid.store-v2 .v2-card[data-product-id="bs-skin-super-striker-lou"] .v2-art,
.product-grid.store-v2 .v2-card[data-product-id="bs-skin-refereeple"] .v2-art,
.product-grid.store-v2 .v2-card[data-product-id="bs-skin-scorekeeper-surge"] .v2-art {
  padding: 0 !important;
  min-height: 0 !important;
  height: auto !important;
  aspect-ratio: 2 / 1 !important;
}

.product-grid.store-v2 .v2-card[data-product-id="bs-skin-super-striker-lou"] .v2-art .product-main-art,
.product-grid.store-v2 .v2-card[data-product-id="bs-skin-refereeple"] .v2-art .product-main-art,
.product-grid.store-v2 .v2-card[data-product-id="bs-skin-scorekeeper-surge"] .v2-art .product-main-art {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  transform: none !important;
  padding: 0 !important;
  filter: none !important;
}


/* ============================================================
   V24 — stretch special skins + center receipt icon
   ============================================================ */
.payment-box-head {
  align-items: center !important;
}

.payment-icon {
  align-self: center !important;
  margin-top: 0 !important;
  transform: none !important;
}

.payment-box-head > div {
  justify-content: center !important;
}

.product-grid.store-v2 .v2-card[data-product-id="bs-skin-super-striker-lou"] .v2-art,
.product-grid.store-v2 .v2-card[data-product-id="bs-skin-refereeple"] .v2-art,
.product-grid.store-v2 .v2-card[data-product-id="bs-skin-scorekeeper-surge"] .v2-art {
  padding: 0 !important;
  overflow: hidden !important;
  min-height: 0 !important;
  height: auto !important;
  aspect-ratio: 400 / 326 !important;
  background: #11182f !important;
}

.product-grid.store-v2 .v2-card[data-product-id="bs-skin-super-striker-lou"] .v2-art .v2-art-inner,
.product-grid.store-v2 .v2-card[data-product-id="bs-skin-refereeple"] .v2-art .v2-art-inner,
.product-grid.store-v2 .v2-card[data-product-id="bs-skin-scorekeeper-surge"] .v2-art .v2-art-inner {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
}

.product-grid.store-v2 .v2-card[data-product-id="bs-skin-super-striker-lou"] .v2-art .product-main-art,
.product-grid.store-v2 .v2-card[data-product-id="bs-skin-refereeple"] .v2-art .product-main-art,
.product-grid.store-v2 .v2-card[data-product-id="bs-skin-scorekeeper-surge"] .v2-art .product-main-art {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transform: none !important;
  padding: 0 !important;
  animation: none !important;
  filter: none !important;
}

.product-grid.store-v2 .v2-card[data-product-id="bs-skin-super-striker-lou"] .v2-art .product-main-art {
  object-position: center 20% !important;
}

.product-grid.store-v2 .v2-card[data-product-id="bs-skin-refereeple"] .v2-art .product-main-art {
  object-position: center 18% !important;
}

.product-grid.store-v2 .v2-card[data-product-id="bs-skin-scorekeeper-surge"] .v2-art .product-main-art {
  object-position: center 16% !important;
}

.product-grid.store-v2 .v2-card[data-product-id="bs-skin-super-striker-lou"] .v2-art::after,
.product-grid.store-v2 .v2-card[data-product-id="bs-skin-refereeple"] .v2-art::after,
.product-grid.store-v2 .v2-card[data-product-id="bs-skin-scorekeeper-surge"] .v2-art::after {
  display: none !important;
}


/* ============================================================
   V25 — graffiti alignment + cart spacing cleanup
   ============================================================ */
body.cart-page .cart-layout {
  gap: 30px !important;
  align-items: start !important;
}

body.cart-page .cart-panel,
body.cart-page .cart-summary-box {
  padding: 26px !important;
}

body.cart-page .cart-panel-head {
  margin-bottom: 18px !important;
}

body.cart-page .cart-items {
  gap: 18px !important;
}

body.cart-page .cart-item {
  grid-template-columns: 88px minmax(0,1fr) auto auto !important;
  gap: 18px !important;
  padding: 18px !important;
  border-radius: 20px !important;
}

body.cart-page .cart-item-art {
  width: 88px !important;
  height: 88px !important;
}

body.cart-page .cart-item-copy {
  gap: 6px !important;
  padding-right: 8px !important;
}

body.cart-page .cart-item-controls {
  margin-inline: 8px !important;
}

body.cart-page .cart-item-total {
  padding-left: 10px !important;
  min-width: 108px !important;
  gap: 10px !important;
}

body.cart-page .cart-summary-total {
  padding: 14px 0 !important;
}

body.cart-page .cart-actions {
  margin-top: 22px !important;
  gap: 14px !important;
}

@media (max-width: 720px) {
  body.cart-page .cart-layout {
    gap: 20px !important;
  }

  body.cart-page .cart-panel,
  body.cart-page .cart-summary-box {
    padding: 20px !important;
  }

  body.cart-page .cart-item {
    grid-template-columns: 78px 1fr !important;
    gap: 14px !important;
    padding: 16px !important;
  }

  body.cart-page .cart-item-art {
    width: 78px !important;
    height: 78px !important;
  }

  body.cart-page .cart-item-controls,
  body.cart-page .cart-item-total {
    grid-column: 2 !important;
    justify-self: start !important;
    padding-left: 0 !important;
    margin-inline: 0 !important;
  }
}

/* Graffiti cards: same clean framing and centered art */
.product-grid.store-v2 .v2-card[data-product-id^="bs-graffiti-"] .v2-art {
  padding: 20px !important;
  min-height: 220px !important;
  aspect-ratio: 400 / 326 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
}

.product-grid.store-v2 .v2-card[data-product-id^="bs-graffiti-"] .v2-art .v2-art-inner {
  width: 100% !important;
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.product-grid.store-v2 .v2-card[data-product-id^="bs-graffiti-"] .v2-art .product-main-art {
  object-fit: contain !important;
  object-position: center center !important;
}

.product-grid.store-v2 .v2-card[data-product-id^="bs-graffiti-"] .v2-body {
  min-height: 78px !important;
}

/* ============================================================
   V26 — main menu rebuilt by reference image (real site code)
   ============================================================ */
body.home-page {
  background:
    radial-gradient(900px 520px at 18% 12%, rgba(188, 54, 255, .28), transparent 56%),
    radial-gradient(900px 520px at 86% 22%, rgba(255, 181, 30, .15), transparent 54%),
    linear-gradient(180deg, #080316 0%, #12042b 42%, #080414 100%) !important;
}

body.home-page::before {
  opacity: .9 !important;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255, 215, 93, .12) 1px, transparent 0),
    linear-gradient(120deg, transparent 0 38%, rgba(171, 46, 255, .08) 39% 40%, transparent 41% 100%);
  background-size: 42px 42px, 100% 100%;
}

.site-header {
  z-index: 50 !important;
  width: min(1560px, calc(100% - 40px)) !important;
  min-height: 76px !important;
  padding: 14px 18px !important;
  border: 1px solid rgba(178, 72, 255, .28) !important;
  border-radius: 0 0 24px 24px !important;
  background: rgba(13, 4, 31, .82) !important;
  box-shadow: 0 12px 38px rgba(0,0,0,.34), inset 0 -1px 0 rgba(255,255,255,.05) !important;
  backdrop-filter: blur(18px) saturate(150%) !important;
  -webkit-backdrop-filter: blur(18px) saturate(150%) !important;
}

.brand {
  gap: 10px !important;
  font-family: Unbounded, Manrope, sans-serif !important;
  font-size: 20px !important;
  line-height: .95 !important;
  color: #fff !important;
  text-transform: uppercase !important;
  text-shadow: 0 3px 0 rgba(0,0,0,.38), 0 0 18px rgba(201,67,255,.65) !important;
}

.brand-mark {
  width: 48px !important;
  height: 48px !important;
  color: #15040d !important;
  background: linear-gradient(135deg, #ffe56a, #ff9f22) !important;
  border: 3px solid #331120 !important;
  box-shadow: 0 0 22px rgba(255,211,61,.45), 0 5px 0 rgba(0,0,0,.32) !important;
}

.top-nav {
  gap: clamp(14px, 2vw, 34px) !important;
}

.top-nav a {
  position: relative;
  padding: 12px 0 !important;
  color: rgba(255,255,255,.9) !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  text-shadow: 0 2px 0 rgba(0,0,0,.28) !important;
}

.top-nav a.active,
.top-nav a:hover {
  color: #ffd85d !important;
}

.top-nav a.active::after,
.top-nav a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 4px;
  border-radius: 999px;
  background: #ffd33d;
  box-shadow: 0 0 14px rgba(255,211,61,.9);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-search,
.header-cart,
.header-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  border: 1px solid rgba(198, 69, 255, .42);
  border-radius: 16px;
  background: rgba(74, 21, 132, .38);
  color: #fff;
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 0 18px rgba(173, 60, 255, .12);
}

.header-search { width: 210px; justify-content: flex-start; padding: 0 18px; color: rgba(255,255,255,.68); }
.header-cart { width: 52px; position: relative; }
.header-cart .cart-count-badge { position:absolute; right:-7px; top:-8px; }
.header-login { padding: 0 24px; font-weight: 900; text-transform: uppercase; }

body.home-page main {
  width: 100% !important;
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

body.home-page .site-footer {
  display: none !important;
}

.ref-home {
  position: relative;
  min-height: calc(100vh - 4px);
  overflow: hidden;
  padding: 106px min(4vw, 64px) 28px;
  color: #fff;
  isolation: isolate;
}

.ref-home::before {
  content: "";
  position: absolute;
  inset: 72px 0 0;
  z-index: -3;
  background:
    linear-gradient(90deg, rgba(124,27,217,.18), transparent 18% 72%, rgba(255, 125, 23, .08)),
    radial-gradient(circle at 44% 24%, rgba(201, 65, 255, .22), transparent 32%),
    linear-gradient(180deg, rgba(9,3,28,.52), rgba(9,3,28,.92));
}

.ref-home::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: .48;
  background-image:
    linear-gradient(120deg, transparent 0 37%, rgba(174, 72, 255, .18) 38% 39%, transparent 40% 100%),
    radial-gradient(circle, rgba(255,255,255,.12) 1px, transparent 2px);
  background-size: 420px 260px, 90px 90px;
  mask-image: linear-gradient(90deg, #000, rgba(0,0,0,.78), transparent 94%);
}

.ref-bg { position:absolute; inset:0; z-index:-1; pointer-events:none; }
.ref-glow { position:absolute; border-radius:999px; filter: blur(28px); opacity:.75; }
.ref-glow--pink { width:460px; height:460px; left:-150px; top:135px; background:rgba(203,56,255,.42); }
.ref-glow--gold { width:360px; height:360px; right:-80px; top:215px; background:rgba(255,154,33,.26); }
.ref-spark { position:absolute; width:5px; height:5px; border-radius:50%; background:#fff; box-shadow:0 0 14px #fff, 0 0 28px #c03dff; animation: refTwinkle 2.6s ease-in-out infinite; }
.ref-spark.s1 { left:36%; top:17%; }
.ref-spark.s2 { right:18%; top:35%; animation-delay:.5s; }
.ref-spark.s3 { left:67%; top:14%; animation-delay:1.1s; }

.ref-mascot {
  position: absolute;
  z-index: 4;
  left: clamp(-120px, -5vw, -54px);
  top: 104px;
  width: clamp(320px, 28vw, 480px);
  max-height: calc(100vh - 110px);
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 0 20px rgba(207,65,255,.76)) drop-shadow(0 18px 24px rgba(0,0,0,.42));
  animation: refSlideIn .78s cubic-bezier(.2,.8,.2,1) both, refFloat 4.8s ease-in-out .85s infinite;
}

.ref-main {
  position: relative;
  z-index: 8;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 430px);
  gap: clamp(26px, 4vw, 64px);
  align-items: center;
  width: min(1240px, 100%);
  margin: 0 auto;
  padding-left: clamp(260px, 25vw, 420px);
}

.ref-hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  animation: refRise .6s cubic-bezier(.2,.8,.2,1) .1s both;
}

.ref-kicker {
  display: inline-flex;
  padding: 9px 18px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(147, 54, 255, .95), rgba(89, 27, 170, .95));
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 0 22px rgba(168,64,255,.42);
  color: #fff;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 13px;
}

.ref-title {
  margin: 18px 0 0;
  font-family: Unbounded, Manrope, sans-serif;
  font-size: clamp(60px, 7vw, 108px);
  line-height: .9;
  text-transform: uppercase;
  letter-spacing: -0.055em;
  color: #fff;
  text-shadow:
    0 6px 0 #130419,
    0 10px 0 rgba(255,190,35,.9),
    0 0 32px rgba(196,64,255,.72),
    0 24px 48px rgba(0,0,0,.55);
}

.ref-title span {
  color: #d94cff;
  background: linear-gradient(180deg, #ff76ff, #aa31ff 58%, #6d1ad3);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ref-subtitle {
  max-width: 780px;
  margin: 18px 0 0;
  color: #ffd962;
  font-size: clamp(18px, 1.6vw, 24px);
  line-height: 1.35;
  font-weight: 900;
  text-transform: uppercase;
  text-shadow: 0 2px 0 rgba(0,0,0,.42);
}

.ref-benefits {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(680px, 100%);
  border-top: 1px solid rgba(255,255,255,.12);
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.ref-benefits div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 64px;
  border-right: 1px solid rgba(255,255,255,.10);
}
.ref-benefits div:last-child { border-right: 0; }
.ref-benefits b { display:grid; place-items:center; width:38px; height:38px; border-radius:10px; background:linear-gradient(135deg,#ffe153,#8c2cff); color:#190514; box-shadow:0 0 16px rgba(255,211,61,.22); }
.ref-benefits span { font-size: 12px; font-weight: 900; line-height: 1.15; text-transform: uppercase; color: rgba(255,255,255,.88); }

.ref-actions {
  margin-top: 28px;
  display: flex;
  gap: 22px;
  justify-content: center;
  flex-wrap: wrap;
}

.ref-btn,
.ref-promo-btn {
  min-width: 260px;
  min-height: 62px;
  padding: 0 30px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-decoration: none;
  font-family: Unbounded, Manrope, sans-serif;
  font-size: 18px;
  font-weight: 900;
  text-transform: uppercase;
  transition: transform .18s ease, filter .18s ease;
}
.ref-btn:hover, .ref-promo-btn:hover { transform: translateY(-3px); filter: brightness(1.08); }
.ref-btn--gold, .ref-promo-btn { color:#1c0812; background:linear-gradient(180deg,#ffe769,#ffb326); border:2px solid rgba(255,255,255,.42); box-shadow:0 0 22px rgba(255,211,61,.62), 0 7px 0 rgba(110,42,0,.52); }
.ref-btn--purple { color:#fff; background:linear-gradient(180deg,#842cff,#4a15a9); border:2px solid rgba(229,104,255,.55); box-shadow:0 0 22px rgba(177,62,255,.5), 0 7px 0 rgba(18,3,41,.7); }

.ref-promo {
  position: relative;
  min-height: 360px;
  padding: 28px;
  border-radius: 28px;
  border: 2px solid rgba(231,76,255,.55);
  background: radial-gradient(circle at 50% 0%, rgba(210,84,255,.24), transparent 52%), rgba(31, 7, 64, .78);
  box-shadow: 0 0 42px rgba(197,62,255,.32), inset 0 1px 0 rgba(255,255,255,.12), 0 24px 50px rgba(0,0,0,.38);
  overflow: hidden;
  animation: refRise .6s cubic-bezier(.2,.8,.2,1) .2s both;
}
.ref-promo::before { content:""; position:absolute; inset:-40% -30% auto auto; width:220px; height:220px; background:radial-gradient(circle, rgba(255,226,83,.34), transparent 68%); transform:rotate(18deg); }
.ref-promo-label { color:#ffd33d; font-weight:900; text-transform:uppercase; font-size:13px; letter-spacing:.04em; }
.ref-promo h2 { margin: 16px 0 10px; font-family:Unbounded, Manrope, sans-serif; font-size:clamp(30px,3vw,44px); line-height:1; text-transform:uppercase; color:#fff; text-shadow:0 4px 0 rgba(0,0,0,.38), 0 0 18px rgba(255,255,255,.22); }
.ref-promo-art { position:relative; height:150px; margin:10px 0 22px; }
.ref-promo-art img:first-child { position:absolute; width:65%; left:4%; bottom:0; filter:drop-shadow(0 10px 12px rgba(0,0,0,.4)); }
.ref-promo-art img:nth-child(2) { position:absolute; width:42%; right:0; bottom:4px; filter:drop-shadow(0 10px 12px rgba(0,0,0,.4)); }
.ref-promo-art span { position:absolute; right:0; top:2px; display:grid; place-items:center; width:82px; height:82px; border-radius:50%; background:linear-gradient(180deg,#fff16d,#ffb526); color:#210a0a; font-family:Unbounded,Manrope,sans-serif; font-weight:900; text-transform:uppercase; line-height:.9; box-shadow:0 0 20px rgba(255,211,61,.56),0 5px 0 rgba(0,0,0,.3); }
.ref-promo-btn { width:100%; min-width:0; min-height:56px; font-size:16px; }

.ref-categories,
.ref-offers,
.ref-trust {
  position: relative;
  z-index: 8;
  width: min(1240px, 100%);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(260px, 25vw, 420px);
}

.ref-categories {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
  animation: refRise .6s cubic-bezier(.2,.8,.2,1) .32s both;
}

.ref-cat {
  position: relative;
  min-height: 130px;
  padding: 20px;
  border-radius: 18px;
  border: 1px solid rgba(209,84,255,.34);
  background: linear-gradient(180deg, rgba(68,18,126,.74), rgba(28,6,58,.86));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 14px 28px rgba(0,0,0,.26);
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.ref-cat:hover { transform: translateY(-5px); border-color: rgba(255,211,61,.5); box-shadow:0 0 24px rgba(198,62,255,.26), 0 18px 34px rgba(0,0,0,.3); }
.ref-cat strong { display:block; font-family:Unbounded, Manrope, sans-serif; font-size:22px; text-transform:uppercase; color:#30f36d; text-shadow:0 2px 0 rgba(0,0,0,.32); }
.ref-cat span { display:block; max-width:120px; margin-top:10px; color:rgba(255,255,255,.86); font-size:13px; font-weight:800; line-height:1.28; }
.ref-cat img { position:absolute; right:12px; bottom:12px; width:72px; height:72px; object-fit:contain; filter:drop-shadow(0 8px 10px rgba(0,0,0,.35)); }
.ref-cat--passes strong { color:#ffd33d; }
.ref-cat--skins strong { color:#e05cff; }
.ref-cat--deals strong { color:#ff4d99; }
.ref-cat--graffiti strong { color:#28ddff; }

.ref-offers {
  margin-top: 28px;
  animation: refRise .6s cubic-bezier(.2,.8,.2,1) .44s both;
}
.ref-offers-head { display:flex; align-items:center; gap:12px; margin-bottom:14px; }
.ref-offers-head span { color:#ffd33d; filter:drop-shadow(0 0 8px #ffd33d); }
.ref-offers-head h2 { margin:0; font-family:Unbounded,Manrope,sans-serif; font-size:24px; text-transform:uppercase; color:#fff; }
.ref-offer-row { display:grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap:16px; }
.ref-offer { position:relative; min-height:160px; padding:16px; border-radius:16px; border:1px solid rgba(208,78,255,.34); background:linear-gradient(180deg, rgba(57,13,111,.84), rgba(23,4,54,.92)); box-shadow:0 12px 26px rgba(0,0,0,.26); color:#fff; text-decoration:none; overflow:hidden; }
.ref-offer em { position:absolute; top:0; left:0; padding:6px 10px; border-radius:0 0 10px 0; background:linear-gradient(180deg,#ff4a59,#c91844); font-style:normal; font-size:11px; font-weight:900; }
.ref-offer img { display:block; width:96px; height:78px; object-fit:contain; margin:20px auto 8px; filter:drop-shadow(0 8px 10px rgba(0,0,0,.35)); }
.ref-offer strong { display:block; font-size:15px; text-transform:uppercase; }
.ref-offer span { display:block; margin-top:3px; color:#fff; font-size:18px; font-weight:900; }
.ref-offer--wide img { width:130px; }

.ref-trust {
  margin-top: 22px;
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:18px;
  padding-top: 16px;
  border-top:1px solid rgba(255,255,255,.10);
  color:rgba(255,255,255,.78);
  font-weight:900;
  text-transform:uppercase;
  font-size:13px;
}

@keyframes refRise { from { opacity:0; transform:translateY(24px); } to { opacity:1; transform:translateY(0); } }
@keyframes refSlideIn { from { opacity:0; transform:translateX(-80px); } to { opacity:1; transform:translateX(0); } }
@keyframes refFloat { 0%,100% { transform:translateY(0); } 50% { transform:translateY(-10px); } }
@keyframes refTwinkle { 0%,100% { opacity:.25; transform:scale(.7); } 50% { opacity:1; transform:scale(1.4); } }

@media (max-width: 1180px) {
  .header-tools { display:none; }
  .ref-main, .ref-categories, .ref-offers, .ref-trust { padding-left: clamp(200px, 24vw, 320px); }
  .ref-main { grid-template-columns: 1fr; }
  .ref-promo { max-width:560px; justify-self:center; }
  .ref-categories { grid-template-columns: repeat(3, 1fr); }
  .ref-offer-row { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 760px) {
  .site-header { width: calc(100% - 16px) !important; min-height:64px !important; padding:10px 12px !important; border-radius:0 0 18px 18px !important; }
  .brand { font-size:16px !important; }
  .brand-mark { width:40px !important; height:40px !important; }
  .ref-home { padding: 88px 12px 28px; }
  .ref-mascot { position:relative; left:auto; top:auto; width:min(86vw,360px); margin:0 auto -40px -42px; display:block; max-height:none; }
  .ref-main, .ref-categories, .ref-offers, .ref-trust { padding-left:0; }
  .ref-title { font-size:48px; }
  .ref-subtitle { font-size:15px; }
  .ref-benefits { grid-template-columns: repeat(2, 1fr); }
  .ref-benefits div:nth-child(2) { border-right:0; }
  .ref-actions { gap:12px; }
  .ref-btn { width:100%; min-width:0; }
  .ref-promo { min-height:0; padding:22px; }
  .ref-categories, .ref-offer-row, .ref-trust { grid-template-columns: 1fr; }
  .ref-cat { min-height:112px; }
}


/* ============================================================
   V27 — straighten reference homepage composition
   ============================================================ */
body.home-page {
  overflow-x: hidden !important;
}

body.home-page .site-header {
  left: 0 !important;
  right: 0 !important;
  width: min(1540px, calc(100% - 48px)) !important;
  margin: 0 auto !important;
  min-height: 78px !important;
  padding: 12px 20px !important;
  gap: 22px !important;
  border-radius: 0 0 24px 24px !important;
}

body.home-page .brand {
  flex: 0 0 auto !important;
  white-space: nowrap !important;
}

body.home-page .top-nav {
  flex: 1 1 auto !important;
  justify-content: center !important;
  gap: clamp(16px, 1.8vw, 30px) !important;
  min-width: 0 !important;
}

body.home-page .top-nav a,
body.home-page .mobile-nav a {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

body.home-page .top-nav a.active,
body.home-page .top-nav a:hover {
  background: transparent !important;
  color: #ffd33d !important;
}

body.home-page .header-tools {
  flex: 0 0 auto !important;
}

.ref-home {
  min-height: 100svh !important;
  padding: 112px 44px 34px !important;
  box-sizing: border-box !important;
}

.ref-mascot {
  left: clamp(-36px, -1.2vw, -16px) !important;
  top: 116px !important;
  width: clamp(300px, 20vw, 385px) !important;
  max-height: calc(100svh - 128px) !important;
  object-position: left top !important;
  z-index: 7 !important;
}

.ref-main,
.ref-categories,
.ref-offers,
.ref-trust {
  width: min(1160px, calc(100% - 420px)) !important;
  margin-left: clamp(340px, 23vw, 430px) !important;
  margin-right: clamp(28px, 4vw, 74px) !important;
  padding-left: 0 !important;
  box-sizing: border-box !important;
}

.ref-main {
  display: grid !important;
  grid-template-columns: minmax(0, 680px) minmax(340px, 390px) !important;
  gap: clamp(26px, 3vw, 42px) !important;
  align-items: center !important;
  margin-top: 0 !important;
}

.ref-hero-copy {
  align-items: center !important;
  justify-content: center !important;
  min-width: 0 !important;
}

.ref-kicker {
  font-size: 12px !important;
  padding: 8px 18px !important;
  margin-bottom: 6px !important;
}

.ref-title {
  margin-top: 12px !important;
  font-size: clamp(56px, 4.8vw, 84px) !important;
  line-height: .88 !important;
  letter-spacing: -0.06em !important;
  white-space: nowrap !important;
  max-width: 100% !important;
}

.ref-subtitle {
  max-width: 610px !important;
  margin-top: 18px !important;
  font-size: clamp(17px, 1.2vw, 22px) !important;
  line-height: 1.42 !important;
}

.ref-benefits {
  width: min(600px, 100%) !important;
  margin-top: 20px !important;
}

.ref-benefits div {
  min-height: 58px !important;
  padding: 8px 10px !important;
}

.ref-benefits b {
  width: 34px !important;
  height: 34px !important;
  flex: 0 0 34px !important;
}

.ref-benefits span {
  font-size: 11px !important;
}

.ref-actions {
  margin-top: 24px !important;
  gap: 18px !important;
}

.ref-btn {
  min-width: 230px !important;
  min-height: 58px !important;
  font-size: 16px !important;
  padding: 0 24px !important;
}

.ref-promo {
  width: 100% !important;
  max-width: 390px !important;
  min-height: 326px !important;
  padding: 24px !important;
  border-radius: 24px !important;
  justify-self: end !important;
}

.ref-promo h2 {
  font-size: clamp(28px, 2.3vw, 38px) !important;
  line-height: 1.02 !important;
  margin: 14px 0 8px !important;
}

.ref-promo-art {
  height: 138px !important;
  margin: 8px 0 20px !important;
}

.ref-promo-btn {
  min-height: 54px !important;
  font-size: 15px !important;
}

.ref-categories {
  margin-top: 26px !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 14px !important;
}

.ref-cat {
  min-height: 122px !important;
  padding: 18px !important;
  border-radius: 18px !important;
}

.ref-cat strong {
  font-size: clamp(17px, 1.1vw, 22px) !important;
  line-height: 1.05 !important;
  white-space: nowrap !important;
}

.ref-cat span {
  max-width: 105px !important;
  margin-top: 8px !important;
  font-size: 12px !important;
  line-height: 1.28 !important;
}

.ref-cat img {
  right: 10px !important;
  bottom: 10px !important;
  width: 66px !important;
  height: 66px !important;
}

.ref-offers {
  margin-top: 26px !important;
}

.ref-offers-head {
  margin-bottom: 12px !important;
}

.ref-offers-head h2 {
  font-size: 22px !important;
}

.ref-offer-row {
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 14px !important;
}

.ref-offer {
  min-height: 150px !important;
  padding: 15px !important;
}

.ref-offer img {
  width: 90px !important;
  height: 70px !important;
  margin: 18px auto 8px !important;
}

.ref-offer--wide img {
  width: 118px !important;
}

.ref-trust {
  margin-top: 18px !important;
  gap: 14px !important;
  font-size: 12px !important;
}

@media (max-width: 1320px) {
  .ref-mascot {
    width: clamp(260px, 19vw, 330px) !important;
  }
  .ref-main,
  .ref-categories,
  .ref-offers,
  .ref-trust {
    width: min(1040px, calc(100% - 330px)) !important;
    margin-left: clamp(280px, 22vw, 330px) !important;
    margin-right: 24px !important;
  }
  .ref-main {
    grid-template-columns: minmax(0, 1fr) minmax(310px, 360px) !important;
  }
  .ref-title {
    font-size: clamp(48px, 4.4vw, 72px) !important;
  }
}

@media (max-width: 1080px) {
  .ref-home {
    padding: 96px 18px 28px !important;
  }
  .ref-mascot {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    width: min(72vw, 340px) !important;
    max-height: none !important;
    margin: 0 auto -24px -20px !important;
    display: block !important;
  }
  .ref-main,
  .ref-categories,
  .ref-offers,
  .ref-trust {
    width: 100% !important;
    margin: 0 auto !important;
    padding-left: 0 !important;
  }
  .ref-main {
    grid-template-columns: 1fr !important;
    gap: 22px !important;
  }
  .ref-promo {
    max-width: 560px !important;
    justify-self: center !important;
  }
  .ref-categories,
  .ref-offer-row {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .ref-trust {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 620px) {
  .ref-title {
    white-space: normal !important;
    font-size: 46px !important;
  }
  .ref-benefits,
  .ref-categories,
  .ref-offer-row,
  .ref-trust {
    grid-template-columns: 1fr !important;
  }
  .ref-btn {
    width: 100% !important;
  }
}


/* ============================================================
   V28 — stronger Charlie logo button + glowing wall + cleaner hero
   ============================================================ */
body.home-page .site-header {
  width: min(1520px, calc(100% - 36px)) !important;
  min-height: 74px !important;
  padding: 10px 18px !important;
}

body.home-page .brand {
  gap: 12px !important;
  padding: 4px 0 !important;
}

body.home-page .brand-mark {
  width: 56px !important;
  height: 56px !important;
  border-radius: 16px !important;
  font-size: 18px !important;
  border: 2px solid rgba(61, 18, 40, .95) !important;
  box-shadow: 0 0 18px rgba(255, 210, 61, .35), 0 6px 0 rgba(0,0,0,.28) !important;
}

.brand-text {
  display: inline-flex;
  flex-direction: column;
  gap: 1px;
  line-height: .82;
}

.brand-text span {
  display: block;
  font-family: Unbounded, Manrope, sans-serif;
  font-size: 22px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.04em;
}

.brand-text span:first-child {
  color: #ffffff;
  text-shadow:
    -2px -2px 0 #31103d,
    2px -2px 0 #31103d,
    -2px 2px 0 #31103d,
    2px 2px 0 #31103d,
    0 0 18px rgba(208, 79, 255, .6);
}

.brand-text span:last-child {
  color: #ffb32c;
  text-shadow:
    -2px -2px 0 #31103d,
    2px -2px 0 #31103d,
    -2px 2px 0 #31103d,
    2px 2px 0 #31103d,
    0 0 14px rgba(255, 190, 35, .38);
}

.ref-home {
  padding-top: 106px !important;
}

.ref-wall {
  position: absolute;
  z-index: 5;
  left: -4px;
  top: 82px;
  bottom: 0;
  width: clamp(112px, 9.4vw, 148px);
  border-right: 3px solid rgba(255, 118, 255, .92);
  background:
    linear-gradient(180deg, rgba(30, 7, 57, .96), rgba(13, 4, 30, .96)),
    radial-gradient(circle at 24% 14%, rgba(255,255,255,.18), transparent 40%);
  box-shadow:
    20px 0 50px rgba(190, 70, 255, .18),
    inset -1px 0 0 rgba(255,255,255,.16),
    inset 0 0 42px rgba(163, 57, 255, .14),
    0 0 18px rgba(255, 112, 241, .28);
}

.ref-wall::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 10px;
  width: 108px;
  height: 108px;
  opacity: .68;
  background:
    linear-gradient(135deg, transparent 48%, rgba(215,140,255,.55) 49% 51%, transparent 52%),
    linear-gradient(90deg, transparent 15%, rgba(215,140,255,.4) 16% 17%, transparent 18%, transparent 38%, rgba(215,140,255,.4) 39% 40%, transparent 41%),
    linear-gradient(0deg, transparent 15%, rgba(215,140,255,.4) 16% 17%, transparent 18%, transparent 38%, rgba(215,140,255,.4) 39% 40%, transparent 41%),
    radial-gradient(circle at 0 0, transparent 48px, rgba(215,140,255,.42) 49px 50px, transparent 51px),
    radial-gradient(circle at 0 0, transparent 78px, rgba(215,140,255,.32) 79px 80px, transparent 81px);
  filter: drop-shadow(0 0 8px rgba(219, 123, 255, .4));
}

.ref-wall::after {
  content: "";
  position: absolute;
  right: -2px;
  top: 0;
  bottom: 0;
  width: 6px;
  background: linear-gradient(180deg, rgba(255, 149, 247, .26), rgba(255, 149, 247, .88), rgba(255, 149, 247, .26));
  box-shadow: 0 0 18px rgba(255, 149, 247, .65), 0 0 34px rgba(255, 149, 247, .28);
}

.ref-mascot {
  left: -18px !important;
  top: 126px !important;
  width: clamp(280px, 18.5vw, 338px) !important;
  max-height: calc(100svh - 150px) !important;
  object-fit: contain !important;
  object-position: left top !important;
  z-index: 6 !important;
}

.ref-main,
.ref-categories,
.ref-offers,
.ref-trust {
  width: min(1160px, calc(100% - 380px)) !important;
  margin-left: clamp(310px, 21vw, 390px) !important;
}

.ref-main {
  grid-template-columns: minmax(0, 650px) minmax(330px, 380px) !important;
  gap: clamp(24px, 2.7vw, 40px) !important;
}

.ref-title {
  font-size: clamp(58px, 4.7vw, 80px) !important;
}

.ref-subtitle {
  max-width: 590px !important;
  font-size: clamp(16px, 1.15vw, 21px) !important;
}

.ref-benefits {
  width: min(560px, 100%) !important;
}

.ref-benefits div {
  gap: 8px !important;
}

.ref-benefits span {
  font-size: 10.5px !important;
}

.ref-actions {
  gap: 16px !important;
}

.ref-btn {
  min-width: 220px !important;
}

.ref-promo {
  max-width: 372px !important;
  min-height: 318px !important;
  padding: 22px !important;
}

.ref-categories {
  gap: 12px !important;
}

.ref-cat {
  min-height: 116px !important;
  padding: 16px !important;
}

.ref-cat span {
  max-width: 95px !important;
  font-size: 11px !important;
}

.ref-offer-row {
  gap: 12px !important;
}

.ref-offer {
  min-height: 146px !important;
}

@media (max-width: 1320px) {
  .ref-wall {
    width: 116px;
  }

  .ref-mascot {
    left: -22px !important;
    width: clamp(250px, 18vw, 300px) !important;
  }

  .ref-main,
  .ref-categories,
  .ref-offers,
  .ref-trust {
    width: min(1040px, calc(100% - 318px)) !important;
    margin-left: clamp(260px, 20vw, 310px) !important;
  }
}

@media (max-width: 1080px) {
  .brand-text span {
    font-size: 18px;
  }

  .ref-wall {
    display: none !important;
  }

  .ref-mascot {
    margin-left: 0 !important;
  }
}

@media (max-width: 760px) {
  body.home-page .brand-mark {
    width: 46px !important;
    height: 46px !important;
  }

  .brand-text span {
    font-size: 16px;
  }
}


/* ============================================================
   V29 — fix Mega Gem Pack overlap with main title
   ============================================================ */
.ref-main {
  grid-template-columns: minmax(0, 610px) minmax(300px, 352px) !important;
  gap: clamp(42px, 4.2vw, 70px) !important;
  align-items: center !important;
}

.ref-hero-copy {
  max-width: 610px !important;
}

.ref-title {
  font-size: clamp(54px, 4.25vw, 74px) !important;
  max-width: 610px !important;
  white-space: nowrap !important;
  overflow: visible !important;
}

.ref-promo {
  max-width: 352px !important;
  min-height: 306px !important;
  padding: 20px !important;
  justify-self: end !important;
  transform: translateX(14px) !important;
}

.ref-promo h2 {
  font-size: clamp(25px, 2vw, 34px) !important;
  line-height: 1.02 !important;
  max-width: 280px !important;
}

.ref-promo-art {
  height: 128px !important;
}

.ref-promo-btn {
  min-height: 50px !important;
  font-size: 14px !important;
}

@media (max-width: 1320px) {
  .ref-main {
    grid-template-columns: minmax(0, 1fr) minmax(286px, 330px) !important;
    gap: 34px !important;
  }

  .ref-title {
    font-size: clamp(46px, 4vw, 66px) !important;
    max-width: 560px !important;
  }

  .ref-promo {
    max-width: 330px !important;
    transform: translateX(0) !important;
  }

  .ref-promo h2 {
    font-size: 28px !important;
  }
}

@media (max-width: 1080px) {
  .ref-main {
    grid-template-columns: 1fr !important;
  }

  .ref-title {
    white-space: normal !important;
    max-width: 100% !important;
  }

  .ref-promo {
    max-width: 560px !important;
    justify-self: center !important;
  }
}


/* ============================================================
   V30 — unified catalog for all item types like the reference
   ============================================================ */
body.brawl-store-page {
  background:
    radial-gradient(900px 520px at 7% 34%, rgba(147, 44, 255, .28), transparent 58%),
    radial-gradient(880px 620px at 80% 18%, rgba(35, 189, 255, .12), transparent 56%),
    linear-gradient(180deg, #050a1d 0%, #080d24 38%, #120b38 100%) !important;
  color: #fff !important;
  overflow-x: hidden !important;
}

body.brawl-store-page::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: .42;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,.09) 1px, transparent 0),
    linear-gradient(120deg, transparent 0 37%, rgba(144, 70, 255, .10) 38% 39%, transparent 40% 100%);
  background-size: 72px 72px, 420px 260px;
}

body.brawl-store-page main {
  width: 100% !important;
  max-width: none !important;
  padding: 96px 24px 54px !important;
}

.catalog-mascot-stage {
  position: fixed;
  z-index: 2;
  left: -22px;
  top: 190px;
  width: clamp(230px, 19vw, 330px);
  pointer-events: none;
}

.catalog-mascot-glow {
  position: absolute;
  inset: 4% 0 0 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(185, 65, 255, .30), transparent 64%);
  filter: blur(10px);
}

.catalog-mascot {
  position: relative;
  display: block;
  width: 100%;
  filter: drop-shadow(0 0 18px rgba(206, 76, 255, .62)) drop-shadow(0 18px 26px rgba(0,0,0,.44));
}

body.brawl-store-page .catalog-hero-panel,
body.brawl-store-page .product-toolbar,
body.brawl-store-page .product-grid.store-v2,
body.brawl-store-page .catalog-benefits {
  width: min(1240px, calc(100% - clamp(250px, 21vw, 360px))) !important;
  margin-left: max(250px, calc((100vw - 1240px) / 2 + 0px)) !important;
  margin-right: auto !important;
}

body.brawl-store-page .catalog-hero-panel {
  position: relative !important;
  min-height: 190px !important;
  overflow: hidden !important;
  padding: 26px 32px !important;
  border-radius: 24px !important;
  border: 1px solid rgba(151, 79, 255, .46) !important;
  background:
    linear-gradient(90deg, rgba(6, 8, 26, .92), rgba(14, 10, 42, .70) 45%, rgba(9, 8, 27, .28)),
    var(--page-image) center right / cover no-repeat !important;
  box-shadow: 0 18px 40px rgba(0,0,0,.36), inset 0 1px 0 rgba(255,255,255,.10), 0 0 24px rgba(126, 54, 255, .22) !important;
}

body.brawl-store-page .catalog-hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 8, 26, .96) 0 34%, rgba(7, 8, 24, .40) 62%, rgba(8, 9, 26, .10));
  pointer-events: none;
}

body.brawl-store-page .catalog-hero-panel > * {
  position: relative;
  z-index: 1;
}

body.brawl-store-page .catalog-hero-panel .text-button {
  min-height: 36px !important;
  margin: 0 8px 18px 0 !important;
  border-radius: 999px !important;
  border: 1px solid rgba(255,255,255,.14) !important;
  background: rgba(15, 12, 44, .72) !important;
  color: #fff !important;
  box-shadow: none !important;
}

body.brawl-store-page .catalog-hero-panel .eyebrow {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 36px !important;
  padding: 0 16px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(255,255,255,.14) !important;
  background: rgba(76, 37, 135, .62) !important;
  color: #ddd3ff !important;
  font-size: 13px !important;
  margin: 0 0 16px !important;
  text-transform: uppercase !important;
}

body.brawl-store-page .catalog-hero-panel h1 {
  margin: 0 0 10px !important;
  font-family: Unbounded, Manrope, sans-serif !important;
  font-size: clamp(34px, 4vw, 52px) !important;
  line-height: 1 !important;
  color: #fff !important;
  text-shadow: 0 4px 0 rgba(0,0,0,.35), 0 0 18px rgba(255,255,255,.12) !important;
}

body.brawl-store-page .catalog-hero-panel p:not(.eyebrow) {
  max-width: 540px !important;
  margin: 0 !important;
  color: rgba(238, 242, 255, .86) !important;
  font-size: 16px !important;
  line-height: 1.45 !important;
}

body.brawl-store-page .product-toolbar {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 18px !important;
  margin-top: 26px !important;
  padding: 18px !important;
  border-radius: 22px !important;
  border: 1px solid rgba(151, 79, 255, .36) !important;
  background: rgba(13, 12, 43, .86) !important;
  box-shadow: 0 18px 38px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.08) !important;
  backdrop-filter: blur(14px) !important;
}

body.brawl-store-page .segmented {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.brawl-store-page .segmented button {
  min-height: 44px !important;
  padding: 0 18px !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  border-radius: 16px !important;
  background: rgba(255,255,255,.055) !important;
  color: rgba(255,255,255,.88) !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 9px !important;
}

body.brawl-store-page .segmented button.active {
  color: #16080a !important;
  background: linear-gradient(180deg, #ffe765, #ffbe29) !important;
  border-color: rgba(255,255,255,.40) !important;
  box-shadow: 0 0 18px rgba(255,211,61,.40), 0 5px 0 rgba(85, 34, 0, .42) !important;
}

body.brawl-store-page .product-toolbar .ghost-button {
  min-height: 44px !important;
  border-radius: 16px !important;
  border: 1px solid rgba(255,255,255,.14) !important;
  background: rgba(255,255,255,.05) !important;
  color: #fff !important;
  box-shadow: none !important;
}

body.brawl-store-page .product-grid.store-v2 {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 20px !important;
  margin-top: 24px !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.brawl-store-page .product-grid.store-v2::before {
  display: none !important;
}

body.brawl-store-page .product-grid.store-v2.product-grid--single,
body.brawl-store-page .product-grid.store-v2.product-grid--few {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  justify-content: start !important;
}

body.brawl-store-page .v2-card {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  min-height: 360px !important;
  max-width: none !important;
  overflow: hidden !important;
  border-radius: 22px !important;
  border: 1px solid rgba(164, 87, 255, .50) !important;
  background: linear-gradient(180deg, rgba(22, 20, 63, .98), rgba(11, 13, 35, .98)) !important;
  box-shadow: 0 16px 34px rgba(0,0,0,.32), inset 0 1px 0 rgba(255,255,255,.08), 0 0 18px rgba(128, 53, 255, .16) !important;
  transform: none !important;
}

body.brawl-store-page .v2-card:hover {
  transform: translateY(-5px) !important;
  border-color: rgba(255,211,61,.46) !important;
  box-shadow: 0 22px 42px rgba(0,0,0,.36), 0 0 26px rgba(163, 83, 255, .24) !important;
}

body.brawl-store-page .v2-art {
  position: relative !important;
  flex: 0 0 185px !important;
  min-height: 185px !important;
  height: 185px !important;
  aspect-ratio: auto !important;
  padding: 0 !important;
  overflow: hidden !important;
  border-bottom: 1px solid rgba(255,255,255,.07) !important;
  background:
    radial-gradient(circle at 50% 15%, rgba(255,255,255,.22), transparent 34%),
    linear-gradient(180deg, #49e746 0%, #15b55f 54%, rgba(13, 16, 43, .88) 100%) !important;
}

body.brawl-store-page .v2-card:not(.v2-card--gems) .v2-art {
  background:
    radial-gradient(circle at 50% 18%, rgba(255,255,255,.18), transparent 34%),
    linear-gradient(145deg, #6b25ff, #16134d 52%, #070b27) !important;
}

body.brawl-store-page .v2-card--pass .v2-art,
body.brawl-store-page .v2-card--pass-plus .v2-art,
body.brawl-store-page .v2-card--pro .v2-art {
  background:
    radial-gradient(circle at 50% 18%, rgba(255,232,90,.34), transparent 38%),
    linear-gradient(145deg, #2b1bd1, #8d2cff 48%, #10062e) !important;
}

body.brawl-store-page .v2-card--special .v2-art,
body.brawl-store-page .v2-card--bolt .v2-art,
body.brawl-store-page .v2-card--bolt-plus .v2-art,
body.brawl-store-page .v2-card--bolt-max .v2-art {
  background:
    radial-gradient(circle at 50% 18%, rgba(255,232,90,.26), transparent 38%),
    linear-gradient(145deg, #168c55, #161a56 56%, #080b27) !important;
}

body.brawl-store-page .v2-card--graffiti .v2-art {
  background:
    radial-gradient(circle at 50% 18%, rgba(255,119,241,.26), transparent 38%),
    linear-gradient(145deg, #8d2cff, #17145a 56%, #090a28) !important;
}

body.brawl-store-page .v2-art-inner {
  width: 100% !important;
  height: 100% !important;
  display: grid !important;
  place-items: center !important;
  transform: none !important;
  animation: none !important;
}

body.brawl-store-page .v2-art .product-main-art,
body.brawl-store-page .v2-art .gem-icon-img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: center center !important;
  padding: 8% !important;
  transform: none !important;
  animation: none !important;
  filter: drop-shadow(0 10px 14px rgba(0,0,0,.32)) !important;
}

body.brawl-store-page .v2-card[data-product-id^="bs-skin-"] .v2-art .product-main-art,
body.brawl-store-page .v2-card[data-product-id^="bs-graffiti-"] .v2-art .product-main-art {
  padding: 0 !important;
  object-fit: cover !important;
  filter: none !important;
}

body.brawl-store-page .v2-card[data-product-id="bs-skin-super-striker-lou"] .v2-art .product-main-art,
body.brawl-store-page .v2-card[data-product-id="bs-skin-refereeple"] .v2-art .product-main-art,
body.brawl-store-page .v2-card[data-product-id="bs-skin-scorekeeper-surge"] .v2-art .product-main-art {
  object-fit: cover !important;
}

body.brawl-store-page .v2-combo {
  width: 100% !important;
  height: 100% !important;
  position: relative !important;
  transform: none !important;
  animation: none !important;
}

body.brawl-store-page .v2-combo-art {
  position: absolute !important;
  object-fit: contain !important;
  filter: drop-shadow(0 9px 12px rgba(0,0,0,.34)) !important;
}

body.brawl-store-page .v2-combo .combo-1 { width: 50% !important; left: 8% !important; bottom: 12% !important; }
body.brawl-store-page .v2-combo .combo-2 { width: 38% !important; right: 12% !important; top: 12% !important; }
body.brawl-store-page .v2-combo .combo-3 { width: 42% !important; right: 10% !important; bottom: 10% !important; }

body.brawl-store-page .v2-discount {
  position: absolute !important;
  left: 16px !important;
  top: 16px !important;
  z-index: 3 !important;
  padding: 7px 12px !important;
  border-radius: 999px !important;
  background: linear-gradient(180deg, #ffed6d, #ffbb26) !important;
  color: #12070b !important;
  font-size: 13px !important;
  font-weight: 950 !important;
  text-shadow: none !important;
}

body.brawl-store-page .v2-amount {
  position: absolute !important;
  right: 18px !important;
  top: 16px !important;
  z-index: 3 !important;
  font-family: Unbounded, Manrope, sans-serif !important;
  font-size: 28px !important;
  font-weight: 950 !important;
  color: #fff !important;
  text-shadow: 0 3px 0 rgba(0,0,0,.38), 0 0 12px rgba(255,255,255,.20) !important;
}

body.brawl-store-page .v2-ribbon {
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  left: auto !important;
  z-index: 4 !important;
  border-radius: 0 0 0 14px !important;
  padding: 8px 14px !important;
  background: linear-gradient(180deg, #9c3dff, #5c1bc9) !important;
  color: #fff !important;
  font-size: 11px !important;
  font-weight: 950 !important;
  letter-spacing: .02em !important;
}

body.brawl-store-page .v2-body {
  flex: 1 1 auto !important;
  min-height: 96px !important;
  padding: 18px 20px 6px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 10px !important;
  background: linear-gradient(180deg, rgba(10, 13, 38, .24), rgba(8, 10, 31, .70)) !important;
}

body.brawl-store-page .v2-title {
  margin: 0 !important;
  min-height: 0 !important;
  display: block !important;
  font-family: Manrope, Inter, system-ui, sans-serif !important;
  font-size: 18px !important;
  font-weight: 950 !important;
  line-height: 1.18 !important;
  color: #fff !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}

body.brawl-store-page .v2-bonus {
  display: inline-flex !important;
  align-items: center !important;
  max-width: 100% !important;
  min-height: 28px !important;
  padding: 5px 10px !important;
  border-radius: 999px !important;
  background: linear-gradient(180deg, #ffeb63, #ffc025) !important;
  color: #10060b !important;
  font-size: 12px !important;
  font-weight: 950 !important;
  line-height: 1.2 !important;
  text-shadow: none !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
}

body.brawl-store-page .v2-pricebar {
  margin-top: auto !important;
  padding: 0 20px 18px !important;
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 14px !important;
  border-top: 0 !important;
  background: transparent !important;
}

body.brawl-store-page .v2-price {
  display: flex !important;
  align-items: baseline !important;
  gap: 9px !important;
  min-height: 34px !important;
  font-family: Unbounded, Manrope, sans-serif !important;
  font-size: 24px !important;
  font-weight: 950 !important;
  color: #fff !important;
}

body.brawl-store-page .v2-price small {
  color: rgba(255,255,255,.42) !important;
  font-family: Manrope, Inter, sans-serif !important;
  font-size: 12px !important;
  font-weight: 800 !important;
}

body.brawl-store-page .v2-actions {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 12px !important;
}

body.brawl-store-page .v2-cart-btn,
body.brawl-store-page .v2-buy {
  min-width: 0 !important;
  min-height: 44px !important;
  padding: 0 12px !important;
  border-radius: 12px !important;
  font-size: 13px !important;
  font-weight: 950 !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
}

body.brawl-store-page .v2-cart-btn {
  border: 1px solid rgba(255,255,255,.13) !important;
  background: rgba(255,255,255,.055) !important;
  color: #fff !important;
}

body.brawl-store-page .v2-buy {
  border: 1px solid rgba(255,255,255,.35) !important;
  background: linear-gradient(180deg, #ffe867, #ffc329) !important;
  color: #13070a !important;
  box-shadow: 0 5px 0 rgba(87, 37, 0, .45), 0 0 16px rgba(255,211,61,.28) !important;
}

.catalog-benefits {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 0 !important;
  margin-top: 34px !important;
  padding: 20px 26px !important;
  border-radius: 24px !important;
  border: 1px solid rgba(151, 79, 255, .42) !important;
  background: linear-gradient(180deg, rgba(54, 18, 116, .74), rgba(19, 14, 56, .86)) !important;
  box-shadow: 0 18px 38px rgba(0,0,0,.30), inset 0 1px 0 rgba(255,255,255,.08) !important;
}

.catalog-benefits article {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  padding: 0 24px !important;
  border-right: 1px solid rgba(255,255,255,.14) !important;
}

.catalog-benefits article:last-child {
  border-right: none !important;
}

.catalog-benefits span {
  display: grid !important;
  width: 56px !important;
  height: 56px !important;
  place-items: center !important;
  border-radius: 50% !important;
  background: radial-gradient(circle at 40% 25%, rgba(255,255,255,.24), transparent 46%), linear-gradient(180deg, #7f37ff, #321078) !important;
  box-shadow: 0 0 18px rgba(130, 62, 255, .40) !important;
  font-size: 24px !important;
}

.catalog-benefits strong {
  display: block !important;
  color: #fff !important;
  font-size: 17px !important;
  font-weight: 950 !important;
}

.catalog-benefits small {
  display: block !important;
  margin-top: 3px !important;
  color: rgba(235, 239, 255, .70) !important;
  font-size: 13px !important;
}

@media (max-width: 1180px) {
  .catalog-mascot-stage {
    display: none !important;
  }
  body.brawl-store-page .catalog-hero-panel,
  body.brawl-store-page .product-toolbar,
  body.brawl-store-page .product-grid.store-v2,
  body.brawl-store-page .catalog-benefits {
    width: min(1120px, calc(100% - 28px)) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  body.brawl-store-page .product-grid.store-v2 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 760px) {
  body.brawl-store-page main {
    padding: 86px 12px 34px !important;
  }
  body.brawl-store-page .catalog-hero-panel {
    min-height: 170px !important;
    padding: 22px !important;
  }
  body.brawl-store-page .product-toolbar {
    align-items: stretch !important;
    flex-direction: column !important;
  }
  body.brawl-store-page .segmented {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
  }
  body.brawl-store-page .segmented button {
    justify-content: center !important;
    padding: 0 12px !important;
  }
  body.brawl-store-page .product-grid.store-v2,
  body.brawl-store-page .product-grid.store-v2.product-grid--single,
  body.brawl-store-page .product-grid.store-v2.product-grid--few {
    grid-template-columns: 1fr !important;
  }
  body.brawl-store-page .v2-card {
    min-height: 340px !important;
  }
  body.brawl-store-page .v2-art {
    height: 172px !important;
    min-height: 172px !important;
    flex-basis: 172px !important;
  }
  .catalog-benefits {
    grid-template-columns: 1fr !important;
    padding: 18px !important;
  }
  .catalog-benefits article {
    padding: 16px 0 !important;
    border-right: 0 !important;
    border-bottom: 1px solid rgba(255,255,255,.12) !important;
  }
  .catalog-benefits article:last-child {
    border-bottom: 0 !important;
  }
}


/* ============================================================
   V31 — final layout QA: hero spacing + cleaner catalog cards
   ============================================================ */
/* Home hero: move Charlie title toward visual center and promo safely right */
.ref-main {
  grid-template-columns: minmax(0, 640px) minmax(300px, 345px) !important;
  gap: clamp(54px, 5.2vw, 86px) !important;
}

.ref-hero-copy {
  position: relative !important;
  left: clamp(14px, 1.4vw, 26px) !important;
  max-width: 640px !important;
}

.ref-title {
  font-size: clamp(54px, 4.1vw, 72px) !important;
  max-width: 640px !important;
  white-space: nowrap !important;
  letter-spacing: -0.058em !important;
}

.ref-subtitle {
  max-width: 610px !important;
}

.ref-promo {
  max-width: 345px !important;
  min-height: 304px !important;
  padding: 20px !important;
  justify-self: end !important;
  transform: translateX(clamp(24px, 2.7vw, 52px)) !important;
}

.ref-promo h2 {
  font-size: clamp(25px, 1.95vw, 33px) !important;
  max-width: 270px !important;
  line-height: 1.02 !important;
}

.ref-promo-art {
  height: 126px !important;
}

.ref-promo-btn {
  min-height: 50px !important;
  font-size: 14px !important;
}

@media (max-width: 1380px) {
  .ref-main {
    grid-template-columns: minmax(0, 590px) minmax(292px, 330px) !important;
    gap: 42px !important;
  }

  .ref-title {
    font-size: clamp(46px, 4vw, 64px) !important;
    max-width: 590px !important;
  }

  .ref-promo {
    max-width: 330px !important;
    transform: translateX(12px) !important;
  }

  .ref-hero-copy {
    left: 10px !important;
  }
}

@media (max-width: 1080px) {
  .ref-hero-copy {
    left: 0 !important;
  }
  .ref-title {
    white-space: normal !important;
    max-width: 100% !important;
  }
  .ref-promo {
    transform: none !important;
  }
}

/* Catalog: stable page width and no compressed/uneven cards */
body.brawl-store-page .catalog-hero-panel,
body.brawl-store-page .product-toolbar,
body.brawl-store-page .product-grid.store-v2,
body.brawl-store-page .catalog-benefits {
  width: min(1160px, calc(100% - clamp(290px, 22vw, 405px))) !important;
  margin-left: max(280px, calc((100vw - 1160px) / 2 + 10px)) !important;
  margin-right: auto !important;
}

body.brawl-store-page .product-toolbar {
  gap: 16px !important;
  padding: 16px !important;
  overflow: visible !important;
}

body.brawl-store-page .segmented {
  flex: 1 1 auto !important;
  min-width: 0 !important;
}

body.brawl-store-page .segmented button {
  min-width: 0 !important;
  white-space: nowrap !important;
}

body.brawl-store-page .product-grid.store-v2,
body.brawl-store-page .product-grid.store-v2.product-grid--single,
body.brawl-store-page .product-grid.store-v2.product-grid--few {
  grid-template-columns: repeat(3, minmax(250px, 1fr)) !important;
  gap: 22px !important;
  align-items: stretch !important;
}

body.brawl-store-page .v2-card {
  min-height: 374px !important;
  height: 100% !important;
  border-radius: 22px !important;
}

body.brawl-store-page .v2-art {
  flex: 0 0 182px !important;
  height: 182px !important;
  min-height: 182px !important;
}

body.brawl-store-page .v2-art-inner {
  overflow: hidden !important;
}

body.brawl-store-page .v2-art .product-main-art,
body.brawl-store-page .v2-art .gem-icon-img {
  box-sizing: border-box !important;
  max-width: 100% !important;
  max-height: 100% !important;
}

body.brawl-store-page .v2-body {
  min-height: 106px !important;
  padding: 17px 18px 6px !important;
  gap: 9px !important;
}

body.brawl-store-page .v2-title {
  min-height: 42px !important;
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
  overflow: hidden !important;
}

body.brawl-store-page .v2-bonus {
  min-height: 28px !important;
  max-width: 100% !important;
  color: #10060b !important;
  background: linear-gradient(180deg, #ffef69, #ffc42b) !important;
  text-shadow: none !important;
  text-align: center !important;
}

body.brawl-store-page .v2-pricebar {
  padding: 0 18px 18px !important;
  gap: 12px !important;
}

body.brawl-store-page .v2-price {
  min-height: 32px !important;
  font-size: 22px !important;
  white-space: nowrap !important;
}

body.brawl-store-page .v2-price small {
  font-size: 11px !important;
  white-space: nowrap !important;
}

body.brawl-store-page .v2-actions {
  gap: 10px !important;
}

body.brawl-store-page .v2-cart-btn,
body.brawl-store-page .v2-buy {
  min-height: 42px !important;
  padding: 0 10px !important;
  font-size: 12px !important;
  line-height: 1 !important;
}

/* More reliable treatment for special long art/text items */
body.brawl-store-page .v2-card[data-product-id="bs-welcome-pack"] .v2-bonus {
  font-size: 11px !important;
  line-height: 1.18 !important;
  padding-inline: 9px !important;
}

body.brawl-store-page .v2-card[data-product-id^="bs-graffiti-"] .v2-art .product-main-art {
  object-fit: contain !important;
  padding: 8% !important;
}

body.brawl-store-page .v2-card[data-product-id^="bs-skin-"] .v2-art .product-main-art {
  object-fit: cover !important;
}

/* Keep generated skin card images and stretched specials stable */
body.brawl-store-page .v2-card[data-product-id="bs-skin-super-striker-lou"] .v2-art,
body.brawl-store-page .v2-card[data-product-id="bs-skin-refereeple"] .v2-art,
body.brawl-store-page .v2-card[data-product-id="bs-skin-scorekeeper-surge"] .v2-art {
  padding: 0 !important;
}

body.brawl-store-page .v2-card[data-product-id="bs-skin-super-striker-lou"] .v2-art .product-main-art,
body.brawl-store-page .v2-card[data-product-id="bs-skin-refereeple"] .v2-art .product-main-art,
body.brawl-store-page .v2-card[data-product-id="bs-skin-scorekeeper-surge"] .v2-art .product-main-art {
  object-fit: cover !important;
  padding: 0 !important;
}

.catalog-benefits {
  margin-top: 32px !important;
}

@media (max-width: 1180px) {
  body.brawl-store-page .catalog-hero-panel,
  body.brawl-store-page .product-toolbar,
  body.brawl-store-page .product-grid.store-v2,
  body.brawl-store-page .catalog-benefits {
    width: min(1120px, calc(100% - 28px)) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  body.brawl-store-page .product-grid.store-v2,
  body.brawl-store-page .product-grid.store-v2.product-grid--single,
  body.brawl-store-page .product-grid.store-v2.product-grid--few {
    grid-template-columns: repeat(2, minmax(250px, 1fr)) !important;
  }
}

@media (max-width: 760px) {
  body.brawl-store-page .product-grid.store-v2,
  body.brawl-store-page .product-grid.store-v2.product-grid--single,
  body.brawl-store-page .product-grid.store-v2.product-grid--few {
    grid-template-columns: 1fr !important;
  }
  body.brawl-store-page .v2-card {
    min-height: 354px !important;
  }
  body.brawl-store-page .v2-art {
    flex-basis: 174px !important;
    height: 174px !important;
    min-height: 174px !important;
  }
}


/* ============================================================
   V32 — cleaner category bar, aligned gem/pass cards, CTA text
   ============================================================ */

/* Header CTA */
.header-login {
  min-width: 176px !important;
  justify-content: center !important;
  white-space: nowrap !important;
  font-size: 14px !important;
  letter-spacing: .01em !important;
}

/* Cleaner top navigation active pill */
body.brawl-store-page .top-nav a,
body.home-page .top-nav a {
  min-height: 42px !important;
  padding: 0 18px !important;
  border-radius: 16px !important;
  border: 1px solid transparent !important;
}

body.brawl-store-page .top-nav a.active,
body.home-page .top-nav a.active {
  background: linear-gradient(180deg, rgba(255,231,101,.92), rgba(255,190,41,.95)) !important;
  color: #1b0d04 !important;
  border-color: rgba(255,255,255,.22) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.40), 0 8px 18px rgba(255,190,41,.18) !important;
}

/* Softer category toolbar */
body.brawl-store-page .product-toolbar {
  gap: 16px !important;
  padding: 14px 16px !important;
  border-radius: 18px !important;
  border: 1px solid rgba(123, 81, 214, .34) !important;
  background: linear-gradient(180deg, rgba(18,15,54,.92), rgba(14,11,44,.9)) !important;
  box-shadow: 0 14px 28px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.04) !important;
}

body.brawl-store-page .segmented {
  gap: 12px !important;
  align-items: center !important;
}

body.brawl-store-page .segmented button {
  min-height: 46px !important;
  padding: 0 16px !important;
  border-radius: 15px !important;
  border: 1px solid rgba(255,255,255,.10) !important;
  background: rgba(255,255,255,.04) !important;
  color: rgba(245,247,255,.92) !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  text-transform: none !important;
  line-height: 1 !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04) !important;
}

body.brawl-store-page .segmented button:hover {
  border-color: rgba(173,128,255,.42) !important;
  background: rgba(255,255,255,.065) !important;
}

body.brawl-store-page .segmented button.active {
  color: #16080a !important;
  background: linear-gradient(180deg, #ffe765, #ffbe29) !important;
  border-color: rgba(255,233,142,.50) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 8px 16px rgba(255,190,41,.18) !important;
}

body.brawl-store-page .product-toolbar .ghost-button {
  min-width: 168px !important;
  min-height: 46px !important;
  border-radius: 15px !important;
  border: 1px solid rgba(255,255,255,.10) !important;
  background: rgba(255,255,255,.05) !important;
  font-size: 14px !important;
  font-weight: 800 !important;
}

/* Product cards: cleaner and aligned */
body.brawl-store-page .product-grid.store-v2,
body.brawl-store-page .product-grid.store-v2.product-grid--single,
body.brawl-store-page .product-grid.store-v2.product-grid--few {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 22px !important;
}

body.brawl-store-page .v2-card {
  min-height: 386px !important;
  border-radius: 22px !important;
}

body.brawl-store-page .v2-art {
  flex: 0 0 176px !important;
  height: 176px !important;
  min-height: 176px !important;
  padding: 12px !important;
}

body.brawl-store-page .v2-card--gems .v2-art .product-main-art,
body.brawl-store-page .v2-card--pass .v2-art .product-main-art,
body.brawl-store-page .v2-card--pass-plus .v2-art .product-main-art,
body.brawl-store-page .v2-card--pro .v2-art .product-main-art {
  object-fit: contain !important;
  object-position: center center !important;
  padding: 4% !important;
}

body.brawl-store-page .v2-card--gems .v2-art .gem-tier-0 { transform: scale(0.74) !important; }
body.brawl-store-page .v2-card--gems .v2-art .gem-tier-1 { transform: scale(0.82) !important; }
body.brawl-store-page .v2-card--gems .v2-art .gem-tier-2 { transform: scale(0.89) !important; }
body.brawl-store-page .v2-card--gems .v2-art .gem-tier-3 { transform: scale(0.95) !important; }
body.brawl-store-page .v2-card--gems .v2-art .gem-tier-4 { transform: scale(1.00) !important; }
body.brawl-store-page .v2-card--gems .v2-art .gem-tier-5 { transform: scale(1.03) !important; }

body.brawl-store-page .v2-card--pass .v2-art .product-main-art,
body.brawl-store-page .v2-card--pass-plus .v2-art .product-main-art,
body.brawl-store-page .v2-card--pro .v2-art .product-main-art {
  transform: scale(0.96) !important;
}

body.brawl-store-page .v2-amount {
  top: 11px !important;
  right: 12px !important;
  font-size: 23px !important;
}

body.brawl-store-page .v2-discount {
  top: 12px !important;
  left: 12px !important;
}

body.brawl-store-page .v2-ribbon {
  right: 0 !important;
  left: auto !important;
  bottom: auto !important;
  top: 0 !important;
  width: 72px !important;
  height: 100% !important;
  max-height: 78px !important;
  padding: 10px 8px !important;
  border-bottom-left-radius: 18px !important;
  text-align: center !important;
  font-size: 11px !important;
  line-height: 1.05 !important;
  letter-spacing: .03em !important;
  writing-mode: horizontal-tb !important;
}

body.brawl-store-page .v2-body {
  min-height: 92px !important;
  padding: 15px 16px 8px !important;
  gap: 8px !important;
}

body.brawl-store-page .v2-title {
  min-height: 0 !important;
  font-size: 16px !important;
  line-height: 1.2 !important;
  -webkit-line-clamp: 2 !important;
}

body.brawl-store-page .v2-bonus {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  align-self: flex-start !important;
  min-height: 28px !important;
  padding: 0 12px !important;
  border-radius: 999px !important;
  font-size: 12px !important;
  font-weight: 900 !important;
}

body.brawl-store-page .v2-pricebar {
  padding: 0 16px 16px !important;
  gap: 10px !important;
  margin-top: auto !important;
}

body.brawl-store-page .v2-price {
  min-height: 30px !important;
  font-size: 18px !important;
  line-height: 1 !important;
}

body.brawl-store-page .v2-price small {
  font-size: 10px !important;
}

body.brawl-store-page .v2-actions {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0,1fr)) !important;
  gap: 8px !important;
  flex: 1 1 auto !important;
}

body.brawl-store-page .v2-cart-btn,
body.brawl-store-page .v2-buy {
  width: 100% !important;
  min-height: 40px !important;
  padding: 0 8px !important;
  border-radius: 12px !important;
  font-size: 11px !important;
  white-space: nowrap !important;
}

@media (max-width: 1180px) {
  body.brawl-store-page .product-grid.store-v2,
  body.brawl-store-page .product-grid.store-v2.product-grid--single,
  body.brawl-store-page .product-grid.store-v2.product-grid--few {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}


/* ============================================================
   V33 — straighter top labels/borders, cleaner gems, bigger item text
   ============================================================ */

/* Top navigation: perfectly centered text and cleaner outline */
body.brawl-store-page .top-nav,
body.home-page .top-nav {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

body.brawl-store-page .top-nav a,
body.home-page .top-nav a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 44px !important;
  padding: 0 20px !important;
  line-height: 1 !important;
  border-radius: 16px !important;
  box-sizing: border-box !important;
  letter-spacing: 0 !important;
}

body.brawl-store-page .top-nav a::after,
body.home-page .top-nav a::after {
  display: none !important;
  content: none !important;
}

body.brawl-store-page .top-nav a:hover,
body.home-page .top-nav a:hover {
  border-color: rgba(255,255,255,.14) !important;
  background: rgba(255,255,255,.05) !important;
  color: #fff !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06) !important;
}

body.brawl-store-page .top-nav a.active,
body.home-page .top-nav a.active {
  background: linear-gradient(180deg, #ffe972, #ffbf2f) !important;
  color: #180d04 !important;
  border: 1px solid rgba(255,240,176,.42) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.42), 0 6px 14px rgba(255,190,41,.16) !important;
}

/* Category toolbar outline and text alignment */
body.brawl-store-page .product-toolbar {
  border-radius: 20px !important;
  border: 1px solid rgba(132, 95, 220, .26) !important;
  box-shadow: 0 12px 24px rgba(0,0,0,.16), inset 0 1px 0 rgba(255,255,255,.03) !important;
}

body.brawl-store-page .segmented {
  gap: 10px !important;
}

body.brawl-store-page .segmented button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 44px !important;
  padding: 0 17px !important;
  line-height: 1 !important;
  border-radius: 14px !important;
  border: 1px solid rgba(255,255,255,.09) !important;
}

body.brawl-store-page .segmented button.active {
  border-color: rgba(255,233,142,.42) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 6px 12px rgba(255,190,41,.14) !important;
}

/* Cards: bigger typography */
body.brawl-store-page .v2-card {
  min-height: 392px !important;
}

body.brawl-store-page .v2-body {
  min-height: 98px !important;
  padding: 16px 18px 8px !important;
}

body.brawl-store-page .v2-title {
  font-size: 18px !important;
  line-height: 1.18 !important;
}

body.brawl-store-page .v2-bonus {
  min-height: 30px !important;
  padding: 0 13px !important;
  font-size: 13px !important;
}

body.brawl-store-page .v2-pricebar {
  padding: 0 18px 18px !important;
}

body.brawl-store-page .v2-price {
  font-size: 20px !important;
}

body.brawl-store-page .v2-price small {
  font-size: 11px !important;
}

body.brawl-store-page .v2-cart-btn,
body.brawl-store-page .v2-buy {
  min-height: 42px !important;
  font-size: 12px !important;
}

/* Gems: more centered and less visually crooked */
body.brawl-store-page .v2-card--gems .v2-art {
  padding: 10px 12px 8px !important;
}

body.brawl-store-page .v2-card--gems .v2-art .v2-art-inner {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: visible !important;
}

body.brawl-store-page .v2-card--gems .v2-art .product-main-art,
body.brawl-store-page .v2-card--gems .v2-art .gem-icon-img {
  object-fit: contain !important;
  object-position: center center !important;
  transform-origin: center center !important;
  margin: 0 auto !important;
}

body.brawl-store-page .v2-card--gems .v2-art .gem-tier-0 { transform: scale(0.70) translateY(2px) !important; }
body.brawl-store-page .v2-card--gems .v2-art .gem-tier-1 { transform: scale(0.80) translateY(2px) !important; }
body.brawl-store-page .v2-card--gems .v2-art .gem-tier-2 { transform: scale(0.88) translateY(1px) !important; }
body.brawl-store-page .v2-card--gems .v2-art .gem-tier-3 { transform: scale(0.95) translateY(1px) !important; }
body.brawl-store-page .v2-card--gems .v2-art .gem-tier-4 { transform: scale(1.00) translateY(0) !important; }
body.brawl-store-page .v2-card--gems .v2-art .gem-tier-5 { transform: scale(1.03) translateY(0) !important; }

/* Passes: a touch more balanced in the art frame */
body.brawl-store-page .v2-card--pass .v2-art .product-main-art,
body.brawl-store-page .v2-card--pass-plus .v2-art .product-main-art,
body.brawl-store-page .v2-card--pro .v2-art .product-main-art {
  transform: scale(0.92) translateY(2px) !important;
}

@media (max-width: 1180px) {
  body.brawl-store-page .v2-title { font-size: 17px !important; }
  body.brawl-store-page .v2-price { font-size: 18px !important; }
}


/* ============================================================
   V34 — checkout rewritten to the new Charlie reference
   ============================================================ */
body.checkout-page {
  overflow-x: hidden !important;
  background:
    radial-gradient(circle at 18% 24%, rgba(139, 42, 255, .28), transparent 30%),
    radial-gradient(circle at 84% 12%, rgba(47, 201, 255, .10), transparent 28%),
    linear-gradient(180deg, #050713 0%, #070a1a 46%, #050613 100%) !important;
}

body.checkout-page .site-footer { display: none !important; }

body.checkout-page main {
  width: 100% !important;
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.checkout-ref-page {
  position: relative;
  min-height: calc(100svh - 80px);
  padding: 118px 34px 34px 34px;
  color: #fff;
  isolation: isolate;
}

.checkout-ref-page::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(174, 116, 255, .14) 1px, transparent 0),
    linear-gradient(120deg, transparent 0 38%, rgba(174, 72, 255, .08) 39% 40%, transparent 41% 100%);
  background-size: 42px 42px, 100% 100%;
  opacity: .5;
}

.checkout-ref-mascot {
  position: fixed;
  left: -92px;
  top: 98px;
  bottom: 0;
  width: clamp(340px, 26vw, 520px);
  pointer-events: none;
  z-index: 0;
  filter: drop-shadow(0 0 24px rgba(188, 62, 255, .74)) drop-shadow(0 28px 34px rgba(0,0,0,.5));
}

.checkout-ref-mascot img {
  width: 100%;
  height: calc(100svh - 110px);
  object-fit: contain;
  object-position: left bottom;
}

.checkout-ref-web {
  position: absolute;
  left: 40px;
  top: 20px;
  width: 190px;
  height: 170px;
  opacity: .42;
  background:
    radial-gradient(circle at 0 0, transparent 72px, rgba(221, 142, 255, .48) 74px 76px, transparent 78px),
    radial-gradient(circle at 0 0, transparent 112px, rgba(221, 142, 255, .36) 114px 116px, transparent 118px),
    linear-gradient(35deg, transparent 48%, rgba(221, 142, 255, .42) 49% 51%, transparent 52%),
    linear-gradient(95deg, transparent 48%, rgba(221, 142, 255, .34) 49% 51%, transparent 52%);
}

.checkout-ref-shell {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(380px, .78fr);
  gap: 22px;
  width: min(1380px, calc(100% - clamp(300px, 25vw, 460px)));
  margin-left: clamp(285px, 25vw, 450px);
  margin-right: auto;
  align-items: start;
}

.checkout-ref-left {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.checkout-ref-hero,
.checkout-ref-popular,
.checkout-ref-form,
.checkout-ref-payments,
.checkout-ref-order {
  border: 1px solid rgba(143, 82, 255, .26) !important;
  border-radius: 24px !important;
  background:
    radial-gradient(circle at 82% 16%, rgba(128, 37, 255, .18), transparent 38%),
    linear-gradient(180deg, rgba(18, 18, 46, .90), rgba(8, 10, 29, .94)) !important;
  box-shadow:
    0 26px 60px rgba(0,0,0,.30),
    inset 0 1px 0 rgba(255,255,255,.06) !important;
  backdrop-filter: blur(18px) saturate(1.16) !important;
}

.checkout-ref-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 18px;
  min-height: 260px;
  padding: 30px 34px;
  align-items: center;
}

.checkout-ref-pill {
  display: inline-flex;
  align-items: center;
  width: max-content;
  min-height: 34px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.86);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 12px;
}

.checkout-ref-copy h1 {
  margin: 18px 0 14px;
  max-width: 720px;
  font-family: Unbounded, Manrope, sans-serif;
  font-size: clamp(44px, 4.2vw, 66px);
  line-height: .98;
  letter-spacing: -0.055em;
  color: #f8f8ff;
  text-shadow: 0 5px 0 rgba(0,0,0,.34), 0 0 34px rgba(171,85,255,.20);
}

.checkout-ref-copy h1 span { color: #ffd33d; }

.checkout-ref-copy p {
  max-width: 620px;
  color: rgba(235, 240, 255, .76);
  font-size: 16px;
  line-height: 1.58;
}

.checkout-ref-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.checkout-ref-chips span {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 12px;
  background: rgba(255,255,255,.035);
  color: rgba(255,255,255,.88);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.checkout-ref-chest {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 200px;
}

.checkout-ref-chest::before {
  content: "";
  position: absolute;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(185,60,255,.50), transparent 64%);
  filter: blur(10px);
}

.checkout-ref-chest img {
  position: relative;
  width: 180px;
  height: 160px;
  object-fit: contain;
  filter: drop-shadow(0 18px 24px rgba(0,0,0,.45));
}

.checkout-ref-chest span {
  position: absolute;
  right: 22px;
  bottom: 20px;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(180deg, #ffe35f, #ffb326);
  color: #180905;
  font-family: Unbounded, Manrope, sans-serif;
  font-size: 28px;
  font-weight: 900;
  box-shadow: 0 9px 0 rgba(99,42,0,.52), 0 0 22px rgba(255,211,61,.42);
}

.checkout-ref-popular {
  padding: 22px;
}

.checkout-ref-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.checkout-ref-section-head h2 {
  margin: 0;
  color: rgba(255,255,255,.92);
  font-family: Unbounded, Manrope, sans-serif;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: .02em;
}

.checkout-ref-section-head a,
.checkout-ref-section-head span {
  color: #c26bff;
  font-size: 13px;
  font-weight: 800;
}

.checkout-ref-products {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.checkout-ref-products a {
  display: grid;
  gap: 8px;
  min-height: 150px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.015));
  color: #fff;
}

.checkout-ref-products img {
  width: 100%;
  height: 72px;
  object-fit: contain;
  filter: drop-shadow(0 8px 10px rgba(0,0,0,.35));
}

.checkout-ref-products strong {
  font-size: 13px;
  text-transform: uppercase;
}

.checkout-ref-products span {
  color: #ffd33d;
  font-weight: 900;
}

.checkout-ref-form {
  padding: 22px !important;
}

.checkout-ref-form .form-grid {
  gap: 16px !important;
}

.checkout-ref-form .field-x input,
.checkout-ref-form .field-x select {
  min-height: 56px !important;
  border-radius: 15px !important;
  background: rgba(255,255,255,.045) !important;
}

.checkout-ref-form .product-picker-track {
  grid-auto-columns: minmax(220px, 250px) !important;
}

.checkout-ref-payments {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 16px 20px;
}

.checkout-ref-paylogos,
.checkout-ref-stats {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.checkout-ref-paylogos span {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 18px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 12px;
  background: rgba(255,255,255,.035);
  color: rgba(255,255,255,.86);
  font-weight: 900;
}

.checkout-ref-stats strong {
  min-width: 110px;
  color: #ffd33d;
  font-size: 18px;
  text-align: center;
}

.checkout-ref-stats small {
  display: block;
  margin-top: 2px;
  color: rgba(255,255,255,.62);
  font-size: 11px;
  font-weight: 700;
}

.checkout-ref-order {
  position: sticky !important;
  top: 96px !important;
  min-height: 720px !important;
  padding: 28px !important;
  border-radius: 26px !important;
}

.checkout-ref-order .payment-box-head {
  display: grid !important;
  grid-template-columns: 62px 1fr auto !important;
  gap: 16px !important;
  align-items: start !important;
}

.checkout-ref-order .payment-icon {
  width: 58px !important;
  height: 58px !important;
  border-radius: 16px !important;
  background: linear-gradient(180deg, #ffe45f, #ffb526) !important;
  color: #160905 !important;
  font-size: 30px !important;
  box-shadow: 0 9px 0 rgba(92,35,0,.42), 0 0 20px rgba(255,211,61,.34) !important;
}

.checkout-ref-order h2 {
  margin: 2px 0 8px !important;
  font-family: Unbounded, Manrope, sans-serif !important;
  font-size: clamp(34px, 3vw, 48px) !important;
  line-height: 1 !important;
  color: #f8f8ff !important;
}

.checkout-ref-order .eyebrow {
  display: inline-flex;
  width: max-content;
  min-height: 28px;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255,211,61,.12);
  color: #ffd33d !important;
  font-size: 11px !important;
}

.payment-status-pill {
  align-self: end !important;
  background: rgba(28, 216, 117, .14) !important;
  color: #4dff9e !important;
  border: 1px solid rgba(77,255,158,.24) !important;
}

.checkout-progress {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 26px 0 8px;
}

.checkout-progress span {
  height: 5px;
  border-radius: 999px;
  background: rgba(255,255,255,.10);
}

.checkout-progress span.is-active {
  background: linear-gradient(90deg, #ffe461, #ffba25);
  box-shadow: 0 0 16px rgba(255,211,61,.26);
}

.checkout-progress-labels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 24px;
  color: rgba(255,255,255,.50);
  font-size: 11px;
  font-weight: 800;
}

.checkout-progress-labels span:first-child { color: #ffd33d; }

.checkout-ref-order .payment-meta div {
  border-bottom: none !important;
  padding: 0 0 18px !important;
}

.checkout-ref-order .payment-meta dt {
  color: rgba(255,255,255,.55) !important;
  font-size: 11px !important;
  text-transform: uppercase;
}

.checkout-ref-order .payment-meta dd {
  color: #fff !important;
  font-size: 19px !important;
  font-weight: 900 !important;
}

.checkout-ref-order .checkout-summary-card {
  margin-top: 0 !important;
  padding: 16px 0 !important;
  border-top: 1px solid rgba(255,255,255,.08) !important;
  border-bottom: 1px solid rgba(255,255,255,.08) !important;
}

.checkout-ref-order .summary-product {
  font-size: 24px !important;
}

.checkout-ref-order .price-stack span:first-child {
  font-size: 30px !important;
  color: #ffd33d !important;
}

.checkout-ref-order .payment-steps {
  margin-top: 20px !important;
  gap: 12px !important;
}

.checkout-ref-order .payment-steps li {
  color: rgba(244,247,255,.78) !important;
}

.checkout-ref-order .payment-steps span {
  background: rgba(255,211,61,.18) !important;
  color: #ffd33d !important;
}

.checkout-safe-note {
  margin-top: 20px;
  min-height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  color: rgba(235,241,255,.72);
  font-size: 13px;
}

@media (max-width: 1280px) {
  .checkout-ref-mascot {
    opacity: .45;
    left: -160px;
  }
  .checkout-ref-shell {
    width: min(1180px, calc(100% - 36px));
    margin-inline: auto;
  }
}

@media (max-width: 1040px) {
  .checkout-ref-page { padding: 96px 16px 28px; }
  .checkout-ref-mascot { display: none; }
  .checkout-ref-shell { grid-template-columns: 1fr; width: 100%; }
  .checkout-ref-order { position: static !important; min-height: auto !important; }
  .checkout-ref-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .checkout-ref-hero { grid-template-columns: 1fr; }
  .checkout-ref-chest { display: none; }
}

@media (max-width: 640px) {
  .checkout-ref-copy h1 { font-size: 38px; }
  .checkout-ref-products { grid-template-columns: 1fr; }
  .checkout-ref-payments { grid-template-columns: 1fr; }
  .checkout-ref-order .payment-box-head { grid-template-columns: 1fr !important; }
}


/* ============================================================
   V35 — cart redesigned in the same premium checkout style
   ============================================================ */
body.cart-page .site-footer { display: none !important; }

body.cart-page .checkout-ref-page.cart-ref-page {
  padding-top: 112px !important;
}

body.cart-page .cart-ref-shell {
  align-items: start !important;
}

body.cart-page .cart-ref-hero {
  min-height: 248px !important;
}

body.cart-page .cart-ref-panel {
  padding: 22px !important;
}

body.cart-page .cart-items-ref {
  display: grid !important;
  gap: 14px !important;
}

body.cart-page .cart-item-ref {
  display: grid !important;
  grid-template-columns: 104px minmax(0, 1fr) auto auto !important;
  gap: 16px !important;
  align-items: center !important;
  min-height: 132px !important;
  padding: 16px !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  border-radius: 18px !important;
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.015)) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04) !important;
}

body.cart-page .cart-item-art-ref {
  width: 104px !important;
  height: 104px !important;
  display: grid !important;
  place-items: center !important;
  border-radius: 16px !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  background: rgba(12, 16, 42, .66) !important;
  overflow: hidden !important;
}

body.cart-page .cart-item-art-ref img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  filter: drop-shadow(0 8px 12px rgba(0,0,0,.32));
}

body.cart-page .cart-item-copy-ref {
  display: grid !important;
  gap: 6px !important;
  min-width: 0 !important;
}

body.cart-page .cart-item-copy-ref strong {
  color: #fff !important;
  font-size: 20px !important;
  line-height: 1.12 !important;
}

body.cart-page .cart-item-copy-ref span {
  color: rgba(236,240,255,.72) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
}

body.cart-page .cart-item-copy-ref small {
  color: #ffd33d !important;
  font-size: 12px !important;
  font-weight: 900 !important;
}

body.cart-page .cart-remove-inline {
  justify-self: start !important;
  margin-top: 2px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #ff7998 !important;
  font-size: 12px !important;
  font-weight: 900 !important;
}

body.cart-page .cart-item-controls-ref {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 6px 10px !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  border-radius: 14px !important;
  background: rgba(255,255,255,.035) !important;
}

body.cart-page .cart-item-controls-ref .qty-btn {
  width: 34px !important;
  height: 34px !important;
  border-radius: 10px !important;
}

body.cart-page .cart-item-controls-ref .qty-value {
  min-width: 22px !important;
  text-align: center !important;
  color: #fff !important;
  font-size: 16px !important;
  font-weight: 900 !important;
}

body.cart-page .cart-item-total-ref {
  display: grid !important;
  justify-items: end !important;
  gap: 6px !important;
  min-width: 120px !important;
}

body.cart-page .cart-item-total-ref span {
  color: rgba(236,240,255,.56) !important;
  font-size: 11px !important;
  text-transform: uppercase !important;
  font-weight: 800 !important;
}

body.cart-page .cart-item-total-ref strong {
  color: #fff !important;
  font-size: 24px !important;
  line-height: 1 !important;
}

body.cart-page .cart-ref-order {
  min-height: 720px !important;
}

body.cart-page .cart-summary-card {
  display: grid !important;
  gap: 10px !important;
}

body.cart-page .cart-summary-lines {
  display: grid !important;
  gap: 10px !important;
}

body.cart-page .cart-summary-line {
  display: grid !important;
  grid-template-columns: minmax(0,1fr) auto !important;
  gap: 12px !important;
  align-items: start !important;
}

body.cart-page .cart-summary-line span {
  color: rgba(236,240,255,.76) !important;
  font-size: 14px !important;
  line-height: 1.35 !important;
}

body.cart-page .cart-summary-line strong {
  color: #fff !important;
  font-size: 16px !important;
  white-space: nowrap !important;
}

body.cart-page .cart-summary-total-x {
  display: grid !important;
  gap: 8px !important;
  margin-top: 6px !important;
  padding-top: 14px !important;
  border-top: 1px solid rgba(255,255,255,.08) !important;
}

body.cart-page .cart-summary-total-x span {
  color: rgba(236,240,255,.6) !important;
  font-size: 12px !important;
  text-transform: uppercase !important;
  font-weight: 800 !important;
}

body.cart-page .cart-summary-total-x strong {
  color: #ffd33d !important;
  font-family: Unbounded, Manrope, sans-serif !important;
  font-size: 34px !important;
  line-height: 1 !important;
}

body.cart-page .cart-summary-note-x {
  color: rgba(236,240,255,.66) !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
}

body.cart-page .cart-actions-ref {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 12px !important;
  margin-top: 18px !important;
}

body.cart-page .cart-actions-ref .primary-action,
body.cart-page .cart-actions-ref .ghost-button {
  width: 100% !important;
  min-height: 54px !important;
  border-radius: 15px !important;
  justify-content: center !important;
  font-size: 15px !important;
  font-weight: 900 !important;
}

body.cart-page .cart-empty-ref {
  display: grid !important;
  gap: 10px !important;
  padding: 24px !important;
  border: 1px dashed rgba(255,255,255,.12) !important;
  border-radius: 18px !important;
  background: rgba(255,255,255,.02) !important;
}

body.cart-page .cart-empty-ref strong {
  font-size: 24px !important;
  color: #fff !important;
}

body.cart-page .cart-empty-ref p {
  color: rgba(236,240,255,.72) !important;
  line-height: 1.56 !important;
}

body.cart-page .cart-empty-ref .primary-action {
  width: max-content !important;
}

@media (max-width: 1180px) {
  body.cart-page .cart-item-ref {
    grid-template-columns: 96px minmax(0,1fr) auto !important;
  }

  body.cart-page .cart-item-total-ref {
    grid-column: 2 / -1 !important;
    justify-items: start !important;
    min-width: 0 !important;
  }
}

@media (max-width: 820px) {
  body.cart-page .cart-item-ref {
    grid-template-columns: 88px 1fr !important;
  }

  body.cart-page .cart-item-art-ref {
    width: 88px !important;
    height: 88px !important;
  }

  body.cart-page .cart-item-controls-ref,
  body.cart-page .cart-item-total-ref {
    grid-column: 2 !important;
    justify-self: start !important;
  }

  body.cart-page .cart-item-copy-ref strong {
    font-size: 18px !important;
  }
}

/* ============================================================
   V36 — final layout repair for checkout and cart reference pages
   ============================================================ */
body.checkout-page main,
body.cart-page main {
  overflow-x: hidden !important;
}

body.checkout-page .checkout-ref-page,
body.cart-page .checkout-ref-page {
  min-height: calc(100svh - 76px) !important;
  padding: 108px 34px 40px !important;
  box-sizing: border-box !important;
}

body.checkout-page .checkout-ref-mascot,
body.cart-page .checkout-ref-mascot {
  left: -70px !important;
  top: 118px !important;
  width: clamp(270px, 19vw, 350px) !important;
  max-height: calc(100svh - 126px) !important;
  opacity: .96 !important;
  z-index: 1 !important;
}

body.checkout-page .checkout-ref-mascot img,
body.cart-page .checkout-ref-mascot img {
  height: calc(100svh - 126px) !important;
  object-fit: contain !important;
  object-position: left bottom !important;
}

body.checkout-page .checkout-ref-shell,
body.cart-page .checkout-ref-shell {
  position: relative !important;
  z-index: 3 !important;
  display: grid !important;
  grid-template-columns: minmax(0, 720px) minmax(360px, 420px) !important;
  gap: 28px !important;
  width: min(1180px, calc(100vw - clamp(300px, 22vw, 390px) - 50px)) !important;
  margin-left: clamp(285px, 22vw, 390px) !important;
  margin-right: auto !important;
  align-items: start !important;
  box-sizing: border-box !important;
}

body.checkout-page .checkout-ref-left,
body.cart-page .checkout-ref-left {
  min-width: 0 !important;
  display: grid !important;
  gap: 18px !important;
}

body.checkout-page .checkout-ref-hero,
body.cart-page .checkout-ref-hero {
  grid-template-columns: minmax(0, 1fr) 170px !important;
  min-height: 0 !important;
  padding: 26px 28px !important;
  gap: 18px !important;
  align-items: center !important;
  overflow: hidden !important;
}

body.checkout-page .checkout-ref-copy,
body.cart-page .checkout-ref-copy {
  min-width: 0 !important;
}

body.checkout-page .checkout-ref-copy h1,
body.cart-page .checkout-ref-copy h1 {
  max-width: 100% !important;
  margin: 14px 0 12px !important;
  font-size: clamp(34px, 2.65vw, 48px) !important;
  line-height: 1.04 !important;
  letter-spacing: -0.045em !important;
  word-break: normal !important;
}

body.checkout-page .checkout-ref-copy p,
body.cart-page .checkout-ref-copy p {
  max-width: 560px !important;
  font-size: 15px !important;
  line-height: 1.52 !important;
}

body.checkout-page .checkout-ref-chips,
body.cart-page .checkout-ref-chips {
  margin-top: 16px !important;
}

body.checkout-page .checkout-ref-chips span,
body.cart-page .checkout-ref-chips span {
  min-height: 36px !important;
  font-size: 11px !important;
  padding-inline: 12px !important;
}

body.checkout-page .checkout-ref-chest,
body.cart-page .checkout-ref-chest {
  min-height: 150px !important;
}

body.checkout-page .checkout-ref-chest::before,
body.cart-page .checkout-ref-chest::before {
  width: 160px !important;
  height: 160px !important;
}

body.checkout-page .checkout-ref-chest img,
body.cart-page .checkout-ref-chest img {
  width: 142px !important;
  height: 128px !important;
}

body.checkout-page .checkout-ref-chest span,
body.cart-page .checkout-ref-chest span {
  right: 18px !important;
  bottom: 8px !important;
  width: 52px !important;
  height: 52px !important;
  font-size: 22px !important;
}

body.checkout-page .checkout-ref-order,
body.cart-page .checkout-ref-order {
  position: sticky !important;
  top: 92px !important;
  width: 100% !important;
  min-height: 0 !important;
  max-height: none !important;
  padding: 24px !important;
  border-radius: 24px !important;
  box-sizing: border-box !important;
  overflow: visible !important;
}

body.checkout-page .checkout-ref-order .payment-box-head,
body.cart-page .checkout-ref-order .payment-box-head {
  display: grid !important;
  grid-template-columns: 56px minmax(0, 1fr) !important;
  gap: 14px !important;
  align-items: center !important;
  min-height: 0 !important;
}

body.checkout-page .checkout-ref-order .payment-icon,
body.cart-page .checkout-ref-order .payment-icon {
  width: 54px !important;
  height: 54px !important;
  border-radius: 15px !important;
  font-size: 28px !important;
  align-self: start !important;
}

body.checkout-page .checkout-ref-order .payment-status-pill,
body.cart-page .checkout-ref-order .payment-status-pill {
  grid-column: 2 !important;
  justify-self: start !important;
  align-self: start !important;
  margin-top: 4px !important;
}

body.checkout-page .checkout-ref-order h2,
body.cart-page .checkout-ref-order h2 {
  margin: 4px 0 8px !important;
  font-size: clamp(30px, 2.4vw, 40px) !important;
  line-height: 1.02 !important;
  letter-spacing: -0.04em !important;
}

body.checkout-page .checkout-ref-order .payment-subtitle,
body.cart-page .checkout-ref-order .payment-subtitle {
  max-width: 285px !important;
  font-size: 13px !important;
  line-height: 1.45 !important;
}

body.checkout-page .checkout-progress,
body.cart-page .checkout-progress {
  margin: 20px 0 8px !important;
}

body.checkout-page .checkout-progress-labels,
body.cart-page .checkout-progress-labels {
  margin-bottom: 18px !important;
  font-size: 10px !important;
}

body.checkout-page .checkout-ref-order .payment-meta,
body.cart-page .checkout-ref-order .payment-meta {
  margin: 0 !important;
}

body.checkout-page .checkout-ref-order .payment-meta div,
body.cart-page .checkout-ref-order .payment-meta div {
  padding-bottom: 12px !important;
}

body.checkout-page .checkout-ref-order .payment-meta dd,
body.cart-page .checkout-ref-order .payment-meta dd {
  font-size: 17px !important;
}

body.checkout-page .checkout-ref-order .checkout-summary-card,
body.cart-page .checkout-ref-order .checkout-summary-card {
  padding: 14px 0 !important;
}

body.checkout-page .checkout-ref-order .summary-product,
body.cart-page .checkout-ref-order .summary-product {
  font-size: 20px !important;
  line-height: 1.18 !important;
}

body.checkout-page .checkout-ref-order .price-stack span:first-child,
body.cart-page .checkout-ref-order .price-stack span:first-child {
  font-size: 28px !important;
}

body.checkout-page .checkout-ref-order .payment-steps,
body.cart-page .checkout-ref-order .payment-steps {
  gap: 10px !important;
  margin-top: 18px !important;
}

body.checkout-page .checkout-ref-order .payment-steps li,
body.cart-page .checkout-ref-order .payment-steps li {
  font-size: 13px !important;
  line-height: 1.35 !important;
}

body.checkout-page .checkout-ref-form {
  padding: 22px !important;
  overflow: hidden !important;
}

body.checkout-page .checkout-ref-form .form-grid {
  grid-template-columns: repeat(2, minmax(0,1fr)) !important;
  gap: 16px !important;
}

body.checkout-page .checkout-ref-form .field-x.wide,
body.checkout-page .checkout-ref-form .payment-method-field,
body.checkout-page .checkout-ref-form .consent-x,
body.checkout-page .checkout-ref-form .checkout-submit {
  grid-column: 1 / -1 !important;
}

body.checkout-page .checkout-ref-form .product-picker {
  max-width: 100% !important;
}

body.checkout-page .checkout-ref-form .product-picker-track {
  grid-auto-columns: minmax(205px, 235px) !important;
}

body.cart-page .cart-ref-panel {
  overflow: hidden !important;
}

body.cart-page .cart-item-ref {
  grid-template-columns: 90px minmax(0,1fr) 116px 112px !important;
  gap: 14px !important;
  min-height: 118px !important;
  padding: 14px !important;
}

body.cart-page .cart-item-art-ref {
  width: 90px !important;
  height: 90px !important;
}

body.cart-page .cart-item-copy-ref strong {
  font-size: 18px !important;
}

body.cart-page .cart-item-total-ref strong {
  font-size: 22px !important;
}

body.cart-page .cart-summary-total-x strong {
  font-size: 30px !important;
}

@media (max-width: 1380px) {
  body.checkout-page .checkout-ref-mascot,
  body.cart-page .checkout-ref-mascot {
    opacity: .32 !important;
    left: -150px !important;
  }

  body.checkout-page .checkout-ref-shell,
  body.cart-page .checkout-ref-shell {
    width: min(1180px, calc(100vw - 44px)) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    grid-template-columns: minmax(0, 1.25fr) minmax(350px, .78fr) !important;
  }
}

@media (max-width: 1120px) {
  body.checkout-page .checkout-ref-mascot,
  body.cart-page .checkout-ref-mascot {
    display: none !important;
  }

  body.checkout-page .checkout-ref-shell,
  body.cart-page .checkout-ref-shell {
    grid-template-columns: 1fr !important;
  }

  body.checkout-page .checkout-ref-order,
  body.cart-page .checkout-ref-order {
    position: static !important;
  }
}

@media (max-width: 760px) {
  body.checkout-page .checkout-ref-page,
  body.cart-page .checkout-ref-page {
    padding: 92px 14px 26px !important;
  }

  body.checkout-page .checkout-ref-hero,
  body.cart-page .checkout-ref-hero {
    grid-template-columns: 1fr !important;
    padding: 22px !important;
  }

  body.checkout-page .checkout-ref-chest,
  body.cart-page .checkout-ref-chest {
    display: none !important;
  }

  body.checkout-page .checkout-ref-form .form-grid {
    grid-template-columns: 1fr !important;
  }

  body.cart-page .cart-item-ref {
    grid-template-columns: 76px 1fr !important;
  }

  body.cart-page .cart-item-art-ref {
    width: 76px !important;
    height: 76px !important;
  }

  body.cart-page .cart-item-controls-ref,
  body.cart-page .cart-item-total-ref {
    grid-column: 2 !important;
    justify-self: start !important;
  }
}


/* ============================================================
   V38 — full mobile version: header, home, catalog, cart, checkout
   ============================================================ */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}

@media (max-width: 820px) {
  body {
    min-width: 0 !important;
  }

  .site-header {
    position: fixed !important;
    left: 8px !important;
    right: 8px !important;
    top: 8px !important;
    width: auto !important;
    min-height: 62px !important;
    padding: 8px 10px !important;
    border-radius: 18px !important;
    display: grid !important;
    grid-template-columns: auto 44px !important;
    align-items: center !important;
    gap: 8px !important;
    z-index: 1000 !important;
  }

  .brand {
    min-width: 0 !important;
    gap: 9px !important;
  }

  .brand-mark {
    width: 42px !important;
    height: 42px !important;
    border-radius: 13px !important;
    flex: 0 0 42px !important;
  }

  .brand-text span {
    font-size: 15px !important;
    line-height: .88 !important;
  }

  .top-nav,
  .header-tools {
    display: none !important;
  }

  .menu-button {
    display: inline-flex !important;
    width: 44px !important;
    height: 44px !important;
    border-radius: 14px !important;
    align-items: center !important;
    justify-content: center !important;
    flex-direction: column !important;
    gap: 5px !important;
    border: 1px solid rgba(255,255,255,.12) !important;
    background: rgba(255,255,255,.06) !important;
  }

  .menu-button span {
    width: 20px !important;
    height: 2px !important;
    border-radius: 99px !important;
    background: #fff !important;
  }

  .mobile-nav {
    position: fixed !important;
    top: 78px !important;
    left: 8px !important;
    right: 8px !important;
    z-index: 999 !important;
    display: none !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
    padding: 12px !important;
    border: 1px solid rgba(178,72,255,.28) !important;
    border-radius: 18px !important;
    background: rgba(12,5,31,.96) !important;
    box-shadow: 0 20px 44px rgba(0,0,0,.38), inset 0 1px 0 rgba(255,255,255,.06) !important;
    backdrop-filter: blur(18px) saturate(150%) !important;
  }

  .mobile-nav.open {
    display: grid !important;
  }

  .mobile-nav a {
    min-height: 44px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 12px !important;
    border-radius: 14px !important;
    border: 1px solid rgba(255,255,255,.10) !important;
    background: rgba(255,255,255,.045) !important;
    color: rgba(255,255,255,.92) !important;
    font-size: 12px !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    text-align: center !important;
  }

  .mobile-nav a.active {
    color: #170906 !important;
    background: linear-gradient(180deg, #ffe765, #ffbe29) !important;
    border-color: rgba(255,233,142,.42) !important;
    box-shadow: 0 8px 18px rgba(255,190,41,.16) !important;
  }

  .mobile-nav .mobile-buy-link {
    grid-column: 1 / -1 !important;
    background: linear-gradient(180deg, #982fff, #5c16d8) !important;
    border-color: rgba(220,112,255,.45) !important;
    color: #fff !important;
    box-shadow: 0 0 22px rgba(170,58,255,.32) !important;
  }

  main#app {
    padding-top: 0 !important;
  }
}

/* Home mobile */
@media (max-width: 820px) {
  .ref-home {
    min-height: auto !important;
    padding: 86px 12px 24px !important;
  }

  .ref-wall {
    display: none !important;
  }

  .ref-mascot {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    width: min(78vw, 310px) !important;
    max-height: 330px !important;
    display: block !important;
    margin: 0 auto -18px -28px !important;
    object-position: left bottom !important;
    z-index: 4 !important;
    animation: none !important;
  }

  .ref-main,
  .ref-categories,
  .ref-offers,
  .ref-trust {
    width: 100% !important;
    margin: 0 !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .ref-main {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  .ref-hero-copy {
    align-items: center !important;
    text-align: center !important;
  }

  .ref-kicker {
    font-size: 10px !important;
    padding: 8px 12px !important;
  }

  .ref-title {
    white-space: normal !important;
    font-size: clamp(38px, 13vw, 54px) !important;
    line-height: .92 !important;
    letter-spacing: -0.055em !important;
  }

  .ref-subtitle {
    font-size: 14px !important;
    line-height: 1.45 !important;
  }

  .ref-benefits {
    grid-template-columns: 1fr 1fr !important;
    width: 100% !important;
  }

  .ref-benefits div {
    min-height: 58px !important;
    padding: 8px !important;
  }

  .ref-benefits b {
    width: 30px !important;
    height: 30px !important;
    flex-basis: 30px !important;
  }

  .ref-benefits span {
    font-size: 10px !important;
  }

  .ref-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    width: 100% !important;
  }

  .ref-btn,
  .ref-promo-btn {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 54px !important;
    font-size: 14px !important;
  }

  .ref-promo {
    width: 100% !important;
    max-width: none !important;
    min-height: 0 !important;
    padding: 20px !important;
    transform: none !important;
  }

  .ref-promo h2 {
    font-size: 28px !important;
  }

  .ref-promo-art {
    height: 118px !important;
  }

  .ref-categories,
  .ref-offer-row,
  .ref-trust {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    margin-top: 18px !important;
  }

  .ref-cat,
  .ref-offer {
    min-height: 112px !important;
  }
}

/* Catalog/mobile product grid */
@media (max-width: 820px) {
  .catalog-mascot-stage,
  .catalog-mascot,
  .catalog-mascot-glow {
    display: none !important;
  }

  body.brawl-store-page main,
  body.game-store-page main {
    padding-top: 86px !important;
  }

  body.brawl-store-page .catalog-hero-panel,
  body.brawl-store-page .product-toolbar,
  body.brawl-store-page .product-grid.store-v2,
  body.brawl-store-page .catalog-benefits {
    width: calc(100% - 24px) !important;
    margin-left: 12px !important;
    margin-right: 12px !important;
  }

  body.brawl-store-page .catalog-hero-panel {
    min-height: 170px !important;
    padding: 18px !important;
    border-radius: 20px !important;
    background-position: center !important;
  }

  body.brawl-store-page .catalog-hero-panel h1 {
    font-size: 34px !important;
    line-height: 1.05 !important;
  }

  body.brawl-store-page .catalog-hero-panel p:not(.eyebrow) {
    font-size: 13px !important;
    max-width: 100% !important;
  }

  body.brawl-store-page .product-toolbar {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    padding: 12px !important;
    border-radius: 18px !important;
    overflow: hidden !important;
  }

  body.brawl-store-page .segmented {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    gap: 8px !important;
    padding-bottom: 4px !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
  }
  body.brawl-store-page .segmented::-webkit-scrollbar { display: none !important; }

  body.brawl-store-page .segmented button {
    flex: 0 0 auto !important;
    min-height: 42px !important;
    padding: 0 14px !important;
    font-size: 12px !important;
  }

  body.brawl-store-page .product-toolbar .ghost-button {
    width: 100% !important;
    min-height: 46px !important;
  }

  body.brawl-store-page .product-grid.store-v2,
  body.brawl-store-page .product-grid.store-v2.product-grid--single,
  body.brawl-store-page .product-grid.store-v2.product-grid--few {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  body.brawl-store-page .v2-card {
    min-height: 0 !important;
    border-radius: 20px !important;
  }

  body.brawl-store-page .v2-art {
    flex: 0 0 170px !important;
    height: 170px !important;
    min-height: 170px !important;
  }

  body.brawl-store-page .v2-title {
    font-size: 18px !important;
  }

  body.brawl-store-page .v2-bonus {
    font-size: 12px !important;
    line-height: 1.2 !important;
    min-height: 28px !important;
  }

  body.brawl-store-page .v2-pricebar {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  body.brawl-store-page .v2-price {
    font-size: 22px !important;
  }

  body.brawl-store-page .v2-actions {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
  }

  body.brawl-store-page .v2-cart-btn,
  body.brawl-store-page .v2-buy {
    min-height: 44px !important;
    font-size: 12px !important;
  }

  .catalog-benefits {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
}

/* Checkout + cart mobile */
@media (max-width: 820px) {
  body.checkout-page main,
  body.cart-page main {
    padding-top: 0 !important;
  }

  .checkout-ref-page,
  .checkout-ref-page.cart-ref-page {
    min-height: auto !important;
    padding: 86px 12px 24px !important;
  }

  .checkout-ref-mascot,
  .cart-ref-mascot,
  .checkout-ref-web {
    display: none !important;
  }

  .checkout-ref-shell,
  .cart-ref-shell {
    width: 100% !important;
    margin: 0 !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .checkout-ref-left,
  .cart-ref-left {
    display: grid !important;
    gap: 14px !important;
    min-width: 0 !important;
  }

  .checkout-ref-hero,
  .cart-ref-hero {
    display: grid !important;
    grid-template-columns: 1fr !important;
    min-height: 0 !important;
    padding: 20px !important;
    border-radius: 20px !important;
  }

  .checkout-ref-copy h1,
  .cart-ref-copy h1 {
    font-size: clamp(34px, 12vw, 46px) !important;
    line-height: 1 !important;
    letter-spacing: -0.05em !important;
    margin: 14px 0 12px !important;
  }

  .checkout-ref-copy p,
  .cart-ref-copy p {
    font-size: 14px !important;
    line-height: 1.55 !important;
  }

  .checkout-ref-chest,
  .cart-ref-chest {
    display: none !important;
  }

  .checkout-ref-chips,
  .cart-ref-chips {
    gap: 8px !important;
  }

  .checkout-ref-chips span,
  .cart-ref-chips span {
    min-height: 34px !important;
    font-size: 10px !important;
    padding: 0 10px !important;
  }

  .checkout-ref-products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  .checkout-ref-products a {
    min-height: 132px !important;
    padding: 12px !important;
  }

  .checkout-ref-products img {
    height: 58px !important;
  }

  .checkout-ref-form,
  .checkout-ref-popular,
  .cart-ref-panel,
  .checkout-ref-payments,
  .checkout-ref-order,
  .cart-ref-order {
    padding: 18px !important;
    border-radius: 20px !important;
  }

  .checkout-ref-form .form-grid,
  .form-grid {
    grid-template-columns: 1fr !important;
  }

  .checkout-ref-form .field-x,
  .field-x,
  .field-x.wide {
    grid-column: auto !important;
  }

  .checkout-ref-form .product-picker-track {
    grid-auto-columns: minmax(185px, 220px) !important;
  }

  .checkout-ref-payments {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .checkout-ref-paylogos span {
    min-height: 38px !important;
    padding: 0 12px !important;
    font-size: 12px !important;
  }

  .checkout-ref-stats {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 8px !important;
    width: 100% !important;
  }

  .checkout-ref-stats strong {
    min-width: 0 !important;
    font-size: 15px !important;
  }

  .checkout-ref-order,
  .cart-ref-order {
    position: static !important;
    min-height: auto !important;
  }

  .checkout-ref-order .payment-box-head,
  .cart-ref-order .payment-box-head {
    display: grid !important;
    grid-template-columns: 52px 1fr !important;
    gap: 12px !important;
    align-items: start !important;
  }

  .checkout-ref-order .payment-icon,
  .cart-ref-order .payment-icon {
    width: 50px !important;
    height: 50px !important;
    border-radius: 14px !important;
    font-size: 24px !important;
  }

  .checkout-ref-order h2,
  .cart-ref-order h2 {
    font-size: 34px !important;
  }

  .payment-status-pill {
    grid-column: 1 / -1 !important;
    justify-self: start !important;
    margin-top: 6px !important;
  }

  .checkout-progress-labels {
    font-size: 9px !important;
  }

  .payment-meta,
  .payment-meta div {
    min-width: 0 !important;
  }

  .summary-box,
  .checkout-summary-card {
    min-width: 0 !important;
  }

  .checkout-cart-row,
  .cart-summary-line {
    grid-template-columns: 1fr !important;
    gap: 4px !important;
  }
}

/* Cart mobile details */
@media (max-width: 820px) {
  body.cart-page .cart-item-ref {
    grid-template-columns: 86px 1fr !important;
    gap: 12px !important;
    min-height: 0 !important;
    padding: 14px !important;
  }

  body.cart-page .cart-item-art-ref {
    width: 86px !important;
    height: 86px !important;
  }

  body.cart-page .cart-item-copy-ref strong {
    font-size: 17px !important;
  }

  body.cart-page .cart-item-controls-ref,
  body.cart-page .cart-item-total-ref {
    grid-column: 2 !important;
    justify-self: start !important;
  }

  body.cart-page .cart-item-total-ref {
    justify-items: start !important;
    min-width: 0 !important;
  }

  body.cart-page .cart-item-total-ref strong {
    font-size: 22px !important;
  }

  body.cart-page .cart-summary-total-x strong {
    font-size: 30px !important;
  }
}

@media (max-width: 420px) {
  .mobile-nav {
    grid-template-columns: 1fr !important;
  }

  .brand-text span {
    font-size: 14px !important;
  }

  .ref-title,
  .checkout-ref-copy h1,
  .cart-ref-copy h1 {
    font-size: 36px !important;
  }

  .checkout-ref-products {
    grid-template-columns: 1fr !important;
  }

  body.brawl-store-page .v2-actions {
    grid-template-columns: 1fr !important;
  }
}


/* ============================================================
   V39 — HARD LAYOUT CLEANUP
   Purpose: remove accumulated crooked offsets and make pages stable.
   ============================================================ */
:root {
  --v39-wrap: min(1180px, calc(100vw - 32px));
  --v39-panel: rgba(15, 16, 43, .92);
  --v39-panel-2: rgba(9, 10, 30, .96);
  --v39-line: rgba(255,255,255,.10);
  --v39-line-hot: rgba(255,211,61,.34);
  --v39-shadow: 0 18px 44px rgba(0,0,0,.34);
  --v39-yellow: #ffd33d;
  --v39-text: #f8f8ff;
  --v39-muted: rgba(238,242,255,.72);
}

html, body {
  overflow-x: hidden !important;
}

body {
  background:
    radial-gradient(circle at 16% 10%, rgba(166,68,255,.20), transparent 34%),
    radial-gradient(circle at 92% 18%, rgba(255,198,42,.10), transparent 28%),
    linear-gradient(180deg, #09071f 0%, #070816 100%) !important;
}

/* ---------- header, one clean baseline ---------- */
.site-header {
  left: 0 !important;
  right: 0 !important;
  width: min(1500px, calc(100% - 28px)) !important;
  min-height: 74px !important;
  margin: 0 auto !important;
  padding: 10px 16px !important;
  display: flex !important;
  align-items: center !important;
  gap: 18px !important;
  border-radius: 0 0 22px 22px !important;
  border: 1px solid rgba(255,255,255,.10) !important;
  background: rgba(10, 8, 30, .92) !important;
  box-shadow: 0 14px 34px rgba(0,0,0,.32), inset 0 1px 0 rgba(255,255,255,.05) !important;
  backdrop-filter: blur(18px) saturate(1.25) !important;
}

.brand {
  flex: 0 0 auto !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  min-width: 0 !important;
}

.brand-mark {
  width: 48px !important;
  height: 48px !important;
  flex: 0 0 48px !important;
  border-radius: 14px !important;
}

.brand-text span {
  font-size: 18px !important;
  line-height: .86 !important;
}

.top-nav {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
}

.top-nav a,
.mobile-nav a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 42px !important;
  padding: 0 14px !important;
  border-radius: 14px !important;
  border: 1px solid transparent !important;
  line-height: 1 !important;
  font-size: 13px !important;
  font-weight: 850 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  text-shadow: none !important;
  white-space: nowrap !important;
  box-shadow: none !important;
}

.top-nav a::after,
.mobile-nav a::after {
  content: none !important;
  display: none !important;
}

.top-nav a:hover,
.mobile-nav a:hover {
  border-color: rgba(255,255,255,.12) !important;
  background: rgba(255,255,255,.06) !important;
  color: #fff !important;
}

.top-nav a.active,
.mobile-nav a.active {
  color: #170b03 !important;
  background: linear-gradient(180deg, #ffe86a, #ffbf2f) !important;
  border-color: rgba(255,238,150,.42) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.32), 0 7px 14px rgba(255,194,48,.16) !important;
}

.header-tools {
  flex: 0 0 auto !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

.header-search {
  width: 150px !important;
  min-height: 42px !important;
  padding: 0 13px !important;
  border-radius: 14px !important;
}

.header-cart {
  width: 46px !important;
  height: 42px !important;
  min-height: 42px !important;
  border-radius: 14px !important;
}

.header-login {
  min-width: 154px !important;
  min-height: 42px !important;
  padding: 0 16px !important;
  border-radius: 14px !important;
  font-size: 13px !important;
  white-space: nowrap !important;
}

.menu-button {
  flex: 0 0 44px !important;
}

/* ---------- home: stable centered composition ---------- */
body.home-page main,
body.checkout-page main,
body.cart-page main,
body.brawl-store-page main {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.ref-home {
  min-height: 100svh !important;
  padding: 112px 0 32px !important;
}

.ref-wall {
  left: 0 !important;
  width: 86px !important;
  top: 80px !important;
}

.ref-mascot {
  left: -42px !important;
  top: 124px !important;
  width: clamp(250px, 18vw, 330px) !important;
  max-height: calc(100svh - 150px) !important;
  z-index: 5 !important;
  opacity: .96 !important;
}

.ref-main,
.ref-categories,
.ref-offers,
.ref-trust {
  width: min(1120px, calc(100vw - 330px)) !important;
  margin-left: clamp(280px, 23vw, 360px) !important;
  margin-right: auto !important;
  padding-left: 0 !important;
}

.ref-main {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 330px !important;
  gap: 28px !important;
  align-items: center !important;
}

.ref-hero-copy {
  align-items: center !important;
  text-align: center !important;
  min-width: 0 !important;
}

.ref-title {
  font-size: clamp(46px, 4.5vw, 72px) !important;
  line-height: .9 !important;
  white-space: normal !important;
  max-width: 700px !important;
}

.ref-subtitle {
  max-width: 620px !important;
  font-size: clamp(15px, 1.25vw, 19px) !important;
}

.ref-benefits {
  width: min(590px, 100%) !important;
}

.ref-promo {
  max-width: 330px !important;
  min-height: auto !important;
  padding: 20px !important;
  transform: none !important;
  justify-self: end !important;
}

.ref-promo h2 {
  font-size: 28px !important;
}

.ref-promo-art {
  height: 118px !important;
}

.ref-categories {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 12px !important;
  margin-top: 24px !important;
}

.ref-cat {
  min-height: 112px !important;
  padding: 16px !important;
  border-radius: 18px !important;
}

.ref-cat img {
  width: 62px !important;
  height: 62px !important;
  right: 10px !important;
  bottom: 10px !important;
}

.ref-offer-row {
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 12px !important;
}

.ref-offer {
  min-height: 144px !important;
}

/* ---------- catalog: centered, no weird left offsets ---------- */
.catalog-mascot-stage {
  display: none !important;
}

body.brawl-store-page .catalog-hero-panel,
body.brawl-store-page .product-toolbar,
body.brawl-store-page .product-grid.store-v2,
body.brawl-store-page .catalog-benefits {
  width: var(--v39-wrap) !important;
  max-width: var(--v39-wrap) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body.brawl-store-page .catalog-hero-panel {
  margin-top: 112px !important;
  padding: 26px !important;
  border-radius: 24px !important;
}

body.brawl-store-page .catalog-hero-panel h1 {
  font-size: clamp(34px, 4vw, 54px) !important;
  line-height: 1 !important;
}

body.brawl-store-page .product-toolbar {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  margin-top: 18px !important;
  padding: 12px !important;
  border-radius: 18px !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  background: rgba(12, 13, 37, .92) !important;
  box-shadow: var(--v39-shadow) !important;
}

body.brawl-store-page .segmented {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.brawl-store-page .segmented button {
  min-height: 40px !important;
  padding: 0 13px !important;
  border-radius: 13px !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  background: rgba(255,255,255,.045) !important;
  color: rgba(248,250,255,.88) !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  text-transform: none !important;
  box-shadow: none !important;
}

body.brawl-store-page .segmented button.active {
  background: linear-gradient(180deg, #ffe86a, #ffbf2f) !important;
  color: #160905 !important;
  border-color: rgba(255,238,150,.36) !important;
}

body.brawl-store-page .product-grid.store-v2,
body.brawl-store-page .product-grid.store-v2.product-grid--single,
body.brawl-store-page .product-grid.store-v2.product-grid--few {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 20px !important;
  margin-top: 20px !important;
  align-items: stretch !important;
}

body.brawl-store-page .v2-card {
  height: auto !important;
  min-height: 386px !important;
  display: flex !important;
  flex-direction: column !important;
  border-radius: 20px !important;
  border: 1px solid rgba(255,255,255,.10) !important;
  background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.018)), rgba(14,15,40,.94) !important;
  box-shadow: 0 14px 34px rgba(0,0,0,.28) !important;
  transform: none !important;
}

body.brawl-store-page .v2-art {
  flex: 0 0 174px !important;
  height: 174px !important;
  min-height: 174px !important;
  padding: 12px !important;
  display: grid !important;
  place-items: center !important;
  overflow: hidden !important;
}

body.brawl-store-page .v2-art-inner {
  width: 100% !important;
  height: 100% !important;
  display: grid !important;
  place-items: center !important;
  overflow: visible !important;
}

body.brawl-store-page .v2-art .product-main-art,
body.brawl-store-page .v2-art .gem-icon-img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
  margin: 0 auto !important;
  padding: 3% !important;
  transform-origin: center center !important;
}

body.brawl-store-page .v2-card--gems .v2-art .gem-tier-0 { transform: scale(.72) !important; }
body.brawl-store-page .v2-card--gems .v2-art .gem-tier-1 { transform: scale(.80) !important; }
body.brawl-store-page .v2-card--gems .v2-art .gem-tier-2 { transform: scale(.88) !important; }
body.brawl-store-page .v2-card--gems .v2-art .gem-tier-3 { transform: scale(.94) !important; }
body.brawl-store-page .v2-card--gems .v2-art .gem-tier-4 { transform: scale(.99) !important; }
body.brawl-store-page .v2-card--gems .v2-art .gem-tier-5 { transform: scale(1.03) !important; }

body.brawl-store-page .v2-card[data-product-id^="bs-skin-"] .v2-art .product-main-art {
  object-fit: contain !important;
  padding: 0 !important;
  transform: scale(.92) !important;
}

body.brawl-store-page .v2-card[data-product-id="bs-skin-super-striker-lou"] .v2-art .product-main-art,
body.brawl-store-page .v2-card[data-product-id="bs-skin-refereeple"] .v2-art .product-main-art,
body.brawl-store-page .v2-card[data-product-id="bs-skin-scorekeeper-surge"] .v2-art .product-main-art {
  object-fit: cover !important;
  transform: none !important;
}

body.brawl-store-page .v2-body {
  flex: 1 1 auto !important;
  min-height: 96px !important;
  padding: 16px 18px 8px !important;
  gap: 8px !important;
}

body.brawl-store-page .v2-title {
  min-height: 42px !important;
  font-size: 18px !important;
  line-height: 1.16 !important;
  font-weight: 900 !important;
}

body.brawl-store-page .v2-bonus {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  align-self: flex-start !important;
  min-height: 30px !important;
  max-width: 100% !important;
  padding: 0 12px !important;
  border-radius: 999px !important;
  color: #120706 !important;
  background: linear-gradient(180deg, #ffec65, #ffc32f) !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  text-align: center !important;
}

body.brawl-store-page .v2-pricebar {
  padding: 0 18px 18px !important;
  display: flex !important;
  align-items: end !important;
  gap: 10px !important;
  margin-top: auto !important;
}

body.brawl-store-page .v2-price {
  flex: 0 0 auto !important;
  display: inline-grid !important;
  gap: 3px !important;
  font-size: 21px !important;
  line-height: 1 !important;
}

body.brawl-store-page .v2-price small {
  font-size: 11px !important;
}

body.brawl-store-page .v2-actions {
  flex: 1 1 auto !important;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 8px !important;
}

body.brawl-store-page .v2-cart-btn,
body.brawl-store-page .v2-buy {
  width: 100% !important;
  min-height: 42px !important;
  padding: 0 8px !important;
  border-radius: 12px !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  white-space: nowrap !important;
}

body.brawl-store-page .catalog-benefits {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 14px !important;
  margin-top: 24px !important;
}

/* ---------- checkout/cart: centered, no mascot pushing layout ---------- */
body.checkout-page .checkout-ref-page,
body.cart-page .checkout-ref-page {
  padding: 112px 0 36px !important;
  min-height: 100svh !important;
}

.checkout-ref-mascot,
.cart-ref-mascot {
  left: -94px !important;
  top: 106px !important;
  width: clamp(250px, 18vw, 330px) !important;
  opacity: .50 !important;
  z-index: 0 !important;
}

.checkout-ref-mascot img,
.cart-ref-mascot img {
  height: calc(100svh - 126px) !important;
  object-position: left bottom !important;
}

.checkout-ref-shell,
.cart-ref-shell {
  width: var(--v39-wrap) !important;
  margin: 0 auto !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 390px !important;
  gap: 22px !important;
  align-items: start !important;
}

.checkout-ref-left,
.cart-ref-left {
  display: grid !important;
  gap: 16px !important;
  min-width: 0 !important;
}

.checkout-ref-hero,
.cart-ref-hero,
.checkout-ref-popular,
.cart-ref-panel,
.checkout-ref-form,
.checkout-ref-payments,
.checkout-ref-order,
.cart-ref-order {
  border-radius: 22px !important;
  border: 1px solid var(--v39-line) !important;
  background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.018)), var(--v39-panel) !important;
  box-shadow: var(--v39-shadow) !important;
}

.checkout-ref-hero,
.cart-ref-hero {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 170px !important;
  gap: 16px !important;
  min-height: 0 !important;
  padding: 24px !important;
  align-items: center !important;
}

.checkout-ref-copy h1,
.cart-ref-copy h1 {
  margin: 14px 0 10px !important;
  max-width: 640px !important;
  font-size: clamp(32px, 3.3vw, 52px) !important;
  line-height: 1 !important;
}

.checkout-ref-copy p,
.cart-ref-copy p {
  max-width: 640px !important;
  font-size: 15px !important;
  line-height: 1.54 !important;
}

.checkout-ref-chest,
.cart-ref-chest {
  min-height: 150px !important;
}

.checkout-ref-chest img,
.cart-ref-chest img {
  width: 138px !important;
  height: 126px !important;
}

.checkout-ref-popular,
.cart-ref-panel,
.checkout-ref-form,
.checkout-ref-payments {
  padding: 20px !important;
}

.checkout-ref-products {
  grid-template-columns: repeat(5, minmax(0,1fr)) !important;
  gap: 10px !important;
}

.checkout-ref-products a {
  min-height: 132px !important;
  padding: 12px !important;
}

.checkout-ref-products img {
  height: 58px !important;
}

.checkout-ref-form .form-grid {
  grid-template-columns: repeat(2, minmax(0,1fr)) !important;
  gap: 14px !important;
}

.checkout-ref-form .field-x.wide,
.checkout-ref-form .consent-x,
.checkout-ref-form .pay-select,
.checkout-ref-form .checkout-submit {
  grid-column: 1 / -1 !important;
}

.checkout-ref-payments {
  grid-template-columns: 1fr !important;
  gap: 14px !important;
}

.checkout-ref-order,
.cart-ref-order {
  position: sticky !important;
  top: 94px !important;
  min-height: auto !important;
  padding: 22px !important;
}

.checkout-ref-order .payment-box-head,
.cart-ref-order .payment-box-head {
  display: grid !important;
  grid-template-columns: 54px minmax(0,1fr) auto !important;
  gap: 12px !important;
  align-items: start !important;
  min-height: 0 !important;
}

.checkout-ref-order .payment-icon,
.cart-ref-order .payment-icon {
  width: 52px !important;
  height: 52px !important;
  border-radius: 14px !important;
  font-size: 25px !important;
}

.checkout-ref-order h2,
.cart-ref-order h2 {
  font-size: clamp(28px, 2.4vw, 38px) !important;
}

.payment-status-pill {
  white-space: nowrap !important;
}

.checkout-progress,
.checkout-progress-labels {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.checkout-ref-order .payment-meta,
.cart-ref-order .payment-meta {
  margin: 16px 0 !important;
}

.checkout-ref-order .checkout-summary-card,
.cart-ref-order .checkout-summary-card {
  padding: 14px 0 !important;
}

.checkout-ref-order .payment-steps,
.cart-ref-order .payment-steps {
  margin-top: 18px !important;
}

/* Cart details */
body.cart-page .cart-items-ref {
  display: grid !important;
  gap: 12px !important;
}

body.cart-page .cart-item-ref {
  display: grid !important;
  grid-template-columns: 92px minmax(0,1fr) auto !important;
  gap: 14px !important;
  align-items: center !important;
  padding: 14px !important;
  border-radius: 18px !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  background: rgba(255,255,255,.032) !important;
}

body.cart-page .cart-item-art-ref {
  width: 92px !important;
  height: 92px !important;
  border-radius: 15px !important;
}

body.cart-page .cart-item-copy-ref strong {
  font-size: 18px !important;
}

body.cart-page .cart-item-controls-ref {
  justify-self: end !important;
}

body.cart-page .cart-item-total-ref {
  grid-column: 2 / -1 !important;
  justify-items: start !important;
  min-width: 0 !important;
}

body.cart-page .cart-summary-total-x strong {
  font-size: 32px !important;
}

/* ---------- tablet/mobile: simple one-column layout ---------- */
@media (max-width: 1180px) {
  .header-tools { display: none !important; }
  .menu-button { display: grid !important; place-items: center !important; }

  .ref-wall,
  .ref-mascot,
  .checkout-ref-mascot,
  .cart-ref-mascot {
    display: none !important;
  }

  .ref-main,
  .ref-categories,
  .ref-offers,
  .ref-trust,
  .checkout-ref-shell,
  .cart-ref-shell {
    width: min(100% - 28px, 1080px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .ref-main,
  .checkout-ref-shell,
  .cart-ref-shell {
    grid-template-columns: 1fr !important;
  }

  .ref-promo,
  .checkout-ref-order,
  .cart-ref-order {
    max-width: none !important;
    justify-self: stretch !important;
    position: static !important;
  }

  body.brawl-store-page .product-grid.store-v2,
  body.brawl-store-page .product-grid.store-v2.product-grid--single,
  body.brawl-store-page .product-grid.store-v2.product-grid--few {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .checkout-ref-products {
    grid-template-columns: repeat(3, minmax(0,1fr)) !important;
  }
}

@media (max-width: 820px) {
  .site-header {
    width: 100% !important;
    min-height: 64px !important;
    padding: 8px 12px !important;
    border-radius: 0 0 18px 18px !important;
  }

  .brand-mark {
    width: 42px !important;
    height: 42px !important;
    flex-basis: 42px !important;
  }

  .brand-text span { font-size: 15px !important; }
  .top-nav { display: none !important; }

  .mobile-nav.open,
  .mobile-nav[data-open="true"] {
    display: grid !important;
  }

  .ref-home,
  body.checkout-page .checkout-ref-page,
  body.cart-page .checkout-ref-page {
    padding-top: 84px !important;
  }

  .ref-main,
  .ref-categories,
  .ref-offers,
  .ref-trust,
  body.brawl-store-page .catalog-hero-panel,
  body.brawl-store-page .product-toolbar,
  body.brawl-store-page .product-grid.store-v2,
  body.brawl-store-page .catalog-benefits,
  .checkout-ref-shell,
  .cart-ref-shell {
    width: calc(100vw - 24px) !important;
  }

  .ref-title,
  .checkout-ref-copy h1,
  .cart-ref-copy h1 {
    font-size: clamp(34px, 10vw, 44px) !important;
  }

  .ref-benefits,
  .ref-categories,
  .ref-offer-row,
  .ref-trust,
  body.brawl-store-page .catalog-benefits,
  .checkout-ref-products,
  .checkout-ref-form .form-grid {
    grid-template-columns: 1fr !important;
  }

  body.brawl-store-page .product-toolbar {
    display: grid !important;
    gap: 12px !important;
  }

  body.brawl-store-page .segmented {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0,1fr)) !important;
  }

  body.brawl-store-page .product-grid.store-v2,
  body.brawl-store-page .product-grid.store-v2.product-grid--single,
  body.brawl-store-page .product-grid.store-v2.product-grid--few {
    grid-template-columns: 1fr !important;
  }

  body.brawl-store-page .v2-pricebar {
    display: grid !important;
    gap: 12px !important;
  }

  .checkout-ref-hero,
  .cart-ref-hero {
    grid-template-columns: 1fr !important;
    padding: 20px !important;
  }

  .checkout-ref-chest,
  .cart-ref-chest {
    display: none !important;
  }

  .checkout-ref-order .payment-box-head,
  .cart-ref-order .payment-box-head {
    grid-template-columns: 52px minmax(0,1fr) !important;
  }

  .payment-status-pill {
    grid-column: 1 / -1 !important;
    justify-self: start !important;
  }

  body.cart-page .cart-item-ref {
    grid-template-columns: 82px 1fr !important;
  }

  body.cart-page .cart-item-art-ref {
    width: 82px !important;
    height: 82px !important;
  }

  body.cart-page .cart-item-controls-ref,
  body.cart-page .cart-item-total-ref {
    grid-column: 2 !important;
    justify-self: start !important;
  }
}


/* ============================================================
   V40 FINAL CLEAN LAYOUT — убираем кривизну и конфликтующие слои
   ============================================================ */

:root {
  --v40-bg: #090b1f;
  --v40-panel: rgba(16, 18, 42, .94);
  --v40-panel-2: rgba(22, 24, 56, .92);
  --v40-border: rgba(255,255,255,.10);
  --v40-text: #ffffff;
  --v40-muted: rgba(235,240,255,.70);
  --v40-gold: #ffd33d;
  --v40-purple: #8f4cff;
}

html,
body {
  overflow-x: hidden !important;
}

body {
  background:
    radial-gradient(circle at 50% -10%, rgba(142, 76, 255, .28), transparent 34%),
    radial-gradient(circle at 100% 20%, rgba(255, 211, 61, .08), transparent 26%),
    linear-gradient(180deg, #0b0d25 0%, #070817 100%) !important;
}

/* Общий контейнер: ровный центр без огромных боковых сдвигов */
main,
main.content-shell,
body.checkout-page main,
body.cart-page main,
body.brawl-store-page main {
  width: min(1240px, calc(100% - 32px)) !important;
  max-width: 1240px !important;
  margin: 0 auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  box-sizing: border-box !important;
}

/* Шапка */
.site-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 1000 !important;
  width: min(1240px, calc(100% - 32px)) !important;
  margin: 12px auto 0 !important;
  padding: 12px 14px !important;
  border: 1px solid var(--v40-border) !important;
  border-radius: 22px !important;
  background: rgba(10, 12, 32, .88) !important;
  backdrop-filter: blur(16px) !important;
  box-shadow: 0 16px 40px rgba(0,0,0,.26) !important;
}

.header-inner,
.header-tools,
.top-nav {
  display: flex !important;
  align-items: center !important;
}

.header-inner {
  justify-content: space-between !important;
  gap: 16px !important;
}

.logo {
  flex: 0 0 auto !important;
  min-width: max-content !important;
}

.top-nav {
  flex: 1 1 auto !important;
  justify-content: center !important;
  gap: 8px !important;
  min-width: 0 !important;
}

.top-nav a,
body.brawl-store-page .top-nav a,
body.home-page .top-nav a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 38px !important;
  padding: 0 12px !important;
  border: 1px solid transparent !important;
  border-radius: 13px !important;
  background: transparent !important;
  color: rgba(255,255,255,.78) !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
  box-shadow: none !important;
  transform: none !important;
}

.top-nav a::after,
.top-nav a::before {
  display: none !important;
  content: none !important;
}

.top-nav a:hover,
.top-nav a.active,
body.brawl-store-page .top-nav a.active,
body.home-page .top-nav a.active {
  background: rgba(255, 211, 61, .14) !important;
  border-color: rgba(255, 211, 61, .28) !important;
  color: var(--v40-gold) !important;
  box-shadow: none !important;
}

.header-login,
.header-cart {
  min-height: 40px !important;
  padding: 0 14px !important;
  border-radius: 13px !important;
  white-space: nowrap !important;
}

/* Убираем фиксированную Charlie, которая ломала сетку */
.checkout-ref-mascot,
.cart-ref-mascot,
.ref-mascot,
.checkout-ref-web {
  display: none !important;
}

/* Страницы покупки и корзины: ровная сетка без margin-left */
.checkout-ref-page,
body.checkout-page .checkout-ref-page,
body.cart-page .checkout-ref-page {
  min-height: auto !important;
  padding: 36px 0 48px !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}

.checkout-ref-shell,
.cart-ref-shell,
body.checkout-page .checkout-ref-shell,
body.cart-page .cart-ref-shell {
  width: 100% !important;
  max-width: 1240px !important;
  margin: 0 auto !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 380px !important;
  gap: 22px !important;
  align-items: start !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

.checkout-ref-left,
.cart-ref-left {
  display: grid !important;
  gap: 18px !important;
  min-width: 0 !important;
}

/* Общий вид блоков */
.checkout-ref-hero,
.checkout-ref-popular,
.checkout-ref-form,
.checkout-ref-payments,
.checkout-ref-order,
.cart-ref-panel,
.cart-ref-order,
.cart-panel,
.cart-summary-box,
.payment-box,
.payment-box-x {
  border: 1px solid var(--v40-border) !important;
  border-radius: 22px !important;
  background: linear-gradient(180deg, var(--v40-panel), rgba(11, 13, 33, .96)) !important;
  box-shadow: 0 18px 42px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.05) !important;
  backdrop-filter: none !important;
  transform: none !important;
}

/* Hero: компактно и ровно */
.checkout-ref-hero,
.cart-ref-hero {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 160px !important;
  gap: 18px !important;
  min-height: 0 !important;
  padding: 26px !important;
  align-items: center !important;
}

.checkout-ref-copy h1,
.cart-ref-copy h1,
.checkout-hero h1,
.page-hero h1 {
  max-width: 760px !important;
  margin: 14px 0 12px !important;
  font-size: clamp(32px, 4vw, 52px) !important;
  line-height: 1.04 !important;
  letter-spacing: -0.04em !important;
  text-wrap: balance !important;
}

.checkout-ref-copy p,
.cart-ref-copy p,
.checkout-hero p,
.page-hero p {
  max-width: 720px !important;
  font-size: 15px !important;
  line-height: 1.55 !important;
  color: var(--v40-muted) !important;
}

.checkout-ref-chest,
.cart-ref-chest {
  min-height: 140px !important;
  display: grid !important;
  place-items: center !important;
}

.checkout-ref-chest::before,
.cart-ref-chest::before {
  width: 145px !important;
  height: 145px !important;
}

.checkout-ref-chest img,
.cart-ref-chest img {
  width: 130px !important;
  height: 120px !important;
  object-fit: contain !important;
}

.checkout-ref-chest span,
.cart-ref-chest span {
  right: 12px !important;
  bottom: 10px !important;
  width: 48px !important;
  height: 48px !important;
  font-size: 22px !important;
}

.checkout-ref-chips,
.cart-ref-chips {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin-top: 16px !important;
}

.checkout-ref-chips span,
.cart-ref-chips span {
  min-height: 34px !important;
  padding: 0 12px !important;
  border-radius: 12px !important;
  font-size: 11px !important;
}

/* Популярное / карточки */
.checkout-ref-popular,
.cart-ref-panel {
  padding: 20px !important;
}

.checkout-ref-products {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 12px !important;
}

.checkout-ref-products a {
  min-height: 142px !important;
  padding: 12px !important;
  border-radius: 16px !important;
}

.checkout-ref-products img {
  height: 68px !important;
  object-fit: contain !important;
}

/* Форма */
.checkout-ref-form {
  padding: 22px !important;
}

.checkout-ref-form .form-grid,
.form-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 14px !important;
}

.checkout-ref-form .field-x,
.field-x {
  min-width: 0 !important;
}

.checkout-ref-form .field-x input,
.checkout-ref-form .field-x select,
.checkout-ref-form .field-x textarea,
.field-x input,
.field-x select,
.field-x textarea {
  width: 100% !important;
  min-height: 54px !important;
  border-radius: 14px !important;
  box-sizing: border-box !important;
}

.checkout-ref-form .product-picker-track {
  grid-auto-columns: minmax(200px, 235px) !important;
}

/* Правый чек: больше не sticky, чтобы не перекашивался */
.checkout-ref-order,
.cart-ref-order,
body.checkout-page .checkout-ref-order,
body.cart-page .cart-ref-order {
  position: static !important;
  top: auto !important;
  width: 100% !important;
  min-height: 0 !important;
  padding: 22px !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

.checkout-ref-order .payment-box-head,
.cart-ref-order .payment-box-head,
.payment-box-head {
  display: grid !important;
  grid-template-columns: 52px minmax(0, 1fr) !important;
  gap: 14px !important;
  align-items: start !important;
  min-height: 0 !important;
}

.checkout-ref-order .payment-icon,
.cart-ref-order .payment-icon,
.payment-icon {
  width: 50px !important;
  height: 50px !important;
  border-radius: 14px !important;
  font-size: 24px !important;
}

.payment-status-pill {
  grid-column: 1 / -1 !important;
  justify-self: start !important;
  min-height: 30px !important;
  padding: 0 12px !important;
  border-radius: 999px !important;
}

.checkout-ref-order h2,
.cart-ref-order h2,
.payment-box h2 {
  margin: 2px 0 8px !important;
  font-size: 32px !important;
  line-height: 1.05 !important;
  letter-spacing: -0.035em !important;
}

.payment-subtitle {
  max-width: 100% !important;
  font-size: 13px !important;
  line-height: 1.45 !important;
}

.checkout-progress {
  margin: 20px 0 8px !important;
}

.checkout-progress-labels {
  margin-bottom: 18px !important;
  font-size: 10px !important;
}

.payment-meta,
.payment-box dl {
  margin: 0 !important;
}

.payment-meta div,
.payment-box dl div {
  padding: 12px 0 !important;
  border-bottom: 1px solid rgba(255,255,255,.08) !important;
}

.checkout-summary-card,
.summary-box {
  padding: 14px 0 !important;
  margin: 0 !important;
}

.payment-steps {
  margin: 18px 0 0 !important;
  display: grid !important;
  gap: 10px !important;
}

.payment-steps li {
  min-height: 40px !important;
  display: grid !important;
  grid-template-columns: 30px 1fr !important;
  gap: 10px !important;
  align-items: center !important;
  font-size: 13px !important;
  line-height: 1.35 !important;
}

/* Корзина: простая ровная таблица-карточки */
body.cart-page .cart-items-ref {
  display: grid !important;
  gap: 12px !important;
}

body.cart-page .cart-item-ref,
.cart-item {
  display: grid !important;
  grid-template-columns: 88px minmax(0, 1fr) 120px 120px !important;
  gap: 14px !important;
  align-items: center !important;
  min-height: 118px !important;
  padding: 14px !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  border-radius: 18px !important;
  background: rgba(255,255,255,.035) !important;
  box-sizing: border-box !important;
}

body.cart-page .cart-item-art-ref,
.cart-item-art {
  width: 88px !important;
  height: 88px !important;
  border-radius: 15px !important;
  display: grid !important;
  place-items: center !important;
  background: rgba(0,0,0,.18) !important;
  overflow: hidden !important;
}

body.cart-page .cart-item-art-ref img,
.cart-item-art img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}

body.cart-page .cart-item-copy-ref strong,
.cart-item-copy strong {
  display: block !important;
  color: #fff !important;
  font-size: 18px !important;
  line-height: 1.2 !important;
}

body.cart-page .cart-item-copy-ref span,
.cart-item-copy span {
  display: block !important;
  margin-top: 4px !important;
  color: var(--v40-muted) !important;
  font-size: 13px !important;
}

body.cart-page .cart-item-controls-ref,
.cart-item-controls {
  display: inline-flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 6px !important;
  border-radius: 14px !important;
  background: rgba(255,255,255,.04) !important;
}

.qty-btn {
  width: 32px !important;
  height: 32px !important;
  border-radius: 10px !important;
}

.qty-value {
  min-width: 22px !important;
  text-align: center !important;
}

body.cart-page .cart-item-total-ref,
.cart-item-total {
  display: grid !important;
  justify-items: end !important;
  gap: 6px !important;
}

body.cart-page .cart-item-total-ref strong,
.cart-item-total strong {
  color: var(--v40-gold) !important;
  font-size: 20px !important;
}

.cart-summary-total-x strong,
body.cart-page .cart-summary-total-x strong {
  color: var(--v40-gold) !important;
  font-size: 30px !important;
}

.cart-actions-ref,
.cart-actions {
  display: grid !important;
  gap: 10px !important;
}

.cart-actions-ref .primary-action,
.cart-actions-ref .ghost-button,
.cart-actions .primary-action,
.cart-actions .ghost-button {
  width: 100% !important;
  min-height: 48px !important;
  justify-content: center !important;
}

/* Каталог: ровная сетка */
body.brawl-store-page .product-grid.store-v2,
.product-grid.store-v2 {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 18px !important;
  width: 100% !important;
}

body.brawl-store-page .v2-card,
.v2-card {
  min-height: 380px !important;
  display: flex !important;
  flex-direction: column !important;
  border-radius: 20px !important;
  overflow: hidden !important;
}

body.brawl-store-page .v2-art,
.v2-art {
  height: 170px !important;
  min-height: 170px !important;
  display: grid !important;
  place-items: center !important;
}

body.brawl-store-page .v2-art-inner,
.v2-art-inner {
  width: 100% !important;
  height: 100% !important;
  display: grid !important;
  place-items: center !important;
}

body.brawl-store-page .product-main-art,
.product-main-art {
  max-width: 92% !important;
  max-height: 92% !important;
  object-fit: contain !important;
  object-position: center !important;
  margin: auto !important;
}

body.brawl-store-page .v2-body,
.v2-body {
  min-height: 96px !important;
  padding: 16px !important;
}

body.brawl-store-page .v2-title,
.v2-title {
  font-size: 17px !important;
  line-height: 1.18 !important;
}

body.brawl-store-page .v2-pricebar,
.v2-pricebar {
  margin-top: auto !important;
  padding: 0 16px 16px !important;
}

/* Мобильная версия: всё в одну колонку */
@media (max-width: 980px) {
  main,
  main.content-shell,
  body.checkout-page main,
  body.cart-page main,
  body.brawl-store-page main,
  .site-header {
    width: min(100% - 20px, 760px) !important;
  }

  .site-header {
    margin-top: 8px !important;
    border-radius: 18px !important;
  }

  .header-inner {
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    gap: 10px !important;
  }

  .top-nav {
    grid-column: 1 / -1 !important;
    justify-content: flex-start !important;
    overflow-x: auto !important;
    padding-bottom: 4px !important;
    scrollbar-width: none !important;
  }

  .top-nav::-webkit-scrollbar { display: none !important; }

  .header-tools {
    justify-content: end !important;
  }

  .checkout-ref-shell,
  .cart-ref-shell,
  body.checkout-page .checkout-ref-shell,
  body.cart-page .cart-ref-shell {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .checkout-ref-page,
  body.checkout-page .checkout-ref-page,
  body.cart-page .checkout-ref-page {
    padding: 24px 0 36px !important;
  }

  .checkout-ref-hero,
  .cart-ref-hero {
    grid-template-columns: 1fr !important;
    padding: 20px !important;
  }

  .checkout-ref-chest,
  .cart-ref-chest {
    display: none !important;
  }

  .checkout-ref-copy h1,
  .cart-ref-copy h1,
  .checkout-hero h1,
  .page-hero h1 {
    font-size: 34px !important;
  }

  .checkout-ref-form .form-grid,
  .form-grid {
    grid-template-columns: 1fr !important;
  }

  .checkout-ref-products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body.brawl-store-page .product-grid.store-v2,
  .product-grid.store-v2 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body.cart-page .cart-item-ref,
  .cart-item {
    grid-template-columns: 72px minmax(0, 1fr) !important;
  }

  body.cart-page .cart-item-art-ref,
  .cart-item-art {
    width: 72px !important;
    height: 72px !important;
  }

  body.cart-page .cart-item-controls-ref,
  body.cart-page .cart-item-total-ref,
  .cart-item-controls,
  .cart-item-total {
    grid-column: 2 !important;
    justify-self: start !important;
  }

  body.cart-page .cart-item-total-ref,
  .cart-item-total {
    justify-items: start !important;
  }
}

@media (max-width: 560px) {
  main,
  main.content-shell,
  body.checkout-page main,
  body.cart-page main,
  body.brawl-store-page main,
  .site-header {
    width: calc(100% - 14px) !important;
  }

  .site-header {
    padding: 10px !important;
  }

  .logo span,
  .brand-text {
    font-size: 12px !important;
  }

  .header-login {
    padding: 0 10px !important;
    font-size: 11px !important;
  }

  .header-cart {
    min-width: 40px !important;
    padding: 0 10px !important;
  }

  .top-nav a {
    min-height: 34px !important;
    padding: 0 10px !important;
    font-size: 11px !important;
  }

  .checkout-ref-hero,
  .checkout-ref-popular,
  .checkout-ref-form,
  .checkout-ref-payments,
  .checkout-ref-order,
  .cart-ref-panel,
  .cart-ref-order {
    border-radius: 18px !important;
    padding: 16px !important;
  }

  .checkout-ref-copy h1,
  .cart-ref-copy h1,
  .checkout-hero h1,
  .page-hero h1 {
    font-size: 28px !important;
  }

  .checkout-ref-products {
    grid-template-columns: 1fr !important;
  }

  body.brawl-store-page .product-grid.store-v2,
  .product-grid.store-v2 {
    grid-template-columns: 1fr !important;
  }

  .checkout-ref-order .payment-box-head,
  .cart-ref-order .payment-box-head,
  .payment-box-head {
    grid-template-columns: 44px 1fr !important;
    gap: 10px !important;
  }

  .checkout-ref-order .payment-icon,
  .cart-ref-order .payment-icon,
  .payment-icon {
    width: 42px !important;
    height: 42px !important;
    font-size: 20px !important;
  }

  .checkout-ref-order h2,
  .cart-ref-order h2,
  .payment-box h2 {
    font-size: 26px !important;
  }

  .checkout-progress-labels {
    display: none !important;
  }

  body.cart-page .cart-item-copy-ref strong,
  .cart-item-copy strong {
    font-size: 16px !important;
  }
}


/* ============================================================
   V41 — вернуть Charlie на телефоне, починить верхнее меню,
   выровнять блок "Ограниченное предложение"
   ============================================================ */

/* Charlie снова видна, но не ломает сетку */
.checkout-ref-mascot,
.cart-ref-mascot,
.ref-mascot {
  display: block !important;
  pointer-events: none !important;
}

/* На десктопе не даём персонажу перекрывать сайт */
.checkout-ref-mascot,
.cart-ref-mascot {
  position: absolute !important;
  left: -88px !important;
  top: 104px !important;
  width: 300px !important;
  height: 360px !important;
  opacity: .42 !important;
  z-index: 0 !important;
  overflow: visible !important;
}

.checkout-ref-mascot img,
.cart-ref-mascot img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: left bottom !important;
}

.checkout-ref-shell,
cart-ref-shell,
body.checkout-page .checkout-ref-shell,
body.cart-page .checkout-ref-shell {
  position: relative !important;
  z-index: 2 !important;
}

/* Верхнее меню: стабильная сетка, без налезания */
.site-header,
body.home-page .site-header,
body.brawl-store-page .site-header,
body.checkout-page .site-header,
body.cart-page .site-header {
  min-height: 0 !important;
  overflow: visible !important;
}

.header-inner {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 14px !important;
}

.top-nav {
  min-width: 0 !important;
  width: 100% !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 7px !important;
  overflow: visible !important;
}

.top-nav a,
body.brawl-store-page .top-nav a,
body.home-page .top-nav a {
  flex: 0 0 auto !important;
  min-width: auto !important;
  min-height: 38px !important;
  padding: 0 11px !important;
  font-size: 11px !important;
  line-height: 1 !important;
  border-radius: 12px !important;
  transform: none !important;
  translate: none !important;
}

.header-tools {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 8px !important;
  min-width: max-content !important;
}

.header-login {
  min-width: max-content !important;
  max-width: 190px !important;
  white-space: nowrap !important;
}

/* Ограниченное предложение / highlight карточка: ровная и без перекоса */
.v2-card.is-highlight,
body.brawl-store-page .v2-card.is-highlight,
.product-grid.store-v2 .v2-card.is-highlight {
  transform: none !important;
  translate: none !important;
  scale: 1 !important;
  rotate: 0deg !important;
  grid-column: auto !important;
  min-height: 380px !important;
  border-radius: 20px !important;
  overflow: hidden !important;
}

.v2-card.is-highlight::before,
.v2-card.is-highlight::after,
body.brawl-store-page .v2-card.is-highlight::before,
body.brawl-store-page .v2-card.is-highlight::after {
  pointer-events: none !important;
}

.v2-card.is-highlight .v2-art,
body.brawl-store-page .v2-card.is-highlight .v2-art {
  height: 170px !important;
  min-height: 170px !important;
  display: grid !important;
  place-items: center !important;
  padding: 12px !important;
}

.v2-card.is-highlight .v2-art-inner,
body.brawl-store-page .v2-card.is-highlight .v2-art-inner {
  width: 100% !important;
  height: 100% !important;
  display: grid !important;
  place-items: center !important;
}

.v2-card.is-highlight .product-main-art,
body.brawl-store-page .v2-card.is-highlight .product-main-art {
  max-width: 90% !important;
  max-height: 90% !important;
  object-fit: contain !important;
  object-position: center center !important;
  margin: auto !important;
  transform: none !important;
}

.v2-ribbon,
body.brawl-store-page .v2-ribbon {
  top: 10px !important;
  right: 10px !important;
  left: auto !important;
  bottom: auto !important;
  width: auto !important;
  height: auto !important;
  max-height: none !important;
  min-height: 28px !important;
  padding: 7px 10px !important;
  border-radius: 999px !important;
  writing-mode: horizontal-tb !important;
  transform: none !important;
  text-align: center !important;
  font-size: 10px !important;
  line-height: 1 !important;
  letter-spacing: .04em !important;
  white-space: nowrap !important;
}

.v2-discount,
body.brawl-store-page .v2-discount {
  top: 10px !important;
  left: 10px !important;
  transform: none !important;
}

.v2-amount,
body.brawl-store-page .v2-amount {
  top: 48px !important;
  right: 12px !important;
  transform: none !important;
}

/* Чуть выравниваем hero/limited offer на главной, если он есть */
.limited-offer,
.offer-card,
.special-offer,
.ref-offer,
.hero-offer,
.deal-card,
.promo-card,
.main-offer {
  transform: none !important;
  rotate: 0deg !important;
  translate: none !important;
  box-sizing: border-box !important;
}

/* Планшеты */
@media (max-width: 980px) {
  .site-header,
  body.home-page .site-header,
  body.brawl-store-page .site-header,
  body.checkout-page .site-header,
  body.cart-page .site-header {
    width: calc(100% - 18px) !important;
    margin: 8px auto 0 !important;
    padding: 10px !important;
    border-radius: 18px !important;
  }

  .header-inner {
    grid-template-columns: 1fr auto !important;
    gap: 10px !important;
  }

  .logo {
    min-width: 0 !important;
  }

  .header-tools {
    gap: 6px !important;
  }

  .top-nav {
    grid-column: 1 / -1 !important;
    justify-content: flex-start !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    padding: 4px 1px 2px !important;
    scroll-snap-type: x proximity !important;
    scrollbar-width: none !important;
  }

  .top-nav::-webkit-scrollbar {
    display: none !important;
  }

  .top-nav a,
  body.brawl-store-page .top-nav a,
  body.home-page .top-nav a {
    scroll-snap-align: start !important;
    min-height: 36px !important;
    padding: 0 12px !important;
    font-size: 11px !important;
    border-radius: 12px !important;
  }

  .header-login {
    max-width: none !important;
    min-height: 38px !important;
    padding: 0 12px !important;
    font-size: 11px !important;
  }

  .header-cart {
    min-height: 38px !important;
  }

  /* На телефонах и планшетах Charlie видна аккуратным углом в блоке */
  .checkout-ref-mascot,
  .cart-ref-mascot {
    display: block !important;
    position: absolute !important;
    left: auto !important;
    right: -18px !important;
    top: 38px !important;
    width: 138px !important;
    height: 170px !important;
    opacity: .55 !important;
    z-index: 1 !important;
    filter: drop-shadow(0 0 16px rgba(188,62,255,.55)) !important;
  }

  .checkout-ref-hero,
  .cart-ref-hero {
    position: relative !important;
    overflow: hidden !important;
    padding-right: 126px !important;
  }

  .checkout-ref-chest,
  .cart-ref-chest {
    display: none !important;
  }

  .v2-card.is-highlight,
  body.brawl-store-page .v2-card.is-highlight {
    min-height: 360px !important;
  }

  .v2-ribbon,
  body.brawl-store-page .v2-ribbon {
    font-size: 9px !important;
    padding: 6px 9px !important;
  }
}

/* Телефон */
@media (max-width: 560px) {
  .site-header,
  body.home-page .site-header,
  body.brawl-store-page .site-header,
  body.checkout-page .site-header,
  body.cart-page .site-header {
    width: calc(100% - 12px) !important;
    padding: 8px !important;
    border-radius: 16px !important;
  }

  .header-inner {
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 8px !important;
  }

  .logo {
    transform: none !important;
    min-width: 0 !important;
    overflow: hidden !important;
  }

  .brand-text,
  .logo span {
    max-width: 128px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  .header-tools {
    min-width: 0 !important;
    gap: 5px !important;
  }

  .header-login {
    max-width: 118px !important;
    min-height: 36px !important;
    padding: 0 9px !important;
    font-size: 10px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .header-cart {
    min-width: 38px !important;
    min-height: 36px !important;
    padding: 0 8px !important;
  }

  .top-nav {
    gap: 6px !important;
    padding-top: 6px !important;
  }

  .top-nav a,
  body.brawl-store-page .top-nav a,
  body.home-page .top-nav a {
    min-height: 34px !important;
    padding: 0 10px !important;
    font-size: 10px !important;
    border-radius: 11px !important;
  }

  .checkout-ref-mascot,
  .cart-ref-mascot {
    right: -26px !important;
    top: 50px !important;
    width: 118px !important;
    height: 150px !important;
    opacity: .62 !important;
  }

  .checkout-ref-hero,
  .cart-ref-hero {
    padding-right: 92px !important;
    min-height: 210px !important;
  }

  .checkout-ref-copy h1,
  .cart-ref-copy h1 {
    font-size: 26px !important;
    max-width: 100% !important;
  }

  .checkout-ref-copy p,
  .cart-ref-copy p {
    font-size: 13px !important;
    max-width: 100% !important;
  }

  .checkout-ref-chips span,
  .cart-ref-chips span {
    min-height: 30px !important;
    padding: 0 9px !important;
    font-size: 9px !important;
  }

  .v2-card.is-highlight,
  body.brawl-store-page .v2-card.is-highlight {
    min-height: 352px !important;
  }

  .v2-card.is-highlight .v2-art,
  body.brawl-store-page .v2-card.is-highlight .v2-art {
    height: 156px !important;
    min-height: 156px !important;
  }

  .v2-ribbon,
  body.brawl-store-page .v2-ribbon {
    top: 8px !important;
    right: 8px !important;
    max-width: calc(100% - 74px) !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .v2-discount,
  body.brawl-store-page .v2-discount {
    top: 8px !important;
    left: 8px !important;
  }

  .v2-amount,
  body.brawl-store-page .v2-amount {
    top: 42px !important;
    right: 10px !important;
    font-size: 20px !important;
  }
}


/* ============================================================
   V42 — mobile home/header cleanup based on screenshot
   ============================================================ */
@media (max-width: 760px) {
  /* mobile header: 2 clean rows + visible mobile nav */
  .site-header {
    display: grid !important;
    grid-template-columns: auto minmax(0,1fr) auto !important;
    grid-template-areas:
      "brand search cart"
      "buy buy buy" !important;
    align-items: center !important;
    gap: 8px !important;
    width: calc(100% - 12px) !important;
    margin: 8px auto 0 !important;
    padding: 8px !important;
    border-radius: 18px !important;
  }

  .brand { grid-area: brand !important; min-width: 0 !important; gap: 8px !important; }
  .brand-mark {
    width: 40px !important;
    height: 40px !important;
    border-radius: 12px !important;
    flex: 0 0 40px !important;
  }
  .brand-text span:first-child,
  .brand-text span:last-child {
    font-size: 13px !important;
    line-height: .88 !important;
  }

  .top-nav { display: none !important; }
  .menu-button { display: none !important; }

  .header-tools {
    display: contents !important;
  }

  .header-search {
    grid-area: search !important;
    min-width: 0 !important;
    width: 100% !important;
    min-height: 40px !important;
    padding: 0 12px !important;
    border-radius: 14px !important;
    font-size: 13px !important;
    overflow: hidden !important;
  }

  .header-search span {
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  .header-cart {
    grid-area: cart !important;
    min-width: 40px !important;
    width: 40px !important;
    height: 40px !important;
    min-height: 40px !important;
    padding: 0 !important;
    border-radius: 14px !important;
    justify-content: center !important;
  }

  .header-login {
    grid-area: buy !important;
    width: 100% !important;
    max-width: none !important;
    min-height: 40px !important;
    padding: 0 12px !important;
    border-radius: 14px !important;
    font-size: 12px !important;
    justify-content: center !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .mobile-nav {
    display: flex !important;
    width: calc(100% - 12px) !important;
    margin: 8px auto 0 !important;
    padding: 6px !important;
    gap: 6px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    border: 1px solid rgba(255,255,255,.08) !important;
    border-radius: 16px !important;
    background: rgba(10,12,32,.78) !important;
  }
  .mobile-nav::-webkit-scrollbar { display:none !important; }
  .mobile-nav a {
    flex: 0 0 auto !important;
    min-height: 34px !important;
    padding: 0 12px !important;
    border-radius: 11px !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    white-space: nowrap !important;
  }

  /* home hero compact and readable */
  .ref-home {
    position: relative !important;
    padding-top: 18px !important;
    padding-bottom: 22px !important;
    min-height: auto !important;
    overflow: hidden !important;
  }

  .ref-wall { display: none !important; }

  .ref-mascot {
    display: block !important;
    position: absolute !important;
    left: auto !important;
    right: -24px !important;
    top: 10px !important;
    width: 138px !important;
    max-width: 138px !important;
    height: 180px !important;
    max-height: none !important;
    margin: 0 !important;
    opacity: .95 !important;
    object-fit: contain !important;
    object-position: right top !important;
    z-index: 1 !important;
    filter: drop-shadow(0 10px 18px rgba(130,30,210,.34)) !important;
  }

  .ref-main,
  .ref-categories,
  .ref-offers,
  .ref-trust {
    width: calc(100% - 12px) !important;
    margin: 0 auto !important;
  }

  .ref-main {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    padding-top: 0 !important;
  }

  .ref-hero-copy {
    position: relative !important;
    z-index: 2 !important;
    padding: 12px 92px 0 0 !important;
  }

  .ref-kicker {
    width: auto !important;
    max-width: calc(100% - 70px) !important;
    min-height: 34px !important;
    padding: 0 12px !important;
    border-radius: 999px !important;
    font-size: 10px !important;
    line-height: 1.1 !important;
  }

  .ref-title {
    margin: 14px 0 10px !important;
    font-size: clamp(34px, 10.2vw, 52px) !important;
    line-height: .92 !important;
    letter-spacing: -.05em !important;
    max-width: 100% !important;
    text-wrap: balance !important;
  }

  .ref-subtitle {
    max-width: 100% !important;
    font-size: 13px !important;
    line-height: 1.48 !important;
    padding-right: 12px !important;
  }

  .ref-benefits {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0,1fr)) !important;
    gap: 8px !important;
    width: 100% !important;
    margin-top: 14px !important;
  }

  .ref-benefits div {
    min-height: 48px !important;
    padding: 8px 10px !important;
    border-radius: 14px !important;
  }

  .ref-benefits b { font-size: 15px !important; }
  .ref-benefits span { font-size: 10px !important; line-height: 1.15 !important; }

  .ref-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    margin-top: 14px !important;
  }

  .ref-btn {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 46px !important;
    border-radius: 14px !important;
    font-size: 13px !important;
    justify-content: center !important;
  }

  .ref-promo {
    width: 100% !important;
    max-width: none !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 16px !important;
    border-radius: 18px !important;
  }

  .ref-promo-label {
    font-size: 10px !important;
    line-height: 1.1 !important;
    margin-bottom: 10px !important;
  }

  .ref-promo h2 {
    margin: 0 0 12px !important;
    font-size: 30px !important;
    line-height: .94 !important;
    max-width: 70% !important;
  }

  .ref-promo-art {
    min-height: 110px !important;
    height: 110px !important;
    margin-bottom: 12px !important;
  }

  .ref-promo-art img:first-child {
    width: 108px !important;
    left: 6px !important;
    bottom: 0 !important;
  }

  .ref-promo-art img:last-child {
    width: 92px !important;
    right: 14px !important;
    bottom: 6px !important;
  }

  .ref-promo-art span {
    right: 4px !important;
    top: 0 !important;
    width: 54px !important;
    height: 54px !important;
    font-size: 16px !important;
    line-height: .95 !important;
  }

  .ref-promo-btn {
    width: 100% !important;
    min-height: 46px !important;
    border-radius: 14px !important;
    font-size: 13px !important;
  }

  .ref-categories {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0,1fr)) !important;
    gap: 10px !important;
    margin-top: 14px !important;
  }
  .ref-cat:last-child { grid-column: 1 / -1 !important; }

  .ref-cat {
    min-height: 100px !important;
    padding: 12px !important;
    border-radius: 16px !important;
  }

  .ref-cat strong { font-size: 16px !important; }
  .ref-cat span { font-size: 11px !important; }
  .ref-cat img {
    width: 54px !important;
    height: 54px !important;
    right: 8px !important;
    bottom: 8px !important;
  }

  .ref-offers { margin-top: 16px !important; }
  .ref-offers-head h2 { font-size: 22px !important; }
  .ref-offer-row {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  .ref-offer,
  .ref-offer--wide {
    min-height: 94px !important;
    padding: 12px !important;
    border-radius: 16px !important;
  }

  .ref-offer img {
    width: 74px !important;
    height: 56px !important;
    object-fit: contain !important;
  }

  .ref-trust {
    display: grid !important;
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;
    gap: 8px !important;
    margin-top: 14px !important;
  }

  .ref-trust span {
    min-height: 38px !important;
    padding: 8px 10px !important;
    border-radius: 12px !important;
    font-size: 11px !important;
    justify-content: center !important;
    text-align: center !important;
  }
}

@media (max-width: 400px) {
  .brand-text span:first-child,
  .brand-text span:last-child { font-size: 12px !important; }
  .header-search { padding: 0 10px !important; }
  .header-login { font-size: 11px !important; }
  .ref-title { font-size: 32px !important; }
  .ref-benefits { grid-template-columns: 1fr 1fr !important; }
  .ref-categories { grid-template-columns: 1fr !important; }
  .ref-cat:last-child { grid-column: auto !important; }
}


/* ============================================================
   V43 — remove mobile search, center home, fix Charlie + categories nav
   ============================================================ */
@media (max-width: 760px) {
  /* simpler mobile header */
  .site-header {
    grid-template-columns: auto 1fr auto !important;
    grid-template-areas:
      "brand . cart"
      "buy buy buy" !important;
    gap: 8px !important;
  }

  .header-search { display: none !important; }

  .brand {
    align-self: center !important;
  }

  .header-cart {
    justify-self: end !important;
  }

  .header-login {
    margin-top: 2px !important;
  }

  /* mobile categories menu: avoid clipping first item */
  .mobile-nav {
    width: calc(100% - 12px) !important;
    padding: 8px !important;
    gap: 8px !important;
    justify-content: flex-start !important;
    scroll-padding-left: 8px !important;
  }

  .mobile-nav a {
    min-width: max-content !important;
    padding: 0 14px !important;
    text-align: center !important;
  }

  .mobile-nav a:first-child {
    margin-left: 2px !important;
  }

  /* hero centered and more compact */
  .ref-main {
    gap: 12px !important;
  }

  .ref-hero-copy {
    padding: 10px 0 0 !important;
    text-align: center !important;
    display: grid !important;
    justify-items: center !important;
  }

  .ref-kicker {
    max-width: 100% !important;
    margin: 0 auto !important;
  }

  .ref-title {
    width: 100% !important;
    text-align: center !important;
    margin: 12px auto 8px !important;
    font-size: clamp(32px, 9.6vw, 46px) !important;
  }

  .ref-subtitle {
    padding-right: 0 !important;
    text-align: center !important;
    max-width: 100% !important;
    margin: 0 auto !important;
  }

  .ref-benefits {
    margin-top: 12px !important;
  }

  .ref-actions {
    width: 100% !important;
  }

  /* Charlie: place neatly at the right edge, not floating too low */
  .ref-home {
    padding-top: 12px !important;
  }

  .ref-mascot {
    right: -8px !important;
    top: 124px !important;
    width: 104px !important;
    max-width: 104px !important;
    height: 150px !important;
    opacity: .96 !important;
    object-position: right center !important;
    z-index: 3 !important;
  }

  /* limited offer card centered */
  .ref-promo {
    justify-self: stretch !important;
  }

  .ref-promo h2 {
    max-width: 100% !important;
    text-align: left !important;
  }

  /* categories cards below hero, neatly centered */
  .ref-categories {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    align-items: stretch !important;
  }

  .ref-cat {
    text-align: left !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
  }

  .ref-cat strong,
  .ref-cat span {
    max-width: calc(100% - 54px) !important;
  }

  /* featured offers and trust blocks centered */
  .ref-offers-head,
  .ref-trust {
    text-align: center !important;
  }

  .ref-offers-head {
    justify-content: center !important;
  }
}

@media (max-width: 560px) {
  .site-header {
    width: calc(100% - 10px) !important;
    padding: 8px !important;
  }

  .brand-mark {
    width: 38px !important;
    height: 38px !important;
    flex-basis: 38px !important;
  }

  .brand-text span:first-child,
  .brand-text span:last-child {
    font-size: 12px !important;
  }

  .header-cart {
    width: 38px !important;
    min-width: 38px !important;
    height: 38px !important;
    min-height: 38px !important;
  }

  .header-login {
    min-height: 38px !important;
    font-size: 11px !important;
  }

  .mobile-nav {
    width: calc(100% - 10px) !important;
    gap: 7px !important;
    padding: 7px !important;
  }

  .mobile-nav a {
    min-height: 33px !important;
    padding: 0 13px !important;
    font-size: 10px !important;
  }

  .ref-title {
    font-size: 30px !important;
    line-height: .94 !important;
  }

  .ref-subtitle {
    font-size: 12px !important;
    line-height: 1.45 !important;
  }

  .ref-mascot {
    right: -10px !important;
    top: 136px !important;
    width: 92px !important;
    max-width: 92px !important;
    height: 136px !important;
  }

  .ref-benefits {
    grid-template-columns: 1fr 1fr !important;
  }

  .ref-benefits div {
    min-height: 44px !important;
    padding: 8px !important;
  }

  .ref-benefits span {
    font-size: 9px !important;
  }

  .ref-categories {
    grid-template-columns: 1fr 1fr !important;
  }

  .ref-cat {
    min-height: 92px !important;
  }

  .ref-cat strong { font-size: 15px !important; }
  .ref-cat span { font-size: 10px !important; }
}

@media (max-width: 400px) {
  .ref-mascot {
    width: 84px !important;
    max-width: 84px !important;
    height: 126px !important;
    top: 138px !important;
  }

  .ref-categories {
    grid-template-columns: 1fr !important;
  }
}


/* ============================================================
   V44 — mobile: Charlie on left, clean title, tighter nav/catalog
   ============================================================ */
@media (max-width: 760px) {
  /* keep button closer to header */
  .site-header { gap: 6px !important; }
  .header-login { margin-top: 0 !important; }

  /* mobile nav: smaller labels so nothing gets clipped */
  .mobile-nav {
    width: calc(100% - 10px) !important;
    margin-top: 6px !important;
    padding: 7px 10px !important;
    gap: 6px !important;
    justify-content: flex-start !important;
  }

  .mobile-nav a {
    min-height: 32px !important;
    padding: 0 11px !important;
    font-size: 9px !important;
    letter-spacing: 0 !important;
    flex: 0 0 auto !important;
  }

  /* hero text cleaner and truly centered */
  .ref-main { gap: 10px !important; }

  .ref-hero-copy {
    padding: 10px 0 0 !important;
    position: relative !important;
    z-index: 2 !important;
    text-align: center !important;
  }

  .ref-kicker {
    margin: 0 auto !important;
    max-width: 100% !important;
  }

  .ref-title {
    display: block !important;
    margin: 10px auto 10px !important;
    max-width: 100% !important;
    font-size: clamp(28px, 8.9vw, 40px) !important;
    line-height: 0.98 !important;
    letter-spacing: -0.045em !important;
    text-align: center !important;
    word-break: keep-all !important;
    overflow-wrap: normal !important;
  }

  .ref-subtitle {
    max-width: 100% !important;
    margin: 0 auto !important;
    text-align: center !important;
    font-size: 11px !important;
    line-height: 1.42 !important;
  }

  /* Charlie on the left, away from title */
  .ref-home {
    padding-top: 10px !important;
    overflow: hidden !important;
  }

  .ref-mascot {
    left: -10px !important;
    right: auto !important;
    top: 338px !important;
    width: 88px !important;
    max-width: 88px !important;
    height: 128px !important;
    object-fit: contain !important;
    object-position: left center !important;
    opacity: .96 !important;
    z-index: 3 !important;
  }

  /* benefits: keep text away from Charlie */
  .ref-benefits {
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
    margin-top: 12px !important;
    padding-left: 56px !important;
  }

  .ref-benefits div {
    min-height: 44px !important;
    padding: 8px !important;
  }

  .ref-benefits b {
    font-size: 14px !important;
  }

  .ref-benefits span {
    font-size: 9px !important;
    line-height: 1.1 !important;
  }

  .ref-actions {
    width: 100% !important;
    gap: 8px !important;
  }

  .ref-btn {
    min-height: 44px !important;
    font-size: 12px !important;
  }

  /* promo card title and art tighter */
  .ref-promo {
    padding: 14px !important;
    border-radius: 18px !important;
  }

  .ref-promo h2 {
    font-size: 26px !important;
    line-height: 0.98 !important;
    max-width: 100% !important;
  }

  .ref-promo-art {
    height: 98px !important;
    min-height: 98px !important;
  }

  .ref-promo-art img:first-child {
    width: 88px !important;
  }

  .ref-promo-art img:last-child {
    width: 84px !important;
  }

  /* catalog category cards on home */
  .ref-categories {
    grid-template-columns: repeat(2, minmax(0,1fr)) !important;
    gap: 9px !important;
  }

  .ref-cat {
    min-height: 86px !important;
    padding: 10px !important;
  }

  .ref-cat strong {
    font-size: 14px !important;
    line-height: 1.05 !important;
    max-width: calc(100% - 46px) !important;
  }

  .ref-cat span {
    font-size: 9px !important;
    line-height: 1.2 !important;
    max-width: calc(100% - 46px) !important;
  }

  .ref-cat img {
    width: 44px !important;
    height: 44px !important;
    right: 8px !important;
    bottom: 8px !important;
  }

  /* product catalog page filter bar and cards */
  body.brawl-store-page .product-toolbar {
    gap: 10px !important;
    padding: 10px !important;
  }

  body.brawl-store-page .segmented {
    gap: 8px !important;
    padding-bottom: 2px !important;
  }

  body.brawl-store-page .segmented button {
    min-height: 34px !important;
    padding: 0 10px !important;
    font-size: 10px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }

  body.brawl-store-page .product-toolbar .ghost-button {
    min-height: 34px !important;
    padding: 0 11px !important;
    font-size: 10px !important;
    white-space: nowrap !important;
  }

  body.brawl-store-page .product-grid.store-v2,
  body.brawl-store-page .product-grid.store-v2.product-grid--single,
  body.brawl-store-page .product-grid.store-v2.product-grid--few {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  body.brawl-store-page .v2-card {
    min-height: 332px !important;
  }

  body.brawl-store-page .v2-title {
    font-size: 16px !important;
    line-height: 1.15 !important;
  }

  body.brawl-store-page .v2-bonus {
    font-size: 11px !important;
    padding: 0 10px !important;
  }
}

@media (max-width: 560px) {
  .header-login {
    min-height: 36px !important;
    font-size: 10px !important;
  }

  .mobile-nav a {
    font-size: 9px !important;
    padding: 0 10px !important;
  }

  .ref-title {
    font-size: 27px !important;
  }

  .ref-subtitle {
    font-size: 10px !important;
  }

  .ref-mascot {
    left: -12px !important;
    top: 330px !important;
    width: 82px !important;
    max-width: 82px !important;
    height: 118px !important;
  }

  .ref-benefits {
    padding-left: 52px !important;
  }

  .ref-cat strong { font-size: 13px !important; }
  .ref-cat span { font-size: 8.5px !important; }
}

@media (max-width: 400px) {
  .ref-mascot {
    left: -14px !important;
    top: 324px !important;
    width: 76px !important;
    max-width: 76px !important;
    height: 110px !important;
  }
  .ref-benefits {
    padding-left: 48px !important;
  }
}


/* ============================================================
   V45 — mobile cleanup after screenshots
   ============================================================ */
@media (max-width: 760px) {
  /* kill sticky overlay on mobile */
  body.home-page .site-header,
  body.home-page .mobile-nav,
  body.brawl-store-page .site-header,
  body.brawl-store-page .mobile-nav {
    position: static !important;
    top: auto !important;
    z-index: auto !important;
  }

  body.home-page .site-header,
  body.brawl-store-page .site-header {
    width: calc(100% - 12px) !important;
    margin: 8px auto 0 !important;
    padding: 8px !important;
    border-radius: 18px !important;
    min-height: 0 !important;
  }

  body.home-page .mobile-nav,
  body.brawl-store-page .mobile-nav {
    width: calc(100% - 12px) !important;
    margin: 6px auto 0 !important;
    padding: 6px 8px !important;
    gap: 6px !important;
    border-radius: 16px !important;
    overflow-x: auto !important;
    justify-content: flex-start !important;
    scrollbar-width: none !important;
    -webkit-overflow-scrolling: touch !important;
  }
  body.home-page .mobile-nav::-webkit-scrollbar,
  body.brawl-store-page .mobile-nav::-webkit-scrollbar { display:none !important; }

  body.home-page .mobile-nav a,
  body.brawl-store-page .mobile-nav a {
    flex: 0 0 auto !important;
    min-width: max-content !important;
    min-height: 34px !important;
    padding: 0 12px !important;
    font-size: 10px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }

  /* top header compact */
  .brand-mark {
    width: 38px !important;
    height: 38px !important;
    flex: 0 0 38px !important;
  }
  .brand-text span:first-child,
  .brand-text span:last-child {
    font-size: 12px !important;
    line-height: .92 !important;
  }

  .header-cart {
    width: 38px !important;
    min-width: 38px !important;
    height: 38px !important;
    min-height: 38px !important;
  }

  .header-login {
    min-height: 38px !important;
    margin-top: 0 !important;
    font-size: 11px !important;
  }

  /* home hero */
  .ref-home {
    padding-top: 10px !important;
    padding-bottom: 18px !important;
    overflow: hidden !important;
  }

  .ref-main,
  .ref-categories,
  .ref-offers,
  .ref-trust {
    width: calc(100% - 12px) !important;
    margin: 0 auto !important;
  }

  .ref-main {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .ref-hero-copy {
    position: relative !important;
    z-index: 2 !important;
    padding: 8px 0 0 !important;
    text-align: center !important;
    justify-items: center !important;
  }

  .ref-kicker {
    margin: 0 auto !important;
    max-width: 100% !important;
    min-height: 34px !important;
    padding: 0 12px !important;
    font-size: 10px !important;
  }

  .ref-title {
    display: block !important;
    margin: 10px auto 8px !important;
    max-width: 100% !important;
    font-size: 30px !important;
    line-height: 0.98 !important;
    letter-spacing: -0.045em !important;
    text-align: center !important;
    color: #ffffff !important;
    text-shadow: 0 2px 0 rgba(0,0,0,.35), 0 0 10px rgba(255,199,73,.12) !important;
    -webkit-text-fill-color: currentColor !important;
    background: none !important;
    -webkit-background-clip: initial !important;
    word-break: keep-all !important;
    overflow-wrap: normal !important;
  }

  .ref-title span {
    color: #d36bff !important;
    text-shadow: 0 2px 0 rgba(0,0,0,.35), 0 0 10px rgba(211,107,255,.16) !important;
    background: none !important;
    -webkit-text-fill-color: currentColor !important;
    -webkit-background-clip: initial !important;
  }

  .ref-subtitle {
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
    text-align: center !important;
    font-size: 11px !important;
    line-height: 1.42 !important;
  }

  /* Charlie on left-middle as requested */
  .ref-mascot {
    left: -26px !important;
    right: auto !important;
    top: 108px !important;
    width: 102px !important;
    max-width: 102px !important;
    height: 170px !important;
    max-height: none !important;
    object-fit: contain !important;
    object-position: left center !important;
    opacity: .98 !important;
    z-index: 2 !important;
    filter: drop-shadow(0 10px 18px rgba(132, 52, 220, .28)) !important;
    pointer-events: none !important;
  }

  /* leave space so Charlie doesn't cover benefit cards */
  .ref-benefits {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
    margin-top: 12px !important;
    padding-left: 52px !important;
  }

  .ref-benefits div {
    min-height: 46px !important;
    padding: 8px !important;
    border-radius: 14px !important;
  }
  .ref-benefits b { font-size: 14px !important; }
  .ref-benefits span { font-size: 9px !important; line-height: 1.1 !important; }

  .ref-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 8px !important;
    margin-top: 12px !important;
  }
  .ref-btn {
    width: 100% !important;
    min-height: 44px !important;
    font-size: 12px !important;
  }

  .ref-promo {
    min-height: 0 !important;
    padding: 14px !important;
    border-radius: 18px !important;
  }

  .ref-promo-label {
    font-size: 10px !important;
    margin-bottom: 8px !important;
  }

  .ref-promo h2 {
    font-size: 26px !important;
    line-height: 1.0 !important;
    max-width: 100% !important;
    margin-bottom: 10px !important;
  }

  .ref-promo-art {
    height: 104px !important;
    min-height: 104px !important;
    margin: 8px 0 12px !important;
  }
  .ref-promo-art img:first-child { width: 92px !important; left: 6px !important; }
  .ref-promo-art img:nth-child(2) { width: 92px !important; right: 10px !important; }
  .ref-promo-art span {
    width: 56px !important;
    height: 56px !important;
    right: 6px !important;
    top: 0 !important;
    font-size: 16px !important;
  }
  .ref-promo-btn {
    width: 100% !important;
    min-height: 44px !important;
    font-size: 12px !important;
  }

  /* home categories */
  .ref-categories {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
    margin-top: 12px !important;
  }

  .ref-cat {
    min-height: 98px !important;
    padding: 10px !important;
    border-radius: 16px !important;
  }
  .ref-cat:last-child { grid-column: 1 / -1 !important; }
  .ref-cat strong {
    font-size: 14px !important;
    line-height: 1.08 !important;
    max-width: calc(100% - 48px) !important;
  }
  .ref-cat span {
    font-size: 9px !important;
    line-height: 1.22 !important;
    max-width: calc(100% - 48px) !important;
  }
  .ref-cat img {
    width: 46px !important;
    height: 46px !important;
    right: 8px !important;
    bottom: 8px !important;
  }

  /* offers grid and trust */
  .ref-offers { margin-top: 14px !important; }
  .ref-offers-head h2 { font-size: 20px !important; }
  .ref-offer-row {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }
  .ref-offer {
    min-height: 116px !important;
    padding: 12px !important;
  }
  .ref-offer img { width: 74px !important; height: 58px !important; }

  .ref-trust {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
    margin-top: 12px !important;
  }
  .ref-trust span {
    min-height: 36px !important;
    padding: 8px !important;
    font-size: 10px !important;
    text-align: center !important;
    justify-content: center !important;
  }

  /* product catalog page */
  body.brawl-store-page .product-toolbar {
    padding: 10px !important;
    gap: 10px !important;
  }
  body.brawl-store-page .segmented {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    gap: 8px !important;
    padding-bottom: 2px !important;
    scrollbar-width: none !important;
  }
  body.brawl-store-page .segmented::-webkit-scrollbar { display:none !important; }
  body.brawl-store-page .segmented button,
  body.brawl-store-page .product-toolbar .ghost-button {
    flex: 0 0 auto !important;
    min-height: 34px !important;
    padding: 0 10px !important;
    font-size: 10px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }
  body.brawl-store-page .product-grid.store-v2,
  body.brawl-store-page .product-grid.store-v2.product-grid--single,
  body.brawl-store-page .product-grid.store-v2.product-grid--few {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  body.brawl-store-page .v2-card { min-height: 336px !important; }
  body.brawl-store-page .v2-title { font-size: 16px !important; line-height: 1.14 !important; }
  body.brawl-store-page .v2-bonus { font-size: 11px !important; padding: 0 10px !important; }
}

@media (max-width: 400px) {
  .ref-title { font-size: 28px !important; }
  .ref-subtitle { font-size: 10px !important; }
  .ref-mascot {
    left: -28px !important;
    top: 110px !important;
    width: 92px !important;
    max-width: 92px !important;
    height: 156px !important;
  }
  .ref-benefits { padding-left: 44px !important; }
  .ref-cat { min-height: 92px !important; }
}


/* ============================================================
   V46 — final mobile cleanup:
   1 menu only, normal Charlie left, compact cart/catalog/cards
   ============================================================ */
@media (max-width: 760px) {
  html,
  body {
    overflow-x: hidden !important;
  }

  /* one mobile menu only: hide duplicated header nav */
  .top-nav,
  body.home-page .top-nav,
  body.brawl-store-page .top-nav,
  body.checkout-page .top-nav,
  body.cart-page .top-nav {
    display: none !important;
  }

  .site-header,
  body.home-page .site-header,
  body.brawl-store-page .site-header,
  body.checkout-page .site-header,
  body.cart-page .site-header {
    position: static !important;
    top: auto !important;
    width: calc(100% - 12px) !important;
    margin: 8px auto 0 !important;
    padding: 8px !important;
    border-radius: 18px !important;
    min-height: 0 !important;
    display: grid !important;
    grid-template-columns: auto 1fr auto !important;
    grid-template-areas:
      "brand . cart"
      "buy buy buy" !important;
    gap: 7px !important;
    overflow: hidden !important;
  }

  .brand {
    grid-area: brand !important;
    min-width: 0 !important;
    gap: 8px !important;
  }

  .brand-mark {
    width: 38px !important;
    height: 38px !important;
    flex: 0 0 38px !important;
    border-radius: 12px !important;
  }

  .brand-text span:first-child,
  .brand-text span:last-child {
    font-size: 12px !important;
    line-height: .9 !important;
    max-width: 116px !important;
  }

  .header-tools {
    display: contents !important;
  }

  .header-search {
    display: none !important;
  }

  .header-cart {
    grid-area: cart !important;
    justify-self: end !important;
    width: 38px !important;
    min-width: 38px !important;
    height: 38px !important;
    min-height: 38px !important;
    padding: 0 !important;
    border-radius: 14px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .header-login {
    grid-area: buy !important;
    width: 100% !important;
    max-width: none !important;
    min-height: 38px !important;
    margin: 0 !important;
    padding: 0 12px !important;
    border-radius: 14px !important;
    justify-content: center !important;
    font-size: 11px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }

  .menu-button {
    display: none !important;
  }

  .mobile-nav,
  .mobile-nav.open,
  .mobile-nav[data-open="true"],
  body.home-page .mobile-nav,
  body.brawl-store-page .mobile-nav,
  body.checkout-page .mobile-nav,
  body.cart-page .mobile-nav {
    position: static !important;
    top: auto !important;
    z-index: 1 !important;
    display: flex !important;
    width: calc(100% - 12px) !important;
    margin: 6px auto 0 !important;
    padding: 6px 8px !important;
    gap: 6px !important;
    border-radius: 16px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    justify-content: flex-start !important;
    background: rgba(11, 13, 32, .92) !important;
  }

  .mobile-nav::-webkit-scrollbar {
    display: none !important;
  }

  .mobile-nav a {
    flex: 0 0 auto !important;
    min-width: max-content !important;
    min-height: 33px !important;
    padding: 0 11px !important;
    border-radius: 12px !important;
    font-size: 9.5px !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
    white-space: nowrap !important;
  }

  .mobile-nav a.active {
    color: #1d0b05 !important;
  }

  /* home hero: plain centered text, no broken shadow */
  .ref-home {
    padding-top: 10px !important;
    padding-bottom: 18px !important;
    overflow: hidden !important;
  }

  .ref-wall {
    display: none !important;
  }

  .ref-main,
  .ref-categories,
  .ref-offers,
  .ref-trust {
    width: calc(100% - 12px) !important;
    margin: 0 auto !important;
    padding-left: 0 !important;
  }

  .ref-main {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 11px !important;
  }

  .ref-hero-copy {
    position: relative !important;
    z-index: 3 !important;
    display: grid !important;
    justify-items: center !important;
    text-align: center !important;
    padding: 8px 0 0 !important;
  }

  .ref-kicker {
    min-height: 32px !important;
    padding: 0 12px !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    font-size: 9.5px !important;
    line-height: 1.05 !important;
  }

  .ref-title {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 10px auto 8px !important;
    text-align: center !important;
    font-size: clamp(28px, 8.8vw, 38px) !important;
    line-height: .98 !important;
    letter-spacing: -0.04em !important;
    color: #ffffff !important;
    text-shadow: 0 2px 0 rgba(0,0,0,.35) !important;
    background: none !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: currentColor !important;
    word-break: keep-all !important;
    overflow-wrap: normal !important;
  }

  .ref-title span {
    color: #d66cff !important;
    background: none !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: currentColor !important;
    text-shadow: 0 2px 0 rgba(0,0,0,.35) !important;
  }

  .ref-subtitle {
    max-width: 94% !important;
    margin: 0 auto !important;
    padding: 0 !important;
    text-align: center !important;
    font-size: 10.5px !important;
    line-height: 1.42 !important;
  }

  /* Charlie: left, visible, not cropped over text */
  .ref-mascot {
    display: block !important;
    position: absolute !important;
    left: 8px !important;
    right: auto !important;
    top: 258px !important;
    width: 70px !important;
    max-width: 70px !important;
    height: 124px !important;
    max-height: none !important;
    object-fit: contain !important;
    object-position: left center !important;
    opacity: .95 !important;
    z-index: 2 !important;
    pointer-events: none !important;
    filter: drop-shadow(0 8px 14px rgba(139, 54, 230, .25)) !important;
  }

  .ref-benefits {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
    width: 100% !important;
    margin-top: 12px !important;
    padding-left: 72px !important;
  }

  .ref-benefits div {
    min-height: 44px !important;
    padding: 7px !important;
    border-radius: 14px !important;
    display: grid !important;
    grid-template-columns: 32px 1fr !important;
    gap: 7px !important;
    align-items: center !important;
  }

  .ref-benefits b {
    width: 32px !important;
    height: 32px !important;
    font-size: 13px !important;
  }

  .ref-benefits span {
    font-size: 8.8px !important;
    line-height: 1.08 !important;
    text-align: left !important;
  }

  .ref-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 8px !important;
    width: 100% !important;
    margin-top: 12px !important;
  }

  .ref-btn {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 43px !important;
    border-radius: 15px !important;
    font-size: 12px !important;
    justify-content: center !important;
  }

  /* mega pack: smaller and fully visible */
  .ref-promo {
    width: 100% !important;
    max-width: none !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 14px !important;
    border-radius: 18px !important;
  }

  .ref-promo-label {
    font-size: 9.5px !important;
    margin-bottom: 8px !important;
  }

  .ref-promo h2 {
    font-size: 24px !important;
    line-height: 1 !important;
    max-width: 100% !important;
    margin: 0 0 8px !important;
  }

  .ref-promo-art {
    height: 98px !important;
    min-height: 98px !important;
    margin: 6px 0 12px !important;
  }

  .ref-promo-art img:first-child {
    width: 86px !important;
    left: 8px !important;
    bottom: 0 !important;
  }

  .ref-promo-art img:nth-child(2) {
    width: 88px !important;
    right: 10px !important;
    bottom: 4px !important;
  }

  .ref-promo-art span {
    width: 52px !important;
    height: 52px !important;
    right: 6px !important;
    top: 0 !important;
    font-size: 15px !important;
  }

  .ref-promo-btn {
    width: 100% !important;
    min-height: 43px !important;
    border-radius: 15px !important;
    font-size: 12px !important;
  }

  /* home category cards */
  .ref-categories {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
    margin-top: 12px !important;
  }

  .ref-cat {
    min-height: 92px !important;
    padding: 10px !important;
    border-radius: 16px !important;
    overflow: hidden !important;
  }

  .ref-cat:last-child {
    grid-column: 1 / -1 !important;
  }

  .ref-cat strong {
    font-size: 13px !important;
    line-height: 1.08 !important;
    max-width: calc(100% - 46px) !important;
  }

  .ref-cat span {
    font-size: 8.8px !important;
    line-height: 1.18 !important;
    max-width: calc(100% - 46px) !important;
  }

  .ref-cat img {
    width: 44px !important;
    height: 44px !important;
    right: 8px !important;
    bottom: 8px !important;
    object-fit: contain !important;
  }

  .ref-offers {
    margin-top: 14px !important;
  }

  .ref-offers-head {
    justify-content: center !important;
    text-align: center !important;
  }

  .ref-offers-head h2 {
    font-size: 20px !important;
  }

  .ref-offer-row {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  .ref-offer {
    min-height: 112px !important;
    padding: 12px !important;
  }

  .ref-offer img {
    width: 72px !important;
    height: 56px !important;
    object-fit: contain !important;
  }

  /* cart/checkout hero compact */
  .checkout-ref-page,
  body.checkout-page .checkout-ref-page,
  body.cart-page .checkout-ref-page {
    padding-top: 18px !important;
  }

  .checkout-ref-hero,
  .cart-ref-hero {
    padding: 16px !important;
    min-height: 0 !important;
    border-radius: 18px !important;
  }

  .checkout-ref-copy h1,
  .cart-ref-copy h1 {
    font-size: 28px !important;
    line-height: 1.05 !important;
    margin: 10px 0 8px !important;
  }

  .checkout-ref-copy p,
  .cart-ref-copy p {
    font-size: 12px !important;
    line-height: 1.45 !important;
  }

  .checkout-ref-chips,
  .cart-ref-chips {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
  }

  .checkout-ref-chips span,
  .cart-ref-chips span {
    min-height: 32px !important;
    padding: 0 8px !important;
    font-size: 9px !important;
    text-align: center !important;
    justify-content: center !important;
  }

  /* product catalog page: no huge cards */
  body.brawl-store-page .product-toolbar {
    margin-top: 14px !important;
    padding: 10px !important;
    gap: 9px !important;
  }

  body.brawl-store-page .segmented {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 7px !important;
    overflow-x: auto !important;
    scrollbar-width: none !important;
  }

  body.brawl-store-page .segmented::-webkit-scrollbar {
    display: none !important;
  }

  body.brawl-store-page .segmented button,
  body.brawl-store-page .product-toolbar .ghost-button {
    flex: 0 0 auto !important;
    min-height: 32px !important;
    padding: 0 10px !important;
    border-radius: 11px !important;
    font-size: 9.5px !important;
    white-space: nowrap !important;
  }

  body.brawl-store-page .product-grid.store-v2,
  body.brawl-store-page .product-grid.store-v2.product-grid--single,
  body.brawl-store-page .product-grid.store-v2.product-grid--few {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  body.brawl-store-page .v2-card {
    min-height: 288px !important;
    border-radius: 18px !important;
  }

  body.brawl-store-page .v2-art {
    height: 128px !important;
    min-height: 128px !important;
    padding: 8px !important;
  }

  body.brawl-store-page .v2-art-inner {
    width: 100% !important;
    height: 100% !important;
    display: grid !important;
    place-items: center !important;
  }

  body.brawl-store-page .product-main-art,
  body.brawl-store-page .v2-card--pass .v2-art .product-main-art,
  body.brawl-store-page .v2-card--pass-plus .v2-art .product-main-art,
  body.brawl-store-page .v2-card--pro .v2-art .product-main-art,
  body.brawl-store-page .v2-card--gems .v2-art .product-main-art {
    max-width: 78% !important;
    max-height: 112px !important;
    object-fit: contain !important;
    transform: none !important;
  }

  body.brawl-store-page .v2-body {
    min-height: 72px !important;
    padding: 12px 14px 6px !important;
    gap: 6px !important;
  }

  body.brawl-store-page .v2-title {
    font-size: 15px !important;
    line-height: 1.15 !important;
  }

  body.brawl-store-page .v2-bonus {
    min-height: 24px !important;
    font-size: 10px !important;
    padding: 0 9px !important;
  }

  body.brawl-store-page .v2-pricebar {
    padding: 0 14px 14px !important;
    gap: 8px !important;
  }

  body.brawl-store-page .v2-price {
    font-size: 18px !important;
  }

  body.brawl-store-page .v2-cart-btn,
  body.brawl-store-page .v2-buy {
    min-height: 38px !important;
    font-size: 10px !important;
  }
}

@media (max-width: 400px) {
  .ref-title {
    font-size: 27px !important;
  }

  .ref-subtitle {
    font-size: 10px !important;
  }

  .ref-mascot {
    left: 4px !important;
    top: 252px !important;
    width: 64px !important;
    max-width: 64px !important;
    height: 116px !important;
  }

  .ref-benefits {
    padding-left: 66px !important;
  }

  .ref-cat {
    min-height: 88px !important;
  }

  .ref-cat strong {
    font-size: 12px !important;
  }

  .ref-cat span {
    font-size: 8px !important;
  }
}


/* ============================================================
   V48 — desktop checkout repair + Platega terms tooltip visibility
   ============================================================ */

/* Desktop checkout: restore proper wide layout without breaking mobile */
@media (min-width: 761px) {
  body.checkout-page main,
  body.cart-page main {
    width: min(1180px, calc(100% - 48px)) !important;
    max-width: 1180px !important;
    margin: 0 auto !important;
    padding: 0 !important;
  }

  body.checkout-page .checkout-ref-page,
  body.cart-page .checkout-ref-page {
    width: 100% !important;
    max-width: none !important;
    min-height: auto !important;
    padding: 56px 0 70px !important;
    margin: 0 !important;
    overflow: visible !important;
  }

  body.checkout-page .checkout-ref-mascot,
  body.cart-page .checkout-ref-mascot,
  body.cart-page .cart-ref-mascot {
    display: none !important;
  }

  body.checkout-page .checkout-ref-shell,
  body.cart-page .checkout-ref-shell,
  body.cart-page .cart-ref-shell {
    width: 100% !important;
    max-width: 1180px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(420px, 460px) !important;
    gap: 26px !important;
    align-items: start !important;
  }

  body.checkout-page .checkout-ref-left,
  body.cart-page .checkout-ref-left,
  body.cart-page .cart-ref-left {
    min-width: 0 !important;
    display: grid !important;
    gap: 18px !important;
  }

  body.checkout-page .checkout-ref-hero,
  body.cart-page .checkout-ref-hero,
  body.cart-page .cart-ref-hero {
    min-height: 280px !important;
    padding: 32px !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 170px !important;
    gap: 22px !important;
    align-items: center !important;
    overflow: hidden !important;
  }

  body.checkout-page .checkout-ref-copy h1,
  body.cart-page .checkout-ref-copy h1,
  body.cart-page .cart-ref-copy h1 {
    max-width: 720px !important;
    margin: 16px 0 14px !important;
    font-size: clamp(42px, 4vw, 60px) !important;
    line-height: 1.02 !important;
    letter-spacing: -0.05em !important;
    text-align: left !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
  }

  body.checkout-page .checkout-ref-copy p,
  body.cart-page .checkout-ref-copy p,
  body.cart-page .cart-ref-copy p {
    max-width: 650px !important;
    font-size: 16px !important;
    line-height: 1.58 !important;
    text-align: left !important;
  }

  body.checkout-page .checkout-ref-chips,
  body.cart-page .checkout-ref-chips,
  body.cart-page .cart-ref-chips {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
  }

  body.checkout-page .checkout-ref-form,
  body.cart-page .checkout-ref-form,
  body.cart-page .cart-ref-panel {
    padding: 22px !important;
    overflow: visible !important;
  }

  body.checkout-page .checkout-ref-form .form-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 16px !important;
  }

  body.checkout-page .checkout-ref-order,
  body.cart-page .checkout-ref-order,
  body.cart-page .cart-ref-order {
    position: static !important;
    top: auto !important;
    min-height: 0 !important;
    width: 100% !important;
    padding: 26px !important;
    border-radius: 24px !important;
    overflow: visible !important;
  }

  body.checkout-page .checkout-ref-order .payment-box-head,
  body.cart-page .checkout-ref-order .payment-box-head,
  body.cart-page .cart-ref-order .payment-box-head {
    display: grid !important;
    grid-template-columns: 58px minmax(0, 1fr) !important;
    gap: 16px !important;
    align-items: start !important;
  }

  body.checkout-page .checkout-ref-order h2,
  body.cart-page .checkout-ref-order h2,
  body.cart-page .cart-ref-order h2 {
    font-size: clamp(34px, 3vw, 44px) !important;
    line-height: 1.04 !important;
    margin: 4px 0 8px !important;
  }

  body.checkout-page .payment-status-pill,
  body.cart-page .payment-status-pill {
    grid-column: 1 / -1 !important;
    justify-self: start !important;
  }
}

/* User agreement tooltip: make full text visible, not clipped by panels */
.checkout-ref-page,
.checkout-ref-shell,
.checkout-ref-left,
.checkout-ref-form,
.checkout-layout,
.checkout-card,
.form-x,
.field-x,
.consent-x,
.consent-label {
  overflow: visible !important;
}

.consent-info {
  position: static !important;
}

.consent-tip {
  position: fixed !important;
  left: 50% !important;
  right: auto !important;
  top: auto !important;
  bottom: 28px !important;
  transform: translateX(-50%) translateY(12px) !important;
  width: min(520px, calc(100vw - 28px)) !important;
  max-height: min(70vh, 520px) !important;
  overflow-y: auto !important;
  z-index: 99999 !important;
  padding: 18px 20px !important;
  border-radius: 18px !important;
  box-shadow: 0 28px 80px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.08) inset !important;
}

.consent-tip::after {
  display: none !important;
}

.consent-info:hover .consent-tip,
.consent-info:focus-visible .consent-tip,
.consent-info:active .consent-tip {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateX(-50%) translateY(0) !important;
  pointer-events: auto !important;
}

@media (max-width: 760px) {
  .consent-x {
    padding: 13px 14px !important;
    gap: 10px !important;
  }

  .consent-label {
    font-size: 12px !important;
    line-height: 1.45 !important;
  }

  .consent-tip {
    width: calc(100vw - 18px) !important;
    bottom: 12px !important;
    max-height: 74vh !important;
    padding: 16px !important;
    font-size: 12px !important;
  }
}


/* ============================================================
   V49 REAL FIX — desktop checkout + mobile terms + no cache
   ============================================================ */

/* DESKTOP CHECKOUT: force a normal page layout */
@media (min-width: 900px) {
  body.checkout-page,
  body.cart-page {
    overflow-x: hidden !important;
  }

  body.checkout-page .site-header,
  body.cart-page .site-header,
  body.brawl-store-page .site-header,
  body.home-page .site-header {
    width: min(1240px, calc(100% - 40px)) !important;
    max-width: 1240px !important;
    margin: 18px auto 0 !important;
  }

  body.checkout-page main,
  body.cart-page main {
    width: min(1240px, calc(100% - 40px)) !important;
    max-width: 1240px !important;
    margin: 0 auto !important;
    padding: 0 !important;
  }

  body.checkout-page .checkout-ref-page,
  body.cart-page .checkout-ref-page {
    width: 100% !important;
    max-width: 1240px !important;
    margin: 0 auto !important;
    padding: 46px 0 70px !important;
    min-height: auto !important;
    overflow: visible !important;
    display: block !important;
  }

  body.checkout-page .checkout-ref-mascot,
  body.cart-page .checkout-ref-mascot,
  body.cart-page .cart-ref-mascot,
  body.checkout-page .checkout-ref-web,
  body.cart-page .checkout-ref-web {
    display: none !important;
  }

  body.checkout-page .checkout-ref-shell,
  body.cart-page .checkout-ref-shell,
  body.cart-page .cart-ref-shell {
    width: 100% !important;
    max-width: 1240px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    display: grid !important;
    grid-template-columns: minmax(0, 760px) minmax(390px, 430px) !important;
    gap: 26px !important;
    align-items: start !important;
    justify-content: center !important;
    position: relative !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
  }

  body.checkout-page .checkout-ref-left,
  body.cart-page .checkout-ref-left,
  body.cart-page .cart-ref-left {
    width: 100% !important;
    max-width: 760px !important;
    min-width: 0 !important;
    display: grid !important;
    gap: 18px !important;
  }

  body.checkout-page .checkout-ref-hero,
  body.cart-page .checkout-ref-hero,
  body.cart-page .cart-ref-hero {
    width: 100% !important;
    min-height: 260px !important;
    padding: 30px !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 160px !important;
    gap: 22px !important;
    align-items: center !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  body.checkout-page .checkout-ref-copy,
  body.cart-page .checkout-ref-copy,
  body.cart-page .cart-ref-copy {
    min-width: 0 !important;
    width: 100% !important;
  }

  body.checkout-page .checkout-ref-copy h1,
  body.cart-page .checkout-ref-copy h1,
  body.cart-page .cart-ref-copy h1 {
    display: block !important;
    max-width: 620px !important;
    width: auto !important;
    margin: 16px 0 14px !important;
    padding: 0 !important;
    font-size: clamp(38px, 3.6vw, 56px) !important;
    line-height: 1.03 !important;
    letter-spacing: -0.05em !important;
    text-align: left !important;
    overflow: visible !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
  }

  body.checkout-page .checkout-ref-copy p,
  body.cart-page .checkout-ref-copy p,
  body.cart-page .cart-ref-copy p {
    max-width: 620px !important;
    font-size: 16px !important;
    line-height: 1.58 !important;
    text-align: left !important;
  }

  body.checkout-page .checkout-ref-chips,
  body.cart-page .checkout-ref-chips,
  body.cart-page .cart-ref-chips {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    margin-top: 18px !important;
  }

  body.checkout-page .checkout-ref-chips span,
  body.cart-page .checkout-ref-chips span,
  body.cart-page .cart-ref-chips span {
    width: auto !important;
    min-height: 36px !important;
    padding: 0 13px !important;
    font-size: 11px !important;
  }

  body.checkout-page .checkout-ref-chest,
  body.cart-page .checkout-ref-chest,
  body.cart-page .cart-ref-chest {
    display: grid !important;
    min-height: 160px !important;
  }

  body.checkout-page .checkout-ref-form,
  body.cart-page .checkout-ref-form,
  body.cart-page .cart-ref-panel {
    width: 100% !important;
    padding: 22px !important;
    box-sizing: border-box !important;
    overflow: visible !important;
  }

  body.checkout-page .checkout-ref-form .form-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 16px !important;
  }

  body.checkout-page .checkout-ref-order,
  body.cart-page .checkout-ref-order,
  body.cart-page .cart-ref-order,
  body.checkout-page .payment-box,
  body.cart-page .payment-box {
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    width: 100% !important;
    max-width: 430px !important;
    min-height: 0 !important;
    padding: 26px !important;
    border-radius: 24px !important;
    overflow: visible !important;
    box-sizing: border-box !important;
  }

  body.checkout-page .checkout-ref-order .payment-box-head,
  body.cart-page .checkout-ref-order .payment-box-head,
  body.cart-page .cart-ref-order .payment-box-head,
  body.checkout-page .payment-box-head,
  body.cart-page .payment-box-head {
    display: grid !important;
    grid-template-columns: 54px minmax(0, 1fr) !important;
    gap: 16px !important;
    align-items: start !important;
  }

  body.checkout-page .checkout-ref-order h2,
  body.cart-page .checkout-ref-order h2,
  body.cart-page .cart-ref-order h2,
  body.checkout-page .payment-box h2,
  body.cart-page .payment-box h2 {
    font-size: clamp(32px, 2.8vw, 42px) !important;
    line-height: 1.05 !important;
    margin: 4px 0 8px !important;
    white-space: normal !important;
  }

  body.checkout-page .payment-status-pill,
  body.cart-page .payment-status-pill {
    grid-column: 1 / -1 !important;
    justify-self: start !important;
    align-self: start !important;
  }
}

/* TABLET fallback */
@media (min-width: 761px) and (max-width: 1100px) {
  body.checkout-page .checkout-ref-shell,
  body.cart-page .checkout-ref-shell,
  body.cart-page .cart-ref-shell {
    grid-template-columns: 1fr !important;
    max-width: 760px !important;
  }

  body.checkout-page .checkout-ref-order,
  body.cart-page .checkout-ref-order,
  body.cart-page .cart-ref-order,
  body.checkout-page .payment-box,
  body.cart-page .payment-box {
    max-width: none !important;
  }
}

/* MOBILE: keep the agreement text readable and not cut */
@media (max-width: 760px) {
  .checkout-ref-page,
  .checkout-ref-shell,
  .checkout-ref-left,
  .checkout-ref-form,
  .form-x,
  .consent-x,
  .consent-label {
    overflow: visible !important;
  }

  .consent-x {
    position: relative !important;
  }

  .consent-info {
    position: static !important;
  }

  .consent-tip {
    position: fixed !important;
    left: 10px !important;
    right: 10px !important;
    bottom: 12px !important;
    top: auto !important;
    transform: translateY(12px) !important;
    width: auto !important;
    max-width: none !important;
    max-height: 72vh !important;
    overflow-y: auto !important;
    z-index: 999999 !important;
    padding: 16px !important;
    border-radius: 18px !important;
    font-size: 12px !important;
    line-height: 1.55 !important;
    box-shadow: 0 28px 90px rgba(0,0,0,.72), 0 0 0 1px rgba(255,255,255,.08) inset !important;
  }

  .consent-tip::after {
    display: none !important;
  }

  .consent-info:hover .consent-tip,
  .consent-info:focus-visible .consent-tip,
  .consent-info:active .consent-tip {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
  }
}

/* DESKTOP agreement tooltip */
@media (min-width: 761px) {
  .checkout-ref-page,
  .checkout-ref-shell,
  .checkout-ref-left,
  .checkout-ref-form,
  .form-x,
  .consent-x,
  .consent-label {
    overflow: visible !important;
  }

  .consent-info {
    position: static !important;
  }

  .consent-tip {
    position: fixed !important;
    left: 50% !important;
    bottom: 24px !important;
    top: auto !important;
    right: auto !important;
    transform: translateX(-50%) translateY(12px) !important;
    width: min(560px, calc(100vw - 32px)) !important;
    max-height: 70vh !important;
    overflow-y: auto !important;
    z-index: 999999 !important;
  }

  .consent-tip::after {
    display: none !important;
  }

  .consent-info:hover .consent-tip,
  .consent-info:focus-visible .consent-tip,
  .consent-info:active .consent-tip {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateX(-50%) translateY(0) !important;
  }
}
