.wowcher-wishlist-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.55rem 0.9rem;
    border: 1px solid #273469;
    border-radius: 999px;
    background: #fff;
    color: #273469;
    font: inherit;
    line-height: 1.2;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.wowcher-wishlist-button:hover,
.wowcher-wishlist-button:focus-visible {
    background: #f3f8ff;
    outline: none;
}

.wowcher-wishlist-button.is-active {
    background: #273469;
    color: #fff;
}

.wowcher-wishlist-button.is-loading {
    opacity: 0.7;
    pointer-events: none;
}

.wowcher-wishlist-button--icon {
    padding: 0;
    border-radius: 50%;
    border: 0;
    background: transparent;
}

.wowcher-wishlist-button--icon.is-active {
    background: transparent;
    color: inherit;
}

.wowcher-wishlist-toast {
    position: fixed;
    left: 50%;
    bottom: 1.5rem;
    z-index: 99999;
    max-width: min(92vw, 420px);
    padding: 0.85rem 1.1rem;
    border-radius: 999px;
    background: #1b5e20;
    color: #fff;
    font-size: 0.95rem;
    line-height: 1.35;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    opacity: 0;
    transform: translate(-50%, 12px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.wowcher-wishlist-toast.is-visible {
    opacity: 1;
    transform: translate(-50%, 0);
}

.wowcher-wishlist-toast.is-error {
    background: #b00020;
}

.wowcher-wishlist-page {
    max-width: 960px;
    margin: 0 auto;
    padding: 1.5rem 1rem 3rem;
}

.wowcher-wishlist-page__header {
    margin-bottom: 1.5rem;
}

.wowcher-wishlist-page__title {
    margin: 0 0 0.35rem;
    font-size: clamp(1.5rem, 2vw, 2rem);
}

.wowcher-wishlist-page__count {
    margin: 0;
    color: #555;
}

.wowcher-wishlist-page__status {
    min-height: 1.25rem;
    margin-bottom: 1rem;
    color: #1b5e20;
}

.wowcher-wishlist-page__notice {
    margin: 0;
    padding: 0.75rem 1rem;
    border-radius: 4px;
}

.wowcher-wishlist-page__notice--success {
    color: #1b5e20;
    background: #e8f5e9;
}

.wowcher-wishlist-page__notice--error {
    color: #b00020;
    background: #ffebee;
}

.wowcher-wishlist-page__empty {
    padding: 2rem;
    border: 1px dashed #ccc;
    border-radius: 12px;
    text-align: center;
    background: #fafafa;
}

.wowcher-wishlist-page__shop-link {
    display: inline-block;
    margin-top: 1rem;
    color: #273469;
    font-weight: 600;
}

.wowcher-wishlist-page__list {
    list-style: none;
    margin: 0 0 2rem;
    padding: 0;
    display: grid;
    gap: 1rem;
}

.wowcher-wishlist-item {
    display: grid;
    grid-template-columns: 96px 1fr auto;
    gap: 1rem;
    align-items: center;
    padding: 1rem;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    background: #fff;
}

.wowcher-wishlist-item__image img {
    display: block;
    width: 96px;
    height: 96px;
    object-fit: cover;
    border-radius: 8px;
}

.wowcher-wishlist-item__title {
    margin: 0 0 0.5rem;
    font-size: 1.05rem;
}

.wowcher-wishlist-item__title a {
    color: inherit;
    text-decoration: none;
}

.wowcher-wishlist-item__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    font-size: 0.95rem;
}

.wowcher-wishlist-item__stock.is-out-of-stock {
    color: #b00020;
}

.wowcher-wishlist-page__share {
    padding: 1.5rem;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    background: #fafafa;
}

.wowcher-wishlist-page__share h2 {
    margin-top: 0;
}

.wowcher-wishlist-share-form {
    display: grid;
    gap: 1rem;
}

.wowcher-wishlist-share-form__field label {
    display: block;
    margin-bottom: 0.35rem;
    font-weight: 600;
}

.wowcher-wishlist-share-form__field input,
.wowcher-wishlist-share-form__field textarea {
    width: 100%;
    padding: 0.7rem 0.85rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    font: inherit;
    box-sizing: border-box;
}

.wowcher-wishlist-share-form__field--hidden {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.wowcher-wishlist-share-form__submit {
    justify-self: start;
    padding: 0.75rem 1.25rem;
    border: 0;
    border-radius: 999px;
    background: #273469;
    color: #fff;
    font: inherit;
    cursor: pointer;
}

.wowcher-wishlist-share-form__submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

@media (max-width: 640px) {
    .wowcher-wishlist-item {
        grid-template-columns: 72px 1fr;
    }

    .wowcher-wishlist-item .wowcher-wishlist-button {
        grid-column: 1 / -1;
        width: 100%;
    }

    .wowcher-wishlist-item__image img {
        width: 72px;
        height: 72px;
    }
}
