/* STR-2026-0115 (DEV): HANDOFF-01 шаг 4 — нижняя шторка выбора размера (телефон, hover:none, «+N» на десктопе).
   Грузится после LCP (inc/str-0115.php, strAfterLcp, fetchpriority=low); шторку строит assets/str-0115.js.
   Движение: шторка translateY 420 мс cubic-bezier(.2,0,0,1), затемнение opacity; только transform/opacity (+ visibility).
   Специфичность поднята классами, без !important. Цвета — нейтральные переменные этапа STR-2026-0102 (палитра ребрендинга — позже). */
.str-sz-scrim{position:fixed;inset:0;z-index:99990;background:rgba(0,0,0,.4);opacity:0;visibility:hidden;transition:opacity 420ms cubic-bezier(.4,0,.2,1),visibility 0s linear 420ms}
.str-sz-scrim.is-on{opacity:1;visibility:visible;transition:opacity 420ms cubic-bezier(.4,0,.2,1),visibility 0s}
.str-sz-sheet{position:fixed;left:0;right:0;bottom:0;z-index:99991;box-sizing:border-box;max-width:560px;max-height:85dvh;margin:0 auto;padding:20px 16px calc(20px + env(safe-area-inset-bottom,0px));overflow-y:auto;overscroll-behavior:contain;border-radius:16px 16px 0 0;background:var(--str-paper,#fff);color:var(--str-ink,#212121);text-align:start;transform:translateY(100%);visibility:hidden;transition:transform 420ms cubic-bezier(.2,0,0,1),visibility 0s linear 420ms}
.str-sz-sheet.is-on{transform:none;visibility:visible;transition:transform 420ms cubic-bezier(.2,0,0,1),visibility 0s}
html.str-sz-lock{overflow:hidden}
.str-sz-sheet .str-sz-sheet__t{margin:0 40px 4px 0;color:var(--str-ink,#212121);font-size:16px;font-weight:500;line-height:1.35}
.str-sz-sheet .str-sz-sheet__sub{margin:0 0 16px;color:var(--str-muted,#5f5b55);font-size:13px;line-height:1.4}
.str-sz-sheet button.str-sz-sheet__x{position:absolute;top:8px;right:4px;display:grid;place-items:center;width:44px;min-width:44px;height:44px;min-height:44px;margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;color:var(--str-ink,#212121);cursor:pointer}
.str-sz-sheet .str-sz-sheet__tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(44px,1fr));gap:8px}
.str-sz-sheet button.str-sz-sheet__tile{min-width:44px;width:auto;height:48px;min-height:44px;margin:0;padding:0 2px;border:1px solid var(--str-line,#e8e6e1);border-radius:8px;background:var(--str-paper,#fff);box-shadow:none;color:var(--str-ink,#212121);font-family:inherit;font-size:14px;font-weight:500;line-height:1;letter-spacing:0;text-transform:none;font-variant-numeric:tabular-nums;white-space:nowrap;cursor:pointer;touch-action:manipulation;transition:border-color 120ms cubic-bezier(.4,0,.2,1)}
.str-sz-sheet button.str-sz-sheet__tile[aria-pressed="true"]{border-color:var(--str-ink,#212121);box-shadow:inset 0 0 0 1px var(--str-ink,#212121)}
.str-sz-sheet button.str-sz-sheet__tile[aria-disabled="true"]{color:#b3b3b3;cursor:default}
.str-sz-sheet button.str-sz-sheet__tile[aria-disabled="true"] .str-sz__t{text-decoration:line-through}
.str-sz-sheet button.str-sz-sheet__go{display:block;width:100%;height:52px;min-height:52px;margin:16px 0 0;padding:0 16px;border:0;border-radius:8px;background:var(--str-ink,#212121);box-shadow:none;color:var(--str-paper,#fff);font-family:inherit;font-size:13px;font-weight:500;line-height:1;letter-spacing:.06em;text-transform:uppercase;cursor:pointer;touch-action:manipulation}
.str-sz-sheet button.str-sz-sheet__go[aria-busy="true"]{opacity:.6}
.str-sz-sheet .str-sz-sheet__msg{margin:10px 0 0;color:var(--str-error,#b3261e);font-size:13px;line-height:1.4}
.str-sz-sheet .str-sz-sheet__msg:empty{display:none}
.str-sz-sheet button.str-sz-sheet__retry{min-height:44px;margin:0 0 0 8px;padding:0 12px;border:1px solid var(--str-ink,#212121);border-radius:0;background:var(--str-paper,#fff);color:var(--str-ink,#212121);font:inherit;font-size:13px;text-transform:none}
.str-sz-sheet .str-sz-sheet__tip{margin:12px 0 0;color:var(--str-muted,#5f5b55);font-size:13px;line-height:1.4}
.str-sz-sheet button:focus-visible{outline:2px solid var(--str-ink,#212121);outline-offset:2px}
@media (hover:hover) and (pointer:fine){
.str-sz-sheet button.str-sz-sheet__tile:not([aria-disabled="true"]):hover{border-color:var(--str-ink,#212121);background:var(--str-paper,#fff);color:var(--str-ink,#212121)}
.str-sz-sheet button.str-sz-sheet__go:hover{background:#000;color:var(--str-paper,#fff)}
}
.str-sz-fly{position:fixed;z-index:99995;margin:0;object-fit:cover;pointer-events:none;will-change:transform,opacity}
.str-sz-shake{animation:str-sz-shake 200ms cubic-bezier(.4,0,.2,1) 1}
@keyframes str-sz-shake{0%,100%{transform:translateX(0)}25%{transform:translateX(-4px)}75%{transform:translateX(4px)}}
@media (prefers-reduced-motion:reduce){
.str-sz-scrim,.str-sz-scrim.is-on,.str-sz-sheet,.str-sz-sheet.is-on,.str-sz-sheet button.str-sz-sheet__tile{transition:none}
.str-sz-shake{animation:none}
}
