/* CYBERSHOP PREMIUM GAMING UI */
:root {
    --neon-cyan: #00f3ff;
    --neon-pink: #ff0055;
    --dark-bg: #05050a;
    --glass-bg: rgba(10, 10, 20, 0.85);
    --glass-border: rgba(0, 243, 255, 0.2);
    --text-primary: #ffffff;
    --text-dim: #a0a0a0;
    --glow-shadow: 0 0 15px rgba(0, 243, 255, 0.3);
}

* { box-sizing: border-box; }

body {
    margin: 0;
    padding: 0;
    background: linear-gradient(rgba(5, 5, 10, 0.92), rgba(5, 5, 10, 0.92)), 
                url('../../img/bg/admin-bg.jpg') no-repeat center center fixed;
    background-size: cover;
    color: var(--text-primary);
    font-family: 'Rajdhani', sans-serif;
    overflow-x: hidden;
}

/* Category Slider */
.category-container {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.cat-slider {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding: 0 20px;
    scrollbar-width: none;
}
.cat-slider::-webkit-scrollbar { display: none; }

.cat-item {
    padding: 10px 22px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-dim);
    text-decoration: none;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 1px;
    transition: 0.4s;
    white-space: nowrap;
}

.cat-item:hover, .cat-item.active {
    color: var(--neon-cyan);
    border-color: var(--neon-cyan);
    background: rgba(0, 243, 255, 0.08);
    box-shadow: var(--glow-shadow);
}

/* Filter & Search */
.filter-wrapper {
    max-width: 1200px;
    margin: 40px auto 20px;
    padding: 0 20px;
}

.search-form {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.search-box { flex: 2; min-width: 280px; }
.sort-box { flex: 1; min-width: 200px; }

.search-box input, .sort-box select {
    width: 100%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 15px 20px;
    color: white;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    border-radius: 4px;
    outline: none;
    transition: 0.3s;
}

.search-box input:focus {
    border-color: var(--neon-cyan);
    box-shadow: var(--glow-shadow);
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.product-card {
    background: var(--glass-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-decoration: none;
    color: inherit;
    transition: 0.5s cubic-bezier(0.2, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 2px;
    background: linear-gradient(90deg, transparent, var(--neon-cyan));
    transition: 0.5s;
}

.product-card:hover {
    transform: translateY(-10px);
    border-color: var(--neon-cyan);
    background: rgba(20, 20, 35, 0.95);
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
}

.product-card:hover::before { left: 0; }

.p-image {
    height: 240px;
    padding: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.2);
}

.p-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: 0.6s;
}

.product-card:hover .p-image img { transform: scale(1.1) rotate(2deg); }

.p-info { padding: 20px; flex-grow: 1; }

.p-category {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.65rem;
    color: var(--neon-pink);
    letter-spacing: 2px;
}

.p-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 10px 0;
    color: #fff;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 3.2rem;
}

.p-price {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.4rem;
    color: var(--neon-cyan);
    font-weight: 700;
}

.p-status {
    margin-top: 15px;
    font-size: 0.75rem;
    color: var(--text-dim);
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 10px;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 60px 0;
}

.page-link {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: white;
    text-decoration: none;
    font-family: 'Orbitron', sans-serif;
    transition: 0.3s;
}

.page-link.active, .page-link:hover {
    background: var(--neon-cyan);
    color: #000;
    box-shadow: var(--glow-shadow);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
    .p-image { height: 180px; }
    .p-name { font-size: 1rem; }
    .filter-wrapper { margin-top: 20px; }
}

@media (max-width: 480px) {
    .product-grid { grid-template-columns: 1fr; }
}