.fx-tabs { display: grid; gap: 16px; }
.fx-tabs .fx-tabs-steps { margin: 0; padding-left: 24px; font-size: 16px; line-height: 1.5; color: var(--fx-ink); }
.fx-tabs .fx-tabs-steps li + li { margin-top: 4px; }
.fx-tabs .fx-tabs-goal { margin: 0; font-size: 16px; line-height: 1.5; font-weight: 700; color: var(--fx-ink); }
.fx-tabs .fx-tabs-controls { min-width: 0; margin: 0; padding: 0; border: 0; }
.fx-tabs .fx-tabs-controls legend { max-width: 100%; margin-bottom: 12px; padding: 0; font-size: 16px; line-height: 1.4; font-weight: 800; color: var(--fx-ink); }
.fx-tabs .fx-tabs-phone { box-sizing: border-box; width: 100%; max-width: 380px; margin-inline: auto; padding: 12px 10px 10px; border: 2px solid var(--fx-ink); border-radius: 18px; background: var(--fx-sky-pale); color: var(--fx-ink); }
.fx-tabs .fx-tabs-top { display: grid; grid-template-columns: minmax(0, 1fr) 112px; gap: 8px; align-items: center; }
.fx-tabs .fx-tabs-caption { font-size: 14px; line-height: 1.4; }
.fx-tabs .fx-tabs-phone .fx-btn { box-sizing: border-box; margin: 0; border: 2px solid var(--fx-ink); background: var(--fx-paper); color: var(--fx-ink); cursor: pointer; }
.fx-tabs .fx-tabs-homecontrol { display: flex; justify-content: center; align-items: center; justify-self: end; width: 112px; min-height: 40px; padding: 8px 6px; border-radius: 8px; font-size: 12px; line-height: 20px; font-weight: 600; }
.fx-tabs .fx-tabs-phone .fx-tabs-homecontrol:has(input:checked) { background: var(--fx-sun-pale); color: var(--fx-ink); font-weight: 800; }
.fx-tabs .fx-tabs-tabbar { position: relative; z-index: 6; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; align-items: stretch; margin-top: 12px; }
.fx-tabs .fx-tabs-phone .fx-tabs-tab { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 0; min-width: 0; height: 58px; padding: 6px 2px; border-radius: 9px 9px 0 0; background: var(--fx-sky-pale); font-size: 14px; line-height: 18px; font-weight: 500; text-align: center; }
.fx-tabs .fx-tabs-tabword { display: block; }
.fx-tabs .fx-tabs-phone .fx-tabs-tab:has(input:checked) { border-bottom-color: var(--fx-paper); background: var(--fx-paper); color: var(--fx-ink); font-weight: 800; }
.fx-tabs .fx-tabs-phone .fx-btn:has(input:focus-visible) { outline: 3px solid var(--fx-grape); outline-offset: 3px; }
.fx-tabs .fx-tabs-screen { box-sizing: border-box; position: relative; display: grid; grid-template-rows: 24px minmax(0, 1fr); gap: 8px; height: 390px; margin-top: -2px; padding: 10px; border: 2px solid var(--fx-ink); border-radius: 0 0 9px 9px; background: var(--fx-paper); }
.fx-tabs .fx-tabs-pagecap { margin: 0; font-size: 12px; line-height: 24px; font-weight: 700; }
.fx-tabs .fx-tabs-deck { position: relative; min-width: 0; }
.fx-tabs .fx-tabs-page { box-sizing: border-box; position: absolute; inset: 0 24px 34px 0; padding: 10px; border: 2px solid var(--fx-ink); border-radius: 8px; background: var(--fx-paper); transition: transform 0.4s ease-out; }
.fx-tabs .fx-tabs-page-home { z-index: 4; transform: translate(6px, 8px); }
.fx-tabs .fx-tabs-page-tshirts { z-index: 3; transform: translate(12px, 16px); }
.fx-tabs .fx-tabs-page-jumpers { z-index: 2; transform: translate(18px, 24px); }
.fx-tabs .fx-tabs-page-trousers { z-index: 1; transform: translate(24px, 32px); }
.fx-tabs .fx-tabs-pagebody { visibility: hidden; }
.fx-tabs:has(#fx-tabs-home:checked) .fx-tabs-page-home, .fx-tabs:has(#fx-tabs-tshirts:checked) .fx-tabs-page-tshirts, .fx-tabs:has(#fx-tabs-jumpers:checked) .fx-tabs-page-jumpers, .fx-tabs:has(#fx-tabs-trousers:checked) .fx-tabs-page-trousers { z-index: 5; transform: translate(0, 0); }
.fx-tabs:has(#fx-tabs-home:checked) .fx-tabs-page-home .fx-tabs-pagebody, .fx-tabs:has(#fx-tabs-tshirts:checked) .fx-tabs-page-tshirts .fx-tabs-pagebody, .fx-tabs:has(#fx-tabs-jumpers:checked) .fx-tabs-page-jumpers .fx-tabs-pagebody, .fx-tabs:has(#fx-tabs-trousers:checked) .fx-tabs-page-trousers .fx-tabs-pagebody { visibility: visible; }
.fx-tabs .fx-tabs-title { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 28px; margin: 0 0 8px; font-size: 20px; line-height: 28px; }
.fx-tabs .fx-tabs-hint { display: flex; align-items: center; gap: 6px; margin: 8px 0; padding: 4px; border: 1px solid var(--fx-ink); border-radius: 5px; background: var(--fx-sun-pale); font-size: 14px; line-height: 1.2; }
.fx-tabs .fx-tabs-arrow { flex-shrink: 0; font-size: 24px; line-height: 28px; }
.fx-tabs .fx-tabs-list { margin: 0; padding-left: 19px; font-size: 14px; line-height: 1.5; }
.fx-tabs .fx-tabs-products li { padding: 5px 0; border-bottom: 1px solid var(--fx-sky-pale); }
.fx-tabs .fx-tabs-drawing { display: block; width: 100%; height: 94px; margin: 6px 0 10px; }
.fx-tabs .fx-tabs-drawing path { fill: var(--fx-sky-pale); stroke: var(--fx-ink); stroke-width: 3; stroke-linejoin: round; }
.fx-tabs .fx-tabs-page-jumpers .fx-tabs-drawing path { fill: var(--fx-sun-pale); }
.fx-tabs .fx-tabs-page-trousers .fx-tabs-drawing path { fill: var(--fx-mint-pale); }
.fx-tabs .fx-tabs-drawing line { stroke: var(--fx-ink); stroke-width: 3; }
.fx-tabs .fx-tabs-tick { flex-shrink: 0; width: 28px; height: 28px; }
.fx-tabs .fx-tabs-tick path { fill: none; stroke: var(--fx-mint); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
.fx-tabs .fx-tabs-says { display: grid; width: 100%; max-width: 380px; justify-self: center; }
.fx-tabs .fx-tabs-says p { display: block; grid-area: 1 / 1; visibility: hidden; margin: 0; font-size: 16px; line-height: 1.4; color: var(--fx-ink); }
.fx-tabs:has(#fx-tabs-home:checked) .fx-tabs-say-home, .fx-tabs:has(#fx-tabs-tshirts:checked) .fx-tabs-say-tshirts, .fx-tabs:has(#fx-tabs-jumpers:checked) .fx-tabs-say-jumpers, .fx-tabs:has(#fx-tabs-trousers:checked) .fx-tabs-say-trousers { visibility: visible; }
@container (max-width: 480px) { .fx-tabs .fx-tabs-top { grid-template-columns: 1fr; gap: 6px; } }
@media (prefers-reduced-motion: reduce) { .fx-tabs .fx-tabs-page { transition: none; } }