/* =========================================================
   Estilo 4 — Cardápio restaurante (tela cheia, app-like)
   ========================================================= */

html, body {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow-x: hidden !important;
  -webkit-text-size-adjust: 100%;
  background: #f2f3f5 !important;
}
body.wa-app {
  min-height: 100vh;
  min-height: 100dvh;
}

/* anula larguras fixas de templates legados */
body.wa-app .container,
body.wa-app .container-fluid,
body.wa-app .container-sm,
body.wa-app .container-md,
body.wa-app .container-lg {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body.wa-app .row {
  margin-left: 0 !important;
  margin-right: 0 !important;
  width: 100% !important;
}
body.wa-app .row > [class*="col-"] {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* ---------- TOPO / MENU (borda a borda) ---------- */
body.wa-app .brand-top {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  border-radius: 0 !important;
  padding: 14px 16px 12px !important;
  padding-top: calc(12px + env(safe-area-inset-top, 0px)) !important;
}
body.wa-app .brand-top .brand-name {
  font-size: 24px !important;
  font-weight: 900 !important;
}
body.wa-app .nav-modern {
  width: 100% !important;
  margin: 0 !important;
  border-radius: 0 !important;
  box-shadow: 0 2px 8px rgba(0,0,0,.06) !important;
}
body.wa-app .nav-modern .menu {
  width: 100% !important;
  padding: 8px 10px !important;
  justify-content: center !important;
  gap: 6px !important;
}
body.wa-app .nav-modern .menu li a {
  padding: 11px 14px !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  min-height: 42px !important;
  border-radius: 10px !important;
}

body.wa-app .footer-modern {
  width: 100% !important;
  margin: 24px 0 0 !important;
  border-radius: 0 !important;
  padding-bottom: calc(14px + env(safe-area-inset-bottom, 0px)) !important;
}

/* ---------- PÁGINA CARDÁPIO (estilo 4) ---------- */
.wa-menu-page {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0 0 24px;
  background: #f2f3f5;
}
.wa-menu-head {
  padding: 18px 16px 10px;
  background: #fff;
  border-bottom: 1px solid #e8e8e8;
}
.wa-menu-head h1 {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 900;
  color: #12121f;
  line-height: 1.2;
  text-transform: none;
}
.wa-menu-head p {
  margin: 0;
  font-size: 14px;
  color: #6b7280;
  line-height: 1.4;
}

.wa-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Card full width — foto grande + textos grandes */
.wa-item-card {
  display: block;
  width: 100%;
  background: #fff;
  text-decoration: none !important;
  color: inherit !important;
  border: 3.5px solid #e11d48;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
  margin-bottom: 10px;
  box-sizing: border-box;
}
.wa-item-card.is-disabled {
  opacity: 0.55;
  pointer-events: none;
}
.wa-item-photo {
  width: 100%;
  height: 220px;
  background: #e5e7eb;
  overflow: hidden;
}
.wa-item-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.wa-item-body {
  padding: 14px 16px 18px;
}
.wa-item-title {
  font-size: 20px;
  font-weight: 900;
  color: #12121f;
  line-height: 1.25;
  margin: 0 0 8px;
}
.wa-item-desc {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.4;
  margin: 0 0 12px;
}
.wa-item-price {
  font-size: 22px;
  font-weight: 900;
  color: #e11d48;
  margin: 0 0 12px;
}
.wa-item-alert {
  font-size: 13px;
  font-weight: 700;
  color: #dc2626;
}
.wa-item-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 48px;
  background: #e11d48;
  color: #fff !important;
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  border-radius: 12px;
  margin-top: 4px;
}
.wa-item-card:active .wa-item-cta {
  filter: brightness(0.95);
}
.wa-empty {
  text-align: center;
  padding: 40px 20px;
  color: #9ca3af;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
}

/* ---------- HOME: forçar lista estilo 4 também ---------- */
@media (max-width: 991.98px) {
  body.wa-app .search-box {
    margin: 12px 12px 8px !important;
    border-radius: 14px !important;
    width: auto !important;
  }
  body.wa-app .destaque-box {
    margin: 8px 0 12px !important;
    border-radius: 0 !important;
    width: 100% !important;
  }
  body.wa-app .img-home {
    width: 100% !important;
    height: 210px !important;
    object-fit: cover !important;
    border-radius: 0 !important;
  }

  /* produtos/categorias antigos viram lista full width */
  body.wa-app .wa-prod-col,
  body.wa-app .wa-cat-col {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  body.wa-app .prod-card,
  body.wa-app .cat-card {
    display: block !important;
    width: 100% !important;
    border-radius: 0 !important;
    border: 0 !important;
    border-bottom: 10px solid #f2f3f5 !important;
    box-shadow: none !important;
    margin: 0 !important;
    height: auto !important;
  }
  body.wa-app .prod-card .img-wrap,
  body.wa-app .cat-card .img-wrap {
    width: 100% !important;
    height: 220px !important;
    aspect-ratio: auto !important;
    min-height: 200px !important;
    max-height: none !important;
  }
  body.wa-app .prod-card .img-wrap img,
  body.wa-app .cat-card .img-wrap img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }
  body.wa-app .prod-card .info,
  body.wa-app .cat-card .body {
    padding: 14px 16px 18px !important;
  }
  body.wa-app .prod-card .nome,
  body.wa-app .cat-card .nome {
    font-size: 20px !important;
    font-weight: 900 !important;
    -webkit-line-clamp: 3 !important;
  }
  body.wa-app .prod-card .preco {
    font-size: 22px !important;
    font-weight: 900 !important;
  }
  body.wa-app .cat-card .btn,
  body.wa-app .button-w3ls {
    width: 100% !important;
    min-height: 48px !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    border-radius: 12px !important;
  }
}

/* banner push */
#dtech-push-banner {
  left: 12px !important;
  right: 12px !important;
  top: calc(10px + env(safe-area-inset-top, 0px)) !important;
}


