#flxh-commerce{box-sizing:border-box;position:fixed;inset:0 0 0 auto;margin:0;width:min(100%,var(--fc-width));max-width:100%;height:100dvh;max-height:100dvh;padding:22px;border:0;background:var(--fc-bg);color:var(--fc-ink);overflow:auto;overscroll-behavior:contain;z-index:2147483647}#flxh-commerce[open]{display:flex;flex-direction:column;gap:16px;animation:fc-in var(--fc-speed) ease-out}#flxh-commerce[data-side=left]{inset:0 auto 0 0;--fc-direction:-100%}#flxh-commerce[data-mode=dropdown]{inset: min(100px,15vh) 12px auto auto;height:auto;max-height:80dvh;border-radius:12px;box-shadow:0 8px 32px #0003;animation:fc-fade var(--fc-speed) ease-out}#flxh-commerce::backdrop{background:#0006}#flxh-commerce .fc-head,#flxh-commerce .fc-controls{display:flex;align-items:center;gap:10px}#flxh-commerce .fc-head{justify-content:space-between}#flxh-commerce h2{margin:0;color:inherit;font-size:24px}#flxh-commerce button{background:transparent;color:inherit;border:1px solid currentColor;border-radius:4px;padding:6px 10px;cursor:pointer}#flxh-commerce button:disabled{opacity:.4}#flxh-commerce .fc-row{display:flex;gap:12px;padding:14px 0;border-bottom:1px solid #8885}#flxh-commerce .fc-row img{width:76px;height:76px;object-fit:cover}#flxh-commerce .fc-info{display:grid;gap:5px;flex:1;min-width:0}#flxh-commerce .fc-controls{flex-wrap:wrap}#flxh-commerce .fc-footer{margin-top:auto;display:grid;gap:10px;text-align:center}#flxh-commerce .fc-checkout{background:var(--fc-ink);color:var(--fc-bg);padding:12px;border-radius:4px}#flxh-commerce [hidden]{display:none!important}.flxh-live-count{background:var(--fc-badge)!important;color:var(--fc-badge-ink)!important}html:has(#flxh-commerce[open]){overflow:hidden}@keyframes fc-in{from{transform:translateX(var(--fc-direction,100%))}to{transform:translateX(0)}}@keyframes fc-fade{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:none}}@media(prefers-reduced-motion:reduce){#flxh-commerce[open]{animation:none}}

#flxh-commerce{padding:var(--fc-padding,20px);overflow:hidden}#flxh-commerce[open]{gap:12px}#flxh-commerce[data-mode=dropdown]{border-radius:var(--fc-radius,12px)}#flxh-commerce::backdrop{background:rgba(0,0,0,var(--fc-overlay,.4))}#flxh-commerce .fc-head{flex-shrink:0;border-bottom:1px solid #8885;padding-bottom:10px}#flxh-commerce .fc-head button,#flxh-commerce .fc-remove,#flxh-commerce .fc-continue{border:0;box-shadow:none;background:transparent;color:inherit;min-height:44px}#flxh-commerce .fc-head button{font-size:26px;min-width:44px;padding:0}#flxh-commerce .fc-status:empty{display:none}#flxh-commerce .fc-items{min-height:0;overflow:auto;overscroll-behavior:contain}#flxh-commerce .fc-row img{width:var(--fc-thumb,84px);height:var(--fc-thumb,84px);flex-shrink:0;border-radius:3px}#flxh-commerce .fc-info small{font-size:.82em;line-height:1.4;overflow-wrap:anywhere}#flxh-commerce .fc-stepper{display:inline-flex;align-items:center;border:1px solid currentColor;border-radius:4px;gap:0}#flxh-commerce .fc-stepper button{border:0;box-shadow:none;min-width:36px;min-height:44px;padding:0}#flxh-commerce .fc-stepper span{min-width:22px;text-align:center}#flxh-commerce .fc-remove{margin-left:auto;min-width:44px;display:grid;place-items:center}#flxh-commerce .fc-footer{flex-shrink:0;border-top:1px solid #8885;padding-top:12px}#flxh-commerce .fc-total{display:flex;justify-content:space-between;gap:8px}#flxh-commerce .fc-footer a{text-decoration:none;display:block;border:1px solid currentColor;padding:12px;border-radius:4px;color:inherit}#flxh-commerce .fc-footer .fc-checkout{background:var(--fc-button-bg,var(--fc-ink));color:var(--fc-button-ink,var(--fc-bg));border-color:transparent}#flxh-commerce .fc-continue{text-decoration:underline;padding:0}

