.ebook-favorite { display: inline-flex; align-items: center; justify-content: center; flex-wrap: nowrap; gap: 7px; padding: 10px 14px; border: 1px solid #d0ded4; border-radius: 10px; background: #fff; color: #2d5238; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; transition: all 0.2s ease; }
.ebook-favorite[aria-pressed="true"],
.ebook-favorite.liked-active { background: #fff0f3; border-color: #f3bbc8; color: #b52c50; }
.ebook-favorite [data-favorite-count] { padding: 1px 6px; border-radius: 5px; background: #edf4ef; color: #2d5238; font-size: 12px; }
.ebook-favorite[aria-pressed="true"] [data-favorite-count],
.ebook-favorite.liked-active [data-favorite-count] { background: #ffe3e8; color: #b52c50; }
.ebook-favorite:disabled { opacity: .6; cursor: progress; }
.ebook-favorite:focus-visible { outline: 2px solid #2d5238; outline-offset: 3px; }
.ebook-favorite-status { padding: 12px 18px; margin: 16px auto; max-width: 1200px; color: #2d5238; }
.ebook-card-body > .ebook-favorite { margin-top: 12px; }

/* Bảo đảm icon trái tim luôn hiển thị Font Awesome chuẩn, không bao giờ bị ô vuông */
.ebook-favorite i,
.ebook-favorite [class*="fa-"] {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands" !important;
    font-style: normal !important;
    font-variant: normal !important;
    text-rendering: auto !important;
    line-height: 1 !important;
    display: inline-block !important;
    font-size: 14px;
}
.ebook-favorite i.fa-solid,
.ebook-favorite[aria-pressed="true"] i,
.ebook-favorite.liked-active i {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
    color: #e11d48 !important;
}
.ebook-favorite i.fa-regular,
.ebook-favorite[aria-pressed="false"] i {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 400 !important;
}
