.choice-dialog {position:fixed;inset:auto;margin:0;box-sizing:border-box;max-height:min(68dvh,480px);overflow:auto;padding:6px;border:1px solid var(--ms-line);border-radius:16px;background:var(--ms-panel);color:var(--ms-text);box-shadow:0 16px 50px #0004}
.choice-dialog::backdrop {background:rgb(12 12 15 / .16)}
.choice-dialog header {display:flex;align-items:center;justify-content:space-between;gap:12px;padding:3px 6px 5px 10px;border-bottom:1px solid var(--ms-line)}
.choice-dialog h2 {font:700 1.13rem/1.15 var(--display);letter-spacing:-.025em}
.choice-dialog header button {width:40px;height:40px;border:0;background:transparent;color:var(--ms-muted);font:400 24px var(--body);cursor:pointer}
.choice-list {display:grid;gap:2px;padding-top:5px}
.choice-list button {display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:44px;padding:8px 12px;border:0;border-radius:9px;background:transparent;color:inherit;text-align:left;font:600 .98rem/1.25 var(--body);cursor:pointer}
.choice-list small {display:block;color:var(--ms-muted);font-size:.8rem;font-weight:450;margin-top:2px}
.choice-list button:is(:hover,:focus-visible) {background:var(--ms-bg)}
.choice-list [aria-pressed=true] {background:color-mix(in srgb,#e8be46 14%,var(--ms-panel))}
.choice-list [aria-pressed=true]::after,.category-menu a[aria-current]::after {content:"✓";display:grid;place-items:center;flex:none;width:20px;height:20px;background:#e8be46;border-radius:50%;color:#24211b;font:700 13px var(--body)}
.choice-dialog :focus-visible {outline-offset:-2px}
@media(max-width:600px){.choice-dialog[open]{inset:auto 8px max(8px,env(safe-area-inset-bottom));width:calc(100% - 16px);max-width:none}.choice-dialog::backdrop{background:#10101480}}
@media(prefers-reduced-motion:no-preference){.choice-dialog[open]{animation:choice-in .14s ease-out}@keyframes choice-in{from{opacity:.55;translate:0 4px}}}
.category-menu {grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 22px;padding:12px clamp(12px,2vw,26px) 18px}
.category-index {grid-column:1/-1;border-bottom:1px solid var(--ms-line);padding-bottom:8px}
.category-index a {width:fit-content}
.category-menu a {justify-content:start;gap:10px;min-height:46px}
.category-menu a img {width:36px;height:36px;flex:none;object-fit:contain;background:#dedcd6;border-radius:8px}
.category-menu a[aria-current] {background:color-mix(in srgb,#e8be46 11%,var(--ms-panel));color:var(--ms-text)}
.category-menu a[aria-current]::after {margin-inline-start:auto}
.category-column h3 {margin:3px 0 5px;padding-left:10px;border-left:2px solid #e8be46}
.catalog-compare[open] .compare-content {max-width:960px;margin-inline:auto}
.catalog-compare .compare-output th img {height:clamp(150px,25vw,340px);background:#c9c3ba}
.catalog-custom .variant-options label:not(:has(img)) {position:relative;padding:9px 13px;min-height:44px;display:inline-flex;align-items:center;gap:8px;border-radius:999px;cursor:pointer}
.catalog-custom .variant-options label:not(:has(img)) input {appearance:none;width:15px;height:15px;border-radius:50%;border:1px solid var(--ms-muted);background:transparent}
.catalog-custom .variant-options label:not(:has(img)) input:checked {border:4px solid #e8be46;background:#24211b}
.catalog-custom .variant-options label:not(:has(img)):has(input:checked) {background:color-mix(in srgb,#e8be46 12%,var(--ms-panel));box-shadow:none}
.catalog-custom .method-choice {max-width:none}
.catalog-custom input[data-variant-quantity] {width:9ch;font-variant-numeric:tabular-nums}
@media(max-width:600px){.category-menu {grid-template-columns:1fr;gap:8px}.category-column {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:3px}.category-column h3{grid-column:1/-1}.category-menu a{padding:5px;gap:5px;overflow-wrap:anywhere}.category-menu a img{width:28px;height:32px}.category-menu a[aria-current]::after{width:15px;height:15px;font-size:10px}}
.choice-dialog { border: 0; border-radius: 20px; padding: 9px }
.choice-dialog header { border: 0; padding-bottom: 8px }
.choice-list [aria-pressed=true] { border-radius: 14px; font-weight: 750 }
