@import url("https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap");
:root {
  --color-primary: #41C4C3;
  --bg-image: url("https://template-assets.tebex.io/images/page-bg.jpg");
}

body {
  font-family: Lato, sans-serif;
}
body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  max-height: 400px;
  z-index: -1;
  background: var(--bg-image) center center/cover no-repeat;
  mask-image: linear-gradient(rgba(0, 0, 0, 0.75) 50%, rgba(0, 0, 0, 0.25));
  pointer-events: none;
}

.btn-primary,
.btn-secondary,
.btn-tertiary {
  border-radius: 2px;
}

.btn-primary:hover, .btn-primary:focus,
.btn-secondary:hover,
.btn-secondary:focus {
  box-shadow: 0 0 6px rgb(from var(--btn-color-bg-hover) r g b/0.6);
}

.quantity-field {
  border-radius: 5px;
}

.site-header-inner .info .image {
  border-radius: 5px;
}

.site-sale-banner {
  border-radius: 5px;
}

.site-home-categories .category {
  border-radius: 5px;
  padding: 20px var(--widget-padding);
  background: var(--color-brighter-bg);
  transition: color 0.15s ease-in-out;
}
.site-home-categories .category:hover {
  color: var(--color-primary);
}

.category-description {
  border-radius: 5px;
  background: var(--color-brighter-bg);
}

.store-text {
  border-radius: 5px;
  background: var(--color-brighter-bg);
}
.store-text h1,
.store-text h2,
.store-text h3,
.store-text h4,
.store-text h5,
.store-text h6 {
  text-align: center;
}

.store-products-list .store-product,
.store-products-images .store-product {
  border-radius: 5px;
  background: var(--color-brighter-bg);
}

.store-products-images .store-product {
  text-align: center;
}

.widget-title {
  text-align: center;
}

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

.no-products {
  color: var(--color-text-secondary);
  background: var(--color-brighter-bg);
  border-radius: 5px;
}

.store-product-full {
  border-radius: 5px;
  background: var(--color-brighter-bg);
}

.store-product .quantity-field {
  border-radius: 5px;
  background: var(--color-brighter-bg);
}
.store-product .quantity-field input[type=number] {
  border: none;
}

@media (width > 960px) {
  .navigation-horizontal > ul {
    border-radius: 5px;
  }
}
.navigation-horizontal .has-children > ul {
  border-radius: 5px;
}

.widget {
  border-radius: 5px;
  background: var(--color-brighter-bg);
}
@media (width <= 960px) {
  .widget.site-navigation {
    border-radius: 0;
    background: transparent;
  }
}

.widget-gift-card .gift-card-input {
  border-radius: 2px;
}

.widget-top-donator .avatar {
  border-radius: 50%;
}

.widget-community-goal .progress,
.widget-goal .progress {
  border-radius: 2px;
}
.widget-community-goal .progress-bar,
.widget-goal .progress-bar {
  border-radius: 2px;
}

.popup-content {
  border-radius: 5px;
}

.popup-close {
  border-radius: 0 5px 0 5px;
}

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

.basket-items {
  padding: var(--widget-padding) calc(var(--content-padding) - var(--widget-padding));
}

.basket-item {
  border-radius: 5px;
}
.basket-item .quantity {
  border-radius: 2px;
}

.toast {
  border-radius: 6px;
}

.toast-close {
  border-radius: 2px;
}

.store-category-tiered {
  border-radius: 5px;
  background: var(--color-brighter-bg);
}

.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 {
  text-align: center;
}

.store-product-tiered {
  border-radius: 5px;
  background: rgb(from var(--color-bg) r g b/0.5);
}

.media-slider .slider,
.media-slider .thumb {
  border-radius: 5px;
}
.media-slider .open-lightbox {
  border-radius: 2px;
}

.popup.popup-media-slider .thumb {
  border-radius: 5px;
}
.popup.popup-media-slider .popup-close {
  border-radius: 5px;
}

/* Beste Freunde Community skin */
:root {
  --color-text: #f7fbff;
  --color-text-darker: #d8e5ee;
  --color-text-secondary: #9eb0bd;
  --color-text-dark: #051016;
  --color-bg: #070a0f;
  --color-brighter-bg: #101820;
  --color-primary: #00d7ff;
  --color-primary-hover: #ffcf4a;
  --color-primary-text: #061018;
  --color-primary-text-hover: #061018;
  --color-secondary: #1f2c36;
  --color-secondary-hover: #293a46;
  --color-secondary-text: #f7fbff;
  --color-secondary-text-hover: #ffffff;
  --color-sale-banner-bg: #ffcf4a;
  --color-sale-banner-text: #061018;
}

