/* ==========================================================================
   MG-EATS — main stylesheet
   Ported 1:1 from the MG-EATS design. All component classes are prefixed
   "mg-" so they never collide with Elementor, WooCommerce or plugins.
   ========================================================================== */

:root {
	--cream: #FDFBF7;
	--cream-deep: #F5EFE6;
	--ivory: #FFFFFF;
	--ink: #181411;
	--ink-soft: #4A4036;
	--ink-light: #7A6F63;
	--gold: #D4AF37;
	--gold-light: #F3E5AB;
	--gold-pale: #F9F3E3;
	--gold-deep: #8F6A10;
	--gold-gradient: linear-gradient(135deg, #F3E5AB 0%, #D4AF37 50%, #8F6A10 100%);
	--royale-green: #1A2E23;
	--sand: #A39685;
	--line: #E8DCC8;
	--danger: #B33925;
	--success: #287D3C;
	--radius: 16px;
	--radius-sm: 10px;
	--shadow-sm: 0 4px 16px -4px rgba(24, 20, 17, 0.06);
	--shadow: 0 12px 36px -10px rgba(24, 20, 17, 0.12);
	--shadow-lg: 0 28px 70px -16px rgba(24, 20, 17, 0.22);
	--maxw: 1280px;
	--font-serif: 'Fraunces', Georgia, serif;
	--font-sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--mg-header-offset: 140px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--font-sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: var(--gold-deep); text-decoration: none; transition: color .2s; }
a:hover { color: var(--ink); }
button, select, input, textarea { font-family: inherit; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-serif); font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 3px; }
section[id], div[id] { scroll-margin-top: var(--mg-header-offset); }
.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:focus { clip: auto; clip-path: none; height: auto; width: auto; left: 12px; top: 12px; z-index: 1000; background: var(--ink); color: var(--gold-light); padding: 10px 18px; border-radius: 999px; }

/* Reset only inside theme components, never in user/Elementor content. */
.mg-ui :where(h1, h2, h3, h4, h5, h6, p, ul, ol, figure) { margin: 0; padding: 0; }
.mg-ui :where(ul, ol) { list-style: none; }
.mg-ui :where(img, svg) { display: block; max-width: 100%; }
.mg-ui a { color: inherit; }
.mg-clear { clear: both; }

.mg-wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.mg-eyebrow { font-family: var(--font-sans); font-weight: 800; font-size: 11.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-deep); display: block; margin-bottom: 6px; }

/* ---------- Buttons ---------- */
.mg-btn, .mg-ui .mg-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 32px; border-radius: 999px; font-weight: 800; font-size: 14px; cursor: pointer; border: none; transition: all .25s ease; text-transform: uppercase; letter-spacing: 0.05em; line-height: 1.2; text-decoration: none; font-family: var(--font-sans); }
.mg-btn-gold { background: var(--gold-gradient); color: var(--ink) !important; box-shadow: 0 6px 20px rgba(143,106,16,0.3); }
.mg-btn-gold:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(212,175,55,0.5); color: var(--ink); }
.mg-btn-dark { background: var(--ink); color: var(--gold-light) !important; box-shadow: 0 6px 20px rgba(24,20,17,0.25); }
.mg-btn-dark:hover { background: var(--gold-gradient); color: var(--ink) !important; transform: translateY(-2px); }

/* ================= TOP UTILITY BAR ================= */
.mg-util-bar { background: var(--ink); color: var(--gold-pale); font-size: 12px; position: relative; z-index: 100; border-bottom: 1px solid rgba(212,175,55,0.2); }
.mg-util-inner { max-width: var(--maxw); margin: 0 auto; padding: 10px 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.mg-util-left { display: flex; gap: 20px; align-items: center; font-weight: 500; flex-wrap: wrap; }
.mg-util-left span { display: flex; align-items: center; gap: 6px; }
.mg-util-sep { opacity: 0.4; }
.mg-util-right { display: flex; gap: 20px; flex-wrap: wrap; }
.mg-util-right a { font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; font-size: 10.5px; color: var(--gold-light); transition: color .2s; }
.mg-util-right a:hover { color: var(--ivory); }
@media (max-width: 700px) { .mg-util-left span:not(:first-child) { display: none; } .mg-util-right { display: none; } .mg-util-inner { justify-content: center; text-align: center; } }

/* ================= HEADER ================= */
.mg-site-header { position: relative; top: 0; z-index: 90; background: rgba(253, 251, 247, 0.92); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); transition: all 0.3s ease; }
.mg-sticky-header .mg-site-header { position: sticky; }
.admin-bar.mg-sticky-header .mg-site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar.mg-sticky-header .mg-site-header { top: 0; } }
.mg-header-main { max-width: var(--maxw); margin: 0 auto; padding: 18px 24px; display: flex; align-items: center; gap: 32px; }
.mg-logo { font-family: var(--font-serif); font-weight: 800; font-size: 30px; white-space: nowrap; color: var(--ink) !important; display: flex; align-items: center; gap: 2px; letter-spacing: -0.04em; }
.mg-logo .mg-dash, .mg-dash { background: var(--gold-gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.mg-logo-image img { max-height: 82px; width: auto; }

.mg-search-bar { flex: 1; display: flex; align-items: stretch; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; max-width: 580px; background: var(--ivory); box-shadow: var(--shadow-sm); transition: all .25s ease; margin: 0; }
.mg-search-bar:focus-within { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.15); }
.mg-search-cat { background: var(--cream-deep); border: none; padding: 0 16px; font-size: 13px; font-weight: 700; color: var(--ink-soft); border-right: 1px solid var(--line); cursor: pointer; outline: none; border-radius: 0; max-width: 150px; }
.mg-search-bar input[type="search"] { flex: 1; min-width: 0; border: none; padding: 12px 20px; font-size: 14px; color: var(--ink); outline: none; background: transparent; box-shadow: none; margin: 0; height: auto; border-radius: 0; }
.mg-search-bar input::placeholder { color: var(--ink-light); }
.mg-search-bar input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; }
.mg-search-btn { background: var(--ink); color: var(--gold-light); border: none; padding: 0 24px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all .2s; border-radius: 0; }
.mg-search-btn:hover { background: var(--gold-gradient); color: var(--ink); }

.mg-header-icons { display: flex; align-items: center; gap: 26px; flex-shrink: 0; }
.mg-icon-btn { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 11px; font-weight: 700; color: var(--ink-soft) !important; cursor: pointer; position: relative; background: none; border: none; transition: color .2s; line-height: normal; }
.mg-icon-btn:hover { color: var(--gold-deep) !important; }
.mg-icon-btn svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.8; transition: transform .2s; }
.mg-icon-btn:hover svg { transform: translateY(-2px); }
.mg-cart-badge { position: absolute; top: -6px; right: -8px; background: var(--gold-gradient); color: var(--ink); font-size: 10.5px; font-weight: 800; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 6px rgba(0,0,0,0.2); }
.mg-cart-badge.is-bump { animation: mgBump .5s ease; }
@keyframes mgBump { 0% { transform: scale(1); } 40% { transform: scale(1.35); } 100% { transform: scale(1); } }

.mg-burger { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.mg-burger span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: .25s; }

