/* System-owned commerce styles. Keep selectors scoped to .store-system-page. */
.store-system-page.store-system-page .confirmation-card {
  margin-bottom: 18px;
}

.store-system-page.store-system-page .confirmation-payment-note {
  margin: 0;
  color: var(--moss);
  font-size: 14px;
}

.store-system-page.store-system-page .store-flash {
  position: fixed;
  z-index: 100;
  top: 94px;
  right: 28px;
  width: min(420px, calc(100vw - 48px));
  margin: 0;
  padding: 13px 16px;
  border: 1px solid var(--line);
  box-shadow: 0 14px 30px rgba(29, 42, 34, .13);
  font-size: 14px;
  line-height: 1.5;
  animation: store-flash-dismiss .3s ease 4.7s forwards;
}

.store-system-page.store-system-page .store-flash-error {
  background: #f7e2dc;
  color: #813522;
}

.store-system-page.store-system-page .store-flash-success {
  background: #d9e3d2;
  color: var(--ink);
}

@keyframes store-flash-dismiss {
  to {
    opacity: 0;
    transform: translateY(-8px);
    visibility: hidden;
  }
}

@media (max-width: 800px) {
  .store-system-page.store-system-page .store-flash {
    top: 78px;
    right: 24px;
  }
}
