/* ==========================================
   PIVNUSHKA 24/7 - GameStores CSS Adapter (v2.1)
   ========================================== */

/* 1. ИМПОРТ ШРИФТОВ */
@import url('https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');

/* 2. НАСТРОЙКИ ЦВЕТОВ (ЗОЛОТО + ТЬМА) */
:root {
    /* Основные цвета */
    --accent-color-800: #d4a017 !important;
    --accent-color-900: #b8860b !important;
    --accent-glow: rgba(212, 160, 23, 0.5) !important;

    /* Фоны */
    --bg-color-800: #0f0f0f !important;
    --bg-color-900: #050505 !important;
    --bg-color-700: #1a1a1a !important;

    /* Текст */
    --font-color-800: #e0e0e0 !important;
    --font-color-700: #ffffff !important;

    /* Шрифты */
    --default-font-family: 'Rubik', sans-serif !important;
}

body {
    font-family: 'Rubik', sans-serif !important;
    background-color: var(--bg-color-800) !important;
    background-image: none !important;
}

/* 3. ШАПКА, ЛОГОТИП, ЛЕЙАУТ */
.Header-module__wrapper,
.Shop-module__header {
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.Header-module__logo {
    color: var(--accent-color-800) !important;
    text-shadow: 0 0 10px rgba(212, 160, 23, 0.3);
}

.Banner-module__img,
.Widgets-module__wrapper {
    display: none !important;
}

.Index-module__wrapper,
.Shop-module__wrapper {
    width: 100% !important;
    max-width: 1400px !important;
    margin: 0 auto !important;
    display: block !important;
}

.Categories-module__categories {
    justify-content: center !important;
    margin-bottom: 20px !important;
}

/* 4. КАРТОЧКИ ТОВАРОВ */
.Product-module__wrapper {
    background: radial-gradient(circle at center, #222 0%, #151515 100%) !important;
    border: 1px solid rgba(212, 160, 23, 0.2) !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4) !important;
    border-radius: 12px !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    overflow: hidden !important;
}

.Product-module__wrapper:hover {
    transform: translateY(-8px) scale(1.02) !important;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.6), 0 0 15px rgba(212, 160, 23, 0.3) !important;
    border-color: var(--accent-color-800) !important;
}

.Product-module__img {
    transition: transform 0.4s ease !important;
    filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.4)) !important;
    transform: translateY(20px) !important;
    max-height: 180px !important;
    object-fit: contain !important;
    object-position: bottom center !important;
}

.Product-module__wrapper:hover .Product-module__img {
    transform: translateY(0px) scale(1.1) rotate(2deg) !important;
}

.Product-module__price,
.Product-module__discount {
    background: rgba(0, 0, 0, 0.8) !important;
    backdrop-filter: blur(4px);
    border: 1px solid var(--accent-color-800);
    color: var(--accent-color-800) !important;
    font-weight: bold;
    border-radius: 6px !important;
    padding: 4px 8px !important;
}

.Product-module__discount {
    background: var(--accent-color-800) !important;
    color: #000 !important;
}

/* 5. СТИЛИ ДЛЯ ИНЪЕЦИРОВАННОГО ОПИСАНИЯ */
.pv-injected-desc {
    margin-top: 20px;
    padding: 15px;
    background: #151515;
    border: 1px solid var(--accent-color-800);
    border-radius: 8px;
    color: #eee;
}

.kit-section h3 {
    color: var(--accent-color-800);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    margin-top: 0;
}

.kit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 10px;
    margin-bottom: 20px;
}

.kit-item {
    background: #222;
    padding: 8px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #333;
    font-size: 14px;
}

.kit-item-icon {
    color: var(--accent-color-800);
    min-width: 20px;
    text-align: center;
}

.kit-item-qty {
    color: #888;
    font-size: 0.9em;
    font-weight: bold;
}

/* UI */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #111;
}

::-webkit-scrollbar-thumb {
    background: #444;
    border-radius: 4px;
}