/* GS - CONTA LAYOUT (tema novo), 22/09/2026
   Páginas /conta/* (login, pedidos, favoritos, endereços): não passam pelo
   renderizador novo e vêm com clean-layout no body, só o essencial.
   ESCOPO .clean-layout:not(.carrinho-checkout): a loja NO AR não tem essa
   classe (medido), então o bloco fica inerte nela, e o :not deixa o checkout
   para o bloco "GS - Checkout layout". Os ícones dependem do bloco irmão
   "GS - Icones FA5". Versão comentada por inteiro em
   reference/blocos-para-o-painel/gs-conta-layout.css do repo da migração. */
.clean-layout:not(.carrinho-checkout) {
  background: #f4f4f4;
  color: #4a4a52;
  font-size: 15px;
  line-height: 1.5;
}
/* ---------- cabeçalho ----------
   Volta a ser estático: era fixed sem compensação no #corpo, e por isso o
   conteúdo nascia atrás dele. Estático resolve sem número mágico e vale para
   as páginas de conta que só aparecem logado (pedidos, endereços), que não
   deu para medir daqui. */
.clean-layout:not(.carrinho-checkout) #cabecalho {
  position: static !important;
  background: #332d30 !important; /* alguma folha da plataforma pinta de branco e ganha da regra normal */
  border-bottom: 3px solid #ffa300;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}
.clean-layout:not(.carrinho-checkout) #cabecalho .cabecalho-conteudo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.clean-layout:not(.carrinho-checkout) .cabecalho-logo,
.clean-layout:not(.carrinho-checkout) .cabecalho-logo h1,
.clean-layout:not(.carrinho-checkout) .cabecalho-logo h2 {
  margin: 0;
  padding: 0;
  line-height: 0;
}
.clean-layout:not(.carrinho-checkout) .cabecalho-logo img {
  width: auto;
  max-width: 180px;
  max-height: 46px;
  height: auto;
}
.clean-layout:not(.carrinho-checkout) .cabecalho-disclaimer,
.clean-layout:not(.carrinho-checkout) .cabecalho-safety,
.clean-layout:not(.carrinho-checkout) .cabecalho-safety p {
  color: #fff;
  margin: 0;
}
.clean-layout:not(.carrinho-checkout) .cabecalho-safety {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.clean-layout:not(.carrinho-checkout) .cabecalho-safety i {
  color: #ffa300;
}
.clean-layout:not(.carrinho-checkout) #corpo > .conteiner {
  padding-top: 22px;
  padding-bottom: 30px;
}
.clean-layout:not(.carrinho-checkout) #corpo h1.titulo,
.clean-layout:not(.carrinho-checkout) #corpo h2.titulo {
  margin: 0 0 4px;
  font-size: 24px;
  line-height: 1.25;
  font-weight: 800;
  color: #332d30;
}
.clean-layout:not(.carrinho-checkout) #corpo h1.titulo small,
.clean-layout:not(.carrinho-checkout) #corpo h2.titulo small {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 400;
  color: #7c7c85;
}
.clean-layout:not(.carrinho-checkout) .cabecalho-interno {
  margin-bottom: 16px;
}
.clean-layout:not(.carrinho-checkout) .caixa-sombreada,
.clean-layout:not(.carrinho-checkout) .caixa-cinza,
.clean-layout:not(.carrinho-checkout) .caixa {
  background: #fff !important;
  border: 0 !important;
  border-radius: 14px;
  box-shadow: 0 4px 22px rgba(0, 0, 0, 0.07);
  padding: 22px 20px;
  margin-bottom: 16px;
  box-sizing: border-box;
}
.clean-layout:not(.carrinho-checkout) #corpo legend.titulo,
.clean-layout:not(.carrinho-checkout) #corpo legend {
  display: block;
  width: 100%;
  margin: 0 0 16px;
  padding: 0 0 12px;
  font-size: 17px;
  line-height: 1.3;
  font-weight: 800;
  color: #332d30;
  border: 0;
  border-bottom: 1px solid #f0f0f0;
  box-sizing: border-box;
}
.clean-layout:not(.carrinho-checkout) #corpo legend i {
  color: #ffa300;
  margin-right: 6px;
}
.clean-layout:not(.carrinho-checkout) fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}
/* ---------- formulários ----------
   O rótulo sai para cima do campo (a grade .form-horizontal do bootstrap
   antigo o jogava para a esquerda, com 50px de largura). */
