/* WooCommerce pieces, matched to the SAIN shop. */

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  margin: 0 0 24px;
  padding: 14px 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink);
  list-style: none;
}

.woocommerce-error {
  border-color: var(--sale);
}

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #place_order,
.woocommerce .checkout-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  background: var(--accent);
  color: var(--cream);
  border: 1px solid var(--accent);
  border-radius: 0;
  font-weight: 400;
  line-height: 1.2;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #place_order:hover,
.woocommerce .checkout-button:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
}

.woocommerce table.shop_table {
  width: 100%;
  border-collapse: collapse;
  background: transparent;
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

.woocommerce table.shop_table img {
  width: 72px;
  height: auto;
}

.woocommerce-cart .cart_totals,
.woocommerce-checkout #order_review {
  background: var(--paper);
  padding: 28px;
}

.woocommerce form .form-row {
  margin-bottom: 16px;
}

.woocommerce form .form-row label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--soft);
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 12px 0;
  color: var(--ink);
}

.woocommerce-checkout #customer_details,
.woocommerce-checkout #order_review_heading {
  margin-top: 12px;
}

.woocommerce .quantity .qty {
  width: 64px;
  min-height: 44px;
  background: transparent;
  border: 1px solid var(--line);
  text-align: center;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-bottom: 28px;
}

.woocommerce-account .woocommerce-MyAccount-navigation a {
  border-bottom: 1px solid var(--line);
}

.line img {
  width: 72px;
  height: auto;
  object-fit: cover;
}
