.pv360-catalog-dialog {
	--pv360-blue: #1a63bb;
	--pv360-navy: #0a264b;
	--pv360-muted: #526783;
	--pv360-line: #dce7f3;
	box-sizing: border-box;
	width: min(1120px, calc(100vw - 40px));
	max-width: none;
	max-height: min(92vh, 920px);
	max-height: min(92dvh, 920px);
	padding: 0;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.92);
	border-radius: 30px;
	background: #f8fbff;
	box-shadow: 0 36px 100px rgba(6, 28, 60, 0.3), 0 1px 0 #fff inset;
	color: var(--pv360-navy);
	color-scheme: light;
	font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

.pv360-catalog-dialog *,
.pv360-catalog-dialog *::before,
.pv360-catalog-dialog *::after {
	box-sizing: border-box;
}

.pv360-catalog-dialog[open] {
	display: flex;
	flex-direction: column;
}

.pv360-catalog-dialog::backdrop {
	background: linear-gradient(130deg, rgba(10, 38, 75, 0.6), rgba(26, 99, 187, 0.42));
	-webkit-backdrop-filter: blur(7px);
	backdrop-filter: blur(7px);
}

.pv360-catalog-header {
	display: flex;
	flex: 0 0 auto;
	align-items: flex-start;
	justify-content: space-between;
	gap: 24px;
	padding: 28px 32px 25px;
	border-bottom: 1px solid rgba(180, 205, 236, 0.58);
	background: radial-gradient(circle at 18% 0, rgba(211, 227, 255, 0.76), transparent 36%), linear-gradient(110deg, #fff, #f1f7ff 78%, #fff);
}

.pv360-catalog-heading {
	display: flex;
	align-items: center;
	gap: 17px;
	min-width: 0;
}

.pv360-catalog-mark {
	display: grid;
	width: 54px;
	height: 54px;
	flex: 0 0 54px;
	place-items: center;
	border: 1px solid rgba(255, 255, 255, 0.65);
	border-radius: 17px;
	background: linear-gradient(145deg, #1a63bb, #0a264b);
	box-shadow: 0 12px 24px rgba(26, 99, 187, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.26);
	color: #fff;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: -0.04em;
}

.pv360-catalog-eyebrow {
	display: block;
	margin-bottom: 3px;
	color: var(--pv360-blue);
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.17em;
}

.pv360-catalog-title {
	margin: 0;
	color: var(--pv360-navy);
	font-size: clamp(25px, 3vw, 34px);
	font-weight: 750;
	line-height: 1.15;
	letter-spacing: -0.035em;
}

.pv360-catalog-subtitle {
	margin: 5px 0 0;
	color: var(--pv360-muted);
	font-size: 13px;
	line-height: 1.45;
}

.pv360-catalog-dialog .pv360-catalog-close {
	display: grid;
	width: 44px;
	height: 44px;
	flex: 0 0 44px;
	place-items: center;
	padding: 0;
	border: 1px solid var(--pv360-line);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.92);
	box-shadow: 0 6px 16px rgba(10, 38, 75, 0.08);
	color: var(--pv360-navy);
	font: inherit;
	font-size: 27px;
	line-height: 1;
	cursor: pointer;
}

.pv360-catalog-dialog .pv360-catalog-close:hover,
.pv360-catalog-dialog .pv360-catalog-close:focus-visible {
	border-color: var(--pv360-blue);
	background: #fff;
	color: var(--pv360-blue);
	outline: 3px solid rgba(26, 99, 187, 0.17);
	outline-offset: 2px;
}

.pv360-catalog-body {
	min-height: 0;
	flex: 1 1 auto;
	padding: 26px 32px 34px;
	overflow-y: auto;
	overscroll-behavior: contain;
	background: radial-gradient(circle at 90% 3%, rgba(216, 231, 253, 0.64), transparent 42%), linear-gradient(140deg, #f9fbff, #f1f6fd);
	scrollbar-color: #9cb9db transparent;
}

.pv360-catalog-loading,
.pv360-catalog-error,
.pv360-catalog-empty {
	padding: 50px 16px;
	color: var(--pv360-muted);
	font-size: 14px;
	text-align: center;
}

.pv360-catalog-toolbar {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 13px;
	margin-bottom: 23px;
}

.pv360-catalog-search-wrap {
	position: relative;
	width: 100%;
}

.pv360-catalog-search-wrap::before {
	position: absolute;
	z-index: 1;
	top: 17px;
	left: 18px;
	width: 16px;
	height: 16px;
	border: 2px solid var(--pv360-blue);
	border-radius: 50%;
	content: '';
	pointer-events: none;
}

.pv360-catalog-search-wrap::after {
	position: absolute;
	z-index: 1;
	top: 33px;
	left: 31px;
	width: 8px;
	height: 2px;
	transform: rotate(45deg);
	transform-origin: left center;
	border-radius: 2px;
	background: var(--pv360-blue);
	content: '';
	pointer-events: none;
}

.pv360-catalog-dialog .pv360-catalog-search {
	width: 100%;
	min-height: 54px;
	padding: 13px 18px 13px 48px;
	border: 1px solid #cbdced;
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.92);
	box-shadow: 0 7px 22px rgba(10, 38, 75, 0.05), inset 0 1px 0 #fff;
	color: var(--pv360-navy);
	font: inherit;
	font-size: 14px;
}

.pv360-catalog-search::placeholder {
	color: #69809b;
	opacity: 1;
}

.pv360-catalog-dialog .pv360-catalog-search:focus {
	border-color: var(--pv360-blue);
	outline: 3px solid rgba(26, 99, 187, 0.16);
	outline-offset: 1px;
}

.pv360-catalog-filter-label {
	color: var(--pv360-navy);
	font-size: 12px;
	font-weight: 750;
	letter-spacing: 0.025em;
}

.pv360-catalog-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.pv360-catalog-scope,
.pv360-catalog-dialog .pv360-catalog-filter {
	display: inline-flex;
	align-items: center;
	min-height: 36px;
	padding: 8px 15px;
	border: 1px solid #d3e1f0;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.87);
	color: var(--pv360-navy);
	font: inherit;
	font-size: 12px;
	font-weight: 650;
	line-height: 1.2;
}

.pv360-catalog-dialog .pv360-catalog-filter {
	cursor: pointer;
	transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.pv360-catalog-scope {
	align-self: flex-start;
	border-color: #b7d4f3;
	background: #e9f3ff;
	color: #0d4f9b;
}

.pv360-catalog-dialog .pv360-catalog-filter:hover,
.pv360-catalog-dialog .pv360-catalog-filter:focus-visible {
	border-color: var(--pv360-blue);
	background: #edf5ff;
	color: var(--pv360-navy);
	outline: none;
}

.pv360-catalog-dialog .pv360-catalog-filter.is-active,
.pv360-catalog-dialog .pv360-catalog-filter.is-active:hover,
.pv360-catalog-dialog .pv360-catalog-filter.is-active:focus-visible {
	border-color: var(--pv360-blue);
	background: var(--pv360-blue);
	box-shadow: 0 7px 16px rgba(26, 99, 187, 0.18);
	color: #fff;
}

.pv360-catalog-dialog .pv360-catalog-filter:focus-visible,
.pv360-catalog-dialog .pv360-catalog-back:focus-visible,
.pv360-catalog-dialog .pv360-catalog-more:focus-visible,
.pv360-catalog-dialog .pv360-product-gallery-thumb:focus-visible {
	outline: 3px solid rgba(26, 99, 187, 0.25);
	outline-offset: 2px;
}

.pv360-catalog-count {
	margin: 0 0 14px;
	color: var(--pv360-muted);
	font-size: 12px;
	font-weight: 650;
}

.pv360-catalog-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.pv360-catalog-dialog .pv360-product-card {
	display: flex;
	min-width: 0;
	flex-direction: column;
	padding: 0;
	overflow: hidden;
	border: 1px solid #e1eaf5;
	border-radius: 19px;
	background: #fff;
	box-shadow: 0 10px 26px rgba(10, 38, 75, 0.07);
	color: var(--pv360-navy);
	font: inherit;
	text-align: left;
	cursor: pointer;
	transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.pv360-catalog-dialog .pv360-product-card:hover,
.pv360-catalog-dialog .pv360-product-card:focus-visible {
	transform: translateY(-3px);
	border-color: #98bfe9;
	background: #fff;
	box-shadow: 0 18px 34px rgba(10, 38, 75, 0.14);
	color: var(--pv360-navy);
	outline: 3px solid rgba(26, 99, 187, 0.14);
	outline-offset: 1px;
}

.pv360-product-media {
	position: relative;
	display: block;
	width: 100%;
	flex: 0 0 auto;
	aspect-ratio: 3.3 / 4;
	overflow: hidden;
	background: linear-gradient(145deg, #f7faff, #e8f0f9);
}

/* Override theme image rules without changing the uncropped detail view. */
.pv360-catalog-dialog .pv360-product-media > .pv360-product-image {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	max-width: none;
	height: 100%;
	max-height: 404px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	object-fit: fill;
	object-position: top;
}

.pv360-product-copy {
	display: flex;
	min-height: 118px;
	flex: 1;
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
	padding: 15px 17px 16px;
}

.pv360-product-copy small {
	color: var(--pv360-blue);
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.095em;
	line-height: 1.3;
	text-transform: uppercase;
}

.pv360-product-copy strong {
	display: block;
	color: var(--pv360-navy);
	font-size: 15px;
	font-weight: 750;
	line-height: 1.35;
	overflow-wrap: anywhere;
	white-space: normal;
}

.pv360-product-action {
	margin-top: auto;
	padding-top: 7px;
	color: var(--pv360-blue);
	font-size: 11px;
	font-weight: 750;
}

.pv360-product-action::after {
	margin-left: 5px;
	content: '→';
}

.pv360-catalog-dialog .pv360-catalog-more {
	display: block;
	margin: 24px auto 0;
	padding: 11px 22px;
	border: 1px solid #bed6ef;
	border-radius: 999px;
	background: #fff;
	box-shadow: 0 7px 18px rgba(10, 38, 75, 0.06);
	color: var(--pv360-blue);
	font: inherit;
	font-size: 13px;
	font-weight: 750;
	cursor: pointer;
}

.pv360-catalog-dialog .pv360-catalog-more:hover,
.pv360-catalog-dialog .pv360-catalog-more:focus-visible {
	border-color: var(--pv360-blue);
	background: var(--pv360-blue);
	color: #fff;
}

.pv360-catalog-dialog .pv360-catalog-back {
	display: inline-flex;
	align-items: center;
	margin-bottom: 20px;
	padding: 9px 15px;
	border: 1px solid #c7ddf3;
	border-radius: 999px;
	background: #fff;
	color: var(--pv360-blue);
	font: inherit;
	font-size: 12px;
	font-weight: 750;
	cursor: pointer;
}

.pv360-catalog-dialog .pv360-catalog-back:hover,
.pv360-catalog-dialog .pv360-catalog-back:focus-visible {
	border-color: var(--pv360-blue);
	background: #eaf4ff;
	color: var(--pv360-navy);
}

.pv360-product-detail {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 22px;
	align-items: start;
}

.pv360-product-detail.has-media {
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}

.pv360-product-detail-media {
	min-width: 0;
	padding: 12px;
	border: 1px solid rgba(255, 255, 255, 0.94);
	border-radius: 24px;
	background: linear-gradient(150deg, #fff, #eaf2fc);
	box-shadow: 0 12px 30px rgba(10, 38, 75, 0.08);
}

.pv360-catalog-dialog .pv360-product-detail-image {
	display: block;
	width: 100%;
	border-radius: 17px;
	background: #f5f8fc;
	object-fit: contain;
}

.pv360-catalog-dialog .pv360-product-fullsize {
	display: inline-flex;
	margin: 12px 4px 2px;
	color: var(--pv360-blue);
	font-size: 12px;
	font-weight: 750;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.pv360-catalog-dialog .pv360-product-fullsize:focus-visible {
	outline: 3px solid rgba(26, 99, 187, 0.35);
	outline-offset: 3px;
}

.pv360-product-gallery {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 11px;
}

.pv360-catalog-dialog .pv360-product-gallery-thumb {
	width: 58px;
	height: 58px;
	padding: 0;
	overflow: hidden;
	border: 2px solid transparent;
	border-radius: 11px;
	background: #e9eff7;
	cursor: pointer;
}

.pv360-catalog-dialog .pv360-product-gallery-thumb.is-active {
	border-color: var(--pv360-blue);
}

.pv360-product-gallery-thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.pv360-product-detail-copy {
	min-width: 0;
	padding: clamp(22px, 3vw, 34px);
	border: 1px solid #e0eaf5;
	border-radius: 24px;
	background: rgba(255, 255, 255, 0.94);
	box-shadow: 0 12px 30px rgba(10, 38, 75, 0.07);
}

.pv360-product-category {
	display: inline-flex;
	padding: 7px 11px;
	border: 1px solid #bfdbf6;
	border-radius: 999px;
	background: #eaf4ff;
	color: #0d4f9b;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.09em;
	line-height: 1.2;
	text-transform: uppercase;
}

.pv360-product-detail-summary {
	min-width: 0;
}

.pv360-catalog-dialog .pv360-product-quote {
	display: inline-flex;
	min-height: 48px;
	align-items: center;
	justify-content: center;
	gap: 12px;
	margin-top: 20px;
	padding: 13px 24px;
	border: 1px solid transparent;
	border-radius: 14px;
	background: var(--pv360-blue);
	box-shadow: 0 8px 20px rgba(26, 99, 187, 0.2);
	color: #fff;
	font: inherit;
	font-size: 14px;
	font-weight: 750;
	line-height: 1.4;
	text-decoration: none;
	transition: background-color 160ms ease, box-shadow 160ms ease;
}

.pv360-catalog-dialog .pv360-product-quote::after {
	content: '\2192';
}

.pv360-catalog-dialog .pv360-product-quote:hover {
	background: var(--pv360-navy);
	box-shadow: 0 10px 24px rgba(10, 38, 75, 0.22);
	color: #fff;
}

.pv360-catalog-dialog .pv360-product-quote:focus-visible {
	outline: 3px solid var(--pv360-blue);
	outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
	.pv360-catalog-dialog .pv360-product-quote {
		transition: none;
	}
}

.pv360-product-detail-copy > h3 {
	margin: 18px 0 25px;
	color: var(--pv360-navy);
	font-size: clamp(25px, 3vw, 34px);
	font-weight: 750;
	line-height: 1.18;
	letter-spacing: -0.035em;
	overflow-wrap: anywhere;
}

.pv360-product-specs-heading {
	display: block;
	padding-top: 20px;
	border-top: 1px solid var(--pv360-line);
	color: var(--pv360-navy);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.025em;
}

.pv360-product-specs {
	margin-top: 12px;
	color: #2a4360;
	font-size: 13px;
	line-height: 1.65;
	overflow-wrap: anywhere;
}

.pv360-product-specs p {
	margin: 0 0 10px;
}

.pv360-product-specs ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.pv360-product-specs li {
	position: relative;
	margin: 0;
	padding: 10px 0 10px 20px;
	border-bottom: 1px solid #edf2f8;
}

.pv360-product-specs li:last-child {
	border-bottom: 0;
}

.pv360-product-specs ul li::before {
	position: absolute;
	top: 19px;
	left: 2px;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--pv360-blue);
	content: '';
}

.pv360-product-specs a {
	color: #0d4f9b;
	text-decoration: underline;
}

@media (max-width: 900px) {
	.pv360-catalog-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 760px) {
	.pv360-product-detail.has-media {
		grid-template-columns: 1fr;
	}

	.pv360-catalog-dialog .pv360-product-detail-image {
		max-height: 44vh;
	}
}

@media (max-width: 560px) {
	.pv360-catalog-dialog {
		width: calc(100vw - 16px);
		max-height: 95vh;
		max-height: 95dvh;
		border-radius: 19px;
	}

	.pv360-catalog-header {
		gap: 12px;
		padding: 17px 18px;
	}

	.pv360-catalog-heading {
		gap: 11px;
	}

	.pv360-catalog-mark {
		width: 42px;
		height: 42px;
		flex-basis: 42px;
		border-radius: 13px;
		font-size: 11px;
	}

	.pv360-catalog-eyebrow {
		font-size: 8px;
		letter-spacing: 0.11em;
	}

	.pv360-catalog-title {
		font-size: 23px;
	}

	.pv360-catalog-subtitle {
		display: none;
	}

	.pv360-catalog-dialog .pv360-catalog-close {
		width: 38px;
		height: 38px;
		flex-basis: 38px;
	}

	.pv360-catalog-body {
		padding: 18px;
	}

	.pv360-catalog-grid {
		grid-template-columns: 1fr;
		gap: 11px;
	}

	.pv360-catalog-dialog .pv360-product-card.has-image {
		display: grid;
		grid-template-columns: 112px minmax(0, 1fr);
		height: 148px;
	}

	.pv360-product-media {
		height: 148px;
		aspect-ratio: auto;
	}

	.pv360-product-copy {
		min-height: 118px;
		padding: 12px;
	}

	.pv360-product-detail-copy {
		padding: 21px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.pv360-catalog-dialog .pv360-product-card,
	.pv360-catalog-dialog .pv360-catalog-filter {
		transition: none;
	}
}
