:root {
	--mccn-text: #111;
	--mccn-muted: #6e6e73;
	--mccn-line: #d8d8dc;
	--mccn-soft: #f5f5f7;
	--mccn-white: #fff;
	--mccn-blue: #0071e3;
	--mccn-blue-dark: #005bb5;
	--mccn-dark: #090909;
	--mccn-radius: 8px;
	--mccn-max: 1200px;
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	color: var(--mccn-text);
	background: var(--mccn-white);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
	font-size: 16px;
	line-height: 1.5;
	letter-spacing: 0;
}

a {
	color: inherit;
	text-decoration: none;
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link:focus {
	position: fixed;
	top: 12px;
	left: 12px;
	z-index: 1000;
	width: auto;
	height: auto;
	padding: 10px 14px;
	clip: auto;
	background: var(--mccn-white);
	border: 1px solid var(--mccn-line);
	border-radius: var(--mccn-radius);
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(250, 250, 252, 0.86);
	backdrop-filter: saturate(180%) blur(20px);
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.site-header__inner {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 24px;
	max-width: var(--mccn-max);
	min-height: 48px;
	margin: 0 auto;
	padding: 0 22px;
}

.site-title,
.site-branding .custom-logo-link {
	font-size: 15px;
	font-weight: 700;
	white-space: nowrap;
}

.site-branding img {
	max-height: 30px;
	width: auto;
}

.primary-navigation ul,
.site-footer ul {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 28px;
	padding: 0;
	margin: 0;
	list-style: none;
}

.primary-navigation a,
.header-actions a {
	color: rgba(0, 0, 0, 0.72);
	font-size: 13px;
	white-space: nowrap;
}

.primary-navigation a:hover,
.header-actions a:hover,
.site-footer a:hover {
	color: var(--mccn-blue);
}

.header-actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 18px;
}

.nav-toggle {
	display: none;
	width: 38px;
	height: 38px;
	padding: 0;
	border: 0;
	background: transparent;
}

.nav-toggle span:not(.screen-reader-text) {
	display: block;
	width: 18px;
	height: 1px;
	margin: 5px auto;
	background: var(--mccn-text);
	transition: transform 0.2s ease;
}

.site-main {
	min-height: 60vh;
}

.hero-section {
	display: grid;
	grid-template-rows: auto 1fr;
	place-items: center;
	min-height: calc(100vh - 48px);
	padding: 72px 20px 0;
	overflow: hidden;
	text-align: center;
	background: var(--mccn-soft);
}

.hero-section__content {
	max-width: 760px;
}

.eyebrow {
	margin: 0 0 8px;
	color: var(--mccn-muted);
	font-size: 14px;
	font-weight: 700;
}

.hero-section h1 {
	margin: 0;
	font-size: clamp(42px, 7vw, 78px);
	line-height: 1.04;
	font-weight: 800;
	letter-spacing: 0;
}

.hero-section p:not(.eyebrow) {
	max-width: 640px;
	margin: 14px auto 0;
	color: #333;
	font-size: clamp(18px, 2vw, 24px);
}

.hero-section img {
	width: min(920px, 96vw);
	margin-top: 28px;
	object-fit: contain;
}

.cta-row {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 24px;
}

.button,
.wp-block-button__link,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 10px 20px;
	border: 1px solid var(--mccn-blue);
	border-radius: 999px;
	background: var(--mccn-blue);
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	cursor: pointer;
}

.button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
	background: var(--mccn-blue-dark);
	border-color: var(--mccn-blue-dark);
	color: #fff;
}

.button--secondary {
	background: transparent;
	color: var(--mccn-blue);
}

.button--secondary:hover {
	background: var(--mccn-blue);
	color: #fff;
}

.button--small {
	min-height: 36px;
	padding: 8px 16px;
	font-size: 14px;
}

.text-link {
	display: inline-flex;
	margin-top: 14px;
	color: var(--mccn-blue);
	font-weight: 600;
}

.feature-split {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	padding: 12px;
	background: var(--mccn-white);
}

.feature-panel {
	display: grid;
	align-content: space-between;
	min-height: 660px;
	padding: 52px 28px 0;
	overflow: hidden;
	text-align: center;
	background: var(--mccn-soft);
	border-radius: var(--mccn-radius);
}

.feature-panel--dark {
	background: var(--mccn-dark);
	color: #fff;
}

.feature-panel--dark .eyebrow,
.feature-panel--dark p {
	color: rgba(255, 255, 255, 0.74);
}

.feature-panel h2,
.wide-banner h2,
.section-heading h2,
.section-heading h1 {
	margin: 0;
	font-size: clamp(32px, 4vw, 56px);
	line-height: 1.08;
	font-weight: 800;
	letter-spacing: 0;
}

.feature-panel p,
.wide-banner p {
	max-width: 520px;
	margin: 12px auto 0;
	color: var(--mccn-muted);
	font-size: 18px;
}

.feature-panel img {
	width: min(560px, 94%);
	margin: 38px auto 0;
	object-fit: contain;
}

.product-grid-section,
.content-section {
	max-width: var(--mccn-max);
	margin: 0 auto;
	padding: 72px 22px;
}

.content-section--narrow {
	max-width: 820px;
}

.section-heading {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 28px;
}

.section-heading a {
	color: var(--mccn-blue);
	font-weight: 600;
	white-space: nowrap;
}

