/* 🎮 Подключаем шрифты */
@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap'); /* Minecraft */

/* Если ScholWaverly-Regular нет в Google Fonts, подключаем свой файл */
@font-face {
  font-family: "ScholWaverly";
  src: url("https://yourcdn.com/fonts/ScholWaverly-Regular.woff2") format("woff2"),
       url("https://yourcdn.com/fonts/ScholWaverly-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
}

/* 🌍 Основные тексты магазина (Minecraft стиль) */
.product-name, 
.product-title, 
.item-title, 
.product-card__title,
.product-price, 
.price, 
.item-price, 
.product-card__price,
.product-discount, 
.discount, 
.sale, 
.product-card__discount,
.product-description, 
.description, 
.product-card__description,
.server-name, 
.server-title, 
.header-server-name {
  font-family: 'Press Start 2P', monospace !important;
}

/* 🟠 Название магазина — ScholWaverly, small caps и оранжевый */
.shop-name,
.shop-name * {
  font-family: 'ScholWaverly', sans-serif !important;
  color: #FFAD38 !important;
  text-align: left;
  font-variant: small-caps;
  font-size: 40px !important;
  font-weight: 400;
}

/* 📜 Описание магазина — ScholWaverly */
.shop-description,
.shop-description * {
  font-family: 'ScholWaverly', sans-serif !important;
  text-align: left;
  color: #cfcfcf !important;
  font-size: 30px !important;
  font-weight: 400;
}

/* 💸 Белый процент скидки */
.product-discount .percent,
.discount .percent,
.sale .percent,
.product-card__discount .percent {
  color: #ffffff !important;
}

/* ❌ Скрываем иконку в navbar/navclass */
.navclass .icon,
.navbar .icon {
  display: none !important;
}

/* 🎈 Эффект при наведении на карточку товара */
.product-card, 
.product-item, 
.item-card, 
.product-card__wrapper {
  transition: all 0.3s ease;
  border: 2px solid transparent;
  position: relative;
}

.product-card:hover, 
.product-item:hover, 
.item-card:hover, 
.product-card__wrapper:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px #FFAD38;
  border-color: #FFAD38;
  background: rgba(255, 173, 56, 0.1);
}

/* 🌈 Пульсирующее свечение */
@keyframes glowPulse {
  0% { box-shadow: 0 0 8px #FFAD38; }
  50% { box-shadow: 0 0 20px #FFAD38; }
  100% { box-shadow: 0 0 8px #FFAD38; }
}

.product-card:hover, 
.product-item:hover, 
.item-card:hover, 
.product-card__wrapper:hover {
  animation: glowPulse 1.2s infinite ease-in-out;
}

/* ✨ Эффект при наведении на категорию */
.category-btn,
.category-item,
.nav-item .nav-link {
  font-family: 'Press Start 2P', monospace !important;
  font-size: 12px !important;
  color: #000 !important;
  background: #1e1e1e !important;
  border: 2px solid transparent !important;
  border-radius: 8px !important;
  padding: 10px 20px !important;
  transition: all 0.3s ease !important;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

/* 💥 Эффект свечения и пульсации при наведении */
.category-btn:hover,
.category-item:hover,
.nav-item .nav-link:hover {
  background: #000 !important;
  color: #FFAD38 !important;
  transform: translateY(-3px);
  animation: glowPulse 1.3s infinite ease-in-out;
  box-shadow: 0 0 15px #FFAD38;
}

/* 💫 Блик при наведении (shine) */
.category-btn::after,
.category-item::after,
.nav-item .nav-link::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.5), transparent);
  transition: all 0.6s ease;
  z-index: 2;
}

.category-btn:hover::after,
.category-item:hover::after,
.nav-item .nav-link:hover::after {
  left: 100%;
}

/* 🟢 Активная категория */
.category-btn.active,
.category-item.active,
.nav-item .nav-link.active {
  background: #FFAD38 !important;
  color: #FFAD38 !important;
  border-color: #000 !important;
  box-shadow: 0 0 10px rgba(255, 173, 56, 0.8);
}
