/* Wishlist Button on Product Cards */
.aa-wishlist-btn {
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    cursor: pointer !important;
    z-index: 99 !important;
    box-shadow: 0 3px 6px rgba(0,0,0,0.1) !important;
    transition: all 0.3s ease !important;
    color: #64748b !important;
    outline: none !important;
}

.aa-wishlist-btn:hover {
    transform: scale(1.05) !important;
    box-shadow: 0 5px 10px rgba(0,0,0,0.15) !important;
}

.aa-wishlist-btn svg {
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    min-height: 18px !important;
    display: block !important;
    transition: all 0.3s ease !important;
    pointer-events: none !important;
}

/* Empty Heart (default) */
.aa-wishlist-btn svg path {
    fill: transparent !important;
    stroke: #64748b !important;
    stroke-width: 2 !important;
}

/* Filled Heart (in wishlist) */
.aa-wishlist-btn.aa-in-wishlist {
    background: #ff4757 !important;
    border-color: #ff4757 !important;
    color: #ffffff !important;
}

.aa-wishlist-btn.aa-in-wishlist svg path {
    fill: #ffffff !important;
    stroke: #ffffff !important;
}

/* Loading state */
.aa-wishlist-btn.loading {
    opacity: 0.7;
    pointer-events: none;
    animation: aaWishlistPulse 1s infinite alternate;
}

@keyframes aaWishlistPulse {
    from { transform: scale(1); }
    to { transform: scale(1.1); }
}

/* Mini Wishlist Dropdown */
.aa-wishlist-dropdown-inner.aa-wishlist-has-items {
    padding: 0;
}
.aa-mini-wishlist-items {
    max-height: 350px;
    overflow-y: auto;
}
.aa-mini-wishlist-item {
    display: flex;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #f0f0f0;
    gap: 15px;
}
.aa-mw-img {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    background: #f9f9f9;
}
.aa-mw-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.aa-mw-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.aa-mw-title {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    text-decoration: none;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.aa-mw-title:hover {
    color: var(--aa-primary, #C8A15A);
}
.aa-mw-price {
    font-size: 14px;
    font-weight: 600;
    color: var(--aa-primary, #C8A15A);
}
.aa-mw-remove {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    width: 30px !important;
    height: 30px !important;
    border-radius: 5px !important;
    background: #fff0f0 !important;
    border: 1px solid #ffd0d0 !important;
    color: #ff4757 !important;
    flex-shrink: 0;
}
.aa-mw-remove:hover {
    background: #ff4757 !important;
    color: #fff !important;
}
.aa-mw-remove svg path, .aa-mw-remove svg line {
    stroke: currentColor !important;
    fill: none !important;
}
.aa-mini-wishlist-footer {
    padding: 15px;
    background: #fdfdfd;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}
.aa-wishlist-btn-shop {
    display: block;
    width: 100%;
    padding: 12px;
    background: var(--aa-primary, #C8A15A);
    color: #fff;
    text-align: center;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}
.aa-wishlist-btn-shop:hover {
    background: var(--aa-primary-dark, #a8874a);
    color: #fff;
}
