.pp-catalog,
.pp-calculator,
.pp-single-product {
	--pp-accent: var(--theme-color, #37aa67);
	--pp-secondary: var(--secondary-color, #0b1784);
	--pp-ink: var(--title-color, #111111);
	--pp-muted: var(--text-color, #6a6a6a);
	--pp-line: #dfe8e3;
	--pp-soft: #f4f8f6;
	--pp-white: #ffffff;
	color: var(--pp-ink);
	font-family: inherit;
}

.pp-catalog-section,
.pp-catalog-section *,
.pp-calculator,
.pp-calculator *,
.pp-theme-banner,
.pp-theme-banner * {
	box-sizing: border-box;
}

.pp-theme-banner .auto-container,
.pp-catalog-section > .auto-container {
	max-width: 1320px;
	width: 100%;
}

.pp-catalog-section {
	padding: 90px 0 110px;
}

.woocommerce-products-header,
.woocommerce-ordering,
.woocommerce-result-count,
.woocommerce .woocommerce-breadcrumb,
.woocommerce-tabs,
.woocommerce-Reviews,
.related.products {
	display: none !important;
}

.pp-catalog-intro,
.pp-category-intro {
	align-items: end;
	column-gap: 60px;
	display: grid;
	grid-template-columns: minmax(0, 760px) minmax(280px, 1fr);
	margin: 0 0 40px;
	max-width: none;
}

.pp-calculator__intro {
	margin: 0 0 45px;
	max-width: 760px;
}

.pp-catalog-intro > .pp-eyebrow,
.pp-catalog-intro > h2,
.pp-catalog-intro > p,
.pp-category-intro > .pp-eyebrow,
.pp-category-intro > h2,
.pp-category-intro > p {
	grid-column: 1;
}

.pp-eyebrow {
	background: rgba(55, 170, 103, 0.1);
	border-radius: 30px;
	color: var(--pp-accent);
	display: inline-block;
	font-family: var(--title-font, inherit);
	font-size: 14px;
	font-weight: 500;
	justify-self: start;
	line-height: 24px;
	letter-spacing: 0;
	margin: 0 0 20px;
	padding: 0 16px;
	text-transform: uppercase;
}

.pp-catalog-intro h2,
.pp-category-intro h2,
.pp-calculator__intro h2 {
	color: var(--pp-ink);
	font-family: var(--title-font, inherit);
	font-size: 54px;
	font-weight: 700;
	line-height: 58px;
	margin: 0 0 18px;
}

.pp-catalog-intro p,
.pp-category-intro p,
.pp-calculator__intro p,
.pp-card-copy,
.pp-single-product p {
	color: var(--pp-muted);
	font-size: 18px;
	line-height: 30px;
}

.pp-category-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
	grid-column: 2;
	grid-row: 1 / 4;
	justify-content: flex-end;
	margin: 34px 0 0;
}

.pp-catalog-intro > .pp-category-nav,
.pp-category-intro > .pp-category-nav {
	align-self: end;
	margin: 0;
}

.pp-category-nav a,
.pp-btn,
.pp-product-card__cta,
.pp-guide-item,
.pp-tab {
	align-items: center;
	border: 1px solid var(--pp-line);
	border-radius: 35px;
	cursor: pointer;
	display: inline-flex;
	font-family: var(--title-font, inherit);
	font-size: 18px;
	font-weight: 500;
	gap: 8px;
	justify-content: center;
	line-height: 30px;
	min-height: 50px;
	padding: 10px 28px;
	text-decoration: none;
	transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.pp-category-nav a,
.pp-btn-secondary,
.pp-guide-item,
.pp-tab {
	background: var(--pp-white);
	color: var(--pp-ink);
}

.pp-btn,
.pp-product-card__cta,
.pp-tab.is-active,
.pp-category-nav a.is-active {
	background: var(--pp-accent);
	border-color: var(--pp-accent);
	color: var(--pp-white);
}

.pp-category-nav a:hover,
.pp-category-nav a:focus,
.pp-product-card__cta:hover,
.pp-product-card__cta:focus,
.pp-btn:hover,
.pp-btn:focus,
.pp-guide-item:hover,
.pp-guide-item:focus,
.pp-tab:hover,
.pp-tab:focus {
	border-color: var(--pp-accent);
	outline: 2px solid transparent;
	transform: translateY(-1px);
}

.pp-category-nav a:focus-visible,
.pp-btn:focus-visible,
.pp-product-card__cta:focus-visible,
.pp-guide-item:focus-visible,
.pp-tab:focus-visible,
.pp-calculator input:focus-visible,
.pp-calculator select:focus-visible {
	box-shadow: 0 0 0 3px rgba(55, 170, 103, 0.24);
	outline: 2px solid var(--pp-accent);
	outline-offset: 2px;
}

.pp-product-grid,
.woocommerce ul.products {
	display: grid;
	gap: 30px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	list-style: none;
	margin: 0;
	padding: 0;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
	display: none;
}

.woocommerce ul.products li.product,
.pp-product-card {
	background: var(--pp-white);
	border: 0;
	border-radius: 10px;
	box-shadow: 10px 0 60px rgba(0, 0, 0, 0.06);
	display: flex;
	flex-direction: column;
	float: none !important;
	margin: 0 !important;
	min-height: 100%;
	overflow: hidden;
	padding: 0;
	width: auto !important;
}

.pp-product-card__image,
.woocommerce ul.products li.product .pp-product-card__image {
	aspect-ratio: 1 / 0.86;
	background: var(--pp-soft);
	display: block;
	overflow: hidden;
	padding: 26px;
}

.pp-product-card__image img,
.woocommerce ul.products li.product .pp-product-card__image img {
	display: block;
	height: 100%;
	margin: 0;
	object-fit: contain;
	width: 100%;
}

.pp-product-card__body,
.woocommerce ul.products li.product .pp-product-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 28px 30px 30px;
}

.pp-product-badge {
	align-self: flex-start;
	background: rgba(55, 170, 103, 0.1);
	border-radius: 999px;
	color: var(--pp-accent);
	font-family: var(--title-font, inherit);
	font-size: 14px;
	font-weight: 500;
	line-height: 24px;
	margin-bottom: 18px;
	padding: 0 14px;
}

.pp-product-card h3,
.woocommerce ul.products li.product h2,
.woocommerce ul.products li.product .woocommerce-loop-product__title {
	color: var(--pp-ink);
	font-family: var(--title-font, inherit);
	font-size: 26px;
	font-weight: 700;
	line-height: 30px;
	margin: 0 0 14px;
	padding: 0;
}

.pp-product-card h3 a,
.woocommerce ul.products li.product h3 a {
	color: var(--pp-ink);
	text-decoration: none;
}

.pp-product-card h3 a:hover,
.woocommerce ul.products li.product h3 a:hover {
	color: var(--pp-accent);
}

.pp-card-copy {
	font-size: 16px;
	line-height: 28px;
	margin: 0 0 25px;
}

.pp-product-card__cta {
	margin-top: auto;
}

/* Keep the green CTA's label white even when the theme colours content links green. */
.pp-product-card__cta,
.pp-product-card__cta:link,
.pp-product-card__cta:visited,
.pp-product-card__cta:hover,
.pp-product-card__cta:focus,
.pp-btn,
.pp-btn:link,
.pp-btn:visited,
.pp-btn:hover,
.pp-btn:focus {
	color: #ffffff !important;
}

.pp-single-product {
	margin-top: 0;
}

.woocommerce div.product {
	align-items: start;
	display: grid;
	gap: 70px;
	grid-template-columns: minmax(0, 0.46fr) minmax(0, 0.54fr);
}

.woocommerce div.product::before,
.woocommerce div.product::after {
	display: none;
}

.woocommerce div.product div.summary {
	float: none;
	margin: 0;
	width: auto;
}

.pp-single-media {
	background: var(--pp-soft);
	border-radius: 10px;
	box-shadow: 10px 0 60px rgba(0, 0, 0, 0.06);
	padding: 56px;
}

.pp-single-media figure {
	background: #fff;
	border-radius: 10px;
	margin: 0;
	padding: 28px;
}

.pp-single-media img {
	display: block;
	height: auto;
	margin: 0 auto;
	max-height: 520px;
	object-fit: contain;
	width: 100%;
}

.pp-single-product h1 {
	color: var(--pp-ink);
	font-family: var(--title-font, inherit);
	font-size: 56px;
	font-weight: 700;
	line-height: 60px;
	margin: 0 0 18px;
}

.pp-single-product__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0 0 28px;
}

.pp-single-product__lead {
	margin: 0 0 28px;
}

.pp-spec-grid {
	display: grid;
	gap: 15px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin: 0 0 28px;
}

.pp-spec-grid div,
.pp-spec-grid a {
	background: var(--pp-soft);
	border-radius: 10px;
	padding: 18px 20px;
}

.pp-spec-grid a {
	color: inherit;
	text-decoration: none;
}

.pp-info-tile {
	border: 1px solid transparent;
	min-height: 145px;
	transition: border-color 160ms ease, transform 160ms ease;
}

a.pp-info-tile:hover,
a.pp-info-tile:focus {
	border-color: rgba(55, 170, 103, 0.35);
	transform: translateY(-1px);
}

.pp-spec-grid span {
	color: var(--pp-muted);
	display: block;
	font-size: 14px;
	line-height: 22px;
	margin-bottom: 4px;
}

.pp-spec-grid strong {
	color: var(--pp-ink);
	display: block;
	font-family: var(--title-font, inherit);
	font-size: 18px;
	font-weight: 600;
	line-height: 26px;
}

.pp-info-tile em {
	color: var(--pp-muted);
	display: block;
	font-size: 14px;
	font-style: normal;
	line-height: 22px;
	margin-top: 8px;
}

.pp-related-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 8px;
}

.pp-related-links a {
	background: var(--pp-white);
	border: 1px solid var(--pp-line);
	border-radius: 999px;
	color: var(--pp-ink);
	font-family: var(--title-font, inherit);
	font-size: 14px;
	font-weight: 500;
	line-height: 22px;
	padding: 4px 10px;
	text-decoration: none;
}

.pp-related-links a:hover,
.pp-related-links a:focus {
	border-color: var(--pp-accent);
	color: var(--pp-accent);
}

.pp-single-product__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
	margin-top: 30px;
}

