/* Alleen de wishlist-knoppen binnen de verlanglijst tonen als kruisje */
.elementor-2425 .bf-simple-wishlist-template-grid
.bf-simple-wishlist-elementor.is-active .elementor-button-icon {
    visibility: hidden;
}

.elementor-2425 .bf-simple-wishlist-template-grid
.bf-simple-wishlist-elementor.is-active .elementor-button {
    position: relative;
}

.elementor-2425 .bf-simple-wishlist-template-grid
.bf-simple-wishlist-elementor.is-active .elementor-button::before,
.elementor-2425 .bf-simple-wishlist-template-grid
.bf-simple-wishlist-elementor.is-active .elementor-button::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 21px;
    height: 2px;
    border-radius: 2px;
    background: #fff;
    pointer-events: none;
}

.elementor-2425 .bf-simple-wishlist-template-grid
.bf-simple-wishlist-elementor.is-active .elementor-button::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.elementor-2425 .bf-simple-wishlist-template-grid
.bf-simple-wishlist-elementor.is-active .elementor-button::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.bf-simple-wishlist-button {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    margin-top: 0.75rem;
    font-size: 0.9rem;
    line-height: 1.3;
    text-decoration: none;
    cursor: pointer;
}

.bf-simple-wishlist-button:hover,
.bf-simple-wishlist-button:focus {
    text-decoration: underline;
}

.bf-simple-wishlist-button.is-active {
    font-weight: 600;
}

.bf-simple-wishlist-button.is-loading {
    opacity: 0.6;
    pointer-events: none;
}

.bf-simple-wishlist-button--single {
    margin-top: 1rem;
}

.bf-simple-wishlist-button--loop {
    margin-top: 0.75rem;
}

.bf-simple-wishlist-overview {
    width: 100%;
}

.bf-simple-wishlist-total {
    margin-bottom: 1.5rem;
}

.bf-simple-wishlist-empty {
    margin: 1rem 0;
}


/* Elementor Button widget support: styling blijft in Elementor; dit blok regelt alleen de states. */
.bf-simple-wishlist-elementor.is-loading,
.bf-simple-wishlist-elementor .is-loading {
    opacity: 0.6;
    pointer-events: none;
}

.bf-simple-wishlist-template-grid {
    display: grid;
    grid-template-columns: repeat(var(--bf-wishlist-columns, 4), minmax(0, 1fr));
    gap: var(--bf-wishlist-gap, 24px);
}

@media (max-width: 1024px) {
    .bf-simple-wishlist-template-grid {
        grid-template-columns: repeat(min(2, var(--bf-wishlist-columns, 4)), minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .bf-simple-wishlist-template-grid {
        grid-template-columns: 1fr;
    }
}

/* Wishlist-counter voor menu/header/Elementor buttons. Styling kan verder in Elementor worden bepaald. */
.bf-simple-wishlist-menu-link,
.bf-simple-wishlist-menu-link .elementor-button,
.bf-simple-wishlist-menu-link.bf-simple-wishlist-shortcode-menu-link {
    position: relative;
}

.bf-simple-wishlist-menu-link .elementor-button,
.bf-simple-wishlist-menu-link.bf-simple-wishlist-shortcode-menu-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45em;
}

.bf-simple-wishlist-menu-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.35em;
    height: 1.35em;
    padding: 0 0.35em;
    margin-left: 0.35em;
    border-radius: 999px;
    font-size: 0.75em;
    font-weight: 700;
    line-height: 1;
    background: var(--bf-wishlist-counter-bg, #ffffff);
    color: var(--bf-wishlist-counter-color, #111111);
}

.bf-simple-wishlist-menu-count[hidden],
.bf-simple-wishlist-count-hide-empty.is-empty {
    display: none !important;
}
