/* Karen v16.2.7.3 - product wishlist heart */
.product-details__purchase-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.product-details__wishlist-fallback-wrap {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 10px 0 6px;
}

.product-details__btn-favorite {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    min-width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid #d7d7d7;
    border-radius: 50%;
    background: #fff;
    color: #555;
    cursor: pointer;
    line-height: 1;
    vertical-align: middle;
    box-shadow: none;
    -webkit-appearance: none;
    appearance: none;
    transition: border-color .16s ease, color .16s ease, background-color .16s ease, transform .16s ease, opacity .16s ease;
}

.product-details__btn-favorite:hover,
.product-details__btn-favorite:focus {
    border-color: #e21f2f;
    color: #e21f2f;
    background: #fff7f8;
    text-decoration: none;
}

.product-details__btn-favorite:focus {
    outline: 2px solid rgba(226, 31, 47, .22);
    outline-offset: 2px;
}

.product-details__btn-favorite:active {
    transform: scale(.94);
}

.product-details__btn-favorite.is-active {
    border-color: #e21f2f;
    background: #fff;
    color: #e21f2f;
}

.product-details__btn-favorite.is-loading {
    opacity: .55;
    pointer-events: none;
}

.product-details__btn-favorite .js__wishlist-icon {
    font-size: 23px;
    line-height: 1;
}

.product-details__btn-favorite.is-active .js__wishlist-icon {
    color: #e21f2f;
}

.product-details__wishlist-fallback-wrap .js__wishlist-message,
.product-details__purchase-actions + .js__wishlist-message,
.js__btn-favorite + .js__wishlist-message {
    display: none;
    width: 100%;
    margin-top: 2px;
    color: #8c1b24;
    font-size: 12px;
    line-height: 1.8;
}

@media (max-width: 767px) {
    .product-details__btn-favorite {
        width: 40px;
        min-width: 40px;
        height: 40px;
    }
}


/* Karen v16.6.0 P03.8.22 - aligned wishlist, safe popovers and compact update request */
.product-details__code-favorite-row {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 10px;
    direction: rtl;
}
.product-details__code-favorite-row > p {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    margin: 0 !important;
    padding: 4px 14px !important;
    direction: ltr;
    line-height: 1.4;
    box-sizing: border-box;
}
.product-details__code-favorite-holder {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    position: relative;
    flex: 0 0 auto;
    width: 46px !important;
    height: 46px;
    margin: 0 !important;
    padding: 0 !important;
}
.product-details__code-favorite-holder .product-details__btn-favorite {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 46px !important;
    min-width: 46px !important;
    height: 46px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: transparent !important;
    color: #555;
    box-shadow: none !important;
    line-height: 1;
}
.product-details__code-favorite-holder .product-details__btn-favorite:hover,
.product-details__code-favorite-holder .product-details__btn-favorite:focus,
.product-details__code-favorite-holder .product-details__btn-favorite.is-active {
    border: 0 !important;
    background: #f6f6f6 !important;
    color: #e21f2f;
    outline: 0;
}
.product-details__code-favorite-holder .product-details__btn-favorite .js__wishlist-icon {
    display: inline-block;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: inherit;
    font-size: 28px;
    line-height: 1;
}

.product-details__code-favorite-holder .product-details__wishlist-heart-svg {
    width: 28px;
    height: 28px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
}
.product-details__code-favorite-holder .product-details__btn-favorite.is-active .product-details__wishlist-heart-svg {
    fill: currentColor;
}
.product-details__wishlist-label { display: none !important; }
.product-details__code-favorite-holder .js__wishlist-message {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: auto;
    display: none;
    width: min(300px, calc(100vw - 24px)) !important;
    max-width: calc(100vw - 24px);
    margin: 0 !important;
    padding: 9px 11px;
    z-index: 10020;
    border: 1px solid #ead4d6;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 7px 22px rgba(0, 0, 0, .14);
    color: #8c1b24;
    font-size: 12px;
    line-height: 1.9;
    text-align: right;
    white-space: normal;
    box-sizing: border-box;
}
.product-details__code-favorite-holder .js__wishlist-message a {
    text-decoration: underline;
    white-space: nowrap;
}
.product-details__year-row {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
}
.product-details__year-row > i { flex: 0 0 88px; }
.product-details__year-row > span { flex: 0 0 auto; }
.farashop__product-details .product-details__request-update-link,
.farashop__product-details__default .product-details__request-update-link {
    display: inline !important;
    margin: 0 10px 0 0;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: inherit !important;
    font: inherit;
    line-height: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
    box-shadow: none !important;
}
.farashop__product-details .product-details__request-update-link:hover,
.farashop__product-details .product-details__request-update-link:focus,
.farashop__product-details__default .product-details__request-update-link:hover,
.farashop__product-details__default .product-details__request-update-link:focus {
    color: #555 !important;
    outline: none;
}
.product-details__request-modal[hidden] { display: none !important; }
.product-details__request-modal {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
    direction: rtl;
    box-sizing: border-box;
}
.product-details__request-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, .58);
}
.product-details__request-dialog {
    position: relative;
    z-index: 1;
    width: min(560px, 100%);
    max-height: calc(100dvh - 32px);
    overflow: auto;
    padding: 24px 26px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .28);
    color: #344054;
    text-align: right;
    line-height: 2;
    box-sizing: border-box;
    outline: none;
}
.product-details__request-dialog p { margin: 0 0 12px; color: #344054; }
.product-details__request-dialog p:last-child { margin-bottom: 0; }
body.product-request-modal-open { overflow: hidden; }
@media (max-width: 767px) {
    .product-details__code-favorite-row {
        width: 100%;
        clear: both;
        gap: 8px;
        justify-content: space-between;
    }
    .product-details__code-favorite-row > p {
        flex: 0 0 auto;
    }
    .product-details__code-favorite-holder,
    .product-details__code-favorite-holder .product-details__btn-favorite {
        width: 42px !important;
        min-width: 42px !important;
        height: 42px !important;
    }
    .product-details__code-favorite-holder .product-details__btn-favorite .js__wishlist-icon { font-size: 26px; }
    .product-details__code-favorite-holder .product-details__wishlist-heart-svg { width: 26px; height: 26px; }
    .product-details__code-favorite-holder .js__wishlist-message { right: auto; left: 0; }
    .product-details__year-row > i { flex-basis: 88px; }
    .product-details__request-dialog { padding: 20px 18px; }
}

