/*
Theme Name: Missouri
Theme URI: https://www.missouri.it
Author: ACrew – Marketing & Publishing for Branding
Description: Block theme "Maison" per Missouri – Children Shoes Made in Italy, since 1971. Film del laboratorio a tutto schermo, tipografia Bodoni, impaginazione editoriale da casa di moda, archivio storico, collezione in stile lookbook. Tutte le pagine del sito attuale vengono formattate automaticamente.
Requires at least: 6.6
Tested up to: 6.7
Requires PHP: 7.4
Version: 2.4.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: missouri
Tags: block-theme, full-site-editing, editorial, e-commerce, custom-colors, block-patterns
*/

/* ==========================================================================
   0. Base
   ========================================================================== */
:root {
	--m-ink: var(--wp--preset--color--ink);
	--m-ink-2: var(--wp--preset--color--ink-2);
	--m-paper: var(--wp--preset--color--paper);
	--m-cream: var(--wp--preset--color--cream);
	--m-cream-2: var(--wp--preset--color--cream-2);
	--m-line: var(--wp--preset--color--line);
	--m-stone: var(--wp--preset--color--stone);
	--m-fuchsia: var(--wp--preset--color--fuchsia);
	--m-blush: var(--wp--preset--color--blush);
	--m-serif: var(--wp--preset--font-family--serif);
	--m-sans: var(--wp--preset--font-family--sans);
	--m-gutter: clamp(20px, 4.5vw, 72px);
	--m-ease: cubic-bezier(.2, .7, .2, 1);
	--m-hdr: 180px;
	--m-wide: 1360px;
}
html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
::selection { background: var(--m-blush); color: var(--m-ink); }
img, video { max-width: 100%; height: auto; }
:where(.wp-site-blocks) > *, .m-main > * { margin-block-start: 0 !important; }
.wp-site-blocks { padding-top: var(--m-hdr); }
:focus-visible { outline: 1px solid var(--m-fuchsia); outline-offset: 3px; }
h1 em, h2 em, h3 em, .m-hero-line em { font-style: italic; }
.screen-reader-text { border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important; }
.screen-reader-text:focus { background: #fff; clip: auto !important; clip-path: none; color: var(--m-ink); display: block; height: auto; left: 5px; padding: 15px 23px; top: 5px; width: auto; z-index: 100000; }

/* Etichette, link, filetti */
.m-label { font-family: var(--m-sans) !important; font-size: 11px !important; font-weight: 500 !important; line-height: 1.4 !important; letter-spacing: .3em; text-transform: uppercase; color: var(--m-ink); }
.m-label.is-f { color: var(--m-fuchsia); }
.m-label.is-blush { color: var(--m-blush); }
.m-link a { display: inline-flex; align-items: center; gap: 14px; font: 500 11px/1 var(--m-sans); letter-spacing: .28em; text-transform: uppercase; padding-bottom: 10px; border-bottom: 1px solid currentColor; transition: gap .35s var(--m-ease), color .3s; }
.m-link a::after { content: ""; width: 22px; height: 8px; background: currentColor; -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 8'><path d='M0 4h21M17 1l4 3-4 3' fill='none' stroke='black'/></svg>") no-repeat center / contain; mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 8'><path d='M0 4h21M17 1l4 3-4 3' fill='none' stroke='black'/></svg>") no-repeat center / contain; }
.m-link a:hover { gap: 22px; color: var(--m-fuchsia); }
.m-link.is-light a { color: #fff; }
.m-link.is-light a:hover { color: var(--m-blush); }
.wp-block-separator.m-rule { width: 56px; max-width: 56px; height: 1px; border: 0 !important; background: var(--m-fuchsia); opacity: 1; margin-left: auto; margin-right: auto; }
.m-lead { font-size: 1.125rem; color: var(--m-ink-2); }
.m-small { font-size: .875rem; color: var(--m-stone); }

/* Pulsanti */
.wp-block-button .wp-block-button__link { transition: background .35s, color .35s, border-color .35s; }
.m-btn-ghost .wp-block-button__link { background: transparent; color: #fff; border-color: rgba(255,255,255,.65); padding: 1.2rem 2.4rem; letter-spacing: .34em; }
.m-btn-ghost .wp-block-button__link:hover { background: #fff; color: var(--m-ink); border-color: #fff; }
.m-btn-light .wp-block-button__link { background: #fff; color: var(--m-ink); border-color: #fff; }
.m-btn-light .wp-block-button__link:hover { background: var(--m-fuchsia); color: #fff; border-color: var(--m-fuchsia); }

/* Rivelazione allo scroll (attivata solo via JS) */
.m-rv { opacity: 0; transform: translateY(24px); transition: opacity 1.1s var(--m-ease), transform 1.1s var(--m-ease); }
.m-rv.m-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .m-rv { opacity: 1; transform: none; } }

/* ==========================================================================
   1. Header
   ========================================================================== */
.m-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(255,255,255,.96); backdrop-filter: blur(12px); border-bottom: 1px solid var(--m-line); transition: background .5s, border-color .5s, color .5s; }
.admin-bar .m-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .m-header { top: 46px; } }
.m-hdr { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; max-width: 1600px; margin: 0 auto; padding: 14px var(--m-gutter); transition: padding .5s var(--m-ease); }
.m-hdr > * { margin: 0 !important; }
.m-logo { justify-self: center; }
/* logo a dimensione doppia (148px; 108px in scorrimento) */
.m-logo img { width: auto !important; height: 148px; transition: height .4s var(--m-ease); }
.m-scrolled .m-logo img { height: 108px; }
.m-nav { font-family: var(--m-sans); }
.m-nav .wp-block-navigation__container { gap: 36px; }
.m-nav .wp-block-navigation-item__content { position: relative; padding: 6px 0 !important; }
.m-nav .wp-block-navigation-item__content::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--m-fuchsia); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--m-ease); }
.m-nav .wp-block-navigation-item__content:hover::after,
.m-nav .current-menu-item > .wp-block-navigation-item__content::after { transform: scaleX(1); }
.m-nav .wp-block-navigation-item__content:hover { color: inherit; }
/* a desktop il menu sinistro mostra solo le prime tre voci */
.m-nav-l .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation-item:nth-child(n+4) { display: none; }
.m-nav-r .wp-block-navigation-item:last-child .wp-block-navigation-item__content::before { content: ""; display: inline-block; width: 15px; height: 15px; margin-right: 10px; vertical-align: -2px; background: currentColor; -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.3'><path d='M5 8h14l-1 13H6L5 8z'/><path d='M9 8V6a3 3 0 0 1 6 0v2'/></svg>") center / contain no-repeat; mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.3'><path d='M5 8h14l-1 13H6L5 8z'/><path d='M9 8V6a3 3 0 0 1 6 0v2'/></svg>") center / contain no-repeat; }
.wp-block-navigation__responsive-container.is-menu-open { background: var(--m-cream) !important; color: var(--m-ink) !important; padding: 90px var(--m-gutter) !important; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { gap: 26px !important; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { font: 400 30px/1.2 var(--m-serif); letter-spacing: 0; text-transform: none; }

@media (max-width: 1000px) { .m-nav .wp-block-navigation__container { gap: 22px; } }
@media (max-width: 781px) {
	:root { --m-hdr: 136px; }
	.m-hdr { grid-template-columns: 1fr auto 1fr; padding: 12px var(--m-gutter); }
	.m-logo img { height: 112px; }
	.m-scrolled .m-logo img { height: 84px; }
	.m-nav-r .wp-block-navigation-item:not(:last-child) { display: none; }
}
@media (min-width: 600px) and (max-width: 781px) { .m-nav-l .wp-block-navigation__container { gap: 16px; } .m-nav { font-size: 10px !important; letter-spacing: .16em !important; } }

/* ==========================================================================
   2. Home – slider della collezione (larghezza massima del sito)
   ========================================================================== */
.m-hero-wrap { padding-top: clamp(16px, 2vw, 28px); }
.m-slider { position: relative; overflow: hidden; background: var(--m-cream); }
.m-slides { position: relative; aspect-ratio: 16 / 9; max-height: calc(100vh - var(--m-hdr) - 40px); min-height: 440px; width: 100%; }
.m-slides > .m-slide { position: absolute !important; inset: 0; margin: 0 !important; opacity: 0; transition: opacity 1.6s var(--m-ease); }
.m-slides > .m-slide.is-active { opacity: 1; }
.m-slides > .m-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.03); transition: transform 7s ease-out; }
.m-slides > .m-slide.is-active img { transform: scale(1); }
.m-hero-card { position: absolute; left: clamp(20px, 3.5vw, 56px); bottom: clamp(20px, 3.5vw, 56px); z-index: 2; background: rgba(255,255,255,.96); padding: clamp(26px, 3vw, 46px) clamp(26px, 3vw, 48px); max-width: 520px; }
.m-hero-card > * { margin: 0 !important; }
.m-hero-title { font-size: clamp(34px, 3.6vw, 56px) !important; line-height: 1.04 !important; margin: 18px 0 16px !important; letter-spacing: -.015em; }
.m-hero-text { color: var(--m-ink-2); font-size: 16px; margin-bottom: 26px !important; }
.m-slider-ui { position: absolute; right: clamp(20px, 3.5vw, 56px); bottom: clamp(20px, 3.5vw, 56px); z-index: 2; display: flex; align-items: center; gap: 22px; background: rgba(255,255,255,.96); padding: 14px 20px; }
.m-slider-ui p { margin: 0 !important; }
.m-count { font: 500 11px/1 var(--m-sans); letter-spacing: .24em; }
.m-arrows { display: flex; gap: 16px; }
.m-arrows a { font: 500 10px/1 var(--m-sans); letter-spacing: .24em; text-transform: uppercase; }
.m-arrows a:hover { color: var(--m-fuchsia); }
@media (max-width: 781px) {
	.m-slides { aspect-ratio: 4 / 5; min-height: 0; max-height: none; }
	.m-hero-card { position: relative; left: 0; bottom: 0; max-width: none; padding: 30px 0 0; background: transparent; }
	.m-slider { background: transparent; overflow: visible; }
	.m-slider-ui { top: 14px; bottom: auto; right: 14px; padding: 10px 14px; }
}

/* ==========================================================================
   3. Sezioni home
   ========================================================================== */
.m-section { padding-top: clamp(90px, 11vw, 160px); padding-bottom: clamp(90px, 11vw, 160px); }
.m-sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; margin-bottom: clamp(36px, 4vw, 56px) !important; }
.m-sec-title > * { margin: 0 !important; }
.m-sec-title h2 { font-size: clamp(40px, 4.6vw, 72px); line-height: 1; margin-top: 18px !important; }
.m-sec-head .m-link { margin: 0; }

/* Manifesto */
.m-statement { text-align: center; padding-top: clamp(100px, 14vw, 200px); padding-bottom: clamp(60px, 8vw, 110px); }
.m-statement-title { font-size: clamp(30px, 3.6vw, 54px) !important; line-height: 1.28 !important; margin: 34px auto 44px !important; letter-spacing: -.005em; }

/* Collezione (teaser) */
.m-collection { padding-top: clamp(40px, 5vw, 70px); }
.m-coll-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 22px; }
.m-coll-grid > * { margin: 0 !important; }
.m-coll-main { grid-column: 1 / span 6; position: relative; overflow: hidden; background: var(--m-cream); }
.m-coll-main figure { margin: 0; height: 100%; }
.m-coll-main img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; object-position: 50% 50%; transition: transform 1.4s var(--m-ease); }
.m-coll-main:hover img { transform: scale(1.03); }
.m-tag { position: absolute; left: 24px; bottom: 24px; background: #fff; padding: 16px 22px; }
.m-tag p { margin: 0 !important; }
.m-tag-title { font: 400 22px/1.2 var(--m-serif); }
.m-tag-sub { font-size: 13px; color: var(--m-stone); }
.m-coll-side { grid-column: 7 / span 6; }
.m-details { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.m-details > * { margin: 0 !important; }
.m-detail figure { margin: 0; overflow: hidden; background: var(--m-cream); }
.m-detail img { width: 100%; aspect-ratio: 3/2; object-fit: cover; transition: transform 1.1s var(--m-ease); }
.m-detail:hover img { transform: scale(1.05); }
.m-cap { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-top: 14px !important; }
.m-cap p { margin: 0 !important; }
.m-cap-title { font: 400 19px/1.25 var(--m-serif); }
.m-cap-cat { font: 500 10px/1 var(--m-sans); letter-spacing: .22em; text-transform: uppercase; color: var(--m-stone); white-space: nowrap; }
.m-families { border-top: 1px solid var(--m-line); margin-top: 30px !important; }
.m-families p { margin: 0 !important; border-bottom: 1px solid var(--m-line); }
.m-families a { display: flex; justify-content: space-between; align-items: center; padding: 17px 0; font: 400 22px/1.2 var(--m-serif); transition: padding .35s var(--m-ease), color .3s; }
.m-families a span { font: 500 10px/1 var(--m-sans); letter-spacing: .22em; text-transform: uppercase; color: var(--m-stone); }
.m-families a:hover { padding-left: 12px; color: var(--m-fuchsia); }

/* Chi siamo + video */
.m-about-cols { gap: clamp(40px, 6vw, 100px) !important; }
.m-about-title { font-size: clamp(34px, 3.6vw, 54px) !important; margin: 20px 0 26px !important; }
.m-video { margin: 0; }
.m-video video { width: 100%; aspect-ratio: 16 / 9; background: #000; display: block; }
.m-video-cap { font-size: 13px; color: var(--m-stone); margin-top: 14px !important; }

/* Artigianalità */
.m-craft { background: var(--m-cream); padding-top: clamp(90px, 11vw, 150px); padding-bottom: clamp(90px, 11vw, 150px); }
.m-craft-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.m-craft-grid > * { margin: 0 !important; }
.m-craft-item figure { margin: 0 0 22px; overflow: hidden; }
.m-craft-item img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 1.2s var(--m-ease); }
.m-craft-item:hover img { transform: scale(1.04); }
.m-craft-n { font: italic 400 34px/1 var(--m-serif); color: var(--m-fuchsia); margin: 0 0 10px !important; }
.m-craft-title { font-size: 26px !important; margin: 0 0 12px !important; }
.m-craft-text { font-size: 15px; color: var(--m-ink-2); margin: 0 !important; }

/* Famiglia */
.m-founder { background: var(--m-cream); padding-top: clamp(90px, 12vw, 170px); padding-bottom: clamp(90px, 12vw, 170px); }
.m-founder-cols { gap: clamp(40px, 7vw, 120px) !important; }
.m-bw img { filter: grayscale(1) contrast(1.05); }
.m-framed { position: relative; margin: 0; }
.m-framed img { width: 100%; aspect-ratio: 4/5; object-fit: cover; position: relative; z-index: 1; }
.m-framed::before { content: ""; position: absolute; inset: -18px 18px 18px -18px; border: 1px solid var(--m-line); }
.m-quote { margin: 26px 0 36px !important; padding: 0 !important; }
.m-quote p { font: italic 400 clamp(26px, 2.5vw, 38px)/1.42 var(--m-serif) !important; }
.m-quote::before { content: "“"; display: block; font: 400 110px/.6 var(--m-serif); color: var(--m-fuchsia); margin-bottom: 14px; }
.m-sig { display: flex; align-items: center; gap: 18px; margin: 0; font: 500 11px/1 var(--m-sans); letter-spacing: .26em; text-transform: uppercase; color: var(--m-stone); }
.m-sig::before { content: ""; width: 40px; height: 1px; background: var(--m-fuchsia); }
.m-sig strong { font: 400 24px/1 var(--m-serif); letter-spacing: 0; text-transform: none; color: var(--m-ink); }

/* Heritage */
.m-heritage { padding-top: clamp(100px, 12vw, 170px); padding-bottom: clamp(80px, 9vw, 130px); }
.m-her-head { margin-bottom: clamp(40px, 5vw, 60px) !important; gap: clamp(30px, 6vw, 100px) !important; }
.m-year { font: italic 400 clamp(110px, 17vw, 250px)/.8 var(--m-serif) !important; letter-spacing: -.04em; margin: 0; }
.m-year sup { font: 500 11px/1 var(--m-sans); letter-spacing: .3em; font-style: normal; vertical-align: top; margin-left: 10px; color: var(--m-fuchsia); }
.m-strip { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 0 26px; scrollbar-width: thin; scrollbar-color: var(--m-line) transparent; cursor: grab; }
.m-strip.is-drag { cursor: grabbing; scroll-snap-type: none; }
.m-strip > figure { flex: 0 0 clamp(230px, 23vw, 330px); margin: 0 !important; scroll-snap-align: start; }
.m-strip img, .m-archive-grid img { width: 100%; aspect-ratio: 3/4; object-fit: cover; user-select: none; -webkit-user-drag: none; }
.m-strip figcaption, .m-archive-grid figcaption { display: flex; justify-content: space-between; align-items: baseline; margin-top: 14px !important; padding-top: 12px; border-top: 1px solid var(--m-line); font: 500 10px/1 var(--m-sans); letter-spacing: .22em; text-transform: uppercase; color: var(--m-stone); text-align: left; }
.m-strip figcaption em, .m-archive-grid figcaption em { font: italic 400 30px/1 var(--m-serif); letter-spacing: 0; text-transform: none; color: var(--m-ink); }

/* Showroom (contenuto nella larghezza del sito) */
.m-showroom-wrap { padding-bottom: clamp(90px, 11vw, 150px); }
.m-showroom { background: var(--m-ink); color: #f1eaee; gap: 0 !important; margin: 0 !important; min-height: 600px; }
.m-showroom-txt { padding: clamp(50px, 6vw, 100px) clamp(28px, 5vw, 90px); }
.m-showroom h2 { color: #fff; font-size: clamp(36px, 3.6vw, 56px); line-height: 1.06; margin: 22px 0 28px; }
.m-showroom h2 em { color: var(--m-blush); }
.m-showroom p { color: #cfc4ca; max-width: 480px; }
.m-facts { margin: 36px 0 46px !important; }
.m-facts p { margin: 0 0 10px !important; font-size: 15px; display: grid; grid-template-columns: 90px 1fr; gap: 20px; }
.m-facts span { font: 500 10px/2.2 var(--m-sans); letter-spacing: .26em; text-transform: uppercase; color: #a99ca3; }
.m-facts a { color: #fff; }
.m-ctas { display: flex; gap: 34px; align-items: center; flex-wrap: wrap; }
.m-ctas > * { margin: 0 !important; }
.m-ctas.is-center { justify-content: center; margin-top: 40px !important; }
.m-showroom-img { overflow: hidden; }
.m-showroom-img figure { margin: 0; height: 100%; }
.m-showroom-img img { width: 100%; height: 100%; object-fit: cover; object-position: 35% 50%; }

/* News */
.m-news-list .wp-block-post-template { border-top: 1px solid var(--m-ink); margin: 0; padding: 0; }
.m-news-item { display: grid; grid-template-columns: 180px 1fr 220px 40px; gap: 30px; align-items: center; padding: 34px 8px; border-bottom: 1px solid var(--m-line); position: relative; transition: background .3s; }
.m-news-item:hover { background: var(--m-cream); }
.m-news-item > * { margin: 0 !important; }
.m-news-item::after { content: ""; width: 30px; height: 10px; justify-self: end; background: currentColor; -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 10'><path d='M0 5h28M24 1l4 4-4 4' fill='none' stroke='black'/></svg>") center / contain no-repeat; mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 10'><path d='M0 5h28M24 1l4 4-4 4' fill='none' stroke='black'/></svg>") center / contain no-repeat; transition: transform .3s var(--m-ease); }
.m-news-item:hover::after { transform: translateX(8px); }
.m-news-body > * { margin: 0 !important; }
.m-news-item .wp-block-post-title { font-size: clamp(24px, 2.3vw, 34px); line-height: 1.2; }
.m-news-item .wp-block-post-title a:hover { color: var(--m-fuchsia); }
.m-news-item .wp-block-post-excerpt { margin-top: 8px !important; }
.m-news-item .wp-block-post-excerpt__excerpt { font-size: 15px; color: var(--m-stone); margin: 0; }
.m-news-item .wp-block-post-excerpt__more-text { display: none; }
.m-news-thumb { width: 220px; background: var(--m-cream-2); overflow: hidden; }
.m-news-thumb img { width: 100%; height: 100% !important; object-fit: cover; transition: transform 1s var(--m-ease); }
.m-news-item:hover .m-news-thumb img { transform: scale(1.04); }
.wp-block-query-pagination { margin-top: 50px !important; gap: 18px; font: 500 11px/1 var(--m-sans); letter-spacing: .2em; text-transform: uppercase; }

/* Instagram */
.m-insta { padding-top: 0; padding-bottom: clamp(90px, 11vw, 150px); }
.m-insta-title { font-style: italic; font-size: clamp(30px, 3vw, 44px) !important; margin: 16px auto 42px !important; }
#sb_instagram { padding: 0 !important; }
#sb_instagram .sbi_photo_wrap, #sb_instagram .sbi_photo { border-radius: 0 !important; }
#sb_instagram #sbi_load .sbi_load_btn, #sb_instagram .sbi_follow_btn a { border-radius: 0 !important; background: var(--m-ink) !important; font: 500 11px/1 var(--m-sans) !important; letter-spacing: .26em; text-transform: uppercase; padding: 16px 28px !important; }
#sb_instagram .sb_instagram_header { display: none !important; }

/* ==========================================================================
   4. Footer
   ========================================================================== */
.m-footer { background: var(--m-cream); border-top: 1px solid var(--m-line); padding-top: 90px; padding-bottom: 40px; margin: 0 !important; }
.m-ft-top { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 50px; padding-bottom: 60px; border-bottom: 1px solid var(--m-line); }
.m-ft-top > * { margin: 0 !important; }
.m-ft-top p { font-size: 14.5px; line-height: 1.95; color: var(--m-ink-2); margin: 0 0 12px; }
.m-ft-top .m-label { margin-bottom: 20px !important; }
.m-ft-top a:hover { color: var(--m-fuchsia); }
.m-ft-logo { margin: 0 0 22px; }
.m-ft-logo img { width: auto !important; height: 96px; }
.m-ft-motto { font: italic 400 24px/1.3 var(--m-serif) !important; color: var(--m-ink) !important; margin: 0 0 4px !important; }
.m-ft-small { font-size: 13px !important; color: var(--m-stone) !important; }
.m-legal { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 30px; }
.m-legal p { margin: 0 !important; font-size: 11.5px; color: var(--m-stone); letter-spacing: .02em; line-height: 1.7; }
.m-legal p:first-child { max-width: 860px; }

/* ==========================================================================
   5. Pagine interne
   ========================================================================== */
.m-page-hero { text-align: center; padding-top: clamp(90px, 12vw, 170px); padding-bottom: clamp(60px, 7vw, 100px); }
.m-page-hero > * { margin-left: auto !important; margin-right: auto !important; }
.m-page-title, .m-page-hero .wp-block-query-title { font-size: clamp(48px, 6.4vw, 104px) !important; line-height: 1 !important; letter-spacing: -.02em; margin-top: 24px !important; margin-bottom: 28px !important; }
.m-page-hero .m-lead { max-width: 620px; margin-bottom: 38px !important; }
.m-page-hero .wp-block-separator { margin-top: 0; }
.m-content { padding-bottom: clamp(90px, 11vw, 160px); }
.m-content .wp-block-post-featured-image { margin-bottom: 60px; }

/* Collection */
.m-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 34px; margin-top: 44px !important; }
.m-chips p { margin: 0 !important; }
.m-chips a { font: 500 11px/1 var(--m-sans); letter-spacing: .24em; text-transform: uppercase; padding-bottom: 8px; border-bottom: 1px solid transparent; transition: border-color .3s, color .3s; }
.m-chips a:hover { border-color: var(--m-fuchsia); color: var(--m-fuchsia); }
.m-family { padding-top: clamp(50px, 6vw, 90px); padding-bottom: clamp(40px, 5vw, 70px); scroll-margin-top: calc(var(--m-hdr) + 20px); }
.m-family-head { display: flex; justify-content: space-between; align-items: baseline; gap: 30px; flex-wrap: wrap; border-bottom: 1px solid var(--m-ink); padding-bottom: 22px; margin-bottom: 44px !important; }
.m-family-head > * { margin: 0 !important; }
.m-family-head h2 { font-size: clamp(36px, 3.8vw, 58px); }
.m-family-intro { font: italic 400 20px/1.4 var(--m-serif); color: var(--m-ink-2); display: flex; align-items: baseline; gap: 26px; }
.m-family-intro span { font: 500 10px/1 var(--m-sans); font-style: normal; letter-spacing: .24em; text-transform: uppercase; color: var(--m-stone); }
.m-products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px 26px; }
.m-products > * { margin: 0 !important; }
.m-media { position: relative; overflow: hidden; background: var(--m-cream); }
.m-media figure { margin: 0 !important; }
.m-media img { width: 100%; aspect-ratio: 3/2; object-fit: cover; transition: transform 1.2s var(--m-ease), opacity .6s; }
.m-media .m-alt { position: absolute; inset: 0; opacity: 0; transition: opacity .6s var(--m-ease); }
.m-product:hover .m-media .m-alt { opacity: 1; }
.m-product:hover .m-media img { transform: scale(1.02); }
@media (hover: none) { .m-media .m-alt { display: none; } }
.m-code { margin: 18px 0 6px !important; font: 500 10px/1 var(--m-sans); letter-spacing: .26em; text-transform: uppercase; color: var(--m-fuchsia); }
.m-desc { margin: 0 !important; font: 400 17px/1.45 var(--m-serif); color: var(--m-ink); }

/* History */
.m-story-cols { gap: clamp(40px, 7vw, 110px) !important; }
.m-story-title { font-size: clamp(34px, 3.4vw, 50px) !important; margin: 26px 0 20px !important; }
.m-signature { font: italic 400 22px/1.3 var(--m-serif) !important; color: var(--m-fuchsia); margin-top: 36px !important; }
.m-film-box { scroll-margin-top: var(--m-hdr); padding-top: 0 !important; }
.m-film-inner { background: var(--m-ink); color: #fff; padding: clamp(50px, 7vw, 110px) clamp(24px, 7vw, 120px); }
.m-film-inner h2 { color: #fff; font-size: clamp(34px, 4vw, 62px); margin: 20px 0 46px !important; }
.m-video video { width: 100%; aspect-ratio: 16/9; background: #000; }
.m-archive-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 22px; }
.m-archive-grid > figure { margin: 0 !important; }

/* Licensing */
.m-lic-cols { gap: clamp(40px, 7vw, 110px) !important; }
.m-lic-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.m-lic-grid > figure { margin: 0 !important; }
.m-lic-grid img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }

/* Contact */
.m-contact-cols { gap: clamp(40px, 7vw, 110px) !important; }
.m-contact-block { border-top: 1px solid var(--m-ink); padding-top: 26px; margin-bottom: 50px !important; }
.m-contact-block > * { margin: 0 0 14px !important; }
.m-contact-title { font: 400 26px/1.35 var(--m-serif) !important; }
.m-contact-block a:hover { color: var(--m-fuchsia); }
.m-form-title { font-size: clamp(32px, 3vw, 46px) !important; margin: 0 0 10px !important; }
.m-form { background: var(--m-cream); padding: clamp(30px, 4vw, 60px) !important; }
.wpcf7 form p { margin: 0 0 22px; }
.wpcf7 label { font: 500 10px/1.6 var(--m-sans); letter-spacing: .24em; text-transform: uppercase; color: var(--m-stone); display: block; }
.wpcf7 input[type=text], .wpcf7 input[type=email], .wpcf7 input[type=tel], .wpcf7 textarea, .wpcf7 select { width: 100%; border: 0; border-bottom: 1px solid var(--m-ink); background: transparent; padding: 12px 0; font: 300 16px/1.5 var(--m-sans); color: var(--m-ink); border-radius: 0; outline: none; margin-top: 4px; }
.wpcf7 textarea { min-height: 140px; resize: vertical; }
.wpcf7 input:focus, .wpcf7 textarea:focus { border-bottom-color: var(--m-fuchsia); }
.wpcf7 .wpcf7-list-item { margin: 0 0 8px; display: block; }
.wpcf7 .wpcf7-list-item-label { font-size: 14px; letter-spacing: 0; text-transform: none; color: var(--m-ink-2); }
.wpcf7 input[type=submit] { background: var(--m-ink); color: #fff; border: 1px solid var(--m-ink); padding: 18px 40px; font: 500 11px/1 var(--m-sans); letter-spacing: .28em; text-transform: uppercase; cursor: pointer; transition: background .35s; border-radius: 0; }
.wpcf7 input[type=submit]:hover { background: var(--m-fuchsia); border-color: var(--m-fuchsia); }

/* eShop (Ecwid) */
.m-shop { padding-top: 20px; }

/* Articolo */
.m-single { padding-top: clamp(80px, 10vw, 150px); padding-bottom: clamp(80px, 10vw, 140px); }
.m-single-meta { display: flex; justify-content: center; align-items: center; gap: 18px; text-align: center; }
.m-single-meta > * { margin: 0 !important; }
.m-single-meta .m-label a { border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.m-single-meta .m-label::after { content: "—"; margin-left: 18px; color: var(--m-line); }
.m-single-title { text-align: center; font-size: clamp(38px, 4.8vw, 76px) !important; line-height: 1.05 !important; margin: 28px auto 60px !important; max-width: 1000px !important; }
.m-single-img img { width: 100%; max-height: 80vh; object-fit: cover; }
.m-single-content { margin-top: 60px !important; font-size: 1.125rem; }
.m-single-content :where(table, td, th, h1, h2, h3, h4, h5, h6, p, span, div) { font-family: inherit !important; }
.m-single-content table { width: 100% !important; background: transparent !important; border: 0; }
.m-single-content td { padding: 0 !important; border: 0 !important; }
.m-single-content h6, .m-single-content td h1, .m-single-content td h2, .m-single-content td h3 { color: inherit !important; font-size: inherit !important; line-height: inherit !important; letter-spacing: normal !important; text-transform: none !important; font-weight: 300 !important; margin: 0 0 1em !important; }
.m-single-content [style*="font-size"] { font-size: inherit !important; }
.m-single-content h2, .m-single-content h3 { font-family: var(--m-serif) !important; }
.m-single-content img { max-width: 100%; height: auto; }
.m-single .wp-block-separator.m-rule { margin-top: 70px; margin-bottom: 40px; }
.m-single-nav { display: flex; justify-content: space-between; gap: 30px; }
.m-single-nav > * { margin: 0 !important; font-family: var(--m-serif); font-size: 19px; max-width: 45%; }
.m-single-nav .post-navigation-link__label { display: block; font: 500 10px/1.8 var(--m-sans); letter-spacing: .24em; text-transform: uppercase; color: var(--m-stone); }
.m-single-nav .wp-block-post-navigation-link__arrow-next, .m-single-nav .wp-block-post-navigation-link__arrow-previous { display: none; }
.m-single-nav .post-navigation-link-next { text-align: right; }

.m-search { max-width: 520px; margin: 30px auto 0 !important; }
.m-search .wp-block-search__input { border: 0; border-bottom: 1px solid var(--m-ink); border-radius: 0; font: 300 18px var(--m-sans); background: transparent; }
.m-search .wp-block-search__button { background: transparent; color: var(--m-ink); border: 0; }

/* Contenuti importati dal vecchio sito (pagine standard, es. Privacy) */
.m-content .wp-block-post-content :where(p, li, span, div, td) { font-family: inherit !important; }
.m-content .wp-block-post-content h1:first-child { display: none; }
.m-content .wp-block-post-content h2, .m-content .wp-block-post-content h3 { font-family: var(--m-serif); margin-top: 1.8em; }

/* ==========================================================================
   6. Responsive
   ========================================================================== */
@media (max-width: 1100px) {
	.m-news-item { grid-template-columns: 150px 1fr 40px; }
	.m-news-thumb { display: none; }
	.m-products { grid-template-columns: repeat(2, 1fr); }
	.m-archive-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 781px) {
	.m-coll-main, .m-coll-side { grid-column: 1 / -1; }
	.m-showroom { min-height: 0; }
	.m-showroom-img { order: -1; }
	.m-showroom-img img { height: 60vh; }
	.m-ft-top { grid-template-columns: 1fr 1fr; }
	.m-news-item { grid-template-columns: 1fr 30px; gap: 10px 20px; padding: 26px 0; }
	.m-news-item .wp-block-post-date { grid-column: 1 / -1; }
	.m-archive-grid { grid-template-columns: repeat(2, 1fr); }
	.m-framed::before { display: none; }
	.m-family-intro { flex-direction: column; gap: 10px; }
}
@media (max-width: 560px) {
	body { font-size: 16px; }
	.m-details { gap: 14px; }
	.m-cap { flex-direction: column; gap: 4px; }
	.m-cap-title { font-size: 16px; }
	.m-products { grid-template-columns: 1fr 1fr; gap: 36px 14px; }
	.m-desc { font-size: 15px; }
	.m-ft-top { grid-template-columns: 1fr; }
	.m-lic-grid { grid-template-columns: repeat(2, 1fr); }
	.m-facts p { grid-template-columns: 1fr; gap: 0; }
}

/* Rifiniture */

.m-facts em { font-style: normal; }
.has-text-align-center { text-align: center; }
.m-insta .m-label, .m-insta h2 { text-align: center; }

/* Collection: banner e capitoli di storia */
.m-coll-hero { padding-bottom: 10px; }
.m-coll-banner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 22px; }
.m-coll-banner > figure { margin: 0 !important; overflow: hidden; }
.m-coll-banner img { width: 100%; height: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.m-coll-banner > figure:not(:first-child) img { aspect-ratio: auto; }
.m-statement-text { max-width: 720px; margin: 0 auto 44px !important; color: var(--m-ink-2); font-size: 1.125rem; }
.m-chapter-list { border-top: 1px solid var(--m-ink); }
.m-chapter { display: grid; grid-template-columns: 260px 1fr; gap: 40px; padding: 40px 0; border-bottom: 1px solid var(--m-line); }
.m-chapter > * { margin: 0 !important; }
.m-chapter-k { font: italic 400 clamp(34px, 3.4vw, 52px)/1 var(--m-serif); color: var(--m-fuchsia); }
.m-chapter-body > * { margin: 0 !important; }
.m-chapter-body h3 { font-size: clamp(26px, 2.4vw, 36px); margin-bottom: 14px !important; }
.m-chapter-body p { max-width: 760px; color: var(--m-ink-2); }
@media (max-width: 1100px) { .m-craft-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 781px) {
	.m-coll-banner { grid-template-columns: 1fr 1fr; }
	.m-coll-banner > figure:first-child { grid-column: 1 / -1; }
	.m-chapter { grid-template-columns: 1fr; gap: 12px; padding: 30px 0; }
}
@media (max-width: 560px) { .m-craft-grid { grid-template-columns: 1fr 1fr; gap: 30px 14px; } .m-craft-title { font-size: 20px !important; } }

/* Showroom centrato nella larghezza del sito */
.m-showroom { margin-left: auto !important; margin-right: auto !important; max-width: var(--m-wide); }

/* Licensing */
.m-lic-mosaic { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: 18px; }
.m-lic-mosaic > figure { margin: 0 !important; overflow: hidden; }
.m-lic-mosaic > figure:first-child { grid-column: 1 / -1; }
.m-lic-mosaic img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 2; }
.m-lic-mosaic > figure:not(:first-child) img { aspect-ratio: 1 / 1; }
.m-pillar-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 30px; }
.m-pillar-grid > * { margin: 0 !important; border-top: 1px solid var(--m-ink); padding-top: 26px; }
.m-pillar .m-craft-n { font-size: 26px; }
.m-offer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.m-offer-grid > * { margin: 0 !important; background: var(--m-cream); padding: clamp(28px, 3vw, 46px); }
.m-offer h3 { font-size: clamp(24px, 2.2vw, 32px); margin: 0 0 14px !important; }
.m-offer p { margin: 0 !important; color: var(--m-ink-2); }
.m-lic-offer { padding-top: 0 !important; }
.m-lic-cta-wrap { padding-bottom: clamp(90px, 11vw, 150px); }
.m-lic-cta { background: var(--m-ink); color: #cfc4ca; padding: clamp(60px, 8vw, 120px) clamp(24px, 8vw, 140px); text-align: center; }
.m-lic-cta h2 { color: #fff; font-size: clamp(34px, 4vw, 60px); margin: 20px auto 24px !important; }
.m-lic-cta h2 em { color: var(--m-blush); }
.m-lic-cta > p:not(.m-label) { max-width: 620px; margin: 0 auto !important; }
@media (max-width: 1100px) { .m-pillar-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 781px) { .m-offer-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .m-pillar-grid { grid-template-columns: 1fr; } }
.m-ctas.is-center { justify-content: center; }
.m-ctas > * { flex: 0 0 auto; width: auto; }
.m-lic-cta .m-ctas { margin-top: 40px !important; }

/* Sicurezza: ogni sezione resta centrata nella larghezza del sito anche su schermi molto larghi */
.m-main > .alignfull.is-layout-constrained > :not(.alignfull):not(.alignleft):not(.alignright) { margin-left: auto !important; margin-right: auto !important; }

/* ==========================================================================
   Ecwid – vetrina eShop integrata nello stile Maison
   ========================================================================== */
.m-shop { padding-top: 10px !important; }
.m-shop-store { width: 100%; max-width: var(--m-wide) !important; margin-left: auto !important; margin-right: auto !important; }
.m-shop-store > * { max-width: none !important; }
.ec-size .ec-wrapper, .ecwid, #ecwid_body .ec-wrapper {
	--ec-font-family: 'Jost', 'Helvetica Neue', Arial, sans-serif;
	--ec-color-text: #16121A;
	--ec-color-link: #B8156A;
	--ec-color-button: #16121A;
	--ec-color-price: #16121A;
	font-family: 'Jost', 'Helvetica Neue', Arial, sans-serif !important;
}
.ec-size .ec-wrapper .ec-header-h1, .ec-size .ec-wrapper .ec-header-h2, .ec-size .ec-wrapper .product-details__product-title,
.ec-size .ec-wrapper .page-title__name, .ec-size .ec-wrapper .grid-category__title { font-family: 'Bodoni Moda', Georgia, serif !important; font-weight: 400 !important; letter-spacing: -.01em; }
.ec-size .ec-wrapper .grid-product__title-inner { font-family: 'Bodoni Moda', Georgia, serif !important; font-size: 17px !important; line-height: 1.35 !important; }
.ec-size .ec-wrapper .grid-product__price-value, .ec-size .ec-wrapper .details-product-price__value { font-family: 'Jost', sans-serif !important; font-weight: 500 !important; letter-spacing: .06em; }
.ec-size .ec-wrapper .form-control__button, .ec-size .ec-wrapper .form-control--button .form-control__button,
.ec-size .ec-wrapper .grid-product__button .form-control__button { border-radius: 0 !important; text-transform: uppercase; letter-spacing: .22em; font-size: 11px !important; font-weight: 500 !important; }
.ec-size .ec-wrapper .form-control--primary .form-control__button { background: #16121A !important; border-color: #16121A !important; color: #fff !important; }
.ec-size .ec-wrapper .form-control--primary .form-control__button:hover { background: #B8156A !important; border-color: #B8156A !important; }
.ec-size .ec-wrapper .form-control__text, .ec-size .ec-wrapper .form-control__select, .ec-size .ec-wrapper .form-control__inline-label { border-radius: 0 !important; }
.ec-size .ec-wrapper .grid-product__image, .ec-size .ec-wrapper .grid-category__image { border-radius: 0 !important; background: #F7F3EE; }
.ec-size .ec-wrapper .ec-breadcrumbs, .ec-size .ec-wrapper .breadcrumbs__link { font-size: 11px !important; letter-spacing: .2em; text-transform: uppercase; }
/* evita che gli stili editoriali del tema alterino la vetrina */
.m-shop-store .ec-wrapper p, .m-shop-store .ec-wrapper li { margin: 0; }
.m-shop-store .ec-wrapper a:hover { color: inherit; }
.ec-minicart { z-index: 90 !important; }
