@import url("https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap");


:root {
  --sm-bg: #100a18;
  --sm-bg-deep: #0b0711;
  --sm-surface: #181024;
  --sm-surface-raised: #21152f;
  --sm-border: rgba(180, 84, 255, .24);
  --sm-border-strong: rgba(180, 84, 255, .5);
  --sm-purple: #b455ff;
  --sm-purple-bright: #c777ff;
  --sm-text: #f7f0ff;
  --sm-muted: #b9a9c9;
}

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

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

body {
  min-width: 320px;
  margin: 0;
  background:
    radial-gradient(circle at 15% -15%, rgba(180, 84, 255, .18), transparent 38rem),
    radial-gradient(circle at 92% 0%, rgba(112, 55, 173, .14), transparent 34rem),
    var(--sm-bg);
  color: var(--sm-text);
  font-family: Outfit, "DM Sans", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

a {
  color: inherit;
}

.site {
  min-height: 100vh;
}

.topnav {
  position: relative;
  z-index: 10;
  width: 100%;
  background: rgba(11, 7, 17, .92);
  border-bottom: 1px solid var(--sm-border);
  box-shadow: 0 8px 28px rgba(0, 0, 0, .18);
}

.topnav-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  width: min(1800px, calc(100% - 32px));
  min-height: 100px;
  margin: 0 auto;
  padding: 0 10px;
  gap: 24px;
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  min-width: max-content;
  color: var(--sm-text);
  font-size: 1.16rem;
  font-weight: 800;
  letter-spacing: -.03em;
  text-decoration: none;
  white-space: nowrap;
}

.nav-brand span[data-store-prefix] {
  color: var(--sm-purple-bright);
}

.nav-cats {
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  min-width: 0;
  gap: 6px;
}

.nav-cats a {
  display: inline-flex;
  align-items: center;
  min-height: 58px;
  padding: 10px 13px;
  border: 1px solid transparent;
  border-radius: 10px;
  color: var(--sm-muted);
  font-size: .92rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: color .18s ease, background .18s ease, border-color .18s ease;
}

.nav-cats a:hover,
.nav-cats a:focus-visible {
  color: var(--sm-text);
  background: rgba(180, 84, 255, .12);
  border-color: var(--sm-border);
}

.nav-cats a.active {
  color: #160b22;
  background: var(--sm-purple);
  border-color: var(--sm-purple);
  box-shadow: 0 6px 18px rgba(180, 84, 255, .24);
}

.nav-end {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-width: max-content;
}

.store-switch {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  min-height: 52px;
  padding: 4px;
  border: 1px solid var(--sm-border-strong);
  border-radius: 26px;
  background: rgba(24, 16, 36, .92);
}

.store-switch > span {
  color: var(--sm-muted);
  font-weight: 700;
}

.store-option {
  min-width: 48px;
  min-height: 42px;
  padding: 7px 13px;
  border: 0;
  border-radius: 21px;
  color: var(--sm-muted);
  background: transparent;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.store-option:hover,
.store-option:focus-visible {
  color: var(--sm-text);
}

.store-option.active {
  color: #160b22;
  background: var(--sm-purple);
}

.currency-dropdown {
  position: relative;
}

.nav-currency,
.nav-user,
.nav-cart-big {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid var(--sm-border-strong);
  border-radius: 10px;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
}

.nav-currency {
  padding: 0 13px;
  color: var(--sm-text);
  background: var(--sm-surface);
  cursor: pointer;
}

.currency-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 20;
  display: none;
  min-width: 110px;
  padding: 6px;
  border: 1px solid var(--sm-border-strong);
  border-radius: 10px;
  background: var(--sm-surface-raised);
  box-shadow: 0 14px 30px rgba(0, 0, 0, .35);
}

.currency-dropdown[open] .currency-menu {
  display: grid;
  gap: 3px;
}

.currency-menu a {
  padding: 8px 10px;
  border-radius: 7px;
  color: var(--sm-text);
  text-decoration: none;
}

