.ppm-showroom {
	--ppm-showroom-accent: #8f1719;
	--ppm-showroom-accent-dark: #641012;
	--ppm-showroom-ink: #161b25;
	--ppm-showroom-muted: #5f6876;
	--ppm-showroom-border: #e4e7ec;
	--ppm-showroom-soft: #f7f8fa;
	background: #fff;
	color: var(--ppm-showroom-ink);
	font-family: "Segoe UI", Tahoma, sans-serif;
}

.ppm-showroom *,
.ppm-showroom *::before,
.ppm-showroom *::after {
	box-sizing: border-box;
}

.ppm-showroom__inner {
	width: min(1198px, calc(100% - 48px));
	margin: 0 auto;
}

.ppm-showroom__hero {
	padding: 18px 0 20px;
	background: #fff;
}

.ppm-showroom__hero .ppm-showroom__inner {
	border-bottom: 3px solid var(--ppm-showroom-accent);
	text-align: center;
}

.ppm-showroom__eyebrow {
	margin: 0 0 4px;
	color: var(--ppm-showroom-muted);
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.ppm-showroom h1 {
	margin: 0;
	padding: 0 0 8px;
	color: var(--ppm-showroom-accent);
	font-size: clamp(2.1rem, 4vw, 3rem);
	font-weight: 800;
	line-height: 1.05;
}

.ppm-showroom__intro {
	max-width: 760px;
	margin: 0 auto 14px;
	color: var(--ppm-showroom-muted);
	font-size: 1rem;
	line-height: 1.65;
}

.ppm-showroom__intro p {
	margin: 0;
}

/* Temporarily simplify showroom categories; keep the top divider and navigation. */
.ppm-showroom-page .ppm-showroom__eyebrow,
.ppm-showroom-page .ppm-showroom__intro,
.ppm-showroom-page .ppm-showroom__toolbar {
	display: none;
}

.ppm-showroom-page .ppm-showroom__hero--hall {
	position: relative;
	height: 300px;
	padding: 0;
	overflow: hidden;
	background: #641012;
	isolation: isolate;
}

.ppm-showroom__hero-image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	z-index: -2;
}

.ppm-showroom__hero--hall::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(78, 8, 14, .94), rgba(113, 15, 24, .72) 32%, rgba(86, 10, 18, .08) 70%);
	z-index: -1;
}

.ppm-showroom__hero--hall .ppm-showroom__hero-copy {
	height: 100%;
	display: flex;
	align-items: center;
	border: 0;
	text-align: left;
}

.ppm-showroom .ppm-showroom__hero-description {
	width: min(520px, 75%);
	margin: 0;
	padding: 0;
	color: #fff;
	font-size: clamp(1.05rem, 1.65vw, 1.4rem);
	font-weight: 500;
	line-height: 1.55;
	overflow-wrap: anywhere;
	text-shadow: 0 2px 16px rgba(40, 0, 5, .25);
}

.ppm-showroom__content {
	padding: 28px 0 72px;
}

/* Reserve a separate title rail so the sticky heading never covers products. */
.ppm-showroom__layout {
	width: min(1310px, calc(100% - 48px));
	display: grid;
	grid-template-columns: 72px minmax(0, 1fr);
	gap: 32px;
}

.ppm-showroom__title-rail {
	padding-top: 90px;
}

.ppm-showroom .ppm-showroom__side-title {
	color: var(--ppm-showroom-accent);
	font-weight: 800;
	position: sticky;
	top: 24px;
	width: max-content;
	max-height: calc(100svh - 96px);
	margin: 0 auto;
	padding: 0;
	writing-mode: vertical-rl;
	text-orientation: mixed;
	transform: rotate(180deg);
	font-size: clamp(2rem, 4vw, 4rem);
	line-height: 1.1;
	overflow-wrap: anywhere;
}

.admin-bar .ppm-showroom .ppm-showroom__side-title {
	top: 56px;
}

.ppm-showroom__results {
	min-width: 0;
}

.ppm-showroom__toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 30px;
	padding: 14px 0;
	border-bottom: 1px solid var(--ppm-showroom-border);
}

.ppm-showroom__count {
	display: inline-flex;
	align-items: center;
	min-height: 34px;
	padding: 0 12px;
	border-radius: 6px;
	background: var(--ppm-showroom-soft);
	color: var(--ppm-showroom-ink);
	font-size: 0.86rem;
	font-weight: 800;
	white-space: nowrap;
}

.ppm-showroom__tabs {
	display: flex;
	flex: 1 1 auto;
	flex-wrap: nowrap;
	justify-content: flex-end;
	gap: 6px;
	min-width: 0;
	overflow: hidden;
}

.ppm-showroom__tabs a,
.ppm-showroom__tabs button {
	display: inline-flex;
	align-items: center;
	min-height: 34px;
	padding: 0 11px;
	border: 1px solid var(--ppm-showroom-border);
	border-radius: 6px;
	background: #fff;
	color: #303744;
	font-size: 0.82rem;
	font-weight: 800;
	text-decoration: none;
	text-transform: uppercase;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.ppm-showroom__tabs a.is-hidden {
	display: none;
}

.ppm-showroom__tabs a:hover,
.ppm-showroom__tabs a:focus-visible,
.ppm-showroom__tabs a.is-active,
.ppm-showroom__tabs button:hover:not(:disabled),
.ppm-showroom__tabs button:focus-visible:not(:disabled) {
	border-color: var(--ppm-showroom-accent);
	background: var(--ppm-showroom-accent);
	color: #fff;
	outline: none;
}

.ppm-showroom__tabs .ppm-showroom__tab-arrow {
	justify-content: center;
	width: 34px;
	min-width: 34px;
	padding: 0;
	font-size: 1.25rem;
	line-height: 1;
	text-transform: none;
}

.ppm-showroom__tabs .ppm-showroom__tab-arrow.is-disabled,
.ppm-showroom__tabs .ppm-showroom__tab-arrow:disabled {
	border: 1px solid var(--ppm-showroom-border);
	background: #f8fafc;
	color: #cbd5e1;
	cursor: default;
}

.ppm-showroom__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 48px 64px;
	align-items: start;
}

