/* Havreministeriet · bestil.html og ordre.html (ovenpå havre.css) */
.letterhead.slim { padding-block: 28px 20px; }
.letterhead.slim .wrap { grid-template-columns: 1fr; }
.letterhead.slim h1 { font-size: clamp(28px, 4.4vw, 46px); text-transform: none; letter-spacing: 0; margin-top: 6px; }
.order-main { padding-block: 28px 10px; max-width: 820px; }
.small { font-size: 14px; }

.dishes { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--navy); }
.dishes li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 16px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: center; }
.dishes h3 { font-size: 19px; }
.dishes .desc { color: var(--navy-soft); font-size: 15px; margin-top: 2px; }
.dishes .meta { font-family: var(--mono); font-size: 14px; margin-top: 4px; }
.dishes .meta .left { color: var(--navy-soft); margin-left: 8px; }
.dishes li.off { opacity: .55; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--navy); border-radius: 999px; }
.qty button { font: inherit; font-size: 20px; line-height: 1; width: 40px; height: 40px; border: 0; background: transparent; color: var(--navy); cursor: pointer; border-radius: 999px; }
.qty button:disabled { opacity: .3; cursor: default; }
.qty output { font-family: var(--mono); min-width: 28px; text-align: center; font-size: 16px; }
.so-tag { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--stamp); border: 1.5px solid var(--stamp); padding: 3px 8px; }

.pick { display: flex; flex-wrap: wrap; gap: 8px; }
.pick + .pick { margin-top: 12px; }
.opt { font: inherit; font-size: 15px; padding: 9px 14px; border: 1.5px solid var(--navy); background: transparent; color: var(--navy); cursor: pointer; }
.opt[aria-pressed="true"] { background: var(--navy); color: var(--sheet); }
.opt:disabled { opacity: .35; cursor: default; text-decoration: line-through; }
.times .opt { font-family: var(--mono); font-size: 14px; }
#where { margin-top: 12px; }

.codeline { display: flex; gap: 10px; align-items: end; }
.codeline input { flex: 1; }
.btn.small { padding: 9px 16px; font-size: 14px; white-space: nowrap; }
#o-code { margin-top: 10px; max-width: 220px; font-family: var(--mono); letter-spacing: .3em; }

.sum { font-family: var(--display); font-weight: 700; font-size: 28px; }

.receipt { position: relative; background: var(--sheet); border: 1.5px solid var(--navy); padding: 28px 24px; overflow: hidden; }
.receipt h2 { font-size: clamp(28px, 4vw, 40px); margin: 6px 0 10px; font-family: var(--mono); font-weight: 500; letter-spacing: .04em; }
.receipt p + p { margin-top: 8px; }
.done-stamp { position: absolute; right: 18px; top: 18px; width: 120px; height: 120px; font-size: 11px; box-shadow: inset 0 0 0 5px var(--sheet), inset 0 0 0 6.5px var(--stamp); }
.done-stamp b { font-size: 13px; letter-spacing: .04em; }
.lines { list-style: none; margin: 16px 0; padding: 0; border-top: 1.5px solid var(--navy); max-width: 460px; }
.lines li { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 15px; }

/* ordre.html: sagens forløb */
.track-steps { list-style: none; margin: 20px 0; padding: 0; display: grid; gap: 0; border-left: 2px solid var(--line); }
.track-steps li { position: relative; padding: 8px 0 14px 22px; color: var(--navy-soft); }
.track-steps li::before { content: ""; position: absolute; left: -7px; top: 14px; width: 12px; height: 12px; border-radius: 50%; background: var(--paper); border: 2px solid var(--line); }
.track-steps li.done { color: var(--navy); }
.track-steps li.done::before { background: var(--navy); border-color: var(--navy); }
.track-steps li.now { color: var(--navy); font-weight: 600; }
.track-steps li.now::before { background: var(--stamp); border-color: var(--stamp); }
.track-steps b { display: block; font-family: var(--display); font-size: 19px; }

@media (max-width: 760px) {
  .done-stamp { position: static; margin-bottom: 14px; width: 104px; height: 104px; }
  .codeline { flex-direction: column; align-items: stretch; }
  #days { flex-wrap: nowrap; overflow-x: auto; margin-inline: -22px; padding: 2px 22px 6px; scrollbar-width: thin; }
  #days .opt { flex: none; white-space: nowrap; }
  .formfoot .btn { width: 100%; justify-content: center; }
}
