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

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

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

.ropal a {
    text-decoration: none;
}

.ropal__landing-intro {
    max-width: 980px;
    margin: 0 0 36px;
}

.ropal .ropal__landing-title {
    margin: 0 !important;
    padding: 0 !important;
    color: var(--ropal-headline) !important;
    background: transparent !important;
    font-family: "Aleo", Georgia, "Times New Roman", serif !important;
    font-size: 40px !important;
    font-weight: 700 !important;
    line-height: 1.1 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
}

.ropal__landing-copy {
    max-width: 900px;
    margin-top: 18px;
    color: var(--ropal-text);
    font-size: 16px;
    line-height: 1.65;
}

.ropal__landing-copy > :last-child {
    margin-bottom: 0;
}

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

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

.ropal__landing-intro + .ropal__landing-section {
    margin-top: 0;
}

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

.ropal__section-head,
.ropal__tabs-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    min-width: 0;
    margin-bottom: 6px;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.ropal__section-heading,
.ropal__tabs-heading {
    min-width: 0;
}

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

.ropal .ropal__section-title,
.ropal .ropal__category-title,
.ropal .ropal__tabs-title {
    max-width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    color: var(--ropal-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;
}

.ropal .ropal__section-title {
    font-size: 30px !important;
    line-height: 1.1 !important;
}

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

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

.ropal__tabs-copy,
.ropal__category-copy {
    max-width: 720px;
    color: var(--ropal-muted);
    font-size: 15px;
    line-height: 1.5;
}

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

.ropal__tabs-copy > :last-child,
.ropal__category-copy > :last-child {
    margin-bottom: 0;
}

.ropal .ropal__text-link,
.ropal .ropal__button,
.ropal .ropal__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;
}

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

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

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

.ropal .ropal__all-link {
    display: none;
}

.ropal .ropal__all-link.is-active {
    display: inline-flex;
}

/* Slider */

.ropal__simple,
.ropal__category-slider,
.ropal__panel,
.ropal__panels,
.ropal__slider-frame,
.ropal__viewport {
    min-width: 0;
}

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

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

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

.ropal__track {
    display: flex;
    align-items: stretch;
    gap: var(--ropal-card-gap);
    width: 100%;
    margin: 0;
    padding: 2px 0 7px;
    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;
}

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

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

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

.ropal__category-media {
    display: grid;
    place-items: center;
    height: 132px;
    padding: 12px;
    overflow: hidden;
    background: var(--ropal-white);
}

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

.ropal__category-placeholder {
    display: block;
    width: 100%;
    height: 100%;
    background: var(--ropal-soft);
}

.ropal__category-content {
    display: flex;
    min-height: 82px;
    flex: 1 1 auto;
    flex-direction: column;
    padding: 11px 14px 13px;
    border-top: 1px solid #eef1f4;
}

.ropal .ropal__category-name {
    margin: 0 !important;
    color: var(--ropal-headline) !important;
    font-family: "Open Sans", sans-serif !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
}

.ropal__category-cta {
    margin-top: auto;
    padding-top: 10px;
    color: var(--ropal-blue);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.25;
}

.ropal__category-link:hover .ropal__category-name,
.ropal__category-link:focus-visible .ropal__category-name {
    color: var(--ropal-blue) !important;
}

.ropal__category-link:focus-visible {
    outline: 2px solid var(--ropal-blue);
    outline-offset: -2px;
}

.ropal--landing .ropal__product-media {
    height: 176px;
    flex-basis: 176px;
    padding: 14px;
}

.ropal--landing .ropal__product-body {
    padding: 10px 14px 14px;
}

.ropal--landing .ropal__product-title {
    min-height: 50px;
}

.ropal__directory-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 34px;
}

.ropal__directory-column {
    min-width: 0;
    padding-top: 14px;
    border-top: 2px solid var(--ropal-blue);
}

.ropal .ropal__directory-title {
    margin: 0 0 12px !important;
    color: var(--ropal-headline) !important;
    font-family: "Aleo", Georgia, "Times New Roman", serif !important;
    font-size: 21px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    letter-spacing: 0 !important;
}

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

