.mg-interior-hero,
.mg-interior-section,
.mg-dynamic-content {
  --mg-interior-max: 1440px;
  position: relative;
  display: grid;
  width: min(calc(100% - 48px), var(--mg-interior-max));
  margin-inline: auto;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 0;
  color: var(--mg-ink);
  background-color: var(--mg-paper);
  background-image:
    repeating-linear-gradient(90deg, rgb(23 22 22 / 5%) 0 1px, transparent 1px 8.333333%),
    url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.025'/%3E%3C/svg%3E");
  font-family: var(--mg-font-body);
}

/* Exact Superdesign pages are imported section-by-section as editable
 * Elementor HTML widgets. Remove Elementor's own spacing and width rules so
 * the approved page grid remains the sole layout authority. */
.mg-superdesign-main,
.mg-superdesign-content,
.mg-superdesign-main > .e-con-inner,
.mg-superdesign-content > .e-con-inner {
  --gap: 0 !important;
  --row-gap: 0 !important;
  --column-gap: 0 !important;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  gap: 0 !important;
}
.mg-superdesign-content > .elementor-element,
.mg-superdesign-content > .e-con-inner > .elementor-element,
.mg-superdesign-block,
.mg-superdesign-block > .elementor-widget-container {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}
.mg-superdesign-main .elementor-widget-html:not(:last-child) { margin-block-end: 0; }
.mg-superdesign-main iconify-icon { display: inline-flex; }
.mg-superdesign-main,
.mg-superdesign-main *,
.mg-superdesign-main *::before,
.mg-superdesign-main *::after { box-sizing: border-box; }
.mg-superdesign-main a { color: inherit; text-decoration: inherit; }
.mg-superdesign-main h1,
.mg-superdesign-main h2,
.mg-superdesign-main h3,
.mg-superdesign-main h4,
.mg-superdesign-main h5,
.mg-superdesign-main h6,
.mg-superdesign-main p { margin: 0; }
.mg-superdesign-main img { display: block; max-width: 100%; height: auto; }
.mg-superdesign-main button,
.mg-superdesign-main input,
.mg-superdesign-main optgroup,
.mg-superdesign-main select,
.mg-superdesign-main textarea { margin: 0; color: inherit; font: inherit; }

/* The header is absolutely positioned. Elementor still assigns its widget a
 * default 20px bottom margin, which collapses above the first hero and creates
 * a blank strip. It must not reserve layout space on interior pages. */
body:not(.home) .elementor-widget-mg_home_header {
  margin-block-end: 0 !important;
}

/* Runtime parity for pages that were imported before the latest approved
 * Superdesign pass. These tokens must live in the enqueued stylesheet (and
 * not only inside starter JSON), otherwise replacing the plugin leaves stale
 * Elementor page CSS active in the database. */
body:not(.home) .interior-harmonized {
  --interior-hero-min: clamp(34rem, 55vw, 42.5rem);
  --interior-section-space: clamp(3.75rem, 5.5vw, 5.5rem);
}
body:not(.home) .interior-harmonized main .mg-superdesign-block--first > .elementor-widget-container > section:first-child[class*="min-h-"] {
  min-height: var(--interior-hero-min) !important;
}
body:not(.home) .interior-harmonized main .mg-superdesign-block--first > .elementor-widget-container > section:first-child {
  padding-top: clamp(7rem, 8.5vw, 8.5rem) !important;
  padding-bottom: clamp(3.25rem, 4.5vw, 4.5rem) !important;
}
body:not(.home) .interior-harmonized main .mg-superdesign-block--first > .elementor-widget-container > section:first-child h1,
body:not(.home) .interior-harmonized main .mg-superdesign-block--first > .elementor-widget-container > article > header:first-child h1 {
  max-width: 1060px;
  font-size: clamp(3.25rem, 5.8vw, 6rem) !important;
  line-height: .95 !important;
  letter-spacing: -.038em !important;
}
body:not(.home) .interior-harmonized main h2 {
  font-size: clamp(2.25rem, 4.4vw, 5rem) !important;
  line-height: .98 !important;
}
body:not(.home) .interior-harmonized main .mg-superdesign-block > .elementor-widget-container > section:not(:first-child)[class*="py-24"],
body:not(.home) .interior-harmonized main .mg-superdesign-block > .elementor-widget-container > section:not(:first-child)[class*="py-28"],
body:not(.home) .interior-harmonized main .mg-superdesign-block > .elementor-widget-container > section:not(:first-child)[class*="py-32"],
body:not(.home) .interior-harmonized main .mg-superdesign-block > .elementor-widget-container > section:not(:first-child)[class*="py-36"],
body:not(.home) .interior-harmonized main .mg-superdesign-block > .elementor-widget-container > section:not(:first-child)[class*="py-40"] {
  padding-top: var(--interior-section-space) !important;
  padding-bottom: var(--interior-section-space) !important;
}
body:not(.home) .interior-harmonized .news-card > a {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
body:not(.home) .interior-harmonized .news-card > a > img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}
body:not(.home) .interior-harmonized .museum-territory-media {
  min-height: 0 !important;
  align-self: start;
  aspect-ratio: 16 / 10;
}
body:not(.home) .interior-harmonized .museum-territory-media img {
  width: 100%;
  height: 100% !important;
  min-height: 0 !important;
  object-fit: cover;
}

/* Elementor inserts .e-con-inner inside every boxed container. The visual
 * columns therefore belong on that wrapper, not on the outer .e-con node. */
.mg-interior-hero > .e-con-inner,
.mg-interior-section > .e-con-inner {
  display: grid;
  width: 100%;
  max-width: none;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: center;
  gap: 0;
}

/* Elementor's generated frontend stylesheet is loaded after this file. Keep
 * the approved page width and spacing authoritative without using !important. */
.elementor .mg-interior-hero,
.elementor .mg-interior-section {
  width: min(calc(100% - 48px), var(--mg-interior-max));
  margin-inline: auto;
}

body:not(.home) .mg-home-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 50;
  width: 100%;
  border-bottom: 1px solid transparent;
  background: transparent;
}
body:not(.home) .mg-home-header.is-compact {
  position: fixed;
  background: rgb(23 22 22 / 96%);
  border-color: rgb(251 251 251 / 12%);
}
body:not(.home) .mg-home-header__inner {
  min-height: 82px;
  grid-template-columns: 190px minmax(0, 1fr) auto;
}
body:not(.home) .mg-home-header__brand {
  width: 190px;
  height: 54px;
  padding: 8px 0;
  transform: none;
}
body:not(.home) .mg-home-header__logo { width: 100%; height: 100%; object-fit: contain; object-position: left center; }
body:not(.home) .mg-home-header__menu > li > a { font-size: .78rem; }

.mg-interior-hero { min-height: 44rem; align-items: center; padding-block: clamp(7rem, 11vw, 12rem); border-bottom: 1px solid var(--mg-line); }
.mg-interior-hero-copy { grid-column: 1 / span 5; align-self: center; padding-right: clamp(2rem, 6vw, 7rem); }
.mg-interior-hero-media { grid-column: 7 / -1; align-self: stretch; min-height: 30rem; }
.mg-interior-hero h1 { max-width: 11ch; margin: 1.25rem 0 2rem; font: 500 clamp(3.5rem, 6.8vw, 7.5rem)/.91 var(--mg-font-display); letter-spacing: -.055em; text-wrap: balance; }
.mg-interior-hero p { max-width: 43ch; color: var(--mg-muted); font-size: clamp(1rem, 1.2vw, 1.25rem); line-height: 1.65; }
.mg-interior-hero-media .elementor-widget-image,
.mg-interior-hero-media .elementor-widget-container,
.mg-interior-hero-media img { width: 100%; height: 100%; }
.mg-interior-hero-media img { min-height: 30rem; object-fit: cover; }

