.ropd,
.ropd * {
    box-sizing: border-box;
}

.ropd {
    --ropd-blue: #009ee3;
    --ropd-blue-dark: #007fba;
    --ropd-text: #525252;
    --ropd-headline: #313131;
    --ropd-muted: #777777;
    --ropd-soft: #f5f7fa;
    --ropd-line: #c5ced8;
    --ropd-white: #ffffff;
    --ropd-low-stock: #e99002;
    --ropd-card-shadow: 0 2px 9px rgba(49, 49, 49, .14);
    --ropd-card-width: 246px;
    --ropd-card-gap: 24px;
    --ropd-side-width: 320px;
    --ropd-max-width: 1360px;

    container-name: ropd;
    container-type: inline-size;
    display: block;
    width: 100%;
    max-width: var(--ropd-max-width);
    margin: 0 auto;
    padding: 0;
    border: 0;
    border-radius: 0 !important;
    background: var(--ropd-white);
    color: var(--ropd-text);
    font-family: "Open Sans", sans-serif;
    letter-spacing: 0;
}

.ropd a {
    text-decoration: none;
}

.ropd p,
.ropd h2,
.ropd h3 {
    margin-top: 0;
}

.ropd__section-head,
.ropd__tabs-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    min-width: 0;
    margin-bottom: 8px;
}

.ropd__section-heading,
.ropd__tabs-heading {
    min-width: 0;
}

.ropd .ropd__eyebrow {
    margin: 0 0 7px !important;
    color: var(--ropd-blue) !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    letter-spacing: 0 !important;
    text-transform: uppercase;
}

.ropd .ropd__section-title,
.ropd .ropd__category-title,
.ropd .ropd__tabs-title {
    max-width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    color: var(--ropd-headline) !important;
    background: transparent !important;
    font-family: "Aleo", Georgia, "Times New Roman", serif !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
    overflow-wrap: anywhere;
    white-space: normal !important;
    text-transform: none !important;
}

.ropd .ropd__section-title {
    font-size: 36px !important;
    line-height: 1.1 !important;
}

.ropd .ropd__category-title {
    font-size: 30px !important;
    line-height: 1.08 !important;
}

.ropd .ropd__tabs-title {
    font-size: 34px !important;
    line-height: 1.1 !important;
}

.ropd__tabs-copy,
.ropd__category-copy {
    max-width: 720px;
    color: var(--ropd-muted);
    font-size: 15px;
    line-height: 1.5;
}

.ropd__tabs-copy {
    margin-top: 10px;
}

.ropd__tabs-copy > :last-child,
.ropd__category-copy > :last-child {
    margin-bottom: 0;
}

.ropd .ropd__text-link,
.ropd .ropd__button,
.ropd .ropd__tab {
    appearance: none;
    min-height: 46px;
    border-radius: 0 !important;
    font-family: "Open Sans", sans-serif;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.2;
    letter-spacing: 0 !important;
}

.ropd .ropd__text-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    max-width: 100%;
    padding: 0 16px;
    border: 1px solid var(--ropd-line);
    background: var(--ropd-white);
    color: var(--ropd-blue) !important;
    overflow-wrap: anywhere;
    text-align: left;
    white-space: normal;
    transition: border-color .14s ease, color .14s ease;
}

.ropd .ropd__text-link:hover,
.ropd .ropd__text-link:focus-visible {
    border-color: var(--ropd-blue);
    color: var(--ropd-blue-dark) !important;
    outline: none;
}

.ropd__all-links {
    display: flex;
    flex: 0 0 auto;
}

.ropd .ropd__all-link {
    display: none;
}

.ropd .ropd__all-link.is-active {
    display: inline-flex;
}

/* Slider */

.ropd__simple,
.ropd__category-slider,
.ropd__panel,
.ropd__panels,
.ropd__slider-frame,
.ropd__viewport {
    min-width: 0;
}

.ropd__panel[hidden] {
    display: none !important;
}

.ropd__slider-frame {
    position: relative;
    isolation: isolate;
}

.ropd__viewport {
    width: 100%;
    overflow: hidden;
}

