:root {
	--cnm-ink: #172033;
	--cnm-muted: #667085;
	--cnm-border: #e4e7ec;
	--cnm-soft: #f7f8fb;
	--cnm-orange: #ff7a00;
	--cnm-orange-dark: #d95f00;
	--cnm-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 {
	background: rgba(255, 255, 255, .12);
	color: #fff !important;
}

.cnm-sp-hero,
.cnm-sp-trust,
.cnm-sp-categories,
.cnm-sp-guides,
.cnm-sp-products-heading {
	width: min(1180px, calc(100% - 32px));
	margin-left: auto;
	margin-right: auto;
}

.cnm-sp-hero {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
	align-items: center;
	gap: 44px;
	margin-top: 22px;
	margin-bottom: 16px;
	padding: clamp(28px, 5vw, 58px);
	color: #fff;
	background: radial-gradient(circle at 85% 20%, rgba(45, 33, 238, .38), transparent 35%), linear-gradient(135deg, #111827 0%, #1f2937 100%);
	border-radius: 22px;
	overflow: hidden;
	box-shadow: 0 20px 50px rgba(16, 24, 40, .18);
}

.cnm-sp-eyebrow,
.cnm-sp-section-heading span,
.cnm-sp-products-heading > span {
	display: block;
	margin-bottom: 8px;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--cnm-orange);
}

.cnm-sp-hero h1 {
	margin: 0 0 16px;
	color: #fff;
	font-size: clamp(34px, 5vw, 58px);
	line-height: 1.04;
	letter-spacing: -.035em;
}

.cnm-sp-hero-copy > p {
	max-width: 700px;
	margin: 0 0 22px;
	color: #d0d5dd;
	font-size: clamp(16px, 2vw, 19px);
	line-height: 1.6;
}

.cnm-sp-featured-product {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin: 0 0 24px;
	padding-left: 15px;
	border-left: 3px solid var(--cnm-orange);
}

.cnm-sp-featured-product strong { color: #fff; font-size: 16px; }
.cnm-sp-featured-product span { color: #b9c0cc; font-size: 14px; }
.cnm-sp-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.cnm-sp-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	padding: 12px 18px;
	font-weight: 800;
	text-decoration: none !important;
	border-radius: 9px;
	transition: transform .18s ease, background .18s ease;
}

.cnm-sp-btn:hover { transform: translateY(-2px); }
.cnm-sp-btn-primary { color: #fff !important; background: var(--cnm-orange); }
.cnm-sp-btn-primary:hover { background: var(--cnm-orange-dark); }
.cnm-sp-btn-primary .price { color: inherit !important; font-size: inherit !important; }
.cnm-sp-btn-primary .woocommerce-Price-amount { color: inherit !important; }
.cnm-sp-btn-secondary { color: #fff !important; border: 1px solid rgba(255, 255, 255, .35); }
.cnm-sp-btn-secondary:hover { background: rgba(255, 255, 255, .1); }

.cnm-sp-hero-visual {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 330px;
	padding: 28px;
	background: #fff;
	border-radius: 18px;
	box-shadow: 0 18px 40px rgba(0, 0, 0, .25);
}

.cnm-sp-hero-visual img {
	width: 100%;
	max-height: 310px;
	object-fit: contain;
	margin: 0 !important;
}

.cnm-sp-hero-visual > span {
	position: absolute;
	right: 14px;
	bottom: 14px;
	padding: 6px 9px;
	color: #fff;
	background: var(--cnm-blue);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .06em;
	text-transform: uppercase;
	border-radius: 6px;
}

.cnm-sp-trust {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin-bottom: 42px;
	padding: 18px 22px;
	background: #fff;
	border: 1px solid var(--cnm-border);
	border-radius: 14px;
	box-shadow: 0 8px 26px rgba(16, 24, 40, .06);
}

.cnm-sp-trust-item {
	display: flex;
	align-items: center;
	gap: 11px;
	padding: 7px 14px;
	border-right: 1px solid var(--cnm-border);
}

.cnm-sp-trust-item:last-child { border-right: 0; }
.cnm-sp-trust-icon { font-size: 24px; }
.cnm-sp-trust-item strong,
.cnm-sp-trust-item small { display: block; }
.cnm-sp-trust-item strong { color: var(--cnm-ink); font-size: 14px; }
.cnm-sp-trust-item small { margin-top: 2px; color: var(--cnm-muted); font-size: 12px; }

.cnm-sp-categories { margin-bottom: 42px; }
.cnm-sp-section-heading {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 18px;
}

.cnm-sp-section-heading h2,
.cnm-sp-products-heading h2 {
	margin: 0;
	color: var(--cnm-ink);
	font-size: clamp(26px, 3vw, 36px);
	line-height: 1.15;
}

.cnm-sp-section-heading > a { color: var(--cnm-blue); font-weight: 800; text-decoration: none; }
.cnm-sp-category-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }

.cnm-sp-category-card {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 13px;
	min-height: 104px;
	padding: 18px;
	color: var(--cnm-ink) !important;
	background: #fff;
	border: 1px solid var(--cnm-border);
	border-radius: 13px;
	text-decoration: none !important;
	transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.cnm-sp-category-card:hover {
	transform: translateY(-3px);
	border-color: rgba(255, 122, 0, .65);
	box-shadow: 0 12px 28px rgba(16, 24, 40, .1);
}

.cnm-sp-category-code {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	color: #fff;
	background: var(--cnm-ink);
	font-size: 12px;
	font-weight: 900;
	border-radius: 10px;
}

.cnm-sp-category-card strong,
.cnm-sp-category-card small { display: block; }
.cnm-sp-category-card strong { font-size: 16px; }
.cnm-sp-category-card small { margin-top: 3px; color: var(--cnm-muted); font-size: 12px; }
.cnm-sp-category-card b { color: var(--cnm-orange); font-size: 20px; }
.cnm-sp-products-heading { margin-top: 10px; margin-bottom: 22px; text-align: center; }

/* Consistent, conversion-focused product cards without changing product data. */
.woocommerce ul.products li.product {
	display: flex;
	flex-direction: column;
	padding: 14px 14px 16px !important;
	background: #fff;
	border: 1px solid var(--cnm-border);
	border-radius: 14px;
	box-shadow: 0 7px 22px rgba(16, 24, 40, .06);
	transition: transform .18s ease, box-shadow .18s ease;
}

.woocommerce ul.products li.product:hover {
	transform: translateY(-4px);
	box-shadow: 0 15px 34px rgba(16, 24, 40, .12);
}

.woocommerce ul.products li.product .woocommerce-loop-product__link {
	display: flex;
	flex: 1;
	flex-direction: column;
	text-decoration: none;
}

.woocommerce ul.products li.product a img {
	width: 100% !important;
	aspect-ratio: 1 / 1;
	object-fit: contain;
	margin: 0 0 15px !important;
	background: #fff;
	border-radius: 9px;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product h2,
.woocommerce ul.products li.product h3 {
	display: -webkit-box;
	min-height: 4.35em;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	color: var(--cnm-ink) !important;
	font-size: 14px !important;
	line-height: 1.45 !important;
}

.woocommerce ul.products li.product .price {
	margin: auto 0 12px !important;
	color: var(--cnm-blue) !important;
	font-size: 17px !important;
	font-weight: 900 !important;
}

.woocommerce ul.products li.product .button {
	width: 100%;
	margin-top: auto !important;
	padding: 12px 10px !important;
	color: #fff !important;
	background: var(--cnm-orange) !important;
	font-weight: 800 !important;
	text-align: center;
	border-radius: 8px !important;
}

.woocommerce ul.products li.product .button:hover { background: var(--cnm-orange-dark) !important; }
.woocommerce ul.products li.product .cnm-coming-soon { margin: auto 0 12px; color: #667085; }

.cnm-sp-guides {
	margin-top: 56px;
	margin-bottom: 52px;
	padding: clamp(24px, 4vw, 42px);
	background: var(--cnm-soft);
	border-radius: 18px;
}

.cnm-sp-guide-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 13px; }
.cnm-sp-guide-card { display: flex; flex-direction: column; padding: 18px; background: #fff; border: 1px solid var(--cnm-border); border-radius: 12px; }
.cnm-sp-guide-card > span { color: var(--cnm-orange); font-size: 11px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.cnm-sp-guide-card h3 { margin: 9px 0; font-size: 15px; line-height: 1.4; }
.cnm-sp-guide-card h3 a { color: var(--cnm-ink); text-decoration: none; }
.cnm-sp-guide-card p { color: var(--cnm-muted); font-size: 13px; line-height: 1.55; }
.cnm-sp-guide-link { margin-top: auto; color: var(--cnm-blue); font-size: 13px; font-weight: 800; text-decoration: none; }

@media (max-width: 960px) {
	.cnm-sp-nav { justify-content: flex-start; overflow-x: auto; }
	.cnm-sp-nav a { white-space: nowrap; }
	.cnm-sp-hero { grid-template-columns: 1fr; }
	.cnm-sp-hero-visual { min-height: 260px; }
	.cnm-sp-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cnm-sp-trust-item:nth-child(2) { border-right: 0; }
	.cnm-sp-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cnm-sp-guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
	.cnm-sp-hero,
	.cnm-sp-trust,
	.cnm-sp-categories,
	.cnm-sp-guides,
	.cnm-sp-products-heading { width: min(100% - 20px, 1180px); }
	.cnm-sp-hero { gap: 24px; padding: 26px 20px; border-radius: 15px; }
	.cnm-sp-hero h1 { font-size: 36px; }
	.cnm-sp-hero-actions { flex-direction: column; }
	.cnm-sp-btn { width: 100%; }
	.cnm-sp-trust { grid-template-columns: 1fr; padding: 10px 16px; }
	.cnm-sp-trust-item { border-right: 0; border-bottom: 1px solid var(--cnm-border); }
	.cnm-sp-trust-item:last-child { border-bottom: 0; }
	.cnm-sp-category-grid,
	.cnm-sp-guide-grid { grid-template-columns: 1fr; }
	.cnm-sp-section-heading { align-items: flex-start; flex-direction: column; }
}

