@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-text: #f6f6f6;
  --color-text-darker: #e5e5e5;
  --color-text-secondary: #ccc;
  --color-text-dark: #1c242e;
  --color-bg: #1c242e;
  --color-brighter-bg: #25303b;
  --color-primary: #00f8b9;
  --color-primary-hover: #1c242e;
  --color-primary-text: #1c242e;
  --color-primary-text-hover: #f6f6f6;
  --color-secondary: #ccc;
  --color-secondary-hover: #e5e5e5;
  --color-secondary-text: #1c242e;
  --color-secondary-text-hover: #1c242e;
  --color-tertiary: transparent;
  --color-tertiary-hover: rgba(246, 246, 246, 0.15);
  --color-tertiary-text: #f6f6f6;
  --color-tertiary-text-hover: #f6f6f6;
  --color-removed: #c12e2e;
  --color-sale-banner-bg: #25303b;
  --color-sale-banner-text: #f6f6f6;
  --tebex-footer-height: 35px;
  --widget-padding: 24px;
  --content-padding: var(--widget-padding);
  --content-inner-width: 1280px;
  --content-width: calc(
    (var(--content-padding) * 2) + var(--content-inner-width)
  );
  --sidebar-width: 287px;
  --tebex-legal-footer-max-width: min(
    var(--content-inner-width),
    calc(100vw - (var(--content-padding) * 2))
  );
  --tebex-legal-footer-background-color: var(--color-brighter-bg);
  --tebex-legal-footer-border-color: var(--color-brighter-bg);
  --tebex-legal-footer-text-color: var(--color-text-secondary);
  --bg-image: url("https://i.ibb.co/J6W4RYg/pattern.jpg");
}

body {
  font-family: Lato, sans-serif;
  color: var(--color-text-primary);
}

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;
  filter: blur(4px) brightness(0.6);
  pointer-events: none;
}

.btn-primary,
.btn-secondary,
.btn-tertiary {
  border-radius: 5px;
  background-color: rgba(0, 248, 185, 0.85); /* colore primario con opacità */
  color: var(--color-primary-text);
  font-weight: 600;
  transition: all 0.25s ease-in-out;
  border: none;
  cursor: pointer;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-secondary:hover,
.btn-secondary:focus,
.btn-tertiary:hover,
.btn-tertiary:focus {
  background-color: var(--color-primary-hover);
  color: var(--color-primary-text-hover);
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 12px rgba(0, 248, 185, 0.4), 0 0 10px rgba(0, 248, 185, 0.6);
}

.btn-primary:active,
.btn-secondary:active,
.btn-tertiary:active {
  transform: translateY(0) scale(0.97);
  box-shadow: 0 2px 6px rgba(0, 248, 185, 0.3);
}

.quantity-field,
.site-sale-banner,
.store-product-full,
.store-products-list .store-product,
.store-products-images .store-product,
.category-description,
.store-text,
.widget,
.popup-content,
.basket-item,
.store-category-tiered,
.store-product-tiered {
  border-radius: 5px;
  background-color: var(--color-brighter-bg);
  color: var(--color-text);
}

.store-text h1,
.store-text h2,
.store-text h3,
.store-text h4,
.store-text h5,
.store-text h6,
.widget-title,
.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;
  color: var(--color-text);
}

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

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

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

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

.toast {
  border-radius: 6px;
}

.toast-close,
.widget-gift-card .gift-card-input,
.basket-item .quantity {
  border-radius: 2px;
}

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

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

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

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