/* Public menu, 01/11/2026. Scoped overrides for legacy theme rules. */
body.store-layout .store-hero-v2 .store-quick-info{
  display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;
  grid-auto-flow:row!important;gap:8px!important;width:100%!important;min-width:0!important;
  margin-top:14px!important;align-items:stretch!important;
}
body.store-layout .store-hero-v2 .store-quick-info>.store-info-card{
  display:flex!important;flex-direction:column!important;align-items:center!important;
  justify-content:center!important;gap:4px!important;min-width:0!important;width:auto!important;
  min-height:64px!important;margin:0!important;padding:9px 5px!important;
  border:1px solid rgba(255,255,255,.55)!important;border-radius:16px!important;
  background:rgba(255,255,255,.96)!important;color:#17202b!important;
  box-shadow:none!important;text-align:center!important;white-space:normal!important;
}
body.store-layout .store-hero-v2 .store-quick-info>.store-info-card>i{
  display:block;font-style:normal;font-size:18px;line-height:1.15;flex:none;
}
body.store-layout .store-hero-v2 .store-quick-info>.store-info-card>b{
  display:block;min-width:0;max-width:100%;font-size:clamp(10.5px,2.65vw,13px);
  line-height:1.25;font-weight:750;overflow-wrap:anywhere;white-space:normal;
}
/* Product photography keeps the entire original frame: no zoom/crop on portrait or wide photos. */
body.store-layout .product-card.store-product-v2 .product-photo-wrap,
body.store-layout .menu-section.menu-section-collapsible>.product-list .product-card.store-product-v2 .product-photo-wrap{
  display:flex!important;align-items:center!important;justify-content:center!important;
  padding:5px!important;overflow:hidden!important;background:#fff!important;
  border:1px solid #edf0f3!important;box-shadow:none!important;transform:none!important;
}
body.store-layout .product-card.store-product-v2 .product-photo-wrap>img,
body.store-layout .menu-section.menu-section-collapsible>.product-list .product-card.store-product-v2 .product-photo-wrap>img{
  display:block!important;width:100%!important;height:100%!important;min-width:0!important;
  max-width:100%!important;max-height:100%!important;object-fit:contain!important;
  object-position:center!important;aspect-ratio:auto!important;transform:none!important;
  margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:#fff!important;
}
body.store-layout .checkout-cart-photo-box>img,
body.public-layout .product-seo-photo>img,
body.public-layout .product-seo-related-card>img{
  object-fit:contain!important;object-position:center!important;background:#fff!important;
  padding:6px!important;transform:none!important;
}
@media(max-width:400px){
  body.store-layout .store-hero-v2 .store-quick-info{gap:5px!important}
  body.store-layout .store-hero-v2 .store-quick-info>.store-info-card{padding:8px 3px!important;border-radius:12px!important;min-height:62px!important}
}

@media(max-width:760px){
  body.store-layout .product-card.store-product-v2,
  body.store-layout .menu-section.menu-section-collapsible>.product-list .product-card.store-product-v2{
    --menu-photo-size:clamp(70px,20vw,86px);grid-template-columns:var(--menu-photo-size) minmax(0,1fr)!important;
  }
  body.store-layout .product-card.store-product-v2 .product-photo-wrap,
  body.store-layout .menu-section.menu-section-collapsible>.product-list .product-card.store-product-v2 .product-photo-wrap{
    width:var(--menu-photo-size)!important;min-width:var(--menu-photo-size)!important;height:var(--menu-photo-size)!important;
  }
}


