.rp-pump-grid,
.rp-category-grid {
	display: grid;
	grid-template-columns: repeat(var(--rp-grid-columns, 3), minmax(0, 1fr));
	gap: var(--rp-grid-gap, 24px);
}

.rp-pump-card,
.rp-category-card {
	background: #ffffff;
	border: 1px solid #d9e2ef;
	border-radius: 22px;
	overflow: hidden;
	box-shadow: 0 16px 36px rgba(17, 55, 108, 0.08);
}

.rp-pump-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 16px;
	text-align: center;
	position: relative;
}

.rp-pump-card__page-link {
	position: absolute;
	inset: 0;
	z-index: 1;
}

.rp-pump-card__content {
	position: relative;
	z-index: 2;
}

.rp-pump-card__image {
	margin-bottom: 14px;
}

.rp-pump-card__image-frame {
	display: flex;
	align-items: center;
	justify-content: center;
	width: min(100%, var(--rp-image-frame-width, 100%));
	height: var(--rp-image-frame-height, 220px);
	margin: 0 auto;
	border-radius: 16px;
	overflow: hidden;
	background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
	box-shadow: inset 0 0 0 1px rgba(9, 50, 106, 0.04);
}

.rp-pump-card__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1);
	transition: transform 0.35s ease;
}

.rp-pump-card:hover .rp-pump-card__image img,
.rp-pump-card:focus-within .rp-pump-card__image img {
	transform: scale(1.08);
}

.rp-pump-card__content,
.rp-category-card {
	padding: 0;
}

.rp-pump-card__content {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	align-items: center;
}

.rp-pump-card__text {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	align-items: center;
	width: 100%;
}

.rp-pump-card__title,
.rp-category-card__title {
	margin: 0 0 10px;
	color: #0b356d;
	font-size: 1.55rem;
	font-weight: 800;
	line-height: 1.08;
	letter-spacing: -0.02em;
	text-transform: uppercase;
	min-height: 3.4rem;
	display: flex;
	align-items: center;
	justify-content: center;
}

.rp-pump-card__title a {
	color: inherit;
	text-decoration: none;
}

.rp-pump-card__description,
.rp-category-card__count {
	margin: 0 auto 14px;
	max-width: 240px;
	color: #5c7398;
	font-size: 1rem;
	line-height: 1.55;
	min-height: 4.7rem;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	width: 100%;
}

.rp-pump-card--no-description .rp-pump-card__title {
	margin-bottom: 0;
	min-height: auto;
}

.rp-pump-card__description--empty {
	visibility: hidden;
}

.rp-pump-card__description p {
	margin: 0 0 0.45em;
}

.rp-pump-card__description p:last-child {
	margin-bottom: 0;
}

.rp-pump-card__specs {
	margin: 0 0 14px;
	padding: 12px 14px;
	border: 1px solid #d9e2ef;
	border-radius: 14px;
	background: #f9fbfe;
	color: #1e3d6a;
	list-style: none;
	text-align: left;
	font-size: 0.95rem;
}

.rp-pump-card__specs li + li {
	margin-top: 6px;
}

.rp-pump-card__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 168px;
	padding: 11px 20px;
	margin-top: 20px;
	border: 1.5px solid #0b356d;
	border-radius: 8px;
	background: transparent;
	color: #0b356d;
	text-decoration: none;
	font-weight: 700;
	font-size: 0.98rem;
	line-height: 1.15;
	transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.rp-pump-card__button:hover,
.rp-pump-card__button:focus {
	background: #0b356d;
	color: #ffffff;
	text-decoration: none;
	transform: translateY(-1px);
	box-shadow: 0 12px 24px rgba(11, 53, 109, 0.18);
}

.rp-category-showcase {
	width: 100%;
}

.rp-category-showcase__header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 28px;
}

.rp-category-showcase__intro {
	max-width: 720px;
}

.rp-category-showcase__actions {
	display: flex;
	flex-shrink: 0;
	align-items: center;
	gap: 16px;
	justify-content: flex-end;
}

