@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Rajdhani:wght@500;600;700&display=swap");

.store-text,
.category-description,
.widget,
.store-category-tiered,
.store-product-full,
.popup-content,
.store-quote {
  position: relative;
  overflow: hidden;
}

.store-text::before,
.category-description::before,
.widget::before,
.store-category-tiered::before,
.store-product-full::before,
.popup-content::before,
.store-quote::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.07), transparent 36%),
    linear-gradient(180deg, rgba(185, 25, 32, 0.08), transparent 30%);
  opacity: 0.75;
}

.store-text > *,
.category-description > *,
.widget > *,
.store-category-tiered > *,
.store-product-full > *,
.popup-content > *,
.store-quote > * {
  position: relative;
  z-index: 1;
}

.widget-title,
.store-product .product-title,
.basket-title,
.footer-brand strong,
.proof-item strong {
  text-shadow: 0 0 20px rgba(185, 25, 32, 0.18);
}

.store-product {
  isolation: isolate;
}

.store-product::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background:
    linear-gradient(135deg, rgba(212, 43, 52, 0.1), transparent 40%),
    linear-gradient(315deg, rgba(255, 255, 255, 0.05), transparent 32%);
  pointer-events: none;
}

.site-home-categories .category span {
  line-height: 1.05;
}

.store-products-list .store-product {
  flex-direction: column;
}

@media (width > 760px) {
  .store-products-list .store-product {
    display: grid;
    grid-template-columns: 148px minmax(0, 1fr);
    align-items: center;
  }

  .store-products-list .store-product .image-link {
    min-height: 148px;
  }

  .store-products-list .store-product .product-title,
  .store-products-list .store-product .actions {
    grid-column: 2;
  }
}

.navigation-vertical.widget {
  padding: 14px;
}

.navigation-vertical .menu {
  display: grid;
  gap: 6px;
}

.navigation-vertical a {
  display: block;
  padding: 12px 14px;
  border-radius: 12px;
  color: var(--color-text-darker);
  transition: color 0.18s ease, background-color 0.18s ease;
}

.navigation-vertical a:hover,
.navigation-vertical a.link-active {
  color: #fff;
  background: rgba(185, 25, 32, 0.22);
}

.navigation-vertical .has-children {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 6px;
}

.navigation-vertical .has-children > ul {
  grid-column: 1 / -1;
  padding-left: 10px;
}

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

.navigation-vertical .toggle {
  --btn-size: 38px;
  --btn-icon-size: 18px;
  --btn-icon: url("https://template-assets.tebex.io/images/chevron.svg");
}

.widget-recent .username,
.widget-top-donator .username {
  font-family: "Rajdhani", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  text-transform: uppercase;
}

.widget-server-status h6 {
  margin-bottom: 10px;
  color: #fff;
  font-family: "Rajdhani", sans-serif;
  font-size: 1.18rem;
  text-transform: uppercase;
}

.alert {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 12px;
}

.alert-danger {
  color: #ffd9dc;
  background: rgba(185, 25, 32, 0.18);
}

.alert-warning {
  color: #ffefcb;
  background: rgba(196, 143, 29, 0.2);
}

.media-slider .slider::part(container),
.popup.popup-media-slider .slider::part(container) {
  --swiper-navigation-color: #fff;
  --swiper-theme-color: #fff;
}

.popup.popup-media-slider .popup-close {
  z-index: 2;
}
/* KMS category storefront polish */
.page-category .category-content {
  display: block;
}

.page-category .category-products {
  width: 100%;
}

.category-hero-panel {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 24px;
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(185, 25, 32, 0.22), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    rgba(14, 12, 15, 0.94);
  box-shadow: var(--shadow-soft);
}

