/* Keep NONE choices in the same card grid and neutralize inherited theme hover colours. */
.zpp-card.zpp-none-button {
	display: grid;
	min-width: 0;
	min-height: 318px;
	width: 100%;
	grid-template-columns: minmax(0, 1fr);
	grid-template-rows: 184px 1fr auto;
	gap: 0;
	align-items: stretch;
	justify-content: stretch;
	margin: 0;
	padding: 0 17px 17px;
	overflow: hidden;
	color: var(--ink);
	text-align: left;
	border: 1px solid #d6e1e8;
	background: #fff;
	transition: border-color .18s ease, box-shadow .18s ease;
}

.zpp-card.zpp-none-button > .zpp-none-mark {
	position: absolute;
	grid-column: auto;
	grid-row: auto;
	top: 11px;
	right: 11px;
	display: grid;
	width: 18px;
	height: 18px;
	place-items: center;
	color: #fff;
	border-radius: 50%;
	background: var(--accent);
	font-size: 11px;
	font-weight: 800;
}

.zpp-card.zpp-none-button:not(.is-selected) > .zpp-none-mark {
	color: transparent;
	border: 1px solid #aab1aa;
	background: #fff;
}

.zpp-card.zpp-none-button > .zpp-card-image {
	position: static;
	display: grid;
	grid-column: 1;
	grid-row: 1;
	width: auto;
	height: 184px;
	margin: 0 -17px;
	place-items: center;
	justify-self: stretch;
	color: inherit;
	border: 0;
	border-radius: 0;
	background: var(--blue);
	font-size: inherit;
	font-weight: inherit;
}

.zpp-card.zpp-none-button > .zpp-card-copy {
	position: static;
	display: flex;
	grid-column: 1;
	grid-row: 2 / 4;
	width: auto;
	height: auto;
	flex-direction: column;
	gap: 5px;
	align-items: stretch;
	justify-content: flex-start;
	place-items: normal;
	justify-self: stretch;
	padding-top: 11px;
	color: inherit;
	border: 0;
	border-radius: 0;
	background: transparent;
}

.zpp-card.zpp-none-button > .zpp-card-copy strong {
	font-size: 21px;
	font-weight: 600;
	line-height: 1.06;
}

.zpp-card.zpp-none-button > .zpp-card-copy small {
	font-size: 12px;
	line-height: 1.4;
}

.zpp-card.zpp-none-button > .zpp-none-image {
	background: var(--blue);
}

.zpp-none-symbol {
	position: relative;
	display: block;
	width: 70px;
	height: 70px;
	border: 2px solid #82919c;
	border-radius: 50%;
	background: rgba(255, 255, 255, .58);
}

.zpp-none-symbol::after {
	position: absolute;
	top: 32px;
	left: 8px;
	width: 50px;
	height: 2px;
	background: #82919c;
	content: "";
	transform: rotate(-45deg);
	transform-origin: center;
}

.zpp-none-button.is-selected {
	border: 2px solid var(--accent);
	box-shadow: 0 9px 20px rgba(196, 73, 3, .12);
}

.zpp-accessory-group .zpp-card.zpp-none-button {
	grid-template-rows: 146px 1fr auto;
	min-height: 278px;
}

.zpp-accessory-group .zpp-card.zpp-none-button > .zpp-card-image {
	height: 146px;
}

/* Prevent Elementor's global auto-height rule from cropping the main gallery image. */
.zpp-product .zpp-gallery-stage > img {
	display: block;
	width: 100% !important;
	height: 500px !important;
	min-height: 0;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	object-position: center;
}

/* Match the approved Cilindro gallery treatment when a product image includes a white canvas. */
.zpp-product .zpp-gallery-stage,
.zpp-product .zpp-gallery-thumbs button {
	background: var(--blue) !important;
}

.zpp-product .zpp-gallery-stage > img,
.zpp-product .zpp-gallery-thumbs img {
	mix-blend-mode: multiply;
}

.zpp-gallery-thumbs button:hover,
.zpp-gallery-thumbs button:focus,
.zpp-gallery-thumbs button:active {
	color: var(--ink) !important;
	border-color: var(--blue-line) !important;
	background: #fff !important;
	box-shadow: none !important;
	transform: none !important;
}

.zpp-gallery-thumbs button.is-selected:hover,
.zpp-gallery-thumbs button.is-selected:focus,
.zpp-gallery-thumbs button.is-selected:active {
	border-color: var(--accent) !important;
}

