.rp-parts-finder,
.rp-parts-catalog {
	box-sizing: border-box;
}

.rp-parts-finder *,
.rp-parts-catalog * {
	box-sizing: border-box;
}

.rp-parts-finder {
	margin: 25px 0;
	padding: 28px;
	border: 1px solid #e4e4e4;
	border-radius: 8px;
	background: #fff;
}

.rp-pf-header {
	margin-bottom: 22px;
}

.rp-pf-title {
	margin: 0;
	color: #404041;
	font-size: 26px;
	font-weight: 700;
	line-height: 1.2;
}

.rp-pf-subtitle {
	margin: 6px 0 0;
	color: #666;
	font-size: 15px;
}

.rp-pf-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(140px, 1fr));
	gap: 14px;
	align-items: end;
}

.rp-pf-field label {
	display: block;
	margin-bottom: 7px;
	color: #404041;
	font-weight: 600;
}

.rp-pf-field select {
	width: 100%;
	min-height: 46px;
	padding: 7px 10px;
	border: 1px solid #cfcfcf;
	border-radius: 4px;
	background: #fff;
}

.rp-pf-field select:disabled {
	background: #f4f4f4;
	color: #777;
}

.rp-pf-action {
	grid-column: 1 / -1;
	text-align: right;
}

.rp-pf-action button {
	min-height: 46px;
	padding: 0 28px;
	border: 0;
	border-radius: 4px;
	background: #f05a28;
	color: #fff;
	font-weight: 700;
	cursor: pointer;
}

.rp-pf-action button:hover:not(:disabled) {
	background: #d94b1d;
}

.rp-pf-action button:focus-visible {
	outline: 3px solid #404041;
	outline-offset: 3px;
}

.rp-pf-action button:disabled {
	opacity: .45;
	cursor: not-allowed;
}

.rp-pf-status {
	min-height: 18px;
	margin: 10px 0 0;
	font-size: 13px;
}

.rp-pf-help {
	margin: 18px 0 0;
	padding-top: 14px;
	border-top: 1px solid #eee;
	color: #666;
	font-size: 14px;
}

.rp-parts-catalog {
	max-width: 1200px;
	margin: 30px auto 60px;
	padding: 0 20px;
}

.rp-parts-intro {
	margin-bottom: 32px;
	text-align: center;
}

.rp-parts-intro h2 {
	margin: 0 0 10px;
	color: #333;
	font-size: 32px;
}

.rp-parts-intro p {
	max-width: 800px;
	margin: 0 auto;
	color: #666;
	font-size: 17px;
	line-height: 1.6;
}

.rp-size-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 22px;
}

