:root {
  --color-text: #fff;
  --color-text-darker: #e5e5e5;
  --color-text-secondary: #ccc;
  --color-text-dark: #0D0D0D;
  --color-bg: #000;
  --color-brighter-bg: #22252b;
  --color-primary: #266eff;
  --color-primary-hover: #fff;
  --color-primary-text: #fff;
  --color-primary-text-hover: #1f44ac;
  --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-tertiary-text);
  --color-removed: #C12E2E;
  --tebex-footer-height: 35px;
  --widget-padding: 24px;
  --content-padding: var(--widget-padding);
  --content-inner-width: 1280px;
  --content-width: calc((var(--content-padding) * 2) + var(--content-inner-width));
  --sidebar-width: 287px;
  --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);
  --first-row-top: 80px;
  /* matches your existing .corner-box top */
  --row-gap: 240px;
  /* vertical distance between row 1 and row 2; tweak as needed */
}

@media (width > 960px) {
  :root {
    --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;
  }
}

*,
*::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;
  transition: color 0.2s ease;
}

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

:focus {
  outline: 0;
}

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

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

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

html.no-scroll {
  overflow: hidden;
}

body {
  position: relative;
  max-width: 100%;
  width: 100%;
  line-height: 1.6;
  color: var(--color-text);
  background: #1a1c1e;
  accent-color: var(--color-primary);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::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: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: 32px;
}

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

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

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

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

.btn-primary,
.btn-secondary,
.btn-tertiary {
  --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);
  display: block;
  width: fit-content;
  height: 46px;
  padding: 0 10px;
  line-height: 46px;
  color: var(--btn-color-text);
  background-color: var(--btn-color-bg);
  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:active,
.btn-secondary:active,
.btn-tertiary:active {
  transform: scale(0.96);
}

.btn-primary {
  --btn-color-text: var(--color-primary-text);
  --btn-color-bg: var(--color-primary);
  --btn-color-text-hover: #ffffff; /* Force white text on hover */
  --btn-color-bg-hover: var(--color-primary-hover);
  border-radius: 8px;
  background: linear-gradient(135deg, var(--color-primary) 0%, #1a4fd4 100%);
  box-shadow: 0 2px 8px rgba(38, 110, 255, 0.25);
}

.btn-primary:hover,
.btn-primary:focus {
  box-shadow: 0 4px 16px rgba(38, 110, 255, 0.35);
}

.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 {
  position: relative;
  flex: none;
  width: 46px;
  height: 46px;
  padding: 0;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: 18px;
}

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

.btn-icon-text {
  display: flex;
  align-items: center;
  min-width: 46px;
  gap: 8px;
}

.btn-icon-text::before {
  content: "";
  display: block;
  width: 18px;
  height: 18px;
  flex: none;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
}

@media (width <=960px) {
  :root .btn-icon-text {
    justify-content: center;
    gap: 0;
    font-size: 0;
    color: transparent;
  }
}

.btn-glyph::before,
.btn-glyph-text::before {
  content: "";
  display: block;
  width: 18px;
  height: 18px;
  flex: none;
  background-color: var(--btn-color-text);
  mask-position: center center;
  mask-repeat: no-repeat;
  mask-size: contain;
  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: 46px;
  height: 46px;
}

: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: 46px;
  gap: 8px;
}

@media (width <=960px) {
  :root .btn-glyph-text {
    justify-content: center;
    gap: 0;
    font-size: 0;
    color: transparent;
  }
}

.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;
  color: var(--color-text);
  background: var(--color-bg);
  height: 36px;
  border: 1px solid var(--color-secondary);
}

.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%;
  font-size: 16px;
  transition: color 0.15s ease-in-out;
  order: 2;
}

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

.quantity-field .adjust.increase {
  margin-left: auto;
  order: 100;
}

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

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

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

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

.site {
  display: grid;
  grid-auto-rows: auto 1fr auto;
  align-items: start;
  gap: var(--widget-padding);
  min-height: calc(100vh - var(--tebex-footer-height));
  font-size: 14px;
}

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

.page-index.home-categories-enabled .site {
  grid-auto-rows: auto auto 1fr auto;
}

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

@media (width > 960px) {

  .site-header,
  .site-home-categories,
  .site-content,
  .site-footer-inner {
    max-width: 100%;
  }
}

