/*
 * MedicaCastle The Proteas — front-end styles.
 * Every rule is scoped to .mc-scope (or .mc-site for page-level layout) so the theme is left alone.
 * Brand tokens come from the logo: deep brown, burgundy, crest red, warm ivory.
 */

:root {
	--mc-brown: #3e1f14;
	--mc-brown-2: #55291b;
	--mc-burgundy: #7a1c1c;
	--mc-red: #c62828;
	--mc-red-hover: #a31f1f;
	--mc-olive: #4a3a1e;
	--mc-ivory: #faf6f0;
	--mc-ivory-2: #f3ece2;
	--mc-sand: #e8ded2;
	--mc-sand-2: #d9cbbb;
	--mc-text: #2b2522;
	--mc-muted: #6b5a50;
	--mc-bg: #ffffff;
	--mc-ok: #2e6b3f;
	--mc-ok-bg: #eaf4ec;
	--mc-warn-bg: #fdf3e2;
	--mc-font-display: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
	--mc-font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--mc-radius: 8px;
	--mc-radius-sm: 6px;
	--mc-shadow: 0 1px 2px rgba(62, 31, 20, .06), 0 8px 24px -12px rgba(62, 31, 20, .18);
	--mc-shadow-lg: 0 2px 4px rgba(62, 31, 20, .06), 0 18px 40px -18px rgba(62, 31, 20, .28);
	--mc-container: 1200px;
	--mc-gutter: clamp(16px, 4vw, 32px);
	--mc-section: clamp(56px, 8vw, 96px);
	--mc-focus: 0 0 0 3px rgba(198, 40, 40, .35);
}

