/* =======================================
   Subcategory Page Styles (Modern Layout)
   ======================================= */

/* Mobile Filter Toggle Button */
.mobile-filter-toggle {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    background: #003055;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 48, 85, 0.3);
    align-items: center;
    gap: 8px;
}

.mobile-filter-toggle svg {
    vertical-align: middle;
}

.mobile-filter-toggle .filter-count {
    background: #ff6600;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    margin-left: 5px;
}

/* Filter Overlay */
.filter-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1001;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.filter-overlay.active {
    opacity: 1;
}

/* Active Filters Section */
.active-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding: 15px 20px;
    background: #e8f4f8;
    border-radius: 8px;
    margin-bottom: 20px;
}

.active-filters-label {
    font-weight: 600;
    color: #003055;
    font-size: 14px;
}

.filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    border: 1px solid #005580;
    color: #005580;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
}

.chip-remove {
    color: #005580;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    line-height: 1;
    opacity: 0.7;
}

.chip-remove:hover {
    opacity: 1;
}

.clear-all-filters {
    color: #dc3545;
    font-size: 13px;
    text-decoration: none;
    margin-left: auto;
}

.clear-all-filters:hover {
    text-decoration: underline;
}

/* ==========================================
   Filter Bar (SVB-Style) - Horizontal Filters
   ========================================== */

.filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 15px 0;
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 10px;
}

.filter-bar-left {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-bar-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.products-count-badge {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

/* Filter Dropdown */
.filter-dropdown {
    position: relative;
    display: inline-block;
}

.filter-dropdown-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    min-width: 120px;
    justify-content: space-between;
}

.filter-dropdown-btn:hover {
    border-color: #0066cc;
    background: #f0f7ff;
}

.filter-dropdown-btn.active {
    border-color: #0066cc;
    background: #f0f7ff;
}

.filter-dropdown-btn.has-filter {
    border-color: #0066cc;
    background: #e6f0ff;
    color: #0066cc;
}

.filter-dropdown-btn.has-filter:hover {
    background: #d9e8ff;
}

.filter-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    background: #0066cc;
    color: white;
    font-size: 11px;
    padding: 0 5px;
    border-radius: 9px;
    margin-left: 2px;
}

.filter-dropdown-btn.has-filter .filter-badge {
    background: #0066cc;
    color: white;
}

.filter-dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 250px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    margin-top: 5px;
    padding: 15px;
}

.filter-dropdown-content.show {
    display: block;
}

.filter-dropdown-content a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 10px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.2s;
    border-radius: 4px;
    cursor: pointer;
}

.filter-dropdown-content a:hover {
    background: #f5f5f5;
}

.filter-dropdown-content a.active {
    background: #0066cc;
    color: white;
}

.filter-dropdown-content a.active .option-count {
    color: rgba(255, 255, 255, 0.8);
}

.option-count {
    color: #999;
    font-size: 12px;
}

/* Option Filter Checkboxes */
.option-filter-form {
    padding: 0;
    margin: 0;
}

.option-checkbox-label {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    cursor: pointer;
    transition: background-color 0.2s;
    border-bottom: 1px solid #f0f0f0;
}

.option-checkbox-label:last-child {
    border-bottom: none;
}

.option-checkbox-label:hover {
    background: #f5f5f5;
}

.option-checkbox-label input[type="checkbox"] {
    margin-right: 10px;
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: #005580;
}

.option-checkbox-label .option-name {
    flex: 1;
    color: #333;
    font-size: 14px;
}

.option-checkbox-label .option-count {
    margin-left: auto;
    color: #999;
    font-size: 12px;
}

/* Scrollable Dropdown (für viele Marken) */
.filter-dropdown-scroll {
    max-height: 250px;
    overflow-y: auto;
    padding: 0;
}

.filter-dropdown-scroll::-webkit-scrollbar {
    width: 6px;
}

.filter-dropdown-scroll::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.filter-dropdown-scroll::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

.filter-dropdown-scroll::-webkit-scrollbar-thumb:hover {
    background: #aaa;
}

.dropdown-search {
    padding: 10px;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    background: white;
    z-index: 1;
}

.dropdown-search-input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    font-size: 14px;
}

.dropdown-search-input:focus {
    outline: none;
    border-color: #005580;
}

/* Price Filter Dropdown */
.filter-dropdown-price {
    padding: 15px;
    min-width: 250px;
}