@media (width <=960px) {
  .site-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--widget-padding) 0;
    position: relative;
    padding: 110px 0 calc(50px - var(--widget-padding));
    flex-wrap: wrap;
  }

  .site-header-inner .actions {
    position: absolute;
    top: var(--widget-padding);
    left: 0;
    display: flex;
    gap: 6px;
  }

  .site-header-inner .toggle-navigation {
    background-image: url("https://webstore-template-assets.tebex.io/images/burger.svg");
  }

  .site-header-inner .log-in,
  .site-header-inner .user-actions {
    position: absolute;
    top: var(--widget-padding);
    right: 0;
  }

  .site-header-inner .user-actions {
    display: flex;
    gap: 12px;
  }

  .site-header-inner .open-basket::before {
    mask-image: url("https://webstore-template-assets.tebex.io/images/checkout.svg");
  }

  .site-header-inner .user-name {
    display: none;
  }

  .site-header-inner .user-menu {
    display: none;
  }

  .site-header-inner .site-title {
    width: 100%;
    line-height: 80px;
    font-size: 50px;
    font-weight: 900;
    text-align: center;
  }

  .site-header-inner .site-title img {
    margin: 0 auto;
    max-width: 100%;
    max-height: 80px;
    object-fit: contain;
  }




  .site-header-inner .info {
    display: block;
    position: relative;
    flex: none;
    width: 50%;
    padding-left: 42px;
    line-height: 18px;
  }

  .site-header-inner .info.discord {
    right: 0;
    left: auto;
    padding-left: 0;
    padding-right: 42px;
    text-align: right;
  }

  .site-header-inner .info .image {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    margin: auto;
    width: 32px;
    height: 32px;
    object-fit: contain;
  }

  .site-header-inner .info.discord .image {
    left: auto;
    right: 0;
  }

  .site-header-inner .info .title {
    display: block;
    line-height: 20px;
    color: var(--color-text);
    font-size: 12px;
    font-weight: 600;
  }

  .site-header-inner .info .action {
    display: block;
    color: var(--color-primary);
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    transition: color 0.15s ease-in-out;
    cursor: pointer;
  }

  .site-header-inner .info:hover .action {
    color: var(--color-primary-hover);
  }

  .site-header-inner .info .value {
    width: fit-content;
    border: 1px solid #606060;
    padding: 0 5px;
    background: rgba(96, 96, 96, 0.5);
    color: #CCC;
    font-size: 12px;
  }
}

@media (width > 960px) {
  .site-header-inner {
    position: relative;
    height: calc(180px - var(--widget-padding) * 2);
  }

  body.is-navigation-horizontal .site-header-inner {
    height: 180px;
  }

  .site-header-inner .actions {
    position: absolute;
    top: var(--widget-padding);
    left: 0;
    display: flex;
    gap: 6px;
  }

  .site-header-inner .toggle-navigation {
    display: none;
    background-image: url("https://webstore-template-assets.tebex.io/images/burger.svg");
  }

  .site-header-inner .log-in,
  .site-header-inner .user-actions {
    position: absolute;
    top: var(--widget-padding);
    right: 0;
  }

  .site-header-inner .user-actions {
    display: flex;
    gap: var(--widget-padding);
  }

  .site-header-inner .open-basket::before {
    mask-image: url("https://webstore-template-assets.tebex.io/images/checkout.svg");
  }

  .site-header-inner .user-name {
    position: relative;
    cursor: default;
    text-align: center;
    justify-content: center;
  }

  .site-header-inner .user-name::before {
    mask-image: url("https://webstore-template-assets.tebex.io/images/user.svg");
  }

  .site-header-inner .user-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    color: var(--color-text-dark);
    margin: 0 auto;
    line-height: 34px;
    font-size: 16px;
    text-align: center;
    translate: 0 10px;
    visibility: hidden;
    opacity: 0;
    transition: translate 0.15s ease-in-out, visibility 0.15s ease-in-out, opacity 0.15s ease-in-out;
  }

  .site-header-inner .user-menu:after {
    content: "";
    display: block;
    position: absolute;
    bottom: 100%;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 11px;
    height: 6px;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    background-color: var(--color-secondary);
    pointer-events: none;
  }

  .site-header-inner .user-menu:before {
    content: "";
    display: block;
    position: absolute;
    bottom: 100%;
    left: 0;
    right: 0;
    height: 20px;
  }

  .site-header-inner .user-menu li {
    background-color: var(--color-secondary);
  }

  .site-header-inner .user-menu li:not(:last-child) {
    border-bottom: 1px solid var(--color-secondary-hover);
  }

  .site-header-inner .user-menu a,
  .site-header-inner .user-menu button {
    display: block;
    width: 100%;
    padding: 0 calc(var(--widget-padding) / 2);
    transition: background-color 0.3s ease-in-out;
  }

  .site-header-inner .user-menu a:hover,
  .site-header-inner .user-menu a:focus,
  .site-header-inner .user-menu button:hover,
  .site-header-inner .user-menu button:focus {
    background-color: var(--color-secondary-hover);
  }

  .site-header-inner .user-menu .log-out {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
  }

  .site-header-inner .user-menu .log-out::before {
    content: "";
    display: block;
    width: 18px;
    height: 18px;
    background-color: currentColor;
    mask: url("https://webstore-template-assets.tebex.io/images/log-out.svg") center center no-repeat;
    mask-size: contain;
  }

  .site-header-inner .user-name:hover~.user-menu,
  .site-header-inner .user-name:active~.user-menu,
  .site-header-inner .user-name:focus~.user-menu,
  .site-header-inner .user-menu:hover,
  .site-header-inner .user-menu:focus-within {
    translate: none;
    visibility: visible;
    opacity: 1;
  }

  .site-header-inner .site-title {
    position: absolute;
    inset: 10px 280px 0 280px;
    margin: auto;
    width: fit-content;
    height: fit-content;
    line-height: 72px;
    font-size: 60px;
    font-weight: 900;
    text-align: center;
  }

  .site-header-inner .site-title img {
    margin: 0 auto;
    max-width: 100%;
    max-height: 90px;
  }

  .site-header-inner .info {
    position: absolute;
    top: 10px;
    left: 0;
    bottom: 0;
    margin: auto 0;
    max-width: 280px;
    width: 33.3333333333%;
    height: fit-content;
    line-height: 22px;
  }

  .site-header-inner .info.server {
    padding-left: 64px;
  }

  .site-header-inner .info.discord {
    right: 0;
    left: auto;
    padding-right: 82px;
    text-align: right;
  }

  .site-header-inner .info .image {
    position: absolute;
    top: -50px;
    left: 0;
    bottom: -50px;
    margin: auto 0;
    width: 46px;
    height: 46px;
    object-fit: contain;
  }

  .site-header-inner .info.discord .image {
    left: auto;
    right: 0;
    width: 64px;
    height: 64px;
  }

  .site-header-inner .info .title {
    display: block;
    line-height: 28px;
    color: var(--color-text);
    font-size: 18px;
    font-weight: 600;
  }

  .site-header-inner .info .action {
    display: block;
    color: var(--color-primary);
    font-size: 16px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    transition: color 0.15s ease-in-out;
    cursor: pointer;
  }

  .site-header-inner .info:hover .action {
    color: var(--color-primary-hover);
  }

  .site-header-inner .info .value {
    width: fit-content;
    border: 1px solid #606060;
    padding: 0 6px;
    background: rgba(96, 96, 96, 0.5);
    color: #CCC;
    font-size: 16px;
  }
}

