.plp-like-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    max-width: 600px;
    margin: 20px auto;
    padding: 10px;
    font-size: 1.4em;
    font-weight: bold;
    background-color: #b02a09;
    color: #fff;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s ease-in-out;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    position: relative;
}

.plp-like-btn:hover {
    background-color: #e84118;
    transform: scale(1.05);
}

.plp-like-count {
    background-color: #fff;
    color: #ff4757;
    font-size: 0.7em;
    font-weight: bold;
    border-radius: 50%;
    padding: 4px 8px;
    min-width: 28px;
    text-align: center;
    line-height: 1.2;
    display: inline-block;
}

/* État déjà aimé */
.plp-like-btn.liked {
    opacity: 0.8;
    cursor: default;
    background-color: #aaa;
    transform: none;
}

/* Animation du cœur au clic */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.4); }
    100% { transform: scale(1); }
}

.plp-like-btn.pulse {
    animation: pulse 0.3s ease-in-out;
}


/* Responsive pour smartphones */
@media screen and (max-width: 480px) {
    .plp-like-btn {
        font-size: 1.2em;
        padding: 16px;
        max-width: 90%; /* Laisse un peu de marge sur mobile */
    }

    .plp-like-count {
        font-size: 0.7em;
        min-width: 24px;
        padding: 3px 6px;
    }
}
.plp-like-btn.highlight {
    animation: pulseHighlight 1s infinite;
}

.plp-like-btn.liked {
    opacity: 0.8;
    cursor: default;
    background-color: #aaa;
    transform: none;
    animation: none !important; /* <-- annule toute animation */
}
#plp-like-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #222;
    color: #fff;
    text-align: center;
    padding: 12px;
    box-shadow: 0 -2px 6px rgba(0,0,0,0.3);
    font-size: 16px;
    z-index: 9999;
}

.plp-like-banner-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

#plp-like-banner button {
    background: #ff9800;
    color: #fff;
    border: none;
    padding: 8px 14px;
    font-size: 15px;
    border-radius: 4px;
    cursor: pointer;
}

#plp-like-banner-close {
    cursor: pointer;
    font-size: 18px;
    opacity: 0.7;
}
#plp-like-banner-close:hover {
    opacity: 1;
}
