@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;1,400&display=swap");

:root {
  --color-text: #f0f0f0;
  --color-text-darker: #e0e0e0;
  --color-text-secondary: #999999;
  --color-text-dark: #0a0a0a;
  --color-bg: #0a0a0a;
  --color-brighter-bg: rgba(17,17,17,0.92);
  --color-input-bg: #1a1a1a;
  --color-popup-bg: rgba(0,0,0,0.85);
  --color-primary: #C10706;
  --color-primary-hover: #8f0504;
  --color-primary-text: #ffffff;
  --color-primary-text-hover: #ffffff;
  --color-secondary: #2a2a2a;
  --color-secondary-hover: #333333;
  --color-secondary-text: #f0f0f0;
  --color-secondary-text-hover: #ffffff;
  --color-tertiary: transparent;
  --color-tertiary-hover: rgba(255,255,255,0.08);
  --color-tertiary-text: #f0f0f0;
  --color-tertiary-text-hover: #ffffff;
  --color-removed: #ff5555;
  --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: #111111;
  --tebex-legal-footer-border-color: rgba(255,255,255,0.06);
  --tebex-legal-footer-text-color: #555555;
}

@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; }
}

/* Force dark on all colour scheme states */
:root.color-scheme-auto,
:root.color-scheme-dark,
:root.color-scheme-light {
  --color-text: #f0f0f0;
  --color-text-darker: #e0e0e0;
  --color-text-secondary: #999999;
  --color-text-dark: #0a0a0a;
  --color-bg: #0a0a0a;
  --color-brighter-bg: rgba(17,17,17,0.92);
  --color-input-bg: #1a1a1a;
  --color-popup-bg: rgba(0,0,0,0.85);
  --color-primary: #C10706;
  --color-primary-hover: #8f0504;
  --color-primary-text: #ffffff;
  --color-primary-text-hover: #ffffff;
  --color-secondary: #2a2a2a;
  --color-secondary-hover: #333333;
  --color-secondary-text: #f0f0f0;
  --color-secondary-text-hover: #ffffff;
  --color-tertiary: transparent;
  --color-tertiary-hover: rgba(255,255,255,0.08);
  --color-tertiary-text: #f0f0f0;
  --color-tertiary-text-hover: #ffffff;
  --color-removed: #ff5555;
}

@media (prefers-color-scheme: dark) {
  :root.color-scheme-auto {
    --color-text: #f0f0f0;
    --color-bg: #0a0a0a;
    --color-primary: #C10706;
    --color-primary-hover: #8f0504;
  }
}

/* ── RESET ── */
*, *::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; }

/* ── BASE ── */
html, body { min-height: 100vh; min-height: 100svh; }
html {
  overflow: hidden scroll;
  scrollbar-width: thin;
  scrollbar-color: #2a2a2a #0a0a0a;
  scrollbar-gutter: stable;
  scroll-behavior: smooth;
  color-scheme: only dark;
}
html.no-scroll { overflow: hidden; }
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: 'DM Sans', sans-serif;
  font-size: 16px;
}

::selection { color: #ffffff; background-color: #C10706; text-shadow: none; }
select option { color: var(--color-text); background-color: #111111; }

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: #0a0a0a; }
::-webkit-scrollbar-thumb { background: #2a2a2a; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #C10706; }

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4, h5, h6 { font-weight: 700; font-family: 'Bebas Neue', sans-serif; letter-spacing: 1px; }

.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: 700; }
.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; }

/* ── BUTTONS ── */
.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: 6px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-align: center;
  cursor: pointer;
  transition: all 0.15s ease-in-out;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: 'DM Sans', sans-serif;
}
@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;
}
.btn-primary.btn-xsmall, .btn-secondary.btn-xsmall, .btn-tertiary.btn-xsmall {
  --btn-size: var(--btn-size-xsmall);
  padding: 0 8px;
  font-size: 11px;
}

.btn-primary {
  --btn-color-text: #ffffff;
  --btn-color-bg: #C10706;
  --btn-color-text-hover: #ffffff;
  --btn-color-bg-hover: #8f0504;
}
.btn-secondary {
  --btn-color-text: #f0f0f0;
  --btn-color-bg: #1e1e1e;
  --btn-color-text-hover: #ffffff;
  --btn-color-bg-hover: #2a2a2a;
}
.btn-tertiary {
  --btn-color-text: #999999;
  --btn-color-bg: transparent;
  --btn-color-text-hover: #f0f0f0;
  --btn-color-bg-hover: rgba(255,255,255,0.08);
}

