/* Container-first ordering; reuses the existing restrained CONINI palette. */
.order-steps{display:flex;gap:22px;margin-bottom:16px;font-size:11px;color:var(--muted)}
.order-steps .active{color:var(--brand-ink);font-weight:600}
.container-gate .page-title,.catalog-intro .page-title{font:500 23px/1.45 var(--sans);letter-spacing:0;margin:0 0 8px;text-wrap:balance}
.container-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:25px 0 16px}
.container-choice{position:relative;overflow:hidden;border-radius:16px;border:1px solid var(--line);transition:border-color 180ms,background-color 180ms;min-width:0}
.container-choice img{width:100%;height:auto;border-radius:15px}
.container-photo{display:block;width:100%;aspect-ratio:800/390;overflow:hidden}
.container-label{display:flex;flex-direction:column;align-items:center;padding:2px 5px 11px;line-height:1.6}
.container-label strong{font-size:13px;font-weight:500}
.container-shape{display:inline-block;white-space:nowrap}
.container-label>span{font-size:11px;white-space:nowrap;font-variant-numeric:tabular-nums}
.container-label .container-deposit{color:var(--brand-ink);font-weight:600;margin-top:3px}
.container-choice.selected{border:2px solid var(--brand-ink)}
.container-choice.selected img{border-radius:14px}
.container-check{position:absolute;top:9px;right:9px;width:20px;height:20px;border:1px solid #92968e;border-radius:50%;background:var(--bg);font:12px/18px var(--sans);text-align:center}
.selected .container-check{border-color:var(--brand-ink);background:var(--brand);color:var(--on-brand)}
.selection-note{font-size:11px;color:var(--muted);margin-top:12px;line-height:1.8}
.line-deposit{font-size:11px;color:var(--brand-ink);line-height:1.7;margin-top:5px;font-variant-numeric:tabular-nums}
.current-container{display:flex;align-items:center;justify-content:space-between;gap:12px;background:var(--surface);padding:14px 16px;border-radius:16px;margin:18px 0 10px}
.current-container>div{min-width:0}
.container-caption{display:block;font-size:10px;color:var(--muted);margin-bottom:3px}
.current-container strong{display:block;font-size:14px;font-weight:500;line-height:1.7}
.current-container p{font-size:10px;color:var(--muted);margin-top:2px}
.current-container .text-link{flex-shrink:0;white-space:nowrap}
.catalog-disclaimer{font-size:10px;color:var(--muted);margin:0 0 16px}
.catalog-intro{padding-top:18px}
.catalog-intro .order-steps{margin-bottom:10px}
.catalog-intro .page-title{font-size:21px;margin-bottom:4px}
.catalog-intro .current-container{margin-top:12px;padding:10px 14px}
.catalog-intro .catalog-disclaimer{margin-bottom:10px}
.ordering-catalog{margin-top:14px;grid-template-columns:72px minmax(0,1fr)}
.ordering-catalog .products{display:flex;flex-direction:column;gap:16px}
.ordering-catalog .catalog-content{padding-left:12px;padding-right:12px}
.ordering-catalog .category-rail{padding-left:4px;top:12px;max-height:calc(100vh - 116px);max-height:calc(100dvh - 116px);gap:10px}
.has-cart .ordering-catalog .category-rail{max-height:calc(100vh - 196px);max-height:calc(100dvh - 196px)}
.ordering-catalog .category-links{display:flex;flex-direction:column;gap:5px;overflow-y:auto;min-height:0;overscroll-behavior:contain;scrollbar-width:none}
.ordering-catalog .category-links::-webkit-scrollbar{display:none}
.ordering-catalog .category-rail button{font-size:12px}
.ordering-catalog .container-rail-entry{flex-shrink:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;padding:10px 2px;background:var(--surface);color:var(--brand-ink);border-radius:12px}
.container-rail-entry small{font-size:9px;color:var(--muted);line-height:1.5}
.catalog-section{scroll-margin-top:20px}
.catalog-section:last-of-type{min-height:calc(100vh - 128px);min-height:calc(100dvh - 128px)}
.has-cart .catalog-section:last-of-type{min-height:calc(100vh - 204px);min-height:calc(100dvh - 204px)}
.catalog-section+.catalog-section{margin-top:28px}
.catalog-section .catalog-heading{margin-bottom:16px}
.catalog-section .category-note{font-size:11px;color:var(--muted);margin:-8px 0 16px}
.order-product{--product-photo:104px;--quantity-width:116px;position:relative;display:grid;grid-template-columns:var(--product-photo) minmax(0,1fr) max-content;gap:8px;align-items:start;border-bottom:1px solid var(--line);border-radius:0;padding-bottom:16px}
/* Definite square dimensions and an in-flow image also work in mobile WebViews. */
.order-product .product-image{display:block;position:relative;align-self:start;width:var(--product-photo);height:var(--product-photo);aspect-ratio:1;border-radius:14px;padding:0}
.order-product .product-image img{display:block;position:static;width:100%;height:100%;object-fit:cover}
.order-product .product-copy{min-width:0;min-height:var(--product-photo);display:flex;flex-direction:column;justify-content:space-between;gap:0}
.order-product .product-label{min-width:0;min-height:0;padding:0;text-align:left}
.catalog-content .order-product .product-label h3{font-size:15px;line-height:1.4;font-weight:500;text-wrap:pretty;overflow-wrap:anywhere}
.order-product .product-en{font-size:9px;line-height:1.35;white-space:normal;overflow:visible;overflow-wrap:anywhere;margin-top:2px;letter-spacing:0}
.order-product .product-specs{min-width:0;display:flex;flex-direction:column;gap:3px}
.order-product .product-meta{font-size:11px;margin-top:0;color:var(--ink);line-height:1.5}
.unit-price{font-size:10px;color:var(--muted);margin-top:2px;white-space:nowrap}
.order-product .product-meta,.order-product .unit-price{white-space:normal;overflow-wrap:anywhere}
.order-product .ingredient-copy{min-width:0;font-size:11px;color:var(--muted);line-height:1.4;overflow-wrap:anywhere}
.order-product .ingredient-copy>span{color:var(--ink);margin-right:3px}
.order-product .ingredient-copy>small{display:block;font-size:10px;line-height:1.4;margin-top:2px}
.order-product .price-row{display:flex;flex-direction:column;align-items:flex-end;justify-content:flex-start;flex:none;gap:0;min-height:0;white-space:nowrap}
.price-caption{display:block;color:var(--muted);font-size:10px;line-height:1.4;margin-bottom:3px}
.order-product .price-row .price{font-weight:500;font-size:20px;line-height:1.15;color:var(--brand-ink);letter-spacing:0}
.order-product .price-caption{margin-bottom:1px}
.order-product .product-buy{display:flex;flex-direction:column;align-items:flex-end;gap:8px;min-width:44px;align-self:stretch}
.order-product .product-actions{display:flex;justify-content:flex-end;align-items:center;min-height:44px;margin-left:auto}
.line-control{flex-shrink:0}
.line-control .quantity{background:var(--surface);padding:0;border-radius:12px}
.line-control .quantity button{flex:0 0 44px;border:0;width:44px;height:44px;font-size:18px;color:var(--brand-ink);border-radius:12px}
.line-control .quantity input{flex:0 0 24px;width:24px;height:44px;font-size:13px;font-variant-numeric:tabular-nums}
.line-control .plus{width:44px;height:44px}
.line-control .plus span{width:32px;height:32px;font-size:22px}
/* Keep the expanded stepper on the same right edge as the original plus button. */
.order-product.has-quantity{grid-template-columns:var(--product-photo) minmax(0,1fr) var(--quantity-width)}
.order-product.has-quantity .product-copy{width:auto}
.order-product.has-quantity .product-buy{width:var(--quantity-width)}
.order-product.has-quantity .product-actions{position:absolute;right:0;top:50%;width:var(--quantity-width);transform:translateY(-50%);z-index:1}
.order-product .line-control .quantity{display:flex;flex-direction:row;justify-content:flex-end;gap:0;width:112px;min-width:112px}
.order-detail-product .current-container{margin:0 0 20px}
.order-detail-product .detail-facts{margin:24px 0 10px}
.order-detail-product .detail-facts>div{gap:16px;align-items:baseline}
.order-detail-product .detail-facts span{flex-shrink:0}
.order-detail-product .detail-facts strong{font-weight:500;text-align:right}
.logistics-brief{display:flex;align-items:center;gap:9px;padding:12px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);border-radius:0;margin-top:12px}
.logistics-mark{width:24px;height:24px;display:grid;place-items:center;color:var(--brand-ink);flex-shrink:0}
.logistics-mark svg{width:20px;height:20px}
.logistics-brief>div{min-width:0;flex:1}
.logistics-brief strong{display:block;font-size:11px;font-weight:500}
.logistics-brief p{margin-top:2px;font-size:10px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.logistics-brief>small{flex-shrink:0;font-size:10px;color:var(--muted);text-align:right}
.logistics-panel{margin:20px 0 24px;padding:16px;background:var(--surface);border-radius:var(--radius-surface)}
.logistics-panel-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px}
.logistics-panel-head h2{font-size:18px;margin-top:4px}
.logistics-panel-head>strong{color:var(--brand-ink);font-size:12px;font-weight:500}
.logistics-latest{margin-top:14px;font-size:12px;line-height:1.7}
.logistics-facts{margin-top:12px;border-top:1px solid var(--line);border-radius:0}
.logistics-facts>div{display:flex;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px solid var(--line);border-radius:0;font-size:11px}
.logistics-facts span{color:var(--muted);flex-shrink:0}.logistics-facts strong{font-weight:400;text-align:right;overflow-wrap:anywhere}
.logistics-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:0;margin-top:18px}
.logistics-steps>div{position:relative;padding-top:20px;text-align:center;font-size:10px;color:var(--muted)}
.logistics-steps>div:before{content:'';position:absolute;top:5px;left:50%;width:100%;height:1px;background:var(--line)}
.logistics-steps>div:last-child:before{display:none}
.logistics-steps>div>span{position:absolute;z-index:1;top:0;left:calc(50% - 6px);width:12px;height:12px;border-radius:50%;background:var(--line);color:transparent}
.logistics-steps>div.done{color:var(--ink)}
.logistics-steps>div.done:before{background:var(--brand)}
.logistics-steps>div.done>span{background:var(--brand);color:var(--on-brand)}
.logistics-steps>div.current>span{box-shadow:0 0 0 4px var(--brand-soft)}
.logistics-steps small{font-size:10px;white-space:nowrap}
.logistics-note{margin-top:14px;color:var(--muted);font-size:10px;line-height:1.6}
.ingredient-notice{font-size:11px;color:var(--muted);line-height:1.8;margin:12px 0 22px}
.detail-purchase{display:flex;align-items:center;justify-content:space-between;padding:16px 0;margin:10px 0}
.detail-purchase .price{color:var(--brand-ink);font-size:28px;font-weight:500}
.detail-purchase>div>small{display:block;color:var(--muted);font-size:10px}
.line-container{font-size:11px;color:var(--ink);margin:4px 0 2px}
.line-subtotal{font-size:11px;color:var(--muted);margin-top:8px;text-align:right}
.cart-item-foot{flex-wrap:wrap;gap:8px}
.cart-item .price{font-size:17px}
.reorder-lines{margin:18px 0 24px}
.reorder-lines>div{padding:12px 0;border-bottom:1px solid var(--line);font-size:12px}
.reorder-lines strong{font-weight:500;font-size:14px}
.reorder-lines p{margin-top:4px}
.reorder-hint{font-size:12px;color:var(--brand-ink);margin-top:16px}
.sheet #containerPicker .container-grid{margin-top:14px}
.cart-dock{position:fixed;z-index:31;right:max(16px,calc((100vw - 520px)/2 + 16px));left:auto;bottom:calc(96px + env(safe-area-inset-bottom));transform:none;width:60px;height:60px;max-width:none;background:transparent;color:var(--ink);border-radius:0;padding:0;box-shadow:none;display:block}
.cart-fab{position:relative;z-index:2;width:60px;height:60px;display:grid;place-items:center;border-radius:50%;background:var(--brand);color:var(--on-brand);box-shadow:0 10px 24px #103b4038;transition:transform 180ms ease,box-shadow 180ms ease}
.cart-dock .cart-fab{width:60px;height:60px;padding:0;background:#e9ebe5;border-radius:50%;color:#273229;box-shadow:0 10px 24px #25312828}
.cart-fab:hover{transform:translateY(-2px);box-shadow:0 13px 26px #103b4045}
.cart-fab:active{transform:scale(.96)}
.cart-fab svg{width:27px;height:27px;stroke-width:1.55}
.cart-fab>span{position:absolute;top:-4px;right:-4px;min-width:21px;height:21px;padding:0 5px;border:2px solid var(--bg);border-radius:11px;background:var(--ink);color:var(--panel);font:10px/17px var(--sans);text-align:center}
.cart-drawer{position:absolute;right:0;bottom:72px;width:min(320px,calc(100vw - 32px));max-height:min(58dvh,480px);overflow:auto;padding:18px;background:var(--panel);border:1px solid var(--line);border-radius:16px;box-shadow:0 18px 48px #25312828;opacity:0;pointer-events:none;transform:translateX(calc(100% + 14px));transition:opacity 180ms ease,transform 220ms ease}
.cart-dock.open .cart-drawer{opacity:1;pointer-events:auto;transform:translateX(0)}
.cart-drawer-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding-bottom:13px;border-bottom:1px solid var(--line)}
.cart-drawer-head strong{display:block;font-size:16px;font-weight:500}
.cart-drawer-head small{display:block;margin-top:2px;color:var(--muted);font-size:10px}
.cart-drawer-close{width:32px;height:32px;color:var(--muted);font-size:24px;line-height:1}
.cart-drawer-lines{max-height:230px;overflow-y:auto;padding:8px 0 4px;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#adb3ac transparent}
.cart-drawer-lines>div{display:flex;justify-content:space-between;gap:14px;padding:8px 0;font-size:12px}
.cart-drawer-lines>div span:first-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cart-drawer-lines>div span:last-child{flex-shrink:0;color:var(--brand-ink)}
.cart-drawer-lines>small{display:block;color:var(--muted);font-size:10px;padding:3px 0 7px}
.cart-drawer-total{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:13px;border-top:1px solid var(--line)}
.cart-drawer-total small{display:block;color:var(--muted);font-size:10px}
.cart-drawer-total strong{display:block;margin-top:1px;color:var(--brand-ink);font-size:20px;font-weight:500}
.cart-drawer-total button{display:inline-flex;align-items:center;gap:5px;min-height:40px;padding:9px 12px;background:var(--brand);color:var(--on-brand);border-radius:var(--radius-control);font-size:11px;white-space:nowrap}
.cart-drawer-total button svg{width:14px;height:14px}
.has-cart-float .ordering-catalog .category-rail{max-height:max(180px,calc(100dvh - 350px))}
@media(min-width:1000px){.cart-dock{right:calc(50% - 274px)}}
@media(min-width:414px){.order-product{--product-photo:116px}}
@media(min-width:460px){.ordering-catalog{grid-template-columns:82px minmax(0,1fr)}.ordering-catalog .catalog-content{padding-left:14px;padding-right:20px}.order-product{--product-photo:124px;column-gap:12px}.order-product .product-meta{font-size:12px}.unit-price{font-size:11px}}
@media(max-width:459px){.order-product .spec-prefix{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.order-product .unit-price{font-size:11px}}
@media(max-width:413px){.order-product{--quantity-width:112px}}
@media(max-width:360px){.container-gate,.catalog-intro{padding-left:16px;padding-right:16px}.container-grid{gap:9px}.container-gate .page-title,.catalog-intro .page-title{font-size:21px}.current-container{padding:12px}.current-container strong{font-size:13px}.current-container strong span{font-size:11px}.current-container p{font-size:9px}.ordering-catalog{grid-template-columns:64px minmax(0,1fr)}.ordering-catalog .catalog-content{padding-left:10px;padding-right:10px}.ordering-catalog .category-rail button{font-size:11px}.order-product{--product-photo:88px;--quantity-width:112px;column-gap:4px}.catalog-content .order-product .product-label h3{font-size:14px}.order-product .price-row .price{font-size:18px}}
@media(max-width:339px){.order-product{--product-photo:80px}}
@media(prefers-reduced-motion:reduce){.container-choice{transition:none}}
