@import url("https://fonts.googleapis.com/css2?family=Lexend:wght@100..900&display=swap");
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css');
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:ital,wght@0,500;0,600;0,700;0,800;1,700&family=Inter:wght@400;500;600;700&display=swap');

/* TheRealSaga · CSS completo: Tebex base + diseño actual + SEMI 1 / SEMI 2. */
:root {
  --color-text: #000;
  --color-text-darker: #222;
  --color-text-secondary: #444;
  --color-text-dark: #fff;
  --color-bg: #fff;
  --color-brighter-bg: hsl(0 0% 100% / 77%);
  --color-input-bg: #dcdcdc;
  --color-popup-bg: hsl(0 0% 0% / 30%);
  --color-primary: #41C4C3;
  --color-primary-hover: #000;
  --color-primary-text: var(--color-text-dark);
  --color-primary-text-hover: var(--color-primary-text);
  --color-secondary: #dcdcdc;
  --color-secondary-hover: #cecece;
  --color-secondary-text: var(--color-text);
  --color-secondary-text-hover: var(--color-text-darker);
  --color-tertiary: transparent;
  --color-tertiary-hover: hsl(0 0% 0% / 15%);
  --color-tertiary-text: var(--color-text);
  --color-tertiary-text-hover: var(--color-tertiary-text);
  --color-removed: #a22a2a;
  --header-height: 350px;
  --tebex-footer-height: 37px;
  --layout-gap: 20px;
  --widget-padding: 20px;
  --content-padding: var(--widget-padding);
  --content-inner-width: 1280px;
  --content-width: calc((var(--content-padding) * 2) + var(--content-inner-width));
  --sidebar-width: 287px;
  --products-gap: 24px 36px;
  --btn-size: 46px;
  --btn-size-small: 38px;
  --btn-size-xsmall: 34px;
  --btn-icon-size: 18px;
  --btn-color-text: var(--color-text);
  --btn-color-text-hover: var(--btn-color-text);
  --btn-color-bg: var(--color-bg);
  --btn-color-bg-hover: var(--btn-color-bg);
  --bg-blur: blur(10px);
  --page-transition-duration: .35s;
  --tebex-legal-footer-max-width: min(
    var(--content-inner-width),
    calc(100vw - (var(--content-padding) * 2))
  );
  --tebex-legal-footer-background-color: var(--color-brighter-bg);
  --tebex-legal-footer-border-color: var(--color-brighter-bg);
  --tebex-legal-footer-text-color: var(--color-text-secondary);
}

@media (width > 600px) {
  :root {
    --widget-padding: 24px;
    --layout-gap: 48px;
  }
}

@media (width > 960px) {
  :root {
    --layout-gap: 72px;
    --content-padding: calc(var(--widget-padding) * 2);
  }
}

@media (max-width: 900px) {
  :root {
    --tebex-footer-height: 70px;
  }
}

@media (max-width: 600px) {
  :root {
    --tebex-footer-height: 80px;
  }
}

@media (prefers-color-scheme: dark) {
  :root.color-scheme-auto {
    --color-text: #fff;
    --color-text-darker: #e5e5e5;
    --color-text-secondary: #ccc;
    --color-text-dark: #0D0D0D;
    --color-bg: #000;
    --color-brighter-bg: hsl(0 0% 4% / 70%);
    --color-input-bg: #242424;
    --color-popup-bg: hsl(0 0% 0% / 85%);
    --color-primary: #41C4C3;
    --color-primary-hover: #fff;
    --color-primary-text: var(--color-text-dark);
    --color-primary-text-hover: var(--color-primary-text);
    --color-secondary: #ccc;
    --color-secondary-hover: #e5e5e5;
    --color-secondary-text: var(--color-text-dark);
    --color-secondary-text-hover: var(--color-secondary-text);
    --color-tertiary: transparent;
    --color-tertiary-hover: rgb(255 255 255 / 15%);
    --color-tertiary-text: var(--color-text);
    --color-tertiary-text-hover: var(--color-text-darker);
    --color-removed: #C12E2E;
  }
}

:root.color-scheme-dark {
  --color-text: #fff;
  --color-text-darker: #e5e5e5;
  --color-text-secondary: #ccc;
  --color-text-dark: #0D0D0D;
  --color-bg: #000;
  --color-brighter-bg: hsl(0 0% 4% / 70%);
  --color-input-bg: #242424;
  --color-popup-bg: hsl(0 0% 0% / 85%);
  --color-primary: #41C4C3;
  --color-primary-hover: #fff;
  --color-primary-text: var(--color-text-dark);
  --color-primary-text-hover: var(--color-primary-text);
  --color-secondary: #ccc;
  --color-secondary-hover: #e5e5e5;
  --color-secondary-text: var(--color-text-dark);
  --color-secondary-text-hover: var(--color-secondary-text);
  --color-tertiary: transparent;
  --color-tertiary-hover: rgb(255 255 255 / 15%);
  --color-tertiary-text: var(--color-text);
  --color-tertiary-text-hover: var(--color-text-darker);
  --color-removed: #C12E2E;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: none;
  outline: none;
  vertical-align: baseline;
  color: inherit;
  background: transparent;
  font-size: inherit;
  font-family: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
}

strong,
b {
  font-weight: 700;
}

em,
i {
  font-style: italic;
}

input[type=submit],
button {
  appearance: none;
  cursor: pointer;
  text-align: left;
}

textarea {
  resize: none;
}

symbol,
use,
svg {
  overflow: visible;
}

svg,
img {
  display: block;
}

li {
  display: block;
}

button {
  display: block;
}

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

:root *[hidden] {
  display: none;
}

:focus {
  outline: 0;
}

::placeholder {
  color: inherit;
  opacity: 1;
}

@view-transition {
  navigation: auto;
}

::view-transition-group(root) {
  animation-duration: var(--page-transition-duration);
  animation-timing-function: ease;
}

@keyframes pageMoveOut {
  0% {
    opacity: 1;
  }
  50%, 100% {
    opacity: 0;
  }
}

@keyframes pageMoveIn {
  0%, 50% {
    scale: 0.98;
    opacity: 0;
  }
  100% {
    scale: 1;
    opacity: 1;
  }
}

::view-transition-old(siteContent) {
  animation: var(--page-transition-duration) ease both pageMoveOut;
  transform-origin: center top;
}

::view-transition-new(siteContent) {
  animation: var(--page-transition-duration) ease both pageMoveIn;
  transform-origin: center top;
}

::view-transition-group(siteContent) {
  z-index: 2;
}

::view-transition-group(siteHeaderTop),
::view-transition-group(siteHeader),
::view-transition-group(siteNavigation),
::view-transition-group(siteBgImage),
::view-transition-group(siteFooter) {
  animation-duration: var(--page-transition-duration);
  animation-timing-function: ease;
  z-index: 3;
}

::view-transition-group(siteBgImage) {
  z-index: 1;
}

html,
body {
  min-height: 100vh;
  min-height: 100svh;
}

html {
  overflow: hidden scroll;
  scrollbar-width: thin;
  scrollbar-color: var(--color-secondary) var(--color-bg);
  scrollbar-gutter: stable;
  scroll-behavior: smooth;
  color-scheme: light dark;
}

html.no-scroll {
  overflow: hidden;
}

@media (prefers-color-scheme: dark) {
  html.color-scheme-auto {
    color-scheme: only dark;
  }
}

html.color-scheme-dark {
  color-scheme: only dark;
}

body {
  position: relative;
  max-width: 100%;
  width: 100%;
  line-height: normal;
  color: var(--color-text);
  accent-color: var(--color-primary);
  background-color: var(--color-bg);
  font-family: Lexend, sans-serif;
  font-size: 16px;
  font-optical-sizing: auto;
}

::selection {
  color: var(--color-text);
  background-color: var(--color-primary);
  text-shadow: none;
}

select option {
  color: var(--color-text);
  background-color: var(--color-bg);
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
}

.text-content {
  line-height: 1.4;
  word-wrap: break-word;
  word-break: break-word;
}

.text-content h1,
.text-content h2,
.text-content h3,
.text-content h4,
.text-content h5,
.text-content h6 {
  font-weight: 800;
}

.text-content h1:not(:last-child),
.text-content h2:not(:last-child),
.text-content h3:not(:last-child),
.text-content h4:not(:last-child),
.text-content h5:not(:last-child),
.text-content h6:not(:last-child) {
  margin-bottom: 24px;
}

.text-content p:not(:last-child) {
  margin-bottom: 12px;
}

.text-content h1 {
  font-size: 34px;
}

@media (width > 600px) {
  .text-content h1 {
    font-size: 38px;
  }
}

.text-content h2 {
  font-size: 28px;
}

@media (width > 600px) {
  .text-content h2 {
    font-size: 32px;
  }
}

.text-content h3 {
  font-size: 20px;
}

@media (width > 600px) {
  .text-content h3 {
    font-size: 24px;
  }
}

.text-content h4 {
  font-size: 18px;
}

@media (width > 600px) {
  .text-content h4 {
    font-size: 22px;
  }
}

.text-content img {
  display: inline-block;
  max-width: 100%;
  height: auto;
}

.text-content ol,
.text-content ul {
  margin-left: 1em;
}

.text-content ol:not(:last-child),
.text-content ul:not(:last-child) {
  margin-bottom: 12px;
}

.text-content li {
  display: list-item;
}

.btn-primary,
.btn-secondary,
.btn-tertiary {
  display: block;
  width: fit-content;
  height: var(--btn-size);
  padding: 0 10px;
  line-height: var(--btn-size);
  color: var(--btn-color-text);
  background-color: var(--btn-color-bg);
  border-radius: 5px;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: all 0.15s ease-in-out;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (width > 960px) {
  .btn-primary,
  .btn-secondary,
  .btn-tertiary {
    padding: 0 14px;
  }
}

.btn-primary:disabled,
.btn-secondary:disabled,
.btn-tertiary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-primary:hover, .btn-primary:focus,
.btn-secondary:hover, .btn-secondary:focus,
.btn-tertiary:hover, .btn-tertiary:focus {
  color: var(--btn-color-text-hover);
  background-color: var(--btn-color-bg-hover);
}

.btn-primary.btn-small,
.btn-secondary.btn-small,
.btn-tertiary.btn-small {
  --btn-size: var(--btn-size-small);
  padding: 0 8px;
  font-size: 12px;
}

@media (width > 960px) {
  .btn-primary.btn-small,
  .btn-secondary.btn-small,
  .btn-tertiary.btn-small {
    padding: 0 10px;
  }
}

.btn-primary.btn-xsmall,
.btn-secondary.btn-xsmall,
.btn-tertiary.btn-xsmall {
  --btn-size: var(--btn-size-xsmall);
  padding: 0 8px;
  font-size: 11px;
}

@media (width > 960px) {
  .btn-primary.btn-xsmall,
  .btn-secondary.btn-xsmall,
  .btn-tertiary.btn-xsmall {
    padding: 0 10px;
  }
}

.btn-primary {
  --btn-color-text: var(--color-primary-text);
  --btn-color-bg: var(--color-primary);
  --btn-color-text-hover: var(--color-primary-text-hover);
  --btn-color-bg-hover: var(--color-primary-hover);
}

.btn-secondary {
  --btn-color-text: var(--color-secondary-text);
  --btn-color-bg: var(--color-secondary);
  --btn-color-text-hover: var(--color-secondary-text-hover);
  --btn-color-bg-hover: var(--color-secondary-hover);
}

.btn-tertiary {
  --btn-color-text: var(--color-tertiary-text);
  --btn-color-bg: var(--color-tertiary);
  --btn-color-text-hover: var(--color-tertiary-text-hover);
  --btn-color-bg-hover: var(--color-tertiary-hover);
}

.btn-icon,
.btn-icon-text,
.btn-glyph,
.btn-glyph-text {
  --btn-icon: url("https://template-assets.tebex.io/images/check.svg");
}

.btn-icon {
  position: relative;
  flex: none;
  width: var(--btn-size);
  height: var(--btn-size);
  padding: 0;
  background-image: var(--btn-icon);
  background-position: center center;
  background-size: var(--btn-icon-size);
  background-repeat: no-repeat;
}

:root .btn-icon {
  line-height: 0;
  font-size: 0;
  color: transparent;
}

.btn-icon-text {
  display: flex;
  align-items: center;
  min-width: var(--btn-size);
}

.btn-icon-text::before {
  content: "";
  display: block;
  margin-right: 8px;
  width: var(--btn-icon-size);
  height: var(--btn-icon-size);
  flex: none;
  background: var(--btn-icon) center center/contain no-repeat;
}

.btn-glyph::before,
.btn-glyph-text::before {
  content: "";
  display: block;
  width: var(--btn-icon-size);
  height: var(--btn-icon-size);
  flex: none;
  background-color: var(--btn-color-text);
  mask: var(--btn-icon) center center/contain no-repeat;
  transition: background-color 0.15s ease-in-out;
}

.btn-glyph:hover::before, .btn-glyph:focus::before,
.btn-glyph-text:hover::before, .btn-glyph-text:focus::before {
  background-color: var(--btn-color-text-hover);
}

.btn-glyph {
  position: relative;
  flex: none;
  width: var(--btn-size);
  height: var(--btn-size);
}

:root .btn-glyph {
  padding: 0;
  line-height: 0;
  font-size: 0;
  color: transparent;
}

.btn-glyph::before {
  position: absolute;
  inset: 0;
  margin: auto;
}

.btn-glyph-text {
  display: flex;
  align-items: center;
  min-width: var(--btn-size);
  height: var(--btn-size);
}

.btn-glyph-text::before {
  margin-right: 8px;
}

.link-text {
  color: var(--color-text-darker);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-position: under;
  transition: color 0.15s ease-in-out;
}

.link-text:hover {
  color: var(--color-text);
}

.quantity-field {
  display: flex;
  align-items: stretch;
  justify-content: center;
  height: 36px;
  overflow: hidden;
  color: var(--color-text);
  background: var(--color-bg);
  border: 1px solid var(--color-secondary);
  border-radius: 5px;
}

.quantity-field input[type=number] {
  position: relative;
  z-index: 1;
  flex: none;
  -moz-appearance: textfield;
  appearance: textfield;
  width: 40px;
  height: 100%;
  font-size: 16px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.quantity-field input[type=number]:focus,
.quantity-field input[type=number]:hover {
  border-color: var(--color-secondary-hover);
}

.quantity-field input[type=number]::-webkit-inner-spin-button,
.quantity-field input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.quantity-field.with-open-basket input[type=number] {
  margin-left: calc((40px - 2ch) * -1);
  margin-right: 0.25em;
  order: 1;
  text-align: right;
  transition: color 0.15s ease-in-out;
}

.quantity-field .open-basket {
  margin-right: 5px;
  width: fit-content;
  height: 100%;
  order: 2;
  font-size: 16px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.15s ease-in-out;
}

.quantity-field .open-basket:focus,
.quantity-field .open-basket:hover {
  color: var(--color-primary);
}

.quantity-field .open-basket:focus ~ input[type=number],
.quantity-field .open-basket:hover ~ input[type=number] {
  color: var(--color-primary);
}

.quantity-field .adjust {
  position: relative;
  z-index: 2;
  flex: none;
  width: 34px;
  height: 100%;
  padding: 0;
  line-height: 0;
  font-size: 0;
  color: transparent;
}

.quantity-field .adjust.decrease {
  margin-right: auto;
  order: -1;
  border-radius: 5px 0 0 5px;
}

.quantity-field .adjust.increase {
  margin-left: auto;
  order: 100;
  border-radius: 0 5px 5px 0;
}

.quantity-field .adjust::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background-color: var(--color-text);
  mask: url("https://template-assets.tebex.io/images/plus.svg") no-repeat center center;
  mask-size: 10px;
}

.quantity-field .adjust.decrease::before {
  mask-image: url("https://template-assets.tebex.io/images/minus.svg");
}

@media (width > 960px) {
  .mobile-only {
    display: none;
  }
}

@media (width <= 960px) {
  .desktop-only {
    display: none;
  }
}

.site {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: var(--layout-gap);
  flex-direction: column;
  min-height: calc(100vh - var(--tebex-footer-height));
  min-height: calc(100svh - var(--tebex-footer-height));
  font-size: 14px;
}

.site-bg-image {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: -1;
  margin: 0 auto;
  height: auto;
  width: 100%;
  min-height: 50vh;
  max-height: 100vh;
  min-height: 50svh;
  max-height: 100svh;
  object-fit: cover;
  object-position: center 0;
  mask: linear-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.5) var(--btn-size), rgba(0, 0, 0, 0.5) 33%, transparent);
  view-transition-name: siteBgImage;
  pointer-events: none;
}

.site-header-top,
.site-header,
.site-navigation,
.site-content,
.site-footer {
  width: 100%;
  flex: none;
}

.site-content {
  flex: 1 0 auto;
  view-transition-name: siteContent;
}

.site-header-top,
.site-header,
.site-content,
.site-footer-inner {
  margin: 0 auto;
  padding: 0 var(--content-padding);
  width: 100%;
}

@media (width > 960px) {
  .site-header-top,
  .site-header,
  .site-content,
  .site-footer-inner {
    max-width: var(--content-width);
  }
}

.site-header-top {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  margin-bottom: calc(var(--layout-gap) * -1);
  width: 100%;
  min-height: var(--btn-size);
  view-transition-name: siteHeaderTop;
}

body.is-logo-centered.is-header-visible .site-header-top {
  margin-bottom: 0;
}

@media (width <= 960px) {
  .site-header-top {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: var(--color-brighter-bg);
    backdrop-filter: var(--bg-blur);
  }
}

.site-header-top .site-title {
  position: absolute;
  inset: 0;
  margin: auto;
  max-width: calc(100% - 32px - var(--btn-size-xsmall) * 4 - var(--content-padding) * 2);
  width: fit-content;
  height: fit-content;
  line-height: 24px;
  font-size: 18px;
  font-weight: 900;
  text-align: center;
  text-box: trim-both cap alphabetic;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-header-top .site-title img {
  max-width: 100%;
  max-height: 28px;
}

@media (width <= 960px) {
  .site-header-top .btn-glyph-text {
    color: transparent;
    font-size: 0;
  }
  .site-header-top .btn-glyph-text::before {
    margin-right: 0;
  }
}

.site-header-top .toggle-navigation {
  --btn-icon: url("https://template-assets.tebex.io/images/burger.svg");
}

.site-header-top .site-link {
  --btn-icon: url("https://template-assets.tebex.io/images/globe.svg");
}

.site-header-top .color-scheme {
  --btn-icon: url("https://template-assets.tebex.io/images/sun.svg");
  --btn-icon-size: 15px;
}

@media (prefers-color-scheme: dark) {
  :root.color-scheme-auto .site-header-top .color-scheme {
    --btn-icon: url("https://template-assets.tebex.io/images/moon.svg");
  }
}

:root.color-scheme-dark .site-header-top .color-scheme {
  --btn-icon: url("https://template-assets.tebex.io/images/moon.svg");
}

.site-header-top .log-in {
  --btn-icon: url("https://template-assets.tebex.io/images/user.svg");
  margin-left: auto;
}

.site-header-top .open-basket {
  --btn-icon: url("https://template-assets.tebex.io/images/checkout.svg");
}

.site-header-top .user-name {
  --btn-icon: url("https://template-assets.tebex.io/images/log-out.svg");
  margin-left: auto;
  contain: paint;
}

@media (width > 960px) {
  .site-header-top .user-name {
    --btn-icon: url("https://template-assets.tebex.io/images/user.svg");
  }
}

.site-header-top .user-name .text,
.site-header-top .user-name .text-hover {
  transition: opacity 0.15s ease, font-size 0.15s ease, visibility 0.15s ease;
}

.site-header-top .user-name:not(:hover):not(:focus-within) .text-hover {
  visibility: hidden;
  color: transparent;
  font-size: 0;
}

.site-header-top .user-name:hover .text,
.site-header-top .user-name:focus-within .text {
  visibility: hidden;
  opacity: 0;
  font-size: 0;
}

.site-header {
  position: relative;
  align-content: center;
  view-transition-name: siteHeader;
}

@media (width <= 960px) {
  .site-header {
    padding: 0;
  }
}

body.no-hero.is-logo-centered .site-header {
  min-height: 80px;
}

@media (width > 960px) {
  body.has-hero .site-header {
    min-height: var(--header-height);
  }
}

.site-header .site-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  width: 100%;
}

@media (width > 960px) {
  .site-header .site-actions {
    gap: 6px;
  }
}

