/* Bros Cafe · D · Kollázs — Bros Delivery (order page, group order page, admin mock-up). Loaded after shell.css and pages.css. */
.dl-sec { padding: clamp(36px, 7vh, 84px) 0; background: var(--wash, transparent); }
.dl .title + .body { margin-top: .9em; }
/* "draft" mark: small and quiet */
.dl-draft { display: inline-flex; align-items: center; gap: 5px; font: 500 11.5px/1.3 var(--sans); letter-spacing: .01em; color: var(--text-soft); vertical-align: middle; white-space: nowrap; }
.dl-draft::before { content: ""; flex: none; width: 5px; height: 5px; border-radius: 50%; background: var(--honey); }
.dl-draft--wrap { white-space: normal; }
.dl-state { padding: 18px 0; color: var(--text-soft); font-size: 15px; }
.dl-sub { margin: 24px 0 10px; font: 700 12px/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--accent-text); }
.dl-preview { margin-top: 14px; padding: 14px 16px; border: 1.5px dashed var(--text); border-radius: var(--r-md); background: var(--glow-soft); font-size: 15px; line-height: 1.5; color: var(--text); }
.dl-preview:focus, .dl-after:focus, .dl-return:focus { outline: none; }
.dl-preview a { color: var(--olive-deep); font-weight: 600; text-underline-offset: 3px; }
.dl-preview[hidden], .dl-err[hidden], .dl-return[hidden], .dl-bar[hidden], .dl-more[hidden] { display: none; }
.dl-mock { margin-top: 10px; font-size: 13px; line-height: 1.45; color: var(--text-soft); }
.dl-mock::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 7px; border-radius: 50%; background: var(--honey); vertical-align: middle; }
.dl-return { margin-top: 20px; padding: 18px 20px; border: var(--edge); border-radius: var(--r-md); background: var(--glow); box-shadow: var(--press-ink); font-size: 15px; line-height: 1.55; scroll-margin-top: calc(var(--header-h) + 16px); }
.dl-return h3 { font: 560 25px/1.15 var(--serif); font-variation-settings: "opsz" 40, var(--soft); letter-spacing: -.02em; margin-bottom: 6px; }
.dl-return[data-s="cancelled"] { background: var(--surface); }
.dl-more { margin-top: 10px; }
.dl-more .link { min-height: 44px; }
.dl [aria-busy="true"], .dla [aria-busy="true"] { opacity: .7; pointer-events: none; }

/* hero: a glow sheet, the hand-over photo cut out on it */
.dl-hero { padding: clamp(22px, 5vh, 64px) 0 clamp(30px, 6vh, 72px); background: var(--wash); }
.dl-hero__grid { display: grid; gap: clamp(28px, 5vw, 72px); align-items: center; }
.dl-hero__text .display { margin-top: .22em; }
.dl-hero__text .body--lg { margin-top: .6em; }
.dl-hero__text .body { color: var(--text); }
.dl-facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.dl-facts li { padding: 7px 13px; border: var(--edge); border-radius: var(--r-pill); background: var(--surface); color: var(--text); font: 650 14px/1.3 var(--sans); }
.dl-facts li:nth-child(odd) { rotate: -1deg; }
.dl-facts li:nth-child(even) { rotate: 1deg; }
.dl-hero__actions { margin-top: 24px; }
.dl-hero__media { position: relative; max-width: 420px; width: 100%; padding: 0 0 clamp(24px, 4vw, 44px) clamp(44px, 9vw, 84px); justify-self: center; }
.dl-hero__pic { aspect-ratio: 4 / 5; }
.dl-hero__pic img { transform: scale(1.5); transform-origin: 38% 88%; } /* the cup and its note, not the street */
.dl-hero__photo { position: absolute; left: 0; bottom: 0; width: 40%; aspect-ratio: 4 / 5; border-width: 4px; border-radius: var(--r-md); }
.dl-hero__tag { position: absolute; z-index: 2; right: -6px; top: 16px; font-size: 13px; --tilt: 5deg; }
@media (min-width: 620px) and (max-width: 899.98px) { .dl-hero__media { max-width: 320px; } }
@media (min-width: 900px) {
  .dl-hero__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
  .dl-hero__media { justify-self: end; }
}

