﻿/* Shop – Karussell (Weitere Produkte / Interesse) */
/* â”€â”€ EF-Produktdetail: Weitere Produkte (1000px, Karussell) â”€â”€ */
.ff-shop-ef-more {
    --ff-more-ease: cubic-bezier(0.22, 1, 0.36, 1);
    --ff-more-duration: 0.5s;
    --ff-more-fade: 120px;
    --ff-more-col: 168px;
    --ff-more-pad: 30px;
    --ff-more-slot: calc(var(--ff-more-col) + (2 * var(--ff-more-pad)));
    width: 100%;
    max-width: 1000px;
    margin: 0 auto 0;
    padding: 0 max(16px, var(--ff-layout-gutter, 20px));
    box-sizing: border-box;
    color: #fff;
}

/* EF-Hefte-Kategorie: Titel mittig, Streifen wie Produktdetail */
.ff-shop-ef-more--interesse {
    margin-top: 220px;
}

.ff-shop-ef-more--interesse .ff-shop-ef-more__header {
    justify-content: center;
    position: relative;
    padding-left: 72px;
    padding-right: 72px;
    box-sizing: border-box;
}

.ff-shop-ef-more--interesse .ff-shop-ef-more__heading {
    flex: 1 1 auto;
    text-align: center;
}

.ff-shop-ef-more--interesse .ff-shop-ef-more__arrows {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

/* 1000px-Block mittig wie Produktdetail, Ãœberschrift links */
.ff-shop-ef-more__bundle {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
}

.ff-shop-ef-more__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 0 0 36px;
    padding: 0;
}

.ff-shop-ef-more__heading {
    margin: 0;
    padding: 0;
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-weight: 600;
    font-style: normal;
    font-size: 25px;
    line-height: 1;
    letter-spacing: 0;
    text-align: left;
    color: #fff;
    opacity: 0;
    transform: translateY(10px);
    transition:
        opacity 0.55s var(--ff-more-ease),
        transform 0.55s var(--ff-more-ease);
}

.ff-shop-ef-more.is-inview .ff-shop-ef-more__heading {
    opacity: 1;
    transform: none;
}

.ff-shop-ef-more__arrows {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.ff-shop-ef-more__arrow {
    position: relative;
    display: inline-grid;
    place-items: center;
    width: 32px;
    height: 32px;
    min-width: 32px;
    min-height: 32px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #fff;
    cursor: pointer;
    flex-shrink: 0;
    line-height: 0;
    opacity: 0;
    transition: opacity 0.55s var(--ff-more-ease);
}

.ff-shop-ef-more.is-inview .ff-shop-ef-more__arrow {
    opacity: 1;
}

.ff-shop-ef-more.is-inview .ff-shop-ef-more__arrow--next {
    transition-delay: 0.06s;
}

.ff-shop-ef-more__arrow::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.55);
    box-sizing: border-box;
    pointer-events: none;
    transition:
        transform 0.22s ease,
        border-color 0.22s ease;
}

.ff-shop-ef-more__arrow svg {
    position: relative;
    z-index: 1;
    display: block;
    width: 10px;
    height: 10px;
    transform: translate3d(0, 0, 0);
    transform-origin: 50% 50%;
    transform-box: fill-box;
    transition: transform 0.22s ease;
}

.ff-shop-ef-more__arrow--prev svg {
    transform: translate3d(-0.5px, 0, 0);
}

.ff-shop-ef-more__arrow--next svg {
    transform: translate3d(0.5px, 0, 0);
}

.ff-shop-ef-more__arrow:hover::before {
    transform: scale(1.08);
    border-color: #fff;
}

.ff-shop-ef-more__arrow--prev:hover svg {
    transform: translate3d(-0.5px, 0, 0) scale(1.08);
}

.ff-shop-ef-more__arrow--next:hover svg {
    transform: translate3d(0.5px, 0, 0) scale(1.08);
}

.ff-shop-ef-more__arrow:active::before {
    transform: scale(1.03);
}

.ff-shop-ef-more__arrow--prev:active svg {
    transform: translate3d(-0.5px, 0, 0) scale(1.03);
}

.ff-shop-ef-more__arrow--next:active svg {
    transform: translate3d(0.5px, 0, 0) scale(1.03);
}

.ff-shop-ef-more__arrow:focus {
    outline: none;
}

.ff-shop-ef-more__arrow:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

.ff-shop-ef-more.is-inview .ff-shop-ef-more__arrow.is-disabled {
    opacity: 0.28;
}

