/* Wishlist toggle button - shared styles */
.rdwishlist-toggle {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: transform 0.2s ease;
    z-index: 2;
}

.rdwishlist-toggle:hover {
    transform: scale(1.1);
}

.rdwishlist-toggle .rdwishlist-heart {
    fill: none;
    stroke: #333;
    stroke-width: 1.5;
    transition: fill 0.2s ease, stroke 0.2s ease;
}

.rdwishlist-toggle.active .rdwishlist-heart {
    fill: #333;
    stroke: #333;
}

/* Product page button */
.rdwishlist-btn {
    width: 44px;
    height: 44px;
}

/* Product page: replace the static heart */
#product-flag-wishlist {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Miniature infos: title/category + heart side by side */
.product-miniature__infos__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
}

.product-miniature__infos__text {
    flex: 1;
    min-width: 0;
}

/* Miniature heart button */
.rdwishlist-btn-mini {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
}

/* Wishlist page grid */
.rdwishlist-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

@media (max-width: 991px) {
    .rdwishlist-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .rdwishlist-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

/* Customer page layout (no sidebar) */
.customer-page__back {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.875rem;
    color: #333;
    text-decoration: none;
    margin-bottom: 24px;
}

.customer-page__back-text {
    text-decoration: underline;
    font-weight: 600;
}

.customer-page__title {
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
    text-align: left;
    margin-bottom: 24px;
}

/* Empty wishlist state */
.rdwishlist-empty {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 40px;
}

.rdwishlist-empty__title {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.rdwishlist-empty__subtitle {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 24px;
}