.ropd__track {
    display: flex;
    align-items: stretch;
    gap: var(--ropd-card-gap);
    width: 100%;
    margin: 0;
    padding: 2px 0 14px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scroll-padding-inline: 0;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.ropd__track::-webkit-scrollbar {
    display: none;
}

.ropd__product-card {
    display: flex;
    min-width: 0;
    min-height: 0;
    flex: 0 0 var(--ropd-card-width);
    flex-direction: column;
    overflow: hidden;
    border: 0 !important;
    border-radius: 0 !important;
    background: var(--ropd-white) !important;
    box-shadow: var(--ropd-card-shadow) !important;
    scroll-snap-align: start;
}

.ropd__content-section {
    min-width: 0;
}

.ropd__content-section + .ropd__content-section {
    margin-top: 34px;
}

.ropd--fixed-items .ropd__product-card {
    flex-basis: calc(
        (100% - (var(--ropd-visible-items) - 1) * var(--ropd-card-gap)) /
        var(--ropd-visible-items)
    );
}

.ropd__product-media {
    display: grid;
    place-items: center;
    height: 232px;
    flex: 0 0 232px;
    padding: 22px;
    overflow: hidden;
    background: var(--ropd-white);
}

.ropd__product-media img {
    display: block;
    width: 92%;
    height: 92%;
    max-width: 100%;
    object-fit: contain;
}

.ropd__product-body {
    display: flex;
    min-width: 0;
    flex: 1 1 auto;
    flex-direction: column;
    padding: 14px 18px 18px;
}

.ropd__product-tags {
    display: flex;
    min-height: 20px;
    flex-wrap: wrap;
    align-content: flex-start;
    gap: 4px;
    margin-bottom: 9px;
}

.ropd .ropd__badge {
    display: inline-flex;
    align-items: center;
    min-height: 17px;
    padding: 0 5px;
    border: 1px solid var(--ropd-blue) !important;
    border-radius: 0 !important;
    background: var(--ropd-blue) !important;
    color: var(--ropd-white) !important;
    font-size: 10px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
    text-transform: uppercase;
}

.ropd .ropd__product-title {
    min-height: 62px;
    max-height: 64px;
    margin: 0 0 10px !important;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    color: var(--ropd-headline) !important;
    font-family: "Open Sans", sans-serif !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    line-height: 1.32 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
}

.ropd .ropd__product-title a {
    color: inherit !important;
}

.ropd .ropd__product-title a:hover,
.ropd .ropd__product-title a:focus-visible {
    color: var(--ropd-blue) !important;
    outline: none;
}

.ropd__price-row {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 7px;
    margin-top: 0;
}

.ropd .ropd__price {
    color: var(--ropd-headline) !important;
    font-size: 20px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
}

.ropd .ropd__price--request {
    color: var(--ropd-muted) !important;
    font-weight: 400 !important;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.ropd .ropd__price--sale {
    color: var(--ropd-blue) !important;
    font-weight: 700 !important;
}

.ropd__old-price,
.ropd__discount {
    color: var(--ropd-muted);
    font-size: 14px;
    line-height: 1.25;
}

.ropd__old-price {
    text-decoration: line-through;
}

.ropd .ropd__price-supplement {
    margin: 3px 0 0 !important;
    color: var(--ropd-muted) !important;
    font-family: "Open Sans", sans-serif !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 1.3 !important;
    letter-spacing: 0 !important;
}

.ropd__product-meta {
    display: grid;
    gap: 5px;
    margin-top: 9px;
}

.ropd .ropd__tax-note,
.ropd .ropd__availability,
.ropd .ropd__article-number {
    margin: 0 !important;
    color: var(--ropd-headline);
    font-size: 13px !important;
    line-height: 1.28 !important;
    letter-spacing: 0 !important;
    overflow-wrap: anywhere;
}

.ropd .ropd__tax-note a {
    color: var(--ropd-blue);
}

.ropd .ropd__availability {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 18px;
}

.ropd .ropd__availability--available {
    color: #158a20;
}

.ropd .ropd__availability--low {
    color: var(--ropd-low-stock);
}

.ropd .ropd__availability--unavailable {
    color: var(--ropd-muted);
}

.ropd__availability-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    border-radius: 50%;
    background: currentColor;
}

.ropd .ropd__article-number {
    margin-top: 4px !important;
    font-size: 14px !important;
    font-weight: 400 !important;
}

/* Navigation liegt über dem Slider und benötigt keinen eigenen Platz. */

.ropd .ropd__nav-button {
    appearance: none;
    position: absolute;
    top: 50%;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 76px;
    margin: 0;
    padding: 0;
    border: 0 !important;
    border-radius: 0 !important;
    background: rgba(245, 247, 250, .94) !important;
    color: var(--ropd-blue) !important;
    box-shadow: none !important;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-50%);
    transition: background-color .14s ease, color .14s ease, opacity .14s ease;
}

.ropd .ropd__nav-button--prev {
    left: 0;
}

