/* ====== BRAND: ATACADÃO DO BRASIL ====== */
:root{
  --brand-green: #009B3A;
  --brand-yellow: #FFDF00;
  --brand-blue: #002776;
  --brand-black: #000000;
  --brand-white: #FFFFFF;
  --card-radius: 12px;
}

/* Fundo preto com detalhe em degradê verde/azul no canto */
.custom-login-wrap {
  min-height: calc(100vh - 120px);
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 32px;
  align-items: center;
  /* background: var(--brand-black); */
  padding: 40px 24px;
  position: relative;
  overflow: hidden;
}
.custom-login-wrap::after{
  /* leve “glow” diagonal para dar vida ao fundo */
  content:"";
  position:absolute; inset:-30% -10% auto -10%;
  height:70%;
  background: radial-gradient(60% 60% at 20% 20%, rgba(0,155,58,.35) 0%, rgba(0,39,118,.25) 55%, transparent 70%);
  pointer-events:none;
}

/* Lado esquerdo: hero com logo e título */
.custom-login-hero {
  color: var(--brand-white);
  max-width: 720px;
  margin: 0 auto;
}
.custom-login-hero .badge {
  display: inline-block;
  background: rgba(255,255,255,.12);
  padding: 6px 10px;
  border-radius: 6px;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,.2);
}
.custom-login-hero h2 {
  font-size: 56px;
  line-height: 1.05;
  margin: 14px 0 10px;
  font-weight: 900;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--brand-white);
}
.custom-login-hero p { font-size: 18px; opacity: .95; }

/* Cartão de login */
.custom-login-card {
  background: var(--brand-white);
  border-radius: var(--card-radius);
  /* box-shadow: 0 16px 32px rgba(0,0,0,.28); */
  padding: 28px;
  border: 0px solid transparent;
  outline: 1px solid rgba(0,0,0,.06);
}
.custom-login-card {
  background: var(--brand-white);
  border-radius: var(--card-radius);
  box-shadow: 0 !important;
  padding: 28px;
  border: 0px solid transparent !important;
  outline: 0px !important;
}
.custom-login-card h3 {
  margin: 0 0 16px;
  font-size: 22px;
  font-weight: 900;
  color: #0f172a;
}

/* Campos */
.custom-field { margin-bottom: 12px; }
.custom-field label {
  display: block;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 6px;
}
.custom-field input[type="text"],
.custom-field input[type="password"]{
  width: 100%;
  height: 46px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  padding: 10px 12px;
  box-sizing: border-box;
  outline: none;
}
.custom-field input:focus{
  border-color: var(--brand-green);
  box-shadow: 0 0 0 3px rgba(0,155,58,.15);
}

/* Botão principal: verde com borda amarela no hover */
.custom-actions { margin-top: 8px; }
.custom-btn {
  width: 100%;
  height: 46px;
  border: none;
  border-radius: 10px;
  background: var(--brand-green);
  color: var(--brand-white);
  font-weight: 900;
  letter-spacing: .02em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .02s ease, box-shadow .2s ease, background .2s ease;
  box-shadow: 0 6px 14px rgba(0,155,58,.35);
}
.custom-btn:hover{
  background: #028c35;
  box-shadow: 0 8px 18px rgba(0,155,58,.45);
}
.custom-btn:active{ transform: translateY(1px); }

/* Links auxiliares em azul da bandeira */
.custom-links {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  font-size: 14px;
}
.custom-links a {
  color: var(--brand-blue);
  text-decoration: none;
  font-weight: 700;
}
.custom-links a:hover{ text-decoration: underline; }

/* Divisor e CTA de cadastro em amarelo */
.custom-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
  color: #6b7280;
  margin: 14px 0;
}
.custom-divider:before, .custom-divider:after {
  content: "";
  height: 1px;
  background: #e5e7eb;
}
.custom-register {
  text-align: center;
  margin-top: 12px;
  font-size: 14px;
}
.custom-register a {
  color: #508be3 !important;
  font-weight: 400 !important;
  text-decoration: none;
}
.custom-register a:hover { filter: brightness(.92); }

/* Erros */
.custom-error {
  background: #fff4f4;
  color: #9b1c1c;
  border: 1px solid #ffd2d2;
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 12px;
}

/* Responsivo */
@media (max-width: 1024px) {
  .custom-login-wrap {
    grid-template-columns: 1fr;
    background: var(--brand-black);
    padding: 24px;
  }
  .custom-login-hero { display: none; }
}

.categoria-titulo{ display: none !important; }

/* ===== AUTH MOBILE (<= 768px): apenas logo + formulário ===== */
@media (max-width: 468px){

  /* Some tudo do tema nessas páginas */
  body.cls-auth .site-header,
  body.cls-auth header,
  body.cls-auth #masthead,
  body.cls-auth nav,
  body.cls-auth .menu,
  body.cls-auth .navbar,
  body.cls-auth .site-footer,
  body.cls-auth #colophon,
  body.cls-auth .elementor-location-header,
  body.cls-auth .elementor-location-footer {
    display: none !important;
  }

  /* Fundo branco e layout compacto */
  body.cls-auth { background: #ffffff; }

  .custom-login-wrap {
    display: block;           /* 1 coluna */
    min-height: 100vh;
    padding: 16px;
    background: #fff;         /* tira o gradiente/fundo */
  }

  /* NADA de banner no mobile */
  .custom-login-hero { display: none !important; }

  /* Card vira um bloco simples */
  .custom-login-card {
    margin-top: 7em !important;
    max-width: 100%;
    width: 94%;
    margin: 0;
    padding: 16px 16px 24px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  /* Logo centralizada (estilo Shopee) */
  .auth-logo-mobile {
    display: flex;
    justify-content: center;
    margin: 8px 0 4px;
  }
  .auth-logo-mobile img,
  .auth-logo-mobile .custom-logo-link img {
    height: 56px; width: auto;
  }

  /* Opcional: deixar só o essencial do formulário */
  .custom-login-card h3 { display: none; }       /* esconde "Entre" */
  .custom-links, .custom-divider { display: none; } /* esconde links extras/OU */

  /* Inputs/btn com respiro */
  .custom-field { margin-bottom: 10px; }
  .custom-actions .custom-btn {
    height: 44px;
    border-radius: 8px;
    font-weight: 600;
  }

 #woofc-count{ display: none;}
}