.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: #C10706;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-position: under;
  transition: color 0.15s ease-in-out;
}
.link-text:hover { color: #e00807; }

/* ── QUANTITY FIELD ── */
.quantity-field {
  display: flex;
  align-items: stretch;
  justify-content: center;
  height: 36px;
  overflow: hidden;
  color: var(--color-text);
  background: #111111;
  border: 1px solid #2a2a2a;
  border-radius: 6px;
}
.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: #C10706; }
.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: #C10706; }
.quantity-field .open-basket:focus ~ input[type=number],
.quantity-field .open-basket:hover ~ input[type=number] { color: #C10706; }
.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: 6px 0 0 6px; }
.quantity-field .adjust.increase { margin-left: auto; order: 100; border-radius: 0 6px 6px 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"); }

/* ── RESPONSIVE HELPERS ── */
@media (width > 960px) { .mobile-only { display: none; } }
@media (width <= 960px) { .desktop-only { display: none; } }

/* ── SITE LAYOUT ── */
.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;
  background-color: #0a0a0a;
}

.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); }
}

/* ── HEADER TOP BAR ── */
.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;
  background-color: rgba(10,10,10,0.95);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
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: rgba(10,10,10,0.95);
    backdrop-filter: var(--bg-blur);
  }
}
@media (width > 960px) { .site-header-top { justify-content: flex-end; } }

.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;
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 2px;
  text-align: center;
  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; }
: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 ── */
.site-header {
  position: relative;
  align-content: center;
  view-transition-name: siteHeader;
  background-color: #0a0a0a;
}
@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;
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 2px;
}
body.has-hero .site-header .site-title { color: #f0f0f0; }
@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 rgba(0,0,0,0.5)), drop-shadow(0 6px 12px rgba(0,0,0,0.5));
}
.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; } }

/* ── NAVIGATION ── */
.site-navigation {
  --fade-duration: 200ms;
  view-transition-name: siteNavigation;
  background-color: #0a0a0a;
}
@media (width <= 960px) {
  .site-navigation {
    position: fixed;
    inset: 0;
    z-index: 100000;
    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: rgba(10,10,10,0.97);
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
    overflow: hidden auto;
    scrollbar-width: thin;
    scrollbar-color: #2a2a2a #0a0a0a;
    transition: opacity var(--fade-duration) ease, scale var(--fade-duration) ease, translate var(--fade-duration) ease;
    border-right: 1px solid rgba(193,7,6,0.2);
  }
  @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: rgba(255,255,255,0.15);
    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: #C10706; }
  .site-navigation .menu-link.active { color: #C10706; 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;
    background-color: rgba(10,10,10,0.95);
    backdrop-filter: var(--bg-blur);
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .site-navigation.stuck {
    background-color: rgba(10,10,10,0.98);
    backdrop-filter: var(--bg-blur);
    border-bottom: 1px solid rgba(193,7,6,0.2);
  }
  .site-navigation .menu {
    display: flex;
    align-items: center;
    gap: var(--widget-padding);
    margin-inline: auto;
    padding: calc(var(--widget-padding) * 0.75) var(--widget-padding);
    width: 100%;
    max-width: var(--content-inner-width);
    min-height: var(--btn-size);
    line-height: var(--btn-size);
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    letter-spacing: 0.3px;
  }
  .site-navigation:not(.stuck) .menu {
    background-color: transparent;
  }
  .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; color: #999999; }
  .site-navigation .menu-link:hover, .site-navigation .menu-link.link-active { color: #C10706; }
  .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: 28px;
    font-weight: 800;
    letter-spacing: 0.05em;
    font-family: 'Bebas Neue', sans-serif;
  }
  @media (width > 960px) { .site-navigation .site-title { font-size: 36px; } }
  .site-navigation .site-title .menu-link { color: #f0f0f0; }
  .site-navigation .site-title .menu-link:hover { color: #C10706; }
  .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: transparent; 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: rgba(17,17,17,0.97);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 8px;
    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: 14px; 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; color: #999999; }
  .site-navigation .menu-sub .menu-link:hover, .site-navigation .menu-sub .menu-link.link-active { color: #ffffff; background-color: #C10706; }
}

/* ── HOME CATEGORIES ── */
.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: #111111;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 1px;
  transition: border-color 0.2s, transform 0.2s;
}
@media (width > 600px) {
  .site-home-categories .category { gap: var(--widget-padding); padding-block: 20px; line-height: 32px; font-size: 22px; text-align: center; }
}
.site-home-categories .category:hover { color: #C10706; border-color: rgba(193,7,6,0.4); transform: translateY(-2px); }
.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: rgba(240,240,240,0.8);
  mask: url("https://template-assets.tebex.io/images/package-default.svg") center center/contain no-repeat;
}

/* ── STORE TEXT / HERO ── */
.store-text {
  margin-inline: auto;
  width: min(100%, 62ch);
  line-height: 1.375;
  font-size: 16px;
  font-weight: 400;
  color: #f0f0f0;
}
.store-home .store-text { margin-bottom: var(--content-padding); }

/* ── FORMS ── */
.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: #f0f0f0;
  background: #1a1a1a;
  border: 1px solid rgba(255,255,255,0.1);
  font-size: 14px;
  border-radius: 8px;
  transition: border-color 0.2s;
}
.store-form input:focus, .store-form select:focus, .store-form textarea:focus {
  border-color: #C10706;
  box-shadow: 0 0 0 3px rgba(193,7,6,0.15);
}
@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; }

/* ── SIDEBAR LAYOUT ── */
@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 ── */
.category-header {
  margin-bottom: var(--widget-padding);
  line-height: 1.4;
  font-size: 18px;
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 1px;
  color: #f0f0f0;
}

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

/* ── PRODUCT LISTS ── */
.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);
}

