/* Composer navigation only: the existing selection API owns quantity and capacity. */
#builder .composer-usability{margin:0 0 18px;padding:15px 16px;background:#fff;border:1px solid var(--shop-line,#e4ddd1);border-radius:11px;scroll-margin-top:calc(var(--flow-sticky-top,140px) + var(--flow-nav-height,0px) + 12px)}
#builder .composer-usability[hidden],#builder .composer-empty[hidden]{display:none!important}
#builder .composer-view-switch{display:grid;grid-template-columns:1fr 1fr;gap:8px}
#builder .composer-view-switch button{display:flex;align-items:center;justify-content:center;min-height:46px;padding:10px 13px;border:1px solid var(--shop-control,#81796c);border-radius:8px;background:#fff;color:var(--shop-navy,#0e2f5a);font:650 14px/1.4 var(--sans,Arial,sans-serif);text-align:center;white-space:normal;cursor:pointer;min-width:0}
#builder .composer-view-switch button[aria-pressed=true]{background:var(--shop-navy,#0e2f5a);border-color:var(--shop-navy,#0e2f5a);color:#fff}
#builder .composer-view-switch button:disabled{opacity:.5;cursor:default}
#builder .composer-tools-meta{display:flex;align-items:center;justify-content:space-between;gap:8px 16px;flex-wrap:wrap;margin-top:10px}
#builder #composer-results-count{margin:0;color:var(--shop-muted,#514c45);font:500 13px/1.6 var(--sans,Arial,sans-serif)}
#builder .composer-clear-filters{min-height:44px;padding:7px 2px;border:0;background:transparent;color:var(--shop-navy,#0e2f5a);font:650 13px/1.5 var(--sans,Arial,sans-serif);text-decoration:underline;text-underline-offset:3px;cursor:pointer}
#builder .composer-usability :is(button,a):focus-visible{outline:3px solid var(--shop-navy,#0e2f5a);outline-offset:3px}
#builder.composer-usability-ready[data-composer-view=selected] :is(#product-count,#empty-search){display:none!important}
#builder .chocolate-card[data-composer-excluded=true]{display:none!important}
#builder.composer-usability-ready .chocolate-card[data-composer-selected=true]{border-color:var(--shop-navy,#0e2f5a);box-shadow:0 0 0 1px var(--shop-navy,#0e2f5a)}
#builder .composer-empty{padding:22px 18px;border:1px dashed var(--shop-control,#81796c);border-radius:10px;font-size:15px;line-height:1.7;color:var(--shop-muted,#514c45);background:#fff}
#builder[data-selection-mode=custom] .selection-row{grid-template-columns:38px minmax(0,1fr) 44px}
#builder[data-selection-mode=custom] .selection-row-copy{font-size:14px;line-height:1.5}
#builder[data-selection-mode=custom] .selection-row-copy small{font-size:12px;line-height:1.5;color:var(--shop-muted,#514c45)}
#builder[data-selection-mode=custom] .selection-stepper button{width:44px;min-width:44px;height:44px;min-height:44px}
#builder[data-selection-mode=custom] .selection-stepper output{min-width:34px;font-size:15px}
#builder[data-selection-mode=custom] .selection-row>[data-remove-variety]{width:44px;min-width:44px;min-height:44px;height:44px}
#builder[data-selection-mode=custom] #clear-selection{font-size:13px;line-height:1.5;min-height:44px;padding:8px 0}
#builder[data-selection-mode=custom] .selection-composition-heading .summary-assortment{font-size:14px;line-height:1.5}
html:has(#builder[data-selection-mode=custom]) #purchase-dock .dock-review{min-height:44px;padding:8px;font-size:14px;line-height:1.4;white-space:normal;text-underline-offset:3px}
@media(max-width:1000px){
 html:has(#builder[data-selection-mode=custom]) #purchase-dock .dock-actions{align-items:stretch}
 html:has(#builder[data-selection-mode=custom]) #purchase-dock .dock-review{flex:0 1 auto;max-width:none;min-width:0;white-space:nowrap}
 html:has(#builder[data-selection-mode=custom]) #purchase-dock .dock-add{flex:1 1 auto;width:auto;min-width:0}
}
@media(max-width:600px){
 #builder .composer-usability{padding:12px;margin-bottom:14px}
 #builder .composer-view-switch button{padding:10px 9px;font-size:14px;min-height:46px}
 #builder .composer-tools-meta{margin-top:9px;gap:4px 12px}
 #builder #composer-results-count{font-size:12px}
 #builder .composer-clear-filters{font-size:13px}
 #builder[data-flow-active=true][data-flow-stage=custom] .flow-steps{display:none}
 #builder[data-flow-active=true][data-flow-stage=custom] .flow-intro{padding:12px 16px 0;margin-bottom:10px}
 #builder[data-flow-active=true][data-flow-stage=custom] .flow-product{gap:10px;padding-bottom:13px}
 #builder[data-flow-active=true][data-flow-stage=custom] .flow-product>img{width:48px;height:48px}
 #builder[data-flow-active=true][data-flow-stage=custom] .flow-product h2{font-size:23px;line-height:1.25}
 #builder[data-flow-active=true][data-box-series=true] .flow-product>div:not(.flow-total)>p{font-size:16px;line-height:1.4;margin-top:5px}
 #builder .builder-box-quantity-copy p{font-size:13px;line-height:1.6}
 #builder[data-flow-active=true] .builder-box-quantity-total{display:none}
 #builder[data-flow-active=true] .builder-box-quantity{grid-template-columns:minmax(0,1fr);padding:11px 13px;gap:4px;margin-bottom:12px}
 #builder .flow-save-note{font-size:12px;line-height:1.5}
}

@media(max-width:600px){html:has(#builder[data-selection-mode=custom]) #purchase-dock .dock-summary-links{gap:8px}html:has(#builder[data-selection-mode=custom]) #purchase-dock .dock-review{font-size:13px;padding:8px 4px;white-space:nowrap}}
