:root {
  --ast-category-navy: #173a62;
  --ast-category-blue: #087dcc;
  --ast-category-ink: #202933;
  --ast-category-muted: #56616d;
  --ast-category-line: #dbe1e8;
  --ast-category-surface: #eef2f7;
}

.tax-product_cat #content.site-main {
  color: var(--ast-category-ink);
}

.tax-product_cat #content.site-main > img.category-image {
  display: none !important;
}

.tax-product_cat .ast-category-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(190px, 230px);
  align-items: center;
  min-height: 252px;
  margin: 0 0 22px;
  padding: 30px 34px 27px;
  overflow: hidden;
  border: 1px solid #e1e6ec;
  border-radius: 5px;
  background:
    radial-gradient(circle at 91% 18%, rgba(255, 255, 255, 0.95) 0, rgba(255, 255, 255, 0) 42%),
    linear-gradient(118deg, #f3f6f9 0%, var(--ast-category-surface) 58%, #e4e9ef 100%);
}

.tax-product_cat .ast-category-intro__copy {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.tax-product_cat .ast-category-intro__eyebrow {
  margin: 0 0 8px;
  color: var(--ast-category-blue);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.tax-product_cat .ast-category-intro__title {
  margin: 0 0 12px;
  color: var(--ast-category-ink);
  font-size: clamp(24px, 2vw, 29px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.025em;
}

.tax-product_cat .ast-category-intro__summary {
  max-width: 690px;
  margin: 0;
  color: #3f4852;
  font-size: 14.5px;
  line-height: 1.62;
}

.tax-product_cat .ast-category-intro__full-copy {
  max-width: 690px;
  color: #3f4852;
  font-size: 14.5px;
  line-height: 1.62;
}

.tax-product_cat .ast-category-intro__full-copy[hidden] {
  display: none !important;
}

.tax-product_cat .ast-category-intro__full-copy > :first-child {
  margin-top: 0;
}

.tax-product_cat .ast-category-intro__full-copy > :last-child {
  margin-bottom: 0;
}

.tax-product_cat .ast-category-intro__full-copy p,
.tax-product_cat .ast-category-intro__full-copy ul,
.tax-product_cat .ast-category-intro__full-copy ol {
  margin: 0 0 12px;
}

.tax-product_cat .ast-category-intro__full-copy h2,
.tax-product_cat .ast-category-intro__full-copy h3,
.tax-product_cat .ast-category-intro__full-copy h4 {
  margin: 19px 0 7px;
  color: var(--ast-category-navy);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
}

.tax-product_cat .ast-category-intro__toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 12px 0 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ast-category-blue);
  font: inherit;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  cursor: pointer;
}

.tax-product_cat .ast-category-intro__toggle:hover,
.tax-product_cat .ast-category-intro__toggle:focus-visible {
  color: var(--ast-category-navy);
}

.tax-product_cat .ast-category-intro__toggle:focus-visible {
  outline: 3px solid rgba(8, 125, 204, 0.3);
  outline-offset: 4px;
}

.tax-product_cat .ast-category-intro__toggle i {
  font-size: 9px;
  transition: transform 160ms ease;
}

.tax-product_cat .ast-category-intro__toggle[aria-expanded="true"] i {
  transform: rotate(180deg);
}

.tax-product_cat .ast-category-intro__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
  margin-top: 17px;
  padding-top: 13px;
  border-top: 1px solid rgba(23, 58, 98, 0.13);
  color: #52606d;
  font-size: 12.5px;
  line-height: 1.45;
}

.tax-product_cat .ast-category-intro__meta span {
  font-weight: 600;
}