.currency-menu a:hover,
.currency-menu a:focus-visible {
  background: rgba(180, 84, 255, .18);
}

.nav-user {
  gap: 6px;
  padding: 0 13px;
  color: var(--sm-text);
  background: var(--sm-surface);
}

.nav-user:hover,
.nav-user:focus-visible {
  color: var(--sm-purple-bright);
  border-color: var(--sm-purple);
}

.nav-cart-big {
  gap: 8px;
  min-width: 66px;
  padding: 0 14px;
  color: #160b22;
  background: var(--sm-purple);
  border-color: var(--sm-purple);
  cursor: pointer;
}

.nav-cart-big:hover,
.nav-cart-big:focus-visible {
  background: var(--sm-purple-bright);
}

.cart-glyph {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.site-content {
  width: min(1800px, calc(100% - 32px));
  margin: 0 auto;
  padding: 42px 10px 64px;
}

.site-content-widgets {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  align-items: start;
  gap: 32px;
}

.site-home-categories {
  display: none !important;
}

.store-text,
.category-description,
.store-product,
.store-sidebar .widget {
  background: rgba(24, 16, 36, .78);
  border: 1px solid var(--sm-border);
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .14);
}

.store-text {
  padding: 24px 28px;
}

.category-description {
  margin: 0 0 24px;
  padding: 18px 22px;
  color: var(--sm-text);
}

.category-description p {
  margin: 0;
}

.store-products-images,
.store-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(235px, 1fr));
  align-items: stretch;
  gap: 22px;
}

.store-product {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 18px;
  background: rgba(20, 13, 30, .94);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.store-product:hover {
  transform: translateY(-3px);
  border-color: var(--sm-border-strong);
  box-shadow: 0 16px 34px rgba(0, 0, 0, .22);
}

.store-product .image-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 205px;
  border-radius: 10px;
  background: rgba(11, 7, 17, .7);
  overflow: hidden;
}

.store-product .image {
  display: block;
  width: 100%;
  height: 205px;
  object-fit: contain;
}

.store-product .product-title {
  margin: 16px 0 10px;
  color: var(--sm-text);
  font-size: 1.08rem;
  line-height: 1.25;
}

.store-product .product-title a {
  text-decoration: none;
}

.store-product .product-title a:hover {
  color: var(--sm-purple-bright);
}

.product-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}

.product-actions .price {
  margin: 0;
  color: var(--sm-purple-bright);
  font-size: 1.1rem;
  font-weight: 800;
}

.btn-primary,
.btn-secondary,
.btn-tertiary,
.product-actions .add,
.product-actions button {
  min-height: 44px;
  border-radius: 9px;
  font: inherit;
  font-weight: 800;
}

.btn-primary,
.product-actions .add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  color: #160b22;
  background: var(--sm-purple);
  border: 1px solid var(--sm-purple);
  text-decoration: none;
}

.btn-primary:hover,
.product-actions .add:hover {
  background: var(--sm-purple-bright);
}

.btn-secondary,
.btn-tertiary {
  color: var(--sm-text);
  background: var(--sm-surface);
  border: 1px solid var(--sm-border-strong);
}

.store-sidebar {
  display: grid;
  width: 260px;
  gap: 24px;
}

.store-sidebar .widget {
  margin: 0;
  overflow: hidden;
  background: rgba(20, 13, 30, .94);
}

.store-sidebar .widget-title {
  margin: 0;
  padding: 18px 20px;
  color: var(--sm-text);
  border-bottom: 1px solid var(--sm-border);
  font-size: 1rem;
}

.store-sidebar .widget-content {
  padding: 18px 20px;
}

.widget-top-donator .avatar {
  display: block;
  width: 112px;
  max-width: 100%;
  height: auto;
  margin: 4px auto 16px;
}

.widget-top-donator .username,
.widget-recent .username {
  margin: 0;
  color: var(--sm-text);
  font-weight: 800;
}

