/* Dessert Cups only. Match the shared K9 category hero height at every viewport. */
body.tax-product_cat.term-dessert-cups .hero-section[data-type="type-2"] {
  position: relative !important;
  display: block !important;
  box-sizing: border-box;
  width: 100% !important;
  height: clamp(240px, 12.2vw, 320px) !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  background-color: #f5eee7 !important;
  background-image: var(--kmk-dessert-image-desktop) !important;
  background-position: center 54% !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
}

body.tax-product_cat.term-dessert-cups .hero-section[data-type="type-2"]::before,
body.tax-product_cat.term-dessert-cups .hero-section[data-type="type-2"]::after {
  content: none !important;
  display: none !important;
}

body.tax-product_cat.term-dessert-cups .hero-section[data-type="type-2"] > .entry-header {
  position: absolute !important;
  inset: 0 !important;
  z-index: 1;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  box-sizing: border-box;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 20px !important;
  align-items: center !important;
  justify-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  transform: none !important;
}

body.tax-product_cat.term-dessert-cups .hero-section[data-type="type-2"] .page-title {
  position: relative !important;
  inset: auto !important;
  justify-self: center !important;
  width: auto !important;
  max-width: 40% !important;
  margin: 0 !important;
  color: #203137 !important;
  font-family: var(--theme-font-family, Arial, sans-serif) !important;
  font-size: clamp(20px, 2vw, 32px) !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  text-align: center !important;
  text-shadow: 0 1px 3px rgba(255, 255, 255, .65);
  transform: none !important;
}

body.tax-product_cat.term-dessert-cups .hero-section[data-type="type-2"] .page-title::before {
  content: none !important;
  display: none !important;
}

@media (max-width: 640px) {
  body.tax-product_cat.term-dessert-cups .hero-section[data-type="type-2"] {
    min-height: 0 !important;
    height: 186px !important;
    background-position: center !important;
    background-image: var(--kmk-dessert-image-mobile) !important;
  }
  body.tax-product_cat.term-dessert-cups .hero-section[data-type="type-2"] .page-title {
    font-size: clamp(20px, 4.8vw, 24px) !important;
    max-width: 30% !important;
  }
}