.site-footer {
  background: var(--color-brighter-bg);
}

.site-home-categories {
  display: flex;
  flex-direction: column;
  gap: var(--widget-padding);
}

@media (width > 600px) {
  .site-home-categories {
    flex-direction: row;
    justify-content: center;
    gap: var(--widget-padding) 36px;
  }
}

.site-home-categories .category {
  display: flex;
  align-items: center;
  gap: var(--widget-padding);
  flex-basis: 100%;
  line-height: 26px;
  font-size: 24px;
  font-weight: 700;
}

@media (width <=600px) {
  .site-home-categories .category {
    width: 100%;
  }
}

@media (width > 600px) {
  .site-home-categories .category {
    flex-direction: column;
    align-items: center;
    gap: var(--widget-padding);
    max-width: 240px;
    text-align: center;
  }
}

.site-home-categories .category img {
  max-width: 130px;
}

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

.store-text {
  padding: var(--content-padding);
  line-height: 1.375;
  font-size: 16px;
  font-weight: 400;
}

.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-secondary);
  background: var(--color-bg);
  font-size: 14px;
}

.popup .store-form input[type=text],
.popup .store-form input[type=password],
.popup .store-form input[type=email],
.popup .store-form input[type=number],
.popup .store-form input[type=search],
.popup .store-form input[type=url],
.popup .store-form input[type=tel],
.popup .store-form input[type=date],
.popup .store-form input[type=time],
.popup .store-form input[type=datetime-local],
.popup .store-form input[type=file],
.popup .store-form input[type=month],
.popup .store-form input[type=week],
.popup .store-form select,
.popup .store-form textarea {
  background: #242424;
}

@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) {
  .site-content-widgets {
    display: grid;
    grid-template-columns: var(--sidebar-width) 1fr;
    align-items: start;
    gap: 48px;
  }

  body.is-sidebar-right .site-content-widgets {
    grid-template-columns: 1fr var(--sidebar-width);
  }

  .site-content-widgets .store-sidebar {
    order: -1;
  }

  body.is-sidebar-right .site-content-widgets .store-sidebar {
    order: 1;
  }

  /* 3-column layout: left sidebar + main + right sidebar */
  .site-content-widgets.has-right-sidebar {
    grid-template-columns: var(--sidebar-width) 1fr var(--sidebar-width);
  }

  body.is-sidebar-right .site-content-widgets.has-right-sidebar {
    grid-template-columns: 1fr var(--sidebar-width) var(--sidebar-width);
  }

  .site-content-widgets.has-right-sidebar .store-sidebar-right {
    order: 2;
  }
}

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

.no-products {
  padding: var(--widget-padding);
  font-size: 18px;
  text-align: center;
}

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

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

.store-product {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: var(--widget-padding);
  border-radius: 12px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.store-product:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(38, 110, 255, 0.12);
}

.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://webstore-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;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.store-product:hover .image {
  transform: scale(1.06);
}

.store-product .descr {
  color: var(--color-text-secondary);
}

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

.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 .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://webstore-template-assets.tebex.io/images/loading.svg") center center no-repeat;
  background-size: contain;
}

