/* ==================================================
   R4A PRODUCT CATEGORY HERO BASE
   File: assets/css/product-category-hero.css
   Purpose:
   - Generic archive title, breadcrumb and duplicate header cleanup.
   - Banner images and final per-term hero rules are in category-banners.css.
================================================== */

/* ==================================================
   2. HERO AREA - DISABLED
================================================== */

/* EN: Default hero rendering is disabled here.
   The final Blocksy WooCommerce category hero override is kept at the end of this file
   to override the red Blocksy fallback wrapper. */

/* ==================================================
   3. HERO TITLE + BREADCRUMBS
================================================== */

body.woocommerce-shop h1.page-title,
body.woocommerce-shop .page-title,
body.woocommerce-shop .woocommerce-products-header__title,
body.post-type-archive-product h1.page-title,
body.post-type-archive-product .page-title,
body.post-type-archive-product .woocommerce-products-header__title,
body.tax-product_cat h1.page-title,
body.tax-product_cat .page-title,
body.tax-product_cat .woocommerce-products-header__title,
body.tax-product_tag h1.page-title,
body.tax-product_tag .page-title,
body.tax-product_tag .woocommerce-products-header__title,
body.r4a-product-category-archive h1.page-title,
body.r4a-product-category-archive .page-title,
body.r4a-product-listing-page h1.page-title,
body.r4a-product-listing-page .page-title,
body.r4a-brand-archive h1.page-title,
body.r4a-brand-archive .page-title,
body.page-slug-alle-produkte h1.page-title,
body.page-slug-alle-produkte .page-title,
body.page-slug-bestseller h1.page-title,
body.page-slug-bestseller .page-title,
body.page-slug-neue-produkte h1.page-title,
body.page-slug-neue-produkte .page-title {
	display: block !important;
	width: 100% !important;
	max-width: 1500px !important;
	margin: 0 auto !important;
	padding: 0 !important;
	background: transparent !important;
	color: var(--r4a-white) !important;
	font-family: Impact, "Arial Black", "Anton", sans-serif !important;
	font-size: clamp(52px, 5.5vw, 82px) !important;
	font-weight: 900 !important;
	line-height: 0.98 !important;
	letter-spacing: 4px !important;
	text-align: center !important;
	text-transform: uppercase !important;
	text-shadow:
		0 0 22px rgba(255, 255, 255, 0.20),
		0 4px 18px rgba(0, 0, 0, 0.78) !important;
}

@media (min-width: 1100px) {
	body.tax-product_cat h1.page-title,
	body.tax-product_cat .page-title,
	body.tax-product_tag h1.page-title,
	body.tax-product_tag .page-title,
	body.r4a-product-category-archive h1.page-title,
	body.r4a-product-category-archive .page-title {
		white-space: nowrap !important;
		word-break: keep-all !important;
		overflow-wrap: normal !important;
	}
}

body.woocommerce-shop .ct-breadcrumbs,
body.woocommerce-shop .woocommerce-breadcrumb,
body.post-type-archive-product .ct-breadcrumbs,
body.post-type-archive-product .woocommerce-breadcrumb,
body.tax-product_cat .ct-breadcrumbs,
body.tax-product_cat .woocommerce-breadcrumb,
body.tax-product_tag .ct-breadcrumbs,
body.tax-product_tag .woocommerce-breadcrumb,
body.r4a-product-category-archive .ct-breadcrumbs,
body.r4a-product-category-archive .woocommerce-breadcrumb,
body.r4a-product-listing-page .ct-breadcrumbs,
body.r4a-product-listing-page .woocommerce-breadcrumb,
body.r4a-brand-archive .ct-breadcrumbs,
body.r4a-brand-archive .woocommerce-breadcrumb,
body.page-slug-alle-produkte .ct-breadcrumbs,
body.page-slug-alle-produkte .woocommerce-breadcrumb,
body.page-slug-bestseller .ct-breadcrumbs,
body.page-slug-bestseller .woocommerce-breadcrumb,
body.page-slug-neue-produkte .ct-breadcrumbs,
body.page-slug-neue-produkte .woocommerce-breadcrumb,
body.r4a-custom-breadcrumbs {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	flex-wrap: wrap !important;
	gap: 8px !important;
	width: 100% !important;
	max-width: 1180px !important;
	margin: 18px auto 0 !important;
	padding: 0 !important;
	background: transparent !important;
	color: var(--r4a-white) !important;
	font-size: 14px !important;
	font-weight: 900 !important;
	line-height: 1.35 !important;
	text-align: center !important;
	opacity: 1 !important;
	text-shadow:
		0 2px 10px rgba(0, 0, 0, 0.90),
		0 0 10px rgba(255, 255, 255, 0.12) !important;
}

