/* Ajustes só para celular (até 767px). Computador e tablet não usam este arquivo. */
@media (max-width: 767px) {
  /* Respiro entre seções menor: no celular os vãos de 88px viravam buracos vazios */
  :root { --space: 64px; }
  .empresas + .entrega { margin-top: 0; } /* tirava uma faixa cinza vazia entre duas seções brancas */

  /* Faixa de anúncios: texto inteiro, sem corte em cima e embaixo */
  .ad-rail { height: 100px; }
  .ad-slide { padding: 0 20px; gap: 14px; }
  .ad-copy { gap: 3px; }
  .ad-eyebrow { font-size: .68rem; }
  .ad-kicker { font-size: 1rem; line-height: 1.18; }
  .ad-sub { font-size: .8rem; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .ad-cta { display: none; }
  .ad-media img { max-width: 78px; height: auto; max-height: 32px; object-fit: contain; }

  /* Menu aberto: a faixa de anúncios sai para o cabeçalho (e o botão Fechar) ficar à vista */
  body.menu-open .ad-rail { display: none; }
  .nav-list a { min-height: 52px; font-size: 1.6rem; }

  /* Cabeçalho da loja: carrinho vira ícone com contador, para o botão Menu caber */
  .site-header .bar { gap: 10px; }
  .brand img { width: 116px; }
  .cart-btn { font-size: 0; gap: 6px; min-height: 40px; padding: 0 12px; }
  .cart-btn::before { content: ""; width: 20px; height: 20px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 7h12l-1 13H7z'/%3E%3Cpath d='M9 7a3 3 0 0 1 6 0'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 7h12l-1 13H7z'/%3E%3Cpath d='M9 7a3 3 0 0 1 6 0'/%3E%3C/svg%3E") center / contain no-repeat; }
  .cart-btn .cart-badge { font-size: .85rem; }
  .cart-btn ~ .menu-toggle { margin-left: 0; }

  /* Janela do produto em tela cheia: botão Fechar sempre à vista */
  .pd > .sheet-close { position: fixed; top: 12px; right: 12px; z-index: 2; box-shadow: 0 4px 14px rgba(0, 0, 0, .14); }
  .pd-media img { max-height: 30vh; }

  /* Selo Inmetro pequeno da aba de obras: só o essencial, sem texto cortado */
  .stage-seal { width: 92px; height: 92px; }
  .stage-seal .seal-bot { display: none; }
  .stage-seal .seal-top { font-size: .5rem; }
  .stage-seal strong { font-size: .74rem; }

  /* Aba Pintura industrial: logo WEG e superfícies alinhados lado a lado, sem pílulas soltas no meio */
  .stage-ind .stage-side { gap: 16px; align-items: center; }
  .stage-ind .stage-weg-logo { width: 96px; flex: none; }
  .stage-ind .stage-surfaces { flex-direction: row; flex-wrap: wrap; justify-content: flex-start; gap: 6px; }
  .stage-ind .stage-surfaces li { padding: 7px 12px; font-size: .82rem; }

  /* Rodapé: contatos numa linha inteira, sem quebrar o número do WhatsApp */
  .site-footer { padding-top: 56px; }
  .footer-grid { grid-auto-flow: dense; gap: 28px 24px; }
  .footer-grid > .footer-col:has(a[href^="https://wa.me"]) { grid-column: 1 / -1; }
  .footer-col a { white-space: nowrap; }
  .footer-legal { margin-top: 40px; }
  .footer-staff a { display: inline-flex; align-items: center; min-height: 44px; font-size: .78rem; }
}
