
@import url('https://cdn.jsdelivr.net/npm/bootstrap-icons@1.4.1/font/bootstrap-icons.css');

  /* Estilos principais */
  body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f4f4f4;
    color: #333;
     padding: 0;
    font-family: 'Quicksand', sans-serif;
}

  .unbounded-font {
    font-family: 'Unbounded', sans-serif;
}
 
#product-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  padding: 20px;
  margin-left: 30px;
  margin-right: 30px;
 }

/* Transformar em carrossel no mobile */
@media (max-width: 900px) {
  #product-container {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 20px;
    padding: 20px 10px;
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  }

  .product {
    flex: 0 0 80%;
    scroll-snap-align: start;
    min-width: 220px;
    max-width: 280px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  }

  #product-container::-webkit-scrollbar {
    display: none; /* Esconder a barra de rolagem */
  }
}

  .product {
    background: #fcfaf9;
    border: 1px solid #e1e1e1;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 3px 18px rgba(0, 0, 0, 0.131);
    transition: box-shadow 0.2s;
    cursor: pointer;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    width: 290px;
  }

  .product:hover {
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.307);
  }
 
  .product img 
    {
      width: 100%; /* Define a largura fixa */
      height: 220px; /* Define a altura fixa */
      object-fit: cover; /* Garante que a imagem cubra toda a área sem distorcer */
      object-position: center; /* Centraliza a imagem */
      border-radius: 10px; /* Ajuste opcional para bordas arredondadas */
      margin: 0 auto; /* Garante centralização horizontal */
      display: block;



  }
  .product h2 {
    font-size: 1em;
    margin: 10px 0;
    font-weight: 600;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;


  }

  .product .price {
    font-weight: 700;
    color: #302e2de6;
    font-size: 1.3em;
    margin-bottom: 22px; /* Ajustado */
    margin-top: 5%;
}

  .product .add-to-cart {
    display: block;
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    text-align: center;
    background-color: #302620;
    color: #ffcc00;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 300;
    cursor: pointer;
    font-size: 1em;
  }

  .add-to-cart {
    display: block;
    width: 90%;
    padding: 17px;
    margin: 10px auto; /* Centraliza verticalmente e horizontalmente */
    text-align: center;
    background-color: #302620;
    color: #ffcc00;
    border-radius: 6px;
    font-size: 1em;
    text-decoration: none;
    font-weight: 300;
    cursor: pointer;
    border: 1px solid #d6b360; /* Adiciona a borda amarela */
}


/* Modal */
#modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #452f1dce;
  justify-content: center;
  align-items: left; /* Centraliza o modal na tela */
  z-index: 999999997;
}

#modal.show {
  display: flex;
  opacity: 1;
}

/* Conteúdo do Modal */
 
#modal-content {
  background: #fcfaf9;
  padding: 20px;
  border-radius: 10px;
  max-width: 100%;
  height: 100vh; /* Altura ajustável conforme o conteúdo */
   overflow-y: auto; /* Adiciona scroll vertical se necessário */
  position: relative;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  width: 420px; /* Largura do modal */
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* Parte de Cima (TÃ­tulo, X e Carrossel) */
.modal-top {
  height: 400vh; /* Altura fixa de 400px */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #e1e1e1; /* Linha divisÃģria */
  padding-bottom: 10px; /* EspaÃ§amento inferior */
}



/* ajuste para reduizir 10% no browser*/
@media screen and (min-width:  550px) { 
  #modal-content {
    transform: scale(0.9); /* Reduz o tamanho em 10% */
    margin-top: -1.3%;

  }
}

/* Ajuste para reduzir 10% em telas menores que 550px */
@media screen and (max-width: 550px) { 
  #modal-content {
    transform: scale(0.9); /* Reduz o tamanho em 10% */
    margin-top: -5%;
  }
}


