/* Breadcrumbs */
.breadcrumbs {
background: #f8f8f8;
padding: 15px 0;
border-bottom: 1px solid #e0e0e0;
}

.breadcrumbs a {
color: #666666;
transition: color 0.3s;
}

.breadcrumbs a:hover {
color: #ff0000;
}

.breadcrumbs .separator {
color: #ff0000;
margin: 0 10px;
}

.breadcrumbs .current {
color: #1a1a1a;
}

/* Catalog Layout */
.catalog-section {
background: #f8f8f8;
padding: 40px 0;
min-height: 100vh;
}

.catalog-layout {
display: grid;
grid-template-columns: 280px 1fr;
gap: 40px;
}

/* Sidebar */
.catalog-sidebar {
background: #FFFFFF;
border: 2px solid #e0e0e0;
border-radius: 15px;
padding: 25px;
height: fit-content;
position: sticky;
top: 90px;
}

.sidebar-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 25px;
padding-bottom: 15px;
border-bottom: 2px solid #ff0000;
}

.sidebar-header h3 {
color: #1a1a1a;
font-size: 22px;
margin: 0;
}

.clear-filters {
background: none;
border: 1px solid #ff0000;
color: #ff0000;
padding: 8px 15px;
border-radius: 6px;
cursor: pointer;
font-size: 13px;
font-weight: 600;
transition: all 0.3s;
}

.clear-filters:hover {
background: #ff0000;
color: #FFFFFF;
box-shadow: 0 0 15px rgba(255, 0, 0, 0.5);
}

.filter-group {
margin-bottom: 30px;
}

.filter-title {
color: #1a1a1a;
font-size: 16px;
margin-bottom: 15px;
font-weight: 600;
}

.filter-options {
display: flex;
flex-direction: column;
gap: 12px;
}

.filter-checkbox {
display: flex;
align-items: center;
cursor: pointer;
color: #666666;
font-size: 14px;
transition: color 0.3s;
}

.filter-checkbox:hover {
color: #ff0000;
}

.filter-checkbox input[type="checkbox"] {
margin-right: 10px;
width: 18px;
height: 18px;
cursor: pointer;
accent-color: #ff0000;
}

.filter-checkbox .count {
margin-left: calc(auto + 10px);
color: #999999;
font-size: 12px;
}

/* Price Range */
.price-range {
display: flex;
flex-direction: column;
gap: 15px;
}

.price-inputs {
display: flex;
align-items: center;
gap: 10px;
}

.price-inputs input {
width: 100%;
padding: 10px;
background: #FFFFFF;
border: 1px solid #e0e0e0;
border-radius: 6px;
color: #1a1a1a;
font-size: 14px;
}

.price-inputs input:focus {
outline: none;
border-color: #ff0000;
}

.price-inputs span {
color: #999999;
}

.price-slider {
width: 100%;
height: 6px;
background: #e0e0e0;
border-radius: 3px;
outline: none;
accent-color: #ff0000;
}

/* Catalog Content */
.catalog-content {
display: flex;
flex-direction: column;
gap: 30px;
}

.catalog-toolbar {
background: #FFFFFF;
border: 2px solid #e0e0e0;
border-radius: 15px;
padding: 20px 25px;
display: flex;
justify-content: space-between;
align-items: center;
flex-wrap: wrap;
gap: 20px;
}

.toolbar-left {
display: flex;
align-items: center;
gap: 20px;
flex-wrap: wrap;
}

.mobile-filter-toggle {
display: none;
background: #ff0000;
border: none;
padding: 10px 20px;
border-radius: 8px;
color: #FFFFFF;
font-weight: 700;
cursor: pointer;
align-items: center;
gap: 8px;
}

.catalog-title {
color: #1a1a1a;
font-size: 28px;
margin: 0;
}

.products-count {
color: #666666;
font-size: 14px;
}

.toolbar-right {
display: flex;
align-items: center;
gap: 15px;
}

