/******* Do not edit this file *******
Woody Code Snippets CSS and JS
Saved: Jul 02 2025 | 15:05:07 */
/* === ORGANIZAR QUANTIDADE + ADICIONAR LADO A LADO === */
.quantity,
.single_add_to_cart_button {
  display: inline-block;
  vertical-align: middle;
}

/* Caixa de quantidade */
.quantity input.qty {
  width: 60px !important;
  padding: 8px 6px !important;
  font-size: 14px !important;
  margin-right: 8px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

/* Botão "Adicionar" mais pequeno e ao lado */
.single_add_to_cart_button {
  padding: 12px 20px !important;
  font-size: 15px !important;
  background-color: #A2D16D !important;
  border: none !important;
  color: white !important;
  border-radius: 4px !important;
  font-weight: bold !important;
  cursor: pointer;
}

/* Hover com efeito de escala */
.single_add_to_cart_button:hover {
  background-color: #525252 !important;
  border-radius: 6px !important;
  transform: scale(0.9);
}

/* Remover largura total se for aplicada por temas ou Elementor */
form.cart {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* === "Escolher ficheiro" — manter compacto === */
input[type="file"].tmcp-upload {
  width: auto !important;
  display: inline-block !important;
  padding: 6px !important;
  border: 1px solid #999 !important;
  border-radius: 4px !important;
  background: #fff !important;
}

/* Texto "Nenhum ficheiro selecionado" continua como está — nenhum ajuste necessário */

/* Alinhar file input e texto ao lado */
.cpf-upload-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Opcional: remover a margem abaixo do aviso de tamanho de ficheiro */
.tc-max-file-size {
  margin-top: 4px;
  font-size: 12px;
  color: #666;
}

/* === ESTILO DOS SELECTS (Material, Cores) === */
/* === Alinhar cada linha como um campo horizontal === */
.tc-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

/* === Lado esquerdo: LABEL === */
.tc-row .tc-epo-label {
  flex: 0 0 140px; /* largura fixa do label */
  font-weight: 500;
  font-size: 14px;
  color: #333;
  margin: 0;
}

/* === Lado direito: CONTÊM o select === */
.tc-row .tc-element-container {
  flex: 1;
  display: flex;
}

/* === Select bonitinho === */
.tc-row .tc-element-container select.tmcp-select {
  flex: 1;
  padding: 8px 10px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background-color: #f9f9f9;
  color: #333;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg fill='gray' height='16' viewBox='0 0 24 24' width='16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 16px;
}


/* === ESTILO PARA OS TOTAIS DO TM EPO === */
#tm-epo-totals {
  background: #f5f5f5;
  padding: 16px;
  border-radius: 12px;
  margin-top: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  font-family: inherit;
}

#tm-epo-totals dl {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#tm-epo-totals dt,
#tm-epo-totals dd {
  margin: 0;
  padding: 0;
  line-height: 1.4;
}

/* Títulos (ex: "Adicionais das Opções", "Total") */
#tm-epo-totals dt {
  color: #84BE38;
  font-weight: bold;
  font-size: 15px;
}

/* Valores (ex: "20,00 €") */
#tm-epo-totals dd {
  font-size: 16px;
  font-weight: bold;
  color: #333;
}

/* Valor final destacado */
#tm-epo-totals dd.tm-final-totals {
  font-size: 18px;
  color: #84BE38;
}

/* Garantir espaçamento e separação visual */
#tm-epo-totals dd span.amount {
  display: inline-block;
  margin-top: 4px;
}


/* Valores (ex: "20,00 €") */
.woocommerce-Price-amount.amount bdi {
  color: #525252 !important;
  font-weight: bold;
  font-size: 16px;
}


div#tm-epo-totals {
    display: none !important;
}