.product-showcase-grid,
.post-list,
.woocommerce ul.products {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
	padding: 0;
	margin: 0;
	list-style: none;
}

.product-card,
.post-card,
.woocommerce ul.products li.product {
	display: flex;
	flex-direction: column;
	min-height: 100%;
	padding: 18px;
	background: var(--mccn-soft);
	border-radius: var(--mccn-radius);
	text-align: center;
}

.product-card img,
.woocommerce ul.products li.product img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: contain;
	margin: 0 auto 14px;
}

.product-card h3,
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.post-card h1,
.post-card h2 {
	margin: 0 0 8px;
	font-size: 20px;
	line-height: 1.2;
}

.product-card p {
	margin: 0 0 16px;
	color: var(--mccn-muted);
}

.product-card .button,
.woocommerce ul.products li.product .button {
	margin: auto auto 0;
}

.price,
.woocommerce .price {
	color: var(--mccn-text);
	font-weight: 700;
}

.wide-banner {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	align-items: center;
	gap: 32px;
	max-width: var(--mccn-max);
	margin: 12px auto 72px;
	padding: 52px;
	background: var(--mccn-soft);
	border-radius: var(--mccn-radius);
}

.wide-banner img {
	width: 100%;
	object-fit: contain;
}

.entry-content-wrap h1 {
	margin: 0 0 24px;
	font-size: clamp(34px, 5vw, 56px);
	line-height: 1.1;
}

.entry-content {
	color: #222;
	font-size: 18px;
}

.entry-content a {
	color: var(--mccn-blue);
}

.entry-hero-image {
	width: 100%;
	max-height: 520px;
	object-fit: cover;
	margin-bottom: 28px;
	border-radius: var(--mccn-radius);
}

.empty-state {
	text-align: center;
}

.site-footer {
	background: #f5f5f7;
	border-top: 1px solid var(--mccn-line);
}

.site-footer__inner {
	display: grid;
	grid-template-columns: 2fr repeat(3, 1fr);
	gap: 32px;
	max-width: var(--mccn-max);
	margin: 0 auto;
	padding: 42px 22px;
}

.site-footer h2,
.site-footer h3 {
	margin: 0 0 12px;
	font-size: 15px;
}

.site-footer p,
.site-footer a {
	display: block;
	margin: 0 0 8px;
	color: var(--mccn-muted);
	font-size: 13px;
}

.site-footer ul {
	display: block;
}

.site-footer__bottom {
	max-width: var(--mccn-max);
	margin: 0 auto;
	padding: 0 22px 28px;
	color: var(--mccn-muted);
	font-size: 12px;
}

.woocommerce div.product {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
	gap: 48px;
}

.woocommerce div.product div.images,
.woocommerce div.product div.summary {
	width: auto;
	float: none;
}

.woocommerce div.product .product_title {
	font-size: clamp(34px, 5vw, 56px);
	line-height: 1.08;
}

.woocommerce table.shop_table,
.woocommerce form.checkout,
.woocommerce .woocommerce-MyAccount-content,
.woocommerce .woocommerce-MyAccount-navigation {
	background: var(--mccn-white);
	border: 1px solid var(--mccn-line);
	border-radius: var(--mccn-radius);
}

.woocommerce input.input-text,
.woocommerce textarea,
.woocommerce select {
	min-height: 42px;
	padding: 9px 12px;
	border: 1px solid var(--mccn-line);
	border-radius: var(--mccn-radius);
}

@media (max-width: 900px) {
	.site-header__inner {
		grid-template-columns: auto auto auto;
	}

	.nav-toggle {
		display: inline-block;
		justify-self: center;
	}

	.primary-navigation {
		position: absolute;
		top: 48px;
		left: 0;
		right: 0;
		display: none;
		padding: 18px 22px 24px;
		background: rgba(250, 250, 252, 0.98);
		border-bottom: 1px solid var(--mccn-line);
	}

	.site-header.is-open .primary-navigation {
		display: block;
	}

	.primary-navigation ul {
		display: grid;
		justify-content: stretch;
		gap: 14px;
	}

	.primary-navigation a {
		display: block;
		font-size: 18px;
	}

	.feature-split,
	.wide-banner,
	.woocommerce div.product {
		grid-template-columns: 1fr;
	}

	.feature-panel {
		min-height: 560px;
	}

	.product-showcase-grid,
	.post-list,
	.woocommerce ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.site-footer__inner {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 620px) {
	.site-header__inner {
		padding: 0 14px;
		gap: 12px;
	}

	.header-actions {
		gap: 10px;
	}

	.header-actions a {
		font-size: 12px;
	}

	.hero-section {
		min-height: auto;
		padding-top: 54px;
	}

	.hero-section h1 {
		font-size: 42px;
	}

	.feature-split {
		padding: 8px;
		gap: 8px;
	}

	.feature-panel {
		min-height: 500px;
		padding: 38px 18px 0;
	}

	.product-grid-section,
	.content-section {
		padding: 52px 16px;
	}

	.section-heading {
		display: block;
	}

	.product-showcase-grid,
	.post-list,
	.woocommerce ul.products,
	.site-footer__inner {
		grid-template-columns: 1fr;
	}

	.wide-banner {
		margin: 8px 8px 52px;
		padding: 38px 18px;
		text-align: center;
	}
}