.rp-size-card {
	display: flex;
	min-height: 205px;
	padding: 18px;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	border: 1px solid #ddd;
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 2px 8px rgba(0, 0, 0, .04);
	text-align: center;
	text-decoration: none !important;
	transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.rp-size-card:hover {
	border-color: #f05a28;
	box-shadow: 0 7px 18px rgba(0, 0, 0, .10);
	transform: translateY(-3px);
}

.rp-size-icon {
	display: flex;
	width: 92px;
	height: 92px;
	margin-bottom: 16px;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: #f1f1f2;
	color: #404041;
	font-size: 28px;
	font-weight: 700;
}

.rp-size-title {
	margin-bottom: 7px;
	color: #222;
	font-size: 21px;
	font-weight: 700;
}

.rp-size-link,
.rp-back a,
.rp-view-link a {
	color: #f05a28;
	font-weight: 600;
	text-decoration: none;
}

.rp-back {
	margin-bottom: 25px;
}

.rp-back a:hover,
.rp-view-link a:hover {
	text-decoration: underline;
}

.rp-section-index-wrap {
	margin: 0 0 35px;
	text-align: center;
}

.rp-section-index-label {
	display: block;
	margin-bottom: 10px;
	color: #404041;
	font-weight: 700;
}

.rp-section-index {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
}

.rp-section-index a {
	display: inline-block;
	padding: 9px 14px;
	border: 1px solid #d8d8d8;
	border-radius: 5px;
	background: #f2f2f2;
	color: #404041;
	font-weight: 600;
	text-decoration: none;
}

.rp-section-index a:hover {
	border-color: #f05a28;
	background: #f05a28;
	color: #fff;
}

.rp-section {
	margin: 24px 0 30px;
	scroll-margin-top: 130px;
}

.rp-section-title,
.rp-subsection-title {
	color: #333;
	font-weight: 700;
}

.rp-section-title {
	margin: 0;
	padding: 9px 12px;
	border-bottom: 1px solid #444;
	background: #f2f2f2;
	font-size: 21px;
}

.rp-subsection-title {
	margin: 10px 0 0;
	padding: 8px 10px;
	border-bottom: 1px solid #bbb;
	background: #fafafa;
	font-size: 16px;
}

.rp-parts-table {
	width: 100%;
	border-collapse: collapse;
	background: #fff;
	font-size: 14px;
}

.rp-parts-table th,
.rp-parts-table td {
	padding: 8px 9px;
	border-bottom: 1px solid #ddd;
	line-height: 1.25;
	text-align: left;
	vertical-align: middle;
}

.rp-parts-table th {
	border-color: #aaa;
	font-weight: 700;
}

.rp-part-image {
	width: 76px;
}

.rp-part-image img {
	display: block;
	width: 58px;
	height: 58px;
	border: 1px solid #eee;
	border-radius: 4px;
	background: #fff;
	object-fit: contain;
}

.rp-part-name a {
	color: #0758c9;
	font-weight: 500;
	text-decoration: none;
}

.rp-part-name a:hover {
	text-decoration: underline;
}

.rp-part-sku,
.rp-cedazo-perforation,
.rp-view-link {
	white-space: nowrap;
}

.rp-part-sku,
.rp-cedazo-perforation {
	color: #444;
	font-weight: 600;
}

.rp-view-link {
	text-align: right !important;
}

.rp-no-products {
	padding: 22px;
	border: 1px solid #ddd;
	background: #fafafa;
}

.rp-price-contact {
	display: flex;
	margin: 10px 0;
	flex-direction: column;
	color: #404041;
	line-height: 1.4;
}

.rp-price-contact strong {
	color: #f05a28;
	font-size: 16px;
}

.rp-price-contact span {
	font-size: 14px;
}

.rp-product-request {
	display: flex;
	margin: 18px 0;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
}

.rp-product-request .button {
	background: #f05a28;
	color: #fff;
}

.rp-loop-request {
	background: #f05a28 !important;
	color: #fff !important;
}

.rp-product-request .button:hover,
.rp-loop-request:hover {
	background: #d94b1d !important;
	color: #fff !important;
}

.rp-product-request span {
	color: #666;
	font-size: 13px;
}

.rp-whatsapp-wrap {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 9999;
	display: flex;
	align-items: center;
	gap: 10px;
}

.rp-whatsapp-label {
	position: relative;
	padding: 12px 15px;
	border-radius: 22px;
	background: #fff;
	box-shadow: 0 4px 18px rgba(0, 0, 0, .16);
	color: #333;
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	white-space: nowrap;
}

.rp-whatsapp-label::after {
	position: absolute;
	top: 50%;
	right: -6px;
	border-width: 6px 0 6px 7px;
	border-style: solid;
	border-color: transparent transparent transparent #fff;
	content: "";
	transform: translateY(-50%);
}

.rp-whatsapp-float {
	display: flex;
	width: 60px;
	height: 60px;
	flex: 0 0 60px;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: #25d366;
	box-shadow: 0 5px 18px rgba(0, 0, 0, .25);
	text-decoration: none !important;
	transition: transform .2s ease, box-shadow .2s ease;
}

.rp-whatsapp-float:hover {
	box-shadow: 0 8px 22px rgba(0, 0, 0, .30);
	transform: translateY(-3px) scale(1.03);
}

.rp-whatsapp-float:focus-visible {
	outline: 3px solid #222;
	outline-offset: 4px;
}

.rp-whatsapp-float svg {
	width: 33px;
	height: 33px;
	fill: #fff;
}

@media (max-width: 1050px) {
	.rp-pf-grid,
	.rp-size-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 650px) {
	.rp-parts-finder {
		padding: 20px;
	}

	.rp-pf-grid,
	.rp-size-grid {
		grid-template-columns: 1fr;
	}

	.rp-pf-action button {
		width: 100%;
	}

	.rp-parts-catalog {
		padding: 0 14px;
	}

	.rp-parts-intro h2 {
		font-size: 26px;
	}

	.rp-parts-table thead {
		display: none;
	}

	.rp-parts-table,
	.rp-parts-table tbody,
	.rp-parts-table tr,
	.rp-parts-table td {
		display: block;
		width: 100%;
	}

	.rp-parts-table tr {
		padding: 12px 0;
		border-bottom: 1px solid #ddd;
	}

	.rp-parts-table td {
		padding: 5px 8px;
		border: 0;
		white-space: normal;
	}

	.rp-parts-table td[data-label]::before {
		display: inline-block;
		min-width: 108px;
		margin-right: 8px;
		color: #555;
		content: attr(data-label) ":";
		font-weight: 700;
	}

	.rp-part-image img {
		display: inline-block;
		width: 70px;
		height: 70px;
		vertical-align: middle;
	}

	.rp-view-link {
		margin-top: 6px;
		text-align: left !important;
	}

	.rp-cedazo-perforation {
		font-size: 18px;
	}

	.rp-section-index {
		gap: 7px;
	}

	.rp-section-index a {
		padding: 8px 11px;
		font-size: 14px;
	}

	.rp-whatsapp-wrap {
		right: 15px;
		bottom: 15px;
		gap: 8px;
	}

	.rp-whatsapp-float {
		width: 56px;
		height: 56px;
		flex-basis: 56px;
	}

	.rp-whatsapp-float svg {
		width: 30px;
		height: 30px;
	}

	.rp-whatsapp-label {
		padding: 10px 13px;
		font-size: 13px;
	}
}

@media (max-width: 420px) {
	.rp-whatsapp-label {
		display: none;
	}
}