.store-product .quantity-field {
  height: 46px;
}

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

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

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

.store-products-images .store-product .image-link {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
}

.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 {
  padding: calc(var(--widget-padding) * 0.75);
}

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

@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 .actions {
    gap: calc(var(--widget-padding) * 0.75);
  }

  .store-products-list .store-product .actions .wide {
    min-width: 170px;
  }

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

  .store-products-list .store-product .product-title {
    margin-right: auto;
  }
}

.store-product-full,
.store-product-full.popup-content {
  padding-bottom: 0;
}

.store-product-full .product-title {
  grid-area: title;
  font-size: 20px;
}

@media (width > 600px) {
  .store-product-full {
    display: grid;
    grid-template: 
      "image title" auto 
      "image empty" 1fr
      "descr descr" auto
      "actions actions" auto / 400px 1fr;
    gap: var(--widget-padding);
  }

  .store-product-full .image,
  .store-product-full .image-link {
    grid-area: image;
  }

  .store-product-full .image {
    max-width: 100%;
  }

  .store-product-full .product-title {
    grid-area: title;
  }

  .store-product-full .descr {
    grid-area: descr;
  }

  .store-product-full .actions {
    grid-area: actions;
    align-self: start;
  }
}

.store-product-full .actions {
  position: sticky !important;
  align-items: center;
  bottom: 0;
  margin: 0 calc(var(--widget-padding) * -1);
  padding: var(--widget-padding);
  background-color: rgb(from var(--color-brighter-bg) r g b/0.9);
  backdrop-filter: blur(5px);
}

@media (width <=600px) {
  .store-product-full .actions {
    order: 1;
  }
}

