@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;
}
@media (width <= 960px) {
  .site-header-inner .site-title img {
    max-height: 160px;
  }
}

@media (width > 960px) {
  .site-header-inner .site-title img {
    max-height: 280px;
  }
}

/* Sidebar widgets */
.widget {
  background: #0f0a1a;
  border: 1px solid rgba(201, 163, 250, 0.1);
  border-radius: 12px;
  padding: 20px;
}

.widget + .widget {
  margin-top: 12px;
}

.widget-title {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #c9a3fa;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(201, 163, 250, 0.08);
}

.widget-top-donator .avatar {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  margin: 0 auto 10px;
  display: block;
}

.widget-top-donator .username {
  font-size: 14px;
  font-weight: 600;
  color: #ede8f5;
  text-align: center;
  margin-bottom: 6px;
}

.widget-top-donator p {
  font-size: 13px;
  color: #8a7aa0;
  text-align: center;
}

.widget-recent .purchase {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

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

.widget-recent .avatar {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  flex-shrink: 0;
}

.widget-recent .username {
  font-size: 13px;
  font-weight: 600;
  color: #ede8f5;
}

.widget-recent .info p {
  font-size: 12px;
  color: #8a7aa0;
  margin-top: 2px;
}

.widget-recent time {
  font-size: 11px;
  color: #5a4a6a;
  display: block;
  margin-top: 2px;
}

.widget-recent .empty,
.widget-top-donator .empty {
  font-size: 13px;
  color: #5a4a6a;
  text-align: center;
}

.navigation-vertical .menu {
  font-size: 14px;
}

.navigation-vertical a {
  padding: 8px 10px !important;
  border-radius: 6px;
  transition: background 0.15s ease, color 0.15s ease !important;
}

.navigation-vertical a:hover,
.navigation-vertical a.link-active {
  background: rgba(201, 163, 250, 0.07);
  color: #c9a3fa !important;
}
/* ── Package page ── */
.store-product-full {
  background: #0f0a1a;
  border: 1px solid rgba(201, 163, 250, 0.12);
  border-radius: 16px;
  padding: 40px;
}

.store-product-full .product-title {
  font-size: 32px;
  font-weight: 700;
  color: #ede8f5;
  margin-bottom: 24px;
}

.store-product-full .image-default {
  background: rgba(201, 163, 250, 0.05);
  border: 1px solid rgba(201, 163, 250, 0.1);
  border-radius: 12px;
}

.store-product-full .descr {
  color: #ccc3de;
  line-height: 1.75;
  font-size: 15px;
  border-top: 1px solid rgba(201, 163, 250, 0.08);
  padding-top: 24px;
  margin-top: 24px;
}

.store-product-full .descr ul {
  margin-left: 1.2em;
  margin-bottom: 16px;
}

.store-product-full .descr li {
  display: list-item;
  margin-bottom: 8px;
  color: #ccc3de;
}

.store-product-full .descr strong {
  color: #c9a3fa;
}

.store-product-full .descr em {
  color: #8a7aa0;
}

.store-product-full .actions {
  background: rgba(15, 10, 26, 0.9);
  border-top: 1px solid rgba(201, 163, 250, 0.08);
  border-radius: 0 0 16px 16px;
  margin: 0 -40px -40px;
  padding: 20px 40px;
}

.store-product-full .price {
  font-size: 28px;
  font-weight: 700;
  color: #c9a3fa;
}