body.woocommerce-shop .ct-breadcrumbs a,
body.woocommerce-shop .woocommerce-breadcrumb a,
body.post-type-archive-product .ct-breadcrumbs a,
body.post-type-archive-product .woocommerce-breadcrumb a,
body.tax-product_cat .ct-breadcrumbs a,
body.tax-product_cat .woocommerce-breadcrumb a,
body.tax-product_tag .ct-breadcrumbs a,
body.tax-product_tag .woocommerce-breadcrumb a,
body.r4a-product-category-archive .ct-breadcrumbs a,
body.r4a-product-category-archive .woocommerce-breadcrumb a,
body.r4a-product-listing-page .ct-breadcrumbs a,
body.r4a-product-listing-page .woocommerce-breadcrumb a,
body.r4a-brand-archive .ct-breadcrumbs a,
body.r4a-brand-archive .woocommerce-breadcrumb a,
body.page-slug-alle-produkte .ct-breadcrumbs a,
body.page-slug-alle-produkte .woocommerce-breadcrumb a,
body.page-slug-bestseller .ct-breadcrumbs a,
body.page-slug-bestseller .woocommerce-breadcrumb a,
body.page-slug-neue-produkte .ct-breadcrumbs a,
body.page-slug-neue-produkte .woocommerce-breadcrumb a,
body.r4a-custom-breadcrumbs a {
	color: var(--r4a-white) !important;
	text-decoration: none !important;
}

body.r4a-custom-breadcrumbs a:hover {
	color: var(--r4a-red-bright) !important;
}

body.r4a-category-title-parenthesis,
body.akj-category-title-parenthesis,
body.tax-product_cat .r4a-category-title-parenthesis,
body.tax-product_cat .akj-category-title-parenthesis,
body.post-type-archive-product .r4a-category-title-parenthesis {
	display: block !important;
	width: 100% !important;
	margin: 10px auto 0 !important;
	color: var(--r4a-red-bright) !important;
	font-size: 0.55em !important;
	font-weight: 900 !important;
	line-height: 1.05 !important;
	text-align: center !important;
	text-shadow:
		0 0 10px rgba(255, 0, 0, 0.55),
		0 2px 0 rgba(0, 0, 0, 0.85) !important;
}

/* ==================================================
   4. MAIN CATEGORY HERO COPY + CHECK ICONS
================================================== */

body.tax-product_cat .hero-section .r4a-main-category-hero-copy__check,
body.r4a-product-category-archive .hero-section .r4a-main-category-hero-copy__check {
	position: relative !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 38px !important;
	height: 38px !important;
	min-width: 38px !important;
	min-height: 38px !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 2px solid #ff1f1f !important;
	border-radius: 999px !important;
	background: rgba(0, 0, 0, 0.14) !important;
	box-shadow: 0 0 14px rgba(255, 31, 31, 0.25) !important;
	color: #ff1f1f !important;
	font-size: 0 !important;
	line-height: 1 !important;
	visibility: visible !important;
	opacity: 1 !important;
	overflow: visible !important;
	pointer-events: auto !important;
}

body.tax-product_cat .hero-section .r4a-main-category-hero-copy__check::before,
body.r4a-product-category-archive .hero-section .r4a-main-category-hero-copy__check::before {
	content: "\2713" !important;
	display: block !important;
	position: static !important;
	width: auto !important;
	height: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	color: #ff1f1f !important;
	font-size: 25px !important;
	font-weight: 950 !important;
	line-height: 1 !important;
	visibility: visible !important;
	opacity: 1 !important;
}

/* ==================================================
   5. REMOVE LEGACY / DUPLICATE HEADER CONTENT
================================================== */

body.woocommerce-shop .woocommerce-products-header,
body.post-type-archive-product .woocommerce-products-header,
body.tax-product_cat .woocommerce-products-header,
body.tax-product_tag .woocommerce-products-header,
body.r4a-product-category-archive:not(.home):not(.single-product) .woocommerce-products-header,
body.r4a-product-tag-archive:not(.home):not(.single-product) .woocommerce-products-header,
body.r4a-product-listing-page:not(.home):not(.single-product) .woocommerce-products-header,
body.r4a-selected-product-page:not(.home):not(.single-product) .woocommerce-products-header,
body.r4a-brand-archive:not(.home):not(.single-product) .woocommerce-products-header,
body.page-slug-alle-produkte .woocommerce-products-header,
body.page-slug-bestseller .woocommerce-products-header,
body.page-slug-neue-produkte .woocommerce-products-header,
body.r4a-alle-produkte-page .woocommerce-products-header,
body.r4a-bestseller-page .woocommerce-products-header,
body.r4a-neue-produkte-page .woocommerce-products-header {
	min-height: 0 !important;
	height: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	background: transparent !important;
	background-image: none !important;
	border: 0 !important;
	box-shadow: none !important;
	overflow: visible !important;
}