/* zone */
.dl-zone { display: grid; gap: clamp(20px, 4vw, 56px); align-items: center; }
@media (min-width: 860px) { .dl-zone { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); } }
.dl-areas { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 14px; }
.dl-areas li { padding: 8px 13px; border: 0; background: var(--sage-mist); border-radius: var(--r-pill); background: var(--surface); font: 500 15px/1.3 var(--sans); }
.dl-zone__form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: end; max-width: 480px; margin-top: 18px; }
.dl-zone .dl-preview { max-width: 480px; }
.dl-map { margin: 0; max-width: 320px; width: 100%; justify-self: center; text-align: center; }
.dl-map svg { display: block; width: 100%; height: auto; }
.dl-map__zone { fill: var(--sage-mist); }
.dl-map__ring { fill: none; stroke: var(--olive); stroke-width: 1.5; stroke-dasharray: 5 6; }
.dl-map__ring--in { stroke: rgb(var(--olive-rgb) / .45); }
.dl-map__river { fill: none; stroke: var(--olive-soft); stroke-width: 22; stroke-linecap: round; }
.dl-map__road { fill: none; stroke: var(--surface); stroke-width: 9; stroke-linecap: round; }
.dl-map__road--sm { stroke-width: 5; }
.dl-map__pin { fill: var(--olive); stroke: var(--surface); stroke-width: 3; }
.dl-map__name { font: 600 14px var(--sans); fill: var(--text); }
.dl-map__label { font: 500 12px var(--sans); fill: var(--text-soft); }
.dl-map__dist { font: 600 11px var(--sans); fill: var(--olive-dark); letter-spacing: .04em; }

/* order builder */
.dl-order__grid { display: grid; gap: 24px; margin-top: clamp(24px, 4vh, 40px); align-items: start; }
@media (min-width: 980px) {
  .dl-order__grid { grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; }
  .dl-sum { position: sticky; top: calc(var(--header-h) + 20px); max-height: calc(100dvh - var(--header-h) - 40px); overflow: auto; }
}
.dl-steps { display: grid; gap: 20px; min-width: 0; }
.dl-step { min-width: 0; margin: 0; padding: clamp(18px, 2.6vw, 30px); border: 0; border-radius: var(--r-lg); background: var(--surface); }
.dl-step legend { float: left; width: 100%; display: flex; align-items: center; gap: 12px; padding: 0; margin-bottom: 18px; font: 560 clamp(23px, 2.2vw, 30px)/1.1 var(--serif); font-variation-settings: "opsz" 60, var(--soft); letter-spacing: -.02em; }
.dl-step legend + * { clear: both; }
.dl-step__no { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border: var(--edge); border-radius: 50%; background: var(--glow); color: var(--text); font: 600 17px/1 var(--serif); font-variation-settings: var(--soft); letter-spacing: 0; rotate: -6deg; }

/* drinks */
.dl-menu { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: 8px; margin-top: 14px; }
.dl-item { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 12px; align-items: center; min-height: 72px; padding: 8px 10px 8px 8px; border: 1.5px solid var(--line-strong); border-radius: var(--r-md); transition: background .2s, border-color .2s; }
.dl-item.is-on { background: var(--glow-soft); border-color: var(--text); }
.dl-item img, .dl-item__ph { width: 56px; height: 56px; border-radius: var(--r-sm); object-fit: cover; background: var(--surface-2); }
.dl-item__ph { display: block; overflow: hidden; }
.dl-item__ph .art svg { width: 66%; height: 66%; }
.dl-item__txt b { display: block; font: 650 15px/1.25 var(--sans); overflow-wrap: anywhere; }
.dl-item__txt small { display: block; margin-top: 2px; font-size: 14px; color: var(--text-soft); font-variant-numeric: tabular-nums; }
.dl-qty { display: flex; align-items: center; gap: 2px; }
.dl-qty button { display: grid; place-items: center; width: 44px; height: 44px; border: var(--edge); border-radius: 50%; background: var(--surface); color: var(--text); font: 500 22px/1 var(--sans); box-shadow: 0 2px 0 var(--text); transition: background .2s, transform var(--tap), box-shadow var(--tap); }
.dl-qty button:active { transform: translateY(2px); box-shadow: 0 0 0 transparent; }
.dl-qty button[aria-disabled="true"] { opacity: .3; cursor: default; box-shadow: none; }
@media (hover: hover) { .dl-qty button:not([aria-disabled="true"]):hover { background: var(--glow-soft); } }
.dl-qty output { min-width: 26px; text-align: center; font: 700 16px/1 var(--sans); font-variant-numeric: tabular-nums; }