.clean-layout:not(.carrinho-checkout) #corpo .control-group {
  margin-bottom: 14px;
}
.clean-layout:not(.carrinho-checkout) #corpo label,
.clean-layout:not(.carrinho-checkout) #corpo label.control-label {
  display: block;
  float: none;
  width: auto;
  margin: 0 0 6px;
  padding: 0;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.3;
  text-align: left;
  color: #6b6b73;
}
.clean-layout:not(.carrinho-checkout) #corpo .controls {
  margin-left: 0;
}
.clean-layout:not(.carrinho-checkout) #corpo input[type="text"],
.clean-layout:not(.carrinho-checkout) #corpo input[type="email"],
.clean-layout:not(.carrinho-checkout) #corpo input[type="tel"],
.clean-layout:not(.carrinho-checkout) #corpo input[type="number"],
.clean-layout:not(.carrinho-checkout) #corpo input[type="password"],
.clean-layout:not(.carrinho-checkout) #corpo input[type="search"],
.clean-layout:not(.carrinho-checkout) #corpo select,
.clean-layout:not(.carrinho-checkout) #corpo textarea {
  width: 100% !important; /* as classes .span8 e .span9 do bootstrap antigo fixam a largura em px */
  min-height: 46px;
  margin: 0;
  padding: 10px 14px;
  box-sizing: border-box;
  font-size: 16px; /* abaixo de 16px o iOS dá zoom sozinho ao focar */
  line-height: 1.3;
  color: #332d30;
  background: #fff;
  border: 1.5px solid #ddd;
  border-radius: 10px;
  box-shadow: none;
  transition: border-color 0.15s ease;
}
.clean-layout:not(.carrinho-checkout) #corpo textarea {
  min-height: 92px;
  resize: vertical;
}
.clean-layout:not(.carrinho-checkout) #corpo input:focus,
.clean-layout:not(.carrinho-checkout) #corpo select:focus,
.clean-layout:not(.carrinho-checkout) #corpo textarea:focus {
  border-color: #584df0;
  outline: 2px solid rgba(88, 77, 240, 0.16);
  outline-offset: 1px;
}
.clean-layout:not(.carrinho-checkout) #corpo input[type="checkbox"],
.clean-layout:not(.carrinho-checkout) #corpo input[type="radio"] {
  width: 18px !important;
  min-height: 0;
  height: 18px;
  margin: 0 8px 0 0;
  accent-color: #584df0;
}
.clean-layout:not(.carrinho-checkout) #corpo .control-group.error input,
.clean-layout:not(.carrinho-checkout) #corpo .control-group.error select {
  border-color: #b71c1f;
}
.clean-layout:not(.carrinho-checkout) #corpo .help-block,
.clean-layout:not(.carrinho-checkout) #corpo .help-inline {
  display: block;
  margin: 6px 0 0;
  font-size: 12.5px;
  line-height: 1.4;
  color: #8a8a92;
}
.clean-layout:not(.carrinho-checkout) #corpo .control-group.error .help-block,
.clean-layout:not(.carrinho-checkout) #corpo .control-group.error .help-inline {
  color: #b71c1f;
}
.clean-layout:not(.carrinho-checkout) #corpo .botao,
.clean-layout:not(.carrinho-checkout) #corpo button.botao,
.clean-layout:not(.carrinho-checkout) #corpo a.botao,
.clean-layout:not(.carrinho-checkout) #corpo input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: auto;
  min-height: 46px;
  padding: 0 22px;
  box-sizing: border-box;
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  text-shadow: none;
  border: 0;
  border-radius: 12px;
  background-image: none !important; /* o tema antigo usa gradiente */
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease;
}
.clean-layout:not(.carrinho-checkout) #corpo .botao.principal,
.clean-layout:not(.carrinho-checkout) #corpo button.botao.principal,
.clean-layout:not(.carrinho-checkout) #corpo input[type="submit"] {
  color: #fff !important;
  background: #584df0 !important; /* o tema.css da loja pinta de laranja com prioridade */
  box-shadow: 0 6px 18px rgba(88, 77, 240, 0.24);
}
.clean-layout:not(.carrinho-checkout) #corpo .botao.principal:hover,
.clean-layout:not(.carrinho-checkout) #corpo button.botao.principal:hover {
  background: #4a40e0 !important;
  transform: translateY(-1px);
}
.clean-layout:not(.carrinho-checkout) #corpo .botao.secundario,
.clean-layout:not(.carrinho-checkout) #corpo a.botao:not(.principal) {
  color: #332d30 !important;
  background: #f1f1f4 !important;
  box-shadow: none;
}
.clean-layout:not(.carrinho-checkout) #corpo .botao.grande {
  min-height: 52px;
  font-size: 17px;
}
.clean-layout:not(.carrinho-checkout) #corpo a {
  color: #584df0;
}
.clean-layout:not(.carrinho-checkout) #corpo a.recuperar-senha {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  font-size: 13.5px;
  font-weight: 600;
  color: #584df0;
}
.clean-layout:not(.carrinho-checkout) #corpo a.recuperar-senha i {
  color: #ffa300;
}
/* ---------- entrar com o Google ----------
   Fica como segundo caminho, abaixo de uma linha "ou". */
