/*
 * Product page — Profair24.
 * Scoped styles intentionally override the parent theme's global `*` rule.
 */

.pf-product {
	--pf-accent: #078bb5;
	--pf-accent-dark: #056f91;
	--pf-ink: #173447;
	--pf-text: #445e6f;
	--pf-muted: #6d8290;
	--pf-line: #dbe7ed;
	--pf-soft: #f4f9fb;
	--pf-white: #fff;
	background: var(--pf-white);
	color: var(--pf-text);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-size: 16px;
	font-weight: 400;
	letter-spacing: 0;
	line-height: 1.6;
	overflow: clip;
}

.pf-product,
.pf-product *,
.pf-product *::before,
.pf-product *::after {
	box-sizing: border-box;
}

/* The parent theme assigns typography directly to every element with `*`. */
.pf-product *,
.pf-product *::before,
.pf-product *::after {
	font-family: inherit;
	letter-spacing: normal;
	line-height: inherit;
}

.pf-product :where(h1, h2, h3, h4, p, figure, dl, dd, ol, ul) {
	margin: 0;
	padding: 0;
}

.pf-product :where(a) {
	color: inherit;
	text-decoration: none;
}

.pf-product :where(img) {
	display: block;
	max-width: 100%;
}

.pf-product__shell {
	margin-inline: auto;
	max-width: 1200px;
	padding-inline: 20px;
	width: 100%;
}