/*
 * Keep the review carousel controls independent from the site's global button
 * typography and pink hover treatment. The visible arrows are pseudo-elements
 * so both directions share the same optical centering in every browser.
 */
.zpp-product .zpp-review-controls button {
	box-sizing: border-box !important;
	display: inline-grid !important;
	width: 32px !important;
	min-width: 32px !important;
	height: 32px !important;
	min-height: 32px !important;
	margin: 0 !important;
	padding: 0 !important;
	place-items: center !important;
	color: var(--ink) !important;
	border: 1px solid var(--blue-line) !important;
	border-radius: 0 !important;
	background: #fff !important;
	box-shadow: none !important;
	font-size: 0 !important;
	line-height: 1 !important;
	text-align: center !important;
	text-indent: 0 !important;
	-webkit-appearance: none;
	appearance: none;
	transform: none !important;
}

.zpp-product .zpp-review-controls button::before {
	display: block;
	color: inherit;
	font: 400 15px/1 Arial, sans-serif;
	transform: translateY(-1px);
}

.zpp-product .zpp-review-controls button[data-zpp-review="prev"]::before,
.zpp-product .zpp-review-controls button[data-kip-review="prev"]::before {
	content: "\2190";
}

.zpp-product .zpp-review-controls button[data-zpp-review="next"]::before,
.zpp-product .zpp-review-controls button[data-kip-review="next"]::before {
	content: "\2192";
}

.zpp-product .zpp-review-controls button:hover,
.zpp-product .zpp-review-controls button:focus,
.zpp-product .zpp-review-controls button:active {
	color: var(--ink) !important;
	border-color: var(--blue-line) !important;
	background: #fff !important;
	box-shadow: none !important;
	transform: none !important;
}

.zpp-product .zpp-review-controls button:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 2px;
}

/* Match the global header CTA: orange, two-pixel lift, glow, and shine sweep. */
.zpp-product .zpp-summary .zpp-add-button {
	position: relative;
	overflow: hidden;
	border: 1px solid var(--accent) !important;
	background: var(--accent) !important;
	box-shadow: none;
	transform: none;
	transition: background .3s, box-shadow .3s, transform .3s !important;
}

.zpp-product .zpp-summary .zpp-add-button::before {
	content: "";
	position: absolute;
	top: 0;
	left: -130%;
	width: 120%;
	height: 100%;
	background: linear-gradient(120deg, transparent, rgba(255, 255, 255, .45), transparent);
	transition: left .6s;
	pointer-events: none;
}

.zpp-product .zpp-summary .zpp-add-button:not(:disabled):hover {
	border-color: var(--accent) !important;
	background: var(--accent) !important;
	box-shadow: 0 2px 50px rgba(196, 73, 3, .5) !important;
	transform: translateY(-2px);
}

.zpp-product .zpp-summary .zpp-add-button:not(:disabled):hover::before {
	left: 130%;
}

.zpp-product .zpp-summary .zpp-add-button:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 3px;
}

.zpp-none-button:hover,
.zpp-none-button:focus,
.zpp-none-button:active {
	color: var(--ink) !important;
	border-color: #d6e1e8 !important;
	background: #fff !important;
	box-shadow: none !important;
	transform: none !important;
}

.zpp-none-button.is-selected:hover,
.zpp-none-button.is-selected:focus,
.zpp-none-button.is-selected:active {
	border-color: var(--accent) !important;
	box-shadow: 0 9px 20px rgba(196, 73, 3, .12) !important;
}

/* Keep accessory quantities readable in Safari, Chromium and touch browsers. */
.zpp-quantity input {
	width: 34px;
	height: 30px;
	padding: 0;
	color: var(--ink) !important;
	border: 1px solid #8a979f !important;
	border-radius: 3px;
	background: #fff !important;
	box-shadow: none !important;
	font-weight: 700;
	line-height: 30px;
	text-align: center;
	-webkit-text-fill-color: var(--ink) !important;
	-webkit-appearance: none;
	appearance: none;
	opacity: 1 !important;
}

.zpp-quantity button:hover,
.zpp-quantity button:focus,
.zpp-quantity button:active {
	color: #fff !important;
	border-color: var(--accent) !important;
	background: var(--accent) !important;
	box-shadow: none !important;
	transform: none !important;
}

.zpp-quantity button:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 2px;
}

