/* Estilos da tela de reserva e ajustes para celular. Cor de destaque do site: verde #149f47. */
#addtocart_container { display: none; }            /* "Pesquise uma data..." do sistema antigo */

/* Recursos do tema original que dependiam do servidor antigo (não funcionam aqui): escondidos */
.search-header-w, .icon-search, #sosearchpro, .wishlist-comp,
.so-groups-sticky .sticky-categories, .so-groups-sticky .sticky-mysearch, .so-groups-sticky .sticky-recent,
#popup-categories, #popup-mysearch, #popup-recent, #popup-mycart, #popup-myaccount { display: none !important; }
#emgcookie, .emgdpr-cookie-toggler, #emgdpr-cookie, .emgcookie-selector-wrapper { display: none !important; }

.pp-info-link { text-align: center; margin: 4px 0 0; }
.pp-info-link a { color: #149f47; font-weight: 700; }

/* Cadastro obrigatório antes de reservar */
.pp-gate { max-width: 640px; margin: 18px auto; padding: 22px 18px; border: 2px solid #149f47; border-radius: 12px; background: #e8fcef; text-align: center; }
.pp-gate h2 { margin: 0 0 8px; font-size: 24px; font-weight: 800; }
.pp-gate p { margin: 0 0 14px; color: #555; }
.pp-gate-btn { display: inline-block; min-width: 190px; margin: 5px; padding: 14px 20px; border-radius: 8px; background: #149f47; color: #fff; font-weight: 800; font-size: 17px; text-decoration: none; }
.pp-gate-btn.sec { background: #fff; color: #149f47; border: 2px solid #149f47; }
.pp-gate-btn:hover { color: #fff; opacity: .92; text-decoration: none; }
.pp-gate-btn.sec:hover { color: #149f47; }
body.pp-gated .qta-row, body.pp-gated .legenda { display: none; }
body.pp-gated .raia-overlay { pointer-events: none; }

/* Loja no carrinho (combos, comidas, bebidas) */
#pp-loja { margin-top: 34px; padding-top: 10px; border-top: 3px solid #149f47; }
.pp-loja-titulo { margin: 14px 0 4px; font-size: 24px; font-weight: 800; }
.pp-abas { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 14px; }
.pp-aba { padding: 9px 14px; border: 2px solid #ddd; border-radius: 22px; background: #fff; font-weight: 700; touch-action: manipulation; }
.pp-aba.on { background: #149f47; border-color: #149f47; color: #fff; }
.pp-aviso18 { margin: 0 0 10px; padding: 8px 12px; background: #fff3cd; border-radius: 6px; font-size: 14px; }
.pp-prods { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.pp-prod { display: flex; align-items: center; gap: 10px; padding: 10px; border: 2px solid #e6e6e6; border-radius: 10px; background: #fff; }
.pp-prod.on { border-color: #149f47; background: #e1fbeb; }
.pp-prod img { width: 72px; height: 72px; object-fit: cover; border-radius: 8px; flex: none; }
.pp-prod-info { display: flex; flex-direction: column; min-width: 0; flex: 1; line-height: 1.25; }
.pp-prod-info b { font-size: 15px; }
.pp-prod-info small { color: #777; font-size: 12px; }
.pp-prod .pp-qtd button { width: 40px; height: 40px; font-size: 22px; }
.pp-prod .pp-preco { color: #149f47; font-weight: 800; }
.raia { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.legenda { flex-wrap: wrap; gap: 6px 0; }
.baton { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }

.pp-grupo, .pp-lista-box, .pp-sel-box { max-width: 760px; margin: 18px auto; padding: 18px; border: 2px solid #149f47; border-radius: 10px; background: #fff; text-align: left; }
.pp-lista-box, .pp-sel-box { border-width: 1px; border-color: #ddd; }
.pp-titulo { margin: 0 0 6px; font-size: 26px; font-weight: 800; color: #111; text-align: center; }
.pp-h3 { margin: 0 0 6px; font-size: 18px; font-weight: 800; }
.pp-sub { margin: 0 0 12px; color: #555; text-align: center; }
.pp-lista-box .pp-sub { text-align: left; }
.pp-cats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.pp-cat { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 12px; border: 2px solid #e2e2e2; border-radius: 10px; background: #fafafa; }
.pp-cat.on { border-color: #149f47; background: #e1fbeb; }
.pp-cat-info { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.pp-cat-info b { font-size: 16px; }
.pp-cat-info small { color: #777; }
.pp-preco { color: #149f47; font-weight: 800; font-size: 16px; }
.pp-qtd { display: flex; align-items: center; gap: 6px; flex: none; }
.pp-qtd button { width: 44px; height: 44px; border: 0; border-radius: 50%; background: #149f47; color: #fff; font-size: 24px; line-height: 1; font-weight: 700; cursor: pointer; touch-action: manipulation; }
.pp-qtd button[data-menos] { background: #999; }
.pp-qtd output { min-width: 26px; text-align: center; font-size: 20px; font-weight: 800; }
.pp-crianca { margin: 12px 0 0; color: #555; font-size: 14px; }
.pp-resumo { margin-top: 12px; font-size: 17px; text-align: center; }
.pp-ajuda { margin-top: 12px; padding: 12px 14px; border-radius: 8px; background: #fff7e6; border-left: 4px solid #149f47; font-size: 15px; line-height: 1.45; }
.pp-ajuda p { margin: 0 0 8px; }
.pp-falta { color: #137136; font-weight: 700; }
.pp-ok { color: #15803d; font-weight: 700; }
.pp-dica { margin: 8px 0 0 !important; font-size: 13px; color: #666; }

.pp-lago { margin-top: 12px; }
.pp-grade { display: grid; grid-template-columns: repeat(auto-fill, minmax(58px, 1fr)); gap: 8px; margin-top: 6px; }
.pp-rbtn { height: 46px; border: 2px solid #1b8a3a; border-radius: 8px; background: #fff; font-weight: 700; color: #111; cursor: pointer; touch-action: manipulation; }
.pp-rbtn.sel { background: #149f47; border-color: #149f47; color: #fff; }
.pp-rbtn.oc { background: #e5e5e5; border-color: #ccc; color: #aaa; text-decoration: line-through; cursor: not-allowed; }
.pp-sel-item, .pp-sel-total { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px solid #eee; gap: 8px; }
.pp-sel-total { border: 0; font-size: 18px; }
.pp-sel-item button { width: 34px; height: 34px; border: 0; border-radius: 50%; background: #eee; font-size: 20px; line-height: 1; margin-left: 6px; }

.pp-ver-carrinho { display: block; width: 100%; margin-top: 12px; height: 52px; border: 0; border-radius: 8px; background: #149f47; color: #fff; font-size: 18px; font-weight: 800; touch-action: manipulation; }
#pp-continuar.pronto { animation: pp-pulsa 1.4s ease-in-out 3; }
@keyframes pp-pulsa { 50% { transform: scale(1.06); } }
#pp-barra { position: fixed; left: 0; right: 0; bottom: 0; z-index: 900; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: #111; color: #fff; box-shadow: 0 -4px 14px rgba(0, 0, 0, .3); }
#pp-barra[style*="display: none"] { display: none !important; }
#pp-barra-txt { font-size: 15px; }
#pp-continuar { min-width: 140px; height: 46px; border: 0; border-radius: 8px; background: #777; color: #fff; font-weight: 800; font-size: 16px; touch-action: manipulation; }
#pp-continuar.pronto { background: #149f47; }
body.pp-com-barra { padding-bottom: 76px; }
#pp-toast { position: fixed; left: 50%; top: 14px; transform: translate(-50%, -20px); max-width: 90vw; padding: 10px 16px; border-radius: 22px; background: rgba(17, 17, 17, .94); color: #fff; font-size: 14px; opacity: 0; pointer-events: none; transition: .25s; z-index: 1000000; text-align: center; }
#pp-toast.on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- celular ---------- */
@media (max-width: 767px) {
  html, body { overflow-x: hidden; }
  .qta-row { flex-direction: column; gap: 10px; padding: 12px 5px; }
  .qta-col { line-height: 1.3; text-align: center; }
  .qta-lead { font-size: 20px; }
  #poleData { width: 100%; max-width: 280px; height: 52px; font-size: 18px; }
  .qta-cta { margin: 5px 0; }
  .qta-cta .baton img { width: 220px; max-width: 80vw; height: auto; margin: 0 auto; }
  .pp-grupo, .pp-lista-box, .pp-sel-box { margin: 12px 8px; padding: 14px; }
  .pp-titulo { font-size: 22px; }
  .pp-cats { grid-template-columns: 1fr; }
  .legenda { justify-content: center !important; }
  .legenda-item { margin-right: 12px; font-size: 13px; }
  .popup { width: 88vw !important; max-width: 340px; }
  .popup button, .type-option { min-height: 46px; font-size: 16px; }
  .raia-map { margin: 0 -4px; }
  .table-responsive { border: 0; overflow-x: visible; }
  .table-responsive .table > thead > tr > td, .table-responsive .table > tbody > tr > td, .table-responsive .table > tfoot > tr > td { padding: 6px 7px; font-size: 14px; }
  .panel-body { padding: 12px; }
  /* nomes compridos de itens não podem alargar a tabela do carrinho */
  .table-responsive .table { table-layout: auto; width: 100%; }
  .table-responsive .table td { word-break: break-word; overflow-wrap: anywhere; }
  .table-responsive { overflow-x: hidden; }
}