.widget-top-donator p {
  margin: 4px 0 0;
  color: var(--sm-muted);
  font-size: .9rem;
}

.purchases {
  display: grid;
  gap: 12px;
}

.purchase {
  display: flex;
  align-items: center;
  gap: 10px;
}

.purchase .avatar {
  width: 34px;
  height: 34px;
  image-rendering: pixelated;
}

.purchase .info {
  min-width: 0;
}

.store-home-content {
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
}

.store-info-panels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  width: 100%;
}

.store-info-panel {
  min-height: 100%;
  padding: 26px 24px;
  background: #101025;
  border: 1px solid rgba(91, 124, 220, .45);
  border-radius: 14px;
}

.store-info-panel h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--sm-text);
  font-size: 1.2rem;
  line-height: 1.2;
}

.store-info-icon {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  color: #ffd500;
  font-size: 1.15rem;
  font-weight: 800;
}

.store-info-panel p {
  margin: 0 0 14px;
  color: #f0ebff;
  font-size: 1rem;
  line-height: 1.55;
}

.store-info-panel p:last-child {
  margin-bottom: 0;
}

.store-info-panel a {
  color: #ffd500;
  text-decoration: underline;
}

.store-info-note {
  color: #ffd500 !important;
  font-size: .92rem !important;
  line-height: 1.35 !important;
}

.rank-term-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 220px);
  margin: 0 auto 18px;
  padding: 4px;
  gap: 4px;
  background: #241437;
  border: 1px solid var(--sm-border-strong);
  border-radius: 12px;
}

.rank-term-toggle a {
  flex: 1 1 0;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--sm-muted);
  font-size: .88rem;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}

.rank-term-toggle a:hover,
.rank-term-toggle a:focus-visible {
  color: var(--sm-text);
  background: rgba(180, 84, 255, .2);
}

.rank-term-toggle a.active {
  color: #160b22;
  background: var(--sm-purple);
  box-shadow: 0 4px 12px rgba(180, 84, 255, .28);
}

.rank-term-toggle a.active:hover {
  color: #160b22;
  background: var(--sm-purple-bright);
}

.site-footer,
.site-footer-inner,
footer {
  color: var(--sm-muted);
}

.site-footer {
  border-top: 1px solid var(--sm-border);
}

@media (max-width: 1180px) {
  .topnav-inner {
    gap: 14px;
  }

  .nav-cats {
    gap: 2px;
  }

  .nav-cats a {
    padding-inline: 9px;
    font-size: .84rem;
  }

  .nav-end {
    gap: 5px;
  }

  .nav-user {
    padding-inline: 9px;
  }
}