.site-header .site-title {
  line-height: 42px;
  font-size: 36px;
  font-weight: 900;
  text-box: trim-both cap alphabetic;
}

body.has-hero .site-header .site-title {
  color: var(--color-text-dark);
}

@media (width > 960px) {
  .site-header .site-title {
    line-height: 60px;
    font-size: 54px;
  }
}

.site-header .site-title img {
  max-width: 500px;
  max-height: 60px;
}

body.is-logo-centered .site-header .site-title {
  margin: auto;
  width: fit-content;
  height: fit-content;
  text-align: center;
}

body.is-logo-centered .site-header .site-title img {
  max-height: 128px;
}

body.is-logo-centered.has-hero .site-header .site-title {
  position: absolute;
  inset: 0;
  filter: drop-shadow(0 1px 3px hsla(0, 0%, 0%, 0.5)) drop-shadow(0 6px 12px hsla(0, 0%, 0%, 0.5));
}

@media (prefers-color-scheme: dark) {
  :root.color-scheme-auto body.is-logo-centered.has-hero .site-header .site-title {
    color: var(--color-text);
    filter: drop-shadow(0 1px 3px hsl(from var(--color-bg) h s l/50%)) drop-shadow(0 6px 12px hsl(from var(--color-bg) h s l/50%));
  }
}

:root.color-scheme-dark body.is-logo-centered.has-hero .site-header .site-title {
  color: var(--color-text);
  filter: drop-shadow(0 1px 3px hsl(from var(--color-bg) h s l/50%)) drop-shadow(0 6px 12px hsl(from var(--color-bg) h s l/50%));
}

.site-header .hero-image {
  margin: auto;
  width: 100%;
  height: auto;
  max-height: var(--header-height);
  object-fit: cover;
}

@media (width > 960px) {
  .site-header .hero-image {
    border-radius: 10px;
  }
}

.site-navigation {
  --fade-duration: 200ms;
  view-transition-name: siteNavigation;
}

@media (width <= 960px) {
  .site-navigation {
    position: fixed;
    inset: 0;
    z-index: 10000000010;
    padding: 0;
    backdrop-filter: var(--bg-blur);
    transition: display var(--fade-duration) allow-discrete, backdrop-filter var(--fade-duration), opacity var(--fade-duration) ease;
  }
  @starting-style {
    .site-navigation {
      opacity: 0;
    }
  }
  body:not(.show-navigation) .site-navigation {
    display: none;
    opacity: 0;
  }
  .site-navigation.drawer {
    user-select: none;
  }
  .site-navigation.may-close {
    backdrop-filter: none;
  }
  .site-navigation .menu {
    display: flex;
    flex-direction: column;
    position: absolute;
    inset: 0 calc(var(--btn-size) * 2) 0 0;
    padding: 72px var(--widget-padding) var(--widget-padding);
    line-height: 28px;
    font-size: 21px;
    font-weight: 500;
    background: rgb(from var(--color-bg) r g b/0.95);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.15);
    overflow: hidden auto;
    scrollbar-width: thin;
    scrollbar-color: var(--color-secondary) var(--color-bg);
    transition: opacity var(--fade-duration) ease, scale var(--fade-duration) ease, translate var(--fade-duration) ease;
  }
  @starting-style {
    .site-navigation .menu {
      translate: -100% 0;
    }
  }
  .site-navigation.drawer .menu::after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 7px;
    margin: auto;
    width: 4px;
    height: 100px;
    background: rgb(from var(--color-text-secondary) r g b/0.33);
    border-radius: 2px;
    pointer-events: none;
  }
  body:not(.show-navigation) .site-navigation .menu {
    translate: -100% 0;
  }
  .site-navigation.touching .menu {
    transition: opacity var(--fade-duration) ease, scale var(--fade-duration) ease;
  }
  body:not(.show-navigation) .site-navigation .menu,
  .site-navigation.may-close .menu {
    opacity: 0.8;
    scale: 0.95;
  }
  .site-navigation.may-close .menu {
    border-radius: 10px;
  }
  .site-navigation .popup-close {
    --btn-icon: url("https://template-assets.tebex.io/images/close.svg");
    top: 12px;
    right: calc(var(--btn-size) * 2 + 12px);
  }
  .site-navigation.touching .popup-close {
    opacity: 0;
    visibility: hidden;
    transition-duration: 100ms;
  }
  .site-navigation .menu-sub {
    width: 100%;
    padding-left: var(--widget-padding);
    line-height: 22px;
    font-size: 16px;
  }
  .site-navigation .menu-item {
    position: relative;
    width: 100%;
  }
  .site-navigation .has-children {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  .site-navigation .has-children .toggle {
    --btn-icon: url("https://template-assets.tebex.io/images/chevron.svg");
    flex: none;
  }
  .site-navigation .has-children .toggle::before {
    transition: rotate 0.15s ease-in-out;
  }
  .site-navigation .has-children.expanded > .toggle::before {
    rotate: 180deg;
  }
  .site-navigation .has-children:not(.expanded) .menu-sub {
    display: none;
  }
  .site-navigation .menu-link {
    display: block;
    flex: 1 1 auto;
    padding: 11px 0;
    transition: color 0.15s ease-in-out;
  }
  .site-navigation .menu-link:hover {
    color: var(--color-primary);
  }
  .site-navigation .menu-link.active {
    color: var(--color-primary);
    font-weight: 700;
  }
  .site-navigation .menu-sub .menu-link {
    padding: 8px 0;
  }
  .site-navigation .site-link,
  .site-navigation .log-out {
    margin-top: auto;
    margin-left: -8px;
  }
  .site-navigation .site-link a,
  .site-navigation .log-out a {
    --btn-icon: url("https://template-assets.tebex.io/images/globe.svg");
    width: 100%;
  }
  .site-navigation .log-out a {
    --btn-icon: url("https://template-assets.tebex.io/images/log-out.svg");
  }
  .site-navigation .site-link + .log-out {
    margin-top: 0;
  }
}

