.food-builder-launches{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:18px 0 22px;padding:15px 18px;border:1px solid #e9d5c3;border-radius:20px;background:linear-gradient(110deg,#fff6ed,#fffdf9 55%,#fbe6d8);box-shadow:0 8px 24px #a64e1910}
.food-builder-launches>div:first-child{display:flex;flex-direction:column;gap:3px}
.food-builder-launches strong{font-size:16px;color:#29201b}
.food-builder-launches>div:first-child span{font-size:12px;color:#746558}
.food-builder-launch-list{display:flex;gap:7px;overflow-x:auto}
.food-builder-launch-list button{display:flex;align-items:center;gap:7px;flex:none;border:1px solid #e8c5aa;border-radius:999px;background:#fff;color:#4a3024;padding:9px 13px;font-weight:750;white-space:nowrap}
.food-builder-launch-list button:hover,.food-builder-launch-list button:focus-visible{border-color:#d62b1c;color:#b72c20;box-shadow:0 0 0 3px #d62b1c1a}
.food-builder-launch-list button b{color:#cf402c}
dialog.food-builder-dialog{width:min(96vw,1040px);max-width:1040px;max-height:min(94dvh,940px);padding:0;border:0;border-radius:26px;background:#fffdf9;color:#2d241f;box-shadow:0 28px 90px #25160e66;overflow:hidden}
dialog.food-builder-dialog::backdrop{background:#241711b8}
dialog.food-builder-dialog>div{padding:0;max-height:none;overflow:visible}
.cart-item-options{display:block;margin-top:5px;color:#786a60;line-height:1.4}
.food-builder-shell{display:flex;flex-direction:column;max-height:min(94dvh,940px);font-family:system-ui,-apple-system,Arial,sans-serif}
.food-builder-head{display:flex;justify-content:space-between;gap:12px;align-items:start;padding:20px 25px 12px;background:linear-gradient(100deg,#2b1b19,#63301e);color:#fff}
.food-builder-kicker{font-size:11px;font-weight:800;letter-spacing:.14em;color:#ffc29b}
.food-builder-head h2{font-size:clamp(24px,3vw,34px);line-height:1.12;letter-spacing:-.035em;margin:4px 0}
.food-builder-head p{font-size:13px;opacity:.82;margin:0}
.food-builder-head>button{flex:none;width:38px;height:38px;border:1px solid #ffffff45;border-radius:50%;background:#ffffff1c;color:#fff;font-size:26px;line-height:1}
.food-builder-type-tabs{display:flex;gap:7px;padding:11px 25px;border-bottom:1px solid #eee2d6;background:#fffaf5}
.food-builder-type-tabs button{border:1px solid #ead7ca;border-radius:99px;background:#fff;color:#55483c;padding:8px 15px;font-size:13px;font-weight:750}
.food-builder-type-tabs button[aria-pressed=true]{background:#d62b1c;border-color:#d62b1c;color:#fff}
.food-builder-layout{display:grid;grid-template-columns:minmax(260px,.85fr) minmax(360px,1.15fr);gap:18px;flex:1;min-height:0;overflow:auto;padding:20px 25px 8px}
.food-builder-left{position:sticky;top:0;align-self:start}
.food-builder-preview{position:relative;display:grid;place-items:center;min-height:300px;overflow:hidden;border-radius:22px;background:radial-gradient(circle at 50% 47%,#fff 0,#faf4ec 65%,#f5e7d9 100%)}
.food-builder-preview img{display:block;width:100%;height:310px;object-fit:contain;filter:drop-shadow(0 12px 15px #59381e20);animation:builder-appear .25s ease-out}
.food-builder-half-preview{position:relative;width:85%;aspect-ratio:1;margin:28px auto 14px;border-radius:50%;overflow:hidden;background:#fff}
.food-builder-half-preview>div{position:absolute;inset:0;clip-path:inset(0 50% 0 0)}
.food-builder-half-preview>div+div{clip-path:inset(0 0 0 50%)}
.food-builder-half-preview::after{content:'';position:absolute;top:4%;bottom:4%;left:50%;width:2px;background:#fff}
.food-builder-half-preview img{width:100%;height:100%;max-width:100%;object-fit:contain;filter:none;animation:none}
.food-builder-half-preview span{position:absolute;bottom:8px;left:50%;transform:translateX(-50%);padding:4px 8px;border-radius:20px;background:#fffdf0e8;color:#76351f;font-size:10px;font-weight:800}
.food-builder-preview-tag{position:absolute;top:12px;left:12px;right:12px;width:max-content;max-width:calc(100% - 24px);border-radius:999px;background:#291d19d9;color:white;padding:7px 11px;font-weight:800;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.food-builder-selected{position:absolute;bottom:11px;left:11px;right:11px;display:flex;gap:5px;flex-wrap:wrap;max-height:75px;overflow:auto}
.food-builder-selected span{background:#fffdf4ed;border:1px solid #ecc7a8;color:#893520;border-radius:999px;font-size:11px;font-weight:750;padding:5px 8px;animation:builder-appear .22s ease-out}
.food-builder-photo-note{font-size:11px;line-height:1.4;color:#776b60;margin:9px 2px}
.food-builder-right{min-width:0}
.food-builder-section{padding:0 0 16px;margin:0 0 17px;border-bottom:1px solid #f0e6de}
.food-builder-section h3{margin:0 0 11px;font-size:16px;letter-spacing:-.015em}
.food-builder-products{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;max-height:225px;overflow:auto}
.food-builder-products button{display:flex;align-items:center;gap:8px;min-width:0;min-height:68px;border:1px solid #e6d9cd;border-radius:14px;background:#fff;text-align:left;padding:5px 8px}
.food-builder-products button[aria-pressed=true],.food-builder-variants button[aria-pressed=true],.food-builder-options button[aria-pressed=true]{border-color:#d62b1c;background:#fff2e9;box-shadow:inset 0 0 0 1px #d62b1c}
.food-builder-products button:hover,.food-builder-variants button:hover,.food-builder-options button:hover{border-color:#d62b1c}
.food-builder-products img{flex:none;width:51px;height:51px;object-fit:contain;border-radius:9px;background:#fff7f0}
.food-builder-products button>span{min-width:0;display:flex;flex-direction:column;gap:3px}
.food-builder-products strong{font-size:11px;line-height:1.25}
.food-builder-products small{font-size:11px;color:#99502e}
.food-builder-variants,.food-builder-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.food-builder-variants button,.food-builder-options button{min-width:0;min-height:47px;display:flex;align-items:center;justify-content:space-between;gap:8px;border:1px solid #e6d9cd;border-radius:12px;background:#fff;color:#332824;padding:9px 10px;text-align:left}
.food-builder-variants button{flex-wrap:wrap}
.food-builder-variants strong,.food-builder-options span{font-size:12px;font-weight:750;line-height:1.25}
.food-builder-options button>span:not(.food-builder-icon){flex:1;min-width:0}
.food-builder-icon{display:grid;place-items:center;flex:none;width:28px;height:28px;border-radius:9px;background:#fff0e3;color:#be4529}
.food-builder-icon svg{width:18px;height:18px}
.food-builder-options button[aria-pressed=true] .food-builder-icon{background:#e33323;color:#fff}
.food-builder-option-photo{flex:none;width:35px;height:35px;border-radius:8px;object-fit:cover}
.food-builder-variants small,.food-builder-options small{font-size:11px;color:#79695d;white-space:nowrap}
.food-builder-variants button>span{font-size:12px;font-weight:800;color:#b92f21;margin-left:auto}
.food-builder-ingredients{font-size:12px;color:#655950;line-height:1.5}
.food-builder-footer{display:flex;align-items:center;gap:12px;padding:13px 25px 17px;border-top:1px solid #ecded0;background:#fffdf9;box-shadow:0 -8px 20px #4d321009}
.food-builder-reset{border:0;background:none;color:#9a4330;text-decoration:underline;font-size:12px;font-weight:700}
.food-builder-price{display:flex;flex-direction:column;align-items:end;margin-left:auto}
.food-builder-price small{font-size:11px;color:#7d7168;white-space:nowrap}
.food-builder-price strong{font-size:24px;white-space:nowrap}
.food-builder-add{min-width:137px;border:0;border-radius:13px;background:#d62b1c;color:#fff;padding:13px 16px;font-size:14px;font-weight:850;box-shadow:0 7px 15px #c12e2833}
.food-builder-add:hover{background:#b7271b}
.food-builder-pizza-mode{display:flex;gap:4px;margin:10px 25px 0;padding:4px;background:#f3e9df;border-radius:14px;flex:none}
.food-builder-pizza-mode button{flex:1;min-height:44px;padding:9px 12px;border:1px solid transparent;border-radius:10px;background:none;color:#55483c;font-weight:750}
.food-builder-pizza-mode button[aria-pressed=true]{background:#fff;border-color:#d62b1c;color:#b7271b;box-shadow:0 2px 5px #4d321014}
.food-builder-half-summary{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.food-builder-half-summary>div{display:flex;flex-direction:column;gap:5px;padding:10px 0;border-bottom:2px solid #d62b1c;min-width:0}
.food-builder-half-summary small{font-size:12px;color:#79695d}
.food-builder-half-summary strong{font-size:15px;line-height:1.3}
.food-builder-half-summary span{font-size:13px;font-weight:700;color:#b7271b}
.food-builder-half-help{font-size:12px;line-height:1.5;color:#655950;margin:12px 0 18px}
.food-builder-half-launch{display:flex;flex-direction:column;align-items:start;gap:5px;width:100%;padding:13px 15px;margin:12px 0;border:1px solid #d62b1c;border-radius:12px;background:#fff2e9;color:#a52319;text-align:left;cursor:pointer}
.food-builder-half-launch strong{font-size:15px}.food-builder-half-launch span{font-size:13px}
.food-builder-shell button:focus-visible,.food-builder-half-launch:focus-visible{outline:3px solid #a52319;outline-offset:3px}
@keyframes builder-appear{from{opacity:.5;transform:scale(.96)}to{opacity:1;transform:scale(1)}}
@media(max-width:760px){
  .food-builder-launches{display:block;padding:13px;margin:12px 0 17px;border-radius:16px}
  .food-builder-launches>div:first-child{margin-bottom:10px}
  .food-builder-launch-list button{padding:8px 11px;font-size:12px}
  dialog.food-builder-dialog{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;margin:0;border-radius:0}
  .food-builder-shell{height:100dvh;max-height:100dvh}
  .food-builder-head{padding:16px 17px 12px}
  .food-builder-head p{display:none}
  .food-builder-type-tabs{padding:9px 15px;overflow:auto}
  .food-builder-layout{display:block;overflow:auto;padding:13px 15px 3px}
  .food-builder-left{position:static}
  .food-builder-preview{min-height:185px;border-radius:16px}
  .food-builder-preview img{height:205px}
  .food-builder-half-preview{width:180px;margin:25px auto 10px}
  .food-builder-half-preview img{height:100%}
  .food-builder-photo-note{margin:5px 2px 13px}
  .food-builder-products{display:flex;max-height:none;overflow:auto;padding-bottom:4px}
  .food-builder-products button{min-width:168px;max-width:198px;flex:none}
  .food-builder-pizza-recipes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible}
  .food-builder-pizza-recipes button{min-width:0;max-width:none}
  .food-builder-pizza-mode{margin:9px 15px 0}
  .food-builder-section{margin-bottom:14px;padding-bottom:14px}
  .food-builder-footer{padding:10px 14px calc(12px + env(safe-area-inset-bottom));gap:6px}
  .food-builder-reset{max-width:72px;font-size:11px;text-align:left}
  .food-builder-price small{font-size:9px;max-width:135px;overflow:hidden;text-overflow:ellipsis}
  .food-builder-price strong{font-size:20px}
  .food-builder-add{min-width:104px;padding:12px 10px;font-size:13px}
}
@media(max-width:380px){
  dialog.food-builder-dialog .food-builder-options button{display:grid;grid-template-columns:28px minmax(0,1fr);column-gap:6px;row-gap:2px}
  dialog.food-builder-dialog .food-builder-options button>img,dialog.food-builder-dialog .food-builder-options button>.food-builder-icon{grid-row:span 2;width:28px;height:28px}
  dialog.food-builder-dialog .food-builder-options button>small{grid-column:2;font-size:10px}
  dialog.food-builder-dialog .food-builder-options button>span:not(.food-builder-icon){font-size:11px}
}
@media(prefers-reduced-motion:reduce){.food-builder-preview img,.food-builder-selected span{animation:none}}