.rp-category-showcase__eyebrow {
	margin: 0 0 14px;
	color: #0b56b3;
	font-size: 0.95rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.rp-category-showcase__title {
	margin: 0;
	color: #0b356d;
	font-size: clamp(2.15rem, 4vw, 3.35rem);
	font-weight: 800;
	line-height: 1.04;
	letter-spacing: -0.04em;
	text-transform: uppercase;
}

.rp-category-showcase__link {
	display: inline-flex;
	flex-shrink: 0;
	align-items: center;
	color: #0b56b3;
	font-size: 1.05rem;
	font-weight: 700;
	line-height: 1.3;
	text-decoration: underline;
	text-underline-offset: 0.22em;
}

.rp-category-showcase__link:hover,
.rp-category-showcase__link:focus {
	color: #082a55;
	text-decoration-thickness: 2px;
}

.rp-category-carousel {
	position: relative;
}

.rp-category-carousel__viewport {
	overflow-x: auto;
	scrollbar-width: none;
	scroll-behavior: smooth;
	scroll-snap-type: x mandatory;
	-ms-overflow-style: none;
}

.rp-category-carousel__viewport::-webkit-scrollbar {
	display: none;
}

.rp-category-carousel__nav {
	display: inline-flex;
	align-items: center;
	gap: 10px;
}

.rp-category-carousel__arrow {
	all: unset;
	all: unset !important;
	appearance: none;
	-webkit-appearance: none;
	display: inline-grid;
	flex-shrink: 0;
	place-items: center;
	width: 44px !important;
	min-width: 44px !important;
	height: 44px !important;
	padding: 0 !important;
	margin: 0 !important;
	border: 1px solid #0b356d !important;
	border-radius: 999px !important;
	background: #0b356d !important;
	color: #ffffff !important;
	background-image: none !important;
	font: inherit;
	font-size: 0;
	line-height: 1;
	text-decoration: none !important;
	text-transform: none;
	letter-spacing: 0;
	box-sizing: border-box;
	vertical-align: middle;
	cursor: pointer !important;
	box-shadow: 0 10px 24px rgba(11, 53, 109, 0.16) !important;
	transition: transform 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, opacity 0.2s ease;
}

.rp-category-carousel__arrow::before,
.rp-category-carousel__arrow::after {
	display: none !important;
	content: none !important;
}

.rp-category-carousel__arrow-icon {
	position: relative;
	display: block;
	width: 100%;
	height: 100%;
	pointer-events: none;
}

.rp-category-carousel__arrow-icon::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 9px;
	height: 9px;
	border-top: 2px solid currentColor;
	border-right: 2px solid currentColor;
	transform-origin: 50% 50%;
}

.rp-category-carousel__arrow-icon svg {
	display: none;
}

.rp-category-carousel__arrow--prev .rp-category-carousel__arrow-icon::before {
	transform: translate(-40%, -50%) rotate(-135deg);
}

.rp-category-carousel__arrow--next .rp-category-carousel__arrow-icon::before {
	transform: translate(-60%, -50%) rotate(45deg);
}

.rp-category-carousel__arrow:hover,
.rp-category-carousel__arrow:focus {
	border-color: #0b56b3 !important;
	background: #0b56b3 !important;
	color: #ffffff !important;
	transform: translateY(-1px);
	box-shadow: 0 14px 28px rgba(11, 53, 109, 0.22) !important;
}

.rp-category-carousel__arrow[disabled] {
	opacity: 0.28 !important;
	cursor: not-allowed !important;
	box-shadow: none !important;
}

.rp-category-carousel__arrow[disabled]:hover,
.rp-category-carousel__arrow[disabled]:focus {
	border-color: #0b356d !important;
	background: #0b356d !important;
	transform: none;
}

.rp-category-grid {
	align-items: start;
}

.rp-category-grid--carousel {
	grid-template-columns: none;
	grid-auto-flow: column;
	grid-auto-columns: calc((100% - (var(--rp-grid-gap, 24px) * (var(--rp-grid-columns, 5) - 1))) / var(--rp-grid-columns, 5));
	padding-bottom: 6px;
}

.rp-category-grid--carousel .rp-category-card {
	scroll-snap-align: start;
}

.rp-category-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	text-align: center;
	text-decoration: none !important;
	border-bottom: 0 !important;
	box-shadow: none !important;
	background-image: none !important;
}

.rp-category-card:hover,
.rp-category-card:focus {
	text-decoration: none !important;
	border-bottom: 0 !important;
	box-shadow: none !important;
	background-image: none !important;
}

