body.rxp-catalog-unified #rex-light-viewer {
	--rxcat-ink: #0b1f3a;
	--rxcat-red: #e52329;
	--rxcat-border: #d9e2ec;
	box-sizing: border-box;
	padding-top: 110px !important;
}

body.rxp-catalog-unified #rex-light-viewer *,
body.rxp-catalog-unified #rex-light-viewer *::before,
body.rxp-catalog-unified #rex-light-viewer *::after {
	box-sizing: border-box;
}

body.rxp-catalog-unified #rex-light-viewer .viewer-container {
	width: min(1340px, calc(100% - 40px)) !important;
	margin-inline: auto !important;
}

body.rxp-catalog-unified #rex-light-viewer .viewer-header {
	padding-inline: clamp(18px, 3vw, 42px) !important;
}

body.rxp-catalog-unified #rex-light-viewer .rx-seo-subheading {
	max-width: 760px;
	margin-inline: auto !important;
	text-align: center !important;
}

body.rxp-catalog-unified #rex-light-viewer .rxcat-quick-access {
	display: flex;
	align-items: stretch;
	justify-content: center;
	gap: 12px;
	width: min(100%, 980px);
	margin: 22px auto 28px;
}

body.rxp-catalog-unified #rex-light-viewer .rxcat-tabs {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	flex: 1 1 auto;
	gap: 8px;
	padding: 6px;
	border: 1px solid var(--rxcat-border);
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.82);
	box-shadow: 0 8px 24px rgba(11, 31, 58, 0.06);
}

body.rxp-catalog-unified #rex-light-viewer .rxcat-tab,
body.rxp-catalog-unified #rex-light-viewer .rxcat-menu-button,
body.rxp-catalog-unified #rex-light-viewer .rxcat-mobile-button {
	appearance: none;
	border: 0;
	border-radius: 11px;
	background: transparent;
	color: var(--rxcat-ink);
	font: inherit;
	font-weight: 700;
	line-height: 1.5;
	text-align: center;
	cursor: pointer;
	transition: color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

body.rxp-catalog-unified #rex-light-viewer .rxcat-tab {
	min-height: 48px;
	padding: 10px 14px;
}

body.rxp-catalog-unified #rex-light-viewer .rxcat-tab:hover,
body.rxp-catalog-unified #rex-light-viewer .rxcat-tab.is-active {
	background: #fff;
	color: var(--rxcat-red);
	box-shadow: 0 5px 15px rgba(11, 31, 58, 0.09);
}

body.rxp-catalog-unified #rex-light-viewer .rxcat-download {
	display: flex;
	flex: 0 0 190px;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 60px;
	padding: 9px 18px;
	border: 1px solid var(--rxcat-red);
	border-radius: 16px;
	background: var(--rxcat-red);
	color: #fff !important;
	text-align: center;
	text-decoration: none !important;
	box-shadow: 0 10px 24px rgba(229, 35, 41, 0.18);
	transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

body.rxp-catalog-unified #rex-light-viewer .rxcat-download:hover {
	transform: translateY(-2px);
	background: #cf151b;
	box-shadow: 0 14px 30px rgba(229, 35, 41, 0.24);
}

body.rxp-catalog-unified #rex-light-viewer .rxcat-download span {
	font-weight: 800;
	line-height: 1.55;
}

body.rxp-catalog-unified #rex-light-viewer .rxcat-download small {
	opacity: 0.78;
	font-size: 11px;
}

body.rxp-catalog-unified #rex-light-viewer .viewer-body {
	overflow: hidden;
}

body.rxp-catalog-unified #rex-light-viewer .viewport {
	min-height: clamp(520px, 63vh, 760px);
	background: #e8edf4;
}

body.rxp-catalog-unified #rex-light-viewer .pan-layer {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: inherit;
	overflow: auto;
}

body.rxp-catalog-unified #rex-light-viewer #main-img {
	display: block;
	width: 100%;
	height: 100%;
	max-height: 760px;
	object-fit: contain;
	opacity: 1 !important;
	transform-origin: center center;
	transition: transform 180ms ease;
}

body.rxp-catalog-unified #rex-light-viewer #loader[hidden],
body.rxp-catalog-unified #rex-light-viewer #error-msg[hidden] {
	display: none !important;
}

body.rxp-catalog-unified #rex-light-viewer .thumbs-track {
	display: flex !important;
	align-items: center;
	gap: 7px;
	min-height: 62px;
	padding: 10px 14px !important;
	overflow-x: auto;
	scrollbar-width: thin;
}

body.rxp-catalog-unified #rex-light-viewer .rxcat-page-button {
	display: inline-grid !important;
	place-items: center !important;
	flex: 0 0 44px !important;
	width: 44px !important;
	height: 44px !important;
	min-width: 44px !important;
	min-height: 44px !important;
	padding: 0 !important;
	border: 1px solid var(--rxcat-border);
	border-radius: 10px;
	background: #fff;
	color: var(--rxcat-ink);
	font: inherit;
	font-size: 14px;
	font-weight: 800;
	font-variant-numeric: tabular-nums;
	line-height: 1 !important;
	text-align: center !important;
	text-indent: 0 !important;
	cursor: pointer;
}

body.rxp-catalog-unified #rex-light-viewer :is(.t-btn, .nav-btn, .close-sheet) {
	display: inline-grid !important;
	place-items: center !important;
	padding: 0 !important;
	line-height: 1 !important;
	text-align: center !important;
}

body.rxp-catalog-unified #rex-light-viewer :is(.t-btn, .nav-btn, .close-sheet) svg {
	display: block;
	margin: 0 !important;
}

