/* Rooftop Sprinkler Kits: balance the featured choices and the catalogue grid. */
body.term-rooftop-sprinklers .woocommerce-products-header {
	max-width: 1040px;
	margin: 0 auto 16px !important;
}

body.term-rooftop-sprinklers .woocommerce-products-header__title {
	margin: 0 0 10px !important;
}

body.term-rooftop-sprinklers .term-description,
body.term-rooftop-sprinklers .ww-rooftop-intro {
	margin: 0 !important;
}

body.term-rooftop-sprinklers .ww-rooftop-intro__lead {
	margin: 0 0 12px !important;
	font-size: clamp(16px, 1.45vw, 19px) !important;
	line-height: 1.35 !important;
}

body.term-rooftop-sprinklers .ww-rooftop-intro__points {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

body.term-rooftop-sprinklers .ww-rooftop-intro__points li {
	position: relative;
	margin: 0 !important;
	padding: 9px 12px 9px 27px;
	border: 1px solid #e6e8e9;
	border-radius: 9px;
	background: #fff;
	color: #213f4b;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.35;
	text-align: left;
}

body.term-rooftop-sprinklers .ww-rooftop-intro__points li::before {
	position: absolute;
	top: 9px;
	left: 11px;
	color: #e35c20;
	content: '\2022';
	font-size: 20px;
	line-height: .9;
}

body.term-rooftop-sprinklers ul.products {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(24px, 3vw, 38px) !important;
	height: auto !important;
}

body.term-rooftop-sprinklers ul.products > li {
	position: relative !important;
	top: auto !important;
	left: auto !important;
	float: none !important;
	box-sizing: border-box;
	width: auto !important;
	margin: 0 !important;
}

body.term-rooftop-sprinklers ul.products > li.product-category,
body.term-rooftop-sprinklers ul.products > li.product:not(.product-category).post-2358,
body.term-rooftop-sprinklers ul.products > li.product:not(.product-category).post-3486 {
	display: flex;
	flex-direction: column;
	min-height: 100%;
	padding: clamp(16px, 1.8vw, 24px) !important;
	border: 1px solid #e1e5e7;
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 8px 24px rgba(18, 53, 67, .08);
}

body.term-rooftop-sprinklers ul.products > li.product:not(.product-category).post-2358 .entry-header,
body.term-rooftop-sprinklers ul.products > li.product:not(.product-category).post-3486 .entry-header {
	display: flex;
	align-items: center;
	justify-content: center;
	height: clamp(250px, 22vw, 315px);
	overflow: hidden;
}

body.term-rooftop-sprinklers ul.products > li.product:not(.product-category).post-2358 .entry-header > a:last-child,
body.term-rooftop-sprinklers ul.products > li.product:not(.product-category).post-3486 .entry-header > a:last-child {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
}

body.term-rooftop-sprinklers ul.products > li.product:not(.product-category).post-2358 .entry-header img,
body.term-rooftop-sprinklers ul.products > li.product:not(.product-category).post-3486 .entry-header img {
	width: 100% !important;
	max-width: 100% !important;
	height: 100% !important;
	margin: 0 auto !important;
	object-fit: contain !important;
}

/* The Pro Pack thumbnail is low resolution, so keep it modest and centered. */
body.term-rooftop-sprinklers ul.products > li.product-category > a {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	width: 100%;
	min-height: 100%;
	text-align: center;
}

body.term-rooftop-sprinklers ul.products > li.product-category img {
	display: block;
	width: 100% !important;
	max-width: 100% !important;
	height: clamp(250px, 22vw, 315px) !important;
	margin: 0 auto !important;
	object-fit: contain !important;
}

body.term-rooftop-sprinklers ul.products > li.product-category .woocommerce-loop-category__title,
body.term-rooftop-sprinklers ul.products > li.product-category .ww-pro-pack-card-copy,
body.term-rooftop-sprinklers ul.products > li.product-category p {
	width: 100%;
	margin-right: auto !important;
	margin-left: auto !important;
	text-align: center !important;
}

body.term-rooftop-sprinklers ul.products > li.product-category .woocommerce-loop-category__title mark {
	display: none !important;
}

body.term-rooftop-sprinklers ul.products > li.product-category .woocommerce-loop-category__title,
body.term-rooftop-sprinklers ul.products > li.product:not(.product-category).post-2358 .entry-content h3,
body.term-rooftop-sprinklers ul.products > li.product:not(.product-category).post-3486 .entry-content h3 {
	min-height: 2.5em;
	margin: 14px 0 8px !important;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: clamp(19px, 1.7vw, 23px) !important;
	line-height: 1.22 !important;
	text-align: center !important;
}

body.term-rooftop-sprinklers ul.products > li.product:not(.product-category).post-2358 .entry-content,
body.term-rooftop-sprinklers ul.products > li.product:not(.product-category).post-3486 .entry-content {
	display: flex;
	flex: 1;
	flex-direction: column;
	text-align: center;
}

body.term-rooftop-sprinklers ul.products > li.product:not(.product-category).post-2358 .entry-footer,
body.term-rooftop-sprinklers ul.products > li.product:not(.product-category).post-3486 .entry-footer {
	margin-top: auto;
	text-align: center;
}

/* Match the Pro Pack copy to the neighbouring product descriptions. */
body.term-rooftop-sprinklers ul.products > li.product-category .ww-pro-pack-card-copy,
body.term-rooftop-sprinklers ul.products > li.product-category p {
	max-width: 34ch;
	color: inherit !important;
	font-family: inherit !important;
	font-size: inherit !important;
	font-style: normal !important;
	font-weight: 400 !important;
	line-height: 1.55 !important;
	letter-spacing: normal !important;
	text-transform: none !important;
}

/* Make Select options visually identical to the adjacent catalogue buttons. */
body.term-rooftop-sprinklers ul.products > li.product-category .ww-pro-pack-select-options {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	margin-top: auto !important;
	padding: 7px 14px !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: #FF9A1F !important;
	color: #000 !important;
	font-family: inherit !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	line-height: 1 !important;
	text-transform: none !important;
}

body.term-rooftop-sprinklers ul.products > li.product-category .ww-pro-pack-select-options,
body.term-rooftop-sprinklers ul.products > li.product:not(.product-category).post-2358 .entry-footer a.button,
body.term-rooftop-sprinklers ul.products > li.product:not(.product-category).post-3486 .entry-footer a.button {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	min-width: 0 !important;
	min-height: 44px !important;
	margin: 14px auto 4px !important;
	padding: 7px 14px !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: #FF9A1F !important;
	box-shadow: none !important;
	color: #000 !important;
	font-family: inherit !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	line-height: 1 !important;
	text-transform: none !important;
}

body.term-rooftop-sprinklers ul.products > li.product:not(.product-category).post-2358 .entry-footer .more-icon,
body.term-rooftop-sprinklers ul.products > li.product:not(.product-category).post-3486 .entry-footer .more-icon {
	display: none !important;
}

@media (max-width: 900px) {
	body.term-rooftop-sprinklers ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 620px) {
	body.term-rooftop-sprinklers .woocommerce-products-header {
		margin-bottom: 14px !important;
	}

	body.term-rooftop-sprinklers .ww-rooftop-intro__points {
		grid-template-columns: 1fr;
		gap: 7px;
	}

	body.term-rooftop-sprinklers ul.products {
		grid-template-columns: 1fr;
	}

	body.term-rooftop-sprinklers ul.products > li.product:not(.product-category).post-2358 .entry-header,
	body.term-rooftop-sprinklers ul.products > li.product:not(.product-category).post-3486 .entry-header,
	body.term-rooftop-sprinklers ul.products > li.product-category img {
		height: 250px !important;
	}

	body.term-rooftop-sprinklers ul.products > li.product:not(.product-category).post-2358 .entry-header img,
	body.term-rooftop-sprinklers ul.products > li.product:not(.product-category).post-3486 .entry-header img {
		width: 108% !important;
		max-width: 108% !important;
	}
}

body.term-rooftop-sprinklers ul.products > li.product-category .ww-pro-pack-select-options {min-height:36px!important;box-sizing:border-box!important;line-height:20px!important;-webkit-text-fill-color:#000!important;}
body.term-rooftop-sprinklers ul.products > li.product-category > a:hover .ww-pro-pack-select-options {background:#F28C00!important;}
body.term-rooftop-sprinklers ul.products > li.product-category > a:focus-visible {outline:3px solid #123e50;outline-offset:3px;}
@media(pointer:coarse){body.term-rooftop-sprinklers ul.products > li.product-category .ww-pro-pack-select-options{min-height:44px!important;}}

html body.term-rooftop-sprinklers #body-core #content #main ul.products > li.product-category .ww-pro-pack-select-options {background:#FF9A1F!important;color:#000!important;-webkit-text-fill-color:#000!important;min-width:0!important;min-height:36px!important;height:auto!important;padding:7px 14px!important;font-size:13px!important;line-height:20px!important;border:1px solid #FF9A1F!important;box-shadow:none!important;}
html body.term-rooftop-sprinklers #body-core #content #main ul.products > li.product-category > a:hover .ww-pro-pack-select-options {background:#F28C00!important;border-color:#F28C00!important;}
@media(pointer:coarse){html body.term-rooftop-sprinklers #body-core #content #main ul.products > li.product-category .ww-pro-pack-select-options{min-height:44px!important;}}
