/* ============================================
   Custom Toast Notifications - Beautiful & Mobile-friendly
   ============================================ */
.shop-toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 420px;
    width: calc(100% - 40px);
}
.shop-toast {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 20px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12), 0 2px 8px rgba(0,0,0,0.06);
    animation: toastSlideIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: top right;
    border-left: 4px solid #0d6efd;
    cursor: pointer;
    transition: all 0.2s;
}
.shop-toast:hover { box-shadow: 0 12px 40px rgba(0,0,0,0.16); }
.shop-toast.removing {
    animation: toastSlideOut 0.3s cubic-bezier(0.55, 0, 1, 0.45) forwards;
}
.shop-toast-success { border-left-color: #10b981; }
.shop-toast-error   { border-left-color: #ef4444; }
.shop-toast-warning { border-left-color: #f59e0b; }
.shop-toast-info    { border-left-color: #3b82f6; }

.shop-toast-icon {
    flex-shrink: 0;
    width: 36px; height: 36px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
}
.shop-toast-success .shop-toast-icon { background: #ecfdf5; color: #10b981; }
.shop-toast-error   .shop-toast-icon { background: #fef2f2; color: #ef4444; }
.shop-toast-warning .shop-toast-icon { background: #fffbeb; color: #f59e0b; }
.shop-toast-info    .shop-toast-icon { background: #eff6ff; color: #3b82f6; }

.shop-toast-body { flex: 1; min-width: 0; }
.shop-toast-title { font-weight: 600; font-size: 0.95rem; color: #1f2937; margin-bottom: 2px; }
.shop-toast-message { font-size: 0.85rem; color: #6b7280; line-height: 1.4; }

.shop-toast-close {
    flex-shrink: 0;
    width: 24px; height: 24px;
    border: none; background: none;
    color: #9ca3af; font-size: 1.1rem;
    cursor: pointer; border-radius: 4px;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.15s;
}
.shop-toast-close:hover { background: #f3f4f6; color: #374151; }

/* Confirm Modal */
.shop-modal-overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 99998;
    display: flex; align-items: center; justify-content: center;
    animation: modalFadeIn 0.2s;
    padding: 20px;
}
.shop-modal {
    background: #fff;
    border-radius: 16px;
    padding: 28px 32px;
    max-width: 420px; width: 100%;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    animation: modalSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.shop-modal h4 { font-weight: 700; margin-bottom: 8px; color: #1f2937; }
.shop-modal p { font-size: 0.95rem; color: #6b7280; margin-bottom: 24px; line-height: 1.5; }
.shop-modal-buttons { display: flex; gap: 10px; justify-content: flex-end; }
.shop-modal .btn-cancel {
    padding: 8px 20px; border-radius: 8px; border: 1px solid #d1d5db;
    background: #fff; color: #374151; font-weight: 500; cursor: pointer;
    transition: all 0.15s;
}
.shop-modal .btn-cancel:hover { background: #f9fafb; }
.shop-modal .btn-confirm {
    padding: 8px 20px; border-radius: 8px; border: none;
    background: #ef4444; color: #fff; font-weight: 600; cursor: pointer;
    transition: all 0.15s;
}
.shop-modal .btn-confirm:hover { background: #dc2626; }
.shop-modal .btn-confirm.btn-primary-action { background: #0d6efd; }
.shop-modal .btn-confirm.btn-primary-action:hover { background: #0b5ed7; }

@keyframes toastSlideIn {
    from { opacity: 0; transform: translateX(60px) scale(0.95); }
    to   { opacity: 1; transform: translateX(0) scale(1); }
}
@keyframes toastSlideOut {
    from { opacity: 1; transform: translateX(0) scale(1); }
    to   { opacity: 0; transform: translateX(60px) scale(0.95); }
}
@keyframes modalFadeIn  { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalSlideUp { from { opacity: 0; transform: translateY(20px) scale(0.97); } to { opacity: 1; transform: translateY(0) scale(1); } }

@media (max-width: 576px) {
    .shop-toast-container { top: 10px; right: 10px; width: calc(100% - 20px); }
    .shop-toast { padding: 14px 16px; }
    .shop-modal { padding: 24px 20px; }
}