.price-reset-link {
    display: block;
    padding: 8px 10px;
    margin-bottom: 10px;
    color: #005580;
    text-decoration: none;
    font-size: 14px;
    border-bottom: 1px solid #eee;
}

.price-reset-link:hover {
    color: #003055;
    background: #f8f9fa;
}

.price-inputs {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.price-inputs input {
    flex: 1;
    padding: 8px 10px;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    font-size: 14px;
    width: 80px;
}

.price-inputs input:focus {
    outline: none;
    border-color: #005580;
}

.price-inputs span {
    color: #999;
}

.price-apply-btn {
    display: block;
    width: 100%;
    padding: 10px;
    background: #0066cc;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    margin-top: 10px;
    transition: background 0.2s;
}

.price-apply-btn:hover {
    background: #0055aa;
}

/* Clear Filters Button */
.clear-filters-btn {
    padding: 8px 14px;
    color: #dc3545;
    font-size: 14px;
    text-decoration: none;
    border: 1px solid #dc3545;
    border-radius: 20px;
    transition: all 0.2s;
}

.clear-filters-btn:hover {
    background: #dc3545;
    color: white;
}

/* Active Filter Chips */
.active-filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px 0;
}

.filter-chip-remove {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    background: #e9ecef;
    color: #333;
    border-radius: 20px;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.2s;
}

.filter-chip-remove:hover {
    background: #dc3545;
    color: white;
}

/* Page Layout */
.subcategory-page {
    display: flex;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    align-items: flex-start;
}

/* Sidebar */
.subcategory-sidebar {
    width: 280px;
    flex-shrink: 0;
    background: #f8f9fa;
    border-radius: 20px;
    padding: 0;
    overflow: hidden;
    /* Keine sticky/fixed Position mehr - scrollt mit der Seite */
}

.sidebar-mobile-header {
    display: none;
}

.sidebar-section {
    border-bottom: 1px solid #e9ecef;
}

.sidebar-section:last-child {
    border-bottom: none;
}

.sidebar-section h3 {
    margin: 0;
    padding: 15px 20px;
    background: #003055;
    color: white;
    font-size: 16px;
    font-weight: 600;
}

.sidebar-section:first-child h3 {
    border-radius: 20px 20px 0 0;
}

.sidebar-content {
    padding: 15px 20px;
}

/* Category Tree Navigation (SVB-Style) */
.category-tree .sidebar-content {
    padding: 10px 0;
}

.category-tree-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.category-tree-list > li {
    margin-bottom: 0;
    border-bottom: 1px solid #e9ecef;
}

.category-tree-list > li:last-child {
    border-bottom: none;
}

.category-tree-list .tree-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    color: #333;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 14px;
    gap: 8px;
    cursor: pointer;
}

.category-tree-list a.tree-item:hover {
    background: #e9ecef;
    color: #003055;
}

.category-tree-list .tree-item.current {
    background: #e8f4f8;
    color: #003055;
    font-weight: 600;
    border-left: 3px solid #005580;
}

/* Parent Item (klickbarer Elternknoten bei Sub-Subkategorien) */
.category-tree-list a.tree-item.parent-item {
    background: #e8f4f8;
    color: #003055;
    font-weight: 600;
    border-left: 3px solid #005580;
}

.category-tree-list a.tree-item.parent-item:hover {
    background: #d8e8f0;
    color: #002040;
}

.tree-toggle {
    color: #005580;
    font-weight: bold;
    font-size: 10px;
    width: 12px;
    flex-shrink: 0;
}

.tree-arrow {
    color: #005580;
    font-weight: bold;
    font-size: 10px;
    width: 12px;
    flex-shrink: 0;
}

/* Sub-Tree (Sub-Subkategorien) */
.sub-tree-list {
    list-style: none;
    margin: 0;
    padding: 0;
    background: #f0f4f7;
}

.sub-tree-list li {
    border-bottom: 1px solid #e0e5e9;
}

.sub-tree-list li:last-child {
    border-bottom: none;
}

.sub-tree-list .tree-item.sub-item {
    padding: 10px 15px 10px 30px;
    font-size: 13px;
    color: #555;
}

.sub-tree-list .tree-item.sub-item:hover {
    background: #e0e8ed;
    color: #003055;
}

.sub-tree-list .tree-item.sub-item.current {
    background: #005580;
    color: white;
    font-weight: 600;
}

.sub-tree-list .tree-item.sub-item.current .tree-arrow {
    color: white;
}

