.fx-basket { display: grid; gap: 16px; }
.fx-basket .fx-basket-steps { margin: 0; padding-left: 24px; }
.fx-basket .fx-basket-goal { margin: 0; color: var(--fx-ink); }
.fx-basket .fx-basket-controls { min-width: 0; padding: 0; margin: 0; border: 0; }
.fx-basket .fx-basket-controls legend { padding: 0; margin-bottom: 10px; font-weight: 800; }
.fx-basket .fx-row { display: flex; flex-wrap: wrap; gap: 10px; }
.fx-basket .fx-btn { box-sizing: border-box; display: flex; align-items: center; justify-content: center; flex: 1 1 140px; min-width: 0; min-height: 44px; padding: 10px 12px; border: 2px solid var(--fx-ink); background: var(--fx-paper); color: var(--fx-ink); font-size: 14px; font-weight: 700; text-align: center; white-space: normal; cursor: pointer; }
.fx-basket .fx-btn:has(input:checked) { background: var(--fx-mint); color: var(--fx-ink); }
.fx-basket .fx-btn:has(input:focus-visible) { outline: 3px solid var(--fx-grape); outline-offset: 3px; }
.fx-basket .fx-basket-hint { margin: 10px 0 0; font-size: 12px; color: var(--fx-ink); }
.fx-basket .fx-basket-two { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 16px; align-items: end; }
.fx-basket .fx-basket-shop { min-width: 0; }
.fx-basket .fx-basket-caption { margin: 0 0 10px; font-size: 14px; color: var(--fx-ink); }
.fx-basket .fx-basket-scene { box-sizing: border-box; position: relative; height: 380px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 12px 8px 0; overflow: hidden; color: var(--fx-ink); }
.fx-basket .fx-basket-item { position: relative; z-index: 1; min-width: 0; text-align: center; }
.fx-basket .fx-basket-price { display: block; min-height: 54px; font-size: 12px; line-height: 18px; overflow-wrap: anywhere; }
.fx-basket .fx-basket-tag { display: block; min-height: 36px; font-size: 12px; line-height: 18px; font-weight: 800; color: var(--fx-ink); background: var(--fx-sun-pale); visibility: hidden; transform: scaleY(0); transform-origin: top; transition: transform 0.3s; }
.fx-basket .fx-basket-icon { position: absolute; top: 100px; left: 50%; width: min(100%, 76px); height: 64px; transform: translateX(-50%); transition: transform 0.5s; fill: var(--fx-sun); stroke: var(--fx-ink); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.fx-basket .fx-basket-window { fill: var(--fx-sky-pale); }
.fx-basket .fx-basket-detail { fill: var(--fx-ink); }
.fx-basket .fx-basket-open { fill: none; }
.fx-basket .fx-basket-scene::before { content: ""; position: absolute; top: 180px; left: 8px; right: 8px; border-top: 4px solid var(--fx-ink); }
.fx-basket .fx-basket-shelfword { position: absolute; top: 190px; left: 0; width: 100%; text-align: center; font-size: 12px; }
.fx-basket .fx-basket-outline { position: absolute; bottom: 28px; left: 3%; width: 94%; height: 112px; fill: var(--fx-mint-pale); stroke: var(--fx-ink); stroke-width: 2; stroke-linejoin: round; }
.fx-basket .fx-basket-word { position: absolute; bottom: 5px; left: 0; width: 100%; text-align: center; font-size: 14px; }
.fx-basket .fx-basket-till { box-sizing: border-box; height: 380px; min-width: 0; padding: 16px; display: grid; align-content: center; gap: 12px; color: var(--fx-ink); }
.fx-basket .fx-basket-readout { display: grid; gap: 8px; margin: 0; }
.fx-basket .fx-basket-readout dt { font-size: 14px; font-weight: 700; }
.fx-basket .fx-basket-values { display: grid; min-width: 0; margin: 0; padding: 8px; border: 2px solid var(--fx-ink); border-radius: 8px; background: var(--fx-paper); color: var(--fx-ink); font-size: 30px; font-weight: 800; line-height: 1.2; }
.fx-basket .fx-basket-says { display: grid; min-width: 0; }
.fx-basket .fx-basket-state { grid-area: 1 / 1; visibility: hidden; }
.fx-basket .fx-basket-says .fx-basket-state { box-sizing: border-box; margin: 0; overflow-wrap: anywhere; color: var(--fx-ink); }
.fx-basket:not(:has(input:checked)) .fx-basket-s0, .fx-basket:has(#fx-basket-bread:checked):not(:has(#fx-basket-micro:checked)):not(:has(#fx-basket-kettle:checked)) .fx-basket-s1, .fx-basket:has(#fx-basket-micro:checked):not(:has(#fx-basket-bread:checked)):not(:has(#fx-basket-kettle:checked)) .fx-basket-s2, .fx-basket:has(#fx-basket-kettle:checked):not(:has(#fx-basket-bread:checked)):not(:has(#fx-basket-micro:checked)) .fx-basket-s3, .fx-basket:has(#fx-basket-bread:checked):has(#fx-basket-micro:checked):not(:has(#fx-basket-kettle:checked)) .fx-basket-s4, .fx-basket:has(#fx-basket-bread:checked):has(#fx-basket-kettle:checked):not(:has(#fx-basket-micro:checked)) .fx-basket-s5, .fx-basket:has(#fx-basket-micro:checked):has(#fx-basket-kettle:checked):not(:has(#fx-basket-bread:checked)) .fx-basket-s6, .fx-basket:has(#fx-basket-bread:checked):has(#fx-basket-micro:checked):has(#fx-basket-kettle:checked) .fx-basket-s7 { visibility: visible; }
.fx-basket:has(#fx-basket-bread:checked) .fx-basket-bread .fx-basket-icon, .fx-basket:has(#fx-basket-micro:checked) .fx-basket-micro .fx-basket-icon, .fx-basket:has(#fx-basket-kettle:checked) .fx-basket-kettle .fx-basket-icon { transform: translate(-50%, 144px); }
.fx-basket:has(#fx-basket-bread:checked) .fx-basket-bread .fx-basket-tag, .fx-basket:has(#fx-basket-micro:checked) .fx-basket-micro .fx-basket-tag, .fx-basket:has(#fx-basket-kettle:checked) .fx-basket-kettle .fx-basket-tag { visibility: visible; transform: scaleY(1); }
.fx-basket:not(:has(input:checked)) .fx-basket-kettle .fx-basket-icon { border-radius: 12px; background: var(--fx-sun-pale); box-shadow: 0 0 8px 3px var(--fx-sun); }
.fx-basket:has(#fx-basket-bread:checked):has(#fx-basket-micro:checked):has(#fx-basket-kettle:checked) .fx-basket-values { background: var(--fx-mint-pale); }
@container (max-width: 480px) { .fx-basket .fx-basket-two { grid-template-columns: minmax(0, 1fr); } .fx-basket .fx-row { flex-direction: column; align-items: stretch; } .fx-basket .fx-btn { flex: 0 0 auto; } .fx-basket .fx-basket-till { height: 260px; } }