@media (width > 600px) {
  .store-product-full .actions {
    padding: var(--widget-padding);
    margin: 0 calc(var(--widget-padding) * -1);
    background: rgba(26, 28, 30, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    position: sticky !important;
    bottom: 0;
    justify-content: center;
  }
}

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

.store-product-full .price {
  margin-right: auto;
}

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

@media (width <=960px) {
  .site-navigation {
    position: fixed;
    inset: 0;
    z-index: 100000;
    padding: 0;
    transition: all 0.15s ease-in-out;
  }

  body:not(.show-navigation) .site-navigation {
    visibility: hidden;
    opacity: 0;
    translate: -50px 0;
  }

  .site-navigation .close-navigation {
    position: absolute;
    top: 12px;
    right: 62px;
    background-image: url("https://webstore-template-assets.tebex.io/images/close.svg");
    background-size: 24px;
  }

  .site-navigation .navigation-list {
    display: flex;
    flex-direction: column;
    position: absolute;
    inset: 0 50px 0 0;
    padding: 72px var(--widget-padding) var(--widget-padding);
    background: var(--color-bg);
    line-height: 24px;
    color: var(--color-text-secondary);
    font-size: 18px;
    overflow: hidden auto;
    scrollbar-width: thin;
    scrollbar-color: var(--color-secondary) var(--color-bg);
  }

  .site-navigation ul ul {
    padding-left: var(--widget-padding);
    line-height: 22px;
    font-size: 16px;
  }

  .site-navigation li {
    position: relative;
    width: 100%;
  }

  .site-navigation .log-out {
    margin-top: auto;
  }

  .site-navigation .log-out a {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .site-navigation .log-out a::before {
    content: "";
    display: block;
    width: 24px;
    height: 24px;
    background-color: currentColor;
    mask: url("https://webstore-template-assets.tebex.io/images/log-out.svg") center center no-repeat;
    mask-size: contain;
  }

  .site-navigation .has-children {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .site-navigation .has-children>a {
    flex: 1 1 auto;
  }

  .site-navigation .has-children .toggle {
    background-image: url("https://webstore-template-assets.tebex.io/images/chevron.svg");
    background-size: 20px;
    transition: rotate 0.15s ease-in-out;
  }

  .site-navigation .has-children.expanded>.toggle {
    rotate: 180deg;
  }

  .site-navigation .has-children>ul {
    width: 100%;
  }

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

  .site-navigation a {
    display: block;
    padding: 11px 0;
    transition: color 0.15s ease-in-out;
  }

  .site-navigation a:hover {
    color: var(--color-primary);
  }

  .site-navigation a.active {
    color: var(--color-primary);
    font-weight: 700;
  }

  .site-navigation ul ul a {
    padding: 8px 0;
  }
}

@media (width > 960px) {
  .navigation-horizontal .close-navigation {
    display: none;
  }

  .navigation-horizontal .navigation-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding: calc(var(--widget-padding) / 2);
    line-height: 28px;
    background: var(--color-brighter-bg);
    font-size: 18px;
    font-weight: 700;
  }

  .navigation-horizontal .navigation-list>li>a {
    padding: 14px calc(var(--widget-padding) / 2);
  }

  .navigation-horizontal .navigation-list>li.has-children>a {
    padding-right: 0;
  }

  .navigation-horizontal ul ul {
    line-height: 24px;
    font-size: 16px;
    font-weight: 400;
  }

  .navigation-horizontal>ul>li>a {
    display: block;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;

  }

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

  }

  .navigation-horizontal .has-children .toggle {
    flex: none;
    width: 28px;
    height: 28px;
    background-color: transparent;
    background-image: url("https://webstore-template-assets.tebex.io/images/chevron.svg");
    background-size: 20px;
    transition: rotate 0.15s ease-in-out;
  }

  .navigation-horizontal .has-children:hover>.toggle {
    rotate: 180deg;
  }

  .navigation-horizontal .has-children>ul {
    position: absolute;
    top: calc(100% - var(--widget-padding) / 2);
    left: 0;
    width: max-content;
    padding: calc(var(--widget-padding) / 2) 0;
    background: rgb(from var(--color-brighter-bg) r g b/0.7);
    backdrop-filter: blur(10px);
    transition: all 0.15s ease-in-out;
  }

  .navigation-horizontal .has-children:not(:hover)>ul {
    visibility: hidden;
    opacity: 0;
    translate: 0 -10px;
  }

  .navigation-horizontal a {
    display: block;
    transition: color 0.15s ease-in-out;
  }

  .navigation-horizontal a:hover,
  .navigation-horizontal a.link-active {
    color: var(--color-primary);
  }

  .navigation-horizontal li li a {
    width: 100%;
    max-width: 24ch;
    padding: 4px calc(var(--widget-padding) / 2);
    transition: all 0.15s ease-in-out;
  }

  .navigation-horizontal li li a:hover,
  .navigation-horizontal li li a.link-active {
    color: var(--color-bg);
    background-color: var(--color-primary);
  }
}

@media (width > 960px) {
  .navigation-vertical.widget {
    padding: calc(var(--widget-padding) / 2);
  }

  .navigation-vertical .close-navigation {
    display: none;
  }

  .navigation-vertical .navigation-list {
    line-height: 28px;
    color: var(--color-text-secondary);
    font-size: 18px;
    font-weight: 400;
  }

  .navigation-vertical ul ul {
    padding-left: 12px;
    line-height: 22px;
    font-size: 15px;
  }

  .navigation-vertical .has-children {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .navigation-vertical .has-children>a {
    flex: 1 1 auto;
    max-width: calc(100% - 46px);
  }

  .navigation-vertical .has-children .toggle {
    background-color: transparent !important;
    background-image: url("https://webstore-template-assets.tebex.io/images/chevron.svg");
    background-size: 20px;
    transition: rotate 0.15s ease-in-out;
  }

  .navigation-vertical .has-children.expanded>.toggle {
    rotate: 180deg;
  }

  .navigation-vertical .has-children>ul {
    width: 100%;
  }

  .navigation-vertical .has-children:not(.expanded)>ul {
    display: none;
  }

  .navigation-vertical a {
    display: block;
    padding: calc(var(--widget-padding) / 2);
    transition: color 0.15s ease-in-out;
  }

  .navigation-vertical a:hover,
  .navigation-vertical a.link-active {
    color: var(--color-primary);
  }

  .navigation-vertical a.link-active {
    font-weight: 600;
  }

  .navigation-vertical ul ul a {
    padding: 8px calc(var(--widget-padding) / 2);
  }
}

.widget {
  padding: var(--widget-padding);
  background: rgba(34, 37, 43, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.widget+.widget {
  margin-top: var(--widget-padding);
}

.widget-title {
  margin-bottom: var(--widget-padding);
  padding: 12px 16px 0;
  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-secondary);
  background: var(--color-bg);
  font-size: 14px;
}

.popup .widget-gift-card .gift-card-input {
  background: #242424;
}

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

.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: 0 auto 12px;
  width: 96px;
}

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

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

.widget-community-goal .progress-bar,
.widget-goal .progress-bar {
  height: 12px;
  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-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;
}

.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: 0.3s;
  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: rgba(14, 15, 17, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: opacity var(--fade-duration) ease-in-out, display var(--fade-duration) allow-discrete;
}

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

.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);
  overscroll-behavior: none;
}

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

.popup-content {
  position: relative;
  width: 100%;
  max-width: 550px;
  padding: var(--widget-padding);
  background: var(--color-brighter-bg);
  transition: translate var(--fade-duration) ease-in-out;
}

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

.popup[hidden] .popup-content {
  translate: 0px 20px;
}

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

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

.popup-close {
  position: absolute;
  top: 0;
  right: 0;
  width: 40px;
  height: 40px;
  background: url("https://webstore-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;
}

@media (width <=600px) {
  .popup-close {
    width: 50px;
    height: 50px;
    background-size: 24px;
  }
}

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

.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://webstore-template-assets.tebex.io/images/loading.svg") center center no-repeat;
  background-size: contain;
}

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

.login-popup-content {
  max-width: 480px;
  padding-bottom: calc(var(--widget-padding) - 12px);
}