.ff-shop-ef-more__arrow.is-disabled {
    cursor: default;
    pointer-events: none;
}

.ff-shop-ef-more__arrow.is-disabled::before {
    transform: none;
    border-color: rgba(255, 255, 255, 0.28);
}

.ff-shop-ef-more__arrow--prev.is-disabled svg {
    transform: translate3d(-0.5px, 0, 0);
}

.ff-shop-ef-more__arrow--next.is-disabled svg {
    transform: translate3d(0.5px, 0, 0);
}

.ff-shop-ef-more__arrow.is-disabled:focus-visible {
    outline: none;
}

.ff-shop-ef-more__viewport {
    position: relative;
    width: 100%;
    overflow: hidden;
    touch-action: pan-y pinch-zoom;
    --ff-more-mask-fade: var(--ff-more-fade);
    --ff-more-mask-a: calc(var(--ff-more-mask-fade) * 0.2);
    --ff-more-mask-b: calc(var(--ff-more-mask-fade) * 0.42);
    --ff-more-mask-c: calc(var(--ff-more-mask-fade) * 0.66);
    --ff-more-mask-d: calc(var(--ff-more-mask-fade) * 0.86);
    -webkit-mask-image: linear-gradient(
        90deg,
        transparent 0,
        rgba(0, 0, 0, 0.1) var(--ff-more-mask-a),
        rgba(0, 0, 0, 0.32) var(--ff-more-mask-b),
        rgba(0, 0, 0, 0.58) var(--ff-more-mask-c),
        rgba(0, 0, 0, 0.82) var(--ff-more-mask-d),
        #000 var(--ff-more-mask-fade),
        #000 calc(100% - var(--ff-more-mask-fade)),
        rgba(0, 0, 0, 0.82) calc(100% - var(--ff-more-mask-d)),
        rgba(0, 0, 0, 0.58) calc(100% - var(--ff-more-mask-c)),
        rgba(0, 0, 0, 0.32) calc(100% - var(--ff-more-mask-b)),
        rgba(0, 0, 0, 0.1) calc(100% - var(--ff-more-mask-a)),
        transparent 100%
    );
    mask-image: linear-gradient(
        90deg,
        transparent 0,
        rgba(0, 0, 0, 0.1) var(--ff-more-mask-a),
        rgba(0, 0, 0, 0.32) var(--ff-more-mask-b),
        rgba(0, 0, 0, 0.58) var(--ff-more-mask-c),
        rgba(0, 0, 0, 0.82) var(--ff-more-mask-d),
        #000 var(--ff-more-mask-fade),
        #000 calc(100% - var(--ff-more-mask-fade)),
        rgba(0, 0, 0, 0.82) calc(100% - var(--ff-more-mask-d)),
        rgba(0, 0, 0, 0.58) calc(100% - var(--ff-more-mask-c)),
        rgba(0, 0, 0, 0.32) calc(100% - var(--ff-more-mask-b)),
        rgba(0, 0, 0, 0.1) calc(100% - var(--ff-more-mask-a)),
        transparent 100%
    );
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-mode: alpha;
    mask-mode: alpha;
}

.ff-shop-ef-more__viewport.is-at-start {
    -webkit-mask-image: linear-gradient(
        90deg,
        #000 0,
        #000 calc(100% - var(--ff-more-mask-fade)),
        rgba(0, 0, 0, 0.82) calc(100% - var(--ff-more-mask-d)),
        rgba(0, 0, 0, 0.58) calc(100% - var(--ff-more-mask-c)),
        rgba(0, 0, 0, 0.32) calc(100% - var(--ff-more-mask-b)),
        rgba(0, 0, 0, 0.1) calc(100% - var(--ff-more-mask-a)),
        transparent 100%
    );
    mask-image: linear-gradient(
        90deg,
        #000 0,
        #000 calc(100% - var(--ff-more-mask-fade)),
        rgba(0, 0, 0, 0.82) calc(100% - var(--ff-more-mask-d)),
        rgba(0, 0, 0, 0.58) calc(100% - var(--ff-more-mask-c)),
        rgba(0, 0, 0, 0.32) calc(100% - var(--ff-more-mask-b)),
        rgba(0, 0, 0, 0.1) calc(100% - var(--ff-more-mask-a)),
        transparent 100%
    );
}