/* ContÃŠiner da Imagem e TÃ­tulo */
.modal-header {
  width: 100%;
  height: 80%; /* Ocupa 80% do modal */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* ContÃŠiner da Imagem */
.modal-image-container {
  width: 340px; /* Largura fixa */
  height: 340px; /* Altura fixa */
  display: flex;
  justify-content: center;
  object-fit: cover; 
  align-items: center;
  overflow: hidden;
  border-radius: 8px; /* Bordas arredondadas */
  background-color: #f0f0f0; /* Cor de fundo caso a imagem nÃĢo carregue */
}


 

/* Imagem do Produto */
.modal-image-container img {
  width: 100%; /* Ocupa 100% da largura do contêiner */
  height: 100%; /* Ocupa 100% da altura do contêiner */
  object-fit: cover; /* Ajusta a imagem para cobrir o contêiner sem distorcer */
  object-position: center; /* Centraliza a imagem */
}


/* ContÃŠiner dos Textos e BotÃĢo de Compra */
.modal-text-container {
  width: 100%;
  height: 20%; /* Ocupa 20% do modal */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: 5px;
  text-align: left;
  
}

/* BotÃĢo de Fechar */
#modal-close {
  position: absolute;
  top: 6px;
  right: 25px;
  font-size: 2.1em;
  cursor: pointer;
  color: #f11414a4;
  font-weight: 500;
}

/* Estilos dos textos */
#modal-title {
  font-size: 1.2em;
  color: #272227;
  font-weight: 400;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.modal-price {
  font-size: 1.7em;
  color: #302e2de6;
  font-weight: 700;
}

/* Ajuste para descriÃ§Ãĩes longas */
#modal-description {
  font-size: 1em;
  color: #333;
  max-height: 200px; /* Altura mÃĄxima para a descriÃ§ÃĢo */
  overflow-y: auto; /* Barra de scroll se o conteÃšdo for muito longo */
  width: 100%; /* Garante que ocupe a largura total */
  margin-top: 10px;
  padding-right: 10px; /* EspaÃ§o para a barra de scroll */
}

.modal-category a {
  color: #545454;
  text-decoration: none;
  font-weight: bold;
}



/*imagem vazia*/
.modal img {
  display: none;
}

.modal img[src]:not([src=""]) {
  display: block;
}


/* Estilo do contêiner do select */
#select-container {
  margin-top: 15px; /* Espaçamento acima do select */
  margin-bottom: 15px; /* Espaçamento abaixo do select */
  width: 100%; /* Ocupa 100% da largura disponível */

}

/* Estilo do select */
#product-select {
  width: 100%; /* Ocupa 100% da largura do contêiner */
  padding: 10px; /* Espaçamento interno */
  font-size: 1em; /* Tamanho da fonte */
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; /* Fonte consistente */
  color: #333; /* Cor do texto */
  background-color: #fff; /* Cor de fundo */
  border: 1px solid #e1e1e1; /* Borda sutil */
  border-radius: 8px; /* Bordas arredondadas */
  appearance: none; /* Remove o estilo padrão do navegador */
  cursor: pointer; /* Cursor de ponteiro */
  transition: border-color 0.3s ease, box-shadow 0.3s ease; /* Transição suave */
}

/* Estilo do select ao passar o mouse */
#product-select:hover {
  border-color: #7c4c23; /* Cor da borda ao passar o mouse */
  box-shadow: 0 0 8px rgba(124, 76, 35, 0.2); /* Sombra sutil */
}

/* Estilo do select quando focado */
#product-select:focus {
  border-color: #7c4c23; /* Cor da borda ao focar */
  outline: none; /* Remove o contorno padrão */
  box-shadow: 0 0 8px rgba(124, 76, 35, 0.3); /* Sombra mais destacada */
}

/* Estilo das opções do select */
#product-select option {
  padding: 10px; /* Espaçamento interno das opções */
  background-color: #fff; /* Cor de fundo das opções */
  color: #333; /* Cor do texto das opções */
  font-size: 1em; /* Tamanho da fonte das opções */
}

/* Estilo do ícone de seta personalizado */
#select-container {
  position: relative; /* Permite posicionar o ícone dentro do contêiner */
}

#select-container::after {
  content: "▼"; /* Ícone de seta */
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translateY(-50%);
  pointer-events: none; /* Impede que o ícone interfira no clique */
  color: #7c4c23; /* Cor do ícone */
  font-size: 0.8em; /* Tamanho do ícone */
}




/* Remover qualquer ajuste para telas maiores */
 


.carouselx {
  display: flex;
  overflow: hidden;
  width: 80%;
  margin-left: 10%;
  border-radius: 0px;
  height: 300px; /* Defina uma altura fixa ou máxima */
}