.ropal__directory-products {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ropal__directory-products li {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid #e5e9ed;
    font-size: 13px;
    line-height: 1.35;
}

.ropal__directory-products a {
    min-width: 0;
    color: var(--ropal-text) !important;
}

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

.ropal__directory-products span {
    color: var(--ropal-muted);
    white-space: nowrap;
}

.ropal__directory-all {
    display: inline-flex;
    margin-top: 13px;
    color: var(--ropal-blue) !important;
    font-size: 13px;
    font-weight: 600;
}

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

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

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

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

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

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

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

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

.ropal .ropal__product-title a {
    color: inherit !important;
}

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

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

.ropal .ropal__price {
    color: var(--ropal-headline) !important;
    font-size: 18px !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
}

.ropal .ropal__price--sale {
    color: var(--ropal-blue) !important;
    font-weight: 600 !important;
}

.ropal .ropal__price--request {
    color: var(--ropal-muted) !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.ropal__old-price,
.ropal__discount {
    color: var(--ropal-muted);
    font-size: 14px;
    line-height: 1.25;
}

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

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

.ropal__product-meta {
    display: grid;
    gap: 4px;
    margin-top: 7px;
}

.ropal .ropal__tax-note,
.ropal .ropal__availability,
.ropal .ropal__article-number {
    margin: 0 !important;
    color: var(--ropal-headline);
    font-size: 13px !important;
    line-height: 1.28 !important;
    letter-spacing: 0 !important;
}

.ropal .ropal__tax-note a {
    color: var(--ropal-blue);
}

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

.ropal .ropal__availability--available {
    color: #158a20;
}

.ropal .ropal__availability--low {
    color: var(--ropal-low-stock);
}

.ropal .ropal__availability--unavailable {
    color: var(--ropal-muted);
}

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

.ropal .ropal__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. */

.ropal .ropal__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(--ropal-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;
}

.ropal .ropal__nav-button--prev {
    left: 0;
}

.ropal .ropal__nav-button--next {
    right: 0;
}

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

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

.ropal .ropal__nav-button:disabled {
    opacity: 0;
    cursor: default;
    pointer-events: none;
}

.ropal__slider-frame:hover .ropal__nav-button:disabled,
.ropal__slider-frame:focus-within .ropal__nav-button:disabled {
    opacity: .22;
}

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

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

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

.ropal__dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    min-height: 18px;
    margin-top: 3px;
}

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

.ropal .ropal__dot.is-active {
    width: 10px;
    height: 10px;
    background: #9d9d9d !important;
}

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

/* Kategorie vorne */

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

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

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

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

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

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

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

/* Kategorie-Tabs */

.ropal--tabs .ropal__section-head {
    margin-bottom: 12px;
}

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

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

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

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

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

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

/* Ratgeber als visueller Ruhepunkt zwischen den Produktbereichen. */

.ropal__guide-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--ropal-card-gap);
}

.ropal__guide-card {
    display: grid;
    grid-template-columns: minmax(150px, 42%) minmax(0, 1fr);
    min-width: 0;
    min-height: 220px;
    overflow: hidden;
    background: var(--ropal-white);
    box-shadow: var(--ropal-card-shadow);
}

.ropal__guide-media {
    position: relative;
    display: block;
    min-height: 220px;
    overflow: hidden;
    background: var(--ropal-soft);
}

.ropal__guide-media img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover !important;
    object-position: center !important;
}

.ropal__guide-placeholder {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f5f7fa 0%, #eef5f8 100%);
}

.ropal__guide-body {
    display: flex;
    min-width: 0;
    flex-direction: column;
    padding: 18px;
}

.ropal .ropal__guide-label {
    margin: 0 0 8px !important;
    color: var(--ropal-blue) !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    text-transform: uppercase;
}

.ropal .ropal__guide-title {
    margin: 0 0 10px !important;
    color: var(--ropal-headline) !important;
    font-family: "Aleo", Georgia, "Times New Roman", serif !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    letter-spacing: 0 !important;
}

.ropal .ropal__guide-title a {
    color: inherit !important;
}

.ropal .ropal__guide-teaser {
    display: -webkit-box;
    margin: 0 0 12px !important;
    overflow: hidden;
    color: var(--ropal-text) !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.ropal .ropal__guide-link {
    display: inline-flex;
    align-self: flex-start;
    margin-top: auto;
    color: var(--ropal-blue) !important;
    font-size: 13px !important;
    font-weight: 700 !important;
}

.ropal__guide-media:focus-visible,
.ropal .ropal__guide-title a:focus-visible,
.ropal .ropal__guide-link:focus-visible {
    outline: 2px solid var(--ropal-blue);
    outline-offset: 2px;
}

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

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

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

    .ropal--fixed-items .ropal__product-card,
    .ropal__product-card {
        flex-basis: 246px;
    }
}

