/* Compact customer controls; ordering rules and cart are unchanged. */
#builder .section{padding:12px 0;border-color:#e9e9ec}
#builder .section:first-child{padding-top:0}
#builder .label{margin-bottom:9px;gap:8px;flex-wrap:wrap}
#builder .label h3,#builder #sweetwrap h3{font-size:17px;line-height:1.3;margin-top:0}
#builder .label small{font-size:13px;color:#7c7d85}
#builder .chips{display:flex;flex-wrap:wrap;gap:7px}
#builder .chip{min-height:44px;padding:10px 15px;font-size:15px;font-weight:600;line-height:1.2;border:1px solid transparent;border-radius:999px;background:#f0f1f4;color:#242429;box-shadow:none}
#builder .chip.selected{background:#151517;color:#fff;border-color:#151517}
#builder .choices{gap:7px}
#builder .choice{min-height:58px;padding:9px 12px;border:1px solid transparent;border-radius:14px;background:#f0f1f4;color:#242429;box-shadow:none}
#builder #milks>.choice,#builder #syrups>.choice{padding-left:12px}
#builder .choice strong{font-size:14px;font-weight:600;line-height:1.25;color:inherit}
#builder .choice small{font-size:13px;line-height:1.2;margin-top:4px;color:#70717a}
#builder .choice.selected{padding:9px 12px;border:1px solid #151517;background:#151517;color:#fff}
#builder .choice.selected strong{color:#fff}
#builder .choice.selected small{color:#e0e0e5}
#builder .swatch{width:8px;height:8px;margin-right:5px}
#builder .bean-options{gap:6px}
#builder .bean-option,#builder .bean-option[aria-pressed=true]{min-height:60px;padding:10px 13px;border:1px solid #151517;border-radius:14px;background:#151517;color:#fff;gap:4px}
#builder .bean-option strong{font-size:15px;line-height:1.25}
#builder .bean-option small{font-size:13px;line-height:1.3;color:#dedee4}
#builder .bean-default{border-radius:14px 14px 0 0}
#builder .bean-brief{box-sizing:border-box;width:100%;margin-top:0;padding:12px 14px;background:transparent;border:1px solid #151517;border-top:0;border-radius:0 0 14px 14px}
#builder .bean-brief h4{font-size:14px;margin-bottom:4px}
#builder .bean-brief p{font-size:14px;line-height:1.45;color:#696a72}
#builder .bean-learn-row{margin-top:6px}
#builder a.bean-learn{min-height:44px;padding:10px 13px;font-size:14px;border-radius:999px;background:#f0f1f4;color:#242429;border:1px solid transparent}
#builder .temperature-switch{max-width:340px;min-height:46px;padding:3px;background:#f0f1f4}
#builder .temperature-thumb{top:3px;bottom:3px;left:3px;width:calc(50% - 3px);background:#151517;box-shadow:none}
#builder .temperature-switch.is-cold .temperature-thumb{background:#151517}
#builder .temperature-switch button{min-height:44px;padding:8px;font-size:14px;gap:6px;color:#676872}
#builder .temperature-switch button span{font-size:18px}
#builder .temperature-switch button[aria-pressed=true]{color:#fff}
#builder .temperature-switch button:disabled{opacity:.38;cursor:not-allowed}
#builder #sweetwrap{margin-top:11px}
#builder #sweetwrap>.muted{font-size:13px;line-height:1.4;margin:0 0 9px}
#builder #sweetwrap h3{margin-bottom:8px}
#builder .sweetness-switch{max-width:460px;padding:3px;min-height:46px;background:#f0f1f4}
#builder .sweetness-thumb{top:3px;bottom:3px;left:3px;width:calc((100% - 6px)/3);background:#151517;box-shadow:none}
#builder .sweetness-switch button{min-height:44px;padding:8px 5px;font-size:13px;line-height:1.2;color:#676872}
#builder .sweetness-switch button[aria-pressed=true]{color:#fff}
#builder .extras{padding:2px 0;gap:8px;font-size:15px}
#builder .extras small{font-size:13px;line-height:1.4}
#builder .stepper{gap:12px}
#builder .stepper button{width:44px;height:44px;border:1px solid transparent;border-radius:13px;background:#f0f1f4;color:#242429;font-size:22px}
#builder .field{margin-top:12px}
#builder .field>span{font-size:15px}
#builder #note{min-height:62px;padding:10px 12px;font-size:16px;border-radius:13px;border-color:#e5e5ea;resize:vertical}
#builder .addbar{gap:12px;margin-top:12px}
#builder #add{min-height:48px;padding:12px 18px;background:#151517;border-radius:999px;font-size:15px}
#builder button:focus-visible,#builder a:focus-visible{outline:3px solid #2949dd;outline-offset:3px}
#builder .chip:not(.selected):hover,#builder .choice:not(.selected):hover,#builder a.bean-learn:hover{background:#e5e6eb}
@media(max-width:760px){
 #builder .section{padding:10px 0}
 #builder .label h3,#builder #sweetwrap h3{font-size:16px}
 #builder .chip{padding:9px 13px;font-size:14px}
 #builder .choices{grid-template-columns:repeat(3,minmax(0,1fr))}
 #builder #milks{grid-template-columns:repeat(2,minmax(0,1fr))}
 #builder .choice,#builder .choice.selected{padding:9px 8px;border-radius:13px}
 #builder #milks>.choice,#builder #syrups>.choice{padding-left:9px}
 #builder .choice strong{font-size:14px}
 #builder .choice small{font-size:12px}
 #builder .temperature-switch,#builder .sweetness-switch{max-width:100%}
 #builder .constructor-heading{margin-bottom:16px}
}