.ropd .ropd__nav-button--next {
    right: 0;
}

.ropd__slider-frame:hover .ropd__nav-button,
.ropd__slider-frame:focus-within .ropd__nav-button {
    opacity: 1;
    pointer-events: auto;
}

.ropd .ropd__nav-button:hover:not(:disabled),
.ropd .ropd__nav-button:focus-visible:not(:disabled) {
    background: var(--ropd-blue) !important;
    color: var(--ropd-white) !important;
    outline: none;
}

.ropd .ropd__nav-button:disabled {
    opacity: 0;
    cursor: default;
    pointer-events: none;
}

.ropd__slider-frame:hover .ropd__nav-button:disabled,
.ropd__slider-frame:focus-within .ropd__nav-button:disabled {
    opacity: .22;
}

.ropd__nav-icon {
    display: block;
    width: 11px;
    height: 11px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
}

.ropd__nav-button--prev .ropd__nav-icon {
    transform: rotate(135deg);
}

.ropd__nav-button--next .ropd__nav-icon {
    transform: rotate(-45deg);
}

.ropd__dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    min-height: 24px;
    margin-top: 8px;
}

.ropd__dots[hidden] {
    display: none !important;
}

.ropd .ropd__dot {
    appearance: none;
    width: 10px;
    height: 10px;
    margin: 0;
    padding: 0;
    border: 0 !important;
    border-radius: 50% !important;
    background: #e7e7e7 !important;
    cursor: pointer;
}

.ropd .ropd__dot.is-active {
    width: 12px;
    height: 12px;
    background: #9d9d9d !important;
}

.ropd .ropd__dot:focus-visible {
    outline: 2px solid var(--ropd-blue);
    outline-offset: 3px;
}

/* Kategorie vorne */

.ropd--side-match-card.ropd--fixed-items {
    --ropd-side-width: calc(
        (100% - var(--ropd-visible-items) * var(--ropd-card-gap)) /
        (var(--ropd-visible-items) + 1)
    );
}

.ropd--side-match-card:not(.ropd--fixed-items) {
    --ropd-side-width: var(--ropd-card-width);
}

.ropd__category-layout {
    display: grid;
    grid-template-columns: minmax(0, var(--ropd-side-width)) minmax(0, 1fr);
    align-items: stretch;
    gap: var(--ropd-card-gap);
}

.ropd__category-teaser {
    display: flex;
    min-width: 0;
    min-height: 0;
    flex-direction: column;
    justify-content: center;
    padding: 18px 4px;
    background: transparent;
}

.ropd__category-copy {
    margin: 18px 0 26px;
}

.ropd .ropd__button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    align-self: flex-start;
    gap: 16px;
    padding: 0 18px;
    border: 1px solid var(--ropd-blue) !important;
    background: var(--ropd-blue) !important;
    color: var(--ropd-white) !important;
    transition: background-color .14s ease, border-color .14s ease;
}

.ropd .ropd__button:hover,
.ropd .ropd__button:focus-visible {
    border-color: var(--ropd-blue-dark) !important;
    background: var(--ropd-blue-dark) !important;
    outline: none;
}

/* Kategorie-Tabs */

.ropd--tabs .ropd__section-head {
    margin-bottom: 12px;
}

.ropd__tabs-head {
    align-items: flex-start;
}

.ropd__tabs {
    display: flex;
    flex-wrap: nowrap;
    gap: 9px;
    margin-bottom: 10px;
    overflow-x: auto;
    scrollbar-width: none;
}

.ropd__tabs::-webkit-scrollbar {
    display: none;
}

.ropd .ropd__tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: max-content;
    padding: 0 19px;
    border: 1px solid var(--ropd-line) !important;
    background: transparent !important;
    color: var(--ropd-blue) !important;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color .14s ease, border-color .14s ease, color .14s ease;
}

.ropd .ropd__tab:hover,
.ropd .ropd__tab:focus-visible {
    border-color: var(--ropd-blue) !important;
    outline: none;
}

.ropd .ropd__tab.is-active {
    border-color: var(--ropd-blue) !important;
    background: var(--ropd-blue) !important;
    color: var(--ropd-white) !important;
}

/* Kategorien nutzen dieselbe Rasterbreite und Slidermechanik wie Produkte. */

.ropd__category-card {
    display: flex;
    min-width: 0;
    flex: 0 0 var(--ropd-card-width);
    overflow: hidden;
    border: 0 !important;
    border-radius: 0 !important;
    background: var(--ropd-white) !important;
    box-shadow: var(--ropd-card-shadow) !important;
    scroll-snap-align: start;
}

