.tax-product_cat .woocommerce-products-header { background: var(--agd-cream); margin: 0 0 1.1rem; padding: clamp(2.2rem, 4vw, 4.25rem); }
.tax-product_cat .woocommerce-products-header .page-title { font-size: clamp(2.6rem, 4.8vw, 5.3rem); font-weight: 500; line-height: 1.03; margin: 0; text-shadow: none; }
.tax-product_cat .woocommerce-products-header .term-description { color: var(--agd-ink-soft); font-family: Lora, Georgia, serif; font-size: clamp(1.05rem, 1.65vw, 1.4rem); line-height: 1.5; margin-top: 1rem; max-width: 760px; }
.tax-product_cat .agd-collection-intro { border-left: 3px solid var(--agd-yellow); color: var(--agd-ink-soft); font-family: Lora, Georgia, serif; font-size: 1.08rem; line-height: 1.55; margin: 0 0 2.5rem; max-width: 850px; padding: 0.25rem 0 0.25rem 1rem; }
.tax-product_cat .agd-collection-intro p { margin: 0; }
.tax-product_cat .woocommerce .woocommerce-result-count { color: var(--agd-ink-soft); font-size: 0.93rem; padding-top: 0.45rem; }
.tax-product_cat .woocommerce .woocommerce-ordering select { background: #fff; border: 1px solid var(--agd-line); border-radius: 0; color: var(--agd-ink); font: inherit; min-height: 44px; padding: 0.55rem 2.4rem 0.55rem 0.8rem; }
.tax-product_cat .woocommerce ul.products { gap: clamp(1rem, 2.5vw, 2rem); margin-top: 1.25rem; }

/* Priority category hero: bright first-party image, clear cream copy panel and no dark overlay. */
.term-dementia-games-activities .woocommerce-products-header,
.term-dementia-jigsaw-puzzles .woocommerce-products-header,
.term-care-home-activity-packs .woocommerce-products-header,
.tax-product_cat .woocommerce-products-header,
.agd-shortcode-category .woocommerce-products-header,
.term-dementia-games-activities .term-description,
.term-dementia-jigsaw-puzzles .term-description,
.term-care-home-activity-packs .term-description,
.term-dementia-games-activities .agd-collection-intro,
.term-dementia-jigsaw-puzzles .agd-collection-intro,
.term-care-home-activity-packs .agd-collection-intro { display: none; }

.agd-shortcode-category .woocommerce .woocommerce-ordering,
.agd-shortcode-category form.woocommerce-ordering,
.tax-product_cat .woocommerce .woocommerce-ordering,
.tax-product_cat form.woocommerce-ordering { display: none !important; }
.tax-product_cat .agd-commerce-main { padding-top: clamp(0.75rem, 1.8vw, 1.5rem); }
.tax-product_cat .woocommerce > .agd-category-hero { margin-top: 0; }
.agd-category-hero { align-items: stretch; background: var(--agd-cream); border: 1px solid rgba(50, 55, 89, 0.14); box-shadow: 0 16px 34px rgba(32, 37, 68, 0.08); display: grid; grid-template-columns: minmax(0, 0.84fr) minmax(430px, 1.16fr); margin: 0 0 clamp(2.75rem, 5vw, 4.5rem); min-height: clamp(440px, 42vw, 540px); overflow: hidden; position: relative; }
.agd-category-hero__copy { align-self: center; padding: clamp(2.6rem, 5.4vw, 5.8rem); position: relative; z-index: 1; }
.agd-category-hero__copy::after { background: var(--agd-yellow); content: ''; display: block; height: 4px; margin-top: clamp(1.65rem, 3vw, 2.7rem); width: 72px; }
.agd-category-hero__copy .agd-eyebrow { color: var(--agd-sage-deep); font-size: 0.76rem; letter-spacing: 0.1em; margin-bottom: 0.65rem; }
.agd-category-hero__copy h1 { color: var(--agd-ink); font-size: clamp(2.7rem, 4.9vw, 5.55rem); font-weight: 500; line-height: 1.04; margin: 0.15rem 0 1.2rem; text-shadow: none; }
.agd-category-hero__copy > p:not(.agd-eyebrow) { color: var(--agd-ink-soft); font-family: Lora, Georgia, serif; font-size: clamp(1.08rem, 1.7vw, 1.42rem); line-height: 1.5; margin: 0; max-width: 30rem; }
.agd-category-hero__image { background: #dff4ee; margin: 0; min-height: 100%; overflow: hidden; position: relative; }
.agd-category-hero__image::after { border: 10px solid rgba(254, 217, 73, 0.72); content: ''; inset: 0; pointer-events: none; position: absolute; }
.agd-category-hero__image img { display: block; height: 100%; object-fit: cover; object-position: center; width: 100%; }
.agd-category-hero--dementia-games-activities .agd-category-hero__image { background: #e7f7f2; }
.agd-category-hero--dementia-games-activities .agd-category-hero__image img { object-position: 50% 50%; }
.agd-category-hero--dementia-jigsaw-puzzles .agd-category-hero__image { background: #f8e5ac; }
.agd-category-hero--dementia-jigsaw-puzzles .agd-category-hero__image img { object-position: 50% 60%; }
.agd-category-hero--care-home-activity-packs .agd-category-hero__image { background: #dff4ee; }
.agd-category-hero--care-home-activity-packs .agd-category-hero__image img { object-position: 50% 42%; }
.agd-shortcode-category .woocommerce .woocommerce-result-count { color: var(--agd-ink-soft); font-size: 0.93rem; padding-top: 0.45rem; }
.agd-shortcode-category .woocommerce .woocommerce-ordering select { background: #fff; border: 1px solid var(--agd-line); border-radius: 0; color: var(--agd-ink); font: inherit; min-height: 44px; padding: 0.55rem 2.4rem 0.55rem 0.8rem; }
.agd-shortcode-category .woocommerce ul.products { gap: clamp(1rem, 2.5vw, 2rem); margin-top: 1.25rem; }
.term-care-home-activity-packs .woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 890px; }
.agd-shortcode-category--care-home-activity-packs .woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 890px; }
.term-care-home-activity-packs .woocommerce ul.products li.product { box-shadow: 0 10px 28px rgba(32, 37, 68, 0.06); }
.term-care-home-activity-packs .woocommerce .woocommerce-result-count,
.term-care-home-activity-packs .woocommerce .woocommerce-ordering { margin-top: 0; }

@media (max-width: 760px) {
	.tax-product_cat .woocommerce-products-header { margin-inline: -1.1rem; padding: 2.75rem 1.1rem; }
	.tax-product_cat .woocommerce ul.products { gap: 1rem; }
	.agd-shortcode-category .woocommerce ul.products { gap: 1rem; }
	.agd-category-hero { grid-template-columns: 1fr; margin-bottom: 2.5rem; min-height: 0; }
	.agd-category-hero__copy { padding: 2.65rem 1.4rem 2.4rem; }
	.agd-category-hero__copy::after { margin-top: 1.6rem; width: 58px; }
	.agd-category-hero__image { min-height: 0; order: -1; }
	.agd-category-hero__image::after { border-width: 7px; }
	.agd-category-hero__image img { aspect-ratio: 16 / 10; height: auto; }
	.term-care-home-activity-packs .woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: none; }
	.agd-shortcode-category--care-home-activity-packs .woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: none; }
}