.rp-category-card,
.rp-category-card:visited,
.rp-category-card:hover,
.rp-category-card:focus,
.rp-category-card:active {
	color: inherit;
}

.rp-category-card__image {
	width: 100%;
	margin-bottom: 18px;
}

.rp-category-card__image-frame {
	display: flex;
	align-items: flex-end;
	justify-content: center;
	width: min(100%, var(--rp-image-frame-width, 150px));
	height: var(--rp-image-frame-height, 220px);
	margin: 0 auto;
	overflow: hidden;
}

.rp-category-card__image-frame img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	transform: scale(1);
	transform-origin: center center;
	transition: transform 0.35s ease;
}

.rp-category-card:hover .rp-category-card__image-frame img,
.rp-category-card:focus .rp-category-card__image-frame img {
	transform: scale(1.08);
}

.rp-category-card__title {
	margin: 0;
	color: #040404;
	font-size: 1rem;
	font-weight: 800;
	line-height: 1.18;
	letter-spacing: -0.01em;
	text-transform: uppercase;
	min-height: auto;
	text-decoration: none !important;
	border-bottom: 0 !important;
	box-shadow: none !important;
	background-image: none !important;
}

.rp-category-card__count {
	margin: 10px auto 0;
	max-width: none;
	min-height: auto;
	color: #5c7398;
	font-size: 0.95rem;
	line-height: 1.4;
	text-decoration: none !important;
	border-bottom: 0 !important;
	box-shadow: none !important;
	background-image: none !important;
}

.rp-category-card:hover .rp-category-card__title,
.rp-category-card:focus .rp-category-card__title,
.rp-category-card:hover .rp-category-card__count,
.rp-category-card:focus .rp-category-card__count {
	text-decoration: none !important;
	border-bottom: 0 !important;
	box-shadow: none !important;
	background-image: none !important;
}

.rp-specs-table {
	width: 100%;
	border-collapse: collapse;
	border: 1px solid rgba(15, 23, 42, 0.08);
	background: #ffffff;
}

.rp-specs-table th,
.rp-specs-table td {
	padding: 14px 16px;
	border-bottom: 1px solid rgba(15, 23, 42, 0.08);
	text-align: left;
	vertical-align: top;
}

.rp-specs-table th {
	width: 32%;
	font-weight: 600;
	color: #0f172a;
	background: #f8fafc;
}

.rp-specs-table td {
	color: #334155;
}

.rp-pump-grid__empty,
.rp-category-grid__empty,
.rp-specs-table__empty {
	margin: 0;
	color: #475569;
}

/* ===== Archive Page ===== */

.rp-archive-page {
	padding: 48px 20px 64px;
	max-width: 1360px;
	margin: 0 auto;
}

.rp-archive-header {
	margin-bottom: 40px;
	text-align: center;
}

.rp-archive-header__title {
	margin: 0 0 12px;
	color: #0b356d;
	font-size: clamp(2rem, 3.5vw, 3.2rem);
	font-weight: 800;
	line-height: 1.08;
	letter-spacing: -0.03em;
	text-transform: uppercase;
}

.rp-archive-header__description {
	margin: 0 auto;
	max-width: 640px;
	color: #5c7398;
	font-size: 1.05rem;
	line-height: 1.7;
}

.rp-archive-pagination {
	margin-top: 48px;
	text-align: center;
}

.rp-archive-pagination .nav-links {
	display: flex;
	justify-content: center;
	gap: 8px;
	flex-wrap: wrap;
}

.rp-archive-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 42px;
	padding: 0 14px;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	background: #ffffff;
	color: #334155;
	font-size: 0.92rem;
	font-weight: 600;
	text-decoration: none;
	transition: all 0.2s ease;
}

.rp-archive-pagination .page-numbers:hover {
	background: #f1f5f9;
	border-color: #cbd5e1;
}

.rp-archive-pagination .page-numbers.current {
	background: #0b356d;
	border-color: #0b356d;
	color: #ffffff;
}

@media (max-width: 767px) {
	.rp-archive-page {
		padding: 32px 16px 48px;
	}

	.rp-archive-header {
		margin-bottom: 28px;
	}
}

/* ===== Single Product Page ===== */

.rp-product-page {
	padding: 48px 20px 64px;
}

