.fx-takeaway { display: grid; gap: 16px; }
.fx-takeaway .fx-takeaway-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.fx-takeaway .fx-takeaway-goal, .fx-takeaway .fx-takeaway-step { margin: 0; color: var(--fx-ink); }
.fx-takeaway .fx-takeaway-controls { margin: 0; padding: 0; border: 0; min-width: 0; }
.fx-takeaway .fx-takeaway-controls legend { padding: 0; margin-bottom: 12px; font-weight: 800; }
.fx-takeaway .fx-row { display: flex; flex-wrap: wrap; gap: 8px; }
.fx-takeaway .fx-btn { display: flex; align-items: center; justify-content: flex-start; gap: 8px; flex: 1 1 170px; min-width: 0; min-height: 44px; box-sizing: border-box; padding: 10px 12px; white-space: normal; color: var(--fx-ink); background: var(--fx-paper); border: 2px solid var(--fx-ink); }
.fx-takeaway .fx-btn:has(input:checked) { background: var(--fx-mint-pale); color: var(--fx-ink); }
.fx-takeaway .fx-btn:has(input:focus-visible) { outline: 3px solid var(--fx-ink); outline-offset: 3px; }
.fx-takeaway .fx-takeaway-choice-mark { width: 18px; flex: 0 0 18px; visibility: hidden; }
.fx-takeaway .fx-btn:has(input:checked) .fx-takeaway-choice-mark { visibility: visible; }
.fx-takeaway .fx-takeaway-shop { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 0.85fr); gap: 16px; align-items: start; height: 440px; box-sizing: border-box; padding: 16px 16px 38px; color: var(--fx-ink); background: var(--fx-sky-pale); font-size: 14px; line-height: 1.4; }
.fx-takeaway .fx-takeaway-shop::after { content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 20px; border-top: 3px solid var(--fx-ink); background: var(--fx-sun); }
.fx-takeaway .fx-takeaway-left, .fx-takeaway .fx-takeaway-receipt, .fx-takeaway .fx-takeaway-till { min-width: 0; }
.fx-takeaway .fx-takeaway-menu { display: grid; gap: 8px; padding: 10px; border: 2px solid var(--fx-ink); border-radius: 8px; background: var(--fx-paper); }
.fx-takeaway .fx-takeaway-menu-card { display: flex; align-items: center; justify-content: space-between; gap: 4px; min-height: 32px; padding: 4px 6px; border: 1px solid var(--fx-ink); background: var(--fx-sun-pale); box-sizing: border-box; }
.fx-takeaway:has(#fx-takeaway-food:checked) .fx-takeaway-menu-food, .fx-takeaway:has(#fx-takeaway-service:checked) .fx-takeaway-menu-service, .fx-takeaway:has(#fx-takeaway-delivery:checked) .fx-takeaway-menu-delivery { background: var(--fx-mint-pale); }
.fx-takeaway .fx-takeaway-person { display: grid; grid-template-columns: 44px minmax(0, 1fr); align-items: center; gap: 8px; margin-top: 14px; }
.fx-takeaway .fx-takeaway-joshua { width: 44px; height: 90px; }
.fx-takeaway .fx-takeaway-joshua * { stroke: var(--fx-ink); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.fx-takeaway .fx-takeaway-head { fill: var(--fx-sun); }
.fx-takeaway .fx-takeaway-shirt { fill: var(--fx-sky); }
.fx-takeaway .fx-takeaway-limbs { fill: none; }
.fx-takeaway .fx-takeaway-sign { display: grid; gap: 4px; padding: 8px; border: 2px solid var(--fx-ink); border-radius: 10px; background: var(--fx-paper); }
.fx-takeaway .fx-takeaway-sign small { font-size: 12px; }
.fx-takeaway .fx-takeaway-success { grid-column: 1 / -1; padding: 6px; background: var(--fx-mint); border-radius: 6px; text-align: center; }
.fx-takeaway .fx-takeaway-receipt { height: 300px; padding: 12px; box-sizing: border-box; border: 2px solid var(--fx-ink); border-bottom: 4px dashed var(--fx-ink); background: var(--fx-paper); }
.fx-takeaway .fx-takeaway-bill-items { display: grid; grid-auto-rows: 48px; gap: 8px; margin-top: 12px; }
.fx-takeaway .fx-takeaway-slip { display: flex; align-items: center; justify-content: space-between; gap: 4px; padding: 4px 6px; box-sizing: border-box; background: var(--fx-sun-pale); border: 1px solid var(--fx-ink); visibility: hidden; opacity: 0; transform: translateX(-12px); transition: transform 0.35s, opacity 0.35s; }
.fx-takeaway:has(#fx-takeaway-food:checked) .fx-takeaway-slip-food, .fx-takeaway:has(#fx-takeaway-service:checked) .fx-takeaway-slip-service, .fx-takeaway:has(#fx-takeaway-delivery:checked) .fx-takeaway-slip-delivery { visibility: visible; opacity: 1; transform: translateX(0); }
.fx-takeaway .fx-takeaway-empty { margin: 8px 0 0; font-size: 12px; }
.fx-takeaway .fx-takeaway-till { display: grid; gap: 8px; }
.fx-takeaway .fx-takeaway-machine { padding: 10px; border: 3px solid var(--fx-ink); border-radius: 12px; background: var(--fx-paper); }
.fx-takeaway .fx-takeaway-machine::after { content: ""; display: block; height: 12px; margin-top: 12px; border: 2px solid var(--fx-ink); border-radius: 4px; background: var(--fx-sky-pale); }
.fx-takeaway .fx-takeaway-screen { display: grid; padding: 10px 2px; margin: 0; background: var(--fx-sun-pale); border: 2px solid var(--fx-ink); text-align: center; font-size: 32px; line-height: 1.2; color: var(--fx-ink); }
.fx-takeaway .fx-takeaway-screen span { grid-area: 1 / 1; }
.fx-takeaway:has(#fx-takeaway-food:checked):has(#fx-takeaway-service:checked):has(#fx-takeaway-delivery:not(:checked)) .fx-takeaway-screen { background: var(--fx-mint); }
.fx-takeaway .fx-takeaway-scooter { display: flex; align-items: center; justify-content: center; flex: 0 0 32px; border-radius: 4px; background: var(--fx-sky-pale); }
.fx-takeaway .fx-takeaway-scooter svg { width: 32px; height: 26px; fill: none; stroke: var(--fx-ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.fx-takeaway:has(#fx-takeaway-food:checked):has(#fx-takeaway-delivery:checked) .fx-takeaway-scooter { animation: fx-takeaway-flash 0.6s steps(2) 3; }
.fx-takeaway:has(#fx-takeaway-food:checked):has(#fx-takeaway-service:checked):has(#fx-takeaway-delivery:checked) .fx-takeaway-scooter { background: var(--fx-coral-pale); animation-name: fx-takeaway-redflash; }
@keyframes fx-takeaway-flash { 0%, 100% { background: var(--fx-sky-pale); } 50% { background: var(--fx-sun); } }
@keyframes fx-takeaway-redflash { 0%, 100% { background: var(--fx-coral-pale); } 50% { background: var(--fx-coral); } }
.fx-takeaway .fx-takeaway-messages { display: grid; min-width: 0; }
.fx-takeaway .fx-takeaway-messages p { grid-area: 1 / 1; margin: 0; padding: 12px; line-height: 1.5; color: var(--fx-ink); }
.fx-takeaway .fx-takeaway-state { visibility: hidden; }
.fx-takeaway:has(#fx-takeaway-food:not(:checked)):has(#fx-takeaway-service:not(:checked)):has(#fx-takeaway-delivery:not(:checked)) .fx-takeaway-s0, .fx-takeaway:has(#fx-takeaway-food:checked):has(#fx-takeaway-service:not(:checked)):has(#fx-takeaway-delivery:not(:checked)) .fx-takeaway-s1, .fx-takeaway:has(#fx-takeaway-food:not(:checked)):has(#fx-takeaway-service:checked):has(#fx-takeaway-delivery:not(:checked)) .fx-takeaway-s2, .fx-takeaway:has(#fx-takeaway-food:not(:checked)):has(#fx-takeaway-service:not(:checked)):has(#fx-takeaway-delivery:checked) .fx-takeaway-s3, .fx-takeaway:has(#fx-takeaway-food:checked):has(#fx-takeaway-service:checked):has(#fx-takeaway-delivery:not(:checked)) .fx-takeaway-s4, .fx-takeaway:has(#fx-takeaway-food:checked):has(#fx-takeaway-service:not(:checked)):has(#fx-takeaway-delivery:checked) .fx-takeaway-s5, .fx-takeaway:has(#fx-takeaway-food:not(:checked)):has(#fx-takeaway-service:checked):has(#fx-takeaway-delivery:checked) .fx-takeaway-s6, .fx-takeaway:has(#fx-takeaway-food:checked):has(#fx-takeaway-service:checked):has(#fx-takeaway-delivery:checked) .fx-takeaway-s7 { visibility: visible; }
@container (max-width: 480px) { .fx-takeaway .fx-takeaway-shop { grid-template-columns: minmax(0, 1fr); grid-template-rows: 310px 270px minmax(0, 1fr); height: 820px; gap: 14px; padding: 14px 14px 32px; } .fx-takeaway .fx-takeaway-receipt { height: 270px; } .fx-takeaway .fx-takeaway-left { width: 100%; } }
@media (prefers-reduced-motion: reduce) { .fx-takeaway .fx-takeaway-slip { transition: none; } .fx-takeaway .fx-takeaway-shop .fx-takeaway-scooter { animation: none; } }