:root {
	--cnm-pcp-ink: #172033;
	--cnm-pcp-muted: #667085;
	--cnm-pcp-border: #e4e7ec;
	--cnm-pcp-soft: #f7f8fb;
	--cnm-pcp-orange: #ff7a00;
	--cnm-pcp-orange-dark: #d95f00;
	--cnm-pcp-blue: #2d21ee;
}

.cnm-sp-nav {
	position: relative;
	z-index: 20;
	display: flex;
	justify-content: center;
	gap: 8px;
	padding: 10px 24px;
	background: #172033;
	box-shadow: 0 4px 16px rgba(16, 24, 40, .12);
}

.cnm-sp-nav a {
	padding: 8px 12px;
	color: #fff !important;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none !important;
	border-radius: 7px;
}

.cnm-sp-nav a:hover,
.cnm-sp-nav a:focus-visible { color: #fff !important; background: rgba(255, 255, 255, .12); }

.cnm-pcp-confidence {
	clear: both;
	margin: 22px 0 12px;
	padding: 20px;
	background: #fff;
	border: 1px solid var(--cnm-pcp-border);
	border-radius: 14px;
	box-shadow: 0 10px 28px rgba(16, 24, 40, .08);
}

.cnm-pcp-kicker {
	display: block;
	margin-bottom: 5px;
	color: var(--cnm-pcp-orange);
	font-size: 11px;
	font-weight: 900;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.cnm-pcp-confidence h2,
.cnm-pcp-modal-dialog h2 {
	margin: 0;
	color: var(--cnm-pcp-ink);
	font-size: 23px;
	line-height: 1.2;
}

.cnm-pcp-facts {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 9px;
	margin: 16px 0;
}

.cnm-pcp-facts > div {
	padding: 11px 12px;
	background: var(--cnm-pcp-soft);
	border-radius: 9px;
}

.cnm-pcp-facts small,
.cnm-pcp-facts strong { display: block; }
.cnm-pcp-facts small { color: var(--cnm-pcp-muted); font-size: 11px; }
.cnm-pcp-facts strong { margin-top: 2px; color: var(--cnm-pcp-ink); font-size: 13px; line-height: 1.35; }

.cnm-pcp-fitment-list {
	margin: 14px 0;
	padding: 15px;
	background: #f3f8ff;
	border-left: 3px solid var(--cnm-pcp-blue);
	border-radius: 8px;
}

.cnm-pcp-fitment-list > strong { color: var(--cnm-pcp-ink); }
.cnm-pcp-fitment-list ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 12px; margin: 10px 0 0; padding: 0; list-style: none; }
.cnm-pcp-fitment-list li { color: #344054; font-size: 12px; line-height: 1.4; }
.cnm-pcp-fitment-list li span { margin-right: 5px; color: #0e9f6e; font-weight: 900; }
.cnm-pcp-fitment-note { margin: 14px 0; color: var(--cnm-pcp-muted); font-size: 13px; line-height: 1.55; }

.cnm-pcp-fitment-open {
	width: 100%;
	padding: 12px 16px;
	color: #fff;
	background: var(--cnm-pcp-blue);
	border: 0;
	border-radius: 8px;
	font-weight: 800;
	cursor: pointer;
}

.cnm-pcp-fitment-open:hover { background: #2116c7; }
.cnm-pcp-secure-note { margin: 10px 0 0; color: var(--cnm-pcp-muted); font-size: 11px; text-align: center; }

/* Live OEM product search */
.cnm-pcp-search-wrap { position: relative; width: 100%; }
.cnm-pcp-search-wrap > input { width: 100%; }
.cnm-pcp-search-results {
	position: absolute;
	top: calc(100% + 7px);
	left: 0;
	z-index: 99999;
	width: min(520px, 92vw);
	max-height: 430px;
	overflow-y: auto;
	background: #fff;
	border: 1px solid var(--cnm-pcp-border);
	border-radius: 12px;
	box-shadow: 0 18px 45px rgba(16, 24, 40, .2);
}

.cnm-pcp-search-item {
	display: grid;
	grid-template-columns: 62px 1fr;
	align-items: center;
	gap: 12px;
	padding: 10px 12px;
	color: var(--cnm-pcp-ink) !important;
	text-decoration: none !important;
	border-bottom: 1px solid #eef0f3;
}

.cnm-pcp-search-item:last-child { border-bottom: 0; }
.cnm-pcp-search-item:hover,
.cnm-pcp-search-item:focus { background: var(--cnm-pcp-soft); outline: 0; }
.cnm-pcp-search-item img { width: 62px; height: 62px; object-fit: contain; margin: 0 !important; background: #fff; border-radius: 7px; }
.cnm-pcp-search-item strong,
.cnm-pcp-search-item small { display: block; }
.cnm-pcp-search-item strong { font-size: 13px; line-height: 1.35; }
.cnm-pcp-search-item small { margin-top: 4px; color: var(--cnm-pcp-blue); font-size: 12px; font-weight: 800; }
.cnm-pcp-search-status { padding: 16px; color: var(--cnm-pcp-muted); font-size: 13px; }

/* Fitment request modal */
.cnm-pcp-modal[hidden] { display: none !important; }
.cnm-pcp-modal { position: fixed; inset: 0; z-index: 999999; display: grid; place-items: center; padding: 18px; }
.cnm-pcp-modal-backdrop { position: absolute; inset: 0; background: rgba(10, 16, 30, .72); backdrop-filter: blur(3px); }
.cnm-pcp-modal-dialog { position: relative; z-index: 1; width: min(660px, 100%); max-height: 92vh; overflow-y: auto; padding: clamp(24px, 5vw, 38px); background: #fff; border-radius: 17px; box-shadow: 0 25px 70px rgba(0, 0, 0, .35); }
.cnm-pcp-modal-dialog > p { margin: 10px 0 20px; color: var(--cnm-pcp-muted); font-size: 14px; line-height: 1.55; }
.cnm-pcp-modal-close { position: absolute; top: 12px; right: 14px; width: 38px; height: 38px; color: var(--cnm-pcp-ink); background: #f2f4f7; border: 0; border-radius: 50%; font-size: 25px; cursor: pointer; }
.cnm-pcp-modal-open { overflow: hidden; }
.cnm-pcp-fitment-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.cnm-pcp-fitment-form label { color: #344054; font-size: 12px; font-weight: 800; }
.cnm-pcp-fitment-form input,
.cnm-pcp-fitment-form textarea { width: 100%; margin-top: 5px; padding: 11px 12px; color: var(--cnm-pcp-ink); background: #fff; border: 1px solid #d0d5dd; border-radius: 8px; font: inherit; font-weight: 400; }
.cnm-pcp-fitment-form input:focus,
.cnm-pcp-fitment-form textarea:focus { border-color: var(--cnm-pcp-blue); outline: 3px solid rgba(45, 33, 238, .12); }
.cnm-pcp-fitment-form .cnm-pcp-wide,
.cnm-pcp-fitment-form button { grid-column: 1 / -1; }
.cnm-pcp-fitment-form button { padding: 13px 18px; color: #fff; background: var(--cnm-pcp-orange); border: 0; border-radius: 8px; font-weight: 900; cursor: pointer; }
.cnm-pcp-fitment-form button:hover { background: var(--cnm-pcp-orange-dark); }

/* Mobile purchase control */
.cnm-pcp-mobile-buy { display: none; }

/* Professional information footer; the existing legal company strip remains. */
.cnm-pcp-support-footer {
	display: grid;
	grid-template-columns: 1.45fr repeat(3, 1fr);
	gap: 34px;
	padding: clamp(34px, 6vw, 64px) max(24px, calc((100vw - 1180px) / 2));
	color: #d0d5dd;
	background: #172033;
}

.cnm-pcp-footer-brand > span { color: var(--cnm-pcp-orange); font-size: 11px; font-weight: 900; letter-spacing: .12em; }
.cnm-pcp-footer-brand h2 { margin: 9px 0; color: #fff; font-size: 24px; line-height: 1.2; }
.cnm-pcp-footer-brand p { margin: 0; color: #98a2b3; font-size: 13px; }
.cnm-pcp-support-footer > div:not(.cnm-pcp-footer-brand) { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.cnm-pcp-support-footer strong { margin-bottom: 5px; color: #fff; font-size: 13px; }
.cnm-pcp-support-footer a,
.cnm-pcp-support-footer span { color: #b9c0cc; font-size: 12px; text-decoration: none; }
.cnm-pcp-support-footer a:hover { color: #fff; }

@media (max-width: 800px) {
	.cnm-sp-nav { justify-content: flex-start; overflow-x: auto; }
	.cnm-sp-nav a { white-space: nowrap; }
	body.single-product { padding-bottom: 76px; }
	.cnm-pcp-mobile-buy {
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 99990;
		display: grid;
		grid-template-columns: 1fr auto;
		align-items: center;
		gap: 12px;
		padding: 10px 13px calc(10px + env(safe-area-inset-bottom));
		background: #fff;
		border-top: 1px solid var(--cnm-pcp-border);
		box-shadow: 0 -10px 30px rgba(16, 24, 40, .15);
	}
	.cnm-pcp-mobile-buy strong,
	.cnm-pcp-mobile-buy span { display: block; }
	.cnm-pcp-mobile-buy strong { max-width: 55vw; overflow: hidden; color: var(--cnm-pcp-ink); font-size: 12px; white-space: nowrap; text-overflow: ellipsis; }
	.cnm-pcp-mobile-buy span { margin-top: 2px; color: var(--cnm-pcp-blue); font-size: 14px; font-weight: 900; }
	.cnm-pcp-mobile-buy button { padding: 12px 17px; color: #fff; background: var(--cnm-pcp-orange); border: 0; border-radius: 8px; font-weight: 900; }
	.cnm-pcp-support-footer { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cnm-pcp-footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
	.cnm-pcp-facts,
	.cnm-pcp-fitment-list ul,
	.cnm-pcp-fitment-form,
	.cnm-pcp-support-footer { grid-template-columns: 1fr; }
	.cnm-pcp-fitment-form .cnm-pcp-wide,
	.cnm-pcp-fitment-form button,
	.cnm-pcp-footer-brand { grid-column: auto; }
	.cnm-pcp-support-footer { gap: 26px; }
}