@media (width > 960px) {
  .site-navigation {
    position: sticky;
    top: -1px;
    z-index: 100;
    transition: background-color 0.15s ease;
  }
  .site-navigation.stuck {
    background-color: var(--color-brighter-bg);
    backdrop-filter: var(--bg-blur);
  }
  .site-navigation .menu {
    display: flex;
    align-items: center;
    gap: var(--widget-padding);
    margin-inline: auto;
    width: 100%;
    max-width: var(--content-inner-width);
    min-height: var(--btn-size);
    padding: calc(var(--widget-padding) * 0.75) var(--widget-padding);
    line-height: var(--btn-size);
    font-size: 16px;
    font-weight: 500;
    text-align: center;
  }
  .site-navigation:not(.stuck) .menu {
    background-color: var(--color-brighter-bg);
    backdrop-filter: var(--bg-blur);
    border-radius: 10px;
  }
  .site-navigation .menu > .menu-item {
    flex: 1 0 auto;
    max-width: 200px;
  }
  .site-navigation .menu > .menu-item > .menu-link {
    display: block;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    max-width: 18ch;
  }
  .site-navigation .menu-link {
    display: block;
    transition: color 0.15s ease-in-out;
  }
  .site-navigation .menu-link:hover,
  .site-navigation .menu-link.link-active {
    color: var(--color-primary);
  }
  .site-navigation li.site-title-link {
    flex: none;
    align-content: center;
    margin-right: var(--widget-padding);
    max-width: none;
    text-align: left;
  }
  .site-navigation .site-title {
    font-size: 40px;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-box: trim-both cap alphabetic;
  }
  .site-navigation .site-title .menu-link {
    color: var(--color-primary);
  }
  .site-navigation .site-title .menu-link:hover {
    color: var(--color-primary-hover);
  }
  .site-navigation .site-title img {
    max-width: 100%;
    max-height: var(--btn-size);
    border-radius: 5px;
  }
  .site-navigation .has-children {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .site-navigation .has-children .toggle {
    --btn-size: 30px;
    --btn-icon: url("https://template-assets.tebex.io/images/chevron.svg");
    --btn-color-bg-hover: var(--color-tertiary);
    flex: none;
    transition: rotate 0.15s ease-in-out;
  }
  .site-navigation .has-children:hover > .toggle {
    rotate: 180deg;
  }
  .site-navigation .menu-sub {
    position: absolute;
    top: 100%;
    left: -100px;
    right: -100px;
    margin-inline: auto;
    width: max-content;
    padding: calc(var(--widget-padding) / 2) 0;
    background: rgb(from var(--color-brighter-bg) r g b/0.9);
    border-radius: 5px;
    backdrop-filter: var(--bg-blur);
    transition: all 0.15s ease-in-out;
  }
  .site-navigation .has-children:not(:hover) > .menu-sub {
    visibility: hidden;
    opacity: 0;
    translate: 0 -10px;
  }
  .site-navigation .menu .menu-sub {
    line-height: 24px;
    font-size: 16px;
    font-weight: 400;
  }
  .site-navigation .menu-sub .menu-link {
    width: 100%;
    max-width: 24ch;
    padding: 4px calc(var(--widget-padding) / 2);
    transition: all 0.15s ease-in-out;
  }
  .site-navigation .menu-sub .menu-link:hover,
  .site-navigation .menu-sub .menu-link.link-active {
    color: var(--color-bg);
    background-color: var(--color-primary);
  }
}

.site-home-categories {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: var(--widget-padding);
  margin-bottom: var(--layout-gap);
}

.site-home-categories .category {
  display: grid;
  grid-template-rows: 1fr;
  grid-template-columns: subgrid;
  align-items: center;
  gap: calc(var(--widget-padding) / 2);
  overflow: hidden;
  padding: var(--widget-padding);
  line-height: 26px;
  background: var(--color-brighter-bg) linear-gradient(to bottom, transparent 67%, rgb(from var(--color-primary) r g b/0.15)) no-repeat 0 0/100% 200%;
  border-radius: 10px;
  backdrop-filter: var(--bg-blur);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.015em;
  text-shadow: 0 1px 0 rgb(from var(--color-bg) r g b/0.5);
  transition: color 0.15s ease-in-out, background-position-y 0.3s ease;
}

@media (width > 600px) {
  .site-home-categories .category {
    gap: var(--widget-padding);
    padding-block: 20px;
    line-height: 32px;
    font-size: 24px;
    text-align: center;
  }
}

.site-home-categories .category:hover {
  color: var(--color-primary);
  background-position-y: 100%;
}

.site-home-categories .category .image {
  max-width: 100%;
  width: auto;
  max-height: 100%;
  object-fit: contain;
  border-radius: 10px;
}

@media (width > 600px) {
  .site-home-categories .category .image {
    margin: auto;
  }
}

.site-home-categories .category .image-default {
  position: relative;
  width: min(100px, 100%);
  aspect-ratio: 1;
}

.site-home-categories .category .image-default::before {
  content: "";
  display: block;
  position: absolute;
  inset: 0;
  background-color: rgb(from var(--color-text) r g b/0.8);
  mask: url("https://template-assets.tebex.io/images/package-default.svg") center center/contain no-repeat;
}

.store-text {
  margin-inline: auto;
  width: min(100%, 62ch);
  line-height: 1.375;
  font-size: 16px;
  font-weight: 400;
}

.store-home .store-text {
  margin-bottom: var(--content-padding);
}

.store-form {
  font-size: 18px;
}

.store-form p {
  margin-bottom: 24px;
}

.store-form .input-group,
.store-form .field,
.store-form .field-inline {
  margin-bottom: 24px;
}

.store-form .input-group > p,
.store-form .field > p,
.store-form .field-inline > p {
  margin-bottom: 12px;
}

.store-form .field-inline {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 12px;
}

@media (width > 600px) {
  .store-form .field-inline {
    gap: 0 24px;
  }
}

.store-form input,
.store-form select,
.store-form textarea {
  display: block;
}

.store-form input[type=text],
.store-form input[type=password],
.store-form input[type=email],
.store-form input[type=number],
.store-form input[type=search],
.store-form input[type=url],
.store-form input[type=tel],
.store-form input[type=date],
.store-form input[type=time],
.store-form input[type=datetime-local],
.store-form input[type=file],
.store-form input[type=month],
.store-form input[type=week],
.store-form select,
.store-form textarea {
  margin-bottom: 12px;
  width: 100%;
  padding: 14px 12px;
  color: var(--color-text-darker);
  background: var(--color-input-bg);
  font-size: 14px;
  border-radius: 10px;
}

@media (width > 960px) {
  .store-form input[type=text],
  .store-form input[type=password],
  .store-form input[type=email],
  .store-form input[type=number],
  .store-form input[type=search],
  .store-form input[type=url],
  .store-form input[type=tel],
  .store-form input[type=date],
  .store-form input[type=time],
  .store-form input[type=datetime-local],
  .store-form input[type=file],
  .store-form input[type=month],
  .store-form input[type=week],
  .store-form select,
  .store-form textarea {
    padding: 12px;
    font-size: 16px;
  }
}

.store-form .field-inline input,
.store-form .field-inline select,
.store-form .field-inline textarea {
  width: auto;
}

.store-form .actions {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.store-form .actions .link-text {
  align-self: center;
  font-size: 18px;
  font-weight: 700;
  margin: 0 16px;
}

@media (width <= 960px) {
  .site-content-widgets {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }
}

@media (width > 960px) {
  body:not(.is-sidebar-bottom) .site-content-widgets {
    display: grid;
    align-items: start;
    gap: 32px;
  }
  body.is-sidebar-left .site-content-widgets {
    grid-template-columns: var(--sidebar-width) 1fr;
  }
  body.is-sidebar-left .site-content-widgets .store-sidebar {
    order: -1;
  }
  body.is-sidebar-right .site-content-widgets {
    grid-template-columns: 1fr var(--sidebar-width);
  }
}

.category-header {
  margin-bottom: var(--widget-padding);
  line-height: 1.4;
  font-size: 18px;
}

.no-products {
  font-size: 18px;
  text-align: center;
}

.store-products-list {
  display: flex;
  flex-direction: column;
  gap: var(--widget-padding);
}

.store-products-images {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: var(--products-gap);
}

.store-product {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.store-product .product-title {
  font-size: 20px;
  font-weight: 600;
}

.store-product .product-title a {
  color: inherit;
  transition: color 0.15s ease-in-out;
}

.store-product .product-title a:hover {
  color: var(--color-primary);
}

.store-product .product-title .countdown {
  display: block;
  margin-top: 8px;
  color: var(--color-removed);
  font-size: 0.75em;
  font-variant-numeric: tabular-nums;
}

.store-product .product-title .countdown::before {
  content: "";
  display: inline-block;
  vertical-align: -0.15em;
  margin-right: 0.25em;
  width: 1em;
  height: 1em;
  background-color: currentColor;
  mask: url("https://template-assets.tebex.io/images/countdown.svg") center center/contain no-repeat;
}

.store-product .image-link {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  width: fit-content;
}

.store-product .image-link:hover ~ .product-title a {
  color: var(--color-primary);
}

.store-product .image {
  margin: 0 auto;
  max-width: 100%;
  border-radius: 10px;
}

.store-product .image-default {
  position: relative;
  width: min(140px, 100%);
  aspect-ratio: 1;
}

.store-product .image-default::before {
  content: "";
  display: block;
  position: absolute;
  inset: 0;
  margin: auto;
  background-color: rgb(from var(--color-text) r g b/0.8);
  mask: url("https://template-assets.tebex.io/images/package-default.svg") center center/contain no-repeat;
}

.store-product .descr {
  font-size: 14px;
}

.store-product .actions {
  display: flex;
  gap: 12px;
  position: relative;
  overflow: hidden;
}

.store-product .actions.updating,
.store-product-options .actions.updating,
.gift-form-popup .popup-content .actions.updating {
  pointer-events: none;
}

.store-product .actions.updating > *,
.store-product-options .actions.updating > *,
.gift-form-popup .popup-content .actions.updating > * {
  opacity: 0.3;
  filter: grayscale(100%);
}

.store-product .actions.updating::before,
.store-product-options .actions.updating::before,
.gift-form-popup .popup-content .actions.updating::before {
  content: "";
  display: block;
  position: absolute;
  inset: 0;
  z-index: 10;
  margin: auto;
  width: 30px;
  height: 30px;
  background: url("https://template-assets.tebex.io/images/loading.svg") center center no-repeat;
  background-size: contain;
}

.store-product:not(.store-product-full) .actions {
  flex-wrap: wrap;
  align-content: flex-end;
  flex: 1 1 auto;
}

.store-product .price {
  font-size: 14px;
  font-weight: 500;
}

.store-product .price .discount {
  margin-right: 1ch;
  color: var(--color-removed);
  font-weight: 400;
  text-decoration-line: line-through;
}

.store-product .price strong {
  font-size: 20px;
  font-weight: inherit;
}

.store-product:not(.store-product-full) .price {
  width: 100%;
}

.store-product .quantity-field {
  height: var(--btn-size);
  background: var(--color-brighter-bg);
}

.store-product .quantity-field input[type=number] {
  border: none;
}

.store-product .half {
  flex: 1 1 33%;
  overflow: visible;
}

.store-product .wide {
  flex: 1 1 auto;
}

.store-product .gift {
  --btn-icon: url("https://template-assets.tebex.io/images/gift.svg");
  flex: none;
}

.store-product .remove {
  --btn-icon: url("https://template-assets.tebex.io/images/delete.svg");
  flex: none;
}

.store-products-images .store-product {
  display: grid;
  grid-template-rows: 1fr;
  grid-template-columns: subgrid;
}

.store-products-images .store-product .image-link {
  align-content: center;
  width: 100%;
  overflow: hidden;
}

.store-products-images .store-product .descr {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
}

.store-products-list .store-product .image-link {
  margin: 0;
}

.store-products-list .store-product .image {
  width: 80px;
}

@media (width > 600px) {
  .store-products-list .store-product {
    flex-direction: row;
    align-items: center;
    gap: 12px calc(var(--widget-padding) * 0.75);
  }
  .store-products-list .store-product .product-title {
    margin-right: auto;
  }
  .store-products-list .store-product .actions {
    flex-wrap: nowrap;
    align-items: center;
    flex: 0 1 auto;
    gap: calc(var(--widget-padding) * 0.75);
  }
  .store-products-list .store-product .price {
    width: auto;
  }
  .store-products-list .store-product .half {
    flex: 0 1 140px;
  }
  .store-products-list .store-product .wide {
    flex: 0 1 170px;
  }
}

.media-slider {
  --slider-spacing: 6px;
  --thumbs-size: 40px;
  --thumb-padding: 6px;
  position: relative;
  width: 100%;
  overflow: hidden;
}

@media (width > 360px) {
  .media-slider {
    --slider-spacing: 12px;
    --thumbs-size: 55px;
  }
}

@media (width > 600px) {
  .media-slider {
    --thumbs-size: 70px;
  }
}

@media (width > 960px) {
  .media-slider {
    --thumbs-size: 90px;
  }
}

@media (width > 1400px) {
  .media-slider {
    --thumbs-size: 110px;
  }
}

.media-slider .slider {
  width: 100%;
  min-height: 200px;
  overflow: hidden;
  margin-bottom: var(--thumb-padding);
}

.media-slider .slider::part(container) {
  --swiper-navigation-size: 24px;
  --swiper-theme-color: var(--color-text);
}

.media-slider .slider::part(wrapper) {
  align-items: center;
}

.media-slider .slide {
  align-content: center;
}

.media-slider .slide-image {
  margin: auto;
  max-width: 100%;
  min-height: 200px;
  max-height: 100%;
  object-fit: contain;
  border-radius: 5px;
}

.media-slider .slide-video {
  position: relative;
  border-radius: 5px;
  background: #000 var(--preview-image) center center/cover no-repeat;
}

.media-slider .slide-frame {
  display: block;
  margin: auto;
  width: 100%;
  max-height: 100%;
  aspect-ratio: 16/9;
  transition: visibility 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.media-slider .slide-frame:not(.iframe-loaded) {
  visibility: hidden;
  opacity: 0;
}

.media-slider .thumbs {
  display: flex;
  gap: var(--slider-spacing);
  align-items: stretch;
  flex-wrap: wrap;
}

.store-product-full .media-slider .thumbs {
  justify-content: center;
}

.media-slider .thumb {
  display: block;
  width: var(--thumbs-size);
  height: var(--thumbs-size);
  padding: var(--thumb-padding);
  background-color: var(--color-bg);
  border-radius: 5px;
  cursor: pointer;
}

.media-slider .thumb-image,
.media-slider .thumb-youtube {
  width: calc(var(--thumbs-size) - var(--thumb-padding) * 2);
  height: calc(var(--thumbs-size) - var(--thumb-padding) * 2);
  transition: opacity 0.3s ease-in-out;
}

.media-slider .thumb:not(.active) .thumb-image,
.media-slider .thumb:not(.active) .thumb-youtube {
  opacity: 0.5;
}

.media-slider .thumb-image {
  object-fit: contain;
}

.media-slider .thumb-youtube {
  position: relative;
  align-content: center;
}

.media-slider .thumb-youtube img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.media-slider .thumb-youtube::after {
  content: "";
  display: block;
  position: absolute;
  inset: 0;
  margin: auto;
  width: 30px;
  height: 30px;
  background-color: #fff;
  mask: url("https://template-assets.tebex.io/images/play.svg") center center/contain no-repeat;
}

.media-slider .open-lightbox {
  position: absolute;
  top: var(--slider-spacing);
  right: var(--slider-spacing);
  z-index: 2;
  align-content: center;
  width: 40px;
  height: 40px;
  background-color: rgb(from var(--color-bg) r g b/75%);
  backdrop-filter: blur(10px);
  visibility: hidden;
  line-height: 0;
  font-size: 0;
  color: transparent;
  opacity: 0;
  border-radius: 5px;
  transition: all 0.15s ease-in-out;
}

.media-slider .open-lightbox:hover,
.media-slider .open-lightbox:focus {
  background-color: rgb(from var(--color-bg) r g b/90%);
}

.media-slider .open-lightbox::before {
  content: "";
  display: block;
  margin: auto;
  width: 18px;
  height: 18px;
  flex: none;
  background-color: var(--color-tertiary-text);
  mask: url("https://template-assets.tebex.io/images/fullscreen.svg") center center/contain no-repeat;
  transition: background-color 0.15s ease-in-out;
}

.media-slider .open-lightbox:hover::before,
.media-slider .open-lightbox:focus::before {
  background-color: var(--color-tertiary-text-hover);
}

.media-slider .slider:has(.swiper-slide-active .slide-image):hover ~ .open-lightbox,
.media-slider .open-lightbox:hover {
  opacity: 1;
  visibility: visible;
}

.popup.popup-media-slider {
  --slider-spacing: 6px;
  --thumbs-size: 40px;
  --thumb-padding: 6px;
  display: grid;
  grid-template-columns: 100%;
  grid-template-rows: minmax(0, auto) calc(var(--thumbs-size) + var(--slider-spacing));
  overflow: hidden;
  backdrop-filter: blur(10px);
}

@media (width > 360px) {
  .popup.popup-media-slider {
    --slider-spacing: 12px;
    --thumbs-size: 70px;
  }
}

@media (width > 960px) {
  .popup.popup-media-slider {
    --thumbs-size: 90px;
  }
}

@media (width > 1400px) {
  .popup.popup-media-slider {
    --thumbs-size: 120px;
  }
}

.popup.popup-media-slider .popup-close {
  top: var(--slider-spacing);
  right: var(--slider-spacing);
  z-index: 2;
  backdrop-filter: blur(5px);
  border-radius: 5px;
}

.popup.popup-media-slider .slider {
  width: 100%;
}

.popup.popup-media-slider .slider::part(container) {
  --swiper-navigation-size: 30px;
  --swiper-theme-color: var(--color-text);
}

@media (width > 600px) {
  .popup.popup-media-slider .slider::part(container) {
    --swiper-navigation-size: 36px;
  }
}

.popup.popup-media-slider .slider::part(wrapper) {
  align-items: center;
}

.popup.popup-media-slider .slide {
  align-content: center;
  padding: var(--slider-spacing);
}

.popup.popup-media-slider .slide-image {
  margin: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.popup.popup-media-slider .slide-video {
  position: relative;
  border-radius: 5px;
  background: #000 var(--preview-image) center center/cover no-repeat;
}

.popup.popup-media-slider .slide-frame {
  display: block;
  margin: auto;
  width: 100%;
  max-height: 100%;
  aspect-ratio: 16/9;
  transition: visibility 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.popup.popup-media-slider .slide-frame:not(.iframe-loaded) {
  visibility: hidden;
  opacity: 0;
}

.popup.popup-media-slider .thumbs {
  display: flex;
  gap: var(--slider-spacing);
  align-items: stretch;
  flex-wrap: wrap;
  padding: 0 var(--slider-spacing) var(--slider-spacing);
}

.popup.popup-media-slider .thumb {
  display: block;
  width: var(--thumbs-size);
  height: var(--thumbs-size);
  padding: var(--thumb-padding);
  background-color: rgb(from var(--color-bg) r g b/0.7);
  border-radius: 5px;
  cursor: pointer;
}

.popup.popup-media-slider .thumb-image,
.popup.popup-media-slider .thumb-youtube {
  width: calc(var(--thumbs-size) - var(--thumb-padding) * 2);
  height: calc(var(--thumbs-size) - var(--thumb-padding) * 2);
  transition: opacity 0.3s ease-in-out;
}

.popup.popup-media-slider .thumb:not(.active) .thumb-image,
.popup.popup-media-slider .thumb:not(.active) .thumb-youtube {
  opacity: 0.5;
}

.popup.popup-media-slider .thumb-image {
  object-fit: contain;
}

.popup.popup-media-slider .thumb-youtube {
  position: relative;
  align-content: center;
}

.popup.popup-media-slider .thumb-youtube img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.popup.popup-media-slider .thumb-youtube::after {
  content: "";
  display: block;
  position: absolute;
  inset: 0;
  margin: auto;
  width: 36px;
  height: 36px;
  background-color: var(--color-text);
  mask: url("https://template-assets.tebex.io/images/play.svg") center center/contain no-repeat;
}

.store-product-full .image {
  margin-inline: auto;
  max-width: 100%;
  order: -1;
}

.store-product-full .product-title {
  font-size: 28px;
  font-weight: 800;
}

.store-product-full .price {
  width: 100%;
  font-size: 24px;
}

.store-product-full .price strong {
  font-size: 28px;
}

.store-product-full .actions {
  flex-wrap: wrap;
}

.store-product-full .wide {
  max-width: 240px;
}

@media (width > 600px) {
  .store-product-full {
    display: grid;
    grid-template: "image title" auto "image actions" auto "image descr" 1fr/1fr 1fr;
    gap: 24px var(--layout-gap);
  }
  .store-product-full .image,
  .store-product-full .media-slider {
    grid-area: image;
    margin-right: 0;
  }
  .store-product-full .product-title {
    grid-area: title;
    font-size: 32px;
    align-self: flex-end;
  }
  .store-product-full .descr {
    grid-area: descr;
    font-size: 16px;
  }
  .store-product-full .actions {
    grid-area: actions;
    align-self: start;
  }
}

.back-to-top {
  --btn-icon: url("https://template-assets.tebex.io/images/chevron.svg");
  margin: calc(var(--widget-padding) * 2) auto;
}

.back-to-top::before {
  rotate: 90deg;
}

.store-product-options .product-title {
  margin-bottom: 12px;
  font-size: 20px;
  font-weight: 600;
}

.store-product-options .actions {
  position: sticky !important;
  bottom: var(--widget-padding);
  justify-content: start;
  width: fit-content;
  max-width: 100%;
}

.store-product-options .actions .btn-primary,
.store-product-options .actions .btn-secondary,
.store-product-options .actions .btn-tertiary {
  width: 230px;
}

.store-product-options .actions-multiple {
  width: auto;
}

.store-product-options .actions-multiple .btn-primary,
.store-product-options .actions-multiple .btn-secondary,
.store-product-options .actions-multiple .btn-tertiary {
  width: auto;
  flex: 1 1 auto;
}

.store-sidebar {
  display: grid;
  gap: 36px;
}

body:not(.is-sidebar-bottom) .store-sidebar {
  padding-top: 14px;
}

body.is-sidebar-bottom .store-sidebar {
  margin-top: calc(var(--layout-gap) * 1.5);
}

@media (width > 600px) {
  body.is-sidebar-bottom .store-sidebar {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
}

.widget-title {
  margin-bottom: var(--widget-padding);
  font-size: 20px;
  font-weight: 700;
}

.widget-featured .store-product {
  padding: 0;
  text-align: center;
}

.widget-gift-card {
  text-align: center;
}

.widget-gift-card .gift-card-input {
  margin-bottom: 12px;
  width: 100%;
  padding: 14px 12px;
  color: var(--color-text-darker);
  background: var(--color-input-bg);
  font-size: 14px;
  border-radius: 10px;
}

@media (width > 960px) {
  .widget-gift-card .gift-card-input {
    padding: 12px;
    font-size: 16px;
  }
}

.widget-gift-card .check {
  width: 100%;
}

.widget-recent .purchase {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  position: relative;
  margin-bottom: 6px;
  line-height: 1.4;
}

.widget-recent .avatar {
  flex: none;
  max-width: 40px;
  max-height: 40px;
  object-fit: contain;
  border-radius: 5px;
}

.widget-recent .username {
  font-weight: 700;
}

.widget-recent .empty {
  text-align: center;
}

.widget-recent time {
  opacity: 0.5;
  font-size: 0.9em;
}

.widget-recent .sep {
  margin: 0 0.3em;
}

.widget-top-donator .avatar {
  margin-bottom: 12px;
  max-width: 96px;
  border-radius: 10px;
}

.widget-top-donator .username {
  margin-bottom: 6px;
  font-weight: 700;
  font-size: 18px;
}

.widget-top-donator .empty {
  text-align: center;
}

.widget-community-goal .widget-content,
.widget-goal .widget-content {
  text-align: center;
}

.widget-community-goal p:not(:last-child),
.widget-goal p:not(:last-child) {
  margin-bottom: 12px;
}

.widget-community-goal .progress,
.widget-goal .progress {
  height: 12px;
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--color-tertiary-hover);
  border-radius: 6px;
}

@keyframes progressBarAnimation {
  to {
    background-position: 100% 0;
  }
}

.widget-community-goal .progress-bar,
.widget-goal .progress-bar {
  height: 12px;
  border-radius: 6px;
  background: var(--color-primary);
}

.widget-community-goal .progress-bar.striped,
.widget-goal .progress-bar.striped {
  background: var(--color-primary) linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary) 33%, rgb(from var(--color-primary-hover) r g b/0.35) 33%, rgb(from var(--color-primary-hover) r g b/0.35) 66%, var(--color-primary) 66%, var(--color-primary) 100%) repeat;
  background-size: 24px 100%;
}

.widget-community-goal .progress-bar.striped.animated,
.widget-goal .progress-bar.striped.animated {
  animation: progressBarAnimation 10s infinite linear;
}

.widget-community-goal .goal-image {
  margin: 0 auto 12px;
  max-width: 96px;
}

.widget-community-goal .descr {
  margin-bottom: 12px;
}

.widget-server-status .widget-content {
  text-align: center;
}

.widget-server-status h6 {
  margin-bottom: 12px;
}

.site-footer {
  background: var(--color-brighter-bg);
  view-transition-name: siteFooter;
}

.site-footer-inner {
  position: relative;
  padding: 20px var(--content-padding);
}

@media (width <= 960px) {
  .site-footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--widget-padding);
  }
}

.site-footer-inner .site-footer-nav {
  line-height: 150%;
  font-size: 14px;
}

@media (width > 960px) {
  .site-footer-inner .site-footer-nav {
    margin-bottom: 12px;
  }
}

.site-footer-inner .site-footer-nav ul {
  display: flex;
}

@media (width <= 960px) {
  .site-footer-inner .site-footer-nav ul {
    flex-direction: column;
    gap: var(--widget-padding);
    text-align: center;
  }
}

@media (width > 960px) {
  .site-footer-inner .site-footer-nav ul {
    gap: calc(var(--widget-padding) * 2);
  }
}

.site-footer-inner .site-footer-nav a {
  color: var(--color-text-darker);
  text-decoration-line: underline;
  text-underline-offset: 2px;
  transition: color 0.15s ease-in-out;
}

.site-footer-inner .site-footer-nav a:hover {
  color: var(--color-primary);
}

.site-footer-inner .copyright {
  line-height: 16px;
  color: var(--color-text-secondary);
  font-size: 12px;
}

.site-footer-inner .we-accept {
  display: flex;
  align-items: center;
  gap: 12px;
}

@media (width > 960px) {
  .site-footer-inner .we-accept {
    position: absolute;
    top: 0;
    right: var(--content-padding);
    bottom: 0;
    pointer-events: none;
  }
}

.site-footer-inner .we-accept li {
  display: block;
}

.site-footer-inner .we-accept img {
  display: block;
  max-width: 57px;
  max-height: 26px;
}

:root.color-scheme-light .site-footer-inner .we-accept img[alt=Visa] {
  filter: brightness(0.1);
}

@media (prefers-color-scheme: light) {
  :root.color-scheme-auto .site-footer-inner .we-accept img[alt=Visa] {
    filter: brightness(0.1);
  }
}

.site-footer-credit {
  color: var(--color-text-secondary);
  background: #101010;
  font-size: 11px;
}

.site-footer-credit .site-footer-credit-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-direction: column;
  gap: 22px;
  margin: auto;
  padding-top: 16px;
  padding-bottom: 16px;
  min-height: 45px;
}

@media (width > 960px) {
  .site-footer-credit .site-footer-credit-inner {
    align-items: center;
    flex-direction: row;
  }
}

.site-footer-credit .copyright {
  display: flex;
  align-items: flex-start;
  gap: 22px;
}

@media (width > 960px) {
  .site-footer-credit .copyright {
    align-items: center;
  }
}

.site-footer-credit .copyright .tebex-logo-link {
  flex: none;
}

.site-footer-credit .legal {
  display: flex;
  gap: 16px;
  white-space: nowrap;
}

@media (width > 960px) {
  .site-footer-credit .legal {
    gap: 20px;
  }
}

.site-footer-credit .legal a {
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.15s ease-in-out;
}

.site-footer-credit .legal a:hover {
  color: var(--color-primary);
}

.popup {
  --fade-duration: 300ms;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 100vw;
  z-index: 1000;
  overflow: hidden scroll;
  scrollbar-width: thin;
  scrollbar-color: var(--color-secondary) transparent;
  background: var(--color-popup-bg);
  transition: opacity var(--fade-duration) ease, display var(--fade-duration) allow-discrete;
}

@starting-style {
  .popup {
    opacity: 0;
  }
}

.popup.drawer {
  user-select: none;
}

.popup[hidden] {
  opacity: 0;
  display: none;
}

.popup-scroll-cont {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  padding: calc(var(--content-padding) / 2);
  overflow: hidden;
  overscroll-behavior: none;
}

@media (width > 600px) {
  .popup-scroll-cont {
    padding: var(--content-padding);
  }
}

@media (pointer: coarse) {
  .popup .popup-scroll-cont {
    align-items: flex-end;
    padding-bottom: 0;
  }
}

.popup-content {
  position: relative;
  width: 100%;
  max-width: 550px;
  padding: var(--widget-padding);
  background: var(--color-brighter-bg);
  border-radius: 10px;
  backdrop-filter: var(--bg-blur);
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.15);
  transition: translate var(--fade-duration) ease, opacity var(--fade-duration) ease;
}

@media (pointer: coarse) {
  .popup-content {
    padding-bottom: calc(var(--widget-padding) * 2);
  }
}

@starting-style {
  .popup-content {
    translate: 0 20px;
  }
}

.popup.drawer-down .popup-content {
  border-radius: 10px 10px 0 0;
}

.popup.drawer-up .popup-content {
  border-radius: 0 0 10px 10px;
}

.popup.drawer-right .popup-content {
  border-radius: 10px 0 0 10px;
}

.popup.drawer-left .popup-content {
  border-radius: 0 10px 10px 0;
}

.popup.touching .popup-content {
  transition: opacity var(--fade-duration) ease, scale var(--fade-duration) ease;
}

.popup.drawer[hidden] .popup-content,
.popup.may-close .popup-content {
  opacity: 0.8;
  scale: 0.95;
}

.popup.may-close .popup-content {
  border-radius: 10px;
}

.popup.drawer-up[hidden] .popup-content {
  translate: 0 -100%;
}

.popup.drawer-down[hidden] .popup-content {
  translate: 0 100%;
}

.popup.drawer-right[hidden] .popup-content {
  translate: 100% 0;
}

.popup.drawer-left[hidden] .popup-content {
  translate: -100% 0;
}

.popup:not(.drawer)[hidden] .popup-content {
  translate: 0 20px;
}

.popup.popup-loading .popup-content {
  min-height: 180px;
}

.popup.popup-loading .popup-content::before {
  content: "";
  display: block;
  position: absolute;
  inset: 0;
  margin: auto;
  width: 38px;
  height: 38px;
  background: url("https://template-assets.tebex.io/images/loading.svg") center center no-repeat;
  background-size: contain;
}

.drawer-up .popup-content::after,
.drawer-down .popup-content::after,
.drawer-left .popup-content::after,
.drawer-right .popup-content::after {
  content: "";
  display: block;
  position: absolute;
  background: rgb(from var(--color-text-secondary) r g b/0.33);
  border-radius: 2px;
  pointer-events: none;
}

.drawer-up .popup-content::after,
.drawer-down .popup-content::after {
  left: 0;
  right: 0;
  margin-inline: auto;
  height: 4px;
  width: 100px;
}

.drawer-up .popup-content::after {
  bottom: 7px;
}

.drawer-down .popup-content::after {
  top: 7px;
}

.drawer-left .popup-content::after,
.drawer-right .popup-content::after {
  top: 0;
  bottom: 0;
  margin-block: auto;
  width: 4px;
  height: 100px;
}

.drawer-left .popup-content::after {
  right: 7px;
}

.drawer-right .popup-content::after {
  left: 7px;
}

.popup-close {
  position: absolute;
  top: 0;
  right: 0;
  width: var(--btn-size);
  height: var(--btn-size);
  background-color: var(--color-tertiary-text);
  mask: url("https://template-assets.tebex.io/images/close.svg") center center no-repeat;
  mask-size: 24px;
  border-radius: 0 10px 0 10px;
  line-height: 0;
  font-size: 0;
  color: transparent;
  transition: all 0.15s ease-in-out;
}

.popup-close:hover,
.popup-close:focus {
  background-color: var(--color-tertiary-text-hover);
}

.store-product-popup-content {
  max-width: 800px;
}

.product-options-popup .popup-content {
  max-width: 480px;
}

.gift-form-popup .popup-content h1,
.gift-form-popup .popup-content h2,
.gift-form-popup .popup-content h3,
.gift-form-popup .popup-content h4,
.gift-form-popup .popup-content h5,
.gift-form-popup .popup-content h6 {
  margin-bottom: 12px;
}

.gift-form-popup .popup-content .btn-primary {
  width: 240px;
}

.gift-form-popup .popup-content .actions {
  position: relative;
  width: fit-content;
  max-width: 100%;
}

.login-popup {
  z-index: 1002;
}

.login-popup-content {
  max-width: 400px;
  padding: 36px 32px 32px;
  text-align: center;
}

.login-popup-content h2 {
  margin-bottom: 8px;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.login-popup-content > p {
  margin-bottom: 28px;
  color: var(--color-text-secondary);
  font-size: 15px;
  line-height: 1.5;
}

.login-popup-content .field {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 0;
}

.login-popup-content .field input[type="text"] {
  margin-bottom: 0;
  width: 100%;
  padding: 14px 16px;
  color: var(--color-text-darker);
  background: var(--color-input-bg);
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 15px;
  text-align: center;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.login-popup-content .field input[type="text"]:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgb(from var(--color-primary) r g b / 0.2);
}

.login-popup-content .field input[type="text"]::placeholder {
  color: var(--color-text-secondary);
  opacity: 0.8;
}

.login-popup-content .field .btn-primary {
  width: 100%;
  height: var(--btn-size);
  font-size: 16px;
}

.basket {
  position: relative;
  z-index: 1001;
}

.site-content .basket {
  display: none;
}

.basket .basket-empty {
  margin: auto;
  text-align: center;
  font-size: 18px;
}

.basket .basket-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 50px var(--content-padding) 30px;
  font-size: 22px;
  font-weight: 600;
}

@media (width > 960px) {
  .basket .basket-header {
    padding-top: 70px;
  }
}

.basket .basket-title {
  display: flex;
  align-items: center;
  gap: 12px;
  text-transform: uppercase;
}

.basket .basket-title::before {
  content: "";
  display: block;
  width: 30px;
  height: 30px;
  background-color: var(--color-text);
  mask: url("https://template-assets.tebex.io/images/user.svg") center center no-repeat;
  mask-size: contain;
}

