@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");
@import url("https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@700;900&display=swap");
:root {
  --color-primary: #9B5CFF;
  --bg-image: url("https://cdn.tebex.io/store/1800012/templates/300508/assets/f2164b4c9ecf03d5a674d7d4fdcc9b7e125aa16f.jpg");
}

body {
  font-family: Lato, sans-serif;
}
body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  min-height: 760px;
  z-index: -1;
  background: var(--bg-image) center 18%/cover no-repeat;
  mask-image: linear-gradient(rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.7) 58%, rgba(0, 0, 0, 0.1) 100%);
  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,
.widget-top-donator .top-customer-bust {
  border-radius: 6px;
}
.widget-top-donator .top-customer-bust-wrap {
  border-radius: 10px;
}

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

/* EternalSMP generic final overrides */
@media (width > 960px) {
  .store-text,
  .widget,
  .category-description,
  .store-products-list .store-product,
  .store-products-images .store-product,
  .store-product-full,
  .no-products,
  .store-category-tiered {
    border-radius: 12px;
    border: 1px solid rgb(190 148 255 / 0.22);
    background: linear-gradient(180deg, rgb(30 21 48 / 0.82), rgb(14 10 24 / 0.86));
    box-shadow: 0 24px 58px rgb(0 0 0 / 0.28), 0 1px 0 rgb(255 255 255 / 0.07) inset;
    backdrop-filter: blur(14px) saturate(130%);
  }

  .navigation-horizontal,
  .navigation-horizontal > ul,
  .navigation-horizontal .has-children > ul {
    border-radius: 12px;
  }

  .navigation-horizontal > ul > li > a {
    border-radius: 8px;
  }

  .widget-top-donator .top-customer-bust-wrap {
    border-radius: 14px;
  }

  .widget-top-donator .avatar,
  .widget-top-donator .top-customer-bust {
    border-radius: 8px;
  }
}


/* EternalSMP PC alignment and product grouping */
@media (width > 960px) {
  .site-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 28px;
    line-height: 1;
  }

  .site-title > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-logo-wordmark {
    display: block;
    font-family: "Cinzel Decorative", Georgia, serif;
    font-size: 34px;
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1;
    color: #C6A4FF;
    background: linear-gradient(180deg, #F2E8FF 0%, #C9A7FF 42%, #8E55FF 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 22px rgb(155 92 255 / 0.55), 0 10px 34px rgb(0 0 0 / 0.5);
  }

  body.page-no-sidebar .site-content.site-content-no-sidebar {
    width: calc(100% - 96px);
    max-width: 1280px;
    margin-inline: auto;
    padding-inline: 0;
  }

  body.page-no-sidebar .site-content-no-sidebar > .store-text {
    width: 100%;
    max-width: none;
    margin-inline: 0;
    box-sizing: border-box;
    padding: 52px 60px;
  }

  .store-products.store-products-list {
    box-sizing: border-box;
    padding: 14px;
    border-radius: 14px;
    border: 1px solid rgb(190 148 255 / 0.24);
    background: linear-gradient(180deg, rgb(32 22 52 / 0.86), rgb(13 9 23 / 0.9));
    box-shadow: 0 28px 70px rgb(0 0 0 / 0.32), 0 1px 0 rgb(255 255 255 / 0.08) inset;
    backdrop-filter: blur(16px) saturate(135%);
    overflow: hidden;
  }

  .store-products-list .store-product {
    margin: 0;
    border: 0;
    border-radius: 0;
    border-bottom: 1px solid rgb(190 148 255 / 0.16);
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    transition: background-color 160ms ease, transform 160ms ease;
  }

  .store-products-list .store-product:first-child {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
  }

  .store-products-list .store-product:last-child {
    border-bottom: 0;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
  }

  .store-products-list .store-product:hover {
    background: rgb(155 92 255 / 0.09);
    transform: translateY(-1px);
  }
  main.store-products > .store-products-list {
    box-sizing: border-box;
    padding: 14px;
    border-radius: 14px;
    border: 1px solid rgb(190 148 255 / 0.24);
    background: linear-gradient(180deg, rgb(32 22 52 / 0.86), rgb(13 9 23 / 0.9));
    box-shadow: 0 28px 70px rgb(0 0 0 / 0.32), 0 1px 0 rgb(255 255 255 / 0.08) inset;
    backdrop-filter: blur(16px) saturate(135%);
    overflow: hidden;
  }

}