/* ---------- Carrinho flutuante + animacoes ---------- */
@keyframes waCartIn {
  0%   { opacity: 0; transform: translateY(28px) scale(0.75); }
  60%  { opacity: 1; transform: translateY(-6px) scale(1.06); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes waCartPulse {
  0%, 100% { box-shadow: 0 10px 28px rgba(225, 29, 72, 0.45); }
  50%      { box-shadow: 0 12px 34px rgba(225, 29, 72, 0.7), 0 0 0 8px rgba(225, 29, 72, 0.15); }
}
@keyframes waBadgePop {
  0%   { transform: scale(0.4); }
  60%  { transform: scale(1.25); }
  100% { transform: scale(1); }
}
@keyframes waCartBump {
  0%   { transform: scale(1) rotate(0deg); }
  25%  { transform: scale(1.12) rotate(-6deg); }
  50%  { transform: scale(1.08) rotate(5deg); }
  75%  { transform: scale(1.1) rotate(-3deg); }
  100% { transform: scale(1) rotate(0deg); }
}
@keyframes waCartShake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-4px); }
  40% { transform: translateX(4px); }
  60% { transform: translateX(-3px); }
  80% { transform: translateX(2px); }
}
@keyframes waRipple {
  0%   { transform: scale(0.6); opacity: 0.45; }
  100% { transform: scale(1.8); opacity: 0; }
}

