/* ZenixPower commerce UI, stage three. */
.zpx-commerce-eyebrow {
  display: block;
  margin-bottom: 9px;
  color: var(--zpx-green);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0;
  text-transform: uppercase;
}

/* Shop catalog */
body.page-id-12616 #primary { margin: 0; }
body.page-id-12616 .site-main { padding: 58px 0 82px; }
body.page-id-12616 .entry-header { margin-bottom: 26px; }
body.page-id-12616 .entry-title { color: var(--zpx-ink); font-size: 42px; line-height: 1.15; }

.zpx-catalog-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, .8fr);
  align-items: end;
  gap: 16px 50px;
  margin-bottom: 42px;
  padding: 30px;
  border: 1px solid var(--zpx-line);
  border-radius: 8px;
  background: var(--zpx-surface);
}
.zpx-catalog-intro h2 { margin: 0 0 8px; color: var(--zpx-ink); font-size: 28px; line-height: 1.25; }
.zpx-catalog-intro p { margin: 0; color: var(--zpx-muted); font-size: 15px; }
.zpx-catalog-search { display: grid; grid-template-columns: minmax(0, 1fr) auto; min-height: 48px; }
.zpx-catalog-search input[type="search"] {
  min-width: 0;
  height: 48px;
  padding: 0 14px;
  border: 1px solid #cdd5d9;
  border-right: 0;
  border-radius: 4px 0 0 4px;
  background: #fff;
}
.zpx-catalog-search button {
  min-height: 48px;
  padding: 0 18px;
  border: 0;
  border-radius: 0 4px 4px 0;
  color: #fff;
  background: var(--zpx-orange);
}
.zpx-catalog-search button:hover { background: var(--zpx-orange-dark); }
.zpx-catalog-links { display: flex; flex-wrap: wrap; gap: 8px; grid-column: 1 / -1; }
.zpx-catalog-links a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 7px 12px;
  border: 1px solid #cdd5d9;
  border-radius: 4px;
  color: var(--zpx-ink);
  background: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.zpx-catalog-links a:hover { color: var(--zpx-green-dark); border-color: #9cc8a7; }

body.page-id-12616 ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
body.page-id-12616 ul.products::before,
body.page-id-12616 ul.products::after { display: none !important; }
body.page-id-12616 ul.products li.product:not(.product-category) {
  display: flex !important;
  flex-direction: column;
  float: none !important;
  width: auto !important;
  min-width: 0;
  margin: 0 !important;
  overflow: hidden;
  border: 1px solid var(--zpx-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(31, 41, 51, .05);
}
body.page-id-12616 .astra-shop-thumbnail-wrap { aspect-ratio: 1 / 1; border-bottom: 1px solid #edf0f2; background: #fff; }
body.page-id-12616 .astra-shop-thumbnail-wrap a,
body.page-id-12616 .astra-shop-thumbnail-wrap img { display: block; width: 100%; height: 100%; }
body.page-id-12616 .astra-shop-thumbnail-wrap img { object-fit: contain; }
body.page-id-12616 .astra-shop-summary-wrap { flex: 1 1 auto; padding: 15px 15px 8px; }
body.page-id-12616 .ast-woo-product-category { color: var(--zpx-green-dark); font-size: 12px; font-weight: 750; text-transform: uppercase; }
body.page-id-12616 .woocommerce-loop-product__title {
  display: -webkit-box;
  min-height: 66px;
  margin: 5px 0 0 !important;
  padding: 0 !important;
  overflow: hidden;
  color: var(--zpx-ink);
  font-size: 15px !important;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
body.page-id-12616 .ast-woo-shop-product-description { display: none; }

.zpx-catalog-card-footer { margin-top: auto; padding: 0 15px 15px; }
.zpx-card-price { min-height: 27px; margin-bottom: 9px; color: var(--zpx-orange-dark); font-size: 17px; font-weight: 800; }
.zpx-card-price-quote { color: var(--zpx-muted); font-size: 14px; }
.zpx-card-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.zpx-card-actions a,
.zpx-card-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 44px;
  padding: 8px;
  border: 1px solid #acd0b5;
  border-radius: var(--zpx-radius);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
}
.zpx-card-details { color: var(--zpx-green-dark); background: #fff; }
.zpx-card-cart,
.zpx-card-quote { color: #fff; border-color: var(--zpx-green) !important; background: var(--zpx-green); }
.zpx-card-actions a:hover,
.zpx-card-actions button:hover { color: #fff; border-color: var(--zpx-green-dark); background: var(--zpx-green-dark); }

/* Product category directories */
body.tax-product_cat { grid-template-columns: minmax(0, 1fr) !important; }
body.tax-product_cat #page,
body.tax-product_cat .site-content,
body.tax-product_cat .ast-container,
body.tax-product_cat #primary,
body.tax-product_cat .site-main,
body.tax-product_cat .ast-woocommerce-container,
body.tax-product_cat .woocommerce-products-header {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}
body.tax-product_cat .site-main { padding: 56px 0 80px; }
body.tax-product_cat .woocommerce-breadcrumb { margin-bottom: 22px; color: var(--zpx-muted); font-size: 13px; }
body.tax-product_cat .woocommerce-products-header__title { margin-bottom: 18px; color: var(--zpx-ink); font-size: 44px !important; line-height: 1.15; }
body.tax-product_cat ul.products { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
body.tax-product_cat ul.products::before,
body.tax-product_cat ul.products::after { display: none !important; }
body.tax-product_cat ul.products li.product-category {
  float: none !important;
  width: auto !important;
  min-width: 0;
  min-height: 150px;
  margin: 0 !important;
  overflow: hidden;
  border: 1px solid var(--zpx-line);
  border-radius: 8px;
  background: #fff;
}
body.tax-product_cat ul.products li.product-category a { display: flex; flex-direction: column; height: 100%; padding: 20px; text-decoration: none; }
body.tax-product_cat ul.products li.product-category .astra-shop-thumbnail-wrap { display: none; }
body.tax-product_cat ul.products li.product-category img { display: none !important; }
body.tax-product_cat ul.products li.product-category h2 {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  justify-content: space-between;
  min-height: 108px;
  margin: 0 !important;
  color: var(--zpx-ink);
  font-size: 15px !important;
  line-height: 1.4;
}
body.tax-product_cat ul.products li.product-category h2::before {
  display: block;
  margin-bottom: 18px;
  color: var(--zpx-green);
  font-size: 12px;
  font-weight: 800;
  content: "PRODUCT SERIES";
}
body.tax-product_cat .woocommerce-loop-category__title .count { color: var(--zpx-muted); background: transparent; font-size: 12px !important; font-weight: 650; }

/* Top-level category product browser */
.zpx-category-catalog { margin-top: 4px; }
.zpx-category-tools {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .65fr);
  align-items: end;
  gap: 24px 48px;
  margin-bottom: 22px;
}
.zpx-category-tools h2 { margin: 0 0 5px; color: var(--zpx-ink); font-size: 30px; line-height: 1.25; }
.zpx-category-result-summary { margin: 0; color: var(--zpx-muted); font-size: 14px; }
.zpx-category-search { display: grid; grid-template-columns: minmax(0, 1fr) auto; min-height: 46px; }
.zpx-category-search input {
  min-width: 0;
  height: 46px;
  padding: 0 14px;
  border: 1px solid #cdd5d9;
  border-right: 0;
  border-radius: 4px 0 0 4px;
  background: #fff;
}
.zpx-category-search button {
  min-height: 46px;
  padding: 0 18px;
  border: 0;
  border-radius: 0 4px 4px 0;
  color: #fff;
  background: var(--zpx-orange);
  font-weight: 750;
}
.zpx-category-search button:hover { background: var(--zpx-orange-dark); }
.zpx-series-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.zpx-series-filters button {
  min-height: 40px;
  padding: 8px 13px;
  border: 1px solid #cdd5d9;
  border-radius: 4px;
  color: var(--zpx-ink);
  background: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
}
.zpx-series-filters button span { margin-left: 4px; color: var(--zpx-muted); font-size: 12px; }
.zpx-series-filters button:hover { border-color: #8fbe9a; color: var(--zpx-green-dark); }
.zpx-series-filters button.is-active { color: #fff; border-color: var(--zpx-green); background: var(--zpx-green); }
.zpx-series-filters button.is-active span { color: #fff; }
.zpx-category-products-shell { scroll-margin-top: 110px; transition: opacity .18s ease; }
.zpx-category-catalog.is-loading .zpx-category-products-shell { opacity: .48; pointer-events: none; }
.zpx-category-product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.zpx-category-product-card {
  display: flex;
  min-width: 0;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid var(--zpx-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(31, 41, 51, .05);
}
.zpx-category-product-image { display: block; aspect-ratio: 1 / 1; border-bottom: 1px solid #edf0f2; background: #fff; }
.zpx-category-product-image img { display: block; width: 100%; height: 100%; object-fit: contain; }
.zpx-category-product-body { display: flex; flex: 1 1 auto; flex-direction: column; padding: 15px; }
.zpx-category-product-series { color: var(--zpx-green-dark); font-size: 12px; font-weight: 750; text-transform: uppercase; }
.zpx-category-product-card h3 {
  display: -webkit-box;
  min-height: 66px;
  margin: 5px 0 10px;
  overflow: hidden;
  font-size: 15px;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
.zpx-category-product-card h3 a { color: var(--zpx-ink); text-decoration: none; }
.zpx-category-product-price { min-height: 27px; margin-top: auto; margin-bottom: 9px; color: var(--zpx-orange-dark); font-size: 17px; font-weight: 800; }
.zpx-category-product-price.is-quote { color: var(--zpx-muted); font-size: 14px; }
.zpx-category-product-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.zpx-category-product-actions a,
.zpx-category-product-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 42px;
  padding: 7px;
  border: 1px solid #acd0b5;
  border-radius: var(--zpx-radius);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
}
.zpx-category-view { color: var(--zpx-green-dark); background: #fff; }
.zpx-category-cart { color: #fff; border-color: var(--zpx-green) !important; background: var(--zpx-green); }
.zpx-category-buy { grid-column: 1 / -1; color: #fff; border-color: var(--zpx-orange) !important; background: var(--zpx-orange); }
.zpx-category-quote { grid-column: 1 / -1; color: #fff; border-color: var(--zpx-green) !important; background: var(--zpx-green); }
.zpx-category-product-actions a:hover,
.zpx-category-product-actions button:hover { color: #fff; border-color: var(--zpx-green-dark) !important; background: var(--zpx-green-dark); }
.zpx-category-pagination { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 34px; }
.zpx-category-pagination button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid #cdd5d9;
  border-radius: 4px;
  color: var(--zpx-ink);
  background: #fff;
  font-size: 14px;
  font-weight: 750;
}
.zpx-category-pagination button:hover,
.zpx-category-pagination button.is-current { color: #fff; border-color: var(--zpx-green); background: var(--zpx-green); }
.zpx-category-pagination button:disabled { opacity: .4; cursor: default; }
.zpx-page-gap { color: var(--zpx-muted); }
.zpx-category-products-empty { grid-column: 1 / -1; margin: 0; padding: 36px 20px; background: var(--zpx-surface); color: var(--zpx-muted); text-align: center; }

/* Product detail */
body.single-product .site-main { padding: 58px 0 86px; }
body.single-product div.product { display: flow-root; }
body.single-product .woocommerce-product-gallery { padding: 18px; border: 1px solid var(--zpx-line); border-radius: 8px; background: var(--zpx-surface); }
body.single-product .woocommerce-product-gallery img { background: #fff; object-fit: contain; }
body.single-product .summary.entry-summary { padding-left: 10px; }
body.single-product .woocommerce-breadcrumb { margin-bottom: 16px; color: var(--zpx-muted); font-size: 13px; line-height: 1.5; }
body.single-product .summary .posted_in { display: inline-block; margin-bottom: 8px; color: var(--zpx-green-dark); font-size: 13px; font-weight: 750; text-transform: uppercase; }
body.single-product .product_title { margin: 0 0 12px; color: var(--zpx-ink); font-size: 34px !important; line-height: 1.25; }
body.single-product .summary .price { margin: 0 0 15px; color: var(--zpx-orange-dark); font-size: 28px !important; font-weight: 800; }
body.single-product .woocommerce-product-details__short-description { color: var(--zpx-muted); font-size: 15px; line-height: 1.7; }
body.single-product form.cart { display: flex !important; align-items: stretch; gap: 9px; margin: 22px 0 0 !important; }
body.single-product form.cart .quantity { float: none !important; flex: 0 0 78px; margin: 0 !important; }
body.single-product form.cart .quantity .qty { width: 78px; height: 48px; border-color: #cdd5d9; border-radius: 4px; }
body.single-product form.cart .single_add_to_cart_button {
  float: none !important;
  flex: 1 1 auto;
  width: auto !important;
  min-width: 0;
  min-height: 48px;
  margin: 0 !important;
  padding: 10px 24px;
  border-radius: var(--zpx-radius);
  color: #fff;
  background: var(--zpx-green);
}
body.single-product form.cart .single_add_to_cart_button:hover { background: var(--zpx-green-dark); }

.zpx-product-support { margin: 16px 0 18px; }
.zpx-product-conversion { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.zpx-buy-now,
.zpx-product-inquiry {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 16px;
  border: 1px solid var(--zpx-orange);
  border-radius: var(--zpx-radius);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}
.zpx-buy-now { color: #fff; background: var(--zpx-orange); }
.zpx-buy-now:hover { color: #fff; border-color: var(--zpx-orange-dark); background: var(--zpx-orange-dark); }
.zpx-product-inquiry { color: var(--zpx-ink); background: #fff; }
.zpx-product-inquiry:hover { color: #fff; background: var(--zpx-orange-dark); }
.zpx-product-fit-help { margin-top: 14px; padding: 14px 16px; border-left: 3px solid var(--zpx-green); background: var(--zpx-surface); }
.zpx-product-fit-help strong,
.zpx-product-fit-help span { display: block; }
.zpx-product-fit-help strong { margin-bottom: 3px; color: var(--zpx-ink); font-size: 14px; }
.zpx-product-fit-help span { color: var(--zpx-muted); font-size: 13px; line-height: 1.5; }
.zpx-product-assurances { display: flex; flex-wrap: wrap; gap: 7px 18px; margin: 13px 0 0; padding: 0; color: var(--zpx-muted); font-size: 13px; list-style: none; }
.zpx-product-assurances li { position: relative; padding-left: 14px; }
.zpx-product-assurances li::before { position: absolute; top: .58em; left: 0; width: 6px; height: 6px; border-radius: 50%; background: var(--zpx-green); content: ""; }
body.single-product .product_meta { padding-top: 14px; border-top: 1px solid var(--zpx-line); color: var(--zpx-muted); font-size: 13px; }
body.single-product .woocommerce-tabs { margin-top: 66px; }
body.single-product .woocommerce-tabs .wc-tabs { border-bottom: 1px solid var(--zpx-line); }
body.single-product .woocommerce-tabs .panel { max-width: 920px; margin: 34px auto 0 !important; color: var(--zpx-muted); line-height: 1.75; }
body.single-product .woocommerce-tabs .panel h2 { margin-top: 32px; color: var(--zpx-ink); font-size: 24px !important; }
body.single-product .woocommerce-tabs table { width: 100%; border-collapse: collapse; }
body.single-product .woocommerce-tabs th,
body.single-product .woocommerce-tabs td { padding: 11px 13px; border: 1px solid var(--zpx-line); text-align: left; }

@media (max-width: 921px) {
  .zpx-catalog-intro { grid-template-columns: minmax(0, 1fr); }
  .zpx-catalog-links { grid-column: 1; }
  body.page-id-12616 .site-main,
  body.tax-product_cat .site-main,
  body.single-product .site-main { padding-right: 32px; padding-left: 32px; }
  body.page-id-12616 ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  body.tax-product_cat ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .zpx-category-tools { grid-template-columns: minmax(0, 1fr); gap: 15px; }
  .zpx-category-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  body.single-product .product_title { font-size: 30px !important; }
}

@media (max-width: 600px) {
  body.page-id-12616 .site-main,
  body.tax-product_cat .site-main,
  body.single-product .site-main { padding: 44px 20px 64px; }
  body.page-id-12616 .entry-title,
  body.tax-product_cat .woocommerce-products-header__title { font-size: 34px !important; }
  .zpx-catalog-intro { gap: 18px; margin-bottom: 30px; padding: 22px 18px; }
  .zpx-catalog-intro h2 { font-size: 24px; }
  .zpx-catalog-search button { min-width: 108px; padding: 0 10px; }
  body.page-id-12616 ul.products,
  body.tax-product_cat ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  body.page-id-12616 .astra-shop-summary-wrap { padding: 11px 10px 6px; }
  body.page-id-12616 .woocommerce-loop-product__title { min-height: 76px; font-size: 13px !important; -webkit-line-clamp: 4; }
  .zpx-catalog-card-footer { padding: 0 10px 11px; }
  .zpx-card-actions { grid-template-columns: 1fr; gap: 6px; }
  .zpx-card-actions a,
  .zpx-card-actions button { font-size: 12px; }
  body.tax-product_cat ul.products li.product-category a { padding: 16px; }
  body.tax-product_cat ul.products li.product-category h2 { min-height: 118px; font-size: 13px !important; }
  .zpx-category-tools h2 { font-size: 25px; }
  .zpx-category-search button { min-width: 84px; padding: 0 12px; }
  .zpx-series-filters { flex-wrap: nowrap; margin-right: -20px; margin-left: -20px; padding: 0 20px 7px; overflow-x: auto; scrollbar-width: thin; }
  .zpx-series-filters button { flex: 0 0 auto; }
  .zpx-category-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .zpx-category-product-body { padding: 11px 10px; }
  .zpx-category-product-card h3 { min-height: 76px; font-size: 13px; -webkit-line-clamp: 4; }
  .zpx-category-product-actions { grid-template-columns: 1fr; gap: 6px; }
  .zpx-category-buy,
  .zpx-category-quote { grid-column: 1; }
  .zpx-category-pagination { gap: 5px; }
  .zpx-category-pagination button { width: 38px; height: 38px; }

  body.single-product .woocommerce-product-gallery,
  body.single-product .summary.entry-summary { float: none !important; width: 100% !important; }
  body.single-product .summary.entry-summary { margin-top: 30px; padding-left: 0; }
  body.single-product .product_title { font-size: 28px !important; }
  body.single-product form.cart { display: flex !important; }
  .zpx-product-conversion { grid-template-columns: minmax(0, 1fr); }
  body.single-product .woocommerce-tabs { margin-top: 48px; }
  body.single-product .woocommerce-tabs .panel { margin-top: 24px !important; }
}