.pp-disclaimer {
	background: var(--pp-soft);
	border: 1px solid rgba(55, 170, 103, 0.28);
	border-radius: 10px;
	color: var(--pp-muted);
	margin-top: 0;
	padding: 22px 24px;
}

.pp-calculator {
	margin: 0;
	padding: 0;
}

.pp-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0 0 24px;
}

.pp-panel {
	background: var(--pp-white);
	border: 1px solid var(--pp-line);
	border-radius: 10px;
	box-shadow: 10px 0 60px rgba(0, 0, 0, 0.06);
	padding: 36px;
}

.pp-form-grid {
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pp-field label {
	display: block;
	font-weight: 700;
	margin-bottom: 8px;
}

.pp-field input,
.pp-field select {
	background: var(--pp-white);
	border: 1px solid var(--pp-line);
	border-radius: 8px;
	color: var(--pp-ink);
	min-height: 46px;
	padding: 10px 12px;
	width: 100%;
}

.pp-calc-result,
.pp-iu-result {
	background: var(--pp-soft);
	border: 1px solid var(--pp-line);
	border-radius: 8px;
	margin-top: 22px;
	padding: 20px;
}

.pp-calc-result.is-warning {
	border-color: #bd6b00;
}

.pp-result-number {
	color: var(--pp-accent);
	display: block;
	font-size: 44px;
	font-weight: 800;
	line-height: 1;
	margin-bottom: 8px;
}

.pp-guide-layout {
	display: grid;
	gap: 24px;
	grid-template-columns: minmax(220px, 320px) 1fr;
}

.pp-guide-search {
	margin-bottom: 16px;
}

.pp-guide-list {
	display: grid;
	gap: 8px;
	max-height: 640px;
	overflow: auto;
	padding-right: 4px;
}

.pp-guide-item {
	justify-content: flex-start;
	text-align: left;
	width: 100%;
}

.pp-guide-item[hidden] {
	display: none;
}

.pp-guide-item.is-active {
	background: var(--pp-accent);
	border-color: var(--pp-accent);
	color: var(--pp-white);
}

.pp-guide-detail {
	background: var(--pp-soft);
	border: 1px solid var(--pp-line);
	border-radius: 8px;
	min-height: 320px;
	padding: 22px;
}

.pp-guide-detail__header {
	align-items: flex-start;
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	justify-content: space-between;
	margin-bottom: 14px;
}

.pp-guide-detail__header h3 {
	flex: 1 1 260px;
	font-size: 26px;
	margin: 0;
}

.pp-guide-table-wrap {
	overflow-x: auto;
}

.pp-guide-table {
	border-collapse: collapse;
	margin-top: 18px;
	width: 100%;
}

.pp-guide-table th,
.pp-guide-table td {
	border-bottom: 1px solid var(--pp-line);
	padding: 12px 10px;
	text-align: left;
	vertical-align: top;
}

.pp-guide-table th {
	color: var(--pp-ink);
	width: 130px;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price,
.woocommerce ul.products li.product .price,
.single_add_to_cart_button,
.add_to_cart_button,
.product_type_simple,
.wc-block-mini-cart,
.woocommerce-mini-cart {
	display: none !important;
}

@media (max-width: 780px) {
	.pp-theme-banner .content-box h2,
	.pp-catalog-page .page-title .content-box h2 {
		font-size: 36px;
		line-height: 42px;
		margin-left: auto;
		margin-right: auto;
		max-width: calc(100vw - 30px);
		overflow-wrap: anywhere;
	}

	.pp-theme-banner .bread-crumb {
		padding: 0 15px;
	}

	.pp-catalog-section {
		padding: 60px 0 75px;
	}

	.pp-catalog-intro,
	.pp-category-intro {
		display: block;
		margin-bottom: 35px;
		max-width: calc(100vw - 30px);
	}

	.pp-category-nav {
		justify-content: flex-start;
		margin-top: 28px;
	}

	.pp-catalog-intro h2,
	.pp-category-intro h2,
	.pp-calculator__intro h2,
	.pp-single-product h1 {
		font-size: 38px;
		line-height: 44px;
	}

	.pp-catalog-intro p,
	.pp-category-intro p,
	.pp-calculator__intro p {
		max-width: min(34ch, calc(100vw - 30px));
		overflow-wrap: break-word;
	}

	.woocommerce div.product {
		gap: 35px;
		grid-template-columns: 1fr;
		max-width: calc(100vw - 30px);
		width: 100%;
	}

	.woocommerce div.product div.summary {
		max-width: calc(100vw - 30px);
		order: -1;
		width: 100%;
	}

	.pp-product-grid,
	.woocommerce ul.products {
		grid-template-columns: 1fr;
	}

	.pp-single-media {
		max-width: calc(100vw - 30px);
		padding: 24px;
		width: 100%;
	}

	.pp-single-media figure {
		padding: 18px;
	}

	.pp-single-media img {
		max-height: 360px;
	}

	.pp-single-product,
	.pp-disclaimer {
		max-width: calc(100vw - 30px);
		overflow-wrap: break-word;
	}

	.pp-single-product p {
		max-width: min(34ch, calc(100vw - 30px));
		overflow-wrap: break-word;
	}

	.pp-spec-grid {
		grid-template-columns: 1fr;
	}

	.pp-form-grid,
	.pp-guide-layout {
		grid-template-columns: 1fr;
	}

	.pp-panel {
		padding: 20px;
	}

	.pp-result-number {
		font-size: 36px;
	}
}

@media (min-width: 781px) and (max-width: 1199px) {
	.pp-catalog-intro,
	.pp-category-intro {
		grid-template-columns: 1fr;
	}

	.pp-catalog-intro > .pp-category-nav,
	.pp-category-intro > .pp-category-nav {
		grid-column: 1;
		grid-row: auto;
		justify-content: flex-start;
		margin-top: 28px;
	}

	.pp-product-grid,
	.woocommerce ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* Single-item category: render the lone product as a horizontal feature card
   (image beside text) instead of a narrow card stranded in a 4-col grid. */
.pp-product-grid--single {
	grid-template-columns: 1fr;
	max-width: 920px;
}

.pp-product-grid--single .pp-product-card {
	flex-direction: row;
	align-items: stretch;
}

.pp-product-grid--single .pp-product-card__image {
	aspect-ratio: auto;
	flex: 0 0 44%;
}

.pp-product-grid--single .pp-product-card__image img {
	height: 100%;
}

.pp-product-grid--single .pp-product-card__body {
	justify-content: center;
}

@media (max-width: 780px) {
	.pp-product-grid--single .pp-product-card {
		flex-direction: column;
	}

	.pp-product-grid--single .pp-product-card__image {
		aspect-ratio: 1 / 0.86;
		flex-basis: auto;
	}
}