.clean-layout:not(.carrinho-checkout) .social-login-google {
  margin: 18px 0 0 !important;
  padding-top: 16px;
  border-top: 1px solid #f0f0f0;
  position: relative;
}
.clean-layout:not(.carrinho-checkout) .social-login-google::before {
  content: "ou";
  position: absolute;
  top: -9px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0 10px;
  background: #fff;
  font-size: 12px;
  color: #9a9aa2;
}
.clean-layout:not(.carrinho-checkout) .social-login-google .controls {
  display: flex;
  justify-content: center;
  margin-left: 0 !important;
}
/* página de login: duas colunas de mesma altura */
@media (min-width: 768px) {
  .clean-layout:not(.carrinho-checkout) .cadastro-logar {
    display: flex;
    gap: 20px;
    align-items: stretch;
  }
  /* o clearfix do .row-fluid antigo vira item de flex e abriria um vão */
  .clean-layout:not(.carrinho-checkout) .cadastro-logar::before,
  .clean-layout:not(.carrinho-checkout) .cadastro-logar::after {
    display: none;
  }
  .clean-layout:not(.carrinho-checkout) .cadastro-logar > [class*="span"] {
    float: none;
    width: auto !important;
    margin-left: 0 !important;
    flex: 1 1 0;
    display: flex;
  }
  .clean-layout:not(.carrinho-checkout) .cadastro-logar .caixa-sombreada {
    width: 100%;
    margin-bottom: 0;
  }
}
/* tabelas (meus pedidos, endereços, favoritos) */
.clean-layout:not(.carrinho-checkout) #corpo table.table,
.clean-layout:not(.carrinho-checkout) #corpo table {
  width: 100%;
  margin: 0;
  background: #fff;
  border: 0;
  border-collapse: collapse;
  font-size: 14px;
}
.clean-layout:not(.carrinho-checkout) #corpo table th {
  padding: 12px 14px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #6b6b73;
  background: #f7f7f9;
  border: 0;
  border-bottom: 1px solid #ececf0;
  text-align: left;
}
.clean-layout:not(.carrinho-checkout) #corpo table td {
  padding: 13px 14px;
  border: 0;
  border-bottom: 1px solid #f4f4f6;
  vertical-align: middle;
  color: #4a4a52;
}
.clean-layout:not(.carrinho-checkout) #corpo table tr:last-child td {
  border-bottom: 0;
}
.clean-layout:not(.carrinho-checkout) #corpo .alert {
  margin: 0 0 16px;
  padding: 13px 16px;
  font-size: 14px;
  border: 0;
  border-radius: 12px;
  text-shadow: none;
  background: #fff6e2;
  color: #7a5200;
}
.clean-layout:not(.carrinho-checkout) #corpo .alert-error,
.clean-layout:not(.carrinho-checkout) #corpo .alert-danger {
  background: #fdecec;
  color: #a4181b;
}
.clean-layout:not(.carrinho-checkout) #corpo .alert-success {
  background: #e9f7ee;
  color: #1c6b3a;
}
.clean-layout:not(.carrinho-checkout) #corpo .alert-info {
  background: #eaf1fd;
  color: #1b4f8f;
}
.clean-layout:not(.carrinho-checkout) .modal {
  border: 0;
  border-radius: 16px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}
