/* Conversion + search repair 1.5.138.13. Loaded after the Store Engine styles. */
.hbp-topic-hierarchy,
.hbp-review-request {
	box-sizing: border-box;
	margin: 28px 0;
	padding: 18px 20px;
	border: 1px solid #c9ddd2;
	border-left: 4px solid #276653;
	border-radius: 10px;
	background: #f5faf7;
	color: #183d31;
}
.hbp-topic-hierarchy strong,
.hbp-topic-hierarchy span { display: block; margin-bottom: 5px; }
.hbp-topic-hierarchy a,
.hbp-review-request a { color: #175e50; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.hbp-review-request h2 { margin: 0 0 8px; font-size: 22px; }
.hbp-review-request p { margin: 0 0 10px; }
.hbp-review-request ul { margin: 0; padding-left: 20px; }
.hbp-inline-cart-error {
	margin: 10px 0 0;
	padding: 10px 12px;
	border: 1px solid #b42318;
	border-radius: 8px;
	background: #fff3f2;
	color: #8f1710;
	font-weight: 700;
}
.hbp-inline-cart-error[hidden] { display: none !important; }

/* Editorial articles have evergreen answers; public byline/date chrome is suppressed. */
.hbp-managed-editorial :is(.entry-meta, .entry-footer .posted-on, .posted-on, .byline, .post-date, .entry-date) {
	display: none !important;
}

/* Keep the category promise visible while moving products closer to the first fold. */
body.hbp-store-active.woocommerce:is(.tax-product_cat, .post-type-archive-product, .tax-hbp_brand, .tax-product_brand, .tax-pwb-brand, .tax-yith_product_brand) .entry-hero.product-archive-hero-section .hero-container {
	min-height: 0 !important;
	padding-top: 24px !important;
	padding-bottom: 24px !important;
}
body.hbp-store-active.woocommerce:is(.tax-product_cat, .post-type-archive-product, .tax-hbp_brand, .tax-product_brand, .tax-pwb-brand, .tax-yith_product_brand) .entry-hero.product-archive-hero-section .entry-hero-container-inner {
	min-height: 0 !important;
}
body.hbp-store-active.woocommerce:is(.tax-product_cat, .post-type-archive-product, .tax-hbp_brand, .tax-product_brand, .tax-pwb-brand, .tax-yith_product_brand) .entry-hero.product-archive-hero-section .entry-header {
	min-height: 0 !important;
	width: 100% !important;
	max-width: 900px !important;
	padding-left: 0 !important;
	padding-top: 10px !important;
	padding-bottom: 10px !important;
}
body.hbp-store-active.woocommerce:is(.tax-product_cat, .post-type-archive-product, .tax-hbp_brand, .tax-product_brand, .tax-pwb-brand, .tax-yith_product_brand) .entry-hero.product-archive-hero-section .page-title {
	font-size: clamp(30px, 3vw, 40px) !important;
	line-height: 1.15 !important;
}
body.hbp-store-active.woocommerce:is(.tax-product_cat, .post-type-archive-product, .tax-hbp_brand, .tax-product_brand, .tax-pwb-brand, .tax-yith_product_brand) .entry-hero.product-archive-hero-section .archive-description {
	width: 100% !important;
	max-width: 780px !important;
	margin-top: 8px !important;
	font-size: 17px !important;
	line-height: 1.5 !important;
}
body.hbp-store-active.woocommerce:is(.tax-product_cat, .post-type-archive-product, .tax-hbp_brand, .tax-product_brand, .tax-pwb-brand, .tax-yith_product_brand) .entry-hero.product-archive-hero-section .archive-description p {
	margin: 0 !important;
}

/* Defensive commerce layout if the theme or a cached asset arrives late. */
body.hbp-cart-page .woocommerce-cart-form,
body.hbp-cart-page .cart-collaterals,
body.woocommerce-checkout form.checkout { box-sizing: border-box; max-width: 100%; min-width: 0; }
body.hbp-cart-page .woocommerce-cart-form table { table-layout: auto; }
body.hbp-cart-page .woocommerce-cart-form :is(td, th) { overflow-wrap: anywhere; }

@media (max-width: 767px) {
	body.hbp-store-active.woocommerce:is(.tax-product_cat, .post-type-archive-product, .tax-hbp_brand, .tax-product_brand, .tax-pwb-brand, .tax-yith_product_brand) .entry-hero.product-archive-hero-section .hero-container {
		padding-top: 12px !important;
		padding-bottom: 12px !important;
	}
	body.hbp-store-active.woocommerce:is(.tax-product_cat, .post-type-archive-product, .tax-hbp_brand, .tax-product_brand, .tax-pwb-brand, .tax-yith_product_brand) .entry-hero.product-archive-hero-section .entry-header {
		max-width: 100% !important;
		padding-top: 5px !important;
		padding-bottom: 5px !important;
	}
	body.hbp-store-active.woocommerce:is(.tax-product_cat, .post-type-archive-product, .tax-hbp_brand, .tax-product_brand, .tax-pwb-brand, .tax-yith_product_brand) .entry-hero.product-archive-hero-section .page-title {
		font-size: clamp(26px, 8vw, 34px) !important;
	}
	body.hbp-store-active.woocommerce:is(.tax-product_cat, .post-type-archive-product, .tax-hbp_brand, .tax-product_brand, .tax-pwb-brand, .tax-yith_product_brand) .entry-hero.product-archive-hero-section .archive-description {
		font-size: 16px !important;
	}
	/* Never stack the coupon notice over purchase-critical controls. */
	body.single-product :is(.woocommerce-store-notice, .demo_store),
	body.woocommerce-cart :is(.woocommerce-store-notice, .demo_store),
	body.woocommerce-checkout :is(.woocommerce-store-notice, .demo_store) {
		display: none !important;
	}
	body.hbp-store-active.woocommerce-shop :is(.woocommerce-store-notice, .demo_store),
	body.hbp-store-active.tax-product_cat :is(.woocommerce-store-notice, .demo_store),
	body.hbp-store-active.tax-hbp_brand :is(.woocommerce-store-notice, .demo_store),
	body.hbp-store-active.tax-product_brand :is(.woocommerce-store-notice, .demo_store) {
		max-height: 48px !important;
		min-height: 44px;
		padding: 7px 48px 7px 10px !important;
		overflow: hidden !important;
	}
	.hbp-topic-hierarchy,
	.hbp-review-request { margin: 20px 0; padding: 14px; }
	body.hbp-cart-page .woocommerce-cart-form table,
	body.hbp-cart-page .woocommerce-cart-form tbody,
	body.hbp-cart-page .woocommerce-cart-form tr,
	body.hbp-cart-page .woocommerce-cart-form td { max-width: 100%; }
}
