.kings-wishlist-trigger--fallback.is-active,
.summary .kings-single-wishlist .kings-wishlist-trigger.is-active {
    background: #111;
    color: #fff;
    border-color: #111;
}

.kings-wishlist-trigger--fallback.is-processing {
    pointer-events: none;
    opacity: 0.6;
}

.kings-wishlist-toast {
    position: fixed;
    right: 30px;
    bottom: 30px;
    padding: 14px 18px;
    background: #111;
    color: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    z-index: 9999;
}

.kings-wishlist-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.kings-wishlist-toast--success {
    background: #0f9d58;
}

.kings-wishlist-toast--info {
    background: #1b73e8;
}

.kings-wishlist-toast--error {
    background: #d93025;
}

.kings-wishlist-overlay {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 9998;
    pointer-events: none;
}

.kings-wishlist-overlay.is-open {
    display: block;
    pointer-events: auto;
}

.kings-wishlist-overlay__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

.kings-wishlist-overlay__panel {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(500px, 90vw);
    max-height: 80vh;
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.28);
}

.kings-wishlist-overlay__close {
    position: absolute;
    top: 14px;
    right: 16px;
    background: transparent;
    border: none;
    font-size: 28px;
    line-height: 1;
    color: #666;
    cursor: pointer;
}

.kings-wishlist-overlay__title {
    margin: 0 0 18px;
    font-size: 20px;
    font-weight: 600;
    color: #111;
}

.kings-wishlist-overlay__content {
    overflow-y: auto;
    flex: 1;
    padding-right: 4px;
}

.kings-wishlist-overlay__items[data-state="loading"]::after {
    content: '';
    display: block;
    width: 32px;
    height: 32px;
    margin: 40px auto;
    border-radius: 50%;
    border: 3px solid #ddd;
    border-top-color: #111;
    animation: kings-wishlist-spin 0.9s linear infinite;
}

.kings-wishlist-overlay__empty {
    text-align: center;
    padding: 32px 0;
    color: #555;
    font-size: 15px;
}

.kings-wishlist-overlay__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.kings-wishlist-overlay__item {
    display: flex;
    gap: 16px;
    align-items: center;
}

.kings-wishlist-overlay__thumb {
    width: 72px;
    height: 72px;
    border-radius: 12px;
    overflow: hidden;
    background: #f6f6f6;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.kings-wishlist-overlay__thumb img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
}

.kings-wishlist-overlay__details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.kings-wishlist-overlay__name {
    color: #111;
    font-weight: 600;
    line-height: 1.35;
    text-decoration: none;
}

.kings-wishlist-overlay__name:hover {
    color: #000;
}

.kings-wishlist-overlay__price {
    color: #444;
    font-size: 14px;
}

.kings-wishlist-overlay__actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-end;
}

.kings-wishlist-overlay__view {
    color: #1b73e8;
    font-size: 14px;
    text-decoration: none;
}

.kings-wishlist-overlay__remove {
    background: transparent;
    border: none;
    color: #d93025;
    font-size: 13px;
    cursor: pointer;
}

.kings-wishlist-overlay-open {
    overflow: hidden;
}

@media (max-width: 540px) {
    .kings-wishlist-overlay__panel {
        width: 94vw;
        padding: 20px 18px;
    }

    .kings-wishlist-overlay__item {
        align-items: flex-start;
    }

    .kings-wishlist-overlay__actions {
        align-items: flex-start;
    }
}

@keyframes kings-wishlist-spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