.clean-layout:not(.carrinho-checkout) .modal .modal-header {
  padding: 18px 20px 14px;
  border-bottom: 1px solid #f0f0f0;
  background: #fff;
}
.clean-layout:not(.carrinho-checkout) .modal .modal-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  color: #332d30;
}
.clean-layout:not(.carrinho-checkout) .modal .modal-body {
  padding: 18px 20px;
  border: 0 !important;
}
.clean-layout:not(.carrinho-checkout) .modal .modal-footer {
  padding: 14px 20px 18px;
  background: #fff;
  border-top: 1px solid #f0f0f0;
  box-shadow: none;
  border-radius: 0;
}
.clean-layout:not(.carrinho-checkout) #rodape {
  background: #fff;
  border-top: 1px solid #ececec;
}
.clean-layout:not(.carrinho-checkout) #rodape .rodape-conteudo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 0;
  font-size: 11.5px;
  line-height: 1.4;
  color: #8a8a92;
}
.clean-layout:not(.carrinho-checkout) #rodape p {
  margin: 0;
}
@media (max-width: 767px) {
  .clean-layout:not(.carrinho-checkout) #cabecalho .conteiner,
  .clean-layout:not(.carrinho-checkout) #corpo > .conteiner,
  .clean-layout:not(.carrinho-checkout) #rodape .conteiner {
    padding-left: 14px;
    padding-right: 14px;
  }
  .clean-layout:not(.carrinho-checkout) #cabecalho .cabecalho-conteudo {
    gap: 10px;
  }
  .clean-layout:not(.carrinho-checkout) .cabecalho-logo img {
    max-width: 140px;
    max-height: 40px;
  }
  .clean-layout:not(.carrinho-checkout) .cabecalho-safety {
    font-size: 10px;
    letter-spacing: 0.02em;
  }
  .clean-layout:not(.carrinho-checkout) #corpo h1.titulo,
  .clean-layout:not(.carrinho-checkout) #corpo h2.titulo {
    font-size: 21px;
  }
  .clean-layout:not(.carrinho-checkout) #corpo h1.titulo small {
    font-size: 13.5px;
  }
  /* uma coluna: a grade fluida do tema antigo continua em porcentagem */
  .clean-layout:not(.carrinho-checkout) #corpo .row-fluid > [class*="span"] {
    float: none;
    width: 100% !important;
    margin-left: 0 !important;
  }
  .clean-layout:not(.carrinho-checkout) .caixa-sombreada {
    padding: 18px 16px;
    margin-bottom: 14px;
  }
  /* botão do tamanho do dedo e da largura do cartão */
  .clean-layout:not(.carrinho-checkout) #corpo .botao,
  .clean-layout:not(.carrinho-checkout) #corpo button.botao,
  .clean-layout:not(.carrinho-checkout) #corpo input[type="submit"] {
    width: 100%;
    min-height: 50px;
    font-size: 16px;
  }
  /* a janela do bootstrap antigo é fixa em 560px e vaza da tela */
  .clean-layout:not(.carrinho-checkout) .modal {
    position: fixed !important;
    top: 12px !important;
    left: 12px !important;
    right: 12px !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    max-height: calc(100vh - 24px);
    overflow: auto;
  }
  /* tabela de pedidos rola na horizontal em vez de esticar a página */
  .clean-layout:not(.carrinho-checkout) #corpo table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
  .clean-layout:not(.carrinho-checkout) #rodape .rodape-conteudo {
    flex-direction: column;
    text-align: center;
  }
}
