/**
 * Wishlist CSS - Premium Styling
 *
 * @package Danny
 */

/* Button on Product Cards and Single Product Page */
.danny-wishlist-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 14px;
    margin-top: 10px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background-color: #ffffff;
    color: #4a5568;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.danny-wishlist-btn:hover,
.danny-wishlist-btn:focus {
    border-color: #cbd5e0;
    background-color: #f7fafc;
    color: #2d3748;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.danny-wishlist-btn.is-in-wishlist {
    border-color: #feb2b2;
    background-color: #fff5f5;
    color: #e53e3e;
}

.danny-wishlist-btn.is-in-wishlist:hover {
    background-color: #fed7d7;
    border-color: #f56565;
}

.danny-wishlist-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.danny-wishlist-btn .wishlist-icon {
    font-size: 1.1em;
    line-height: 1;
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.danny-wishlist-btn:hover .wishlist-icon {
    transform: scale(1.25);
}

/* Wishlist Count Badge */
.danny-wishlist-count {
    display: inline-block;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 9999px;
    background-color: #e53e3e;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 20px;
    text-align: center;
}

/* Wishlist Container / Page */
.danny-wishlist-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 1rem;
}

.wishlist-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #edf2f7;
}

.wishlist-summary {
    font-size: 1.125rem;
    font-weight: 600;
    color: #2d3748;
}

.danny-wishlist-clear-btn {
    padding: 8px 16px;
    border: 1px solid #fc8181;
    border-radius: 6px;
    background-color: #fff5f5;
    color: #c53030;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.danny-wishlist-clear-btn:hover {
    background-color: #e53e3e;
    color: #ffffff;
}

.wishlist-empty {
    padding: 3rem 1rem;
    text-align: center;
    background-color: #f7fafc;
    border: 2px dashed #cbd5e0;
    border-radius: 8px;
    color: #718096;
    font-size: 1.125rem;
}