/* RESET DE SEGURANÇA CONTRA OVERFLOW LATERAL NO CELULAR */
html, body {
  max-width: 100vw;
  overflow-x: hidden !important;
  touch-action: manipulation;
}

/* VARIÁVEIS DE COR GLOBAL */
:root {
  --of-blue: #0052cc;
  --of-orange: #ff7f00;
}

/* FIXAÇÃO DE HEADER */
#banner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
}

/* CUSTOM SCROLLBAR BARRA DE ROLAGEM */
::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}
::-webkit-scrollbar-track {
  background: #090d16;
}
::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #334155;
}

/* CORTE DE TEXTO MULTILINHAS */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* OCULTAR BARRA DE ROLAGEM */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* AJUSTES RESPONSIVOS MOBILE (INSPIRADO NO MAGALU) */
@media (max-width: 767px) {
  body {
    padding-bottom: 60px; /* Garante espaço limpo para a Bottom Nav */
  }

  .card-product-mobile {
    min-height: 240px;
  }
  
  /* Ajuste no foco das entradas para evitar zoom indesejado no iOS */
  input[type="text"], input[type="search"], input[type="email"], select {
    font-size: 16px !important;
  }
}

/* TRANSIÇÕES SUAVES DO DRAWER LATERAL DE NAVEGAÇÃO */
#drawerMenu {
  will-change: transform;
}