/* 02/11/2026 - Quantidades antes da adição e no checkout - responsivo */
body.store-layout #productSheet .product-quantity-picker{
  display:grid;gap:6px;margin:14px 0 8px;padding:12px;border-radius:17px;
  background:#f8fafc;border:1px solid #e2e8f0;
}
body.store-layout #productSheet .product-qty-heading{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:5px}
body.store-layout #productSheet .product-qty-heading b{font-size:1rem;color:#0f172a}
body.store-layout #productSheet .product-qty-heading small{color:#64748b;font-size:.76rem}
body.store-layout #productSheet .product-quantity-picker .qty-row{margin:2px auto!important;gap:8px!important;padding:0!important;background:transparent!important}
body.store-layout #productSheet .product-quantity-picker .qty-row button{
  width:46px!important;height:46px!important;min-width:46px!important;
  border:1px solid #e2e8f0!important;border-radius:12px!important;
  color:#0f172a!important;background:#fff!important;font-size:1.45rem!important;cursor:pointer;
}
body.store-layout #productSheet .product-quantity-picker .qty-row button:disabled{opacity:.4;cursor:default}
body.store-layout #productSheet #qtyInput{
  width:76px!important;min-height:46px!important;height:46px!important;text-align:center!important;
  padding:4px!important;margin:0!important;border-radius:12px!important;
  border:1px solid #cbd5e1!important;background:#fff!important;font-size:1.2rem!important;font-weight:900!important;
  -moz-appearance:textfield;
}
body.store-layout #productSheet #qtyInput::-webkit-inner-spin-button,
body.store-layout #productSheet #qtyInput::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
body.store-layout #productSheet .product-qty-total{display:flex;justify-content:space-between;align-items:center;gap:10px;color:#334155;font-size:.9rem}
body.store-layout #productSheet .product-qty-total strong{color:var(--primary,#e11d48);font-size:1.12rem}
body.store-layout #productSheet #addCart{font-size:.91rem!important;line-height:1.2!important;padding:12px 10px!important}
#cartSheet.checkout-modern .checkout-cart-side{min-width:104px}
#cartSheet.checkout-modern .cart-qty-control{
  display:flex;align-items:center;justify-content:space-between;gap:3px;
  padding:3px;border:1px solid #e2e8f0;border-radius:13px;background:#f8fafc;
}
#cartSheet.checkout-modern .cart-qty-control button{
  display:grid;place-items:center;width:34px;height:34px;min-width:34px;
  border:0;border-radius:10px;background:#fff;color:#0f172a;
  font:900 1.3rem/1 system-ui, sans-serif;cursor:pointer;
}
#cartSheet.checkout-modern .cart-qty-control button:disabled{opacity:.35;cursor:default}
#cartSheet.checkout-modern .cart-qty-control output{min-width:18px;font-weight:900;text-align:center;font-size:.95rem;color:#0f172a}
#cartSheet.checkout-modern .cart-remove-button{font-size:.69rem!important;padding:4px 8px!important}
@media(max-width:760px){
  #cartSheet.checkout-modern .checkout-cart-item.checkout-cart-photo{grid-template-columns:49px minmax(0,1fr) 104px!important;gap:6px!important;padding:8px!important}
  #cartSheet.checkout-modern .checkout-cart-photo-box,#cartSheet.checkout-modern .checkout-cart-photo-box img{width:49px!important;height:49px!important}
  #cartSheet.checkout-modern .checkout-cart-main b{font-size:.8rem!important;overflow-wrap:anywhere}
  #cartSheet.checkout-modern .checkout-cart-side{min-width:104px!important}
  #cartSheet.checkout-modern .cart-qty-control button{width:31px;height:31px;min-width:31px}
  #cartSheet.checkout-modern .cart-qty-control output{font-size:.85rem}
}
@media(max-width:365px){
  #cartSheet.checkout-modern .checkout-cart-item.checkout-cart-photo{grid-template-columns:42px minmax(0,1fr) 98px!important;gap:5px!important}
  #cartSheet.checkout-modern .checkout-cart-photo-box,#cartSheet.checkout-modern .checkout-cart-photo-box img{width:42px!important;height:42px!important}
  #cartSheet.checkout-modern .checkout-cart-side{min-width:98px!important}
  #cartSheet.checkout-modern .cart-qty-control button{width:29px;height:29px;min-width:29px}
}


