/* ============================================================
   RUNE LIKE BUTTON — Global CSS
   File: rune-like.css
   Letakkan di: root WordPress
   ============================================================ */

/* ── LIKE BUTTON — style sama persis dengan featured product ── */
.rune-like-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 34px;
    height: 34px;
    border-radius: 50% !important;
    background: rgba(15, 15, 15, 0.5) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 10;
    pointer-events: auto;
    transition: 0.3s;
    padding: 0 !important;
    box-shadow: none !important;
    flex-direction: column;
    gap: 0;
}

.rune-like-btn svg {
    width: 15px !important;
    height: 15px !important;
    stroke: rgba(255, 255, 255, 0.6) !important;
    fill: none !important;
    transition: 0.3s;
}

.rune-like-btn .rune-like-count {
    font-family: 'Lato', sans-serif;
    font-size: 8px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1;
    transition: 0.3s;
}

/* Hover */
.rune-like-btn:hover {
    border-color: #F69B07 !important;
    background: rgba(246, 155, 7, 0.1) !important;
    color: inherit !important;
}
.rune-like-btn:hover svg {
    stroke: #cc1e1e !important;
    fill: #cc1e1e !important;
}
.rune-like-btn:hover .rune-like-count {
    color: #F69B07;
}

/* Liked */
.rune-like-btn.liked {
    border-color: #F69B07 !important;
    background: rgba(246, 155, 7, 0.1) !important;
}
.rune-like-btn.liked svg {
    stroke: #cc1e1e !important;
    fill: #cc1e1e !important;
}
.rune-like-btn.liked .rune-like-count {
    color: #F69B07;
}

/* Loading */
.rune-like-btn[data-loading="1"] {
    opacity: 0.6;
    pointer-events: none;
}

/* ── SEMBUNYIKAN count di featured (tidak perlu tampil) ── */
.rune-fp-media .rune-like-btn .rune-like-count {
    display: none;
}