.ff-shop-ef-more__viewport.is-at-end {
    -webkit-mask-image: linear-gradient(
        90deg,
        transparent 0,
        rgba(0, 0, 0, 0.1) var(--ff-more-mask-a),
        rgba(0, 0, 0, 0.32) var(--ff-more-mask-b),
        rgba(0, 0, 0, 0.58) var(--ff-more-mask-c),
        rgba(0, 0, 0, 0.82) var(--ff-more-mask-d),
        #000 var(--ff-more-mask-fade),
        #000 100%
    );
    mask-image: linear-gradient(
        90deg,
        transparent 0,
        rgba(0, 0, 0, 0.1) var(--ff-more-mask-a),
        rgba(0, 0, 0, 0.32) var(--ff-more-mask-b),
        rgba(0, 0, 0, 0.58) var(--ff-more-mask-c),
        rgba(0, 0, 0, 0.82) var(--ff-more-mask-d),
        #000 var(--ff-more-mask-fade),
        #000 100%
    );
}

.ff-shop-ef-more__viewport.is-at-start.is-at-end {
    -webkit-mask-image: none;
    mask-image: none;
}

.ff-shop-ef-more__track {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    width: max-content;
    margin: 0;
    will-change: transform;
    transition: transform var(--ff-more-duration) var(--ff-more-ease);
}

.ff-shop-ef-more__track.is-instant {
    transition: none;
}

@media (prefers-reduced-motion: reduce) {
    .ff-shop-ef-more__heading,
    .ff-shop-ef-more__arrow,
    .ff-shop-ef-more__item {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .ff-shop-ef-more__track,
    .ff-shop-ef-more__img,
    .ff-shop-ef-more__fan-cell,
    .ff-shop-ef-more__btn {
        transition: none;
    }
}

.ff-shop-ef-more__item {
    position: relative;
    flex: 0 0 var(--ff-more-slot);
    width: var(--ff-more-slot);
    margin: 0;
    padding: 0 var(--ff-more-pad);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    opacity: 0;
    transition: opacity 0.55s var(--ff-more-ease);
}

.ff-shop-ef-more__item::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    width: 1px;
    height: 78%;
    max-height: 280px;
    transform: translateY(-50%);
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.14) 12%,
        rgba(255, 255, 255, 0.42) 50%,
        rgba(255, 255, 255, 0.14) 88%,
        rgba(255, 255, 255, 0) 100%
    );
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.ff-shop-ef-more__item:hover::after {
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.2) 12%,
        rgba(255, 255, 255, 0.55) 50%,
        rgba(255, 255, 255, 0.2) 88%,
        rgba(255, 255, 255, 0) 100%
    );
}

.ff-shop-ef-more__item:last-child::after {
    content: none;
}

.ff-shop-ef-more.is-inview .ff-shop-ef-more__item {
    opacity: 1;
}

.ff-shop-ef-more.is-inview .ff-shop-ef-more__item:nth-child(1) { transition-delay: 0.05s; }
.ff-shop-ef-more.is-inview .ff-shop-ef-more__item:nth-child(2) { transition-delay: 0.1s; }
.ff-shop-ef-more.is-inview .ff-shop-ef-more__item:nth-child(3) { transition-delay: 0.15s; }
.ff-shop-ef-more.is-inview .ff-shop-ef-more__item:nth-child(4) { transition-delay: 0.2s; }
.ff-shop-ef-more.is-inview .ff-shop-ef-more__item:nth-child(n+5) { transition-delay: 0.24s; }

.ff-shop-ef-more__item--stack {
    overflow: hidden;
}

.ff-shop-ef-more__head {
    width: 100%;
    max-width: var(--ff-more-col);
    min-height: 40px;
    margin: 0 0 12px;
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
}

body.ff-shop-shell .ff-shop-ef-more__title {
    margin: 0;
    padding: 0;
    width: 100%;
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 20px;
    line-height: 1;
    letter-spacing: 0;
    text-align: center;
    color: #fff;
}

.ff-shop-ef-more__title-line {
    display: block;
    height: 20px;
    line-height: 20px;
    overflow: visible;
    white-space: nowrap;
}

.ff-shop-ef-more__subtitle {
    margin: 0;
    padding: 0;
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 20px;
    text-align: center;
    color: #fff;
}

.ff-shop-ef-more__media {
    width: 100%;
    max-width: var(--ff-more-col);
    height: 200px;
    margin: 0 0 14px;
    flex: 0 0 200px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    line-height: 0;
}

.ff-shop-ef-more__img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 200px;
    object-fit: contain;
    margin: 0 auto;
    transform: translate3d(0, 0, 0);
    transition: transform 0.4s var(--ff-more-ease), filter 0.4s ease;
}

