/* Azeit "Build your own" (/build/ and /pt/build/).
   Loaded after legacy.css + subpage.css. Prefix bb- . No animation beyond transform/opacity, all of it off in html.rm (lite / reduced motion). */

.page-build { --bb-bar: calc(70px + env(safe-area-inset-bottom)); --bb-line: rgba(20, 32, 46, .14); }

/* ---- intro --------------------------------------------------------------------------------------------------- */
.bb-intro { padding: calc(var(--header-h) + clamp(12px, 2.4vw, 28px)) 0 clamp(12px, 2vw, 20px); }
.bb-intro-grid { display: grid; gap: 8px 32px; align-items: center; }
@media (min-width: 900px) { .bb-intro-grid { grid-template-columns: 1fr 150px; } }
.bb-intro h1 { font-size: clamp(2rem, 5.4vw, 3.4rem); line-height: .98; letter-spacing: -.04em; margin-bottom: .24em; }
.bb-intro h1 .hl2 { color: var(--terracotta-ink); }
.bb-intro .lead { margin-bottom: 10px; max-width: 58ch; font-size: clamp(1rem, 1.8vw, 1.15rem); line-height: 1.45; }
.bb-preview-note { display: inline-flex; gap: 10px; align-items: flex-start; margin: 4px 0 0; padding: 8px 12px; font-size: .875rem; font-weight: 600; background: var(--saffron); color: var(--ink); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%); max-width: 64ch; }
.bb-intro-art { display: none; }
@media (min-width: 900px) { .bb-intro-art { display: block; width: 150px; margin-top: -8px; } }
.bb-intro .eyebrow { margin-bottom: 10px; }

/* ---- shell ------------------------------------------------------------------------------------------------------ */
.bb { padding: 6px 0 clamp(36px, 6vw, 72px); }
.bb-wrap { display: grid; gap: 18px; align-items: start; }
@media (min-width: 960px) { .bb-wrap { grid-template-columns: minmax(0, 1fr) 372px; gap: 28px; } }
.bb-main { min-width: 0; }

.bb-stepbar { position: sticky; top: 64px; z-index: 40; display: flex; align-items: stretch; gap: 10px; margin: 0 calc(var(--gutter) * -1) 14px; padding: 10px var(--gutter) 8px; background: var(--paper); border-bottom: 2px solid var(--ink); }
@media (min-width: 960px) { .bb-stepbar { margin-inline: 0; padding-inline: 0; } }
.bb-steps { flex: 1; min-width: 0; display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; }
.bb-steps::-webkit-scrollbar { display: none; }
.bb-steps li { flex: none; scroll-snap-align: center; }
.bb-step { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 4px 11px 4px 5px; font: 700 .8125rem/1 var(--body); color: var(--ink); background: var(--white); border: 2px solid var(--ink); border-radius: 999px; cursor: pointer; }
.bb-step i { display: grid; place-items: center; width: 24px; height: 24px; font: 800 .8125rem/1 var(--display); font-style: normal; border-radius: 50%; background: var(--stone); }
.bb-step:hover { background: var(--saffron); }
.bb-step[aria-current="step"] { background: var(--ink); color: var(--paper); }
.bb-step[aria-current="step"] i { background: var(--saffron); color: var(--ink); }
.bb-step.is-done i { background: var(--olive); color: var(--white); }
.bb-step.is-done i::before { content: ""; width: 12px; height: 10px; background: currentColor; clip-path: polygon(0 55%, 18% 40%, 40% 62%, 82% 14%, 100% 30%, 40% 100%); }
.bb-step.is-done i span { display: none; }
.bb-bagbtn { flex: none; display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 6px 12px; font: 700 .9375rem/1 var(--body); color: var(--ink); background: var(--saffron); border: 2px solid var(--ink); border-radius: 3px; cursor: pointer; }
.bb-bagbtn:hover { box-shadow: 3px 3px 0 var(--ink); transform: translate(-1px, -1px); }
.bb-bagbtn svg { width: 20px; height: 20px; }
.bb-bagbtn b { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 5px; font: 800 .8125rem/1 var(--display); color: var(--paper); background: var(--ink); border-radius: 11px; }