/* cups */
.dl-cups { display: grid; gap: 8px; margin-top: 12px; }
.dl-cups__empty { padding: 16px; border: 1px dashed var(--line-strong); border-radius: var(--r-md); color: var(--text-soft); font-size: 15px; }
.dl-cup { display: grid; grid-template-columns: 30px minmax(0, 1fr) 44px; gap: 6px 10px; align-items: center; padding: 10px 8px 12px 12px; border-radius: var(--r-md); background: var(--glow-soft); }
.dl-cup__no { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: var(--edge); background: var(--surface); font: 700 13px/1 var(--sans); color: var(--text); }
.dl-cup__name b { font-weight: 600; }
.dl-cup__name small { margin-left: 8px; font-size: 14px; color: var(--text-soft); font-variant-numeric: tabular-nums; white-space: nowrap; }
.dl-cup__del { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--text-soft); }
.dl-cup__del:active { transform: scale(.88); }
@media (hover: hover) { .dl-cup__del:hover { background: var(--surface); color: var(--text); } }
.dl-cup__del svg { width: 20px; height: 20px; }
.dl-cup__opts, .dl-join__opts { display: flex; flex-wrap: wrap; gap: 8px; }
.dl-cup__opts { grid-column: 1 / -1; padding-right: 4px; }
.dl-cup__opts > *, .dl-join__opts > * { flex: 1 1 150px; min-width: 0; }
.dl-cup__opts input, .dl-cup__opts select, .dl-join__opts select, .dl-field input, .dl-field textarea, .dl-field select, .dl-share input, .dla__slot input {
  width: 100%; min-height: 50px; padding: 11px 14px; background: var(--surface); border: 1.5px solid var(--line-strong); border-radius: var(--r-sm); font-size: 16px; color: var(--text); transition: border-color .2s, box-shadow .2s; }
.dl select { appearance: none; -webkit-appearance: none; padding-right: 38px; background-image: linear-gradient(45deg, transparent 50%, var(--text-soft) 50%), linear-gradient(135deg, var(--text-soft) 50%, transparent 50%); background-position: calc(100% - 21px) 55%, calc(100% - 15px) 55%; background-size: 6px 6px; background-repeat: no-repeat; text-overflow: ellipsis; }
.dl input::placeholder, .dl textarea::placeholder { color: rgb(var(--text-rgb) / .45); }
.dl input:not([type="radio"]):not([type="checkbox"]):focus, .dl textarea:focus, .dl select:focus, .dla__slot input:focus { outline: none; border-color: var(--text); box-shadow: 0 0 0 3px rgb(var(--olive-rgb) / .28); }