@container ropal (max-width: 760px) {
    .ropal__guide-grid {
        grid-template-columns: 1fr;
    }

    .ropal__landing-intro {
        margin-bottom: 36px;
    }

    .ropal .ropal__landing-title {
        font-size: 32px !important;
    }

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

    .ropal__directory-grid {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .ropal__section-head,
    .ropal__tabs-head {
        align-items: stretch;
        flex-direction: column;
        gap: 14px;
    }

    .ropal .ropal__section-title,
    .ropal .ropal__tabs-title {
        font-size: 27px !important;
    }

    .ropal .ropal__category-title {
        font-size: 28px !important;
    }

    .ropal .ropal__text-link {
        align-self: flex-start;
    }

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

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

    .ropal .ropal__nav-button:disabled {
        opacity: .2;
    }
}

@container ropal (max-width: 480px) {
    .ropal__guide-card {
        grid-template-columns: 1fr;
    }

    .ropal__guide-media {
        min-height: 180px;
    }

    .ropal .ropal__landing-title {
        font-size: 28px !important;
    }

    .ropal .ropal__section-title,
    .ropal .ropal__tabs-title,
    .ropal .ropal__category-title {
        font-size: 26px !important;
    }

    .ropal--fixed-items .ropal__product-card,
    .ropal__product-card,
    .ropal__category-card {
        flex-basis: calc(100cqw - 28px);
    }

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

    .ropal--landing .ropal__product-media {
        height: 170px;
        flex-basis: 170px;
    }

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

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

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

        .ropal--fixed-items .ropal__product-card,
        .ropal__product-card {
            flex-basis: 246px;
        }
    }

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

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

        .ropal .ropal__nav-button {
            opacity: 1;
            pointer-events: auto;
        }
    }
}

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

    .ropal .ropal__nav-button,
    .ropal .ropal__tab,
    .ropal .ropal__text-link,
    .ropal .ropal__button {
        transition: none;
    }
}

/* Responsive stability layer */

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

.ropal__landing-section,
.ropal__slider-frame,
.ropal__viewport,
.ropal__track {
    min-width: 0;
    min-height: 0 !important;
    height: auto !important;
}

.ropal__landing-section {
    margin-bottom: 0 !important;
    padding-block: 0 !important;
}

.ropal__landing-section + .ropal__landing-section {
    margin-top: 18px !important;
}

.ropal__track {
    align-items: flex-start;
}

.ropal__category-card,
.ropal__product-card {
    height: auto !important;
    align-self: flex-start;
}

.ropal__category-media {
    height: 168px;
    padding: 0;
    background: var(--ropal-soft);
}

.ropal__category-media img {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover !important;
    object-position: center !important;
}

.ropal--landing .ropal__product-media {
    height: 190px;
    flex-basis: 190px;
    padding: 12px;
}

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

.ropal__guide-card,
.ropal__guide-media {
    min-height: 210px;
    height: auto;
}

.ropal__guide-media img {
    object-fit: cover !important;
    object-position: center !important;
}

.ropal .ropal__section-title,
.ropal .ropal__category-title,
.ropal .ropal__tabs-title,
.ropal .ropal__product-title,
.ropal .ropal__guide-title {
    max-width: 100%;
    overflow-wrap: anywhere;
}

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

    .ropal__landing-section + .ropal__landing-section {
        margin-top: 16px !important;
    }

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

    .ropal .ropal__section-title,
    .ropal .ropal__tabs-title,
    .ropal .ropal__category-title {
        font-size: 24px !important;
        line-height: 1.16 !important;
    }

    .ropal .ropal__eyebrow {
        margin-bottom: 4px !important;
        font-size: 10px !important;
    }

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

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

    .ropal__category-media {
        height: 210px;
        flex-basis: 210px;
    }

    .ropal--landing .ropal__product-media,
    .ropal__product-media {
        height: 220px;
        flex-basis: 220px;
        padding: 10px;
    }

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

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

    .ropal .ropal__nav-button {
        display: none !important;
    }

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

    .ropal__guide-grid {
        display: flex;
        gap: 12px;
        width: 100%;
        padding: 2px 2px 7px;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .ropal__guide-grid::-webkit-scrollbar {
        display: none;
    }

    .ropal__guide-card {
        grid-template-columns: 1fr;
        flex: 0 0 min(86vw, 330px);
        min-height: 0;
        scroll-snap-align: start;
    }

    .ropal__guide-media {
        min-height: 190px;
        height: 190px;
    }

    .ropal__guide-body {
        padding: 13px 14px 15px;
    }

    .ropal .ropal__guide-title {
        font-size: 18px !important;
    }

    .ropal .ropal__text-link {
        min-height: 38px;
        padding-inline: 12px;
        font-size: 12px !important;
    }

    .ropal__tabs {
        max-width: 100%;
        margin-right: 0;
    }
}

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

        .ropal__guide-card {
            flex-basis: min(86cqw, 330px);
        }
    }
}

/* Media alignment and equal-height correction */

.ropal__track {
    align-items: stretch;
}

.ropal__category-card,
.ropal__product-card {
    height: auto !important;
    align-self: stretch;
}

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

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

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

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

.ropal__category-media {
    background: var(--ropal-white) !important;
}

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

.ropal__guide-card,
.ropal__guide-media {
    background: var(--ropal-white) !important;
}

.ropal__guide-media {
    padding: 0 !important;
    border: 0 !important;
}

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