@media (max-width: 940px) {
  .topnav-inner {
    grid-template-columns: auto 1fr;
    gap: 12px 18px;
    padding-block: 12px;
  }

  .nav-end {
    grid-column: 2;
    justify-self: end;
  }

  .nav-cats {
    grid-column: 1 / -1;
    grid-row: 2;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .site-content-widgets {
    grid-template-columns: 1fr;
  }

  .store-sidebar {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .topnav-inner,
  .site-content {
    width: calc(100% - 20px);
  }

  .nav-brand {
    font-size: 1rem;
  }

  .store-switch {
    min-height: 46px;
  }

  .store-option {
    min-height: 36px;
    min-width: 40px;
    padding-inline: 9px;
  }

  .nav-user {
    min-width: 48px;
    padding-inline: 9px;
  }

  .nav-user span:last-child {
    display: none;
  }

  .nav-cart-big {
    min-width: 56px;
    padding-inline: 10px;
  }

  .store-info-panels,
  .store-sidebar {
    grid-template-columns: 1fr;
  }

  .store-product .image,
  .store-product .image-link {
    min-height: 180px;
    height: 180px;
  }
}


.nav-brand [data-store-prefix],
.nav-cats [data-store-prefix] {
  margin-right: .28em;
}

@media (max-width: 1300px) and (min-width: 941px) {
  .topnav-inner {
    gap: 12px;
  }

  .nav-cats {
    gap: 0;
    overflow: hidden;
  }

  .nav-cats a {
    flex: 0 1 auto;
    min-width: 0;
    padding-inline: 7px;
    font-size: .78rem;
  }

  .nav-end {
    gap: 4px;
  }

  .nav-currency {
    padding-inline: 9px;
    font-size: .82rem;
  }

  .nav-user {
    padding-inline: 9px;
    font-size: .82rem;
  }

  .nav-cart-big {
    min-width: 58px;
    padding-inline: 9px;
  }
}


.store-welcome-panel {
  width: 100%;
  margin: 0 0 24px;
  padding: 42px 30px;
  text-align: center;
  background: #101025;
  border: 1px solid var(--sm-border-strong);
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .14);
}

.store-welcome-panel h1 {
  margin: 0 0 12px;
  color: var(--sm-purple);
  font-size: clamp(1.8rem, 3.2vw, 2.7rem);
  line-height: 1.15;
  letter-spacing: -.03em;
}

.store-welcome-panel p {
  max-width: 820px;
  margin: 0 auto;
  color: var(--sm-muted);
  font-size: 1.08rem;
  line-height: 1.65;
}

.store-home-content .store-info-panels {
  align-items: stretch;
}

.store-home-content .store-info-panel {
  min-height: 300px;
}

@media (max-width: 760px) {
  .store-welcome-panel {
    padding: 30px 20px;
  }

  .store-welcome-panel p {
    font-size: 1rem;
  }

  .store-home-content .store-info-panel {
    min-height: 0;
  }
}


/* Centered desktop navigation */
@media (min-width: 1301px) {
  .topnav-inner {
    grid-template-columns: minmax(170px, 1fr) auto minmax(170px, 1fr);
    gap: 20px;
  }

  .nav-brand {
    justify-self: start;
    font-size: 1.42rem;
  }

  .nav-cats {
    justify-self: center;
  }

  .nav-end {
    justify-self: end;
  }
}

/* Larger, tighter NA/EU switch */
.store-switch {
  gap: 0;
  min-height: 58px;
  padding: 4px;
  border-radius: 30px;
}

.store-switch > span {
  margin-inline: 1px;
  font-size: 1.05rem;
}

.store-option {
  min-width: 58px;
  min-height: 48px;
  padding: 8px 15px;
  font-size: 1.02rem;
}

@media (max-width: 1300px) and (min-width: 941px) {
  .nav-brand {
    font-size: 1.16rem;
  }
}


@media (max-width: 1300px) and (min-width: 941px) {
  .nav-brand {
    font-size: 1.28rem;
  }
}



@media (min-width: 941px) {
  body:has(.rank-term-toggle) .store-products-images {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 14px !important;
  }

  body:has(.rank-term-toggle) .store-product {
    padding: 12px;
  }

  body:has(.rank-term-toggle) .store-product .image-link,
  body:has(.rank-term-toggle) .store-product .image {
    min-height: clamp(150px, 14vw, 205px);
    height: clamp(150px, 14vw, 205px);
  }

  body:has(.rank-term-toggle) .store-product .product-title {
    font-size: .95rem;
  }

  body:has(.rank-term-toggle) .rank-term-toggle a {
    padding-inline: 7px;
    font-size: .76rem;
  }
}



.nav-brand-wrap {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 12px;
  min-width: max-content;
}

.nav-discord-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--sm-purple);
  background: rgba(180, 84, 255, .1);
  border: 1px solid var(--sm-border-strong);
  border-radius: 12px;
  text-decoration: none;
  transition: color .18s ease, background .18s ease, border-color .18s ease, transform .18s ease;
}

.nav-discord-brand:hover,
.nav-discord-brand:focus-visible {
  color: var(--sm-purple-bright);
  background: rgba(180, 84, 255, .2);
  border-color: var(--sm-purple);
  transform: translateY(-1px);
}

