﻿/* =========================================
   1. STORE LAYOUT & BREADCRUMB
   ========================================= */
.store-body {
    background-color: #0f1113;
    color: #e0e0e0;
    font-family: 'Rajdhani', sans-serif;
}

.breadcrumb {
    padding: 18px 0;
    background: #151515;
    border-bottom: 1px solid #222;
    margin-bottom: 30px;
}

    .breadcrumb .container {
        max-width: 1400px;
        margin: 0 auto;
        padding: 0 20px;
    }

    .breadcrumb a {
        text-decoration: none;
        color: #b3b3b3;
    }

    .breadcrumb .current {
        color: #00cec9;
        font-weight: 600;
        margin-left: 5px;
    }

    .breadcrumb i {
        font-size: 0.8rem;
        margin: 0 10px;
        color: #555;
    }

.store-container {
    display: flex;
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px 50px;
    align-items: flex-start;
}

/* =========================================
   2. SIDEBAR (BỘ LỌC)
   ========================================= */
.sidebar {
    width: 280px;
    flex-shrink: 0;
}

.filter-group {
    background: #1e1e1e;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #333;
}

    .filter-group h3 {
        font-size: 1.1rem;
        margin: 0 0 15px 0;
        color: #fff;
        border-bottom: 1px solid #333;
        padding-bottom: 10px;
        display: flex;
        align-items: center;
        gap: 8px;
    }

.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .category-list li {
        margin-bottom: 10px;
    }

    .category-list label {
        display: flex;
        align-items: center;
        cursor: pointer;
        color: #b3b3b3;
        transition: 0.2s;
    }

        .category-list label:hover {
            color: #00cec9;
        }

    .category-list input {
        margin-right: 10px;
        accent-color: #6c5ce7;
    }

/* =========================================
   3. MAIN CONTENT (LƯỚI SẢN PHẨM)
   ========================================= */
.product-content {
    flex: 1;
}

/* Sort Bar */
.sort-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #1e1e1e;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #333;
    margin-bottom: 25px;
}

.sort-select {
    background: #0f1113;
    color: #fff;
    border: 1px solid #333;
    padding: 8px 15px;
    border-radius: 5px;
    outline: none;
}

/* Grid System */
.gear-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
}

/* Product Card */
.gear-card {
    background: #1e1e1e;
    border: 1px solid #333;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
}

    .gear-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(108, 92, 231, 0.2);
        border-color: #6c5ce7;
    }

    .gear-card a {
        text-decoration: none;
        color: inherit;
    }

.gear-image {
    width: 100%;
    height: 200px;
    object-fit: contain;
    background: #fff; /* Nền trắng để ảnh nổi bật */
    padding: 20px;
    border-bottom: 1px solid #333;
}

.gear-info {
    padding: 15px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.gear-title {
    font-size: 1rem;
    margin: 0 0 10px 0;
    line-height: 1.4;
    color: #fff;
}

    .gear-title:hover {
        color: #00cec9;
    }

.gear-tags {
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 15px;
}

.gear-footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price {
    color: #00cec9;
    font-weight: bold;
    font-size: 1.1rem;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.page-btn {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #333;
    border-radius: 5px;
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
}

    .page-btn:hover, .page-btn.active {
        background: #6c5ce7;
        border-color: #6c5ce7;
    }

/* Responsive */
@media (max-width: 900px) {
    .store-container {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
    }
}