.basket .basket-second-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px var(--content-padding);
  background: var(--color-brighter-bg);
  font-size: 18px;
  font-weight: 300;
  text-align: center;
}

.basket .basket-second-header .total {
  font-size: 14px;
}

.basket .basket-second-header .total strong {
  font-size: 18px;
  font-weight: inherit;
}

.basket .basket-second-header .currency {
  display: flex;
  align-items: center;
  gap: 6px;
}

.basket .basket-second-header .currency::after {
  content: "";
  display: block;
  width: 20px;
  height: 20px;
  background: url("https://template-assets.tebex.io/images/dropdown-arrow.svg") center center no-repeat;
}

.basket .basket-content {
  flex: 1;
  overflow-x: hidden;
  overflow-y: auto;
}

.basket .basket-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: var(--widget-padding);
}

.basket .basket-item {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 12px;
  padding: var(--widget-padding);
  background: var(--color-brighter-bg);
  border-radius: 10px;
}

.basket .basket-item .info {
  margin-right: auto;
}

.basket .basket-item .options {
  list-style-position: inside;
}

.basket .basket-item .options:has(li) {
  padding: 5px 0;
}

.basket .basket-item .options li {
  display: block;
  padding: 1px 0;
}

.basket .basket-item .options li::before {
  content: "";
  display: inline-block;
  margin-right: 0.4em;
  width: 3px;
  height: 3px;
  vertical-align: middle;
  background-color: currentColor;
  border-radius: 50%;
}

.basket .basket-item .title {
  font-size: 20px;
  font-weight: 600;
}

.basket .basket-item .price {
  color: var(--color-primary);
  font-size: 14px;
}

.basket .basket-item .price strong {
  font-size: 18px;
  font-weight: inherit;
}

.basket .basket-item .quantity-field {
  flex: none;
  height: 40px;
}

.basket .basket-item .remove {
  --btn-icon: url("https://template-assets.tebex.io/images/delete.svg");
  --btn-size: 40px;
}

.basket .basket-checkout {
  margin-top: auto;
  padding: 0 var(--content-padding) 50px;
}

@media (width > 960px) {
  .basket .basket-checkout {
    padding-bottom: 100px;
  }
}

.basket .basket-checkout h3 {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: var(--widget-padding);
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
}

.basket .basket-checkout .total {
  color: var(--color-primary);
  font-size: 16px;
  font-weight: 400;
}

.basket .basket-checkout .total strong {
  font-size: 24px;
  font-weight: inherit;
}

.basket .basket-checkout .checkout {
  width: 100%;
}

.basket-popup {
  background-color: transparent;
}

.basket-popup .popup-scroll-cont {
  justify-content: flex-end;
  padding: 0;
}

.basket-popup-content {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  max-width: 520px;
  height: 100vh;
  height: 100dvh;
  padding: 0;
  background-color: rgb(from var(--color-bg) r g b/0.9);
}

.basket-popup-content,
.popup.drawer .basket-popup-content {
  border-radius: 0;
}

.popup.drawer .basket-popup-content::after {
  inset: 0 auto 0 7px;
  margin-block: auto;
  width: 4px;
  height: 100px;
}

.popup.may-close .basket-popup-content {
  border-radius: 10px;
}

@starting-style {
  .basket-popup-content {
    translate: 100% 0;
  }
}

:root .popup[hidden] .basket-popup-content {
  translate: 100% 0;
}

.basket-popup-content .popup-close {
  border-radius: 0 0 0 10px;
}

.basket-popup-content.updating {
  pointer-events: none;
}

.basket-popup-content.updating::before {
  content: "";
  display: block;
  position: absolute;
  inset: 0;
  z-index: 10;
  margin: auto;
  width: 38px;
  height: 38px;
  background: url("https://template-assets.tebex.io/images/loading.svg") center center no-repeat;
  background-size: contain;
}

.basket-popup-content.updating > * {
  filter: grayscale(100%);
}

.toaster {
  display: flex;
  flex-direction: column-reverse;
  gap: 12px;
  position: fixed;
  bottom: var(--widget-padding);
  left: 0;
  right: 0;
  z-index: 10000;
  margin: 0 auto;
  padding: 0 var(--widget-padding);
  width: 100%;
  height: 100%;
  max-width: 520px;
  pointer-events: none;
}

.toaster:empty {
  display: none;
}

.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  height: 50px;
  padding: 0 8px 0 24px;
  overflow: hidden;
  background: var(--color-brighter-bg);
  border-radius: 10px;
  backdrop-filter: var(--bg-blur);
  font-size: 16px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
  pointer-events: auto;
  transition: height 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

@starting-style {
  .toast {
    opacity: 0;
    height: 0;
  }
}

.toast[hidden] {
  display: block;
  opacity: 0;
  height: 0;
}

.toast.toast-warning {
  background: #cab600;
}

.toast.toast-error {
  background: #C12E2E;
}

.toast.toast-success {
  background: #4caf50;
}

.toast-close {
  margin-left: auto;
  flex: none;
  width: 30px;
  height: 30px;
  background: url("https://template-assets.tebex.io/images/close.svg") center center no-repeat;
  background-size: 20px;
  opacity: 0.5;
  line-height: 0;
  font-size: 0;
  color: transparent;
  transition: all 0.15s ease-in-out;
}

.toast-close:hover {
  opacity: 1;
  background-color: rgba(255, 255, 255, 0.1);
}

.store-category-tiered-header {
  margin-bottom: var(--widget-padding);
  font-size: 18px;
}

.store-category-tiered-header h1,
.store-category-tiered-header h2,
.store-category-tiered-header h3,
.store-category-tiered-header h4,
.store-category-tiered-header h5,
.store-category-tiered-header h6,
.store-category-tiered-header p {
  margin-bottom: 24px;
}

.store-products-tiered {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: var(--products-gap);
}

.store-product-tiered {
  --gap: var(--widget-padding);
  --border-color: rgb(from var(--color-text) r g b / .1);
  display: grid;
  grid-row: span 4;
  grid-template-rows: subgrid;
  gap: var(--gap);
}

.store-product-tiered .image {
  margin: auto;
  max-width: 100%;
  object-fit: contain;
}

.store-product-tiered .product-title {
  font-size: 20px;
  font-weight: 600;
  text-align: center;
}

.store-product-tiered .countdown {
  display: block;
  margin-top: 4px;
  color: var(--color-removed);
  font-size: 0.75em;
  font-variant-numeric: tabular-nums;
}

.store-product-tiered .countdown::before {
  content: "";
  display: inline-block;
  vertical-align: -0.15em;
  margin-right: 0.25em;
  width: 1em;
  height: 1em;
  background-color: currentColor;
  mask: url("https://template-assets.tebex.io/images/countdown.svg") center center/contain no-repeat;
}

.store-product-tiered .descr {
  padding-block: var(--gap);
  border-block: 1px solid var(--border-color);
  color: var(--color-text-secondary);
}

.store-product-tiered .price {
  font-size: 14px;
  text-align: center;
}

.store-product-tiered .price .discount {
  margin-right: 1ch;
  color: var(--color-removed);
  font-weight: 400;
  text-decoration-line: line-through;
}

.store-product-tiered .price strong {
  font-size: 20px;
  font-weight: inherit;
}

.store-product-tiered .actions {
  gap: var(--gap);
}

.store-product-tiered .actions .wide {
  width: 100%;
}

.store-quote {
  padding: var(--widget-padding);
}

.store-quote .wide {
  flex: 1 1 50%;
}

/* THE REAL SAGA CUSTOM DESIGN */

:root,
:root.color-scheme-dark,
:root.color-scheme-auto {
  color-scheme: dark;
  --saga-bg: #0f0d14;
  --saga-bg-raised: #15121b;
  --saga-panel: #1a1722;
  --saga-panel-soft: #211d2b;
  --saga-raised: #221e2d;
  --saga-line: rgb(220 204 240 / 13%);
  --saga-line-strong: rgb(190 126 239 / 44%);
  --saga-border: var(--saga-line);
  --saga-text: #f6f2f8;
  --saga-muted: #b8afc2;
  --saga-subtle: #9e93ab;
  --saga-violet: #a66ce8;
  --saga-purple: var(--saga-violet);
  --saga-pink: #d85bda;
  --saga-gold: #edcf68;
  --saga-gold-soft: #ddc57f;
  --saga-cta: #e8c95e;
  --saga-cta-hover: #f1d976;
  --saga-danger: #ffaaa6;
  --saga-success: #a8dcbd;
  --saga-font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;
  --saga-font-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --saga-content: 1280px;
  --saga-radius: 16px;
  --saga-shadow: 0 12px 32px rgb(0 0 0 / 18%);
  --saga-ease: cubic-bezier(.22, .7, .25, 1);
  --saga-focus-ring: 0 0 0 3px rgb(240 212 123 / 14%);
  --saga-media-surface: #110d18;
  --saga-motion-fast: 160ms;
  --saga-motion-normal: 240ms;
  --saga-safe-bottom: env(safe-area-inset-bottom, 0px);
  --color-text: var(--saga-text);
  --color-text-darker: #dfd4e8;
  --color-text-secondary: var(--saga-muted);
  --color-text-dark: #251d0e;
  --color-bg: var(--saga-bg);
  --color-brighter-bg: var(--saga-panel);
  --color-input-bg: #120f19;
  --color-popup-bg: rgb(6 4 10 / 84%);
  --color-primary: var(--saga-cta);
  --color-primary-hover: var(--saga-cta-hover);
  --color-primary-text: #211a0c;
  --color-primary-text-hover: #19130a;
  --color-secondary: #2e2339;
  --color-secondary-hover: #3a2b47;
  --color-secondary-text: var(--saga-text);
  --color-secondary-text-hover: #fff;
  --color-tertiary: var(--saga-panel);
  --color-tertiary-hover: #2c2237;
  --color-tertiary-text: var(--saga-text);
  --color-tertiary-text-hover: #fff;
  --color-removed: var(--saga-danger);
  --color-sale-banner-bg: #292032;
  --color-sale-banner-text: #f2dca0;
  --btn-size: 46px;
  --content-inner-width: var(--saga-content);
  --content-padding: 0px;
  --sidebar-width: 250px;
  --layout-gap: 24px;
  --products-gap: 18px 20px;
  --tebex-legal-footer-max-width: var(--saga-content);
  --tebex-legal-footer-background-color: #141019;
  --tebex-legal-footer-text-color: var(--saga-muted);
  --tebex-legal-footer-border-color: var(--saga-line);
  --tebex-legal-footer-logo-color: #bfaacf;
}

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

html {
  background: var(--saga-bg);
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
  scrollbar-color: #745492 var(--saga-bg);
  scrollbar-width: thin;
}

body {
  margin: 0;
  color: var(--saga-text);
  background-color: var(--saga-bg);
  background-image:
    radial-gradient(ellipse at 50% -24%, rgb(104 63 137 / 11%), transparent 58%),
    linear-gradient(180deg, #100d16 0%, var(--saga-bg) 58%);
  font-family: var(--saga-font-body);
  font-size: 14px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: none;
}

h1,
h2,
h3,
h4,
.product-title,
.saga-brand > span,
.basket-title,
.category-header h1 {
  font-family: var(--saga-font-display);
  line-height: 1.08;
  letter-spacing: -.02em;
}

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

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

button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

button:disabled,
input:disabled {
  cursor: not-allowed;
  opacity: .6;
}

img,
svg {
  max-width: 100%;
}

:focus-visible {
  outline: 2px solid var(--saga-gold);
  outline-offset: 3px;
}

::selection {
  color: #160f1c;
  background: #d5a3f4;
}

[hidden] {
  display: none !important;
}

.saga-skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 10000000100;
  padding: 10px 14px;
  border: 1px solid var(--saga-line-strong);
  border-radius: 10px;
  color: var(--saga-text);
  background: #211a30;
  transform: translateY(-160%);
}

.saga-skip-link:focus {
  transform: translateY(0);
}

.site {
  width: min(var(--saga-content), calc(100% - 48px));
  max-width: var(--saga-content);
  margin: 0 auto;
  padding: 20px 0 48px;
  gap: 24px;
  font-size: 14px;
}

.site-header-top {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(12px, 2vw, 24px);
  min-height: 76px;
  margin: 0 0 16px;
  padding: 8px 4px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.saga-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  margin-right: auto;
  color: var(--saga-text);
}

.saga-brand img {
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  object-fit: cover;
  border: 2px solid rgb(183 115 221 / 70%);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgb(155 99 193 / 9%), 0 3px 12px rgb(0 0 0 / 28%);
}

.saga-brand > span {
  display: grid;
  gap: 1px;
  font-size: 23px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.025em;
}

.saga-brand small {
  color: #c3b3df;
  font-family: var(--saga-font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
}

.saga-header-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}

.site-header-top .saga-header-actions > .saga-header-discord,
.site-header-top .saga-header-actions > .trs-login-trigger,
.site-header-top .saga-header-actions > .user-name,
.site-header-top .saga-header-actions > .open-basket {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid var(--saga-line);
  border-radius: 10px;
  font-family: var(--saga-font-body);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: -.01em;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: color .18s ease, background-color .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.site-header-top .saga-header-actions > .btn-glyph-text::before {
  content: none;
  display: none;
}

.site-header-top .saga-header-actions > .saga-header-discord,
.site-header-top .saga-header-actions > .trs-login-trigger,
.site-header-top .saga-header-actions > .user-name {
  color: #eee7f4;
  background: #191520;
}

.site-header-top .saga-header-actions > .saga-header-discord:hover,
.site-header-top .saga-header-actions > .trs-login-trigger:hover,
.site-header-top .saga-header-actions > .user-name:hover,
.site-header-top .saga-header-actions > .saga-header-discord:focus-visible,
.site-header-top .saga-header-actions > .trs-login-trigger:focus-visible,
.site-header-top .saga-header-actions > .user-name:focus-visible {
  color: #fff;
  border-color: var(--saga-line-strong);
  background: #241b30;
  transform: translateY(-1px);
}

.site-header-top .saga-header-actions > .open-basket {
  color: #211a0c;
  border-color: rgb(237 207 104 / 58%);
  background: var(--saga-cta);
  box-shadow: 0 2px 0 rgb(0 0 0 / 16%);
}

.site-header-top .saga-header-actions > .open-basket:hover,
.site-header-top .saga-header-actions > .open-basket:focus-visible {
  color: #19130a;
  border-color: var(--saga-cta-hover);
  background: var(--saga-cta-hover);
  transform: translateY(-1px);
}

.site-header-top .saga-header-actions > .user-name {
  position: relative;
  max-width: 180px;
  contain: none;
  overflow: hidden;
}

.site-header-top .saga-header-actions > .user-name .text,
.site-header-top .saga-header-actions > .user-name .text-hover {
  display: block;
  max-width: 18ch;
  overflow: hidden;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-header-top .saga-header-actions > .user-name:not(:hover):not(:focus-visible) .text-hover,
.site-header-top .saga-header-actions > .user-name:hover .text,
.site-header-top .saga-header-actions > .user-name:focus-visible .text {
  display: none;
  font-size: 0;
  visibility: hidden;
}

.site-header {
  isolation: isolate;
  height: 240px;
  min-height: 0;
  padding: 24px;
  overflow: hidden;
  border: 1px solid var(--saga-line);
  border-radius: var(--saga-radius);
  background: #21192f;
}

.page-index .site-header {
  display: none;
}

.site-header .site-title {
  z-index: 1;
  font-family: var(--saga-font-display);
  font-size: 44px;
}

.site-header .site-title img {
  width: auto;
  max-height: 170px;
  object-fit: contain;
}

.site-header .hero-image {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .6;
}

.site-navigation {
  position: sticky;
  top: 8px;
  z-index: 100;
  margin-bottom: 24px;
  padding: 7px 9px;
  border: 1px solid rgb(220 204 240 / 11%);
  border-radius: 13px;
  background: #17141e;
  box-shadow: 0 8px 22px rgb(0 0 0 / 14%);
  backdrop-filter: none;
}

.site-navigation .menu,
.site-navigation:not(.stuck) .menu {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 42px;
  margin: 0;
  padding: 0;
  list-style: none;
  border-radius: 0;
  background: transparent;
  font-size: 12px;
  line-height: 1.4;
  text-align: left;
}

.site-navigation .menu > .menu-item {
  flex: 0 1 auto;
  max-width: none;
}

.site-navigation .menu-link {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 0 15px;
  border-radius: 9px;
  color: #d9d0e1;
  font-family: var(--saga-font-body);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .005em;
  transition: color .16s ease, background-color .16s ease;
}

.site-navigation .menu > .menu-item > .menu-link {
  max-width: none;
  white-space: normal;
}

.site-navigation .menu-link:hover,
.site-navigation .menu-link:focus-visible {
  color: #fff;
  background: #292033;
}

.site-navigation .menu-link.link-active {
  color: #fff;
  background: #392646;
}

.site-navigation .has-children {
  position: relative;
  display: flex;
  align-items: center;
}

.saga-sub-toggle {
  display: grid;
  place-items: center;
  width: 36px;
  min-height: 42px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  color: #cfc1db;
  background: transparent;
  font-size: 11px;
}

.saga-sub-toggle:hover,
.saga-sub-toggle:focus-visible,
.saga-sub-toggle[aria-expanded="true"] {
  color: #fff;
  background: transparent;
}

.saga-sub-toggle i {
  display: block;
  transition: transform .16s ease;
}

.site-navigation .has-children > .menu-sub {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: auto;
  margin: 0;
  width: max-content;
  min-width: max(100%, 180px);
  max-width: min(280px, 70vw);
  padding: 6px;
  border: 1px solid rgb(220 204 240 / 16%);
  border-radius: 12px;
  background: #1b1723;
  box-shadow: 0 16px 36px rgb(0 0 0 / 36%);
  list-style: none;
  translate: none;
}

.site-navigation .menu-sub {
  top: calc(100% + 6px);
  left: 0;
  right: auto;
  margin: 0;
  width: max-content;
  min-width: max(100%, 180px);
  max-width: min(280px, 70vw);
  padding: 6px;
  border: 1px solid rgb(220 204 240 / 16%);
  border-radius: 12px;
  background: #1b1723;
  box-shadow: 0 16px 36px rgb(0 0 0 / 34%);
  list-style: none;
  transform-origin: top left;
}

.site-navigation .menu-sub .menu-link {
  width: 100%;
  max-width: none;
  min-height: 40px;
  padding-inline: 13px;
  border-radius: 8px;
  font-size: 12px;
}

.site-navigation .menu-sub .menu-link:hover,
.site-navigation .menu-sub .menu-link:focus-visible,
.site-navigation .menu-sub .menu-link.link-active {
  color: #fff;
  background: #392646;
}

.site-navigation .has-children.expanded > .menu-sub,
.site-navigation .has-children:hover > .menu-sub,
.site-navigation .has-children:focus-within > .menu-sub {
  visibility: visible;
  opacity: 1;
  translate: 0;
}

@media (min-width: 961px) {
  .site-navigation .menu > .menu-item > .menu-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: 42px;
    line-height: 1;
    white-space: nowrap;
  }

  .site-navigation .menu > .menu-item.has-children {
    display: inline-flex;
    flex-flow: row nowrap;
    align-items: center;
    justify-content: flex-start;
    width: auto;
    border-radius: 9px;
  }

  .site-navigation .menu > .menu-item.has-children > .menu-link {
    flex: 0 0 auto;
    width: auto;
    height: 42px;
    padding-right: 2px;
    background: transparent;
  }

  .site-navigation .menu > .menu-item.has-children > .saga-sub-toggle {
    display: inline-grid;
    place-items: center;
    flex: 0 0 22px;
    align-self: center;
    width: 22px;
    height: 42px;
    min-height: 42px;
    margin: 0 6px 0 0;
    padding: 0;
    line-height: 1;
    border-radius: 8px;
    background: transparent;
  }

  .site-navigation .menu > .menu-item.has-children > .saga-sub-toggle i {
    display: block;
    line-height: 1;
    font-style: normal;
  }

  .site-navigation .has-children:hover,
  .site-navigation .has-children:focus-within,
  .site-navigation .has-children.expanded {
    background: #292033;
  }

  .site-navigation .has-children:hover > .menu-link,
  .site-navigation .has-children:focus-within > .menu-link,
  .site-navigation .has-children.expanded > .menu-link,
  .site-navigation .has-children:hover > .saga-sub-toggle,
  .site-navigation .has-children:focus-within > .saga-sub-toggle,
  .site-navigation .has-children.expanded > .saga-sub-toggle,
  .site-navigation .has-children > .saga-sub-toggle[aria-expanded="true"] {
    background: transparent;
    color: #fff;
  }

  .site-navigation .has-children.expanded > .saga-sub-toggle i,
  .site-navigation .has-children > .saga-sub-toggle[aria-expanded="true"] i {
    transform: rotate(180deg);
  }

  .site-navigation .has-children::after {
    position: absolute;
    z-index: 29;
    top: 100%;
    right: 0;
    left: 0;
    height: 10px;
    content: "";
  }
}

.saga-menu-toggle,
.saga-mobile-nav-heading {
  display: none;
}

.saga-hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  align-items: center;
  min-height: 480px;
  padding: 36px 48px;
  overflow: hidden;
  border: 1px solid rgb(190 150 223 / 30%);
  border-radius: 20px;
  background:
    linear-gradient(90deg, rgb(13 8 22 / 88%), rgb(13 8 22 / 34%)),
    url('https://pplx-res.cloudinary.com/image/upload/pplx_search_images/51349b40b920c2f494c76ffb5804e214bf631b71.jpg') center / cover no-repeat;
  box-shadow: 0 18px 52px rgb(0 0 0 / 20%);
}

