.woocommerce-cart-form td.precio-pendiente,
.cart_totals td.precio-pendiente {
  background: #fff8df;
  color: #725600;
}

.estado-precio {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 28px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
}

.estado-precio--pendiente::before {
  width: 15px;
  height: 15px;
  border: 2px solid rgba(114, 86, 0, 0.25);
  border-top-color: #d19300;
  border-radius: 50%;
  content: "";
  animation: pp-cart-precio-spin 0.75s linear infinite;
}

.woocommerce-cart-form td.precio-error,
.cart_totals td.precio-error {
  background: #fff0f0;
  color: #a12222;
}

.estado-precio--error {
  color: #a12222;
}

.woocommerce-cart-form td.precio-error small {
  display: block;
  margin-top: 4px;
  color: #7d2a2a;
  font-size: 12px;
  line-height: 1.3;
}

.woocommerce-cart-form td.precio-actualizado {
  background: #edf9f0;
  transition: background-color 0.25s ease;
}

.confirmacion-precio {
  display: block;
  margin-top: 4px;
  color: #18713b;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
}

.fila-precio-pendiente .boton-descargar-presupuesto,
.fila-precio-error .boton-descargar-presupuesto,
.checkout-button.checkout-precio-pendiente {
  opacity: 0.48 !important;
  cursor: wait !important;
  pointer-events: none !important;
}

.aviso-precio-checkout {
  box-sizing: border-box;
  margin: 0 0 10px;
  padding: 10px 12px;
  border: 1px solid #ead085;
  border-radius: 6px;
  background: #fff8df;
  color: #654d00;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
}

@keyframes pp-cart-precio-spin {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .estado-precio--pendiente::before {
    animation: none;
  }
}
