/* === Wishlist Button === */
.mbws-wishlist-wrap {
    /* margin-top: 24px; */
    display: inline;
}

.mbws-wishlist-btn.button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 10px;
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    background: #fff;
    color: var(--primary-color);
    font-weight: 600;
    cursor: pointer;
    transition: all .25s ease;
    margin-bottom: 1em;
}

.mbws-wishlist-btn.button:hover {
    border-color: #e53935;
    color: #e53935;
}

.mbws-wishlist-btn.mbws-wishlisted.button {
    border-color: #e53935;
    background: #fff0f0;
    color: #e53935;
}

.mbws-wishlist-btn svg {
    flex-shrink: 0;
    transition: transform .2s ease;
    width: 16px;
}

.mbws-wishlist-btn.mbws-loading {
    opacity: .6;
    pointer-events: none;
}

.mbws-wishlist-btn .mbws-wishlist-icon {
    line-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2px;
}

/* === Login Lightbox === */
.mbws-login-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .55);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(3px);
    opacity: 0;
    transition: opacity .25s ease;
}

.mbws-login-overlay:not([hidden]) {
    opacity: 1;
}

.mbws-login-overlay[hidden] {
    display: none !important;
}

.mbws-login-lightbox {
    background: #fff;
    border-radius: 12px;
    padding: 36px 32px 28px;
    max-width: 420px;
    width: 90%;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .2);
    transform: translateY(10px);
    transition: transform .25s ease;
}

.mbws-login-overlay:not([hidden]) .mbws-login-lightbox {
    transform: translateY(0);
}

.mbws-login-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    color: #999;
    padding: 4px;
    transition: color .2s;
}

.mbws-login-close:hover {
    color: #333;
}