.kategori-produkter-wrapper-be8ffe31 {
    display: flex;
    gap: 30px;
    font-family: inherit;
    width: 100%;
}

.cat-nav-be8ffe31 {
    width: 250px;
    flex-shrink: 0;
}

.cat-nav-toggle-be8ffe31 {
    display: none; /* Hidden on desktop */
    padding: 12px 15px;
    background-color: #f5f5f5;
    color: #333;
    font-weight: bold;
    cursor: pointer;
    border-radius: 4px;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    border: 1px solid #e5e5e5;
}

.cat-nav-toggle-be8ffe31 i {
    transition: transform 0.3s ease;
}

.cat-nav-toggle-be8ffe31.active i {
    transform: rotate(180deg);
}

.cat-nav-content-be8ffe31 > ul.accordion-content {
    display: block; /* Top level always visible */
    padding-left: 0;
}

.accordion-item {
    margin-bottom: 5px;
    list-style: none;
}

/* Base style for all category links/headers */
.accordion-header, .accordion-link {
    display: block;
    padding: 10px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    text-decoration: none;
    word-break: break-word; /* Ensure text doesn't overflow */
}

.accordion-header {
    position: relative;
    padding-right: 30px;
}

.accordion-header.has-children::after {
    content: '';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 6px;
    height: 6px;
    border-bottom: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transition: transform 0.2s;
}

.accordion-header.has-children.active::after {
    transform: translateY(-50%) rotate(225deg);
}

.accordion-content-wrapper {
    display: none;
}

.accordion-content {
    list-style: none;
    padding: 5px 10px 5px 15px;
    margin: 0;
}

/* --- Toolbar Styles --- */
.product-main-be8ffe31 {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0; /* Prevent flex overflow */
}

.product-toolbar-be8ffe31 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f9f9f9;
    padding: 10px 15px;
    border-radius: 4px;
    border: 1px solid #eee;
    gap: 15px;
    flex-wrap: wrap;
}

.product-search-form-be8ffe31 {
    display: flex;
    align-items: center;
    position: relative;
    max-width: 250px;
    width: 100%;
}

.product-search-input-be8ffe31 {
    width: 100%;
    padding: 8px 30px 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    outline: none;
}

.product-search-input-be8ffe31:focus {
    border-color: #999;
}

.product-search-btn-be8ffe31 {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #666;
    cursor: pointer;
    padding: 5px;
}

.product-sort-select-be8ffe31 {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    background-color: #fff;
    cursor: pointer;
    outline: none;
    max-width: 100%; /* Ensure select doesn't overflow */
}

/* --- Grid Styles --- */
.product-grid-be8ffe31 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); /* More responsive grid */
    gap: 20px;
    align-content: start;
}







/* Add global spec list 100% width fix */
.nr-systems-spec-list {
    width: 100% !important;
}

@media(max-width: 991px) {
    .product-grid-be8ffe31 { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
    .cat-nav-be8ffe31 { width: 200px; }
}

@media(max-width: 767px) {
    .kategori-produkter-wrapper-be8ffe31 { 
        flex-direction: column; 
        gap: 15px;
        overflow-x: hidden; /* Prevent horizontal scroll on mobile */
    }
    .cat-nav-be8ffe31 { 
        width: 100%; 
    }
    .cat-nav-toggle-be8ffe31 {
        display: flex; /* Show toggle on mobile */
    }
    .cat-nav-content-be8ffe31 {
        display: none; /* Hide menu by default on mobile */
        border: 1px solid #e5e5e5;
        border-radius: 4px;
        padding: 10px;
    }
    .product-toolbar-be8ffe31 {
        flex-direction: column;
        align-items: stretch;
    }
    .product-search-form-be8ffe31 {
        max-width: 100%;
    }
    .product-sort-select-be8ffe31 {
        width: 100%;
    }
    .product-grid-be8ffe31 { 
        grid-template-columns: repeat(2, 1fr); /* Force 2 columns on mobile if minmax fails */
        gap: 10px;
    }
}

@media(max-width: 480px) {
     .product-grid-be8ffe31 { 
        grid-template-columns: 1fr; /* Stack on very small screens */
    }
}