/* =========================================================
   LLB ENGENHARIA E MANUTENÇÃO
   LOJA PÚBLICA
========================================================= */


/* =========================================================
   RESET
========================================================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;

  min-height: 100vh;

  font-family:
    Arial,
    Helvetica,
    sans-serif;

  background:
    #f3f3f3;

  color:
    #171717;
}

img {
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color:
    transparent;
}


/* =========================================================
   CONTAINER
========================================================= */

.container {
  width:
    min(
      1180px,
      calc(100% - 32px)
    );

  margin:
    0 auto;
}


/* =========================================================
   CABEÇALHO
========================================================= */

.topo {
  position:
    relative;

  top:
    auto;

  z-index:
    1000;

  background:
    #101010;

  border-bottom:
    3px solid #f5a000;

  box-shadow:
    0 5px 18px
    rgba(0, 0, 0, 0.25);
}


.topo > .container {
  min-height:
    68px;

  display:
    flex;

  align-items:
    center;

  justify-content:
    space-between;

  gap:
    18px;
}


.topo-logo-link {
  display:
    inline-flex;

  align-items:
    center;

  flex:
    0 0 auto;
}


.topo-logo {
  width:
    135px !important;

  max-width:
    135px !important;

  height:
    auto;

  display:
    block;
}


/* =========================================================
   NAVEGAÇÃO
========================================================= */

.topo nav {
  display:
    flex;

  align-items:
    center;

  justify-content:
    flex-end;

  flex-wrap:
    wrap;

  gap:
    6px;
}


.topo nav a {
  min-height:
    38px;

  padding:
    0 12px;

  display:
    inline-flex;

  align-items:
    center;

  justify-content:
    center;

  border-radius:
    7px;

  color:
    #d3d3d3;

  text-decoration:
    none;

  font-size:
    12px;

  font-weight:
    700;

  transition:
    background 0.18s ease,
    color 0.18s ease;
}


.topo nav a:hover {
  background:
    #222222;

  color:
    #f5a000;
}


/* =========================================================
   BANNER
========================================================= */

.banner {
  position:
    relative;

  overflow:
    hidden;

  min-height:
    440px;

  display:
    flex;

  align-items:
    center;

  background:
    radial-gradient(
      circle at 82% 25%,
      rgba(255, 153, 0, 0.18),
      transparent 30%
    ),
    linear-gradient(
      120deg,
      #080808,
      #181818 60%,
      #111111
    );

  border-bottom:
    1px solid #282828;
}


.banner::before {
  content:
    "";

  position:
    absolute;

  top:
    -90px;

  right:
    -110px;

  width:
    390px;

  height:
    390px;

  border:
    45px solid
    rgba(245, 160, 0, 0.08);

  border-radius:
    50%;
}


.banner::after {
  content:
    "";

  position:
    absolute;

  left:
    0;

  bottom:
    0;

  width:
    42%;

  height:
    5px;

  background:
    linear-gradient(
      90deg,
      #f5a000,
      #ff7200
    );
}


.banner .container {
  position:
    relative;

  z-index:
    2;
}


.banner h2 {
  max-width:
    720px;

  margin:
    0;

  color:
    #ffffff;

  font-size:
    clamp(
      35px,
      5vw,
      62px
    );

  line-height:
    1.02;

  font-weight:
    900;

  letter-spacing:
    -1.5px;
}


.banner p {
  max-width:
    610px;

  margin:
    22px 0 0;

  color:
    #b8b8b8;

  font-size:
    16px;

  line-height:
    1.7;
}


/* =========================================================
   BOTÃO PRINCIPAL
========================================================= */

.botao-principal {
  min-height:
    48px;

  margin-top:
    27px;

  padding:
    0 22px;

  display:
    inline-flex;

  align-items:
    center;

  justify-content:
    center;

  border:
    none;

  border-radius:
    8px;

  background:
    linear-gradient(
      135deg,
      #ffb000,
      #ff7600
    );

  color:
    #111111;

  text-decoration:
    none;

  font-size:
    13px;

  font-weight:
    900;

  cursor:
    pointer;

  transition:
    transform 0.15s ease,
    filter 0.15s ease;
}


.botao-principal:hover {
  filter:
    brightness(1.06);
}


.botao-principal:active {
  transform:
    scale(0.99);
}


/* =========================================================
   PRODUTOS
========================================================= */

.produtos {
  padding:
    58px 0 70px;

  background:
    #f3f3f3;
}


/* =========================================================
   CABEÇALHO DA SEÇÃO
========================================================= */

.cabecalho-secao {
  display:
    flex;

  align-items:
    flex-end;

  justify-content:
    space-between;

  flex-wrap:
    wrap;

  gap:
    18px;

  margin-bottom:
    26px;
}


