/* A product sheet scrolls the ingredients while keeping its final price in reach. */
.storefront dialog.product-sheet{width:min(610px,calc(100% - 24px));height:min(850px,92dvh);max-height:92dvh;padding:0;border-radius:24px;overflow:hidden;border:1px solid var(--line);color:var(--ink);background:var(--paper)}
.storefront dialog.product-sheet[open]{display:flex;flex-direction:column}
.storefront .product-sheet .cart-head{flex:0 0 auto;position:relative;padding:16px 18px;align-items:center;gap:12px}
.storefront .product-sheet .cart-head h2{font:650 21px/1.25 'Jorik Sans',Arial,sans-serif;letter-spacing:-.02em;margin:0}
.storefront .product-sheet .cart-head .close{width:40px;height:40px;min-height:40px;padding:0;flex:0 0 40px;font:400 27px/1 Arial,sans-serif}
.storefront .product-sheet-form{flex:1;min-height:0;display:flex;flex-direction:column;padding:0;margin:0}
.storefront .product-sheet-scroll{overflow:auto;overscroll-behavior:contain;flex:1;min-height:0;padding:18px 18px 24px;scrollbar-width:thin}
.storefront .product-sheet-scroll>p{font-size:15px;line-height:1.5;color:var(--muted)}
.storefront .product-sheet-photo{display:block;width:100%;height:auto;aspect-ratio:1.6;object-fit:cover;border-radius:16px;margin-bottom:16px}
.storefront .product-sheet-photo[hidden]{display:none}
.storefront .included-recipe{padding:13px 14px;background:var(--surface);border:1px solid var(--line);border-radius:14px;margin:16px 0 22px;font-size:14px;line-height:1.5}
.storefront .included-recipe>strong{font-size:14px;color:var(--ink)}
.storefront .included-recipe p{margin:5px 0 0;color:var(--muted);font-size:14px}
.storefront .product-sheet fieldset{border:0;padding:0;margin:24px 0 0;min-width:0}
.storefront .product-sheet legend{font:650 18px/1.3 'Jorik Sans',Arial,sans-serif;padding:0;margin-bottom:8px;color:var(--ink)}
.storefront .product-sheet .choice-help,.storefront .product-sheet .addon-section-note{font-size:13px;line-height:1.5;color:var(--muted);margin:0 0 12px}
.storefront .product-sheet .choice-buttons{display:flex;flex-wrap:nowrap;overflow:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;gap:9px;padding-bottom:8px;margin:0 -2px}
.storefront .product-sheet .choice-button{flex:0 0 min(43%,176px);min-width:120px;position:relative;scroll-snap-align:start}
.storefront .product-sheet .choice-button input{position:absolute;opacity:0;width:1px;height:1px}
.storefront .product-sheet .choice-button>span{display:flex;flex-direction:column;justify-content:center;gap:9px;position:relative;min-height:112px;height:100%;padding:17px 13px;border-radius:16px;border:1px solid var(--line);background:var(--surface);color:var(--ink);font:600 15px/1.4 'Jorik Sans',Arial,sans-serif;text-align:center;transition:background .15s,border-color .15s}
.storefront .product-sheet .choice-button small{font-size:12px;font-weight:400;color:var(--muted)}
.storefront .product-sheet .choice-button input:checked+span{background:var(--hot);border-color:var(--hot);color:white}
.storefront .product-sheet .choice-button input:checked+span small{color:#fffde9}
.storefront .product-sheet .choice-button input:checked+span::after{content:'✓';position:absolute;right:8px;top:7px;font-size:13px;line-height:20px;width:20px;height:20px;border-radius:50%;background:#171717;color:white}
.storefront .product-sheet .choice-button input:focus-visible+span{outline:2px solid var(--ink);outline-offset:2px}
.storefront .product-sheet .addon-card-list{display:grid;gap:9px;padding:0}
.storefront .product-sheet .addon-card{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid var(--line);border-radius:14px;padding:13px 12px;background:var(--surface)}
.storefront .product-sheet .addon-card.is-selected{border-color:var(--hot)}
.storefront .addon-card-copy{min-width:0;flex:1}
.storefront .product-sheet .addon-card-copy strong{display:block;white-space:normal;font-size:15px;font-weight:600;line-height:1.4;color:var(--ink)}
.storefront .addon-card-copy span,.storefront .addon-card-copy small{display:block;font-size:13px;line-height:1.4;color:var(--muted);margin-top:3px}
.storefront .addon-stepper{display:flex;align-items:center;gap:8px;flex-shrink:0}
.storefront .addon-stepper button{display:grid;place-items:center;width:38px;height:42px;min-height:42px;border:1px solid var(--line);border-radius:11px;background:var(--paper);color:var(--ink);font:500 23px/1 Arial,sans-serif;cursor:pointer;padding:0}
.storefront .addon-stepper button:disabled{opacity:.3;cursor:default}
.storefront .addon-stepper output{min-width:12px;font-size:15px;text-align:center;font-variant-numeric:tabular-nums}
.storefront .product-sheet-footer{flex:0 0 auto;padding:12px 18px max(12px,env(safe-area-inset-bottom));background:var(--paper);border-top:1px solid var(--line);box-shadow:0 -8px 18px #0000000a;z-index:2}
.storefront .product-sheet .product-sheet-footer .submit{display:block;width:100%;min-height:50px;margin:0;border-radius:14px;font-size:16px;font-weight:650;line-height:1.4;padding:12px}
@media(max-width:700px){.storefront dialog.product-sheet{width:100%;max-width:100%;height:94dvh;max-height:94dvh;margin:auto 0 0;border-radius:22px 22px 0 0;border-bottom:0}.storefront .product-sheet-scroll{padding:16px 16px 22px}.storefront .product-sheet .cart-head{padding:13px 16px}.storefront .product-sheet .cart-head h2{font-size:20px}.storefront .product-sheet-footer{padding-left:16px;padding-right:16px}}
@media(prefers-reduced-motion:reduce){.storefront .product-sheet .choice-button>span{transition:none}}
/* Compact choices retain touch targets while showing more options per row. */
.storefront .product-sheet .cart-head{padding:12px 15px}.storefront .product-sheet .cart-head h2{font-size:19px}.storefront .product-sheet-scroll{padding:14px 15px 18px}.storefront .product-sheet-scroll>p{font-size:14px;line-height:1.4}.storefront .product-sheet-photo{aspect-ratio:2.25;max-height:230px;object-fit:cover;margin-bottom:12px}.storefront .included-recipe{padding:10px 12px;margin:12px 0 16px}.storefront .included-recipe p{font-size:13px;line-height:1.45}.storefront .product-sheet fieldset{margin-top:18px}.storefront .product-sheet legend{font-size:16px;margin-bottom:6px}.storefront .product-sheet .choice-help,.storefront .product-sheet .addon-section-note{font-size:12px;margin-bottom:9px}.storefront .product-sheet .choice-button{flex:0 0 116px;min-width:104px}.storefront .product-sheet .choice-button>span{min-height:76px;padding:12px 9px;gap:4px;border-radius:12px;font-size:14px;line-height:1.3}.storefront .product-sheet .choice-button small{font-size:11px}.storefront .product-sheet .choice-button input:checked+span::after{right:5px;top:5px;font-size:11px;width:16px;height:16px;line-height:16px}.storefront .product-sheet .addon-card{padding:9px 11px;gap:9px;border-radius:12px}.storefront .product-sheet .addon-card-copy strong{font-size:14px}.storefront .addon-card-copy span,.storefront .addon-card-copy small{font-size:12px}.storefront .addon-stepper button{width:34px;height:40px;min-height:40px;font-size:21px}.storefront .product-sheet-footer{padding:9px 15px max(9px,env(safe-area-inset-bottom))}.storefront .product-sheet .product-sheet-footer .submit{min-height:46px;font-size:15px;padding:10px}@media(max-width:700px){.storefront .product-sheet .cart-head h2{font-size:19px}.storefront .product-sheet-scroll{padding:13px 14px 18px}.storefront .product-sheet-photo{max-height:170px;aspect-ratio:2.3}.storefront .product-sheet .choice-button{flex-basis:108px;min-width:100px}}
