/* /louis-ecommerce/assets/css/shop-styles.css */

body {
    background-color: #e3f2fd !important;
}

.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 3rem 0;
    margin-bottom: 3rem;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: white;
}

.shop-container {
    padding: 2rem 0 4rem;
    background: #e3f2fd;
    min-height: 100vh;
}

.filters-sidebar {
    background: #e3f2fd;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 100px;
}

.filter-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.filter-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.filter-section h5 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.filter-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    cursor: pointer;
    border-radius: 8px;
    transition: var(--transition);
    margin-bottom: 0.5rem;
}

.filter-option:hover {
    background: var(--light-color);
}

.filter-option.active {
    background: var(--primary-color);
    color: white;
}

.filter-option.active .count {
    color: rgba(255, 255, 255, 0.8);
}

.filter-option label {
    cursor: pointer;
    margin: 0;
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.filter-option .count {
    color: #9ca3af;
    font-size: 0.875rem;
}

.price-range-inputs {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.price-range-inputs input {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
}

.filter-btn {
    width: 100%;
    padding: 0.75rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 1.5rem;
}

.filter-btn:hover {
    background: var(--primary-dark);
}

.clear-filters {
    width: 100%;
    padding: 0.75rem;
    background: transparent;
    color: var(--danger-color);
    border: 1px solid var(--danger-color);
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 0.5rem;
}

.clear-filters:hover {
    background: var(--danger-color);
    color: white;
}

.shop-header {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.results-count {
    color: var(--dark-color);
    font-weight: 500;
}

.sort-options {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.sort-options select {
    padding: 0.5rem 2rem 0.5rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    cursor: pointer;
    background: white;
}

.no-products {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
}

.no-products i {
    font-size: 4rem;
    color: var(--border-color);
    margin-bottom: 1rem;
}

.no-products h3 {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.no-products p {
    color: #6b7280;
}

.pagination-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.pagination {
    display: flex;
    gap: 0.5rem;
}

.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    text-decoration: none;
    color: var(--dark-color);
    background: white;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.pagination a:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.pagination .active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.pagination .disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.mobile-filter-toggle {
    display: none;
    width: 100%;
    padding: 1rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    margin-bottom: 2rem;
    cursor: pointer;
}

@media (max-width: 991px) {
    .mobile-filter-toggle {
        display: block;
    }
    
    .filters-sidebar {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 9999;
        overflow-y: auto;
        margin: 0;
        border-radius: 0;
    }
    
    .filters-sidebar.show {
        display: block;
    }
    
    .filter-close {
        display: block;
        position: sticky;
        top: 0;
        background: #e3f2fd;
        padding: 1rem;
        margin: -2rem -2rem 1rem -2rem;
        border-bottom: 1px solid var(--border-color);
        z-index: 10;
    }
    
    .filter-close button {
        background: none;
        border: none;
        font-size: 1.5rem;
        cursor: pointer;
    }
}

@media (min-width: 992px) {
    .filter-close {
        display: none;
    }
}