/* ===== TOAST ===== */
.toast-container {
    position: fixed;
    top: calc(var(--header-height) + var(--space-md));
    right: var(--space-lg);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.toast {
    background: var(--white);
    border: 1px solid var(--grey-100);
    border-left: 3px solid var(--blue-500);
    border-radius: var(--radius-md);
    padding: 12px var(--space-lg);
    display: flex;
    align-items: center;
    gap: var(--space-md);
    min-width: 300px;
    box-shadow: var(--shadow-xl);
    animation: slideInRight 0.4s var(--ease-power);
}

.toast.success { border-left-color: var(--success); }
.toast.error { border-left-color: var(--danger); }
.toast.warning { border-left-color: var(--warning); }

.toast.removing {
    animation: slideOutRight 0.3s var(--ease-smooth) forwards;
}

@keyframes slideInRight {
    from { transform: translateX(120%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideOutRight {
    to { transform: translateX(120%); opacity: 0; }
}

.toast-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.toast-icon svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

.toast.success .toast-icon { color: var(--success); }
.toast.error .toast-icon { color: var(--danger); }
.toast.warning .toast-icon { color: var(--warning); }
.toast .toast-icon { color: var(--blue-500); }

.toast-message {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--grey-700);
    flex: 1;
}

.toast-close {
    background: none;
    color: var(--grey-300);
    font-size: 1rem;
    padding: 2px;
    transition: var(--transition-fast);
    line-height: 1;
}

.toast-close:hover {
    color: var(--grey-600);
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.82rem;
    margin-bottom: var(--space-xl);
    color: var(--grey-400);
}

.breadcrumb a {
    transition: var(--transition-fast);
}

.breadcrumb a:hover {
    color: var(--blue-500);
}

.breadcrumb .separator {
    color: var(--grey-300);
}

.breadcrumb .current {
    color: var(--grey-700);
    font-weight: 600;
}

/* ===== MODAL ===== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-fast);
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal {
    background: var(--white);
    border: 1px solid var(--grey-100);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    max-width: 480px;
    width: 90%;
    transform: scale(0.95) translateY(16px);
    transition: var(--transition-med);
    box-shadow: var(--shadow-xl);
}

.modal-overlay.active .modal {
    transform: scale(1) translateY(0);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-lg);
}

.modal-header h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--grey-700);
}

.modal-close {
    width: 34px;
    height: 34px;
    background: var(--grey-50);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--grey-400);
    transition: var(--transition-fast);
    font-size: 1rem;
}

.modal-close:hover {
    background: var(--danger-bg);
    color: var(--danger);
}

.checkout-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.form-group label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--grey-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-input {
    background: var(--grey-50);
    border: 1px solid var(--grey-200);
    border-radius: var(--radius-md);
    padding: 10px var(--space-md);
    color: var(--grey-700);
    font-size: 0.88rem;
    transition: var(--transition-fast);
}

.form-input:focus {
    border-color: var(--blue-500);
    box-shadow: 0 0 0 3px var(--blue-glow);
    background: var(--white);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.form-note {
    text-align: center;
    font-size: 0.72rem;
    color: var(--grey-400);
    margin-top: var(--space-sm);
}