.wa-float-cart {
  position: fixed !important;
  right: 12px !important;
  left: auto !important;
  top: calc(102px + env(safe-area-inset-top, 0px)) !important;
  bottom: auto !important;
  height: auto !important;
  max-height: 80px !important;
  width: auto !important;
  z-index: 99990;
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  align-self: flex-start !important;
  gap: 12px;
  min-height: 64px;
  padding: 12px 18px 12px 14px !important;
  background: #e11d48;
  color: #fff !important;
  text-decoration: none !important;
  border-radius: 999px !important;
  box-shadow: 0 12px 32px rgba(225, 29, 72, 0.5);
  max-width: calc(100vw - 28px);
  animation: waCartIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
  transition: background .2s ease, box-shadow .2s ease;
  -webkit-tap-highlight-color: transparent;
  box-sizing: border-box !important;
}
.wa-float-cart.has-items {
  animation: waCartIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) both, waCartPulse 2.4s ease-in-out 0.7s infinite;
}
.wa-float-cart.wa-bump {
  animation: waCartBump 0.55s ease;
}
.wa-float-cart.wa-shake {
  animation: waCartShake 0.4s ease;
}
.wa-float-cart:hover,
.wa-float-cart:focus {
  color: #fff !important;
  text-decoration: none !important;
  filter: brightness(1.05);
}
.wa-float-cart:active {
  filter: brightness(0.95);
}
.wa-float-icon {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}
.wa-float-cart.has-items .wa-float-icon::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.35);
  animation: waRipple 1.8s ease-out infinite;
  pointer-events: none;
}
.wa-float-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 26px;
  height: 26px;
  padding: 0 8px;
  border-radius: 999px;
  background: #111827;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  border: 2px solid #e11d48;
  transform-origin: center;
}
.wa-float-badge.wa-pop {
  animation: waBadgePop 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.wa-float-cart:not(.has-items) .wa-float-badge {
  display: none;
}
.wa-float-label {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  min-width: 0;
}
.wa-float-label-txt {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  opacity: .92;
}
.wa-float-label-val {
  font-size: 18px;
  font-weight: 900;
  white-space: nowrap;
}
.wa-float-cart:not(.has-items) {
  width: 64px !important;
  height: 64px !important;
  min-height: 64px !important;
  max-height: 64px !important;
  padding: 0 !important;
  justify-content: center !important;
  border-radius: 50% !important;
}
.wa-float-cart:not(.has-items) .wa-float-label {
  display: none;
}
.wa-float-cart:not(.has-items) .wa-float-icon {
  width: 100%;
  height: 100%;
  background: transparent;
}
.wa-float-cart:not(.has-items) .wa-float-icon::after {
  display: none;
}

@media (min-width: 992px) {
  .wa-float-cart {
    right: 24px;
    top: calc(110px + env(safe-area-inset-top, 0px)) !important;
    bottom: auto !important;
  }
}

body.wa-app .move-top {
  bottom: 24px !important;
  right: 18px !important;
}

@media (prefers-reduced-motion: reduce) {
  .wa-float-cart,
  .wa-float-cart.has-items,
  .wa-float-cart.wa-bump,
  .wa-float-badge.wa-pop,
  .wa-float-cart.has-items .wa-float-icon::after {
    animation: none !important;
  }
}


/* ---------- Grade 2 colunas (cat + produtos) ---------- */
.wa-list-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px !important;
  padding: 4px 2px 12px !important;
  gap: 10px;
  padding: 10px;
  width: 100%;
  box-sizing: border-box;
}
.wa-list-grid .wa-grid-card {
  border: 3.5px solid #e11d48 !important;
  border-radius: 16px !important;
  box-shadow: 0 3px 12px rgba(225, 29, 72, 0.12) !important;
  background: #fff !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  box-shadow: 0 2px 10px rgba(0,0,0,.07) !important;
  display: flex !important;
  flex-direction: column !important;
  background: #fff !important;
  height: 100%;
  text-decoration: none !important;
  color: inherit !important;
}
.wa-list-grid .wa-item-photo {
  /* altura controlada por aspect-ratio */
  height: auto !important;
  min-height: 0 !important;
}
.wa-list-grid .wa-item-body {
  padding: 10px 10px 12px !important;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.wa-list-grid .wa-item-title {
  font-size: 14px !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  margin: 0 0 6px !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: #12121f !important;
  text-decoration: none !important;
}
.wa-list-grid .wa-item-desc {
  font-size: 11px !important;
  margin: 0 0 8px !important;
  -webkit-line-clamp: 2;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.wa-list-grid .wa-item-price {
  font-size: 16px !important;
  margin: 0 0 8px !important;
}
.wa-list-grid .wa-item-cta,
.wa-list-grid .wa-btn-add {
  margin-top: auto !important;
  min-height: 40px !important;
  font-size: 12px !important;
  border: 0 !important;
  cursor: pointer;
  width: 100%;
}
.wa-list-grid .wa-btn-add:disabled {
  opacity: 0.6;
  cursor: wait;
}

@media (min-width: 768px) {
  .wa-list-grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 14px;
    padding: 16px;
  }
  .wa-list-grid .wa-item-photo { height: auto !important; }
  .wa-list-grid .wa-item-title { font-size: 16px !important; }
}

/* Home: 2 colunas tambem */
@media (max-width: 991.98px) {
  body.wa-app .wa-prod-col,
  body.wa-app .wa-cat-col {
    flex: 0 0 50% !important;
    max-width: 50% !important;
    width: 50% !important;
    padding: 5px !important;
    margin: 0 !important;
  }
  body.wa-app .row {
    display: flex !important;
    flex-wrap: wrap !important;
  }
  body.wa-app .prod-card .img-wrap,
  body.wa-app .cat-card .img-wrap {
    height: auto !important;
    min-height: 0 !important;
  }
  body.wa-app .prod-card .nome,
  body.wa-app .cat-card .nome {
    font-size: 14px !important;
  }
  body.wa-app .prod-card .preco {
    font-size: 16px !important;
  }
  body.wa-app .prod-card,
  body.wa-app .cat-card {
    border-radius: 14px !important;
    border-bottom: 0 !important;
    box-shadow: 0 2px 10px rgba(0,0,0,.07) !important;
  }
}

/* Fly to cart clone */
.wa-fly-clone {
  position: fixed;
  z-index: 100000;
  width: 56px;
  height: 56px;
  border-radius: 12px;
  object-fit: cover;
  pointer-events: none;
  box-shadow: 0 8px 20px rgba(0,0,0,.25);
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.7s ease;
  opacity: 1;
}


/* =========================================================
   Imagens sem esticar — todos os dispositivos
   ========================================================= */
.wa-item-photo,
.wa-list-grid .wa-item-photo,
.prod-card .img-wrap,
.cat-card .img-wrap,
.blog_w3ls .card-header,
body.wa-app .prod-card .img-wrap,
body.wa-app .cat-card .img-wrap {
  position: relative !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: 1 / 1 !important;
  overflow: hidden !important;
  background: #eef0f3 !important;
}

/* Categorias: um pouco mais panoramico */
.wa-list-grid a.wa-grid-card .wa-item-photo,
.cat-card .img-wrap {
  aspect-ratio: 4 / 3 !important;
}

.wa-item-photo img,
.wa-list-grid .wa-item-photo img,
.prod-card .img-wrap img,
.cat-card .img-wrap img,
.blog_w3ls .card-header img,
.blog_w3ls .card-img-bottom,
body.wa-app .prod-card .img-wrap img,
body.wa-app .cat-card .img-wrap img,
.img-home {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  display: block !important;
  /* evita esticar em browsers antigos */
  -o-object-fit: cover !important;
  font-family: "object-fit: cover";
}

/* img-home banner */
.img-home {
  aspect-ratio: 16 / 9 !important;
  height: auto !important;
  min-height: 0 !important;
}

@media (min-width: 768px) {
  .wa-list-grid .wa-item-photo {
    aspect-ratio: 1 / 1 !important;
  }
}


/* Bordas dos cards */
.wa-list-grid .wa-grid-card,
.wa-item-card.wa-grid-card,
body.wa-app .prod-card,
body.wa-app .cat-card {
  border: 1.5px solid #d1d5db !important;
  box-shadow: 0 2px 8px rgba(0,0,0,.06) !important;
}

/* Banner destaque — sem esticar */
.destaque-box,
.destaque-box .callbacks_container,
.destaque-box .csslider,
.destaque-box .banner_slide_bg,
.destaque-box .banner_slide_bg li {
  overflow: hidden !important;
  width: 100% !important;
  max-width: 100% !important;
}
.destaque-box .img-home,
.destaque-box .banner_slide_bg img,
.destaque-box img.img-home,
.banner_slide_bg li img {
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  aspect-ratio: 16 / 9 !important;
  object-fit: cover !important;
  object-position: center center !important;
  display: block !important;
}
@media (max-width: 767.98px) {
  .destaque-box .img-home,
  .destaque-box .banner_slide_bg img {
    aspect-ratio: 16 / 10 !important;
    border-radius: 0 !important;
  }
}




/* Modal adicionais — centralizada */
.wa-add-modal {
  position: fixed;
  inset: 0;
  z-index: 100050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  pointer-events: none;
  visibility: hidden;
}
.wa-add-modal.is-open {
  pointer-events: auto;
  visibility: visible;
}
.wa-add-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  opacity: 0;
  transition: opacity .25s ease;
}
.wa-add-modal.is-open .wa-add-backdrop { opacity: 1; }
.wa-add-sheet {
  position: relative;
  width: 100%;
  max-width: 420px;
  max-height: min(82vh, 640px);
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0,0,0,.28);
  transform: scale(0.92) translateY(12px);
  opacity: 0;
  transition: transform .28s cubic-bezier(0.22, 1, 0.36, 1), opacity .28s ease;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.wa-add-modal.is-open .wa-add-sheet {
  transform: scale(1) translateY(0);
  opacity: 1;
}
.wa-add-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 16px 12px;
  border-bottom: 1px solid #eef0f3;
}
.wa-add-head strong {
  font-size: 17px;
  font-weight: 900;
  color: #111827;
  display: block;
  line-height: 1.25;
}
.wa-add-base {
  font-size: 14px;
  font-weight: 800;
  color: #e11d48;
  margin-top: 4px;
}
.wa-add-close {
  border: 0;
  background: #f3f4f6;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  color: #374151;
  flex-shrink: 0;
}
.wa-add-body {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 12px 14px;
  flex: 1;
}
.wa-add-cat {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .4px;
  color: #6b7280;
  margin: 10px 0 8px;
}
.wa-add-opt {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1.5px solid #e5e7eb;
  border-radius: 12px;
  margin-bottom: 8px;
  cursor: pointer;
  background: #fff;
}
.wa-add-opt.is-on {
  border-color: #e11d48;
  background: #fff1f2;
}
.wa-add-opt .nm {
  flex: 1;
  font-weight: 800;
  font-size: 14px;
  color: #111827;
}
.wa-add-opt .vl {
  font-weight: 800;
  font-size: 13px;
  color: #e11d48;
  white-space: nowrap;
}
.wa-add-opt input {
  width: 18px;
  height: 18px;
  accent-color: #e11d48;
}
.wa-add-empty {
  text-align: center;
  padding: 24px 12px;
  color: #9ca3af;
  font-weight: 700;
  font-size: 14px;
}
.wa-add-foot {
  border-top: 1px solid #eef0f3;
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.wa-add-total {
  font-size: 14px;
  font-weight: 700;
  color: #374151;
}
.wa-add-total strong {
  font-size: 18px;
  color: #111827;
  float: right;
}
.wa-add-confirm {
  width: 100%;
  min-height: 50px;
  border: 0;
  border-radius: 14px;
  background: #e11d48;
  color: #fff;
  font-weight: 900;
  font-size: 15px;
  text-transform: uppercase;
  cursor: pointer;
}
.wa-add-confirm:disabled { opacity: .6; }


/* Quantidade na modal de adicionais */
.wa-add-produto {
  font-size: 13px;
  font-weight: 700;
  color: #6b7280;
  margin-top: 4px;
}
.wa-add-opt {
  flex-wrap: wrap;
}
.wa-add-opt .wa-qty {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid #e5e7eb;
  border-radius: 10px;
  overflow: hidden;
  margin-left: auto;
  background: #fff;
}
.wa-add-opt .wa-qty button {
  width: 36px;
  height: 36px;
  border: 0;
  background: #f3f4f6;
  font-size: 18px;
  font-weight: 800;
  color: #e11d48;
  cursor: pointer;
  line-height: 1;
  padding: 0;
}
.wa-add-opt .wa-qty button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.wa-add-opt .wa-qty span {
  min-width: 36px;
  text-align: center;
  font-weight: 900;
  font-size: 14px;
  color: #111827;
}
.wa-add-opt .lim {
  width: 100%;
  font-size: 11px;
  font-weight: 700;
  color: #9ca3af;
  margin-top: 4px;
  padding-left: 30px;
}
.wa-add-opt.is-on {
  border-color: #e11d48;
  background: #fff1f2;
}
#wa-add-titulo {
  font-size: 17px;
  font-weight: 900;
  color: #111827;
  display: block;
}