/* 03/11/2026 - 5 ajustes da vitrine pública: menos altura, navegação estável e retirada. */
/* O cabeçalho duplicado foi eliminado no HTML. Esta regra cobre eventuais caches antigos. */
body.store-layout .store-customer-toolbar{display:none!important}
body.store-layout .store-hero-v2{
  min-height:0!important;height:auto!important;
  padding:64px 16px 12px!important;
  gap:9px!important;
  align-content:start!important;
  border-radius:0 0 22px 22px!important;
}
body.store-layout .store-hero-v2 .store-head-v2{gap:9px!important;align-items:center!important}
body.store-layout .store-hero-v2 .store-head-v2>img{
  width:65px!important;height:65px!important;flex:0 0 65px!important;
  border-radius:18px!important;border-width:2px!important
}
body.store-layout .store-hero-v2 .store-identity h1{
  font-size:clamp(1.5rem,4vw,2.4rem)!important;line-height:1.08!important;
  margin:3px 0!important;letter-spacing:-.04em!important;overflow-wrap:anywhere!important
}
body.store-layout .store-hero-v2 .store-identity p{
  font-size:.76rem!important;line-height:1.2!important;margin:2px 0!important;-webkit-line-clamp:1!important
}
body.store-layout .store-hero-v2 .store-status-dot{
  padding:4px 8px!important;font-size:.67rem!important;gap:6px!important
}
body.store-layout .store-hero-v2 .store-quick-info{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:5px!important;margin-top:2px!important
}
body.store-layout .store-hero-v2 .store-quick-info>.store-info-card{
  min-height:43px!important;padding:5px 3px!important;
  border-radius:11px!important;gap:2px!important
}
body.store-layout .store-hero-v2 .store-quick-info>.store-info-card>i{font-size:14px!important;line-height:1!important}
body.store-layout .store-hero-v2 .store-quick-info>.store-info-card>b{
  font-size:clamp(9px,2.5vw,11px)!important;line-height:1.16!important;font-weight:800!important
}
/* Preserve o recurso de instalar PWA, agora dentro do banner principal. */
body.store-layout .store-hero-v2 .store-identity .store-install-btn{
  min-height:27px!important;margin:4px 0 0!important;padding:5px 9px!important;
  font-size:.7rem!important;border-radius:9px!important
}
/* Ao tocar num filtro, não há animação automática nem reposicionamento horizontal. */
body.store-layout .store-menu-tools .category-pills{
  scroll-behavior:auto!important;overflow-x:auto!important;overscroll-behavior-inline:contain!important;
  -webkit-overflow-scrolling:touch;touch-action:pan-x!important
}
/* Localização da loja apresentada exclusivamente para retirada. */
#cartSheet.checkout-modern .checkout-pickup-address{
  display:grid;gap:6px;margin:4px 0 14px;padding:13px 14px;
  border:1px solid #cbd5e1;border-radius:15px;background:#f8fafc;
  color:#0f172a;line-height:1.35
}
#cartSheet.checkout-modern .checkout-pickup-address[hidden]{display:none!important}
#cartSheet.checkout-modern .checkout-pickup-heading{display:flex;align-items:center;gap:7px;font-size:.92rem}
#cartSheet.checkout-modern .checkout-pickup-store-name{font-size:.9rem}
#cartSheet.checkout-modern .checkout-pickup-address p{margin:0;color:#334155;font-size:.88rem;overflow-wrap:anywhere}
#cartSheet.checkout-modern .checkout-pickup-map{
  display:inline-flex;align-items:center;justify-content:center;width:max-content;max-width:100%;
  padding:9px 12px;border-radius:11px;background:#fff;border:1px solid #cbd5e1;
  color:#1d4ed8;font-size:.82rem;font-weight:850;text-decoration:none
}
@media(max-width:760px){
  body.store-layout .store-hero-v2{
    width:100%!important;max-width:100%!important;margin:0!important;
    min-height:0!important;padding:49px 10px 10px!important;gap:8px!important
  }
  body.store-layout .store-hero-v2 .store-head-v2>img{
    width:53px!important;height:53px!important;flex-basis:53px!important;border-radius:15px!important
  }
  body.store-layout .store-hero-v2 .store-identity h1{
    font-size:clamp(1.25rem,5.2vw,1.75rem)!important;line-height:1.07!important;margin:3px 0!important
  }
  body.store-layout .store-hero-v2 .store-identity p{display:none!important}
  body.store-layout .store-hero-v2 .store-quick-info>.store-info-card{
    min-height:40px!important;padding:5px 2px!important;gap:2px!important;border-radius:10px!important
  }
  body.store-layout .store-hero-v2 .store-quick-info>.store-info-card>i{font-size:13px!important}
  body.store-layout .store-hero-v2 .store-quick-info>.store-info-card>b{font-size:clamp(9px,2.55vw,11px)!important}
  body.store-layout .store-hero-v2 .store-hero-actions .my-orders-btn,
  body.store-layout .store-hero-v2 .store-hero-actions .store-whatsapp-btn{
    min-height:32px!important;padding:6px 8px!important;font-size:.73rem!important
  }
  #cartSheet.checkout-modern .checkout-pickup-address{padding:11px 12px;margin-bottom:11px}
}
@media(max-width:365px){
  body.store-layout .store-hero-v2 .store-head-v2>img{width:46px!important;height:46px!important;flex-basis:46px!important}
  body.store-layout .store-hero-v2 .store-quick-info{gap:3px!important}
  body.store-layout .store-hero-v2 .store-quick-info>.store-info-card>b{font-size:9px!important}
}