body {
  background:
    radial-gradient(circle at 15% 8%, rgb(0 215 255 / 16%), transparent 28rem),
    radial-gradient(circle at 85% 14%, rgb(255 207 74 / 12%), transparent 24rem),
    linear-gradient(180deg, #0b1118 0%, #070a0f 42%, #05070a 100%);
  font-family: Lato, Arial, sans-serif;
}

body::before {
  max-height: 520px;
  background:
    linear-gradient(180deg, rgb(7 10 15 / 28%), var(--color-bg) 95%),
    var(--bg-image) center center / cover no-repeat;
  mask-image: none;
  opacity: .42;
}

.site {
  gap: 28px;
}

.site-header-inner {
  isolation: isolate;
}

@media (width > 960px) {
  .site-header-inner,
  body.is-navigation-horizontal .site-header-inner {
    height: 310px;
  }

  .site-header-inner .site-title {
    inset: calc(var(--widget-padding) + 38px) 280px 0 280px;
  }
}

.site-header-inner .site-title {
  text-transform: uppercase;
  text-shadow: 0 0 22px rgb(0 215 255 / 40%), 0 8px 30px rgb(0 0 0 / 55%);
  letter-spacing: 0;
}

.site-header-inner .site-title img {
  filter: drop-shadow(0 12px 28px rgb(0 0 0 / 55%));
}

.site-header-inner .info {
  padding: 14px 16px;
  border: 1px solid rgb(255 255 255 / 10%);
  border-radius: 8px;
  background: rgb(8 14 20 / 68%);
  box-shadow: 0 16px 42px rgb(0 0 0 / 28%);
  backdrop-filter: blur(12px);
}

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

.site-header-inner .info.discord {
  padding-right: 92px;
}

.site-header-inner .info .action {
  font-weight: 800;
}

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

.btn-primary,
.btn-secondary,
.btn-tertiary,
.quantity-field,
.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 select,
.store-form textarea,
.widget-gift-card .gift-card-input {
  border-radius: 8px;
}

.btn-primary {
  box-shadow: 0 0 0 1px rgb(255 255 255 / 10%) inset, 0 10px 28px rgb(0 215 255 / 20%);
}

.btn-secondary {
  border: 1px solid rgb(255 255 255 / 10%);
  background: linear-gradient(180deg, #23323d, #17232c);
}

.btn-tertiary {
  border: 1px solid rgb(255 255 255 / 8%);
}

.navigation-horizontal > ul {
  border: 1px solid rgb(255 255 255 / 10%);
  background: rgb(9 15 22 / 84%);
  box-shadow: 0 18px 55px rgb(0 0 0 / 30%);
  backdrop-filter: blur(16px);
}

.navigation-horizontal a {
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: 0;
}

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

.site-sale-banner,
.store-text,
.category-description,
.store-products-list .store-product,
.store-products-images .store-product,
.store-product-full,
.store-category-tiered,
.widget,
.no-products,
.popup-content,
.basket .basket-item,
.toast {
  border: 1px solid rgb(255 255 255 / 10%);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgb(255 255 255 / 4%), rgb(255 255 255 / 0%)),
    rgb(14 22 30 / 92%);
  box-shadow: 0 18px 55px rgb(0 0 0 / 24%);
}

.store-products-images .store-product,
.store-product-tiered {
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.store-products-images .store-product:hover,
.store-product-tiered:hover {
  transform: translateY(-3px);
  border-color: rgb(0 215 255 / 38%);
  box-shadow: 0 22px 60px rgb(0 0 0 / 34%), 0 0 34px rgb(0 215 255 / 10%);
}

.store-product .product-title,
.widget-title,
.basket .basket-title {
  color: #ffffff;
}

.store-product .price,
.basket .basket-item .price,
.basket .basket-checkout .total {
  color: var(--color-primary-hover);
}

.site-home-categories .category {
  border: 1px solid rgb(255 255 255 / 10%);
  background:
    linear-gradient(135deg, rgb(0 215 255 / 13%), transparent 42%),
    rgb(14 22 30 / 92%);
  box-shadow: 0 18px 55px rgb(0 0 0 / 24%);
}

.site-home-categories .category:hover {
  color: var(--color-primary-hover);
}

.store-form input,
.store-form select,
.store-form textarea,
.widget-gift-card .gift-card-input,
.quantity-field {
  border: 1px solid rgb(255 255 255 / 10%);
  background: #081018;
}

.widget-community-goal .progress,
.widget-goal .progress {
  height: 14px;
  background: #071018;
}

.widget-community-goal .progress-bar,
.widget-goal .progress-bar {
  height: 14px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-primary-hover));
}

.site-footer {
  border-top: 1px solid rgb(255 255 255 / 10%);
  background: #05070a;
}

.site-footer-inner .copyright {
  color: #9eb0bd;
}

@media (width <= 960px) {
  .site-header-inner .info {
    padding: 12px 12px 12px 54px;
  }

  .site-header-inner .info.discord {
    padding: 12px 54px 12px 12px;
  }
}

