/* Order page: rows to tap, a day strip, and a bestelbon at the end. */
.back { margin-left: auto; font-weight: 700; text-decoration: none; color: var(--ink-2); }
.order-page .pill { bottom: 84px; }

.o-head { padding: 28px 0 8px; }
.o-head .wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.o-head h1 { font-size: clamp(30px, 4.6vw, 46px); }
.o-head p { margin-top: 10px; font-size: 18px; color: var(--ink-2); max-width: 40ch; }
.o-head img { border-radius: 18px; aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
@media (max-width: 760px) {
  .o-head .wrap { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .o-head img { order: -1; aspect-ratio: 16 / 7; border-radius: 14px; }
}

.o-form { padding-bottom: 140px; }
.demo-bar { margin: 18px 0 6px; font-size: 14px; color: var(--muted); }
.step { border: 0; margin: 0; padding: 30px 0; border-top: 1px solid var(--line); min-width: 0; }
.step legend { float: left; width: 100%; display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 22px; padding: 0; margin-bottom: 16px; }
.step legend + * { clear: both; }
.order-page.is-done .pill { bottom: 12px; }
.step .n { width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 16px; flex: none; }

.rows { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.row { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 12px; align-items: center; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--r); padding: 10px 12px; transition: border-color .2s, box-shadow .2s; }
.row.on { border-color: var(--plum); box-shadow: 0 0 0 1px var(--plum); }
.row img { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; }
.row .nm { font-weight: 800; font-size: 16px; line-height: 1.25; }
.row .sm { font-size: 14px; color: var(--muted); }
.stepper { display: inline-flex; align-items: center; gap: 4px; }
.stepper button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--bg); font: 800 20px/1 var(--font);
  color: var(--ink); cursor: pointer; }
.stepper button:hover { border-color: var(--ink); }
.stepper output { min-width: 26px; text-align: center; font-weight: 800; font-size: 17px; font-variant-numeric: tabular-nums; }
@media (max-width: 760px) { .rows { grid-template-columns: minmax(0, 1fr); } }

.more { margin-top: 10px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); }
.more summary { list-style: none; cursor: pointer; padding: 16px 18px; font-weight: 800; font-size: 16px; display: flex; justify-content: space-between; align-items: center; }
.more summary::-webkit-details-marker { display: none; }
.more summary::after { content: "+"; font-size: 22px; color: var(--plum); line-height: 1; }
.more[open] summary::after { content: "−"; }
.more > :not(summary) { margin-left: 18px; margin-right: 18px; }
.more > textarea:last-child, .taart-in { margin-bottom: 18px; }
.more.taart { border-color: var(--plum); }
.more.taart summary { color: var(--plum); }
.pers { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-weight: 700; }
.hint { font-size: 14px; color: var(--muted); margin-top: 10px; }
.opt { font-weight: 400; color: var(--muted); }

.o-form label { display: block; font-weight: 700; font-size: 15px; margin: 12px 0 6px; }
.o-form textarea, .o-form input { width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; font: 400 16px var(--font);
  background: var(--bg); color: var(--ink); }
.o-form textarea { min-height: 76px; resize: vertical; }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.two label { margin-top: 0; }
@media (max-width: 760px) { .two { grid-template-columns: minmax(0, 1fr); } }

.days { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; min-width: 0; }
.days::-webkit-scrollbar { display: none; }
.day { flex: 0 0 auto; width: 76px; padding: 10px 0; border-radius: 12px; border: 1px solid var(--line); background: var(--paper);
  text-align: center; cursor: pointer; font: 700 14px/1.2 var(--font); color: var(--ink); }
.day b { display: block; font-size: 22px; font-weight: 800; margin: 2px 0; }
.day[aria-checked="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.day:disabled { opacity: .35; cursor: not-allowed; }
.times { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.time { min-height: 46px; border-radius: 12px; border: 1px solid var(--line); background: var(--paper); font: 700 15px var(--font); color: var(--ink); cursor: pointer; }
.time[aria-checked="true"] { background: var(--plum); border-color: var(--plum); color: #fff; }
@media (max-width: 760px) { .times { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.err { color: #a3343a; font-weight: 700; font-size: 15px; margin-top: 12px; }

.bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; background: var(--paper); border-top: 1px solid var(--line);
  box-shadow: 0 -6px 20px rgba(43, 42, 45, .08); }
.bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 72px; }
.bar p { font-weight: 700; font-size: 15px; color: var(--ink-2); min-width: 0; }
.bar .btn { flex: none; }

/* Done: the bell rings, the slip comes out */
.done { padding: 34px 16px 120px; text-align: center; }
.ring { position: relative; display: inline-block; color: var(--ink); }
.swing { transform-origin: 32px 10px; animation: swing 1.1s ease-in-out 2; }
.clap { animation: clap 1.1s ease-in-out 2; transform-origin: 32px 10px; }
.tring { position: absolute; right: -56px; top: 8px; font-weight: 800; color: var(--plum); font-size: 18px; animation: tring 1.6s ease-out both; }
@keyframes swing { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(16deg); } 45% { transform: rotate(-13deg); } 70% { transform: rotate(7deg); } }
@keyframes clap { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-8deg); } 50% { transform: rotate(9deg); } }
@keyframes tring { 0% { opacity: 0; transform: translateY(6px); } 20% { opacity: 1; transform: none; } 100% { opacity: .9; } }

.bon { max-width: 380px; margin: 18px auto 0; background: #fffefb; text-align: left; padding: 24px 22px 22px; font-size: 15px;
  box-shadow: 0 12px 30px rgba(43, 42, 45, .14); position: relative; animation: print .8s ease-out .35s both;
  -webkit-mask: radial-gradient(circle 6px at 50% 100%, transparent 98%, #000) 0 0 / 16px 100% repeat-x;
          mask: radial-gradient(circle 6px at 50% 100%, transparent 98%, #000) 0 0 / 16px 100% repeat-x; }
@keyframes print { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: none; } }
.bon .bh { text-align: center; border-bottom: 1px dashed #c9c5c0; padding-bottom: 12px; margin-bottom: 12px; }
.bon .bh strong { display: block; font-size: 20px; font-weight: 800; }
.bon .bh span { color: var(--muted); font-size: 13px; }
.bon .nr { font-variant-numeric: tabular-nums; font-weight: 800; }
.bon ul { list-style: none; margin: 0; padding: 0; }
.bon li { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; }
.bon li span:last-child { font-weight: 800; white-space: nowrap; }
.bon .note { color: var(--ink-2); font-size: 14px; padding: 2px 0 6px; }
.bon .pick { border-top: 1px dashed #c9c5c0; margin-top: 10px; padding-top: 10px; }
.bon .pick b { display: block; font-size: 17px; }
.bon .foot-l { border-top: 1px dashed #c9c5c0; margin-top: 12px; padding-top: 10px; font-size: 14px; color: var(--ink-2); }
.done-acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 26px; }
