@font-face {
    font-family: "Vocago", sans-serif;
    src: url(../fonts/Vocago.otf);
}

@font-face {
    font-family: "Opencare";
    src: url(..//fonts/Opencare.ttf);
}

.cabecalho {
    height: 135px;
    /* background-color: #61735B; */
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 350px;
}

.logo .titulo {
    font-size: 20px;
    font-weight: 800;
    transition: .3s ease-in-out;
    color: #c3c3c3;
    font-family: "Vocago", sans-serif;
}

.logo .imagem {
    width: 100px;
}

.cabecalho .navegacao {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #c3c3c3;
    border-radius: 14px;
    max-width: 1400px;
    margin-left: 273px;
    padding: 25px;
}

.cabecalho .navegacao .menu {
    display: flex;
    gap: 100px;
    align-items: center;
    margin-left: 350px;
}

.navegacao .menu .item {
    /* margin: 10px;
    padding: 15px; */
    transition: .5s ease-in-out;
    color: #3D4739;
}

.navegacao .menu .item:hover {
    text-decoration: underline;
}


/* ============================================= */
/* --- NOVOS ESTILOS DA BARRA DE PESQUISA --- */
/* ============================================= */

.search-container-wrapper {
  max-width: 1400px;
  margin: 0 auto 50px auto; /* Espaçamento */
  padding: 0 25px; /* Alinha com a navegação */
  margin-left: 273px; /* Alinha com a navegação */
}

.barra-pesquisa {
  display: flex;
  width: 100%;
  margin-top: 30px;
  border: 1px solid #c3c3c3;
  border-radius: 14px;
  overflow: hidden; /* Para arredondar o botão e o input */
}

.campo-pesquisa {
  flex-grow: 1; /* Ocupa todo o espaço */
  border: none;
  padding: 15px 20px;
  font-size: 16px;
  background-color: #f0f0f0;
  color: #333;
}
.campo-pesquisa:focus {
  outline: none;
  background-color: #fff;
  
}

.icone-pesquisa {
  background-color: #c3c3c3;
  border: none;
  padding: 0 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease;
  
}
.icone-pesquisa img {
  width: 24px;
  height: 24px;
}
.icone-pesquisa:hover {
  background-color: #b0b0b0;
}


.cabecalho .dia {
    display: flex;
    font-size: 14px;
    /* margin-left: 200px; */
    color: #c3c3c3;
    border-left: 1px solid #c3c3c3;
    padding-left: 15px;
    max-width: 1400px;
    margin-right: 370px;
}

.cabecalho .relogio {
    width: 30px;
    height: 30px;
    margin-left: 840px;
}

/* CARD */
.main-content {
    max-width: 1200px; /* Define uma largura máxima como em servicos.css */
    margin: 70px auto 50px auto; /* Centraliza o container */
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 50px; /* Aumenta o gap para combinar com servicos.css */
    padding: 0 25px; /* Adiciona padding lateral */
    justify-items: center; /* <<< CORREÇÃO APLICADA AQUI (Centraliza os cards na grade) */
}

.card {
    background-color: #c3c3c3;
    border-radius: 10px;
    /* box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); */
    box-shadow: 12px 17px 51px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(6px);
    height: 350px;
    width: 230px;
}

.card:hover {
    border: 1px solid #3D4739;
    transform: scale(1.05);
}



.card img {
    width: 190px;
    height: 190px;
    /* object-fit: cover; */
    margin: 20px;
    border-radius: 10px;

}



/* .card-content {
    padding: 15px;
} */

.card-content h4 {
    font-family: "Vocago";
    color: #3D4739;
    font-size: 20px;
    text-align: center;
    /* margin: 4px; */
}

.card-content h3{
    font-size: 20px;
    text-align: center;
    color: #3D4739;
    margin: 5px;
}
.card-content p {
    font-size: 14px;
    color: #555;
    overflow: hidden;
}

.card-content .price {
    font-weight: bold;
    /* margin-top: 30px; */
    color: #333;
    font-size: 20px;
    text-align: center;
    margin: 5px;
}

.card-content button {
    /* --- CORREÇÃO APLICADA AQUI --- */
    left: 50%; /* Centraliza o botão */
    transform: translateX(-50%); /* Ajusta o ponto de âncora para o centro do botão */
}


/* .CartBtn {
    width: 140px;
    height: 40px;
    border-radius: 12px;
    border: none;
    background-color: #b6b4b4;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition-duration: .5s;
    overflow: hidden;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.103);
    position: relative;
}

.IconContainer {
    position: absolute;
    left: -50px;
    width: 30px;
    height: 30px;
    background-color: transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    z-index: 2;
    transition-duration: .5s;
}

.icon {
    border-radius: 1px;
}

.text {
    height: 100%;
    width: fit-content;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgb(17, 17, 17);
    z-index: 1;
    transition-duration: .5s;
    font-size: 1.04em;
    font-weight: 600;
}

.CartBtn:hover .IconContainer {
    transform: translateX(58px);
    border-radius: 40px;
    transition-duration: .5s;
}

.CartBtn:hover .text {
    transform: translate(10px, 0px);
    transition-duration: .5s;
}

.CartBtn:active {
    transform: scale(0.95);
    transition-duration: .5s;
} */



/* From Uiverse.io by adamgiebl */ 
.cssbuttons-io-button {
  background: #61735b;
  color: white;
  font-family: inherit;
  padding: 0.35em;
  padding-left: 1.2em;
  font-size: 16px;
  font-weight: 500;
  border-radius: 0.9em;
  border: none;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  box-shadow: inset 0 0 1.6em -0.6em #3D4739;
  overflow: hidden;
  position: relative;
  height: 2.8em;
  padding-right: 3.3em;
  cursor: pointer;
}

.cssbuttons-io-button .icon {
  background: white;
  margin-left: 1em;
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 2.2em;
  width: 2.2em;
  border-radius: 0.7em;
  box-shadow: 0.1em 0.1em 0.6em 0.2em #3D4739;
  right: 0.3em;
  transition: all 0.3s;
}

.cssbuttons-io-button:hover .icon {
  width: calc(100% - 0.6em);
}

.cssbuttons-io-button .icon svg {
  width: 1.1em;
  transition: transform 0.3s;
  color: #3D4739;
}

.cssbuttons-io-button:hover .icon svg {
  transform: translateX(0.1em);
}

.cssbuttons-io-button:active .icon {
  transform: scale(0.95);
}




/* button {
    position: relative;
    overflow: hidden;
    outline: none;
    cursor: pointer;
    border-radius: 10px;
    border: none;
    width: 130px;
    height: 30px;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px,
        rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
        background-color: #3D4739;
} */









/* RODAPÉ */
.rodape {
    background-color: #c3c3c3;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
    position: relative;

}

.rodape .redes-socias {
    display: flex;
    gap: 20px;
}

.rodape .fale-conosco {
    font-family: "Vocago", sans-serif;
    color: #3D4739;
    border-bottom: 2px solid #3D4739
}

.rodape .redes-socias .icon {
    display: flex;
    width: 90px;
    height: 30px;
}







/* MENSAGEM DE "SEM RESULTADOS" PARA PESQUISA */
#no-results-message {
    grid-column: 1 / -1; /* Faz a mensagem ocupar a largura total do grid */
    text-align: center;
    font-size: 1.2rem;
    color: #c3c3c3;
    padding: 40px;
    font-family: "Vocago", sans-serif;
}