.saga-hero::after {
  display: none;
}

.saga-hero-copy {
  position: relative;
  z-index: 2;
}

.saga-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--saga-violet);
  font-family: var(--saga-font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
  line-height: 1.6;
}

.saga-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--saga-violet);
  box-shadow: 0 0 0 4px rgb(166 108 232 / 12%);
}

.saga-hero h1 {
  margin: 23px 0 19px;
  font-size: clamp(40px, 4.6vw, 65px);
  font-weight: 700;
  line-height: .95;
  letter-spacing: -.03em;
}

.saga-hero h1 em {
  color: var(--saga-gold);
  font-style: normal;
}

.saga-hero p {
  max-width: 440px;
  margin: 0;
  color: #c6bacf;
  font-size: 14px;
  line-height: 1.7;
}

.saga-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 29px;
}

.saga-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 9px;
  font-family: var(--saga-font-body);
  font-size: 13px;
  font-weight: 700;
  transition: background .2s var(--saga-ease), transform .2s var(--saga-ease), box-shadow .2s ease;
}

.saga-button:hover {
  transform: translateY(-2px);
}

.saga-button-primary,
.store-product a.add.btn-primary,
.store-product-full > .actions a.add.btn-primary,
.popup.login-popup .login-popup-content button[type="submit"].btn-primary,
.basket .basket-checkout .checkout {
  color: #211a0c;
  border-color: rgb(237 207 104 / 60%);
  background: var(--saga-cta);
  box-shadow: 0 2px 0 rgb(0 0 0 / 16%);
}

.saga-button-primary:hover,
.store-product a.add.btn-primary:hover,
.store-product-full > .actions a.add.btn-primary:hover,
.popup.login-popup .login-popup-content button[type="submit"].btn-primary:hover,
.basket .basket-checkout .checkout:hover {
  color: #19130a;
  border-color: var(--saga-cta-hover);
  background: var(--saga-cta-hover);
  box-shadow: 0 6px 16px rgb(0 0 0 / 22%);
}

.saga-button-primary:active,
.store-product a.add.btn-primary:active {
  box-shadow: none;
  transform: translateY(1px);
}

.saga-button-quiet {
  border-color: #655377;
  color: #e3d8ed;
  box-shadow: none;
}

.saga-button-quiet:hover {
  color: #fff;
  background: #ffffff09;
}

.saga-hero-note {
  display: block;
  margin-top: 23px;
  color: #b6a7c4;
  font-size: 11px;
}

.saga-hero-art {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  height: 400px;
  background: transparent !important;
  box-shadow: none !important;
}

.saga-hero-logo {
  width: min(100%, 380px);
  max-height: 350px;
  object-fit: contain;
  background: transparent !important;
  box-shadow: none !important;
  mix-blend-mode: screen;
  filter: drop-shadow(0 15px 25px #0009);
}

.saga-header-actions i,
.saga-actions i {
  font-size: 12px;
}

.saga-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 8px 0 28px;
  border-bottom: 1px solid var(--saga-line);
}

.saga-benefits > * {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 4px 20px;
}

.saga-benefits > * + * {
  border-left: 1px solid var(--saga-line);
}

.saga-benefits > * > span,
.saga-benefits i {
  color: var(--saga-violet);
  font-size: 23px;
}

.saga-benefits p {
  margin: 0;
}

.saga-benefits strong,
.saga-benefits small {
  display: block;
}

.saga-benefits strong {
  font-size: 12px;
  font-weight: 600;
}

.saga-benefits small {
  margin-top: 3px;
  color: var(--saga-muted);
  font-size: 11px;
}

.site-content,
.site-content > main,
.store-home {
  min-width: 0;
  padding: 0;
}

.saga-section {
  margin-bottom: 40px;
  scroll-margin-top: 95px;
}

.saga-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.saga-section-heading h2 {
  margin: 7px 0 0;
  font-size: 32px;
  font-weight: 700;
}

.saga-section-count {
  padding-bottom: 3px;
  color: var(--saga-muted);
  font-size: 11px;
  white-space: nowrap;
}

.site-home-categories {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.site-home-categories .category {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--saga-line);
  border-radius: 15px;
  color: var(--saga-text);
  background: var(--saga-panel);
  font-size: 16px;
  text-align: left;
  box-shadow: 0 8px 22px rgb(0 0 0 / 15%);
  transition: border-color .2s var(--saga-ease), transform .2s var(--saga-ease), background-color .2s ease;
}

.site-home-categories .category:hover {
  border-color: var(--saga-line-strong);
  background: #211b2b;
  transform: translateY(-3px);
}

.saga-category-main {
  display: flex;
  flex: 1;
  flex-direction: column;
  color: inherit;
}

.saga-category-art {
  display: grid;
  place-items: center;
  height: 155px;
  color: var(--saga-violet);
  background: radial-gradient(ellipse at center, #9b6ada20, transparent 70%);
}

.category:nth-child(3n+2) .saga-category-art {
  color: var(--saga-gold);
  background: radial-gradient(ellipse at center, #d2a55e18, transparent 70%);
}

.category:nth-child(3n) .saga-category-art {
  color: #bba5dc;
  background: radial-gradient(ellipse at center, rgb(187 165 220 / 12%), transparent 70%);
}

.site-home-categories .category .image {
  width: 135px;
  height: 125px;
  margin: 0;
  object-fit: contain;
  filter: drop-shadow(0 12px 14px #0004);
  transition: transform .25s var(--saga-ease);
}

.category:hover .image {
  transform: scale(1.06);
}

.saga-category-symbol {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  font-size: 48px;
}

.saga-category-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 17px;
  border-top: 1px solid #ffffff08;
}

.saga-category-label strong {
  display: block;
  overflow-wrap: anywhere;
  font: 700 20px/1.15 var(--saga-font-display);
}

.saga-category-label small {
  display: block;
  margin-top: 5px;
  color: var(--saga-muted);
  font: 11px/1.4 var(--saga-font-body);
}

.saga-arrow,
.saga-arrow i {
  color: var(--saga-violet);
  font-size: 15px;
}

.saga-category-upgrade {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px;
  border-top: 1px solid var(--saga-line);
  color: var(--saga-gold);
  background: rgb(232 201 94 / 4%);
  font-size: 12px;
}

.saga-category-upgrade:hover {
  color: var(--saga-cta-hover);
  background: rgb(232 201 94 / 10%);
}

.saga-server-block + .saga-server-block {
  margin-top: 8px;
}

.saga-server-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 28px 22px;
  border: 1px dashed rgb(190 126 239 / 34%);
  border-radius: 16px;
  color: var(--saga-muted);
  background: rgb(255 255 255 / 2%);
  font-size: 14px;
  line-height: 1.5;
}

.saga-server-grid:has(.category) > .saga-server-empty {
  display: none;
}

.site-navigation .menu-sub .saga-nested-link {
  padding-left: 22px;
  color: var(--saga-subtle);
  font-weight: 550;
}

.store-sidebar {
  gap: 20px;
  min-width: 0;
  padding-top: 0;
}

.widget {
  min-width: 0;
  max-width: 100%;
  padding: 20px;
  overflow: hidden;
  border: 1px solid var(--saga-line);
  border-radius: 15px;
  background: var(--saga-panel);
  overflow-wrap: anywhere;
}

.widget-title {
  margin-bottom: 18px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--saga-line);
  font-family: var(--saga-font-display);
  font-size: 22px;
}

.widget-content {
  color: var(--saga-muted);
  font-size: 13px;
}

.widget-top-donator .widget-content {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  align-items: center;
  gap: 4px 14px;
}

.widget-top-donator .avatar {
  grid-row: 1 / span 2;
  width: 72px;
  height: 96px;
  max-width: 72px;
  max-height: 96px;
  margin: 0;
  object-fit: contain;
  border-radius: 8px;
  background: #121018;
}

.widget-top-donator .username {
  align-self: end;
  margin: 0;
  color: var(--saga-gold-soft);
  font-size: 14px;
}

.widget-top-donator .widget-content > p {
  align-self: start;
  margin: 0;
  color: var(--saga-muted);
  font-size: 11px;
  line-height: 1.55;
}

.widget-recent .avatar {
  border-radius: 7px;
}

.widget-recent .purchases {
  display: grid;
  gap: 12px;
}

.widget-recent .purchase {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  margin: 0;
  padding-bottom: 12px;
  border-bottom: 1px solid #ffffff0a;
}

.widget-recent .purchase:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.widget-recent .avatar {
  width: 38px;
  height: 38px;
  max-width: 38px;
  max-height: 38px;
  object-fit: cover;
}

.widget-recent .info,
.widget-recent .info p,
.widget-recent .username {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
}

.widget-recent .username {
  margin: 0 0 3px;
  color: var(--saga-text);
  font-size: 12px;
}

.widget-recent .info p,
.widget-recent time {
  color: var(--saga-muted);
  font-size: 10px;
  line-height: 1.45;
}

.widget-goal .progress,
.widget-community-goal .progress {
  height: 8px;
  overflow: hidden;
  border-radius: 10px;
  background: #30273e;
}

.widget-goal .progress-bar,
.widget-community-goal .progress-bar {
  background: var(--saga-violet);
}

.store-products-list,
.store-products-images {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 18px 20px;
  width: 100%;
  margin: 0;
  padding: 0;
}

.store-products-images .store-product,
.store-products-list .store-product,
.store-product:not(.store-product-full) {
  display: flex;
  flex-direction: column;
  grid-column: auto;
  grid-row: auto;
  gap: 0;
  min-width: 0;
  min-height: 100%;
  padding: 16px;
  overflow: hidden;
  border: 1px solid rgb(220 204 240 / 12%);
  border-radius: 15px;
  background: #191620;
  box-shadow: 0 8px 22px rgb(0 0 0 / 15%);
  animation: saga-card-enter .36s var(--saga-ease) both;
  transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease, transform .2s var(--saga-ease);
}

.store-product:not(.store-product-full):nth-child(2) { animation-delay: 35ms; }
.store-product:not(.store-product-full):nth-child(3) { animation-delay: 70ms; }
.store-product:not(.store-product-full):nth-child(4) { animation-delay: 105ms; }
.store-product:not(.store-product-full):nth-child(5) { animation-delay: 140ms; }
.store-product:not(.store-product-full):nth-child(6) { animation-delay: 175ms; }

.store-product:not(.store-product-full):hover,
.store-product:not(.store-product-full):focus-within {
  border-color: rgb(190 126 239 / 43%);
  background: #1c1824;
  box-shadow: 0 12px 28px rgb(0 0 0 / 21%);
  transform: translateY(-2px);
}

.store-products-list .store-product .image-link,
.store-products-images .store-product .image-link,
.store-product:not(.store-product-full) .image-link {
  display: grid;
  place-items: center;
  width: 100%;
  height: clamp(190px, 19vw, 238px);
  margin: 0 0 15px;
  padding: 14px;
  overflow: hidden;
  border: 1px solid rgb(220 204 240 / 7%);
  border-radius: 10px;
  background: radial-gradient(ellipse at 50% 42%, #191421 0%, #110f16 72%);
}

.store-product:not(.store-product-full) .image,
.store-products-list .store-product .image,
.store-products-images .store-product .image {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: clamp(164px, calc(19vw - 24px), 212px);
  margin: 0;
  object-fit: contain;
  filter: drop-shadow(0 6px 11px rgb(0 0 0 / 25%));
  transition: transform .24s var(--saga-ease), filter .24s ease;
}

.store-product:not(.store-product-full):hover .image-link .image,
.store-product:not(.store-product-full):focus-within .image-link .image {
  transform: scale(1.025);
  filter: drop-shadow(0 9px 14px rgb(0 0 0 / 31%));
}

.store-product:not(.store-product-full) .product-title {
  display: grid;
  min-height: 2.35em;
  place-items: center;
  margin: 0 0 12px;
  padding-inline: 3px;
  color: #f1ebf6;
  font-size: 20px;
  font-weight: 700;
  text-align: center;
}

.store-product .product-title a {
  color: #f1ebf6;
  font-family: var(--saga-font-display);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.18;
  text-wrap: balance;
}

.store-product .product-title a:hover {
  color: #d9b2f1;
}

.store-product .descr {
  color: var(--saga-muted);
  font-size: 13px;
}

.store-product:not(.store-product-full) .actions,
.store-products-list .store-product .actions,
.store-products-images .store-product .actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  width: 100%;
  margin-top: auto;
}

