.wishlist-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.wishlist-header {
    margin-bottom: 20px;
}

.wishlist-products .card {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    position: relative;
    margin-bottom: 20px;
}

.wishlist-products .card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.wishlist-products .product-image {
    position: relative;
    overflow: hidden;
}

.wishlist-products .product-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.wishlist-products .card:hover .product-image img {
    transform: scale(1.05);
}

.wishlist-products .no-image-placeholder {
    background: #f8f9fa;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #6c757d;
}

/* Bouton de suppression sur l'image */
.wishlist-products .btn-remove-overlay {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(220, 38, 38, 0.9);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.3s ease;
    opacity: 0;
    transform: scale(0.8);
    z-index: 10;
}

.wishlist-products .card:hover .btn-remove-overlay {
    opacity: 1;
    transform: scale(1);
}

.wishlist-products .btn-remove-overlay:hover {
    background: rgba(220, 38, 38, 1);
    transform: scale(1.1);
}

.wishlist-products .btn-remove-overlay.processing {
    opacity: 1;
    transform: scale(1);
    background: rgba(108, 117, 125, 0.9);
}

.wishlist-products .product-info {
    padding: 20px;
}

.wishlist-products .product-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.4;
}

.wishlist-products .product-name a {
    color: #1f2937;
    text-decoration: none;
    transition: color 0.3s ease;
}

.wishlist-products .product-name a:hover {
    color: #3b82f6;
}

.wishlist-products .product-price {
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: 700;
    color: #dc2626;
}

.wishlist-products .product-stock {
    margin-bottom: 15px;
}

.wishlist-products .stock-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wishlist-products .stock-status.stock-in_stock {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.wishlist-products .stock-status.stock-out_of_stock {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.wishlist-products .stock-status i {
    font-size: 14px;
}

.wishlist-products .product-actions {
    padding: 0 20px 20px;
    display: flex;
    justify-content: center;
}

.wishlist-products .btn-wishlist {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    justify-content: center;
}

.wishlist-products .btn-add-to-cart {
    background: linear-gradient(135deg, #131518, #0f1012);
    color: white;
}

.wishlist-products .btn-add-to-cart:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.wishlist-products .btn-add-to-cart:disabled,
.wishlist-products .btn-add-to-cart.disabled {
    background: #9ca3af;
    cursor: not-allowed;
    opacity: 0.6;
    color: #6b7280;
}

.wishlist-products .btn-add-to-cart.disabled:hover {
    transform: none;
    box-shadow: none;
}

.wishlist-products .btn-wishlist.processing {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* État vide */
.wishlist-empty {
    padding: 50px 0;
    text-align: center;
}

.wishlist-empty .empty-wishlist-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    background: #f1f1f1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Notifications */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 12000;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.toast {
    background: #fff;
    color: #1f2937;
    min-width: 280px;
    max-width: 340px;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    overflow: hidden;
    transform: translateX(120%);
    opacity: 0;
    transition: all 0.35s ease;
    font-family: system-ui, sans-serif;
    border-left: 6px solid transparent;
}

.toast.show {
    transform: translateX(0);
    opacity: 1;
}

.toast.hide {
    transform: translateX(120%);
    opacity: 0;
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    position: relative;
}

.toast-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: white;
}

.toast-close {
    background: none;
    border: none;
    font-size: 20px;
    color: #6b7280;
    cursor: pointer;
    margin-left: auto;
    line-height: 1;
}

.toast-progress {
    height: 3px;
    background: rgba(0,0,0,0.1);
    width: 100%;
}

/* Toast variants */
.toast.success { border-left-color: #22c55e; }
.toast.success .toast-icon { background: #22c55e; }
.toast.success .toast-icon::before { content: "✓"; }

.toast.error { border-left-color: #ef4444; }
.toast.error .toast-icon { background: #ef4444; }
.toast.error .toast-icon::before { content: "×"; }

.toast.info { border-left-color: #3b82f6; }
.toast.info .toast-icon { background: #3b82f6; }
.toast.info .toast-icon::before { content: "i"; }

.toast.warning { border-left-color: #f59e0b; }
.toast.warning .toast-icon { background: #f59e0b; }
.toast.warning .toast-icon::before { content: "!"; }

.toast.confirmation { border-left-color: #3b82f6; }
.toast.confirmation .toast-icon { background: #3b82f6; }
.toast.confirmation .toast-icon::before { content: "?"; }

/* Confirmation buttons */
.toast.confirmation .confirmation-buttons {
    display: flex;
    gap: 10px;
    margin-left: auto;
}

.toast.confirmation .btn-confirm,
.toast.confirmation .btn-cancel {
    padding: 6px 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
}

.toast.confirmation .btn-confirm {
    background: #22c55e;
    color: white;
}

.toast.confirmation .btn-cancel {
    background: #ef4444;
    color: white;
}