.ff-shop-ef-more__item:hover .ff-shop-ef-more__img {
    transform: translate3d(0, -5px, 0);
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.45));
}

/* Stapel (5 Ausgaben / Triple): im Kasten halten, gleiche AbstÃ¤nde wie Einzelcover */
.ff-shop-ef-more__item--stack .ff-shop-ef-more__media {
    width: 100%;
    max-width: var(--ff-more-col);
    height: 200px;
    flex: 0 0 200px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    margin: 0 auto 14px;
}

.ff-shop-ef-more__fan {
    --ff-more-cover-w: 162px;
    --ff-more-cover-h: 168px;
    --ff-more-fan-step-divisor: 4;
    --ff-more-fan-step: 12px;
    position: relative;
    isolation: isolate;
    flex: 0 0 auto;
    width: calc(var(--ff-more-cover-w) + (var(--ff-more-fan-step) * var(--ff-more-fan-step-divisor)));
    height: var(--ff-more-cover-h);
    margin: 0 auto;
    transition: width 0.4s var(--ff-more-ease);
}

.ff-shop-ef-more__item--stack:hover .ff-shop-ef-more__fan {
    --ff-more-fan-step: 14px;
}

.ff-shop-ef-more__fan-cell {
    --ff-more-fan-index: 0;
    position: absolute;
    top: auto;
    bottom: 0;
    left: calc(var(--ff-more-fan-index) * var(--ff-more-fan-step));
    width: var(--ff-more-cover-w);
    height: var(--ff-more-cover-h);
    pointer-events: none;
    transition: left 0.4s var(--ff-more-ease);
}

.ff-shop-ef-more__item--stack:hover .ff-shop-ef-more__fan-cell:last-child .ff-shop-ef-more__fan-img {
    transform: translate3d(0, -5px, 0);
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.45));
}

.ff-shop-ef-more__fan-img {
    display: block;
    width: var(--ff-more-cover-w);
    height: var(--ff-more-cover-h);
    max-width: none;
    object-fit: contain;
    object-position: center bottom;
    opacity: 1;
    transform: translate3d(0, 0, 0);
    transition: transform 0.4s var(--ff-more-ease), filter 0.4s ease;
}

.ff-shop-ef-more__fan-cell:not(:last-child) .ff-shop-ef-more__fan-img {
    filter: drop-shadow(2px 0 8px rgba(0, 0, 0, 0.4));
}

.ff-shop-ef-more__fan-cell:last-child .ff-shop-ef-more__fan-img {
    filter: drop-shadow(4px 4px 14px rgba(0, 0, 0, 0.35));
}

.ff-shop-ef-more__foot {
    width: 100%;
    margin-top: auto;
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ff-shop-ef-more__price {
    margin: 0 0 14px;
    padding: 0;
    width: 100%;
    max-width: var(--ff-more-col);
    min-height: 24px;
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-weight: 600;
    font-style: normal;
    font-size: 20px;
    line-height: 1;
    letter-spacing: 0;
    text-align: center;
    color: #fff;
}

.ff-shop-ef-more__actions {
    max-width: var(--ff-more-col);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.ff-shop-ef-more__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 5px 11px;
    box-sizing: border-box;
    border: 0;
    border-radius: 21px;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 500;
    font-size: 17px;
    line-height: 1;
    letter-spacing: 0.005em;
    text-transform: none;
    cursor: pointer;
    transition:
        background-color 0.25s ease,
        color 0.25s ease,
        transform 0.25s var(--ff-more-ease),
        box-shadow 0.25s ease;
}

.ff-shop-ef-more__btn--view {
    width: 73px;
    height: 30px;
    background: #4d4d4d;
    color: #fff;
}

.ff-shop-ef-more__btn--cart {
    width: 165px;
    height: 30px;
    background: #fff;
    color: #000;
    text-transform: uppercase;
}

body.ff-shop-shell .ff-shop-ef-more__btn--view:hover,
body.ff-shop-shell .ff-shop-ef-more__btn--view:focus:not(:focus-visible) {
    background: #666 !important;
    color: #fff !important;
    transform: translateY(-1px);
}

body.ff-shop-shell .ff-shop-ef-more__btn--cart:hover,
body.ff-shop-shell .ff-shop-ef-more__btn--cart:focus:not(:focus-visible) {
    background: #f2f2f2 !important;
    color: #000 !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(255, 255, 255, 0.12) !important;
}

@media (max-width: 1040px) {
    .ff-shop-ef-more {
        max-width: min(1000px, calc(100% - 2 * var(--ff-layout-gutter, 20px)));
    }
}
