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

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

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

.roph a {
    text-decoration: none;
}

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

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

.roph__section-heading,
.roph__tabs-heading {
    min-width: 0;
}

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

.roph .roph__section-title,
.roph .roph__category-title,
.roph .roph__tabs-title {
    max-width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    color: var(--roph-headline) !important;
    background: transparent !important;
    font-family: "Aleo", Georgia, "Times New Roman", serif !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
}

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

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

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

.roph__tabs-copy,
.roph__category-copy {
    max-width: 720px;
    color: var(--roph-muted);
    font-size: 15px;
    line-height: 1.5;
}

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

.roph__tabs-copy > :last-child,
.roph__category-copy > :last-child {
    margin-bottom: 0;
}

.roph .roph__text-link,
.roph .roph__button,
.roph .roph__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;
}

.roph .roph__text-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    padding: 0 16px;
    border: 1px solid var(--roph-line);
    background: var(--roph-white);
    color: var(--roph-blue) !important;
    transition: border-color .14s ease, color .14s ease;
}

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

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

.roph .roph__all-link {
    display: none;
}

.roph .roph__all-link.is-active {
    display: inline-flex;
}

/* Slider */

.roph__simple,
.roph__category-slider,
.roph__panel,
.roph__panels,
.roph__slider-frame,
.roph__viewport {
    min-width: 0;
}

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

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

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

.roph__track {
    display: flex;
    align-items: stretch;
    gap: var(--roph-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;
}

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

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

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

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

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

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

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

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

.roph .roph__product-title {
    min-height: 62px;
    margin: 0 0 10px !important;
    overflow: visible;
    color: var(--roph-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;
}

.roph .roph__product-title a {
    color: inherit !important;
}

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

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

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

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

.roph__old-price,
.roph__discount {
    color: var(--roph-muted);
    font-size: 14px;
    line-height: 1.25;
}

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

.roph .roph__price-supplement {
    margin: 3px 0 0 !important;
    color: var(--roph-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;
}

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

.roph .roph__tax-note,
.roph .roph__availability,
.roph .roph__article-number {
    margin: 0 !important;
    color: var(--roph-headline);
    font-size: 13px !important;
    line-height: 1.28 !important;
    letter-spacing: 0 !important;
}

.roph .roph__tax-note a {
    color: var(--roph-blue);
}

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

.roph .roph__availability--available {
    color: #158a20;
}

.roph .roph__availability--low {
    color: var(--roph-low-stock);
}

.roph .roph__availability--unavailable {
    color: var(--roph-muted);
}

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

.roph .roph__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. */

.roph .roph__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(--roph-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;
}

.roph .roph__nav-button--prev {
    left: 0;
}

.roph .roph__nav-button--next {
    right: 0;
}

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

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

.roph .roph__nav-button:disabled {
    opacity: 0;
    cursor: default;
    pointer-events: none;
}

.roph__slider-frame:hover .roph__nav-button:disabled,
.roph__slider-frame:focus-within .roph__nav-button:disabled {
    opacity: .22;
}

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

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

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

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

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

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

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

/* Kategorie vorne */

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

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

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

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

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

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

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

/* Kategorie-Tabs */

.roph--tabs .roph__section-head {
    margin-bottom: 12px;
}

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

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

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

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

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

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

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

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

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

    .roph--fixed-items .roph__product-card,
    .roph__product-card {
        flex-basis: 246px;
    }
}

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

    .roph .roph__section-title,
    .roph .roph__tabs-title {
        font-size: 30px !important;
    }

    .roph .roph__category-title {
        font-size: 28px !important;
    }

    .roph .roph__text-link {
        align-self: flex-start;
    }

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

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

    .roph .roph__nav-button:disabled {
        opacity: .2;
    }
}

@container roph (max-width: 480px) {
    .roph .roph__section-title,
    .roph .roph__tabs-title,
    .roph .roph__category-title {
        font-size: 26px !important;
    }

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

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

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

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

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

        .roph--fixed-items .roph__product-card,
        .roph__product-card {
            flex-basis: 246px;
        }
    }

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

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

        .roph .roph__nav-button {
            opacity: 1;
            pointer-events: auto;
        }
    }
}

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

    .roph .roph__nav-button,
    .roph .roph__tab,
    .roph .roph__text-link,
    .roph .roph__button {
        transition: none;
    }
}

/* Responsive stability layer */

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

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

.roph__slider-frame,
.roph__viewport,
.roph__track {
    min-width: 0;
    min-height: 0 !important;
    height: auto !important;
}

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

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

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

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

.roph .roph__section-title,
.roph .roph__tabs-title,
.roph .roph__category-title,
.roph .roph__product-title {
    max-width: 100%;
    overflow-wrap: anywhere;
}

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

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

    .roph .roph__section-title,
    .roph .roph__tabs-title,
    .roph .roph__category-title {
        font-size: 24px !important;
        line-height: 1.16 !important;
    }

    .roph .roph__eyebrow {
        margin-bottom: 4px !important;
        font-size: 10px !important;
    }

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

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

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

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

    .roph .roph__product-title {
        min-height: 0;
        font-size: 15px !important;
    }

    .roph__category-layout {
        gap: 10px;
    }

    .roph__category-teaser {
        padding: 0;
    }

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

    .roph .roph__button,
    .roph .roph__text-link {
        min-height: 38px;
        padding-inline: 12px;
        font-size: 12px !important;
    }

    .roph .roph__nav-button {
        display: none !important;
    }

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

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

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

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

/* Media alignment and equal-height correction */

.roph__track {
    align-items: stretch;
}

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

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

.roph__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;
}

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

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

@media (max-width: 760px) {
    .roph { padding-inline: 16px; }
    .roph__section-head,
    .roph__tabs-head,
    .roph__section-heading,
    .roph__tabs-heading,
    .roph__category-teaser,
    .roph__tabs,
    .roph .roph__eyebrow,
    .roph .roph__section-title,
    .roph .roph__tabs-title,
    .roph .roph__category-title,
    .roph__category-copy { text-align: left !important; }
    .roph__section-head,
    .roph__tabs-head,
    .roph__section-heading,
    .roph__tabs-heading,
    .roph__category-teaser { width: 100%; }
    .roph .roph__text-link,
    .roph .roph__button { align-self: flex-start; }
}