/* ---------- Page-level layout on MedicaCastle templates (Astra) ---------- */
.mc-site .site-content > .ast-container:has(> #primary .mc-main),
.mc-site .site-content > .ast-container:has(.mc-main) {
	max-width: none;
	padding: 0;
	display: block;
}
.mc-site #primary:has(.mc-main) { margin: 0; padding: 0; width: 100%; }
.mc-main { display: block; }

/* ---------- Base ---------- */
.mc-scope {
	font-family: var(--mc-font-body);
	color: var(--mc-text);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
.mc-scope *, .mc-scope *::before, .mc-scope *::after { box-sizing: border-box; }
.mc-scope img { max-width: 100%; height: auto; }
.mc-scope a { color: var(--mc-burgundy); text-decoration: none; }
.mc-scope a:hover { color: var(--mc-red); }
.mc-scope :focus-visible { outline: none; box-shadow: var(--mc-focus); border-radius: 4px; }
.mc-scope ul, .mc-scope ol { margin: 0; padding: 0; list-style: none; }
.mc-scope p { margin: 0 0 1em; }
.mc-scope p:last-child { margin-bottom: 0; }
.mc-scope [hidden] { display: none !important; }
.mc-scope .screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}

.mc-container { width: 100%; max-width: var(--mc-container); margin: 0 auto; padding: 0 var(--mc-gutter); }
.mc-container-narrow { max-width: 820px; margin: 0 auto; padding: 0 var(--mc-gutter); }

/* ---------- Type ---------- */
.mc-scope .mc-display,
.mc-scope .mc-h1,
.mc-scope .mc-h2,
.mc-scope .mc-h3 {
	font-family: var(--mc-font-display);
	color: var(--mc-brown);
	font-weight: 600;
	letter-spacing: -.005em;
	line-height: 1.1;
	margin: 0 0 .4em;
}
.mc-scope .mc-display { font-size: clamp(2.5rem, 5.4vw, 4.1rem); font-weight: 600; }
.mc-scope .mc-h1 { font-size: clamp(2.1rem, 4vw, 3rem); }
.mc-scope .mc-h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); }
.mc-scope .mc-h3 { font-size: clamp(1.4rem, 2.2vw, 1.7rem); }
.mc-scope .mc-h4 {
	font-family: var(--mc-font-body);
	font-size: 1.05rem;
	font-weight: 600;
	color: var(--mc-brown);
	line-height: 1.35;
	margin: 0 0 .4em;
}
.mc-scope .mc-lead { font-size: clamp(1.05rem, 1.4vw, 1.18rem); color: var(--mc-muted); max-width: 62ch; }
.mc-scope .mc-eyebrow {
	font-size: .78rem;
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--mc-burgundy);
	margin: 0 0 .9em;
	display: inline-flex;
	align-items: center;
	gap: .6em;
}
.mc-scope .mc-eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; opacity: .7; }
.mc-scope .mc-eyebrow--light { color: #f1d9c9; }
.mc-scope .mc-link { font-weight: 600; display: inline-flex; align-items: center; gap: .35em; }
.mc-icon { flex-shrink: 0; vertical-align: middle; }

/* ---------- Buttons ---------- */
.mc-scope .mc-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .5em;
	min-height: 44px;
	padding: .65em 1.25em;
	border-radius: var(--mc-radius-sm);
	border: 1px solid transparent;
	font-family: var(--mc-font-body);
	font-size: .95rem;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease;
	white-space: nowrap;
}
.mc-scope .mc-btn--lg { min-height: 52px; padding: .8em 1.6em; font-size: 1rem; }
.mc-scope .mc-btn--block { width: 100%; }
.mc-scope .mc-btn--primary { background: var(--mc-red); color: #fff; }
.mc-scope .mc-btn--primary:hover { background: var(--mc-red-hover); color: #fff; }
.mc-scope .mc-btn--secondary { background: #fff; color: var(--mc-brown); border-color: var(--mc-brown); }
.mc-scope .mc-btn--secondary:hover { background: var(--mc-brown); color: #fff; }
.mc-scope .mc-btn--ghost { background: transparent; color: var(--mc-brown); border-color: var(--mc-sand-2); }
.mc-scope .mc-btn--ghost:hover { border-color: var(--mc-brown); color: var(--mc-brown); }
.mc-scope .mc-btn--light { background: var(--mc-ivory); color: var(--mc-brown); }
.mc-scope .mc-btn--light:hover { background: #fff; color: var(--mc-red); }
.mc-scope .mc-btn--outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.mc-scope .mc-btn--outline-light:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .08); }
.mc-scope .mc-btn[disabled], .mc-scope .mc-btn[aria-disabled="true"] { opacity: .6; cursor: not-allowed; }
.mc-scope .mc-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Badges ---------- */
.mc-scope .mc-badge {
	display: inline-flex; align-items: center;
	font-size: .7rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase;
	padding: .3em .6em; border-radius: 4px; line-height: 1.2;
}
.mc-scope .mc-badge--rx { background: #fbe9e7; color: var(--mc-burgundy); border: 1px solid #f2c9c3; }
.mc-scope .mc-badge--neutral { background: var(--mc-ivory-2); color: var(--mc-olive); border: 1px solid var(--mc-sand); }
.mc-scope .mc-badge--sample { background: var(--mc-warn-bg); color: #8a5a00; border: 1px solid #f0d9a8; }

/* ---------- Header ---------- */
.mc-header { position: sticky; top: 0; z-index: 990; background: #fff; }
.admin-bar .mc-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .mc-header { top: 0; } }
.mc-topbar { background: var(--mc-brown); color: #efe4d6; font-size: .82rem; }
.mc-topbar__inner { display: flex; align-items: center; gap: 22px; min-height: 36px; }
.mc-topbar__item { display: inline-flex; align-items: center; gap: 6px; color: #efe4d6 !important; }
.mc-topbar a.mc-topbar__item:hover { color: #fff !important; }
.mc-topbar__spacer { flex: 1; }
.mc-navbar { border-bottom: 1px solid var(--mc-sand); background: rgba(255, 255, 255, .97); backdrop-filter: saturate(1.2) blur(6px); }
.mc-navbar__inner { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.mc-brand { display: inline-flex; align-items: center; }
.mc-brand img { height: 50px; width: auto; display: block; }
.mc-nav { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.mc-nav__list { display: flex; align-items: center; gap: 4px; }
.mc-nav__list > li { position: relative; }
.mc-nav__list a {
	display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px;
	color: var(--mc-text) !important; font-weight: 500; font-size: .95rem; border-radius: 6px; white-space: nowrap;
}
.mc-nav__list a:hover { color: var(--mc-red) !important; }
.mc-nav__list .current-menu-item > a, .mc-nav__list a[aria-current="page"] { color: var(--mc-burgundy) !important; box-shadow: inset 0 -2px 0 var(--mc-red); border-radius: 0; }
.mc-nav__list .sub-menu {
	position: absolute; top: 100%; left: 0; min-width: 230px; background: #fff; border: 1px solid var(--mc-sand);
	border-radius: var(--mc-radius); box-shadow: var(--mc-shadow-lg); padding: 6px; display: none;
}
.mc-nav__list li:hover > .sub-menu, .mc-nav__list li:focus-within > .sub-menu { display: block; }
.mc-nav__list .sub-menu a { width: 100%; }
.mc-nav__cta { position: relative; }
.mc-count {
	display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; padding: 0 6px;
	border-radius: 11px; background: #fff; color: var(--mc-red); font-size: .75rem; font-weight: 700; line-height: 1;
}
.mc-nav-toggle {
	display: none; margin-left: auto; width: 44px; height: 44px; align-items: center; justify-content: center;
	border: 1px solid var(--mc-sand) !important; border-radius: 8px; background: #fff !important; color: var(--mc-brown) !important; padding: 0 !important;
}

@media (max-width: 1180px) {
	.mc-navbar__inner { min-height: 66px; }
	.mc-brand img { height: 42px; }
	.mc-nav-toggle { display: inline-flex; }
	.mc-nav {
		position: absolute; left: 0; right: 0; top: 100%;
		flex-direction: column; align-items: stretch; gap: 12px;
		background: #fff; border-bottom: 1px solid var(--mc-sand); box-shadow: var(--mc-shadow-lg);
		padding: 12px var(--mc-gutter) 20px; display: none;
	}
	.mc-header.is-open .mc-nav { display: flex; }
	.mc-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
	.mc-nav__list a { width: 100%; min-height: 48px; border-bottom: 1px solid var(--mc-ivory-2); border-radius: 0; padding: 0 4px; }
	.mc-nav__list .current-menu-item > a, .mc-nav__list a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--mc-red); padding-left: 12px; }
	.mc-nav__list .sub-menu { position: static; display: block; border: 0; box-shadow: none; padding: 0 0 0 14px; }
	.mc-nav__cta { width: 100%; }
}
@media (max-width: 640px) {
	.mc-hide-sm { display: none !important; }
	.mc-topbar__inner { gap: 14px; }
	.mc-brand img { height: 38px; }
}

/* ---------- Sections ---------- */
.mc-section { padding: var(--mc-section) 0; }
.mc-section--tint { background: var(--mc-ivory); }
.mc-section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(28px, 4vw, 44px); flex-wrap: wrap; }
.mc-section__head .mc-h2 { margin: 0; }
.mc-section__head--center { justify-content: center; text-align: center; }
.mc-section__head--center .mc-eyebrow { justify-content: center; }
.mc-split { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(24px, 5vw, 72px); align-items: start; }
@media (max-width: 860px) { .mc-split { grid-template-columns: 1fr; } }

/* ---------- Hero ---------- */
.mc-hero {
	position: relative; overflow: hidden;
	background:
		radial-gradient(1200px 500px at 85% 10%, rgba(198, 40, 40, .07), transparent 60%),
		linear-gradient(180deg, var(--mc-ivory) 0%, #fff 100%);
	border-bottom: 1px solid var(--mc-sand);
}
.mc-hero__inner { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(24px, 4vw, 64px); align-items: center; padding-top: clamp(48px, 8vw, 104px); padding-bottom: clamp(48px, 8vw, 104px); }
.mc-hero .mc-lead { margin-bottom: 1.8em; }
.mc-hero__facts { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 32px !important; padding-top: 24px !important; border-top: 1px solid var(--mc-sand); }
.mc-hero__facts li { position: relative; padding-left: 22px; font-size: .92rem; color: var(--mc-muted); }
.mc-hero__facts li::before { content: ""; position: absolute; left: 0; top: .5em; width: 10px; height: 10px; border: 2px solid var(--mc-red); transform: rotate(45deg); border-radius: 1px; }
.mc-hero__art { display: flex; justify-content: center; }
.mc-crest-ring {
	position: relative; width: min(420px, 80vw); aspect-ratio: 1; border-radius: 50%;
	display: grid; place-items: center;
	background: radial-gradient(circle, #fff 0 58%, var(--mc-ivory) 58.5% 100%);
	box-shadow: inset 0 0 0 1px var(--mc-sand), 0 30px 60px -30px rgba(62, 31, 20, .35);
}
.mc-crest-ring::before, .mc-crest-ring::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.mc-crest-ring::before { inset: -18px; border: 1px solid var(--mc-sand); }
.mc-crest-ring::after { inset: -40px; border: 1px dashed rgba(122, 28, 28, .18); }
.mc-crest-ring img { width: 62%; height: auto; }
@media (max-width: 860px) {
	.mc-hero__inner { grid-template-columns: 1fr; text-align: left; }
	.mc-hero__art { order: -1; }
	.mc-crest-ring { width: min(240px, 60vw); }
	.mc-crest-ring::after { display: none; }
}

/* ---------- Page hero (inner pages) ---------- */
.mc-page-hero { background: var(--mc-ivory); border-bottom: 1px solid var(--mc-sand); padding: clamp(28px, 5vw, 56px) 0 clamp(28px, 4vw, 44px); position: relative; overflow: hidden; }
.mc-page-hero::after {
	content: ""; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border-radius: 50%;
	border: 1px solid var(--mc-sand); box-shadow: 0 0 0 22px rgba(232, 222, 210, .35);
	pointer-events: none;
}
.mc-page-hero .mc-h1 { margin-bottom: .25em; }
.mc-breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: .85rem; color: var(--mc-muted); margin-bottom: 14px; }
.mc-breadcrumb a { color: var(--mc-muted) !important; }
.mc-breadcrumb a:hover { color: var(--mc-red) !important; }
.mc-breadcrumb [aria-current] { color: var(--mc-text); }

/* ---------- Grids ---------- */
.mc-grid { display: grid; gap: clamp(16px, 2vw, 24px); }
.mc-grid--products { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.mc-grid--cats { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.mc-grid--features { grid-template-columns: repeat(4, 1fr); }
.mc-grid--two { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 760px) { .mc-grid--two { grid-template-columns: 1fr; } }
.mc-grid--people { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px) { .mc-grid--features, .mc-grid--people { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
	.mc-grid--features { grid-template-columns: 1fr; }
	.mc-grid--products { grid-template-columns: 1fr; }
	.mc-grid--people { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 420px) and (max-width: 560px) { .mc-grid--products { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Category cards ---------- */
.mc-cat {
	display: flex; flex-direction: column; gap: 8px; height: 100%;
	padding: 22px; background: #fff; border: 1px solid var(--mc-sand); border-radius: var(--mc-radius);
	color: var(--mc-text) !important; transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.mc-cat:hover { border-color: var(--mc-sand-2); box-shadow: var(--mc-shadow); transform: translateY(-2px); }
.mc-cat__icon { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: var(--mc-burgundy); background: var(--mc-ivory); border: 1px solid var(--mc-sand); margin-bottom: 6px; }
.mc-cat__name { font-family: var(--mc-font-display); font-size: 1.35rem; font-weight: 600; color: var(--mc-brown); line-height: 1.15; }
.mc-cat__desc { font-size: .9rem; color: var(--mc-muted); }
.mc-cat__more { margin-top: auto; padding-top: 8px; font-size: .88rem; font-weight: 600; color: var(--mc-burgundy); display: inline-flex; align-items: center; gap: 6px; }
.mc-cat:hover .mc-cat__more { color: var(--mc-red); }
@media (prefers-reduced-motion: reduce) { .mc-cat, .mc-card { transition: none !important; transform: none !important; } }

/* ---------- Product cards ---------- */
.mc-grid--products > li { display: flex; }
.mc-card {
	position: relative; display: flex; flex-direction: column; width: 100%;
	background: #fff; border: 1px solid var(--mc-sand); border-radius: var(--mc-radius); overflow: hidden;
	transition: border-color .15s ease, box-shadow .15s ease;
}
.mc-card:hover { border-color: var(--mc-sand-2); box-shadow: var(--mc-shadow); }
.mc-card__media { display: grid; place-items: center; aspect-ratio: 4 / 3; background: var(--mc-ivory); border-bottom: 1px solid var(--mc-sand); overflow: hidden; }
.mc-card__media img { width: 100%; height: 100%; object-fit: contain; padding: 14px; }
.mc-card__placeholder { display: grid; place-items: center; width: 100%; height: 100%; }
.mc-card__placeholder img { width: 70px !important; height: auto !important; padding: 0 !important; opacity: .35; filter: grayscale(.3); }
.mc-card__badges { position: absolute; top: 10px; left: 10px; display: flex; gap: 6px; flex-wrap: wrap; }
.mc-card__body { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px 18px; flex: 1; }
.mc-card__eyebrow { font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--mc-burgundy); margin: 0 !important; }
.mc-card__title { font-family: var(--mc-font-body); font-size: 1.05rem; font-weight: 600; line-height: 1.3; margin: 2px 0 0; }
.mc-card__title a { color: var(--mc-brown) !important; }
.mc-card__title a:hover { color: var(--mc-red) !important; }
.mc-card__generic { font-size: .88rem; color: var(--mc-text); margin: 0 !important; }
.mc-card__meta { font-size: .85rem; color: var(--mc-muted); margin: 0 !important; }
.mc-card__brand { font-size: .8rem; color: var(--mc-muted); margin: 0 !important; font-style: italic; }
.mc-card__foot { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--mc-sand); }
.mc-card__price { font-weight: 700; color: var(--mc-brown); font-size: 1rem; }
.mc-card__price--request { font-weight: 600; color: var(--mc-muted); font-size: .85rem; }
.mc-card__sku { font-size: .75rem; color: var(--mc-muted); font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.mc-card__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.mc-card__actions .mc-btn { padding-left: .6em; padding-right: .6em; font-size: .88rem; }
.mc-add-quote.is-added { background: var(--mc-ok-bg); border-color: #b9dbc1; color: var(--mc-ok); }
.mc-add-quote.is-added:hover { background: var(--mc-ok-bg); color: var(--mc-ok); }

/* ---------- Features / steps / people ---------- */
.mc-feature { padding: 26px; background: #fff; border: 1px solid var(--mc-sand); border-radius: var(--mc-radius); }
.mc-feature__icon, .mc-step__icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 10px; background: var(--mc-ivory); color: var(--mc-burgundy); border: 1px solid var(--mc-sand); margin-bottom: 16px; }
.mc-feature p, .mc-step p { color: var(--mc-muted); font-size: .94rem; }
.mc-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 3vw, 32px); counter-reset: none; }
.mc-step { position: relative; padding: 28px 26px; border-radius: var(--mc-radius); background: #fff; border: 1px solid var(--mc-sand); }
.mc-step__num {
	position: absolute; top: 22px; right: 24px; font-family: var(--mc-font-display); font-size: 2.6rem; font-weight: 600;
	line-height: 1; color: var(--mc-sand-2);
}
@media (max-width: 860px) { .mc-steps { grid-template-columns: 1fr; } }
.mc-person { text-align: center; }
.mc-person img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 4px solid #fff; box-shadow: 0 0 0 1px var(--mc-sand), var(--mc-shadow); margin-bottom: 14px; max-width: 200px; }
.mc-person p { color: var(--mc-muted); font-size: .88rem; }
.mc-person--card { background: #fff; border: 1px solid var(--mc-sand); border-radius: var(--mc-radius); padding: 24px 20px; }
.mc-person--card .mc-eyebrow { justify-content: center; margin-bottom: .4em; }
.mc-person--card .mc-eyebrow::before { display: none; }
.mc-person img { display: block; margin-left: auto; margin-right: auto; }

/* ---------- CTA band ---------- */
.mc-cta { background: var(--mc-brown); color: #f3e9dd; position: relative; overflow: hidden; padding: clamp(48px, 7vw, 80px) 0; }
.mc-cta::before {
	content: ""; position: absolute; right: -120px; top: 50%; width: 420px; height: 420px; transform: translateY(-50%);
	border-radius: 50%; border: 1px solid rgba(255, 255, 255, .08); box-shadow: 0 0 0 40px rgba(255, 255, 255, .025), 0 0 0 80px rgba(255, 255, 255, .02);
}
.mc-cta__inner { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; }
.mc-cta .mc-h2 { color: #fff; }
.mc-cta p { color: #e3d2c1; max-width: 52ch; }
.mc-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
@media (max-width: 860px) { .mc-cta__inner { grid-template-columns: 1fr; } .mc-cta__actions { justify-content: flex-start; } }

/* ---------- Footer ---------- */
.mc-footer { background: #2e1710; color: #e3d2c1; font-size: .92rem; }
.mc-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: clamp(24px, 4vw, 48px); padding-top: clamp(48px, 7vw, 72px); padding-bottom: 32px; }
.mc-footer__brand img { height: 50px; width: auto; margin-bottom: 18px; }
.mc-footer__brand p { color: #cdb9a6; max-width: 40ch; margin-bottom: 20px; }
.mc-footer__title { font-family: var(--mc-font-body); font-size: .78rem !important; letter-spacing: .14em; text-transform: uppercase; color: #fff !important; font-weight: 600; margin: 0 0 16px !important; }
.mc-footer__links li { margin-bottom: 10px; }
.mc-footer a { color: #e3d2c1 !important; }
.mc-footer a:hover { color: #fff !important; text-decoration: underline; text-underline-offset: 3px; }
.mc-footer__contact li { display: flex; gap: 10px; margin-bottom: 12px; align-items: flex-start; }
.mc-footer__contact .mc-icon { margin-top: 3px; color: #e7a69e; }
.mc-footer address { font-style: normal; }
.mc-footer__disclaimer { font-size: .78rem; color: #a99382; border-top: 1px solid rgba(255, 255, 255, .1); padding: 20px 0; margin: 0 !important; }
.mc-footer__bottom { background: #24120c; font-size: .82rem; color: #a99382; }
.mc-footer__bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 16px; padding-bottom: 16px; }
.mc-footer__legal { display: flex; flex-wrap: wrap; gap: 18px; }
@media (max-width: 960px) { .mc-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .mc-footer__grid { grid-template-columns: 1fr; } }

/* ---------- Catalogue ---------- */
.mc-catalogue__body { padding-top: 28px; padding-bottom: var(--mc-section); }
.mc-filters { background: #fff; border: 1px solid var(--mc-sand); border-radius: var(--mc-radius); padding: 14px; box-shadow: var(--mc-shadow); margin-top: -56px; position: relative; z-index: 2; }
.mc-filters__search { display: flex; align-items: center; gap: 10px; border: 1px solid var(--mc-sand); border-radius: var(--mc-radius-sm); padding: 4px 4px 4px 14px; background: #fff; }
.mc-filters__search:focus-within { border-color: var(--mc-burgundy); box-shadow: var(--mc-focus); }
.mc-filters__search .mc-icon { color: var(--mc-muted); }
.mc-scope .mc-filters__search input {
	flex: 1; min-width: 0; border: 0 !important; outline: none; box-shadow: none !important; background: transparent !important;
	font: inherit; font-size: 1rem; padding: 10px 0 !important; color: var(--mc-text); min-height: 44px;
}
.mc-filters__more { margin-top: 10px; }
.mc-filters__more summary { cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .9rem; color: var(--mc-brown); padding: 6px 2px; min-height: 40px; }
.mc-filters__more summary::-webkit-details-marker { display: none; }
.mc-filters__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; padding-top: 8px; }
.mc-scope .mc-field { display: flex; flex-direction: column; gap: 6px; margin: 0; }
.mc-scope .mc-field > span:first-child, .mc-scope .mc-field > label { font-size: .82rem; font-weight: 600; color: var(--mc-brown); }
.mc-scope .mc-field input[type="text"], .mc-scope .mc-field input[type="email"], .mc-scope .mc-field input[type="tel"],
.mc-scope .mc-field input[type="number"], .mc-scope .mc-field select, .mc-scope .mc-field textarea {
	width: 100%; min-height: 46px; padding: 10px 12px; font: inherit; font-size: 1rem; color: var(--mc-text);
	background: #fff; border: 1px solid var(--mc-sand-2); border-radius: var(--mc-radius-sm); box-shadow: none;
}
.mc-scope .mc-field textarea { min-height: 110px; resize: vertical; }
.mc-scope .mc-field input:focus, .mc-scope .mc-field select:focus, .mc-scope .mc-field textarea:focus { border-color: var(--mc-burgundy); box-shadow: var(--mc-focus); outline: none; }
.mc-scope .mc-field.has-error input, .mc-scope .mc-field.has-error select, .mc-scope .mc-field.has-error textarea { border-color: var(--mc-red); }
.mc-scope .mc-field__error { color: var(--mc-red); font-size: .84rem; font-weight: 500; }
.mc-results-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 26px 0 18px; }
.mc-results-count { color: var(--mc-muted); font-size: .92rem; margin: 0 !important; }
.mc-pagination { margin-top: 40px; display: flex; justify-content: center; }
.mc-pagination ul.page-numbers { display: flex; flex-wrap: wrap; gap: 6px; border: 0; }
.mc-pagination .page-numbers li { border: 0; }
.mc-pagination a.page-numbers, .mc-pagination span.page-numbers {
	display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 10px; border-radius: var(--mc-radius-sm);
	border: 1px solid var(--mc-sand); color: var(--mc-brown); font-weight: 600; background: #fff;
}
.mc-pagination span.current { background: var(--mc-brown); border-color: var(--mc-brown); color: #fff; }
.mc-pagination a.page-numbers:hover { border-color: var(--mc-brown); }

/* ---------- Empty / loading ---------- */
.mc-empty { text-align: center; padding: clamp(32px, 6vw, 64px) 20px; border: 1px dashed var(--mc-sand-2); border-radius: var(--mc-radius); background: #fff; }
.mc-empty--compact { padding: 32px 20px; border: 0; }
.mc-empty__icon { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; background: var(--mc-ivory); color: var(--mc-burgundy); border: 1px solid var(--mc-sand); }
.mc-empty p { color: var(--mc-muted); max-width: 52ch; margin-left: auto; margin-right: auto; }
.mc-empty .mc-actions { justify-content: center; margin-top: 18px; }
.mc-loading { color: var(--mc-muted); padding: 24px 0; text-align: center; }

/* ---------- Single product ---------- */
.mc-specs { display: grid; grid-template-columns: 1fr; margin: 18px 0 22px; border-top: 1px solid var(--mc-sand); }
.mc-specs > div { display: grid; grid-template-columns: minmax(130px, 38%) 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--mc-sand); }
.mc-specs dt { font-size: .85rem; color: var(--mc-muted); font-weight: 500; margin: 0; }
.mc-specs dd { margin: 0; font-weight: 600; color: var(--mc-text); }
.mc-product-badges { display: flex; gap: 8px; margin-top: 6px; }
.mc-sample-note { display: flex; gap: 8px; align-items: center; background: var(--mc-warn-bg); border: 1px solid #f0d9a8; color: #6d4b00; padding: 10px 12px; border-radius: var(--mc-radius-sm); font-size: .88rem; }
.mc-buybox { background: var(--mc-ivory); border: 1px solid var(--mc-sand); border-radius: var(--mc-radius); padding: 20px; margin-bottom: 24px; }
.mc-buybox__price { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-size: 1.3rem; font-weight: 700; color: var(--mc-brown); margin-bottom: 4px !important; }
.mc-buybox__price > span:first-child { font-size: .82rem; font-weight: 600; color: var(--mc-muted); text-transform: uppercase; letter-spacing: .08em; }
.mc-buybox__price--request { font-size: 1.05rem; }
.mc-buybox__fine { font-size: .8rem; color: var(--mc-muted); }
.mc-buybox__row { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; margin-top: 16px; }
.mc-buybox__row .mc-add-quote { flex: 1; min-width: 180px; min-height: 48px; }
.mc-buybox__contact { margin-top: 14px !important; font-size: .88rem; color: var(--mc-muted); display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; }
.mc-buybox__contact a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.mc-qty { display: flex; flex-direction: column; gap: 6px; }
.mc-qty > span:first-child { font-size: .78rem; font-weight: 600; color: var(--mc-brown); }
.mc-qty__ctrl { display: inline-flex; align-items: stretch; border: 1px solid var(--mc-sand-2); border-radius: var(--mc-radius-sm); background: #fff; overflow: hidden; height: 48px; }
.mc-scope .mc-qty__ctrl button { width: 42px; border: 0 !important; background: transparent !important; color: var(--mc-brown) !important; display: grid; place-items: center; cursor: pointer; padding: 0 !important; }
.mc-scope .mc-qty__ctrl button:hover { background: var(--mc-ivory) !important; }
.mc-scope .mc-qty__ctrl input { width: 84px; border: 0 !important; border-left: 1px solid var(--mc-sand) !important; border-right: 1px solid var(--mc-sand) !important; text-align: center; font: inherit; font-weight: 600; padding: 0 !important; -moz-appearance: textfield; appearance: textfield; background: #fff; min-height: 0; }
.mc-scope .mc-qty__ctrl input::-webkit-outer-spin-button, .mc-scope .mc-qty__ctrl input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.mc-notice { display: flex; gap: 14px; padding: 18px 20px; border-radius: var(--mc-radius); margin: 8px 0 18px; }
.mc-notice--rx { background: #fdf0ee; border: 1px solid #f2c9c3; color: var(--mc-text); }
.mc-notice--rx .mc-icon { color: var(--mc-burgundy); margin-top: 2px; }
.mc-notice strong { display: block; color: var(--mc-burgundy); margin-bottom: 4px; }
.mc-notice p { font-size: .9rem; color: var(--mc-muted); }
.mc-disclaimer-small { font-size: .78rem; color: var(--mc-muted); border-top: 1px solid var(--mc-sand); padding-top: 12px; margin: 8px 0 32px !important; }
.mc-loop-quote { padding: 0 0 12px; }
.mc-loop-quote .mc-btn { width: 100%; }
/* Woo single product polish under Astra */
.mc-site.single-product .product_title { font-family: var(--mc-font-display); color: var(--mc-brown); font-weight: 600; font-size: clamp(2rem, 3.4vw, 2.6rem); line-height: 1.1; }
.mc-site.single-product .woocommerce-product-details__short-description { color: var(--mc-muted); }
.mc-site.single-product .woocommerce-tabs .tabs li a { font-family: var(--mc-font-body); }
.mc-site .woocommerce .related > h2 { font-family: var(--mc-font-display); color: var(--mc-brown); }

/* ---------- Quote page ---------- */
.mc-quote__list[hidden] + .mc-quote__form { grid-column: 1 / -1; max-width: 640px; margin: 0 auto; width: 100%; }
.mc-quote__layout { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(20px, 3vw, 32px); align-items: start; padding-top: 32px; padding-bottom: var(--mc-section); }
@media (max-width: 960px) { .mc-quote__layout { grid-template-columns: 1fr; } }
.mc-panel { background: #fff; border: 1px solid var(--mc-sand); border-radius: var(--mc-radius); padding: clamp(18px, 3vw, 28px); box-shadow: var(--mc-shadow); }
.mc-panel__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.mc-panel__head .mc-h3 { margin: 0; }
.mc-qlist { border-top: 1px solid var(--mc-sand); }
.mc-qitem { display: grid; grid-template-columns: 56px 1fr auto auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--mc-sand); }
.mc-qitem__img { width: 56px; height: 56px; border-radius: 6px; background: var(--mc-ivory); border: 1px solid var(--mc-sand); display: grid; place-items: center; overflow: hidden; }
.mc-qitem__img img { width: 100%; height: 100%; object-fit: contain; }
.mc-qitem__img img.mc-crest { width: 32px; height: auto; opacity: .4; }
.mc-qitem__name { font-weight: 600; color: var(--mc-brown) !important; line-height: 1.3; }
.mc-qitem__meta { font-size: .82rem; color: var(--mc-muted); }
.mc-scope .mc-qitem__remove { width: 40px; height: 40px; border-radius: 6px; border: 1px solid transparent !important; background: transparent !important; color: var(--mc-muted) !important; display: grid; place-items: center; cursor: pointer; padding: 0 !important; }
.mc-scope .mc-qitem__remove:hover { color: var(--mc-red) !important; border-color: var(--mc-sand) !important; }
.mc-qitem .mc-qty__ctrl { height: 42px; }
.mc-qitem .mc-qty__ctrl input { width: 70px; }
@media (max-width: 560px) {
	.mc-qitem { grid-template-columns: 48px 1fr auto; grid-template-areas: "img info remove" "qty qty qty"; }
	.mc-qitem__img { grid-area: img; width: 48px; height: 48px; }
	.mc-qitem__info { grid-area: info; }
	.mc-qitem__qty { grid-area: qty; }
	.mc-qitem__remove { grid-area: remove; }
	.mc-qitem__qty .mc-qty__ctrl { width: 100%; }
	.mc-qitem__qty .mc-qty__ctrl input { flex: 1; }
}
.mc-qlist__total { display: flex; justify-content: space-between; padding-top: 14px; font-size: .9rem; color: var(--mc-muted); }
.mc-form .mc-h3 { margin-bottom: 14px; }
.mc-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 18px; }
.mc-field--full { grid-column: 1 / -1; }
@media (max-width: 560px) { .mc-form__grid { grid-template-columns: 1fr; } }
.mc-req { color: var(--mc-red); }
.mc-scope .mc-field--check label { display: flex; gap: 10px; align-items: flex-start; font-weight: 400 !important; font-size: .88rem !important; color: var(--mc-text) !important; }
.mc-scope .mc-field--check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--mc-red); flex-shrink: 0; }
.mc-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.mc-form__fine { font-size: .8rem; color: var(--mc-muted); margin-top: 12px !important; text-align: center; }
.mc-form__alert { padding: 12px 14px; border-radius: var(--mc-radius-sm); background: #fdf0ee; border: 1px solid #f2c9c3; color: var(--mc-burgundy); font-size: .9rem; margin-bottom: 14px; }
.mc-success { text-align: center; }
.mc-success__icon { color: var(--mc-ok); margin-bottom: 8px; }
.mc-success__ref { font-size: 1.05rem; background: var(--mc-ivory); border: 1px solid var(--mc-sand); border-radius: var(--mc-radius-sm); padding: 12px; margin: 16px 0 !important; }
.mc-success__ref strong { font-variant-numeric: tabular-nums; letter-spacing: .03em; color: var(--mc-brown); }
.mc-success .mc-actions { justify-content: center; }

/* ---------- Contact ---------- */
.mc-contact { display: grid; grid-template-columns: 5fr 7fr; gap: 24px; align-items: stretch; }
.mc-contact__list li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--mc-sand); }
.mc-contact__list .mc-icon { color: var(--mc-burgundy); margin-top: 2px; }
.mc-contact__list strong { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--mc-muted); margin-bottom: 2px; }
.mc-contact__list address { font-style: normal; }
.mc-contact .mc-btn { margin-top: 20px; }
.mc-map { border-radius: var(--mc-radius); overflow: hidden; border: 1px solid var(--mc-sand); min-height: 360px; }
.mc-map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }
@media (max-width: 860px) { .mc-contact { grid-template-columns: 1fr; } }

/* ---------- Prose (legal pages) ---------- */
.mc-prose { padding-top: 48px; padding-bottom: 64px; }
.mc-prose h1 { font-family: var(--mc-font-display); color: var(--mc-brown); font-size: clamp(2rem, 4vw, 2.8rem); }
.mc-prose h2 { font-family: var(--mc-font-display); color: var(--mc-brown); font-size: 1.6rem; margin: 1.6em 0 .4em; }
.mc-prose ul { list-style: disc; padding-left: 1.3em; }
.mc-prose li { margin-bottom: .5em; }
.mc-review-note { background: var(--mc-warn-bg); border: 1px solid #f0d9a8; padding: 10px 14px; border-radius: var(--mc-radius-sm); font-size: .9rem; }

/* ---------- Toast, WhatsApp, preview flag ---------- */
.mc-toast {
	position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 9999;
	display: flex; align-items: center; gap: 14px; max-width: calc(100vw - 32px);
	background: var(--mc-brown); color: #fff; padding: 12px 16px; border-radius: 10px; box-shadow: var(--mc-shadow-lg); font-size: .92rem;
}
.mc-toast a { color: #ffd7cf !important; font-weight: 600; white-space: nowrap; }
.mc-wa-float {
	position: fixed; right: 20px; bottom: 20px; z-index: 9990; width: 56px; height: 56px; border-radius: 50%;
	background: #1f8f4e; color: #fff !important; display: grid; place-items: center; box-shadow: var(--mc-shadow-lg);
}
.mc-wa-float:hover { background: #187a41; color: #fff !important; }
.mc-preview-flag { position: fixed; left: 16px; bottom: 16px; z-index: 9998; background: #fff; border: 1px solid var(--mc-sand); border-left: 4px solid var(--mc-red); padding: 8px 12px; border-radius: 6px; font-size: .82rem; box-shadow: var(--mc-shadow); }
@media (max-width: 640px) { .mc-toast { bottom: 88px; } .mc-preview-flag { bottom: 88px; } }

/* Hide the old Astra/Woo cart icon and any purchase leftovers */
.mc-site .ast-site-header-cart, .mc-site .woocommerce-mini-cart, .mc-site .added_to_cart, .mc-site .single_add_to_cart_button, .mc-site form.cart { display: none !important; }

/* Safety net when the brand header/footer is on: hide header/footer templates from ElementsKit / Elementor Header & Footer if they still print. */
.mc-brand-chrome .ekit-template-content-header,
.mc-brand-chrome .ekit-template-content-footer,
.mc-brand-chrome .site-header:not(.mc-header),
.mc-brand-chrome .site-footer:not(.mc-footer),
.mc-brand-chrome #masthead:not(.mc-header),
.mc-brand-chrome #colophon:not(.mc-footer) { display: none !important; }

/* ---------- Detailed page components ---------- */
.mc-section__intro { margin-top: .6em; }
.mc-section__head--center .mc-section__intro { margin-left: auto; margin-right: auto; }
.mc-center { text-align: center; }
.mc-center.mc-actions, p.mc-center { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.mc-mt { margin-top: 36px !important; }
.mc-grid--three { grid-template-columns: repeat(3, 1fr); }
.mc-grid--services { grid-template-columns: repeat(2, 1fr); }
.mc-grid--help { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px) { .mc-grid--three, .mc-grid--help { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .mc-grid--three, .mc-grid--services, .mc-grid--help { grid-template-columns: 1fr; } }

.mc-checklist { margin: 16px 0 !important; display: grid; gap: 10px; }
.mc-checklist li { position: relative; padding-left: 30px; color: var(--mc-text); }
.mc-checklist li::before {
	content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 50%;
	background: var(--mc-ivory) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237a1c1c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
	border: 1px solid var(--mc-sand);
}

.mc-service { background: #fff; border: 1px solid var(--mc-sand); border-radius: var(--mc-radius); padding: clamp(22px, 3vw, 32px); display: flex; flex-direction: column; }
.mc-service__head { display: flex; justify-content: space-between; align-items: flex-start; }
.mc-service__num { font-family: var(--mc-font-display); font-size: 2.4rem; font-weight: 600; color: var(--mc-sand-2); line-height: 1; }
.mc-service .mc-h3 { margin-top: 4px; }
.mc-service > p { color: var(--mc-muted); }
.mc-service .mc-checklist { margin-top: auto !important; padding-top: 16px !important; border-top: 1px dashed var(--mc-sand); font-size: .94rem; }

.mc-feature--lg { padding: clamp(24px, 3vw, 36px); }
.mc-feature--lg p { font-size: 1rem; line-height: 1.7; }

.mc-facts { margin-top: 24px !important; border-top: 1px solid var(--mc-sand); }
.mc-facts li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--mc-sand); }
.mc-facts span { color: var(--mc-muted); font-size: .9rem; }
.mc-facts strong { color: var(--mc-brown); text-align: right; }

.mc-timeline { position: relative; display: grid; gap: 22px; }
.mc-timeline::before { content: ""; position: absolute; left: 21px; top: 8px; bottom: 8px; width: 1px; background: var(--mc-sand-2); }
.mc-timeline li { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 18px; align-items: start; }
.mc-timeline__num { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1px solid var(--mc-sand-2); color: var(--mc-burgundy); font-family: var(--mc-font-display); font-weight: 700; font-size: 1.3rem; position: relative; z-index: 1; }
.mc-timeline p { color: var(--mc-muted); }

.mc-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 12px 0 !important; }
.mc-tags li { font-size: .74rem; font-weight: 600; color: var(--mc-olive); background: var(--mc-ivory); border: 1px solid var(--mc-sand); border-radius: 999px; padding: .25em .7em; }
.mc-quote-line { margin: 12px 0 0; padding: 12px 0 0; border-top: 1px solid var(--mc-sand); font-family: var(--mc-font-display); font-style: italic; font-size: 1.05rem; color: var(--mc-brown); line-height: 1.4; border-left: 0; }

.mc-faq { border-top: 1px solid var(--mc-sand); }
.mc-faq__item { border-bottom: 1px solid var(--mc-sand); }
.mc-faq__item summary {
	cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px;
	padding: 18px 0; font-weight: 600; color: var(--mc-brown); font-size: 1.02rem; min-height: 48px;
}
.mc-faq__item summary::-webkit-details-marker { display: none; }
.mc-faq__item summary::after { content: "+"; flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--mc-sand-2); color: var(--mc-burgundy); font-weight: 500; font-size: 1.1rem; line-height: 1; }
.mc-faq__item[open] summary::after { content: "−"; background: var(--mc-brown); color: #fff; border-color: var(--mc-brown); }
.mc-faq__item summary:hover { color: var(--mc-red); }
.mc-faq__a { padding: 0 44px 18px 0; color: var(--mc-muted); }

.mc-help { display: flex; flex-direction: column; gap: 6px; background: #fff; border: 1px solid var(--mc-sand); border-radius: var(--mc-radius); padding: 24px; }
.mc-help p { color: var(--mc-muted); font-size: .94rem; flex: 1; }
.mc-help .mc-link { margin-top: 6px; }

.mc-notice--info { background: var(--mc-ivory); border: 1px solid var(--mc-sand); padding: clamp(22px, 3vw, 32px); gap: 20px; }
.mc-notice--info .mc-h3 { margin-bottom: .3em; }
.mc-notice--info p { font-size: .96rem; }

/* Header with six menu items: tighten spacing on laptops */
@media (min-width: 1181px) and (max-width: 1320px) {
	.mc-nav { gap: 14px; }
	.mc-nav__list a { padding: 0 8px; font-size: .9rem; }
	.mc-brand img { height: 44px; }
}

/* ---------- Images & media ---------- */
.mc-media { margin: 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--mc-sand); background: var(--mc-ivory); box-shadow: var(--mc-shadow); }
.mc-media__img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.mc-media-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.mc-media-split--flip .mc-media { order: 2; }
.mc-media-split__text > .mc-h2, .mc-media-split__text > .mc-h3 { margin-bottom: .5em; }
.mc-media-split__text .mc-actions { align-items: center; margin-top: 8px; gap: 18px; }
@media (max-width: 860px) {
	.mc-media-split { grid-template-columns: 1fr; }
	.mc-media-split--flip .mc-media { order: 0; }
}
.mc-stack { display: grid; gap: clamp(40px, 6vw, 80px); }
.mc-stack .mc-media-split__text { background: #fff; border: 1px solid var(--mc-sand); border-radius: var(--mc-radius); padding: clamp(22px, 3vw, 34px); }
.mc-stack .mc-media-split__text > p { color: var(--mc-muted); }

.mc-img-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--mc-sand); border-radius: var(--mc-radius); overflow: hidden; transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease; }
.mc-img-card:hover { box-shadow: var(--mc-shadow); transform: translateY(-3px); border-color: var(--mc-sand-2); }
.mc-img-card__media { display: block; overflow: hidden; border-bottom: 1px solid var(--mc-sand); }
.mc-img-card__media img { transition: transform .5s ease; }
.mc-img-card:hover .mc-img-card__media img { transform: scale(1.04); }
.mc-img-card__body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.mc-img-card__body p { color: var(--mc-muted); font-size: .94rem; flex: 1; }

.mc-grid--forms { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px) { .mc-grid--forms { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .mc-grid--forms { grid-template-columns: 1fr; } }
.mc-form-tile { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--mc-sand); border-radius: var(--mc-radius); overflow: hidden; color: var(--mc-text) !important; transition: box-shadow .2s ease, transform .2s ease; }
.mc-form-tile:hover { box-shadow: var(--mc-shadow); transform: translateY(-3px); }
.mc-form-tile__img { display: block; overflow: hidden; }
.mc-form-tile__img img { transition: transform .5s ease; }
.mc-form-tile:hover .mc-form-tile__img img { transform: scale(1.05); }
.mc-form-tile__body { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 16px; }
.mc-form-tile__body .mc-h4 { margin: 0; }
.mc-form-tile__desc { font-size: .86rem; color: var(--mc-muted); }

/* Product card dosage-form placeholder */
.mc-card__media img.mc-card__ph { padding: 0; object-fit: cover; }
.mc-qitem__img img { object-fit: cover; }

/* ---------- Hero visual ---------- */
.mc-hero__visual { position: relative; }
.mc-hero__frame { border-radius: 20px; overflow: hidden; border: 1px solid var(--mc-sand); box-shadow: var(--mc-shadow-lg); background: #fff; }
.mc-hero__frame img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; }
.mc-hero__badge {
	position: absolute; top: -26px; left: -26px; width: 112px; height: 112px; border-radius: 50%;
	display: grid; place-items: center; background: #fff; border: 1px solid var(--mc-sand); box-shadow: var(--mc-shadow-lg);
}
.mc-hero__badge img { width: 70px; height: auto; }
.mc-hero__chip {
	position: absolute; display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--mc-sand);
	border-radius: 12px; padding: 10px 14px; box-shadow: var(--mc-shadow-lg); font-size: .82rem; line-height: 1.25;
}
.mc-hero__chip .mc-icon { color: var(--mc-ok); }
.mc-hero__chip--b .mc-icon { color: var(--mc-burgundy); }
.mc-hero__chip strong { display: block; color: var(--mc-brown); font-size: .88rem; }
.mc-hero__chip small { color: var(--mc-muted); font-size: .76rem; }
.mc-hero__chip--a { right: -18px; top: 18%; }
.mc-hero__chip--b { left: -22px; bottom: 10%; }
@media (max-width: 860px) {
	.mc-hero__visual { order: -1; margin: 10px 8px 0; }
	.mc-hero__badge { width: 76px; height: 76px; top: -14px; left: -6px; }
	.mc-hero__badge img { width: 48px; }
	.mc-hero__chip--a { right: -4px; top: auto; bottom: -18px; }
	.mc-hero__chip--b { display: none; }
}

/* ---------- Ribbon (therapeutic areas) ---------- */
.mc-ribbon { position: relative; overflow: hidden; border-top: 1px solid var(--mc-sand); background: #fff; padding: 16px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.mc-ribbon__track { display: flex; width: max-content; animation: mc-marquee 50s linear infinite; }
.mc-ribbon:hover .mc-ribbon__track { animation-play-state: paused; }
.mc-ribbon ul { display: flex; gap: 0; }
.mc-ribbon li { display: inline-flex; align-items: center; white-space: nowrap; font-family: var(--mc-font-display); font-size: 1.25rem; font-weight: 600; color: var(--mc-brown); padding: 0 28px; }
.mc-ribbon li::after { content: ""; width: 8px; height: 8px; margin-left: 56px; border: 2px solid var(--mc-red); transform: rotate(45deg); }
@keyframes mc-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Motion ---------- */
@keyframes mc-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.mc-float { animation: mc-float 6s ease-in-out infinite; }
.mc-float--slow { animation-duration: 8s; }
.mc-float--delay { animation-delay: -3s; }
@keyframes mc-spin { to { transform: rotate(360deg); } }
.mc-crest-ring::after { animation: mc-spin 90s linear infinite; }
.mc-page-hero::after { animation: mc-float 10s ease-in-out infinite; }

/* Scroll reveal: only when JS has opted in and the visitor allows motion. */
.mc-anim [data-mc-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: var(--mc-delay, 0s); }
.mc-anim [data-mc-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: no-preference) {
.mc-hero__copy > * { animation: mc-rise .8s cubic-bezier(.2,.7,.2,1) both; }
.mc-hero__copy > *:nth-child(2) { animation-delay: .08s; }
.mc-hero__copy > *:nth-child(3) { animation-delay: .16s; }
.mc-hero__copy > *:nth-child(4) { animation-delay: .24s; }
.mc-hero__copy > *:nth-child(5) { animation-delay: .32s; }
.mc-hero__frame { animation: mc-zoom 1s cubic-bezier(.2,.7,.2,1) both .1s; }
}
@keyframes mc-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes mc-zoom { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
	.mc-float, .mc-ribbon__track, .mc-crest-ring::after, .mc-page-hero::after { animation: none !important; }
	.mc-ribbon__track { width: auto; flex-wrap: wrap; justify-content: center; }
	.mc-ribbon__track ul[aria-hidden] { display: none; }
	.mc-ribbon ul { flex-wrap: wrap; justify-content: center; row-gap: 8px; }
	.mc-img-card, .mc-form-tile, .mc-img-card__media img, .mc-form-tile__img img { transition: none !important; transform: none !important; }
}
.mc-hero__inner:has(.mc-hero__visual) { grid-template-columns: 1fr 1fr; padding-bottom: clamp(56px, 7vw, 96px); }
@media (max-width: 860px) { .mc-hero__inner:has(.mc-hero__visual) { grid-template-columns: 1fr; } }

/* v1.2.1 — live-site fixes against Astra/theme styles */
.mc-scope .mc-brand { flex: 0 0 auto; }
.mc-scope .mc-brand img { width: auto !important; max-width: none !important; height: 50px; }
@media (max-width: 1180px) { .mc-scope .mc-brand img { height: 42px; } }
@media (max-width: 640px) { .mc-scope .mc-brand img { height: 38px; } }
.mc-footer__brand img { width: auto !important; max-width: 100% !important; }
.mc-scope .mc-card__actions { grid-template-columns: 1fr; gap: 8px; }
.mc-scope .mc-card__actions .mc-btn { width: 100%; min-width: 0; white-space: normal; font-size: .9rem; line-height: 1.2; padding: .6em .8em; }
.mc-scope .mc-card__actions .mc-add-quote { order: -1; }
.mc-scope .mc-btn { letter-spacing: normal; text-transform: none; }

/* ---------- Video hero (v1.3.0) ---------- */
.mc-hero--video { position: relative; overflow: hidden; background: #2a140d; border-bottom: 0; isolation: isolate; }
.mc-hero__bg { position: absolute; inset: 0; z-index: -1; background-size: cover; background-position: center; }
.mc-hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mc-hero__overlay {
	position: absolute; inset: 0;
	background:
		linear-gradient(90deg, rgba(34,14,8,.94) 0%, rgba(34,14,8,.82) 38%, rgba(34,14,8,.35) 72%, rgba(34,14,8,.15) 100%),
		linear-gradient(0deg, rgba(34,14,8,.55) 0%, rgba(34,14,8,0) 30%);
}
.mc-hero--video .mc-hero__inner {
	grid-template-columns: 7fr 5fr; min-height: clamp(560px, 80vh, 760px); align-items: center;
	padding-top: clamp(56px, 8vw, 110px); padding-bottom: clamp(56px, 8vw, 110px);
}
.mc-hero--video .mc-display { color: #fff; }
.mc-hero--video .mc-eyebrow { color: #f1c9bd; }
.mc-hero--video .mc-lead { color: #eadfd3; }
.mc-hero--video .mc-hero__facts { border-top-color: rgba(255,255,255,.18); }
.mc-hero--video .mc-hero__facts li { color: #e3d4c6; }
.mc-hero--video .mc-hero__facts li::before { border-color: #ff8a80; }
.mc-hero--video .mc-btn--outline-light { border-color: rgba(255,255,255,.6); }

.mc-hero__glass { display: flex; flex-direction: column; align-items: flex-end; gap: 16px; }
.mc-glass {
	display: flex; align-items: center; gap: 12px; width: min(300px, 100%);
	padding: 14px 16px; border-radius: 14px; color: #fff; font-size: .82rem; line-height: 1.3;
	background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.22);
	-webkit-backdrop-filter: blur(10px) saturate(1.2); backdrop-filter: blur(10px) saturate(1.2);
	box-shadow: 0 18px 40px -20px rgba(0,0,0,.6);
}
.mc-glass:nth-child(2) { margin-right: 46px; }
.mc-glass:nth-child(3) { margin-right: 12px; }
.mc-glass:nth-child(4) { margin-right: 58px; }
.mc-glass .mc-icon { color: #ffb4a8; flex-shrink: 0; }
.mc-glass strong { display: block; font-size: .92rem; color: #fff; }
.mc-glass small { color: #e3d4c6; font-size: .76rem; }
.mc-glass--crest img { width: 44px; height: auto; background: #fff; border-radius: 50%; padding: 4px; }
.mc-glass--crest strong { font-family: var(--mc-font-display); font-size: 1.15rem; letter-spacing: .02em; }

.mc-hero__toggle {
	position: absolute; right: clamp(16px, 3vw, 32px); top: 20px; z-index: 2;
	width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
	color: #fff !important; background: rgba(0,0,0,.35) !important; border: 1px solid rgba(255,255,255,.4) !important; padding: 0 !important;
}
.mc-hero__toggle:hover { background: rgba(0,0,0,.55) !important; }
.mc-hero__toggle:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.mc-hero__toggle .mc-i-play { display: none; }
.mc-hero__toggle[aria-pressed="true"] .mc-i-play { display: block; }
.mc-hero__toggle[aria-pressed="true"] .mc-i-pause { display: none; }
.mc-hero--video .mc-ribbon { position: relative; z-index: 1; }

@media (max-width: 960px) {
	.mc-hero--video .mc-hero__inner { grid-template-columns: 1fr; min-height: 0; }
	.mc-hero__glass { display: none; }
	.mc-hero__overlay { background: linear-gradient(180deg, rgba(34,14,8,.62) 0%, rgba(34,14,8,.84) 100%); }
	.mc-hero__toggle { top: 14px; }
}
@media (prefers-reduced-motion: reduce) {
	.mc-hero__video { display: none; }
	.mc-hero__toggle { display: none; }
}