.carouselx img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Mantém a proporção sem cortar */
  transition: transform 0.5s ease;
  margin: 0 auto;
  display: block;
  background-color: #f5f5f5; /* Cor de fundo para áreas vazias */
}

  .carouselx-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
  }

  .carouselx-button {
    cursor: pointer;
    padding: 8px 9px;
    background-color: #382f22e7; /* verde ff8800*/
    border-radius: 5px;
      color: #f5fae9;
    font-weight: 500;
  }


  /* Estilos do carrinho fixo */
  #cart-icon {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: #e8e8e8;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #5b4234;
    font-size: 24px;
    cursor: pointer;
    z-index: 999999999;
    border: 2px solid #9f9f9f39;
  }

  /* Contador de itens no carrinho */
  #cart-count {
    position: absolute;
    top: -7px;
    right: -11px;
    background-color: #000;
    color: #f0ddc8;
    font-size: 12px;
    font-weight: bold;
    border-radius: 50%;
    width: 23px;
    height: 23px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

/* Estilos do minicart */
#minicart {
  display: none; /* Oculto inicialmente */
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  background: white;
  box-shadow: -2px 0 55px rgba(0, 0, 0, 0.222);
  z-index: 999999998;
  padding: 7px;
  width: 30%; /* Largura padrÃĢo para desktops */
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* 100% da largura para dispositivos mÃģveis */
@media (max-width: 600px) {
  #minicart {
      width: 95%;
      padding-left: 2%;
      padding-right: 2% ;

  }
}

/* 40% da largura para tablets */
@media (min-width: 601px) and (max-width: 1024px) {
  #minicart {
      width: 70%;
      padding-left: 2%;
      padding-right: 2% ;
  }
}

/* 30% da largura para desktops */
@media (min-width: 1025px) {
  #minicart {
      width: 500px;
      padding-left: 2%;
      padding-right: 2% ;

  }
}

  #minicart-close {
    font-size: 2.5em;
    cursor: pointer;
    color: #e52828a4;
    font-weight: bold;
    margin-top: 15px;
    margin-right: 25px;
    display: flex;
    justify-content: flex-end;
  }

  #minicart-items {
    max-height: 70vh;
    overflow-y: auto;
    margin-bottom: 35px;
  }

  .minicart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;

  }

  .minicart-item h4 {
    margin: 0;
    font-size: 0.9em;
    flex-grow: 1;
    font-weight: 400;
    color: #1c1c1c;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;

  }

  .minicart-item span {
    font-weight: 600;
    color: #141414;
    font-size: 0.8em;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;


  }

  .quantity-controls {
    display: flex;
    align-items: right;
  }

  .quantity-button {
    cursor: pointer;
    padding: 5px;
    margin-left: 13px;
    margin-right: 13px; 
    background-color: #cfcfcf5f;
    border-radius: 2px;
    margin: 0 4px;
  }

  .finalize-button {
width: 90%;
padding: 15px;
background-color: #0d730b;
color: #fff;
border-radius: 9px;
border: none;
font-weight: 400;
cursor: pointer;
margin-left: 5%;


}


  /* ******************* */
  .remove-button {
cursor: pointer;
margin-left: 10px; /* Um pequeno espaÃ§amento */
}

.iva{
  color: #777777; margin-top: -18px; font-size: 0.8em; font-weight: 600;
}



#destaque{

  background-color: #f3c613; 
  color: #272727;
  padding: 13px 25px 13px 25px;
  line-height: 40px;
}

#destaque-texto{

  color: #272727;
  padding: 13px 25px 13px 25px;
  line-height: 40px;
  color: #ffffff;
  font-weight: 500;
}

/*tooltip*/
.cart-tooltip {
  position: fixed;
    top: 2%;
    right: 13%;
    background: #ddb11edd;
    width: 290px;
    color: #211d1b;
    padding: 12px 10px;
    border-radius: 5px;
    font-size: 14px;
    opacity: 1;
    transition: opacity 1s ease;
    z-index: 9999999990;
    text-align: center;
  }

  .invalid-price-message {
    color: #584326; /* Cor do texto */
    font-size: 12.5px; /* Tamanho da fonte */
    font-weight: 300; /* Negrito */
    font-family: Arial, sans-serif; /* Fonte */
    margin-top: 10px; /* Espaçamento superior */
    padding: 10px; /* Espaçamento interno */
    background-color: #f8df2149; /* Cor de fundo */
    border: 0px solid #ffffff; /* Borda */
    border-radius: 5px; /* Bordas arredondadas */
    text-align: center; /* Alinhamento do texto */
  }


  #apoio-text{

    color: #35941bdf;
    font-weight: 600;
    text-decoration: dotted;
    margin-left:20px;
  }