:root {
  font-family: "Segoe UI", Arial, sans-serif;
  color: #3f332a;
  background: #f6f2ec;
  --brand: #684d38;
  --brand-dark: #4b3728;
  --accent: #ad824b;
  --ink: #3f332a;
  --muted: #70645b;
  --soft: #f6f2ec;
  --line: #ded3c7;
}

* { box-sizing: border-box; }
body { margin: 0; background: #f6f2ec; }
.order-shell { width: min(920px, calc(100% - 32px)); margin: 0 auto; padding: 28px 0 64px; }
.order-brand { margin-bottom: 24px; }
.order-brand a { display: flex; align-items: center; gap: 17px; color: var(--ink); text-decoration: none; }
.order-brand img { width: 160px; }
.order-brand b { padding-left: 17px; border-left: 1px solid #cfc4c7; font: 600 1.25rem Georgia, "Times New Roman", serif; letter-spacing: .03em; }
.order-card { padding: 38px; border: 1px solid var(--line); border-radius: 5px; background: #fff; }
.eyebrow { margin: 0 0 9px; color: var(--accent); font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
h1 { margin: 0; color: var(--ink); font: 400 clamp(2rem, 7vw, 3.25rem)/1.08 Georgia, "Times New Roman", serif; }
.lead { color: var(--muted); line-height: 1.65; }
form { display: grid; gap: 24px; margin-top: 30px; }
fieldset { border: 0; padding: 0; margin: 0; }
legend { margin-bottom: 11px; font-weight: 700; }
.choice-grid { display: grid; gap: 11px; }
.duration-grid, .service-grid { grid-template-columns: repeat(3, 1fr); }
.choice-grid label { position: relative; cursor: pointer; }
.choice-grid input { position: absolute; opacity: 0; }
.choice-grid label > span { display: flex; min-height: 78px; flex-direction: column; justify-content: center; padding: 14px; border: 1px solid #d4c8cb; border-radius: 4px; }
.choice-grid input:focus-visible + span { outline: 3px solid rgba(104, 77, 56, .2); outline-offset: 2px; }
.choice-grid input:checked + span { border-color: var(--brand); background: #f8f2ea; box-shadow: inset 0 0 0 1px var(--brand); }
.choice-grid strong, .choice-grid small { display: block; }
.choice-grid small { margin-top: 5px; color: var(--muted); line-height: 1.4; }
.customer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.customer-grid label { display: grid; gap: 7px; font-weight: 700; }
.customer-grid input { min-height: 48px; border: 1px solid #c4b7bb; border-radius: 3px; padding: 10px 12px; font: inherit; }
.customer-grid input:focus { border-color: var(--brand); outline: 3px solid rgba(104, 77, 56, .12); }
.trap { position: absolute; left: -10000px; }
.order-total { display: flex; align-items: baseline; justify-content: space-between; padding: 17px 19px; border-left: 4px solid var(--brand); background: var(--soft); }
.order-total strong { color: var(--ink); font: 400 1.55rem Georgia, "Times New Roman", serif; }
.primary { display: inline-flex; justify-content: center; border: 0; border-radius: 3px; background: var(--brand); color: #fff; padding: 14px 19px; text-decoration: none; font: inherit; font-weight: 700; cursor: pointer; }
.primary:hover { background: var(--brand-dark); }
.privacy { font-size: .88rem; line-height: 1.55; color: var(--muted); }
.back { display: inline-block; margin-top: 21px; color: var(--brand); font-weight: 700; }
.success { max-width: 680px; margin: 4vh auto 0; }
.check { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 22px; border-radius: 50%; background: var(--brand); color: #fff; font-size: 1.3rem; }
.payment-info { display: grid; gap: 14px; margin: 26px 0; padding: 21px; border-left: 4px solid var(--brand); background: var(--soft); }
.payment-info p { margin: 0; line-height: 1.6; }
.payment-info code { display: block; padding: 12px; border: 1px dashed #b59ca3; border-radius: 3px; background: #fff; text-align: center; font-size: 1.15rem; font-weight: 700; letter-spacing: .05em; }

@media (max-width: 720px) {
  .order-shell { width: 100%; padding: 20px 0 44px; }
  .order-brand { padding: 0 21px; }
  .order-card { padding: 28px 22px; border-right: 0; border-left: 0; }
  .duration-grid, .service-grid, .customer-grid { grid-template-columns: 1fr; }
  .order-brand img { width: 136px; }
}
