/* Mastro Giuliano: one editorial rhythm, original brand colours. */
html body .mgx-shop {
  --mgx-ink: #0D2A3D;
  --mgx-coral: #D7644D;
  --mgx-paper: #FFF9F9;
  --mgx-paper-pattern: linear-gradient(rgba(255,249,249,.55),rgba(255,249,249,.55)),url("trama.webp");
  color: var(--mgx-ink);
}
html body .mgx-shop :is(a,button,input,select,summary):focus-visible {
  outline:2px solid #0D2A3D!important; outline-offset:5px!important;
}
html body .mgx-shop .mgx-module-header {
  background-color:#FFF9F9!important;
  background-image:linear-gradient(rgba(255,249,249,.8),rgba(255,249,249,.8)),url("trama.webp")!important;
  border-bottom:1px solid rgba(13,42,61,.12)!important;
}
html body .mgx-shop .mgx-module-header nav a { font-size:15px!important; font-weight:500!important; letter-spacing:.01em!important; }
/* The desktop navigation shares the header; mobile needs an opaque dropdown. */
@media(min-width:981px) {
 html body .mgx-shop .mgx-module-header>nav { background:transparent!important; }
}
@media(max-width:980px) {
 html body .mgx-shop .mgx-module-header.is-navigation-ready>nav {
  inset:100% 0 auto!important;
  width:auto!important; margin:0!important; padding:8px 24px 20px!important;
  grid-template-columns:minmax(0,1fr)!important; gap:0!important; justify-content:stretch!important;
  max-height:calc(100vh - var(--mgx-header-height,76px) - 48px);
  max-height:calc(100dvh - var(--mgx-header-height,76px) - 48px);
  overflow-x:hidden!important; overflow-y:auto!important; overscroll-behavior:contain;
  background-color:#FFF9F9!important;
  background-image:linear-gradient(rgba(255,249,249,.8),rgba(255,249,249,.8)),url("trama.webp")!important;
  background-size:auto,960px 1200px!important; background-position:top center!important;
  border:0!important; border-radius:0!important;
  box-shadow:0 14px 22px rgba(13,42,61,.1)!important;
 }
 html body .mgx-shop .mgx-module-header.is-navigation-ready>nav>a {
  display:flex; align-items:center; justify-content:flex-start;
  min-height:54px!important; padding:12px 0!important; margin:0!important;
  color:#0D2A3D!important; background:transparent!important; border:0!important; border-radius:0!important;
  font-size:18px!important; line-height:1.4!important; text-align:left; text-decoration:none!important;
 }
 html body .mgx-shop .mgx-module-header.is-navigation-ready>nav>a::after { display:none!important; }
 html body .mgx-shop .mgx-module-header.is-navigation-ready>nav>a:is([aria-current="page"],:hover) {
  text-decoration:underline!important; text-decoration-color:#D7644D!important;
  text-decoration-thickness:2px!important; text-underline-offset:7px;
 }
 /* Reset legacy translations so the two strokes form a centred close icon. */
 html body .mgx-shop .mgx-module-header>.mgx-module-menu-toggle {
  width:44px!important; height:44px!important; padding:0!important; color:#0D2A3D!important;
  background:transparent!important; border:0!important; box-shadow:none!important;
 }
 html body .mgx-shop .mgx-module-header>.mgx-module-menu-toggle>span {
  position:absolute; left:50%; top:50%; width:20px; height:1.5px; margin:0;
  background:currentColor; transform-origin:center; border-radius:0;
 }
 html body .mgx-shop .mgx-module-header>.mgx-module-menu-toggle>span:first-child { transform:translate(-50%,-4px); }
 html body .mgx-shop .mgx-module-header>.mgx-module-menu-toggle>span:last-child { transform:translate(-50%,3px); }
 html body .mgx-shop .mgx-module-header.is-menu-open>.mgx-module-menu-toggle>span:first-child { transform:translate(-50%,-50%) rotate(45deg); }
 html body .mgx-shop .mgx-module-header.is-menu-open>.mgx-module-menu-toggle>span:last-child { transform:translate(-50%,-50%) rotate(-45deg); }
}
html body .mgx-shop:is(.mgx-recipes-page,.mgx-diary-page,.mgx-bottega-page,.mgx-standalone-commerce-shell) { width:100%!important; max-width:none!important; margin:0!important; padding:0!important; }

