:root {
	--polish-accent: #d62828;
	--polish-ink: #1f2328;
	--polish-muted: #5b6470;
	--polish-paper: #fff;
}

body[data-catalog-polish="inconel"] .grade-landing {
	padding-bottom: 64px;
	margin-bottom: 0;
}
body[data-catalog-polish="inconel"] .grade-block--ask {
	margin-bottom: 0;
}
body[data-catalog-polish="inconel"] .grade-landing + .prepare-estimate {
	margin-top: 0;
	display: flow-root;
}
body[data-catalog-polish="service"] .baihu-ask--lead {
	margin-bottom: 44px;
}
body[data-catalog-polish="service"] .baihu-ask--lead + .category-description {
	margin-top: 0;
}

body[data-catalog-polish] .category-description h2,
body[data-catalog-polish] .prepare-estimate__title {
	overflow-wrap: normal;
	word-break: normal;
	hyphens: none;
	min-width: 0;
	max-width: 100%;
}
@media (max-width: 767px) {
	body[data-catalog-polish] .category-description h2 {
		font-size: clamp(18px, 5.3vw, 28px) !important;
		line-height: 1.3;
	}
	body[data-catalog-polish] .prepare-estimate__title {
		font-size: clamp(22px, 6.8vw, 32px) !important;
		line-height: 1.2;
	}
}

.baihu-file {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 16px;
	min-width: 0;
}
.baihu-file__control {
	position: relative;
	display: inline-flex;
	max-width: 100%;
	min-height: 44px;
	align-items: center;
	padding: 10px 16px;
	border: 1px solid var(--polish-accent);
	border-radius: 4px;
	background: var(--polish-paper);
	color: var(--polish-accent);
	font: inherit;
	font-weight: 600;
}
.baihu-file__control:hover {
	background: var(--polish-accent);
	color: var(--polish-paper);
}
.baihu-file__control:focus-within {
	outline: 2px solid var(--polish-ink);
	outline-offset: 3px;
}
.pw-form__form .baihu-file__control input[type="file"] {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	cursor: pointer;
}
.baihu-file__status {
	min-width: 0;
	max-width: 100%;
	color: var(--polish-muted);
	overflow-wrap: anywhere;
	font-size: 14px;
	line-height: 1.5;
}

body[data-catalog-polish] .category-description :is(h3, h4, h5, h6) {
	overflow-wrap: normal;
	word-break: normal;
	hyphens: none;
	min-width: 0;
	max-width: 100%;
}
@media (max-width: 767px) {
	body[data-catalog-polish] .category-description :is(h3, h4, h5, h6) {
		font-size: clamp(17px, 4.8vw, 24px) !important;
		line-height: 1.3;
	}
}