/* Desktop: menos “app gigante”, cards menores e com borda */
@media (min-width: 992px) {
  body.wa-app .wa-shell {
    max-width: 980px !important;
    margin: 16px auto !important;
    border-radius: 18px !important;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.10) !important;
    border: 1px solid #e5e7eb !important;
  }
  body.wa-app .wa-menu-page {
    padding: 16px 20px 28px !important;
  }
  body.wa-app .wa-menu-head h1 {
    font-size: 26px !important;
  }
  /* Categorias e produtos: grid mais denso no PC */
  body.wa-app .wa-list-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 14px !important;
  }
  body.wa-app .wa-list-grid .wa-grid-card {
    border: 3.5px solid #e11d48 !important;
    border-radius: 14px !important;
    margin-bottom: 0 !important;
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
  }
  body.wa-app .wa-list-grid .wa-grid-card:hover {
    transform: translateY(-3px);
    border-color: #be123c !important;
    box-shadow: 0 8px 22px rgba(225, 29, 72, 0.14) !important;
  }
  
  body.wa-app .wa-list-grid .wa-item-title {
    font-size: 14px !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    margin: 0 0 6px !important;
  }
  body.wa-app .wa-list-grid .wa-item-desc {
    font-size: 12px !important;
    margin: 0 0 8px !important;
  }
  body.wa-app .wa-list-grid .wa-item-price {
    font-size: 15px !important;
    margin: 0 0 8px !important;
  }
  body.wa-app .wa-list-grid .wa-item-body {
    padding: 10px 12px 12px !important;
  }
  body.wa-app .wa-list-grid .wa-item-cta,
  body.wa-app .wa-list-grid .wa-btn-add {
    min-height: 38px !important;
    font-size: 12px !important;
    border-radius: 10px !important;
  }
  /* home categorias legadas */
  body.wa-app .cat-card,
  body.wa-app .prod-card {
    border: 3.5px solid #e11d48 !important;
    border-radius: 14px !important;
    box-shadow: 0 3px 10px rgba(15, 23, 42, 0.08) !important;
  }
  body.wa-app .cat-card .img-wrap,
  body.wa-app .prod-card .img-wrap {
    height: 120px !important;
  }
  body.wa-app .cat-card .nome,
  body.wa-app .prod-card .nome {
    font-size: 14px !important;
  }
}