.category-kicker {
  margin-bottom: 8px;
  color: var(--color-primary-hover);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.category-hero-panel h2 {
  font-family: "Rajdhani", sans-serif;
  font-size: clamp(2.25rem, 5vw, 4.6rem);
  font-weight: 800;
  line-height: 0.92;
  text-transform: uppercase;
}

.category-subtitle,
.category-description-clean {
  max-width: 760px;
  margin-top: 14px;
  color: var(--color-text-secondary);
}

.category-count {
  flex: 0 0 auto;
  padding: 11px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.page-category .store-products-grid,
.page-category .store-products-images,
.page-category .store-products-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 286px), 1fr));
  gap: 22px;
}

.page-category .script-product-card {
  min-height: 100%;
  padding: 16px;
  gap: 14px;
  border-color: rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025)),
    rgba(13, 12, 15, 0.98);
}

.page-category .script-product-card .image-link {
  min-height: 0;
  aspect-ratio: 16 / 10;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at 50% 18%, rgba(185, 25, 32, 0.22), transparent 42%),
    rgba(255, 255, 255, 0.035);
}

.page-category .script-product-card .image {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
}

.page-category .script-product-card .image-default {
  width: 104px;
}

.product-card-body {
  display: grid;
  gap: 7px;
}

.product-tag {
  color: var(--color-primary-hover);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.page-category .store-product .product-title {
  min-height: 2.7em;
  font-size: 1.35rem;
  line-height: 1.05;
}

.page-category .store-product .actions {
  align-items: center;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.page-category .store-product .price {
  margin-bottom: 2px;
}

.page-category .store-product .price strong {
  font-size: 1.65rem;
}

.page-category .store-product .wide,
.page-category .store-product .half {
  flex-basis: 100%;
}

@media (width <= 760px) {
  .category-hero-panel {
    align-items: flex-start;
    flex-direction: column;
  }

  .category-count {
    align-self: flex-start;
  }
}
/* KMS package detail polish */
.page-package .package-content {
  display: block;
}

.page-package .package-product {
  display: grid;
  gap: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.page-package .package-product::before {
  content: none;
}

.package-hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 24px;
  align-items: stretch;
}

.package-media-panel,
.package-summary-panel,
.package-description-panel {
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025)),
    rgba(13, 12, 15, 0.96);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.package-media-panel {
  display: grid;
  place-items: center;
  min-height: 420px;
  padding: clamp(14px, 2vw, 22px);
  background:
    radial-gradient(circle at 50% 18%, rgba(185, 25, 32, 0.2), transparent 42%),
    rgba(12, 11, 14, 0.98);
}

.page-package .store-product-full .image,
.page-package .media-slider {
  width: 100%;
  max-height: none;
}

.page-package .package-media-panel > .image {
  height: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.package-summary-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  padding: clamp(24px, 3.5vw, 42px);
}

.package-kicker,
.package-section-heading p {
  color: var(--color-primary-hover);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.page-package .store-product-full .product-title {
  font-size: clamp(2.25rem, 4vw, 4.5rem);
  line-height: 0.92;
}

.package-summary-copy {
  max-width: 560px;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

.page-package .store-product-full .actions {
  position: static;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 8px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.045);
  backdrop-filter: none;
}

.page-package .store-product-full .price {
  margin: 0;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.page-package .store-product-full .price strong {
  font-size: 2.2rem;
}

.page-package .store-product-full .wide,
.page-package .store-product-full .half {
  flex-basis: 100%;
  width: 100%;
}

.package-description-panel {
  padding: clamp(24px, 4vw, 44px);
}

.package-section-heading {
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.package-section-heading h3 {
  margin-top: 4px;
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 1;
}

.page-package .package-description-panel .descr {
  max-width: 980px;
  color: var(--color-text-darker);
  font-size: 1.02rem;
}

.page-package .text-content h1,
.page-package .text-content h2,
.page-package .text-content h3,
.page-package .text-content h4 {
  margin-top: 26px;
  color: #fff;
  line-height: 1.05;
}

.page-package .text-content h1:first-child,
.page-package .text-content h2:first-child,
.page-package .text-content h3:first-child,
.page-package .text-content h4:first-child {
  margin-top: 0;
}

.page-package .text-content p {
  color: var(--color-text-darker);
}

.page-package .text-content ul,
.page-package .text-content ol {
  display: grid;
  gap: 8px;
  margin: 16px 0 20px;
  padding: 0;
  list-style: none;
}

.page-package .text-content li {
  position: relative;
  margin: 0;
  padding: 12px 14px 12px 38px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.035);
}

.page-package .text-content li::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 1.15em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--color-primary-strong);
  box-shadow: 0 0 18px rgba(185, 25, 32, 0.45);
}

@media (width <= 980px) {
  .package-hero-panel {
    grid-template-columns: 1fr;
  }

  .package-media-panel {
    min-height: 300px;
  }
}
/* KMS CMS/About page polish */
.page-cms .cms-content {
  display: block;
}

.cms-page-shell {
  display: grid;
  gap: 24px;
}

.cms-hero-panel,
.cms-body-panel,
.cms-value-card {
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025)),
    rgba(13, 12, 15, 0.96);
  box-shadow: var(--shadow-soft);
}