.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;
  background: rgba(40, 40, 40, 0.5);
}

@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://webstore-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);
  background: rgb(from var(--color-brighter-bg) r g b/0.9);
  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://webstore-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);
}

.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 {
  height: 40px;
}

.basket .basket-item .remove {
  width: 40px;
  height: 40px;
}

.basket .basket-item .remove::before {
  mask-image: url("https://webstore-template-assets.tebex.io/images/delete.svg");
}

.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: var(--color-bg);
  transition: translate var(--fade-duration) ease-in-out;
}

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

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

.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://webstore-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;
  background: var(--color-brighter-bg);
  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://webstore-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);
}

.rolling-notification {
  position: fixed;
  /* Keeps it at the top while scrolling */
  top: 0;
  left: 0;
  width: 100%;
  background-color: #1e1e1e;
  /* Dark background */
  color: #ffffff;
  /* White text */
  font-size: 16px;
  font-weight: bold;
  padding: 8px;
  text-align: center;
  border-bottom: 2px solid #ffcc00;
  /* Gold accent */
  z-index: 9999;
  /* Ensures it stays on top */
}

marquee {
  font-family: 'Arial', sans-serif;
  letter-spacing: 1px;
}

/* Push content down to avoid overlapping */
body {
  padding-top: 40px;
  /* Adjust depending on the height of the notification bar */
}

/* Floating animation */
@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-5px);
  }

  100% {
    transform: translateY(0px);
  }
}

.floating-image {
  animation: float 3s ease-in-out infinite;
  transition: transform 0.3s ease;
  max-width: 100%;
  border: 2px solid #ffffff30;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}


/* Top Left Top Right */
.corner-box {
  position: fixed;
  top: 80px;
  /* Adjust vertical position */
  width: 200px;
  padding: 12px;
  background: rgba(30, 30, 30, 0.85);
  border-radius: 14px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  color: #fff;
  text-align: center;
  z-index: 9999;
  font-family: 'Segoe UI', sans-serif;

  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.corner-box.visible {
  opacity: 1;
  pointer-events: auto;
}

.corner-box.top-left {
  left: 20px;
}

.corner-box.top-right {
  right: 20px;
}

.corner-box h3 {
  margin: 0 0 8px;
  font-size: 16px;
  opacity: 1;
  transition: opacity 0.6s ease-in-out;
  will-change: opacity;
}

.corner-box img {
  width: 100%;
  border-radius: 10px;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease-in-out, transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  will-change: opacity, transform;
}

.corner-box.second-row {
  top: calc(var(--first-row-top) + var(--row-gap));
}

/* Optional: a tiny visual difference so users see two separate cards */
.corner-box.second-row {
  background: rgba(30, 30, 30, 0.78);
}

@media screen and (max-width: 768px) {
  .corner-box {
    display: none;
  }
}

/* --- Search Bar Styling CORRECTED --- */
.category-search-container {
  position: relative;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  z-index: 20;
}

/* Header Positioning Desktop - Enforce Relative Parent */
@media (min-width: 961px) {
  .site-header-inner {
    position: relative;
  }

  .category-search-container.header-search {
    position: absolute;
    bottom: 5px;
    left: 0;
    right: 0;
    margin: auto;
    width: 50%;
    max-width: 500px;
    display: flex;
    /* Ensure it is visible */
  }
}

/* Header Positioning Mobile */
@media (max-width: 960px) {
  .category-search-container.header-search {
    width: 100%;
    margin-top: 15px;
    order: 10;
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
  }
}

.search-input {
  width: 100%;
  padding: 12px 20px 12px 45px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: #fff;
  font-size: 15px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.search-input:focus {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(38, 110, 255, 0.2);
  outline: none;
}

.search-icon {
  position: absolute;
  top: 12px;
  left: 14px;
  width: 20px;
  /* Enforce size */
  height: 20px;
  /* Enforce size */
  color: rgba(255, 255, 255, 0.4);
  pointer-events: none;
}

/* --- Search Dropdown Styling --- */
.search-results-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 8px;
  background: #1a1c1e;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  max-height: 400px;
  overflow-y: auto;
  z-index: 100;
}

.search-results-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.search-result-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: block;
  /* Ensure list items block */
}

.search-result-item:last-child {
  border-bottom: none;
}

.result-link {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  text-decoration: none;
  color: #fff;
  transition: background 0.2s ease;
}

.result-link:hover {
  background: rgba(255, 255, 255, 0.05);
}

.result-image {
  width: 48px;
  height: 48px;
  border-radius: 6px;
  overflow: hidden;
  margin-right: 12px;
  flex-shrink: 0;
  background: #000;
}

.result-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.result-info {
  display: flex;
  flex-direction: column;
}

.result-name {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}

.result-price {
  font-size: 13px;
  color: var(--color-primary);
  font-weight: 700;
}

.no-results {
  padding: 20px;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
}

/* ===== Product Tags ===== */
.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
  padding: 0 4px;
}