.store-product .price,
.store-product .price strong {
  width: 100%;
  margin: 0;
  color: var(--saga-gold-soft);
  font-family: var(--saga-font-display);
  font-size: 22px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.store-product .price .discount,
.store-product .price del {
  margin-right: 6px;
  color: var(--saga-subtle);
  font-family: var(--saga-font-body);
  font-size: 13px;
  font-weight: 400;
}

.store-product .actions .btn-primary,
.store-product .actions .btn-secondary,
.store-product .actions .add,
.store-product .actions .subscribe {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 46px;
  height: 46px;
  padding: 10px 16px;
  border: 1px solid rgb(237 207 104 / 60%);
  border-radius: 9px;
  color: #211a0c;
  background: var(--saga-cta);
  font-family: var(--saga-font-body);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

.store-product .actions .wide {
  flex: 1 1 100%;
  width: 100%;
}

.store-product .actions .btn-primary:hover,
.store-product .actions .add:hover,
.store-product .actions .subscribe:hover {
  color: #19130a;
  border-color: var(--saga-cta-hover);
  background: var(--saga-cta-hover);
}

.store-product .actions a[disabled],
.store-product .actions a.add[disabled] {
  pointer-events: auto;
  opacity: 1;
  cursor: pointer;
}

.store-product .actions > .gift {
  min-height: 42px;
  border: 1px solid var(--saga-line);
  color: var(--saga-muted);
  background: var(--saga-bg-raised);
}

.store-product .product-title .countdown,
.store-product-tiered .countdown {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 8px 0 0;
  padding: 5px 8px;
  border: 1px solid rgb(240 212 123 / 18%);
  border-radius: 6px;
  color: var(--saga-gold-soft);
  background: rgb(234 206 115 / 6%);
  font-family: var(--saga-font-body);
  font-size: 11px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.quantity-field:not([hidden]) {
  display: grid;
  grid-template-columns: 38px minmax(40px, 1fr) 38px;
  align-items: center;
  gap: 5px;
  width: 100%;
  min-width: 0;
  height: auto;
  margin: 0;
  padding: 5px;
  overflow: visible;
  border: 1px solid var(--saga-line);
  border-radius: 10px;
  background: #120f18;
}

.quantity-field.with-open-basket {
  grid-template-columns: 38px minmax(0, 1fr) 48px 38px;
}

.quantity-field > .adjust,
.quantity-field > input,
.quantity-field > .open-basket,
.quantity-field > .adjust.decrease,
.quantity-field > .adjust.increase,
.quantity-field > .open-basket,
.quantity-field.with-open-basket > input[type="number"] {
  order: 0;
  margin: 0;
}

.quantity-field > .adjust {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  min-height: 38px;
  padding: 0;
  border: 1px solid rgb(213 195 230 / 16%);
  border-radius: 8px;
  color: #f1eaf6;
  background: #241d2d;
  font-size: 17px;
  line-height: 1;
}

.quantity-field > .adjust::before {
  content: none;
}

.quantity-field > .open-basket {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  min-height: 38px;
  padding: 5px 6px;
  border: 1px solid rgb(196 155 229 / 23%);
  border-radius: 7px;
  color: #e2cbf1;
  background: #2d2139;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}

.quantity-field > .open-basket:hover {
  border-color: var(--saga-line-strong);
  background: #392b45;
}

.quantity-field input[type="number"],
.quantity-field input.quantity {
  display: block;
  width: 100%;
  min-width: 0;
  height: 38px;
  margin: 0;
  padding: 4px;
  border: 0;
  border-radius: 7px;
  color: var(--saga-text);
  background: #1d1726;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  text-align: center;
  appearance: textfield;
}

.quantity-field.with-open-basket input[type="number"] {
  margin: 0;
  text-align: center;
}

.quantity-field input::-webkit-inner-spin-button,
.quantity-field input::-webkit-outer-spin-button {
  margin: 0;
  appearance: none;
}

.quantity-field:focus-within {
  border-color: var(--saga-gold);
  box-shadow: var(--saga-focus-ring);
}

.store-product.store-product-full {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
  grid-template-areas: "image title" "image actions" "image descr";
  align-items: start;
  gap: 18px 28px;
  padding: clamp(20px, 2.5vw, 30px);
  overflow: visible;
  border: 1px solid rgb(202 177 223 / 16%);
  border-radius: 18px;
  background: #191620;
  box-shadow: 0 16px 42px rgb(0 0 0 / 14%);
  animation: none;
  transform: none;
}

.store-product-full > * {
  min-width: 0;
  max-width: 100%;
}

.store-product-full > .image,
.store-product-full > .media-slider {
  grid-area: image;
  align-self: start;
}

.store-product-full > .image {
  display: block;
  width: 100%;
  height: clamp(340px, 31vw, 430px);
  max-height: none;
  margin: 0;
  padding: 24px;
  border: 1px solid rgb(223 210 237 / 8%);
  border-radius: 12px;
  background: var(--saga-media-surface);
  object-fit: contain;
  object-position: center;
}

.store-product-full > .product-title {
  grid-area: title;
  display: block;
  min-height: 0;
  margin: 0;
  color: var(--saga-text);
  font-size: clamp(32px, 3.1vw, 44px);
  font-weight: 700;
  text-align: left;
  text-wrap: balance;
}

.store-product-full > .actions {
  grid-area: actions;
  align-self: start;
  justify-self: start;
  width: 100%;
  margin: 0;
  padding: 20px;
  border: 1px solid var(--saga-line);
  border-radius: 12px;
  background: #15111c;
}

.store-product-full > .actions .price,
.store-product-full > .actions .price strong {
  font-size: 28px;
  line-height: 1.15;
}

.store-product-full > .actions .add,
.store-product-full .wide {
  max-width: none;
  min-height: 50px;
  height: auto;
}

.store-product-full > .descr {
  grid-area: descr;
  margin: 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--saga-line);
  color: var(--saga-muted);
  font-family: var(--saga-font-body);
  font-size: 13px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.media-slider {
  --slider-spacing: 12px;
  --thumbs-size: 66px;
  --thumb-padding: 7px;
  --swiper-theme-color: var(--saga-text);
  position: relative;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow: visible;
}

.media-slider .slider {
  display: block;
  width: 100%;
  min-height: 280px;
  margin-bottom: var(--slider-spacing);
  overflow: hidden;
  border: 1px solid var(--saga-line);
  border-radius: 12px;
  background: var(--saga-media-surface);
}

.media-slider .slider::part(container) {
  --swiper-navigation-size: 22px;
  --swiper-navigation-color: #e4d5ef;
  --swiper-theme-color: #e4d5ef;
  --swiper-pagination-color: var(--saga-gold);
  --swiper-pagination-bullet-inactive-color: #a18caf;
  --swiper-pagination-bullet-inactive-opacity: .55;
}

.media-slider .slider::part(button-prev),
.media-slider .slider::part(button-next) {
  width: 38px;
  height: 38px;
  padding: 10px;
  border: 1px solid var(--saga-line);
  border-radius: 9px;
  color: var(--saga-text);
  background: rgb(20 14 28 / 90%);
}

.media-slider .slide-image {
  height: clamp(280px, 34vw, 460px);
  padding: 24px;
  object-fit: contain;
}

.store-product-full > .media-slider .slide-image {
  height: clamp(340px, 31vw, 430px);
}

.media-slider .thumb {
  border: 1px solid var(--saga-line);
  border-radius: 9px;
  background: var(--saga-media-surface);
}

.media-slider .thumb:hover,
.media-slider .thumb.active {
  border-color: var(--saga-gold);
  background: #292032;
}

.media-slider .open-lightbox {
  border: 1px solid var(--saga-line);
  border-radius: 9px;
  background: rgb(20 14 28 / 90%);
}

.popup.popup-media-slider:not([hidden]) {
  padding: 48px 24px 24px;
  background: rgb(8 5 13 / 94%);
}

.popup.popup-media-slider .slider {
  border: 1px solid var(--saga-line);
  border-radius: 12px;
  background: var(--saga-media-surface);
}

.category-header,
.store-text {
  padding: 26px;
  border: 1px solid var(--saga-line);
  border-radius: 15px;
  background: var(--saga-panel);
}

.category-header h1 {
  font-size: 40px;
}

.text-content {
  color: var(--saga-muted);
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.text-content h1,
.text-content h2,
.text-content h3 {
  color: var(--saga-text);
}

.text-content a {
  color: var(--saga-violet);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.text-content :is(ul, ol) {
  padding-left: 20px;
}

.text-content :is(th, td) {
  padding: 10px;
  border-bottom: 1px solid var(--saga-line);
  text-align: left;
}

.text-content pre,
.text-content code {
  border-radius: 8px;
  background: #120f18;
}

.store-form {
  min-width: 0;
  max-width: 100%;
  color: var(--saga-text);
  font-family: var(--saga-font-body);
  font-size: 14px;
  text-align: left;
}

.store-form :is(h1, h2, h3, h4) {
  margin: 0 0 16px;
  color: var(--saga-text);
  font-family: var(--saga-font-display);
}

.store-form p,
.store-form .field-description {
  margin: 0 0 16px;
  color: var(--saga-muted);
  font-size: 13px;
  line-height: 1.7;
}

.store-form label {
  display: block;
  margin: 0 0 8px;
  color: var(--saga-text);
  font-size: 13px;
  font-weight: 600;
}

.store-form fieldset {
  margin: 0 0 20px;
  padding: 16px;
  border: 1px solid var(--saga-line);
  border-radius: 11px;
  background: var(--saga-bg-raised);
}

.store-form :is(
  input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="submit"]):not([type="button"]):not([type="reset"]),
  select,
  textarea
),
.login-popup-content .field input[type="text"],
.widget-gift-card .gift-card-input {
  display: block;
  width: 100%;
  min-height: 48px;
  margin: 0 0 10px;
  padding: 12px 14px;
  border: 1px solid var(--saga-line);
  border-radius: 9px;
  color: var(--saga-text);
  background: #120f19;
  font-family: var(--saga-font-body);
  font-size: 14px;
  text-align: left;
  transition: border-color .16s ease, box-shadow .16s ease;
}

.store-form :is(input, select, textarea):hover:not(:disabled),
.login-popup-content .field input[type="text"]:hover {
  border-color: rgb(196 155 229 / 36%);
}

.store-form :is(input, select, textarea):focus,
.login-popup-content .field input[type="text"]:focus {
  border-color: var(--saga-gold);
  box-shadow: var(--saga-focus-ring);
  outline: none;
}

.store-form :is(input, textarea)::placeholder,
.login-popup-content input::placeholder {
  color: var(--saga-subtle);
  opacity: 1;
}

.popup:not([hidden]) {
  position: fixed;
  z-index: 10000;
  inset: 0;
  width: 100%;
  height: 100dvh;
  padding: 16px;
  overflow: auto;
  color: var(--saga-text);
  background: rgb(6 4 10 / 82%);
  backdrop-filter: blur(7px);
  font-family: var(--saga-font-body);
}

.popup .popup-scroll-cont {
  display: grid;
  width: 100%;
  min-height: 100%;
  place-items: center;
  padding: 12px 0;
}

.popup .popup-content {
  position: relative;
  width: min(560px, 100%);
  max-width: 100%;
  margin: auto;
  padding: 52px 28px 28px;
  border: 1px solid var(--saga-line-strong);
  border-radius: 18px;
  color: var(--saga-text);
  background: #1b1523;
  box-shadow: 0 24px 80px rgb(0 0 0 / 45%);
}

.popup .popup-close {
  position: absolute;
  z-index: 3;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 1px solid var(--saga-line);
  border-radius: 10px;
  color: transparent;
  background: #2a2033;
  font-size: 0;
  line-height: 0;
  mask: none;
  -webkit-mask: none;
}

.popup .popup-close::before {
  content: "";
  width: 12px;
  height: 12px;
  background: #f6f1fa;
  mask: url("https://template-assets.tebex.io/images/close.svg") center / contain no-repeat;
  -webkit-mask: url("https://template-assets.tebex.io/images/close.svg") center / contain no-repeat;
}

.popup .popup-close:hover,
.popup .popup-close:focus-visible {
  border-color: var(--saga-line-strong);
  background: #382a43;
}

.popup .popup-content > h2,
.login-popup-content h2 {
  margin: 0 0 18px;
  font-family: var(--saga-font-display);
  font-size: 34px;
  font-weight: 700;
  text-align: left;
}

.popup.login-popup .login-popup-content {
  width: min(430px, 100%);
  max-width: 430px;
  padding: 54px 30px 30px;
  text-align: left;
}

.popup.login-popup .field {
  display: grid;
  gap: 12px;
  margin: 0;
}

.popup.login-popup button[type="submit"] {
  width: 100%;
  min-height: 48px;
}

.popup.basket-popup:not([hidden]) {
  z-index: 20000;
  display: block;
  padding: 24px;
  background: rgb(6 4 10 / 84%);
  backdrop-filter: blur(8px);
}

.popup.basket-popup .popup-scroll-cont {
  justify-content: center;
  padding: 0;
}

.popup.basket-popup .popup-content.basket-popup-content {
  display: block;
  width: min(400px, calc(100vw - 32px));
  max-width: none;
  justify-self: center;
  height: auto;
  max-height: calc(100dvh - 48px);
  margin: 0 auto;
  padding: 18px 18px 20px;
  overflow: auto;
  border: 1px solid var(--saga-line-strong);
  border-radius: 18px;
  background: #1b1523;
  box-shadow: 0 24px 80px rgb(0 0 0 / 45%);
  translate: none;
  animation: saga-cart-appear .2s ease-out backwards;
}

.popup.basket-popup .basket-popup-content .popup-close {
  top: 16px;
  right: 16px;
}

.popup.basket-popup .basket-header {
  display: flex;
  align-items: center;
  min-height: 34px;
  margin: 0 0 14px;
  padding: 0 44px 0 2px;
  background: transparent;
}

.popup.basket-popup .basket-title {
  margin: 0;
  color: var(--saga-text);
  font-family: var(--saga-font-display);
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  text-transform: none;
}

.popup.basket-popup .basket-title::before {
  content: none;
  display: none;
}

.popup.basket-popup .basket-second-header {
  gap: 8px 20px;
  margin: 20px 0 4px;
  padding: 13px 16px;
  border: 1px solid var(--saga-line);
  border-radius: 10px;
  background: #261e30;
  font-weight: 500;
}

.popup.basket-popup .basket-second-header .count {
  color: #c8bbd3;
  font-size: 12px;
}

.popup.basket-popup .basket-second-header .total,
.popup.basket-popup .basket-item .price,
.popup.basket-popup .basket-checkout .total {
  color: var(--saga-gold);
  font-variant-numeric: tabular-nums;
}

.popup.basket-popup .basket-items {
  display: block;
  gap: 0;
  padding: 0;
}

.popup.basket-popup .basket-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "info info" "quantity remove";
  align-items: center;
  gap: 12px 16px;
  margin: 0;
  padding: 16px 0 6px;
  border-bottom: 1px solid var(--saga-line);
  border-radius: 0;
  background: transparent;
}

.popup.basket-popup .basket-item:last-child {
  border-bottom: 0;
}

.popup.basket-popup .basket-item .info {
  display: grid;
  grid-area: info;
  gap: 7px;
  margin: 0;
}

.popup.basket-popup .basket-item .title {
  margin: 0;
  font-family: var(--saga-font-display);
  font-size: 25px;
  font-weight: 700;
}

.popup.basket-popup .basket-item .quantity-field:not([hidden]) {
  grid-area: quantity;
  grid-template-columns: 36px 44px 36px;
  justify-self: start;
  width: 132px;
}

.popup.basket-popup .basket-item .remove {
  display: inline-flex;
  grid-area: remove;
  align-items: center;
  justify-content: center;
  justify-self: end;
  min-height: 36px;
  padding: 8px 4px;
  border: 0;
  border-radius: 8px;
  color: #c5b5cf;
  background: transparent;
  font-size: 13px;
  font-weight: 600;
}

.popup.basket-popup .basket-item .remove::before {
  content: none;
}

.popup.basket-popup .basket-item .remove:hover {
  border-color: rgb(255 170 166 / 28%);
  color: var(--saga-danger);
  background: rgb(154 48 51 / 12%);
}

.popup.basket-popup .basket-checkout {
  display: grid;
  gap: 20px;
  margin: 4px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--saga-line-strong);
  background: transparent;
}

.popup.basket-popup .basket-checkout h3 {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px 20px;
  margin: 0;
  color: #c5b7d0;
  font-family: var(--saga-font-body);
  font-size: 14px;
  font-weight: 500;
  text-transform: none;
}

.popup.basket-popup .basket-checkout .total {
  font-size: 30px;
  font-weight: 700;
}

.popup.basket-popup .basket-checkout .checkout {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--saga-cta);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
}

.popup.basket-popup .basket-empty,
.popup.basket-popup .basket-content:not(:has(.basket-item)) {
  display: grid;
  min-height: 96px;
  margin: 0;
  padding: 46px 12px 18px;
  place-items: center;
  color: #efe8f4;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
}

.saga-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 0;
  padding: 24px 0;
  list-style: none;
  border-top: 1px solid var(--saga-line);
  border-bottom: 1px solid var(--saga-line);
}

.saga-steps li > span {
  color: var(--saga-violet);
  font: 600 14px var(--saga-font-display);
}

.saga-steps h3 {
  margin: 12px 0 8px;
  font-size: 22px;
  font-weight: 700;
}

.saga-steps p {
  margin: 0;
  color: var(--saga-muted);
  font-size: 13px;
  line-height: 1.7;
}

.saga-faq details {
  border-bottom: 1px solid var(--saga-line);
}

.saga-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 19px 0;
  list-style: none;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.saga-faq summary::-webkit-details-marker {
  display: none;
}

.saga-faq summary::after {
  content: "\f067";
  color: var(--saga-violet);
  font-family: "Font Awesome 6 Free";
  font-size: 14px;
  font-weight: 900;
}

.saga-faq details[open] summary::after {
  content: "\f068";
}

.saga-faq p {
  margin: 0 0 20px;
  color: var(--saga-muted);
  font-size: 13px;
  line-height: 1.8;
}

.saga-faq a,
.saga-text-link {
  color: var(--saga-violet);
  font-weight: 600;
}

.saga-faq a {
  text-decoration: underline;
}

.saga-text-link {
  font-size: 12px;
}

.saga-text-link:hover {
  text-decoration: underline;
}

