/*
 * Minimal WooCommerce overrides to match The Standard Trader's
 * dark/restrained design system. Loaded only when WooCommerce is active.
 * Keep the store understated — no badges, no urgency styling.
 */

.woocommerce-page-wrap {
  color: var(--text);
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-2);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product h2 {
  color: var(--text);
  font-size: 1.1rem;
}

.woocommerce .price,
.woocommerce-page .price {
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce-page a.button,
.woocommerce-page button.button {
  background: var(--accent);
  color: var(--accent-text);
  border-radius: var(--radius);
  border: 1px solid var(--accent);
  padding: 0.75rem 1.5rem;
  font-weight: 600;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
  opacity: 0.9;
}

.woocommerce table.shop_table,
.woocommerce-page table.shop_table {
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
  border-color: var(--border);
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce-page form .form-row select {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 8px;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-notice {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: var(--radius);
}

.woocommerce-message::before,
.woocommerce-info::before {
  color: var(--accent);
}