.mg-interior-section { min-height: 38rem; align-items: center; padding-block: clamp(6rem, 10vw, 11rem); border-bottom: 1px solid var(--mg-line); }
.mg-interior-copy { grid-column: 1 / span 5; padding-right: clamp(2rem, 6vw, 7rem); }
.mg-interior-media { grid-column: 7 / -1; overflow: hidden; aspect-ratio: 4 / 3; border: 1px solid var(--mg-line); background: var(--mg-parchment); }
.mg-interior-section.is-reversed .mg-interior-copy { grid-column: 8 / -1; grid-row: 1; padding: 0 0 0 clamp(2rem, 5vw, 6rem); }
.mg-interior-section.is-reversed .mg-interior-media { grid-column: 1 / span 6; grid-row: 1; }
.mg-interior-copy h2 { max-width: 12ch; margin: 0 0 2rem; font: 500 clamp(2.6rem, 5vw, 5.5rem)/.95 var(--mg-font-display); letter-spacing: -.045em; text-wrap: balance; }
.mg-interior-copy p { max-width: 48ch; color: var(--mg-muted); font-size: 1.08rem; line-height: 1.7; }
.mg-interior-media .elementor-widget-image,
.mg-interior-media .elementor-widget-container,
.mg-interior-media img { width: 100%; height: 100%; }
.mg-interior-media img { display: block; object-fit: cover; }
.mg-interior-section:nth-of-type(4n + 2) { background-color: var(--mg-parchment); }

.mg-interior-icon { display: grid; width: 2.25rem; height: 2.25rem; place-items: center; color: var(--mg-red); }
.mg-interior-icon svg { width: 100%; height: 100%; stroke-width: 1.6; }