.sort-select {
padding: 10px 15px;
background: #FFFFFF;
border: 1px solid #e0e0e0;
border-radius: 8px;
color: #1a1a1a;
font-size: 14px;
cursor: pointer;
transition: all 0.3s;
}

.sort-select:hover,
.sort-select:focus {
border-color: #ff0000;
outline: none;
}

.view-toggle {
display: flex;
gap: 8px;
}

.view-btn {
background: #FFFFFF;
border: 1px solid #e0e0e0;
padding: 8px 12px;
border-radius: 6px;
color: #1a1a1a;
cursor: pointer;
transition: all 0.3s;
}

.view-btn:hover,
.view-btn.active {
border-color: #ff0000;
background: #ff0000;
color: #FFFFFF;
}

/* Products Grid */
.catalog-products {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
gap: 25px;
}

.catalog-products .product-card {
background: #FFFFFF;
border: 2px solid #e0e0e0;
border-radius: 15px;
overflow: hidden;
transition: all 0.3s;
}

.catalog-products .product-card:hover {
border-color: #ff0000;
transform: translateY(-5px);
box-shadow: 0 10px 30px rgba(255, 0, 0, 0.3);
}

.product-image-wrapper {
position: relative;
width: 100%;
height: 200px;
background: #f5f5f5;
overflow: hidden;
border-radius: 10px 10px 0 0;
}

.product-badge {
position: absolute;
top: 10px;
left: 10px;
background: #ff0000;
color: #FFFFFF;
padding: 5px 12px;
border-radius: 6px;
font-size: 11px;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.5px;
z-index: 10;
box-shadow: 0 2px 8px rgba(255, 0, 0, 0.4);
}

.product-image-placeholder {
width: 100%;
height: 200px;
display: flex;
align-items: center;
justify-content: center;
background: #f5f5f5;
}

.product-brand {
color: #ff0000;
font-size: 12px;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 1px;
margin-bottom: 5px;
}

.product-features {
display: flex;
gap: 8px;
margin: 10px 0;
flex-wrap: wrap;
}

.product-features span {
background: #f5f5f5;
color: #666666;
padding: 4px 10px;
border-radius: 12px;
font-size: 11px;
font-weight: 600;
}

.product-bottom {
display: flex;
justify-content: space-between;
align-items: center;
margin-top: 15px;
}

/* Pagination */
.pagination {
display: flex;
justify-content: center;
gap: 10px;
margin-top: 40px;
}

.pagination-btn {
background: #FFFFFF;
border: 2px solid #e0e0e0;
color: #1a1a1a;
padding: 10px 18px;
border-radius: 8px;
cursor: pointer;
font-weight: 600;
transition: all 0.3s;
}

.pagination-btn:hover:not(:disabled),
.pagination-btn.active {
border-color: #ff0000;
background: #ff0000;
color: #FFFFFF;
box-shadow: 0 0 15px rgba(255, 0, 0, 0.5);
}

.pagination-btn:disabled {
opacity: 0.3;
cursor: not-allowed;
}

/* Mobile Styles */
.mobile-filter-close {
display: none;
width: 100%;
background: #ff0000;
border: none;
padding: 12px;
border-radius: 8px;
color: #FFFFFF;
font-weight: 700;
cursor: pointer;
margin-top: 20px;
}

@media (max-width: 968px) {
.catalog-layout {
grid-template-columns: 1fr;
}

.catalog-sidebar {
position: fixed;
left: -100%;
top: 0;
height: 100vh;
width: 320px;
max-width: 85vw;
z-index: 3000;
overflow-y: auto;
transition: left 0.3s;
}

.catalog-sidebar.active {
left: 0;
}

.mobile-filter-toggle {
display: flex;
}

.mobile-filter-close {
display: block;
}

.catalog-title {
font-size: 22px;
}
}

@media (max-width: 640px) {
.catalog-products {
grid-template-columns: 1fr;
}

.toolbar-left,
.toolbar-right {
width: 100%;
justify-content: space-between;
}

.view-toggle {
display: none;
}
}
