/* PYM product like feedback — child theme 1.0.25. No external UI dependency. */
.pym-custom-product-container .pym-like-icon {
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.pym-custom-product-container .pym-like-icon:focus-visible {
    outline: 3px solid rgba(209, 50, 50, .22) !important;
    outline-offset: 3px !important;
}

.pym-custom-product-container .pym-like-icon.is-liked {
    border-color: rgba(209, 50, 50, .38) !important;
    background: #fff4f4 !important;
    box-shadow: 0 5px 16px rgba(209, 50, 50, .13) !important;
}

.pym-custom-product-container .pym-like-icon.is-liked img {
    filter: sepia(1) saturate(8) hue-rotate(320deg) brightness(.86);
}

.pym-custom-product-container .pym-like-icon.is-like-loading {
    pointer-events: none !important;
    opacity: .7 !important;
}

.pym-custom-product-container .pym-like-icon.is-like-loading::after {
    content: "";
    position: absolute;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(209, 50, 50, .18);
    border-top-color: #d13232;
    border-radius: 50%;
    animation: pymLikeSpin .65s linear infinite;
}

@keyframes pymLikeSpin {
    to { transform: rotate(360deg); }
}

.pym-like-toast-stack {
    position: fixed;
    left: 22px;
    bottom: 24px;
    z-index: 1000001;
    display: flex;
    flex-direction: column;
    gap: 9px;
    pointer-events: none;
    direction: rtl;
}

.pym-like-toast {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 230px;
    max-width: min(360px, calc(100vw - 32px));
    padding: 11px 14px;
    border: 1px solid rgba(34, 38, 49, .10);
    border-radius: 12px;
    background: rgba(255, 255, 255, .98);
    color: #30303d;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.8;
    box-shadow: 0 14px 34px rgba(28, 31, 42, .15);
    opacity: 0;
    transform: translateY(10px) scale(.98);
    transition: opacity .2s ease, transform .2s ease;
}

.pym-like-toast.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.pym-like-toast-dot {
    flex: 0 0 9px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #64748b;
}

.pym-like-toast.is-success .pym-like-toast-dot { background: #16a36a; }
.pym-like-toast.is-error .pym-like-toast-dot { background: #d13232; }

.pym-like-login-layer {
    position: fixed;
    inset: 0;
    z-index: 1000000;
    display: grid;
    place-items: center;
    padding: 20px;
    direction: rtl;
    opacity: 0;
    visibility: hidden;
    transition: opacity .18s ease, visibility .18s ease;
}

.pym-like-login-layer.is-open {
    opacity: 1;
    visibility: visible;
}

.pym-like-login-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(27, 29, 38, .58);
    backdrop-filter: blur(5px);
}

.pym-like-login-dialog {
    position: relative;
    width: min(430px, 100%);
    padding: 30px 28px 24px;
    border: 1px solid rgba(36, 39, 51, .09);
    border-radius: 20px;
    background: #fff;
    color: #30303d;
    text-align: center;
    box-shadow: 0 24px 70px rgba(20, 23, 33, .22);
    transform: translateY(8px) scale(.985);
    transition: transform .18s ease;
}

.pym-like-login-layer.is-open .pym-like-login-dialog {
    transform: translateY(0) scale(1);
}

.pym-like-login-x {
    position: absolute;
    top: 12px;
    left: 13px;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 9px !important;
    background: #f6f6f8 !important;
    color: #71717d !important;
    font: 400 24px/1 Arial, sans-serif !important;
    cursor: pointer;
}

.pym-like-login-icon {
    display: grid;
    place-items: center;
    width: 62px;
    height: 62px;
    margin: 0 auto 16px;
    border-radius: 18px;
    background: #fff2f2;
    color: #d13232;
}

.pym-like-login-icon svg {
    width: 30px;
    height: 30px;
}

.pym-like-login-dialog h3 {
    margin: 0 0 9px !important;
    color: #252630 !important;
    font-size: 20px !important;
    font-weight: 800 !important;
    line-height: 1.7 !important;
}

.pym-like-login-text {
    margin: 0 auto !important;
    max-width: 330px;
    color: #6b6c76 !important;
    font-size: 13.5px !important;
    line-height: 2 !important;
}

.pym-like-login-actions {
    display: flex;
    justify-content: center;
    gap: 9px;
    margin-top: 21px;
}

.pym-like-login-actions button {
    min-height: 43px;
    padding: 8px 20px !important;
    border-radius: 10px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    cursor: pointer;
    transition: transform .16s ease, opacity .16s ease, background .16s ease;
}

.pym-like-login-primary {
    border: 1px solid #d13232 !important;
    background: #d13232 !important;
    color: #fff !important;
}

.pym-like-login-secondary {
    border: 1px solid #e3e4e8 !important;
    background: #f7f7f8 !important;
    color: #4d4e58 !important;
}

.pym-like-login-actions button:hover {
    transform: translateY(-1px);
}

.pym-like-login-actions button:focus-visible,
.pym-like-login-x:focus-visible {
    outline: 3px solid rgba(209, 50, 50, .20) !important;
    outline-offset: 2px !important;
}

@media (max-width: 600px) {
    .pym-like-toast-stack {
        left: 16px;
        right: 16px;
        bottom: 82px;
    }

    .pym-like-toast {
        width: 100%;
        min-width: 0;
        max-width: none;
    }

    .pym-like-login-layer {
        padding: 16px;
    }

    .pym-like-login-dialog {
        padding: 27px 20px 20px;
        border-radius: 17px;
    }

    .pym-like-login-actions {
        flex-direction: column;
    }

    .pym-like-login-actions button {
        width: 100% !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pym-like-toast,
    .pym-like-login-layer,
    .pym-like-login-dialog,
    .pym-like-login-actions button {
        transition: none !important;
    }
    .pym-custom-product-container .pym-like-icon.is-like-loading::after {
        animation-duration: 1.2s;
    }
}
