/* =============================================
   PÁGINAS DE PRODUTO – produto.css
   ============================================= */

/* BREADCRUMB */
.breadcrumb {
  background: #f0f4f9;
  padding: 10px 0;
  border-bottom: 1px solid var(--cinza-bd);
  margin-top: 70px;
}
.breadcrumb .container {
  font-size: 13px;
  color: #888;
}
.breadcrumb a { color: var(--azul); }
.breadcrumb a:hover { color: var(--laranja); }
.breadcrumb span { color: #444; font-weight: 500; }

/* HERO DO PRODUTO */
.produto-hero {
  background: #fff;
  padding: 48px 0;
  border-bottom: 1px solid var(--cinza-bd);
}
.produto-hero-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: start;
}

/* IMAGEM */
.produto-imagem-box { display: flex; flex-direction: column; gap: 14px; }
.produto-imagem-placeholder {
  border-radius: 16px;
  height: 240px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.produto-imagem-placeholder.azul   { background: var(--azul-cl); }
.produto-imagem-placeholder.laranja{ background: var(--laranja-cl); }
.produto-imagem-placeholder.verde  { background: var(--verde-cl); }
.produto-imagem-placeholder span   { font-size: 64px; line-height: 1; }
.produto-imagem-placeholder small  { font-size: 13px; color: #666; font-weight: 600; }

.produto-registro {
  background: var(--azul);
  border-radius: 8px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.reg-label { color: rgba(255,255,255,0.6); font-size: 11px; }
.reg-codigo { color: #fff; font-size: 15px; font-weight: 700; letter-spacing: 1px; }

/* INFO DO PRODUTO */
.prod-tag-lg {
  display: inline-block;
  background: var(--azul-cl);
  color: var(--azul);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 5px;
  margin-bottom: 12px;
  letter-spacing: 0.3px;
}
.produto-info h1 {
  font-size: 34px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 14px;
  line-height: 1.2;
}
.produto-descricao {
  font-size: 15px;
  color: #555;
  line-height: 1.75;
  margin-bottom: 24px;
}
.produto-destaque-grid {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.prod-dest-item {
  background: var(--cinza-bg);
  border: 1px solid var(--cinza-bd);
  border-radius: 10px;
  padding: 14px 20px;
  text-align: center;
  min-width: 100px;
}
.prod-dest-item strong {
  display: block;
  font-size: 20px;
  font-weight: 700;
  color: var(--azul);
  margin-bottom: 4px;
}
.prod-dest-item span { font-size: 11px; color: #888; }

/* SEÇÃO DE DETALHES */
.produto-detalhes {
  padding: 48px 0 64px;
  background: #f7f9fc;
}
.detalhes-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 24px;
  margin-bottom: 24px;
}
.detalhe-card {
  background: #fff;
  border: 1px solid var(--cinza-bd);
  border-radius: 14px;
  padding: 28px;
}
.detalhe-card h2 {
  font-size: 17px;
  font-weight: 700;
  color: var(--azul);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--cinza-bd);
}
.por-kg {
  font-size: 12px;
  font-weight: 400;
  color: #aaa;
  margin-left: 6px;
}

/* MODO DE USO */
.modo-uso-box p { font-size: 14px; color: #555; margin-bottom: 16px; line-height: 1.7; }
.formula-box {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 16px 0 20px;
}
.formula-item {
  flex: 1;
  min-width: 90px;
  text-align: center;
  border-radius: 10px;
  padding: 14px 10px;
}
.formula-item.azul    { background: var(--azul-cl); }
.formula-item.laranja { background: var(--laranja-cl); }
.formula-item.verde   { background: var(--verde-cl); }
.formula-item strong  { display: block; font-size: 18px; font-weight: 700; color: var(--azul); margin-bottom: 4px; }
.formula-item.laranja strong { color: #b85a00; }
.formula-item.verde strong   { color: #1a6e33; }
.formula-item span    { font-size: 11px; color: #666; }
.formula-mais { font-size: 22px; color: #ccc; font-weight: 300; }
.modo-obs {
  font-size: 12px !important;
  color: #aaa !important;
  font-style: italic;
  background: var(--cinza-bg);
  padding: 10px 12px;
  border-radius: 7px;
  border-left: 3px solid var(--laranja);
}

/* TABELA NUTRICIONAL */
.tabela-wrapper { overflow-x: auto; }
.tabela-nutricional {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.tabela-nutricional thead tr {
  background: var(--azul);
}
.tabela-nutricional thead th {
  color: #fff;
  padding: 10px 14px;
  text-align: left;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.3px;
}
.tabela-nutricional tbody tr {
  border-bottom: 1px solid #f0f4f9;
  transition: background 0.15s;
}
.tabela-nutricional tbody tr:hover { background: #f8fbff; }
.tabela-nutricional td {
  padding: 9px 14px;
  color: #444;
}
.tabela-nutricional td:first-child { font-weight: 500; color: #1a1a1a; }
.tabela-nutricional td:last-child  { font-weight: 600; color: var(--azul); text-align: right; }

/* BADGES DE NÍVEL */
.nivel {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  letter-spacing: 0.3px;
}
.nivel.min { background: #e8f5e9; color: #2e7d32; }
.nivel.max { background: #fff3e0; color: #e65100; }

/* LINHAS ESPECIAIS */
.row-vitamina td:first-child { color: #6a1b9a; }
.row-vitamina { background: #fdf6ff !important; }
.row-aditivo td:first-child  { color: #b85a00; font-style: italic; }
.row-aditivo  { background: #fff8f0 !important; }
.row-atencao td:first-child  { color: #c62828; }

/* LEGENDA */
.tabela-legenda {
  display: flex;
  gap: 20px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.leg-min, .leg-max {
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 4px;
}
.leg-min { background: #e8f5e9; color: #2e7d32; }
.leg-max { background: #fff3e0; color: #e65100; }

/* BARRA DE EMBALAGEM */
.embalagem-bar {
  background: var(--azul);
  border-radius: 12px;
  padding: 20px 28px;
  display: flex;
  gap: 0;
  flex-wrap: wrap;
}
.emb-item {
  flex: 1;
  min-width: 140px;
  text-align: center;
  padding: 8px 16px;
  border-right: 1px solid rgba(255,255,255,0.12);
}
.emb-item:last-child { border-right: none; }
.emb-item span { display: block; color: rgba(255,255,255,0.5); font-size: 11px; margin-bottom: 5px; }
.emb-item strong { color: #fff; font-size: 14px; font-weight: 600; }

/* RESPONSIVO */
@media (max-width: 900px) {
  .produto-hero-grid { grid-template-columns: 1fr; }
  .produto-imagem-placeholder { height: 180px; }
  .detalhes-grid { grid-template-columns: 1fr; }
  .embalagem-bar { gap: 0; }
  .emb-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.12); }
  .emb-item:last-child { border-bottom: none; }
}
@media (max-width: 600px) {
  .produto-info h1 { font-size: 26px; }
  .formula-box { justify-content: center; }
  .produto-destaque-grid { gap: 10px; }
}