.mg-breadcrumbs { margin: 0 0 1.5rem; color: var(--mg-red); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.mg-breadcrumbs ol { display: flex; margin: 0; padding: 0; flex-wrap: wrap; align-items: center; gap: .55rem; list-style: none; }
.mg-breadcrumbs li { display: inline-flex; align-items: center; gap: .55rem; }
.mg-breadcrumbs li:not(:last-child)::after { content: '/'; color: var(--mg-muted); }
.mg-breadcrumbs a { color: inherit; text-decoration: none; }
.mg-breadcrumbs a:hover, .mg-breadcrumbs a:focus-visible { text-decoration: underline; text-underline-offset: .25em; }

/* Páginas interiores reconstruídas a partir dos drafts Superdesign. */
.mg-sd-hero { position: relative; width: 100%; min-height: clamp(42rem, 62vw, 53.75rem); margin: 0; overflow: hidden; align-items: end; background: var(--mg-ink); color: var(--mg-paper); }
.mg-sd-hero > .e-con-inner { position: relative; display: grid; width: var(--mg-shell); max-width: 1440px; min-height: inherit; margin-inline: auto; grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: end; }
.mg-sd-hero::after { position: absolute; z-index: 1; inset: 0; content: ''; background: linear-gradient(90deg, rgb(23 22 22 / 88%) 0%, rgb(23 22 22 / 65%) 55%, rgb(23 22 22 / 32%) 100%); pointer-events: none; }
.mg-sd-hero-media { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; }
.mg-sd-hero-media > .e-con-inner,
.mg-sd-hero-media .elementor-widget-image,
.mg-sd-hero-media .elementor-widget-container,
.mg-sd-hero-media img { width: 100%; height: 100%; max-width: none; }
.mg-sd-hero-media img { object-fit: cover; }
.mg-sd-hero-copy { z-index: 2; grid-column: 1 / span 9; padding-block: clamp(10rem, 15vw, 14rem) clamp(4rem, 7vw, 6rem); }
.mg-sd-hero-copy > .e-con-inner { display: block; max-width: none; }
.mg-sd-hero .mg-breadcrumbs { color: rgb(251 251 251 / 64%); }
.mg-sd-hero .mg-breadcrumbs li:last-child { color: var(--mg-gold); }
.mg-sd-hero h1 { max-width: 13ch; margin: 0; color: var(--mg-paper); font: 500 clamp(3.75rem, 7vw, 7rem)/.92 var(--mg-font-display); letter-spacing: -.04em; text-wrap: balance; }
.mg-sd-hero p { max-width: 46rem; margin: 1.75rem 0 0; color: rgb(251 251 251 / 72%); font-size: clamp(1rem, 1.35vw, 1.2rem); line-height: 1.7; }

.mg-sd-section { position: relative; width: 100%; margin: 0; padding-block: clamp(4.5rem, 8vw, 8rem); color: var(--mg-ink); }
.mg-sd-section > .e-con-inner { display: grid; width: var(--mg-shell); max-width: 1440px; margin-inline: auto; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.mg-sd-section--paper { background-color: var(--mg-paper); background-image: repeating-linear-gradient(90deg, rgb(23 22 22 / 5%) 0 1px, transparent 1px 8.333333%); }
.mg-sd-section--parchment { border-block: 1px solid var(--mg-line); background: var(--mg-parchment); }
.mg-sd-section--dark { background: var(--mg-ink); color: var(--mg-paper); }
.mg-sd-section-copy { grid-column: 1 / span 5; }
.mg-sd-section-copy > .e-con-inner { display: block; max-width: none; }
.mg-sd-section-copy h2 { max-width: 13ch; margin: 0; font: 500 clamp(2.75rem, 5vw, 5rem)/.98 var(--mg-font-display); letter-spacing: -.04em; text-wrap: balance; }
.mg-sd-section-copy p { max-width: 42rem; margin: 1.5rem 0 0; color: var(--mg-muted); font-size: 1.05rem; line-height: 1.75; }
.mg-sd-section--dark .mg-sd-section-copy p { color: rgb(251 251 251 / 68%); }
.mg-sd-card-grid { grid-column: 7 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; width: 100%; }
.mg-sd-card-grid > .e-con-inner { display: contents; }
.mg-sd-section--cards .mg-sd-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mg-sd-card { min-width: 0; border-top: 1px solid currentColor; padding-top: 1rem; }
.mg-sd-card > .e-con-inner { display: block; max-width: none; }
.mg-sd-card .elementor-widget-image { overflow: hidden; background: var(--mg-parchment); }
.mg-sd-card img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .7s var(--mg-ease), filter .7s var(--mg-ease); filter: saturate(.84); }
.mg-sd-card:hover img { transform: scale(1.025); filter: saturate(1); }
.mg-sd-card h3 { margin: 1rem 0 0; font: 600 clamp(1.25rem, 2vw, 1.65rem)/1.15 var(--mg-font-display); }
.mg-sd-section--split .mg-sd-card-grid { grid-template-columns: 1fr; }
.mg-sd-section--split .mg-sd-card img { aspect-ratio: 16 / 10; }
.mg-sd-section--copy .mg-sd-section-copy { grid-column: 1 / span 8; }

/* Loja — composição aprovada no Superdesign. */
.mg-shop-hero,
.mg-shop-selection-bar,
.mg-shop-catalog {
  --mg-interior-max: 1440px;
  position: relative;
  width: 100%;
  margin: 0;
  font-family: var(--mg-font-body);
}
.mg-shop-hero { min-height: 650px; overflow: hidden; align-items: flex-end; background: var(--mg-ink); color: var(--mg-paper); }
.mg-shop-hero > .e-con-inner { position: relative; display: grid; width: var(--mg-shell); max-width: 1440px; min-height: 650px; margin-inline: auto; grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: end; }
.mg-shop-hero::after { position: absolute; z-index: 1; inset: 0; content: ''; background: linear-gradient(90deg, var(--mg-ink) 0%, rgb(23 22 22 / 92%) 52%, rgb(23 22 22 / 28%) 100%); pointer-events: none; }
.mg-shop-hero-copy { z-index: 2; grid-column: 1 / span 8; grid-row: 1; align-self: end; padding: clamp(10rem, 17vw, 14rem) 0 clamp(4.5rem, 8vw, 7rem); }
.mg-shop-hero-copy > .e-con-inner { display: block; max-width: none; }
.mg-shop-hero-product { z-index: 0; grid-column: 8 / -1; grid-row: 1; align-self: center; height: min(72%, 520px); transform: rotate(3deg); opacity: .78; filter: drop-shadow(0 24px 36px rgb(0 0 0 / 35%)); }
.mg-shop-hero-product > .e-con-inner,
.mg-shop-hero-product .elementor-widget-image,
.mg-shop-hero-product .elementor-widget-container,
.mg-shop-hero-product img { width: 100%; height: 100%; }
.mg-shop-hero-product img { object-fit: contain; }
.mg-shop-hero .mg-breadcrumbs { color: rgb(251 251 251 / 66%); }
.mg-shop-hero .mg-breadcrumbs li:last-child { color: var(--mg-gold); }
.mg-shop-hero h1 { max-width: 10ch; margin: 0; color: var(--mg-paper); font: 500 clamp(4.5rem, 8vw, 8rem)/.9 var(--mg-font-display); letter-spacing: -.04em; text-wrap: balance; }
.mg-shop-hero p { max-width: 38rem; margin: 2rem 0 0; color: rgb(251 251 251 / 70%); font-size: 1.125rem; line-height: 1.7; }
.mg-shop-button { width: max-content; margin-top: 2.25rem; }
.mg-shop-button .elementor-button { min-height: 48px; padding: .95rem 1.25rem; border-radius: 0; background: var(--mg-gold); color: var(--mg-ink); font-weight: 700; }

.mg-shop-selection-bar { border-bottom: 1px solid var(--mg-line); background: var(--mg-gold); color: var(--mg-ink); }
.mg-shop-selection-bar > .e-con-inner { display: grid; width: var(--mg-shell); max-width: 1440px; margin-inline: auto; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 2rem; padding-block: 1.75rem; }
.mg-shop-selection-bar h2 { max-width: 48rem; margin: 0; font: 500 clamp(1.25rem, 2vw, 1.6rem)/1.25 var(--mg-font-display); }
.mg-shop-selection-link .elementor-button { min-height: 48px; padding: .85rem 1.25rem; border: 1px solid var(--mg-ink); border-radius: 0; background: transparent; color: var(--mg-ink); font-weight: 700; }

.mg-shop-catalog { padding-block: clamp(5rem, 8vw, 8rem); background-color: var(--mg-paper); background-image: repeating-linear-gradient(90deg, rgb(23 22 22 / 5%) 0 1px, transparent 1px 8.333333%); }
.mg-shop-catalog > .e-con-inner { display: block; width: var(--mg-shell); max-width: 1440px; margin-inline: auto; }
.mg-shop-catalog-head { padding-bottom: 2.5rem; border-bottom: 1px solid var(--mg-line); }
.mg-shop-catalog-head > .e-con-inner { display: grid; width: 100%; max-width: none; grid-template-columns: minmax(0, 1fr) minmax(18rem, .55fr); gap: 3rem; align-items: end; }
.mg-shop-catalog-copy h2 { margin: 0; font: 500 clamp(3rem, 5vw, 5rem)/.96 var(--mg-font-display); letter-spacing: -.035em; }
.mg-shop-catalog-copy p { max-width: 38rem; margin: 1rem 0 0; color: var(--mg-muted); line-height: 1.65; }
.mg-shop-catalog .mg-product-grid { width: 100%; margin-top: 3.5rem; border: 0; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4rem 1.5rem; }
.mg-shop-catalog .mg-product-card { padding: 1rem 0 0; border: 0; border-top: 1px solid var(--mg-line); background: transparent; }
.mg-shop-catalog .mg-product-card img { aspect-ratio: 1; }
.mg-catalog-controls { display: grid !important; grid-template-columns: minmax(18rem, 1fr) auto; gap: .75rem; }
.mg-catalog-search { display: flex; min-width: min(24rem, 48vw); min-height: 56px; align-items: center; gap: .75rem; padding: 0 1.1rem; border: 1px solid rgb(23 22 22 / 14%); border-radius: 18px; background: rgb(251 251 251 / 62%); box-shadow: 0 10px 28px rgb(23 22 22 / 7%); backdrop-filter: blur(14px) saturate(1.12); -webkit-backdrop-filter: blur(14px) saturate(1.12); transition: border-color 180ms ease-out, background-color 180ms ease-out, box-shadow 180ms ease-out; }
.mg-catalog-search:focus-within { border-color: rgb(168 43 38 / 55%); background: rgb(251 251 251 / 86%); box-shadow: 0 14px 34px rgb(23 22 22 / 10%); }
.mg-catalog-search input[type='search'] { min-width: 0; min-height: 54px; border: 0; background: transparent; caret-color: var(--mg-red); }
.mg-catalog-search iconify-icon { flex: 0 0 auto; color: var(--mg-red); font-size: 1.2rem; }
.mg-catalog-sort { display: block; position: relative; }
.mg-catalog-sort [data-sort='catalog'] { min-width: 11rem; min-height: 56px; padding: 0 2.75rem 0 1rem; border: 1px solid rgb(23 22 22 / 14%); border-radius: 18px; background-color: rgb(251 251 251 / 62%); box-shadow: 0 10px 28px rgb(23 22 22 / 7%); backdrop-filter: blur(14px) saturate(1.12); -webkit-backdrop-filter: blur(14px) saturate(1.12); font-weight: 650; cursor: pointer; }
.mg-catalog-count { margin: 1.75rem 0 .75rem; color: var(--mg-muted); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-variant-numeric: tabular-nums; }
.mg-shop-catalog [data-filter='category'] { display: flex; min-height: 4rem; margin-top: 0 !important; padding: .6rem 0 .85rem !important; align-items: center; gap: .65rem; overflow-x: auto; border-bottom: 1px solid var(--mg-line); scrollbar-width: thin; }
.mg-shop-catalog [data-filter='category'] button { position: relative; flex: 0 0 auto; min-height: 46px; padding: .82rem 1.25rem; border: 1px solid rgb(23 22 22 / 14%); border-radius: 999px; background: rgb(251 251 251 / 58%); color: var(--mg-muted); box-shadow: 0 8px 24px rgb(23 22 22 / 8%); backdrop-filter: blur(14px) saturate(1.18); -webkit-backdrop-filter: blur(14px) saturate(1.18); font: 650 .86rem/1 var(--mg-font-body); cursor: pointer; transition: color 180ms ease-out, background-color 180ms ease-out, border-color 180ms ease-out, box-shadow 180ms ease-out, transform 180ms ease-out; }
.mg-shop-catalog [data-filter='category'] button:hover { color: var(--mg-ink); border-color: rgb(168 43 38 / 32%); background: rgb(255 255 255 / 82%); box-shadow: 0 12px 30px rgb(23 22 22 / 12%); transform: translateY(-1px); }
.mg-shop-catalog [data-filter='category'] button[aria-pressed='true'] { border-color: rgb(213 190 152 / 72%); background: rgb(23 22 22 / 90%); color: var(--mg-paper); box-shadow: 0 12px 30px rgb(23 22 22 / 18%), inset 0 0 0 1px rgb(213 190 152 / 24%); }
.mg-shop-catalog [data-filter='category'] button:focus-visible,
.mg-shop-catalog input[type='search']:focus-visible,
.mg-shop-catalog [data-sort='catalog']:focus-visible { outline: 2px solid var(--mg-red); outline-offset: 3px; }
.mg-shop-catalog .mg-product-card[hidden] { display: none !important; }
.mg-product-grid-empty { width: 100%; margin: 3rem 0 0; padding: 2rem; background: var(--mg-parchment); color: var(--mg-ink); font-size: 1rem; line-height: 1.6; }
.mg-shop-catalog [data-catalog-pagination] { display: flex; margin-top: 5rem; justify-content: center; gap: .5rem; }
.mg-shop-catalog [data-catalog-pagination][hidden] { display: none; }
.mg-shop-catalog [data-catalog-pagination] button { min-width: 48px; min-height: 48px; padding: .75rem; border: 1px solid rgb(23 22 22 / 14%); border-radius: 50%; background: rgb(251 251 251 / 60%); color: var(--mg-ink); box-shadow: 0 8px 24px rgb(23 22 22 / 8%); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); font: 650 .88rem/1 var(--mg-font-body); font-variant-numeric: tabular-nums; cursor: pointer; }
.mg-shop-catalog [data-catalog-pagination] button:hover:not(:disabled) { border-color: rgb(168 43 38 / 32%); background: rgb(255 255 255 / 84%); }
.mg-shop-catalog [data-catalog-pagination] button[aria-current='page'] { border-color: rgb(213 190 152 / 72%); background: rgb(23 22 22 / 90%); color: var(--mg-paper); box-shadow: 0 10px 28px rgb(23 22 22 / 16%); }
.mg-shop-catalog [data-catalog-pagination] button:disabled { cursor: not-allowed; opacity: .35; }
.mg-shop-catalog [data-catalog-pagination] button:focus-visible { outline: 2px solid var(--mg-red); outline-offset: 3px; }
.mg-product-card__category { margin: 1.25rem 0 0; color: var(--mg-red); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.mg-shop-catalog .mg-product-card h2 { margin: .75rem 0 0; font-size: 1.5rem; }
.mg-shop-catalog .mg-quote-add { width: 100%; margin-top: 1.25rem; display: flex; justify-content: space-between; align-items: center; }

.mg-shop-flow-hero { width: 100%; min-height: 30rem; margin: 0; align-items: end; background: var(--mg-ink); color: var(--mg-paper); }
.mg-shop-flow-hero > .e-con-inner { display: block; width: var(--mg-shell); max-width: 1440px; margin-inline: auto; padding-block: clamp(8.5rem, 13vw, 12rem) clamp(3.5rem, 6vw, 5rem); }
.mg-shop-flow-hero-copy > .e-con-inner { display: block; max-width: none; }
.mg-shop-flow-hero .mg-breadcrumbs { color: rgb(251 251 251 / 62%); }
.mg-shop-flow-hero .mg-breadcrumbs li:last-child { color: var(--mg-gold); }
.mg-shop-flow-hero .elementor-widget-heading p { margin: 2rem 0 .75rem; color: var(--mg-red); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.mg-shop-flow-hero h1 { max-width: 12ch; margin: 0; color: var(--mg-paper); font: 500 clamp(4rem, 7vw, 7rem)/.92 var(--mg-font-display); letter-spacing: -.04em; }
.mg-shop-flow-hero .elementor-widget-text-editor p { max-width: 44rem; margin: 1.75rem 0 0; color: rgb(251 251 251 / 66%); font-size: 1.1rem; line-height: 1.7; }

.mg-shop-product-stage,
.mg-shop-selection-stage,
.mg-shop-quote-stage,
.mg-shop-related { width: 100%; margin: 0; padding-block: clamp(4.5rem, 7vw, 7rem); }
.mg-shop-product-stage { background: var(--mg-parchment); }
.mg-shop-selection-stage { background-color: var(--mg-paper); background-image: repeating-linear-gradient(90deg, rgb(23 22 22 / 5%) 0 1px, transparent 1px 8.333333%); }
.mg-shop-quote-stage { background: var(--mg-parchment); }
.mg-shop-related { background-color: var(--mg-paper); background-image: repeating-linear-gradient(90deg, rgb(23 22 22 / 5%) 0 1px, transparent 1px 8.333333%); }
.mg-shop-product-stage > .e-con-inner,
.mg-shop-selection-stage > .e-con-inner,
.mg-shop-quote-stage > .e-con-inner,
.mg-shop-related > .e-con-inner { display: block; width: var(--mg-shell); max-width: 1440px; margin-inline: auto; }
.mg-shop-product-stage .mg-product-detail { width: 100%; border: 0; background: transparent; grid-template-columns: minmax(0, 7fr) minmax(22rem, 4fr); gap: clamp(3rem, 7vw, 8rem); }
.mg-shop-product-stage .mg-product-detail__media { padding: clamp(1.5rem, 4vw, 4rem); background: var(--mg-paper); box-shadow: 0 24px 70px rgb(23 22 22 / 12%); }
.mg-shop-product-stage .mg-product-detail__copy { padding: 0; }
.mg-shop-product-stage .mg-product-detail h2 { font-size: clamp(3.5rem, 5vw, 6rem); }
.mg-shop-product-stage .mg-product-detail .mg-quote-add { width: 100%; min-height: 56px; background: var(--mg-gold); color: var(--mg-ink); }
.mg-shop-related h2 { margin: 0 0 3.5rem; font: 500 clamp(2.75rem, 5vw, 5rem)/.98 var(--mg-font-display); }
.mg-shop-related .mg-product-grid { width: 100%; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 0; gap: 1.5rem; }
.mg-shop-related .mg-product-card { border: 0; border-top: 1px solid var(--mg-line); }

.mg-shop-selection-stage .mg-quote-selection { width: min(100%, 960px); margin: 0; }
.mg-shop-selection-stage .mg-quote-item { grid-template-columns: 7.5rem minmax(0, 1fr); padding: 1.5rem 0; border: 0; border-top: 1px solid var(--mg-line); }
.mg-shop-selection-stage .mg-quote-submit-link { min-height: 56px; background: var(--mg-red); }
.mg-shop-quote-stage .mg-quote-form { width: min(100%, 900px); margin: 0; padding: clamp(1.5rem, 4vw, 4rem); background: var(--mg-paper); grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.mg-shop-quote-stage .mg-quote-form > label:has(textarea),
.mg-shop-quote-stage .mg-quote-form > label:has(input[type='checkbox']),
.mg-shop-quote-stage .mg-quote-form > button { grid-column: 1 / -1; }
.mg-shop-quote-stage .mg-quote-form button { min-height: 56px; background: var(--mg-red); border-color: var(--mg-red); }

.mg-dynamic-content { display: block; width: 100%; padding-block: clamp(5rem, 8vw, 9rem); }
.mg-product-grid { display: grid; width: min(calc(100% - 48px), 1440px); margin-inline: auto; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--mg-line); border-left: 1px solid var(--mg-line); }
.mg-product-card { min-width: 0; padding: 1.5rem; border-right: 1px solid var(--mg-line); border-bottom: 1px solid var(--mg-line); background: var(--mg-paper); }
.mg-product-card a { color: inherit; text-decoration: none; }
.mg-product-card img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--mg-parchment); }
.mg-product-card h2 { margin: 1.25rem 0; font: 600 1.5rem/1.05 var(--mg-font-display); letter-spacing: -.025em; }
.mg-product-card button,
.mg-quote-form button { min-height: 48px; padding: .8rem 1rem; border: 1px solid var(--mg-ink); background: var(--mg-ink); color: var(--mg-paper); font: 650 .92rem/1 var(--mg-font-body); }
.mg-product-detail { display: grid; width: min(calc(100% - 48px), 1200px); margin-inline: auto; grid-template-columns: minmax(0, 1.15fr) minmax(20rem, .85fr); border: 1px solid var(--mg-line); background: var(--mg-paper); }
.mg-product-detail__media { min-height: 36rem; background: var(--mg-parchment); }
.mg-product-detail__media img { display: block; width: 100%; height: 100%; min-height: 36rem; object-fit: cover; }
.mg-product-detail__copy { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: clamp(2rem, 6vw, 6rem); }
.mg-product-detail h2 { margin: 1rem 0 2rem; font: 500 clamp(2.8rem, 5vw, 5.5rem)/.94 var(--mg-font-display); letter-spacing: -.05em; }
.mg-product-detail__description { color: var(--mg-muted); line-height: 1.7; }
.mg-product-detail .mg-quote-add { min-height: 48px; margin-top: 2rem; padding: .9rem 1.2rem; border: 1px solid var(--mg-ink); background: var(--mg-ink); color: var(--mg-paper); }
.mg-quote-submit-link { display: inline-flex; min-height: 48px; margin: 1.5rem 0 0; align-items: center; padding: .9rem 1.2rem; border: 1px solid var(--mg-ink); background: var(--mg-ink); color: var(--mg-paper); font-weight: 650; text-decoration: none; }
.mg-quote-selection,
.mg-quote-form { display: grid; width: min(calc(100% - 48px), 960px); margin-inline: auto; gap: 1rem; }
.mg-quote-item { display: grid; grid-template-columns: 10rem 1fr; gap: 1.5rem; padding: 1rem; border: 1px solid var(--mg-line); }
.mg-quote-item img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.mg-quote-form label { display: grid; gap: .5rem; font-weight: 650; }
.mg-quote-form input,
.mg-quote-form textarea { width: 100%; padding: .85rem; border: 1px solid var(--mg-line); border-radius: 0; background: var(--mg-paper); color: var(--mg-ink); }
.mg-honeypot { position: absolute; left: -9999px; }