/* Tree Item Wrapper - Flexbox Layout */
.tree-item-wrapper {
    display: flex;
    align-items: center;
    gap: 0;
}

.tree-toggle-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 100%;
    min-height: 38px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    margin: 0;
    flex-shrink: 0;
    transition: background 0.2s;
}

.tree-toggle-btn:hover {
    background: rgba(0, 85, 128, 0.1);
}

.tree-toggle-btn .tree-toggle {
    font-size: 12px;
    transition: transform 0.2s ease;
}

.tree-parent.expanded .tree-toggle-btn .tree-toggle {
    transform: rotate(0deg);
}

.tree-parent:not(.expanded) .tree-toggle-btn .tree-toggle {
    transform: rotate(0deg);
}

.tree-toggle-placeholder {
    width: 28px;
    flex-shrink: 0;
}

.tree-item-text {
    flex: 1;
    padding: 10px 12px 10px 0;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    display: block;
    transition: color 0.2s;
}

.tree-item-text:hover {
    color: #005580;
}

.tree-item-text.current {
    font-weight: 600;
    color: white;
    background: #005580;
    padding: 8px 12px;
    border-radius: 4px;
    display: inline-block;
}

.tree-item-text.parent-active {
    font-weight: 600;
    color: #005580;
}

/* Expanded State */
.category-tree-list > li.expanded {
    background: #f8f9fa;
}

.category-tree-list > li.tree-parent {
    border-bottom: 1px solid #e8e8e8;
}

.category-tree-list > li.tree-parent:last-child {
    border-bottom: none;
}

/* Back Links */
.back-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.back-links li {
    margin-bottom: 8px;
}

.back-link {
    display: block;
    padding: 8px 12px;
    color: #005580;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.2s;
}

.back-link:hover {
    color: #003055;
    text-decoration: underline;
}

/* Sub-subcategories Navigation */
.sub-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sub-nav-list li {
    margin-bottom: 8px;
}

.sub-nav-list a {
    display: block;
    padding: 8px 12px;
    color: #495057;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.2s;
    font-size: 14px;
}

.sub-nav-list a:hover {
    background: #005580;
    color: white;
}

.sub-nav-list a.active {
    background: #005580;
    color: white;
    font-weight: 600;
}

/* Sub-Subkategorie Navigation Sidebar */
.subsubcategory-nav .subcategory-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.subsubcategory-nav .subcategory-list li {
    margin-bottom: 4px;
}

.subsubcategory-nav .subcategory-list li a {
    display: block;
    padding: 10px 14px;
    color: #495057;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.2s ease;
    font-size: 14px;
    background: #f8f9fa;
    border-left: 3px solid transparent;
}

.subsubcategory-nav .subcategory-list li a:hover {
    background: #e9ecef;
    color: #003055;
    border-left-color: #005580;
}

.subsubcategory-nav .subcategory-list li.active .current-category {
    display: block;
    padding: 10px 14px;
    background: #005580;
    color: white;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
}

/* Collapsible Headers */
.sidebar-section h3.collapsible {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}

.sidebar-section h3.collapsible:hover {
    color: #005580;
}

.sidebar-section h3.collapsible .toggle-icon {
    font-size: 10px;
    transition: transform 0.3s ease;
}

.sidebar-section h3.collapsible.collapsed .toggle-icon {
    transform: rotate(-90deg);
}

.sidebar-section .sidebar-content.collapsed {
    display: none;
}

/* Filter Controls */
.filter-group {
    margin-bottom: 20px;
}

.filter-group:last-child {
    margin-bottom: 0;
}

.filter-label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #003055;
    font-size: 14px;
}

/* Filter Search */
.filter-search-wrapper {
    margin-bottom: 10px;
}

.filter-search {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    font-size: 13px;
    background: white;
}

.filter-search:focus {
    outline: none;
    border-color: #005580;
}

/* Filter Checkbox List */
.filter-checkbox-list {
    max-height: 200px;
    overflow-y: auto;
}

.filter-checkbox-item {
    display: flex;
    align-items: center;
    padding: 6px 0;
    cursor: pointer;
    font-size: 14px;
}

.filter-checkbox-item input[type="radio"],
.filter-checkbox-item input[type="checkbox"] {
    margin-right: 10px;
    accent-color: #005580;
}

.filter-checkbox-item .checkbox-label {
    flex: 1;
    color: #495057;
}

.filter-checkbox-item .checkbox-count {
    color: #6c757d;
    font-size: 12px;
}