/* filters */
.bb-fdet { margin: 0 0 14px; }
.bb-fdet summary { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 6px 2px; font: 700 .8125rem/1.2 var(--body); text-transform: uppercase; letter-spacing: .1em; color: var(--ink-soft); cursor: pointer; list-style: none; }
.bb-fdet summary::-webkit-details-marker { display: none; }
.bb-fdet summary::after { content: ""; width: 9px; height: 9px; margin-left: 2px; border-right: 3px solid currentColor; border-bottom: 3px solid currentColor; transform: rotate(45deg) translate(-2px, -2px); transition: transform .2s; }
.bb-fdet[open] summary::after { transform: rotate(225deg) translate(-2px, -2px); }
.bb-fdet summary em { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; font: 800 .8125rem/1 var(--display); font-style: normal; letter-spacing: 0; color: var(--white); background: var(--terracotta-ink); border-radius: 11px; }
.bb-fdet summary:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
@media (min-width: 960px) { .bb-fdet summary { display: none; } }
.bb-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.bb-filters legend { float: left; margin: 0 4px 0 0; padding: 0; font: 700 .8125rem/44px var(--body); text-transform: uppercase; letter-spacing: .1em; color: var(--ink-soft); }
.bb-chip { position: relative; display: inline-flex; }
.bb-chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.bb-chip span { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 14px; font: 700 .875rem/1 var(--body); color: var(--ink); background: var(--white); border: 2px solid var(--ink); border-radius: 999px; }
.bb-chip input:checked + span { background: var(--terracotta-ink); border-color: var(--terracotta-ink); color: var(--white); }
.bb-chip.bb-chip--diet input:checked + span { background: var(--olive-deep); border-color: var(--olive-deep); }
.bb-chip input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 3px; }
.bb-chip input:checked + span::before { content: ""; width: 12px; height: 10px; background: currentColor; clip-path: polygon(0 55%, 18% 40%, 40% 62%, 82% 14%, 100% 30%, 40% 100%); }

