/* Esconde o quantity padrão */
.woocommerce div.product form.cart .quantity {
  display: none !important;
}

/* Dropdown de pesos */
.wwp-weight-dropdown {
  margin: 1.5em 0;
}
.wwp-weight-dropdown label {
  display: block;
  margin-bottom: 0.5em;
  font-weight: 600;
  font-size: 1em;
}
.wwp-weight-dropdown select {
  width: 100%;
  padding: 0.75em;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1em;
  background: #fff;
  appearance: none;
  -webkit-appearance: none;
  margin-bottom: 1em;
}

/* Inputs “Outro” (kg + g) */
.wwp-custom-inputs {
  display: none;
  display: flex;
  gap: 1em;
}
.wwp-custom-inputs input[type="number"] {
  flex: 1;
  padding: 1em;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1em;
  text-align: center;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.05);
  transition: border-color .2s, box-shadow .2s;
}
.wwp-custom-inputs input[type="number"]:focus {
  border-color: #2f855a;
  box-shadow: 0 0 0 3px rgba(72,187,120,0.3);
  outline: none;
}

/* Responsivo */
@media (max-width: 600px) {
  .wwp-custom-inputs {
    flex-direction: column;
  }
}

/* Notes field styling to match KG/g inputs */
.wwp-notes-field {
  margin: 1em 0;
}

.wwp-notes-field textarea {
  width: 100%;
  padding: 1em;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1em;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.05);
  transition: border-color .2s, box-shadow .2s;
  resize: vertical;
}

.wwp-notes-field textarea:focus {
  border-color: #2f855a;
  box-shadow: 0 0 0 3px rgba(72,187,120,0.3);
  outline: none;
}

.wwp-price-note {
  font-size: 0.9em;
  color: #555;
  margin-top: 5px;
  line-height: 1.2;
}

/* Força visibilidade do número da quantity */
/* Esconde o quantity padrão do WooCommerce completamente */
.woocommerce div.product form.cart .quantity {
  display: none !important;
}

/* Estilo do quantity customizado */
.wwp-unit-quantity {
  margin: 1em 0;
  font-size: 0.95em;
}
.wwp-qty-label {
  display: block;
  margin-bottom: 0.25em;
  font-weight: 600;
}
.wwp-qty-controls {
  display: flex;
  align-items: center;
  gap: 0.5em;
}
.wwp-qty-controls button {
  background: #2f855a;
  border: none;
  color: #fff;
  padding: 0.5em 0.75em;
  font-size: 1.2em;
  line-height: 1;
  cursor: pointer;
  border-radius: 6px;
  min-width: 2.5em;
}
.wwp-qty-controls input {
  width: 3.5em;
  text-align: center;
  padding: 0.5em;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1em;
}
.wwp-qty-controls button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}