.awfw-toggle-btn.is-in-wishlist {
    opacity: 0.8;
}

.awfw-wishlist {
    max-width: 1000px;
    margin: 0 auto;
}

.awfw-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    list-style: none;
    padding: 0;
}

.awfw-item {
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 12px;
}

.awfw-thumb img {
    width: 100%;
    height: auto;
    display: block;
}

.awfw-meta {
    margin-top: 8px;
    display: grid;
    gap: 6px;
}

.awfw-title {
    font-weight: 600;
    text-decoration: none;
}

.awfw-price {
    font-size: 0.95rem;
}


/* Ensure loop items can position children */
.woocommerce ul.products li.product {
    position: relative;
}

/* Circular heart button */
.awfw-heart-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .15);
    transition: transform .15s ease, box-shadow .2s ease, opacity .15s ease;
    opacity: 0.95;
    color: #444;
    /* heart outline color by default */
    z-index: 5;
}

.awfw-heart-btn:hover {
    transform: scale(1.05);
    opacity: 1;
}

.awfw-heart-btn:active {
    transform: scale(0.97);
}

/* Fill the heart when in wishlist */
.awfw-heart-btn.is-in-wishlist {
    color: #e11d48;
}

/* rose-ish */
.awfw-heart-btn.is-in-wishlist .awfw-heart-path {
    fill: currentColor;
}

/* Crisp icon */
.awfw-heart-svg {
    display: block;
}

/* Inline (shortcode) variant: not absolutely positioned */
.awfw-heart-btn--inline {
    position: static;
    width: 36px;
    height: 36px;
    margin: 0;
    display: inline-flex;
}

.awfw-toggle-btn.awfw-heart-btn {
    border-radius: 50%;
}