/* --------------------------------------------------
   CASANITZ — AJUSTES FINAIS E OFICIAIS
-------------------------------------------------- */

/* ----------------------------------------
   FUNDO GERAL — remove textura e mantém beige
---------------------------------------- */
body {
    background-image: none !important;
    background-color: #DFDBD3 !important;
}

/* ----------------------------------------
   CABEÇALHO — nova imagem + correções gerais
---------------------------------------- */
#cabecalho {
    background-image: url('https://cdn.awsli.com.br/2753/2753742/arquivos/cabec-alho.png') !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    border: none !important;
}

/* texto do cabeçalho */
#cabecalho,
#cabecalho * {
    color: #140F19 !important;
    fill: #140F19 !important;
}

/* evita blocos escuros atrás dos ícones */
#cabecalho [class^="icon-"],
#cabecalho [class*=" icon-"] {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

/* ----------------------------------------
   ÍCONES SVG — outline preto geométrico
---------------------------------------- */
#cabecalho [class^="icon-"],
#cabecalho [class*=" icon-"] {
    font-size: 0 !important;
    width: 26px !important;
    height: 26px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
}

#cabecalho [class^="icon-"]::before,
#cabecalho [class*=" icon-"]::before {
    content: "";
    width: 22px;
    height: 22px;
    display: block;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    filter: brightness(0);
}

/* MENU */
#cabecalho .icon-menu::before {
    background-image: url("https://cdn.awsli.com.br/2753/2753742/arquivos/menu.svg");
}

/* USUÁRIO */
#cabecalho .icon-user::before,
#cabecalho .icon-login::before {
    background-image: url("https://cdn.awsli.com.br/2753/2753742/arquivos/user.svg");
}

/* PEDIDOS */
#cabecalho .icon-list::before {
    background-image: url("https://cdn.awsli.com.br/2753/2753742/arquivos/orders.svg");
}

/* LUPA */
#cabecalho .icon-search::before {
    background-image: url("https://cdn.awsli.com.br/2753/2753742/arquivos/search.svg");
}

/* CARRINHO */
#cabecalho .icon-shopping-cart::before {
    background-image: url("https://cdn.awsli.com.br/2753/2753742/arquivos/cart.svg");
}

/* mobile – reduz tamanho */
@media (max-width: 520px) {
    #cabecalho [class^="icon-"]::before,
    #cabecalho [class*=" icon-"]::before {
        width: 18px;
        height: 18px;
    }
}

/* ----------------------------------------
   MINI-BANNERS CASANITZ — TEXTOS PROGRAMADOS
   (FUNCIONA NA LI, SEM SCRIPT)
---------------------------------------- */

/* mobile only */
@media (max-width: 768px) {

  /* container já criado pela LI */
  .vitrine, .listagem-produtos, #corpo .banner {
    position: relative;
  }

  /* cada mini banner */
  .banner img {
    display: block;
    width: 100%;
    border-radius: 18px;
  }

  /* bloco de texto sobreposto */
  .casanitz-texto {
    position: absolute;
    bottom: 18px;
    left: 18px;
    right: 18px;
    color: #DFDBD3;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    text-shadow: 0 2px 6px rgba(0,0,0,0.50);
    z-index: 3;
  }

  .casanitz-texto h3 {
    margin: 0 0 4px 0;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.18;
  }

  .casanitz-texto p {
    margin: 0 0 8px 0;
    font-size: 14px;
    font-weight: 300;
    line-height: 1.28;
  }

  .casanitz-texto span {
    font-size: 15px;
    font-weight: 600;
  }
}

/* desktop – remove textos */
@media (min-width: 769px) {
  .casanitz-texto { display: none !important; }
}
