/* ==========================================================================
   BRUTU'S DELIVERY — CARDÁPIO PROFISSIONAL v2.8.0
   Camada visual isolada: não altera IDs, eventos, regras de checkout ou API.
   ========================================================================== */
:root{
  --menu-surface: rgba(255,255,255,.045);
  --menu-surface-strong: rgba(255,255,255,.07);
  --menu-border: rgba(255,255,255,.085);
  --menu-border-hot: rgba(255,112,43,.34);
  --menu-glow: rgba(255,90,31,.16);
}

body{ background-attachment:fixed; }
#app{ min-height:100vh; }

/* Cabeçalho e marca */
.brand-block{ display:flex; flex-direction:column; justify-content:center; }
.brand-kicker{
  display:block; margin:0 0 3px; color:var(--accent); font-size:9px; font-weight:900;
  line-height:1; letter-spacing:.12em; text-transform:uppercase;
}
.app-header{ border-bottom:1px solid rgba(255,255,255,.055); }
.header-top{ min-height:72px; }
.logo-selo{ background:linear-gradient(145deg,rgba(255,90,31,.12),rgba(255,177,0,.04)); }
.meus-pedidos-btn{
  min-height:40px; padding:8px 12px; background:rgba(255,255,255,.055);
  border-color:rgba(255,255,255,.1); box-shadow:inset 0 1px 0 rgba(255,255,255,.025);
}
.meus-pedidos-btn:hover{ background:rgba(255,90,31,.08); }

