.generic-check { display: none; }

@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: #ff97bb;
  --bg-image: url("https://webstore-template-assets.tebex.io/images/page-bg.jpg");
}

body {
  font-family: Poppins, 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.25) 50%, rgba(0, 0, 0, 0));
  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: 8px;
}

.site-header-inner .info .image {
  border-radius: 5px;
}
.site-header-inner .user-name ul li {
  overflow: hidden;
}
.site-header-inner .user-name ul li:first-child {
  border-top-left-radius: 2px;
  border-top-right-radius: 2px;
}
.site-header-inner .user-name ul li:last-child {
  border-bottom-left-radius: 2px;
  border-bottom-right-radius: 2px;
}

.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 h1,
.store-text h2,
.store-text h3,
.store-text h4,
.store-text h5,
.store-text h6 {
  text-align: left;
  color: #ffffff;
}

.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 .quantity-field {
    align-items: center;
    padding-left: 4px;
    padding-right: 4px;
  border-radius: 8px;
  background: #1e4f76;
}
.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;
}
@media (width <= 960px) {
  .widget.site-navigation {
    border-radius: 0;
    background: transparent;
  }
}

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

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

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

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

.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 .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);
}
/* =========================
   REALM SELECTOR
   ========================= */

.realm-selector {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.realm-selector.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.realm-selector-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.realm-selector-popup {
    position: relative;
    z-index: 1;

    width: 100%;
    max-width: 520px;
    padding: 30px;

    background: var(--color-bg);
    border-radius: 5px;

    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.45);

    transform: translateY(15px) scale(0.97);
    transition: transform 0.2s ease;
}

.realm-selector.active .realm-selector-popup {
    transform: translateY(0) scale(1);
}

.realm-selector-close {
    position: absolute;
    top: 12px;
    right: 12px;

    width: 36px;
    height: 36px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 0;
    border-radius: 5px;

    background: var(--color-brighter-bg);
    color: inherit;

    cursor: pointer;
    transition: 0.15s ease;
}

.realm-selector-close:hover {
    color: var(--color-primary);
}

.realm-selector-header {
    text-align: center;
    margin-bottom: 25px;
}

.realm-selector-header h2 {
    margin: 0 0 7px;
    font-size: 26px;
}

.realm-selector-header p {
    margin: 0;
    opacity: 0.7;
    font-size: 14px;
}

.realm-selector-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.realm-option {
    display: flex;
    align-items: center;
    gap: 15px;

    padding: 18px;

    background: var(--color-brighter-bg);
    border: 1px solid transparent;
    border-radius: 5px;

    color: inherit;
    text-decoration: none;

    transition: 0.15s ease;
}

.realm-option:hover {
    border-color: var(--color-primary);
    transform: translateY(-2px);
}

.realm-option-icon {
    width: 48px;
    height: 48px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 5px;

    background: var(--color-primary);
    color: #fff;

    font-size: 20px;
}

.realm-option-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.realm-option-name {
    font-size: 17px;
    font-weight: 700;
}

.realm-option-description {
    margin-top: 2px;
    font-size: 13px;
    opacity: 0.65;
}

.realm-option-arrow {
    opacity: 0.5;
    transition: 0.15s ease;
}

.realm-option:hover .realm-option-arrow {
    opacity: 1;
    color: var(--color-primary);
    transform: translateX(3px);
}

@media (max-width: 600px) {
    .realm-selector-popup {
        padding: 25px 18px;
    }
}