.tax-product_cat .ast-category-intro__meta a {
  color: var(--ast-category-blue);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.tax-product_cat .ast-category-intro__meta a:hover,
.tax-product_cat .ast-category-intro__meta a:focus-visible {
  color: var(--ast-category-navy);
}

.tax-product_cat .ast-category-intro__media {
  display: flex;
  align-self: stretch;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding-left: 20px;
}

.tax-product_cat .ast-category-intro__image {
  width: 100%;
  max-width: 220px;
  max-height: 165px;
  object-fit: contain;
  filter: drop-shadow(0 13px 12px rgba(24, 42, 60, 0.16));
}

.tax-product_cat .shop-loop-before {
  display: flex;
  align-items: center;
  min-height: 52px;
  margin-bottom: 14px;
  padding: 0;
  border: 0;
}

.tax-product_cat .shop-loop-before .woocommerce-ordering {
  margin-right: auto;
}

.tax-product_cat .shop-loop-before select {
  min-height: 40px;
  border-color: var(--ast-category-line);
  border-radius: 3px;
  background-color: #fff;
  color: #3b4650;
  font-size: 14px;
}

.tax-product_cat .archive-products ul.products.products-container {
  display: flex !important;
  flex-wrap: wrap;
  align-items: stretch;
  margin-right: -8px !important;
  margin-left: -8px !important;
}

.tax-product_cat .archive-products ul.products.products-container > li.product-col {
  display: flex;
  flex: 0 0 33.333333% !important;
  width: 33.333333% !important;
  max-width: 33.333333% !important;
  margin: 0 0 18px !important;
  padding: 0 8px !important;
}

.tax-product_cat .archive-products li.product-col .product-inner {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--ast-category-line);
  border-radius: 7px;
  background: #fff;
  box-shadow: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.tax-product_cat .archive-products li.product-col:hover .product-inner {
  border-color: #c8d2dc;
  box-shadow: 0 10px 24px rgba(20, 45, 74, 0.09) !important;
  transform: translateY(-2px);
}

.tax-product_cat .archive-products li.product-col .product-image {
  margin: 0;
  padding: 20px 20px 4px;
  background: #fff;
}

.tax-product_cat .archive-products li.product-col .product-image .inner {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 225px;
}

.tax-product_cat .archive-products li.product-col .product-image img {
  width: 100%;
  max-width: 245px;
  height: 225px;
  object-fit: contain;
}

.tax-product_cat .archive-products li.product-col .product-content {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: flex-start;
  padding: 13px 20px 21px;
  text-align: left;
}

.tax-product_cat .archive-products .category-list,
.tax-product_cat .archive-products .rating-wrap,
.tax-product_cat .archive-products .add-links-wrap {
  display: none !important;
}

.tax-product_cat .archive-products .product-loop-title {
  width: 100%;
  overflow: visible !important;
  white-space: normal !important;
  text-overflow: clip !important;
}

.tax-product_cat .archive-products .woocommerce-loop-product__title {
  display: -webkit-box;
  min-height: 46px;
  margin: 0 0 7px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: #20252b;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  white-space: normal !important;
  text-overflow: clip !important;
}

.tax-product_cat .archive-products .description {
  display: block !important;
  width: 100%;
  margin: 0 0 16px;
  color: var(--ast-category-muted);
  font-size: 14px;
  line-height: 1.55;
}

.tax-product_cat .archive-products .description .post-excerpt {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.tax-product_cat .ast-product-card__link {
  display: inline-flex;
  align-items: center;
  margin-top: auto;
  color: var(--ast-category-blue);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.tax-product_cat .ast-product-card__link:hover,
.tax-product_cat .ast-product-card__link:focus-visible {
  color: var(--ast-category-navy);
}

.tax-product_cat .ast-product-card__link:focus-visible,
.tax-product_cat .ast-category-intro__meta a:focus-visible {
  outline: 3px solid rgba(8, 125, 204, 0.3);
  outline-offset: 3px;
}

@media (max-width: 1199px) {
  .tax-product_cat .ast-category-intro {
    grid-template-columns: minmax(0, 1fr) 220px;
    padding: 26px;
  }

  .tax-product_cat .ast-category-intro__image {
    max-width: 210px;
  }
}

@media (max-width: 767px) {
  .tax-product_cat .ast-category-intro {
    grid-template-columns: 1fr;
    gap: 18px;
    min-height: 0;
    padding: 24px;
  }

  .tax-product_cat .ast-category-intro__media {
    min-height: 125px;
    padding: 0;
  }

  .tax-product_cat .ast-category-intro__image {
    max-width: 190px;
    max-height: 140px;
  }

  .tax-product_cat .ast-category-intro__title {
    font-size: 25px;
  }

  .tax-product_cat .archive-products ul.products.products-container > li.product-col {
    flex-basis: 50% !important;
    width: 50% !important;
    max-width: 50% !important;
  }
}

@media (max-width: 575px) {
  .tax-product_cat .ast-category-intro {
    margin-bottom: 16px;
    padding: 20px;
    gap: 14px;
  }

  .tax-product_cat .ast-category-intro__title {
    font-size: 23px;
  }

  .tax-product_cat .ast-category-intro__summary {
    font-size: 14.5px;
    line-height: 1.6;
  }

  .tax-product_cat .ast-category-intro__meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
    margin-top: 15px;
  }

  .tax-product_cat .ast-category-intro__media {
    min-height: 108px;
  }

  .tax-product_cat .ast-category-intro__image {
    max-width: 150px;
    max-height: 110px;
  }

  .tax-product_cat .shop-loop-before {
    flex-wrap: wrap;
    gap: 10px;
  }

  .tax-product_cat .archive-products ul.products.products-container > li.product-col {
    flex-basis: 100% !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .tax-product_cat .archive-products li.product-col .product-image .inner {
    min-height: 210px;
  }

  .tax-product_cat .archive-products li.product-col .product-image img {
    height: 210px;
  }

}

@media (prefers-reduced-motion: reduce) {
  .tax-product_cat .archive-products li.product-col .product-inner,
  .tax-product_cat .ast-category-intro__toggle i {
    transition: none;
  }
}