.titulo-destaque {
  display:
    block;

  margin-bottom:
    6px;

  color:
    #d47b00;

  font-size:
    10px;

  font-weight:
    900;

  letter-spacing:
    1.3px;
}


.cabecalho-secao h2 {
  margin:
    0;

  color:
    #151515;

  font-size:
    30px;

  font-weight:
    900;
}


/* =========================================================
   CONTROLES CRIADOS PELO APP.JS
========================================================= */

#loja-controles {
  width:
    100%;
}


#loja-controles input,
#loja-controles select {
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}


#loja-controles input:focus,
#loja-controles select:focus {
  outline:
    none;

  border-color:
    #f5a000 !important;

  box-shadow:
    0 0 0 3px
    rgba(245, 160, 0, 0.10);
}


#loja-abrir-carrinho {
  transition:
    background 0.15s ease,
    transform 0.15s ease;
}


#loja-abrir-carrinho:hover {
  background:
    #282828 !important;
}


#loja-abrir-carrinho:active {
  transform:
    scale(0.98);
}


#loja-carrinho-contador {
  min-width:
    22px;

  height:
    22px;

  margin-left:
    6px;

  padding:
    0 6px;

  display:
    inline-flex;

  align-items:
    center;

  justify-content:
    center;

  border-radius:
    999px;

  background:
    #f5a000;

  color:
    #111111;

  font-size:
    11px;

  font-weight:
    900;
}


/* =========================================================
   GRADE
========================================================= */

.grade-produtos {
  display:
    grid;

  grid-template-columns:
    repeat(
      4,
      minmax(0, 1fr)
    );

  gap:
    20px;
}


/* =========================================================
   CARD DO PRODUTO
========================================================= */

.produto-card {
  min-width:
    0;

  display:
    flex;

  flex-direction:
    column;

  overflow:
    hidden;

  border:
    1px solid #dddddd;

  border-radius:
    12px;

  background:
    #ffffff;

  box-shadow:
    0 6px 24px
    rgba(0, 0, 0, 0.055);

  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}


.produto-card:hover {
  transform:
    translateY(-4px);

  border-color:
    #f0b14c;

  box-shadow:
    0 14px 34px
    rgba(0, 0, 0, 0.10);
}


/* =========================================================
   IMAGEM
========================================================= */

.produto-imagem {
  position:
    relative;

  width:
    100%;

  aspect-ratio:
    1 / 1;

  display:
    flex;

  align-items:
    center;

  justify-content:
    center;

  overflow:
    hidden;

  background:
    #eeeeee;

  color:
    #999999;

  font-size:
    12px;
}


.produto-imagem img {
  width:
    100%;

  height:
    100%;

  object-fit:
    cover;

  transition:
    transform 0.25s ease;
}


.produto-card:hover
.produto-imagem img {
  transform:
    scale(1.025);
}


/* =========================================================
   CONTEÚDO DO CARD
========================================================= */

.produto-conteudo {
  flex:
    1;

  display:
    flex;

  flex-direction:
    column;

  padding:
    17px;
}


.produto-categoria {
  min-height:
    15px;

  color:
    #c67600;

  font-size:
    9px;

  font-weight:
    900;

  letter-spacing:
    0.6px;

  text-transform:
    uppercase;
}


.produto-conteudo h3 {
  margin:
    8px 0 0;

  color:
    #161616;

  font-size:
    16px;

  line-height:
    1.35;

  font-weight:
    800;

  overflow-wrap:
    anywhere;
}


.produto-tamanho {
  margin:
    9px 0 0;

  color:
    #777777;

  font-size:
    11px;
}


/* =========================================================
   PREÇO
========================================================= */

.produto-preco {
  display:
    block;

  margin-top:
    auto;

  padding-top:
    18px;

  color:
    #151515;

  font-size:
    22px;

  font-weight:
    900;
}


/* =========================================================
   BOTÃO DO PRODUTO
========================================================= */

.botao-comprar {
  width:
    100%;

  min-height:
    43px;

  margin-top:
    14px;

  padding:
    0 12px;

  border:
    none;

  border-radius:
    7px;

  background:
    #111111;

  color:
    #ffffff;

  font-size:
    11px;

  font-weight:
    900;

  cursor:
    pointer;

  transition:
    background 0.16s ease,
    color 0.16s ease,
    transform 0.16s ease;
}


.botao-comprar:hover:not(:disabled) {
  background:
    #f5a000;

  color:
    #111111;
}


.botao-comprar:active:not(:disabled) {
  transform:
    scale(0.99);
}


/* =========================================================
   MODAL DO CARRINHO
========================================================= */