.ropd--fixed-items .ropd__category-card {
    flex-basis: calc(
        (100% - (var(--ropd-visible-items) - 1) * var(--ropd-card-gap)) /
        var(--ropd-visible-items)
    );
}

.ropd__category-card-link {
    display: flex;
    width: 100%;
    min-width: 0;
    flex-direction: column;
    color: var(--ropd-headline) !important;
}

.ropd__category-media {
    display: grid;
    width: 100%;
    height: 214px;
    place-items: center;
    flex: 0 0 214px;
    padding: 12px;
    overflow: hidden;
    background: var(--ropd-white);
}

.ropd__category-media img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    margin: 0 !important;
    object-fit: contain !important;
    object-position: center !important;
}

.ropd__category-body {
    display: flex;
    min-height: 104px;
    flex: 1 1 auto;
    flex-direction: column;
    justify-content: space-between;
    gap: 14px;
    padding: 16px 18px 18px;
}

.ropd__category-name {
    color: var(--ropd-headline) !important;
    font-family: "Open Sans", sans-serif !important;
    font-size: 17px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    letter-spacing: 0 !important;
    overflow-wrap: anywhere;
}

.ropd__category-action {
    color: var(--ropd-blue) !important;
    font-size: 13px;
    font-weight: 600;
}

.ropd__category-card-link:hover .ropd__category-name,
.ropd__category-card-link:focus-visible .ropd__category-name {
    color: var(--ropd-blue) !important;
}

.ropd__category-card-link:focus-visible {
    outline: 2px solid var(--ropd-blue);
    outline-offset: -2px;
}

@container ropd (max-width: 1040px) {
    .ropd__category-layout {
        grid-template-columns: 1fr;
    }

    .ropd__category-teaser {
        min-height: 0;
        padding: 0;
    }

    .ropd__category-slider {
        min-width: 0;
    }

    .ropd--fixed-items .ropd__product-card,
    .ropd__product-card {
        flex-basis: 246px;
    }
}

@container ropd (max-width: 760px) {
    .ropd__section-head,
    .ropd__tabs-head {
        align-items: stretch;
        flex-direction: column;
        gap: 14px;
    }

    .ropd .ropd__section-title,
    .ropd .ropd__tabs-title {
        font-size: 30px !important;
    }

    .ropd .ropd__category-title {
        font-size: 28px !important;
    }

    .ropd .ropd__text-link {
        align-self: flex-start;
    }

    .ropd--fixed-items .ropd__product-card,
    .ropd__product-card {
        flex-basis: min(84cqw, 320px);
        min-height: 0;
    }

    .ropd .ropd__nav-button {
        width: 32px;
        height: 64px;
        opacity: 1;
        pointer-events: auto;
    }

    .ropd .ropd__nav-button:disabled {
        opacity: .2;
    }
}

@container ropd (max-width: 480px) {
    .ropd .ropd__section-title,
    .ropd .ropd__tabs-title,
    .ropd .ropd__category-title {
        font-size: 26px !important;
    }

    .ropd--fixed-items .ropd__product-card,
    .ropd__product-card {
        flex-basis: calc(100cqw - 28px);
    }

    .ropd__product-media {
        height: 220px;
        flex-basis: 220px;
    }

    .ropd__tabs {
        margin-right: -12px;
    }
}

@supports not (container-type: inline-size) {
    @media (max-width: 1040px) {
        .ropd__category-layout {
            grid-template-columns: 1fr;
        }

        .ropd__category-teaser {
            min-height: 0;
            padding: 0;
        }

        .ropd--fixed-items .ropd__product-card,
        .ropd__product-card {
            flex-basis: 246px;
        }
    }

    @media (max-width: 760px) {
        .ropd__section-head,
        .ropd__tabs-head {
            align-items: stretch;
            flex-direction: column;
        }

        .ropd--fixed-items .ropd__product-card,
        .ropd__product-card {
            flex-basis: min(84vw, 320px);
        }

        .ropd .ropd__nav-button {
            opacity: 1;
            pointer-events: auto;
        }
    }
}

@media (prefers-reduced-motion: reduce) {
    .ropd__track {
        scroll-behavior: auto;
    }

    .ropd .ropd__nav-button,
    .ropd .ropd__tab,
    .ropd .ropd__text-link,
    .ropd .ropd__button {
        transition: none;
    }
}

/* Responsive stability layer */

.ropd {
    max-width: min(var(--ropd-max-width), 100%);
    min-width: 0;
    overflow: hidden;
}