.product-tag {
  display: inline-block;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--color-primary);
  border: 1px solid rgba(from var(--color-primary) r g b / 0.35);
  background: rgba(from var(--color-primary) r g b / 0.1);
  border-radius: 20px;
  white-space: nowrap;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

/* Slightly larger tags on full product page */
.store-product-full .product-tags {
  margin-top: 14px;
  gap: 8px;
}

.store-product-full .product-tag {
  padding: 4px 14px;
  font-size: 12px;
}

/* ===== YouTube Embed ===== */
.product-video {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  margin: 16px 0;
  border-radius: 8px;
  overflow: hidden;
  background: #000;
}

.product-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ===== Image Lightbox ===== */
.descr.text-content img:not(a img) {
  cursor: zoom-in;
  transition: opacity 0.2s ease;
}

.descr.text-content img:not(a img):hover {
  opacity: 0.85;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.25s ease;
  cursor: zoom-out;
}

.image-lightbox.active {
  opacity: 1;
}

.image-lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.6);
  transform: scale(0.92);
  transition: transform 0.3s ease;
}

.image-lightbox.active img {
  transform: scale(1);
}

.image-lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 14px;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.image-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* ===== Rolling Notification Ticker (marquee replacement) ===== */
.rolling-notification {
  overflow: hidden;
  background-color: #111;
  padding: 6px 0;
  margin: 0;
  white-space: nowrap;
}

.rolling-notification .ticker-track {
  display: inline-block;
  white-space: nowrap;
  animation: ticker-scroll 30s linear infinite;
  font-family: 'Segoe UI', Helvetica, sans-serif;
  font-size: 16px;
  color: #ffffff;
  line-height: 1.4;
}

.rolling-notification:hover .ticker-track {
  animation-play-state: paused;
}