body.rxp-catalog-unified #rex-light-viewer .rxcat-page-button:hover,
body.rxp-catalog-unified #rex-light-viewer .rxcat-page-button[aria-current="page"] {
	border-color: var(--rxcat-red);
	background: var(--rxcat-red);
	color: #fff;
}

body.rxp-catalog-unified #rex-light-viewer #nav-prev:disabled,
body.rxp-catalog-unified #rex-light-viewer #nav-next:disabled {
	opacity: 0.35;
	cursor: not-allowed;
}

body.rxp-catalog-unified #rex-light-viewer #cat-dropdown {
	visibility: hidden;
	opacity: 0;
	pointer-events: none;
	transform: translateY(-6px);
	transition: opacity 150ms ease, transform 150ms ease, visibility 150ms ease;
}

body.rxp-catalog-unified #rex-light-viewer #cat-dropdown.is-open {
	visibility: visible;
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0);
}

body.rxp-catalog-unified #rex-light-viewer .rxcat-menu-button,
body.rxp-catalog-unified #rex-light-viewer .rxcat-mobile-button {
	display: block;
	width: 100%;
	padding: 12px 14px;
	margin: 3px 0;
	text-align: right;
}

body.rxp-catalog-unified #rex-light-viewer .rxcat-menu-button:hover,
body.rxp-catalog-unified #rex-light-viewer .rxcat-menu-button.is-active,
body.rxp-catalog-unified #rex-light-viewer .rxcat-mobile-button:hover,
body.rxp-catalog-unified #rex-light-viewer .rxcat-mobile-button.is-active {
	background: #fff1f1;
	color: var(--rxcat-red);
}

body.rxp-catalog-unified #rex-light-viewer #mob-menu-overlay {
	visibility: hidden;
	opacity: 0;
	pointer-events: none;
}

body.rxp-catalog-unified #rex-light-viewer #mob-menu-overlay.is-open {
	visibility: visible;
	opacity: 1;
	pointer-events: auto;
}

body.rxp-catalog-unified .rx-internal-journey {
	position: relative !important;
	z-index: 2 !important;
	isolation: isolate;
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
	transform: none !important;
	filter: none !important;
	background: #fff !important;
	border-color: rgba(15, 37, 68, 0.12) !important;
	box-shadow: 0 18px 48px rgba(15, 37, 68, 0.08) !important;
}

body.rxp-catalog-unified .rx-internal-journey .rx-journey-grid,
body.rxp-catalog-unified .rx-internal-journey .rx-journey-grid > div,
body.rxp-catalog-unified .rx-internal-journey .rx-journey-grid > div > *,
body.rxp-catalog-unified .rx-internal-journey .rx-journey-actions,
body.rxp-catalog-unified .rx-internal-journey .rx-journey-link {
	visibility: visible !important;
	opacity: 1 !important;
	filter: none !important;
	mix-blend-mode: normal !important;
}

body.rxp-catalog-unified .rx-internal-journey .rx-journey-grid {
	position: relative !important;
	z-index: 1 !important;
	transform: none !important;
}

body.rxp-catalog-unified .rx-internal-journey .rx-journey-eyebrow {
	color: #e10600 !important;
}

body.rxp-catalog-unified .rx-internal-journey h2 {
	color: #0f2544 !important;
}

body.rxp-catalog-unified .rx-internal-journey p:not(.rx-journey-eyebrow) {
	color: #475569 !important;
}

body.rxp-catalog-unified .rx-internal-journey .rx-journey-link {
	background: #fff !important;
	color: #0f2544 !important;
	transform: none !important;
}

body.rxp-catalog-unified .rx-internal-journey .rx-journey-link:first-child {
	background: #e10600 !important;
	border-color: #e10600 !important;
	color: #fff !important;
}

body.rxp-catalog-unified .rx-internal-journey .rx-journey-link:hover {
	transform: translateY(-2px) !important;
}

body.rxp-catalog-unified #rex-light-viewer :where(button, a):focus-visible {
	outline: 3px solid rgba(229, 35, 41, 0.34) !important;
	outline-offset: 3px;
}

@media (max-width: 767px) {
	body.rxp-catalog-unified #rex-light-viewer {
		padding-top: 96px !important;
	}

	body.rxp-catalog-unified #rex-light-viewer .viewer-container {
		width: min(100% - 24px, 1340px) !important;
	}

	body.rxp-catalog-unified #rex-light-viewer .viewer-header {
		padding-inline: 10px !important;
	}

	body.rxp-catalog-unified #rex-light-viewer .rxcat-quick-access {
		flex-direction: column;
		gap: 10px;
		margin-block: 18px 22px;
	}

	body.rxp-catalog-unified #rex-light-viewer .rxcat-tabs {
		grid-template-columns: 1fr;
		gap: 4px;
	}

	body.rxp-catalog-unified #rex-light-viewer .rxcat-download {
		flex-basis: auto;
		width: 100%;
	}

	body.rxp-catalog-unified #rex-light-viewer .toolbar {
		flex-wrap: wrap;
		gap: 8px;
		padding: 10px !important;
	}

	body.rxp-catalog-unified #rex-light-viewer .viewport {
		min-height: min(62vh, 540px);
	}

	body.rxp-catalog-unified #rex-light-viewer #main-img {
		max-height: min(62vh, 540px);
	}
}

@media (prefers-reduced-motion: reduce) {
	body.rxp-catalog-unified #rex-light-viewer *,
	body.rxp-catalog-unified #rex-light-viewer *::before,
	body.rxp-catalog-unified #rex-light-viewer *::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
}
