/* WooCommerce overrides for NanKang theme */

.woocommerce .nankang-wc-wrap,
.nankang-wc-wrap {
  width: 100%;
}

.nankang-add-to-cart {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.nankang-add-to-cart .quantity {
  margin: 0;
}

.nankang-add-to-cart .quantity input.qty {
  display: none;
}

.nankang-qty-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
}

.nankang-add-to-cart .add-cart-btn,
.nankang-add-to-cart .single_add_to_cart_button {
  width: 100%;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.woocommerce-notices-wrapper {
  max-width: 1200px;
  margin: 16px auto;
  padding: 0 24px;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  background: var(--dark-3);
  color: var(--white);
  border-radius: var(--radius);
  padding: 12px 16px;
  margin-bottom: 12px;
  list-style: none;
}

.list-pagination .page-numbers,
.list-pagination ul.page-numbers {
  display: flex;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
  justify-content: center;
}

.list-pagination .page-numbers li {
  list-style: none;
}

.list-pagination a.page-numbers,
.list-pagination span.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: var(--radius);
  background: var(--dark-3);
  color: var(--white);
  text-decoration: none;
}

.list-pagination span.current {
  background: var(--gold);
  color: var(--black);
}

.sort-tabs .sort-btn {
  text-decoration: none;
  border: none;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  color: inherit;
}

.nankang-page-content {
  padding: 40px 0 80px;
}

.nankang-page-content .section-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}

.custom-logo-link img {
  max-height: 48px;
  width: auto;
}

.product-card-lg,
.product-card-sm,
.product-card-md {
  text-decoration: none;
  color: inherit;
}

.vehicle-card {
  text-decoration: none;
  color: inherit;
  display: block;
}