@keyframes ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ticker-highlight-purple { color: #5865F2; font-weight: bold; }
.ticker-highlight-cyan { color: #00ffcc; font-weight: bold; }

.ticker-btn-discord {
  background-color: #5865F2;
  color: white;
  padding: 2px 10px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  margin-left: 5px;
  font-size: 0.95em;
}

.ticker-separator {
  color: #444;
  margin: 0 16px;
}

/* ===== Home Category Cards ===== */
.site-home-categories {
  margin-top: 20px;
  text-align: center;
  width: 100%;
}

.home-categories-grid {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: nowrap;
  overflow-x: auto;
}

.home-category-card {
  text-align: center;
  width: 30%;
}

.home-category-card h2 {
  font-size: 1.2em;
  margin-bottom: 10px;
  color: #ffffff;
}

.home-category-card a {
  display: inline-block;
  margin-top: 10px;
}

.home-category-card img {
  width: 100%;
  border: 2px solid rgba(255, 255, 255, 0.19);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.home-category-card img:hover {
  transform: scale(1.02);
}

/* ===== Customer Reviews Section ===== */
.customer-reviews-section {
  background: #121212;
  color: #fff;
  padding: 20px;
  border-radius: 8px;
  max-width: 900px;
  margin: 30px auto;
  text-align: center;
}

.customer-reviews-section h2 {
  margin-bottom: 20px;
}

.reviews-container {
  display: flex;
  overflow: hidden;
  gap: 15px;
  justify-content: center;
}

.reviews-nav {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.reviews-nav button {
  background: #333;
  border: none;
  color: #fff;
  padding: 10px 15px;
  cursor: pointer;
  font-size: 18px;
  border-radius: 4px;
}

.review-card {
  background: #222;
  border-radius: 8px;
  padding: 15px;
  width: 280px;
  flex-shrink: 0;
  box-sizing: border-box;
  text-align: left;
}

.review-header {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.review-header img.avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 12px;
  object-fit: cover;
}

.review-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

.rating {
  color: #f5a623;
  font-size: 16px;
  margin-top: 8px;
}

@media (max-width: 991px) {
  .customer-reviews-section {
    display: none !important;
  }
}

/* ===== FAQ Section ===== */
.faq-section {
  margin-top: 40px;
  border-top: 1px solid #444;
  padding-top: 20px;
}

.faq-section > h2 {
  margin-bottom: 20px;
  color: white;
}

.faq-list {
  max-width: 700px;
}

.faq-item {
  margin-bottom: 15px;
  border-bottom: 1px solid #555;
  padding-bottom: 10px;
}

.faq-question {
  all: unset;
  cursor: pointer;
  display: block;
  width: 100%;
  font-weight: 600;
  font-size: 1.1em;
  color: white;
  padding: 10px 0;
}

.faq-question span {
  float: right;
  color: white;
}

.faq-answer {
  color: white;
  padding: 0 0 10px 0;
  line-height: 1.5;
}

/* ===== Custom Dark Scrollbar ===== */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #111;
}

::-webkit-scrollbar-thumb {
  background: #333;
  border-radius: 5px;
  border: 2px solid #111;
}

::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* ===== Footer Polish ===== */
.tebex-footer {
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: linear-gradient(180deg, rgba(26, 28, 30, 0) 0%, rgba(26, 28, 30, 1) 100%);
}

/* ===== Phase 2 Modernization Enhancements ===== */

/* High-Impact Sale Badge */
.product-sale-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #00ffcc;
  color: #000;
  font-weight: 800;
  font-size: 11px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 255, 204, 0.3);
  z-index: 2;
  pointer-events: none;
}

/* Image Container needs relative positioning for the absolute badge */
.store-product .image-link {
  position: relative;
  overflow: hidden; /* ensures zooming image doesn't break rounded corners */
  border-radius: 10px;
}

/* Discord Pulse Animation */
@keyframes pulse-glow {
  0% { box-shadow: 0 0 0 0 rgba(88, 101, 242, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(88, 101, 242, 0); }
  100% { box-shadow: 0 0 0 0 rgba(88, 101, 242, 0); }
}

.discord-pulse {
  animation: pulse-glow 2s infinite;
  box-shadow: 0 0 15px rgba(88, 101, 242, 0.3);
}

/* ===== Discord Nav Icon ===== */
.nav-discord a {
  display: flex;
  align-items: center;
  justify-content: center;
}

.discord-nav-icon {
  width: 22px;
  height: 22px;
  transition: opacity 0.2s ease, transform 0.2s ease, filter 0.2s ease;
  filter: brightness(0) saturate(100%) invert(36%) sepia(60%) saturate(2000%) hue-rotate(222deg) brightness(100%) contrast(92%);
}

.nav-discord a:hover .discord-nav-icon {
  transform: scale(1.15);
  filter: brightness(0) invert(1);
}

/* ===== Login Key Icon ===== */
.btn-login-key {
  display: flex !important;
  align-items: center;
  gap: 6px;
}

.login-key-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.btn-login-key:hover .login-key-icon {
  transform: rotate(-15deg);
}

/* ===== Right Sidebar ===== */
.store-sidebar-right {
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.right-sidebar-heading {
  margin-bottom: 16px;
}

.right-sidebar-heading h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.right-sidebar-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.right-sidebar-item {
  position: relative;
  display: block;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(34, 37, 43, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.right-sidebar-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(38, 110, 255, 0.15);
  border-color: rgba(38, 110, 255, 0.3);
}

.right-sidebar-item img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.right-sidebar-item:hover img {
  transform: scale(1.06);
}

.right-sidebar-label {
  display: block;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text);
  background: rgba(0, 0, 0, 0.4);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (width <= 960px) {
  .store-sidebar-right {
    order: 10;
  }

  .right-sidebar-items {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
  }

  .right-sidebar-item {
    flex: 1 1 calc(50% - 6px);
    min-width: 140px;
  }
}

/* ===== Discord Widget ===== */
.discord-widget {
  margin-top: 24px;
  border-radius: 12px;
  overflow: hidden;
  background: #2f3136;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.discord-widget-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: #202225;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.discord-widget-server-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.discord-widget-server-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.discord-widget-server-name {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.discord-widget-online-badge {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: #b9bbbe;
  margin-top: 2px;
}

.dw-separator {
  margin: 0 2px;
  color: #72767d;
}

/* Status dots */
.dw-status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.dw-status-dot.online {
  background: #3ba55d;
}

.dw-status-dot.idle {
  background: #faa61a;
}

.dw-status-dot.dnd {
  background: #ed4245;
}

.dw-status-dot.offline {
  background: #747f8d;
}

/* Member list */
.discord-widget-members {
  padding: 8px 0;
  max-height: 280px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #202225 transparent;
}

.discord-widget-members::-webkit-scrollbar {
  width: 6px;
}

.discord-widget-members::-webkit-scrollbar-thumb {
  background: #202225;
  border-radius: 3px;
}

.dw-loading {
  padding: 16px;
  text-align: center;
  font-size: 12px;
  color: #72767d;
}

.dw-member {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 16px;
  transition: background 0.15s ease;
}

.dw-member:hover {
  background: rgba(255, 255, 255, 0.04);
}

.dw-member-avatar-wrap {
  position: relative;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
}

.dw-member-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.dw-member-avatar-wrap .dw-status-dot {
  position: absolute;
  bottom: -1px;
  right: -1px;
  width: 10px;
  height: 10px;
  border: 2px solid #2f3136;
  border-radius: 50%;
}

.dw-member-name {
  font-size: 13px;
  font-weight: 500;
  color: #dcddde;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dw-member-more {
  padding: 8px 16px;
  font-size: 11px;
  color: #72767d;
  text-align: center;
}

/* Footer / Join button */
.discord-widget-footer {
  padding: 12px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.discord-widget-join {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 10px;
  background: #5865F2;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  border-radius: 8px;
  transition: background 0.2s ease, transform 0.15s ease;
}

.discord-widget-join:hover {
  background: #4752c4;
  transform: translateY(-1px);
}

.dw-join-icon {
  width: 18px;
  height: 18px;
  filter: brightness(0) invert(1);
}