#flxh-commerce[open]{animation:none;opacity:0;transform:translateX(var(--fc-direction,100%));transition:transform var(--fc-motion,340ms) cubic-bezier(.22,1,.36,1),opacity var(--fc-motion,340ms) ease}#flxh-commerce[open][data-mode=dropdown]{animation:none;transform:translateY(12px) scale(.96)}#flxh-commerce[open].fc-visible,#flxh-commerce[open][data-mode=dropdown].fc-visible{opacity:1;transform:none}#flxh-commerce::backdrop{opacity:0;transition:opacity var(--fc-motion,340ms) ease}#flxh-commerce.fc-visible::backdrop{opacity:1}@media(prefers-reduced-motion:reduce){#flxh-commerce[open],#flxh-commerce::backdrop{transition:none!important}}

.fc-shipping:not([hidden]){display:grid;gap:8px;padding:10px 0 12px;flex:none}.fc-ship-line{display:flex;align-items:center;gap:8px;line-height:1.4}.fc-ship-line svg{flex:none}.fc-ship-track{overflow:hidden}.fc-ship-fill{height:100%;transition-property:width;transition-timing-function:ease-out}.fc-ship-labels{display:flex;justify-content:space-between;line-height:1.3;font-variant-numeric:tabular-nums}@media(prefers-reduced-motion:reduce){.fc-ship-fill{transition:none!important}}

#flxh-commerce .fc-row:last-child{border-bottom:0}#flxh-commerce .fc-product-link{color:inherit;text-decoration:none;flex-shrink:0}#flxh-commerce .fc-product-link:hover,#flxh-commerce .fc-product-link:focus-visible{text-decoration:underline}#flxh-commerce .fc-note{font-size:var(--f199-cart-note-size,12px);color:var(--f199-cart-note-color,inherit);margin:0 0 8px;line-height:1.4}

/* Opt-in compact density; keep touch targets and the product list scrollable. */
#flxh-commerce.fc-compact[open]{gap:6px;}
#flxh-commerce.fc-compact .fc-head{padding-bottom:4px;}
#flxh-commerce.fc-compact .fc-shipping:not([hidden]){padding:4px 0;gap:4px;}
#flxh-commerce.fc-compact .fc-row{padding:var(--fc-compact-row,6px) 0;gap:8px;}
#flxh-commerce.fc-compact .fc-row img{width:var(--fc-compact-thumb,64px);height:var(--fc-compact-thumb,64px);}
#flxh-commerce.fc-compact .fc-info{gap:2px;line-height:1.25;}
#flxh-commerce.fc-compact .fc-controls{gap:4px;}
#flxh-commerce.fc-compact .fc-stepper button{min-width:var(--fc-compact-control,44px);min-height:44px;}
#flxh-commerce.fc-compact .fc-footer{gap:var(--fc-compact-footer,6px);padding-top:6px;}
#flxh-commerce.fc-compact .fc-note{margin:0;}
#flxh-commerce.fc-compact .fc-footer a{padding:var(--fc-compact-button,8px);min-height:44px;box-sizing:border-box;display:flex;align-items:center;justify-content:center;}
#flxh-commerce.fc-compact .fc-items{flex:0 1 auto;min-height:0;overflow:auto;}
@media(max-height:520px){#flxh-commerce.fc-compact[open]{overflow:auto;}#flxh-commerce.fc-compact .fc-items{flex:none;max-height:45dvh;}}

/* Side controls use actual available cart width, not device width. */
#flxh-commerce .fc-items{container-type:inline-size;}
#flxh-commerce .fc-row.fc-side{align-items:start;flex-wrap:wrap;}
#flxh-commerce .fc-side .fc-info{min-width:0;overflow-wrap:anywhere;align-self:start;}
#flxh-commerce .fc-side>.fc-controls{flex:none;flex-direction:column;align-items:center;gap:0;align-self:center;}
#flxh-commerce .fc-side>.fc-controls .fc-remove{margin:0;}
#flxh-commerce .fc-side .fc-stepper button{min-width:44px;min-height:44px;}
#flxh-commerce .fc-side .fc-stepper span{min-width:22px;}
@container (max-width: 310px){
 #flxh-commerce .fc-row.fc-side>.fc-controls{flex-basis:100%;flex-direction:row;justify-content:flex-end;}
}