.search-box{
  position:relative; min-height:50px; border-radius:16px;
  background:linear-gradient(145deg,rgba(255,255,255,.065),rgba(255,255,255,.035));
}
.search-box svg{ color:var(--accent); opacity:.92; }
.search-box input{ font-weight:600; }
.search-box input::placeholder{ color:#8f8175; font-weight:500; }

/* Navegação */
.category-nav{ box-shadow:0 10px 28px rgba(0,0,0,.18); }
.category-scroll{ gap:8px; }
.chip{
  min-height:42px; border-radius:13px; font-weight:800; letter-spacing:.005em;
  background:linear-gradient(145deg,rgba(255,255,255,.05),rgba(255,255,255,.026));
}
.chip .chip-icon{ display:grid; place-items:center; width:21px; height:21px; font-size:15px; }
.chip[aria-current="true"]{
  color:#160b05; box-shadow:0 8px 25px rgba(255,90,31,.25),inset 0 1px 0 rgba(255,255,255,.28);
}

/* Hero */
.hero-banner{ isolation:isolate; }
.hero-banner::before{
  content:""; position:absolute; inset:0; pointer-events:none; z-index:0;
  background:linear-gradient(90deg,rgba(255,255,255,.035),transparent 28%);
}
.hero-text,.hero-mascot{ position:relative; z-index:2; }
.hero-eyebrow{
  display:inline-flex; align-items:center; gap:6px; margin:0 0 7px; color:#ffc46b;
  font-size:9px; font-weight:900; letter-spacing:.14em; text-transform:uppercase;
}
.hero-eyebrow::before{ content:""; width:18px; height:2px; border-radius:999px; background:var(--accent); }
.hero-title{ margin-bottom:8px; }
.hero-slogan{ max-width:520px; }
.hero-banner.modo-imagem .hero-eyebrow{ display:inline-flex; }

/* Benefícios rápidos */
.service-highlights{ grid-template-columns:repeat(4,minmax(0,1fr)); gap:9px; margin-top:-4px; }
.service-highlight{
  position:relative; overflow:hidden; min-height:72px; padding:13px;
  background:linear-gradient(145deg,rgba(255,255,255,.055),rgba(255,255,255,.025));
  border-color:var(--menu-border); box-shadow:0 9px 26px rgba(0,0,0,.16);
}
.service-highlight::after{
  content:""; position:absolute; width:72px; height:72px; border-radius:50%; right:-42px; bottom:-48px;
  background:radial-gradient(circle,rgba(255,90,31,.13),transparent 68%); pointer-events:none;
}
.service-highlight>span{ width:34px; height:34px; display:grid; place-items:center; border-radius:11px; background:rgba(255,90,31,.085); }
.service-highlight strong{ color:#fff6ec; }

/* Seções */
.section-heading{ display:flex; align-items:center; gap:12px; margin-top:28px; }
.section-heading .section-title{ flex:1; margin:0; }
.section-count{
  flex:0 0 auto; color:var(--text-faint); font-size:10px; font-weight:800; text-transform:uppercase;
  letter-spacing:.05em; padding:5px 8px; border:1px solid rgba(255,255,255,.07); border-radius:999px;
  background:rgba(255,255,255,.025);
}
.section-heading + .product-grid{ margin-top:11px; }

/* Vitrine e produtos */
.destaques-section{ padding:2px 0 4px; }
.destaque-card{
  border-radius:18px; background:linear-gradient(155deg,rgba(255,255,255,.06),rgba(255,255,255,.025));
}
.destaque-photo{ position:relative; }
.destaque-photo::after{ content:""; position:absolute; inset:auto 0 0; height:35%; background:linear-gradient(transparent,rgba(0,0,0,.36)); pointer-events:none; }
.destaque-nome{ color:#fff8ef; }

.product-card{
  min-width:0; overflow:hidden; border-radius:18px;
  background:linear-gradient(145deg,rgba(255,255,255,.06),rgba(255,255,255,.022));
}
.product-card::after{
  content:""; position:absolute; left:0; top:15%; bottom:15%; width:2px; border-radius:999px;
  background:linear-gradient(var(--accent),var(--ember)); opacity:0; transition:opacity .2s ease;
}
.product-card:hover::after,.product-card:focus-visible::after{ opacity:1; }
.product-photo{ box-shadow:0 8px 22px rgba(0,0,0,.24); }
.product-name{ color:#fffaf3; letter-spacing:-.01em; }
.product-desc{ color:#bbaa9b; }
.product-bottom{ gap:10px; }
.product-price{
  border-radius:10px; color:#ffd36f; background:linear-gradient(145deg,rgba(255,177,0,.10),rgba(255,177,0,.045));
}
.btn-add-mini{
  flex:0 0 auto; border:1px solid rgba(255,255,255,.12); color:#1c0d05;
  box-shadow:0 9px 22px rgba(255,90,31,.28),inset 0 1px 0 rgba(255,255,255,.25);
}
.badge-destaque,.badge-lancamento{ backdrop-filter:blur(8px); -webkit-backdrop-filter:blur(8px); }

/* Modal de produto */
#product-sheet{ overflow:hidden auto; }
.product-modal-photo{ background:#0c0907; }
.product-modal-body{ padding:20px 20px 22px; }
.product-modal-title{ font-size:25px; letter-spacing:.1px; }
.product-modal-desc{ color:#c5b4a5; }
.info-block{
  padding:14px; margin:0 0 11px; border:1px solid rgba(255,255,255,.065); border-radius:14px;
  background:rgba(255,255,255,.022);
}
.info-block h3{ margin-bottom:10px; }
.addon-row{ min-height:48px; }
.tag{ background:rgba(255,255,255,.045); border-color:rgba(255,255,255,.075); }
.modal-footer{ box-shadow:0 -16px 36px rgba(0,0,0,.26); }
.qty-btn{ background:rgba(255,90,31,.06); }

/* Sacola e checkout */
#cart-sheet{ background:linear-gradient(180deg,#17120f,#100d0b); }
.cart-header{ padding-top:20px; }
.cart-title{ font-size:25px; }
.checkout-steps{ margin:0 18px 10px; padding:11px 12px; border:1px solid rgba(255,255,255,.065); border-radius:14px; background:rgba(255,255,255,.022); }
.cart-item{ border-radius:15px; background:linear-gradient(145deg,rgba(255,255,255,.052),rgba(255,255,255,.022)); }
.cart-item-photo{ box-shadow:0 7px 18px rgba(0,0,0,.22); }
.cart-summary{ margin:14px 18px 10px; border-radius:15px; border:1px solid rgba(255,255,255,.07); background:rgba(255,255,255,.025); }
.form-section{ margin:0 18px 10px; padding:15px 0; }
.form-section h3{ letter-spacing:.07em; }
.text-input,textarea.obs-input,select.text-input{
  min-height:48px; border-radius:13px; background:rgba(255,255,255,.045); border-color:rgba(255,255,255,.09);
}
textarea.obs-input{ min-height:76px; }
.segmented{ padding:4px; border-radius:14px; background:rgba(255,255,255,.035); border:1px solid rgba(255,255,255,.07); }
.segmented button{ min-height:44px; border-radius:10px; }
.payment-option{ min-height:52px; border-radius:13px; background:rgba(255,255,255,.028); }
.payment-option[aria-pressed="true"]{ background:rgba(255,90,31,.075); box-shadow:inset 0 0 0 1px rgba(255,90,31,.12); }
.pix-after-order-note{
  margin-top:13px!important; border-radius:14px!important; border-color:rgba(255,177,0,.28)!important;
  background:linear-gradient(145deg,rgba(255,177,0,.085),rgba(255,90,31,.045))!important;
}
.checkout-nav{ border-top:1px solid rgba(255,255,255,.045); backdrop-filter:blur(10px); -webkit-backdrop-filter:blur(10px); }
.review-card{ border-radius:15px; }
.finalize-footer{ border-top-color:rgba(255,255,255,.065)!important; }
.checkout-alert-card{ border-radius:14px; }
.btn-whatsapp{ min-height:56px; border-radius:15px; }

/* Carrinho flutuante */
.cart-bar-inner{ border:1px solid rgba(255,255,255,.2); }
.cart-bar-label{ font-weight:900; }
.cart-bar-cta{ font-size:15px; }

/* Pedido ativo / tracking */
.pedido-ativo-banner{ box-shadow:0 10px 28px rgba(0,0,0,.18); }
.tracking-card{ background:linear-gradient(145deg,rgba(255,255,255,.05),rgba(255,255,255,.022)); border-radius:17px; }
.tracking-status{ border:1px solid currentColor; }

/* Modal pós-pedido / Pix */
.order-modal{
  border:1px solid rgba(255,255,255,.085)!important; border-radius:22px!important;
  background:linear-gradient(160deg,#1c1511,#100d0b)!important; box-shadow:0 28px 90px rgba(0,0,0,.68)!important;
}
.order-modal-icon{ width:54px; height:54px; display:grid; place-items:center; margin:0 auto 10px; border-radius:17px; background:rgba(255,90,31,.09); }
.pix-info{ border-radius:16px!important; }
.pix-qrcode-wrap{ border-radius:16px!important; }

/* Rodapé */
.app-footer{ position:relative; }
.app-footer::before{ content:"CARDÁPIO OFICIAL"; display:block; width:max-content; margin:0 0 12px; color:var(--accent); font-size:9px; font-weight:900; letter-spacing:.14em; }
.footer-info>a,.footer-info>div{ transition:border-color .18s ease,background .18s ease,transform .18s ease; }
.footer-info>a:hover{ border-color:rgba(255,90,31,.28); background:rgba(255,90,31,.055); transform:translateY(-1px); }

/* Desktop amplo */
@media (min-width:1100px){
  .hero-banner{ min-height:250px; }
  .product-grid{ gap:15px; }
  .product-card{ min-height:152px; padding:14px; }
  .product-photo{ flex-basis:126px; width:126px; height:126px; }
}

/* Tablet */
@media (max-width:799px){
  .service-highlights{ grid-template-columns:repeat(2,minmax(0,1fr)); }
}

/* Celular */
@media (max-width:520px){
  .brand-kicker{ font-size:8px; }
  .header-top{ min-height:64px; }
  .search-box{ min-height:46px; }
  .category-scroll{ padding-top:9px; padding-bottom:9px; }
  .chip{ min-height:38px; padding:8px 12px; font-size:13px; }
  .hero-eyebrow{ font-size:8px; letter-spacing:.11em; }
  .service-highlights{ grid-template-columns:repeat(2,minmax(0,1fr)); gap:7px; }
  .service-highlight{ min-height:64px; grid-template-columns:29px 1fr; padding:10px; }
  .service-highlight>span{ width:29px; height:29px; font-size:16px; }
  .service-highlight strong{ font-size:11.5px; }
  .service-highlight small{ font-size:9.5px; text-align:left; white-space:normal; line-height:1.2; }
  .section-heading{ margin-top:24px; }
  .section-count{ font-size:9px; }
  .product-card{ gap:11px; padding:10px; border-radius:15px; }
  .product-photo{ flex-basis:100px; width:100px; height:100px; }
  .product-name{ font-size:15px; }
  .product-desc{ font-size:12px; line-height:1.38; }
  .product-price{ font-size:14px; padding:4px 7px; }
  .btn-add-mini{ width:34px; height:34px; }
  .product-modal-body{ padding:17px 15px 20px; }
  .info-block{ padding:12px; }
  .checkout-steps{ margin-left:12px; margin-right:12px; }
  .form-section{ margin-left:14px; margin-right:14px; }
}

@media (max-width:360px){
  .service-highlights{ grid-template-columns:1fr; }
  .service-highlight{ min-height:auto; }
  .product-photo{ flex-basis:90px; width:90px; height:90px; }
  .product-desc{ -webkit-line-clamp:2; }
}

/* ==========================================================================
   BRUTU'S DELIVERY — refinamento de experiência v2.8.0
   Busca mais clara, CTA dos produtos, fallback de imagem e hierarquia visual.
   ========================================================================== */

/* Busca: ação explícita de limpar + resumo do resultado */
.search-box{ overflow:hidden; }
.search-clear{
  flex:0 0 auto;
  width:32px;height:32px;
  display:grid;place-items:center;
  padding:0;border:0;border-radius:10px;
  background:rgba(255,255,255,.055);
  color:#d7c9bc;font-size:22px;line-height:1;
  cursor:pointer;
  transition:background .16s ease,color .16s ease,transform .16s ease;
}
.search-clear:hover{ background:rgba(255,90,31,.12);color:#fff; }
.search-clear:active{ transform:scale(.94); }
.search-feedback{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding:8px 3px 0;
  color:#aa9b8e;font-size:11.5px;
}
.search-feedback span{
  min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}
.search-feedback button{
  flex:0 0 auto;border:0;background:none;padding:2px 0;
  color:#ffad73;font-size:11.5px;font-weight:800;cursor:pointer;
}
.search-feedback button:hover{ color:#ffd0ae;text-decoration:underline; }

/* Carrossel: cabeçalho editorial, sem voltar a parecer "Destaques" antigo */
.promo-carousel-section{ margin-top:18px; }
.promo-carousel-heading{
  display:flex;align-items:flex-end;justify-content:space-between;gap:14px;
  padding:0 3px 9px;
}
.promo-carousel-heading>div{ display:grid;gap:2px; }
.promo-carousel-heading span{
  color:#ff8b4b;font-size:9px;font-weight:950;letter-spacing:.14em;text-transform:uppercase;
}
.promo-carousel-heading strong{
  color:#fff8f0;font-size:15px;line-height:1.2;letter-spacing:-.012em;
}
.promo-carousel-heading small{
  color:#7f7369;font-size:10px;white-space:nowrap;
}
.promo-carousel{
  border-color:rgba(255,111,40,.42);
  box-shadow:0 22px 54px rgba(0,0,0,.42),inset 0 1px 0 rgba(255,255,255,.04);
}
.promo-carousel-slide{
  box-shadow:0 10px 28px rgba(0,0,0,.20);
}
.promo-carousel-slide::after{
  content:"";position:absolute;inset:0;pointer-events:none;z-index:3;
  border-radius:inherit;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.025);
}
.promo-carousel-slide:hover .promo-carousel-image{ transform:scale(1.045); }
.promo-carousel-image{ transition:transform .45s ease; }

/* Cartões de produto: intenção de ação visível, sem perder o + rápido */
.product-card{
  border-color:rgba(255,255,255,.085);
  box-shadow:0 12px 32px rgba(0,0,0,.21);
}
.product-card:hover{
  background:linear-gradient(145deg,rgba(255,255,255,.072),rgba(255,255,255,.028));
}
.product-info{ min-width:0; }
.product-name{ font-weight:800; }
.product-action{
  display:inline-flex;align-items:center;gap:8px;
  flex:0 0 auto;
}
.product-action-hint{
  color:#bca99a;font-size:10.5px;font-weight:850;
  text-transform:uppercase;letter-spacing:.045em;
}
.product-card:hover .product-action-hint{ color:#ffd0b8; }
.product-serving{
  width:max-content;max-width:100%;
  margin-top:6px;padding:4px 7px;
  border:1px solid rgba(255,177,0,.14);border-radius:999px;
  background:rgba(255,177,0,.055);
  color:#d8b871;font-size:10.5px;font-weight:750;
}
.product-photo.is-image-fallback{
  display:grid;place-items:center;
  background:
    radial-gradient(circle at 50% 35%,rgba(255,90,31,.16),transparent 55%),
    linear-gradient(145deg,#24170f,#110e0c);
}
.product-photo-fallback{
  font-size:38px;filter:grayscale(.15) drop-shadow(0 8px 16px rgba(0,0,0,.35));
}
.product-photo.is-image-fallback::after{
  content:"Imagem em atualização";
  position:absolute;left:7px;right:7px;bottom:7px;
  padding:3px 5px;border-radius:7px;
  background:rgba(0,0,0,.55);
  color:#bba99b;font-size:8.5px;font-weight:800;text-align:center;
}

/* Seções com leitura mais editorial */
.section-heading{
  padding-bottom:8px;
  border-bottom:1px solid rgba(255,255,255,.055);
}
.section-heading .section-title::after{ opacity:.45; }
.section-count{
  background:rgba(255,255,255,.035);
  border-color:rgba(255,255,255,.085);
}

/* Teclado / foco mais nítidos */
.search-clear:focus-visible,.search-feedback button:focus-visible{
  outline:2px solid #ffb07d;outline-offset:2px;
}

/* Desktop: mantém 3 campanhas visíveis e melhora a densidade */
@media (min-width:1100px){
  .promo-carousel-slide{ height:260px; }
  .promo-carousel-content{ padding:20px 20px 18px; }
  .promo-carousel-content p{ font-size:12px; }
  .product-card{ min-height:158px; }
}

/* Mobile: preserva área útil e não aperta o preço */
@media (max-width:520px){
  .search-feedback{ padding-left:2px;padding-right:2px; }
  .promo-carousel-heading{ align-items:flex-start; }
  .promo-carousel-heading small{ display:none; }
  .promo-carousel-heading strong{ font-size:14px; }
  .product-action-hint{ display:none; }
  .product-serving{ font-size:9.5px; }
  .section-heading{ padding-bottom:6px; }
}

@media (prefers-reduced-motion:reduce){
  .promo-carousel-image,.search-clear{ transition:none!important; }
}


/* ==========================================================================
   BRUTU'S DELIVERY — refinamentos v2.9.1
   ========================================================================== */
.menu-insights{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;
  margin:10px 0 8px;
}
.menu-insight{
  min-height:58px;display:flex;align-items:center;gap:10px;padding:10px 12px;
  border:1px solid rgba(255,255,255,.075);border-radius:14px;
  background:linear-gradient(145deg,rgba(255,255,255,.045),rgba(255,255,255,.018));
  box-shadow:0 8px 24px rgba(0,0,0,.12);
}
.menu-insight>span{
  flex:0 0 32px;width:32px;height:32px;display:grid;place-items:center;border-radius:10px;
  background:rgba(255,90,31,.08);font-size:16px;
}
.menu-insight div{min-width:0;display:grid;gap:2px}
.menu-insight small{color:#8f8175;font-size:9px;font-weight:850;letter-spacing:.075em;text-transform:uppercase}
.menu-insight strong{overflow:hidden;text-overflow:ellipsis;color:#f7eee5;font-size:12px;white-space:nowrap}

.back-to-top{
  position:fixed;right:max(16px,env(safe-area-inset-right));bottom:calc(92px + env(safe-area-inset-bottom));z-index:78;
  width:42px;height:42px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.14);border-radius:13px;
  background:rgba(20,16,13,.92);color:#ffd2b7;font-size:20px;font-weight:900;cursor:pointer;
  box-shadow:0 14px 38px rgba(0,0,0,.34);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);
  transition:transform .18s ease,border-color .18s ease,background .18s ease;
}
.back-to-top:hover{transform:translateY(-2px);border-color:rgba(255,90,31,.42);background:#21150f}
.back-to-top:focus-visible{outline:2px solid #ffb07d;outline-offset:3px}

@media (max-width:640px){
  .menu-insights{display:flex;overflow-x:auto;scroll-snap-type:x proximity;padding-bottom:2px;scrollbar-width:none}
  .menu-insights::-webkit-scrollbar{display:none}
  .menu-insight{flex:0 0 min(72vw,245px);scroll-snap-align:start}
  .back-to-top{right:12px;width:40px;height:40px;border-radius:12px}
}

@media (prefers-reduced-motion:reduce){
  .back-to-top{transition:none}
}

/* ===== Brutu's Delivery v2.9.1 — acompanhamento e disponibilidade ===== */
.tracking-eta{
  display:grid;
  grid-template-columns:auto 1fr auto;
  gap:5px 10px;
  align-items:center;
  margin:10px 0 14px;
  padding:11px 12px;
  border:1px solid rgba(255,138,0,.28);
  border-radius:13px;
  background:linear-gradient(135deg,rgba(255,138,0,.10),rgba(255,255,255,.025));
  font-size:11.5px;
  color:var(--text-dim);
}
.tracking-eta>span{font-weight:800;color:var(--text);}
.tracking-eta>strong{color:var(--accent);font-size:13px;white-space:nowrap;}
.tracking-eta>small{grid-column:2 / -1;color:var(--text-faint);font-size:10px;}
.tracking-eta.pronto,.tracking-eta.rota{grid-template-columns:auto 1fr;}
.tracking-eta.pronto>strong,.tracking-eta.rota>strong{color:var(--text);white-space:normal;}
@media(max-width:520px){
  .tracking-eta{grid-template-columns:auto 1fr;}
  .tracking-eta>strong{grid-column:2;justify-self:start;}
  .tracking-eta>small{grid-column:2;}
}
