/* ==========================================================================
   Marget – design system
   Navy / cream / gold. Mobile-first. Breakpoints: 640px, 900px, 1100px, 1280px.
   ========================================================================== */

/* ---------- Fonts (self-hosted, Latin + Polish subset) ---------- */
@font-face {
	font-family: "Inter";
	src: url("../fonts/inter-var.woff2") format("woff2");
	font-weight: 400 700;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Source Serif 4";
	src: url("../fonts/source-serif-4-var.woff2") format("woff2");
	font-weight: 500 700;
	font-style: normal;
	font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
	/* Colors */
	--c-navy: #0B2349;
	--c-navy-900: #071831;
	--c-navy-700: #1B3460;
	--c-gold: #C6A04A;
	--c-gold-300: #E4CB8C;
	--c-gold-100: #F4EAD2;
	--c-gold-btn: #9C7A2C;
	--c-gold-btn-2: #86681F;
	--c-gold-text: #86681F;
	--c-cream: #F8F4EC;
	--c-cream-50: #FBF8F3;
	--c-cream-200: #EFE6D4;
	--c-gray-50: #F7F8FA;
	--c-line: #ECE4D4;
	--c-white: #FFFFFF;
	--c-ink: #172033;
	--c-muted: #667085;
	--c-green: #1E8E4E;
	--c-green-bg: #E6F4EC;
	--c-red: #B42318;
	--c-red-bg: #FDECEA;
	--c-amber: #B54708;
	--c-wa: #25D366;

	/* Typography */
	--f-serif: "Source Serif 4", "Iowan Old Style", Georgia, "Times New Roman", serif;
	--f-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--fs-xs: 0.8125rem;   /* 13 */
	--fs-sm: 0.875rem;    /* 14 */
	--fs-base: 1rem;      /* 16 */
	--fs-md: 1.0625rem;   /* 17 */
	--fs-lg: 1.1875rem;   /* 19 */
	--fs-h4: 1.125rem;
	--fs-h3: clamp(1.125rem, 1.05rem + 0.3vw, 1.3125rem);
	--fs-h2: clamp(1.625rem, 1.3rem + 1.3vw, 2.375rem);
	--fs-h1: clamp(2.25rem, 1.55rem + 3vw, 3.875rem);
	--lh-tight: 1.12;
	--lh-snug: 1.3;
	--lh-body: 1.6;

	/* Layout */
	--container: 1280px;
	--gutter: clamp(16px, 4vw, 40px);
	--pad-x: max(var(--gutter), calc((100% - var(--container)) / 2));
	--header-h: 72px;

	/* Spacing scale */
	--s-1: 4px;
	--s-2: 8px;
	--s-3: 12px;
	--s-4: 16px;
	--s-5: 20px;
	--s-6: 24px;
	--s-7: 32px;
	--s-8: 40px;
	--s-9: 56px;
	--s-10: 72px;
	--section-y: clamp(36px, 3vw + 20px, 64px);

	/* Radii */
	--r-xs: 4px;
	--r-sm: 6px;
	--r-md: 10px;
	--r-lg: 14px;
	--r-xl: 20px;
	--r-pill: 999px;

	/* Shadows */
	--sh-xs: 0 1px 2px rgba(11, 35, 73, 0.06);
	--sh-card: 0 1px 2px rgba(11, 35, 73, 0.04), 0 6px 20px rgba(11, 35, 73, 0.06);
	--sh-hover: 0 2px 4px rgba(11, 35, 73, 0.06), 0 14px 34px rgba(11, 35, 73, 0.10);
	--sh-pop: 0 20px 60px rgba(7, 24, 49, 0.25);

	/* Motion */
	--ease: cubic-bezier(.2, .7, .2, 1);
	--t-fast: 150ms;
	--t: 250ms;

	/* Buttons */
	--btn-h: 48px;
	--btn-h-sm: 44px;
	--btn-h-lg: 56px;
	--btn-gold: linear-gradient(180deg, #A8843A 0%, var(--c-gold-btn-2) 100%);
	--btn-gold-hover: linear-gradient(180deg, #957330 0%, #75591A 100%);
}
@media (min-width: 900px) {
	:root { --header-h: 84px; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
body {
	margin: 0;
	background: var(--c-cream-50);
	color: var(--c-ink);
	font-family: var(--f-sans);
	font-size: var(--fs-base);
	line-height: var(--lh-body);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
	overflow-x: clip;
}
img, svg, video { max-width: 100%; height: auto; }
img { display: block; }
svg { flex-shrink: 0; }
a { color: var(--c-navy); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--c-gold-text); }
p { margin: 0 0 var(--s-4); }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 { font-family: var(--f-serif); color: var(--c-navy); font-weight: 600; line-height: var(--lh-snug); margin: 0 0 var(--s-4); letter-spacing: -0.01em; }
h1 { font-size: var(--fs-h1); line-height: var(--lh-tight); letter-spacing: -0.02em; }
h2 { font-size: var(--fs-h2); line-height: 1.18; }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }
ul, ol { margin: 0 0 var(--s-4); padding-left: 1.25em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--c-gold); outline-offset: 2px; border-radius: 2px; }
.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;
}
.mg-skip-link { position: absolute; left: 8px; top: -100px; z-index: 2000; background: var(--c-navy); color: #fff; padding: 12px 16px; border-radius: var(--r-sm); }
.mg-skip-link:focus { top: 8px; color: #fff; }
.mg-container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.mg-main { display: block; min-height: 40vh; }

/* ---------- Typography helpers ---------- */
.mg-eyebrow {
	font-family: var(--f-sans);
	font-size: var(--fs-xs);
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--c-gold-text);
	margin: 0 0 var(--s-2);
}
.mg-eyebrow a { color: inherit; text-decoration: none; }
.mg-lead { font-size: var(--fs-md); color: var(--c-muted); }
.mg-signature { font-family: var(--f-serif); font-style: italic; font-size: 1.75rem; color: var(--c-gold-text); margin-top: var(--s-5); }
.mg-signature::after { content: " ♡"; }

/* ---------- Sections & grids ---------- */
.mg-section { padding: var(--section-y) var(--pad-x); }
.mg-section--tight { padding-top: calc(var(--section-y) * 0.55); padding-bottom: calc(var(--section-y) * 0.55); }
.mg-section--catalog { padding-top: var(--s-7); }
.mg-section > :last-child { margin-bottom: 0; }
.mg-section__head { margin-bottom: var(--s-6); max-width: 760px; }
.mg-section__head h2 { margin-bottom: var(--s-2); }
.mg-section__head .mg-lead { margin: 0; }
.mg-section__head--split { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--s-3) var(--s-6); max-width: none; }
.mg-section__head--split > .mg-section__head-text { max-width: 760px; }
.mg-section__head--split .mg-section__head-text > :last-child { margin-bottom: 0; }
.mg-section__head--rule { display: flex; align-items: center; gap: var(--s-6); max-width: none; margin-top: var(--s-8); }
.mg-section__head--rule h2 { margin: 0; white-space: nowrap; }
.mg-section__head--rule::after { content: ""; flex: 1; height: 1px; background: var(--c-gold-300); }
.mg-more { margin: 0; font-weight: 600; font-size: var(--fs-sm); }
.mg-more a { color: var(--c-gold-text); text-decoration: underline; text-underline-offset: 4px; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }
.mg-more a::after, .mg-link-arrow::after { content: none; }
.mg-more a::after { content: "→"; text-decoration: none; display: inline-block; }

.mg-grid { display: grid; gap: var(--s-5); grid-template-columns: minmax(0, 1fr); list-style: none; margin: 0; padding: 0; }
@media (min-width: 560px) {
	.mg-grid--2, .mg-grid--3, .mg-grid--4, .mg-grid--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
	.mg-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.mg-grid--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.mg-grid--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
	.mg-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.mg-grid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
.mg-panel { background: var(--c-white); border: 1px solid var(--c-line); border-radius: var(--r-lg); box-shadow: var(--sh-xs); }

/* ---------- Buttons (theme + core/button styles) ---------- */
.mg-btn,
.wp-block-button .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: var(--btn-h);
	padding: 12px 24px;
	border: 1.5px solid transparent;
	border-radius: var(--r-sm);
	font-family: var(--f-sans);
	font-size: var(--fs-base);
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background var(--t-fast) var(--ease), border-color var(--t-fast), color var(--t-fast), box-shadow var(--t-fast), transform var(--t-fast);
	-webkit-tap-highlight-color: transparent;
}
.mg-btn:active, .wp-block-button__link:active { transform: translateY(1px); }
.mg-btn--sm { min-height: var(--btn-h-sm); padding: 10px 18px; font-size: var(--fs-sm); }
.mg-btn--lg { min-height: var(--btn-h-lg); padding: 14px 28px; font-size: var(--fs-md); }
.mg-btn--block { display: flex; width: 100%; }

