/* ==========================================================================
 * Theme: Boinabrasa — estilo marmita delivery
 * Inspirado em marmitexgrill.delivery / sabordecasa
 * ========================================================================== */
:root {
    --primary: #ea1d2c;
    --primary-dark: #c81a26;
    --green: #077c22;
    --bg: #f5f5f5;
    --text: #1f2937;
    --muted: #6b7280;
    --card-bg: #fff;
    --border: #e5e7eb;
    --gold: #fbbf24;
    --green-soft: rgba(7,124,34,.12);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
/* Sticky footer pattern: body como flex column min-height 100vh + .bb-main
   com flex:1 garante que o <footer> gruda no fundo mesmo em páginas curtas
   (ex: /pix, /sucesso). Antes usávamos padding-bottom: 90px, mas ele
   reservava uma faixa cinza (#f5f5f5) abaixo do footer nas páginas curtas
   — parecia uma "borda branca" indesejada. */
body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container { max-width: 720px; margin: 0 auto; padding: 0 14px; }

/* ── Status ABERTO/FECHADO (fixed top-left) ───────────────────── */
.bb-status-open, .bb-status-closed {
    position: fixed; top: 10px; left: 10px; z-index: 999;
    display: inline-flex; align-items: center; gap: 6px;
    background: #fff; padding: 6px 12px; border-radius: 20px;
    font-size: .8rem; font-weight: 700; letter-spacing: .02em;
    box-shadow: 0 2px 8px rgba(0,0,0,.18);
    color: var(--green);
}
.bb-status-closed { color: var(--primary); }
.bb-status-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: currentColor;
    animation: bb-blink 1.6s infinite ease-in-out;
}
@keyframes bb-blink { 0%,100% { opacity: 1; } 50% { opacity: .35; } }