/* MENSAGEM DE "SEM RESULTADOS" PARA PESQUISA */
#no-results-message {
    grid-column: 1 / -1; /* Faz a mensagem ocupar a largura total do grid */
    text-align: center;
    font-size: 1.2rem;
    color: #c3c3c3;
    padding: 40px;
    font-family: "Vocago", sans-serif;
}









/* --- ESTILOS DO CARRINHO DE COMPRAS --- */

/* Ícone de Toggle do Carrinho */
.cart-toggle-icon {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #3D4739;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 999;
    transition: transform 0.2s ease;
}

.cart-toggle-icon:hover {
    transform: scale(1.1);
}

.cart-item-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #c3c3c3;
    color: #3D4739;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    font-weight: bold;
    border: 2px solid #3D4739;
}

/* Painel Lateral do Carrinho */
.side-cart {
    position: fixed;
    top: 0;
    right: -350px; /* Começa escondido */
    width: 350px;
    height: 100vh;
    background-color: #fff;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    font-family: Arial, sans-serif;
    color: #3D4739;
}

.side-cart.visible {
    right: 0; /* Mostra o carrinho */
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 2px solid #61735b;
}

.cart-header h3 {
    margin: 0;
    font-size: 24px;
    font-family: "Vocago", sans-serif;
}

