/* ========== PRODUCTS PAGE STYLE ========== */
.products-page {
    padding: 100px 0 3rem;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.section-title p {
    color: #aaa;
    font-size: 1rem;
}

.highlight {
    color: #ff4444;
}

/* ========== CATEGORY FILTER ========== */
.category-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: #1a1a2e;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.6rem 1.5rem;
    border-radius: 30px;
    color: white;
    cursor: pointer;
    transition: 0.3s;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
}

.filter-btn:hover,
.filter-btn.active {
    background: #ff4444;
    border-color: #ff4444;
}

/* ========== SEARCH BAR ========== */
.search-bar {
    max-width: 400px;
    margin: 0 auto 2rem;
}

.search-bar input {
    width: 100%;
    padding: 0.8rem 1.2rem;
    background: #1a1a2e;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: white;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
}

.search-bar input:focus {
    outline: none;
    border-color: #ff4444;
}

/* ========== PRODUCT COUNT ========== */
.product-count {
    text-align: center;
    color: #aaa;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
}

/* ========== PRODUCTS GRID ========== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1.5rem;
}

.product-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: #ff4444;
    box-shadow: 0 10px 30px rgba(255, 68, 68, 0.1);
}

.product-icon {
    text-align: center;
    margin-bottom: 1rem;
}

.product-icon i {
    font-size: 3rem;
    color: #ff4444;
}

.product-card h3 {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.platform {
    text-align: center;
    color: #aaa;
    font-size: 0.8rem;
    margin-bottom: 1rem;
}

/* ========== PRICE OPTIONS ========== */
.price-options {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    padding: 1rem;
    margin: 1rem 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
}

.price-tag {
    background: rgba(255, 68, 68, 0.15);
    padding: 6px 12px;
    border-radius: 25px;
    font-size: 0.75rem;
    transition: 0.3s;
}

.price-tag:hover {
    background: rgba(255, 68, 68, 0.3);
    transform: scale(1.02);
}

.price-tag strong {
    color: #ff4444;
    font-size: 0.85rem;
}

/* ========== PRICE DISPLAY ========== */
.price {
    text-align: center;
    font-size: 1.3rem;
    font-weight: 700;
    color: #ff4444;
    margin: 1rem 0;
}

/* ========== BUY BUTTON ========== */
.buy-btn {
    width: 100%;
    padding: 0.9rem;
    background: linear-gradient(135deg, #25D366, #128C7E);
    border: none;
    border-radius: 12px;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Poppins', sans-serif;
}

.buy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.3);
}

/* ========== LOADING & EMPTY ========== */
.loading {
    text-align: center;
    padding: 3rem;
    color: #aaa;
}

.loading i {
    margin-right: 8px;
}

.empty-state {
    text-align: center;
    padding: 3rem;
}

.empty-state i {
    font-size: 3rem;
    color: #aaa;
    margin-bottom: 1rem;
}

.empty-state h3 {
    color: #aaa;
    font-size: 1.2rem;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .products-page {
        padding: 80px 0 2rem;
    }
    .section-title h1 {
        font-size: 1.8rem;
    }
    .products-grid {
        grid-template-columns: 1fr;
    }
    .category-filter {
        gap: 0.5rem;
    }
    .filter-btn {
        padding: 0.4rem 1rem;
        font-size: 0.8rem;
    }
    .price-options {
        gap: 0.4rem;
    }
    .price-tag {
        padding: 4px 10px;
        font-size: 0.7rem;
    }
}