/* Tablet: 3 colunas */
@media (min-width: 768px) and (max-width: 991.98px) {
  body.wa-app .wa-list-grid {
    grid-template-columns: 1fr 1fr 1fr !important;
    gap: 12px !important;
  }
  
  body.wa-app .wa-list-grid .wa-grid-card {
    border: 3.5px solid #e11d48 !important;
    border-radius: 14px !important;
  }
}

/* Mobile reforço de borda nos cards do grid */



/* === Bordas vermelhas grossas + 3 colunas (categorias e produtos) === */
body.wa-app .wa-list-grid {
  grid-template-columns: 1fr 1fr 1fr !important;
  gap: 10px !important;
}
body.wa-app .wa-list-grid .wa-grid-card,
body.wa-app .wa-item-card.wa-grid-card,
body.wa-app .wa-item-card,
body.wa-app .prod-card,
body.wa-app .cat-card {
  border: 3.5px solid #e11d48 !important;
  border-radius: 14px !important;
  box-shadow: 0 3px 12px rgba(225, 29, 72, 0.12) !important;
  box-sizing: border-box !important;
}
body.wa-app .wa-list-grid .wa-grid-card:hover,
body.wa-app .wa-item-card.wa-grid-card:hover {
  border-color: #be123c !important;
  box-shadow: 0 6px 18px rgba(225, 29, 72, 0.18) !important;
}
@media (min-width: 992px) {
  body.wa-app .wa-list-grid {
    grid-template-columns: 1fr 1fr 1fr !important;
    gap: 14px !important;
  }
}
@media (max-width: 380px) {
  /* telas muito estreitas: ainda 3 colunas, tipografia menor */
  body.wa-app .wa-list-grid .wa-item-title { font-size: 11px !important; }
  body.wa-app .wa-list-grid .wa-item-price { font-size: 12px !important; }
  body.wa-app .wa-list-grid .wa-item-cta,
  body.wa-app .wa-list-grid .wa-btn-add { font-size: 10px !important; min-height: 32px !important; }
}