.cart-close {
    background: none;
    border: none;
    height: 38px;
    font-size: 30px;
    color: #3D4739;
    cursor: pointer;
}

.cart-items {
    flex-grow: 1;
    overflow-y: auto;
    list-style: none;
    padding: 10px;
    margin: 0;
}

.cart-items li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 10px;
    border-bottom: 1px solid #61735b;
}

.cart-item-info {
    flex-grow: 1;
    margin-right: 10px;
}

.cart-item-info span {
    display: block;
    font-size: 16px;
    word-wrap: break-word; /* Garante que nomes longos quebrem a linha */
}

.cart-item-info .cart-item-price {
    font-size: 14px;
    color: #000;
    margin-top: 4px;
}

.cart-item-quantity {
    font-weight: bold;
    font-size: 16px;
    margin-right: 10px;
    white-space: nowrap; /* Impede que o "x 1" quebre */
}

.cart-item-remove {
    background: #b6b4b4;
    border: none;
    color: #3D4739;
    font-weight: bold;
    cursor: pointer;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    font-size: 16px;
    flex-shrink: 0; /* Impede que o botão encolha */
}

.cart-items .empty-cart-msg {
    text-align: center;
    margin-top: 40px;
    font-size: 16px;
    color: #61735b;
    border-bottom: none; /* Remove a borda da mensagem de carrinho vazio */
}

.cart-footer {
    padding: 20px;
    border-top: 2px solid #61735b;
    background-color: #b6b4b4;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
}

.cart-total span {
    font-weight: normal;
}

.cart-checkout-btn {
    width: 100%;
    height: 35px;
    font-size: 16px;
    font-weight: bold;
    color: #ffffff;
    background-color: #3D4739;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
   
}

.cart-checkout-btn:hover {
    background-color: #61735b;
}

.cart-checkout-btn:disabled {
    background-color: #9e9e9e;
    cursor: not-allowed;
}


/* --- Estilos dos Modais --- */
.cart-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: none; /* Escondido por padrão */
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.cart-modal-overlay.visible {
    display: flex; /* Mostra o modal */
}

.cart-modal-content {
    background: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    text-align: center;
    width: 90%;
    max-width: 450px;
    font-family: Arial, sans-serif;
    color: #333;
}

.cart-modal-content h2 {
    font-family: "Vocago", sans-serif;
    color: #3D4739;
    margin-top: 0;
}

.cart-modal-buttons {
    margin-top: 25px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.cart-btn-confirm,
.cart-btn-cancel {
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 30px;
    width: 100px;
}

.cart-btn-confirm {
    background-color: #3D4739;
    color: white;
}

.cart-btn-confirm:hover {
    background-color: #61735b;
}

.cart-btn-cancel {
    background-color: #b6b4b4;
    color: #3D4739;
}

.cart-btn-cancel:hover {
    background-color: #9e9e9e;
}

.summary-items {
    list-style: none;
    padding: 0;
    margin-top: 20px;
    text-align: left;
    max-height: 200px;
    overflow-y: auto;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.summary-items li {
    padding: 10px;
    display: flex;
    justify-content: space-between;
}

.summary-items li:not(:last-child) {
    border-bottom: 1px dashed #ddd;
}

.summary-total {
    margin-top: 20px;
    font-size: 18px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    padding-top: 10px;
    border-top: 2px solid #3D4739;
}

#close-summary-btn {
    margin-top: 25px;
}


/* --- Estilos para a Imagem no Carrinho --- */

.cart-item-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px; /* Cantos um pouco mais arredondados */
    margin-right: 15px; /* Mais espaço do lado */
    flex-shrink: 0;
}
.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 5px; /* Diminui o espaço entre os botões */
    flex-shrink: 0;
}

.cart-item-controls button {
    background: #b6b4b4;
    border: none;
    color: #3D4739;
    font-weight: bold;
    cursor: pointer;
    border-radius: 50%;
    width: 28px;  /* Um pouco maior */
    height: 28px; /* Um pouco maior */
    font-size: 20px; /* Fonte maior para o + e - */
    line-height: 28px; /* Centraliza o texto verticalmente */
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
}

.cart-item-controls button:hover {
    background: #a0a0a0;
}

.cart-item-controls .cart-item-quantity {
    font-weight: bold;
    font-size: 16px;
    min-width: 24px; /* Garante espaço para o número */
    text-align: center;
    margin: 0 2px; /* Leve margem dos botões */
}