.pf-product__hero {
	background: linear-gradient(180deg, #f5fafc 0%, #fff 100%);
	padding: 18px 0 44px;
}

.pf-product__breadcrumbs {
	color: var(--pf-muted);
	font-size: 13px;
	margin-bottom: 22px;
	overflow: hidden;
	white-space: nowrap;
}

.pf-product__breadcrumbs nav,
.pf-product__breadcrumbs span {
	font-size: inherit;
}

.pf-product__breadcrumbs a {
	color: var(--pf-accent-dark);
}

.pf-product__hero-grid {
	display: grid;
	gap: 26px;
}

.pf-product__summary {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.pf-product__eyebrow,
.pf-product__heading > p {
	color: var(--pf-accent-dark);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .06em;
	line-height: 1.35;
	margin-bottom: 10px;
	text-transform: uppercase;
}

.pf-product .pf-product__title {
	color: var(--pf-ink);
	font-size: clamp(29px, 8.3vw, 36px);
	font-weight: 700;
	letter-spacing: -.03em;
	line-height: 1.12;
	margin: 0;
	overflow-wrap: anywhere;
	text-wrap: balance;
}

.pf-product__configuration {
	color: var(--pf-text);
	font-size: 14px;
	line-height: 1.5;
	margin-top: 14px;
}

.pf-product__configuration span {
	color: var(--pf-muted);
	font-weight: 500;
}

.pf-product__quick-specs {
	border-block: 1px solid var(--pf-line);
	display: grid;
	gap: 0;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin-top: 24px;
}

.pf-product__quick-specs > div {
	border-bottom: 1px solid var(--pf-line);
	min-width: 0;
	padding: 14px 12px 14px 0;
}

.pf-product__quick-specs > div:nth-last-child(-n + 2) {
	border-bottom: 0;
}

.pf-product__quick-specs dt {
	color: var(--pf-muted);
	font-size: 11px;
	font-weight: 500;
	line-height: 1.35;
	margin-bottom: 4px;
	text-transform: uppercase;
}

.pf-product__quick-specs dd {
	color: var(--pf-ink);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.4;
	overflow-wrap: anywhere;
}

.pf-product__price {
	display: grid;
	gap: 7px;
	margin-top: 22px;
	padding: 18px;
	border: 1px solid #cfe7f2;
	border-radius: 14px;
	background: #f5fbfe;
}

.pf-product__price > span {
	color: var(--pf-muted);
	font-size: 13px;
	font-weight: 500;
}

.pf-product__price > div {
	align-items: baseline;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: flex-start;
}

.pf-product__price del {
	color: var(--pf-muted);
	font-size: 14px;
}

.pf-product__price strong {
	color: var(--pf-ink);
	font-size: clamp(25px, 7vw, 32px);
	font-weight: 700;
	letter-spacing: -.02em;
	line-height: 1.15;
}

.pf-product__price small {
	color: var(--pf-muted);
	font-size: 12px;
	line-height: 1.5;
}

.pf-product__actions {
	align-items: center;
	display: flex;
	flex-direction: column;
	gap: 13px;
	margin-top: 20px;
}

.pf-product .pf-product__button {
	align-items: center;
	appearance: none;
	background: var(--pf-accent);
	border: 1px solid var(--pf-accent);
	border-radius: 10px;
	color: #fff;
	display: inline-flex;
	font-size: 15px;
	font-weight: 600;
	gap: 18px;
	justify-content: space-between;
	line-height: 1.3;
	min-height: 50px;
	padding: 13px 17px;
	transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
	width: 100%;
}

.pf-product .pf-product__button:hover {
	background: var(--pf-accent-dark);
	border-color: var(--pf-accent-dark);
	color: #fff;
	transform: translateY(-1px);
}

.pf-product .pf-product__button:focus-visible,
.pf-product .pf-product__thumb:focus-visible,
.pf-product a:focus-visible,
.pf-product summary:focus-visible,
.pf-product input:focus-visible,
.pf-product textarea:focus-visible {
	outline: 3px solid rgba(7, 139, 181, .28);
	outline-offset: 3px;
}

.pf-product__text-link {
	color: var(--pf-accent-dark) !important;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	text-decoration: underline !important;
	text-decoration-color: rgba(5, 111, 145, .35) !important;
	text-underline-offset: 4px;
}

.pf-product__note {
	color: var(--pf-muted);
	font-size: 12px;
	line-height: 1.5;
	margin-top: 14px;
}

.pf-product__gallery {
	min-width: 0;
}

.pf-product__main-image,
.pf-product__image-placeholder {
	align-items: center;
	background: #fff;
	border: 1px solid var(--pf-line);
	border-radius: 16px;
	display: flex;
	justify-content: center;
	min-height: 310px;
	padding: 24px;
}

.pf-product__main-image img {
	height: auto;
	max-height: 430px;
	object-fit: contain;
	width: 100%;
}

.pf-product__image-placeholder span {
	color: var(--pf-muted);
	font-size: 14px;
}

.pf-product__thumbs {
	display: flex;
	gap: 10px;
	margin-top: 12px;
	overflow-x: auto;
	padding-bottom: 4px;
}

.pf-product .pf-product__thumb {
	appearance: none;
	align-items: center;
	background: #fff;
	border: 1px solid var(--pf-line);
	border-radius: 10px;
	cursor: pointer;
	display: flex;
	flex: 0 0 72px;
	height: 72px;
	justify-content: center;
	margin: 0;
	padding: 6px;
	transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.pf-product .pf-product__thumb:hover {
	border-color: var(--pf-accent);
	transform: translateY(-1px);
}

.pf-product .pf-product__thumb.is-active {
	border-color: var(--pf-accent);
	box-shadow: 0 0 0 2px rgba(7, 139, 181, .18);
}

.pf-product__thumbs img {
	height: 100%;
	object-fit: contain;
	width: 100%;
}

.pf-product__section-nav {
	background: #fff;
	border-block: 1px solid var(--pf-line);
	position: relative;
	z-index: 2;
}

.pf-product__section-nav .pf-product__shell {
	display: flex;
	gap: 22px;
	overflow-x: auto;
	scrollbar-width: none;
}

.pf-product__section-nav .pf-product__shell::-webkit-scrollbar {
	display: none;
}

.pf-product__section-nav a {
	color: var(--pf-text);
	flex: 0 0 auto;
	font-size: 13px;
	font-weight: 500;
	padding-block: 15px;
}

.pf-product__section-nav a:hover {
	color: var(--pf-accent-dark);
}

.pf-product__section,
.pf-product__service,
.pf-product__contact {
	padding-block: 54px;
}

.pf-product__section--soft {
	background: var(--pf-soft);
}

.pf-product__content-layout,
.pf-product__contact-grid {
	display: grid;
	gap: 28px;
}

.pf-product__heading {
	max-width: 680px;
}

.pf-product .pf-product__heading h2,
.pf-product .pf-product__service-box h2 {
	color: var(--pf-ink);
	font-size: clamp(25px, 7vw, 34px);
	font-weight: 700;
	letter-spacing: -.025em;
	line-height: 1.2;
	margin: 0;
	text-wrap: balance;
}

.pf-product__heading > span,
.pf-product__service-box > div > p:last-child {
	color: var(--pf-text);
	display: block;
	font-size: 15px;
	line-height: 1.65;
	margin-top: 12px;
}

.pf-product__prose {
	color: var(--pf-text);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.72;
	max-width: 760px;
}

.pf-product__prose > :first-child {
	margin-top: 0;
}

.pf-product__prose > :last-child {
	margin-bottom: 0;
}

.pf-product__prose p,
.pf-product__prose ul,
.pf-product__prose ol {
	font-size: inherit;
	font-weight: 400;
	line-height: inherit;
	margin: 0 0 18px;
}

.pf-product__prose ul,
.pf-product__prose ol {
	padding-left: 22px;
}

.pf-product__prose li {
	margin-bottom: 8px;
}

.pf-product .pf-product__prose h2,
.pf-product .pf-product__prose h3,
.pf-product .pf-product__prose h4 {
	color: var(--pf-ink);
	font-weight: 600;
	letter-spacing: -.015em;
	line-height: 1.3;
	margin: 30px 0 12px;
}

.pf-product .pf-product__prose h2 {
	font-size: 25px;
}

.pf-product .pf-product__prose h3 {
	font-size: 21px;
}

.pf-product .pf-product__prose h4 {
	font-size: 18px;
}

.pf-product__prose a {
	color: var(--pf-accent-dark);
	font-weight: 500;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.pf-product__prose table {
	border-collapse: collapse;
	display: block;
	font-size: 14px;
	overflow-x: auto;
	width: 100%;
}

.pf-product__prose th,
.pf-product__prose td {
	border-bottom: 1px solid var(--pf-line);
	padding: 12px;
	text-align: left;
}

.pf-product__spec-groups {
	display: grid;
	gap: 18px;
}

.pf-product__spec-group {
	background: #fff;
	border: 1px solid var(--pf-line);
	border-radius: 14px;
	overflow: hidden;
}

.pf-product .pf-product__spec-group h3 {
	color: var(--pf-ink);
	font-size: 17px;
	font-weight: 600;
	line-height: 1.35;
	margin: 0;
	padding: 17px 18px;
}

.pf-product__spec-group dl > div {
	border-top: 1px solid var(--pf-line);
	display: grid;
	gap: 5px;
	padding: 13px 18px;
}

.pf-product__spec-group dt,
.pf-product__spec-group dd {
	font-size: 14px;
	line-height: 1.45;
}

.pf-product__spec-group dt {
	color: var(--pf-muted);
	font-weight: 400;
}

.pf-product__spec-group dd {
	color: var(--pf-ink);
	font-weight: 600;
	overflow-wrap: anywhere;
}

.pf-product__service {
	background: var(--pf-ink);
}

.pf-product__service-box {
	align-items: flex-start;
	display: grid;
	gap: 26px;
}

.pf-product .pf-product__service-box h2,
.pf-product__service-box > div > p:last-child {
	color: #fff;
}

.pf-product__service-box > div > p:last-child {
	color: rgba(255, 255, 255, .78);
	max-width: 700px;
}

.pf-product .pf-product__button--light {
	background: #fff;
	border-color: #fff;
	color: var(--pf-ink);
	max-width: 320px;
}

.pf-product .pf-product__button--light:hover {
	background: #eaf5f8;
	border-color: #eaf5f8;
	color: var(--pf-ink);
}

.pf-product__heading--center {
	margin-bottom: 26px;
}

.pf-product__related {
	display: grid;
	gap: 18px;
}

.pf-product__related-card {
	background: #fff;
	border: 1px solid var(--pf-line);
	border-radius: 14px;
	display: grid;
	grid-template-rows: 190px minmax(0, 1fr);
	overflow: hidden;
	transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.pf-product__related-card:hover {
	border-color: #bad3de;
	box-shadow: 0 12px 28px rgba(23, 52, 71, .08);
	transform: translateY(-2px);
}

.pf-product__related-image {
	align-items: center;
	background: var(--pf-soft);
	display: flex;
	justify-content: center;
	padding: 18px;
}

.pf-product__related-image img {
	height: 100%;
	object-fit: contain;
	width: 100%;
}

.pf-product__related-body {
	display: flex;
	flex-direction: column;
	padding: 18px;
}

.pf-product .pf-product__related-card h3 {
	font-size: 17px;
	font-weight: 600;
	letter-spacing: -.012em;
	line-height: 1.38;
	margin: 0;
}

.pf-product__related-card h3 a {
	color: var(--pf-ink);
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

.pf-product__related-body > p {
	color: var(--pf-muted);
	display: -webkit-box;
	font-size: 12px;
	line-height: 1.45;
	margin-top: 9px;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.pf-product__related-link {
	align-items: center;
	color: var(--pf-accent-dark) !important;
	display: inline-flex;
	font-size: 14px;
	font-weight: 600;
	gap: 8px;
	margin-top: auto;
	padding-top: 18px;
}

.pf-product__contact {
	background: var(--pf-soft);
}

.pf-product__heading--light > span {
	max-width: 590px;
}

.pf-product__form {
	background: #fff;
	border: 1px solid var(--pf-line);
	border-radius: 14px;
	padding: 20px;
}

.pf-product__form label {
	color: var(--pf-ink);
	display: block;
	font-size: 13px;
	font-weight: 500;
	margin: 0 0 6px;
}

.pf-product__form input,
.pf-product__form textarea,
.pf-product__form select {
	appearance: auto;
	background: #fff;
	border: 1px solid #c8d9e1;
	border-radius: 8px;
	color: var(--pf-ink);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.4;
	margin: 0 0 14px;
	min-height: 48px;
	padding: 11px 13px;
	width: 100%;
}

.pf-product__form textarea {
	min-height: 120px;
	resize: vertical;
}

.pf-product__form input[type="submit"],
.pf-product__form button[type="submit"] {
	appearance: none;
	background: var(--pf-accent);
	border-color: var(--pf-accent);
	color: #fff;
	cursor: pointer;
	font-weight: 600;
	margin-bottom: 0;
}

@media (min-width: 560px) {
	.pf-product__shell {
		padding-inline: 28px;
	}

	.pf-product__actions {
		align-items: center;
		flex-direction: row;
	}

	.pf-product .pf-product__button {
		max-width: 350px;
	}

	.pf-product__spec-group dl > div {
		align-items: baseline;
		grid-template-columns: minmax(0, 1fr) minmax(170px, .8fr);
	}

	.pf-product__spec-group dd {
		text-align: right;
	}

	.pf-product__related {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.pf-product__form {
		padding: 26px;
	}
}

@media (min-width: 820px) {
	.pf-product__section,
	.pf-product__service,
	.pf-product__contact {
		padding-block: 72px;
	}

	.pf-product__content-layout {
		gap: 60px;
		grid-template-columns: minmax(210px, .62fr) minmax(0, 1.38fr);
	}

	.pf-product__heading--center {
		margin-inline: auto;
		text-align: center;
	}

	.pf-product__related {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.pf-product__contact-grid {
		align-items: start;
		gap: 60px;
		grid-template-columns: minmax(0, .9fr) minmax(380px, 1.1fr);
	}

	.pf-product__service-box {
		align-items: center;
		grid-template-columns: minmax(0, 1fr) auto;
	}
}

@media (min-width: 960px) {
	.pf-product__hero {
		padding: 24px 0 64px;
	}

	.pf-product__hero-grid {
		align-items: start;
		gap: clamp(42px, 5vw, 74px);
		grid-template-areas: "gallery summary";
		grid-template-columns: minmax(0, 1.08fr) minmax(380px, .92fr);
	}

	.pf-product__summary {
		grid-area: summary;
		padding-top: 10px;
	}

	.pf-product__gallery {
		grid-area: gallery;
	}

	.pf-product .pf-product__title {
		font-size: clamp(34px, 3vw, 44px);
		max-width: 19ch;
	}

	.pf-product__main-image,
	.pf-product__image-placeholder {
		min-height: 500px;
		padding: 38px;
	}

	.pf-product__main-image img {
		max-height: 460px;
	}

	.pf-product__section-nav {
		position: sticky;
		top: 0;
	}
}

@media (max-width: 379px) {
	.pf-product__shell {
		padding-inline: 15px;
	}

	.pf-product .pf-product__title {
		font-size: 27px;
	}

	.pf-product__quick-specs {
		grid-template-columns: minmax(0, 1fr);
	}

	.pf-product__quick-specs > div,
	.pf-product__quick-specs > div:nth-last-child(-n + 2) {
		border-bottom: 1px solid var(--pf-line);
	}

	.pf-product__quick-specs > div:last-child {
		border-bottom: 0;
	}

	.pf-product__main-image,
	.pf-product__image-placeholder {
		min-height: 260px;
		padding: 18px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.pf-product *,
	.pf-product *::before,
	.pf-product *::after {
		scroll-behavior: auto !important;
		transition-duration: .01ms !important;
	}
}
