.mrpc-section,
.mrpc-section * {
	box-sizing: border-box;
}

.mrpc-section {
	--mrpc-accent: #ef5902;
	--mrpc-text: #171b25;
	--mrpc-muted: #737282;
	--mrpc-line: #dedee4;
	width: 100%;
	margin: 0 auto;
	padding: 22px 0 24px;
	color: var(--mrpc-text);
	font-family: Poppins, Arial, Helvetica, sans-serif;
}

.mrpc-shell {
	width: calc(100% - 52px);
	max-width: 1638px;
	margin: 0 auto;
	padding: 60px 46px 42px 54px;
	overflow: hidden;
	background: #fff;
	border-radius: 10px;
	isolation: isolate;
}

.mrpc-loading-label {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.mrpc-skeletons {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
}

.mrpc-skeletons span {
	display: block;
	height: 390px;
	border-radius: 6px;
	background: linear-gradient(90deg, #f1f1f3 25%, #f8f8f9 45%, #f1f1f3 65%);
	background-size: 300% 100%;
	animation: mrpc-shimmer 1.4s ease-in-out infinite;
}

@keyframes mrpc-shimmer {
	0% { background-position: 100% 0; }
	100% { background-position: 0 0; }
}

@media (prefers-reduced-motion: reduce) {
	.mrpc-skeletons span { animation: none; }
	.mrpc-track { transition: none !important; }
}

.mrpc-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	border-bottom: 1px solid #ececf0;
}

.mrpc-tabs {
	display: flex;
	align-items: stretch;
	gap: 30px;
	min-width: 0;
}

.mrpc-tab {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 54px;
	padding: 0 30px 16px 0;
	color: #7b7a88;
	font: 800 18px/1.2 Poppins, Arial, Helvetica, sans-serif;
	text-transform: none;
	cursor: pointer;
	appearance: none;
	background: transparent !important;
	border: 0 !important;
	border-bottom: 2px solid transparent !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	transition: color .18s ease, border-color .18s ease;
}

.mrpc-tab svg {
	width: 23px;
	height: 23px;
	flex: 0 0 23px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.9;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.mrpc-tab.is-active {
	color: var(--mrpc-accent);
	border-bottom-color: var(--mrpc-accent) !important;
}

.mrpc-tab:focus-visible,
.mrpc-arrow:focus-visible,
.mrpc-view:focus-visible,
.mrpc-title:focus-visible {
	outline: 3px solid rgba(239, 89, 2, .35);
	outline-offset: 3px;
}

.mrpc-status {
	display: flex;
	align-items: center;
	gap: 22px;
	padding-bottom: 18px;
	color: #757584;
	font-size: 16px;
	font-weight: 600;
	white-space: nowrap;
}

.mrpc-dots {
	display: flex;
	align-items: center;
	gap: 13px;
}

.mrpc-dot {
	width: 11px;
	height: 11px;
	border-radius: 50%;
	background: #c9c9d0;
}

.mrpc-dot.is-active {
	background: var(--mrpc-accent);
}

.mrpc-panel {
	position: relative;
	margin-top: 36px;
	background: #fff;
}

.mrpc-panel[hidden] {
	display: none;
}

.mrpc-panel-loader {
	min-height: 360px;
	display: grid;
	place-items: center;
	color: var(--mrpc-muted);
}

.mrpc-panel-loader::after {
	width: 32px;
	height: 32px;
	content: "";
	border: 3px solid #e4e4e8;
	border-top-color: var(--mrpc-accent);
	border-radius: 50%;
	animation: mrpc-spin .7s linear infinite;
}

@keyframes mrpc-spin {
	to { transform: rotate(360deg); }
}

.mrpc-viewport {
	margin: 0 50px;
	padding: 0 0 2px;
	overflow: hidden;
	outline: none;
}

.mrpc-track {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: calc((100% - 80px) / 5);
	gap: 20px;
	transition: transform .28s ease;
	will-change: transform;
}

.mrpc-card {
	display: flex;
	min-width: 0;
	flex-direction: column;
	overflow: hidden;
	background: #fff;
	border: 1px solid #dcdde2;
	border-radius: 6px;
	box-shadow: 0 8px 22px rgba(15, 18, 28, .03);
	transition: border-color .18s ease;
}

.mrpc-card:hover,
.mrpc-card:focus-within {
	border-color: rgba(239, 89, 2, .38);
}

.mrpc-image-link {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 210px;
	padding: 30px 20px 16px;
	background: #fff;
	text-decoration: none;
}

.mrpc-product-img {
	display: block;
	width: 150px !important;
	height: 150px !important;
	max-width: 100%;
	object-fit: contain;
}

.mrpc-card-body {
	display: flex;
	flex: 0 0 auto;
	flex-direction: column;
	padding: 0 18px 18px;
}

.mrpc-title {
	display: -webkit-box;
	min-height: 46px;
	overflow: hidden;
	color: var(--mrpc-text);
	font-size: 16px;
	font-weight: 800;
	line-height: 1.42;
	text-decoration: none;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.mrpc-title:hover {
	color: var(--mrpc-accent);
}

.mrpc-eyebrow {
	min-height: 18px;
	margin-top: 8px;
	overflow: hidden;
	color: #777684;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: .01em;
	text-overflow: ellipsis;
	text-transform: uppercase;
	white-space: nowrap;
}

.mrpc-stock {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 26px;
	color: #252933;
	font-size: 14px;
	line-height: 1.25;
}

.mrpc-stock span {
	position: relative;
	width: 18px;
	height: 18px;
	flex: 0 0 18px;
	border: 1.8px solid #25b934;
	border-radius: 50%;
}

.mrpc-stock span::after {
	position: absolute;
	top: 4px;
	left: 4px;
	width: 7px;
	height: 4px;
	content: "";
	border-bottom: 2px solid #25b934;
	border-left: 2px solid #25b934;
	transform: rotate(-45deg);
}

.mrpc-stock.is-out-stock span {
	border-color: #b5b5be;
}

.mrpc-stock.is-out-stock span::after {
	display: none;
}

.mrpc-card-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	min-height: 74px;
	padding: 16px 14px;
	border-top: 1px solid #ededf1;
}

.mrpc-price {
	display: flex;
	min-width: 0;
	flex: 1 1 auto;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 6px;
	color: var(--mrpc-accent);
	font-size: 20px;
	font-weight: 800;
	line-height: 1.12;
}

.mrpc-price del { font-size: 18px; opacity: 1; }
.mrpc-price ins { text-decoration: none; }

.mrpc-view {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 40px;
	padding: 0 14px;
	flex: 0 0 auto;
	color: var(--mrpc-accent);
	font-size: 16px;
	font-weight: 800;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
	background: #fff;
	border: 1px solid var(--mrpc-accent);
	border-radius: 6px;
}

.mrpc-view svg {
	width: 18px;
	height: 18px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2.5;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.mrpc-view:hover {
	color: #fff;
	background: var(--mrpc-accent);
}

.mrpc-section .mrpc-arrow {
	position: absolute;
	top: 47%;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 52px !important;
	height: 52px !important;
	min-width: 52px !important;
	min-height: 52px !important;
	padding: 0 !important;
	cursor: pointer !important;
	appearance: none !important;
	background: #fff !important;
	border: 1px solid var(--mrpc-line) !important;
	border-radius: 50% !important;
	box-shadow: 0 8px 24px rgba(12, 14, 22, .06) !important;
	transform: translateY(-50%) !important;
}

.mrpc-arrow span {
	display: block;
	width: 14px;
	height: 14px;
	background: transparent !important;
	border-top: 4px solid var(--mrpc-accent);
	border-right: 4px solid var(--mrpc-accent);
}

.mrpc-prev { left: 0; }
.mrpc-next { right: 0; }
.mrpc-prev span { margin-left: 5px; transform: rotate(-135deg); }
.mrpc-next span { margin-right: 5px; transform: rotate(45deg); }
.mrpc-arrow:disabled { cursor: default !important; opacity: .35; }

.mrpc-context {
	margin: 30px 0 0;
	color: #777684;
	font-size: 15px;
	line-height: 1.45;
	text-align: center;
}

@media (max-width: 1399px) {
	.mrpc-track { grid-auto-columns: calc((100% - 60px) / 4); }
}

@media (max-width: 1024px) {
	.mrpc-section { padding: 12px 0; }
	.mrpc-shell { width: calc(100% - 24px); padding: 34px 20px; border-radius: 8px; }
	.mrpc-skeletons { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.mrpc-skeletons span:nth-child(n+3) { display: none; }
	.mrpc-header { align-items: flex-start; }
	.mrpc-tabs { gap: 18px; }
	.mrpc-tab { padding-right: 10px; font-size: 16px; }
	.mrpc-track { grid-auto-columns: calc((100% - 20px) / 2); }
	.mrpc-viewport { margin: 0 34px; }
}

@media (max-width: 640px) {
	.mrpc-header { display: block; }
	.mrpc-shell { padding: 26px 16px; }
	.mrpc-skeletons { grid-template-columns: 82%; }
	.mrpc-skeletons span { height: 360px; }
	.mrpc-skeletons span:nth-child(n+2) { display: none; }
	.mrpc-tabs { width: 100%; gap: 20px; overflow-x: auto; scrollbar-width: thin; }
	.mrpc-tab { min-height: 48px; flex: 0 0 auto; font-size: 15px; }
	.mrpc-status { justify-content: flex-end; padding: 12px 0 10px; font-size: 14px; }
	.mrpc-dots { gap: 8px; }
	.mrpc-dot { width: 8px; height: 8px; }
	.mrpc-panel { margin-top: 20px; }
	.mrpc-viewport { margin: 0; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
	.mrpc-track { grid-auto-columns: 82%; gap: 14px; transform: none !important; will-change: auto; }
	.mrpc-card { scroll-snap-align: start; }
	.mrpc-arrow { display: none !important; }
	.mrpc-title { font-size: 15px; }
	.mrpc-context { margin-top: 20px; font-size: 14px; }
}
