/**
 * Product category archive title band - breathing room under sticky nav.
 * Targets Kadence .product-archive-hero-section (all product cats / shop).
 */

body.tax-product_cat .entry-hero.product-archive-hero-section .entry-header,
body.tax-product_tag .entry-hero.product-archive-hero-section .entry-header,
body.post-type-archive-product .entry-hero.product-archive-hero-section .entry-header {
  /* ~40px each; min-height raised so border-box padding does not crush content */
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
  min-height: 320px; /* Kadence default 240px + padding */
  box-sizing: border-box;
}

@media (max-width: 1024px) {
  body.tax-product_cat .entry-hero.product-archive-hero-section .entry-header,
  body.tax-product_tag .entry-hero.product-archive-hero-section .entry-header,
  body.post-type-archive-product .entry-hero.product-archive-hero-section .entry-header {
    padding-top: 2rem;
    padding-bottom: 2rem;
    min-height: 264px; /* Kadence tablet/mobile default 200px + padding */
  }
}

/* Mobile: hide title + term description band; content stays in HTML for SEO */
@media (max-width: 767px) {
  body.tax-product_cat .entry-hero.product-archive-hero-section,
  body.tax-product_tag .entry-hero.product-archive-hero-section,
  body.post-type-archive-product .entry-hero.product-archive-hero-section {
    display: none !important;
  }
}

/* Hide catalog sort dropdown — few products; filter adds no value */
body.tax-product_cat .woocommerce-ordering,
body.tax-product_tag .woocommerce-ordering,
body.post-type-archive-product .woocommerce-ordering {
  display: none !important;
}