.site-header-inner .site-subtitle {
  position: absolute;
  left: 50%;
  bottom: 42px;
  translate: -50% 0;
  width: min(720px, 100%);
  color: var(--color-text-darker);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
  text-shadow: 0 6px 24px rgb(0 0 0 / 65%);
}

.site-content:not(.site-content-widgets) > main {
  margin-inline: auto;
}

.site-content:not(.site-content-widgets) .store-text,
.site-content:not(.site-content-widgets) .store-product-full,
.site-content:not(.site-content-widgets) .store-category-tiered {
  max-width: 980px;
}

.site-content:not(.site-content-widgets) .store-products-images {
  grid-template-columns: repeat(auto-fit, minmax(min(290px, 100%), 1fr));
}

.site-content:not(.site-content-widgets) .category-description {
  margin-inline: auto;
  max-width: 980px;
}

@media (width <= 960px) {
  .site-header-inner .site-subtitle {
    position: static;
    translate: none;
    order: 3;
    width: 100%;
    margin-top: -20px;
    font-size: 14px;
  }
}

/* Beste Freunde Community redesign v2 */
.site {
  gap: 22px;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(rgb(255 255 255 / 3%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 3%) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgb(0 0 0 / 45%), transparent 68%);
}

.site-header {
  padding-top: 22px;
}

.site-header-inner .site-title-text {
  display: block;
  margin-top: 12px;
  color: #ffffff;
  font-size: clamp(28px, 4vw, 56px);
  font-weight: 900;
  line-height: .95;
  text-transform: uppercase;
}

.site-header-inner .hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
}

.site-header-inner .hero-actions .btn-primary,
.site-header-inner .hero-actions .btn-secondary {
  min-width: 150px;
  height: 50px;
  line-height: 50px;
  border-radius: 10px;
  text-align: center;
}

.site-header-inner .hero-actions .btn-secondary {
  color: #ffffff;
  border-color: rgb(255 255 255 / 14%);
  background: rgb(255 255 255 / 8%);
  backdrop-filter: blur(14px);
}

@media (width > 960px) {
  .site-header-inner,
  body.is-navigation-horizontal .site-header-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 430px;
    padding-top: 34px;
  }

  .site-header-inner .site-title {
    position: static;
    inset: auto;
    width: auto;
    height: auto;
    margin: 0;
    line-height: 1;
  }

  .site-header-inner .site-title a {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .site-header-inner .site-title img {
    max-height: 150px;
  }

  .site-header-inner .site-subtitle {
    position: static;
    translate: none;
    margin-top: 16px;
    width: min(760px, 100%);
    font-size: 20px;
  }

  .site-header-inner .info.discord {
    display: none;
  }

  .site-header-inner .info.server {
    position: static;
    margin-top: 18px;
    width: auto;
    max-width: min(520px, 100%);
  }
}

@media (width <= 960px) {
  .site-header-inner {
    padding-top: 88px;
    padding-bottom: 26px;
  }

  .site-header-inner .site-title img {
    max-height: 116px;
  }

  .site-header-inner .site-title-text {
    font-size: 30px;
  }

  .site-header-inner .site-subtitle {
    margin-top: 10px;
    padding-inline: 12px;
    font-size: 15px;
  }

  .site-header-inner .hero-actions {
    width: 100%;
    flex-wrap: wrap;
  }

  .site-header-inner .info.discord {
    display: none;
  }
}

.navigation-horizontal > ul {
  width: fit-content;
  min-width: min(760px, 100%);
  max-width: 100%;
  min-height: 66px;
  margin-inline: auto;
  padding: 8px;
  border-radius: 16px;
  background: rgb(8 14 20 / 78%);
}

.navigation-horizontal > ul > li > a {
  border-radius: 10px;
  padding-inline: 22px;
}

.navigation-horizontal > ul > li > a.link-active {
  background: rgb(255 207 74 / 12%);
}

.page-index .site-content {
  margin-top: 6px;
}

.page-index .store-text {
  position: relative;
  max-width: 960px !important;
  padding: clamp(28px, 4vw, 54px);
  overflow: hidden;
}

.page-index .store-text::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(to bottom, var(--color-primary), var(--color-primary-hover));
}

.page-index .store-text h1,
.page-index .store-text h2,
.page-index .store-text h3 {
  text-align: left;
}

.page-index .store-text h1:first-child,
.page-index .store-text h2:first-child,
.page-index .store-text h3:first-child {
  color: #ffffff;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.1;
}

.site-header-inner .btn-discord {
  color: #ffffff;
  border-color: rgb(88 101 242 / 45%);
  background: linear-gradient(180deg, #5865f2, #4450d6);
}

.site-header-inner .btn-discord:hover,
.site-header-inner .btn-discord:focus {
  background: linear-gradient(180deg, #6873ff, #4f5bea);
}

@media (width <= 960px) {
  .site-header-inner .user-actions {
    max-width: calc(100% - 58px);
    gap: 8px;
  }

  .site-header-inner .btn-discord {
    display: none;
  }
}
