.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    justify-content: center;
    padding: 20px;
}

@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
}

.product-card {
    text-align: center;
    border: 1px solid #ccc;
    padding: 15px;
    border-radius: 5px; /* Adicionado para bordas arredondadas */
    transition: transform 0.2s; /* Transição suave ao passar o mouse */
}

.product-card:hover {
    transform: scale(1.05); /* Efeito de zoom ao passar o mouse */
}

.product-card img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 5px; /* Bordas arredondadas para as imagens */
}

.product-title {
    font-size: 1rem;
    margin: 10px 0;
    max-length: 50ch; /* Aumentado para 50 caracteres */
}

.product-price {
    font-weight: bold;
    color: #4e342e; /* Cor do texto do preço */
    font-size: 20px;
    letter-spacing: -1px;
    padding-bottom: 2%;
}

.add-to-cart {
    background-color: #1ba04b;
    color: #fff;
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 5px; /* Bordas arredondadas */
    transition: background-color 0.2s; /* Transição suave */
}

.add-to-cart:hover {
    background-color: #167539; /* Cor do botão ao passar o mouse */
}

.cart-icon {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #846742;
    color: #ffffff;
    border-radius: 50%;
    padding: 15px;
    cursor: pointer;
    z-index: 1000;
    transition: transform 0.2s; /* Efeito de transição */
}

.cart-icon:hover {
    transform: scale(1.1); /* Efeito de zoom ao passar o mouse */
}

.cart-icon .circle {
    position: relative;
}

.cart-icon span {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #2e1e0f;
    padding: 4px 8px;
    border-radius: 50%;
}

.cart {
    position: fixed;
    font-size: 13px;
    right: 0;
    top: 0;
    height: 100%;
    width: 400px;
    background-color: #f9f5f1;
    border-left: 1px solid #ccc;
    padding: 20px;
    display: none;
    z-index: 1001;
    flex-direction: column;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1); /* Sombra para o carrinho */
}

.cart.open {
    display: flex;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e6e6e6;
    padding-bottom: 10px;
    margin-bottom: 10px;
    font-size: 1.2rem;
    color: #4e342e;
}

.cart-items {
    flex-grow: 1;
    margin-bottom: 20px;
    overflow-y: auto;
}

.cart-item + .cart-item {
    border-top: 1px solid #ccc; /* Adiciona uma linha de separação entre os itens */
    padding-top: 10px;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding: 10px 0;
}

.cart-item .product-info {
    flex-grow: 1; /* Garante que o título do produto ocupe o espaço necessário */
    text-align: left;
    margin-right: 10px; /* Dá um espaço entre o título e os ícones */
}

.cart-item .remove-item,
.cart-item .add-item,
.cart-item .delete-item {
    cursor: pointer;
    color: #c82333; /* Cor dos botões de remoção */
}

.cart-item .remove-item:hover,
.cart-item .add-item:hover,
.cart-item .delete-item:hover {
    color: #d9534f; /* Cor ao passar o mouse */
}

.cart-item .actions {
    display: flex;
    align-items: center;
    justify-content: flex-end; /* Garante que os botões fiquem alinhados à direita */
}

.cart-item .actions button {
    margin-left: 5px;
    min-width: 30px; /* Define uma largura mínima para os botões, garantindo alinhamento */
}
.cart-total {
    font-size: 1.2rem;
    font-weight: bold;
    color: #4e342e;
    border-top: 1px solid #e6e6e6;
    padding-top: 10px;
}



/* novos ajuste css carrinho*/

.cart-columns {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #ccc;
    font-weight: bold;
    color: #4e342e;
}

.cart-columns span {
    flex: 1; /* Permite que cada coluna ocupe o mesmo espaço */
    text-align: center;
}

.cart-columns .column-title {
    text-align: left; /* Alinha o título do produto à esquerda */
}

.cart-columns .column-quantity,
.cart-columns .column-total {
    text-align: right; /* Alinha a quantidade e o valor total à direita */
}






#checkout-button {
    background-color: #1ba04b;
    z-index: 999999999;
    color: #fff;
    padding: 10px;
    width: 100%;
    cursor: pointer;
    border-radius: 5px;
    border: none;
    transition: background-color 0.2s; /* Transição suave */
}

#checkout-button:hover {
    background-color: #167539; /* Cor ao passar o mouse */
    color: #fff;
    font-weight: 500;

}

.close-cart {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
}

   /* Botões flutuantes */

   .floating-whatsapp-buttonxxx {
    z-index: 999999999;
    position: fixed;
    bottom: 14px;
    left: 14px;
    padding: 11px 11px 11px 11px;
    background-color: #167539; /* verde WhatsApp */
    border-radius: 55px;
    color: #ffffff; /* Texto branco */
    font-size: 30px;
    text-decoration: none;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: opacity 0.5s ease;
    font-weight: 400;
   }
  
  .floating-whatsapp-button.visiblexxx {
    opacity: 1;
  }
  
  .floating-whatsapp-buttonxxx i {
    margin-right: 6px;
    font-size: 16px;
  }
  
  /* Ajuste de cor para o texto dos links */
  .floating-whatsapp-buttonxxx,
  .floating-whatsapp-button:hoverxxx {
    color: #ffffff; /* Cor do texto sempre branca */
    text-decoration: none; /* Mantém sem sublinhado */
  }
  
  
  .whatsapp-button {
    z-index: 999999999;
    position: fixed;
    left: 14px;
    bottom: 14px;
    width: 47px;
    height: 47px;
    background-color: #1ba04b;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 23px;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s, box-shadow 0.3s;
  }
  
  .whatsapp-button:hover {
    background-color: #0d893a;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    color: white;
    font-size: 26px;
  }
  
