/* ── Wishlist Share UI ──────────────────────────────────────── */

.wishlist-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: linear-gradient(135deg, #38c1c8 0%, #2ea8ae 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 8px rgba(56,193,200,0.25);
}
.wishlist-share-btn:hover { opacity: 0.88; box-shadow: 0 4px 14px rgba(56,193,200,0.38); }
.wishlist-share-btn i { font-size: 16px; }

.wishlist-revoke-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #fff;
    color: #dc2626;
    border: 1.5px solid #fecaca;
    border-radius: 10px;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}
.wishlist-revoke-btn:hover { background: #fef2f2; border-color: #f87171; }
.wishlist-revoke-btn i { font-size: 16px; }

.wishlist-share-panel {
    background: #f0fdfe;
    border: 1.5px solid #99f6e4;
    border-radius: 12px;
    padding: 14px 16px 10px;
    margin-bottom: 20px;
}
.wishlist-share-panel__inner {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.wishlist-share-panel__label {
    font-size: 13px;
    font-weight: 600;
    color: #0f766e;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 5px;
}
.wishlist-share-panel__url {
    flex: 1;
    min-width: 0;
    font-size: 13px;
    color: #0e7490;
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    background: #fff;
    border: 1px solid #b2ebf2;
    border-radius: 7px;
    padding: 6px 10px;
    font-family: monospace;
}
.wishlist-share-panel__url:hover { text-decoration: underline; }
.wishlist-share-panel__copy {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #38c1c8;
    color: #fff;
    border: none;
    border-radius: 7px;
    padding: 7px 14px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s ease;
    flex-shrink: 0;
}
.wishlist-share-panel__copy:hover { background: #2ea8ae; }
.wishlist-share-panel__hint {
    margin: 8px 0 0;
    font-size: 12px;
    color: #6b7280;
}

.wishlist-share-toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    background: #1f2937;
    color: #fff;
    padding: 12px 22px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    z-index: 9999;
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
    white-space: nowrap;
}
.wishlist-share-toast.is-visible {
    opacity: 1;
    pointer-events: none;
}

@media (max-width: 575px) {
    .wishlist-share-panel__inner { flex-direction: column; align-items: stretch; }
    .wishlist-share-panel__url   { width: 100%; }
    .wishlist-share-panel__copy  { width: 100%; justify-content: center; }
}

/* ── existing styles below ──────────────────────────────────── */

.product-card__wishlist-btn.is-active i,
.product-details__btn--wishlist.is-active i {
    color: #38c1c8 !important;
}

.wishlist-items {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
}

.wishlist-header {
    padding: 20px 20px 14px;
    border-bottom: 1px solid #eef2f6;
}

.wishlist-item {
    padding: 18px 20px;
    border-bottom: 1px solid #f3f4f6;
}

.wishlist-item:last-child {
    border-bottom: 0;
}

.wishlist-item__thumb {
    width: 74px;
    height: 74px;
    min-width: 74px;
    border-radius: 10px;
    border: 1px solid #edf0f4;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}

.wishlist-item__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wishlist-item__price {
    font-weight: 700;
    color: #111827;
}

.wishlist-remove-btn {
    border: 1px solid #fecaca;
    color: #dc2626;
    background: #fff5f5;
    padding: 8px 14px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 14px;
}

.wishlist-remove-btn:hover {
    background: #fee2e2;
}

.wishlist-item__actions {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
}

.wishlist-action-btn {
    border-radius: 999px;
    padding: 8px 14px;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

.wishlist-action-btn--options {
    background: #eff6ff;
    color: #1d4ed8;
    border-color: #bfdbfe;
}

.wishlist-action-btn--options:hover {
    background: #dbeafe;
    color: #1e40af;
}

.wishlist-action-btn--cart {
    background: #ecfeff;
    color: #0f766e;
    border-color: #99f6e4;
}

.wishlist-action-btn--cart:hover {
    background: #ccfbf1;
    color: #115e59;
}

.wishlist-page .cart-actions {
    border-top: 1px solid #e5e7eb;
    padding-top: 24px;
    margin-top: 24px;
}

.wishlist-page .cart-actions__inner {
    padding: 16px 20px;
    background: #f9fafb;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.wishlist-page .cart-update-btn {
    background: #fff;
    border: 1.5px solid #38c1c8;
    color: #38c1c8;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    min-height: 48px;
    box-sizing: border-box;
    border-radius: 10px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 1px 2px rgba(56, 193, 200, 0.12);
    transition: all 0.2s ease;
}

.wishlist-page .cart-update-btn i {
    color: inherit;
}

.wishlist-page .cart-update-btn:hover {
    color: #fff;
    border-color: #2ea8ae;
    background: #38c1c8;
    box-shadow: 0 4px 12px rgba(56, 193, 200, 0.3);
}

.wishlist-page .cart-clear-btn {
    background: #fff;
    border: 1.5px solid #dc3545;
    color: #dc3545;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    min-height: 48px;
    box-sizing: border-box;
    border-radius: 10px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 1px 2px rgba(220, 53, 69, 0.12);
    transition: all 0.2s ease;
}

.wishlist-page .cart-clear-btn i {
    color: inherit;
}

.wishlist-page .cart-clear-btn:hover {
    color: #fff;
    border-color: #bb2d3b;
    background: #dc3545;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

@media (max-width: 767px) {
    .wishlist-page .cart-actions__inner {
        width: 100%;
        padding: 14px 16px;
    }
}

@media (max-width: 575.98px) {
    .wishlist-item__actions {
        width: 100%;
        justify-content: stretch;
    }

    .wishlist-action-btn,
    .wishlist-remove-btn {
        width: 100%;
        justify-content: center;
    }

    .wishlist-page .cart-actions .row {
        justify-content: center;
    }

    .wishlist-page .cart-clear-btn {
        width: 100%;
        justify-content: center;
    }

    .wishlist-page .cart-update-btn {
        width: 100%;
        justify-content: center;
    }
}