.filter-checkbox-item:hover .checkbox-label {
    color: #005580;
}

/* Price Range Display */
.price-range-display {
    text-align: center;
    padding: 8px;
    background: #e9ecef;
    border-radius: 4px;
    margin-bottom: 10px;
    font-weight: 600;
    color: #003055;
}

.filter-select,
.filter-input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    font-size: 14px;
    background: white;
}

.filter-select:focus,
.filter-input:focus {
    outline: none;
    border-color: #005580;
    box-shadow: 0 0 0 2px rgba(0, 85, 128, 0.1);
}

.price-range-inputs {
    display: flex;
    gap: 10px;
    align-items: center;
}

.price-range-inputs input {
    flex: 1;
}

.price-range-separator {
    color: #6c757d;
    font-weight: bold;
}

.filter-buttons {
    margin-top: 15px;
    display: flex;
    gap: 10px;
}

.filter-btn {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.filter-apply {
    background: #005580;
    color: white;
}

.filter-apply:hover {
    background: #003d5c;
}

.filter-reset {
    background: #6c757d;
    color: white;
}

.filter-reset:hover {
    background: #545b62;
}

/* Main Content Area */
.subcategory-main {
    flex: 1;
    min-width: 0;
}

/* Breadcrumb */
.subcategory-breadcrumb {
    font-size: 14px;
    margin-bottom: 20px;
    color: #777;
}

.subcategory-breadcrumb a {
    color: #005580;
    text-decoration: none;
}

.subcategory-breadcrumb a:hover {
    text-decoration: underline;
}

/* Page Header with Hero Background */
.subcategory-hero {
    position: relative;
    background-color: #003055;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 35px 0;
    margin-bottom: 20px;
    overflow: hidden;
}

.subcategory-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 48, 85, 0.45) 0%, rgba(0, 85, 128, 0.35) 100%);
    z-index: 1;
}

.subcategory-hero .container {
    position: relative;
    z-index: 2;
}

.subcategory-header {
    text-align: center;
    padding: 12px 20px;
}

.subcategory-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.subcategory-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Toolbar - Gleicher Look wie Suchergebnisseite */
.products-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    flex-wrap: wrap;
    gap: 10px;
}

/* Combined Toolbar mit Filtern */
.products-toolbar.combined-toolbar {
    padding: 15px;
    gap: 10px;
}

.toolbar-filters {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    flex: 1;
}

.toolbar-filters .filter-dropdown-btn {
    padding: 8px 16px;
    font-size: 14px;
    border-radius: 6px;
}

.toolbar-filters .filter-dropdown-content {
    min-width: 250px;
}

.toolbar-filters .clear-filters-btn {
    padding: 8px 12px;
    font-size: 14px;
    border-radius: 6px;
}

.products-count-text {
    font-size: 13px;
    color: #666;
    white-space: nowrap;
    margin-left: auto;
    padding-right: 10px;
}

.toolbar-left {
    display: flex;
    align-items: center;
}

.toolbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: nowrap;
    flex-shrink: 0;
}

.products-count {
    color: #6c757d;
    font-size: 14px;
}

/* View Toggle */
.view-toggle {
    display: flex;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    overflow: hidden;
}

.view-btn {
    padding: 8px 12px;
    border: none;
    background: white;
    cursor: pointer;
    color: #6c757d;
    transition: all 0.2s;
}

.view-btn:hover {
    background: #f8f9fa;
    color: #005580;
}

.view-btn.active {
    background: #005580;
    color: white;
}

.view-btn + .view-btn {
    border-left: 1px solid #dee2e6;
}

/* Per Page Select */
.per-page-select select {
    padding: 8px 12px;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    font-size: 14px;
    background: white;
    cursor: pointer;
}

.sort-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sort-label {
    color: #495057;
    font-weight: 600;
    font-size: 14px;
}

.sort-select {
    padding: 8px 12px;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    font-size: 14px;
    background: white;
    min-width: 180px;
    cursor: pointer;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

/* List View */
.products-grid.list-view {
    grid-template-columns: 1fr;
    gap: 15px;
}

.products-grid.list-view .product-card {
    display: flex;
    flex-direction: row;
    align-items: stretch;
}

.products-grid.list-view .product-card .product-image-wrapper {
    width: 200px;
    flex-shrink: 0;
}

.products-grid.list-view .product-card .product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px;
}

/* Pagination */
.pagination-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-top: 40px;
}