.ppm-showroom-card {
	display: grid;
	grid-template-rows: 240px auto;
	min-width: 0;
	background: #fff;
}

.ppm-showroom-card__image-link {
	display: flex;
	align-items: flex-end;
	justify-content: center;
	width: 100%;
	height: 240px;
	padding: 0 10px 6px;
	color: inherit;
	text-decoration: none;
}

.ppm-showroom-card__image {
	display: block;
	max-width: 100%;
	max-height: 230px;
	width: auto;
	height: auto;
	object-fit: contain;
	transition: transform 0.18s ease;
}

.ppm-showroom-card__image-link:hover .ppm-showroom-card__image,
.ppm-showroom-card__image-link:focus-visible .ppm-showroom-card__image {
	transform: translateY(-3px);
}

.ppm-showroom-card__image-link:focus-visible {
	outline: 3px solid rgba(143, 23, 25, 0.22);
	outline-offset: 4px;
}

.ppm-showroom-card__placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 170px;
	border: 1px dashed #cbd5e1;
	border-radius: 8px;
	background: #f8fafc;
	color: #64748b;
	font-size: 0.9rem;
	font-weight: 700;
}

.ppm-showroom-card__body {
	min-width: 0;
}

.ppm-showroom-card h2 {
	margin: 0 0 8px;
	background: var(--ppm-showroom-accent);
	color: #fff;
	font-size: 1.22rem;
	font-weight: 800;
	line-height: 1.1;
	text-align: center;
}

.ppm-showroom-card h2 a {
	display: block;
	padding: 6px 8px 7px;
	color: inherit;
	text-decoration: none;
}

.ppm-showroom-card h2 a:hover,
.ppm-showroom-card h2 a:focus-visible {
	background: var(--ppm-showroom-accent-dark);
	color: #fff;
	outline: none;
}

.ppm-showroom-card__status {
	display: inline-flex;
	align-items: center;
	min-height: 24px;
	margin: 0 0 8px;
	padding: 0 8px;
	border-radius: 6px;
	background: #fff7ed;
	color: #9a3412;
	font-size: 0.74rem;
	font-weight: 800;
	text-transform: uppercase;
}

.ppm-showroom-card p {
	margin: 0;
	color: #202632;
	font-size: 0.98rem;
	line-height: 1.36;
	text-align: justify;
}

.ppm-showroom__pagination {
	margin-top: 44px;
}

.ppm-showroom__pagination ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ppm-showroom__pagination a,
.ppm-showroom__pagination span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	min-height: 40px;
	padding: 0 12px;
	border: 1px solid var(--ppm-showroom-border);
	border-radius: 6px;
	background: #fff;
	color: var(--ppm-showroom-ink);
	font-weight: 800;
	text-decoration: none;
}

.ppm-showroom__pagination .current,
.ppm-showroom__pagination a:hover,
.ppm-showroom__pagination a:focus-visible {
	border-color: var(--ppm-showroom-accent);
	background: var(--ppm-showroom-accent);
	color: #fff;
	outline: none;
}

.ppm-showroom__empty {
	max-width: 720px;
	margin: 32px auto 0;
	padding: 36px;
	border: 1px solid var(--ppm-showroom-border);
	border-radius: 8px;
	background: var(--ppm-showroom-soft);
	text-align: center;
}

.ppm-showroom__empty h2 {
	margin: 0 0 8px;
	color: var(--ppm-showroom-accent);
	font-size: 1.5rem;
}

.ppm-showroom__empty p {
	margin: 0;
	color: var(--ppm-showroom-muted);
}

@media (max-width: 1080px) {
	.ppm-showroom__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 42px 34px;
	}
}

@media (max-width: 780px) {
	.ppm-showroom__hero-image {
		object-position: 72% center;
	}

	.ppm-showroom__layout {
		display: block;
	}

	.ppm-showroom__title-rail {
		padding-top: 0;
	}

	.ppm-showroom .ppm-showroom__side-title {
		position: static;
		width: auto;
		max-height: none;
		margin: 0 0 20px;
		writing-mode: horizontal-tb;
		transform: none;
		font-size: clamp(2rem, 7vw, 3rem);
	}

	.ppm-showroom__inner {
		width: min(100% - 32px, 1198px);
	}

	.ppm-showroom__toolbar {
		align-items: stretch;
		flex-direction: column;
	}

	.ppm-showroom__tabs {
		justify-content: flex-start;
	}

	.ppm-showroom__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 34px 22px;
	}

	.ppm-showroom-card {
		grid-template-rows: 210px auto;
	}

	.ppm-showroom-card__image-link {
		height: 210px;
	}

	.ppm-showroom-card__image {
		max-height: 200px;
	}
}

@media (max-width: 520px) {
	.ppm-showroom__content {
		padding-bottom: 48px;
	}

	.ppm-showroom__grid {
		grid-template-columns: 1fr;
		gap: 36px;
	}

	.ppm-showroom-card {
		grid-template-rows: 230px auto;
	}

	.ppm-showroom-card__image-link {
		height: 230px;
	}

	.ppm-showroom-card__image {
		max-height: 220px;
	}

	.ppm-showroom-card p {
		text-align: left;
	}
}