.rp-product-layout {
	max-width: 1360px;
	margin: 0 auto;
}

/* Header */

.rp-product-header {
	margin-bottom: 36px;
}

.rp-product-header__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
	margin-bottom: 14px;
}

.rp-product-header__badge {
	display: inline-block;
	padding: 5px 14px;
	border-radius: 6px;
	background: #e8f4fd;
	color: #0b56b3;
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.rp-product-header__model {
	display: inline-block;
	padding: 5px 14px;
	border-radius: 6px;
	background: #f1f5f9;
	color: #475569;
	font-size: 0.82rem;
	font-weight: 600;
	letter-spacing: 0.02em;
}

.rp-product-header__title {
	margin: 0 0 12px;
	color: #0b356d;
	font-size: clamp(2rem, 3vw, 3rem);
	font-weight: 800;
	line-height: 1.08;
	letter-spacing: -0.03em;
	text-transform: uppercase;
}

.rp-product-header__description {
	max-width: 760px;
	color: #5c7398;
	font-size: 1.05rem;
	line-height: 1.7;
}

.rp-product-header__description p {
	margin: 0;
}

/* Two-column body */

.rp-product-layout__body {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px;
	align-items: start;
}

/* Gallery */

.rp-product-gallery__frame {
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	background: #f8fafc;
	overflow: hidden;
	cursor: zoom-in;
}

.rp-product-gallery__frame img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 8px;
}

.rp-product-gallery__placeholder {
	color: #94a3b8;
	font-size: 1rem;
	text-align: center;
	padding: 60px 20px;
}

/* Tabs */

.rp-product-tabs {
	margin-bottom: 8px;
}

.rp-product-tabs__nav {
	display: flex;
	flex-wrap: wrap;
	gap: 0;
	margin-bottom: -1px;
}

.rp-product-tabs__button {
	padding: 14px 28px;
	border: 1px solid #e2e8f0 !important;
	border-bottom: none !important;
	border-radius: 10px 10px 0 0;
	background: #f1f5f9 !important;
	color: #64748b !important;
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1.2;
	cursor: pointer;
	transition: all 0.2s ease;
}

.rp-product-tabs__button:hover {
	background: #e2e8f0 !important;
	color: #334155 !important;
}

.rp-product-tabs__button.is-active {
	background: #ffffff !important;
	color: #0b356d !important;
	border-bottom-color: #ffffff !important;
	font-weight: 700;
}

.rp-product-tabs__button:focus-visible {
	outline: 2px solid #0b56b3;
	outline-offset: 2px;
}

.rp-product-tabs__panels {
	border: 1px solid #e2e8f0;
	border-radius: 0 10px 10px 10px;
	background: #ffffff;
	padding: 28px;
}

.rp-product-table {
	width: 100%;
	border-collapse: collapse;
}

.rp-product-table th,
.rp-product-table td {
	padding: 14px 18px;
	border-top: none !important;
	border-right: none !important;
	border-left: none !important;
	border-bottom: 1px solid #cbd5e1 !important;
	text-align: left;
	vertical-align: top;
	font-size: 0.96rem;
	line-height: 1.5;
	background: #ffffff !important;
}

.rp-product-table tr:last-child th,
.rp-product-table tr:last-child td {
	border-bottom: none !important;
}

.rp-product-table tbody tr:nth-child(odd) th,
.rp-product-table tbody tr:nth-child(odd) td {
	background: #ffffff !important;
}

.rp-product-table tbody tr:nth-child(even) th,
.rp-product-table tbody tr:nth-child(even) td {
	background: #ffffff !important;
}

.rp-product-table th {
	width: 36%;
	font-weight: 600;
	color: #334155;
	background: #f8fafc;
}

.rp-product-table td {
	color: #1e293b;
}

.rp-product-list {
	margin: 0;
	padding-left: 0;
	list-style: none;
	color: #1e293b;
}

.rp-product-list li {
	padding: 10px 0 10px 24px;
	position: relative;
	border-bottom: 1px solid #f1f5f9;
}

.rp-product-list li:last-child {
	border-bottom: none;
}

.rp-product-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 18px;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #0b56b3;
}

/* Actions */

.rp-product-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	align-items: center;
	margin-top: 28px;
	padding-top: 24px;
	border-top: 1px solid #e2e8f0;
}