.mg-btn--gold,
.wp-block-button__link,
.wp-block-button.is-style-mg-gold .wp-block-button__link { background: var(--btn-gold); color: #fff; box-shadow: 0 2px 8px rgba(134, 104, 31, 0.25); }
.mg-btn--gold:hover,
.wp-block-button__link:hover,
.wp-block-button.is-style-mg-gold .wp-block-button__link:hover { background: var(--btn-gold-hover); color: #fff; }
.wp-block-button.is-style-mg-gold .wp-block-button__link::after { content: "→"; font-size: 1.1em; line-height: 1; }

.mg-btn--outline,
.wp-block-button.is-style-mg-outline .wp-block-button__link { background: var(--c-white); color: var(--c-navy); border-color: var(--c-gold); box-shadow: none; }
.mg-btn--outline:hover,
.wp-block-button.is-style-mg-outline .wp-block-button__link:hover { background: var(--c-gold-100); color: var(--c-navy); }
.wp-block-button.is-style-mg-outline .wp-block-button__link::after { content: "→"; color: var(--c-gold-text); }

.mg-btn--navy,
.wp-block-button.is-style-mg-navy .wp-block-button__link { background: var(--c-navy); color: #fff; box-shadow: none; }
.mg-btn--navy:hover,
.wp-block-button.is-style-mg-navy .wp-block-button__link:hover { background: var(--c-navy-700); color: #fff; }

.mg-btn--whatsapp,
.wp-block-button.is-style-mg-whatsapp .wp-block-button__link { background: var(--c-white); color: var(--c-navy); border-color: #C9CFDA; box-shadow: var(--sh-xs); }
.mg-btn--whatsapp:hover,
.wp-block-button.is-style-mg-whatsapp .wp-block-button__link:hover { border-color: var(--c-navy); color: var(--c-navy); background: #fff; }
.wp-block-button.is-style-mg-whatsapp .wp-block-button__link::before,
.wp-block-button.is-style-mg-light .wp-block-button__link::before {
	content: "";
	width: 22px; height: 22px;
	background: var(--c-wa);
	-webkit-mask: var(--wa-mask) center / contain no-repeat;
	mask: var(--wa-mask) center / contain no-repeat;
}
.wp-block-button.is-style-mg-light .wp-block-button__link { background: var(--c-white); color: var(--c-navy); box-shadow: none; }
.wp-block-button.is-style-mg-light .wp-block-button__link:hover { background: var(--c-gold-100); color: var(--c-navy); }
.wp-block-button.is-style-mg-light .wp-block-button__link::after { content: "→"; }
:root { --wa-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.2a9.7 9.7 0 0 0-8.3 14.7L2.3 21.8l5-1.3A9.7 9.7 0 1 0 12 2.2zm4.4 11.7c-.2-.1-1.4-.7-1.7-.8-.2-.1-.4-.1-.5.1l-.8 1c-.1.2-.3.2-.5.1a6.6 6.6 0 0 1-3.3-2.9c-.2-.4.2-.4.7-1.3.1-.2 0-.3 0-.4l-.8-1.8c-.2-.5-.4-.4-.5-.4h-.5a.9.9 0 0 0-.7.3 2.8 2.8 0 0 0-.9 2.1 4.9 4.9 0 0 0 1 2.6 11.2 11.2 0 0 0 4.3 3.8c1.6.7 2.2.7 3 .6a2.6 2.6 0 0 0 1.7-1.2 2.1 2.1 0 0 0 .1-1.2c0-.1-.2-.2-.4-.3z'/%3E%3C/svg%3E"); }
.mg-wa-icon { color: var(--c-wa); }
.mg-btn--gold .mg-wa-icon, .mg-btn--navy .mg-wa-icon { color: #fff; }
.mg-btn--navy .mg-wa-icon { color: var(--c-wa); }

.wp-block-buttons { display: flex; flex-wrap: wrap; gap: var(--s-3); margin: var(--s-6) 0 0; }
.wp-block-buttons > .wp-block-button { margin: 0; }
.mg-actions { display: flex; flex-wrap: wrap; gap: var(--s-3); }

.mg-link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--c-gold-text); text-decoration: none; min-height: 44px; }
.mg-link-arrow:hover { color: var(--c-navy); }
.mg-link-arrow--sm { font-size: var(--fs-sm); min-height: 32px; }
.mg-icon-btn {
	display: inline-flex; align-items: center; justify-content: center;
	width: 44px; height: 44px; padding: 0;
	background: transparent; border: 0; border-radius: var(--r-sm);
	color: var(--c-navy); position: relative;
}
.mg-icon-btn:hover { background: var(--c-cream); color: var(--c-navy); }

/* Chips & badges */
.mg-chip { display: inline-block; padding: 4px 12px; border-radius: var(--r-xs); background: #fff; color: var(--c-navy); font-size: var(--fs-xs); font-weight: 600; box-shadow: var(--sh-xs); }
.mg-badge { font-family: var(--f-sans); letter-spacing: 0; display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: var(--r-pill); font-size: 11px; font-weight: 700; line-height: 1; vertical-align: middle; }
.mg-badge--gold { background: var(--c-gold); color: var(--c-navy-900); }
.mg-badge--green { background: var(--c-green-bg); color: var(--c-green); font-size: 11px; height: 22px; padding: 0 10px; }

/* ---------- Top bar ---------- */
.mg-topbar { background: var(--c-navy); color: #E7ECF5; font-size: var(--fs-xs); }
.mg-topbar__list { list-style: none; margin: 0 auto; display: flex; justify-content: center; align-items: center; min-height: 38px; position: relative; }
.mg-topbar__item { display: none; align-items: center; gap: 8px; }
.mg-topbar__item.is-current { display: flex; animation: mg-fade .4s var(--ease); }
.mg-topbar__item svg { color: var(--c-gold); }
.mg-topbar__item a { color: inherit; }
@keyframes mg-fade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@media (min-width: 900px) {
	.mg-topbar__list { justify-content: space-between; }
	.mg-topbar__item { display: flex; }
	.mg-topbar__item.is-current { animation: none; }
}

/* ---------- Header ---------- */
.mg-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(255, 255, 255, 0.97);
	border-bottom: 1px solid var(--c-line);
	transition: box-shadow var(--t) var(--ease);
}
.mg-header.is-scrolled { box-shadow: 0 6px 24px rgba(11, 35, 73, 0.08); }
@supports (backdrop-filter: blur(8px)) {
	.mg-header { background: rgba(255, 255, 255, 0.9); backdrop-filter: saturate(160%) blur(10px); -webkit-backdrop-filter: saturate(160%) blur(10px); }
}
.mg-header__inner { display: flex; align-items: center; gap: var(--s-4); min-height: var(--header-h); }
.mg-logo { display: block; flex-shrink: 0; margin-right: auto; }
.mg-logo img { width: auto; height: 46px; }
@media (min-width: 900px) { .mg-logo img { height: 60px; } }
@media (min-width: 1100px) { .mg-logo { margin-right: 0; } }
.mg-logo--sm img { height: 42px; }

.mg-nav { display: none; }
.mg-menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: clamp(12px, 1.6vw, 28px); }
.mg-menu a { position: relative; display: inline-flex; align-items: center; min-height: 44px; color: var(--c-navy); font-size: var(--fs-sm); font-weight: 600; text-decoration: none; white-space: nowrap; }
.mg-menu a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 2px; background: var(--c-gold); transform: scaleX(0); transform-origin: left; transition: transform var(--t) var(--ease); }
.mg-menu a:hover::after, .mg-menu .current-menu-item > a::after, .mg-menu a[aria-current="page"]::after { transform: scaleX(1); }
.mg-menu a:hover { color: var(--c-navy); }
@media (min-width: 1100px) {
	.mg-nav { display: block; margin-inline: auto; }
}

.mg-header__actions { display: flex; align-items: center; gap: var(--s-2); }
.mg-header__search { display: none; }
.mg-header__wa { display: none; }
@media (min-width: 640px) { .mg-header__wa { display: inline-flex; } }
@media (min-width: 1100px) {
	.mg-header__search { display: block; width: clamp(180px, 15vw, 230px); }
	.mg-header__search-btn, .mg-burger { display: none; }
	.mg-header__actions { gap: var(--s-3); }
}
.mg-cart-count { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--c-gold); color: var(--c-navy-900); font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; }

/* Search */
.mg-search { position: relative; display: flex; align-items: center; }
.mg-search__icon { position: absolute; left: 12px; color: var(--c-gold-text); pointer-events: none; }
.mg-search input[type="search"] {
	width: 100%; min-height: 44px; padding: 10px 12px 10px 38px;
	border: 1px solid #DCD3C1; border-radius: var(--r-sm); background: var(--c-cream-50);
	font-size: var(--fs-base); color: var(--c-ink);
	-webkit-appearance: none; appearance: none;
}
.mg-search input[type="search"]::placeholder { color: #8A8F99; }
.mg-search input[type="search"]:focus { outline: none; border-color: var(--c-gold); box-shadow: 0 0 0 3px rgba(198, 160, 74, 0.25); background: #fff; }
.mg-search__submit { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); border: 0; padding: 0; }
.mg-search__submit:focus { position: static; width: auto; height: 44px; clip: auto; clip-path: none; margin-left: 8px; padding: 0 14px; background: var(--c-navy); color: #fff; border-radius: var(--r-sm); }
@media (min-width: 1100px) { .mg-header__search .mg-search input[type="search"] { font-size: var(--fs-sm); } }
.mg-search-wide { max-width: 560px; margin-top: var(--s-4); }

/* Drawer (mobile menu) */
.mg-drawer { position: fixed; inset: 0; z-index: 1000; }
.mg-drawer[hidden] { display: none; }
.mg-drawer__overlay { position: absolute; inset: 0; background: rgba(7, 24, 49, 0.55); opacity: 0; transition: opacity var(--t) var(--ease); }
.mg-drawer__panel {
	position: absolute; top: 0; right: 0; bottom: 0;
	width: min(400px, 88vw);
	display: flex; flex-direction: column; gap: var(--s-5);
	padding: var(--s-4) var(--s-5) calc(var(--s-6) + env(safe-area-inset-bottom));
	background: var(--c-white);
	box-shadow: var(--sh-pop);
	overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
	transform: translateX(100%);
	transition: transform var(--t) var(--ease);
	outline: none;
}
.mg-drawer.is-open .mg-drawer__overlay { opacity: 1; }
.mg-drawer.is-open .mg-drawer__panel { transform: none; }
.mg-drawer__head { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); }
.mg-drawer__head .mg-logo { margin: 0; }
.mg-menu--drawer { flex-direction: column; align-items: stretch; gap: 0; }
.mg-menu--drawer li { border-bottom: 1px solid var(--c-line); }
.mg-menu--drawer a { display: flex; min-height: 52px; font-family: var(--f-serif); font-size: 1.25rem; font-weight: 600; }
.mg-menu--drawer a::after { bottom: 10px; right: auto; width: 32px; }
.mg-drawer__foot { margin-top: auto; display: flex; flex-direction: column; gap: var(--s-3); }
.mg-drawer__contact { display: flex; align-items: center; gap: 10px; min-height: 44px; color: var(--c-navy); text-decoration: none; font-weight: 500; }
.mg-drawer__contact svg { color: var(--c-gold-text); }
body.mg-locked { overflow: hidden; }

/* ---------- Breadcrumbs ---------- */
.mg-breadcrumbs { margin: 0 0 var(--s-4); font-size: var(--fs-sm); }
.mg-breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 2px 0; }
.mg-breadcrumbs li { display: inline-flex; align-items: center; color: var(--c-ink); }
.mg-breadcrumbs li + li::before { content: "/"; margin: 0 8px; color: #A9A9A9; }
.mg-breadcrumbs a { color: var(--c-gold-text); text-decoration: none; padding: 6px 0; }
.mg-breadcrumbs a:hover { text-decoration: underline; }
.mg-breadcrumbs li[aria-current] { color: var(--c-muted); }

/* ---------- Hero ---------- */
.mg-hero {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	background: linear-gradient(180deg, #FBF6EC 0%, var(--c-cream-50) 100%);
	padding: var(--s-6) var(--pad-x) 0;
	overflow: hidden;
	isolation: isolate;
}
.mg-hero__content { position: relative; z-index: 2; padding-bottom: var(--s-7); }
.mg-hero__title { margin: 0 0 var(--s-4); }
.mg-hero__lead { font-size: var(--fs-md); color: #3B4459; max-width: 34em; }
.mg-hero__lead strong { display: inline-block; font-family: var(--f-serif); font-size: 1.25rem; font-weight: 500; color: var(--c-navy); line-height: 1.35; margin-bottom: 6px; }
.mg-hero__actions { margin-top: var(--s-6); }
.mg-hero__media { margin: 0 calc(-1 * var(--pad-x)); position: relative; }
.mg-hero__media img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: 70% center; }
.mg-hero .mg-breadcrumbs { margin-bottom: var(--s-4); }

.mg-trust { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-4); margin-top: var(--s-7); }
.mg-trust__item { display: flex; align-items: center; gap: var(--s-3); }
.mg-trust__item .mg-icon svg { width: 34px; height: 34px; color: var(--c-gold); }
.mg-trust__item p { margin: 0; font-size: var(--fs-sm); color: var(--c-muted); line-height: 1.4; }
.mg-trust__item strong { color: var(--c-navy); font-weight: 600; font-size: var(--fs-base); }
@media (min-width: 560px) {
	.mg-trust { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
}

@media (min-width: 900px) {
	.mg-hero { padding-top: var(--s-7); min-height: 420px; align-items: center; }
	.mg-hero__content { max-width: min(640px, 52%); padding-bottom: var(--s-8); }
	.mg-hero__media { position: absolute; inset: 0 0 0 auto; width: 58%; margin: 0; z-index: 1; }
	.mg-hero__media img { height: 100%; aspect-ratio: auto; object-position: right center;
		-webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.65) 18%, #000 38%);
		mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.65) 18%, #000 38%); }
	.mg-trust { display: flex; flex-wrap: wrap; gap: var(--s-4) 0; }
	.mg-trust__item { padding-right: var(--s-5); margin-right: var(--s-5); border-right: 1px solid var(--c-cream-200); }
	.mg-trust__item .mg-icon svg { width: 30px; height: 30px; }
	.mg-trust__item:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
}
@media (min-width: 1100px) {
	.mg-hero--home { min-height: 500px; }
	.mg-hero--home .mg-hero__content { padding-top: var(--s-6); }
}
.mg-hero--compact { min-height: 0; }
@media (min-width: 900px) {
	.mg-hero--compact { min-height: 300px; }
	.mg-hero--delivery, .mg-hero--blog { min-height: 340px; }
}

/* Article hero */
.mg-hero--article { padding-bottom: 0; }
.mg-article__meta { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-6); margin: 0 0 var(--s-4); font-size: var(--fs-sm); color: var(--c-ink); }
.mg-article__meta span { display: inline-flex; align-items: center; gap: 8px; }
.mg-article__meta svg { color: var(--c-gold-text); }
.mg-article__meta a { color: inherit; text-decoration: none; }
.mg-article__meta a:hover { color: var(--c-gold-text); }
.mg-hero__media--article img { aspect-ratio: 4 / 3; object-position: center; }
@media (min-width: 900px) {
	.mg-hero--article { min-height: 400px; }
	.mg-hero__media--article { width: 50%; }
	.mg-hero__media--article img { object-position: center; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%); mask-image: linear-gradient(90deg, transparent 0, #000 22%); }
}

/* Compact page header (text pages, archives, search) */
.mg-page-header { background: linear-gradient(180deg, #FBF6EC 0%, var(--c-cream-50) 100%); padding: var(--s-6) 0 var(--s-7); border-bottom: 1px solid var(--c-line); }
.mg-page-header__title { margin: 0; }
.mg-page-header__intro { margin-top: var(--s-3); color: var(--c-muted); max-width: 48em; font-size: var(--fs-md); }

/* ---------- Icons, features, cards ---------- */
.mg-icon { display: inline-flex; color: var(--c-gold); line-height: 0; }
.mg-icon svg { width: 36px; height: 36px; stroke-width: 1.4; }

.mg-feature { display: flex; gap: var(--s-4); align-items: flex-start; }
.mg-feature__title { font-family: var(--f-sans); font-size: var(--fs-base); font-weight: 600; color: var(--c-navy); margin: 0 0 4px; letter-spacing: 0; line-height: 1.35; }
.mg-feature__text { margin: 0; font-size: var(--fs-sm); color: var(--c-muted); line-height: 1.5; }
.mg-feature__body > :last-child { margin-bottom: 0; }
.mg-feature--center { flex-direction: column; align-items: center; text-align: center; gap: var(--s-3); padding: var(--s-6) var(--s-4); }
.mg-feature--card { flex-direction: column; align-items: center; text-align: center; gap: var(--s-3); padding: var(--s-7) var(--s-5); background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); box-shadow: var(--sh-xs); height: 100%; }
.mg-feature--card .mg-feature__title { font-family: var(--f-serif); font-size: var(--fs-h3); }
.mg-feature--row .mg-icon svg { width: 32px; height: 32px; }
.mg-feature--mini { align-items: center; gap: var(--s-3); }
.mg-feature--mini .mg-icon svg { width: 28px; height: 28px; }
.mg-feature--mini .mg-feature__title { font-size: var(--fs-sm); margin: 0; }
.mg-feature--mini .mg-feature__text { font-size: var(--fs-xs); }
.mg-why { padding: var(--s-2); gap: 0; }
@media (min-width: 1100px) {
	.mg-why > .mg-feature + .mg-feature { border-left: 1px solid var(--c-line); }
}
.mg-feature-list { display: grid; gap: var(--s-5); }

.mg-card { background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-xs); display: flex; flex-direction: column; height: 100%; }
.mg-card__media { margin: 0; }
.mg-card__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.mg-card__body { padding: var(--s-5); }
.mg-card__body h3 { font-size: var(--fs-h3); margin-bottom: var(--s-2); }
.mg-card__body p { color: var(--c-muted); font-size: var(--fs-sm); margin: 0; }
.mg-card--flat { box-shadow: none; }
.mg-card--flat .mg-card__body { padding: var(--s-3) var(--s-1) 0; }
.mg-card--flat { border: 0; background: transparent; }
.mg-card--flat .mg-card__media img { border-radius: var(--r-md); }
.wp-block-group.is-style-mg-card { background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); padding: var(--s-6); box-shadow: var(--sh-xs); }

/* Steps */
.mg-steps { display: grid; gap: var(--s-6); counter-reset: mg-step; grid-template-columns: minmax(0, 1fr); }
.mg-step { position: relative; counter-increment: mg-step; display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: var(--s-4); align-items: start; }
.mg-step::before {
	content: counter(mg-step);
	grid-row: span 3;
	display: flex; align-items: center; justify-content: center;
	width: 48px; height: 48px; border-radius: 50%;
	background: linear-gradient(180deg, #B8933F, var(--c-gold-btn));
	color: #fff; font-family: var(--f-serif); font-size: 1.25rem; font-weight: 700;
	box-shadow: 0 0 0 5px var(--c-gold-100);
}
.mg-step h3 { font-family: var(--f-sans); font-size: var(--fs-base); font-weight: 600; margin: 4px 0 4px; }
.mg-step p { margin: 0; color: var(--c-muted); font-size: var(--fs-sm); }
.mg-step--icon .mg-icon { grid-column: 2; margin-bottom: var(--s-2); }
@media (min-width: 640px) {
	.mg-steps--3, .mg-steps--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1000px) {
	.mg-steps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.mg-steps--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.mg-steps .mg-step:not(:last-child)::after { content: "→"; position: absolute; right: -14px; top: 10px; color: var(--c-gold-text); font-size: 1.25rem; }
	.mg-step--icon { grid-template-columns: minmax(0, 1fr); text-align: center; justify-items: center; }
	.mg-step--icon::before { grid-row: auto; position: absolute; left: calc(50% - 64px); top: -6px; width: 34px; height: 34px; font-size: 1rem; box-shadow: 0 0 0 4px var(--c-gold-100); }
	.mg-step--icon .mg-icon { grid-column: 1; }
	.mg-step--icon .mg-icon svg { width: 48px; height: 48px; }
}

/* Bands (B2B, WhatsApp, CTA strips) */
.mg-band { display: grid; grid-template-columns: minmax(0, 1fr); border-radius: var(--r-lg); overflow: hidden; }
.mg-band--navy { background: var(--c-navy); color: #E7ECF5; }
.mg-band--navy h2, .mg-band--navy h3 { color: #fff; }
.mg-band--navy .mg-eyebrow { color: var(--c-gold-300); }
.mg-band--cream { background: linear-gradient(90deg, var(--c-cream) 0%, #FDFBF6 100%); border: 1px solid var(--c-line); }
.mg-band__media { margin: 0; }
.mg-band__media img { width: 100%; height: 100%; aspect-ratio: 16 / 9; max-height: 300px; object-fit: cover; }
.mg-band__content, .mg-band__list, .mg-band__features, .mg-band__aside { padding: var(--s-6); }
.mg-band__content { padding-bottom: var(--s-3); }
.mg-band__content h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); margin-bottom: var(--s-3); }
.mg-band__content p { margin-bottom: 0; }
.mg-band__list, .mg-band__features { padding-top: 0; }
.mg-band__features { display: grid; gap: var(--s-4); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mg-band__aside { border-top: 1px solid var(--c-line); display: grid; gap: var(--s-2); }
.mg-band__aside .wp-block-buttons { margin-top: var(--s-2); }
.mg-band__aside h3 { font-family: var(--f-sans); font-size: var(--fs-base); margin: 0; }
.mg-band__aside p { margin: 0; color: var(--c-muted); font-size: var(--fs-sm); }
@media (min-width: 900px) {
	.mg-band { grid-template-columns: minmax(200px, 0.85fr) minmax(0, 1.4fr) minmax(0, 1fr); align-items: center; }
	.mg-band__media { align-self: stretch; position: relative; min-height: 240px; }
	.mg-band__media img { position: absolute; inset: 0; aspect-ratio: auto; max-height: none; }
	.mg-band__content { padding: var(--s-7); }
	.mg-band__list, .mg-band__features, .mg-band__aside { padding: var(--s-7) var(--s-7) var(--s-7) 0; }
	.mg-band__features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.mg-band__aside { border-top: 0; border-left: 1px solid var(--c-line); padding-left: var(--s-7); }
	.mg-band--2col { grid-template-columns: minmax(220px, 0.6fr) minmax(0, 1.6fr); }
}

/* Lists */
.wp-block-list.is-style-mg-check, .mg-checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-3); }
.wp-block-list.is-style-mg-check li, .mg-checklist li { position: relative; padding-left: 30px; font-size: var(--fs-sm); }
.wp-block-list.is-style-mg-check li::before, .mg-checklist li::before {
	content: ""; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%;
	background: var(--c-gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B2349' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E") center / 13px no-repeat;
}

/* Split (image + text) */
.mg-split { display: grid; gap: var(--s-7); align-items: center; }
.mg-split__media { margin: 0; }
.mg-split__media img { width: 100%; border-radius: var(--r-lg); aspect-ratio: 4 / 3; object-fit: cover; box-shadow: var(--sh-card); }
.mg-split__content p { color: #3B4459; }
@media (min-width: 900px) { .mg-split { grid-template-columns: 1fr 1fr; gap: var(--s-9); } }

/* CTA panel */
.mg-cta { display: grid; border-radius: var(--r-lg); overflow: hidden; background: linear-gradient(90deg, #FBF3E2 0%, #FDF9F1 60%); border: 1px solid var(--c-line); }
.mg-cta__content { padding: var(--s-7) var(--s-6); }
.mg-cta__content h2 { margin-bottom: var(--s-3); }
.mg-cta__media { margin: 0; }
.mg-cta__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 9; }
@media (min-width: 900px) {
	.mg-cta { grid-template-columns: 1fr 1fr; align-items: stretch; }
	.mg-cta__content { padding: var(--s-8) var(--s-8); align-self: center; }
	.mg-cta__media { position: relative; min-height: 280px; }
	.mg-cta__media img { position: absolute; inset: 0; aspect-ratio: auto; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 25%); mask-image: linear-gradient(90deg, transparent 0, #000 25%); }
}

/* Note box */
.mg-note { display: flex; gap: var(--s-4); align-items: center; padding: var(--s-5) var(--s-6); margin: var(--s-6) 0; background: var(--c-gold-100); border-radius: var(--r-md); }
.mg-note .mg-icon { flex-shrink: 0; width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(180deg, #B8933F, var(--c-gold-btn)); color: #fff; align-items: center; justify-content: center; }
.mg-note .mg-icon svg { width: 28px; height: 28px; }
.mg-note p { margin: 0; color: var(--c-ink); }

/* Area (contact) */
.mg-area { display: flex; gap: var(--s-5); align-items: center; padding: var(--s-6); background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); }
.mg-area h2 { font-size: var(--fs-h3); margin-bottom: var(--s-2); }
.mg-area p { margin: 0; color: var(--c-muted); }

/* SEO text block */
.mg-seo { color: #3B4459; }
.mg-seo > * { max-width: 960px; }
.mg-seo h2 { font-size: clamp(1.375rem, 1.15rem + 0.8vw, 1.75rem); margin-bottom: var(--s-3); }
.mg-seo .mg-grid { max-width: none; margin-top: var(--s-6); }
.mg-seo p { font-size: var(--fs-base); }

/* ---------- FAQ (core/details) ---------- */
.wp-block-details {
	background: #fff;
	border: 1px solid var(--c-line);
	border-radius: var(--r-sm);
	margin: 0 0 var(--s-2);
	box-shadow: var(--sh-xs);
}
.wp-block-details > summary {
	position: relative;
	list-style: none;
	display: flex; align-items: center;
	min-height: 52px;
	padding: 12px 52px 12px 16px;
	font-weight: 600; font-size: var(--fs-sm); color: var(--c-navy);
	cursor: pointer;
}
.wp-block-details > summary::-webkit-details-marker { display: none; }
.wp-block-details > summary::after {
	content: ""; position: absolute; right: 16px; top: 50%; width: 18px; height: 18px; margin-top: -9px;
	background:
		linear-gradient(var(--c-gold-text), var(--c-gold-text)) center / 14px 2px no-repeat,
		linear-gradient(var(--c-gold-text), var(--c-gold-text)) center / 2px 14px no-repeat;
	transition: transform var(--t) var(--ease);
}
.wp-block-details[open] > summary::after { background: linear-gradient(var(--c-gold-text), var(--c-gold-text)) center / 14px 2px no-repeat; }
.wp-block-details > summary:hover { color: var(--c-gold-text); }
.wp-block-details > :not(summary) { padding: 0 16px; color: #3B4459; font-size: var(--fs-sm); }
.wp-block-details > :not(summary):last-child { padding-bottom: 16px; }
.mg-faq__list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 var(--s-5); align-items: start; }
@media (min-width: 900px) { .mg-faq--2col .mg-faq__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.mg-faq .mg-section__head { margin-bottom: var(--s-5); }
.mg-faq--plain h2 { font-size: var(--fs-h3); }

/* ---------- Product cards & grids ---------- */
.mg-product-card {
	display: flex; flex-direction: column; height: 100%;
	background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-md);
	overflow: hidden; box-shadow: var(--sh-xs);
	transition: box-shadow var(--t) var(--ease), transform var(--t) var(--ease);
}
.mg-product-card:hover { box-shadow: var(--sh-hover); transform: translateY(-2px); }
.mg-product-card__media { display: block; background: var(--c-cream); }
.mg-product-card__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 400ms var(--ease); }
.mg-product-card:hover .mg-product-card__media img { transform: scale(1.03); }
.mg-product-card__body { display: flex; flex-direction: column; gap: 6px; flex: 1; padding: var(--s-4); }
.mg-product-card__title { font-family: var(--f-sans); font-size: var(--fs-base); font-weight: 500; line-height: 1.35; margin: 0; letter-spacing: 0; }
.mg-product-card__title a { color: var(--c-navy); text-decoration: none; }
.mg-product-card__title a:hover { color: var(--c-gold-text); }
.mg-product-card__dims { margin: 0; font-weight: 600; color: var(--c-navy); font-size: var(--fs-sm); }
.mg-product-card__chips { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 2px 0 0; }
.mg-product-card__chips li { padding: 2px 8px; border-radius: var(--r-xs); background: var(--c-gray-50); border: 1px solid #E6E8EE; font-size: 12px; color: #475067; }
.mg-product-card__price { margin: auto 0 var(--s-2); padding-top: var(--s-2); }
.mg-product-card .mg-btn { margin-top: 0; }
.mg-price { font-weight: 700; color: var(--c-gold-text); font-size: 1.125rem; }
.mg-price del { color: var(--c-muted); font-weight: 400; font-size: 0.85em; margin-right: 6px; }
.mg-price ins { text-decoration: none; }
.mg-price__unit { font-size: 0.8em; font-weight: 500; color: var(--c-muted); }
.mg-price--lg { font-family: var(--f-serif); font-size: clamp(1.75rem, 1.5rem + 1vw, 2.25rem); margin: 0; line-height: 1.1; }
.mg-product-grid { gap: var(--s-4); }
@media (min-width: 900px) { .mg-product-grid { gap: var(--s-5); } }

/* Category cards */
.mg-cat-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-md); overflow: hidden; box-shadow: var(--sh-xs); transition: box-shadow var(--t); }
.mg-cat-card:hover { box-shadow: var(--sh-hover); }
.mg-cat-card__media { display: block; background: var(--c-cream); }
.mg-cat-card__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.mg-cat-card__body { padding: var(--s-3) var(--s-4) var(--s-4); }
.mg-cat-card__title { font-family: var(--f-sans); font-size: var(--fs-base); font-weight: 600; margin: 0; letter-spacing: 0; }
.mg-cat-card__title a { color: var(--c-navy); text-decoration: none; }

/* ---------- Shop: catalog, filters, toolbar ---------- */
.mg-catalog { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-6); align-items: start; }
@media (min-width: 1000px) { .mg-catalog { grid-template-columns: 250px minmax(0, 1fr); gap: var(--s-7); } }

.mg-pills ul { list-style: none; margin: 0 0 var(--s-5); padding: 0 0 4px; display: flex; gap: var(--s-2); overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.mg-pills ul::-webkit-scrollbar { display: none; }
.mg-pill {
	display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
	min-height: 44px; padding: 8px 18px;
	border: 1px solid #DED4BF; border-radius: var(--r-pill);
	background: #fff; color: var(--c-navy); font-size: var(--fs-sm); font-weight: 500; text-decoration: none;
	transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast);
}
.mg-pill svg { color: var(--c-gold-text); }
.mg-pill:hover { border-color: var(--c-gold); color: var(--c-navy); }
.mg-pill.is-active { background: var(--btn-gold); border-color: transparent; color: #fff; font-weight: 600; }
.mg-pill.is-active svg { color: #fff; }
@media (min-width: 900px) { .mg-pills ul { flex-wrap: wrap; overflow: visible; } }

.mg-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3); margin-bottom: var(--s-5); }
.mg-toolbar__count { margin: 0 auto 0 0; font-size: var(--fs-sm); color: var(--c-muted); }
.mg-sort { display: flex; align-items: center; gap: var(--s-2); }
.mg-sort label { font-size: var(--fs-sm); color: var(--c-muted); }
.mg-sort select, .mg-field select {
	min-height: 44px; padding: 8px 40px 8px 14px;
	border: 1px solid #DCD3C1; border-radius: var(--r-sm); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B2349' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 12px center / 16px no-repeat;
	-webkit-appearance: none; appearance: none; font-size: var(--fs-sm); color: var(--c-ink);
}
.mg-toolbar__filters { order: -1; }
@media (min-width: 1000px) { .mg-toolbar__filters { display: none; } }

.mg-filters { background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-md); padding: var(--s-5); box-shadow: var(--sh-xs); }
.mg-filters__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--s-3); }
.mg-filters__title { font-size: 1.375rem; margin: 0; }
.mg-filters__close { display: none; }
.mg-filter { border-top: 1px solid var(--c-line); padding: var(--s-3) 0; }
.mg-filter:first-child { border-top: 0; }
.mg-filter__title { list-style: none; display: flex; align-items: center; justify-content: space-between; min-height: 40px; font-weight: 600; color: var(--c-navy); cursor: pointer; }
.mg-filter__title::-webkit-details-marker { display: none; }
.mg-filter__title::after { content: ""; width: 10px; height: 10px; border-right: 2px solid var(--c-gold-text); border-bottom: 2px solid var(--c-gold-text); transform: rotate(-135deg) translate(-2px, -2px); transition: transform var(--t); }
.mg-filter:not([open]) .mg-filter__title::after { transform: rotate(45deg); }
.mg-filter fieldset { border: 0; margin: 0; padding: var(--s-1) 0 0; min-width: 0; }
.mg-check { display: flex; align-items: center; gap: 10px; min-height: 40px; font-size: var(--fs-sm); cursor: pointer; }
.mg-check input { width: 20px; height: 20px; margin: 0; accent-color: var(--c-gold-btn); flex-shrink: 0; }
.mg-count { color: var(--c-muted); }
.mg-filters__actions { display: grid; gap: var(--s-2); margin-top: var(--s-4); }
.js .mg-filters__actions [data-mg-apply] { display: none; }

.mg-price-filter__inputs { display: flex; align-items: center; gap: var(--s-2); margin-top: var(--s-3); }
.mg-price-filter__inputs label { display: flex; align-items: center; gap: 4px; flex: 1; font-size: var(--fs-sm); color: var(--c-muted); }
.mg-price-filter__inputs input { width: 100%; min-width: 0; min-height: 40px; padding: 6px 8px; border: 1px solid #DCD3C1; border-radius: var(--r-sm); font-size: var(--fs-base); }
.mg-range { position: relative; height: 28px; }
.mg-range__track { position: absolute; left: 0; right: 0; top: 12px; height: 4px; border-radius: 2px; background: var(--c-cream-200); }
.mg-range__fill { position: absolute; top: 0; bottom: 0; background: var(--c-gold); border-radius: 2px; left: 0; right: 0; }
.mg-range input[type="range"] { position: absolute; left: 0; right: 0; top: 0; width: 100%; height: 28px; margin: 0; background: none; pointer-events: none; -webkit-appearance: none; appearance: none; }
.mg-range input[type="range"]::-webkit-slider-thumb { pointer-events: auto; -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--c-gold); border: 3px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,.25); cursor: pointer; }
.mg-range input[type="range"]::-moz-range-thumb { pointer-events: auto; width: 18px; height: 18px; border-radius: 50%; background: var(--c-gold); border: 3px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,.25); cursor: pointer; }
.mg-range input[type="range"]::-webkit-slider-runnable-track { background: transparent; }
.mg-range input[type="range"]::-moz-range-track { background: transparent; }
.no-js .mg-range { display: none; }

/* Mobile filters drawer */
@media (max-width: 999px) {
	.mg-filters { position: fixed; inset: 0 0 0 auto; z-index: 1001; width: min(380px, 92vw); border-radius: 0; overflow-y: auto; overscroll-behavior: contain; transform: translateX(105%); transition: transform var(--t) var(--ease); visibility: hidden; padding-bottom: calc(var(--s-7) + env(safe-area-inset-bottom)); }
	.mg-filters.is-open { transform: none; visibility: visible; box-shadow: var(--sh-pop); }
	.mg-filters__close { display: inline-flex; }
	.js .mg-filters__actions [data-mg-apply] { display: flex; }
	.no-js .mg-filters { position: static; transform: none; visibility: visible; width: auto; border-radius: var(--r-md); }
	.no-js .mg-toolbar__filters { display: none; }
}
.mg-filters-overlay { position: fixed; inset: 0; z-index: 1000; background: rgba(7, 24, 49, 0.5); }
.mg-filters-overlay[hidden] { display: none; }

/* Pagination */
.mg-pagination { margin-top: var(--s-7); }
.mg-pagination ul { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; gap: var(--s-2); flex-wrap: wrap; }
.mg-pagination a, .mg-pagination span.page-numbers {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 44px; height: 44px; padding: 0 12px;
	border: 1px solid #DED4BF; border-radius: var(--r-sm); background: #fff;
	color: var(--c-navy); font-weight: 600; text-decoration: none;
}
.mg-pagination a:hover { border-color: var(--c-gold); color: var(--c-gold-text); }
.mg-pagination .current { background: var(--btn-gold) !important; border-color: transparent !important; color: #fff !important; }
.mg-pagination .dots { border: 0 !important; background: none !important; }
.mg-empty { padding: var(--s-7); text-align: center; background: #fff; border: 1px dashed #DED4BF; border-radius: var(--r-md); }

/* ---------- Product page ---------- */
.mg-product-page > .mg-container { padding-top: var(--s-5); }
.mg-product { display: grid; gap: var(--s-6); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .mg-product { grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr); gap: var(--s-8); align-items: start; } }

.mg-gallery { min-width: 0; }
.mg-gallery__stage { position: relative; border-radius: var(--r-md); overflow: hidden; background: var(--c-cream); box-shadow: var(--sh-card); }
.mg-gallery__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.mg-gallery__track::-webkit-scrollbar { display: none; }
.mg-gallery__slide { flex: 0 0 100%; margin: 0; scroll-snap-align: start; scroll-snap-stop: always; }
.mg-gallery__slide a { display: block; cursor: zoom-in; }
.mg-gallery__slide img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
@media (min-width: 900px) { .mg-gallery__slide img { aspect-ratio: 4 / 3; } }
.mg-gallery__nav, .mg-gallery__zoom {
	position: absolute; display: inline-flex; align-items: center; justify-content: center;
	width: 44px; height: 44px; border: 0; border-radius: 50%;
	background: rgba(255, 255, 255, 0.92); color: var(--c-navy); box-shadow: var(--sh-xs);
}
.mg-gallery__nav:hover, .mg-gallery__zoom:hover { background: #fff; color: var(--c-gold-text); }
.mg-gallery__nav { top: 50%; transform: translateY(-50%); }
.mg-gallery__nav--prev { left: 12px; }
.mg-gallery__nav--next { right: 12px; }
.mg-gallery__zoom { top: 12px; right: 12px; }
.mg-gallery__thumbs { list-style: none; margin: var(--s-3) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-3); }
.mg-gallery__thumb { display: block; width: 100%; padding: 0; border: 2px solid transparent; border-radius: var(--r-sm); overflow: hidden; background: var(--c-cream); }
.mg-gallery__thumb img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.mg-gallery__thumb.is-active { border-color: var(--c-gold); }
@media (min-width: 640px) { .mg-gallery__thumbs { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

.mg-product__summary > .mg-eyebrow { margin-bottom: var(--s-2); }
.mg-product__title { font-size: clamp(1.875rem, 1.4rem + 1.8vw, 2.75rem); line-height: 1.12; margin-bottom: var(--s-4); }
.mg-product__pricing { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-3); align-items: flex-start; padding-bottom: var(--s-4); border-bottom: 1px solid var(--c-line); margin-bottom: var(--s-4); }
.mg-price-note { margin: 6px 0 0; color: var(--c-ink); font-size: var(--fs-base); }
.mg-product__status { text-align: left; }
@media (min-width: 560px) { .mg-product__status { text-align: right; } }
.mg-stock { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 4px; font-size: var(--fs-sm); font-weight: 600; }
.mg-stock::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: currentColor; }
.mg-stock--green { color: var(--c-green); }
.mg-stock--amber { color: var(--c-amber); }
.mg-stock--red { color: var(--c-red); }
.mg-sku { margin: 0; font-size: var(--fs-xs); color: var(--c-muted); letter-spacing: 0.02em; }
.mg-product__excerpt { color: #3B4459; font-size: var(--fs-md); }
.mg-product__facts { list-style: none; margin: var(--s-5) 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s-4) var(--s-6); }
.mg-product__facts li { display: flex; align-items: center; gap: var(--s-3); }
@media (min-width: 480px) { .mg-product__facts li + li { padding-left: var(--s-6); border-left: 1px solid var(--c-line); } }
.mg-product__facts svg { color: var(--c-gold); }
.mg-product__facts span { display: flex; flex-direction: column; font-size: var(--fs-sm); color: var(--c-muted); line-height: 1.35; }
.mg-product__facts strong { color: var(--c-navy); font-size: var(--fs-base); }

.mg-buy { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-3); margin: var(--s-5) 0 var(--s-2); }
@media (min-width: 480px) { .mg-buy { grid-template-columns: auto minmax(0, 1fr); } .mg-buy > .mg-btn--navy { grid-column: 1 / -1; } }
.mg-qty { display: inline-flex; align-items: stretch; height: var(--btn-h-lg); border: 1px solid #DCD3C1; border-radius: var(--r-sm); background: #fff; overflow: hidden; }
.mg-qty__btn { width: 48px; border: 0; background: transparent; color: var(--c-navy); display: inline-flex; align-items: center; justify-content: center; }
.mg-qty__btn:hover { background: var(--c-cream); }
.mg-qty__input { width: 72px; border: 0; border-inline: 1px solid var(--c-line); text-align: center; font-weight: 600; font-size: var(--fs-md); -moz-appearance: textfield; appearance: textfield; }
.mg-qty__input::-webkit-outer-spin-button, .mg-qty__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.mg-qty__input:focus { outline: 2px solid var(--c-gold); outline-offset: -2px; }
@media (max-width: 479px) { .mg-qty { width: 100%; } .mg-qty__input { flex: 1; } }
.mg-buy__wa .mg-wa-icon { color: #fff; }
.mg-buy__alt { font-size: var(--fs-sm); color: var(--c-muted); margin: 0 0 var(--s-5); }
.mg-product__trust { list-style: none; margin: 0; padding: var(--s-4) 0 0; border-top: 1px solid var(--c-line); display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: var(--s-4); }
.mg-product__trust li { display: flex; align-items: center; gap: var(--s-3); }
.mg-product__trust svg { color: var(--c-gold); }
.mg-product__trust span { display: flex; flex-direction: column; font-size: var(--fs-xs); color: var(--c-muted); line-height: 1.35; }
.mg-product__trust strong { color: var(--c-navy); font-size: var(--fs-sm); font-weight: 600; }

.mg-product-info { display: grid; gap: var(--s-6); margin-top: var(--s-9); padding: var(--s-6); background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); box-shadow: var(--sh-xs); }
.mg-product-info h2 { font-size: var(--fs-h3); margin-bottom: var(--s-3); }
@media (min-width: 900px) {
	.mg-product-info { grid-template-columns: 1.15fr 1fr; gap: var(--s-8); padding: var(--s-7); }
	.mg-product-info__features { border-left: 1px solid var(--c-line); padding-left: var(--s-8); }
	.mg-product-info--single { grid-template-columns: 1fr; }
}
.mg-spec { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.mg-spec th, .mg-spec td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--c-line); vertical-align: top; }
.mg-spec th { width: 45%; font-weight: 500; color: var(--c-muted); }
.mg-spec td { color: var(--c-ink); font-weight: 500; }
.mg-spec tr:last-child th, .mg-spec tr:last-child td { border-bottom: 0; }
.mg-spec tbody tr:nth-child(odd) { background: var(--c-gray-50); }

/* Tabs */
.mg-tabs { margin-top: var(--s-8); background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); box-shadow: var(--sh-xs); overflow: hidden; }
.mg-tabs__list { display: flex; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--c-line); padding: 0 var(--s-4); }
.mg-tabs__list::-webkit-scrollbar { display: none; }
.mg-tabs__tab { position: relative; flex-shrink: 0; min-height: 56px; padding: 0 var(--s-3); border: 0; background: none; font-family: var(--f-serif); font-size: 1.0625rem; font-weight: 600; color: var(--c-navy); }
.mg-tabs__tab[aria-selected="true"] { color: var(--c-gold-text); }
.mg-tabs__tab[aria-selected="true"]::after { content: ""; position: absolute; left: var(--s-4); right: var(--s-4); bottom: -1px; height: 3px; background: var(--c-gold); border-radius: 2px 2px 0 0; }
.mg-tabs__panel { padding: var(--s-6) var(--s-5); }
@media (min-width: 640px) { .mg-tabs__tab { padding: 0 var(--s-5); } }
.mg-tabs__panel[hidden] { display: none; }
.mg-tabs__panel + .mg-tabs__panel { border-top: 1px solid var(--c-line); }
.js .mg-tabs__panel + .mg-tabs__panel { border-top: 0; }
.mg-tabs__panel h2 { font-size: var(--fs-h2); }
@media (min-width: 900px) { .mg-tabs__panel { padding: var(--s-7) var(--s-8); } }
.mg-related-products { margin-top: var(--s-9); }
.mg-related-products h2 { margin-bottom: var(--s-5); }
.mg-product-seo { margin-top: var(--s-6); }

/* Lightbox */
.mg-lightbox { width: min(96vw, 1200px); max-height: 92vh; padding: 0; border: 0; border-radius: var(--r-md); background: #fff; box-shadow: var(--sh-pop); overflow: hidden; }
.mg-lightbox::backdrop { background: rgba(7, 24, 49, 0.82); }
.mg-lightbox img { width: 100%; max-height: 92vh; object-fit: contain; background: #fff; }
.mg-lightbox__close { position: absolute; top: 8px; right: 8px; background: rgba(255,255,255,.95); border-radius: 50%; z-index: 1; }

/* ---------- Prose (articles, legal, tabs) ---------- */
.mg-prose { max-width: 820px; font-size: var(--fs-md); color: #2B3447; }
.mg-prose > * + * { margin-top: 0; }
.mg-prose h2 { font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem); margin: var(--s-8) 0 var(--s-3); scroll-margin-top: calc(var(--header-h) + 20px); }
.mg-prose h3 { margin: var(--s-6) 0 var(--s-3); }
.mg-prose > h2:first-child, .mg-prose > h3:first-child { margin-top: 0; }
.mg-prose ul, .mg-prose ol { padding-left: 1.4em; }
.mg-prose li { margin-bottom: var(--s-2); }
.mg-prose li::marker { color: var(--c-gold-text); }
.mg-prose a { color: var(--c-gold-text); text-decoration: underline; }
.mg-prose .wp-block-table { margin: var(--s-5) 0; overflow-x: auto; }
.mg-prose table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); background: #fff; }
.mg-prose th, .mg-prose td { padding: 10px 12px; border: 1px solid var(--c-line); text-align: left; }
.mg-prose thead th { background: var(--c-cream); color: var(--c-navy); }
.mg-prose .mg-grid { margin: var(--s-5) 0; }
.mg-prose .mg-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 1100px) { .mg-article__content .mg-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.mg-prose .mg-card h3 { font-family: var(--f-sans); font-size: var(--fs-sm); font-weight: 600; margin: 0 0 4px; }
.mg-prose .mg-card p { font-size: var(--fs-xs); }
.mg-prose .wp-block-details { margin-bottom: var(--s-2); }
.mg-section > .mg-prose { margin-inline: 0; }

/* ---------- Blog ---------- */
.mg-blog-archive .mg-pills ul { margin-bottom: var(--s-6); }
.mg-featured-row { display: grid; gap: var(--s-5); }
@media (min-width: 1000px) { .mg-featured-row { grid-template-columns: minmax(0, 1fr) 280px; } }
.mg-featured { display: grid; gap: 0; background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-xs); }
.mg-featured__media { position: relative; display: block; }
.mg-featured__media img { width: 100%; height: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.mg-featured__media .mg-chip, .mg-post-card__media .mg-chip { position: absolute; top: 14px; left: 14px; }
.mg-featured__body { padding: var(--s-6); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: var(--s-3); }
.mg-featured__body p { margin: 0; color: var(--c-muted); }
.mg-featured__title { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); margin: 0; }
.mg-featured__title a { color: var(--c-navy); text-decoration: none; }
@media (min-width: 700px) { .mg-featured { grid-template-columns: 1.1fr 1fr; } }
.mg-promo { display: flex; flex-direction: column; gap: var(--s-2); padding: var(--s-6); background: linear-gradient(180deg, #FBF3E2, #FDF9F1); border: 1px solid var(--c-line); border-radius: var(--r-lg); }
.mg-promo__title { font-family: var(--f-serif); font-size: 1.5rem; font-weight: 600; line-height: 1.2; color: var(--c-navy); margin: 0; }
.mg-promo__text { color: var(--c-muted); font-size: var(--fs-sm); margin: 0 0 var(--s-2); }
.mg-promo__img { width: 100%; border-radius: var(--r-md); margin-top: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.mg-promo .mg-btn { margin-top: var(--s-3); }

.mg-date { font-size: var(--fs-sm); color: var(--c-muted); }
.mg-date span { color: var(--c-gold-text); font-weight: 600; }
.mg-post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-md); overflow: hidden; box-shadow: var(--sh-xs); transition: box-shadow var(--t), transform var(--t); height: 100%; }
.mg-post-card:hover { box-shadow: var(--sh-hover); transform: translateY(-2px); }
.mg-post-card__media { position: relative; display: block; background: var(--c-cream); }
.mg-post-card__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.mg-post-card__body { display: flex; flex-direction: column; gap: var(--s-2); padding: var(--s-5); flex: 1; }
.mg-post-card__title { font-size: 1.25rem; line-height: 1.25; margin: 0; }
.mg-post-card__title a { color: var(--c-navy); text-decoration: none; }
.mg-post-card__title a:hover { color: var(--c-gold-text); }
.mg-post-card__excerpt { color: var(--c-muted); font-size: var(--fs-sm); margin: 0; }
.mg-post-card .mg-link-arrow { margin-top: auto; }

.mg-post-strip { display: grid; gap: var(--s-4); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1000px) { .mg-post-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.mg-post-mini { display: flex; gap: var(--s-4); align-items: center; padding: var(--s-3); background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-md); box-shadow: var(--sh-xs); }
.mg-post-mini__media { flex: 0 0 104px; border-radius: var(--r-sm); overflow: hidden; background: var(--c-cream); }
.mg-post-mini__media img { width: 104px; height: 88px; object-fit: cover; }
.mg-post-mini__title { font-family: var(--f-sans); font-size: var(--fs-sm); font-weight: 600; line-height: 1.35; margin: 0 0 4px; letter-spacing: 0; }
.mg-post-mini__title a { color: var(--c-navy); text-decoration: none; }
.mg-post-mini__title a:hover { color: var(--c-gold-text); }
.mg-post-mini__meta { display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 0; font-size: 12px; color: var(--c-muted); }
.mg-post-mini__meta span { display: inline-flex; align-items: center; gap: 4px; }
.mg-post-mini__meta svg { color: var(--c-gold-text); }

/* Article layout */
.mg-article__layout { display: grid; gap: var(--s-6); padding-top: var(--s-7); padding-bottom: var(--s-7); }
@media (min-width: 1000px) {
	.mg-article__layout { grid-template-columns: 260px minmax(0, 1fr); gap: var(--s-8); align-items: start; }
	.mg-article__layout--single { grid-template-columns: minmax(0, 1fr); }
	.mg-toc-wrap { position: sticky; top: calc(var(--header-h) + 20px); }
}
.mg-toc { background: linear-gradient(180deg, #FBF3E2, #FDF9F1); border: 1px solid var(--c-line); border-radius: var(--r-lg); padding: var(--s-5); }
.mg-toc__title { display: flex; align-items: center; gap: 10px; font-family: var(--f-serif); font-size: 1.25rem; font-weight: 600; color: var(--c-navy); margin: 0 0 var(--s-3); }
.mg-toc__title svg { color: var(--c-gold-text); }
.mg-toc ol { list-style: none; counter-reset: toc; margin: 0; padding: 0; display: grid; gap: 2px; }
.mg-toc li { counter-increment: toc; }
.mg-toc a { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 10px; align-items: center; min-height: 44px; padding: 4px 0; color: var(--c-ink); font-size: var(--fs-sm); text-decoration: none; line-height: 1.35; }
.mg-toc a::before { content: counter(toc); display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: var(--c-gold); color: var(--c-navy-900); font-weight: 700; font-size: 13px; }
.mg-toc a:hover, .mg-toc a.is-active { color: var(--c-gold-text); }
.mg-article__cta { padding: 0 var(--pad-x); }
.mg-article__cta .mg-section { padding-inline: 0; }
.mg-related { padding-top: var(--s-6); }

/* ---------- Contact ---------- */
.mg-contact-grid { display: grid; gap: var(--s-7); align-items: start; }
@media (min-width: 1000px) { .mg-contact-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: var(--s-8); } }
.mg-form-card { background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); padding: var(--s-6); box-shadow: var(--sh-card); }
@media (min-width: 900px) { .mg-form-card { padding: var(--s-7) var(--s-8); } }
.mg-form-card__title, .mg-contact-methods__title { margin-bottom: var(--s-2); }
.mg-form-card > .mg-lead { margin-bottom: var(--s-5); }
.mg-form { display: grid; gap: var(--s-4); }
.mg-field label { display: block; margin-bottom: 6px; font-weight: 600; font-size: var(--fs-sm); color: var(--c-navy); }
.mg-req { color: var(--c-red); }
.mg-field input, .mg-field textarea, .mg-field select { width: 100%; }
.mg-field input, .mg-field textarea {
	min-height: 48px; padding: 12px 14px;
	border: 1px solid #DCD3C1; border-radius: var(--r-sm); background: var(--c-cream-50);
	font-size: var(--fs-base); color: var(--c-ink);
	-webkit-appearance: none; appearance: none;
}
.mg-field select { min-height: 48px; font-size: var(--fs-base); background-color: var(--c-cream-50); }
.mg-field textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
.mg-field input:focus, .mg-field textarea:focus, .mg-field select:focus { outline: none; border-color: var(--c-gold); box-shadow: 0 0 0 3px rgba(198, 160, 74, 0.25); background: #fff; }
.mg-field [aria-invalid="true"] { border-color: var(--c-red); background: #FFF9F8; }
.mg-field__error { margin: 6px 0 0; color: var(--c-red); font-size: var(--fs-sm); font-weight: 500; }
.mg-field__count { margin: 4px 0 0; text-align: right; font-size: var(--fs-xs); color: var(--c-muted); }
.mg-field-row { display: grid; gap: var(--s-4); }
@media (min-width: 560px) { .mg-field-row { grid-template-columns: minmax(0, 1fr) 160px; } }
.mg-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.mg-form__privacy { display: flex; gap: 8px; align-items: flex-start; font-size: var(--fs-xs); color: var(--c-muted); margin: 0; }
.mg-form__privacy svg { color: var(--c-gold-text); margin-top: 1px; }
.mg-form__privacy a { color: var(--c-gold-text); }
.mg-alert { display: flex; gap: var(--s-3); align-items: flex-start; padding: var(--s-4); border-radius: var(--r-sm); margin-bottom: var(--s-5); font-size: var(--fs-sm); }
.mg-alert:focus { outline: 3px solid var(--c-gold); }
.mg-alert--success { background: var(--c-green-bg); color: #13502E; }
.mg-alert--success svg { color: var(--c-green); }
.mg-alert--error { background: var(--c-red-bg); color: #7A1810; }
.mg-alert--error svg { color: var(--c-red); }

.mg-contact-list { list-style: none; margin: var(--s-5) 0 0; padding: 0; display: grid; gap: var(--s-3); }
.mg-contact-card { display: flex; gap: var(--s-4); align-items: flex-start; padding: var(--s-4) var(--s-5); background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-md); box-shadow: var(--sh-xs); }
.mg-contact-card__icon { flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; background: linear-gradient(180deg, #B8933F, var(--c-gold-btn)); color: #fff; }
.mg-contact-card--whatsapp .mg-contact-card__icon { background: var(--c-wa); }
.mg-contact-card--facebook .mg-contact-card__icon { background: #1877F2; }
.mg-contact-card__label { margin: 0; font-family: var(--f-serif); font-size: 1.125rem; font-weight: 600; color: var(--c-navy); display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.mg-contact-card__value { margin: 2px 0 0; font-size: 1.0625rem; font-weight: 600; }
.mg-contact-card__value a { color: var(--c-gold-text); text-decoration: none; word-break: break-word; }
.mg-contact-card__value a:hover { text-decoration: underline; }
.mg-contact-card__note { margin: 4px 0 0; font-size: var(--fs-sm); color: var(--c-muted); }
.mg-hours { margin: 6px 0 0; display: grid; gap: 2px; font-size: var(--fs-sm); }
.mg-hours div { display: flex; gap: var(--s-4); }
.mg-hours dt { min-width: 150px; color: var(--c-ink); }
.mg-hours dd { margin: 0; font-weight: 600; color: var(--c-navy); }

/* Delivery / payment methods */
.mg-method-grid { gap: var(--s-4); }
@media (min-width: 900px) { .mg-method-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); } .mg-method-grid > .mg-method { max-width: 420px; } }
.mg-method { display: flex; flex-direction: column; padding: var(--s-6) var(--s-5) var(--s-5); background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-md); box-shadow: var(--sh-xs); }
.mg-method__icon { color: var(--c-gold); margin-bottom: var(--s-3); }
.mg-method__title { font-size: 1.25rem; margin-bottom: var(--s-2); }
.mg-method__desc { color: var(--c-muted); font-size: var(--fs-sm); margin-bottom: var(--s-4); }
.mg-method__meta { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); margin: auto 0 0; padding-top: var(--s-3); border-top: 1px solid var(--c-line); }
.mg-method__meta div + div { border-left: 1px solid var(--c-line); padding-left: var(--s-3); }
.mg-method__meta dt { font-size: 12px; color: var(--c-gold-text); }
.mg-method__meta dd { margin: 2px 0 0; font-size: var(--fs-sm); font-weight: 600; color: var(--c-navy); }
.mg-method-grid--compact { margin: var(--s-5) 0; }
.mg-method-grid--compact .mg-method { padding: var(--s-4); }
.mg-prose .mg-method-grid { padding: 0; }
.mg-prose .mg-method-grid li { margin: 0; }

/* ---------- 404 ---------- */
.mg-404 { background: linear-gradient(180deg, #FBF6EC 0%, var(--c-cream-50) 100%); padding: var(--s-9) 0; }
.mg-404__inner { display: grid; gap: var(--s-7); align-items: center; }
.mg-404__title { font-size: var(--fs-h1); }
.mg-404__search { max-width: 480px; margin: var(--s-5) 0; }
.mg-404__art { position: relative; text-align: center; }
.mg-404__num { display: block; font-family: var(--f-serif); font-weight: 700; font-size: clamp(6rem, 4rem + 10vw, 11rem); line-height: 1; color: var(--c-gold-300); letter-spacing: -0.04em; }
.mg-404__img { width: min(360px, 80%); margin: -30px auto 0; border-radius: var(--r-lg); box-shadow: var(--sh-card); }
@media (min-width: 900px) { .mg-404__inner { grid-template-columns: 1.1fr 1fr; } }

/* ---------- Footer ---------- */
.mg-footer { position: relative; background: var(--c-navy); color: #C9D2E3; margin-top: var(--s-8); overflow: hidden; }
.mg-footer__inner { position: relative; display: grid; gap: var(--s-7); padding-top: var(--s-9); padding-bottom: var(--s-8); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .mg-footer__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .mg-footer__inner { grid-template-columns: 1.4fr 1fr 1.3fr 1fr; gap: var(--s-8); } }
.mg-footer__logo img { width: auto; height: 64px; margin-bottom: var(--s-4); }
.mg-footer__brand p { font-size: var(--fs-sm); max-width: 32em; color: #C9D2E3; }
.mg-footer__title { font-family: var(--f-sans); font-size: var(--fs-base); font-weight: 600; color: #fff; margin: 0 0 var(--s-4); letter-spacing: 0; }
.mg-footer__menu, .mg-footer__contact, .mg-footer__legal { list-style: none; margin: 0; padding: 0; }
.mg-footer__menu a { display: inline-flex; align-items: center; min-height: 36px; color: #C9D2E3; text-decoration: none; font-size: var(--fs-sm); }
.mg-footer__menu a:hover, .mg-footer__contact a:hover, .mg-footer__legal a:hover { color: var(--c-gold-300); }
.mg-footer__contact li { display: flex; align-items: center; gap: 10px; min-height: 36px; font-size: var(--fs-sm); }
.mg-footer__contact svg { color: var(--c-gold); }
.mg-footer__contact a { color: #C9D2E3; text-decoration: none; word-break: break-word; }
.mg-social { list-style: none; display: flex; gap: var(--s-3); margin: 0; padding: 0; }
.mg-social a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, 0.1); color: #fff; transition: background var(--t-fast), color var(--t-fast); }
.mg-social a:hover { background: var(--c-gold); color: var(--c-navy-900); }
.mg-footer__ribbon { position: absolute; right: -10px; bottom: -40px; width: 180px; height: 180px; opacity: 0.9; pointer-events: none; }
@media (max-width: 999px) { .mg-footer__ribbon { width: 120px; height: 120px; opacity: 0.35; } }
.mg-footer__bottom { position: relative; border-top: 1px solid rgba(255, 255, 255, 0.12); background: var(--c-navy-900); }
.mg-footer__bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--s-2) var(--s-6); padding-top: var(--s-4); padding-bottom: calc(var(--s-4) + env(safe-area-inset-bottom)); font-size: var(--fs-xs); }
.mg-footer__bottom p { margin: 0; }
.mg-footer__legal { display: flex; flex-wrap: wrap; gap: 0 var(--s-5); }
.mg-footer__legal a { display: inline-flex; align-items: center; min-height: 36px; color: #C9D2E3; text-decoration: none; }

/* ---------- WordPress core blocks inside designed pages ---------- */
.mg-main > .wp-block-group:not(.mg-section):not(.mg-hero) { padding-inline: var(--pad-x); }
.mg-main > p, .mg-main > h2, .mg-main > h3, .mg-main > ul, .mg-main > ol, .mg-main > .wp-block-image { padding-inline: var(--pad-x); }
.wp-block-image { margin: 0 0 var(--s-4); }
.wp-block-image img { border-radius: var(--r-sm); }
.mg-hero__media img, .mg-band__media img, .mg-cta__media img, .mg-card__media img { border-radius: 0; }
.mg-card--flat .mg-card__media img { border-radius: var(--r-md); }

:where(.is-layout-flex) { gap: var(--s-3); }

/* Cart / checkout / account (cart mode) */
.woocommerce-cart .mg-prose, .woocommerce-checkout .mg-prose, .woocommerce-account .mg-prose { max-width: none; }

/* Print */
@media print {
	.mg-topbar, .mg-header, .mg-drawer, .mg-footer, .mg-buy, .mg-gallery__nav, .mg-filters { display: none !important; }
	body { background: #fff; }
}

/* ---------- Touch target & overflow refinements ---------- */
.mg-contact-grid { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1000px) { .mg-contact-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); } }
.mg-contact-grid > *, .mg-hours div > * { min-width: 0; }
@media (max-width: 420px) { .mg-hours dt { min-width: 0; flex: 1; } .mg-form-card { padding: var(--s-5) var(--s-4); } }
.mg-footer__contact a, .mg-contact-card__value a, .mg-article__meta a, .mg-product__summary > .mg-eyebrow a { display: inline-flex; align-items: center; min-height: 44px; }
.mg-contact-card__value { margin: 0; }
.mg-product-card__title a, .mg-cat-card__title a, .mg-post-mini__title a, .mg-post-card__title a { display: inline-block; padding: 4px 0; }

/* WooCommerce notices (cart mode) */
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error { list-style: none; margin: var(--s-4) 0; padding: var(--s-4) var(--s-5); border-radius: var(--r-sm); background: var(--c-green-bg); color: #13502E; font-size: var(--fs-sm); display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; justify-content: space-between; }
.woocommerce-info { background: var(--c-gold-100); color: var(--c-ink); }
.woocommerce-error { background: var(--c-red-bg); color: #7A1810; }
.woocommerce-message .button, .woocommerce-info .button { order: 2; display: inline-flex; align-items: center; min-height: 40px; padding: 8px 16px; border-radius: var(--r-sm); background: var(--c-navy); color: #fff; text-decoration: none; font-weight: 600; }
@media (min-width: 1100px) {
	.mg-hero__content { max-width: min(700px, 55%); }
	.mg-trust__item { padding-right: var(--s-4); margin-right: var(--s-4); }
	.mg-hero--home .mg-trust { flex-wrap: nowrap; }
	.mg-hero--home .mg-trust__item p { white-space: nowrap; }
}