.pagination {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 5px;
}

.pagination li {
    display: flex;
}

.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 15px;
    color: #005580;
    text-decoration: none;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.2s;
    min-width: 44px;
}

.pagination a:hover {
    background: #005580;
    color: white;
    border-color: #005580;
}

.pagination .current {
    background: #005580;
    color: white;
    border-color: #005580;
}

.pagination .disabled {
    color: #6c757d;
    pointer-events: none;
    opacity: 0.6;
}

.pagination-info {
    color: #6c757d;
    font-size: 13px;
}

/* No Products */
.no-products {
    text-align: center;
    padding: 60px 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.no-products-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.no-products h3 {
    color: #003055;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.no-products p {
    color: #6c757d;
    font-size: 1rem;
    margin-bottom: 20px;
}

.btn-reset-filters {
    display: inline-block;
    padding: 12px 24px;
    background: #005580;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: background 0.2s;
}

.btn-reset-filters:hover {
    background: #003d5c;
    color: white;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .subcategory-page {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    /* Mobile Filter Toggle anzeigen */
    .mobile-filter-toggle {
        display: flex;
    }
    
    .filter-overlay {
        display: block;
    }
    
    .subcategory-sidebar {
        position: fixed;
        top: 0;
        left: -320px;
        width: 300px;
        height: 100vh;
        z-index: 1002;
        border-radius: 0;
        transition: left 0.3s ease;
        overflow-y: auto;
    }
    
    .subcategory-sidebar.active {
        left: 0;
    }
    
    .sidebar-mobile-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px 20px;
        background: #003055;
        color: white;
        position: sticky;
        top: 0;
        z-index: 10;
    }
    
    .sidebar-mobile-header h3 {
        margin: 0;
        font-size: 18px;
    }
    
    .sidebar-close {
        background: none;
        border: none;
        color: white;
        font-size: 28px;
        cursor: pointer;
        padding: 0;
        line-height: 1;
    }
    
    .sidebar-section:first-child h3 {
        border-radius: 0;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .products-grid.list-view {
        grid-template-columns: 1fr;
    }
    
    .products-grid.list-view .product-card .product-image-wrapper {
        width: 150px;
    }
}

@media (max-width: 768px) {
    /* Filter Bar Mobile */
    .filter-bar {
        padding: 10px 0;
        gap: 8px;
    }
    
    .filter-bar-left {
        width: 100%;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 5px;
        -webkit-overflow-scrolling: touch;
    }
    
    .filter-bar-left::-webkit-scrollbar {
        display: none;
    }
    
    .filter-dropdown-btn {
        padding: 6px 12px;
        font-size: 13px;
    }
    
    .filter-dropdown-content {
        position: fixed;
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        max-width: 100%;
        width: 100%;
        border-radius: 16px 16px 0 0;
        max-height: 60vh;
    }
    
    .filter-bar-right {
        display: none;
    }
    
    .active-filter-chips {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 5px;
    }
    
    .filter-chip-remove {
        flex-shrink: 0;
    }
    
    .subcategory-page {
        padding: 0 15px;
    }
    
    .subcategory-hero {
        padding: 25px 0;
        margin-bottom: 15px;
    }
    
    .subcategory-header {
        padding: 15px 20px;
    }
    
    .subcategory-header h1 {
        font-size: 1.8rem;
    }
    
    .subcategory-description {
        font-size: 1rem;
    }
    
    .products-toolbar {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }
    
    .toolbar-left,
    .toolbar-right {
        justify-content: center;
    }
    
    .toolbar-right {
        flex-wrap: wrap;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .filter-buttons {
        flex-direction: column;
    }
    
    .price-range-inputs {
        flex-direction: column;
        gap: 8px;
    }
    
    .price-range-separator {
        text-align: center;
    }
    
    .active-filters {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .clear-all-filters {
        margin-left: 0;
        margin-top: 10px;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .products-grid.list-view .product-card {
        flex-direction: column;
    }
    
    .products-grid.list-view .product-card .product-image-wrapper {
        width: 100%;
    }
    
    .pagination a,
    .pagination span {
        padding: 8px 12px;
        min-width: 36px;
        font-size: 14px;
    }
    
    .view-toggle {
        display: none;
    }
    
    .toolbar-right {
        gap: 10px;
    }
    
    .per-page-select select,
    .sort-select {
        font-size: 13px;
        padding: 6px 10px;
        min-width: 130px;
    }
}