.ropd__section-head,
.ropd__tabs-head {
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.ropd__slider-frame,
.ropd__viewport,
.ropd__track {
    min-width: 0;
    min-height: 0 !important;
    height: auto !important;
}

.ropd__track {
    align-items: flex-start;
    padding-bottom: 7px;
}

.ropd__product-card {
    height: auto !important;
    align-self: flex-start;
}

.ropd__product-media {
    height: 200px;
    flex-basis: 200px;
    padding: 14px;
}

.ropd__product-media img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
}

.ropd .ropd__section-title,
.ropd .ropd__tabs-title,
.ropd .ropd__category-title,
.ropd .ropd__product-title {
    max-width: 100%;
    overflow-wrap: anywhere;
}

@media (max-width: 760px) {
    .ropd {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .ropd__section-head,
    .ropd__tabs-head {
        align-items: flex-start;
        gap: 6px;
        margin-bottom: 6px;
    }

    .ropd .ropd__section-title,
    .ropd .ropd__tabs-title,
    .ropd .ropd__category-title {
        font-size: 24px !important;
        line-height: 1.16 !important;
    }

    .ropd .ropd__eyebrow {
        margin-bottom: 4px !important;
        font-size: 10px !important;
    }

    .ropd__track {
        gap: 12px;
        padding: 2px 2px 6px;
        overscroll-behavior-inline: contain;
    }

    .ropd--fixed-items .ropd__product-card,
    .ropd__product-card,
    .ropd--fixed-items .ropd__category-card,
    .ropd__category-card {
        flex-basis: min(82vw, 310px);
        max-width: calc(100% - 28px);
    }

    .ropd__product-media {
        height: 220px;
        flex-basis: 220px;
        padding: 10px;
    }

    .ropd__product-body {
        padding: 11px 13px 14px;
    }

    .ropd .ropd__product-title {
        min-height: 60px;
        max-height: 60px;
        font-size: 15px !important;
    }

    .ropd__content-section + .ropd__content-section {
        margin-top: 24px;
    }

    .ropd__category-media {
        height: 205px;
        flex-basis: 205px;
        padding: 10px;
    }

    .ropd__category-body {
        min-height: 94px;
        padding: 13px 14px 15px;
    }

    .ropd__category-layout {
        gap: 10px;
    }

    .ropd__category-teaser {
        padding: 0;
    }

    .ropd__category-copy {
        margin: 8px 0 12px;
        font-size: 13px;
    }

    .ropd .ropd__button,
    .ropd .ropd__text-link {
        min-height: 38px;
        padding-inline: 12px;
        font-size: 12px !important;
    }

    .ropd .ropd__nav-button {
        display: none !important;
    }

    .ropd__dots {
        min-height: 16px;
        margin-top: 2px;
    }

    .ropd__tabs {
        max-width: 100%;
        margin-right: 0;
        gap: 7px;
    }

    .ropd .ropd__tab {
        min-height: 38px;
        padding-inline: 12px;
        font-size: 12px !important;
    }
}

@supports (width: 1cqw) {
    @media (max-width: 760px) {
        .ropd--fixed-items .ropd__product-card,
        .ropd__product-card,
        .ropd--fixed-items .ropd__category-card,
        .ropd__category-card {
            flex-basis: min(82cqw, 310px);
        }
    }
}

/* Media alignment and equal-height correction */

.ropd__track {
    align-items: stretch;
}

.ropd__product-card {
    height: auto !important;
    align-self: stretch;
}

.ropd__product-media {
    display: grid;
    place-items: start center;
    background: var(--ropd-white) !important;
}

.ropd__product-media img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    object-fit: contain !important;
    object-position: center top !important;
}

.ropd__product-body {
    flex: 1 1 auto;
}

.ropd__price-row {
    margin-top: auto !important;
    padding-top: 8px;
}

@media (max-width: 760px) {
    .ropd { padding-inline: 16px; }
    .ropd__section-head,
    .ropd__tabs-head,
    .ropd__section-heading,
    .ropd__tabs-heading,
    .ropd__category-teaser,
    .ropd__tabs,
    .ropd .ropd__eyebrow,
    .ropd .ropd__section-title,
    .ropd .ropd__tabs-title,
    .ropd .ropd__category-title,
    .ropd__category-copy { text-align: left !important; }
    .ropd__section-head,
    .ropd__tabs-head,
    .ropd__section-heading,
    .ropd__tabs-heading,
    .ropd__category-teaser { width: 100%; }
    .ropd .ropd__text-link,
    .ropd .ropd__button { align-self: flex-start; }
}