/* ── PRODUCT CARDS ── */
.store-product {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #111111;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px;
  padding: 16px;
  transition: border-color 0.2s, transform 0.2s;
}
.store-product:hover { border-color: rgba(193,7,6,0.4); transform: translateY(-2px); }

.store-product .product-title { font-size: 18px; font-weight: 600; font-family: 'Bebas Neue', sans-serif; letter-spacing: 1px; }
.store-product .product-title a { color: inherit; transition: color 0.15s ease-in-out; }
.store-product .product-title a:hover { color: #C10706; }
.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: #C10706; }
.store-product .image { margin: 0 auto; max-width: 100%; border-radius: 8px; }
.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: rgba(240,240,240,0.7);
  mask: url("https://template-assets.tebex.io/images/package-default.svg") center center/contain no-repeat;
}
.store-product .descr { font-size: 13px; color: #999999; line-height: 1.6; }
.store-product .actions { display: flex; gap: 12px; position: relative; overflow: hidden; }
.store-product .actions.updating { pointer-events: none; }
.store-product .actions.updating > * { opacity: 0.3; filter: grayscale(100%); }
.store-product .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: 13px; 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; color: #C10706; }
.store-product:not(.store-product-full) .price { width: 100%; }
.store-product .quantity-field { height: var(--btn-size); background: #1a1a1a; }
.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 ── */
.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: #C10706; }
.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 { border-radius: 5px; background: #000 var(--preview-image) center center/cover no-repeat; position: relative; }
.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: #111111; border-radius: 5px; cursor: pointer; border: 1px solid rgba(255,255,255,0.07); }
.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.4; }
.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: rgba(10,10,10,0.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: rgba(10,10,10,0.9); }
.media-slider .open-lightbox::before {
  content: ""; display: block; margin: auto; width: 18px; height: 18px; flex: none;
  background-color: #f0f0f0;
  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: #ffffff; }
.media-slider .slider:has(.swiper-slide-active .slide-image):hover ~ .open-lightbox,
.media-slider .open-lightbox:hover { opacity: 1; visibility: visible; }

/* ── PRODUCT FULL ── */
.store-product-full .image { margin-inline: auto; max-width: 100%; order: -1; }
.store-product-full .product-title { font-size: 28px; font-weight: 800; font-family: 'Bebas Neue', sans-serif; letter-spacing: 1px; }
.store-product-full .price { width: 100%; font-size: 24px; }
.store-product-full .price strong { font-size: 28px; color: #C10706; }
.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; }

/* ── OPTIONS ── */
.store-product-options .product-title { margin-bottom: 12px; font-size: 20px; font-weight: 600; font-family: 'Bebas Neue', sans-serif; letter-spacing: 1px; }
.store-product-options .actions { position: sticky !important; bottom: var(--widget-padding); justify-content: start; width: fit-content; max-width: 100%; }
.store-product-options .actions.updating { pointer-events: none; }
.store-product-options .actions.updating > * { opacity: 0.3; filter: grayscale(100%); }
.store-product-options .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-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; }

/* ── SIDEBAR WIDGETS ── */
.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: 16px; font-weight: 700; font-family: 'Bebas Neue', sans-serif; letter-spacing: 1.5px; color: #f0f0f0; }

.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: #f0f0f0; background: #1a1a1a; border: 1px solid rgba(255,255,255,0.1); font-size: 14px; border-radius: 8px; }
@media (width > 960px) { .widget-gift-card .gift-card-input { padding: 12px; font-size: 16px; } }
.popup .widget-gift-card .gift-card-input { background: #1a1a1a; }
.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; color: #555555; }
.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; color: #555555; }

.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: 8px; margin-bottom: 12px; overflow: hidden; background: #222222; border-radius: 4px; }
@keyframes progressBarAnimation { to { background-position: 100% 0; } }
.widget-community-goal .progress-bar, .widget-goal .progress-bar { height: 8px; border-radius: 4px; background: #C10706; }
.widget-community-goal .progress-bar.striped, .widget-goal .progress-bar.striped {
  background: #C10706 linear-gradient(135deg, #C10706 0%, #C10706 33%, rgba(255,255,255,0.15) 33%, rgba(255,255,255,0.15) 66%, #C10706 66%, #C10706 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; }

/* ── FOOTER ── */
.site-footer {
  background: #0d0d0d;
  border-top: 1px solid rgba(255,255,255,0.06);
  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: 13px; }
@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: #555555; text-decoration-line: underline; text-underline-offset: 2px; transition: color 0.15s ease-in-out; }
.site-footer-inner .site-footer-nav a:hover { color: #C10706; }
.site-footer-inner .copyright { line-height: 16px; color: #444444; 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; opacity: 0.35; filter: brightness(0) invert(1); transition: opacity 0.2s; }
.site-footer-inner .we-accept img:hover { opacity: 0.6; }

.site-footer-credit { color: #444444; background: #080808; font-size: 11px; border-top: 1px solid rgba(255,255,255,0.04); }
.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: #C10706; }

/* ── POPUPS ── */
.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: #2a2a2a transparent;
  background: rgba(0,0,0,0.85);
  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: #111111; border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px; backdrop-filter: var(--bg-blur);
  box-shadow: 0 0 40px rgba(0,0,0,0.6);
  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: rgba(255,255,255,0.2); 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: #999999; 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: #ffffff; }

.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%; }
.gift-form-popup .popup-content .actions.updating { pointer-events: none; }
.gift-form-popup .popup-content .actions.updating > * { opacity: 0.3; filter: grayscale(100%); }
.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; }

.login-popup { z-index: 1002; }
.login-popup-content { max-width: 400px; }

/* ── BASKET ── */
.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; font-family: 'Bebas Neue', sans-serif; letter-spacing: 1px; }
@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: #f0f0f0; 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: #111111; border-bottom: 1px solid rgba(255,255,255,0.06); 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: #111111; border: 1px solid rgba(255,255,255,0.07); 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; font-family: 'Bebas Neue', sans-serif; letter-spacing: 1px; }
.basket .basket-item .price { color: #C10706; 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: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.basket .basket-checkout .total { color: #C10706; 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: rgba(10,10,10,0.97); border-left: 1px solid rgba(255,255,255,0.07); }
.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 ── */
.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: #111111; border: 1px solid rgba(255,255,255,0.1); border-radius: 10px; backdrop-filter: var(--bg-blur); font-size: 16px; box-shadow: 0 10px 20px rgba(0,0,0,0.6); 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: #8a7200; border-color: #cab600; }
.toast.toast-error { background: rgba(193,7,6,0.3); border-color: #C10706; }
.toast.toast-success { background: rgba(76,175,80,0.2); border-color: #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); }

/* ── TIERED PRODUCTS ── */
.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: rgba(255,255,255,0.08);
  display: grid; grid-row: span 4; grid-template-rows: subgrid; gap: var(--gap);
  background: #111111; border: 1px solid rgba(255,255,255,0.07); border-radius: 10px; padding: 16px;
  transition: border-color 0.2s, transform 0.2s;
}
.store-product-tiered:hover { border-color: rgba(193,7,6,0.4); transform: translateY(-2px); }
.store-product-tiered .image { margin: auto; max-width: 100%; object-fit: contain; }
.store-product-tiered .product-title { font-size: 18px; font-weight: 600; text-align: center; font-family: 'Bebas Neue', sans-serif; letter-spacing: 1px; }
.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: #888888; font-size: 13px; line-height: 1.6; }
.store-product-tiered .price { font-size: 13px; 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; color: #C10706; }
.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%; }

/* ── POPUP MEDIA SLIDER ── */
.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 > 600px) { .popup.popup-media-slider { --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: #C10706; }
@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 { border-radius: 5px; background: #000 var(--preview-image) center center/cover no-repeat; position: relative; }
.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: rgba(10,10,10,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.4; }
.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: #f0f0f0; mask: url("https://template-assets.tebex.io/images/play.svg") center center/contain no-repeat; }