.eb-wishlist-heart {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: background 0.2s ease, transform 0.2s ease;
    padding: 0;
}

.eb-wishlist-heart:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.1);
}

.eb-wishlist-heart svg {
    width: 18px;
    height: 18px;
    transition: transform 0.2s ease;
}

.eb-wishlist-heart svg path {
    transition: fill 0.2s ease, stroke 0.2s ease;
}

.eb-wishlist-heart.is-active {
    background: #fff;
}

.eb-wishlist-heart.is-active svg path {
    fill: #e74c3c;
    stroke: #e74c3c;
}

.eb-wishlist-heart:not(.is-active) svg path {
    fill: none;
    stroke: #333;
}

.eb-wishlist-heart.added {
    animation: eb-wishlist-bounce 0.4s ease;
}

/* Hover when inactive */
.eb-wishlist-heart:not(.is-active):hover {
    color: var(--eb-pink);
}

.eb-wishlist-heart:not(.is-active):hover svg path {
    stroke: var(--eb-pink);
}

.woocommerce-MyAccount-navigation-link--wishlist a::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: "\f2f5";
    width: 22px;
    margin-right: 12px;
    text-align: center;
    display: inline-block;
}

@keyframes eb-wishlist-bounce {
    0% {
        transform: scale(1);
    }
    30% {
        transform: scale(1.4);
    }
    60% {
        transform: scale(0.9);
    }
    100% {
        transform: scale(1);
    }
}

.eb-wishlist-page {
    padding: 20px 0;
}

.eb-wishlist-page .eb-empty-state {
    text-align: center;
    padding: 40px 20px;
    font-size: 16px;
    color: #666;
}

.eb-wishlist-page .eb-empty-state a {
    display: inline-block;
    margin-top: 15px;
}

/* Wishlist grid */
.eb-wishlist-items {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
    margin-top: 30px;
}

/* Product card */
.eb-wishlist-item {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e9e9e9;
    border-radius: 10px;
    overflow: hidden;
    transition: all .25s ease;
    height: 100%;
}

.eb-wishlist-item:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
    transform: translateY(-3px);
}

/* Product image */
.eb-wishlist-item__image {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    background: #fafafa;
}

.eb-wishlist-item__image a,
.eb-wishlist-item__image img {
    display: block;
    width: 100%;
    height: 100%;
}

.eb-wishlist-item__image img {
    object-fit: cover;
    transition: transform .3s ease;
}

.eb-wishlist-item:hover .eb-wishlist-item__image img {
    transform: scale(1.05);
}

/* Product details */
.eb-wishlist-item__details {
    flex: 1;
    padding: 18px;
    display: flex;
    flex-direction: column;
}

.eb-wishlist-item__name {
    margin: 0 0 10px;
    font-size: 18px;
    line-height: 1.4;
}

.eb-wishlist-item__name a {
    color: #222;
    text-decoration: none;
}

.eb-wishlist-item__name a:hover {
    color: var(--eb-pink);
}

.eb-wishlist-item__price {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: var(--eb-pink);
    margin-bottom: 8px;
}

.eb-wishlist-item__stock {
    margin: 0;
    font-size: 14px;
    color: #777;
}

/* Push buttons to bottom */
.eb-wishlist-item__actions {
    margin-top: auto;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.eb-wishlist-item__actions .button,
.eb-wishlist-item__actions button {
    width: 100%;
    margin: 0;
    text-align: center;
    border-radius: 6px;
}

/* Add to cart */
.eb-add-to-cart {
    background: var(--eb-primary);
    color: #fff;
    border: none;
}

.eb-add-to-cart:hover {
    background: var(--eb-primary-dark);
    color: #fff;
}

/* Remove button */
.eb-wishlist-remove {
    background: transparent;
    color: #d33;
    border: 1px solid #d33;
}

.eb-wishlist-remove:hover {
    background: #d33;
    color: #fff;
}

/* Tablet */
@media (max-width: 992px) {
    .eb-wishlist-items {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 576px) {
    .eb-wishlist-items {
        grid-template-columns: 1fr;
    }
}