/* Shop – Favoriten */
.ff-shop-favoriten {
    width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.ff-shop-favoriten__inner {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
}

body.ff-shop-shell .ff-shop-favoriten__heading {
    margin: 0 0 48px;
    padding: 0;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 20px;
    line-height: 1;
    letter-spacing: 0;
    color: #fff;
    text-align: left;
}

/* Leerer Zustand */
.ff-shop-favoriten__empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    min-height: calc(100vh - var(--ff-header-stack-h, 200px) - 200px);
    padding: 48px 0 80px;
    text-align: center;
}

.ff-shop-favoriten__empty[hidden],
.ff-shop-favoriten__list[hidden],
.ff-shop-favoriten__more[hidden] {
    display: none !important;
}

body.ff-shop-shell .ff-shop-favoriten__empty-text {
    margin: 0;
    padding: 0;
    max-width: 285px;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 20px;
    line-height: 1;
    letter-spacing: 0;
    color: #fff;
}

body.ff-shop-shell .ff-shop-favoriten__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 163px;
    min-height: 40px;
    padding: 7px 20px;
    border-radius: 5px;
    background: #fff;
    color: #000;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 22px;
    line-height: 1;
    letter-spacing: 0.005em;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

body.ff-shop-shell .ff-shop-favoriten__cta:hover,
body.ff-shop-shell .ff-shop-favoriten__cta:focus-visible {
    opacity: 0.9;
    color: #000;
    text-decoration: none;
}

/* Liste */
.ff-shop-favoriten__list {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 0;
    padding: 0 0 80px;
}

.ff-shop-favoriten__item {
    margin: 0;
    padding: 32px 0;
    border-bottom: 1px solid #fff;
}

.ff-shop-favoriten__item:first-child {
    padding-top: 0;
}

.ff-shop-favoriten__item-inner {
    display: flex;
    align-items: stretch;
    gap: 32px;
}

.ff-shop-favoriten__media {
    flex: 0 0 auto;
    align-self: flex-start;
}

.ff-shop-favoriten__media--single {
    width: 149px;
    height: 213px;
}

.ff-shop-favoriten__img {
    display: block;
    width: 149px;
    height: 213px;
    object-fit: contain;
    object-position: center center;
}

.ff-shop-favoriten__media--stack {
    --ff-fav-stack-step: 14px;
    position: relative;
    width: calc(149px + (var(--ff-fav-stack-step) * max(0, var(--ff-fav-stack-count, 1) - 1)));
    height: 206px;
    margin-top: 3.5px;
    overflow: visible;
}

.ff-shop-favoriten__stack {
    position: relative;
    width: 100%;
    height: 100%;
}

.ff-shop-favoriten__stack-layer {
    position: absolute;
    top: 0;
    left: calc(var(--ff-fav-stack-index, 0) * var(--ff-fav-stack-step));
    width: 149px;
    height: 206px;
}

.ff-shop-favoriten__stack-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
}

.ff-shop-favoriten__content {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-self: stretch;
    min-width: 0;
    min-height: 213px;
}

.ff-shop-favoriten__item-inner:has(.ff-shop-favoriten__media--stack) .ff-shop-favoriten__content {
    min-height: calc(206px + 3.5px);
}

.ff-shop-favoriten__meta-top {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

body.ff-shop-shell .ff-shop-favoriten__brand {
    margin: 0;
    padding: 0;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 17px;
    line-height: 1;
    letter-spacing: 0;
    color: #fff;
}

body.ff-shop-shell .ff-shop-favoriten__title {
    margin: 0;
    padding: 0;
    max-width: 166px;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 20px;
    line-height: 1;
    letter-spacing: 0;
    color: #fff;
}

.ff-shop-favoriten__title-link,
.ff-shop-favoriten__title-text {
    color: inherit;
    text-decoration: none;
}

.ff-shop-favoriten__title-link:hover,
.ff-shop-favoriten__title-link:focus-visible {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

body.ff-shop-shell .ff-shop-favoriten__price {
    margin: 16px 0 0;
    padding: 0;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 17px;
    line-height: 1;
    letter-spacing: 0;
    color: #fff;
}

.ff-shop-favoriten__content-bottom {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    width: 100%;
}

.ff-shop-favoriten__meta-bottom {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1 1 auto;
    min-width: 0;
}

body.ff-shop-shell .ff-shop-favoriten__available,
body.ff-shop-shell .ff-shop-favoriten__date {
    margin: 0;
    padding: 0;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 17px;
    line-height: 1;
    letter-spacing: 0;
    color: #fff;
}

.ff-shop-favoriten__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    flex: 0 0 auto;
}

body.ff-shop-shell .ff-shop-favoriten__cart-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 139px;
    height: 30px;
    margin: 0;
    padding: 5px 11px;
    box-sizing: border-box;
    border: 0;
    border-radius: 21px;
    background: #fff;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 17px;
    line-height: 1;
    letter-spacing: 0.005em;
    color: #000;
    text-transform: uppercase;
    cursor: pointer;
    transition: none;
}

body.ff-shop-shell .ff-shop-favoriten__cart-btn:hover,
body.ff-shop-shell .ff-shop-favoriten__cart-btn:focus:not(:focus-visible),
body.ff-shop-shell .ff-shop-favoriten__cart-btn:active {
    background: #fff !important;
    color: #000 !important;
    opacity: 1;
    transform: none;
    box-shadow: none !important;
    outline: none !important;
}

.ff-shop-favoriten__remove-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    line-height: 0;
}

.ff-shop-favoriten__remove-btn svg {
    display: block;
    width: 19px;
    height: 20px;
}

body.ff-shop-shell .ff-shop-favoriten__remove-btn:hover,
body.ff-shop-shell .ff-shop-favoriten__remove-btn:focus:not(:focus-visible),
body.ff-shop-shell .ff-shop-favoriten__remove-btn:active {
    background: transparent !important;
    opacity: 1;
    transform: none;
    box-shadow: none !important;
    outline: none !important;
    border: 0 !important;
}

/* Weitere Produkte unter der Liste */
.ff-shop-favoriten__more {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 0 80px;
    box-sizing: border-box;
}

.ff-shop-favoriten__more .ff-shop-ef-more {
    margin-top: 0;
}

/* Herz-Button aktiv */
.ff-shop-wish-btn.is-saved .ff-shop-wish-icon path {
    fill: #d9d9d9;
}

@media (max-width: 720px) {
    .ff-shop-favoriten__item-inner {
        gap: 20px;
    }

    .ff-shop-favoriten__media--single,
    .ff-shop-favoriten__img {
        width: 110px;
        height: auto;
        max-height: 160px;
    }

    .ff-shop-favoriten__content {
        min-height: 160px;
    }

    .ff-shop-favoriten__media--stack {
        width: calc(110px + (var(--ff-fav-stack-step) * max(0, var(--ff-fav-stack-count, 1) - 1)));
        height: 150px;
    }

    .ff-shop-favoriten__stack-layer {
        width: 110px;
        height: 150px;
    }

    .ff-shop-favoriten__item-inner:has(.ff-shop-favoriten__media--stack) .ff-shop-favoriten__content {
        min-height: calc(150px + 3.5px);
    }

    .ff-shop-favoriten__content-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .ff-shop-favoriten__actions {
        justify-content: flex-start;
        flex-wrap: wrap;
    }
}