/* Keep the desktop order summary fully inside the viewport below the fixed site header. */
@media (min-width: 1101px) {
	.zpp-product .zpp-summary {
		top: calc(269px + var(--wp-admin--admin-bar--height, 0px));
		display: flex;
		max-height: calc(100vh - 285px - var(--wp-admin--admin-bar--height, 0px));
		min-height: 0;
		flex-direction: column;
		padding: 22px;
		overflow: hidden;
	}

	.zpp-product .zpp-summary-head,
	.zpp-product .zpp-summary h2,
	.zpp-product .zpp-price-breakdown,
	.zpp-product .zpp-total,
	.zpp-product .zpp-add-button,
	.zpp-product .zpp-summary > p {
		flex-shrink: 0;
	}

	.zpp-product .zpp-summary-head {
		padding-bottom: 12px;
	}

	.zpp-product .zpp-summary h2 {
		margin-top: 14px;
		font-size: 32px;
	}

	.zpp-product .zpp-summary-lines {
		flex: 0 1 auto;
		min-height: 0;
		gap: 10px;
		margin-top: 16px;
		padding-right: 4px;
		overflow-y: auto;
		overscroll-behavior: contain;
		scrollbar-color: #9aa7a2 transparent;
		scrollbar-width: thin;
	}

	.zpp-product .zpp-summary-line {
		padding-bottom: 10px;
	}

	.zpp-product .zpp-price-breakdown {
		padding: 12px 0 2px;
	}

	.zpp-product .zpp-total {
		padding: 14px 0;
	}

	.zpp-product .zpp-total strong {
		font-size: 32px;
	}

	.zpp-product .zpp-add-button {
		min-height: 48px !important;
		padding: 12px 15px !important;
	}

	.zpp-product .zpp-summary > p {
		margin-top: 10px;
		font-size: 9px;
		line-height: 1.4;
	}
}

.zpp-card.zpp-power-card > .zpp-card-copy > small {
	color: #5f6d78;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.4;
}

@media (max-width: 700px) {
	.zpp-product .zpp-gallery-stage > img {
		height: 250px !important;
	}

	.zpp-card.zpp-power-card > .zpp-card-copy > small {
		font-size: 12px;
		line-height: 1.4;
	}

	.zpp-card.zpp-none-button,
	.zpp-accessory-group .zpp-card.zpp-none-button {
		grid-template-rows: 92px 1fr auto;
		min-height: 202px;
		padding: 0 11px 11px;
	}

	.zpp-card.zpp-none-button > .zpp-card-image,
	.zpp-accessory-group .zpp-card.zpp-none-button > .zpp-card-image {
		height: 92px;
		margin: 0 -11px;
	}

	.zpp-card.zpp-none-button > .zpp-card-copy small {
		font-size: 10px;
		line-height: 1.35;
		overflow-wrap: anywhere;
		white-space: normal;
	}

	.zpp-none-symbol {
		width: 44px;
		height: 44px;
	}

	.zpp-none-symbol::after {
		top: 20px;
		left: 5px;
		width: 31px;
	}
}

@media (max-width: 767px) {
	body.zapara-harvia-premium-product .zapara-mobile-sticky-cta-button .elementor-button {
		display: flex;
		width: 100%;
		min-height: 46px;
		align-items: center;
		justify-content: center;
		margin: 0;
		padding: 0;
		color: #fff !important;
		border: 0;
		border-radius: 0;
		background: #c44903 !important;
		box-shadow: none;
		font-family: Montserrat, sans-serif;
		font-size: 13px;
		font-weight: 500;
		line-height: 14.95px;
	}

	body.zapara-harvia-premium-product .zapara-mobile-sticky-cta-button .elementor-button:hover,
	body.zapara-harvia-premium-product .zapara-mobile-sticky-cta-button .elementor-button:focus,
	body.zapara-harvia-premium-product .zapara-mobile-sticky-cta-button .elementor-button:active {
		color: #fff !important;
		background: #c44903 !important;
	}
}

.zpp-compatibility-notice {
	display: grid;
	gap: 6px;
	margin-top: 18px;
	padding: 16px 18px;
	color: #5a2a0d;
	border: 1px solid #e1a47e;
	border-left: 4px solid #c44903;
	background: #fff7f1;
	font-size: 13px;
	line-height: 1.55;
}

.zpp-compatibility-notice strong {
	color: #8c3500;
	font-family: "Bai Jamjuree", Arial, sans-serif;
	font-size: 15px;
	font-weight: 700;
}

.zpp-compatibility-notice span {
	display: block;
}