.saga-community {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
  padding: 32px;
  border: 1px solid var(--saga-line-strong);
  border-radius: var(--saga-radius);
  background: linear-gradient(110deg, #251d32, #1b1723);
}

.saga-community h2 {
  max-width: 370px;
  margin: 10px 0;
  font-size: 36px;
}

.saga-community p {
  margin: 0 0 16px;
  color: var(--saga-muted);
  font-size: 13px;
}

.saga-connections {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.saga-connection {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  border: 1px solid #44364f;
  border-radius: 10px;
  background: #100e165e;
}

.saga-connection > div {
  min-width: 0;
}

.saga-connection strong {
  display: block;
  font-size: 12px;
  font-weight: 600;
}

.saga-connection strong small {
  margin-left: 7px;
  color: var(--saga-muted);
  font-size: 10px;
}

.saga-connection code {
  display: block;
  margin-top: 5px;
  padding: 0;
  overflow-wrap: anywhere;
  color: var(--saga-muted);
  background: transparent;
  font: 12px/1.6 ui-monospace, Consolas, monospace;
}

.saga-copy {
  flex-shrink: 0;
  min-height: 42px;
  padding: 8px 13px;
  border: 1px solid #655079;
  border-radius: 7px;
  color: #e4d6f4;
  background: #332740;
  font-size: 11px;
}

.saga-copy:hover {
  background: #473456;
}

.saga-copy.is-copied {
  border-color: #668974;
  color: var(--saga-success);
}

.saga-announcement {
  position: fixed;
  bottom: calc(24px + var(--saga-safe-bottom));
  left: 50%;
  z-index: 10000000100;
  max-width: calc(100% - 32px);
  padding: 12px 20px;
  border: 1px solid var(--saga-line-strong);
  border-radius: 10px;
  color: #fff;
  background: #251c30;
  box-shadow: 0 10px 40px #0007;
  font-size: 13px;
  text-align: center;
  transform: translateX(-50%);
}

.saga-announcement:empty {
  display: none;
}

.toaster {
  position: fixed;
  right: 24px;
  bottom: calc(24px + var(--saga-safe-bottom));
  z-index: 12000;
  display: flex;
  flex-direction: column-reverse;
  gap: 10px;
  width: min(440px, calc(100% - 48px));
  pointer-events: none;
}

.toast:not([hidden]) {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 58px;
  padding: 15px 12px 15px 18px;
  border: 1px solid var(--saga-line-strong);
  border-left: 3px solid var(--saga-violet);
  border-radius: 10px;
  color: var(--saga-text);
  background: #261b30;
  box-shadow: 0 12px 32px rgb(0 0 0 / 28%);
  font-size: 12px;
  pointer-events: auto;
}

.toast.toast-error {
  border-left-color: var(--saga-danger);
  background: #321c24;
}

.toast.toast-success {
  border-left-color: var(--saga-success);
  background: #192b23;
}

.toast.toast-warning {
  border-left-color: var(--saga-gold);
  background: #302519;
}

.site-footer {
  padding-top: 28px;
  border-top: 1px solid var(--saga-line);
  color: var(--saga-muted);
  background: transparent;
  font-size: 12px;
}

.site-footer-inner {
  width: min(var(--saga-content), 100%);
  margin: auto;
  padding: 0;
}

.site-footer a,
.site-footer-credit .legal a {
  color: #c5b6d2;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.site-footer a:hover,
.site-footer-credit .legal a:hover {
  color: var(--saga-gold);
}

.site-footer-inner .site-footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 24px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.site-footer-credit {
  margin: 0;
  border-top: 1px solid var(--saga-line);
  color: var(--saga-muted);
  background: #141019;
  font-size: 11px;
}

.site-footer-credit .site-footer-credit-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  width: min(var(--saga-content), calc(100% - 48px));
  margin: auto;
  padding: 16px 0;
}

tebex-footer {
  font-family: var(--saga-font-body);
  --tebex-legal-footer-background-color: #141019;
  --tebex-legal-footer-border-color: var(--saga-line);
  --tebex-legal-footer-text-color: var(--saga-muted);
  --tebex-legal-footer-logo-color: #bfaacf;
}

#saga-content {
  position: absolute;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

@keyframes saga-card-enter {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes saga-cart-appear {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (min-width: 961px) {
  body:not(.is-sidebar-bottom) .site-content-widgets {
    display: grid;
    align-items: start;
    gap: 26px;
  }

  body.is-sidebar-left .site-content-widgets {
    grid-template-columns: 250px minmax(0, 1fr);
  }

  body.is-sidebar-right .site-content-widgets {
    grid-template-columns: minmax(0, 1fr) 250px;
  }

  body.is-sidebar-right .site-content-widgets .store-home {
    grid-column: 1;
    grid-row: 1;
  }

  body.is-sidebar-right .site-content-widgets .store-sidebar {
    grid-column: 2;
    grid-row: 1;
  }
}

@media (max-width: 1100px) {
  .saga-hero {
    grid-template-columns: 1.4fr 1fr;
    padding: 30px;
  }

  .saga-hero-art {
    transform: scale(.88);
  }

  .saga-community {
    gap: 24px;
    padding: 24px;
  }
}

@media (max-width: 960px) {
  .site {
    width: calc(100% - 40px);
    gap: 20px;
  }

  .site-header-top {
    position: relative;
    top: auto;
    min-height: 72px;
    background: transparent;
    backdrop-filter: none;
  }

  .site-header-top .saga-header-actions > .saga-header-discord {
    display: none;
  }

  .saga-menu-toggle {
    display: grid;
    place-items: center;
    width: 44px;
    min-width: 44px;
    min-height: 44px;
    border: 1px solid var(--saga-line);
    border-radius: 10px;
    color: var(--saga-text);
    background: #191520;
  }

  .site-navigation,
  body:not(.show-navigation) .site-navigation {
    position: fixed;
    inset: 0 0 0 auto;
    z-index: 1100;
    display: none;
    width: min(360px, 90vw);
    height: 100dvh;
    margin: 0;
    padding: 20px;
    overflow-y: auto;
    border: 0;
    border-left: 1px solid var(--saga-line);
    border-radius: 0;
    background: #1a1722;
    box-shadow: none;
    opacity: 1;
  }

  body.saga-nav-open .site-navigation {
    display: block;
  }

  body.saga-nav-open .site-navigation .menu,
  body.saga-nav-open .site-navigation:not(.stuck) .menu {
    position: static;
    inset: auto;
    width: 100%;
    translate: none;
    scale: 1;
    opacity: 1;
    overflow: visible;
  }

  body.saga-nav-open {
    overflow: hidden;
  }

  .saga-mobile-nav-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--saga-line);
  }

  .saga-menu-close {
    display: grid;
    flex: 0 0 44px;
    place-items: center;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    padding: 0;
    border: 1px solid var(--saga-line);
    border-radius: 8px;
    color: #fff;
    background: var(--saga-raised);
    font-size: 20px;
    line-height: 1;
  }

  .saga-menu-close i {
    display: block;
    width: 1em;
    height: 1em;
    margin: 0;
    line-height: 1;
    text-align: center;
  }

  .site-navigation .menu,
  .site-navigation:not(.stuck) .menu {
    position: static;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 5px;
    padding: 20px 0;
    translate: none;
  }

  .site-navigation .menu > .menu-item,
  .site-navigation .menu-link {
    width: 100%;
  }

  .site-navigation .has-children {
    flex-wrap: wrap;
  }

  .site-navigation .has-children > .menu-link {
    flex: 1;
  }

  .site-navigation .menu-sub,
  .site-navigation .has-children > .menu-sub {
    position: static;
    top: auto;
    left: auto;
    width: 100%;
    min-width: 0;
    max-width: none;
    margin: 0;
    padding: 6px 0 6px 12px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    translate: none;
  }

  .site-navigation .has-children:not(.expanded) .menu-sub {
    display: none;
  }

  .saga-nav-overlay {
    position: fixed;
    inset: 0;
    z-index: 1090;
    background: #08060cbc;
    backdrop-filter: blur(4px);
  }

  .saga-community {
    grid-template-columns: 1fr;
  }

  .saga-community h2 {
    max-width: none;
  }

  .saga-connections {
    grid-template-columns: 1fr 1fr;
  }

  .store-sidebar {
    grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  }
}

@media (max-width: 800px) {
  .store-product.store-product-full {
    grid-template-columns: 1fr;
    grid-template-areas: "image" "title" "actions" "descr";
  }

  .store-product-full > .image {
    height: clamp(240px, 72vw, 380px);
  }
}

@media (max-width: 720px) {
  .store-products-list,
  .store-products-images {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  html {
    scroll-padding-top: 24px;
  }

  .site {
    width: calc(100% - 32px);
  }

  .site-header-top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px 10px;
  }

  .saga-brand {
    grid-column: 1;
    grid-row: 1;
    gap: 8px;
    font-size: 18px;
  }

  .saga-brand img {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  .saga-brand > span {
    min-width: 0;
    overflow: hidden;
    font-size: 18px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .saga-brand small {
    font-size: 8px;
    letter-spacing: .12em;
  }

  .saga-header-actions {
    display: contents;
  }

  .saga-menu-toggle {
    grid-column: 2;
    grid-row: 1;
  }

  .site-header-top .saga-header-actions > .user-name,
  .site-header-top .saga-header-actions > .open-basket,
  .site-header-top .saga-header-actions > .trs-login-trigger {
    grid-row: 2;
    width: auto;
    min-width: 0;
    max-width: none;
    height: auto;
    min-height: 44px;
    padding: 0 12px;
    font-size: 12px;
  }

  .site-header-top .saga-header-actions > .trs-login-trigger {
    grid-column: 1 / -1;
  }

  .site-header-top .saga-header-actions > .user-name {
    grid-column: 1;
  }

  .site-header-top .saga-header-actions > .open-basket {
    grid-column: 2;
  }

  .site-header-top .saga-header-actions > .user-name .text,
  .site-header-top .saga-header-actions > .user-name .text-hover {
    display: block;
    font-size: 12px;
  }

  .saga-hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 28px 23px 20px;
    border-radius: 15px;
    background-position: 60% center;
  }

  .saga-hero h1 {
    margin-top: 18px;
    font-size: clamp(36px, 9.2vw, 55px);
  }

  .saga-hero p,
  .saga-button {
    font-size: 13px;
  }

  .saga-button {
    min-height: 46px;
    padding: 11px 14px;
  }

  .saga-hero-art {
    height: 235px;
    margin-top: 15px;
    transform: none;
  }

  .saga-hero-logo {
    width: 250px;
    max-height: 215px;
  }

  .saga-benefits {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 0 0 18px;
  }

  .saga-benefits > * {
    justify-content: start;
    padding: 6px 10px;
  }

  .saga-benefits > * + * {
    border-left: 0;
  }

  .saga-section {
    margin-bottom: 32px;
  }

  .saga-section-heading {
    align-items: start;
    margin-bottom: 18px;
  }

  .saga-section-heading h2 {
    font-size: 28px;
  }

  .saga-section-count {
    display: none;
  }

  .site-home-categories {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .saga-category-art {
    height: 125px;
  }

  .saga-category-label {
    padding: 13px;
  }

  .saga-steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .saga-steps li {
    display: grid;
    grid-template-columns: 30px 1fr;
    column-gap: 12px;
  }

  .saga-steps li > span {
    grid-row: span 2;
    padding-top: 3px;
  }

  .saga-steps h3 {
    margin: 0 0 7px;
  }

  .saga-steps p {
    grid-column: 2;
  }

  .saga-community {
    padding: 24px 20px;
  }

  .saga-connections,
  .saga-community {
    grid-template-columns: 1fr;
  }

  .saga-connection {
    flex-direction: row;
    align-items: center;
  }

  .saga-connection strong small {
    display: block;
    margin: 2px 0 0;
  }

  .category-header,
  .store-text,
  .store-product-full {
    padding: 18px;
  }

  .popup.basket-popup .basket-item {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "info info" "quantity remove";
  }

  .store-form :is(input, select, textarea),
  .login-popup-content input,
  .quantity-field input {
    font-size: 16px;
  }
}

@media (max-width: 400px) {
  .popup.basket-popup .basket-item .quantity-field:not([hidden]) {
    width: 120px;
  }

  .site-home-categories {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

@media (forced-colors: active) {
  .store-product,
  .popup .popup-content,
  .quantity-field,
  .site-navigation,
  .saga-button-primary {
    border: 1px solid CanvasText;
  }
}

/* SEMI 1 / SEMI 2 — independent catalogs and deliberate server navigation. */
[data-saga-server="1"],
.saga-server-block#semi-1 {
  --saga-server-accent: #c4a4ed;
  --saga-server-rgb: 196 164 237;
  --saga-server-surface: #1b1723;
}

[data-saga-server="2"],
.saga-server-block#semi-2 {
  --saga-server-accent: #d8bd73;
  --saga-server-rgb: 216 189 115;
  --saga-server-surface: #1b1723;
}

.saga-server-directory {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .85fr);
  align-items: center;
  gap: 24px;
  margin: 8px 0 28px;
  scroll-margin-top: 112px;
}

.saga-server-directory h2 {
  margin: 8px 0;
  font: 700 clamp(28px, 3vw, 36px)/1.1 var(--saga-font-display);
}

.saga-server-directory p {
  max-width: 46ch;
  margin: 0;
  color: var(--saga-muted);
  font-size: 13px;
  line-height: 1.65;
}

.saga-server-switch {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  min-width: 0;
}

.saga-server-switch > a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  min-height: 82px;
  padding: 16px;
  border: 1px solid rgb(var(--saga-server-rgb) / 24%);
  border-radius: 12px;
  color: var(--saga-text);
  background: var(--saga-server-surface);
  text-decoration: none;
  transition: border-color .18s ease, background-color .18s ease, transform .18s ease;
}

.saga-server-switch > a:hover {
  border-color: var(--saga-server-accent);
  background: rgb(var(--saga-server-rgb) / 12%);
  transform: translateY(-2px);
}

.saga-server-switch-number,
.saga-server-stamp {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 40px;
  height: 44px;
  border: 1px solid rgb(var(--saga-server-rgb) / 24%);
  border-radius: 9px;
  color: var(--saga-server-accent);
  background: rgb(var(--saga-server-rgb) / 7%);
  font: 700 24px/1 var(--saga-font-display);
  font-variant-numeric: tabular-nums;
}

.saga-server-switch strong {
  display: block;
  font: 700 21px/1.2 var(--saga-font-display);
}

.saga-server-switch small {
  display: block;
  margin-top: 4px;
  color: var(--saga-muted);
  font-size: 11px;
}

.saga-server-block {
  min-width: 0;
  margin-bottom: 32px;
  padding: 24px;
  border: 1px solid rgb(var(--saga-server-rgb) / 22%);
  border-top: 2px solid rgb(var(--saga-server-rgb) / 62%);
  border-radius: 16px;
  background: var(--saga-server-surface);
  scroll-margin-top: 112px;
}

.saga-server-block + .saga-server-block {
  margin-top: 32px;
}

.saga-server-block > .saga-section-heading {
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin: 0 0 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgb(var(--saga-server-rgb) / 15%);
}

.saga-server-heading-copy {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.saga-server-heading-copy > div {
  min-width: 0;
}

.saga-server-heading-copy .saga-eyebrow {
  color: var(--saga-server-accent);
  font-size: 10px;
  letter-spacing: .1em;
}

.saga-server-block .saga-server-stamp {
  width: 56px;
  height: 64px;
  font-size: 36px;
}

.saga-server-block .saga-section-heading h2 {
  margin: 5px 0;
  font-size: 34px;
  line-height: 1.1;
}

.saga-server-heading-copy p {
  margin: 0;
  color: var(--saga-muted);
  font-size: 12px;
  line-height: 1.6;
}

.saga-server-block .saga-section-count {
  margin: 0;
  padding: 8px 12px;
  border: 1px solid rgb(var(--saga-server-rgb) / 22%);
  border-radius: 8px;
  color: var(--saga-server-accent);
  background: rgb(var(--saga-server-rgb) / 5%);
  font-size: 11px;
}

.saga-server-block .saga-server-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.saga-server-block .category {
  border-color: rgb(var(--saga-server-rgb) / 14%);
  background: #14121b;
  box-shadow: none;
}

.saga-server-block .category .saga-category-main {
  flex-direction: row;
  align-items: center;
  min-height: 112px;
}

.saga-server-block .category .saga-category-art {
  flex: 0 0 92px;
  width: 92px;
  height: 92px;
  margin: 10px 0 10px 10px;
  border: 1px solid rgb(var(--saga-server-rgb) / 15%);
  border-radius: 9px;
}

.saga-server-block .category .saga-category-symbol {
  width: 64px;
  height: 64px;
  font-size: 37px;
}

.saga-server-block .category .image {
  width: 78px;
  height: 78px;
}

.saga-server-block .category:hover {
  border-color: rgb(var(--saga-server-rgb) / 55%);
  background: #1c1925;
  transform: translateY(-2px);
}

.saga-server-block .category .saga-category-art {
  color: var(--saga-server-accent);
  background: radial-gradient(ellipse at center, rgb(var(--saga-server-rgb) / 9%), transparent 70%);
}

.saga-server-block .saga-category-label {
  flex: 1;
  min-width: 0;
  min-height: 112px;
  padding: 16px;
  border-top: 0;
}

.saga-server-block .saga-arrow,
.saga-server-block .saga-arrow i {
  color: var(--saga-server-accent);
}

.saga-server-block .saga-server-empty {
  padding: 28px 20px;
  border-color: rgb(var(--saga-server-rgb) / 28%);
  background: rgb(var(--saga-server-rgb) / 3%);
}

.site-navigation .menu > .menu-item.saga-server {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0;
  margin-inline: 4px;
  border: 1px solid rgb(220 204 240 / 16%);
  border-radius: 10px;
  background: var(--saga-server-surface);
  transition: border-color .18s ease, background-color .18s ease;
}

.site-navigation .menu > .menu-item.saga-server.saga-server-current,
.site-navigation .menu > .menu-item.saga-server.expanded {
  border-color: rgb(var(--saga-server-rgb) / 65%);
  background: rgb(var(--saga-server-rgb) / 10%);
}

.site-navigation .menu > .menu-item.saga-server > .menu-link {
  display: inline-flex;
  justify-content: flex-start;
  gap: 9px;
  min-height: 44px;
  height: auto;
  padding: 6px 10px 6px 7px;
  color: var(--saga-text);
  background: transparent;
  font-size: 13px;
}

.site-navigation .saga-home-link {
  gap: 9px;
}

.saga-home-icon {
  color: var(--saga-violet);
  font-size: 13px;
  line-height: 1;
}

.site-navigation .saga-home-link.link-active .saga-home-icon {
  color: #e0c7f6;
}

.saga-server-nav-icon {
  display: grid;
  flex: 0 0 28px;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid rgb(var(--saga-server-rgb) / 20%);
  border-radius: 7px;
  color: var(--saga-server-accent);
  background: rgb(var(--saga-server-rgb) / 8%);
  font-size: 13px;
  line-height: 1;
}

.saga-server-nav-icon i {
  display: block;
  line-height: 1;
}

.site-navigation .saga-server[data-saga-server="2"] > .menu-link .saga-server-nav-icon i {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 6px;
  color: transparent;
  font-size: 0;
  background: url("https://pplx-res.cloudinary.com/image/upload/pplx_search_images/51349b40b920c2f494c76ffb5804e214bf631b71.jpg") 70% center / cover no-repeat;
}

.site-navigation .menu > .menu-item.saga-server > .saga-sub-toggle {
  flex: 0 0 38px;
  width: 38px;
  height: 36px;
  min-height: 36px;
  margin: 4px;
  border-radius: 7px;
  color: var(--saga-server-accent);
  background: rgb(var(--saga-server-rgb) / 8%);
}

.site-navigation .menu > .menu-item.saga-server > .saga-sub-toggle:hover {
  background: rgb(var(--saga-server-rgb) / 17%);
}

.site-navigation .saga-server > .saga-sub-toggle[aria-expanded="true"] i {
  transform: rotate(180deg);
}

.site-navigation .menu > .menu-item.saga-server > .menu-sub {
  top: 100%;
  width: 280px;
  min-width: 240px;
  max-width: min(320px, calc(100vw - 40px));
  max-height: min(65dvh, 460px);
  padding: 8px;
  overflow-y: auto;
  overscroll-behavior: contain;
  border-color: rgb(var(--saga-server-rgb) / 32%);
  background: #19151f;
}

/* The arrow and panel share the same click-controlled state. */
.site-navigation .menu > .menu-item.saga-server:not(.expanded) > .saga-sub-toggle i {
  transform: none;
}

.site-navigation .menu > .menu-item.saga-server:not(.expanded) > .menu-sub {
  display: none !important;
}

.site-navigation .menu > .menu-item.saga-server.expanded > .menu-sub {
  display: block !important;
  visibility: visible;
  opacity: 1;
  translate: none;
  animation: saga-server-menu-enter .16s ease-out;
}

.saga-server-menu-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 4px 6px;
  padding: 12px 8px;
  border-bottom: 1px solid rgb(var(--saga-server-rgb) / 18%);
  color: var(--saga-server-accent);
  list-style: none;
}

.saga-server-menu-heading strong {
  font: 700 21px/1.1 var(--saga-font-display);
}

.saga-server-menu-heading small {
  color: var(--saga-muted);
  font-size: 11px;
}

.site-navigation .saga-server .menu-sub .menu-link:hover,
.site-navigation .saga-server .menu-sub .menu-link.link-active {
  color: var(--saga-text);
  background: rgb(var(--saga-server-rgb) / 13%);
}

.saga-server-switch > a:focus-visible,
.site-navigation .saga-server :is(a, button):focus-visible {
  outline: 2px solid var(--saga-server-accent);
  outline-offset: 3px;
}

@keyframes saga-server-menu-enter {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (max-width: 1200px) {
  .saga-server-directory {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .saga-server-switch {
    max-width: 520px;
  }
  .saga-server-block .saga-server-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .site-navigation .menu > .menu-item.saga-server {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    margin: 0 0 10px;
    padding: 4px;
  }
  .site-navigation .menu > .menu-item.saga-server > .menu-link {
    min-height: 48px;
    padding: 10px 12px;
  }
  .site-navigation .menu > .menu-item.saga-server > .saga-sub-toggle {
    width: 44px;
    height: 44px;
    min-height: 44px;
    margin: 2px;
    font-size: 13px;
  }
  .site-navigation .menu > .menu-item.saga-server > .menu-sub {
    position: static;
    grid-column: 1 / -1;
    width: 100%;
    min-width: 0;
    max-width: none;
    max-height: none;
    margin: 4px 0 0;
    padding: 4px;
    border: 0;
    border-top: 1px solid rgb(var(--saga-server-rgb) / 18%);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }
  .site-navigation .saga-server .menu-sub .menu-link {
    min-height: 44px;
    font-size: 13px;
  }
  .site-navigation .saga-server-menu-heading {
    padding: 9px 8px 11px;
  }
  .site-navigation .saga-server-menu-heading strong {
    font-size: 18px;
  }
}

@media (max-width: 600px) {
  .site-navigation,
  body:not(.show-navigation) .site-navigation {
    width: min(360px, calc(100vw - 16px));
    padding: 18px 16px 24px;
  }
  .saga-server-directory {
    gap: 16px;
    margin-bottom: 20px;
  }
  .saga-server-switch {
    gap: 8px;
  }
  .saga-server-switch > a {
    min-height: 72px;
  }
  .saga-server-block {
    margin-bottom: 18px;
    padding: 18px 14px 14px;
    border-radius: 14px;
  }
  .saga-server-block + .saga-server-block {
    margin-top: 18px;
  }
  .saga-server-block > .saga-section-heading {
    gap: 12px;
    margin-bottom: 14px;
    padding-bottom: 16px;
  }
  .saga-server-block .saga-server-grid {
    grid-template-columns: 1fr;
    gap: 9px;
  }
  .saga-server-block .category {
    border-radius: 11px;
  }
  .saga-server-block .category .saga-category-main {
    flex-direction: row;
    align-items: center;
    min-height: 86px;
  }
  .saga-server-block .category .saga-category-art {
    flex: 0 0 64px;
    width: 64px;
    height: 64px;
    margin: 8px 0 8px 8px;
    border: 1px solid rgb(var(--saga-server-rgb) / 15%);
    border-radius: 8px;
  }
  .saga-server-block .category .saga-category-symbol {
    width: 48px;
    height: 48px;
    font-size: 28px;
  }
  .saga-server-block .category .image {
    width: 56px;
    height: 56px;
  }
  .saga-server-block .saga-category-label {
    flex: 1;
    min-width: 0;
    min-height: 86px;
    padding: 10px 12px;
    border-top: 0;
  }
  .saga-server-block .saga-category-label strong {
    font-size: 18px;
  }
  .saga-server-block .saga-category-upgrade {
    justify-content: flex-start;
    min-height: 42px;
    padding: 9px 14px;
  }
  .saga-server-block .saga-server-stamp {
    width: 42px;
    height: 54px;
    font-size: 28px;
  }
  .saga-server-heading-copy {
    gap: 12px;
  }
  .saga-server-switch > a {
    gap: 10px;
    padding: 12px;
  }
  .saga-server-switch-number {
    width: 32px;
    height: 38px;
    font-size: 21px;
  }
  .saga-server-block .saga-section-heading h2 {
    font-size: 30px;
  }
}

@media (max-width: 360px) {
  .saga-server-switch {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .saga-server-switch > a,
  .site-navigation .menu > .menu-item.saga-server.expanded > .menu-sub {
    animation: none;
    transition: none;
  }
}

@media (hover: none) {
  .saga-server-block .category:hover,
  .saga-server-switch > a:hover {
    transform: none;
  }
}

@media (forced-colors: active) {
  .saga-server-block,
  .saga-server-switch > a,
  .site-navigation .menu > .menu-item.saga-server,
  .saga-server-stamp,
  .saga-server-switch-number {
    border-color: CanvasText;
  }
}

/* SEMI 2: dragon de Font Awesome, fuente TTF remota */
@font-face {
  font-family: "Saga Server Icons";
  src: url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/webfonts/fa-solid-900.ttf") format("truetype");
  font-style: normal;
  font-weight: 900;
  font-display: block;
}
#site-navigation .saga-server[data-saga-server="2"] > .menu-link .saga-semi-two-photo {
  display: inline-grid;
  place-items: center;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgb(232 201 100 / 22%);
  border-radius: 7px;
  background: rgb(232 201 100 / 7%);
  color: #e8c964;
}
#site-navigation .saga-server[data-saga-server="2"] > .menu-link .saga-semi-two-photo::before {
  content: "\f6d5";
  display: block;
  position: static;
  width: auto;
  height: auto;
  background: none;
  font-family: "Saga Server Icons";
  font-style: normal;
  font-weight: 900;
  font-size: 17px;
  line-height: 1;
  text-align: center;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
}

/* TheRealSaga / Epic v2 — standalone template 311970.
   Incumbent 298764 retained; all new surface rules are scoped. */
body.saga-epic-v2 {
  --epic-bg:#100d17; --epic-surface:#1a1523; --epic-edge:#3a3048;
  --epic-purple:#b693e2; --epic-gold:#e8c964; --epic-text:#f4eef9;
  --epic-muted:#b6aabe; --epic-landscape:url("https://cdn.modrinth.com/data/HVnmMxH1/images/52b5e927b7dd299394f98acb1ccba3d45db82ac4.png");
  --color-primary:#e8c964; --color-primary-hover:#f2d983; --color-primary-text:#20190a;
  background:#100d17; color:var(--epic-text); font-family:Inter,Lexend,sans-serif;
}
body.saga-epic-v2 .site {width:min(1340px,calc(100% - 64px)); margin-inline:auto;}
body.saga-epic-v2 :is(h1,h2,h3,h4) {font-family:'Barlow Condensed',sans-serif; font-style:normal; letter-spacing:-.02em;}
body.saga-epic-v2 .site-header-top {padding:25px 0; margin:0; min-height:100px;}
body.saga-epic-v2 .saga-brand img {border-radius:50%; width:52px; height:52px;}
body.saga-epic-v2 .saga-header-actions {gap:10px;}
body.saga-epic-v2 .saga-header-actions :is(a,button) {min-height:44px; align-items:center; justify-content:center; gap:8px;}
body.saga-epic-v2 .saga-world-banner {
 display:flex; align-items:center; justify-content:space-between; gap:24px;
 min-height:240px; height:auto; margin:0 0 18px; padding:36px 46px;
 border:1px solid var(--epic-edge); border-radius:12px; overflow:hidden; position:relative;
 background:linear-gradient(90deg,rgba(16,10,27,.93),rgba(22,12,36,.4)),var(--epic-landscape) center 46%/cover;
}
body.saga-epic-v2 .saga-world-copy {position:relative; z-index:1; max-width:650px;}
body.saga-epic-v2 .saga-world-label {font-size:13px; color:#d8c6ed; font-weight:600; margin:0 0 12px;}
body.saga-epic-v2 .saga-world-banner h1 {font-size:clamp(32px,3.2vw,48px); line-height:1.05; margin:0 0 13px;}
body.saga-epic-v2 .saga-world-copy>p:not(.saga-world-label) {color:#cdc0d6; font-size:14px; line-height:1.65; max-width:520px; margin:0;}
body.saga-epic-v2 .saga-world-link {display:inline-flex; gap:12px; align-items:center; color:var(--epic-gold); font-size:13px; font-weight:700; margin-top:20px; text-decoration:none;}
body.saga-epic-v2 .saga-world-brand {flex:0 0 164px;}
body.saga-epic-v2 .saga-world-brand img {display:block; width:164px; height:164px; object-fit:contain; border-radius:50%;}
body.saga-epic-v2.page-index .saga-world-banner {display:none;}
body.saga-epic-v2 #site-navigation {margin:0 0 32px; border-color:#352b40; background:#18131f; border-radius:10px;}
body.saga-epic-v2 #site-navigation .saga-server {border-radius:8px;}
body.saga-epic-v2 #site-navigation .saga-menu-close {display:inline-grid; place-items:center; padding:0; line-height:1;}
body.saga-epic-v2 .saga-hero {
 min-height:510px; padding:55px 54px; grid-template-columns:minmax(0,1.5fr) minmax(180px,1fr);
 gap:38px; border-radius:12px; border-color:#4b385f; margin:0;
 background:linear-gradient(90deg,rgba(16,10,27,.9),rgba(22,12,36,.18)),var(--epic-landscape) center/cover !important;
 isolation:isolate;
}
body.saga-epic-v2 .saga-hero::after {display:none;}
body.saga-epic-v2 .saga-hero-copy {max-width:640px;}
body.saga-epic-v2 .saga-hero h1 {font-size:clamp(48px,5.3vw,78px); line-height:.99; margin:0 0 24px; font-style:normal; font-weight:800;}
body.saga-epic-v2 .saga-hero h1 em {color:var(--epic-gold); font-style:normal;}
body.saga-epic-v2 .saga-hero p:not(.saga-world-label) {max-width:520px; font-size:15px; line-height:1.7; color:#dacfe2;}
body.saga-epic-v2 .saga-hero-art {height:auto; transform:none; display:grid; place-items:center;}
body.saga-epic-v2 .saga-hero-logo {width:min(100%,290px); max-height:none; border-radius:50%; filter:none; animation:none;}
body.saga-epic-v2 .saga-actions {gap:12px; margin-top:28px;}
body.saga-epic-v2 .saga-button {border-radius:8px; min-height:48px; font-size:13px; padding:12px 22px; font-weight:700; transition:background .18s ease,transform .18s ease;}
body.saga-epic-v2 .saga-button-primary {background:var(--epic-gold); color:#20190a; box-shadow:none;}
body.saga-epic-v2 .saga-button-quiet {background:rgba(17,12,25,.4); border-color:#8a759e; color:#f4eef9; box-shadow:none;}
body.saga-epic-v2 .saga-hero-note {display:block; margin-top:25px; font-size:12px; color:#c4b6d0; font-style:normal;}
body.saga-epic-v2 .saga-benefits {margin:0 0 42px; padding:22px 12px; border-bottom:1px solid #302637;}
body.saga-epic-v2 .saga-benefits strong {font-family:Inter,sans-serif; font-size:13px;}
body.saga-epic-v2 .saga-benefits small {font-size:12px; color:var(--epic-muted);}
body.saga-epic-v2 .saga-benefits i {font-size:21px; color:var(--epic-purple);}
body.saga-epic-v2 .site-content {gap:28px; margin-top:0;}
body.saga-epic-v2 .site-content-widgets {display:grid; grid-template-columns:minmax(0,1fr) 230px !important; align-items:start;}
body.saga-epic-v2 .site-content-widgets>main {grid-column:1; grid-row:1; min-width:0;}
body.saga-epic-v2 .site-content-widgets>.store-sidebar {grid-column:2 !important; grid-row:1; margin:0; width:auto; gap:28px;}
body.saga-epic-v2 .store-sidebar .widget {background:transparent; border:0; border-radius:0; padding:0 0 24px; border-bottom:1px solid #302637; box-shadow:none;}
body.saga-epic-v2 .store-sidebar .widget-title {font-size:23px; margin:0 0 18px; padding:0; border:0;}
body.saga-epic-v2 .category-header {padding:0 0 22px; margin:0 0 24px; border:0; border-radius:0; background:transparent; border-bottom:1px solid #3a3048;}
body.saga-epic-v2 .saga-catalog-heading {display:flex; gap:20px; align-items:end; justify-content:space-between;}
body.saga-epic-v2 .saga-breadcrumb {font-size:12px; color:var(--epic-muted); text-decoration:none;}
body.saga-epic-v2 .category-header h2 {font-size:38px; margin:8px 0 0; line-height:1.1;}
body.saga-epic-v2 .saga-catalog-count {font-size:12px; color:var(--epic-muted); white-space:nowrap; padding-bottom:4px;}
body.saga-epic-v2 :is(.store-products-images,.store-products-list) {display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px;}
body.saga-epic-v2 .store-product:not(.store-product-full) {
 display:flex; flex-direction:column; gap:0; min-width:0; width:100%; padding:18px;
 border:1px solid #3a3048; border-radius:10px; background:#1a1523;
 box-shadow:none; animation:none; transform:none; overflow:hidden;
 transition:border-color .2s ease,background .2s ease;
}
body.saga-epic-v2 .store-product:not(.store-product-full):hover {border-color:#8464a4; background:#21192c; transform:none; box-shadow:none;}
body.saga-epic-v2 .store-product:not(.store-product-full) .image-link {height:210px; display:grid; place-items:center; background:transparent; border:0; border-radius:0; overflow:visible; margin:0 0 14px;}
body.saga-epic-v2 .store-product:not(.store-product-full) .image {height:100%; width:100%; max-height:210px; padding:10px; object-fit:contain; background:transparent; border-radius:0; filter:none; transition:transform .25s ease;}
body.saga-epic-v2 .store-product:not(.store-product-full):hover .image {transform:translateY(-4px) scale(1.025); filter:none;}
body.saga-epic-v2 .store-product:not(.store-product-full) .product-title {font-size:23px; line-height:1.15; text-align:left; margin:0 0 18px; padding:0; color:var(--epic-text); min-height:53px;}
body.saga-epic-v2 .store-product:not(.store-product-full) .product-title a {text-decoration:none; color:inherit;}
body.saga-epic-v2 .store-product:not(.store-product-full) .actions {display:flex; flex-wrap:wrap; gap:10px; margin-top:auto; min-width:0; padding:0; border:0; background:transparent; width:100%;}
body.saga-epic-v2 .store-product:not(.store-product-full) .price {width:100%; margin:0 0 2px; font-family:Inter,sans-serif; color:var(--epic-gold); font-size:18px; font-weight:700;}
body.saga-epic-v2 .store-product .actions :is(a.add,a.subscribe,.open-basket-cta) {width:100%; min-width:0; max-width:100%; border-radius:7px; min-height:44px; padding:11px 12px; font-family:Inter,sans-serif; font-size:12px; line-height:1.4; text-align:center; background:var(--epic-gold); color:#20190a; box-shadow:none;}
body.saga-epic-v2 .store-product .actions :is(a.add,a.subscribe):not([disabled]):hover {background:#f2d983; color:#20190a;}
body.saga-epic-v2 .store-product .actions :is(a.add,a.subscribe)[disabled] {opacity:.48; cursor:not-allowed;}
body.saga-epic-v2 .store-product .actions :is(a.add,a.subscribe).half {width:calc(50% - 5px);}
body.saga-epic-v2 .store-product .quantity-field {max-width:100%; min-width:0; width:100%;}
body.saga-epic-v2 .store-product.store-product-full {display:grid; grid-template-columns:minmax(0,1.15fr) minmax(0,1fr); grid-template-areas:'title title' 'image actions' 'image descr'; align-items:start; gap:24px 30px; padding:30px; margin:0; background:#1a1523; border-color:#3a3048; border-radius:12px;}
body.saga-epic-v2 .store-product-full>.product-title {grid-area:title; margin:0; font-size:42px; text-align:left;}
body.saga-epic-v2 .store-product-full>.image {grid-area:image; width:100%; height:430px; object-fit:contain; padding:20px; background:#130f1a; border:1px solid #302637; border-radius:9px;}
body.saga-epic-v2 .store-product-full>.actions {grid-area:actions; height:auto; min-height:0; padding:22px; width:100%; background:#130f1a; border-color:#302637; border-radius:9px;}
body.saga-epic-v2 .store-product-full>.descr {grid-area:descr; margin:0; border-top:1px solid #3a3048; padding-top:20px; font-family:Inter,sans-serif; font-size:14px; line-height:1.75;}
body.saga-epic-v2 .saga-eyebrow {display:none;}
body.saga-epic-v2 .saga-section-heading h2 {font-size:36px; line-height:1.1; margin:0;}
body.saga-epic-v2 .saga-server-directory {padding:0; margin:0 0 36px; border:0; background:transparent; display:block;}
body.saga-epic-v2 .saga-server-directory h2 {font-size:40px; margin:0 0 10px;}
body.saga-epic-v2 .saga-server-directory p {font-size:14px; color:var(--epic-muted); margin:0 0 22px;}
body.saga-epic-v2 .saga-server-switch {display:grid; grid-template-columns:1fr 1fr; gap:16px; width:100%;}
body.saga-epic-v2 .saga-server-switch>a {min-height:152px; padding:26px; border:1px solid #524064; border-radius:10px; gap:20px; background:linear-gradient(90deg,rgba(22,13,36,.95),rgba(22,13,36,.55)),var(--epic-landscape) 30% center/cover;}
body.saga-epic-v2 .saga-server-switch>a[data-saga-server='2'] {border-color:#6e5b35; background:linear-gradient(90deg,rgba(27,20,22,.95),rgba(22,13,36,.55)),var(--epic-landscape) 80% center/cover;}
body.saga-epic-v2 .saga-server-switch strong {font-size:32px; font-family:'Barlow Condensed',sans-serif;}
body.saga-epic-v2 .saga-server-switch small {font-size:12px; margin-top:7px; color:#d0c3da;}
body.saga-epic-v2 .saga-server-switch-number {width:48px; height:48px; background:transparent; border:0; color:var(--epic-purple); font-size:30px;}
body.saga-epic-v2 .saga-dragon {font-family:'Saga Server Icons'; font-weight:900; color:var(--epic-gold);}
body.saga-epic-v2 .saga-server-block {padding:24px 0; background:transparent; border:0; border-top:1px solid #3a3048; border-radius:0;}
body.saga-epic-v2 .saga-server-heading-copy .saga-server-stamp {display:none;}
body.saga-epic-v2 .site-home-categories {grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px;}
body.saga-epic-v2 .site-home-categories .category {border-color:#3a3048; border-radius:10px; background:#1a1523; box-shadow:none;}
body.saga-epic-v2 .saga-category-art {background:transparent; height:140px;}
body.saga-epic-v2 .saga-category-art img {object-fit:contain; height:120px;}
body.saga-epic-v2 .saga-category-symbol {font-size:36px; color:var(--epic-purple);}
body.saga-epic-v2 .saga-category-label {padding:16px;}
body.saga-epic-v2 .saga-category-label strong {font-family:'Barlow Condensed',sans-serif; font-size:23px;}
body.saga-epic-v2 .saga-category-label small {font-size:11px;}
body.saga-epic-v2 .saga-community {background:#1a1523; border-color:#3a3048; border-radius:12px; box-shadow:none;}
body.saga-epic-v2 :is(.saga-faq,.saga-how) {border-top:1px solid #3a3048; padding-top:28px;}
body.saga-epic-v2 .saga-faq details {background:transparent; border:0; border-bottom:1px solid #3a3048; border-radius:0; padding-inline:0;}
body.saga-epic-v2 .saga-steps {gap:22px;}
body.saga-epic-v2 .saga-steps li {background:transparent; border:0; padding:0; box-shadow:none;}
body.saga-epic-v2 .saga-steps h3 {font-size:24px;}
body.saga-epic-v2 :is(a,button,input,summary):focus-visible {outline:2px solid #c5a4eb; outline-offset:4px;}
@media(min-width:961px) {
 body.saga-epic-v2 .saga-hero-copy {animation:sagaEpicEntrance .5s ease-out both;}
}
@keyframes sagaEpicEntrance {from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
@media(max-width:1150px) {
 body.saga-epic-v2 :is(.store-products-images,.store-products-list) {grid-template-columns:repeat(2,minmax(0,1fr));}
 body.saga-epic-v2 .site-content-widgets {grid-template-columns:minmax(0,1fr) 200px !important; gap:22px;}
}
@media(max-width:960px) {
 body.saga-epic-v2 .site {width:calc(100% - 40px);}
 body.saga-epic-v2 .site-content-widgets {grid-template-columns:minmax(0,1fr) !important;}
 body.saga-epic-v2 .site-content-widgets>.store-sidebar {grid-column:1 !important; grid-row:auto; margin-top:32px;}
 body.saga-epic-v2 .saga-world-banner {padding:30px; min-height:220px;}
 body.saga-epic-v2 .saga-world-brand {flex-basis:120px;}
 body.saga-epic-v2 .saga-world-brand img {width:120px; height:120px;}
 body.saga-epic-v2 .saga-hero {padding:38px; min-height:460px; grid-template-columns:minmax(0,1.5fr) minmax(140px,1fr);}
 body.saga-epic-v2 .saga-hero h1 {font-size:58px;}
 body.saga-epic-v2 .store-product.store-product-full {grid-template-columns:minmax(0,1fr) minmax(0,1fr); padding:22px;}
 body.saga-epic-v2 .store-product-full>.image {height:350px;}
}
@media(max-width:640px) {
 body.saga-epic-v2 .site {width:calc(100% - 28px);}
 body.saga-epic-v2 .site-header-top {padding:18px 0; min-height:0;}
 body.saga-epic-v2 .saga-brand img {width:40px;height:40px;}
 body.saga-epic-v2 .saga-world-banner {min-height:0; padding:26px 22px; gap:10px; margin-bottom:22px;}
 body.saga-epic-v2 .saga-world-banner h1 {font-size:34px;}
 body.saga-epic-v2 .saga-world-brand {display:none;}
 body.saga-epic-v2 .saga-world-copy>p:not(.saga-world-label) {font-size:13px;}
 body.saga-epic-v2 .saga-hero {grid-template-columns:1fr; min-height:0; padding:32px 25px; gap:24px; background-position:62% center !important;}
 body.saga-epic-v2 .saga-hero h1 {font-size:clamp(42px,10.6vw,62px);}
 body.saga-epic-v2 .saga-hero p:not(.saga-world-label) {font-size:14px;}
 body.saga-epic-v2 .saga-hero-art {height:170px; margin:0;}
 body.saga-epic-v2 .saga-hero-logo {width:160px; height:160px;}
 body.saga-epic-v2 .saga-actions {display:grid; grid-template-columns:1fr; gap:10px; margin-top:22px;}
 body.saga-epic-v2 .saga-button {width:100%; justify-content:center;}
 body.saga-epic-v2 .saga-benefits {margin-bottom:30px; padding:20px 0; gap:16px;}
 body.saga-epic-v2 .saga-benefits>* {padding:0;}
 body.saga-epic-v2 .saga-server-directory h2 {font-size:34px;}
 body.saga-epic-v2 .saga-server-switch {grid-template-columns:1fr; gap:12px;}
 body.saga-epic-v2 .saga-server-switch>a {min-height:110px; padding:20px;}
 body.saga-epic-v2 .saga-section-heading h2 {font-size:31px;}
 body.saga-epic-v2 .site-home-categories {grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px;}
 body.saga-epic-v2 .saga-category-label {padding:12px;}
 body.saga-epic-v2 .saga-category-art {height:110px;}
 body.saga-epic-v2 .saga-category-art img {height:94px;}
 body.saga-epic-v2 .category-header h2 {font-size:34px;}
 body.saga-epic-v2 .saga-catalog-heading {align-items:center; gap:12px;}
 body.saga-epic-v2 :is(.store-products-images,.store-products-list) {gap:12px;}
 body.saga-epic-v2 .store-product:not(.store-product-full) {padding:13px;}
 body.saga-epic-v2 .store-product:not(.store-product-full) .image-link {height:145px; margin-bottom:10px;}
 body.saga-epic-v2 .store-product:not(.store-product-full) .image {max-height:145px; padding:0;}
 body.saga-epic-v2 .store-product:not(.store-product-full) .product-title {font-size:21px; min-height:48px; margin-bottom:14px;}
 body.saga-epic-v2 .store-product:not(.store-product-full) .price {font-size:16px;}
 body.saga-epic-v2 .store-product .actions :is(a.add,a.subscribe) {font-size:11px; padding:10px 7px;}
 body.saga-epic-v2 .store-product.store-product-full {grid-template-columns:minmax(0,1fr); grid-template-areas:'title' 'image' 'actions' 'descr'; gap:20px; padding:18px;}
 body.saga-epic-v2 .store-product-full>.product-title {font-size:34px;}
 body.saga-epic-v2 .store-product-full>.image {height:320px; padding:15px;}
 body.saga-epic-v2 .store-product-full>.actions {padding:18px;}
 body.saga-epic-v2 .store-product-full>.descr {font-size:13px;}
 body.saga-epic-v2 .saga-community {padding:24px 20px;}
}
@media(max-width:380px) {
 body.saga-epic-v2 :is(.store-products-images,.store-products-list) {grid-template-columns:minmax(0,1fr);}
 body.saga-epic-v2 .store-product:not(.store-product-full) .image-link {height:205px;}
 body.saga-epic-v2 .store-product:not(.store-product-full) .image {max-height:205px;}
 body.saga-epic-v2 .store-product:not(.store-product-full) .product-title {min-height:0;}
}
@media(prefers-reduced-motion:reduce) {
 body.saga-epic-v2 *,body.saga-epic-v2 *::before,body.saga-epic-v2 *::after {animation:none !important; transition:none !important; scroll-behavior:auto !important;}
}

/* Control flow: reset inherited row and fixed action sizing. */
body.saga-epic-v2 .store-product:not(.store-product-full) .actions {flex:0 0 auto; flex-direction:column; flex-wrap:nowrap; align-items:stretch; height:auto; min-height:0; gap:10px;}
body.saga-epic-v2 .store-product:not(.store-product-full) .actions>* {flex:0 0 auto; max-width:100%; margin-inline:0;}
body.saga-epic-v2 .store-product:not(.store-product-full) .actions .price {position:static; order:0; width:100%; height:auto; padding:0; margin:0; text-align:left;}
body.saga-epic-v2 .store-product:not(.store-product-full) .actions :is(a.add,a.subscribe,.open-basket-cta) {flex:none; height:44px; order:1; align-self:stretch;}
body.saga-epic-v2 .store-product .actions .saga-guest-login {font-family:Inter,sans-serif; font-size:11px; color:#d1b5ef; line-height:1.5; text-align:center; text-decoration:none; padding:3px 0;}
body.saga-epic-v2 .saga-world-banner {margin-top:0;}
body.saga-epic-v2 .site {gap:0;}
body.saga-epic-v2 .saga-server-switch a:hover {border-color:#b693e2;}

body.saga-epic-v2 .product-actions:has(.saga-guest-login)>.add[disabled] {display:none !important;}
body.saga-epic-v2 .store-product .actions .saga-guest-login {display:flex;align-items:center;justify-content:center;order:1;width:100%;height:44px;min-height:44px;padding:10px 8px;background:#e8c964;color:#20190a;border-radius:7px;font-weight:700;box-shadow:none;}
body.saga-epic-v2 .store-product .actions .saga-guest-login:hover {background:#f2d983;}

/* Final visual review: complete labels and comfortable mobile actions. */
body.saga-epic-v2 .saga-world-label {display:none;}
body.saga-epic-v2 .login-popup-content {width:min(400px,calc(100vw - 32px));max-width:400px;}
body.saga-epic-v2 .login-popup-content .field label {display:block;width:100%;font-size:13px;line-height:1.4;color:#d4c6df;margin:0 0 8px;}
body.saga-epic-v2 .login-popup-content .field {flex-direction:column;align-items:stretch;}
@media(max-width:640px) {body.saga-epic-v2 .store-product .actions .saga-guest-login {white-space:normal;font-size:12px;line-height:1.4;height:auto;min-height:52px;padding:10px 12px;}}

body.saga-epic-v2 .site-content>.store-form[data-popup] {width:min(440px,100%);margin:0 auto;padding:28px;box-sizing:border-box;}
body.saga-epic-v2 .site-content>.store-form[data-popup] .field {display:flex;flex-direction:column;gap:10px;}
body.saga-epic-v2 .site-content>.store-form[data-popup] .field label {font-size:13px;}
body.saga-epic-v2 .site-content>.store-form[data-popup] .field button {width:100%;min-height:44px;}