@media (max-width: 1024px) {
  .mg-interior-hero, .mg-interior-section { min-height: auto; padding-block: 6rem; }
  .mg-interior-hero > .e-con-inner, .mg-interior-section > .e-con-inner { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .mg-interior-hero-copy, .mg-interior-copy { grid-column: 1 / span 6; padding-right: 2rem; }
  .mg-interior-hero-media, .mg-interior-media { grid-column: 7 / -1; }
  .mg-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mg-shop-catalog .mg-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mg-shop-related .mg-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mg-sd-hero-copy { grid-column: 1 / span 10; }
  .mg-sd-section-copy { grid-column: 1 / span 6; }
  .mg-sd-card-grid { grid-column: 7 / -1; }
}

@media (max-width: 767px) {
  body:not(.home) .interior-harmonized {
    --interior-hero-min: 29rem;
    --interior-section-space: 3.25rem;
  }
  body:not(.home) .interior-harmonized main .mg-superdesign-block--first > .elementor-widget-container > section:first-child {
    padding-top: 6.5rem !important;
    padding-bottom: 2.75rem !important;
  }
  body:not(.home) .interior-harmonized main .mg-superdesign-block--first > .elementor-widget-container > section:first-child h1,
  body:not(.home) .interior-harmonized main .mg-superdesign-block--first > .elementor-widget-container > article > header:first-child h1 {
    font-size: clamp(2.65rem, 12vw, 4.2rem) !important;
  }
  body:not(.home) .interior-harmonized .museum-territory-media { aspect-ratio: 4 / 3; }
  body:not(.home) .mg-home-header__inner { min-height: 72px; grid-template-columns: 150px 1fr auto; }
  body:not(.home) .mg-home-header__brand { width: 150px; height: 48px; }
  .mg-interior-hero, .mg-interior-section, .mg-dynamic-content { width: 100%; padding: 4.5rem 20px; background-image: none; }
  .elementor .mg-interior-hero, .elementor .mg-interior-section { width: 100%; }
  .mg-interior-hero > .e-con-inner, .mg-interior-section > .e-con-inner { grid-template-columns: 1fr; }
  .mg-interior-hero-copy, .mg-interior-hero-media, .mg-interior-copy, .mg-interior-media,
  .mg-interior-section.is-reversed .mg-interior-copy, .mg-interior-section.is-reversed .mg-interior-media { grid-column: 1; grid-row: auto; padding: 0; }
  .mg-interior-hero-media, .mg-interior-media { margin-top: 2.5rem; min-height: 0; aspect-ratio: 4 / 3; }
  .mg-interior-hero h1 { font-size: clamp(3rem, 15vw, 5rem); }
  .mg-interior-copy h2 { font-size: clamp(2.35rem, 12vw, 4rem); }
  .mg-product-grid { width: 100%; grid-template-columns: 1fr; }
  .mg-product-detail { width: 100%; grid-template-columns: 1fr; }
  .mg-product-detail__media, .mg-product-detail__media img { min-height: 22rem; }
  .mg-quote-item { grid-template-columns: 6.5rem 1fr; }
  .mg-shop-hero, .mg-shop-hero > .e-con-inner { min-height: 560px; }
  .mg-shop-hero > .e-con-inner { width: 100%; grid-template-columns: 1fr; padding-inline: 20px; }
  .mg-shop-hero-copy { grid-column: 1; padding: 8.5rem 0 3.5rem; }
  .mg-shop-hero-product { grid-column: 1; position: absolute; right: -16%; width: 72%; height: 54%; opacity: .38; }
  .mg-shop-hero h1 { font-size: clamp(3.25rem, 16vw, 5rem); }
  .mg-shop-selection-bar > .e-con-inner { width: 100%; grid-template-columns: 1fr; padding: 1.5rem 20px; }
  .mg-shop-catalog { padding: 4rem 20px; background-image: none; }
  .mg-shop-catalog > .e-con-inner { width: 100%; }
  .mg-shop-catalog-head > .e-con-inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .mg-shop-catalog .mg-product-grid { grid-template-columns: 1fr; gap-block: 3rem; }
  .mg-shop-catalog .mg-catalog-search { min-width: 0; width: 100%; }
  .mg-shop-catalog .mg-catalog-controls { grid-template-columns: 1fr; width: 100%; }
  .mg-shop-catalog .mg-catalog-sort { width: 100%; }
  .mg-shop-catalog .mg-catalog-sort [data-sort='catalog'] { width: 100%; }
  .mg-shop-catalog [data-filter='category'] { margin-inline: -20px; padding-inline: 20px; }
  .mg-shop-catalog [data-catalog-pagination] { justify-content: flex-start; overflow-x: auto; }
  .mg-shop-flow-hero > .e-con-inner { width: 100%; padding: 7rem 20px 3.5rem; }
  .mg-shop-flow-hero h1 { font-size: clamp(3rem, 14vw, 4.75rem); }
  .mg-shop-product-stage, .mg-shop-selection-stage, .mg-shop-quote-stage, .mg-shop-related { padding: 3.5rem 20px; }
  .mg-shop-product-stage > .e-con-inner, .mg-shop-selection-stage > .e-con-inner, .mg-shop-quote-stage > .e-con-inner, .mg-shop-related > .e-con-inner { width: 100%; }
  .mg-shop-product-stage .mg-product-detail { grid-template-columns: 1fr; }
  .mg-shop-related .mg-product-grid { grid-template-columns: 1fr; }
  .mg-shop-quote-stage .mg-quote-form { grid-template-columns: 1fr; padding: 1.5rem; }
  .mg-shop-quote-stage .mg-quote-form > * { grid-column: 1; }
  .mg-sd-hero { min-height: 36rem; }
  .mg-sd-hero > .e-con-inner { width: 100%; grid-template-columns: 1fr; padding-inline: 20px; }
  .mg-sd-hero-copy { grid-column: 1; padding: 7rem 0 3.5rem; }
  .mg-sd-hero h1 { font-size: clamp(3rem, 14vw, 4.75rem); }
  .mg-sd-section { padding: 3.75rem 20px; }
  .mg-sd-section > .e-con-inner { width: 100%; grid-template-columns: 1fr; gap: 2.5rem; }
  .mg-sd-section-copy, .mg-sd-section--copy .mg-sd-section-copy, .mg-sd-card-grid { grid-column: 1; }
  .mg-sd-card-grid, .mg-sd-section--cards .mg-sd-card-grid { grid-template-columns: 1fr; }
}

/* Dynamic editorial and quotation flow — Superdesign parity. */
.mg-editorial-detail { width: 100%; background: var(--mg-paper); color: var(--mg-ink); }
.mg-editorial-detail__hero { position: relative; display: flex; min-height: clamp(35rem, 58vw, 47.5rem); align-items: end; overflow: hidden; background: var(--mg-ink); color: var(--mg-paper); }
.mg-editorial-detail__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .58; }
.mg-editorial-detail__veil { position: absolute; inset: 0; background: linear-gradient(0deg, rgb(0 0 0 / 92%) 0%, rgb(0 0 0 / 34%) 58%, rgb(0 0 0 / 22%) 100%); }
.mg-editorial-detail__hero-inner,
.mg-editorial-detail__body-inner,
.mg-editorial-detail__adjacent { position: relative; width: min(calc(100% - 48px), 1440px); margin-inline: auto; }
.mg-editorial-detail__hero-inner { padding-block: clamp(11rem, 18vw, 15rem) clamp(4rem, 7vw, 6rem); }
.mg-editorial-detail__breadcrumb,
.mg-product-breadcrumb nav { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.mg-editorial-detail__breadcrumb a,
.mg-product-breadcrumb a { color: inherit; text-decoration: none; opacity: .68; }
.mg-editorial-detail__breadcrumb span:last-child,
.mg-product-breadcrumb nav > span:last-child { color: var(--mg-gold); opacity: 1; }
.mg-editorial-detail__meta { display: flex; gap: 1.25rem; margin-top: 2rem; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.mg-editorial-detail__meta time { color: var(--mg-gold); }
.mg-editorial-detail h1 { max-width: 70rem; margin: 1.5rem 0 0; font: 500 clamp(3.25rem, 6.5vw, 7rem)/.9 var(--mg-font-display); letter-spacing: -.05em; }
.mg-editorial-detail__body { position: relative; padding-block: clamp(5rem, 8vw, 8rem); background-image: repeating-linear-gradient(90deg, rgb(23 22 22 / 5%) 0 1px, transparent 1px 8.333333%); }
.mg-editorial-detail__body-inner { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 2rem; }
.mg-editorial-detail__share { grid-column: 1 / span 3; }
.mg-editorial-detail__share > p { margin: 0 0 1.25rem; color: var(--mg-red); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.mg-editorial-detail__share > div { display: flex; gap: .5rem; }
.mg-editorial-detail__share a,
.mg-editorial-detail__share button { display: inline-flex; width: 3rem; height: 3rem; align-items: center; justify-content: center; border: 1px solid var(--mg-line); background: transparent; color: var(--mg-ink); }
.mg-editorial-detail__prose { grid-column: 5 / span 7; font-size: 1.08rem; line-height: 1.85; color: var(--mg-muted); }
.mg-editorial-detail__prose > * { max-width: 48rem; }
.mg-editorial-detail__lead { margin-top: 0 !important; color: var(--mg-ink); font: 500 clamp(1.6rem, 2.4vw, 2.15rem)/1.3 var(--mg-font-display); }
.mg-editorial-detail__prose blockquote { margin: 3rem 0; padding-left: 2rem; border-left: 3px solid var(--mg-red); color: var(--mg-ink); font: 500 clamp(1.55rem, 2.2vw, 2rem)/1.35 var(--mg-font-display); }
.mg-editorial-detail__adjacent { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; padding-block: 4rem; }
.mg-editorial-detail__nav-card { display: flex; min-height: 7rem; flex-direction: column; justify-content: center; padding: 1.5rem; border: 1px solid var(--mg-line); color: var(--mg-ink); text-decoration: none; }
.mg-editorial-detail__nav-card--next { background: var(--mg-ink); color: var(--mg-paper); }
.mg-editorial-detail__nav-card span { margin-bottom: .55rem; color: var(--mg-muted); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; }
.mg-editorial-detail__nav-card--next span { color: var(--mg-gold); }

.mg-product-breadcrumb { width: 100%; padding: clamp(9rem, 15vw, 12rem) 0 4rem; background: var(--mg-ink); color: var(--mg-paper); }
.mg-product-breadcrumb__inner { width: min(calc(100% - 48px), 1440px); margin-inline: auto; }
.mg-product-detail__category { margin: .8rem 0 0; color: var(--mg-gold); font-size: .72rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.mg-related-products { width: min(calc(100% - 48px), 1440px); margin-inline: auto; }
.mg-related-products__header { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 3.5rem; }
.mg-related-products__header h2 { margin: 0; font: 500 clamp(2.75rem, 5vw, 5rem)/.98 var(--mg-font-display); letter-spacing: -.04em; }
.mg-related-products__header a { color: var(--mg-ink); font-weight: 700; text-decoration-color: var(--mg-gold); text-underline-offset: .5rem; }
.mg-related-products__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.mg-related-products .mg-product-card { padding: 1rem 0 0; border: 0; border-top: 1px solid var(--mg-line); }
.mg-related-products .mg-product-card img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.mg-related-products .mg-product-card h3 { margin: 1.25rem 0; font: 600 1.5rem/1.08 var(--mg-font-display); }
.mg-related-products .mg-quote-add { display: flex; width: 100%; min-height: 3rem; align-items: center; justify-content: space-between; padding: .8rem 1rem; border: 1px solid var(--mg-ink); background: transparent; color: var(--mg-ink); font-weight: 700; }

.mg-quote-toast { position: fixed; z-index: 99999; right: max(1.25rem, env(safe-area-inset-right)); bottom: max(1.25rem, env(safe-area-inset-bottom)); width: min(26rem, calc(100vw - 2.5rem)); padding: 1.2rem; border: 1px solid rgb(255 255 255 / 36%); border-radius: 1.15rem; background: rgb(23 22 22 / 84%); box-shadow: 0 22px 60px rgb(0 0 0 / 25%); color: var(--mg-paper); backdrop-filter: blur(18px) saturate(125%); animation: mgToastIn .35s cubic-bezier(.16, 1, .3, 1); }
.mg-quote-toast p { margin: 0; font-weight: 650; line-height: 1.45; }
.mg-quote-toast__actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1rem; }
.mg-quote-toast__actions a { display: inline-flex; min-height: 2.75rem; align-items: center; justify-content: center; padding: .7rem 1rem; border: 1px solid rgb(255 255 255 / 45%); border-radius: 999px; color: var(--mg-paper); font-size: .85rem; font-weight: 750; text-decoration: none; }
.mg-quote-toast__actions .mg-quote-toast__primary { border-color: var(--mg-gold); background: var(--mg-gold); color: var(--mg-ink); }
@keyframes mgToastIn { from { opacity: 0; transform: translateY(1rem) scale(.98); } }

@media (max-width: 767px) {
  .mg-editorial-detail__hero-inner, .mg-editorial-detail__body-inner, .mg-editorial-detail__adjacent, .mg-product-breadcrumb__inner, .mg-related-products { width: min(calc(100% - 40px), 1440px); }
  .mg-editorial-detail__hero { min-height: 32rem; }
  .mg-editorial-detail__hero-inner { padding-block: 8rem 3.5rem; }
  .mg-editorial-detail__body-inner { grid-template-columns: 1fr; }
  .mg-editorial-detail__share, .mg-editorial-detail__prose { grid-column: 1; }
  .mg-editorial-detail__adjacent, .mg-related-products__grid { grid-template-columns: 1fr; }
  .mg-related-products__header { align-items: start; flex-direction: column; }
  .mg-product-breadcrumb { padding: 7rem 0 3rem; }
}

@media (prefers-reduced-motion: reduce) {
  .mg-quote-toast { animation: none; }
}

/* Published editorial archive — same grid rhythm as the approved Superdesign. */
.mg-editorial-archive { background: var(--mg-paper); color: var(--mg-ink); }
.mg-editorial-archive__controls,
.mg-editorial-archive__stage { width: min(calc(100% - 48px), 1440px); margin-inline: auto; }
.mg-editorial-archive__controls { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding-block: 3.25rem; }
.mg-editorial-archive__filters { display: flex; flex-wrap: wrap; gap: .65rem; }
.mg-editorial-archive__filters button { min-height: 3rem; padding: .75rem 1.2rem; border: 1px solid rgb(23 22 22 / 20%); border-radius: 999px; background: rgb(255 255 255 / 55%); color: var(--mg-ink); font: 650 .86rem/1 var(--mg-font-body); backdrop-filter: blur(12px); }
.mg-editorial-archive__filters button[aria-pressed="true"] { border-color: var(--mg-ink); background: var(--mg-ink); color: var(--mg-paper); }
.mg-editorial-archive__search { display: flex; width: min(24rem, 100%); min-height: 3rem; align-items: center; gap: .75rem; border-bottom: 1px solid var(--mg-ink); }
.mg-editorial-archive__search input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--mg-ink); font: inherit; }
.mg-editorial-archive__stage { padding-block: clamp(4.5rem, 7vw, 7rem); border-top: 1px solid var(--mg-line); }
.mg-editorial-archive__header { display: grid; grid-template-columns: 2fr 1fr; align-items: end; gap: 2rem; }
.mg-editorial-archive__header > div > p { margin: 0; color: var(--mg-red); font-size: .72rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.mg-editorial-archive__header h2 { margin: 1rem 0 0; font: 500 clamp(2.6rem, 4.5vw, 4.75rem)/.96 var(--mg-font-display); letter-spacing: -.04em; }
.mg-editorial-archive__header > p { max-width: 25rem; margin: 0; color: var(--mg-muted); line-height: 1.6; }
.mg-editorial-archive__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4rem 1.5rem; margin-top: 4rem; }
.mg-editorial-archive__card { padding-top: 1rem; border-top: 1px solid var(--mg-line); }
.mg-editorial-archive__card[hidden] { display: none; }
.mg-editorial-archive__media { display: block; overflow: hidden; aspect-ratio: 16 / 10; background: var(--mg-parchment); }
.mg-editorial-archive__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.16, 1, .3, 1); }
.mg-editorial-archive__card:hover .mg-editorial-archive__media img { transform: scale(1.025); }
.mg-editorial-archive__meta { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.15rem; color: var(--mg-muted); font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.mg-editorial-archive__meta time { color: var(--mg-red); }
.mg-editorial-archive__card h2 { margin: .85rem 0 0; font: 600 clamp(1.1rem, 1.4vw, 1.35rem)/1.25 var(--mg-font-display); letter-spacing: -.015em; }
.mg-editorial-archive__card h2 a { color: inherit; text-decoration: none; }
.mg-editorial-archive__card > p { margin: .8rem 0 0; color: var(--mg-muted); font-size: .94rem; line-height: 1.6; }
.mg-editorial-archive__empty { margin: 4rem 0 0; padding: 2rem; border: 1px solid var(--mg-line); color: var(--mg-muted); text-align: center; }

/* The previous selector targeted a hidden anchor instead of the cards. */
body:not(.home) .interior-harmonized .news-card h2 { font-size: clamp(1.1rem, 1.4vw, 1.35rem) !important; line-height: 1.25 !important; }
.interior-harmonized .mg-editorial-detail h1 { max-width: 60rem; font-size: clamp(3rem, 5vw, 5.75rem) !important; line-height: .94 !important; }
.interior-harmonized .mg-editorial-detail__hero { min-height: clamp(32rem, 48vw, 42rem) !important; }

/* Product composition: image and white information panel remain joined. */
.mg-shop-product-stage .mg-product-detail { width: min(100%, 1200px); grid-template-columns: minmax(0, 1.35fr) minmax(22rem, 1fr); gap: 0; background: var(--mg-paper); box-shadow: 0 24px 70px rgb(23 22 22 / 10%); }
.mg-shop-product-stage .mg-product-detail__media { padding: 0; box-shadow: none; }
.mg-shop-product-stage .mg-product-detail__copy { padding: clamp(2.5rem, 5vw, 5rem); background: #fff; }
.mg-shop-product-stage .mg-product-detail h2 { font-size: clamp(3rem, 4.5vw, 5rem); }

@media (max-width: 1024px) {
  .mg-editorial-archive__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mg-shop-product-stage .mg-product-detail { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 767px) {
  .mg-editorial-archive__controls, .mg-editorial-archive__stage { width: min(calc(100% - 40px), 1440px); }
  .mg-editorial-archive__controls, .mg-editorial-archive__header { display: flex; align-items: stretch; flex-direction: column; }
  .mg-editorial-archive__grid { grid-template-columns: 1fr; gap-block: 3rem; }
  .mg-editorial-archive__search { width: 100%; }
  .mg-shop-product-stage .mg-product-detail { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .mg-interior-hero *, .mg-interior-section *, .mg-dynamic-content * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .mg-sd-hero *, .mg-sd-section * { animation: none !important; transition: none !important; transform: none !important; }
}

/* Loja — produto e pedido de cotação, composição aprovada no Superdesign. */
.mg-superdesign-page--produto .elementor-widget-shortcode:has(.mg-product-detail),
.mg-superdesign-page--pedido-cotacao .elementor-widget-shortcode:has(.mg-quote-request-stage),
.mg-superdesign-page--produto .elementor-widget-shortcode:has(.mg-product-detail) > .elementor-widget-container,
.mg-superdesign-page--pedido-cotacao .elementor-widget-shortcode:has(.mg-quote-request-stage) > .elementor-widget-container { width: 100%; }

.mg-product-detail { display: grid; width: 100%; max-width: none; margin: 0; padding: clamp(4rem, 6vw, 5rem) max(20px, calc((100vw - 1296px) / 2)); grid-template-columns: minmax(0, 7fr) minmax(22rem, 4fr); gap: clamp(3rem, 6vw, 7rem); border: 0; background: var(--mg-parchment); }
.mg-product-detail__gallery { display: grid; min-width: 0; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 1rem; align-items: start; }
.mg-product-detail__thumbnails { display: grid; align-content: start; gap: .75rem; }
.mg-product-detail__thumbnail { display: block; width: 100%; padding: .5rem; border: 1px solid var(--mg-line); background: #fff; cursor: pointer; }
.mg-product-detail__thumbnail.is-active { border-color: var(--mg-red); }
.mg-product-detail__thumbnail img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.mg-product-detail__main-image { display: grid; min-height: 0; margin: 0; padding: clamp(1.5rem, 3vw, 4rem); place-items: center; overflow: hidden; background: #fff; box-shadow: 0 24px 70px rgb(23 22 22 / 12%); }
.mg-product-detail__main-image img { display: block; width: 100%; height: auto; min-height: 0; aspect-ratio: 1; object-fit: contain; transition: opacity .2s ease, transform .55s cubic-bezier(.16, 1, .3, 1); }
.mg-product-detail__copy { display: flex; padding: clamp(1.5rem, 4vw, 4rem) 0 0; justify-content: flex-start; background: transparent; }
.mg-product-detail__category { margin: 0; color: var(--mg-red); font-size: .78rem; font-weight: 750; letter-spacing: .12em; text-transform: none; }
.mg-product-detail h2 { margin: 1rem 0 0; font: 500 clamp(3.5rem, 5vw, 6rem)/.92 var(--mg-font-display); letter-spacing: -.04em; }
.mg-product-detail__description { margin-top: 2rem; color: var(--mg-muted); font-size: 1rem; line-height: 1.75; }
.mg-product-detail__description p { margin: 0; }
.mg-product-detail__quantity { width: 100%; margin-top: 2rem; }
.mg-product-detail__quantity > label { display: block; margin-bottom: .75rem; font-size: .88rem; font-weight: 700; }
.mg-product-detail__quantity > div { display: grid; width: 10.5rem; grid-template-columns: 3rem 4.5rem 3rem; }
.mg-product-detail__quantity button,
.mg-product-detail__quantity input { width: 100%; height: 3rem; border: 1px solid var(--mg-line); border-radius: 0; background: var(--mg-paper); color: var(--mg-ink); text-align: center; }
.mg-product-detail__quantity button + input,
.mg-product-detail__quantity input + button { border-left: 0; }
.mg-product-detail .mg-quote-add { display: flex; width: 100%; min-height: 3.5rem; margin-top: 1.75rem; align-items: center; justify-content: space-between; padding: 1rem 1.25rem; border: 0; background: var(--mg-gold); color: var(--mg-ink); font-weight: 750; }
.mg-product-detail__note { margin: 1.25rem 0 0; color: var(--mg-muted); font-size: .84rem; line-height: 1.6; }

.mg-quote-request-stage { width: 100%; padding: clamp(4rem, 6vw, 5rem) max(20px, calc((100vw - 1296px) / 2)); background: var(--mg-parchment); }
.mg-quote-request-stage > .mg-form-status:empty { display: none; }
.mg-quote-request-stage > .mg-form-status { max-width: 1296px; margin: 0 auto 1.5rem; padding: 1rem 1.25rem; border-left: 3px solid var(--mg-red); background: var(--mg-paper); }
.mg-quote-request-layout { display: grid; max-width: 1296px; margin-inline: auto; grid-template-columns: minmax(0, 7fr) minmax(19rem, 4fr); gap: clamp(2rem, 4vw, 5rem); align-items: start; }
.mg-quote-request-form { display: grid; width: 100%; margin: 0; padding: clamp(1.75rem, 4vw, 3rem); grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; background: var(--mg-paper); }
.mg-quote-request-form__header { grid-column: 1 / -1; }
.mg-quote-request-form__header h2 { margin: 0; font: 600 clamp(2rem, 3vw, 2.5rem)/1 var(--mg-font-display); letter-spacing: -.03em; }
.mg-quote-request-form__header p { margin: 1rem 0 0; color: var(--mg-muted); }
.mg-quote-request-form label { display: grid; min-width: 0; gap: .55rem; font-size: .9rem; font-weight: 700; }
.mg-quote-request-form label small { color: var(--mg-muted); font-size: .72rem; font-weight: 400; line-height: 1.5; }
.mg-quote-request-form input:not([type='checkbox']),
.mg-quote-request-form select,
.mg-quote-request-form textarea { width: 100%; min-height: 3.25rem; padding: .75rem .9rem; border: 1px solid rgb(23 22 22 / 22%); border-radius: 0; outline: 0; background: var(--mg-paper); color: var(--mg-ink); font: inherit; }
.mg-quote-request-form textarea { min-height: 8rem; resize: vertical; }
.mg-quote-request-form input:focus,
.mg-quote-request-form select:focus,
.mg-quote-request-form textarea:focus { outline: 3px solid var(--mg-red); outline-offset: 2px; }
.mg-quote-request-form__wide,
.mg-quote-request-form__consent,
.mg-quote-request-form__submit { grid-column: 1 / -1; }
.mg-quote-request-form__consent { display: flex !important; align-items: flex-start; grid-template-columns: none !important; font-size: .82rem !important; font-weight: 500 !important; line-height: 1.6; }
.mg-quote-request-form__consent input { flex: 0 0 auto; width: 1.2rem; height: 1.2rem; margin-top: .15rem; accent-color: var(--mg-red); }
.mg-quote-request-form__submit { display: flex; min-height: 3.5rem; align-items: center; justify-content: space-between; padding: 1rem 1.25rem; border: 0 !important; background: var(--mg-red) !important; color: var(--mg-paper); font-weight: 750; }
.mg-quote-request-summary { position: sticky; top: 7rem; padding: clamp(1.75rem, 3vw, 2.25rem); background: var(--mg-ink); color: var(--mg-paper); }
.mg-quote-request-summary__header { display: flex; align-items: flex-start; justify-content: space-between; gap: 1.5rem; }
.mg-quote-request-summary__header h2 { margin: 0; font: 600 clamp(1.5rem, 2.2vw, 2rem)/1.15 var(--mg-font-display); }
.mg-quote-request-summary__header a { color: var(--mg-gold); font-size: .85rem; font-weight: 700; }
.mg-quote-request-summary ul { margin: 2rem 0 0; padding: 0; list-style: none; }
.mg-quote-request-summary li { display: grid; padding-top: 1.25rem; grid-template-columns: 4rem minmax(0, 1fr); gap: 1rem; border-top: 1px solid rgb(251 251 251 / 20%); }
.mg-quote-request-summary li + li { margin-top: 1.25rem; }
.mg-quote-request-summary li img { width: 4rem; height: 4rem; object-fit: cover; }
.mg-quote-request-summary li strong,
.mg-quote-request-summary li small { display: block; }
.mg-quote-request-summary li small { margin-top: .35rem; color: rgb(251 251 251 / 60%); }
.mg-quote-request-summary__empty { margin: 2rem 0 0; color: rgb(251 251 251 / 65%); }
.mg-quote-request-summary__note { margin: 2rem 0 0; padding-top: 1.5rem; border-top: 1px solid rgb(251 251 251 / 25%); color: rgb(251 251 251 / 60%); font-size: .82rem; line-height: 1.6; }

@media (max-width: 1024px) {
  .mg-product-detail { grid-template-columns: minmax(0, 1.35fr) minmax(19rem, 1fr); gap: 2.5rem; }
  .mg-product-detail__gallery { grid-template-columns: 5.5rem minmax(0, 1fr); }
  .mg-quote-request-layout { grid-template-columns: minmax(0, 1.4fr) minmax(18rem, .8fr); gap: 2rem; }
}

@media (max-width: 767px) {
  .mg-product-detail,
  .mg-quote-request-layout { grid-template-columns: 1fr; }
  .mg-product-detail { padding-block: 3.5rem; gap: 1.5rem; }
  .mg-product-detail__gallery { display: flex; flex-direction: column-reverse; }
  .mg-product-detail__thumbnails { width: 100%; grid-auto-flow: column; grid-auto-columns: 5rem; overflow-x: auto; }
  .mg-product-detail__copy { padding-top: 1.5rem; }
  .mg-product-detail h2 { font-size: clamp(3rem, 15vw, 4.5rem); }
  .mg-quote-request-form { grid-template-columns: 1fr; padding: 1.5rem; }
  .mg-quote-request-form > * { grid-column: 1; }
  .mg-quote-request-summary { position: static; }
}

@media (prefers-reduced-motion: reduce) {
  .mg-product-detail__main-image img { transition: none; }
}