body.woocommerce-shop .woocommerce-products-header::before,
body.woocommerce-shop .woocommerce-products-header::after,
body.post-type-archive-product .woocommerce-products-header::before,
body.post-type-archive-product .woocommerce-products-header::after,
body.tax-product_cat .woocommerce-products-header::before,
body.tax-product_cat .woocommerce-products-header::after,
body.tax-product_tag .woocommerce-products-header::before,
body.tax-product_tag .woocommerce-products-header::after,
body.r4a-product-category-archive .woocommerce-products-header::before,
body.r4a-product-category-archive .woocommerce-products-header::after,
body.r4a-product-listing-page .woocommerce-products-header::before,
body.r4a-product-listing-page .woocommerce-products-header::after,
body.r4a-brand-archive .woocommerce-products-header::before,
body.r4a-brand-archive .woocommerce-products-header::after {
	content: none !important;
	display: none !important;
	visibility: hidden !important;
}

body.tax-product_cat:not(.home):not(.single-product) .woocommerce-products-header__description,
body.tax-product_cat:not(.home):not(.single-product) .term-description,
body.tax-product_cat:not(.home):not(.single-product) .taxonomy-description,
body.r4a-product-category-archive:not(.home):not(.single-product) .woocommerce-products-header__description,
body.r4a-product-category-archive:not(.home):not(.single-product) .term-description,
body.r4a-product-category-archive:not(.home):not(.single-product) .taxonomy-description,
body.tax-product_cat:not(.home):not(.single-product) .akj-category-description-panel,
body.tax-product_cat:not(.home):not(.single-product) .r4a-category-premium-description-banner,
body.tax-product_cat:not(.home):not(.single-product) .r4a-category-seo-banner,
body.tax-product_cat:not(.home):not(.single-product) .r4a-category-description-banner,
body.r4a-product-category-archive:not(.home):not(.single-product) .akj-category-description-panel,
body.r4a-product-category-archive:not(.home):not(.single-product) .r4a-category-premium-description-banner,
body.r4a-product-category-archive:not(.home):not(.single-product) .r4a-category-seo-banner,
body.r4a-product-category-archive:not(.home):not(.single-product) .r4a-category-description-banner,
body.tax-product_cat:not(.home):not(.single-product) .entry-content > h1:first-of-type,
body.tax-product_tag:not(.home):not(.single-product) .entry-content > h1:first-of-type,
body.r4a-product-category-archive:not(.home):not(.single-product) .entry-content > h1:first-of-type,
body.r4a-product-listing-page:not(.home):not(.single-product) .entry-content > h1:first-of-type,
body.r4a-brand-archive:not(.home):not(.single-product) .entry-content > h1:first-of-type {
	display: none !important;
	visibility: hidden !important;
	width: 0 !important;
	height: 0 !important;
	min-width: 0 !important;
	min-height: 0 !important;
	max-width: 0 !important;
	max-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	background-image: none !important;
	box-shadow: none !important;
	overflow: hidden !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

/* EN: Remove old trust/feature badge rows without hiding custom hero copy. */
body.woocommerce-shop .hero-section :is(
	.r4a-archive-features,
	.r4a-category-features,
	.r4a-category-hero-features,
	.r4a-hero-badges,
	.r4a-trust-row,
	.akj-archive-features,
	.akj-feature-row,
	.hero-features,
	.hero-badges,
	.archive-features,
	.archive-badges,
	.feature-row,
	.trust-row
),
body.post-type-archive-product .hero-section :is(
	.r4a-archive-features,
	.r4a-category-features,
	.r4a-category-hero-features,
	.r4a-hero-badges,
	.r4a-trust-row,
	.akj-archive-features,
	.akj-feature-row,
	.hero-features,
	.hero-badges,
	.archive-features,
	.archive-badges,
	.feature-row,
	.trust-row
),
body.tax-product_cat .hero-section :is(
	.r4a-archive-features,
	.r4a-category-features,
	.r4a-category-hero-features,
	.r4a-hero-badges,
	.r4a-trust-row,
	.akj-archive-features,
	.akj-feature-row,
	.hero-features,
	.hero-badges,
	.archive-features,
	.archive-badges,
	.feature-row,
	.trust-row
),
body.tax-product_tag .hero-section :is(
	.r4a-archive-features,
	.r4a-category-features,
	.r4a-category-hero-features,
	.r4a-hero-badges,
	.r4a-trust-row,
	.akj-archive-features,
	.akj-feature-row,
	.hero-features,
	.hero-badges,
	.archive-features,
	.archive-badges,
	.feature-row,
	.trust-row
) {
	display: none !important;
	visibility: hidden !important;
	width: 0 !important;
	height: 0 !important;
	min-height: 0 !important;
	max-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: hidden !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

