:root {
  --black: #0b0b0b;
  --ink: #171717;
  --yellow: #ffd500;
  --line: #dddddd;
}
* { box-sizing: border-box; }
body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: #f4f4f4;
  font-family: "Noto Sans Georgian", system-ui, sans-serif;
  line-height: 1.5;
}
button, input { font: inherit; }
.checkout-shell {
  width: min(100% - 2rem, 34rem);
  margin: 0 auto;
  padding: 2rem 0 4rem;
}
.brand {
  display: inline-block;
  color: var(--black);
  font-size: 1.1rem;
  font-weight: 900;
  text-decoration: none;
}
.mode-label {
  width: fit-content;
  margin: 1.2rem 0;
  padding: .35rem .7rem;
  border-radius: 100px;
  color: var(--black);
  background: var(--yellow);
  font-size: .77rem;
  font-weight: 900;
}
.checkout-card,
.success-card {
  padding: clamp(1.35rem, 5vw, 2rem);
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background: white;
  box-shadow: 0 12px 35px rgba(0, 0, 0, .06);
}
.eyebrow {
  margin: 0 0 .55rem;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .03em;
}
h1, h2 {
  margin: 0 0 1.1rem;
  font-size: clamp(1.45rem, 5vw, 2rem);
  font-weight: 900;
  line-height: 1.35;
}
.notice {
  margin: 0;
  padding: 1rem;
  border-left: 4px solid var(--yellow);
  color: #373737;
  background: #fffbea;
  font-size: .9rem;
}
.order-summary {
  margin: 1.5rem 0;
  border-top: 1px solid var(--line);
}
.order-summary > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: .8rem 0;
  border-bottom: 1px solid var(--line);
}
.order-summary span { color: #555; }
.order-summary strong { text-align: right; }
.order-summary .total {
  font-size: 1.3rem;
  font-weight: 900;
}
.order-summary .total span { color: var(--ink); }
.form-title {
  margin: 1.5rem 0 .8rem;
  font-size: 1.05rem;
}
.card-title { margin-top: 2rem; }
.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .8rem;
}
label {
  display: block;
  margin-bottom: .85rem;
  font-size: .88rem;
  font-weight: 700;
}
label span { color: #a52b21; }
input {
  display: block;
  width: 100%;
  min-height: 3rem;
  margin-top: .35rem;
  padding: .65rem .75rem;
  border: 1px solid #b7b7b7;
  border-radius: .55rem;
  background: #fff;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 500;
}
input[readonly] {
  color: #555;
  background: #f1f1f1;
  cursor: not-allowed;
}
input:focus-visible {
  outline: 3px solid #1684ff;
  outline-offset: 2px;
}
.field-note {
  margin: -.25rem 0 1.15rem;
  color: #575757;
  font-size: .78rem;
}
.demo-note { margin-top: 0; }
.confirm-button,
.back-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 3.6rem;
  padding: .75rem 1rem;
  border: 0;
  border-radius: .75rem;
  color: var(--black);
  background: var(--yellow);
  text-align: center;
  text-decoration: none;
  font-weight: 900;
  cursor: pointer;
}
.confirm-button:hover,
.back-button:hover { background: #ffe13a; }
.confirm-button:focus-visible,
.back-button:focus-visible,
.brand:focus-visible {
  outline: 3px solid #1684ff;
  outline-offset: 3px;
}
.small-note {
  margin: .8rem 0 0;
  color: #666;
  font-size: .78rem;
  text-align: center;
}
.form-error {
  padding: .8rem 1rem;
  border: 1px solid #b42318;
  border-radius: .6rem;
  color: #7a1c13;
  background: #fff1ef;
  font-weight: 700;
}
.form-error[hidden] { display: none; }
.success-card[hidden] { display: none; }
.checkout-card[hidden] { display: none; }
.success-card { text-align: center; }
.success-card p:not(.eyebrow) {
  margin: 0 0 1.5rem;
  color: #555;
}
.success-icon {
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto 1rem;
  border-radius: 50%;
  color: var(--black);
  background: var(--yellow);
  font-size: 1.5rem;
  font-weight: 900;
}
@media (max-width: 480px) {
  .contact-row { grid-template-columns: 1fr; gap: 0; }
}
