:root {
      --cor-principal: #25D366;
      --cor-secundaria: #007bff;
      --texto-claro: #fff;
      --texto-escuro: #333;
      --fundo: #f5f6fa;
      --radius: 14px;
    }

    body {
      font-family: 'Poppins', Arial, sans-serif;
      margin: 0;
      background: var(--fundo);
      color: var(--texto-escuro);
    }

    header {
      background: var(--cor-principal);
      color: var(--texto-claro);
      text-align: center;
      padding: 15px;
      font-weight: 600;
      letter-spacing: 0.5px;
    }

    /* Container de produtos */
    .produtos-container {
      max-width: 1300px;
      margin: 40px auto;
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 25px;
      padding: 0 20px;
    }

    @media (max-width: 768px) {
      .produtos-container {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    .produto {
      background: #fff;
      border-radius: var(--radius);
      box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
      padding: 15px;
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      transition: all 0.3s ease;
    }

    .produto:hover {
      transform: translateY(-5px);
      box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
    }

    .produto img {
      width: 100%;
      aspect-ratio: 1 / 1;
      object-fit: cover;
      border-radius: var(--radius);
      margin-bottom: 12px;
    }

    .produto h3 {
      margin: 10px 0 6px;
      font-size: 1.1rem;
      font-weight: 600;
      color: #222;
    }

    .produto p {
      font-size: 0.9rem;
      color: #666;
      line-height: 1.4;
      margin-bottom: 8px;
    }

    .preco {
      font-size: 1.1rem;
      font-weight: bold;
      color: var(--cor-principal);
      margin: 8px 0 12px;
    }

    .acoes {
      display: flex;
      gap: 6px;
      align-items: center;
      margin-top: auto;
    }

    .acoes input {
      width: 50px;
      padding: 6px;
      text-align: center;
      border: 1px solid #ccc;
      border-radius: 6px;
      font-weight: 500;
    }

    .acoes button {
      background: var(--cor-principal);
      color: white;
      border: none;
      padding: 8px 12px;
      border-radius: 6px;
      cursor: pointer;
      font-weight: 500;
      transition: all 0.3s;
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .acoes button:hover {
      background: #1ebe5d;
    }

    /* Carrinho flutuante */
    .carrinho-flutuante {
      position: fixed;
      bottom: 20px;
      right: 20px;
      background: var(--cor-principal);
      color: white;
      border-radius: 50px;
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 12px 18px;
      cursor: pointer;
      box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
      transition: transform 0.3s;
      z-index: 999;
      font-weight: 500;
    }

    .carrinho-flutuante:hover {
      transform: scale(1.05);
    }

    .carrinho-flutuante i {
      font-size: 22px;
      color: white;
    }

    .contador {
      background: red;
      color: white;
      font-size: 0.8rem;
      border-radius: 50%;
      padding: 2px 6px;
    }

    /* Modal Carrinho */
    .modal-carrinho {
      position: fixed;
      bottom: 80px;
      right: 20px;
      background: white;
      border-radius: 10px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
      width: 320px;
      max-height: 65vh;
      overflow-y: auto;
      display: none;
      flex-direction: column;
      z-index: 1000;
      animation: fadeIn 0.3s ease;
    }

    .modal-carrinho.active {
      display: flex;
    }

    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(10px); }
      to { opacity: 1; transform: translateY(0); }
    }

    .modal-carrinho h4 {
      margin: 0;
      padding: 12px;
      background: var(--cor-principal);
      color: white;
      border-radius: 10px 10px 0 0;
      font-weight: 600;
    }

    .item-carrinho {
      display: flex;
      justify-content: space-between;
      padding: 8px 10px;
      border-bottom: 1px solid #eee;
      font-size: 0.9rem;
    }

    .item-carrinho button {
      background: transparent;
      border: none;
      color: red;
      font-weight: bold;
      cursor: pointer;
    }

    .enviar-whatsapp {
      background: var(--cor-principal);
      color: white;
      padding: 12px;
      border: none;
      cursor: pointer;
      font-size: 1rem;
      border-radius: 0 0 10px 10px;
      font-weight: 600;
    }

    .enviar-whatsapp:hover {
      background: #1ebe5d;
    }

    /* Aviso de frete */
    .frete-aviso {
      background: #fffae6;
      color: #555;
      text-align: center;
      padding: 10px;
      font-size: 0.9rem;
      border-top: 1px solid #eee;
      border-bottom: 1px solid #eee;
    }

 
/* Estilos para os novos campos de dados do cliente */
.modal-carrinho .dados-cliente {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.modal-carrinho .dados-cliente input,
.modal-carrinho .dados-cliente textarea {
    width: calc(100% - 20px);
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
}

.modal-carrinho .dados-cliente textarea {
    resize: vertical;
    min-height: 60px;
}