/* ================= MEGA NAV ================= */
.mg-mega-nav { background: var(--royale-green); position: relative; border-bottom: 1px solid rgba(255,255,255,0.1); }
.mg-mega-nav-inner { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.mg-nav-item { position: relative; }
.mg-nav-link { background: none; border: none; color: var(--gold-pale) !important; font-size: 13.5px; font-weight: 700; padding: 14px 20px; cursor: pointer; display: flex; align-items: center; gap: 6px; white-space: nowrap; transition: all .2s; letter-spacing: 0.02em; }
.mg-nav-item:hover > .mg-nav-link, .mg-nav-item.is-open > .mg-nav-link, .mg-nav-item:focus-within > .mg-nav-link, .mg-nav-item.is-current > .mg-nav-link { background: rgba(255,255,255,0.08); color: var(--gold-light) !important; }
.mg-caret { width: 6px; height: 6px; border-right: 1.8px solid currentColor; border-bottom: 1.8px solid currentColor; transform: rotate(45deg); margin-top: -3px; transition: transform .2s; display: inline-block; }
.mg-nav-item.is-open .mg-caret, .mg-nav-item:hover .mg-caret { transform: rotate(-135deg); margin-top: 3px; }

.mg-mega-panel { position: absolute; top: 100%; left: 0; background: var(--ivory); min-width: 320px; border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow-lg); padding: 22px; z-index: 90; visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s; pointer-events: none; }
.mg-nav-item.has-panel:hover .mg-mega-panel, .mg-nav-item.is-open .mg-mega-panel, .mg-nav-item.has-panel:focus-within .mg-mega-panel { visibility: visible; opacity: 1; transform: none; transition: opacity .2s ease, transform .2s ease, visibility 0s; pointer-events: auto; }
.mg-mega-panel h4 { font-family: var(--font-sans); font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--sand); font-weight: 800; margin-bottom: 12px; }
.mg-mega-list { display: grid; gap: 4px; margin-bottom: 16px; }
.mg-mega-list a { text-align: left; padding: 10px 12px; border-radius: 8px; font-size: 14px; color: var(--ink-soft) !important; cursor: pointer; font-weight: 600; transition: all .15s; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.mg-mega-list a:hover { background: var(--gold-pale); color: var(--ink) !important; transform: translateX(4px); }
.mg-mega-price { font-size: 12px; color: var(--gold-deep); font-weight: 800; white-space: nowrap; }
.mg-mega-price .woocommerce-Price-amount { color: inherit; }
.mg-mega-view-all { display: block; font-size: 12.5px; font-weight: 800; color: var(--gold-deep) !important; border-top: 1px solid var(--line); padding-top: 14px; width: 100%; text-align: left; text-transform: uppercase; letter-spacing: 0.05em; }
.mg-mega-view-all:hover { color: var(--ink) !important; }

@media (max-width: 980px) {
	.mg-search-bar { order: 3; max-width: 100%; flex: 1 1 100%; }
	.mg-header-main { flex-wrap: wrap; padding: 14px 20px; gap: 16px; }
	.mg-mega-nav { display: none; }
	.mg-burger { display: block; }
	.mg-header-icons { gap: 18px; }
	:root { --mg-header-offset: 150px; }
}
@media (max-width: 480px) {
	.mg-logo { font-size: 24px; }
	.mg-header-icons .mg-icon-btn:first-child { display: none; }
	.mg-search-cat { max-width: 96px; padding: 0 10px; }
}

/* MOBILE DRAWER NAV */
.mg-mobile-drawer { position: fixed; top: 0; right: 0; height: 100vh; height: 100dvh; width: min(84vw, 340px); background: var(--ivory); box-shadow: -16px 0 40px rgba(0,0,0,0.2); transform: translateX(105%); transition: transform .35s cubic-bezier(0.16, 1, 0.3, 1); z-index: 200; overflow-y: auto; padding: 28px 24px; visibility: hidden; }
.mg-mobile-drawer.is-open { transform: translateX(0); visibility: visible; }
.mg-close-drawer { background: none; border: none; font-size: 24px; cursor: pointer; float: right; color: var(--ink-soft); }
.mg-mobile-drawer h4 { font-family: var(--font-serif); margin: 28px 0 12px; font-size: 18px; color: var(--gold-deep); }
.mg-mlink { display: block; width: 100%; text-align: left; background: none; border: none; padding: 14px 0; font-size: 15px; color: var(--ink-soft) !important; border-bottom: 1px solid var(--line); cursor: pointer; font-weight: 600; }
.mg-mlink:hover { color: var(--gold-deep) !important; }
.mg-mlink-sub { padding-left: 16px; font-size: 14px; font-weight: 500; }
.mg-drawer-overlay { position: fixed; inset: 0; background: rgba(20,16,12,0.6); backdrop-filter: blur(4px); z-index: 190; opacity: 0; pointer-events: none; transition: opacity .3s; }
.mg-drawer-overlay.is-open { opacity: 1; pointer-events: auto; }
body.mg-lock { overflow: hidden; }

/* ================= PAGE HEADER (inner pages) ================= */
.mg-page-header { background: linear-gradient(180deg, var(--cream-deep), var(--cream)); border-bottom: 1px solid var(--line); padding: 56px 0 44px; text-align: center; }
.mg-page-title { font-size: clamp(30px, 4.2vw, 46px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.15; }
.mg-page-desc { max-width: 66ch; margin: 14px auto 0; color: var(--ink-soft); font-size: 16px; }
.mg-page-header .mg-post-meta { justify-content: center; margin-bottom: 10px; }
.mg-page-header .woocommerce-breadcrumb { margin: 0 0 12px !important; font-size: 12.5px !important; font-weight: 700; color: var(--ink-light) !important; letter-spacing: .02em; }
.mg-page-header .woocommerce-breadcrumb a { color: var(--gold-deep) !important; }

/* ================= HERO CAROUSEL ================= */
.mg-hero { padding-top: 24px; }
.mg-carousel { position: relative; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.mg-carousel-track { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); position: relative; min-height: 420px; border: 1px solid rgba(212,175,55,0.3); background: #111A15; }
.mg-slide { position: absolute; inset: 0; display: flex; align-items: center; opacity: 0; transition: opacity .7s ease, transform .7s ease; padding: 48px 80px; color: var(--ivory); transform: scale(1.02); pointer-events: none; }
.mg-slide.is-active { opacity: 1; transform: scale(1); pointer-events: auto; z-index: 2; }
.mg-slide.mg-s1 { background: linear-gradient(135deg, #111A15 0%, #1A2E23 50%, #8F6A10 100%); }
.mg-slide.mg-s2 { background: linear-gradient(135deg, #2A1F10 0%, #5C4314 50%, #D4AF37 100%); }
.mg-slide.mg-s3 { background: linear-gradient(135deg, #241412 0%, #54221A 50%, #B33925 120%); }
.mg-slide.mg-s4 { background: linear-gradient(135deg, #18201A 0%, #35452B 50%, #7C8648 120%); }
.mg-slide.has-image::before { content: ''; position: absolute; inset: 0; background-image: var(--mg-slide-img); background-size: cover; background-position: center; opacity: .55; mix-blend-mode: luminosity; }
.mg-slide.has-image::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(17,26,21,.85) 0%, rgba(17,26,21,.35) 70%, rgba(17,26,21,0) 100%); }
.mg-slide-content { max-width: 580px; position: relative; z-index: 2; }
.mg-slide-eyebrow { font-size: 12px; font-weight: 800; letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 14px; display: inline-block; background: rgba(255,255,255,0.1); padding: 6px 14px; border-radius: 999px; backdrop-filter: blur(4px); border: 1px solid rgba(255,255,255,0.15); }
.mg-slide h2 { color: var(--ivory); font-size: clamp(30px, 4.2vw, 48px); line-height: 1.1; margin-bottom: 16px; font-weight: 700; letter-spacing: -0.03em; }
.mg-slide p { color: #EFE6D2; font-size: 16px; max-width: 46ch; margin-bottom: 28px; line-height: 1.6; opacity: 0.95; }
.mg-slide-btn { background: var(--gold-gradient); color: var(--ink) !important; font-weight: 800; padding: 14px 34px; border-radius: 999px; display: inline-flex; align-items: center; gap: 10px; transition: all .3s; box-shadow: 0 8px 24px rgba(143, 106, 16, 0.4); text-transform: uppercase; font-size: 13px; letter-spacing: 0.08em; }
.mg-slide-btn:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 12px 30px rgba(212, 175, 55, 0.6); }
.mg-slide-badge { position: absolute; top: 32px; right: 60px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.25); color: var(--gold-light); padding: 8px 18px; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: 0.1em; backdrop-filter: blur(8px); text-transform: uppercase; z-index: 3; }

.mg-carousel-arrow { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.95); border: 1px solid var(--line); width: 48px; height: 48px; border-radius: 50%; cursor: pointer; z-index: 5; box-shadow: var(--shadow); display: flex; align-items: center; justify-content: center; transition: all .2s; padding: 0; }
.mg-carousel-arrow:hover { background: var(--gold-gradient); transform: translateY(-50%) scale(1.1); border-color: transparent; }
.mg-carousel-arrow.prev { left: 32px; }
.mg-carousel-arrow.next { right: 32px; }
.mg-carousel-arrow svg { width: 20px; height: 20px; stroke: var(--ink); fill: none; stroke-width: 2.2; }
.mg-carousel-dots { display: flex; justify-content: center; gap: 8px; margin-top: 20px; }
.mg-carousel-dots button { width: 10px; height: 10px; border-radius: 50%; border: none; background: var(--line); cursor: pointer; transition: all .3s cubic-bezier(0.16, 1, 0.3, 1); padding: 0; }
.mg-carousel-dots button.is-active { background: var(--gold-deep); width: 32px; border-radius: 999px; }

@media (max-width: 768px) {
	.mg-carousel-track { min-height: 380px; }
	.mg-slide { padding: 56px 24px 40px; }
	.mg-carousel-arrow { width: 38px; height: 38px; }
	.mg-carousel-arrow.prev { left: 12px; } .mg-carousel-arrow.next { right: 12px; }
	.mg-slide-badge { top: 16px; right: 16px; font-size: 10px; padding: 6px 12px; }
}

/* ================= TRUST STRIP ================= */
.mg-trust-strip { max-width: var(--maxw); margin: 28px auto 0; padding: 0 24px; }
.mg-trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; background: var(--ivory); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.mg-trust-grid.mg-cols-3 { grid-template-columns: repeat(3, 1fr); }
.mg-trust-grid.mg-cols-2 { grid-template-columns: repeat(2, 1fr); }
.mg-trust-grid.mg-cols-1 { grid-template-columns: 1fr; }
.mg-trust-item { display: flex; align-items: center; gap: 14px; padding: 0 10px; border-right: 1px solid var(--line); }
.mg-trust-item:last-child { border-right: none; }
.mg-trust-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--gold-pale); color: var(--gold-deep); display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; font-weight: 800; font-family: var(--font-serif); }
.mg-trust-text h5 { font-size: 14px; font-family: var(--font-sans); font-weight: 800; color: var(--ink); margin-bottom: 2px; letter-spacing: 0; }
.mg-trust-text p { font-size: 12px; color: var(--ink-light); line-height: 1.3; }
@media (max-width: 900px) { .mg-trust-grid, .mg-trust-grid.mg-cols-3 { grid-template-columns: repeat(2, 1fr); gap: 20px; } .mg-trust-item:nth-child(2n) { border-right: none; } }
@media (max-width: 500px) { .mg-trust-grid, .mg-trust-grid.mg-cols-3, .mg-trust-grid.mg-cols-2 { grid-template-columns: 1fr; } .mg-trust-item { border-right: none; border-bottom: 1px solid var(--line); padding-bottom: 16px; } .mg-trust-item:last-child { border-bottom: none; padding-bottom: 0; } }

/* ================= SECTION HEADERS ================= */
.mg-sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.mg-sec-head h2 { font-size: clamp(24px, 3.2vw, 34px); }
.mg-view-all { font-size: 13.5px; font-weight: 800; color: var(--gold-deep) !important; white-space: nowrap; cursor: pointer; display: flex; align-items: center; gap: 4px; transition: gap .2s, color .2s; }
.mg-view-all:hover { color: var(--ink) !important; gap: 8px; }

/* ================= BADGES ================= */
.mg-badge-hot { position: absolute; top: 14px; left: 14px; background: var(--danger); color: #fff; font-size: 10px; font-weight: 800; padding: 4px 10px; border-radius: 999px; letter-spacing: 0.08em; text-transform: uppercase; z-index: 2; box-shadow: 0 2px 8px rgba(179,57,37,0.3); line-height: 1.4; }
.mg-badge-disc { position: absolute; top: 14px; right: 14px; background: var(--royale-green); color: var(--gold-light); font-size: 10.5px; font-weight: 800; padding: 4px 8px; border-radius: 6px; z-index: 2; line-height: 1.4; }
.mg-badge-oos { position: absolute; top: 14px; left: 14px; background: var(--ink-light); color: #fff; font-size: 10px; font-weight: 800; padding: 4px 10px; border-radius: 999px; letter-spacing: .08em; text-transform: uppercase; z-index: 2; }

/* ================= PRODUCT CARD (rail + grid + shop) ================= */
.mg-rail-section { max-width: var(--maxw); margin: 0 auto; padding: 70px 24px 10px; }
.mg-rail { display: flex; gap: 22px; overflow-x: auto; padding: 8px 4px 24px; scroll-snap-type: x mandatory; }
.mg-rail::-webkit-scrollbar { height: 6px; }
.mg-rail::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 8px; }
.mg-rail::-webkit-scrollbar-track { background: var(--line); border-radius: 8px; }

.mg-card { background: var(--ivory); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 20px 20px; text-align: center; transition: all .3s cubic-bezier(0.16, 1, 0.3, 1); position: relative; display: flex; flex-direction: column; justify-content: space-between; box-shadow: var(--shadow-sm); overflow: hidden; }
.mg-card:hover { border-color: var(--gold); background: linear-gradient(180deg, var(--ivory), var(--gold-pale)); box-shadow: var(--shadow); transform: translateY(-6px); }
.mg-card.is-rail { flex: 0 0 240px; scroll-snap-align: start; padding: 22px; }
.mg-card-link { color: inherit !important; display: block; }

.mg-mini-seal, .mg-rail-icon { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 16px; background: var(--gold-gradient); border: 2px solid var(--ivory); display: flex; align-items: center; justify-content: center; font-family: var(--font-serif); font-weight: 700; font-size: 20px; color: var(--ink); transition: transform .3s cubic-bezier(0.16, 1, 0.3, 1); box-shadow: 0 6px 16px rgba(143,106,16,0.2); }
.mg-card.is-rail .mg-mini-seal { width: 76px; height: 76px; margin: 20px auto 16px; font-size: 24px; box-shadow: 0 8px 20px rgba(143,106,16,0.25); }
.mg-card:hover .mg-mini-seal { transform: rotate(-8deg) scale(1.12); }
.mg-card-image { margin: 6px auto 16px; aspect-ratio: 1 / 1; width: 100%; max-width: 190px; border-radius: 14px; background: var(--gold-pale); overflow: hidden; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(212,175,55,0.25); }
.mg-card.is-rail .mg-card-image { margin-top: 22px; max-width: 160px; }
.mg-card-image img { width: 100%; height: 100%; object-fit: contain; transition: transform .4s cubic-bezier(0.16, 1, 0.3, 1); margin: 0 !important; box-shadow: none !important; }
.mg-card:hover .mg-card-image img { transform: scale(1.06); }

.mg-card h3, .mg-card .mg-card-title { font-family: var(--font-serif); font-size: 18px; font-weight: 700; margin: 0 0 4px; transition: color .2s ease; color: var(--ink); padding: 0; }
.mg-card.is-rail h3 { font-size: 16.5px; }
.mg-card:hover h3 { color: var(--gold-deep); }
.mg-tag { display: inline-block; font-size: 10.5px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--sand); font-weight: 800; margin-bottom: 14px; background: var(--cream-deep); padding: 4px 10px; border-radius: 6px; }
.mg-card.is-rail .mg-tag { background: none; padding: 0; margin-bottom: 0; display: block; }
.mg-card-price { font-weight: 800; font-size: 18px; color: var(--ink); margin: 0 0 18px; display: flex; align-items: baseline; justify-content: center; gap: 8px; flex-wrap: wrap; }
.mg-card.is-rail .mg-card-price { margin: 14px 0 18px; }
.mg-card-price .woocommerce-Price-amount { color: var(--ink); }
.mg-was-price { font-size: 13px; color: var(--ink-light); text-decoration: line-through; font-weight: 500; }
.mg-was-price .woocommerce-Price-amount { color: var(--ink-light); }
.mg-card-unit { font-size: 11.5px; color: var(--ink-light); font-weight: 600; width: 100%; }

.mg-card-actions { display: flex; gap: 8px; }
.mg-card .mg-add-cart, .mg-card .mg-add-cart.button { flex: 1; background: var(--ink); color: var(--gold-pale) !important; border: none; padding: 12px; border-radius: var(--radius-sm); font-weight: 700; font-size: 13px; cursor: pointer; transition: all .2s; margin: 0; line-height: 1.3; text-align: center; font-family: var(--font-sans); display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.mg-card .mg-add-cart:hover { background: var(--gold-gradient); color: var(--ink) !important; box-shadow: 0 4px 12px rgba(212,175,55,0.3); }
.mg-card .mg-add-cart.loading { opacity: .6; }
.mg-card .mg-add-cart.loading::after { content: ''; width: 12px; height: 12px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: mgSpin .7s linear infinite; position: static; margin: 0; }
.mg-card .mg-add-cart.added::after { content: '✓'; font-family: inherit; margin: 0; position: static; }
@keyframes mgSpin { to { transform: rotate(360deg); } }
.mg-card .mg-quick-view { background: var(--cream-deep); color: var(--ink); border: 1px solid var(--line); padding: 12px; border-radius: var(--radius-sm); font-weight: 700; font-size: 12px; cursor: pointer; transition: all .2s; display: flex; align-items: center; justify-content: center; font-family: var(--font-sans); line-height: 1.3; }
.mg-card .mg-quick-view:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.mg-card.is-rail .mg-add-cart { padding: 11px; font-size: 12.5px; }
.mg-card.is-rail .mg-quick-view { padding: 11px 12px; font-size: 14px; }
.mg-card a.added_to_cart { display: none !important; }

/* ================= CATEGORY TILES ================= */
.mg-tiles-section { max-width: var(--maxw); margin: 0 auto; padding: 60px 24px 20px; }
.mg-tiles-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.mg-tile { background: var(--ivory); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; cursor: pointer; transition: all .3s cubic-bezier(0.16, 1, 0.3, 1); position: relative; overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; justify-content: space-between; color: var(--ink) !important; }
.mg-tile::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--line); transition: background .3s; }
.mg-tile:hover { border-color: var(--gold); box-shadow: var(--shadow); transform: translateY(-6px); }
.mg-tile:hover::before { background: var(--gold-gradient); }
.mg-tile.is-royale:hover::before { background: var(--royale-green); }
.mg-tile-icon { width: 60px; height: 60px; border-radius: 16px; background: var(--gold-pale); display: flex; align-items: center; justify-content: center; font-family: var(--font-serif); font-weight: 700; font-size: 22px; color: var(--gold-deep); margin-bottom: 20px; transition: transform .3s; overflow: hidden; }
.mg-tile-icon img { width: 100%; height: 100%; object-fit: cover; }
.mg-tile:hover .mg-tile-icon { transform: scale(1.1) rotate(5deg); background: var(--gold-gradient); color: var(--ink); }
.mg-tile h3 { font-size: 20px; margin-bottom: 8px; font-weight: 700; }
.mg-tile p { font-size: 13.5px; color: var(--ink-soft); margin-bottom: 20px; line-height: 1.5; flex: 1; }
.mg-tile-link { font-size: 12.5px; font-weight: 800; color: var(--gold-deep); display: inline-flex; align-items: center; gap: 6px; text-transform: uppercase; letter-spacing: 0.05em; transition: gap .2s, color .2s; }
.mg-tile:hover .mg-tile-link { color: var(--ink); gap: 10px; }
@media (max-width: 900px) { .mg-tiles-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .mg-tiles-grid { grid-template-columns: 1fr; } }

/* ================= DEALS STRIP ================= */
.mg-deals-strip { background: var(--royale-green); color: var(--ivory); border-top: 1px solid rgba(212,175,55,0.3); border-bottom: 1px solid rgba(212,175,55,0.3); margin-top: 70px; position: relative; overflow: hidden; }
.mg-deals-inner { max-width: var(--maxw); margin: 0 auto; padding: 60px 24px; position: relative; z-index: 2; }
.mg-deals-strip .mg-sec-head { margin-bottom: 32px; align-items: center; }
.mg-deals-strip .mg-eyebrow { color: var(--gold-light); }
.mg-deals-strip .mg-sec-head h2 { color: var(--ivory); }
.mg-deals-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.mg-deal-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(212,175,55,0.25); border-radius: var(--radius); padding: 28px; position: relative; overflow: hidden; backdrop-filter: blur(10px); transition: transform .3s, border-color .3s; }
.mg-deal-card:hover { transform: translateY(-5px); border-color: var(--gold); background: rgba(255,255,255,0.08); }
.mg-deal-pct { font-family: var(--font-serif); font-size: 36px; font-weight: 800; background: var(--gold-gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; line-height: 1; margin-bottom: 12px; }
.mg-deal-card h4 { font-size: 18px; margin-bottom: 8px; color: var(--ivory); }
.mg-deal-card p { font-size: 13.5px; color: #D1C7B7; margin-bottom: 20px; line-height: 1.5; }
.mg-deal-code { display: inline-block; font-size: 11.5px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); background: var(--gold-gradient); padding: 6px 14px; border-radius: 6px; }
.mg-deal-timer-wrap { display: flex; align-items: center; gap: 10px; background: rgba(0,0,0,0.3); padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(212,175,55,0.3); }
.mg-deal-timer-label { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold-light); }
.mg-timer-clock { font-family: var(--font-serif); font-size: 16px; font-weight: 700; color: var(--ivory); font-variant-numeric: tabular-nums; }
@media (max-width: 860px) { .mg-deals-grid { grid-template-columns: 1fr; } }

/* ================= FULL RANGE CATALOGUE ================= */
.mg-range-section { padding: 80px 24px 100px; max-width: var(--maxw); margin: 0 auto; }
.mg-range-head { text-align: center; margin-bottom: 30px; }
.mg-range-head h2 { font-size: clamp(28px, 3.8vw, 42px); margin-top: 6px; }
.mg-controls-bar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; margin-bottom: 30px; border-bottom: 1px solid var(--line); padding-bottom: 20px; }
.mg-tabbar { display: flex; gap: 10px; flex-wrap: wrap; }
.mg-tab { background: var(--ivory); border: 1.5px solid var(--line); color: var(--ink-soft) !important; padding: 10px 22px; border-radius: 999px; font-weight: 700; font-size: 13.5px; cursor: pointer; transition: all .2s ease; box-shadow: var(--shadow-sm); line-height: 1.4; display: inline-flex; align-items: center; }
.mg-tab .mg-count { display: inline-block; margin-left: 6px; font-weight: 700; color: var(--sand); font-size: 11.5px; }
.mg-tab:hover { border-color: var(--gold); color: var(--ink) !important; }
.mg-tab.is-active { background: var(--ink); color: var(--gold-light) !important; border-color: var(--ink); box-shadow: 0 4px 12px rgba(24,20,17,0.2); }
.mg-tab.is-active .mg-count { color: var(--gold); }
.mg-sort-wrap { display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 700; color: var(--ink-soft); margin: 0; }
.mg-sort-select, .mg-ui select.orderby, .woocommerce-ordering select.orderby { background: var(--ivory); border: 1.5px solid var(--line); padding: 9px 36px 9px 16px; border-radius: var(--radius-sm); font-weight: 700; color: var(--ink); outline: none; cursor: pointer; box-shadow: var(--shadow-sm); transition: border-color .2s; font-size: 13.5px; -webkit-appearance: none; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%234A4036' stroke-width='1.6' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.mg-sort-select:focus { border-color: var(--gold); }
.mg-tier-blurb { text-align: center; max-width: 66ch; margin: 0 auto 36px !important; color: var(--ink-soft); font-size: 16px; font-weight: 500; }
.mg-tab-panel[hidden] { display: none; }
.mg-tab-panel.is-entering { animation: mgFadeIn .35s ease; }
.mg-products-grid { max-width: var(--maxw); margin: 0 auto; padding: 60px 24px 20px; }
.mg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 24px; }
.mg-panel-more { text-align: center; margin-top: 36px; }

/* ================= ABOUT ================= */
.mg-about { background: var(--ivory); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 100px 24px; position: relative; }
.mg-about-inner { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.mg-about h2 { font-size: clamp(28px, 3.8vw, 40px); margin-top: 6px; margin-bottom: 20px; line-height: 1.15; }
.mg-about-text p { color: var(--ink-soft); font-size: 16px; margin-bottom: 18px; max-width: 54ch; line-height: 1.7; }
.mg-about-text b, .mg-about-text strong { color: var(--ink); }
.mg-about-stats { display: flex; gap: 40px; margin-top: 32px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 28px; }
.mg-stat .mg-num { font-family: var(--font-serif); font-size: 36px; font-weight: 800; background: var(--gold-gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.mg-stat .mg-label { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-light); font-weight: 800; margin-top: 4px; }
.mg-about-panel { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.mg-about-panel::before { content: ''; position: absolute; top: 0; left: 0; width: 6px; height: 100%; background: var(--gold-gradient); }
.mg-about-panel ul li { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px dashed var(--line); font-size: 15px; color: var(--ink-soft); align-items: flex-start; }
.mg-about-panel ul li:last-child { border-bottom: none; padding-bottom: 0; }
.mg-about-panel ul li:first-child { padding-top: 0; }
.mg-about-panel ul li b { color: var(--ink); font-weight: 700; }
.mg-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--gold); margin-top: 6px; flex-shrink: 0; box-shadow: 0 0 0 4px rgba(212,175,55,0.2); }
@media (max-width: 860px) { .mg-about-inner { grid-template-columns: 1fr; } .mg-about { padding: 70px 24px; } }

/* ================= TRACKING ================= */
.mg-track { padding: 100px 24px; max-width: 860px; margin: 0 auto; text-align: center; }
.mg-track h2 { font-size: clamp(28px, 3.8vw, 40px); margin-top: 6px; margin-bottom: 12px; }
.mg-track-intro { color: var(--ink-soft); margin-bottom: 36px !important; font-size: 16px; }
.mg-track-body { text-align: left; }
.mg-track-body .woocommerce { width: 100%; }
/* Turn the WooCommerce tracking form into the pill design */
.mg-track form.track_order { display: flex; gap: 12px; background: var(--ivory); border: 2px solid var(--line); padding: 8px; border-radius: 999px; box-shadow: var(--shadow); flex-wrap: wrap; transition: border-color .2s; align-items: center; margin: 0; }
.mg-track form.track_order:focus-within { border-color: var(--gold); }
.mg-track form.track_order > p:not(.form-row) { display: none; }
.mg-track .woocommerce form.track_order .form-row, .mg-track form.track_order .form-row { flex: 1 1 200px; margin: 0 !important; padding: 0 !important; width: auto !important; float: none !important; }
.mg-track form.track_order .form-row label { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); }
.mg-track .woocommerce form.track_order .form-row input.input-text, .mg-track form.track_order .form-row input.input-text { border: none !important; background: transparent !important; padding: 14px 24px !important; font-size: 15px; color: var(--ink); outline: none; box-shadow: none !important; width: 100%; }
.mg-track .woocommerce form.track_order .form-row-last input.input-text { border-left: 1px solid var(--line) !important; border-radius: 0 !important; }
.mg-track form.track_order .clear { display: none; }
.mg-track form.track_order .form-row:last-of-type { flex: 0 0 auto; }
.mg-track .woocommerce form.track_order button.button, .mg-track form.track_order button.button { background: var(--gold-gradient) !important; color: var(--ink) !important; border-radius: 999px !important; padding: 14px 32px !important; font-weight: 800 !important; font-size: 14px !important; text-transform: uppercase; letter-spacing: .05em; box-shadow: 0 6px 20px rgba(143,106,16,0.3); border: none !important; transition: all .25s ease; }
.mg-track form.track_order button.button:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(212,175,55,0.5); }
@media (max-width: 640px) { .mg-track form.track_order { border-radius: 24px; } .mg-track .woocommerce form.track_order .form-row-last input.input-text { border-left: none !important; border-top: 1px solid var(--line) !important; } .mg-track form.track_order .form-row:last-of-type { flex: 1 1 100%; } .mg-track .woocommerce form.track_order button.button, .mg-track form.track_order button.button { width: 100%; } }

/* Tracking result card + stepper */
.mg-track-result-card, .mg-track-body .woocommerce > .order-info, .mg-track-body .woocommerce-order-details, .mg-track-body .woocommerce-customer-details { background: var(--ivory); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 32px; box-shadow: var(--shadow-sm); margin-top: 24px !important; }
.mg-track-result-card { box-shadow: var(--shadow-lg); animation: mgFadeIn 0.3s ease; margin-top: 36px !important; }
.mg-track-result-head { display: flex; justify-content: space-between; font-weight: 800; margin-bottom: 8px; font-size: 16px; gap: 12px; flex-wrap: wrap; }
.mg-track-result-head .mg-status { color: var(--gold-deep); }
.mg-track-result-card .mg-eta { font-size: 13.5px; color: var(--ink-soft); }
@keyframes mgFadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.mg-track-stepper { display: flex; justify-content: space-between; margin-top: 32px; position: relative; }
.mg-track-stepper::before { content: ''; position: absolute; top: 16px; left: 10%; right: 10%; height: 3px; background: var(--line); z-index: 1; }
.mg-step-node { position: relative; z-index: 2; background: var(--ivory); padding: 0 10px; text-align: center; }
.mg-step-circle { width: 34px; height: 34px; border-radius: 50%; background: var(--line); color: var(--ink-light); display: flex; align-items: center; justify-content: center; margin: 0 auto 10px; font-size: 13px; font-weight: 800; transition: all .3s; }
.mg-step-node.is-completed .mg-step-circle { background: var(--success); color: #fff; box-shadow: 0 4px 10px rgba(40,125,60,0.3); }
.mg-step-node.is-active .mg-step-circle { background: var(--gold-gradient); color: var(--ink); box-shadow: 0 0 0 6px rgba(212,175,55,0.2); }
.mg-step-label { font-size: 12.5px; font-weight: 700; color: var(--ink-soft); }
.mg-track-cancelled { margin-top: 16px; padding: 12px 16px; border-radius: var(--radius-sm); background: #FBEDEA; color: var(--danger); font-weight: 700; font-size: 14px; }

/* ================= CONTACT ================= */
.mg-contact { background: var(--ink); color: var(--cream); padding: 100px 24px; position: relative; overflow: hidden; }
.mg-contact::after { content: ''; position: absolute; bottom: 0; right: 0; width: 400px; height: 400px; background: radial-gradient(circle, rgba(212,175,55,0.08) 0%, rgba(0,0,0,0) 70%); pointer-events: none; }
.mg-contact-inner { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 60px; position: relative; z-index: 2; }
.mg-contact .mg-eyebrow { color: var(--gold-light); }
.mg-contact h2 { color: var(--ivory); font-size: clamp(28px, 3.8vw, 40px); margin-top: 6px; margin-bottom: 18px; }
.mg-contact-intro { color: #BDB2A3; margin-bottom: 32px !important; max-width: 48ch; line-height: 1.7; font-size: 15.5px; }
.mg-contact-detail { display: flex; gap: 16px; margin-bottom: 18px; font-size: 15px; color: #E8E0CE; align-items: center; background: rgba(255,255,255,0.03); padding: 14px 18px; border-radius: var(--radius-sm); border: 1px solid rgba(255,255,255,0.06); }
.mg-contact-detail b { color: var(--gold-light); min-width: 76px; font-weight: 700; }
.mg-contact-detail a { color: #E8E0CE !important; }
.mg-contact-detail a:hover { color: var(--gold) !important; }
@media (max-width: 860px) { .mg-contact-inner { grid-template-columns: 1fr; } .mg-contact { padding: 70px 24px; } }

/* ================= CONTACT FORM 7 ================= */
.wpcf7 form { margin: 0; }
.wpcf7 .mg-cf7-grid { display: grid; gap: 16px; }
.wpcf7 .mg-cf7-grid p { margin: 0; display: contents; }
.wpcf7 .mg-cf7-grid br { display: none; }
.wpcf7 .mg-cf7-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .wpcf7 .mg-cf7-row { grid-template-columns: 1fr; } }
.wpcf7 .wpcf7-form-control-wrap { display: block; }
.wpcf7 label { display: block; font-size: 13px; font-weight: 700; color: var(--ink-soft); margin-bottom: 6px; }
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"], .wpcf7 input[type="url"], .wpcf7 input[type="number"], .wpcf7 input[type="date"], .wpcf7 select, .wpcf7 textarea {
	width: 100%; padding: 16px 18px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--ivory); color: var(--ink); font-size: 15px; outline: none; transition: all .2s; font-family: var(--font-sans); box-shadow: none; margin: 0;
}
.wpcf7 input:focus, .wpcf7 select:focus, .wpcf7 textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212,175,55,0.15); }
.wpcf7 textarea { min-height: 130px; resize: vertical; height: auto; }
.wpcf7 input[type="submit"], .wpcf7 .wpcf7-submit, .wpcf7 button[type="submit"] {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 32px; border-radius: 999px; font-weight: 800; font-size: 14px; cursor: pointer; border: none; transition: all .25s ease; text-transform: uppercase; letter-spacing: 0.05em; background: var(--gold-gradient); color: var(--ink); box-shadow: 0 6px 20px rgba(143,106,16,0.3); width: fit-content; font-family: var(--font-sans); line-height: 1.2;
}
.wpcf7 .wpcf7-submit:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(212,175,55,0.5); }
.wpcf7 .wpcf7-submit:disabled { opacity: .7; cursor: wait; }
.wpcf7 .mg-cf7-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.wpcf7 .wpcf7-spinner { background-color: var(--gold-deep); margin: 0; }
.wpcf7 .wpcf7-not-valid-tip { color: #E07A66; font-size: 12.5px; font-weight: 700; margin-top: 6px; }
.wpcf7 .wpcf7-not-valid { border-color: #E07A66 !important; }
.wpcf7 form .wpcf7-response-output { margin: 18px 0 0; padding: 12px 18px; border-radius: var(--radius-sm); font-size: 14px; font-weight: 600; border-width: 1px; }
.wpcf7 form.sent .wpcf7-response-output { border-color: var(--success); background: rgba(40,125,60,.1); color: var(--success); }
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output { border-color: var(--gold); background: rgba(212,175,55,.1); color: var(--gold-deep); }
.wpcf7 form.failed .wpcf7-response-output, .wpcf7 form.aborted .wpcf7-response-output, .wpcf7 form.spam .wpcf7-response-output { border-color: var(--danger); background: rgba(179,57,37,.1); color: var(--danger); }
.wpcf7 .wpcf7-list-item { margin: 0 16px 0 0; }
.wpcf7 .wpcf7-acceptance label, .wpcf7 .wpcf7-checkbox label, .wpcf7 .wpcf7-radio label { font-weight: 600; display: inline-flex; gap: 8px; align-items: center; }
.wpcf7 input[type="checkbox"], .wpcf7 input[type="radio"] { accent-color: var(--gold-deep); width: 16px; height: 16px; }

/* Dark variant: inside the contact section (or any .mg-dark container / Elementor section with class mg-dark) */
.mg-contact .wpcf7 input[type="text"], .mg-contact .wpcf7 input[type="email"], .mg-contact .wpcf7 input[type="tel"], .mg-contact .wpcf7 input[type="url"], .mg-contact .wpcf7 input[type="number"], .mg-contact .wpcf7 input[type="date"], .mg-contact .wpcf7 select, .mg-contact .wpcf7 textarea,
.mg-dark .wpcf7 input[type="text"], .mg-dark .wpcf7 input[type="email"], .mg-dark .wpcf7 input[type="tel"], .mg-dark .wpcf7 input[type="url"], .mg-dark .wpcf7 input[type="number"], .mg-dark .wpcf7 input[type="date"], .mg-dark .wpcf7 select, .mg-dark .wpcf7 textarea {
	border: 1px solid rgba(255,255,255,0.12); background: rgba(255,255,255,0.05); color: var(--ivory);
}
.mg-contact .wpcf7 ::placeholder, .mg-dark .wpcf7 ::placeholder { color: #7A6F63; opacity: 1; }
.mg-contact .wpcf7 input:focus, .mg-contact .wpcf7 textarea:focus, .mg-contact .wpcf7 select:focus,
.mg-dark .wpcf7 input:focus, .mg-dark .wpcf7 textarea:focus, .mg-dark .wpcf7 select:focus { border-color: var(--gold); background: rgba(255,255,255,0.08); box-shadow: 0 0 0 3px rgba(212,175,55,0.15); }
.mg-contact .wpcf7 select option, .mg-dark .wpcf7 select option { color: var(--ink); }
.mg-contact .wpcf7 label, .mg-dark .wpcf7 label { color: #BDB2A3; }
.mg-contact .wpcf7 form.sent .wpcf7-response-output, .mg-dark .wpcf7 form.sent .wpcf7-response-output { color: #8FD3A0; }
.mg-contact .wpcf7 form.invalid .wpcf7-response-output, .mg-dark .wpcf7 form.invalid .wpcf7-response-output { color: var(--gold-light); }
.mg-contact .wpcf7 form.failed .wpcf7-response-output, .mg-dark .wpcf7 form.failed .wpcf7-response-output { color: #F2A797; }

/* ================= FLOATING WHATSAPP ================= */
.mg-whatsapp-float { position: fixed; bottom: 30px; right: 30px; background: #25D366; color: #FFF !important; width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4); z-index: 150; transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1); }
.mg-whatsapp-float:hover { transform: scale(1.1); }
.mg-whatsapp-float svg { width: 32px; height: 32px; fill: currentColor; display: block; }
@media (max-width: 600px) { .mg-whatsapp-float { bottom: 20px; right: 20px; width: 54px; height: 54px; } }

/* ================= TOAST ================= */
.mg-toast { position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%) translateY(100px); background: var(--ink); color: var(--gold-light); padding: 14px 28px; border-radius: 999px; font-size: 14px; font-weight: 700; box-shadow: var(--shadow-lg); z-index: 300; opacity: 0; transition: all .35s cubic-bezier(0.16, 1, 0.3, 1); display: flex; align-items: center; gap: 10px; border: 1px solid var(--gold); pointer-events: none; max-width: calc(100vw - 40px); text-align: center; }
.mg-toast.is-show { transform: translateX(-50%) translateY(0); opacity: 1; }

/* ================= FOOTER ================= */
.mg-back-top { display: block; width: 100%; background: #120F0D; color: var(--gold-light); text-align: center; padding: 16px; font-size: 12.5px; font-weight: 800; border: none; cursor: pointer; transition: background .2s; text-transform: uppercase; letter-spacing: 0.1em; border-top: 1px solid rgba(212,175,55,0.2); font-family: var(--font-sans); }
.mg-back-top:hover { background: var(--gold-gradient); color: var(--ink); }
.mg-site-footer { background: var(--ink); padding: 60px 24px 30px; color: #9E9385; font-size: 14px; }
.mg-footer-grid { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.mg-footer-grid h5 { color: var(--gold-light); font-family: var(--font-sans); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 20px; font-weight: 800; }
.mg-footer-grid a { display: block; margin-bottom: 12px; color: #9E9385 !important; transition: color .2s; }
.mg-footer-grid a:hover { color: var(--gold) !important; }
.mg-footer-about { color: #9E9385; font-size: 13.5px; line-height: 1.7; }
.mg-footer-bottom { max-width: var(--maxw); margin: 0 auto; padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; font-size: 13px; }
.mg-footer-bottom b { color: var(--gold-light); font-weight: 700; }
@media (max-width: 860px) { .mg-footer-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; } }
@media (max-width: 500px) { .mg-footer-grid { grid-template-columns: 1fr; } }

/* ================= CONTENT (pages, posts, blocks) ================= */
.mg-page-body { padding-top: 56px; padding-bottom: 90px; }
.mg-entry-content { font-size: 16.5px; color: var(--ink-soft); line-height: 1.75; }
.mg-page-body .mg-entry-content { max-width: 820px; margin: 0 auto; }
.mg-page-body.mg-wc-page .mg-entry-content { max-width: none; }
.mg-entry-content > * + * { margin-top: 1.2em; }
.mg-entry-content :where(h1, h2, h3, h4, h5, h6) { line-height: 1.25; }
.mg-entry-content h2 { font-size: 30px; margin-top: 1.6em; }
.mg-entry-content h3 { font-size: 24px; margin-top: 1.4em; }
.mg-entry-content a { color: var(--gold-deep); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.mg-entry-content blockquote { border-left: 4px solid var(--gold); background: var(--gold-pale); padding: 20px 26px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-family: var(--font-serif); font-size: 20px; color: var(--ink); margin-left: 0; margin-right: 0; }
.mg-entry-content img { border-radius: var(--radius-sm); }
.mg-entry-content table { width: 100%; border-collapse: collapse; }
.mg-entry-content th, .mg-entry-content td { border-bottom: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.mg-entry-content .wp-block-button__link { background: var(--gold-gradient); color: var(--ink); border-radius: 999px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; font-size: 14px; padding: 14px 32px; text-decoration: none; }
.mg-entry-content .is-style-outline .wp-block-button__link { background: transparent; border: 2px solid var(--ink); color: var(--ink); }
.mg-entry-thumb { margin: 0 0 32px; }
.mg-entry-thumb img { border-radius: var(--radius); width: 100%; }
.mg-entry-tags { margin-top: 32px; display: flex; gap: 8px; flex-wrap: wrap; }
.mg-entry-tags a { font-size: 12px; font-weight: 700; background: var(--cream-deep); padding: 6px 12px; border-radius: 999px; color: var(--ink-soft); }
.mg-front-content { max-width: var(--maxw); margin: 0 auto; padding: 60px 24px; }
.mg-elementor-page .mg-site-main > .elementor { width: 100%; }

.mg-content-area { padding-top: 56px; padding-bottom: 90px; }
.mg-content-area.has-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; }
@media (max-width: 960px) { .mg-content-area.has-sidebar { grid-template-columns: 1fr; } }
.mg-sidebar .mg-widget { background: var(--ivory); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin-bottom: 24px; box-shadow: var(--shadow-sm); }
.mg-widget-title { font-family: var(--font-sans); font-size: 12px; letter-spacing: .15em; text-transform: uppercase; color: var(--gold-deep); font-weight: 800; margin: 0 0 14px; }
.mg-widget ul { list-style: none; margin: 0; padding: 0; }
.mg-widget li { padding: 8px 0; border-bottom: 1px dashed var(--line); }
.mg-widget li:last-child { border-bottom: none; }

.mg-post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; }
.mg-post-card { background: var(--ivory); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: all .3s cubic-bezier(0.16, 1, 0.3, 1); display: flex; flex-direction: column; }
.mg-post-card:hover { border-color: var(--gold); box-shadow: var(--shadow); transform: translateY(-6px); }
.mg-post-thumb { display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 10; background: var(--gold-pale); overflow: hidden; }
.mg-post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.mg-post-thumb .mg-mini-seal { margin: 0; }
.mg-post-card-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.mg-post-meta { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 11.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--sand); }
.mg-post-meta a { color: var(--gold-deep); }
.mg-post-card-title { font-size: 22px; margin: 0; }
.mg-post-card-title a { color: var(--ink); }
.mg-post-card-title a:hover { color: var(--gold-deep); }
.mg-post-excerpt { color: var(--ink-soft); font-size: 14.5px; flex: 1; }
.mg-post-excerpt p { margin: 0; }
.mg-link-more { font-size: 12.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--gold-deep); }

.mg-pagination, .navigation.pagination { margin-top: 48px; }
.nav-links { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.page-numbers { display: inline-flex; min-width: 42px; height: 42px; align-items: center; justify-content: center; border-radius: 999px; border: 1.5px solid var(--line); background: var(--ivory); color: var(--ink-soft); font-weight: 700; padding: 0 14px; }
.page-numbers.current, .page-numbers:hover { background: var(--ink); color: var(--gold-light); border-color: var(--ink); }
.post-navigation .nav-links { justify-content: space-between; margin-top: 48px; }
.post-navigation a { font-family: var(--font-serif); font-weight: 700; color: var(--ink); }

.mg-search-form { display: flex; gap: 10px; max-width: 520px; margin: 0 auto; }
.mg-search-form input[type="search"] { flex: 1; border: 1.5px solid var(--line); border-radius: 999px; padding: 12px 20px; font-size: 15px; background: var(--ivory); outline: none; }
.mg-search-form input[type="search"]:focus { border-color: var(--gold); }
.mg-search-form .mg-btn { padding: 12px 24px; }
.mg-empty-state { text-align: center; padding: 40px 0; }
.mg-empty-state h2 { font-size: 28px; margin: 0 0 8px; }
.mg-empty-state p { color: var(--ink-soft); margin: 0 0 24px; }

.mg-comments { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--line); }
.mg-comment-list { list-style: none; padding: 0; }
.mg-comment-list .comment-body { background: var(--ivory); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; margin-bottom: 16px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea { width: 100%; padding: 14px 16px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--ivory); font-size: 15px; }
.comment-form input:focus, .comment-form textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212,175,55,.15); }

.mg-404 { text-align: center; padding: 110px 0 120px; }
.mg-404-num { font-family: var(--font-serif); font-weight: 800; font-size: clamp(90px, 16vw, 180px); line-height: 1; background: var(--gold-gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 12px; }
.mg-404 h1 { font-size: clamp(28px, 4vw, 42px); margin-bottom: 12px; }
.mg-404 p { color: var(--ink-soft); margin-bottom: 32px; }
.mg-404-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.mg-editor-notice { max-width: var(--maxw); margin: 20px auto; padding: 14px 18px; border: 1.5px dashed var(--gold); background: var(--gold-pale); color: var(--gold-deep); border-radius: var(--radius-sm); font-size: 13.5px; font-weight: 700; }

/* ================= ELEMENTOR HARMONY ================= */
/* MG sections are self-contained (max-width + padding): place them in full-width Elementor containers. */
/* Default Elementor buttons pick up the brand look when no style is set in the editor. */
.mg-eats .elementor-button:not([style]) { font-family: var(--font-sans); font-weight: 800; text-transform: uppercase; letter-spacing: .05em; border-radius: 999px; }
.mg-eats .elementor-widget-button.mg-btn-gold .elementor-button { background: var(--gold-gradient); color: var(--ink); box-shadow: 0 6px 20px rgba(143,106,16,0.3); }
.mg-eats .elementor-widget-button.mg-btn-dark .elementor-button { background: var(--ink); color: var(--gold-light); }
/* Handy utility classes for Elementor "CSS Classes" field */
.mg-bg-cream { background: var(--cream) !important; }
.mg-bg-ivory { background: var(--ivory) !important; }
.mg-bg-ink { background: var(--ink) !important; }
.mg-bg-green { background: var(--royale-green) !important; }
.mg-text-gold-gradient .elementor-heading-title, .mg-text-gold-gradient { background: var(--gold-gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.mg-card-box { background: var(--ivory); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: all .3s cubic-bezier(0.16, 1, 0.3, 1); }
.mg-card-box:hover { border-color: var(--gold); box-shadow: var(--shadow); transform: translateY(-6px); }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* Block widgets in sidebars */
.mg-sidebar :where(h2, h3, .wp-block-search__label) { font-family: var(--font-sans); font-size: 12px; letter-spacing: .15em; text-transform: uppercase; color: var(--gold-deep); font-weight: 800; margin: 0 0 14px; }
.mg-sidebar .wp-block-search__inside-wrapper { gap: 8px; }
.mg-sidebar .wp-block-search__input { border: 1.5px solid var(--line); border-radius: 999px; padding: 10px 16px; background: var(--cream); font-size: 14px; }
.mg-sidebar .wp-block-search__input:focus { outline: none; border-color: var(--gold); }
.mg-sidebar .wp-block-search__button { background: var(--ink); color: var(--gold-light); border: none; border-radius: 999px; padding: 10px 18px; font-weight: 700; margin: 0; }
.mg-sidebar .wp-block-search__button:hover { background: var(--gold-gradient); color: var(--ink); }
.mg-sidebar ul { list-style: none; margin: 0; padding: 0; }
.mg-sidebar li { padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 14.5px; }
.mg-sidebar li:last-child { border-bottom: none; }
.mg-sidebar li a { color: var(--ink-soft); }
.mg-sidebar li a:hover { color: var(--gold-deep); }