.cms-hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: clamp(28px, 5vw, 58px);
  background:
    radial-gradient(circle at 82% 18%, rgba(185, 25, 32, 0.24), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(13, 12, 15, 0.96);
  overflow: hidden;
}

.cms-kicker,
.cms-section-heading p,
.cms-value-card span {
  color: var(--color-primary-hover);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.cms-hero-panel h2 {
  margin-top: 8px;
  font-family: "Rajdhani", sans-serif;
  font-size: clamp(2.6rem, 7vw, 6.2rem);
  font-weight: 800;
  line-height: 0.88;
  text-transform: uppercase;
}

.cms-lead {
  max-width: 700px;
  margin-top: 16px;
  color: var(--color-text-secondary);
  font-size: clamp(1rem, 1.5vw, 1.16rem);
  line-height: 1.7;
}

.cms-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.cms-hero-badge {
  display: grid;
  place-items: center;
  width: clamp(150px, 18vw, 230px);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(185, 25, 32, 0.34), transparent 64%),
    rgba(255, 255, 255, 0.045);
  text-align: center;
}

.cms-hero-badge strong {
  display: block;
  font-family: "Rajdhani", sans-serif;
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  font-weight: 800;
  line-height: 0.9;
}

.cms-hero-badge span {
  color: var(--color-text-secondary);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.cms-value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.cms-value-card {
  padding: 24px;
}

.cms-value-card h3 {
  margin-top: 18px;
  font-size: 1.45rem;
  line-height: 1;
}

.cms-value-card p {
  margin-top: 10px;
  color: var(--color-text-secondary);
  line-height: 1.65;
}

.cms-body-panel {
  padding: clamp(24px, 4vw, 44px);
}

.cms-section-heading {
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.cms-section-heading h3 {
  margin-top: 4px;
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 1;
}

.cms-body {
  max-width: 980px;
  color: var(--color-text-darker);
  font-size: 1.02rem;
}

.page-cms .text-content h1,
.page-cms .text-content h2,
.page-cms .text-content h3,
.page-cms .text-content h4 {
  margin-top: 26px;
  color: #fff;
  line-height: 1.05;
}

.page-cms .text-content h1:first-child,
.page-cms .text-content h2:first-child,
.page-cms .text-content h3:first-child,
.page-cms .text-content h4:first-child {
  margin-top: 0;
}

.page-cms .text-content p {
  color: var(--color-text-darker);
}

.page-cms .text-content ul,
.page-cms .text-content ol {
  display: grid;
  gap: 8px;
  margin: 16px 0 20px;
  padding: 0;
  list-style: none;
}

.page-cms .text-content li {
  position: relative;
  margin: 0;
  padding: 12px 14px 12px 38px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.035);
}

.page-cms .text-content li::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 1.15em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--color-primary-strong);
  box-shadow: 0 0 18px rgba(185, 25, 32, 0.45);
}

@media (width <= 900px) {
  .cms-hero-panel,
  .cms-value-grid {
    grid-template-columns: 1fr;
  }

  .cms-hero-badge {
    width: 150px;
  }
}