/* 🌐 Variáveis globais */
:root {
  --cor-primaria: #e91e63;
  --cor-secundaria: #555;
  --cor-hover: #c2185b;
  --cor-fundo-claro: #fce4ec;
  --cor-fundo-escuro: #880e4f;
  --texto-primario: #333;
  --cor-btn: #ad1457;
}

/* 🌐 Estilo base */
body {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  color: #eee;
  --texto-primario: #f0f0f0;
  transition: background-color 0.5s ease, color 0.3s ease;
  margin: 0;
  padding: 0;
}

/* LOGO ACIMA DA BARRA titulo */
.logo-wrapper {
      position: fixed;
	  top: 0;
	  left: 0;
	  z-index: 1000;
      width: 100%;
      height: 120px;
      background-image: url('images/logo_lateral.png');
      background-repeat: repeat-x;
      background-position: center;
      background-size: auto 100%;
      overflow: hidden;
    }

    .logo-wrapper img {
      position: absolute;
      top: 0;
      left: 50%;
      transform: translateX(-50%);
      height: 120px;
      width: 320px;
      pointer-events: none;
    }
	
/* 🔘 Botão flutuante animado */
.btn-flutuante {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background-color: var(--cor-primaria);
  color: white;
  padding: 12px 16px;
  border-radius: 50px;
  font-size: 16px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  z-index: 999;
  text-decoration: none;
  animation: pulse 2s infinite;

  /* 👇 Alinhamento horizontal */
  display: flex;
  align-items: center;
  gap: 8px; /* Espaço entre ícone e texto */
}
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.08); }
  100% { transform: scale(1); }
}
.btn-flutuante:hover {
  background-color: var(--cor-hover);
}

/* 🔘 Botão flutuante animado */
.btn-finalizar {
  background-color: var(--cor-secundaria);
  color: white;
  padding: 14px 14px;
  border-radius: 50px;
  font-size: 16px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  z-index: 999;
  text-decoration: none;	  

  /* 👇 Alinhamento horizontal */
  display: flex;
  align-items: center;
  gap: 8px; /* Espaço entre ícone e texto */
}
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.08); }
  100% { transform: scale(1); }
}
.btn-finalizar:hover {
  background-color: var(--cor-hover);
}
.btn-finalizar-pedido {
  animation: pulse 2s infinite;
  background-color: var(--cor-primaria);
}

/* 🧃 Card de produto */
.produto-linha {
  display: flex;
  flex-direction: row;
  align-items: center;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 100px 20px 20px 100px;
  padding: 10px;
  margin-bottom: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  grid-template-columns: 120px 1fr;
  gap: 10px;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
  cursor: pointer;
}
.produto-linha:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.produto-linha img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  margin-right: 10px;
  padding: 5px;
  background-color: #f5f5f5;
}

.produto-linha h2 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 6px;
}
.produto-linha p {
  font-size: 14px;
  color: var(--texto-primario);
}

/* 🌙 Modo escuro para produto */
body .produto-linha {
  background-color: var(--cor-fundo-escuro);
  color: #f0f0f0;
}
body .produto-linha:hover {
  box-shadow: 0 4px 12px rgba(255,255,255,0.1);
}
body .produto-linha h2,
body .produto-linha p {
  color: #f0f0f0;
}

/* 🛒 Carrinho */
.item-carrinho {
  position: relative;
  padding: 12px 0;
  border-bottom: 1px solid #ddd;
}
.info-bloco {
  background-color: var(--cor-primaria);
  color: #fff;
  padding: 10px 14px;
  border-radius: 8px;
  margin-bottom: 12px;
  font-size: 1em;
  font-weight: 500;
  line-height: 1.4;
}
.info-label,
.info-valor {
  display: inline;
  font-size: 0.95em;
  font-weight: bold;
  letter-spacing: 0.5px;
}
.info-label {
  margin-right: 6px;
}

/* 🧾 Tipos de botão */
.btn {
  cursor: pointer;
  display: inline-block;
  padding: 7px 14px;
  border-radius: 6px;
  font-size: 14px;
  border: none;
  text-decoration: none;
  color: white;
  background-color: var(--cor-primaria);
  transition: background-color 0.3s ease, transform 0.2s ease;
}
.btn:hover {
  transform: scale(1.05);
}
.btn-sec {
  background-color: var(--cor-secundaria);
}
.btn-sec:hover {
  background-color: #333;
}

.btn-pri {
  background-color: var(--cor-fundo-escuro);
}
.btn-pri:hover {
  background-color: var(--cor-btn);
}