/* ========== PRODUTOS: foto como antes (quadrado) + 3 colunas ========== */
body.wa-app .wa-list-grid-prods,
body.wa-app .wa-list.wa-list-grid-prods {
  display: grid !important;
  grid-template-columns: 1fr 1fr 1fr !important;
  gap: 10px !important;
  width: 100% !important;
}
body.wa-app .wa-list-grid-prods .wa-item-photo {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1 / 1 !important;
  min-height: 0 !important;
  overflow: hidden !important;
  background: #e5e7eb !important;
}
body.wa-app .wa-list-grid-prods .wa-item-photo img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
}
body.wa-app .wa-list-grid-prods .wa-grid-card {
  border: 3.5px solid #e11d48 !important;
  border-radius: 14px !important;
}

/* ========== CATEGORIAS: 3 por linha + foto mais alta (nao “faixa larga”) ========== */
body.wa-app .wa-list-grid-cats,
body.wa-app .wa-list.wa-list-grid-cats {
  display: grid !important;
  grid-template-columns: 1fr 1fr 1fr !important;
  gap: 10px !important;
  width: 100% !important;
  padding: 10px !important;
  box-sizing: border-box !important;
}
body.wa-app .wa-list-grid-cats .wa-grid-card,
body.wa-app .wa-list-grid-cats .wa-cat-grid-card {
  border: 3.5px solid #e11d48 !important;
  border-radius: 14px !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  height: 100% !important;
  margin-bottom: 0 !important;
}
body.wa-app .wa-list-grid-cats .wa-item-photo {
  width: 100% !important;
  height: auto !important;
  /* mais altura visual: quase quadrado */
  aspect-ratio: 1 / 1 !important;
  min-height: 96px !important;
  overflow: hidden !important;
  background: #e5e7eb !important;
}
body.wa-app .wa-list-grid-cats .wa-item-photo img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
}
body.wa-app .wa-list-grid-cats .wa-item-body {
  padding: 8px 10px 10px !important;
}
body.wa-app .wa-list-grid-cats .wa-item-title {
  font-size: 13px !important;
  line-height: 1.2 !important;
  margin: 0 0 6px !important;
  -webkit-line-clamp: 2;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
body.wa-app .wa-list-grid-cats .wa-item-cta {
  min-height: 34px !important;
  font-size: 11px !important;
  margin-top: auto !important;
}

/* Home: 3 categorias por linha */
body.wa-app .wa-cat-col {
  flex: 0 0 33.333% !important;
  max-width: 33.333% !important;
  width: 33.333% !important;
  padding: 6px !important;
  box-sizing: border-box !important;
}
body.wa-app .cat-card {
  border: 3.5px solid #e11d48 !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  box-shadow: 0 3px 12px rgba(225, 29, 72, 0.12) !important;
}
body.wa-app .cat-card .img-wrap {
  width: 100% !important;
  aspect-ratio: 1 / 1 !important;
  height: auto !important;
  min-height: 96px !important;
  overflow: hidden !important;
}
body.wa-app .cat-card .img-wrap img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
}