/* Small, single-row controls inspired by the supplied product-page reference. */
#builder .layout>div{min-width:0}
#builder .section{padding:10px 0}
#builder .label{margin-bottom:7px}
#builder .label h3,#builder #sweetwrap h3{font-size:15px}
#builder .label small{font-size:11px}
#builder #drinks{flex-wrap:nowrap;gap:8px;overflow-x:auto;padding:2px 2px 7px;scrollbar-width:thin;overscroll-behavior-x:contain}
#builder #drinks .chip{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:5px;flex:0 0 78px;min-height:64px;padding:0;border:0;border-radius:0;background:transparent;color:#56575d;font-size:12px;font-weight:500;white-space:nowrap}
#builder #drinks .drink-icon{display:grid;place-items:center;width:44px;height:40px;border-radius:12px;background:#eef0f3;font-size:23px}
#builder #drinks .chip.selected{background:transparent;color:#151517;font-weight:700}
#builder #drinks .chip.selected .drink-icon{background:#151517;box-shadow:inset 0 0 0 1px #151517}
#builder #drinks .chip:hover .drink-icon{box-shadow:inset 0 0 0 1px #a4a5ae}
#builder #sizes,#builder #milks,#builder #syrups{display:flex;flex-wrap:nowrap;gap:7px;overflow-x:auto;padding:2px 2px 5px;scrollbar-width:thin;overscroll-behavior-x:contain}
#builder #sizes .choice,#builder #sizes .choice.selected{flex:0 0 auto;display:flex;align-items:center;justify-content:center;min-width:76px;min-height:40px;padding:8px 14px;border-radius:999px;text-align:center}
#builder #sizes .choice strong{font-size:13px;line-height:1;white-space:nowrap}
#builder #sizes .choice:disabled{opacity:1;color:#999ba2;background:#f0f1f4;border-color:transparent}
#builder #milks>.choice,#builder #syrups>.choice{flex:0 0 auto;display:flex;align-items:center;gap:7px;min-height:48px;padding:7px 10px;border-radius:12px;max-width:none}
#builder .option-icon{font-size:20px;line-height:1;flex:none}
#builder .option-copy{display:block;min-width:0}
#builder .option-copy strong{font-size:12px;line-height:1.25;white-space:nowrap}
#builder .option-copy small{margin-top:2px;font-size:11px;line-height:1.15;white-space:nowrap}
#builder .option-copy .swatch{display:none}
#builder .temperature-switch{max-width:260px;min-height:40px}
#builder .temperature-switch button{min-height:36px;padding:6px 9px;font-size:12px}
#builder .sweetness-switch{max-width:380px;min-height:40px}
#builder .sweetness-switch button{min-height:36px;font-size:11px;padding:5px 6px}
#builder #sweetwrap{margin-top:9px}
#builder #sweetwrap>.muted{font-size:11px;margin-bottom:7px}
#builder .bean-option{min-height:46px;padding:8px 11px;gap:2px}
#builder .bean-option strong{font-size:13px}
#builder .bean-option small{font-size:11px}
#builder .bean-brief{padding:8px 11px}
#builder .bean-brief h4{font-size:12px;margin-bottom:3px}
#builder .bean-brief p{font-size:12px;line-height:1.4}
#builder a.bean-learn{min-height:34px;font-size:12px;padding:7px 10px}
#builder .extras{font-size:13px}
#builder .extras small{font-size:11px}
#builder .stepper{gap:10px}
#builder .stepper button{width:36px;height:36px;border-radius:10px;font-size:20px}
#builder .field{margin-top:10px;margin-bottom:8px}
#builder .field>span{font-size:13px;margin-bottom:5px}
#builder #note{min-height:46px;height:46px;padding:8px 10px;font-size:14px}
#builder .addbar{margin-top:8px;padding:8px 0}
#builder #add{min-height:44px;font-size:14px;padding:10px 14px}
@media(max-width:760px){
 #builder .section{padding:8px 0}
 #builder .label h3,#builder #sweetwrap h3{font-size:14px}
 #builder .photo{height:240px;max-height:240px}
 #builder .preview{padding:10px 0 14px}
 #builder .preview h2{font-size:23px;line-height:1.15}
 #builder .preview .muted{font-size:12px;line-height:1.4}
 #builder .preview .price{font-size:23px}
 #builder .layout{gap:12px}
 #builder #sizes{gap:6px}
 #builder #sizes .choice,#builder #sizes .choice.selected{min-width:72px;padding:8px 12px}
}