.discord-glyph {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

body[data-store="EU"] {
  --sm-purple: #e05268;
  --sm-purple-bright: #ff788a;
  --sm-border: rgba(224, 82, 104, .28);
  --sm-border-strong: rgba(224, 82, 104, .62);
}

body[data-store="EU"] .nav-discord-brand {
  background: rgba(224, 82, 104, .1);
}

body[data-store="EU"] .nav-discord-brand:hover,
body[data-store="EU"] .nav-discord-brand:focus-visible {
  background: rgba(224, 82, 104, .2);
}

body[data-store="EU"] .store-info-panel {
  border-color: rgba(224, 82, 104, .5);
}

body[data-store="EU"] .store-info-icon,
body[data-store="EU"] .store-info-panel a,
body[data-store="EU"] .store-info-note {
  color: #ff788a !important;
}

@media (max-width: 760px) {
  .nav-brand-wrap {
    gap: 8px;
  }

  .nav-discord-brand {
    width: 38px;
    height: 38px;
    border-radius: 10px;
  }

  .discord-glyph {
    width: 22px;
    height: 22px;
  }
}

/* Home sidebar on the left */
@media (min-width: 941px) {
  .page-index .site-content-widgets {
    grid-template-columns: 260px minmax(0, 1fr);
  }

  .page-index .site-content-widgets > .store-home-content {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  .page-index .site-content-widgets > .widget,
  .page-index .site-content-widgets > .store-sidebar {
    grid-column: 1;
  }
}

@media (max-width: 940px) {
  .page-index .site-content-widgets > .store-home-content,
  .page-index .site-content-widgets > .widget,
  .page-index .site-content-widgets > .store-sidebar {
    grid-column: auto;
    grid-row: auto;
  }
}

/* Keep store widgets on the left on every page */
@media (min-width: 941px) {
  .site-content-widgets {
    grid-template-columns: 260px minmax(0, 1fr);
  }

  .site-content-widgets > main {
    grid-column: 2;
  }

  .site-content-widgets > .widget,
  .site-content-widgets > .store-sidebar {
    grid-column: 1;
  }
}

@media (max-width: 940px) {
  .site-content-widgets > main,
  .site-content-widgets > .widget,
  .site-content-widgets > .store-sidebar {
    grid-column: auto;
    grid-row: auto;
  }
}

@media (min-width: 941px) {
  .site-content-widgets > main {
    grid-row: 1 / span 2;
  }
}

/* Discord brand button */
.nav-discord-brand {
  width: 48px;
  height: 48px;
  padding: 0;
  overflow: hidden;
  background: #5865f2;
  border: 0;
  border-radius: 10px;
  box-shadow: none;
}

.nav-discord-brand:hover,
.nav-discord-brand:focus-visible {
  background: #4752c4;
  border-color: transparent;
}

.nav-discord-brand .discord-glyph {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body[data-store="EU"] .nav-discord-brand,
body[data-store="EU"] .nav-discord-brand:hover,
body[data-store="EU"] .nav-discord-brand:focus-visible {
  background: #5865f2;
  border-color: transparent;
}

/* Product details controls */
.product-details {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  margin-top: 10px;
  padding: 0 14px;
  color: var(--sm-text);
  background: rgba(180, 84, 255, .1);
  border: 1px solid var(--sm-border-strong);
  border-radius: 9px;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  transition: color .18s ease, background .18s ease, border-color .18s ease;
}

.product-details:hover,
.product-details:focus-visible {
  color: #160b22;
  background: var(--sm-purple);
  border-color: var(--sm-purple);
}

.package-details {
  margin-top: 24px;
  padding: 22px 24px;
  background: rgba(24, 16, 36, .78);
  border: 1px solid var(--sm-border);
  border-radius: 14px;
}

.package-details h3,
.package-details h4,
.package-details h5 {
  color: var(--sm-text);
}

.package-details h3 {
  margin: 0 0 16px;
  font-size: 1.2rem;
}

.package-details h4 {
  margin: 20px 0 8px;
  font-size: 1.05rem;
}

.package-details h5 {
  margin: 14px 0 6px;
  font-size: .98rem;
}

.package-details p {
  margin: 0 0 12px;
  color: var(--sm-muted);
}

.package-details ol {
  margin: 0 0 12px;
  padding-left: 24px;
  color: var(--sm-muted);
}

.package-details li {
  margin: 4px 0;
}

@media (max-width: 760px) {
  .package-details {
    padding: 18px;
  }
}


/* Final homepage and navigation alignment */
@media (min-width: 941px) {
  .topnav-inner {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  }

  .nav-cats {
    justify-self: center;
    justify-content: center;
  }

  .page-index .site-content-widgets > .widget,
  .page-index .site-content-widgets > .store-sidebar {
    text-align: left;
  }

  .page-index .store-home-content {
    width: 100%;
    max-width: 1160px;
    justify-self: center;
    text-align: center;
  }
}

@media (max-width: 940px) {
  .nav-cats {
    justify-content: flex-start;
  }
}


/* Compact package detail layout */
.store-product-full {
  gap: 14px;
}

.store-product-full > .image {
  display: block;
  width: min(280px, 100%);
  max-width: 100%;
  max-height: 250px;
  margin: 0 auto;
  object-fit: contain;
}

.store-product-full .package-details {
  margin-top: 0;
  padding: 16px 18px;
}

.store-product-full .package-details h3 {
  margin-bottom: 10px;
}

.store-product-full .package-details p {
  margin-bottom: 0;
  line-height: 1.45;
}

.store-product-full .descr {
  line-height: 1.45;
}

.store-product-full .product-actions {
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  position: sticky !important;
  bottom: 0;
  min-height: 70px;
  margin: 0 calc(var(--widget-padding) * -1);
  padding: 12px 18px;
}

.store-product-full .product-actions .price {
  flex: 0 0 auto;
  margin: 0 auto 0 0;
}

.store-product-full .product-actions .subscribe,
.store-product-full .product-actions .add,
.store-product-full .product-actions .open-basket-cta {
  flex: 1 1 280px;
  width: auto;
  max-width: 360px;
  height: 46px;
  min-height: 46px;
}

.store-product-full .product-actions .gift {
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  min-height: 46px;
  padding: 0;
}

@media (max-width: 600px) {
  .store-product-full > .image {
    width: min(220px, 100%);
    max-height: 210px;
  }

  .store-product-full .product-actions {
    gap: 8px;
    padding-inline: 12px;
  }

  .store-product-full .product-actions .subscribe,
  .store-product-full .product-actions .add,
  .store-product-full .product-actions .open-basket-cta {
    flex-basis: 180px;
  }
}


/* Category server address bar */
.category-server-address {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "address plus" "copy plus";
  align-items: center;
  gap: 2px 18px;
  width: 100%;
  min-height: 72px;
  margin: 0 0 18px;
  padding: 14px 22px;
  color: var(--sm-text);
  background: rgba(24, 16, 36, .78);
  border: 1px solid var(--sm-border);
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .14);
}

.category-server-address .server-address {
  grid-area: address;
  justify-self: center;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: .01em;
}

.category-server-address .server-copy {
  grid-area: copy;
  justify-self: center;
  padding: 0 6px;
  color: var(--sm-muted);
  background: transparent;
  border: 0;
  font: inherit;
  font-size: .9rem;
  cursor: pointer;
}

.category-server-address .server-copy:hover,
.category-server-address .server-copy:focus-visible {
  color: var(--sm-purple);
}

.category-server-address .server-address-plus {
  grid-area: plus;
  color: var(--sm-purple);
  font-size: 1.8rem;
  font-weight: 900;
  line-height: 1;
}

@media (max-width: 600px) {
  .category-server-address {
    min-height: 64px;
    padding: 12px 16px;
  }
}


/* Full-width category server line */
.category-server-address {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  min-height: 56px;
  margin: 0 0 18px;
  padding: 12px 18px;
  background: transparent;
  border: 0;
  border-bottom: 2px solid var(--sm-purple);
  border-radius: 0;
  box-shadow: none;
}

.category-server-address .server-address {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 0;
  color: var(--sm-text);
  font-size: 1.05rem;
  font-weight: 800;
  cursor: pointer;
}

.category-server-address .server-address:hover,
.category-server-address .server-address:focus-visible {
  color: var(--sm-purple);
}

.category-server-address .server-copy {
  padding: 2px 0;
  color: var(--sm-muted);
  background: transparent;
  border: 0;
  font: inherit;
  font-size: .9rem;
  cursor: pointer;
}

.category-server-address .server-copy:hover,
.category-server-address .server-copy:focus-visible {
  color: var(--sm-purple);
}

.category-server-address .server-address-plus {
  display: none;
}


/* Place the server line above the category bio on desktop */
@media (min-width: 941px) {
  .site-content-widgets > main.store-products {
    position: relative;
  }

  .site-content-widgets > main.store-products .category-server-address {
    position: absolute;
    top: -42px;
    inset-inline: 0;
    min-height: 36px;
    margin: 0;
    padding: 4px 18px;
  }
}


/* Pixel-style category server line */
.category-server-address {
  position: relative;
  gap: 18px;
  min-height: 64px;
  margin-bottom: 18px;
  padding: 14px 18px 16px;
  border: 0;
}

.category-server-address::after {
  content: "";
  position: absolute;
  right: auto;
  bottom: 0;
  left: 50%;
  width: min(380px, 72%);
  height: 3px;
  background: var(--sm-purple);
  transform: translateX(-50%);
}

.category-server-address .server-address,
.category-server-address .server-copy {
  font-family: "Minecraft", "Press Start 2P", "Courier New", monospace;
}

.category-server-address .server-address {
  font-size: 1.35rem;
  letter-spacing: .02em;
}

.category-server-address .server-copy {
  font-size: .82rem;
  letter-spacing: .02em;
}

@media (min-width: 941px) {
  .site-content-widgets > main.store-products .category-server-address {
    top: -50px;
    min-height: 48px;
    padding: 8px 18px 12px;
  }
}

@media (max-width: 600px) {
  .category-server-address {
    min-height: 58px;
    padding: 12px 14px 14px;
  }

  .category-server-address::after {
    width: min(300px, 78%);
  }

  .category-server-address .server-address {
    font-size: 1.1rem;
  }

  .category-server-address .server-copy {
    font-size: .72rem;
  }
}

/* Restore compact Tebex package actions */
.store-product .product-actions {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 12px;
  margin-top: auto;
}
.store-product .product-actions .price {
  width: 100%;
  margin: 0 0 auto;
}
.store-product .product-actions > a.subscribe,
.store-product .product-actions > a.add,
.store-product .product-actions > button.open-basket-cta {
  flex: 0 1 calc(50% - 6px);
  width: auto;
  max-width: none;
  min-height: var(--btn-size);
  height: var(--btn-size);
  padding-inline: 10px;
}
.store-product .product-actions > .quantity-field {
  flex: 1 1 auto;
  width: auto;
  max-width: none;
}
.store-product .product-actions > .quantity-field button {
  min-height: var(--btn-size);
  height: var(--btn-size);
}
/* Keep single-action buttons inside narrow product cards */
.store-product .product-actions > a.wide,
.store-product .product-actions > button.wide {
  flex: 1 1 100%;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
.store-product .product-actions > a.add {
  min-width: 0;
  overflow-wrap: anywhere;
}
/* Keep available package actions visibly styled */
.store-product .product-actions > a.add:not([hidden]),
.store-product .product-actions > a.subscribe:not([hidden]) {
  display: inline-flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  color: #160b22 !important;
  background: var(--sm-purple) !important;
  border: 1px solid var(--sm-purple) !important;
}
