/* Variant selection from product lists. */
#home-options{position:fixed;inset:auto 0 0;margin:0;width:100%;max-width:none;max-height:92dvh;padding:0;border:1px solid var(--line);border-radius:24px 24px 0 0;background:var(--surface);color:var(--ink);overflow:hidden}@media(max-width:639px){#home-options{bottom:var(--options-viewport-bottom,0px);max-height:92vh;max-height:min(92dvh,var(--options-viewport-height,92dvh))}}
@media(max-width:639px) and (max-height:500px){#home-options[open]{grid-template-rows:minmax(0,1fr)}#home-options .home-options-sheet{overflow-y:auto;overscroll-behavior:contain}#home-options .home-options-body{overflow:visible}}#home-options::backdrop{background:#14232e85}#home-options header small{font-size:11px;color:var(--muted)}#home-options h2{font-size:21px;margin-top:3px}#home-options-close{border:1px solid var(--line);border-radius:50%;min-width:44px;width:44px;height:44px}.home-options-body{padding:22px;min-height:0;overflow-y:auto;overscroll-behavior:contain;scroll-padding-block:12px}.home-options-product{display:flex;align-items:center;gap:16px;padding-bottom:20px;border-bottom:1px solid var(--line)}.home-options-product>img{width:82px;height:96px;object-fit:cover;border-radius:12px;background:var(--neutral-soft);flex-shrink:0}.home-options-product>div{min-width:0}.home-options-product h3{font-size:16px;line-height:1.6;overflow-wrap:anywhere}.home-options-product strong{display:block;font-size:21px;line-height:1.6;margin:5px 0}.home-options-product a{display:inline-flex;align-items:center;gap:5px;font-size:11px;color:var(--accent);min-height:34px}.home-options-product a .icon{width:14px;height:14px;transform:rotate(180deg)}.home-option-group{padding:0;border:0;margin:22px 0}.home-option-group legend{font-size:14px;font-weight:700;margin-bottom:12px;overflow-wrap:anywhere}.home-option-values{display:flex;gap:9px;flex-wrap:wrap}.home-option-values button{min-height:44px;min-width:48px;padding:10px 16px;background:var(--surface);color:var(--ink);border:1px solid var(--line);border-radius:10px;font-size:13px;overflow-wrap:anywhere;max-width:100%}.home-option-values button[aria-pressed=true]{background:var(--soft);color:var(--soft-ink);border:2px solid var(--accent);padding:9px 15px;font-weight:700}.home-option-values button:disabled{background:var(--neutral-soft);color:var(--muted);opacity:.65;cursor:not-allowed}.home-options-hint{font-size:12px;color:var(--muted);line-height:1.9;padding:12px 14px;background:var(--neutral-soft);border-radius:10px}.home-options-quantity{display:flex;justify-content:space-between;align-items:center;gap:14px;margin:20px 0 12px}.home-options-quantity>label{font-size:14px;font-weight:700}.home-options-quantity>div{display:flex;align-items:center;border:1px solid var(--line);border-radius:10px;overflow:hidden;direction:ltr}.home-options-quantity button{width:44px;height:44px;border:0;background:var(--surface);color:var(--ink);font-size:22px}.home-options-quantity input{width:52px;height:44px;border:0;border-inline:1px solid var(--line);border-radius:0;padding:5px;text-align:center;-moz-appearance:textfield}.home-options-quantity input::-webkit-inner-spin-button{appearance:none}.home-options-availability{font-size:12px;color:var(--muted);min-height:22px;line-height:1.8}.home-options-error{background:var(--neutral-soft);border:1px solid var(--line);border-inline-start:3px solid var(--accent);color:var(--ink);font-size:13px;line-height:1.8;padding:12px 14px;margin:18px 0;border-radius:10px}#home-options .home-options-actions{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:17px 22px max(17px,env(safe-area-inset-bottom));border-top:1px solid var(--line);background:var(--surface)}#home-options .home-options-actions small{font-size:10px;color:var(--muted);display:block}#home-options .home-options-actions strong{display:block;font-size:20px}#home-options .home-options-actions .button{min-height:48px;padding-inline:20px;font-size:13px;border-color:var(--line);white-space:nowrap}#home-options .home-options-actions>div{min-width:0;overflow-wrap:anywhere}@media(min-width:640px){#home-options{inset:50% auto auto 50%;transform:translate(-50%,-50%);width:500px;max-width:calc(100% - 32px);max-height:90dvh;border-radius:22px}}@media(max-width:359px){.home-options-body{padding:18px}#home-options .home-options-actions{padding-inline:16px;gap:10px}#home-options .home-options-actions strong{font-size:18px}#home-options .home-options-actions .button{padding-inline:13px;font-size:12px}}

.home-options-quantity input:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}

#home-options[open]{display:block}
#home-options .home-options-sheet{display:grid;grid-template-rows:auto minmax(0,1fr) auto;max-height:inherit;min-height:0}
#home-options .home-options-sheet>header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 22px;border-bottom:1px solid var(--line)}
#home-options .home-options-quantity input{font-size:16px}
@media(max-width:359px){#home-options .home-options-sheet>header{padding:16px 18px}}
@media(max-width:639px){
 #home-options[data-short-viewport] .home-options-sheet{display:block;overflow-y:auto;overscroll-behavior:contain}
 #home-options[data-short-viewport] .home-options-body{overflow:visible}
}