@media (min-width: 992px) {
  body.wa-app .wa-list-grid-cats,
  body.wa-app .wa-list-grid-prods {
    grid-template-columns: 1fr 1fr 1fr !important;
    gap: 14px !important;
  }
  /* categoria no PC: foto um pouco maior em altura relativa */
  body.wa-app .wa-list-grid-cats .wa-item-photo {
    aspect-ratio: 1 / 1 !important;
    min-height: 140px !important;
  }
  body.wa-app .wa-list-grid-prods .wa-item-photo {
    aspect-ratio: 1 / 1 !important;
  }
  body.wa-app .cat-card .img-wrap {
    min-height: 140px !important;
    aspect-ratio: 1 / 1 !important;
  }
}

@media (max-width: 380px) {
  body.wa-app .wa-list-grid-cats .wa-item-title,
  body.wa-app .wa-list-grid-prods .wa-item-title {
    font-size: 11px !important;
  }
}


/* FIX carrinho: nunca esticar top→bottom */
a#wa-float-cart.wa-float-cart,
.wa-float-cart {
  position: fixed !important;
  top: calc(102px + env(safe-area-inset-top, 0px)) !important;
  bottom: auto !important;
  height: auto !important;
  max-height: 80px !important;
  right: 12px !important;
  left: auto !important;
}
a#wa-float-cart.wa-float-cart:not(.has-items),
.wa-float-cart:not(.has-items) {
  width: 64px !important;
  height: 64px !important;
  max-height: 64px !important;
}


/* ===== Espaçamento entre cards (categorias e produtos) ===== */
body.wa-app .row.wa-cats-row,
body.wa-app .row.wa-prods-row,
body.wa-app section .row {
  display: flex !important;
  flex-wrap: wrap !important;
  margin-left: -4px !important;
  margin-right: -4px !important;
}

body.wa-app .wa-cat-col,
body.wa-app .wa-prod-col {
  padding: 6px !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}

body.wa-app .cat-card,
body.wa-app .prod-card {
  margin: 0 !important;
  height: 100% !important;
  box-sizing: border-box !important;
}

/* grid estilo cardápio */
.wa-list-grid {
  gap: 12px !important;
  padding-left: 12px !important;
  padding-right: 12px !important;
}