.rp-product-actions__link {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	padding: 12px 22px;
	border: 1.5px solid #dc2626;
	border-radius: 8px;
	background: #ffffff;
	color: #dc2626;
	font-size: 0.92rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	text-decoration: none;
	transition: all 0.2s ease;
}

.rp-product-actions__link:hover,
.rp-product-actions__link:focus {
	background: #dc2626;
	color: #ffffff;
	text-decoration: none;
}

.rp-product-actions__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 36px;
	height: 36px;
	padding: 0 8px;
	border-radius: 6px;
	background: #dc2626;
	color: #ffffff;
	font-size: 0.7rem;
	font-weight: 800;
	line-height: 1;
}

.rp-product-actions__link:hover .rp-product-actions__icon {
	background: #ffffff;
	color: #dc2626;
}

.rp-product-actions__button {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 14px 28px;
	border: none !important;
	border-radius: 8px;
	background: #25d366 !important;
	color: #ffffff !important;
	font-size: 0.96rem;
	font-weight: 700;
	line-height: 1.15;
	text-decoration: none;
	transition: all 0.2s ease;
}

.rp-product-actions__button:hover,
.rp-product-actions__button:focus {
	background: #1da851 !important;
	color: #ffffff !important;
	text-decoration: none;
	transform: translateY(-1px);
	box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

.rp-product-actions__button-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

@media (max-width: 1024px) {
	.rp-pump-grid,
	.rp-category-grid {
		grid-template-columns: repeat(min(var(--rp-grid-columns, 3), 2), minmax(0, 1fr));
	}

	.rp-category-showcase__header {
		flex-direction: column;
		align-items: flex-start;
	}

	.rp-category-showcase__actions {
		width: 100%;
		justify-content: space-between;
	}

	.rp-category-grid--carousel {
		--rp-grid-columns: 2;
		grid-template-columns: none;
	}

	.rp-product-layout__body {
		grid-template-columns: 1fr;
		gap: 32px;
	}
}

@media (max-width: 767px) {
	.rp-pump-grid,
	.rp-category-grid {
		grid-template-columns: 1fr;
	}

	.rp-pump-card__content,
	.rp-category-card {
		padding: 0;
	}

	.rp-pump-card {
		padding: 14px;
	}

	.rp-pump-card__image-frame {
		height: var(--rp-image-frame-height, 190px);
	}

	.rp-pump-card__image img {
		height: 100%;
	}

	.rp-pump-card__title,
	.rp-category-card__title {
		font-size: 1.35rem;
		min-height: auto;
	}

	.rp-pump-card__description,
	.rp-category-card__count {
		font-size: 0.95rem;
		min-height: auto;
	}

	.rp-category-showcase__header {
		margin-bottom: 22px;
	}

	.rp-category-showcase__title {
		font-size: 2rem;
	}

	.rp-category-showcase__actions {
		gap: 12px;
		flex-wrap: wrap;
	}

	.rp-category-showcase__link {
		font-size: 0.98rem;
	}

	.rp-category-carousel__arrow {
		width: 40px;
		height: 40px;
	}

	.rp-category-grid--carousel {
		--rp-grid-columns: 1;
		grid-template-columns: none;
	}

	.rp-category-card__image {
		margin-bottom: 14px;
	}

	.rp-category-card__image-frame {
		height: var(--rp-image-frame-height, 180px);
	}

	.rp-category-card__title {
		font-size: 1rem;
	}

	.rp-specs-table th,
	.rp-specs-table td {
		display: block;
		width: 100%;
	}

	.rp-product-page {
		padding: 32px 16px 48px;
	}

	.rp-product-header {
		margin-bottom: 24px;
	}

	.rp-product-tabs__button {
		padding: 12px 18px;
		font-size: 0.88rem;
	}

	.rp-product-tabs__panels {
		padding: 20px;
	}

	.rp-product-gallery__frame {
		padding: 20px;
	}

	.rp-product-table th,
	.rp-product-table td {
		display: block;
		width: 100%;
		padding: 12px 14px;
	}

	.rp-product-actions {
		flex-direction: column;
		align-items: stretch;
	}

	.rp-product-actions__link,
	.rp-product-actions__button {
		justify-content: center;
	}
}