/* ---- stage ------------------------------------------------------------------------------------------------------ */
.bb-stage { min-height: 320px; }
.bb-panel[hidden] { display: none; }
.bb-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; margin-bottom: 4px; }
.bb-kicker { margin: 0; font: 700 .8125rem/1.2 var(--body); text-transform: uppercase; letter-spacing: .14em; color: var(--terracotta-ink); }
.bb-head h2 { margin: 0; font-size: clamp(1.7rem, 4.4vw, 2.5rem); }
.bb-head h2:focus { outline: none; }
.bb-sub { margin: 0 0 16px; color: var(--ink-soft); max-width: 62ch; }
.bb-count { margin: 0 0 12px; font-weight: 700; font-size: .9375rem; }
.bb-count b { color: var(--blue-deep); }
.bb-group { margin: 26px 0 10px; font: 800 1.1rem/1 var(--display); letter-spacing: -.01em; }
.bb-nav { display: none; align-items: center; justify-content: space-between; gap: 12px; margin-top: 26px; padding-top: 18px; border-top: 2px solid var(--ink); }
@media (min-width: 960px) { .bb-nav { display: flex; } }
.bb-back { background: none; border: 0; padding: 10px 4px; min-height: 44px; font: 700 1rem/1 var(--body); color: var(--ink); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.bb-back[hidden] { display: none; }
.bb-hint { margin: 10px 0 0; font-weight: 700; color: var(--terracotta-ink); }

/* ---- cards ------------------------------------------------------------------------------------------------------ */
.bb-cards { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 640px) { .bb-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1100px) { .bb-cards--sm { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 640px) and (max-width: 959px) { .bb-cards--sm { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.bb-cards--xl { grid-template-columns: 1fr; }
@media (min-width: 560px) { .bb-cards--xl { grid-template-columns: 1fr 1fr; } }

.bb-card { position: relative; display: block; min-width: 0; }
.bb-in { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.bb-in:disabled { cursor: not-allowed; }
.bb-face { position: relative; display: flex; flex-direction: column; height: 100%; padding: 8px 8px 10px; background: var(--white); border: 2px solid var(--ink); border-radius: 3px; transition: transform .18s ease, box-shadow .18s ease, opacity .18s; }
.bb-card:hover .bb-face { transform: translateY(-2px); box-shadow: 0 5px 0 rgba(20, 32, 46, .16); }
.bb-in:focus-visible + .bb-face { outline: 3px solid var(--blue); outline-offset: 3px; }
.bb-in:checked + .bb-face { transform: translateY(-3px); border-color: var(--ink); box-shadow: 0 0 0 4px var(--saffron), 0 8px 0 rgba(20, 32, 46, .18); }
.bb-in:disabled + .bb-face { opacity: .5; transform: none; box-shadow: none; }
.bb-art { position: relative; display: block; aspect-ratio: 1; overflow: hidden; border-radius: 2px; background: var(--stone); }
.bb-art img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.bb-in:checked + .bb-face .bb-art img { transform: scale(1.06); }
.bb-tick { position: absolute; top: 12px; right: 12px; z-index: 1; display: none; place-items: center; width: 30px; height: 30px; background: var(--saffron); border: 2px solid var(--ink); clip-path: polygon(0 0, 100% 0, 100% 68%, 68% 100%, 0 100%); }
.bb-tick::before { content: ""; width: 14px; height: 11px; margin: -3px 0 0 -3px; background: var(--ink); clip-path: polygon(0 55%, 18% 40%, 40% 62%, 82% 14%, 100% 30%, 40% 100%); }
.bb-in:checked + .bb-face .bb-tick { display: grid; }
.bb-x2 { position: absolute; left: 12px; top: 12px; z-index: 1; padding: 4px 8px; font: 800 .8125rem/1 var(--display); color: var(--paper); background: var(--terracotta-ink); border: 2px solid var(--paper); border-radius: 2px; }
.bb-badge { position: absolute; left: 12px; bottom: 12px; z-index: 1; padding: 4px 8px; font: 800 .6875rem/1 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--ink); background: var(--saffron); border-radius: 2px; }
.bb-name { display: block; margin-top: 9px; font: 800 1.02rem/1.15 var(--display); letter-spacing: -.01em; }
.bb-meta { display: block; margin-top: 4px; font-size: .875rem; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.bb-meta b { color: var(--ink); }
.bb-desc { display: none; margin-top: 6px; font-size: .875rem; line-height: 1.4; color: var(--ink-soft); }
.bb-cards--lg .bb-desc { display: block; }
.bb-cards--md .bb-desc { display: block; }
.bb-cards--sm .bb-desc { display: none !important; }
@media (max-width: 559px) { .bb-cards--lg .bb-desc, .bb-cards--md .bb-desc { display: none; } }
.bb-price { display: block; margin-top: auto; padding-top: 8px; font: 800 .9375rem/1 var(--display); }
.bb-price small { font: 700 .75rem/1 var(--body); color: var(--ink-soft); }
.bb-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; min-height: 20px; }
.bb-tag { padding: 3px 6px; font: 700 .6875rem/1.1 var(--body); text-transform: uppercase; letter-spacing: .06em; border-radius: 2px; background: var(--olive-pale); color: var(--olive-deep); }
.bb-tag--al { background: #fde6c4; color: #7a3d00; }
.bb-tag--hot { background: #fbd9cc; color: var(--terracotta-ink); }
.bb-tag--flag { background: var(--terracotta-ink); color: var(--white); }
.bb-card.is-flag .bb-face { background-image: repeating-linear-gradient(135deg, rgba(210, 88, 47, .09) 0 8px, transparent 8px 16px); }
.bb-card.is-flag .bb-art img { opacity: .55; filter: grayscale(.6); }

/* style tiles + chef's builds */
.bb-style .bb-face { flex-direction: row; gap: 14px; align-items: center; padding: 12px; }
.bb-style .bb-art { flex: none; width: clamp(96px, 26vw, 148px); }
.bb-style .bb-body { display: block; min-width: 0; }
.bb-style .bb-name { margin-top: 0; font-size: 1.4rem; }
.bb-style .bb-tag { margin-bottom: 8px; display: inline-block; }
.bb-style .bb-desc { display: block; }
@media (min-width: 960px) and (max-width: 1199px) { .bb-style .bb-face { flex-direction: column; align-items: stretch; } .bb-style .bb-art { width: 100%; max-width: 200px; } }
.bb-presets-h { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 14px; margin: 28px 0 10px; }
.bb-presets-h h3 { margin: 0; font-size: 1.25rem; }
.bb-link { padding: 10px 6px; min-width: 44px; min-height: 44px; font: 700 .9375rem/1 var(--body); background: none; border: 0; color: var(--blue-deep); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.bb-presets { display: grid; gap: 10px; grid-template-columns: 1fr; }
@media (min-width: 620px) { .bb-presets { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1180px) { .bb-presets { grid-template-columns: 1fr 1fr 1fr; } }
.bb-preset { position: relative; display: flex; gap: 12px; align-items: center; width: 100%; min-height: 84px; padding: 8px 12px 8px 8px; text-align: left; font: inherit; color: var(--ink); background: var(--white); border: 2px solid var(--ink); border-radius: 3px; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease; }
.bb-preset:hover { transform: translateY(-2px); box-shadow: 0 5px 0 rgba(20, 32, 46, .16); }
.bb-preset[aria-pressed="true"] { box-shadow: 0 0 0 4px var(--saffron); }
.bb-preset img { flex: none; width: 66px; height: 66px; border-radius: 2px; background: var(--stone); }
.bb-preset b { display: block; font: 800 1rem/1.15 var(--display); }
.bb-preset small { display: block; margin-top: 3px; color: var(--ink-soft); font-size: .8125rem; font-variant-numeric: tabular-nums; }
.bb-preset .bb-badge { position: static; display: inline-block; margin-bottom: 4px; }

/* double toggle + option rows */
.bb-toggle { display: flex; align-items: center; gap: 14px; margin-top: 18px; padding: 14px 16px; background: var(--white); border: 2px solid var(--ink); border-radius: 3px; cursor: pointer; }
.bb-toggle input { flex: none; width: 26px; height: 26px; margin: 0; accent-color: var(--terracotta-ink); }
.bb-toggle b { display: block; font: 800 1.05rem/1.2 var(--display); }
.bb-toggle small { display: block; color: var(--ink-soft); font-size: .875rem; }
.bb-toggle:has(input:checked) { box-shadow: 0 0 0 4px var(--saffron); }
.bb-toggle:has(input:focus-visible) { outline: 3px solid var(--blue); outline-offset: 3px; }

/* combo */
.bb-combo { margin: 4px 0 26px; }
.bb-toggle--combo { margin-top: 0; }
.bb-toggle--combo img { flex: none; width: 64px; height: 64px; border-radius: 2px; background: var(--stone); }
.bb-combopick { margin-top: 4px; }
.bb-group--top { margin-top: 8px; }
.bb-save { margin: 10px 0 0; padding: 8px 12px; font-weight: 700; font-size: .875rem; line-height: 1.35; color: var(--olive-deep); background: var(--olive-pale); border-left: 6px solid var(--olive); }
.bb-save[hidden] { display: none; }

/* ---- summary ---------------------------------------------------------------------------------------------------- */
.bb-sum { min-width: 0; background: var(--white); border: 2px solid var(--ink); border-radius: 3px; }
@media (min-width: 960px) { .bb-sum { position: sticky; top: 92px; max-height: calc(100vh - 108px); overflow: auto; overscroll-behavior: contain; scrollbar-width: thin; } .bb-sum__bar { display: none; } }
.bb-sum__body { padding: 16px 16px 18px; }
.bb-sum h2 { margin: 0; font-size: 1.3rem; }
.bb-sum-title { margin: 2px 0 8px; font: 700 1rem/1.25 var(--body); color: var(--ink-soft); }
.bb-stack { display: block; width: 100%; height: auto; margin: 4px 0 6px; aspect-ratio: 2 / 1; background: var(--stone); border-radius: 2px; }
.bb-stack.pop { animation: bb-pop .28s ease; }
@keyframes bb-pop { 0% { transform: scale(.985); } 50% { transform: scale(1.012); } 100% { transform: scale(1); } }
.bb-total { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin: 10px 0 2px; padding-top: 10px; border-top: 2px solid var(--ink); }
.bb-cal { font: 800 clamp(2.6rem, 8vw, 3.4rem)/.9 var(--display); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.bb-cal small { margin-left: 6px; font: 700 .9375rem/1 var(--body); letter-spacing: 0; color: var(--ink-soft); }
.bb-money { font: 800 1.7rem/1 var(--display); font-variant-numeric: tabular-nums; }
.bb-dv { margin: 6px 0 0; font-size: .875rem; color: var(--ink-soft); }
.bb-dv b { color: var(--ink); }
.bb-facts { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 0; padding: 0; list-style: none; }
.bb-facts li { padding: 5px 8px; font: 700 .75rem/1.1 var(--body); text-transform: uppercase; letter-spacing: .06em; border-radius: 2px; background: var(--olive-pale); color: var(--olive-deep); }
.bb-facts li.al { background: #fde6c4; color: #7a3d00; }
.bb-facts li.meat { background: var(--stone); color: var(--ink-soft); }
.bb-warn { margin: 12px 0 0; padding: 10px 12px; font-size: .875rem; font-weight: 700; color: var(--white); background: var(--terracotta-ink); border-radius: 2px; }
.bb-warn[hidden] { display: none; }
.bb-list { margin: 14px 0 0; padding: 0; list-style: none; }
.bb-list li { display: flex; align-items: center; gap: 8px; padding: 4px 0; border-top: 1px solid var(--bb-line); font-size: .9375rem; }
.bb-list li span { flex: 1; min-width: 0; }
.bb-list li em { flex: none; font-style: normal; color: var(--ink-soft); font-variant-numeric: tabular-nums; font-size: .875rem; }
.bb-list li.grp { display: block; padding: 10px 0 2px; border-top: 0; font: 700 .75rem/1 var(--body); text-transform: uppercase; letter-spacing: .12em; color: var(--terracotta-ink); }
.bb-x { flex: none; display: grid; place-items: center; width: 44px; height: 44px; margin: -10px -10px -10px 0; font: 700 1.25rem/1 var(--body); color: var(--ink-soft); background: none; border: 0; border-radius: 50%; cursor: pointer; }
.bb-x:hover { background: var(--stone); color: var(--ink); }
.bb-empty { color: var(--ink-soft); font-size: .9375rem; margin: 12px 0 0; }
.bb-actions { display: grid; gap: 10px; margin-top: 16px; }
.bb-actions .btn { width: 100%; }
.bb-actions .row { display: flex; flex-wrap: wrap; gap: 10px; }
.bb-actions .row .btn { flex: 1; min-height: 46px; padding: 10px; font-size: .9375rem; }
.bb-fine { margin: 12px 0 0; font-size: .75rem; line-height: 1.45; color: var(--ink-soft); }
.bb-fine a { color: var(--blue-deep); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; transform: none !important; box-shadow: none !important; }

/* mobile: the summary becomes a bottom bar that expands into a sheet */
.bb-sum__bar { display: none; align-items: center; gap: 10px; min-height: var(--bb-bar); padding: 8px var(--gutter) calc(8px + env(safe-area-inset-bottom)); background: var(--ink); color: var(--paper); border-radius: 3px 3px 0 0; }
.bb-sum__tog { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 0; text-align: left; font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.bb-sum__tog b { font: 800 1.9rem/1 var(--display); color: var(--saffron); font-variant-numeric: tabular-nums; }
.bb-sum__tog b small { font: 700 .75rem/1 var(--body); margin-left: 3px; color: var(--paper); }
.bb-sum__tog span { font: 700 .9375rem/1.1 var(--body); }
.bb-sum__tog span small { display: block; margin-top: 3px; font-weight: 500; opacity: .8; font-size: .75rem; }
.bb-sum__tog i { margin-left: auto; width: 14px; height: 14px; border-top: 3px solid var(--saffron); border-left: 3px solid var(--saffron); transform: rotate(45deg) translate(3px, 3px); transition: transform .2s; }
.bb-sum.is-open .bb-sum__tog i { transform: rotate(225deg) translate(3px, 3px); }
.bb-sum__bar .btn { flex: none; min-height: 48px; padding: 12px 18px; }
@media (max-width: 959px) {
  .page-build { padding-bottom: var(--bb-bar); }
  .bb-sum { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: flex; flex-direction: column; max-height: 84vh; max-height: 84dvh; border-width: 2px 0 0; border-radius: 3px 3px 0 0; transform: translateY(calc(100% - var(--bb-bar))); transition: transform .28s cubic-bezier(.16, 1, .3, 1); background: var(--white); }
  .bb-sum.is-open { transform: none; box-shadow: 0 -20px 60px rgba(11, 18, 26, .35); }
  .bb-sum__bar { display: flex; order: -1; flex: none; }
  .bb-sum__body { overflow: auto; overscroll-behavior: contain; visibility: hidden; }
  .bb-sum.is-open .bb-sum__body { visibility: visible; }
  .bb-scrim { position: fixed; inset: 0; z-index: 55; background: rgba(11, 18, 26, .5); }
  .bb-scrim[hidden] { display: none; }
  body.bb-lock { overflow: hidden; }
  .social-float { display: none !important; }
}
@media (min-width: 960px) { .bb-scrim { display: none; } }

/* ---- review ----------------------------------------------------------------------------------------------------- */
.bb-review { display: grid; gap: 18px; }
.bb-rv { padding: 18px; background: var(--white); border: 2px solid var(--ink); border-radius: 3px; }
.bb-rv h3 { margin: 0 0 4px; font-size: 1.5rem; }
.bb-rv .bb-list li { font-size: 1rem; }
.bb-rv .bb-link { min-height: 44px; padding: 4px 2px; font-size: .875rem; }
.bb-row2 { display: grid; gap: 14px; }
@media (min-width: 560px) { .bb-row2 { grid-template-columns: 1fr auto; align-items: end; } }
.bb-qty { display: inline-flex; align-items: center; gap: 4px; }
.bb-qty button { width: 46px; height: 46px; font: 800 1.4rem/1 var(--display); color: var(--ink); background: var(--white); border: 2px solid var(--ink); border-radius: 3px; cursor: pointer; }
.bb-qty button:hover { background: var(--saffron); }
.bb-qty output { min-width: 44px; text-align: center; font: 800 1.3rem/1 var(--display); }
.bb-added { padding: 14px 16px; font-weight: 700; background: var(--olive-pale); color: var(--olive-deep); border: 2px solid var(--olive-deep); border-radius: 3px; }
.bb-added[hidden] { display: none; }
.bb-added .row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }

/* ---- bag dialog ------------------------------------------------------------------------------------------------ */
dialog.bb-bag { position: fixed; inset: auto 0 0 0; width: 100%; max-width: none; max-height: 88vh; max-height: 88dvh; margin: 0; padding: 0; color: var(--ink); background: var(--paper); border: 2px solid var(--ink); border-width: 2px 0 0; border-radius: 3px 3px 0 0; overflow: hidden; }
dialog.bb-bag[open] { display: flex; flex-direction: column; }
dialog.bb-bag::backdrop { background: rgba(11, 18, 26, .55); }
@media (min-width: 720px) { dialog.bb-bag { inset: 0 0 0 auto; width: min(460px, 100%); height: 100vh; height: 100dvh; max-height: none; border-width: 0 0 0 2px; border-radius: 0; } }
.bb-bag-h { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-bottom: 2px solid var(--ink); background: var(--white); }
.bb-bag-h h2 { margin: 0; font-size: 1.5rem; }
.bb-bag-x { width: 44px; height: 44px; font: 700 1.6rem/1 var(--body); color: var(--ink); background: none; border: 2px solid var(--ink); border-radius: 3px; cursor: pointer; }
.bb-bag-x:hover { background: var(--saffron); }
.bb-bag-b { flex: 1; overflow: auto; overscroll-behavior: contain; padding: 14px 16px; }
.bb-line { padding: 14px 0; border-top: 2px solid var(--ink); }
.bb-line:first-child { border-top: 0; padding-top: 0; }
.bb-line h3 { margin: 0 0 2px; font-size: 1.15rem; }
.bb-line p { margin: 0 0 6px; font-size: .875rem; color: var(--ink-soft); line-height: 1.4; }
.bb-line .top { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.bb-line .top b { font: 800 1.1rem/1 var(--display); white-space: nowrap; }
.bb-line .ops { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-top: 4px; }
.bb-line .bb-qty button { width: 44px; height: 44px; }
.bb-line .bb-link { min-height: 44px; }
.bb-bag-f { flex: none; padding: 14px 16px calc(14px + env(safe-area-inset-bottom)); background: var(--white); border-top: 2px solid var(--ink); }
.bb-sumrow { display: flex; justify-content: space-between; gap: 12px; margin: 0 0 4px; font-weight: 700; }
.bb-sumrow span:last-child { font-variant-numeric: tabular-nums; }
.bb-sumrow.big { font: 800 1.35rem/1.2 var(--display); }
.bb-ful { display: flex; gap: 8px; margin: 10px 0; }
.bb-ful label { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; font-weight: 700; background: var(--white); border: 2px solid var(--ink); border-radius: 3px; cursor: pointer; }
.bb-ful label:has(input:checked) { background: var(--ink); color: var(--paper); }
.bb-ful label:has(input:focus-visible) { outline: 3px solid var(--blue); outline-offset: 3px; }
.bb-ful input { accent-color: var(--saffron); }
.bb-soon { margin: 12px 0 0; padding: 14px; background: var(--saffron); border-radius: 2px; font-size: .9375rem; }
.bb-soon[hidden] { display: none; }
.bb-soon b { display: block; margin-bottom: 4px; font: 800 1.1rem/1.2 var(--display); }
.bb-soon .row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.bb-soon .btn { min-height: 44px; padding: 10px 14px; font-size: .9375rem; }
.bb-bag-empty { text-align: center; padding: 24px 8px; color: var(--ink-soft); }
.bb-bag-empty img { width: 150px; margin: 0 auto 8px; }

/* toast */
.bb-toast { position: fixed; z-index: 120; left: 50%; bottom: calc(var(--bb-bar) + 14px); max-width: calc(100% - 32px); padding: 12px 18px; font-weight: 700; color: var(--paper); background: var(--ink); border-left: 6px solid var(--saffron); border-radius: 2px; transform: translate(-50%, 8px); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
.bb-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
@media (min-width: 960px) { .bb-toast { bottom: 28px; } }
.bb-sr { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---- why our menu is short ------------------------------------------------------------------------------------ */
.bb-why { display: grid; gap: 16px; }
@media (min-width: 800px) { .bb-why { grid-template-columns: repeat(3, 1fr); } }
.bb-why .card { padding: 20px; }
.bb-why .num { display: block; margin-bottom: 8px; font-size: 2.6rem; color: var(--terracotta-ink); }
.bb-stats { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 0 0 24px; padding: 0; list-style: none; }
.bb-stats li { font: 700 1rem/1.2 var(--body); }
.bb-stats b { display: block; font: 800 clamp(2rem, 5vw, 3rem)/1 var(--display); letter-spacing: -.03em; color: var(--blue-deep); }
.bb-notes { max-width: 78ch; }
.bb-notes h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); }
.bb-notes p { color: var(--ink-soft); font-size: .9375rem; }
.bb-notes b { color: var(--ink); }

/* motion off in lite / reduced motion */
html.rm .bb-face, html.rm .bb-art img, html.rm .bb-preset, html.rm .bb-sum, html.rm .bb-toast, html.rm .bb-sum__tog i, html.rm .bb-bagbtn { transition: none !important; }
html.rm .bb-card:hover .bb-face, html.rm .bb-in:checked + .bb-face, html.rm .bb-preset:hover { transform: none; }
html.rm .bb-in:checked + .bb-face .bb-art img { transform: none; }
html.rm .bb-stack.pop { animation: none; }
@media (prefers-reduced-motion: reduce) {
  .bb-face, .bb-art img, .bb-preset, .bb-sum, .bb-toast, .bb-sum__tog i { transition: none !important; }
  .bb-card:hover .bb-face, .bb-in:checked + .bb-face, .bb-preset:hover, .bb-in:checked + .bb-face .bb-art img { transform: none; }
  .bb-stack.pop { animation: none; }
}
@media print { .bb-sum__bar, .bb-stepbar, .bb-nav, .bb-scrim, .bb-toast { display: none !important; } }

/* ---- rotisserie chicken builder (/rotisserie/, /pt/rotisserie/) + the builder tabs shared by both builders ---------------- */
.bb-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.bb-tabs a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 18px; font: 800 1rem/1.1 var(--display); letter-spacing: -.01em; color: var(--ink); text-decoration: none; background: var(--white); border: 2px solid var(--ink); border-radius: 999px; }
.bb-tabs a:hover { background: var(--saffron); }
.bb-tabs a[aria-current="page"] { color: var(--paper); background: var(--ink); }
.bb-tabs a:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.bb-inc { display: block; margin-top: 8px; font-size: .8125rem; font-weight: 600; line-height: 1.4; color: var(--ink); }
.bb-cards--size { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 1100px) { .bb-cards--size { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 960px) and (max-width: 1099px) { .bb-cards--size { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.bb-breads { display: grid; gap: 12px; }
.bb-breadrow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 10px; background: var(--white); border: 2px solid var(--ink); border-radius: 3px; }
.bb-breadrow img { flex: none; width: 72px; height: 72px; object-fit: cover; border-radius: 2px; background: var(--stone); }
.bb-breadrow > div:nth-child(2) { flex: 1 1 150px; min-width: 0; }
.bb-breadrow b { display: block; font: 800 1.05rem/1.2 var(--display); }
.bb-breadrow small { display: block; margin-top: 2px; font-size: .875rem; line-height: 1.35; color: var(--ink-soft); }
.bb-qty button[aria-disabled="true"] { opacity: .35; cursor: not-allowed; }
.bb-qty button[aria-disabled="true"]:hover { background: var(--white); }
.bb-toggle input:disabled + img, .bb-toggle input:disabled ~ span { opacity: .55; }
.bb-toggle:has(input:disabled) { cursor: not-allowed; }
.bb-toggle:has(input:disabled) input { cursor: not-allowed; }
.bb-line[data-type="chicken"] h3::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 8px; background: var(--terracotta-ink); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
.bb-toggle + .bb-count { margin-top: 12px; }

/* long meal titles in the mobile bar (e.g. "Prato de Frango") must not run under the Next / Add button */
@media (max-width: 480px) {
  .bb-sum__tog { gap: 8px; }
  .bb-sum__tog b { font-size: 1.6rem; }
  .bb-sum__tog span { display: block; min-width: 0; overflow: hidden; }
  .bb-sum__tog span small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .bb-sum__bar .btn { padding: 12px 12px; font-size: .9375rem; }
}