#builder #drinks .chip{flex:0 0 auto;min-height:40px;flex-direction:row;justify-content:center;padding:9px 13px;border-radius:999px;background:#eef0f3;font-size:13px;gap:0}#builder #drinks .chip.selected{background:#151517;color:#fff}#builder #drinks .chip:not(.selected):hover{background:#e5e6eb}

#builder .sweetness-switch{grid-template-columns:repeat(4,minmax(0,1fr))}#builder .sweetness-thumb{width:calc((100% - 6px)/4)}#builder .sweetness-switch button{font-size:10px;padding:7px 2px;min-width:0}

.constructor-heading{display:flex;align-items:center;gap:10px;margin-bottom:20px}.constructor-heading-copy{min-width:0}.constructor-heading-copy .eyebrow{font-size:13px;font-weight:800;letter-spacing:1px;color:#2949dd;margin:0 0 5px}.constructor-heading-copy h1{margin:0;font-size:clamp(24px,3vw,34px)}.constructor-back{flex:none;width:36px;height:36px;padding:0;border:1px solid #d7d7d3;border-radius:50%;display:grid;place-items:center;background:#fff;color:#202128}.constructor-back svg{width:18px;height:18px}.constructor-back:focus-visible{outline:3px solid #2949dd;outline-offset:3px}
#builder .addbar{position:sticky;bottom:calc(98px + env(safe-area-inset-bottom,0px));z-index:6;background:#f8f7f4eF;border-radius:14px;padding:8px;backdrop-filter:blur(8px)}
.order-availability{padding:12px 14px;margin:12px 0;border:1px solid #d9c6a5;border-radius:12px;background:#fff4df;color:#60451d;font-size:13px;line-height:1.5}.order-availability strong,.order-availability span{display:block}.order-availability[hidden]{display:none}

/* Highlight the selected button itself, so all four labels stay aligned. */
#builder .sweetness-switch{grid-template-columns:repeat(4,minmax(0,1fr));gap:3px;padding:3px;align-items:stretch}
#builder .sweetness-thumb{display:none;pointer-events:none}
#builder .sweetness-switch button{position:relative;min-width:0;min-height:44px;margin:0;padding:6px 3px;white-space:normal;overflow-wrap:normal;font-size:11px;line-height:1.2;display:flex;align-items:center;justify-content:center;background:transparent;color:#676872;transition:background-color .15s,color .15s;touch-action:manipulation}
#builder .sweetness-switch button[aria-pressed=true]{background:#151517!important;color:#fff;font-weight:700}
#builder .sweetness-switch button:focus-visible{outline:2px solid #2949dd;outline-offset:1px}
