@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');
:root {
  --color-primary: #bfa76f;
  --bg-image: url("https://webstore-template-assets.tebex.io/images/page-bg.jpg");
}

body {
  font-family: 'Roboto', sans-serif;
}
body::before {
  content: "";
  position: fixed; /*absolute*/
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: -1;
  background: 
    linear-gradient(rgba(18, 18, 18, 0.9), rgba(18, 18, 18, 0.9)),
    var(--bg-image) center top / cover no-repeat;
  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-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 {
  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;
}

/* Animación dorada al pasar mouse*/
@keyframes goldenShine {
  0% {
    background-position: -200%;
  }
  100% {
    background-position: 200%;
  }
}

.navigation-horizontal a {
  color: #ccc;
  position: relative;
  display: inline-block;
  background: none;
  transition: color 0.3s ease-in-out;
}

.navigation-horizontal a:hover {
  background: linear-gradient(
    120deg,
    #bfa76f 0%,
    #fff8dc 50%,
    #bfa76f 100%
  );
  background-size: 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: goldenShine 1s linear infinite;
}

/* Animación Logo */
@keyframes floatAndGlow {
  0% {
    transform: translateY(0);
    filter: drop-shadow(0 0 4px #bfa76f);
  }
  50% {
    transform: translateY(-10px);
    filter: drop-shadow(0 0 10px #ffdc73);
  }
  100% {
    transform: translateY(0);
    filter: drop-shadow(0 0 4px #bfa76f);
  }
}

.site-title img {
  animation: floatAndGlow 3s ease-in-out infinite;
}


.store-product-tiered {
  border-radius: 5px;
  background: rgb(from var(--color-bg) r g b/0.5);
}

/* Color widgets/modulos */
:root {
  --module-bg: #1a1a1a;
}

.widget,
.site-home-categories .category,
.widget-top-donator,
.widget-recent-payments,
.widget-community-goal,
.store-text.text-content{
  background: var(--module-bg);
}

/* Disptribución packs*/

/* Estilo general del paquete */
.store-product.custom-style {
  background-color: #1e1e1e;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 35px;
  width: 300px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  position: relative; /* Necesario para el brillo */
  overflow: hidden;   /* Para que no se salga el brillo */
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  will-change: transform;
}

/* Pseudo-elemento para el brillo */
.store-product.custom-style::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 30%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.12) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  animation: shimmer 3s infinite;
  pointer-events: none;
  z-index: 2;
}

/* Animación del brillo */
@keyframes shimmer {
  0% {
    left: -110%;
  }
  50% {
    left: 140%;
  }
  100% {
    left: 140%;
  }
}

/* Efecto de hover en todo el bloque */
.store-product.custom-style:hover {
  transform: scale(1.05) translateY(-5px);
  box-shadow: 0 15px 30px rgba(255, 215, 0, 0.25); /* sombra dorada suave */
  
  /* Fondo más blanquecino */
  background-color: #2a2a2a; /* más claro que #1e1e1e */
}

/* Imagen del producto */
.store-product.custom-style .product-image {
  width: 225px;
  height: 225px;
  object-fit: contain;
}

/* Título del producto */
.store-product.custom-style .product-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffea7d; /* dorado suave */
  letter-spacing: 1px;
  margin: 0;
  text-shadow: 0 0 5px rgba(255, 215, 0, 0.2); /* efecto glow sutil */
  text-transform: uppercase;
}

/* PRECIO DEL PRODUCTO */
.store-product.custom-style .product-price {
  font-size: 1.1rem;
  font-weight: 500;
  color: #ffffff;
  margin: 5px 0 10px;
  background: linear-gradient(to right, #ffd700, #ffffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.1);
}

/* Alinear botones en columna dentro de package-actions y centrarlos */
.store-product.custom-style .actions {
  display: flex;
  flex-direction: column;
  align-items: center; /* ← centra los botones horizontalmente */
  gap: 8px;
  width: 100%;
}


.store-products-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px; /* Espacio entre elementos */
  justify-content: flex-start;
}

/* Pop-up */
.package-popup {
  display: flex;
  gap: 2rem; /* espacio entre columnas */
  flex-wrap: wrap; /* para que se apilen en pantallas pequeñas */
}

.popup-left {
  flex: 1;
  min-width: 300px;
}

.popup-right {
  flex: 1;
  min-width: 300px;
}


.menu.navigation-list {
  background-color: var(--module-bg);
}
