/* Shared Piękne Okno order presentation. */
:root {
  --po-ink: #202120;
  --po-accent: #ff822e;
  --po-surface: #fafaf7;
  --po-border: #dbdfd9;
}
body {
  background: var(--po-surface);
  color: var(--po-ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
body > header {
  background: #fff;
  border-bottom: 1px solid var(--po-border);
}
main h1 {
  color: var(--po-ink);
  letter-spacing: -.035em;
}
main :is(input:not([type=checkbox]):not([type=radio]), select, textarea) {
  border-radius: 8px;
  border-color: var(--po-border);
}
main :is(input, select, textarea):focus-visible,
.po-order-action button:focus-visible {
  outline: 2px solid #b94d0d;
  outline-offset: 2px;
}
.po-order-action {
  display: grid;
  gap: 12px;
  margin-top: 20px;
  padding: 20px;
  border-radius: 12px;
  background: var(--po-ink);
  color: #fff;
}
.po-order-action .po-order-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin: 0;
  padding: 0 0 12px;
  border: 0;
  border-bottom: 1px solid #586159;
  background: transparent;
  color: #fff;
}
.po-order-action .po-order-total :is(span, strong, b) { color: #fff; }
.po-order-action .po-order-total :is(strong, b) { text-align: end; }
.po-order-action button.po-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  min-height: 48px;
  margin: 0;
  padding: 12px 16px;
  border: 1px solid var(--po-accent);
  border-radius: 8px;
  background: var(--po-accent);
  color: #201b17;
  font-size: 1rem;
  font-weight: 750;
  text-align: left;
}
.po-order-action button.po-submit:hover:not(:disabled) { background: #ffa15e; }
.po-order-action button.po-submit:disabled { opacity: .62; cursor: wait; }
.po-order-action .po-confirmation-note,
.po-order-action [role=status] {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #e0e5df;
  font-size: .84rem;
  line-height: 1.45;
}
.po-order-action [role=status]:empty { display: none; }
@media (max-width: 540px) {
  .po-order-action { padding: 16px; }
  .po-order-action .po-order-total { flex-wrap: wrap; }
}