@media (max-width: 991.98px) {
  body.wa-app .wa-cat-col,
  body.wa-app .wa-prod-col {
    padding: 5px !important;
  }
  /* se estiver em 2 ou 3 colunas, mantém respiro */
  body.wa-app .wa-cat-col.col-6,
  body.wa-app .wa-cat-col.col-4,
  body.wa-app .wa-prod-col.col-6,
  body.wa-app .wa-prod-col.col-4 {
    padding: 6px !important;
  }
  body.wa-app .cat-card,
  body.wa-app .prod-card {
    border-radius: 14px !important;
  }
}

@media (min-width: 992px) {
  body.wa-app .wa-cat-col,
  body.wa-app .wa-prod-col {
    padding: 8px !important;
  }
  .wa-list-grid {
    gap: 14px !important;
  }
}


/* =========================================================
   HOME — Categorias com gap (igual produtos)
   ========================================================= */
body.wa-app .wa-home-cats-section {
  width: 100% !important;
  padding-top: 12px !important;
  padding-bottom: 16px !important;
}
body.wa-app .wa-home-cats-section .container {
  padding-left: 10px !important;
  padding-right: 10px !important;
  box-sizing: border-box !important;
}
body.wa-app .wa-home-cats-section .section-label {
  padding-left: 4px !important;
  margin-bottom: 10px !important;
}
body.wa-app .wa-home-cats-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr 1fr !important;
  gap: 10px !important;
  width: 100% !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  padding: 0 !important;
}
body.wa-app .wa-home-cat-item {
  min-width: 0 !important;
  display: flex !important;
  flex-direction: column !important;
}
body.wa-app .wa-home-cats-grid .cat-card {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  border: 3.5px solid #e11d48 !important;
  border-radius: 14px !important;
  border-bottom: 3.5px solid #e11d48 !important;
  overflow: hidden !important;
  background: #fff !important;
  box-shadow: 0 2px 10px rgba(0,0,0,.07) !important;
  box-sizing: border-box !important;
}
body.wa-app .wa-home-cats-grid .cat-card .img-wrap {
  width: 100% !important;
  aspect-ratio: 1 / 1 !important;
  height: auto !important;
  min-height: 0 !important;
  overflow: hidden !important;
  background: #e5e7eb !important;
}
body.wa-app .wa-home-cats-grid .cat-card .img-wrap img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}
body.wa-app .wa-home-cats-grid .cat-card .body {
  padding: 10px 10px 12px !important;
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
}
body.wa-app .wa-home-cats-grid .cat-card .nome {
  font-size: 13px !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  margin: 0 0 4px !important;
}
body.wa-app .wa-home-cats-grid .cat-card .desc {
  font-size: 11px !important;
  color: #6b7280 !important;
  margin: 0 0 8px !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
body.wa-app .wa-home-cats-grid .cat-card .btn {
  margin-top: auto !important;
  width: 100% !important;
  min-height: 36px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  border-radius: 10px !important;
}

@media (max-width: 480px) {
  body.wa-app .wa-home-cats-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
  }
  body.wa-app .wa-home-cats-grid .cat-card .nome {
    font-size: 12px !important;
  }
}

@media (min-width: 992px) {
  body.wa-app .wa-home-cats-grid {
    grid-template-columns: 1fr 1fr 1fr !important;
    gap: 14px !important;
  }
  body.wa-app .wa-home-cats-section .container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}

/* Fallback: se ainda usar col-6 wa-cat-col na home */
body.wa-app section .wa-cat-col,
body.wa-app .wa-cat-col.col-6,
body.wa-app .wa-cat-col.col-4 {
  padding: 6px !important;
  padding-left: 6px !important;
  padding-right: 6px !important;
  box-sizing: border-box !important;
}
body.wa-app section .row > .wa-cat-col {
  flex: 0 0 33.333% !important;
  max-width: 33.333% !important;
}
@media (max-width: 480px) {
  body.wa-app section .row > .wa-cat-col {
    flex: 0 0 50% !important;
    max-width: 50% !important;
  }
}


.wa-add-ingredientes{
  margin-top:6px;font-size:13px;line-height:1.35;font-weight:600;color:#5E6278;
  max-height:4.2em;overflow:hidden;
}
.wa-add-ingredientes:empty{ display:none !important; }
.wa-add-opt .lim{ display:none !important; }
.wa-ret-hint{ font-weight:700;color:#1a1a2e;margin:0 0 10px; }
.wa-ret-item{ display:flex;align-items:center;gap:10px;padding:12px 2px;border-bottom:1px solid #F1F3F8;font-weight:700; }
.wa-ret-item input{ width:20px;height:20px; }