.summary-item-img {
    width: 60px; /* Aumentado de 40px para 60px */
    height: 60px; /* Aumentado de 40px para 60px */
    object-fit: cover;
    border-radius: 8px; /* Alinhado com o estilo da imagem do carrinho */
    flex-shrink: 0;
}

/* ====================================================== */
/* === ESTILOS DO MENU HAMBURGUER (MOBILE) === */
/* ====================================================== */

/* 1. Esconde os controles em Desktop por padrão */
.menu-toggle,
.menu-close,
.menu-overlay {
  display: none;
  cursor: pointer;
}

/* 2. Media Query para Mobile (800px ou menos) */
@media (max-width: 800px) {

  /* --- INÍCIO: AJUSTES MENU HAMBÚRGUER --- */
  .cabecalho {
    display: flex;
    margin-left: 10px;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    height: 80px;
  }

  .logo {
    margin-left: 0;
  }

  .cabecalho .navegacao .menu {
    display: flex;
    gap: 80px;
    align-items: center;
    margin-left: 0px;
}

  .cabecalho .relogio,
  .cabecalho .dia {
    display: none;
  }

  .menu-toggle {
    display: block;
    font-size: 2.5rem;
    color: #c3c3c3;
    z-index: 1001;
    padding: 10px;
    
  }

  .container-nav {
    margin-top: 0;
    position: static;
  }

  .navegacao {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: #c3c3c3;
    z-index: 2000;
    transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 80px 30px 30px;
    border-radius: 0;
    max-width: 280px;
    margin-left: 0;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.15);
    
  }

  .navegacao.open {
    right: 0;
  }

  .menu-close {
    display: block;
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 3rem;
    color: #555;
  }

 /* Estiliza os links do menu (vertical) */
  .navegacao .menu {
    display: flex;
    flex-direction: column;
    align-items: center; 
    gap: 25px;
    margin-left: 0;
    margin-top: 50px;
    width: 100%;
  }

  .navegacao .menu .item {
    font-size: 1.2rem;
    color: #3D4739;
    padding-bottom: 8px;
    border-bottom: 1px solid #ccc;
    width: auto; 
  }

  .menu-overlay {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease-in-out;
  }

  .menu-overlay.open {
    display: block;
    opacity: 1;
    pointer-events: auto;
  }
  
  /* --- FIM: AJUSTES MENU HAMBÚRGUER --- */

  /* ============================================= */
  /* === AJUSTES DE RESPONSIVIDADE (PRODUTOS.HTML) === */
  /* ============================================= */

  .cabecalho {
    height: auto;
    margin-bottom: 20px; /* Reduz margem */
    padding: 20px 0;
  }

  .logo .imagem {
    width: 80px; /* Logo menor */
  }
  
  /* --- AJUSTE BARRA DE PESQUISA MOBILE --- */
  .search-container-wrapper {
    margin-left: 0; /* Remove margem do desktop */
    padding: 0 15px; /* Adiciona padding lateral */
    margin-bottom: 30px;
  }
  
  .campo-pesquisa {
    padding: 12px 15px;
    font-size: 14px;
  }
  
  .icone-pesquisa img {
    width: 20px;
    height: 20px;
  }
  /* --- FIM AJUSTE PESQUISA --- */
  

  /* Centralização do Conteúdo Principal */
  .main-content {
    margin-left: 0;    /* Remove a margem fixa */
    margin-right: 0;   /* Remove a margem fixa */
    padding: 0 15px;   /* Adiciona padding lateral */
    margin-top: 40px;
    justify-items: center; /* <<< ESTA LINHA CENTRALIZA OS ITENS DA GRADE */
    gap: 25px;
  }

  .card {
    max-width: 340px; /* Limita a largura máxima */
    margin: 0 auto; /* <<< ESTA LINHA CENTRALIZA O CARD NA COLUNA */
    height: 350px; /* Altura automática */
  }
  
  /* Ajustes do Rodapé */
  .rodape {
    height: auto;
    padding: 25px 0;
  }

  /* Ajustes do Carrinho de Compras */
  .cart-toggle-icon {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
  }

  .cart-item-count {
    width: 22px;
    height: 22px;
    font-size: 12px;
  }

  .side-cart {
    width: 300px; /* Largura máxima para caber na tela */
    right: -300px; /* Ajusta a posição escondida */
  }
  
  .cart-modal-content {
    width: 95%; /* Modal ocupa mais a tela */
  }
}