/* slots */
.dl-slots { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 10px; margin-top: 14px; }
.dl-slot { display: flex; align-items: center; gap: 14px; min-height: 68px; padding: 12px 16px; border: var(--edge); border-radius: var(--r-md); background: var(--surface); cursor: pointer; box-shadow: 0 2px 0 var(--text); transition: background .2s, transform var(--tap), box-shadow var(--tap); }
.dl-slot:active { transform: translateY(2px); box-shadow: 0 0 0 transparent; }
@media (hover: hover) { .dl-slot:not(.is-off):not(:has(input:checked)):hover { background: var(--glow-soft); } }
.dl-slot:has(input:checked) { background: var(--glow); }
.dl-slot:has(input:focus-visible) { outline: 2px solid var(--olive-deep); outline-offset: 3px; }
.dl-slot input { flex: none; width: 22px; height: 22px; margin: 0; accent-color: var(--olive); }
.dl-slot b { display: block; font: 560 25px/1.05 var(--serif); font-variation-settings: "opsz" 40, var(--soft); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.dl-slot small { display: block; margin-top: 3px; font-size: 14px; line-height: 1.35; color: var(--text-soft); }
.dl-slot.is-off { cursor: default; background: none; border: 1.5px dashed var(--line-strong); box-shadow: none; transform: none; }
.dl-slot.is-off b { color: var(--text-faint); text-decoration: line-through; text-decoration-color: var(--line-strong); }
.dl-slot--rush { grid-column: 1 / -1; background: var(--blush-soft); }
.dl-slot--rush b { font: 700 17px/1.2 var(--sans); letter-spacing: 0; }

/* fields */
.dl-fields { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 620px) {
  .dl-fields { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .dl-field--wide { grid-column: 1 / -1; }
  .dl-field--zip { max-width: 180px; }
}
.dl-field { display: grid; gap: 6px; align-content: start; }
.dl-field > label { font: 650 14px/1.3 var(--sans); color: var(--text); }
.dl-field > label i { font-style: normal; font-weight: 400; color: var(--text-soft); }
.dl-field > small { font-size: 14px; color: var(--text-soft); }
.dl-field [aria-invalid="true"] { border-color: var(--text); border-width: 2px; }
.dl-err { display: flex; gap: 6px; margin-top: 8px; font: 650 14px/1.4 var(--sans); color: var(--text); }
.dl-field .dl-err { margin-top: 2px; }
.dl-err::before { content: "!"; flex: none; display: grid; place-items: center; width: 18px; height: 18px; margin-top: 1px; border-radius: 50%; background: var(--text); color: var(--white); font-size: 12px; }
.dl-check { display: flex; align-items: flex-start; gap: 12px; min-height: 44px; margin-top: 12px; padding: 10px 0; font-size: 15px; line-height: 1.45; cursor: pointer; }
.dl-check input { flex: none; width: 22px; height: 22px; margin: 0; accent-color: var(--olive); }
.dl-check + .dl-err { margin-top: 0; }
.dl-mode { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 10px; }
.dl-mode .dl-slot b { font: 700 16px/1.25 var(--sans); letter-spacing: 0; }
#dl-group-hint { margin-top: 14px; }
#dl-group-hint a { color: var(--olive-deep); font-weight: 600; }
.dl-check a { color: var(--olive-deep); font-weight: 600; text-underline-offset: 3px; }

/* summary */
.dl-sum { min-width: 0; padding: clamp(20px, 2.6vw, 28px); border: var(--edge); border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-md); }
.dl-sum__title { font: 560 28px/1.05 var(--serif); font-variation-settings: "opsz" 60, var(--soft); letter-spacing: -.02em; }
.dl-sum__list { margin-top: 14px; }
.dl-sum__list > div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.dl-sum__list dt { color: var(--text-soft); min-width: 0; }
.dl-sum__list dd { flex: none; max-width: 62%; text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.dl-sum__list dd small { display: block; font-weight: 400; font-size: 13px; color: var(--text-soft); }
.dl-sum__list .is-empty { font-weight: 400; color: var(--text-soft); }
.dl-sum__list .dl-sum__cup dt { color: var(--text); }
.dl-sum__list .dl-sum__prog { display: block; }
.dl-sum__list .dl-sum__total { align-items: baseline; border-bottom: 0; padding-top: 16px; }
.dl-sum__total dt { color: var(--text); font-weight: 700; }
.dl-sum__total dd { font: 600 34px/1 var(--serif); font-variation-settings: "opsz" 60, var(--soft); letter-spacing: -.03em; white-space: nowrap; }
.dl-sum__btn { width: 100%; margin-top: 10px; }
.dl-sum__fine { margin-top: 14px; }
.dl-prog { display: flex; gap: 5px; }
.dl-prog i { flex: 1; height: 10px; border: 1.5px solid var(--text); border-radius: 5px; background: var(--surface); transition: background .3s; }
.dl-prog i.on { background: var(--olive); }
.dl-prog__text { margin-top: 8px; font: 650 14px/1.4 var(--sans); color: var(--olive-deep); }

/* after submit: confirmation preview, repeat option, share link */
.dl-after { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.55; }
.dl-after .dl-preview { margin-top: 0; }
.dl-after h3 { margin: 16px 0 6px; font: 560 23px/1.15 var(--serif); font-variation-settings: "opsz" 40, var(--soft); letter-spacing: -.02em; }
.dl-after .dl-preview + h3 { margin-top: 18px; }
.dl-after__actions { margin: 12px 0 10px; }
.dl-repeat { margin: 16px 0 0; padding: 0; border: 0; min-width: 0; }
.dl-repeat legend { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 0; margin-bottom: 10px; font: 600 15px/1.3 var(--sans); }
.dl-repeat__row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.dl-pill { position: relative; display: inline-flex; cursor: pointer; }
.dl-pill input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.dl-pill span { display: inline-flex; align-items: center; justify-content: center; min-width: 48px; min-height: 44px; padding: 0 16px; border: var(--edge); border-radius: var(--r-pill); background: var(--surface); font: 650 14px/1.2 var(--sans); box-shadow: 0 2px 0 var(--text); transition: background .2s, color .2s; }
.dl-pill input:checked + span { background: var(--olive); border-color: var(--olive-deep); color: var(--on-accent); box-shadow: 0 2px 0 var(--olive-deep); }
.dl-pill input:focus-visible + span { outline: 2px solid var(--olive-deep); outline-offset: 3px; }
.dl-share { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; margin-top: 12px; }
.dl-share input { font-size: 15px; text-overflow: ellipsis; }

/* good to know: accordions (zone, group order, payment…) */
.dl-faq { display: grid; gap: 10px; max-width: 900px; margin-top: clamp(20px, 4vh, 36px); }
.dl-faq details { border: var(--edge); border-radius: var(--r-md); background: var(--surface); scroll-margin-top: calc(var(--header-h) + 12px); }
.dl-faq summary { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; min-height: 56px; padding: 12px 48px 12px 18px; position: relative; cursor: pointer; list-style: none; border-radius: var(--r-md); font: 560 21px/1.15 var(--serif); font-variation-settings: "opsz" 40, var(--soft); letter-spacing: -.02em; }
.dl-faq summary:active { background: var(--glow-soft); }
.dl-faq summary::-webkit-details-marker { display: none; }
.dl-faq summary::after { content: ""; position: absolute; right: 20px; top: 50%; width: 9px; height: 9px; margin-top: -7px; border-right: 1.75px solid var(--text); border-bottom: 1.75px solid var(--text); transform: rotate(45deg); transition: transform .2s; }
.dl-faq details[open] > summary::after { transform: rotate(-135deg); margin-top: -2px; }
.dl-faq details > :not(summary) { margin: 0 18px; }
.dl-faq details > :last-child { padding-bottom: 18px; }
.dl-faq details:target { background: var(--glow-soft); }
.dl-faq p, .dl-how li { font-size: 15px; line-height: 1.55; color: var(--text-soft); }
.dl-faq p + p { margin-top: 10px; }
.dl-faq p b { color: var(--text); font-weight: 650; }
.dl-how { display: grid; gap: 8px; counter-reset: how; }
.dl-how li { position: relative; padding-left: 38px; counter-increment: how; }
.dl-how li::before { content: counter(how); position: absolute; left: 0; top: -2px; display: grid; place-items: center; width: 28px; height: 28px; border: var(--edge); border-radius: 50%; background: var(--glow); color: var(--text); font: 700 13px/1 var(--sans); }
.dl-how b { color: var(--text); font-weight: 650; }
.dl-how__actions { margin-top: 16px; }
.dl-sec[id], .dl-step, .dl-sum, #dl-days { scroll-margin-top: calc(var(--header-h) + 72px); }

/* phone bar: basket + the next step, under the header (the bottom edge belongs to the tab bar and the preview switcher) */
.dl-bar { position: fixed; z-index: 20; left: 10px; right: 10px; top: calc(var(--header-h) + 8px); display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 6px 6px 6px 16px; border: var(--edge); border-radius: var(--r-pill); background: var(--surface); box-shadow: var(--press-ink); }
.dl-bar p { min-width: 0; line-height: 1.2; }
.dl-bar b { display: block; font: 600 17px/1.2 var(--serif); font-variation-settings: var(--soft); font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dl-bar span { display: block; font-size: 13px; color: var(--text-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dl-bar .btn { flex: none; min-height: 44px; padding: 0 16px; box-shadow: none; }
@media (min-width: 980px) { .dl-bar { display: none; } }

/* ---------- group order page ---------- */
.dl-g { padding: clamp(24px, 5vh, 56px) 0 clamp(48px, 8vh, 96px); }
.dl-g__head h1 { margin-top: 8px; font: 560 clamp(36px, 4.8vw, 64px)/1 var(--serif); font-variation-settings: "opsz" 110, var(--soft); letter-spacing: -.03em; }
.dl-g__head h1 em, .dla__head h1 em { font-style: normal; color: var(--olive-deep); padding: 0 .1em; margin: 0 -.06em; background: linear-gradient(transparent 56%, var(--hl) 56%, var(--hl) 90%, transparent 90%); }
.dl-g__lead { margin-top: 12px; max-width: 56ch; font-size: 16px; line-height: 1.55; color: var(--text); }
.dl-g__grid { display: grid; gap: 20px; margin-top: clamp(20px, 4vh, 36px); align-items: start; }
@media (min-width: 980px) {
  .dl-g__grid:has(.dl-join) { grid-template-columns: minmax(0, 1fr) 420px; gap: 28px; }
  .dl-join { position: sticky; top: calc(var(--header-h) + 20px); }
}
.dl-g__main { display: grid; gap: 20px; min-width: 0; }
.dl-card { min-width: 0; padding: clamp(18px, 2.6vw, 30px); border-radius: var(--r-lg); background: var(--surface); }
.dl-card--tint { background: var(--glow-soft); }
.dl-join { border: var(--edge); box-shadow: var(--shadow-md); }
.dl-card h2 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; font: 560 clamp(24px, 2.4vw, 31px)/1.1 var(--serif); font-variation-settings: "opsz" 60, var(--soft); letter-spacing: -.02em; }
.dl-g__n { font: 650 14px/1 var(--sans); letter-spacing: 0; color: var(--accent-text); }
.dl-g__addr { margin-top: 8px; font-size: 15px; line-height: 1.55; color: var(--text-soft); overflow-wrap: anywhere; }
.dl-g__count { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-top: 18px; padding: 14px 16px; border-radius: var(--r-md); background: var(--glow); }
.dl-g__count span { font: 700 12px/1.3 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--accent-text); }
.dl-g__count b { font: 560 clamp(27px, 3vw, 36px)/1.05 var(--serif); font-variation-settings: "opsz" 60, var(--soft); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.dl-g__locked { margin-top: 18px; padding: 14px 16px; border-radius: var(--r-md); background: var(--blush-soft); font-weight: 650; }
.dl-g__prog { margin-top: 20px; }
.dl-g__prog .fine { margin-top: 8px; }
.dl-g__prog .dl-draft { margin-left: 4px; }
.dl-tag { display: inline-flex; align-items: center; gap: 7px; flex: none; padding: 6px 12px; border-radius: var(--r-pill); font: 600 13px/1 var(--sans); white-space: nowrap; }
.dl-tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.dl-tag[data-st="paid"], .dl-tag[data-st="open"] { background: var(--olive); color: var(--on-accent); }
.dl-tag[data-st="wait"] { box-shadow: inset 0 0 0 1px var(--line-strong); color: var(--text-soft); }
.dl-tag[data-st="locked"] { background: var(--blush); color: var(--text); }
.dl-g__tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 12px; }
.dl-who { display: grid; margin-top: 10px; }
.dl-who li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.dl-who li:last-child { border-bottom: 0; padding-bottom: 0; }
.dl-who b { display: block; font-weight: 600; }
.dl-who small { display: block; font-size: 14px; color: var(--text-soft); }
.dl-join .dl-fields { margin-top: 16px; grid-template-columns: minmax(0, 1fr); }
.dl-join__btn { width: 100%; margin-top: 18px; }
.dl-join > .fine { margin-top: 12px; }
.dl-g__none p { margin: 10px 0 18px; color: var(--text-soft); }
.dl-g__back { margin-top: 24px; }

@media (max-width: 619.98px) {
  .dl-order .wrap, .dl-g .wrap, .dla .wrap { padding: 0 14px; }
  .dl-order .wrap > .eyebrow, .dl-order .wrap > .title, .dl-order .wrap > .body, .dl-g__head, .dl-g__back, .dla__head, .dla__note { margin-left: 6px; margin-right: 6px; }
  .dl-step, .dl-card, .dla__panel { padding: 16px 14px; }
  .dl-zone__form, .dl-share { grid-template-columns: minmax(0, 1fr); }
  .dl-hero { padding: 16px 0 20px; }
  /* title on top, then the short line beside the photo: the order starts on the first screen */
  .dl-hero__text { display: contents; }
  .dl-hero__grid { grid-template-columns: minmax(0, 1fr) 128px; gap: 0 14px; align-items: center; }
  .dl-hero__grid > .dl-hero__text > * { grid-column: 1 / -1; }
  .dl-hero__grid > .dl-hero__text > .body--lg { grid-column: 1; margin-top: 0; font-size: 23px; }
  .dl-hero__media { grid-column: 2; grid-row: 3; max-width: none; padding: 0; margin: 14px 4px 10px 0; }
  .dl-hero__pic { border-width: 4px; border-radius: var(--r-md); }
  .dl-hero__photo, .dl-hero__tag { display: none; }
  .dl-facts { margin-top: 12px; gap: 6px; }
  .dl-facts li:nth-child(3) { display: none; } /* said again under "Fizetés" */
  .dl-facts li { padding: 6px 11px; font-size: 13px; }
  .dl-hero__actions { margin-top: 16px; }
  /* short page: tight bands, compact tiles for the times and the two ways to pay */
  .dl-sec { padding: 20px 0 24px; }
  .dl .dl-sec .title { font-size: 27px; }
  .dl-order .wrap > .body, .dl-sum__fine { display: none; } /* both are said again in step 4 and under "Fizetés" */
  .dl-order__grid { margin-top: 14px; }
  .dl-steps { gap: 12px; }
  .dl-step legend { margin-bottom: 10px; font-size: 22px; }
  .dl-step__no { width: 30px; height: 30px; font-size: 15px; }
  .dl-slots { grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); margin-top: 10px; }
  .dl-slots .dl-slot:not(.dl-slot--rush), .dl-mode .dl-slot { position: relative; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 0; padding: 9px 10px 10px; }
  .dl-slots .dl-slot:not(.dl-slot--rush) input, .dl-mode .dl-slot input { position: absolute; opacity: 0; }
  .dl-slots .dl-slot small, .dl-mode .dl-slot small { font-size: 12.5px; line-height: 1.3; }
  .dl-slot:has(input:checked) { box-shadow: 0 2px 0 var(--text), inset 0 0 0 1.5px var(--text); }
  .dl-mode { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
  .dl-mode .dl-slot b { font-size: 15px; }
  .dl-mock { margin-top: 8px; }
  .dl-field { gap: 4px; }
  .dl-field input, .dl-field select { min-height: 46px; padding: 9px 12px; }
  .dl-sum { padding: 16px 16px 18px; }
  .dl-sum__title { font-size: 24px; }
  .dl-sum__list { margin-top: 6px; }
  .dl-sum__total dd { font-size: 30px; }
  .dl-sum__list .dl-sum__total { padding-top: 12px; }
  .dl-prog__text { margin-top: 6px; font-size: 13.5px; }
  .dl-sum__fine { margin-top: 10px; }
  .dl-faq { gap: 8px; margin-top: 14px; }
  .dl-faq summary { min-height: 50px; padding-top: 8px; padding-bottom: 8px; font-size: 18.5px; }
  .dl-menu { gap: 6px; margin-top: 10px; }
  .dl-item { min-height: 62px; padding: 6px 8px 6px 6px; }
  .dl-slots { gap: 8px; }
  .dl-slot { min-height: 58px; padding: 9px 14px; }
  .dl-slot b { font-size: 21px; }
  .dl-sub { margin-top: 16px; }
  .dl-fields { gap: 10px; }
  .dl-fields--addr { grid-template-columns: minmax(0, 1fr) 124px; }
  .dl-fields--inv { grid-template-columns: 112px minmax(0, 1fr); }
  .dl-fields--addr .dl-field--wide, .dl-fields--inv .dl-field--wide { grid-column: 1 / -1; }
  .dl-sum__list > div { padding: 7px 0; font-size: 14.5px; }
  .dl-map { max-width: 240px; }
  #dl-days, #dl-cats, #dla-dates { flex-wrap: nowrap; overflow-x: auto; margin: 0 -14px; padding: 2px 14px 6px; scrollbar-width: none; }
  #dl-days .chip, #dl-cats .chip, #dla-dates .chip { flex: none; }
  .dl-item { grid-template-columns: 48px minmax(0, 1fr) auto; gap: 10px; }
  .dl-item img, .dl-item__ph { width: 48px; height: 48px; }
}

/* ---------- admin mock-up ---------- */
.dla { padding: clamp(24px, 5vh, 56px) 0 clamp(48px, 8vh, 96px); }
.dla__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 24px; }
.dla__head h1 { font: 560 clamp(32px, 4.4vw, 54px)/1.02 var(--serif); font-variation-settings: "opsz" 110, var(--soft); letter-spacing: -.03em; margin-top: 8px; }
.dla__tools { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; }
.dla__sample { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1.5px dashed var(--line-strong); border-radius: var(--r-pill); font: 600 13px/1 var(--sans); color: var(--text); }
.dla__sample::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--honey); }
.dla__note { margin-top: 12px; }
.dla__grid { display: grid; gap: 20px; margin-top: clamp(18px, 3vh, 28px); align-items: start; }
@media (min-width: 980px) { .dla__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .dla__rush, .dla__panel--board { grid-column: 1 / -1; } }
.dla__panel { min-width: 0; padding: clamp(18px, 2.4vw, 28px); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.dla__panel h2, .dla__rush h2 { font: 560 26px/1.1 var(--serif); font-variation-settings: "opsz" 40, var(--soft); letter-spacing: -.02em; margin-bottom: 6px; }
.dla__panel h2 small { margin-left: 8px; font: 500 14px/1 var(--sans); letter-spacing: 0; color: var(--text-soft); }
.dla__panel > .fine { margin-bottom: 16px; }

.dla__rush { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; padding: clamp(18px, 2.4vw, 28px); border-radius: var(--r-lg); background: var(--surface); border: 1.5px solid var(--line); transition: background .25s, border-color .25s; }
.dla__rush.is-on { background: var(--glow); border-color: var(--text); }
.dla__rush > div { flex: 1 1 260px; }
.dla__rush p { color: var(--text-soft); font-size: 15px; line-height: 1.5; max-width: 52ch; }
.dla__switch { display: inline-flex; align-items: center; gap: 14px; min-height: 64px; padding: 0 8px 0 0; font: 600 20px/1 var(--sans); border-radius: var(--r-pill); }
.dla__switch i { position: relative; width: 112px; height: 60px; border-radius: 30px; background: var(--cream-3); box-shadow: inset 0 0 0 1.5px var(--text); transition: background .25s; }
.dla__switch i::after { content: ""; position: absolute; top: 6px; left: 6px; width: 48px; height: 48px; border-radius: 50%; background: var(--white); border: var(--edge); transition: transform .25s var(--ease); }
.dla__switch[aria-checked="true"] i { background: var(--olive); }
.dla__switch[aria-checked="true"] i::after { transform: translateX(52px); }
.dla__switch span { min-width: 2.2em; text-align: left; }

.dla__board { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); gap: 16px; margin-top: 12px; align-items: start; }
.dla__col { display: grid; gap: 8px; min-width: 0; padding: 14px; border-radius: var(--r-md); background: var(--surface-2); }
.dla__col.is-closed { background: none; box-shadow: inset 0 0 0 1px var(--line-strong); }
.dla__col.is-closed h3 { text-decoration: line-through; text-decoration-color: var(--line-strong); color: var(--text-soft); }
.dla__col-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 10px; align-items: center; margin-bottom: 4px; }
.dla__col-head h3 { font: 560 31px/1 var(--serif); font-variation-settings: "opsz" 60, var(--soft); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.dla__col-head p { grid-column: 1; font-size: 14px; color: var(--text-soft); }
.dla__col-head .dla__mini { grid-column: 2; grid-row: 1 / span 2; }
.dla__bar { grid-column: 1 / -1; height: 6px; margin-top: 6px; border-radius: 3px; background: var(--cream-3); overflow: hidden; }
.dla__bar i { display: block; height: 100%; background: var(--olive); }
.dla__mini { min-height: 44px; padding: 0 14px; border: var(--edge); border-radius: var(--r-pill); background: var(--surface); font: 650 13px/1.2 var(--sans); color: var(--text); box-shadow: 0 2px 0 var(--text); transition: background .2s, transform var(--tap), box-shadow var(--tap); }
.dla__mini:active { transform: translateY(2px); box-shadow: 0 0 0 transparent; }
@media (hover: hover) { .dla__mini:not([aria-pressed="true"]):hover { background: var(--glow-soft); } }
.dla__mini[aria-pressed="true"] { background: var(--olive-deep); border-color: var(--olive-deep); color: var(--white); }
.dla__order { border: 1.5px solid var(--line-strong); border-radius: var(--r-md); background: var(--surface); }
.dla__order summary { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; min-height: 64px; padding: 10px 14px; cursor: pointer; list-style: none; border-radius: var(--r-md); }
.dla__order summary::-webkit-details-marker { display: none; }
.dla__order summary b { display: block; font-weight: 600; }
.dla__order summary small { display: block; font-size: 13px; color: var(--text-soft); }
.dla__order ul { margin: 2px 14px 0; padding-top: 10px; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.7; }
.dla__order p { margin: 8px 14px 0; font-size: 14px; line-height: 1.5; color: var(--text-soft); }
.dla__order .btn { width: calc(100% - 28px); margin: 12px 14px 0; }
.dla__order[open] { padding-bottom: 14px; }
.dla__pill { display: inline-flex; align-items: center; gap: 7px; flex: none; padding: 6px 12px; border-radius: var(--r-pill); font: 600 13px/1 var(--sans); white-space: nowrap; }
.dla__pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.dla__pill[data-st="new"] { background: var(--olive-deep); color: var(--white); }
.dla__pill[data-st="making"] { background: var(--glow); color: var(--text); }
.dla__pill[data-st="out"], .dla__pill[data-st="on"] { background: var(--olive); color: var(--on-accent); }
.dla__pill[data-st="delivered"], .dla__pill[data-st="off"] { box-shadow: inset 0 0 0 1px var(--line-strong); color: var(--text-soft); }
.dla__empty { padding: 10px 2px; font-size: 15px; color: var(--text-soft); }

.dla__slots { display: grid; gap: 10px; }
.dla__slot { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) 44px; gap: 8px; align-items: end; margin: 0; padding: 0; border: 0; min-width: 0; }
.dla__slot label { display: grid; gap: 4px; min-width: 0; }
.dla__slot label span { font: 600 13px/1.3 var(--sans); color: var(--text-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dla__slot input { padding: 10px; font-variant-numeric: tabular-nums; }
.dla__del { display: grid; place-items: center; width: 44px; height: 48px; border-radius: var(--r-sm); color: var(--text-soft); }
@media (hover: hover) { .dla__del:hover { background: var(--olive-soft); color: var(--text); } }
.dla__del svg { width: 20px; height: 20px; }
.dla__slots + .btn { margin-top: 14px; }
.dla__days { display: flex; flex-wrap: wrap; gap: 6px; margin: 22px 0 0; padding: 0; border: 0; }
.dla__days legend { padding: 0; margin-bottom: 10px; font: 600 14px/1.3 var(--sans); }
.dla__days legend small { font-weight: 400; color: var(--text-soft); }
.dla__dates { margin: 10px 0 8px; }
.dla__msg { min-height: 1.4em; margin-top: 10px; font: 600 14px/1.4 var(--sans); color: var(--text); }
.dla__rush b { color: var(--text); font-weight: 600; }
.dla__list { display: grid; gap: 8px; margin-top: 12px; }
.dla__rec { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 8px 12px; align-items: center; min-height: 64px; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--r-md); }
.dla__rec b { display: block; font-weight: 600; }
.dla__rec small { display: block; font-size: 14px; color: var(--text-soft); }
.dla__rec.is-paused b { color: var(--text-soft); }
@media (max-width: 480px) { .dla__rec { grid-template-columns: minmax(0, 1fr) auto; } .dla__rec > span:first-child { grid-column: 1 / -1; } .dla__rec .dla__mini { justify-self: end; } }

@media (prefers-reduced-motion: reduce) {
  .dl *, .dla * { transition: none !important; animation: none !important; }
}