/* 🧩 Layout geral */
.dashboard-box {
  margin: 0 auto;
  padding: 110px 10px 10px 10px;
  max-width: 1000px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  border-radius: 8px;
}
.barra-titulo {
  color: white;
  font-weight: bold;
  padding: 14px 20px;
  border-radius: 10px 10px 0 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 25px;
  position: sticky;
  top: 0;
  z-index: 999;
}
.topo-barra {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.titulo-barra {
  font-size: 24px;
  font-weight: bold;
  animation: fadeInUp 1s ease;
  padding: 10px 10px;  
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateX(-50px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 📱 Responsividade */
@media (max-width: 767px) {
  .dashboard-box {
    margin: 0;
    box-shadow: none;
    border-radius: 0;
  }
  .barra-titulo {
    min-height: 120px;
    padding-bottom: 35px;
  }
  .titulo-barra,
  .topo-barra span {
    font-size: 1.2rem;
  }
  
}

/* 🔍 Links e interações */
.produto-linha-link {
  text-decoration: none;
  color: inherit;
  display: block;
}
.info-menor {
  font-size: 0.9em;
  color: #666;
  margin-top: -6px;
  margin-bottom: 6px;
}
body .info-menor {
  color: #ccc;
}

.botoes-fixos {
  position: fixed;
  top: 80px;
  right: 15px;
  display: flex;
  flex-direction: row; /* ou column, se quiser empilhado */
  flex-direction: column;
  gap: 10px; /* espaço entre os botões */
  z-index: 1001;
  flex-direction: row; /* lado a lado */
  gap: 10px; /* espaço entre os botões */
}

@media (min-width: 768px) {
  .botoes-fixos {
    right: calc((100vw - 1000px) / 2);
  }
}


 /* Botão CARRINHO DE COMPRAS */
.carrinho-wrapper {
  display: flex;
  justify-content: flex-end;
  margin-top: 2px;
}
.botao-carrinho {
  display: inline-flex;
  align-items: center;
  background-color: var(--cor-primaria);
  color: white;
  border-radius: 100px 20px 20px 100px;
  padding: 4px 5px;
  font-size: 14px;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  transition: background-color 0.3s ease;
}
.botao-carrinho:hover {
  background-color: var(--cor-hover);
}
.icone-carrinho {
  width: 25px;
  height: 25px;
  object-fit: cover;
  border-radius: 50%;
  margin-right: 5px;
  background-color: #fff;
  padding: 0px;
}
.texto-carrinho {
  white-space: nowrap;
}

/* Fundo do site */
.fundo-folhas {
  background-image: url("images/folhas.jpg");
  background-repeat: repeat-y;
  background-size: 100% auto; /* largura 100%, altura proporcional */
  background-position: top center;
  background-attachment: fixed; /* opcional: mantém o fundo fixo ao rolar */
}

/* ESTILO DO BOTAO VOLTAR */
.btn-voltar {      
      display: inline-flex;
      align-items: center;
      background-color: var(--cor-primaria);
      color: white;
      border: none;
      padding: 5px 10px 5px 5px;
      border-radius: 40px 10px 10px 40px;
      font-family: sans-serif;
      font-size: 16px;
      cursor: pointer;
      transition: background-color 0.3s var(--cor-fundo-escuro);
    }

    .btn-voltar:hover {
      background-color: var(--cor-fundo-escuro);
    }

    .btn-voltar .icon {
      background-color: white;
      border-radius: 50%;
      padding: 2px;
      margin-right: 5px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .btn-voltar .icon svg {
      width: 18px;
      height: 18px;
      fill: #0078D4;
    }

	/* Estilo base para todos os campos */
	.input-modern {
	  flex: 1;
	  border-top-right-radius: 0;
	  border-bottom-right-radius: 0;
	}
	
	.input-modern,
	.textarea-modern,
	.select-modern {
	  appearance: none;
	  -webkit-appearance: none;
	  -moz-appearance: none;
	  background-color: #f0f0f0;
	  border: 1px solid #ccc;
	  padding: 10px 15px;
	  font-size: 16px;
	  border-radius: 8px;
	  outline: none;
	  width: 100%;
	  box-sizing: border-box;
	  transition: border-color 0.3s ease, box-shadow 0.3s ease;
	}
	.input-modern:focus,
	.textarea-modern:focus,
	.select-modern:focus {
	  border-color: #007BFF;
	  box-shadow: 0 0 0 2px rgba(0,123,255,0.25);
	}
	
		/* Estilo para checkbox moderno */
	.checkbox-modern {
	  appearance: none;
	  width: 20px;
	  height: 20px;
	  border: 2px solid #ccc;
	  border-radius: 4px;
	  background-color: #fff;
	  cursor: pointer;
	  position: relative;
	  transition: all 0.2s ease;
	}

	.checkbox-modern:checked {
	  border-color: #007BFF;
	  background-color: #007BFF;
	}

	.checkbox-modern:checked::after {
	  content: '';
	  position: absolute;
	  top: 2px;
	  left: 6px;
	  width: 5px;
	  height: 10px;
	  border: solid white;
	  border-width: 0 2px 2px 0;
	  transform: rotate(45deg);
	}