/* Bottega: calm typography, generous photographs, precise purchase rail. */
html body .mgx-shop.mgx-bottega-31972 #mgx-main-content .mgx-bottega-3190__heading {
  padding:44px 0 28px!important; align-items:end!important; gap:24px!important;
}
html body .mgx-shop.mgx-bottega-31972 #mgx-main-content .mgx-bottega-3190__heading h1 {
  font-size:clamp(48px,5.3vw,76px)!important; line-height:1.06!important; font-weight:400!important;
  letter-spacing:-.045em!important; color:#0D2A3D!important; margin:0!important;
}
html body .mgx-shop.mgx-bottega-31972 .mgx-bottega-intro { max-width:25ch; padding:0 0 6px 20px; border-left:2px solid #D7644D; }
html body .mgx-shop.mgx-bottega-31972 .mgx-bottega-intro p { font-size:16px!important; line-height:1.55!important; }
html body .mgx-shop.mgx-bottega-31972 .mgx-families {
  position:sticky; top:var(--mgx-header-height,88px); z-index:15;
  display:flex; justify-content:space-between; gap:0 20px; margin:0 0 36px; padding:4px 0;
  background:#FFF9F9; border-top:1px solid rgba(13,42,61,.14); border-bottom:1px solid rgba(13,42,61,.14);
}
html body.admin-bar .mgx-shop.mgx-bottega-31972 .mgx-families { top:calc(var(--mgx-header-height,88px) + 32px); }
html body .mgx-shop.mgx-bottega-31972 .mgx-families a {
  position:relative; min-height:48px; font-size:13px; font-weight:500; text-decoration:none!important;
}
html body .mgx-shop.mgx-bottega-31972 .mgx-families a::after {
  content:""; position:absolute; left:0; bottom:3px; width:100%; height:2px; background:#D7644D;
  transform:scaleX(0); transform-origin:left; transition:transform .25s ease;
}
html body .mgx-shop.mgx-bottega-31972 .mgx-families a:is(:hover,:focus-visible,.is-active)::after { transform:scaleX(1); }
html body .mgx-shop.mgx-bottega-31972 #mgx-main-content :is(.mgx-category-group,#mgx-regali-pronti) { scroll-margin-top:calc(var(--mgx-header-height,88px) + 88px); }
html body.admin-bar .mgx-shop.mgx-bottega-31972 #mgx-main-content :is(.mgx-category-group,#mgx-regali-pronti) { scroll-margin-top:calc(var(--mgx-header-height,88px) + 120px); }
html body .mgx-shop.mgx-bottega-31972 #mgx-main-content .mgx-category-group>.mgx-category-heading {
  display:block!important;
  max-width:none; margin:0 0 28px!important; border:0!important;
}
html body .mgx-shop.mgx-bottega-31972 #mgx-main-content .mgx-category-heading__copy { display:grid; grid-template-columns:minmax(0,1.65fr) minmax(0,1fr); align-items:end; gap:clamp(32px,5vw,72px); }
html body .mgx-shop.mgx-bottega-31972 #mgx-main-content :is(.mgx-category-heading h2,.mgx-gift-proposals__heading h2) {
  color:#D7644D!important; font-size:clamp(32px,3.2vw,46px)!important; line-height:1.14!important;
  font-weight:500!important; letter-spacing:-.035em!important; margin:0!important; text-wrap:balance;
}
html body .mgx-shop.mgx-bottega-31972 #mgx-main-content .mgx-category-heading .mgx-category-lead { font-size:15px!important; line-height:1.6!important; margin:0!important; max-width:43ch!important; }
html body .mgx-shop.mgx-bottega-31972 #mgx-main-content .mgx-category-group:not([hidden]) ~ .mgx-category-group:not([hidden]) {
  position:relative; margin-top:100px!important; padding-top:34px!important;
}
html body .mgx-shop.mgx-bottega-31972 #mgx-main-content .mgx-category-group:not([hidden]) ~ .mgx-category-group:not([hidden])::before {
  content:""; position:absolute; width:72px; height:3px; top:-2px; left:0; background:#D7644D;
}
html body .mgx-shop.mgx-bottega-31972 #mgx-main-content .mgx-category-group .mgx-product { grid-template-columns:minmax(0,1.65fr) minmax(0,1fr)!important; gap:clamp(32px,5vw,72px)!important; }
html body .mgx-shop.mgx-bottega-31972 #mgx-main-content .mgx-category-group>.mgx-products { gap:64px!important; }
html body .mgx-shop.mgx-bottega-31972 #mgx-main-content .mgx-product__image .mgx-creation__name {
  font-size:clamp(29px,3vw,42px)!important; font-weight:400!important; letter-spacing:-.025em!important; text-wrap:balance;
}
html body .mgx-shop.mgx-bottega-31972 #mgx-main-content .mgx-product__image::after { inset:45% 0 0!important; }
html body .mgx-shop.mgx-bottega-31972 #mgx-main-content .mgx-creation__description { font-size:clamp(18px,1.6vw,22px)!important; line-height:1.65!important; font-weight:400!important; }
html body .mgx-shop.mgx-bottega-31972 #mgx-main-content .mgx-category-group .mgx-product__info { gap:24px!important; }
html body .mgx-shop.mgx-bottega-31972 #mgx-main-content .mgx-category-group .mgx-product__buy { border-top:1px solid rgba(13,42,61,.18)!important; padding-top:20px!important; }
html body .mgx-shop.mgx-bottega-31972 #mgx-main-content .mgx-product__buy>strong { font-size:34px!important; font-weight:400!important; letter-spacing:-.03em!important; }
html body .mgx-shop.mgx-bottega-31972 #mgx-main-content .mgx-catalogue-net-quantity { color:#344d5b!important; font-size:13px!important; letter-spacing:0!important; }
html body .mgx-shop.mgx-bottega-31972 #mgx-main-content .mgx-creation__formats a { font-size:15px!important; }
html body .mgx-shop.mgx-bottega-31972 #mgx-main-content .mgx-creation__formats a.is-selected { border-bottom:2px solid #D7644D!important; font-weight:600!important; }
html body .mgx-shop.mgx-bottega-31972 #mgx-main-content :is(.mgx-product__buy .mgx-add,.mgx-gift-proposal__request) { font-size:17px!important; min-height:48px!important; transition:opacity .2s ease; }
html body .mgx-shop.mgx-bottega-31972 #mgx-main-content .mgx-gift-proposals__heading { display:flex!important; justify-content:space-between; align-items:end; gap:28px; padding-bottom:32px!important; }
html body .mgx-shop.mgx-bottega-31972 #mgx-main-content .mgx-gift-proposals__heading p { max-width:32ch!important; font-size:16px!important; }
html body .mgx-shop.mgx-bottega-31972 #mgx-main-content .mgx-gift-proposal__body h3 { font-size:30px!important; font-weight:500!important; letter-spacing:-.025em; margin:0!important; }
html body .mgx-shop.mgx-bottega-31972 #mgx-main-content .mgx-gift-proposal__price { border-top:1px solid rgba(13,42,61,.18); margin-top:6px; padding-top:16px; }
html body .mgx-shop.mgx-bottega-31972 .mgx-shop-service { border-top:3px solid #D7644D; padding-top:28px; }
html body .mgx-shop.mgx-bottega-31972 .mgx-shop-service h2 { font-size:30px!important; font-weight:500!important; letter-spacing:-.025em!important; }
html body .mgx-shop.mgx-bottega-31972 .mgx-shop-service h3 { font-size:18px!important; }
html body .mgx-shop.mgx-bottega-31972 .mgx-shop-service p { font-size:15px!important; }

/* Diario: large portrait, a readable measure, a clear closing quotation. */
html body .mgx-shop.mgx-editorial-31973 #mgx-main-content .mgx-diary-article { padding:64px 48px 88px!important; }
html body .mgx-shop.mgx-editorial-31973 .mgx-diary-article>header { position:relative; padding:0 0 32px!important; margin:0 0 44px!important; border:0!important; }
html body .mgx-shop.mgx-editorial-31973 .mgx-diary-article>header::after { content:""; position:absolute; bottom:0; left:0; width:80px; height:3px; background:#D7644D; }
html body .mgx-shop.mgx-editorial-31973 .mgx-diary-article h1 { font-size:clamp(48px,5.4vw,76px)!important; line-height:1.05!important; font-weight:400!important; letter-spacing:-.045em!important; }
html body .mgx-shop.mgx-editorial-31973 .mgx-diary-reading { grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important; gap:clamp(40px,6vw,80px)!important; }
html body .mgx-shop.mgx-editorial-31973 .mgx-diary-photo { position:sticky; top:calc(var(--mgx-header-height,88px) + 30px); border-bottom:6px solid #D7644D!important; }
html body.admin-bar .mgx-shop.mgx-editorial-31973 .mgx-diary-photo { top:calc(var(--mgx-header-height,88px) + 62px); }
html body .mgx-shop.mgx-editorial-31973 .mgx-diary-photo img { width:100%!important; aspect-ratio:4/5; object-fit:cover; object-position:50% 30%; }
html body .mgx-shop.mgx-editorial-31973 .mgx-diary-article__body p { font-size:18px!important; line-height:1.85!important; margin-bottom:28px!important; }
html body .mgx-shop.mgx-editorial-31973 .mgx-diary-article__body p:first-child { font-size:21px!important; line-height:1.7!important; }
html body .mgx-shop.mgx-editorial-31973 .mgx-diary-article__body p:first-child::first-letter { float:left; font-size:64px; line-height:.9; margin:8px 10px 0 0; color:#D7644D; font-weight:400; }
html body .mgx-shop.mgx-editorial-31973 .mgx-diary-article blockquote {
  background:none!important; border:0!important; color:#0D2A3D!important;
  padding:0!important; margin:40px 0 0!important; border-radius:0!important; box-shadow:none!important;
  font-family:inherit!important; font-style:normal!important;
}
html body .mgx-shop.mgx-editorial-31973 .mgx-diary-article blockquote::before,
html body .mgx-shop.mgx-editorial-31973 .mgx-diary-article blockquote::after { content:none!important; }
html body .mgx-shop.mgx-editorial-31973 .mgx-diary-article blockquote :is(strong,span) { display:block; color:#0D2A3D!important; font-size:clamp(24px,2.2vw,30px)!important; line-height:1.45!important; font-weight:400!important; letter-spacing:-.02em!important; }
html body .mgx-shop.mgx-editorial-31973 .mgx-diary-article blockquote cite { display:block; font-size:14px!important; color:#0D2A3D!important; margin-top:20px; font-style:normal!important; }

/* Recipes: images at editorial scale, no frames or promotional introduction. */
html body .mgx-shop.mgx-recipes-page #mgx-main-content { width:min(1320px,calc(100% - 96px))!important; max-width:1320px!important; margin:0 auto!important; padding-bottom:80px!important; }
html body .mgx-shop.mgx-editorial-31973 .mgx-recipes-title { padding:40px 0 28px!important; border-bottom:1px solid rgba(13,42,61,.2)!important; margin-bottom:40px!important; }
html body .mgx-shop.mgx-editorial-31973 .mgx-recipes-title h1 { color:#0D2A3D!important; font-size:42px!important; line-height:1.1!important; letter-spacing:-.035em!important; font-weight:400!important; }
html body .mgx-shop.mgx-recipes-page .mgx-recipes__list { display:grid!important; width:100%!important; max-width:none!important; margin:0!important; gap:80px!important; padding:0!important; }
html body .mgx-shop.mgx-recipes-page .mgx-recipe {
  display:grid!important; grid-template-columns:minmax(0,1.35fr) minmax(0,1fr)!important; align-items:center!important; gap:clamp(32px,4vw,60px)!important;
  padding:0!important; margin:0!important; border:0!important; border-radius:0!important; background:transparent!important; box-shadow:none!important;
}
html body .mgx-shop.mgx-recipes-page .mgx-recipe+.mgx-recipe { padding-top:40px!important; border-top:1px solid rgba(13,42,61,.18)!important; }
html body .mgx-shop.mgx-recipes-page .mgx-recipe__image {
  order:0!important; position:relative; margin:0!important; padding:0!important; width:100%!important; height:auto!important; aspect-ratio:4/3;
  border:0!important; border-radius:0!important; overflow:hidden; background:#0D2A3D!important;
}
html body .mgx-shop.mgx-recipes-page .mgx-recipe__image img { display:block; width:100%!important; height:100%!important; min-height:0!important; object-fit:cover!important; object-position:center; border-radius:0!important; }
html body .mgx-shop.mgx-recipes-page .mgx-recipe__image>span { display:none!important; }
html body .mgx-shop.mgx-recipes-page .mgx-recipe__content { order:1!important; padding:0!important; background:transparent!important; min-width:0; }
html body .mgx-shop.mgx-recipes-page .mgx-recipe__meta { display:flex; flex-wrap:wrap; gap:10px 20px!important; padding:0 0 18px 16px; margin:0!important; border-left:2px solid #D7644D; }
html body .mgx-shop.mgx-recipes-page .mgx-recipe__meta span { padding:0!important; border:0!important; border-radius:0!important; background:none!important; color:#0D2A3D!important; font-size:12px!important; letter-spacing:.035em!important; font-weight:500!important; text-transform:none!important; }
html body .mgx-shop.mgx-recipes-page .mgx-recipe__content h2 { color:#0D2A3D!important; font-size:clamp(28px,2.75vw,38px)!important; font-weight:500!important; letter-spacing:-.03em!important; line-height:1.17!important; margin:20px 0 18px!important; text-wrap:balance; }
html body .mgx-shop.mgx-recipes-page .mgx-recipe__content>p { color:#344d5b!important; font-size:17px!important; line-height:1.7!important; margin:0 0 24px!important; }
html body .mgx-shop.mgx-recipes-page .mgx-recipe__content details { padding:0!important; margin:0!important; border:0!important; border-top:1px solid #D7644D!important; border-bottom:1px solid rgba(13,42,61,.18)!important; border-radius:0!important; background:transparent!important; box-shadow:none!important; }
html body .mgx-shop.mgx-recipes-page .mgx-recipe__content summary { min-height:56px; display:flex; align-items:center; justify-content:space-between; gap:16px; padding:12px 0!important; color:#0D2A3D!important; font-size:15px!important; font-weight:500!important; }
html body .mgx-shop.mgx-recipes-page .mgx-recipe__content summary span { display:grid; place-items:center; flex:0 0 30px; width:30px!important; height:30px!important; background:#D7644D!important; color:#0D2A3D!important; border:0!important; border-radius:50%!important; }
html body .mgx-shop.mgx-recipes-page .mgx-recipe__content summary span { position:relative; font-size:0!important; }
html body .mgx-shop.mgx-recipes-page .mgx-recipe__content summary span::before,
html body .mgx-shop.mgx-recipes-page .mgx-recipe__content summary span::after { content:""; position:absolute; width:12px; height:1.5px; left:9px; top:14px; background:#0D2A3D; }
html body .mgx-shop.mgx-recipes-page .mgx-recipe__content summary span::after { transform:rotate(90deg); }
html body .mgx-shop.mgx-recipes-page .mgx-recipe__content details[open] summary span::after { display:none; }
html body .mgx-shop.mgx-recipes-page .mgx-recipe__details { padding:4px 0 24px!important; display:block!important; }
html body .mgx-shop.mgx-recipes-page .mgx-recipe__details h3 { font-size:18px!important; margin:24px 0 12px!important; }
html body .mgx-shop.mgx-recipes-page .mgx-recipe__details :is(li,p) { font-size:16px!important; line-height:1.75!important; }
html body .mgx-shop.mgx-recipes-page .mgx-recipe__open { display:inline-flex; align-items:center; gap:20px; min-height:48px; margin-top:10px; padding:8px 0!important; font-size:14px!important; color:#0D2A3D!important; background:none!important; border:0!important; text-decoration:none!important; }

/* Product details follow the same type scale and soft purchase spacing. */
html body .mgx-shop .mgx-product-experience .mgx-product-hero { gap:clamp(32px,4vw,64px)!important; align-items:start!important; }
html body .mgx-shop .mgx-product-experience .mgx-product-purchase-v2 { padding:12px 0 0!important; }
html body .mgx-shop .mgx-product-experience #mgx-product-title { font-size:clamp(32px,3.4vw,46px)!important; line-height:1.12!important; letter-spacing:-.035em!important; font-weight:500!important; margin:16px 0 22px!important; text-transform:none!important; }
html body .mgx-shop .mgx-product-experience .mgx-product-description p { font-size:18px!important; line-height:1.65!important; }
html body .mgx-shop .mgx-product-experience .mgx-product-overline { margin:0!important; }
html body .mgx-shop .mgx-product-experience .mgx-product-description { margin:0 0 24px!important; }
html body .mgx-shop .mgx-product-experience .mgx-product-description p { margin:0!important; }
html body .mgx-shop .mgx-product-experience .mgx-product-commercial-line { display:grid!important; grid-template-columns:minmax(0,1fr) auto!important; align-items:start; gap:16px!important; border-top:1px solid #D7644D!important; padding:20px 0 0!important; margin:0 0 20px!important; }
html body .mgx-shop .mgx-product-experience .mgx-product-zoom { display:none!important; }
html body .mgx-shop .mgx-product-experience .mgx-product-price>.amount { font-size:36px!important; font-weight:400!important; letter-spacing:-.03em!important; }
html body .mgx-shop .mgx-product-experience .mgx-product-order form.cart>button[type=submit] { min-height:54px!important; font-size:16px!important; font-weight:500!important; background:#D7644D!important; color:#0D2A3D!important; border:0!important; border-radius:2px!important; transition:background-color .2s,color .2s!important; }
html body .mgx-shop .mgx-product-experience .mgx-product-order form.cart>button[type=submit]:hover { background:#0D2A3D!important; color:#FFF9F9!important; }
html body .mgx-shop .mgx-product-experience .mgx-product-details-unified>summary { font-size:clamp(24px,2.5vw,32px)!important; font-weight:500!important; min-height:64px; }
html body .mgx-shop .mgx-product-experience :is(.mgx-product-related,.mgx-product-recipes)>header h2 { color:#0D2A3D!important; font-size:clamp(28px,3vw,40px)!important; line-height:1.18!important; font-weight:500!important; letter-spacing:-.025em!important; }
html body .mgx-shop .mgx-product-experience :is(.mgx-product-related,.mgx-product-recipes)>header h2 em { color:#0D2A3D!important; }

/* The complete blue footer returns to every page. */
html body .mgx-shop .mgx-module-footer {
  display:grid!important; grid-template-columns:1.15fr .8fr 1fr 1fr!important; gap:36px 48px!important;
  position:relative; width:100%!important; max-width:none!important; margin:0!important;
  padding:56px max(32px,calc((100vw - 1240px)/2)) 24px!important;
  background-color:#0D2A3D!important; background-image:none!important; color:#FFF9F9!important;
  border:0!important; border-top:4px solid #D7644D!important; border-radius:0!important; box-shadow:none!important;
}
html body .mgx-shop .mgx-module-footer::before,
html body .mgx-shop .mgx-module-footer::after { content:none!important; }
html body .mgx-shop .mgx-module-footer :is(p,a,span,small,strong,h3) { color:#FFF9F9!important; font-family:inherit!important; text-transform:none!important; letter-spacing:0!important; }
html body .mgx-shop .mgx-module-footer .mgx-footer-brand>div { display:flex!important; align-items:center; gap:14px!important; }
html body .mgx-shop .mgx-module-footer .mgx-footer-brand img { width:58px!important; height:58px!important; object-fit:contain; flex-shrink:0; }
html body .mgx-shop .mgx-module-footer .mgx-footer-brand strong { font-size:20px!important; line-height:1.3!important; font-weight:500!important; }
html body .mgx-shop .mgx-module-footer .mgx-footer-brand p { font-size:14px!important; line-height:1.7!important; max-width:28ch; margin:20px 0 0!important; }
html body .mgx-shop .mgx-module-footer .mgx-footer-column { display:flex!important; flex-direction:column; align-items:flex-start; gap:0!important; min-width:0; grid-column:auto!important; grid-row:auto!important; padding:0!important; border:0!important; }
html body .mgx-shop #mgx-contatti :is(p,a,span,small,strong,h3) { color:#FFF9F9!important; }
html body .mgx-shop #mgx-contatti .mgx-footer-brand strong { color:#FFF9F9!important; font-size:20px!important; }
html body .mgx-shop .mgx-module-footer .mgx-footer-column h3 { display:block; width:100%; font-size:17px!important; line-height:1.3!important; font-weight:500!important; margin:0 0 14px!important; padding:0 0 14px!important; border:0!important; border-bottom:1px solid rgba(215,100,77,.65)!important; }
html body .mgx-shop .mgx-module-footer .mgx-footer-column a { display:inline-flex; align-items:center; min-height:38px; padding:6px 0!important; font-size:14px!important; line-height:1.45!important; text-decoration:none!important; overflow-wrap:anywhere; background:none!important; border:0!important; }
html body .mgx-shop .mgx-module-footer .mgx-footer-column>span { font-size:12px!important; line-height:1.7!important; margin-top:8px; }
html body .mgx-shop .mgx-module-footer .mgx-footer-bottom { display:flex!important; justify-content:space-between; flex-wrap:wrap; gap:12px; grid-column:1/-1; border-top:1px solid rgba(255,249,249,.2)!important; padding:22px 0 0!important; margin:4px 0 0!important; }
html body .mgx-shop .mgx-module-footer .mgx-footer-bottom span { font-size:12px!important; }
html body .mgx-shop .mgx-module-footer a:hover { color:#FFF9F9!important; text-decoration:underline!important; text-decoration-color:#D7644D!important; text-underline-offset:5px!important; }
html body .mgx-shop .mgx-module-footer a:focus-visible { outline-color:#FFF9F9!important; }

/* Motion is optional; every element remains visible without JavaScript. */
@keyframes mgx-premium-arrive { from { opacity:.72; transform:translateY(12px); } to { opacity:1; transform:translateY(0); } }
@media(prefers-reduced-motion:no-preference) {
 .mgx-premium-enter { animation:mgx-premium-arrive .65s cubic-bezier(.22,.61,.36,1) both; }
 html body .mgx-shop :is(.mgx-recipe__image img,.mgx-related-visual img,.mgx-creation__visual img) { transition:transform .7s cubic-bezier(.22,.61,.36,1)!important; }
}
@media(hover:hover) and (prefers-reduced-motion:no-preference) {
 html body .mgx-shop.mgx-bottega-31972 #mgx-main-content .mgx-product__image:hover .mgx-creation__visual img,
 html body .mgx-shop .mgx-product-experience .mgx-product-related article>a:hover .mgx-related-visual img { transform:scale(1.025)!important; }
}
@media(max-width:1100px) {
 html body .mgx-shop .mgx-module-footer { gap:32px 28px!important; grid-template-columns:1fr 1fr 1fr!important; }
 html body .mgx-shop .mgx-module-footer .mgx-footer-brand { grid-column:1/-1; }
 html body .mgx-shop .mgx-module-footer .mgx-footer-brand p { max-width:none; margin-top:12px!important; }
 html body .mgx-shop.mgx-bottega-31972 .mgx-families { gap:0 16px; }
 html body .mgx-shop.mgx-bottega-31972 .mgx-families a { font-size:12px; }
}
@media(max-width:980px) {
 html body .mgx-shop.mgx-recipes-page #mgx-main-content { width:calc(100% - 48px)!important; }
 html body .mgx-shop.mgx-recipes-page .mgx-recipe { grid-template-columns:minmax(0,1.15fr) minmax(0,1fr)!important; gap:28px!important; }
 html body .mgx-shop.mgx-editorial-31973 .mgx-diary-reading { gap:32px!important; }
}
@media(max-width:760px) {
 html body .mgx-shop.mgx-bottega-31972 #mgx-main-content .mgx-bottega-3190__heading { padding:30px 20px 24px!important; }
 html body .mgx-shop.mgx-bottega-31972 #mgx-main-content .mgx-bottega-3190__heading h1 { font-size:48px!important; }
 html body .mgx-shop.mgx-bottega-31972 .mgx-bottega-intro { max-width:none; padding:0; border:0; margin-top:12px; }
 html body .mgx-shop.mgx-bottega-31972 .mgx-bottega-intro p { font-size:14px!important; }
 html body .mgx-shop.mgx-bottega-31972 .mgx-families { position:static; display:grid; grid-template-columns:1fr 1fr; margin:0 20px 32px; gap:0 16px; background:transparent; padding:8px 0; }
 html body .mgx-shop.mgx-bottega-31972 .mgx-families a { min-height:44px; font-size:12px; }
 /* The mobile header scrolls with the page; WordPress supplies its own scroll padding. */
 html body .mgx-shop.mgx-bottega-31972 #mgx-main-content :is(.mgx-category-group,#mgx-regali-pronti),
 html body.admin-bar .mgx-shop.mgx-bottega-31972 #mgx-main-content :is(.mgx-category-group,#mgx-regali-pronti) { scroll-margin-top:20px; }
 html body .mgx-shop.mgx-bottega-31972 #mgx-main-content .mgx-category-group>.mgx-category-heading { display:block!important; margin-bottom:22px!important; }
 html body .mgx-shop.mgx-bottega-31972 #mgx-main-content .mgx-category-heading__copy { display:block; }
 html body .mgx-shop.mgx-bottega-31972 #mgx-main-content :is(.mgx-category-heading h2,.mgx-gift-proposals__heading h2) { font-size:32px!important; margin:0 0 12px!important; }
 html body .mgx-shop.mgx-bottega-31972 #mgx-main-content .mgx-category-heading .mgx-category-lead { font-size:14px!important; max-width:none!important; }
 html body .mgx-shop.mgx-bottega-31972 #mgx-main-content .mgx-category-group .mgx-product { grid-template-columns:minmax(0,1fr)!important; gap:0!important; }
 html body .mgx-shop.mgx-bottega-31972 #mgx-main-content .mgx-category-group>.mgx-products { gap:40px!important; }
 html body .mgx-shop.mgx-bottega-31972 #mgx-main-content .mgx-product__image .mgx-creation__name { font-size:29px!important; }
 html body .mgx-shop.mgx-bottega-31972 #mgx-main-content .mgx-category-group .mgx-product__info { padding:22px 20px 0!important; gap:18px!important; }
 html body .mgx-shop.mgx-bottega-31972 #mgx-main-content .mgx-creation__description { font-size:17px!important; line-height:1.65!important; }
 html body .mgx-shop.mgx-bottega-31972 #mgx-main-content .mgx-category-group .mgx-product__buy { padding-top:16px!important; }
 html body .mgx-shop.mgx-bottega-31972 #mgx-main-content .mgx-product__buy>strong { font-size:30px!important; }
 html body .mgx-shop.mgx-bottega-31972 #mgx-main-content .mgx-category-group:not([hidden]) ~ .mgx-category-group:not([hidden]) { margin-top:64px!important; padding-top:28px!important; }
 html body .mgx-shop.mgx-bottega-31972 #mgx-main-content .mgx-category-group:not([hidden]) ~ .mgx-category-group:not([hidden])::before { left:20px; width:48px; }
 html body .mgx-shop.mgx-bottega-31972 #mgx-main-content .mgx-gift-proposals__heading { display:block!important; }
 html body .mgx-shop.mgx-bottega-31972 #mgx-main-content .mgx-gift-proposal__body h3 { font-size:28px!important; }
 html body .mgx-shop.mgx-bottega-31972 .mgx-shop-service h2 { font-size:28px!important; }
 html body .mgx-shop.mgx-editorial-31973 #mgx-main-content .mgx-diary-article { padding:34px 0 56px!important; }
 html body .mgx-shop.mgx-editorial-31973 .mgx-diary-article>header { margin:0 20px 28px!important; padding-bottom:24px!important; }
 html body .mgx-shop.mgx-editorial-31973 .mgx-diary-article h1 { font-size:clamp(36px,10vw,46px)!important; line-height:1.1!important; }
 html body .mgx-shop.mgx-editorial-31973 .mgx-diary-reading { gap:32px!important; }
 html body .mgx-shop.mgx-editorial-31973 .mgx-diary-photo { position:static; border-bottom-width:4px!important; }
 html body .mgx-shop.mgx-editorial-31973 .mgx-diary-photo img { aspect-ratio:1/1.05; object-position:50% 25%; }
 html body .mgx-shop.mgx-editorial-31973 .mgx-diary-article__body p { font-size:17px!important; line-height:1.8!important; }
 html body .mgx-shop.mgx-editorial-31973 .mgx-diary-article__body p:first-child { font-size:20px!important; }
 html body .mgx-shop.mgx-editorial-31973 .mgx-diary-article blockquote { padding:0!important; margin-top:32px!important; }
 html body .mgx-shop.mgx-editorial-31973 .mgx-diary-article blockquote :is(strong,span) { font-size:24px!important; }
 html body .mgx-shop.mgx-recipes-page #mgx-main-content { width:100%!important; padding-bottom:56px!important; }
 html body .mgx-shop.mgx-editorial-31973 .mgx-recipes-title { padding:28px 20px 24px!important; margin-bottom:28px!important; }
 html body .mgx-shop.mgx-editorial-31973 .mgx-recipes-title h1 { font-size:36px!important; }
 html body .mgx-shop.mgx-recipes-page .mgx-recipes__list { gap:44px!important; }
 html body .mgx-shop.mgx-recipes-page .mgx-recipe { display:flex!important; flex-direction:column!important; gap:0!important; }
 html body .mgx-shop.mgx-recipes-page .mgx-recipe+.mgx-recipe { padding-top:28px!important; }
 html body .mgx-shop.mgx-recipes-page .mgx-recipe__image { aspect-ratio:4/3; }
 html body .mgx-shop.mgx-recipes-page .mgx-recipe__content { padding:26px 20px 0!important; width:100%; box-sizing:border-box; }
 html body .mgx-shop.mgx-recipes-page .mgx-recipe__content h2 { font-size:29px!important; margin-top:18px!important; }
 html body .mgx-shop.mgx-recipes-page .mgx-recipe__content>p { font-size:16px!important; }
 html body .mgx-shop.mgx-recipes-page .mgx-recipe__meta { padding-bottom:0; }
 html body .mgx-shop .mgx-product-experience .mgx-product-hero { gap:28px!important; }
 html body .mgx-shop .mgx-product-experience #mgx-product-title { font-size:33px!important; }
 html body .mgx-shop .mgx-product-experience #mgx-product-title { margin:8px 0 16px!important; }
 html body .mgx-shop .mgx-product-experience .mgx-product-description { margin:0 0 18px!important; }
 html body .mgx-shop .mgx-product-experience .mgx-product-commercial-line { padding:16px 0 0!important; margin:0 0 16px!important; }
 html body .mgx-shop .mgx-product-experience .mgx-product-purchase-v2 { padding-top:0!important; }
 html body .mgx-shop .mgx-product-experience .mgx-product-description p { font-size:17px!important; }
 html body .mgx-shop .mgx-module-footer { grid-template-columns:1fr 1fr!important; gap:32px 24px!important; padding:36px 24px 28px!important; }
 html body .mgx-shop .mgx-module-footer .mgx-footer-brand { grid-column:1/-1; }
 html body .mgx-shop .mgx-module-footer .mgx-footer-column:nth-of-type(3) { grid-column:1/-1!important; grid-row:3!important; }
 html body .mgx-shop .mgx-module-footer .mgx-footer-column a { min-height:44px; font-size:14px!important; }
 html body .mgx-shop .mgx-module-footer .mgx-footer-column h3 { font-size:17px!important; }
 html body .mgx-shop .mgx-module-footer .mgx-footer-bottom { gap:8px; padding-top:20px!important; }
}
@media(max-width:359px) {
 html body .mgx-shop .mgx-module-footer { column-gap:16px!important; padding-left:20px!important; padding-right:20px!important; }
 html body .mgx-shop.mgx-bottega-31972 .mgx-families { gap:0 12px; }
 html body .mgx-shop.mgx-bottega-31972 .mgx-families a { font-size:11px; }
 html body .mgx-shop.mgx-bottega-31972 #mgx-main-content .mgx-product__image .mgx-creation__name { font-size:26px!important; }
}
@media(prefers-reduced-motion:reduce) {
 .mgx-premium-enter { animation:none!important; }
 html body .mgx-shop :is(.mgx-recipe__image img,.mgx-related-visual img,.mgx-creation__visual img,.mgx-families a::after) { transition:none!important; }
}

/* 3.19.91: mobile product audit. Preserve content and the native buying controls. */
html body .mgx-shop .mgx-product-complements>summary>span {
 position:relative; display:block; flex:0 0 28px; width:28px; height:28px; font-size:0!important;
}
html body .mgx-shop .mgx-product-complements>summary>span::before,
html body .mgx-shop .mgx-product-complements>summary>span::after {
 content:""; position:absolute; left:8px; top:13px; width:12px; height:1.5px; background:currentColor;
}
html body .mgx-shop .mgx-product-complements>summary>span::after { transform:rotate(90deg); }
html body .mgx-shop .mgx-product-complements[open]>summary>span::after { display:none; }
@media(max-width:760px) {
 /* Fixed framing avoids a page jump when a tall photo is replaced by the astuccio. */
 html body .mgx-shop .mgx-product-experience .mgx-product-hero { overflow:visible!important; }
 html body .mgx-shop .mgx-product-experience .mgx-product-gallery-v2 {
  width:calc(100% + 32px)!important; max-width:none!important; margin-inline:-16px!important;
 }
 html body .mgx-shop .mgx-product-experience .mgx-product-gallery-stage {
  position:relative; width:100%!important; height:auto!important; min-height:0!important;
  aspect-ratio:3/2; overflow:hidden!important;
 }
 html body .mgx-shop .mgx-product-experience .mgx-product-gallery-v2.is-tall .mgx-product-gallery-stage { aspect-ratio:1/1; max-height:420px; }
 html body .mgx-shop .mgx-product-experience .mgx-product-gallery-stage .mgx-product-main-image {
  position:absolute; inset:0; display:block; width:100%!important; height:100%!important; max-height:none!important;
  object-fit:cover!important; transform:none!important;
 }
 html body .mgx-shop .mgx-product-experience .mgx-product-gallery-stage .mgx-product-main-image[src*="confezione-astuccio"] { object-fit:contain!important; object-position:center!important; }
 html body .mgx-shop .mgx-product-experience .mgx-product-thumbs { padding-inline:16px!important; width:100%!important; box-sizing:border-box; }
 html body .mgx-shop .mgx-product-experience .mgx-product-thumbs button { position:relative; overflow:hidden!important; }
 html body .mgx-shop .mgx-product-experience .mgx-product-thumbs img { position:absolute; inset:0; display:block; width:100%!important; height:100%!important; min-height:0!important; max-height:100%!important; object-fit:contain!important; }
 html body .mgx-shop .mgx-product-experience #mgx-product-title { font-size:clamp(28px,8.2vw,33px)!important; text-wrap:balance; }
 html body .mgx-shop .mgx-product-experience .mgx-product-price { display:grid!important; grid-template-columns:minmax(0,1fr); justify-items:start; gap:4px; }
 html body .mgx-shop .mgx-product-experience .mgx-product-price>.amount { white-space:nowrap; font-size:clamp(30px,9vw,36px)!important; }
 html body .mgx-shop .mgx-product-experience .mgx-product-price>span:last-child:not(.amount):not(.price) { margin:0!important; font-size:12px!important; line-height:1.4!important; }
 html body .mgx-shop .mgx-product-experience .mgx-product-details-unified>summary { padding:18px 0!important; gap:12px; font-size:22px!important; line-height:1.35!important; }
 html body .mgx-shop .mgx-product-experience .mgx-product-details-unified__grid { padding:8px 0 24px!important; }
 html body .mgx-shop .mgx-product-experience .mgx-product-details-unified__method-link { padding-inline:0!important; }
 html body .mgx-shop .mgx-complement { grid-template-columns:minmax(0,1fr)!important; gap:12px!important; padding:20px 0!important; }
 html body .mgx-shop .mgx-complement>a { display:grid; grid-template-columns:80px minmax(0,1fr); gap:16px; font-size:15px; }
 html body .mgx-shop .mgx-complement img { width:80px; height:80px; }
 html body .mgx-shop .mgx-complement>div { display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; gap:12px; }
 html body .mgx-shop .mgx-complement strong { white-space:nowrap; }
 html body .mgx-shop .mgx-complement small { max-width:none; font-size:12px; line-height:1.45; text-align:left; }
 html body .mgx-shop .mgx-complement .mgx-add { min-height:48px; padding:10px 0!important; }
 /* Keep the cookie-preferences control clear of the drawer's final link. */
 html body .mgx-cart-drawer { padding-bottom:calc(64px + env(safe-area-inset-bottom,0px))!important; }
}