/* ── Cart FAB (fixed top-right) ───────────────────────────────── */
.bb-cart-fab {
    position: fixed; top: 10px; right: 10px; z-index: 999;
    width: 42px; height: 42px; border-radius: 50%;
    background: var(--primary); color: #fff;
    display: flex; align-items: center; justify-content: center;
    text-decoration: none; box-shadow: 0 2px 8px rgba(0,0,0,.3);
    transition: transform .15s;
}
.bb-cart-fab:hover { color: #fff; transform: scale(1.08); }
.bb-cart-fab i { font-size: 1.2rem; }
.bb-cart-fab-badge {
    position: absolute; top: -4px; right: -4px;
    background: #fff; color: var(--primary);
    font-size: .7rem; font-weight: 700;
    padding: 1px 6px; border-radius: 10px;
    min-width: 20px; text-align: center;
    border: 2px solid var(--primary);
}

/* ── Header (banner + logo sobreposto) ────────────────────────── */
.bb-header { background: #fff; }
.bb-cover {
    position: relative;
    height: 200px;
    /* Fallback gradient quando não há banner setado. Quando inline
       background-image (url do banner) é aplicada, sobrescreve este. */
    background-color: var(--primary);
    background-image: linear-gradient(135deg, var(--primary), var(--primary-dark));
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.bb-cover-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,.05) 0%, rgba(0,0,0,.25) 100%);
}
.bb-logo-wrap {
    position: absolute;
    bottom: -45px; left: 50%;
    transform: translateX(-50%);
    width: 90px; height: 90px;
    border-radius: 50%;
    background: #fff;
    padding: 4px;
    box-shadow: 0 4px 16px rgba(0,0,0,.2);
    overflow: hidden;
}
.bb-logo { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; background: #fff; }
.bb-logo-fallback {
    display: flex; align-items: center; justify-content: center;
    font-size: 2.5rem; background: #fff;
}

/* Nome + selos */
.bb-brand-name {
    text-align: center; margin: 55px 0 4px;
    color: var(--primary); font-size: 1.5rem; font-weight: 700;
    display: flex; align-items: center; justify-content: center; gap: 6px;
}
.bb-verified { width: 18px; height: 18px; vertical-align: middle; }
.bb-brand-sub { text-align: center; color: var(--muted); margin: 0 0 12px; font-size: .9rem; }

.bb-info-line {
    text-align: center; color: var(--muted); font-size: .9rem; margin: 6px 0;
}
.bb-info-line b { color: var(--text); }
.bb-info-line i { color: var(--muted); margin-right: 2px; }
.bb-free-delivery { color: var(--green); font-weight: 600; }

/* ── Selos extras (Reclame Aqui, iFood, ANVISA) ───────────────── */
.bb-seals {
    display: flex; flex-wrap: wrap; gap: 8px;
    justify-content: center; margin: 14px 0 4px;
}
.bb-seal {
    display: flex; align-items: center; gap: 8px;
    background: #fff; border: 1px solid var(--border);
    padding: 6px 12px 6px 6px; border-radius: 20px;
    cursor: help; transition: transform .15s, box-shadow .15s;
}
.bb-seal:hover { transform: translateY(-1px); box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.bb-seal-icon {
    width: 32px; height: 32px; border-radius: 50%;
    background: var(--primary); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: .8rem; font-weight: 700; flex-shrink: 0;
}
.bb-seal-info { line-height: 1.15; text-align: left; min-width: 0; }
.bb-seal-title { font-size: .78rem; font-weight: 600; color: var(--text); }
.bb-seal-sub   { font-size: .68rem; color: var(--muted); }

/* ── Main / categorias ────────────────────────────────────────── */
/* flex:1 = ocupa o espaço restante e empurra o footer pro fim (sticky). */
.bb-main { background: var(--bg); padding: 20px 0; flex: 1; }
.bb-content { padding-top: 8px; }

.bb-category { margin-bottom: 28px; }
.bb-category-title {
    font-size: 1.2rem; font-weight: 700; color: var(--text);
    border-left: 4px solid var(--primary); padding-left: 12px;
    margin-bottom: 16px;
}

/* Produtos — formato lista (foto à esquerda, info à direita) */
.bb-products { display: flex; flex-direction: column; gap: 12px; }
.bb-product {
    background: var(--card-bg); border-radius: 12px;
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
    overflow: hidden; position: relative;
    transition: transform .15s, box-shadow .15s;
}
.bb-product:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,.08); }
.bb-product-link {
    display: grid; grid-template-columns: 110px 1fr 48px;
    gap: 12px; padding: 12px; text-decoration: none; color: var(--text);
    align-items: center;
}
.bb-product-img {
    width: 110px; height: 110px; border-radius: 10px; overflow: hidden;
    background: #f3f4f6; position: relative;
    display: flex; align-items: center; justify-content: center;
}
.bb-product-img img { width: 100%; height: 100%; object-fit: cover; }
.bb-no-img { font-size: 2.5rem; color: #cbd5e1; }
.bb-badge {
    position: absolute; top: 6px; left: 6px;
    background: var(--primary); color: #fff;
    padding: 2px 8px; border-radius: 10px;
    font-size: .65rem; font-weight: 700; letter-spacing: .04em;
}

.bb-product-body { min-width: 0; }
.bb-product-body h3 { font-size: 1rem; margin: 0 0 4px; line-height: 1.3; }
.bb-product-desc {
    margin: 0 0 6px; color: var(--muted); font-size: .82rem;
    overflow: hidden; text-overflow: ellipsis;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.bb-product-bottom { display: flex; flex-direction: column; gap: 2px; }
.bb-price-old { color: var(--muted); text-decoration: line-through; font-size: .82rem; }
.bb-price {
    color: var(--green); font-weight: 700; font-size: 1.05rem;
}

.bb-btn-add-circle {
    width: 36px; height: 36px; border-radius: 50%;
    border: 0; background: var(--primary); color: #fff;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: transform .15s, filter .15s;
}
.bb-btn-add-circle:hover { filter: brightness(1.1); transform: scale(1.1); }

.bb-empty {
    text-align: center; padding: 60px 20px; color: var(--muted);
    background: var(--card-bg); border-radius: 12px;
}

/* ── Avaliações (seção) ───────────────────────────────────────── */
.bb-reviews-section { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--border); }
.bb-reviews-grid { display: flex; flex-direction: column; gap: 12px; }
.bb-review-card {
    background: var(--card-bg); border-radius: 12px; padding: 14px;
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.bb-review-head { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 8px; }
.bb-review-avatar {
    width: 40px; height: 40px; border-radius: 50%;
    background: var(--primary); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 1.1rem; flex-shrink: 0;
}
.bb-review-name { margin: 0; font-size: .95rem; color: var(--text); }
.bb-review-stars { display: flex; align-items: center; gap: 1px; margin-top: 2px; }
.bb-review-stars i { font-size: .8rem; }
.bb-review-text { margin: 0; color: #444; font-size: .88rem; line-height: 1.45; }

/* ── Carrinho flutuante ───────────────────────────────────────── */
.bb-floating-cart {
    position: fixed; bottom: 16px; left: 14px; right: 14px; max-width: 690px; margin: 0 auto;
    background: var(--primary); color: #fff;
    padding: 14px 20px; border-radius: 28px;
    text-decoration: none; box-shadow: 0 6px 20px rgba(234,29,44,.45);
    display: flex; justify-content: space-between; align-items: center;
    z-index: 100; font-weight: 600;
}
.bb-floating-cart:hover { color: #fff; filter: brightness(1.05); }
.bb-floating-cart-total { font-weight: 700; }
.bb-floating-cart-cta { font-size: .9rem; opacity: .95; }
@media (max-width: 500px) {
    .bb-floating-cart-cta { display: none; }
}

/* ── Cart / Checkout / Payment / etc (reaproveita do anterior) ── */
.bb-cart { background: var(--card-bg); border-radius: 12px; padding: 16px; box-shadow: 0 1px 4px rgba(0,0,0,.06); }
.bb-cart-item {
    display: grid;
    /* coluna do qty agora é `auto` — ocupa só o espaço dos botões (~82px)
       em vez de 110px fixos, eliminando o "buraco" à direita do +.        */
    grid-template-columns: 50px 1fr auto 90px;
    align-items: center; gap: 10px;
    padding: 10px 0; border-bottom: 1px solid var(--border);
}
.bb-cart-qty { justify-self: end; }   /* alinha o grupo à direita da coluna */
.bb-cart-img { width: 50px; height: 50px; border-radius: 8px; object-fit: cover; background: #f3f4f6; display: flex; align-items: center; justify-content: center; }
.bb-cart-info h4 { margin: 0; font-size: .9rem; }
.bb-cart-qty { display: flex; align-items: center; gap: 4px; background: #f3f4f6; padding: 3px; border-radius: 18px; }
.bb-cart-qty button { width: 26px; height: 26px; border-radius: 50%; border: 0; background: #fff; cursor: pointer; font-weight: 700; }
.bb-cart-qty span { min-width: 22px; text-align: center; font-weight: 600; font-size: .9rem; }
.bb-cart-subtotal { font-weight: 700; text-align: right; position: relative; font-size: .9rem; }
.bb-cart-remove { background: none; border: 0; color: var(--muted); cursor: pointer; padding: 2px 4px; margin-left: 4px; }
.bb-cart-remove:hover { color: var(--primary); }
.bb-cart-total { display: flex; justify-content: space-between; padding: 14px 0; border-top: 2px solid var(--border); font-size: 1.1rem; }
.bb-cart-total strong { color: var(--green); }
/* align-items: center evita o "Voltar" esticar de altura pra bater com
   o "Continuar para entrega" quando esse último quebra em 2 linhas.
   Sem isso, align-items: stretch (default) fazia o botão claro ficar
   com 60-80px de altura em mobile, esteticamente estranho. */
.bb-cart-actions { display: flex; gap: 10px; margin-top: 10px; flex-wrap: wrap; align-items: center; }

/* Botões */
.bb-btn { display: inline-block; padding: 12px 20px; border-radius: 26px; text-decoration: none; font-weight: 600; border: 0; cursor: pointer; text-align: center; font-size: .95rem; flex: 1; }
.bb-btn-primary { background: var(--primary); color: #fff; }
.bb-btn-primary:hover { filter: brightness(1.1); color: #fff; }
.bb-btn-light { background: #f3f4f6; color: var(--text); }
.bb-btn-light:hover { background: #e5e7eb; color: var(--text); }
.bb-btn.w-100 { width: 100%; display: block; }

/* Form */
.bb-form label { display: block; font-size: .82rem; color: var(--muted); margin: 12px 0 4px; font-weight: 500; }
.bb-form input, .bb-form select, .bb-form textarea {
    width: 100%; padding: 10px 12px; border: 1px solid var(--border); border-radius: 8px;
    font-size: 1rem; background: #fff; color: var(--text);
}
.bb-form input:focus, .bb-form select:focus, .bb-form textarea:focus {
    border-color: var(--primary); outline: 0; box-shadow: 0 0 0 3px rgba(234,29,44,.1);
}
.bb-form-inline input { width: 100%; padding: 10px 12px; border: 1px solid var(--border); border-radius: 8px; margin-bottom: 8px; }
.bb-tab-buttons { display: flex; gap: 8px; margin-bottom: 16px; }
.bb-tab-buttons button { flex: 1; padding: 12px; border: 2px solid var(--border); background: #fff; border-radius: 8px; cursor: pointer; font-weight: 600; }
.bb-tab-buttons button.active { border-color: var(--primary); color: var(--primary); background: rgba(234,29,44,.06); }
.bb-summary { background: #f9fafb; padding: 14px; border-radius: 8px; }
.bb-summary > div { display: flex; justify-content: space-between; margin: 4px 0; }
.bb-summary-total { font-size: 1.2rem; padding-top: 8px; border-top: 1px solid var(--border); margin-top: 8px; }
.bb-error { background: #fef2f2; color: #b91c1c; padding: 10px 14px; border-radius: 8px; border-left: 4px solid #ef4444; margin: 12px 0; }

/* Pagamento */
.bb-payment-options { display: flex; flex-direction: column; gap: 12px; }
.bb-payment-option { display: flex; align-items: center; gap: 16px; padding: 16px 20px; background: var(--card-bg); border: 1px solid var(--border); border-radius: 12px; cursor: pointer; transition: all .15s; text-align: left; }
.bb-payment-option:hover { border-color: var(--primary); transform: translateY(-1px); }
.bb-payment-option > div:nth-child(2) { flex-grow: 1; }
.bb-payment-option h4 { margin: 0; }
.bb-payment-option p { margin: 0; font-size: .85rem; color: var(--muted); }
.bb-payment-icon { font-size: 2rem; }

/* PIX */
.bb-pix { background: var(--card-bg); border-radius: 12px; padding: 20px; display: grid; grid-template-columns: 260px 1fr; gap: 20px; }
@media (max-width: 700px) { .bb-pix { grid-template-columns: 1fr; } }
.bb-pix-qr { text-align: center; }
.bb-pix-qr img { width: 220px; height: 220px; border: 1px solid var(--border); border-radius: 8px; }
.bb-pix-total { background: #f9fafb; padding: 14px; border-radius: 8px; margin-bottom: 16px; }
.bb-pix-total span { color: var(--muted); display: block; font-size: .85rem; }
.bb-pix-total strong { font-size: 1.5rem; color: var(--green); }
.bb-pix-copypaste { display: flex; gap: 6px; align-items: center; margin-bottom: 16px; }
.bb-pix-copypaste code { flex-grow: 1; padding: 10px; background: #f3f4f6; border-radius: 6px; font-size: .72rem; word-break: break-all; }
.bb-pix-copypaste button { background: var(--primary); color: #fff; border: 0; padding: 10px 14px; border-radius: 6px; cursor: pointer; font-weight: 600; }

/* Modal */
.bb-modal { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 9999; display: flex; align-items: center; justify-content: center; padding: 20px; }
.bb-modal-content { background: #fff; padding: 24px; border-radius: 12px; max-width: 400px; width: 100%; }
.bb-modal-content label { display: block; margin: 12px 0 4px; }
/* Só aplica em inputs de texto — checkbox/radio mantém aparência nativa */
.bb-modal-content input[type=text],
.bb-modal-content input[type=email],
.bb-modal-content input[type=tel],
.bb-modal-content input[type=number],
.bb-modal-content input[type=password],
.bb-modal-content input[type=search] {
    width: 100%; padding: 10px;
    border: 1px solid var(--border); border-radius: 6px;
}

/* Sucesso */
.bb-success-icon { font-size: 5rem; color: var(--green); margin-bottom: 16px; }

/* Footer */
.bb-footer {
    text-align: center; padding: 24px 0; color: #fff; font-size: .85rem;
    margin-top: 40px;
}
.bb-footer p { margin: 4px 0; }
.bb-footer a { color: #fff; text-decoration: underline; opacity: .9; }
.bb-footer a:hover { opacity: 1; }

/* ── Opções escolhidas no carrinho ────────────────────────────── */
.bb-cart-options {
    background: #f9fafb; padding: 6px 10px; border-radius: 6px;
    margin: 4px 0; font-size: .78rem; color: #555;
}
.bb-cart-options > div { margin: 2px 0; }
.bb-cart-options strong { color: var(--text); }

/* ── Modal de opções estilo Tibursius/youdelivery ─────────────────────── */
.bb-options-content {
    max-width: 600px; width: 95%;
    max-height: 90vh;
    overflow: hidden;              /* deixa o body interno scrollar */
    position: relative;
    padding: 0 !important;          /* override do .bb-modal-content { padding: 24px } */
    border-radius: 21px;
    box-shadow: 0 12px 40px rgba(0,0,0,.4);
    display: flex; flex-direction: column;
}

/* Botão X dentro do header vermelho */
.bb-modal-close {
    position: absolute; top: 12px; right: 16px;
    background: rgba(255,255,255,.18);
    border: 0; color: #fff;
    width: 30px; height: 30px;
    border-radius: 50%;
    font-size: 1.4rem; line-height: 1;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    z-index: 2;
    transition: background .15s;
}
.bb-modal-close:hover { background: rgba(255,255,255,.35); color: #fff; }

/* H3 vira o header com gradient vermelho */
.bb-options-content h3 {
    margin: 0;
    padding: 16px 56px 16px 20px;
    background-image: linear-gradient(to right, #ad170c, var(--primary, #DA291C), #ad170c);
    color: #fff !important;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 21px 21px 0 0;
    flex-shrink: 0;
}

/* Form vira o body scrollável */
#bb-options-form {
    padding: 16px 20px;
    overflow-y: auto;
    flex: 1;
    background: #f5f5f5;            /* contraste com os panels brancos */
}

/* Cada grupo (Carnes, Acompanhamentos…) é um painel branco com borda */
.bb-opt-group {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    margin-bottom: 12px;
    overflow: hidden;
    padding: 0;
    border-top: 1px solid #ddd;     /* override do reset antigo */
}
.bb-opt-group:last-child { margin-bottom: 0; }

/* Heading cinza do panel */
.bb-opt-head {
    background: #f5f5f5;
    padding: 10px 14px;
    border-bottom: 1px solid #ddd;
    margin-bottom: 0;
    display: flex; align-items: center; justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
}
.bb-opt-head strong {
    color: #333;
    font-size: .95rem;
    font-weight: 600;
}
.bb-opt-head span[style*="color:#ea1d2c"] {
    color: var(--primary, #DA291C) !important;
    font-size: .7rem !important;
    font-weight: 700;
    text-transform: uppercase;
    background: rgba(218,41,28,.1);
    padding: 2px 8px;
    border-radius: 10px;
    margin-left: 0 !important;
}
.bb-opt-head .bb-opt-minmax {
    font-size: .75rem;
    color: #888;
    font-weight: 600;
    margin-left: auto;
}

/* Linhas de opção dentro do panel */
.bb-opt-row {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 14px;
    border: 0;
    border-bottom: 1px solid #f5f5f5;
    border-radius: 0;
    cursor: pointer;
    transition: background .12s;
    margin: 0;
}
.bb-opt-row:last-child { border-bottom: 0; }
.bb-opt-row:hover { background: rgba(218,41,28,.04); }
.bb-opt-row input[type=checkbox],
.bb-opt-row input[type=radio] {
    margin: 0;
    width: 18px; height: 18px;
    flex-shrink: 0;
    cursor: pointer;
    accent-color: var(--primary, #DA291C);
}
.bb-opt-name {
    flex: 1;
    font-size: .92rem;
    color: #333;
    line-height: 1.3;
}
.bb-opt-extra {
    color: forestgreen;
    font-weight: 600;
    font-size: .85rem;
    white-space: nowrap;
}

/* Footer com gradient vermelho */
.bb-options-footer {
    position: static !important;    /* override do absolute antigo */
    background-image: linear-gradient(to right, #ad170c, var(--primary, #DA291C), #ad170c);
    padding: 14px 20px;
    border-top: 0;
    display: flex; justify-content: space-between; align-items: center;
    gap: 12px;
    color: #fff;
    flex-shrink: 0;
    border-radius: 0 0 21px 21px;
}
.bb-options-footer > div {
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    text-shadow: 0 1px 2px rgba(0,0,0,.2);
}
.bb-options-footer strong {
    color: #fff;
    font-size: 1.15rem;
}
.bb-options-footer .bb-btn-primary {
    background: #5cb85c;
    color: #fff;
    border: 0;
    padding: 10px 22px;
    border-radius: 6px;
    font-weight: 700;
    font-size: .92rem;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: .5px;
    box-shadow: 0 2px 6px rgba(0,0,0,.2);
    transition: background .15s;
}
.bb-options-footer .bb-btn-primary:hover { background: #4cae4c; }

/* ── Upsell (sugestões no checkout) ───────────────────────────── */
.bb-upsell-section {
    background: #fff; border-radius: 12px; padding: 18px;
    margin-bottom: 24px; box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.bb-upsell-section h3 { font-size: 1.1rem; }
.bb-upsell-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 12px;
}
.bb-upsell-card {
    background: #f9fafb; border: 1px solid var(--border); border-radius: 10px;
    padding: 12px; text-align: center; position: relative;
    display: flex; flex-direction: column; gap: 6px;
}
.bb-upsell-badge {
    position: absolute; top: 6px; left: 6px;
    background: var(--primary); color: #fff;
    padding: 2px 8px; border-radius: 10px;
    font-size: .65rem; font-weight: 700;
}
.bb-upsell-img {
    height: 70px; display: flex; align-items: center; justify-content: center;
    background: #fff; border-radius: 8px; overflow: hidden;
}
.bb-upsell-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.bb-upsell-card h4 { margin: 0; font-size: .9rem; }
.bb-upsell-desc { margin: 0; font-size: .75rem; color: var(--muted); line-height: 1.3; }
.bb-upsell-prices { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.bb-upsell-prices strong { color: var(--green); font-size: 1rem; }
.bb-upsell-btn {
    background: var(--primary); color: #fff; border: 0;
    padding: 8px 12px; border-radius: 18px; cursor: pointer;
    font-size: .82rem; font-weight: 600; transition: filter .15s;
}
.bb-upsell-btn:hover { filter: brightness(1.1); }
.bb-upsell-btn:disabled { opacity: .6; cursor: not-allowed; }
.bb-upsell-btn.bb-upsell-added { background: var(--green); }

/* Stepper [-] qty [+] no upsell — o "adicionado" agora vira controle
   de quantidade em vez de um botão único "Remover". Wrapper esticado
   pra o botão manter a largura antiga; stepper fica centralizado. */
.bb-upsell-cta { display: flex; justify-content: center; }
.bb-upsell-cta .bb-upsell-btn { width: 100%; }
.bb-stepper {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 4px 6px; border: 2px solid var(--primary); border-radius: 20px;
    background: #fff;
}
.bb-stepper-btn {
    width: 28px; height: 28px; border: 0; border-radius: 50%;
    background: var(--primary); color: #fff; cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: .75rem; transition: filter .15s;
}
.bb-stepper-btn:hover { filter: brightness(1.1); }
.bb-stepper-btn:disabled { opacity: .5; cursor: not-allowed; }
.bb-stepper-qty {
    min-width: 20px; text-align: center;
    color: var(--primary); font-weight: 700; font-size: .95rem;
}

/* ── Responsivo ───────────────────────────────────────────────── */
@media (max-width: 480px) {
    .bb-cover { height: 160px; }
    .bb-logo-wrap { width: 80px; height: 80px; bottom: -40px; }
    .bb-brand-name { font-size: 1.3rem; margin-top: 50px; }
    .bb-status-open, .bb-status-closed { padding: 5px 10px; font-size: .72rem; }
    .bb-cart-fab { width: 38px; height: 38px; }
    .bb-product-link { grid-template-columns: 90px 1fr 38px; gap: 10px; padding: 10px; }
    .bb-product-img { width: 90px; height: 90px; }
    .bb-product-body h3 { font-size: .92rem; }
    .bb-price { font-size: .98rem; }
    .bb-btn-add-circle { width: 32px; height: 32px; }
    .bb-cart-item { grid-template-columns: 44px 1fr auto 70px; gap: 8px; }
    .bb-cart-info h4 { font-size: .82rem; }
    .container { padding: 0 10px; }
}
