.cpc-catalog,
.cpc-product-grid {
    width: 100%;
}

.cpc-product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--cpc-grid-gap, 24px);
    align-items: stretch;
}

body .cpc-product-grid .cpc-product-card,
body .cpc-catalog .cpc-product-card {
    display: flex;
    min-width: 0;
    height: 100%;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--cpc-card-border-color, #d9d9d9) !important;
    border-radius: var(--cpc-card-radius, 6px) !important;
    background: var(--cpc-card-background, #fff) !important;
    color: var(--cpc-value-color, #1d2327) !important;
    font-family: var(--cpc-font-family, inherit) !important;
    font-style: normal !important;
    text-transform: none !important;
    letter-spacing: normal !important;
}

body .cpc-product-card .cpc-product-image-wrap {
    display: flex;
    aspect-ratio: 4 / 3;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: clamp(14px, 2vw, 24px);
    background: var(--cpc-image-background, #fff) !important;
}

body .cpc-product-card .cpc-product-image-link {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
}

body .cpc-product-card .cpc-image-zoom-trigger:not(.is-disabled) {
    cursor: zoom-in !important;
}

body .cpc-product-card .cpc-image-zoom-trigger:not(.is-disabled):focus-visible {
    outline: 2px solid currentColor !important;
    outline-offset: -3px !important;
}

body .cpc-product-card .cpc-product-image {
    display: block;
    flex: 0 0 auto;
    object-fit: contain;
    object-position: center;
}

/* Einheitliche Bildfläche: Platzhalter nutzt das volle 4:3-Feld, Packshots werden
   unabhängig von ihren Originalmaßen gleichmäßig innerhalb dieser Fläche skaliert. */
body .cpc-product-card .cpc-product-image--placeholder {
    width: 100% !important;
    height: 100% !important;
}

body .cpc-product-card .cpc-product-image--packshot {
    width: var(--cpc-packshot-scale, 72%) !important;
    height: var(--cpc-packshot-scale, 72%) !important;
    max-width: var(--cpc-packshot-scale, 72%) !important;
    max-height: var(--cpc-packshot-scale, 72%) !important;
}

body .cpc-product-card .cpc-product-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: clamp(16px, 2vw, 22px);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    font-family: var(--cpc-font-family, inherit) !important;
}

/* Kein h3-Element: Avada-Überschriftenstile greifen hier nicht mehr. */
body .cpc-product-card .cpc-product-names {
    display: grid;
    gap: 4px;
    margin: 0 0 18px !important;
    padding: 0 !important;
}

body .cpc-product-card .cpc-product-title {
    display: block;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: var(--cpc-title-color, #1d2327) !important;
    font-family: var(--cpc-font-family, inherit) !important;
    font-size: var(--cpc-title-size, 18px) !important;
    font-style: normal !important;
    font-weight: var(--cpc-title-weight, 650) !important;
    line-height: 1.35 !important;
    letter-spacing: normal !important;
    text-transform: none !important;
    overflow-wrap: anywhere;
}

body .cpc-product-card .cpc-product-title a,
body .cpc-product-card .cpc-product-title a:visited {
    color: inherit !important;
    font-family: inherit !important;
    font-size: inherit !important;
    font-style: inherit !important;
    font-weight: inherit !important;
    line-height: inherit !important;
    letter-spacing: inherit !important;
    text-transform: inherit !important;
    text-decoration: none !important;
}

body .cpc-product-card .cpc-product-title a:hover,
body .cpc-product-card .cpc-product-title a:focus-visible {
    color: inherit !important;
    text-decoration: underline !important;
}


body .cpc-product-card .cpc-product-secondary-name,
body .cpc-product-card .cpc-product-english-name {
    display: block;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: var(--cpc-secondary-name-color, #5f6b73) !important;
    font-family: var(--cpc-font-family, inherit) !important;
    font-size: var(--cpc-secondary-name-size, 14px) !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;
    letter-spacing: normal !important;
    text-transform: none !important;
    overflow-wrap: anywhere;
}

body .cpc-product-card .cpc-product-data {
    display: grid;
    gap: 8px;
    margin: 0 0 8px !important;
    padding: 0 !important;
    font-family: var(--cpc-font-family, inherit) !important;
}

body .cpc-product-card .cpc-product-data > div {
    display: grid;
    width: 100%;
    grid-template-columns: minmax(0, 1fr) max-content;
    column-gap: 16px;
    align-items: baseline;
}

body .cpc-product-card .cpc-product-data dt,
body .cpc-product-card .cpc-product-data dd {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    font-family: var(--cpc-font-family, inherit) !important;
    font-style: normal !important;
    line-height: 1.45 !important;
    letter-spacing: normal !important;
    text-transform: none !important;
}

body .cpc-product-card .cpc-product-data dt {
    color: var(--cpc-label-color, #1d2327) !important;
    font-size: var(--cpc-label-size, 15px) !important;
    font-weight: var(--cpc-label-weight, 600) !important;
}

body .cpc-product-card .cpc-product-data dd {
    min-width: 0;
    justify-self: end;
    color: var(--cpc-value-color, #1d2327) !important;
    font-size: var(--cpc-value-size, 15px) !important;
    font-variant-numeric: tabular-nums;
    font-weight: 400 !important;
    text-align: right !important;
    white-space: nowrap;
}

body .cpc-product-card .cpc-price {
    min-height: 0;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    font-family: var(--cpc-font-family, inherit) !important;
}

body .cpc-product-card .cpc-price--locked {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
}

body .cpc-product-card .cpc-price--visible {
    display: grid;
    width: 100%;
    grid-template-columns: minmax(0, 1fr) max-content;
    column-gap: 16px;
    align-items: baseline;
}

body .cpc-product-card .cpc-price--visible .cpc-price-label,
body .cpc-product-card .cpc-price--visible .cpc-price-value {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    font-family: var(--cpc-font-family, inherit) !important;
    font-style: normal !important;
    line-height: 1.45 !important;
    letter-spacing: normal !important;
    text-transform: none !important;
}

body .cpc-product-card .cpc-price--visible .cpc-price-label {
    color: var(--cpc-label-color, #1d2327) !important;
    font-size: var(--cpc-label-size, 15px) !important;
    font-weight: var(--cpc-label-weight, 600) !important;
}

body .cpc-product-card .cpc-price--visible .cpc-price-value {
    min-width: 0;
    justify-self: end;
    color: var(--cpc-value-color, #1d2327) !important;
    font-size: var(--cpc-value-size, 15px) !important;
    font-variant-numeric: tabular-nums;
    font-weight: 400 !important;
    text-align: right !important;
    white-space: nowrap;
}

body .cpc-product-card .cpc-price-note {
    color: var(--cpc-price-label-color, #50575e) !important;
    font-family: var(--cpc-font-family, inherit) !important;
    font-size: var(--cpc-price-label-size, 14px) !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;
    letter-spacing: normal !important;
    text-transform: none !important;
}

body .cpc-product-card a.cpc-doccheck-link,
body .cpc-product-card a.cpc-doccheck-link:visited {
    display: inline-flex !important;
    width: fit-content !important;
    align-items: center !important;
    justify-content: center !important;
    padding: var(--cpc-button-padding-y, 10px) var(--cpc-button-padding-x, 16px) !important;
    border: 0 !important;
    border-radius: var(--cpc-button-radius, 4px) !important;
    background: var(--cpc-button-background, #005b6b) !important;
    box-shadow: none !important;
    color: var(--cpc-button-text-color, #fff) !important;
    font-family: var(--cpc-font-family, inherit) !important;
    font-size: var(--cpc-button-font-size, 15px) !important;
    font-style: normal !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    letter-spacing: normal !important;
    text-transform: none !important;
    text-decoration: none !important;
}

body .cpc-product-card a.cpc-doccheck-link:hover,
body .cpc-product-card a.cpc-doccheck-link:focus-visible {
    border: 0 !important;
    background: var(--cpc-button-hover-background, #00444f) !important;
    box-shadow: none !important;
    color: var(--cpc-button-text-color, #fff) !important;
    text-decoration: none !important;
}

body .cpc-catalog .cpc-pagination {
    margin-top: 32px;
    font-family: var(--cpc-font-family, inherit) !important;
}

body .cpc-catalog .cpc-pagination .page-numbers {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

body .cpc-catalog .cpc-pagination a,
body .cpc-catalog .cpc-pagination span {
    display: inline-flex !important;
    min-width: 40px;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    padding: var(--cpc-pagination-padding-y, 10px) var(--cpc-pagination-padding-x, 20px) !important;
    border: 1px solid currentColor !important;
    border-radius: var(--cpc-pagination-radius, 4px) !important;
    background: var(--cpc-pagination-background, #fff) !important;
    color: var(--cpc-pagination-text-color, #1d2327) !important;
    font-family: var(--cpc-font-family, inherit) !important;
    font-size: var(--cpc-pagination-font-size, 15px) !important;
    font-style: normal !important;
    line-height: 1.2 !important;
    letter-spacing: normal !important;
    text-transform: none !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}

body .cpc-catalog .cpc-pagination a.prev,
body .cpc-catalog .cpc-pagination a.next {
    min-width: auto !important;
}

body .cpc-catalog .cpc-pagination .current {
    background: var(--cpc-pagination-active-background, #005b6b) !important;
    color: var(--cpc-pagination-active-text-color, #fff) !important;
    font-weight: 700 !important;
}

body .cpc-catalog .cpc-empty {
    margin: 0 !important;
    color: var(--cpc-value-color, #1d2327) !important;
    font-family: var(--cpc-font-family, inherit) !important;
    font-size: var(--cpc-value-size, 15px) !important;
}

.cpc-product-grid--cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cpc-product-grid--cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cpc-product-grid--cols-1 {
    grid-template-columns: 1fr;
}

@media (max-width: 1199px) {
    .cpc-product-grid--cols-4 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 899px) {
    .cpc-product-grid--cols-4,
    .cpc-product-grid--cols-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 599px) {
    .cpc-product-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    body .cpc-product-card .cpc-product-data > div {
        grid-template-columns: minmax(0, 1fr) max-content;
        column-gap: 14px;
    }

    body .cpc-product-card .cpc-price--visible {
        grid-template-columns: minmax(0, 1fr) max-content;
        column-gap: 14px;
    }
}

/* Optionale Produktdokumente: Textzeile im Kartenfuss zwischen Preis und Hinweisen */
body .cpc-product-grid .cpc-product-card,
body .cpc-catalog .cpc-product-card {
    position: relative;
}

body .cpc-product-card .cpc-documents-slot:empty,
body .cpc-product-card .cpc-documents-slot[hidden] {
    display: none !important;
}

body .cpc-product-card .cpc-documents-slot:not([hidden]) {
    display: block;
    width: 100%;
    margin: 12px 0 0 !important;
}

body .cpc-product-card .cpc-documents {
    position: relative;
    z-index: 20;
    width: 100%;
    font-family: var(--cpc-font-family, inherit) !important;
}

body .cpc-product-card button.cpc-documents-toggle {
    display: inline-block !important;
    width: auto !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: var(--cpc-document-icon-color, #45545f) !important;
    cursor: pointer;
    font-family: var(--cpc-font-family, inherit) !important;
    font-size: 14px !important;
    font-style: normal !important;
    font-weight: 600 !important;
    line-height: 1.45 !important;
    letter-spacing: normal !important;
    text-align: left !important;
    text-decoration: underline !important;
    text-underline-offset: 2px;
    text-transform: none !important;
    appearance: none;
}

body .cpc-product-card button.cpc-documents-toggle:hover,
body .cpc-product-card button.cpc-documents-toggle:focus-visible,
body .cpc-product-card button.cpc-documents-toggle[aria-expanded="true"] {
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: var(--cpc-document-icon-color, #45545f) !important;
    outline: none !important;
    text-decoration-thickness: 2px !important;
}

body .cpc-product-card button.cpc-documents-toggle:focus-visible {
    outline: 2px solid currentColor !important;
    outline-offset: 3px !important;
}

body .cpc-product-card .cpc-documents-panel[hidden] {
    display: none !important;
}

body .cpc-product-card .cpc-documents-panel {
    position: absolute;
    z-index: 30;
    top: calc(100% + 8px);
    right: 0;
    width: min(290px, calc(100vw - 48px));
    max-height: 360px;
    overflow: auto;
    padding: 12px;
    border: 1px solid var(--cpc-document-panel-border, #d9d9d9) !important;
    border-radius: 8px !important;
    background: var(--cpc-document-panel-background, #fff) !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16) !important;
    color: var(--cpc-document-panel-text-color, #1d2327) !important;
    text-align: left;
}

body .cpc-product-card .cpc-documents-heading {
    margin: 0 0 8px !important;
    padding: 0 4px 8px !important;
    border-bottom: 1px solid var(--cpc-document-panel-border, #d9d9d9) !important;
    color: var(--cpc-document-panel-text-color, #1d2327) !important;
    font-family: var(--cpc-font-family, inherit) !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
}

body .cpc-product-card .cpc-documents-list {
    display: grid;
    gap: 2px;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

body .cpc-product-card .cpc-documents-list li {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

body .cpc-product-card .cpc-documents-list a,
body .cpc-product-card .cpc-documents-list a:visited {
    display: grid !important;
    grid-template-columns: 18px minmax(0, 1fr) auto;
    gap: 9px;
    align-items: center;
    margin: 0 !important;
    padding: 9px 8px !important;
    border: 0 !important;
    border-radius: 5px !important;
    background: transparent !important;
    box-shadow: none !important;
    color: var(--cpc-document-panel-text-color, #1d2327) !important;
    font-family: var(--cpc-font-family, inherit) !important;
    font-size: 13px !important;
    font-style: normal !important;
    font-weight: 500 !important;
    line-height: 1.35 !important;
    text-decoration: none !important;
    text-transform: none !important;
}

body .cpc-product-card .cpc-documents-list a:hover,
body .cpc-product-card .cpc-documents-list a:focus-visible {
    background: var(--cpc-document-icon-hover-background, #f2f5f6) !important;
    color: var(--cpc-document-panel-text-color, #1d2327) !important;
    text-decoration: none !important;
    outline: none !important;
}

body .cpc-product-card .cpc-document-list-icon,
body .cpc-product-card .cpc-document-list-icon svg {
    display: block;
    width: 18px;
    height: 18px;
}

body .cpc-product-card .cpc-document-list-icon svg {
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

body .cpc-product-card .cpc-document-external {
    opacity: 0.6;
    font-size: 14px;
    line-height: 1;
}

@media (max-width: 599px) {
    body .cpc-product-card .cpc-documents-panel {
        width: min(280px, calc(100vw - 52px));
    }
}

/* GHS-Gefahrensymbole und Lagerhinweis am Kartenende, nach dem Preis */
body .cpc-product-card .cpc-product-safety {
    display: grid;
    gap: 10px;
    margin: 14px 0 0 !important;
    padding: 14px 0 0 !important;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    background: transparent !important;
    font-family: var(--cpc-font-family, inherit) !important;
}

body .cpc-product-card .cpc-hazard-pictograms {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    gap: var(--cpc-hazard-icon-gap, 6px);
    align-items: center;
    pointer-events: auto;
}

body .cpc-product-card .cpc-hazard-pictogram {
    display: block !important;
    width: var(--cpc-hazard-icon-size, 38px) !important;
    min-width: var(--cpc-hazard-icon-size, 38px) !important;
    height: var(--cpc-hazard-icon-size, 38px) !important;
    margin: 0 !important;
    padding: 2px !important;
    border: 0 !important;
    border-radius: var(--cpc-hazard-icon-radius, 4px) !important;
    background: var(--cpc-hazard-icon-background, #fff) !important;
    box-shadow: none !important;
    object-fit: contain;
}

body .cpc-product-card .cpc-storage-note {
    display: block;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: var(--cpc-storage-note-color, #45545f) !important;
    font-family: var(--cpc-font-family, inherit) !important;
    font-size: var(--cpc-storage-note-size, 13px) !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: 1.45 !important;
    letter-spacing: normal !important;
    text-transform: none !important;
    overflow-wrap: anywhere;
}

body .cpc-product-card .cpc-storage-note-text {
    display: block;
    margin: 0 !important;
    padding: 0 !important;
    color: inherit !important;
    font-family: inherit !important;
    font-size: inherit !important;
    font-style: inherit !important;
    font-weight: inherit !important;
    line-height: inherit !important;
}

/* Produktvarianten: eine Karte pro Grundartikel */
body .cpc-product-card [hidden] {
    display: none !important;
}

body .cpc-product-card > a.cpc-product-image-link,
body .cpc-product-card > a.cpc-product-image-link:visited {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: inherit !important;
    text-decoration: none !important;
}

body .cpc-product-card a.cpc-product-image-link.is-disabled,
body .cpc-product-card a.cpc-product-title-link.is-disabled {
    cursor: default !important;
    pointer-events: none !important;
}

body .cpc-product-card .cpc-pack-size-control {
    width: min(148px, 100%);
}

body .cpc-product-card select.cpc-variant-select {
    display: block !important;
    width: 100% !important;
    min-width: 96px !important;
    max-width: 148px !important;
    height: auto !important;
    min-height: 34px !important;
    margin: 0 !important;
    padding: 5px 30px 5px 9px !important;
    border: 1px solid var(--cpc-card-border-color, #d9d9d9) !important;
    border-radius: max(3px, calc(var(--cpc-card-radius, 6px) * .65)) !important;
    background-color: var(--cpc-card-background, #fff) !important;
    color: var(--cpc-value-color, #1d2327) !important;
    box-shadow: none !important;
    font-family: var(--cpc-font-family, inherit) !important;
    font-size: var(--cpc-value-size, 15px) !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: 1.3 !important;
    text-align: right !important;
    text-transform: none !important;
    cursor: pointer;
}

body .cpc-product-card select.cpc-variant-select:hover {
    border-color: var(--cpc-label-color, #1d2327) !important;
}

body .cpc-product-card select.cpc-variant-select:focus,
body .cpc-product-card select.cpc-variant-select:focus-visible {
    border-color: var(--cpc-button-background, #005b6b) !important;
    outline: 2px solid color-mix(in srgb, var(--cpc-button-background, #005b6b) 22%, transparent) !important;
    outline-offset: 1px !important;
}

body .cpc-product-card .cpc-hazards-slot:empty {
    display: none !important;
}

@media (max-width: 420px) {
    body .cpc-product-card .cpc-pack-size-control {
        width: min(132px, 100%);
    }

    body .cpc-product-card select.cpc-variant-select {
        max-width: 132px !important;
    }
}


/* Sortierung der Produktübersicht */
body .cpc-catalog .cpc-catalog-toolbar {
    display: grid;
    gap: 8px;
    justify-items: end;
    margin: 0 0 12px !important;
    font-family: var(--cpc-font-family, inherit) !important;
}

body .cpc-catalog .cpc-search-toolbar {
    justify-items: end;
    margin-bottom: 12px !important;
}

body .cpc-catalog .cpc-search-form {
    display: grid !important;
    width: auto;
    max-width: 100%;
    grid-template-columns: 225px auto;
    gap: 10px;
    align-items: end;
    margin: 0 !important;
    padding: 0 !important;
}

body .cpc-catalog .cpc-search-form label {
    grid-column: 1 / -1;
    margin: 0 !important;
    padding: 0 !important;
    color: var(--cpc-label-color, #1d2327) !important;
    font-family: var(--cpc-font-family, inherit) !important;
    font-size: var(--cpc-label-size, 15px) !important;
    font-weight: var(--cpc-label-weight, 600) !important;
    line-height: 1.3 !important;
}

body .cpc-catalog input.cpc-search-input {
    box-sizing: border-box !important;
    width: 225px !important;
    max-width: 100% !important;
    min-height: 46px !important;
    margin: 0 !important;
    padding: 10px 14px !important;
    border: 1px solid var(--cpc-card-border-color, #d9d9d9) !important;
    border-radius: var(--cpc-button-radius, 4px) !important;
    background: var(--cpc-card-background, #fff) !important;
    color: var(--cpc-value-color, #1d2327) !important;
    font-family: var(--cpc-font-family, inherit) !important;
    font-size: var(--cpc-value-size, 15px) !important;
    line-height: 1.3 !important;
}

body .cpc-catalog button.cpc-search-submit {
    box-sizing: border-box !important;
    display: inline-flex !important;
    min-height: 46px !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
}

body .cpc-catalog .cpc-search-reset {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: start;
    align-self: start;
    margin-top: 2px !important;
    color: var(--cpc-secondary-name-color, #5f6b73) !important;
    font-family: var(--cpc-font-family, inherit) !important;
    font-size: 14px !important;
    text-decoration: underline !important;
}

body .cpc-catalog .cpc-sort-form {
    display: flex !important;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: flex-end;
    margin: 0 !important;
    padding: 0 !important;
}

body .cpc-catalog .cpc-sort-form label {
    margin: 0 !important;
    padding: 0 !important;
    color: var(--cpc-label-color, #1d2327) !important;
    font-family: var(--cpc-font-family, inherit) !important;
    font-size: var(--cpc-label-size, 15px) !important;
    font-style: normal !important;
    font-weight: var(--cpc-label-weight, 600) !important;
    line-height: 1.3 !important;
    text-transform: none !important;
}

body .cpc-catalog select.cpc-sort-select {
    box-sizing: border-box !important;
    width: auto !important;
    min-width: 225px !important;
    min-height: 46px !important;
    margin: 0 !important;
    padding: 10px 42px 10px 14px !important;
    border: 1px solid var(--cpc-card-border-color, #d9d9d9) !important;
    border-radius: var(--cpc-button-radius, 4px) !important;
    background-color: var(--cpc-card-background, #fff) !important;
    color: var(--cpc-value-color, #1d2327) !important;
    font-family: var(--cpc-font-family, inherit) !important;
    font-size: var(--cpc-value-size, 15px) !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: 1.3 !important;
    letter-spacing: normal !important;
    text-transform: none !important;
}

body .cpc-catalog button.cpc-sort-submit {
    box-sizing: border-box !important;
    display: inline-flex !important;
    min-height: 46px !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    cursor: pointer;
}

body .cpc-catalog .cpc-sort-notice {
    margin: 0 !important;
    color: var(--cpc-secondary-name-color, #5f6b73) !important;
    font-family: var(--cpc-font-family, inherit) !important;
    font-size: 13px !important;
    font-style: normal !important;
    line-height: 1.4 !important;
}

/* Avada-sichere Mindestabstände für Zurück/Weiter. Gespeicherte kleinere Werte
   werden bewusst nicht unter 28 px zugelassen. */
body .cpc-catalog .cpc-pagination li {
    display: flex !important;
    margin: 0 !important;
    padding: 0 !important;
}

body .cpc-catalog .cpc-pagination a.prev.page-numbers,
body .cpc-catalog .cpc-pagination a.next.page-numbers {
    box-sizing: border-box !important;
    width: auto !important;
    min-width: 116px !important;
    padding: 10px 28px !important;
    padding-top: max(var(--cpc-pagination-padding-y, 10px), 10px) !important;
    padding-right: max(var(--cpc-pagination-padding-x, 28px), 28px) !important;
    padding-bottom: max(var(--cpc-pagination-padding-y, 10px), 10px) !important;
    padding-left: max(var(--cpc-pagination-padding-x, 28px), 28px) !important;
    line-height: 1.4 !important;
    flex: 0 0 auto !important;
}

@media (max-width: 599px) {
    body .cpc-catalog .cpc-catalog-toolbar {
        justify-items: stretch;
    }

    body .cpc-catalog .cpc-search-form {
        width: 100%;
        max-width: none;
    }

    body .cpc-catalog .cpc-search-form,
    body .cpc-catalog .cpc-sort-form {
        display: grid !important;
        grid-template-columns: 1fr;
        justify-content: stretch;
    }

    body .cpc-catalog .cpc-search-form label {
        grid-column: auto;
    }

    body .cpc-catalog input.cpc-search-input,
    body .cpc-catalog button.cpc-search-submit,
    body .cpc-catalog .cpc-search-reset,
    body .cpc-catalog select.cpc-sort-select,
    body .cpc-catalog button.cpc-sort-submit {
        width: 100% !important;
    }
}

/* Version 1.7.0: Prüfvorschrift, CAS sowie H-/P-Sätze */
body .cpc-product-card .cpc-product-standard {
    display: inline-flex;
    max-width: 100%;
    align-self: flex-end;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 4px;
    margin: 0 0 10px auto !important;
    padding: 5px 8px !important;
    border: 1px solid var(--cpc-standard-border, #e1e4e6) !important;
    border-radius: 4px !important;
    background: var(--cpc-standard-background, #f6f7f7) !important;
    color: var(--cpc-standard-color, #45545f) !important;
    font-family: var(--cpc-font-family, inherit) !important;
    font-size: var(--cpc-standard-size, 12px) !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: 1.3 !important;
    letter-spacing: normal !important;
    text-align: right !important;
    text-transform: none !important;
}

body .cpc-product-card .cpc-product-standard-label {
    font-weight: 600 !important;
}

body .cpc-product-card .cpc-pv-value {
    overflow-wrap: anywhere;
}

body .cpc-product-card .cpc-product-names {
    margin-bottom: 10px !important;
}

body .cpc-product-card .cpc-product-cas {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin: 0 0 16px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: var(--cpc-cas-color, #45545f) !important;
    font-family: var(--cpc-font-family, inherit) !important;
    font-size: var(--cpc-cas-size, 13px) !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;
    letter-spacing: normal !important;
    text-transform: none !important;
}

body .cpc-product-card .cpc-product-cas-label {
    font-weight: 600 !important;
}

body .cpc-product-card .cpc-cas-value {
    overflow-wrap: anywhere;
}

body .cpc-product-card .cpc-safety-primary {
    display: grid;
    width: 100%;
    gap: 12px;
    align-items: center;
}

body .cpc-product-card .cpc-safety-primary.has-hazards.has-phrases {
    grid-template-columns: minmax(0, 3fr) minmax(54px, 1fr);
}

body .cpc-product-card .cpc-safety-primary.has-hazards:not(.has-phrases),
body .cpc-product-card .cpc-safety-primary.has-phrases:not(.has-hazards) {
    grid-template-columns: minmax(0, 1fr);
}

body .cpc-product-card .cpc-hazards-slot {
    min-width: 0;
}

body .cpc-product-card .cpc-hp-control {
    display: flex;
    width: 100%;
    justify-content: flex-end;
}

body .cpc-product-card button.cpc-hp-toggle {
    display: inline-flex !important;
    width: 42px !important;
    min-width: 42px !important;
    height: 42px !important;
    min-height: 42px !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid var(--cpc-hp-icon-border, #d9d9d9) !important;
    border-radius: var(--cpc-hp-icon-radius, 50%) !important;
    background: var(--cpc-hp-icon-background, #fff) !important;
    box-shadow: none !important;
    color: var(--cpc-hp-icon-color, #45545f) !important;
    cursor: pointer;
    font-family: var(--cpc-font-family, inherit) !important;
    font-size: 11px !important;
    font-style: normal !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    letter-spacing: -0.2px !important;
    text-transform: none !important;
    appearance: none;
}

body .cpc-product-card button.cpc-hp-toggle:hover,
body .cpc-product-card button.cpc-hp-toggle:focus-visible,
body .cpc-product-card button.cpc-hp-toggle[aria-expanded="true"] {
    border-color: var(--cpc-hp-icon-border, #d9d9d9) !important;
    background: var(--cpc-hp-icon-hover-background, #f2f5f6) !important;
    color: var(--cpc-hp-icon-color, #45545f) !important;
    outline: none !important;
}

body .cpc-product-card button.cpc-hp-toggle:focus-visible {
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--cpc-hp-icon-color, #45545f) 25%, transparent) !important;
}

body .cpc-product-card .cpc-hp-panel {
    display: block;
    width: 100%;
    max-height: 320px;
    overflow: auto;
    margin: 0 !important;
    padding: 11px !important;
    border: 1px solid var(--cpc-hp-panel-border, #d9d9d9) !important;
    border-radius: 6px !important;
    background: var(--cpc-hp-panel-background, #fff) !important;
    color: var(--cpc-hp-panel-text-color, #1d2327) !important;
    font-family: var(--cpc-font-family, inherit) !important;
    text-align: left !important;
}

body .cpc-product-card .cpc-hp-panel[hidden] {
    display: none !important;
}

body .cpc-product-card .cpc-hp-heading {
    margin: 0 0 8px !important;
    padding: 0 0 8px !important;
    border-bottom: 1px solid var(--cpc-hp-panel-border, #d9d9d9) !important;
    color: inherit !important;
    font-family: inherit !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
}

body .cpc-product-card .cpc-hp-list {
    display: grid;
    gap: 0;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

body .cpc-product-card .cpc-hp-list li {
    display: block;
    margin: 0 !important;
    padding: 10px 0 !important;
    border-bottom: 1px solid color-mix(in srgb, var(--cpc-hp-panel-border, #d9d9d9) 72%, transparent) !important;
    list-style: none !important;
}

body .cpc-product-card .cpc-hp-list li:first-child {
    padding-top: 0 !important;
}

body .cpc-product-card .cpc-hp-list li:last-child {
    padding-bottom: 0 !important;
    border-bottom: 0 !important;
}

body .cpc-product-card .cpc-hp-code {
    display: block;
    margin: 0 0 4px !important;
    padding: 0 !important;
    background: transparent !important;
    color: var(--cpc-hp-panel-text-color, #1d2327) !important;
    font-family: inherit !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    white-space: nowrap;
}

body .cpc-product-card .cpc-hp-text {
    display: block;
    margin: 0 !important;
    color: inherit !important;
    font-family: inherit !important;
    font-size: 12px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    overflow-wrap: anywhere;
}

body .cpc-product-card .cpc-hp-text--missing {
    opacity: 0.68;
    font-style: italic !important;
}

@media (max-width: 420px) {
    body .cpc-product-card .cpc-safety-primary.has-hazards.has-phrases {
        grid-template-columns: minmax(0, 3fr) minmax(48px, 1fr);
        gap: 8px;
    }

    body .cpc-product-card button.cpc-hp-toggle {
        width: 38px !important;
        min-width: 38px !important;
        height: 38px !important;
        min-height: 38px !important;
    }
}


/* Version 1.7.1: einheitliche Kartenhoehen und feste Inhaltszonen */
body .cpc-catalog .cpc-product-grid,
body .cpc-product-grid {
    grid-auto-rows: 1fr;
}

body .cpc-product-grid .cpc-product-card,
body .cpc-catalog .cpc-product-card {
    align-self: stretch;
}

/* Die Pruefvorschrift behaelt ihren Platz auch dann, wenn kein Wert vorliegt.
   Dadurch beginnen alle Produktnamen in einer Rasterzeile auf derselben Hoehe. */
body .cpc-product-card .cpc-product-standard {
    min-height: 28px;
}

body .cpc-product-card .cpc-product-standard[hidden] {
    display: inline-flex !important;
    visibility: hidden !important;
}

/* Reserviert Platz fuer unterschiedlich lange Namen und die beiden optionalen
   Zusatzbezeichnungen. Laengere Inhalte duerfen den Bereich weiterhin erweitern. */
body .cpc-product-card .cpc-product-names {
    min-height: 126px;
    align-content: start;
}

/* CAS ist immer vorhanden, notfalls als Gedankenstrich. */
body .cpc-product-card .cpc-product-cas {
    min-height: 20px;
    align-items: baseline;
}

/* Art.-Nr., Packung und PZN bleiben in allen Karten auf einer stabilen Hoehe. */
body .cpc-product-card .cpc-product-data {
    min-height: 104px;
    align-content: start;
}

/* Sicherheitshinweise sitzen einheitlich am Kartenende. */
body .cpc-product-card .cpc-product-safety {
    margin-top: auto !important;
}

@media (max-width: 899px) {
    body .cpc-product-card .cpc-product-names {
        min-height: 112px;
    }
}

@media (max-width: 599px) {
    body .cpc-catalog .cpc-product-grid,
    body .cpc-product-grid {
        grid-auto-rows: auto;
    }

    body .cpc-product-grid .cpc-product-card,
    body .cpc-catalog .cpc-product-card {
        height: auto;
    }

    body .cpc-product-card .cpc-product-names,
    body .cpc-product-card .cpc-product-data {
        min-height: 0;
    }
}


/* Version 1.7.2: 3/4 GHS-Symbole, 1/4 H-/P-Hinweise */
body .cpc-product-card .cpc-safety-primary.has-hazards.has-phrases {
    grid-template-columns: minmax(0, 3fr) minmax(54px, 1fr);
    gap: 10px;
}

/* Bis zu fuenf Symbole bleiben in einer Reihe. Bei schmalen Karten werden sie
   gleichmaessig verkleinert, statt in eine zweite Zeile umzubrechen. */
body .cpc-product-card .cpc-safety-primary.has-hazards.has-phrases .cpc-hazard-pictograms {
    flex-wrap: nowrap;
    overflow: hidden;
}

body .cpc-product-card .cpc-safety-primary.has-hazards.has-phrases .cpc-hazard-pictogram {
    flex: 0 1 var(--cpc-hazard-icon-size, 38px) !important;
    width: var(--cpc-hazard-icon-size, 38px) !important;
    min-width: 0 !important;
    height: auto !important;
    aspect-ratio: 1 / 1;
}

body .cpc-product-card .cpc-safety-primary.has-hazards.has-phrases .cpc-hp-control {
    min-width: 0;
    justify-content: flex-end;
}

@media (max-width: 420px) {
    body .cpc-product-card .cpc-safety-primary.has-hazards.has-phrases {
        grid-template-columns: minmax(0, 3fr) minmax(48px, 1fr);
        gap: 8px;
    }
}

/* Version 1.7.6: Preis und Sicherheit bilden einen gemeinsamen Kartenfuss.
   Freier Hoehenraum liegt oberhalb des Preises, nie zwischen Preis und Trennlinie. */
body .cpc-product-card .cpc-product-footer {
    display: flex;
    width: 100%;
    flex-direction: column;
    margin-top: auto;
}

body .cpc-product-card .cpc-product-footer > .cpc-price {
    margin: 0 !important;
}

body .cpc-product-card .cpc-product-footer > .cpc-product-safety {
    margin: 18px 0 0 !important;
    padding-top: 14px !important;
}

/* Eine stabile Mindesthoehe haelt den Sicherheitsfuss optisch ruhig. */
body .cpc-product-card .cpc-product-footer > .cpc-product-safety:not([hidden]) {
    min-height: 88px;
    align-content: start;
}

/* Alte Regel aus 1.7.1 neutralisieren: Der Kartenfuss, nicht der
   Sicherheitsblock allein, wird unten ausgerichtet. */
body .cpc-product-card .cpc-product-safety {
    margin-top: 18px !important;
}

@media (max-width: 599px) {
    body .cpc-product-card .cpc-product-footer {
        margin-top: 0;
    }
}


/* Version 1.7.8: Prüfangabe oberhalb der Dokumentüberschrift. */
body .cpc-product-card .cpc-documents-standard {
    display: block !important;
    margin: 0 0 12px !important;
    padding: 0 4px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    text-align: left !important;
}

/* "Geprüft nach" entspricht typografisch exakt der Überschrift "Dokumente". */
body .cpc-product-card .cpc-documents-standard-label {
    display: block !important;
    margin: 0 0 8px !important;
    padding: 0 !important;
    border: 0 !important;
    color: var(--cpc-document-panel-text-color, #1d2327) !important;
    font-family: var(--cpc-font-family, inherit) !important;
    font-size: 14px !important;
    font-style: normal !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    letter-spacing: normal !important;
    text-transform: none !important;
}

/* Der Prüfwert entspricht typografisch den Dokumenteinträgen. */
body .cpc-product-card .cpc-documents-standard-value {
    display: block !important;
    min-width: 0;
    margin: 0 !important;
    padding: 9px 8px !important;
    border: 0 !important;
    border-radius: 5px !important;
    background: transparent !important;
    color: var(--cpc-document-panel-text-color, #1d2327) !important;
    font-family: var(--cpc-font-family, inherit) !important;
    font-size: 13px !important;
    font-style: normal !important;
    font-weight: 500 !important;
    line-height: 1.35 !important;
    letter-spacing: normal !important;
    text-transform: none !important;
    overflow-wrap: anywhere;
}

/* Es wird kein leerer Bereich mehr oberhalb des Produktnamens reserviert. */
body .cpc-product-card .cpc-product-standard,
body .cpc-product-card .cpc-product-standard[hidden] {
    display: none !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}


/* Version 1.7.9: CAS folgt direkt auf Zusatzbezeichnungen.
   Der Hoehenausgleich erfolgt weiterhin ueber den unten ausgerichteten Kartenfuss. */
body .cpc-product-card .cpc-product-names {
    min-height: 0 !important;
    margin-bottom: 8px !important;
}

body .cpc-product-card .cpc-product-cas {
    margin-top: 0 !important;
}

@media (max-width: 899px) {
    body .cpc-product-card .cpc-product-names {
        min-height: 0 !important;
    }
}


/* Version 1.8.4: sichtbare Namen der GHS-Piktogramme beim Hover/Fokus. */
body .cpc-product-card .cpc-hazard-item {
    position: relative;
    display: inline-flex;
    flex: 0 1 var(--cpc-hazard-icon-size, 38px);
    min-width: 0;
    align-items: center;
    justify-content: center;
    outline: none;
    cursor: help;
}

body .cpc-product-card .cpc-hazard-item::after {
    position: absolute;
    z-index: 80;
    left: 50%;
    bottom: calc(100% + 8px);
    width: max-content;
    max-width: 220px;
    padding: 6px 8px;
    border-radius: 4px;
    background: #1d2327;
    color: #fff;
    content: attr(data-label);
    font-family: var(--cpc-font-family, inherit);
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 1.3;
    text-align: center;
    white-space: normal;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 4px);
    transition: opacity 120ms ease, transform 120ms ease;
}

body .cpc-product-card .cpc-hazard-item::before {
    position: absolute;
    z-index: 81;
    left: 50%;
    bottom: calc(100% + 3px);
    width: 0;
    height: 0;
    border-right: 5px solid transparent;
    border-left: 5px solid transparent;
    border-top: 5px solid #1d2327;
    content: '';
    opacity: 0;
    pointer-events: none;
    transform: translateX(-50%);
    transition: opacity 120ms ease;
}

body .cpc-product-card .cpc-hazard-item:hover::after,
body .cpc-product-card .cpc-hazard-item:focus-visible::after,
body .cpc-product-card .cpc-hazard-item:hover::before,
body .cpc-product-card .cpc-hazard-item:focus-visible::before {
    opacity: 1;
}

body .cpc-product-card .cpc-hazard-item:hover::after,
body .cpc-product-card .cpc-hazard-item:focus-visible::after {
    transform: translate(-50%, 0);
}

/* CAS ist jetzt eine normale zweispaltige Datenzeile direkt über Art.-Nr. */
body .cpc-product-card .cpc-product-data > div.cpc-product-cas {
    display: grid !important;
    width: 100% !important;
    min-height: 0 !important;
    grid-template-columns: minmax(0, 1fr) max-content !important;
    column-gap: 16px !important;
    align-items: baseline !important;
    margin: 0 !important;
    padding: 0 !important;
    color: inherit !important;
    font-family: var(--cpc-font-family, inherit) !important;
    font-size: inherit !important;
    line-height: inherit !important;
}

body .cpc-product-card .cpc-product-data > div.cpc-product-cas .cpc-cas-value {
    min-width: 0;
    justify-self: end;
    overflow-wrap: normal;
    text-align: right !important;
    white-space: nowrap;
}

/* Die Avada-Klassen bleiben erhalten; die Plugin-Geometrie sorgt für ein sauberes Filterlayout. */
body .cpc-catalog button.cpc-sort-submit .fusion-button-text {
    color: inherit !important;
    font: inherit !important;
    line-height: inherit !important;
}


body .cpc-product-card .cpc-safety-primary.has-hazards.has-phrases .cpc-hazard-pictograms {
    overflow: visible;
}

@media (min-width: 600px) {
    body .cpc-product-card .cpc-product-data {
        min-height: 136px;
    }
}

/* Version 1.8.7: feinere Abstaende, stabiles H-/P-Popover und echte Avada-Sortierschaltflaeche. */
body .cpc-product-card .cpc-product-names {
    margin-bottom: 14px !important;
}

/* H-/P-Inhalt bleibt in der Kartenzeile. Beim Oeffnen reserviert JavaScript
   in allen Nachbarkarten derselben Rasterzeile an exakt dieser Stelle Platz. */
body .cpc-product-card .cpc-hp-panel {
    position: static !important;
    z-index: auto !important;
    box-shadow: none !important;
}

body .cpc-product-card .cpc-hp-row-reserve {
    display: none;
    width: 100%;
    min-height: 0;
    pointer-events: none;
}

body .cpc-product-card .cpc-hp-row-reserve.is-active {
    display: block;
}

body .cpc-product-card .cpc-product-safety.cpc-hp-row-peer {
    display: grid !important;
}

/* Der regelmaessige Abstand bleibt ausschliesslich zwischen Symbolzeile und Lagertext. */
body .cpc-product-card .cpc-safety-primary + .cpc-storage-note {
    margin-top: 0 !important;
}

/* Avada uebernimmt die komplette visuelle Gestaltung. Das Plugin legt nur die Geometrie fest. */
body .cpc-catalog button.fusion-button.cpc-sort-submit {
    display: inline-flex !important;
    min-height: 46px !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    cursor: pointer;
}

body .cpc-catalog button.fusion-button.cpc-sort-submit:hover,
body .cpc-catalog button.fusion-button.cpc-sort-submit:focus-visible {
    outline-offset: 2px;
}

body .cpc-catalog button.cpc-sort-submit .fusion-button-text {
    color: inherit !important;
    font: inherit !important;
}

.cpc-prefilled-certificate-field {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}


/* Version 1.8.10: GHS-Hinweise werden als globaler Tooltip am <body>
   ausgegeben. Dadurch koennen weder Kartenrahmen noch Avada-Container
   den Text abschneiden. */
body .cpc-product-card .cpc-hazard-item::before,
body .cpc-product-card .cpc-hazard-item::after {
    display: none !important;
}

.cpc-hazard-tooltip {
    position: fixed;
    z-index: 2147483000;
    width: max-content;
    max-width: min(260px, calc(100vw - 20px));
    padding: 7px 9px;
    border-radius: 4px;
    background: #1d2327;
    color: #fff;
    font-family: var(--cpc-font-family, inherit);
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 1.35;
    text-align: center;
    white-space: normal;
    overflow-wrap: anywhere;
    opacity: 0;
    pointer-events: none;
    transform: translateY(4px);
    transition: opacity 120ms ease, transform 120ms ease;
}

.cpc-hazard-tooltip.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.cpc-hazard-tooltip::after {
    position: absolute;
    left: var(--cpc-tooltip-arrow-left, 50%);
    width: 0;
    height: 0;
    border-right: 5px solid transparent;
    border-left: 5px solid transparent;
    content: '';
    transform: translateX(-50%);
}

.cpc-hazard-tooltip[data-placement="top"]::after {
    top: 100%;
    border-top: 5px solid #1d2327;
}

.cpc-hazard-tooltip[data-placement="bottom"]::after {
    bottom: 100%;
    border-bottom: 5px solid #1d2327;
}

/* Version 1.9.5: Reset-Link auf kleinen Bildschirmen unter Eingabe und Button. */
@media (max-width: 599px) {
    body .cpc-catalog .cpc-search-reset {
        grid-column: auto;
        grid-row: auto;
        justify-self: start;
        width: auto !important;
    }
}


/* Version 1.9.6: Suche und Sortierung sind technisch gekoppelt und optisch identisch. */
@media (min-width: 600px) {
    body .cpc-catalog .cpc-search-form,
    body .cpc-catalog .cpc-sort-form {
        display: grid !important;
        width: 402px !important;
        max-width: 100% !important;
        grid-template-columns: 260px 132px !important;
        gap: 10px !important;
        align-items: stretch !important;
        justify-content: end !important;
    }

    body .cpc-catalog input.cpc-search-input,
    body .cpc-catalog select.cpc-sort-select {
        width: 260px !important;
        min-width: 260px !important;
        max-width: 260px !important;
        height: 46px !important;
        min-height: 46px !important;
    }

    body .cpc-catalog button.cpc-search-submit,
    body .cpc-catalog button.cpc-sort-submit,
    body .cpc-catalog button.fusion-button.cpc-search-submit,
    body .cpc-catalog button.fusion-button.cpc-sort-submit {
        box-sizing: border-box !important;
        width: 132px !important;
        min-width: 132px !important;
        max-width: 132px !important;
        height: 46px !important;
        min-height: 46px !important;
        padding: 0 20px !important;
        align-items: center !important;
        justify-content: center !important;
        line-height: 1.2 !important;
    }

    body .cpc-catalog .cpc-search-reset {
        grid-column: 1 / -1 !important;
        grid-row: auto !important;
        justify-self: start !important;
        width: auto !important;
        margin-top: 2px !important;
    }
}

@media (max-width: 599px) {
    body .cpc-catalog input.cpc-search-input,
    body .cpc-catalog select.cpc-sort-select,
    body .cpc-catalog button.cpc-search-submit,
    body .cpc-catalog button.cpc-sort-submit {
        min-height: 46px !important;
    }
}


/* Große Produktbildansicht als echtes modales Dialogfenster */
html.cpc-lightbox-open,
body.cpc-lightbox-open {
    overflow: hidden !important;
}

body dialog.cpc-image-popup {
    position: fixed !important;
    inset: 0 !important;
    z-index: 2147483647 !important;
    box-sizing: border-box !important;
    display: none !important;
    width: var(--cpc-popup-dialog-width, min(1000px, calc(100vw - 32px))) !important;
    height: var(--cpc-popup-dialog-height, auto) !important;
    max-width: calc(100vw - 32px) !important;
    max-height: calc(100dvh - 32px) !important;
    margin: auto !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    background: #fff !important;
    color: #1d2327 !important;
    box-shadow: 0 24px 80px rgba(0, 0, 0, .42) !important;
    opacity: 0;
    transform: scale(.98);
    transition: opacity 160ms ease, transform 160ms ease;
}

body dialog.cpc-image-popup[open] {
    display: flex !important;
    flex-direction: column !important;
}

body dialog.cpc-image-popup.is-open {
    opacity: 1;
    transform: scale(1);
}

body dialog.cpc-image-popup::backdrop {
    background: rgba(0, 0, 0, .76) !important;
    backdrop-filter: blur(1px);
}

body dialog.cpc-image-popup .cpc-image-popup-close {
    position: absolute !important;
    z-index: 3 !important;
    top: 12px !important;
    right: 12px !important;
    display: grid !important;
    width: 42px !important;
    min-width: 42px !important;
    height: 42px !important;
    min-height: 42px !important;
    place-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid rgba(0, 0, 0, .15) !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, .96) !important;
    color: #1d2327 !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, .16) !important;
    font-family: Arial, sans-serif !important;
    font-size: 30px !important;
    font-style: normal !important;
    font-weight: 300 !important;
    line-height: 1 !important;
    cursor: pointer !important;
}

body dialog.cpc-image-popup .cpc-image-popup-close:hover,
body dialog.cpc-image-popup .cpc-image-popup-close:focus-visible {
    background: #fff !important;
    transform: scale(1.04);
}

body dialog.cpc-image-popup .cpc-image-popup-stage {
    display: grid !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    place-items: center !important;
    overflow: hidden !important;
    padding: 58px 24px 24px !important;
    background: #fff !important;
}

body dialog.cpc-image-popup img.cpc-image-popup-image {
    display: block !important;
    width: var(--cpc-popup-image-width, auto) !important;
    max-width: min(1000px, calc(100vw - 80px)) !important;
    height: var(--cpc-popup-image-height, auto) !important;
    max-height: min(1000px, calc(100dvh - 180px)) !important;
    margin: auto !important;
    object-fit: contain !important;
}

body dialog.cpc-image-popup .cpc-image-popup-caption {
    flex: 0 0 auto !important;
    box-sizing: border-box !important;
    width: 100% !important;
    padding: 13px 22px 16px !important;
    border-top: 1px solid rgba(0, 0, 0, .09) !important;
    background: #fff !important;
    color: #1d2327 !important;
    font-family: var(--cpc-font-family, inherit) !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    text-align: center !important;
}

@media (max-width: 600px) {
    body dialog.cpc-image-popup {
        width: var(--cpc-popup-dialog-width, calc(100vw - 20px)) !important;
        height: var(--cpc-popup-dialog-height, auto) !important;
        max-width: calc(100vw - 20px) !important;
        max-height: calc(100dvh - 20px) !important;
        border-radius: 6px !important;
    }

    body dialog.cpc-image-popup .cpc-image-popup-stage {
        padding: 54px 14px 18px !important;
    }

    body dialog.cpc-image-popup img.cpc-image-popup-image {
        max-width: min(1000px, calc(100vw - 48px)) !important;
        max-height: min(1000px, calc(100dvh - 160px)) !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    body dialog.cpc-image-popup {
        transition: none !important;
    }
}


/* Version 1.14.0: frei platzierbarer Produktgruppen-Filter */
body .cpc-catalog .cpc-filter-toolbar {
    justify-items: end;
    margin-bottom: 12px !important;
}

body .cpc-catalog .cpc-filter-form {
    display: flex !important;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: flex-end;
    margin: 0 !important;
    padding: 0 !important;
}

body .cpc-catalog select.cpc-filter-select {
    box-sizing: border-box !important;
    width: auto !important;
    min-width: 225px !important;
    min-height: 46px !important;
    margin: 0 !important;
    padding: 10px 42px 10px 14px !important;
    border: 1px solid var(--cpc-card-border-color, #d9d9d9) !important;
    border-radius: var(--cpc-button-radius, 4px) !important;
    background-color: var(--cpc-card-background, #fff) !important;
    color: var(--cpc-value-color, #1d2327) !important;
    font-family: var(--cpc-font-family, inherit) !important;
    font-size: var(--cpc-value-size, 15px) !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: 1.3 !important;
    letter-spacing: normal !important;
    text-transform: none !important;
}

body .cpc-catalog button.cpc-filter-submit,
body .cpc-catalog button.fusion-button.cpc-filter-submit {
    box-sizing: border-box !important;
    display: inline-flex !important;
    min-height: 46px !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    cursor: pointer;
}

@media (min-width: 600px) {
    body .cpc-catalog .cpc-filter-form {
        display: grid !important;
        width: 402px !important;
        max-width: 100% !important;
        grid-template-columns: 260px 132px !important;
        gap: 10px !important;
        align-items: stretch !important;
        justify-content: end !important;
    }

    body .cpc-catalog select.cpc-filter-select {
        width: 260px !important;
        min-width: 260px !important;
        max-width: 260px !important;
        height: 46px !important;
        min-height: 46px !important;
    }

    body .cpc-catalog button.cpc-filter-submit,
    body .cpc-catalog button.fusion-button.cpc-filter-submit {
        width: 132px !important;
        min-width: 132px !important;
        max-width: 132px !important;
        height: 46px !important;
        min-height: 46px !important;
        padding: 0 20px !important;
        line-height: 1.2 !important;
    }
}

@media (max-width: 599px) {
    body .cpc-catalog .cpc-filter-form {
        display: grid !important;
        width: 100% !important;
        grid-template-columns: 1fr !important;
        justify-content: stretch !important;
    }

    body .cpc-catalog select.cpc-filter-select,
    body .cpc-catalog button.cpc-filter-submit {
        width: 100% !important;
        min-height: 46px !important;
    }
}

/* Version 1.16.0: kombinierte Such-/Filter-/Sortierleiste */
body .cpc-catalog .cpc-catalog-toolbar-combined {
    justify-items: stretch;
    margin: 0 0 12px !important;
}

body .cpc-catalog .cpc-combined-toolbar-form {
    display: block !important;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
}

body .cpc-catalog .cpc-combined-toolbar-row {
    display: grid !important;
    grid-template-columns: minmax(260px, 1.7fr) minmax(210px, 1fr) minmax(220px, 1fr);
    gap: 12px;
    align-items: center;
    width: 100%;
}

body .cpc-catalog .cpc-combined-toolbar-item {
    min-width: 0;
}

body .cpc-catalog input.cpc-combined-search-input,
body .cpc-catalog select.cpc-combined-filter-select,
body .cpc-catalog select.cpc-combined-sort-select {
    width: 100% !important;
    min-width: 0 !important;
}

body .cpc-catalog .cpc-combined-toolbar-submit {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

body .cpc-catalog .cpc-combined-toolbar-reset-wrap {
    margin-top: 6px !important;
}

body .cpc-catalog .cpc-combined-search-reset {
    display: inline-block;
}

@media (max-width: 900px) {
    body .cpc-catalog .cpc-combined-toolbar-row {
        grid-template-columns: 1fr;
    }
}

/* Version 1.16.1: kompakte Katalogleiste im Stil einer gemeinsamen Filterbox */
body .cpc-catalog .cpc-catalog-toolbar-combined {
    box-sizing: border-box !important;
    width: 100% !important;
    margin: 0 0 12px !important;
    padding: 14px !important;
    border: 1px solid var(--cpc-card-border-color, #d9d9d9) !important;
    border-radius: 5px !important;
    background: var(--cpc-card-background, #fff) !important;
}

body .cpc-catalog .cpc-combined-toolbar-form {
    width: 100% !important;
}

body .cpc-catalog .cpc-combined-toolbar-row {
    grid-template-columns: minmax(320px, 2fr) minmax(220px, 1fr) minmax(250px, 1.08fr) !important;
    gap: 10px !important;
    align-items: stretch !important;
}

body .cpc-catalog input.cpc-combined-search-input,
body .cpc-catalog select.cpc-combined-filter-select,
body .cpc-catalog select.cpc-combined-sort-select {
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 48px !important;
    min-height: 48px !important;
    margin: 0 !important;
    border: 1px solid #cfd4d8 !important;
    border-radius: 4px !important;
    background-color: #fff !important;
    color: var(--cpc-value-color, #1d2327) !important;
    font-family: var(--cpc-font-family, inherit) !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    line-height: 1.3 !important;
    box-shadow: none !important;
}

body .cpc-catalog input.cpc-combined-search-input {
    padding: 11px 15px !important;
}

body .cpc-catalog select.cpc-combined-filter-select,
body .cpc-catalog select.cpc-combined-sort-select {
    padding: 11px 42px 11px 15px !important;
}

body .cpc-catalog input.cpc-combined-search-input:hover,
body .cpc-catalog select.cpc-combined-filter-select:hover,
body .cpc-catalog select.cpc-combined-sort-select:hover {
    border-color: #aeb4b9 !important;
}

body .cpc-catalog input.cpc-combined-search-input:focus,
body .cpc-catalog select.cpc-combined-filter-select:focus,
body .cpc-catalog select.cpc-combined-sort-select:focus {
    border-color: var(--cpc-button-background, #1f5968) !important;
    outline: 1px solid var(--cpc-button-background, #1f5968) !important;
    outline-offset: 0 !important;
    box-shadow: none !important;
}

body .cpc-catalog input.cpc-combined-search-input::placeholder {
    color: #66727a !important;
    opacity: 1 !important;
}

body .cpc-catalog .cpc-combined-toolbar-reset-wrap {
    margin: 8px 0 -2px !important;
}

body .cpc-catalog .cpc-combined-search-reset {
    color: var(--cpc-secondary-name-color, #5f6b73) !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
    text-decoration: underline !important;
}

@media (max-width: 1024px) and (min-width: 600px) {
    body .cpc-catalog .cpc-combined-toolbar-row {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    body .cpc-catalog .cpc-combined-toolbar-item--search {
        grid-column: 1 / -1;
    }
}

@media (max-width: 599px) {
    body .cpc-catalog .cpc-catalog-toolbar-combined {
        padding: 10px !important;
    }

    body .cpc-catalog .cpc-combined-toolbar-row {
        grid-template-columns: 1fr !important;
        gap: 8px !important;
    }
}

/* Version 1.16.2: Felder füllen die gemeinsame Filterbox vollständig aus */
body .cpc-catalog .cpc-catalog-toolbar-combined {
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    overflow: visible !important;
}

body .cpc-catalog .cpc-combined-toolbar-row {
    box-sizing: border-box !important;
    width: 100% !important;
    grid-template-columns: minmax(340px, 2fr) minmax(220px, 1fr) minmax(250px, 1.08fr) !important;
    gap: 0 !important;
    align-items: stretch !important;
    overflow: hidden !important;
    border: 1px solid var(--cpc-card-border-color, #d9d9d9) !important;
    border-radius: 5px !important;
    background: var(--cpc-card-background, #fff) !important;
}

body .cpc-catalog .cpc-combined-toolbar-item {
    display: flex !important;
    min-width: 0 !important;
    min-height: 58px !important;
    align-items: stretch !important;
}

body .cpc-catalog .cpc-combined-toolbar-item + .cpc-combined-toolbar-item {
    border-left: 1px solid var(--cpc-card-border-color, #d9d9d9) !important;
}

body .cpc-catalog input.cpc-combined-search-input,
body .cpc-catalog select.cpc-combined-filter-select,
body .cpc-catalog select.cpc-combined-sort-select {
    display: block !important;
    width: 100% !important;
    height: 58px !important;
    min-height: 58px !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background-color: transparent !important;
    box-shadow: none !important;
}

body .cpc-catalog input.cpc-combined-search-input {
    padding: 15px 18px !important;
}

body .cpc-catalog select.cpc-combined-filter-select,
body .cpc-catalog select.cpc-combined-sort-select {
    padding: 15px 46px 15px 18px !important;
}

body .cpc-catalog input.cpc-combined-search-input:hover,
body .cpc-catalog select.cpc-combined-filter-select:hover,
body .cpc-catalog select.cpc-combined-sort-select:hover {
    background-color: #f8f9fa !important;
}

body .cpc-catalog input.cpc-combined-search-input:focus,
body .cpc-catalog select.cpc-combined-filter-select:focus,
body .cpc-catalog select.cpc-combined-sort-select:focus {
    position: relative !important;
    z-index: 1 !important;
    border: 0 !important;
    outline: 0 !important;
    background-color: #fff !important;
    box-shadow: inset 0 0 0 2px var(--cpc-button-background, #1f5968) !important;
}

body .cpc-catalog .cpc-combined-toolbar-reset-wrap {
    margin: 6px 0 0 !important;
}

@media (max-width: 1024px) and (min-width: 600px) {
    body .cpc-catalog .cpc-combined-toolbar-row {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    body .cpc-catalog .cpc-combined-toolbar-item--search {
        grid-column: 1 / -1;
        border-bottom: 1px solid var(--cpc-card-border-color, #d9d9d9) !important;
    }

    body .cpc-catalog .cpc-combined-toolbar-item--filter {
        border-left: 0 !important;
    }
}

@media (max-width: 599px) {
    body .cpc-catalog .cpc-combined-toolbar-row {
        grid-template-columns: 1fr !important;
        gap: 0 !important;
    }

    body .cpc-catalog .cpc-combined-toolbar-item + .cpc-combined-toolbar-item {
        border-left: 0 !important;
        border-top: 1px solid var(--cpc-card-border-color, #d9d9d9) !important;
    }
}


/* Version 1.16.3: Suchfeld und Sortierung füllen ihre Bereiche vollständig aus */
body .cpc-catalog .cpc-combined-toolbar-item,
body .cpc-catalog .cpc-combined-toolbar-item > * {
    width: 100% !important;
    max-width: none !important;
}

body .cpc-catalog .cpc-combined-toolbar-item {
    flex: 1 1 auto !important;
}

body .cpc-catalog .cpc-combined-toolbar-item > input.cpc-combined-search-input,
body .cpc-catalog .cpc-combined-toolbar-item > select.cpc-combined-filter-select,
body .cpc-catalog .cpc-combined-toolbar-item > select.cpc-combined-sort-select {
    flex: 1 1 auto !important;
    align-self: stretch !important;
    max-width: none !important;
    min-width: 0 !important;
}

/* Version 1.16.4: dezenter Fokusrahmen in der kombinierten Produktleiste */
body .cpc-catalog input.cpc-combined-search-input:focus,
body .cpc-catalog select.cpc-combined-filter-select:focus,
body .cpc-catalog select.cpc-combined-sort-select:focus,
body .cpc-catalog input.cpc-combined-search-input:focus-visible,
body .cpc-catalog select.cpc-combined-filter-select:focus-visible,
body .cpc-catalog select.cpc-combined-sort-select:focus-visible {
    outline: 0 !important;
    box-shadow: inset 0 0 0 1px var(--cpc-button-background, #1f5968) !important;
}

/* Version 1.16.5: keine optische Veränderung beim Fokussieren der Produktleiste */
body .cpc-catalog input.cpc-combined-search-input:focus,
body .cpc-catalog select.cpc-combined-filter-select:focus,
body .cpc-catalog select.cpc-combined-sort-select:focus,
body .cpc-catalog input.cpc-combined-search-input:focus-visible,
body .cpc-catalog select.cpc-combined-filter-select:focus-visible,
body .cpc-catalog select.cpc-combined-sort-select:focus-visible {
    border: 0 !important;
    outline: 0 !important;
    background-color: transparent !important;
    box-shadow: none !important;
}

/* Version 1.16.6: kein Textcursor in Filter- und Sortierauswahl */
body .cpc-catalog select.cpc-combined-filter-select,
body .cpc-catalog select.cpc-combined-sort-select,
body .cpc-catalog select.cpc-filter-select,
body .cpc-catalog select.cpc-sort-select {
    cursor: pointer !important;
    caret-color: transparent !important;
    user-select: none !important;
    -webkit-user-select: none !important;
}

body .cpc-catalog select.cpc-combined-filter-select option,
body .cpc-catalog select.cpc-combined-sort-select option,
body .cpc-catalog select.cpc-filter-select option,
body .cpc-catalog select.cpc-sort-select option {
    cursor: pointer !important;
}

/* Version 1.16.7: Dropdown-Pfeile mit mehr Abstand zum rechten Rand */
body .cpc-catalog select.cpc-combined-filter-select,
body .cpc-catalog select.cpc-combined-sort-select,
body .cpc-catalog select.cpc-filter-select,
body .cpc-catalog select.cpc-sort-select {
    -webkit-appearance: none !important;
    appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%235f6b73' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 17px center !important;
    background-size: 12px 8px !important;
}


/* Version 1.16.8: Sortierung bei Leisten ohne Kategorienfilter rechts ausrichten */
body .cpc-catalog .cpc-combined-toolbar-row--without-filter {
    grid-template-columns: minmax(340px, 2fr) minmax(250px, 1.08fr) !important;
}

@media (max-width: 1024px) and (min-width: 600px) {
    body .cpc-catalog .cpc-combined-toolbar-row--without-filter {
        grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr) !important;
    }

    body .cpc-catalog .cpc-combined-toolbar-row--without-filter .cpc-combined-toolbar-item--search {
        grid-column: auto !important;
        border-bottom: 0 !important;
    }
}

@media (max-width: 599px) {
    body .cpc-catalog .cpc-combined-toolbar-row--without-filter {
        grid-template-columns: 1fr !important;
    }
}

/* Version 1.17.3: Suchfeld-X in derselben Farbe wie die Dropdown-Pfeile */
body .cpc-catalog input.cpc-search-input::-webkit-search-cancel-button,
body .cpc-catalog input.cpc-combined-search-input::-webkit-search-cancel-button {
    -webkit-appearance: none !important;
    appearance: none !important;
    width: 14px !important;
    height: 14px !important;
    margin: 0 1px 0 8px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath d='M2.25 2.25 11.75 11.75M11.75 2.25 2.25 11.75' fill='none' stroke='%235f6b73' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 14px 14px !important;
    cursor: pointer !important;
}

/* Version 1.19.3: Dokumentlink sitzt direkt nach dem Preis. */
body .cpc-product-card .cpc-product-footer > .cpc-documents-slot:not([hidden]) + .cpc-product-safety {
    margin-top: 12px !important;
}

/* Version 1.19.4: Dokumentpanel bleibt vollstaendig innerhalb der Produktkachel. */
body .cpc-product-card .cpc-documents,
body .cpc-product-card .cpc-documents-slot {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
}

body .cpc-product-card .cpc-documents-panel {
    position: static !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    max-height: 360px;
    margin: 8px 0 0 !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
}

body .cpc-product-card .cpc-documents-panel *,
body .cpc-product-card .cpc-documents-list,
body .cpc-product-card .cpc-documents-list li,
body .cpc-product-card .cpc-documents-list a {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
}

body .cpc-product-card .cpc-documents-list a {
    overflow-wrap: anywhere;
    word-break: normal;
}

@media (max-width: 599px) {
    body .cpc-product-card .cpc-documents-panel {
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* Version 1.19.5: Weitere Infos und Dokumente als Overlay innerhalb der Karte. */
body .cpc-product-card .cpc-documents {
    position: static !important;
    z-index: auto !important;
    width: 100%;
    margin: 12px 0 0 !important;
}

body .cpc-product-card .cpc-documents[hidden] {
    display: none !important;
}

body .cpc-product-card .cpc-documents-slot,
body .cpc-product-card .cpc-documents-slot:not([hidden]) {
    width: 100%;
    margin: 0 !important;
}

body .cpc-product-card .cpc-documents-panel {
    position: absolute !important;
    z-index: 100 !important;
    inset: 12px !important;
    top: 12px !important;
    right: 12px !important;
    bottom: 12px !important;
    left: 12px !important;
    width: auto !important;
    max-width: none !important;
    height: auto !important;
    max-height: none !important;
    box-sizing: border-box !important;
    overflow: auto !important;
    padding: 18px !important;
    border: 1px solid var(--cpc-document-panel-border, #d9d9d9) !important;
    border-radius: 8px !important;
    background: var(--cpc-document-panel-background, #fff) !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18) !important;
    color: var(--cpc-document-panel-text-color, #1d2327) !important;
    text-align: left !important;
}

body .cpc-product-card button.cpc-documents-close {
    position: sticky !important;
    z-index: 2 !important;
    top: 0 !important;
    float: right !important;
    display: inline-flex !important;
    width: 32px !important;
    min-width: 32px !important;
    height: 32px !important;
    min-height: 32px !important;
    align-items: center !important;
    justify-content: center !important;
    margin: -4px -4px 2px 10px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: var(--cpc-document-icon-hover-background, #f2f5f6) !important;
    box-shadow: none !important;
    color: var(--cpc-document-icon-color, #45545f) !important;
    cursor: pointer !important;
    font-family: Arial, sans-serif !important;
    font-size: 24px !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    appearance: none !important;
}

body .cpc-product-card button.cpc-documents-close:hover,
body .cpc-product-card button.cpc-documents-close:focus-visible {
    background: var(--cpc-document-icon-hover-background, #f2f5f6) !important;
    color: var(--cpc-document-icon-color, #45545f) !important;
    outline: 2px solid currentColor !important;
    outline-offset: 2px !important;
}

body .cpc-product-card .cpc-more-info-content {
    display: grid;
    width: 100%;
    gap: 18px;
    clear: both;
    padding-top: 4px;
}

body .cpc-product-card .cpc-product-safety {
    display: grid;
    min-height: 0 !important;
    gap: 18px;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
}

body .cpc-product-card .cpc-safety-notices,
body .cpc-product-card .cpc-storage-block {
    display: grid;
    gap: 10px;
    margin: 0 !important;
    padding: 0 !important;
}

body .cpc-product-card .cpc-more-info-heading {
    margin: 0 !important;
    padding: 0 0 8px !important;
    border-bottom: 1px solid var(--cpc-document-panel-border, #d9d9d9) !important;
    color: var(--cpc-document-panel-text-color, #1d2327) !important;
    font-family: var(--cpc-font-family, inherit) !important;
    font-size: 14px !important;
    font-style: normal !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    text-transform: none !important;
}

body .cpc-product-card .cpc-storage-note {
    margin: 0 !important;
    padding: 0 4px !important;
}

body .cpc-product-card .cpc-hp-panel {
    max-height: none !important;
}

@media (max-width: 599px) {
    body .cpc-product-card .cpc-documents-panel {
        inset: 10px !important;
        top: 10px !important;
        right: 10px !important;
        bottom: 10px !important;
        left: 10px !important;
        width: auto !important;
        padding: 16px !important;
    }
}


/* Version 1.19.7: AE-Preis sitzt direkt unter der PZN im Produktdatenblock. */
body .cpc-product-card .cpc-product-data > .cpc-price {
    width: 100%;
    margin: 0 !important;
}

body .cpc-product-card .cpc-product-data > .cpc-price.cpc-price--visible {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) max-content !important;
    column-gap: 16px !important;
    align-items: baseline !important;
}

body .cpc-product-card .cpc-product-data > .cpc-price.cpc-price--locked {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    gap: 5px !important;
}

/* Version 1.19.11: moderne, gruppierte Suchergebnisse */
body.search.cpc-search-modern .cpc-search-results-container {
    display: block !important;
    width: 100%;
}

body.search.cpc-search-modern .cpc-search-overview {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin: 0 0 34px;
    padding: 18px 20px;
    border: 1px solid var(--cpc-card-border-color, #d9d9d9);
    border-radius: var(--cpc-card-radius, 6px);
    background: var(--cpc-card-background, #fff);
    font-family: var(--cpc-font-family, inherit);
}

body.search.cpc-search-modern .cpc-search-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: baseline;
    min-width: 0;
    color: var(--cpc-value-color, #1d2327);
    font-size: 15px;
}

body.search.cpc-search-modern .cpc-search-summary-count {
    font-weight: 700;
}

body.search.cpc-search-modern .cpc-search-summary-term {
    color: var(--cpc-secondary-name-color, #5f6b73);
    overflow-wrap: anywhere;
}

body.search.cpc-search-modern .cpc-search-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

body.search.cpc-search-modern button.cpc-search-filter {
    min-height: 38px;
    margin: 0 !important;
    padding: 8px 14px !important;
    border: 1px solid var(--cpc-card-border-color, #d9d9d9) !important;
    border-radius: 999px !important;
    background: #fff !important;
    box-shadow: none !important;
    color: var(--cpc-value-color, #1d2327) !important;
    cursor: pointer;
    font-family: var(--cpc-font-family, inherit) !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    text-transform: none !important;
}

body.search.cpc-search-modern button.cpc-search-filter:hover,
body.search.cpc-search-modern button.cpc-search-filter:focus-visible {
    border-color: var(--cpc-button-background, #005b6b) !important;
    color: var(--cpc-button-background, #005b6b) !important;
}

body.search.cpc-search-modern button.cpc-search-filter.is-active {
    border-color: var(--cpc-button-background, #005b6b) !important;
    background: var(--cpc-button-background, #005b6b) !important;
    color: var(--cpc-button-text-color, #fff) !important;
}

body.search.cpc-search-modern .cpc-search-sections {
    display: grid;
    width: 100%;
    gap: 46px;
}

body.search.cpc-search-modern .cpc-search-section[hidden] {
    display: none !important;
}

body.search.cpc-search-modern .cpc-search-section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 0 0 18px;
    padding: 0 0 10px;
    border-bottom: 1px solid var(--cpc-card-border-color, #d9d9d9);
}

body.search.cpc-search-modern .cpc-search-section-heading h2 {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    color: var(--cpc-title-color, #1d2327) !important;
    font-family: var(--cpc-font-family, inherit) !important;
    font-size: clamp(20px, 2vw, 26px) !important;
    font-weight: 650 !important;
    line-height: 1.25 !important;
}

body.search.cpc-search-modern .cpc-search-section-heading span {
    display: inline-flex;
    min-width: 28px;
    height: 28px;
    align-items: center;
    justify-content: center;
    padding: 0 8px;
    border-radius: 999px;
    background: var(--cpc-standard-background, #f6f7f7);
    color: var(--cpc-standard-color, #45545f);
    font-size: 12px;
    font-weight: 700;
}

body.search.cpc-search-modern .cpc-search-section-list {
    display: grid;
    width: 100%;
    gap: var(--cpc-grid-gap, 24px);
}

body.search.cpc-search-modern .cpc-search-section-list--products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
}

body.search.cpc-search-modern .cpc-search-section-list--documents {
    grid-template-columns: 1fr;
    gap: 12px;
}

body.search.cpc-search-modern .cpc-search-section-list--pages,
body.search.cpc-search-modern .cpc-search-section-list--news,
body.search.cpc-search-modern .cpc-search-section-list--other {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.search.cpc-search-modern article.cpc-search-result-item {
    float: none !important;
    width: auto !important;
    min-width: 0;
    margin: 0 !important;
}

/* Avadas eigene Kartenhülle bei Caelo-Treffern vollständig neutralisieren. */
body.search.cpc-search-modern article.cpc-search-card-result,
body.search.cpc-search-modern article.cpc-search-card-result .fusion-post-wrapper,
body.search.cpc-search-modern article.cpc-search-card-result .fusion-post-content-wrapper,
body.search.cpc-search-modern article.cpc-search-card-result .post-content-container,
body.search.cpc-search-modern article.cpc-search-card-result .fusion-post-content-container,
body.search.cpc-search-modern article.cpc-search-card-result .entry-content,
body.search.cpc-search-modern article.cpc-search-card-result .post-content {
    height: 100%;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

body.search.cpc-search-modern article.cpc-search-card-result .fusion-post-wrapper {
    display: flex;
    width: 100%;
}

body.search.cpc-search-modern article.cpc-search-card-result .entry-title,
body.search.cpc-search-modern article.cpc-search-card-result .fusion-single-line-meta,
body.search.cpc-search-modern article.cpc-search-card-result .fusion-alignleft,
body.search.cpc-search-modern article.cpc-search-card-result .fusion-alignright,
body.search.cpc-search-modern article.cpc-search-card-result .fusion-content-sep,
body.search.cpc-search-modern article.cpc-search-card-result .read-more,
body.search.cpc-search-modern article.cpc-search-card-result .fusion-meta-info,
body.search.cpc-search-modern article.cpc-search-card-result .fusion-post-content-wrapper > *:not(.fusion-post-content-container):not(.entry-content):not(.post-content),
body.search.cpc-search-modern article.cpc-search-card-result .fusion-post-content-container > *:not(.cpc-search-card-host),
body.search.cpc-search-modern article.cpc-search-card-result .entry-content > *:not(.cpc-search-card-host),
body.search.cpc-search-modern article.cpc-search-card-result .post-content > *:not(.cpc-search-card-host) {
    display: none !important;
}

body.search.cpc-search-modern article.cpc-search-card-result .cpc-search-card-host,
body.search.cpc-search-modern article.cpc-search-card-result .cpc-search-card-host > .cpc-product-card {
    display: flex;
    width: 100%;
    height: 100%;
}

body.search.cpc-search-modern article.cpc-search-card-result .cpc-search-card-host {
    margin: 0 !important;
}

/* Dokumente bewusst kompakter als Produktkarten. */
body.search.cpc-search-modern .cpc-search-document-card {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    width: 100%;
    min-height: 94px;
    padding: 16px 18px;
    border: 1px solid var(--cpc-card-border-color, #d9d9d9);
    border-radius: var(--cpc-card-radius, 6px);
    background: var(--cpc-card-background, #fff);
    color: var(--cpc-value-color, #1d2327);
    font-family: var(--cpc-font-family, inherit);
}

body.search.cpc-search-modern .cpc-search-document-card:hover {
    border-color: var(--cpc-button-background, #005b6b);
}

body.search.cpc-search-modern .cpc-search-document-icon {
    display: flex;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--cpc-standard-background, #f6f7f7);
    color: var(--cpc-button-background, #005b6b);
}

body.search.cpc-search-modern .cpc-search-document-icon svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

body.search.cpc-search-modern .cpc-search-document-main {
    min-width: 0;
}

body.search.cpc-search-modern .cpc-search-document-kicker {
    margin: 0 0 3px;
    color: var(--cpc-secondary-name-color, #5f6b73);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .02em;
    line-height: 1.3;
}

body.search.cpc-search-modern .cpc-search-document-title,
body.search.cpc-search-modern .cpc-search-document-title a {
    color: var(--cpc-title-color, #1d2327) !important;
    font-size: 16px !important;
    font-weight: 650 !important;
    line-height: 1.35 !important;
    text-decoration: none !important;
}

body.search.cpc-search-modern .cpc-search-document-title a:hover {
    text-decoration: underline !important;
}

body.search.cpc-search-modern .cpc-search-document-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 14px;
    margin-top: 7px;
    color: var(--cpc-secondary-name-color, #5f6b73);
    font-size: 12px;
    line-height: 1.4;
}

body.search.cpc-search-modern .cpc-search-document-product-link {
    color: var(--cpc-button-background, #005b6b) !important;
    font-weight: 600;
    text-decoration: none !important;
}

body.search.cpc-search-modern .cpc-search-document-open,
body.search.cpc-search-modern .cpc-search-document-open:visited {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border-radius: var(--cpc-button-radius, 4px);
    background: var(--cpc-button-background, #005b6b);
    color: var(--cpc-button-text-color, #fff) !important;
    font-size: 13px;
    font-weight: 650;
    line-height: 1.2;
    text-decoration: none !important;
    white-space: nowrap;
}

body.search.cpc-search-modern .cpc-search-document-open:hover,
body.search.cpc-search-modern .cpc-search-document-open:focus-visible {
    background: var(--cpc-button-hover-background, #00444f);
}

/* Seiten und News: ruhige, kompakte Inhaltskarten. */
body.search.cpc-search-modern article.cpc-search-type-pages,
body.search.cpc-search-modern article.cpc-search-type-news,
body.search.cpc-search-modern article.cpc-search-type-other {
    height: 100%;
    padding: 20px !important;
    border: 1px solid var(--cpc-card-border-color, #d9d9d9) !important;
    border-radius: var(--cpc-card-radius, 6px) !important;
    background: var(--cpc-card-background, #fff) !important;
    box-shadow: none !important;
}

body.search.cpc-search-modern article.cpc-search-type-pages:hover,
body.search.cpc-search-modern article.cpc-search-type-news:hover,
body.search.cpc-search-modern article.cpc-search-type-other:hover {
    border-color: var(--cpc-button-background, #005b6b) !important;
}

body.search.cpc-search-modern article.cpc-search-type-pages .entry-title,
body.search.cpc-search-modern article.cpc-search-type-news .entry-title,
body.search.cpc-search-modern article.cpc-search-type-other .entry-title,
body.search.cpc-search-modern article.cpc-search-type-pages .entry-title a,
body.search.cpc-search-modern article.cpc-search-type-news .entry-title a,
body.search.cpc-search-modern article.cpc-search-type-other .entry-title a {
    color: var(--cpc-title-color, #1d2327) !important;
    font-family: var(--cpc-font-family, inherit) !important;
    font-size: 18px !important;
    font-weight: 650 !important;
    line-height: 1.35 !important;
    text-decoration: none !important;
}

body.search.cpc-search-modern article.cpc-search-type-pages .fusion-meta-info,
body.search.cpc-search-modern article.cpc-search-type-pages .fusion-single-line-meta {
    display: none !important;
}

body.search.cpc-search-modern article.cpc-search-type-pages .fusion-post-content-container,
body.search.cpc-search-modern article.cpc-search-type-news .fusion-post-content-container,
body.search.cpc-search-modern article.cpc-search-type-other .fusion-post-content-container,
body.search.cpc-search-modern article.cpc-search-type-pages .entry-content,
body.search.cpc-search-modern article.cpc-search-type-news .entry-content,
body.search.cpc-search-modern article.cpc-search-type-other .entry-content {
    color: var(--cpc-secondary-name-color, #5f6b73) !important;
    font-family: var(--cpc-font-family, inherit) !important;
    font-size: 14px !important;
    line-height: 1.55 !important;
}

body.search.cpc-search-modern article.cpc-search-type-pages .fusion-post-wrapper,
body.search.cpc-search-modern article.cpc-search-type-news .fusion-post-wrapper,
body.search.cpc-search-modern article.cpc-search-type-other .fusion-post-wrapper,
body.search.cpc-search-modern article.cpc-search-type-pages .fusion-post-content-wrapper,
body.search.cpc-search-modern article.cpc-search-type-news .fusion-post-content-wrapper,
body.search.cpc-search-modern article.cpc-search-type-other .fusion-post-content-wrapper {
    height: 100%;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

@media (max-width: 1024px) {
    body.search.cpc-search-modern .cpc-search-section-list--products,
    body.search.cpc-search-modern .cpc-search-section-list--pages,
    body.search.cpc-search-modern .cpc-search-section-list--news,
    body.search.cpc-search-modern .cpc-search-section-list--other {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    body.search.cpc-search-modern .cpc-search-overview {
        align-items: flex-start;
        flex-direction: column;
        margin-bottom: 28px;
        padding: 16px;
    }

    body.search.cpc-search-modern .cpc-search-filters {
        width: 100%;
        justify-content: flex-start;
    }

    body.search.cpc-search-modern .cpc-search-section-list--products,
    body.search.cpc-search-modern .cpc-search-section-list--pages,
    body.search.cpc-search-modern .cpc-search-section-list--news,
    body.search.cpc-search-modern .cpc-search-section-list--other {
        grid-template-columns: 1fr;
    }

    body.search.cpc-search-modern .cpc-search-document-card {
        grid-template-columns: 42px minmax(0, 1fr);
        gap: 12px;
        padding: 14px;
    }

    body.search.cpc-search-modern .cpc-search-document-icon {
        width: 42px;
        height: 42px;
    }

    body.search.cpc-search-modern .cpc-search-document-open {
        grid-column: 1 / -1;
        width: 100%;
        margin-top: 2px;
    }
}

/* Version 1.19.14: Suchergebnisse werden komplett in einem eigenen Caelo-Raster gerendert.
   Avadas Treffer-Wrapper bleiben nur fuer die Pagination im DOM und beeinflussen die Karten nicht mehr. */
body.search.cpc-search-modern .cpc-search-custom-results {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    flex: 0 0 100% !important;
    grid-column: 1 / -1 !important;
    column-span: all;
    clear: both !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.search.cpc-search-modern .cpc-search-results-container {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    columns: auto !important;
    column-count: 1 !important;
    transform: none !important;
}

/* Die originalen Avada-Treffer werden nicht dargestellt. Sie bleiben im DOM,
   damit Avadas Pagination und die Hauptabfrage unveraendert funktionieren. */
body.search.cpc-search-modern article.cpc-search-result-item {
    display: none !important;
}

body.search.cpc-search-modern .cpc-search-custom-results .cpc-search-overview,
body.search.cpc-search-modern .cpc-search-custom-results .cpc-search-sections,
body.search.cpc-search-modern .cpc-search-custom-results .cpc-search-section,
body.search.cpc-search-modern .cpc-search-custom-results .cpc-search-section-list {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
}

body.search.cpc-search-modern .cpc-search-custom-results .cpc-search-section-list--products {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: var(--cpc-grid-gap, 24px) !important;
    align-items: stretch !important;
}

body.search.cpc-search-modern .cpc-search-custom-results .cpc-search-section-list--products > .cpc-product-card {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
}

body.search.cpc-search-modern .cpc-search-custom-results .cpc-search-section-list--documents {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
}

body.search.cpc-search-modern .cpc-search-custom-results .cpc-search-section-list--pages,
body.search.cpc-search-modern .cpc-search-custom-results .cpc-search-section-list--news,
body.search.cpc-search-modern .cpc-search-custom-results .cpc-search-section-list--other {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: var(--cpc-grid-gap, 24px) !important;
}

body.search.cpc-search-modern .cpc-search-content-card {
    display: flex;
    min-width: 0;
    min-height: 190px;
    flex-direction: column;
    padding: 22px;
    border: 1px solid var(--cpc-card-border-color, #d9d9d9);
    border-radius: var(--cpc-card-radius, 6px);
    background: var(--cpc-card-background, #fff);
    color: var(--cpc-value-color, #1d2327);
    font-family: var(--cpc-font-family, inherit);
}

body.search.cpc-search-modern .cpc-search-content-card:hover {
    border-color: var(--cpc-button-background, #005b6b);
}

body.search.cpc-search-modern .cpc-search-content-kicker {
    margin: 0 0 8px;
    color: var(--cpc-secondary-name-color, #5f6b73);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: .04em;
}

body.search.cpc-search-modern .cpc-search-content-title {
    margin: 0 0 10px !important;
    padding: 0 !important;
    font-family: var(--cpc-font-family, inherit) !important;
    font-size: 19px !important;
    font-weight: var(--cpc-title-weight, 650) !important;
    line-height: 1.35 !important;
}

body.search.cpc-search-modern .cpc-search-content-title a,
body.search.cpc-search-modern .cpc-search-content-title a:visited {
    color: var(--cpc-title-color, #1d2327) !important;
    text-decoration: none !important;
}

body.search.cpc-search-modern .cpc-search-content-title a:hover,
body.search.cpc-search-modern .cpc-search-content-title a:focus-visible {
    text-decoration: underline !important;
}

body.search.cpc-search-modern .cpc-search-content-excerpt {
    margin: 0 0 18px !important;
    color: var(--cpc-secondary-name-color, #5f6b73) !important;
    font-size: 14px !important;
    line-height: 1.55 !important;
}

body.search.cpc-search-modern .cpc-search-content-link,
body.search.cpc-search-modern .cpc-search-content-link:visited {
    margin-top: auto;
    color: var(--cpc-button-background, #005b6b) !important;
    font-size: 14px;
    font-weight: 650;
    text-decoration: none !important;
}

body.search.cpc-search-modern .cpc-search-content-link:hover,
body.search.cpc-search-modern .cpc-search-content-link:focus-visible {
    text-decoration: underline !important;
}

@media (max-width: 1100px) {
    body.search.cpc-search-modern .cpc-search-custom-results .cpc-search-section-list--products {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 767px) {
    body.search.cpc-search-modern .cpc-search-custom-results .cpc-search-section-list--products,
    body.search.cpc-search-modern .cpc-search-custom-results .cpc-search-section-list--pages,
    body.search.cpc-search-modern .cpc-search-custom-results .cpc-search-section-list--news,
    body.search.cpc-search-modern .cpc-search-custom-results .cpc-search-section-list--other {
        grid-template-columns: 1fr !important;
    }
}

/* 1.19.16: Produkt-Suchergebnisse benutzen exakt das Produktkatalog-Raster. */
body.search.cpc-search-modern .cpc-search-custom-results .cpc-search-section-list--products.cpc-product-grid--cols-4 {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: var(--cpc-grid-gap, 24px) !important;
    align-items: stretch !important;
}

body.search.cpc-search-modern .cpc-search-filter > span {
    margin-left: 4px;
    opacity: .72;
    font-size: .9em;
    font-weight: 600;
}

body.search.cpc-search-modern .cpc-search-filter.is-active > span {
    opacity: .9;
}

@media (max-width: 1199px) {
    body.search.cpc-search-modern .cpc-search-custom-results .cpc-search-section-list--products.cpc-product-grid--cols-4 {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 899px) {
    body.search.cpc-search-modern .cpc-search-custom-results .cpc-search-section-list--products.cpc-product-grid--cols-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 599px) {
    body.search.cpc-search-modern .cpc-search-custom-results .cpc-search-section-list--products.cpc-product-grid--cols-4 {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
}

/* 1.19.17: Caelo-Rot fuer Highlights und Buttons der Suchoberflaeche. */
body.search.cpc-search-modern {
    --cpc-search-accent: #d30030;
}

body.search.cpc-search-modern button.cpc-search-filter:hover,
body.search.cpc-search-modern button.cpc-search-filter:focus-visible {
    border-color: #d30030 !important;
    color: #d30030 !important;
}

body.search.cpc-search-modern button.cpc-search-filter.is-active,
body.search.cpc-search-modern button.cpc-search-filter.is-active:hover,
body.search.cpc-search-modern button.cpc-search-filter.is-active:focus-visible {
    border-color: #d30030 !important;
    background: #d30030 !important;
    color: #fff !important;
}

body.search.cpc-search-modern .cpc-search-document-card:hover,
body.search.cpc-search-modern .cpc-search-content-card:hover {
    border-color: #d30030 !important;
}

body.search.cpc-search-modern .cpc-search-document-icon,
body.search.cpc-search-modern .cpc-search-document-product-link,
body.search.cpc-search-modern .cpc-search-content-link,
body.search.cpc-search-modern .cpc-search-content-link:visited {
    color: #d30030 !important;
}

body.search.cpc-search-modern .cpc-search-document-open,
body.search.cpc-search-modern .cpc-search-document-open:visited,
body.search.cpc-search-modern .cpc-search-document-open:hover,
body.search.cpc-search-modern .cpc-search-document-open:focus-visible {
    background: #d30030 !important;
    color: #fff !important;
}

body.search.cpc-search-modern .cpc-search-document-open:hover,
body.search.cpc-search-modern .cpc-search-document-open:focus-visible {
    box-shadow: inset 0 0 0 999px rgba(0, 0, 0, 0.08);
}

/* 1.19.18: Abstand unterhalb der gesamten Suchergebnisse. */
body.search.cpc-search-modern .cpc-search-custom-results {
    margin-bottom: 80px !important;
}

/* 1.19.22: Avadas Suchloop besitzt links/rechts einen negativen 20-px-Gutter.
   Der Ergebnisblock wird links um 20 px ausgeglichen, behaelt aber 100 % Breite.
   So fluchten beide Kanten mit Suchfeld und Trennlinien oberhalb. */
body.search.cpc-search-modern .cpc-search-custom-results {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 20px !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

@media (max-width: 767px) {
    body.search.cpc-search-modern .cpc-search-custom-results {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

/* 1.19.30: stabile, serverseitige Pagination je Suchbereich. */
body.search.cpc-search-modern .cpc-search-section-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 26px 0 8px;
    font-family: var(--cpc-font-family, inherit);
}

body.search.cpc-search-modern .cpc-search-section-pagination .cpc-search-page,
body.search.cpc-search-modern .cpc-search-section-pagination .cpc-search-page:visited {
    display: inline-flex;
    min-width: 38px;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    padding: 7px 11px;
    border: 1px solid var(--cpc-card-border-color, #d9d9d9);
    border-radius: var(--cpc-pagination-radius, 4px);
    background: #fff;
    color: var(--cpc-value-color, #1d2327) !important;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none !important;
}

body.search.cpc-search-modern .cpc-search-section-pagination a.cpc-search-page:hover,
body.search.cpc-search-modern .cpc-search-section-pagination a.cpc-search-page:focus-visible {
    border-color: #d30030 !important;
    color: #d30030 !important;
}

body.search.cpc-search-modern .cpc-search-section-pagination .cpc-search-page.is-current {
    border-color: #d30030 !important;
    background: #d30030 !important;
    color: #fff !important;
}

body.search.cpc-search-modern .cpc-search-section-pagination .cpc-search-page--prev,
body.search.cpc-search-modern .cpc-search-section-pagination .cpc-search-page--next {
    padding-right: 16px;
    padding-left: 16px;
}

body.search.cpc-search-modern .cpc-search-section-pagination .cpc-search-page-dots {
    display: inline-flex;
    min-width: 24px;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    color: var(--cpc-secondary-name-color, #5f6b73);
}

/* Die Avada-Gesamtpagination wuerde jetzt eine andere (globale) Seiteneinteilung
   anzeigen und wird deshalb auf der Caelo-Suchseite ausgeblendet. */
body.search.cpc-search-modern .fusion-pagination-tb,
body.search.cpc-search-modern .fusion-pagination,
body.search.cpc-search-modern nav.pagination,
body.search.cpc-search-modern .pagination:not(.cpc-search-section-pagination) {
    display: none !important;
}