#loja-carrinho-modal button {
  font-family:
    inherit;
}


#loja-carrinho-conteudo {
  color:
    #222222;
}


#loja-carrinho-conteudo
button[data-carrinho-menos],
#loja-carrinho-conteudo
button[data-carrinho-mais] {
  width:
    30px;

  height:
    30px;

  display:
    inline-flex;

  align-items:
    center;

  justify-content:
    center;

  border:
    1px solid #cccccc;

  border-radius:
    6px;

  background:
    #ffffff;

  color:
    #111111;

  font-weight:
    900;

  cursor:
    pointer;
}


#loja-carrinho-conteudo
button[data-carrinho-menos]:hover,
#loja-carrinho-conteudo
button[data-carrinho-mais]:hover {
  border-color:
    #f5a000;
}


/* =========================================================
   RODAPÉ
========================================================= */

.rodape {
  padding:
    42px 0;

  background:
    #101010;

  border-top:
    4px solid #f5a000;

  color:
    #8f8f8f;
}


.rodape .container {
  display:
    flex;

  flex-direction:
    column;

  align-items:
    flex-start;
}


.rodape p {
  margin:
    4px 0;

  font-size:
    12px;

  line-height:
    1.5;
}


.rodape strong {
  color:
    #d6d6d6;
}


/* =========================================================
   TABLET GRANDE
========================================================= */

@media (
  max-width: 1050px
) {

  .grade-produtos {
    grid-template-columns:
      repeat(
        3,
        minmax(0, 1fr)
      );
  }

}


/* =========================================================
   TABLET
========================================================= */

@media (
  max-width: 820px
) {

  .topo > .container {
    min-height:
      auto;

    padding:
      10px 0;

    align-items:
      flex-start;

    flex-direction:
      column;
  }


  .topo nav {
    width:
      100%;

    justify-content:
      flex-start;
  }


  .topo nav a {
    padding:
      0 9px;
  }


  .banner {
    min-height:
      370px;
  }


  .banner h2 {
    max-width:
      620px;
  }


  .grade-produtos {
    grid-template-columns:
      repeat(
        2,
        minmax(0, 1fr)
      );
  }

}


/* =========================================================
   CELULAR
========================================================= */

@media (
  max-width: 600px
) {

  .container {
    width:
      calc(100% - 20px);
  }


  .topo {
    position:
      relative;
  }


  .topo-logo {
    width:
      125px !important;

    max-width:
      125px !important;
  }


  .topo nav {
    gap:
      2px;
  }


  .topo nav a {
    min-height:
      34px;

    padding:
      0 7px;

    font-size:
      10px;
  }


  .banner {
    min-height:
      330px;

    padding:
      35px 0;
  }


  .banner::before {
    width:
      240px;

    height:
      240px;

    top:
      -70px;

    right:
      -100px;
  }


  .banner h2 {
    font-size:
      35px;

    letter-spacing:
      -0.8px;
  }


  .banner p {
    margin-top:
      16px;

    font-size:
      13px;
  }


  .botao-principal {
    min-height:
      44px;

    margin-top:
      20px;
  }


  .produtos {
    padding:
      38px 0 48px;
  }


  .cabecalho-secao h2 {
    font-size:
      25px;
  }


  #loja-controles > div {
    display:
      grid !important;

    grid-template-columns:
      1fr !important;
  }


  #loja-busca {
    width:
      100%;

    min-width:
      0 !important;
  }


  #loja-categoria,
  #loja-ordenacao,
  #loja-abrir-carrinho {
    width:
      100%;
  }


  .grade-produtos {
    grid-template-columns:
      repeat(
        2,
        minmax(0, 1fr)
      );

    gap:
      10px;
  }


  .produto-card {
    border-radius:
      9px;
  }


  .produto-conteudo {
    padding:
      12px;
  }


  .produto-conteudo h3 {
    font-size:
      13px;
  }


  .produto-categoria {
    font-size:
      8px;
  }


  .produto-preco {
    padding-top:
      13px;

    font-size:
      17px;
  }


  .botao-comprar {
    min-height:
      39px;

    margin-top:
      10px;

    padding:
      0 7px;

    font-size:
      9px;
  }


  .rodape {
    padding:
      32px 0;
  }

}


/* =========================================================
   CELULAR PEQUENO
========================================================= */

@media (
  max-width: 390px
) {

  .grade-produtos {
    grid-template-columns:
      1fr;
  }


  .produto-imagem {
    aspect-ratio:
      16 / 11;
  }


  .produto-conteudo h3 {
    font-size:
      15px;
  }


  .produto-preco {
    font-size:
      20px;
  }


  .botao-comprar {
    min-height:
      43px;

    font-size:
      11px;
  }

}