/* 03/11/2026 - Ajustes pontuais pós-publicação (sem alterar a pesquisa). */
/* Retirada: Bairro/região oculto, Tipo em linha única; dados preservados para Entrega. */
#cartSheet.checkout-modern .checkout-neighborhood-field[hidden]{display:none!important}
#cartSheet.checkout-modern .checkout-delivery-row.is-pickup{
  grid-template-columns:minmax(0,1fr)!important;
  gap:0!important;
}
#cartSheet.checkout-modern .checkout-delivery-row.is-pickup .checkout-type-field{
  width:100%!important;max-width:100%!important;min-width:0!important;
}
/* Filtros: retirar contorno/sombra externa que escapavam do botão ativo. */
body.store-layout .store-menu-tools nav.category-pills{
  align-items:center!important;
  gap:7px!important;
  padding:3px 1px 4px!important;
  overflow-x:auto!important;overflow-y:hidden!important;
  scroll-behavior:auto!important;
}
body.store-layout .store-menu-tools .category-pills button.category-filter{
  position:relative!important;
  flex:0 0 auto!important;
  margin:0!important;
  outline:none!important;
  outline-offset:0!important;
  box-shadow:none!important;
  transform:none!important;
  filter:none!important;
  background-clip:padding-box!important;
  -webkit-tap-highlight-color:transparent!important;
}
body.store-layout .store-menu-tools .category-pills button.category-filter.active,
body.store-layout .store-menu-tools .category-pills button.category-filter.active:hover,
body.store-layout .store-menu-tools .category-pills button.category-filter.active:focus{
  outline:0!important;
  transform:none!important;
  border-color:var(--primary,#e11d48)!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.28)!important;
}
body.store-layout .store-menu-tools .category-pills button.category-filter:focus-visible{
  outline:2px solid #9f1239!important;
  outline-offset:-3px!important;
}
/* Separadores compactos e acessíveis em todas as modalidades. */
body.store-layout details.menu-section-collapsible{
  margin:8px auto!important;
}
body.store-layout details.menu-section-collapsible>summary.menu-category-summary{
  min-height:44px!important;
  padding:7px 47px 7px 14px!important;
  margin:0!important;
  border-radius:14px!important;
  gap:7px!important;
  justify-content:flex-start!important;
  text-align:left!important;
  box-shadow:0 4px 12px rgba(15,23,42,.035)!important;
}
body.store-layout details.menu-section-collapsible>summary.menu-category-summary .menu-category-copy{
  display:flex!important;
  flex-flow:row wrap!important;
  align-items:center!important;
  justify-content:flex-start!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  gap:6px 9px!important;
  text-align:left!important;
  white-space:normal!important;
  overflow:visible!important;
  line-height:1.15!important;
}
body.store-layout details.menu-section-collapsible>summary.menu-category-summary .menu-category-copy strong{
  font-size:.95rem!important;
  line-height:1.17!important;
  font-weight:900!important;
  overflow-wrap:anywhere!important;
}
body.store-layout details.menu-section-collapsible>summary.menu-category-summary .menu-category-copy small{
  display:inline-flex!important;
  min-height:20px!important;
  padding:3px 7px!important;
  font-size:.66rem!important;
  line-height:1!important;
  white-space:nowrap!important;
  box-shadow:none!important;
}
body.store-layout details.menu-section-collapsible>summary.menu-category-summary:after{
  right:10px!important;
  width:27px!important;height:27px!important;
  display:inline-flex!important;
  align-items:center!important;justify-content:center!important;
  border:1px solid rgba(203,213,225,.95)!important;
  border-radius:9px!important;
  background:transparent!important;
  box-shadow:none!important;
  font-size:19px!important;
  line-height:1!important;
}
@media(max-width:760px){
  body.store-layout details.menu-section-collapsible{margin:7px 0!important}
  body.store-layout details.menu-section-collapsible>summary.menu-category-summary{
    min-height:42px!important;
    padding:7px 42px 7px 12px!important;
    border-radius:12px!important;
  }
  body.store-layout details.menu-section-collapsible>summary.menu-category-summary .menu-category-copy strong{
    font-size:.9rem!important;
  }
  body.store-layout details.menu-section-collapsible>summary.menu-category-summary:after{
    width:26px!important;height:26px!important;right:9px!important;
  }
}


/* Ajuste incremental 03/11: remover chevron duplicado nos separadores de categoria.
   Mantém apenas o indicador principal já estilizado pelo summary:after. */
body.store-layout details.menu-section-collapsible>summary.menu-category-summary .menu-category-chevron{
  display:none!important;
}
