/* Maxi Expo Commerce — foundations */
:root {
	--mec-primary: #1463ff;
	--mec-primary-dark: #0044d7;
	--mec-navy: #0b1739;
	--mec-soft: #f3f7ff;
	--mec-text: #172033;
	--mec-accent: #10b981;
	--mec-border: #dfe6ef;
	--mec-muted: #64748b;
	--mec-white: #fff;
	--mec-container: 1380px;
	--mec-layout-gutter: 32px;
	--mec-content: 860px;
	--mec-radius: 16px;
	--mec-radius-sm: 9px;
	--mec-font-body: Inter, Arial, Helvetica, sans-serif;
	--mec-font-heading: Manrope, Inter, Arial, sans-serif;
	--mec-shadow: 0 18px 50px rgba(11, 23, 57, .10);
	--mec-shadow-sm: 0 10px 30px rgba(11, 23, 57, .07);
	--mec-admin-bar: 0px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--mec-white);
	color: var(--mec-text);
	font-family: var(--mec-font-body);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.65;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}
body.mec-menu-open, body.mec-filter-open { overflow: hidden; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
figure { margin: 0; }
a { color: var(--mec-primary); text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { color: var(--mec-primary-dark); }
button, input, select, textarea { font: inherit; }
button, [type="button"], [type="submit"] { cursor: pointer; }
input, select, textarea {
	width: 100%;
	min-height: 46px;
	border: 1px solid var(--mec-border);
	border-radius: var(--mec-radius-sm);
	background: #fff;
	color: var(--mec-text);
	padding: 10px 13px;
	transition: border-color .2s ease, box-shadow .2s ease;
}
textarea { min-height: 140px; resize: vertical; }
input:focus, select:focus, textarea:focus {
	outline: 0;
	border-color: var(--mec-primary);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--mec-primary) 16%, transparent);
}
::selection { background: var(--mec-primary); color: #fff; }

h1, h2, h3, h4, h5, h6 {
	margin: 0 0 .55em;
	color: var(--mec-navy);
	font-family: var(--mec-font-heading);
	font-weight: 800;
	line-height: 1.14;
	letter-spacing: -.035em;
}
h1 { font-size: clamp(2.35rem, 4.4vw, 4.9rem); }
h2 { font-size: clamp(1.9rem, 3vw, 3.15rem); }
h3 { font-size: clamp(1.25rem, 1.7vw, 1.65rem); }
h4 { font-size: 1.18rem; }
p { margin: 0 0 1.15em; }
ul, ol { padding-left: 1.25rem; }
hr { border: 0; border-top: 1px solid var(--mec-border); margin: 2rem 0; }
blockquote {
	margin: 2rem 0;
	border-left: 4px solid var(--mec-primary);
	background: var(--mec-soft);
	padding: 1.25rem 1.5rem;
	font-size: 1.08rem;
}
code, pre { font-family: Consolas, "Courier New", monospace; }
pre { overflow: auto; padding: 1rem; border-radius: var(--mec-radius-sm); background: #101827; color: #fff; }
table { width: 100%; border-collapse: collapse; }
th, td { border-bottom: 1px solid var(--mec-border); padding: .85rem; text-align: left; }
th { color: var(--mec-navy); font-weight: 700; }

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}
.screen-reader-text:focus, .mec-skip-link:focus {
	clip: auto !important;
	clip-path: none;
	height: auto;
	width: auto;
	left: 16px;
	top: 16px;
	z-index: 100000;
	background: #fff;
	color: var(--mec-navy);
	padding: 12px 16px;
	border-radius: 8px;
	box-shadow: var(--mec-shadow);
}
:focus-visible { outline: 3px solid color-mix(in srgb, var(--mec-primary) 45%, transparent); outline-offset: 3px; }

.mec-container { width: min(calc(100% - 40px), var(--mec-container)); margin-inline: auto; }

/* Three switchable site-width modes. The standard mode preserves the 1.0.0 layout. */
body.mec-layout-wide .mec-container {
	width: min(calc(100% - (var(--mec-layout-gutter) * 2)), 1920px);
	max-width: none;
}

body.mec-layout-full .mec-container {
	width: 100%;
	max-width: none;
	padding-inline: var(--mec-layout-gutter);
}

/* Builder content follows the active theme width without changing saved projects. */
body.mec-layout-wide .mxsb-container {
	width: min(calc(100% - (var(--mec-layout-gutter) * 2)), 1920px) !important;
	max-width: none !important;
}
body.mec-layout-full .mxsb-container {
	width: 100% !important;
	max-width: none !important;
	padding-inline: var(--mec-layout-gutter) !important;
}

@media (max-width: 680px) {
	body.mec-layout-wide .mec-container,
	body.mec-layout-wide .mxsb-container {
		width: min(calc(100% - 28px), 1920px) !important;
	}
	body.mec-layout-full .mec-container,
	body.mec-layout-full .mxsb-container {
		padding-inline: 14px !important;
	}
}
.mec-content-narrow { width: min(100%, var(--mec-content)); margin-inline: auto; }
.mec-main { min-height: 50vh; }
.mec-entry-container { padding-block: clamp(48px, 7vw, 100px); }
.mec-entry { width: min(100%, var(--mec-content)); margin-inline: auto; }
.mec-entry > :first-child { margin-top: 0; }
.mec-entry > :last-child { margin-bottom: 0; }
.mec-entry .alignwide { width: min(1180px, calc(100vw - 40px)); max-width: none; margin-left: 50%; transform: translateX(-50%); }
.mec-entry .alignfull { width: 100vw; max-width: none; margin-left: 50%; transform: translateX(-50%); }
.mec-front-content > .alignfull, .mec-full-width-template > article > .alignfull { margin-left: 0; width: 100%; transform: none; }

.mec-eyebrow {
	margin: 0 0 12px;
	color: var(--mec-primary);
	font-family: var(--mec-font-heading);
	font-size: .76rem;
	font-weight: 800;
	letter-spacing: .15em;
	text-transform: uppercase;
}
.mec-icon { width: 21px; height: 21px; flex: 0 0 auto; }
.mec-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.mec-button, a.mec-button, button.mec-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	min-height: 48px;
	border: 1px solid transparent;
	border-radius: var(--mec-radius-sm);
	background: var(--mec-primary);
	color: #fff;
	font-family: var(--mec-font-heading);
	font-weight: 750;
	line-height: 1;
	padding: 14px 20px;
	text-decoration: none;
	box-shadow: 0 10px 24px color-mix(in srgb, var(--mec-primary) 24%, transparent);
	transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.mec-button:hover { transform: translateY(-2px); background: var(--mec-primary-dark); color: #fff; box-shadow: 0 14px 30px color-mix(in srgb, var(--mec-primary) 30%, transparent); }
.mec-button--light { background: #fff; color: var(--mec-navy); box-shadow: 0 12px 30px rgba(0, 0, 0, .12); }
.mec-button--light:hover { background: var(--mec-soft); color: var(--mec-navy); }
.mec-button--ghost { border-color: rgba(255, 255, 255, .5); background: transparent; box-shadow: none; color: #fff; }
.mec-button--ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.mec-text-link { display: inline-flex; align-items: center; gap: 7px; color: var(--mec-primary); font-family: var(--mec-font-heading); font-weight: 750; text-decoration: none; }
.mec-text-link .mec-icon { width: 18px; height: 18px; transition: transform .2s ease; }
.mec-text-link:hover .mec-icon { transform: translateX(4px); }
.mec-center { display: flex; justify-content: center; margin-top: 32px; }

.mec-page-hero, .mec-single-hero {
	position: relative;
	overflow: hidden;
	background: linear-gradient(135deg, var(--mec-navy), color-mix(in srgb, var(--mec-primary) 42%, var(--mec-navy)));
	color: #fff;
	padding: clamp(56px, 8vw, 110px) 0;
}
.mec-page-hero::after, .mec-single-hero::after { content: ""; position: absolute; inset: auto -8% -70% auto; width: 520px; aspect-ratio: 1; border-radius: 50%; border: 90px solid rgba(255,255,255,.06); }
.mec-page-hero h1, .mec-single-hero h1 { position: relative; z-index: 1; max-width: 950px; color: #fff; }
.mec-page-hero p { position: relative; z-index: 1; max-width: 760px; font-size: 1.12rem; color: rgba(255,255,255,.78); }
.mec-breadcrumbs { margin-bottom: 22px; color: rgba(255,255,255,.72); font-size: .88rem; }
.mec-breadcrumbs a { color: #fff; }
.mec-breadcrumbs .woocommerce-breadcrumb { margin: 0; color: inherit; }


/* Compact hero used on individual WooCommerce products. */
.mec-product-page-hero { padding-block: clamp(38px, 5vw, 72px); }
.mec-product-page-hero .mec-container { position: relative; z-index: 1; }
.mec-product-page-hero .mec-breadcrumbs { margin-bottom: 16px; }
.mec-page-hero .mec-product-page-hero__eyebrow {
	margin: 0 0 10px;
	color: rgba(255,255,255,.76);
	font-family: var(--mec-font-heading);
	font-size: .76rem;
	font-weight: 800;
	letter-spacing: .12em;
	text-transform: uppercase;
}
.mec-product-page-hero__title {
	max-width: 1100px;
	color: #fff;
	font-family: var(--mec-font-heading);
	font-size: clamp(2rem, 4.6vw, 4.5rem);
	font-weight: 800;
	letter-spacing: -.04em;
	line-height: 1.04;
}
.mec-page-hero .mec-product-page-hero__lead {
	max-width: 850px;
	margin: 18px 0 0;
	color: rgba(255,255,255,.82);
	font-size: clamp(.96rem, 1.4vw, 1.08rem);
}
.mec-product-page-hero__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.mec-product-page-hero__meta :where(a, span) {
	display: inline-flex;
	align-items: center;
	min-height: 32px;
	border: 1px solid rgba(255,255,255,.22);
	border-radius: 999px;
	background: rgba(255,255,255,.08);
	padding: 6px 12px;
	color: #fff;
	font-size: .78rem;
	font-weight: 700;
	text-decoration: none;
}
.mec-product-page-hero__meta a:hover { background: rgba(255,255,255,.16); color: #fff; }

.mec-page-header { padding: clamp(48px, 7vw, 86px) 0 32px; max-width: 900px; }
.mec-page-header h1 { font-size: clamp(2.2rem, 4vw, 4rem); }
.mec-archive-description { max-width: 740px; color: var(--mec-muted); }

.mec-content-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 44px; padding-block: 70px; }
.mec-content-layout.has-sidebar { grid-template-columns: minmax(0, 1fr) 320px; }
.mec-content-column { min-width: 0; }
.mec-sidebar { min-width: 0; }
.widget { margin-bottom: 24px; border: 1px solid var(--mec-border); border-radius: var(--mec-radius); background: #fff; padding: 22px; }
.widget-title { font-size: 1.1rem; }
.widget ul { margin: 0; padding: 0; list-style: none; }
.widget li + li { margin-top: 8px; }
.widget a { color: var(--mec-text); text-decoration: none; }
.widget a:hover { color: var(--mec-primary); }

.mec-post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.mec-post-card { overflow: hidden; border: 1px solid var(--mec-border); border-radius: var(--mec-radius); background: #fff; box-shadow: var(--mec-shadow-sm); transition: transform .25s ease, box-shadow .25s ease; }
.mec-post-card:hover { transform: translateY(-5px); box-shadow: var(--mec-shadow); }
.mec-post-card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--mec-soft); }
.mec-post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.mec-post-card:hover .mec-post-card__media img { transform: scale(1.035); }
.mec-post-card__placeholder { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, var(--mec-soft), #e4ecfa); }
.mec-post-card__body { padding: 22px; }
.mec-post-card__body h2 { font-size: 1.25rem; }
.mec-post-card__body h2 a { color: var(--mec-navy); text-decoration: none; }
.mec-post-card__body p { color: var(--mec-muted); }
.mec-post-card__meta { color: var(--mec-primary) !important; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.mec-post-card--product .mec-post-card__media { aspect-ratio: 1; }
.mec-post-card--product .mec-post-card__media img { object-fit: contain; padding: 10px; }
.mec-search-product-price { margin: 15px 0; color: var(--mec-navy); font-size: 1.15rem; font-weight: 800; }

.mec-single-hero .mec-eyebrow a { color: #fff; text-decoration: none; }
.mec-post-meta { display: flex; flex-wrap: wrap; gap: 18px; color: rgba(255,255,255,.7); }
.mec-single-image { margin-top: -44px; position: relative; z-index: 2; }
.mec-single-image img { width: 100%; max-height: 720px; object-fit: cover; border-radius: var(--mec-radius); box-shadow: var(--mec-shadow); }
.mec-single .mec-entry { font-size: 1.04rem; }

.mec-comments { width: min(100%, var(--mec-content)); margin: 60px auto 0; padding-top: 40px; border-top: 1px solid var(--mec-border); }
.comment-list { list-style: none; padding: 0; }
.comment-body { border: 1px solid var(--mec-border); border-radius: var(--mec-radius-sm); padding: 20px; margin-bottom: 14px; }

.navigation.pagination, .woocommerce-pagination { margin-top: 40px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.page-numbers { display: inline-flex; min-width: 42px; min-height: 42px; align-items: center; justify-content: center; border: 1px solid var(--mec-border); border-radius: 9px; color: var(--mec-text); text-decoration: none; }
.page-numbers.current, a.page-numbers:hover { background: var(--mec-primary); border-color: var(--mec-primary); color: #fff; }
.post-navigation { width: min(100%, var(--mec-content)); margin: 50px auto 0; }
.post-navigation .nav-links { justify-content: space-between; }
.post-navigation a { display: block; max-width: 320px; color: var(--mec-navy); font-weight: 700; text-decoration: none; }

.mec-search-form { display: flex; max-width: 620px; gap: 8px; }
.mec-search-form label { flex: 1; }
.mec-search-form button { display: inline-flex; align-items: center; justify-content: center; width: 48px; border: 0; border-radius: var(--mec-radius-sm); background: var(--mec-primary); color: #fff; }
.mec-empty-state, .mec-error-card { width: min(100%, 700px); margin: 80px auto; text-align: center; border: 1px solid var(--mec-border); border-radius: var(--mec-radius); background: var(--mec-soft); padding: clamp(36px, 7vw, 80px); }
.mec-empty-state .mec-search-form, .mec-error-card .mec-search-form { margin: 24px auto; }
.mec-error-card > span { display: block; color: var(--mec-primary); font-family: var(--mec-font-heading); font-size: clamp(5rem, 16vw, 10rem); font-weight: 800; line-height: .85; opacity: .18; }

@media (max-width: 1100px) {
	.mec-post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.mec-content-layout.has-sidebar { grid-template-columns: 1fr; }
	.mec-sidebar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
}
@media (max-width: 782px) {
	.mec-container { width: min(calc(100% - 28px), var(--mec-container)); }
	.mec-entry .alignwide, .mec-entry .alignfull { width: calc(100vw - 28px); }
	.mec-post-grid { grid-template-columns: 1fr; }
	.mec-sidebar { grid-template-columns: 1fr; }
	.mec-content-layout { padding-block: 48px; }
	.mec-page-hero, .mec-single-hero { padding-block: 50px; }
	.mec-product-page-hero { padding-block: 34px 40px; }
	.mec-product-page-hero__title { font-size: clamp(1.75rem, 9vw, 2.65rem); }
	.mec-single-image { margin-top: -24px; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* 1.1.7: keep product breadcrumbs readable on the dark product hero.
 * WooCommerce's generic breadcrumb rules are loaded after the base stylesheet,
 * therefore the product-specific selector intentionally has higher specificity. */
body.single-product .mec-product-page-hero .mec-breadcrumbs,
body.single-product .mec-product-page-hero .mec-breadcrumbs .woocommerce-breadcrumb {
	color: rgba(255,255,255,.88) !important;
}
body.single-product .mec-product-page-hero .mec-breadcrumbs a,
body.single-product .mec-product-page-hero .mec-breadcrumbs .woocommerce-breadcrumb a {
	color: #fff !important;
	font-weight: 700;
	text-decoration-color: rgba(255,255,255,.48);
	text-underline-offset: 3px;
}
body.single-product .mec-product-page-hero .mec-breadcrumbs a:hover,
body.single-product .mec-product-page-hero .mec-breadcrumbs a:focus-visible {
	color: #fff !important;
	text-decoration-color: #fff;
}
