.product-list-header-wrapper {
    width: 100%;
    margin-bottom: 2rem;
    margin-top: 0;
}

.product-list-header {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    padding: 0;
    width: 100%;
    max-width: var(--ast-content-width-size);
    margin-left: auto;
    margin-right: auto;
    margin-top: 0;
    background: transparent;
    max-height: 300px;
    overflow: hidden;
}

.product-list-header__content {
    flex: 0 0 60%;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: start;
    max-height: 300px;
    overflow: auto;
}

/* Wanneer er geen afbeelding is, vul de volledige breedte */
.product-list-header--no-image .product-list-header__content--full-width {
    flex: 1 1 100%;
    max-width: 100%;
}

.product-list-header__title {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #333;
}

.product-list-header__description {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
}

.product-list-header__image {
    flex: 0 0 40%;
    position: relative;
    overflow: hidden;
    background: #f0f0f0;
    max-height: 300px;
    max-width: 840px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.product-list-header__image-inner {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

@media (max-width: 768px) {
    .product-list-header-wrapper {
        min-height: fit-content;
    }
    
    .product-list-header {
        flex-direction: column;
        height: auto;
        max-height: none;
    }
    
    .product-list-header__content {
        flex: 1 1 auto;
        padding: 1.5rem 1.5rem 0.3125rem 1.5rem;
    }

    .product-list-header__image {
        display: none;
    }
}

@media (max-width: 921px) {
    .product-list-header {
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* Admin styles */
.hr-separator {
    border: 0;
    height: 1px;
    background-color: #ddd;
    margin: 30px 0;
}

.category-header-settings {
    background: #fff;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.category-header-settings h2 {
    margin-top: 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}