/*
 * Mastro Giuliano 3.18.0 — Sistema visivo unificato
 * Stessa grammatica su Home, Bottega, prodotto, Regala, Diario, Ricette,
 * carrello, pagamento e pagine informative.
 */

:root {
  --mgx-ink: #0b2b3d;
  --mgx-ink-deep: #071f2d;
  --mgx-paper: #fffaf5;
  --mgx-cream: #f3ece4;
  --mgx-surface: #fffdf9;
  --mgx-salmon: #df765f;
  --mgx-salmon-dark: #c95f4b;
  --mgx-muted: rgba(11, 43, 61, .66);
  --mgx-line: rgba(11, 43, 61, .12);
  --mgx-radius-xl: 30px;
  --mgx-radius-lg: 24px;
  --mgx-radius-md: 16px;
  --mgx-shadow-soft: 0 22px 65px rgba(7, 31, 45, .08);
  --mgx-shadow-lift: 0 30px 74px rgba(7, 31, 45, .13);
  --mgx-site-width: 1360px;
}

body.mgx-full-page,
body.mgx-product-page,
body.mgx-standalone-commerce-page,
.mgx-shop,
.mgx-recipes,
.mgx-co,
.mgx-cart-modern {
  background-color: var(--mgx-paper);
}

.mgx-shop,
.mgx-elementor-section,
.mgx-elementor-catalogue,
.mgx-legal-main {
  background-image: none;
}

.mgx-shop :where(a, button, input, select, textarea, summary):focus-visible,
.mgx-recipes :where(a, button, input, select, textarea, summary):focus-visible,
.mgx-co :where(a, button, input, select, textarea, summary):focus-visible {
  outline: 3px solid rgba(223, 118, 95, .52);
  outline-offset: 3px;
}

.mgx-button,
.mgx-home-v4-button,
.mgx-add,
.mgx-choice-add,
.mgx-taste-add,
.mgx-cm-cta,
.mgx-cd-cta,
.mgx-gift-builder > footer button,
.mgx-product-order button[type="submit"],
body.mgx-checkout-page #place_order {
  min-height: 54px;
  border-radius: 999px !important;
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.mgx-button:hover,
.mgx-home-v4-button:hover,
.mgx-add:hover,
.mgx-choice-add:hover,
.mgx-taste-add:hover,
.mgx-cm-cta:hover,
.mgx-cd-cta:hover,
.mgx-gift-builder > footer button:hover,
.mgx-product-order button[type="submit"]:hover,
body.mgx-checkout-page #place_order:hover {
  transform: translateY(-2px);
}

/* Header e navigazione */
.mgx-commerce-header,
.mgx-module-header {
  width: min(var(--mgx-site-width), calc(100% - 64px));
  min-height: 96px;
  grid-template-columns: auto minmax(360px, 1fr) auto auto;
  gap: clamp(18px, 2.1vw, 32px);
  border: 0;
  background: rgba(255, 250, 245, .92);
  backdrop-filter: blur(18px);
}

.mgx-module-brand {
  gap: 13px;
}

.mgx-module-brand img {
  width: 66px !important;
  height: 66px !important;
  flex-basis: 66px !important;
  box-shadow: none;
}

.mgx-module-brand strong {
  font-size: 22px;
  letter-spacing: -.025em;
}

.mgx-module-brand small {
  margin-top: 4px;
  font-size: 9px;
}

.mgx-module-header nav {
  gap: clamp(18px, 2vw, 34px);
}

.mgx-module-header nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0;
  font-size: 11px;
  letter-spacing: .075em;
}

.mgx-module-help,
.mgx-module-cart {
  min-height: 46px;
  border-radius: 999px;
  font-size: 10px;
}

.mgx-module-cart {
  padding-inline: 16px;
  background: rgba(255, 255, 255, .64);
}

.mgx-commerce-announcement {
  min-height: 34px;
  border: 0;
  background: var(--mgx-ink);
  color: #fff;
}

/* Titoli, superfici e card condivise */
.mgx-home-v4-section-heading h2,
.mgx-heading h2,
.mgx-gift h2,
.mgx-method h2,
.mgx-story__copy h2,
.mgx-faq__heading h2,
.mgx-taste-finder__heading h2,
.mgx-gift-page h1,
.mgx-diary-page h1,
.mgx-recipes h1,
.mgx-recipes h2 {
  letter-spacing: -.045em;
  text-wrap: balance;
}

.mgx-home-creation-card,
.mgx-product,
.mgx-choice-cards > article,
.mgx-recipe,
.mgx-gift-builder fieldset,
.mgx-taste-tabs,
.mgx-taste-panels > article,
.mgx-diary-article,
.mgx-faq__list details,
.mgx-home-v4-faq__list details {
  border-radius: var(--mgx-radius-lg);
}

.mgx-home-creation-card,
.mgx-product,
.mgx-choice-cards > article,
.mgx-recipe,
.mgx-diary-article {
  overflow: hidden;
  border-color: rgba(11, 43, 61, .08);
  box-shadow: 0 12px 38px rgba(7, 31, 45, .055);
  transition: transform .26s ease, box-shadow .26s ease;
}

.mgx-home-creation-card:hover,
.mgx-product:hover,
.mgx-choice-cards > article:hover,
.mgx-recipe:hover,
.mgx-diary-article:hover {
  box-shadow: var(--mgx-shadow-lift);
  transform: translateY(-5px);
}

/* Home */
.mgx-home-v4-hero,
.mgx-home-v4-method,
.mgx-home-creations,
.mgx-home-gift,
.mgx-home-budget,
.mgx-home-v4-story,
.mgx-home-v4-recipes,
.mgx-home-care,
.mgx-home-v4-faq {
  width: min(var(--mgx-site-width), calc(100% - 64px));
  margin-inline: auto;
}

.mgx-home-v4-hero {
  min-height: min(760px, calc(100vh - 96px));
  margin-top: 18px;
  overflow: hidden;
  border-radius: var(--mgx-radius-xl);
  box-shadow: var(--mgx-shadow-soft);
}

.mgx-home-v4-hero__media,
.mgx-home-v4-hero__media img {
  border-radius: inherit;
}

.mgx-home-v4-hero__copy {
  max-width: 720px;
}

.mgx-home-v4-actions {
  gap: 12px;
}

.mgx-home-v4-button {
  padding-inline: 26px;
}

.mgx-home-v4-method,
.mgx-home-creations,
.mgx-home-budget,
.mgx-home-v4-recipes,
.mgx-home-care,
.mgx-home-v4-faq {
  padding-block: clamp(78px, 8vw, 122px);
}

.mgx-home-v4-method__main-photo,
.mgx-home-v4-method__marinade,
.mgx-home-v4-story__media,
.mgx-home-gift__visual {
  overflow: hidden;
  border-radius: var(--mgx-radius-xl);
}

.mgx-home-v4-method__steps li {
  border-radius: var(--mgx-radius-md);
}

.mgx-home-creation-card__media {
  min-height: 380px;
}

.mgx-home-creation-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mgx-home-gift {
  overflow: hidden;
  border-radius: var(--mgx-radius-xl);
  background: var(--mgx-ink);
  box-shadow: var(--mgx-shadow-soft);
}

.mgx-home-gift .mgx-button,
.mgx-home-gift .mgx-home-v4-button {
  background: var(--mgx-salmon);
}

.mgx-home-budget > div > a,
.mgx-home-care > div,
.mgx-home-v4-recipes article {
  border-radius: var(--mgx-radius-md);
}

.mgx-home-v4-story {
  margin-block: clamp(62px, 7vw, 110px);
  overflow: hidden;
  border-radius: var(--mgx-radius-xl);
}

.mgx-home-v4-faq__list details,
.mgx-faq__list details {
  overflow: hidden;
  border: 1px solid var(--mgx-line);
  background: rgba(255, 255, 255, .58);
}

/* Bottega */
.mgx-bottega-main,
.mgx-bottega-experience .mgx-bottega-hero,
.mgx-bottega-experience .mgx-catalogue,
.mgx-bottega-experience .mgx-taste-finder {
  width: min(var(--mgx-site-width), calc(100% - 64px));
  margin-inline: auto;
}

.mgx-bottega-experience .mgx-bottega-hero {
  min-height: 650px;
  margin-top: 18px;
  overflow: hidden;
  border-radius: var(--mgx-radius-xl);
  box-shadow: var(--mgx-shadow-soft);
}

.mgx-bottega-experience .mgx-bottega-hero__visual,
.mgx-bottega-experience .mgx-bottega-hero__visual > img {
  border-radius: inherit;
}

.mgx-bottega-experience .mgx-bottega-hero__actions .mgx-button {
  min-width: 190px;
}

.mgx-bottega-experience .mgx-toolbar {
  gap: 16px;
  margin-top: 42px;
  padding: 12px;
  border: 1px solid var(--mgx-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .58);
}

.mgx-bottega-experience .mgx-filters {
  flex-wrap: wrap;
}

.mgx-bottega-experience .mgx-filters button {
  min-height: 42px;
  border-radius: 999px !important;
}

.mgx-bottega-experience .mgx-search {
  min-height: 44px;
}

.mgx-bottega-experience .mgx-products {
  gap: 28px 22px;
}

.mgx-bottega-experience .mgx-product {
  border-radius: var(--mgx-radius-lg);
  background: rgba(255, 255, 255, .7);
}

.mgx-bottega-experience .mgx-product__image {
  min-height: 390px;
  border-radius: var(--mgx-radius-lg) var(--mgx-radius-lg) 0 0;
}

.mgx-bottega-experience .mgx-product__buy {
  gap: 12px;
}

.mgx-bottega-experience .mgx-add {
  padding-inline: 18px !important;
}

.mgx-bottega-experience .mgx-taste-finder {
  margin-bottom: clamp(80px, 9vw, 130px);
  overflow: hidden;
  border-radius: var(--mgx-radius-xl);
  background: var(--mgx-ink);
}

.mgx-bottega-experience .mgx-taste-tabs,
.mgx-bottega-experience .mgx-taste-panels > article {
  box-shadow: none;
}

/* Scheda prodotto: composizione A+B approvata */
body.mgx-product-page {
  background: var(--mgx-paper);
}

.mgx-product-experience {
  width: min(var(--mgx-site-width), calc(100% - 64px));
}

.mgx-product-experience .mgx-standalone-breadcrumb {
  min-height: 54px;
  padding: 14px 4px;
  border: 0;
  color: rgba(11, 43, 61, .54);
}

.mgx-product-experience .mgx-standalone-breadcrumb strong {
  max-width: 42ch;
  overflow: hidden;
  color: var(--mgx-ink);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mgx-product-experience .mgx-product-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(430px, .86fr);
  gap: 0;
  align-items: stretch;
  margin-bottom: 26px;
  padding: 0;
  overflow: hidden;
  border-radius: var(--mgx-radius-xl);
  background: var(--mgx-ink);
  box-shadow: var(--mgx-shadow-lift);
}

.mgx-product-experience .mgx-product-gallery-v2 {
  min-width: 0;
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  gap: 20px;
  padding: 36px 34px 36px 30px;
  background:
    radial-gradient(circle at 72% 20%, rgba(223, 118, 95, .18), transparent 33%),
    linear-gradient(150deg, #0c3348 0%, var(--mgx-ink-deep) 100%);
}

.mgx-product-experience .mgx-product-gallery-v2.is-single {
  grid-template-columns: minmax(0, 1fr);
  padding-left: 34px;
}

.mgx-product-experience .mgx-product-gallery-v2.is-single .mgx-product-gallery-stage {
  grid-column: 1;
}

.mgx-product-experience .mgx-product-gallery-stage {
  min-height: 618px;
  grid-column: 2;
  grid-row: 1;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: var(--mgx-radius-lg);
  background: rgba(255, 255, 255, .055);
  isolation: isolate;
}

.mgx-product-experience .mgx-product-gallery-stage::before,
.mgx-product-experience .mgx-product-gallery-stage::after {
  content: none;
}

.mgx-product-experience .mgx-product-gallery-stage .mgx-product-main-image {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  border-radius: inherit;
  object-fit: cover;
  filter: none;
}

.mgx-product-experience .mgx-product-gallery-stage .mgx-product-main-placeholder {
  border-color: rgba(255, 255, 255, .25);
  color: #fff;
}

.mgx-product-experience .mgx-product-gallery-stage .mgx-product-main-placeholder span {
  color: #f3b6a8;
}

.mgx-product-experience .mgx-product-thumbs {
  width: 80px;
  grid-column: 1;
  grid-row: 1;
  align-self: start;
  display: grid;
  gap: 12px;
  margin: 0;
}

.mgx-product-experience .mgx-product-thumbs button,
.mgx-product-experience .mgx-product-thumbs button:hover,
.mgx-product-experience .mgx-product-thumbs button:focus {
  width: 80px;
  height: 92px;
  min-width: 80px;
  min-height: 92px;
  padding: 0 !important;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .22) !important;
  border-radius: 15px !important;
  background: rgba(255, 255, 255, .07) !important;
  opacity: .65;
}

.mgx-product-experience .mgx-product-thumbs button[aria-pressed="true"],
.mgx-product-experience .mgx-product-thumbs button:hover {
  border-color: rgba(255, 255, 255, .88) !important;
  opacity: 1;
  transform: none;
}

.mgx-product-experience .mgx-product-thumbs img {
  width: 100%;
  height: 100%;
  padding: 0;
  object-fit: cover;
}

.mgx-product-experience .mgx-product-gallery-count {
  right: 18px;
  bottom: 17px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(7, 31, 45, .62);
  color: #fff;
  font-family: var(--mgx-sans);
  font-style: normal;
}

.mgx-product-experience .mgx-product-zoom,
.mgx-product-experience .mgx-product-zoom:hover,
.mgx-product-experience .mgx-product-zoom:focus {
  top: 18px;
  right: 18px;
  border-color: rgba(255, 255, 255, .42) !important;
  background: rgba(7, 31, 45, .68) !important;
  box-shadow: none !important;
  color: #fff !important;
}

.mgx-product-experience .mgx-product-purchase-v2 {
  min-width: 0;
  position: relative;
  top: auto;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-left: -28px;
  padding: clamp(42px, 5vw, 70px) clamp(34px, 4.4vw, 64px);
  border-radius: var(--mgx-radius-xl) 0 0 var(--mgx-radius-xl);
  background: var(--mgx-surface);
}

.mgx-product-experience .mgx-product-overline {
  justify-content: flex-start;
  margin-bottom: 18px;
  color: var(--mgx-salmon-dark);
  font-size: 10px;
}

.mgx-product-experience .mgx-product-overline span::before {
  width: 28px;
}

.mgx-product-experience .mgx-product-purchase-v2 > h1 {
  max-width: 10ch;
  margin: 0;
  font-size: clamp(47px, 5vw, 72px);
  line-height: .98;
  letter-spacing: -.058em;
  text-wrap: balance;
}

.mgx-product-experience .mgx-product-description {
  max-width: 31em;
  display: -webkit-box;
  margin: 20px 0 24px;
  overflow: hidden;
  color: rgba(11, 43, 61, .66);
  font-family: var(--mgx-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.mgx-product-experience .mgx-product-commercial-line {
  justify-content: flex-start;
  gap: 32px;
  margin: 0 0 18px;
  padding: 18px 0;
  border-color: rgba(11, 43, 61, .1);
}

.mgx-product-experience .mgx-product-price .amount {
  font-size: 36px;
}

.mgx-product-experience .mgx-product-net-quantity {
  min-width: 0;
  justify-items: start;
  padding: 0;
  border-radius: 0;
  background: transparent;
}

.mgx-product-experience .mgx-product-net-quantity strong {
  font-size: 21px;
}

.mgx-product-experience .mgx-product-order {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.mgx-product-experience .mgx-availability {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #2c7753;
  font-size: 11px;
}

.mgx-product-experience .mgx-product-order > form.cart {
  display: grid;
  grid-template-columns: minmax(178px, .58fr) minmax(220px, 1fr);
  gap: 10px;
  margin-top: 13px;
}

.mgx-product-experience .mgx-product-quantity {
  min-height: 58px;
  grid-template-columns: minmax(48px, 1fr) 44px 50px 44px;
  overflow: hidden;
  border: 1px solid var(--mgx-line);
  border-radius: 999px;
  background: #fff;
}

.mgx-product-experience .mgx-product-quantity > button,
.mgx-product-experience .mgx-product-quantity > button:hover,
.mgx-product-experience .mgx-product-quantity > button:focus,
.mgx-product-experience .mgx-product-quantity > input[type="number"] {
  min-height: 58px;
  height: 58px;
  border-color: var(--mgx-line) !important;
}

.mgx-product-experience .mgx-product-quantity > button,
.mgx-product-experience .mgx-product-quantity > button:hover,
.mgx-product-experience .mgx-product-quantity > button:focus {
  background: #f7f1eb !important;
}

.mgx-product-experience .mgx-product-quantity > input[type="number"] {
  line-height: 58px !important;
}

.mgx-product-experience .mgx-product-order > form.cart > button[type="submit"],
.mgx-product-experience .mgx-product-native-link,
.mgx-product-experience .mgx-product-native-form .single_add_to_cart_button {
  min-height: 58px;
  border-radius: 999px !important;
  background: var(--mgx-salmon-dark) !important;
  box-shadow: 0 12px 28px rgba(201, 95, 75, .22) !important;
}

.mgx-product-experience .mgx-product-gift-link {
  width: fit-content;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 11px;
  color: var(--mgx-ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.mgx-product-experience .mgx-product-gift-link span {
  color: var(--mgx-salmon-dark);
}

.mgx-product-experience .mgx-product-assurances {
  display: flex;
  justify-content: flex-start;
  gap: 9px;
  margin-top: 8px;
  padding-top: 14px;
  border-top: 1px solid rgba(11, 43, 61, .08);
  color: rgba(11, 43, 61, .53);
}

.mgx-product-experience .mgx-product-assurances span {
  display: inline;
  color: inherit;
  font-size: 10.5px;
}

.mgx-product-experience .mgx-product-below-fold {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  gap: 12px;
  align-items: start;
  padding: 10px 0 clamp(70px, 8vw, 112px);
}

.mgx-product-experience .mgx-product-copy-details {
  margin: 0;
  border: 1px solid var(--mgx-line);
  border-radius: var(--mgx-radius-md);
  background: rgba(255, 255, 255, .6);
}

.mgx-product-experience .mgx-product-copy-details > summary {
  min-height: 58px;
  padding-inline: 18px 13px;
}

.mgx-product-experience .mgx-product-method-link {
  min-height: 58px;
  margin: 0;
  padding-inline: 18px;
  border: 1px solid var(--mgx-line);
  border-radius: 999px;
  white-space: nowrap;
}

.mgx-product-experience .mgx-product-transparency {
  gap: clamp(45px, 7vw, 96px);
  margin-inline: calc(50% - 50vw);
  padding-inline: max(32px, calc((100vw - var(--mgx-site-width)) / 2));
  background: #f2ebe4;
}

.mgx-product-experience .mgx-product-transparency .mgx-product-facts {
  border-radius: var(--mgx-radius-lg);
}

.mgx-product-experience .mgx-product-related article > a {
  border-radius: var(--mgx-radius-lg);
}

/* Regala */
.mgx-gift-showcase,
.mgx-gift-showcase__assurances {
  width: min(var(--mgx-site-width), calc(100% - 64px));
  margin-inline: auto;
}

.mgx-gift-showcase {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(430px, .88fr);
  gap: 0;
  margin-top: clamp(72px, 8vw, 118px);
  padding: 24px;
  overflow: hidden;
  border-radius: var(--mgx-radius-xl);
  background: var(--mgx-ink);
  box-shadow: var(--mgx-shadow-lift);
}

.mgx-gift-showcase__photo {
  min-width: 0;
  min-height: 642px;
  margin: 0;
  overflow: hidden;
  border-radius: 24px 0 0 24px;
  background: var(--mgx-ink-deep);
}

.mgx-gift-showcase__photo img {
  width: 100%;
  height: 100%;
  min-height: 642px;
  display: block;
  margin: 0;
  object-fit: cover;
  object-position: 50% 34%;
}

.mgx-gift-showcase__panel {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-left: -1px;
  padding: clamp(42px, 4.8vw, 72px) clamp(34px, 4.2vw, 64px);
  border-radius: 0 24px 24px 0;
  background: var(--mgx-surface);
}

.mgx-gift-showcase__panel .mgx-home-v4-kicker {
  margin: 0 0 18px;
  color: var(--mgx-salmon-dark);
}

.mgx-gift-showcase__panel h1,
.mgx-gift-showcase__panel h2 {
  max-width: 9.7ch;
  margin: 0;
  color: var(--mgx-ink);
  font-family: var(--mgx-display);
  font-size: clamp(46px, 4.5vw, 68px);
  font-weight: 400;
  letter-spacing: -.055em;
  line-height: 1.01;
  text-transform: none;
}

.mgx-gift-showcase__panel h1 em,
.mgx-gift-showcase__panel h2 em {
  color: var(--mgx-ink);
  font-style: normal;
  font-weight: 400;
}

.mgx-gift-showcase__lead {
  margin: 20px 0 30px;
  color: rgba(11, 43, 61, .72);
  font-family: var(--mgx-display);
  font-size: 18px;
  line-height: 1.55;
}

.mgx-gift-showcase__steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.mgx-gift-showcase__steps li {
  min-width: 0;
  display: grid;
  justify-items: center;
  gap: 8px;
  position: relative;
  color: var(--mgx-ink);
}

.mgx-gift-showcase__steps li::after {
  content: "";
  width: calc(100% - 36px);
  height: 1px;
  position: absolute;
  top: 17px;
  left: calc(50% + 18px);
  background: rgba(11, 43, 61, .28);
}

.mgx-gift-showcase__steps li:last-child::after {
  content: none;
}

.mgx-gift-showcase__steps span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  position: relative;
  z-index: 1;
  border: 1px solid rgba(11, 43, 61, .34);
  border-radius: 50%;
  background: var(--mgx-surface);
  font-family: var(--mgx-display);
  font-size: 15px;
}

.mgx-gift-showcase__steps .is-active span {
  border-color: var(--mgx-salmon-dark);
  color: var(--mgx-salmon-dark);
}

.mgx-gift-showcase__steps strong {
  min-width: 0;
  font-family: var(--mgx-display);
  font-size: 12px;
  font-weight: 400;
  white-space: nowrap;
}

.mgx-gift-showcase__summary {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 4px;
  border-top: 1px solid var(--mgx-line);
  border-bottom: 1px solid var(--mgx-line);
  color: var(--mgx-ink);
  font-family: var(--mgx-display);
  font-size: 15px;
}

.mgx-gift-showcase__summary strong {
  font-size: 18px;
  font-weight: 400;
  white-space: nowrap;
}

.mgx-gift-showcase__summary .woocommerce-Price-amount {
  color: inherit;
  font: inherit;
}

.mgx-gift-showcase__primary {
  width: 100%;
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
  padding-inline: 24px;
  border-radius: 999px;
  background: var(--mgx-salmon-dark);
  box-shadow: 0 13px 28px rgba(201, 95, 75, .22);
  color: #fff !important;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
  transition: transform .2s ease, background .2s ease;
}

.mgx-gift-showcase__primary:hover {
  background: var(--mgx-ink);
  transform: translateY(-2px);
}

.mgx-gift-showcase__secondary {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 5px;
  color: var(--mgx-ink);
  font-family: var(--mgx-display);
  font-size: 15px;
}

.mgx-gift-showcase__secondary span {
  color: var(--mgx-salmon-dark);
  transition: transform .2s ease;
}

.mgx-gift-showcase__secondary:hover span {
  transform: translateX(4px);
}

.mgx-gift-showcase__assurances {
  min-height: 88px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  margin-bottom: clamp(72px, 8vw, 118px);
  color: var(--mgx-ink);
}

.mgx-gift-showcase__assurances > span {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding-inline: 20px;
  border-right: 1px solid var(--mgx-line);
  font-family: var(--mgx-display);
  font-size: 14px;
}

.mgx-gift-showcase__assurances > span:last-child {
  border-right: 0;
}

.mgx-gift-showcase__assurances i {
  color: var(--mgx-ink);
  font-size: 23px;
  font-style: normal;
}

.mgx-gift-page__main,
.mgx-gift-page__builder,
.mgx-gift-page__budget {
  width: min(var(--mgx-site-width), calc(100% - 64px));
  margin-inline: auto;
}

.mgx-gift-page__main {
  margin-top: 0;
  padding-top: 0;
  overflow: visible;
  border-radius: 0;
  box-shadow: none;
}

.mgx-gift-page__main .mgx-gift-showcase,
.mgx-gift-page__main .mgx-gift-showcase__assurances,
.mgx-gift-page__main .mgx-gift-page__builder,
.mgx-gift-page__main .mgx-home-budget {
  width: 100%;
}

.mgx-gift-showcase--page {
  margin-top: 18px;
}

.mgx-gift-builder-section {
  padding: clamp(78px, 8vw, 118px) 0;
  scroll-margin-top: 110px;
}

.mgx-gift-builder-section > header {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, .65fr);
  gap: 38px 80px;
  align-items: end;
  margin-bottom: 44px;
}

.mgx-gift-builder-section > header .mgx-home-v4-kicker {
  grid-column: 1 / -1;
  margin-bottom: -20px;
}

.mgx-gift-builder-section > header h2 {
  margin: 0;
  color: var(--mgx-ink);
  font-family: var(--mgx-display);
  font-size: clamp(46px, 5vw, 72px);
  font-weight: 400;
  letter-spacing: -.05em;
  line-height: 1;
  text-transform: none;
}

.mgx-gift-builder-section > header h2 em {
  color: var(--mgx-salmon-dark);
  font-style: normal;
  font-weight: 400;
}

.mgx-gift-builder-section > header > p:not(.mgx-home-v4-kicker) {
  margin: 0;
  color: var(--mgx-muted);
  font-family: var(--mgx-display);
  font-size: 18px;
  line-height: 1.65;
}

.mgx-gift-builder-section .mgx-gift-page__budget {
  grid-column: 2;
  width: fit-content;
  margin: -24px 0 0;
  padding: 9px 14px;
  border: 1px solid var(--mgx-line);
  border-radius: 999px;
  background: var(--mgx-cream);
  color: var(--mgx-ink);
}

.mgx-gift-builder {
  overflow: visible;
}

.mgx-gift-builder fieldset {
  margin-bottom: 18px;
  padding: clamp(22px, 3vw, 36px);
  border: 1px solid var(--mgx-line);
  background: rgba(255, 255, 255, .7);
  box-shadow: 0 12px 34px rgba(7, 31, 45, .045);
}

.mgx-gift-builder__products label,
.mgx-gift-builder__options label {
  overflow: hidden;
  border-radius: var(--mgx-radius-md);
}

.mgx-gift-builder label:has(input:checked) {
  box-shadow: 0 0 0 2px var(--mgx-salmon);
}

.mgx-gift-builder__product-media,
.mgx-gift-builder__product-media img,
.mgx-gift-builder__finish textarea {
  border-radius: 13px;
}

.mgx-gift-builder > footer {
  position: sticky;
  bottom: 12px;
  z-index: 8;
  gap: 20px;
  border-radius: var(--mgx-radius-lg);
  background: rgba(255, 253, 249, .94);
  box-shadow: var(--mgx-shadow-lift);
  backdrop-filter: blur(18px);
}

/* Diario e Ricette */
.mgx-diary-main,
.mgx-recipes-page,
.mgx-recipe-single__main {
  width: min(var(--mgx-site-width), calc(100% - 64px));
  margin-inline: auto;
}

.mgx-diary-hero,
.mgx-recipes__hero,
.mgx-recipe-single__hero {
  margin-top: 18px;
  overflow: hidden;
  border-radius: var(--mgx-radius-xl);
  box-shadow: var(--mgx-shadow-soft);
}

.mgx-diary-hero figure,
.mgx-diary-hero figure img,
.mgx-recipes__hero img,
.mgx-recipe-single__hero img {
  border-radius: inherit;
}

.mgx-diary-article {
  padding: clamp(24px, 3vw, 40px);
  background: rgba(255, 255, 255, .66);
}

.mgx-recipe__image,
.mgx-recipe__image img {
  border-radius: var(--mgx-radius-lg) var(--mgx-radius-lg) 0 0;
}

.mgx-recipe-single__body,
.mgx-recipe-single__product,
.mgx-recipe-single__related {
  border-radius: var(--mgx-radius-lg);
}

/* Carrello */
.mgx-cart-modern {
  width: min(var(--mgx-site-width), calc(100% - 64px));
  padding-top: 34px;
}

.mgx-cm-main,
.mgx-cm-side,
.mgx-cm-line,
.mgx-cm-suggest,
.mgx-cm-coupon,
.mgx-cd-line {
  border-radius: var(--mgx-radius-lg);
}

.mgx-cm-main,
.mgx-cm-side {
  border-color: var(--mgx-line);
  background: rgba(255, 255, 255, .66);
  box-shadow: 0 14px 42px rgba(7, 31, 45, .055);
}

.mgx-cm-line,
.mgx-cm-suggest {
  overflow: hidden;
}

.mgx-cm-thumb,
.mgx-cm-thumb img,
.mgx-cd-thumb,
.mgx-cd-thumb img {
  border-radius: var(--mgx-radius-md);
}

.mgx-cm-stepper,
.mgx-cd-stepper {
  border-radius: 999px;
}

.mgx-cart-drawer {
  border-radius: var(--mgx-radius-xl) 0 0 var(--mgx-radius-xl);
  box-shadow: -22px 0 70px rgba(7, 31, 45, .2);
}

/* Checkout */
body.mgx-checkout-page .mgx-standalone-checkout {
  background: var(--mgx-paper);
}

body.mgx-checkout-page .mgx-co-hero,
body.mgx-checkout-page .mgx-co-workspace {
  width: min(var(--mgx-site-width), calc(100% - 64px));
  margin-inline: auto;
}

body.mgx-checkout-page .mgx-co-hero {
  margin-top: 18px;
  overflow: hidden;
  border-radius: var(--mgx-radius-xl);
}

body.mgx-checkout-page .mgx-co-card,
body.mgx-checkout-page .mgx-live-step,
body.mgx-checkout-page .mgx-live-review,
body.mgx-checkout-page #payment,
body.mgx-checkout-page .woocommerce-checkout-review-order {
  border-radius: var(--mgx-radius-lg) !important;
  border-color: var(--mgx-line) !important;
  background: rgba(255, 255, 255, .72) !important;
  box-shadow: 0 14px 42px rgba(7, 31, 45, .055) !important;
}

body.mgx-checkout-page .form-row input.input-text,
body.mgx-checkout-page .form-row textarea,
body.mgx-checkout-page .form-row select,
body.mgx-checkout-page .select2-selection,
body.mgx-checkout-page #payment .payment_box {
  border-radius: 13px !important;
}

body.mgx-checkout-page #place_order {
  min-height: 60px !important;
  background: var(--mgx-salmon-dark) !important;
  box-shadow: 0 14px 32px rgba(201, 95, 75, .22) !important;
}

/* Pagina Regala: guida, desiderio e rassicurazione dopo il configuratore. */
.mgx-gift-occasions,
.mgx-gift-arrival,
.mgx-gift-corporate,
.mgx-gift-faq {
  width: 100%;
  margin-inline: auto;
}

.mgx-gift-occasions {
  padding: clamp(88px, 9vw, 132px) 0;
}

.mgx-gift-occasions > header,
.mgx-gift-faq {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(320px, .65fr);
  gap: 52px clamp(56px, 8vw, 128px);
  align-items: end;
}

.mgx-gift-occasions h2,
.mgx-gift-arrival h2,
.mgx-gift-corporate h2,
.mgx-gift-faq h2 {
  margin: 10px 0 0;
  color: var(--mgx-ink);
  font-family: var(--mgx-display);
  font-size: clamp(46px, 5vw, 72px);
  font-weight: 400;
  letter-spacing: -.055em;
  line-height: 1;
  text-transform: none;
}

.mgx-gift-occasions h2 em,
.mgx-gift-arrival h2 em,
.mgx-gift-corporate h2 em,
.mgx-gift-faq h2 em {
  color: var(--mgx-salmon-dark);
  font-style: normal;
  font-weight: 400;
}

.mgx-gift-occasions > header > p {
  max-width: 50ch;
  margin: 0 0 5px;
  color: var(--mgx-muted);
  font-size: 16px;
  line-height: 1.75;
}

.mgx-gift-occasions__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 14px;
  margin-top: 44px;
}

.mgx-gift-occasions__grid > a {
  min-height: 210px;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto 1fr auto;
  align-items: start;
  gap: 16px;
  position: relative;
  padding: 26px;
  overflow: hidden;
  border: 1px solid var(--mgx-line);
  border-radius: 26px;
  background: rgba(255, 253, 249, .74);
  color: var(--mgx-ink) !important;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.mgx-gift-occasions__grid > a:nth-child(1) { grid-column: span 4; }
.mgx-gift-occasions__grid > a:nth-child(2) { grid-column: span 5; }
.mgx-gift-occasions__grid > a:nth-child(3) { grid-column: span 3; }
.mgx-gift-occasions__grid > a:nth-child(4),
.mgx-gift-occasions__grid > a:nth-child(5) { grid-column: span 6; }

.mgx-gift-occasions__grid > a:nth-child(2),
.mgx-gift-occasions__grid > a:nth-child(5) {
  background: var(--mgx-ink);
  color: #fff !important;
}

.mgx-gift-occasions__grid > a:hover {
  z-index: 1;
  border-color: rgba(201, 95, 75, .45);
  box-shadow: var(--mgx-shadow-lift);
  transform: translateY(-4px);
}

.mgx-gift-occasions__grid small {
  font-family: var(--mgx-display);
  font-size: 11px;
  letter-spacing: .08em;
}

.mgx-gift-occasions__grid strong {
  grid-column: 1 / -1;
  align-self: end;
  font-family: var(--mgx-display);
  font-size: clamp(24px, 2.2vw, 34px);
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: 1.05;
}

.mgx-gift-occasions__grid span {
  max-width: 29ch;
  align-self: end;
  color: currentColor;
  font-size: 13px;
  line-height: 1.45;
  opacity: .72;
}

.mgx-gift-occasions__grid i {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  align-self: end;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-style: normal;
  opacity: .74;
  transition: transform .22s ease;
}

.mgx-gift-occasions__grid > a:hover i {
  transform: translateX(3px);
}

.mgx-gift-arrival {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(430px, .96fr);
  overflow: hidden;
  border-radius: 32px;
  background: var(--mgx-ink);
  color: #fff;
  box-shadow: 0 28px 70px rgba(8, 30, 43, .18);
}

.mgx-gift-arrival__media,
.mgx-gift-arrival__media img {
  min-height: 690px;
}

.mgx-gift-arrival__media {
  overflow: hidden;
}

.mgx-gift-arrival__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 50% 48%;
}

.mgx-gift-arrival__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(48px, 6vw, 88px);
}

.mgx-gift-arrival .mgx-home-v4-kicker,
.mgx-gift-arrival h2,
.mgx-gift-arrival h2 em {
  color: #fff;
}

.mgx-gift-arrival .mgx-home-v4-kicker {
  opacity: .68;
}

.mgx-gift-arrival__lead {
  max-width: 46ch;
  margin: 22px 0 28px;
  color: rgba(255, 255, 255, .72);
  font-size: 15px;
  line-height: 1.7;
}

.mgx-gift-arrival ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mgx-gift-arrival li {
  min-height: 105px;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  align-items: start;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, .16);
}

.mgx-gift-arrival li > span {
  color: #efb4a5;
  font-family: var(--mgx-display);
  font-size: 12px;
}

.mgx-gift-arrival li div {
  display: grid;
  gap: 6px;
}

.mgx-gift-arrival li strong {
  font-family: var(--mgx-display);
  font-size: 15px;
  font-weight: 400;
}

.mgx-gift-arrival li small {
  color: rgba(255, 255, 255, .61);
  font-size: 11px;
  line-height: 1.45;
}

.mgx-gift-arrival__cta {
  width: fit-content;
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-top: 24px;
  padding: 0 24px;
  border-radius: 999px;
  background: #fff;
  color: var(--mgx-ink) !important;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
  transition: transform .2s ease, background .2s ease;
}

.mgx-gift-arrival__cta:hover {
  background: #efb4a5;
  transform: translateY(-2px);
}

.mgx-gift-corporate {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(340px, .65fr);
  gap: 60px clamp(64px, 9vw, 140px);
  align-items: end;
  margin-top: clamp(24px, 3vw, 42px);
  padding: clamp(54px, 6vw, 82px);
  border-radius: 30px;
  background: #efd0c6;
}

.mgx-gift-corporate h2 {
  font-size: clamp(42px, 4.5vw, 66px);
}

.mgx-gift-corporate h2 em {
  color: var(--mgx-ink);
}

.mgx-gift-corporate > div:last-child > p {
  max-width: 49ch;
  margin: 0 0 25px;
  color: rgba(11, 43, 61, .75);
  font-size: 15px;
  line-height: 1.7;
}

.mgx-gift-corporate a {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--mgx-ink);
  color: #fff !important;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.mgx-gift-faq {
  align-items: start;
  padding: clamp(96px, 10vw, 150px) 0 clamp(84px, 9vw, 130px);
}

.mgx-gift-faq > header {
  position: sticky;
  top: 110px;
}

.mgx-gift-faq > header > a {
  display: inline-flex;
  margin-top: 26px;
  color: var(--mgx-salmon-dark);
  font-family: var(--mgx-display);
  font-size: 14px;
}

.mgx-gift-faq details {
  border-bottom: 1px solid var(--mgx-line);
}

.mgx-gift-faq summary {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  cursor: pointer;
  color: var(--mgx-ink);
  font-family: var(--mgx-display);
  font-size: 18px;
  list-style: none;
}

.mgx-gift-faq summary::-webkit-details-marker {
  display: none;
}

.mgx-gift-faq summary span {
  width: 36px;
  height: 36px;
  display: grid;
  flex: 0 0 36px;
  place-items: center;
  border: 1px solid var(--mgx-line);
  border-radius: 50%;
  color: var(--mgx-salmon-dark);
  transition: transform .2s ease;
}

.mgx-gift-faq details[open] summary span {
  transform: rotate(45deg);
}

.mgx-gift-faq details p {
  max-width: 58ch;
  margin: -8px 48px 28px 0;
  color: var(--mgx-muted);
  font-size: 14px;
  line-height: 1.7;
}

/* Pagine legali e footer */
.mgx-legal-hero {
  width: min(var(--mgx-site-width), calc(100% - 64px));
  min-height: 440px;
  margin: 18px auto 0;
  overflow: hidden;
  border-radius: var(--mgx-radius-xl);
}

.mgx-legal-layout > aside,
.mgx-legal-content section,
.mgx-legal-rates > div {
  border-radius: var(--mgx-radius-md);
}

.mgx-module-footer {
  margin-top: 0;
  background: var(--mgx-ink-deep);
}

.mgx-footer-assistance {
  border-radius: var(--mgx-radius-lg);
}

.mgx-footer-assistance > a,
.mgx-footer-whatsapp {
  border-radius: 999px;
}

@media (max-width: 1080px) {
  .mgx-commerce-header,
  .mgx-module-header {
    grid-template-columns: minmax(0, 1fr) auto auto;
    min-height: 88px;
  }

  .mgx-module-brand img {
    width: 62px !important;
    height: 62px !important;
    flex-basis: 62px !important;
  }

  .mgx-product-experience .mgx-product-hero {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .mgx-product-experience .mgx-product-gallery-v2 {
    min-height: 650px;
  }

  .mgx-product-experience .mgx-product-purchase-v2 {
    margin: -28px 24px 24px;
    padding: 48px;
    border-radius: var(--mgx-radius-xl);
  }

  .mgx-product-experience .mgx-product-purchase-v2 > h1 {
    max-width: 13ch;
  }

  .mgx-product-experience .mgx-product-below-fold {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mgx-product-experience .mgx-product-method-link {
    width: fit-content;
  }

  .mgx-gift-showcase {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .mgx-gift-showcase__photo,
  .mgx-gift-showcase__photo img {
    min-height: 610px;
  }

  .mgx-gift-showcase__photo {
    border-radius: 24px;
  }

  .mgx-gift-showcase__panel {
    margin: -24px 24px 24px;
    padding: 48px;
    border-radius: var(--mgx-radius-xl);
  }

  .mgx-gift-showcase__panel h1,
  .mgx-gift-showcase__panel h2 {
    max-width: 13ch;
  }

  .mgx-gift-occasions__grid > a:nth-child(n) {
    grid-column: span 6;
  }

  .mgx-gift-occasions__grid > a:last-child {
    grid-column: 4 / span 6;
  }

  .mgx-gift-arrival {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .mgx-gift-arrival__media,
  .mgx-gift-arrival__media img {
    min-height: 610px;
  }

  .mgx-gift-corporate {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 720px) {
  .mgx-commerce-header,
  .mgx-module-header,
  .mgx-home-v4-hero,
  .mgx-home-v4-method,
  .mgx-home-creations,
  .mgx-home-gift,
  .mgx-home-budget,
  .mgx-home-v4-story,
  .mgx-home-v4-recipes,
  .mgx-home-care,
  .mgx-home-v4-faq,
  .mgx-gift-showcase,
  .mgx-gift-showcase__assurances,
  .mgx-bottega-main,
  .mgx-bottega-experience .mgx-bottega-hero,
  .mgx-bottega-experience .mgx-catalogue,
  .mgx-bottega-experience .mgx-taste-finder,
  .mgx-gift-page__main,
  .mgx-gift-page__builder,
  .mgx-gift-page__budget,
  .mgx-diary-main,
  .mgx-recipes-page,
  .mgx-recipe-single__main,
  .mgx-cart-modern,
  body.mgx-checkout-page .mgx-co-hero,
  body.mgx-checkout-page .mgx-co-workspace,
  .mgx-legal-hero {
    width: calc(100% - 28px);
  }

  body .mgx-module-header,
  body .mgx-elementor-section--header .mgx-module-header {
    min-height: 78px !important;
    padding-block: 6px !important;
  }

  body .mgx-module-brand img {
    width: 56px !important;
    height: 56px !important;
    flex-basis: 56px !important;
  }

  body .mgx-module-brand strong {
    width: 106px;
    font-size: 17px;
  }

  body .mgx-module-menu-toggle,
  body .mgx-module-cart {
    min-width: 46px;
    min-height: 46px;
  }

  body .mgx-module-header nav {
    top: calc(100% + 8px);
    padding: 8px;
    border: 1px solid var(--mgx-line);
    border-radius: var(--mgx-radius-md);
    background: rgba(255, 253, 249, .98);
    box-shadow: var(--mgx-shadow-lift);
  }

  body .mgx-module-header nav a {
    min-height: 48px;
    padding-inline: 14px !important;
    border-radius: 10px;
  }

  .mgx-home-v4-hero,
  .mgx-bottega-experience .mgx-bottega-hero,
  .mgx-gift-page__main,
  .mgx-diary-hero,
  .mgx-recipes__hero,
  .mgx-recipe-single__hero,
  .mgx-legal-hero {
    margin-top: 10px;
    border-radius: 22px;
  }

  .mgx-home-v4-method,
  .mgx-home-creations,
  .mgx-home-budget,
  .mgx-home-v4-recipes,
  .mgx-home-care,
  .mgx-home-v4-faq {
    padding-block: 64px;
  }

  .mgx-gift-showcase {
    display: grid;
    margin-top: 64px;
    padding: 12px;
    border-radius: 22px;
  }

  .mgx-gift-showcase--page {
    margin-top: 10px;
  }

  .mgx-gift-showcase__photo,
  .mgx-gift-showcase__photo img {
    min-height: 460px;
  }

  .mgx-gift-showcase__photo {
    border-radius: 16px;
  }

  .mgx-gift-showcase__photo img {
    object-position: 50% 31%;
  }

  .mgx-gift-showcase__panel {
    margin: -1px 0 0;
    padding: 38px 18px 26px;
    border-radius: 0 0 16px 16px;
  }

  .mgx-gift-showcase__panel h1,
  .mgx-gift-showcase__panel h2 {
    max-width: 11ch;
    font-size: clamp(40px, 12vw, 54px);
  }

  .mgx-gift-showcase__lead {
    margin: 16px 0 24px;
    font-size: 16px;
  }

  .mgx-gift-showcase__steps {
    margin-bottom: 22px;
  }

  .mgx-gift-showcase__steps span {
    width: 32px;
    height: 32px;
  }

  .mgx-gift-showcase__steps li::after {
    width: calc(100% - 32px);
    top: 15px;
    left: calc(50% + 16px);
  }

  .mgx-gift-showcase__steps strong {
    font-size: 10px;
  }

  .mgx-gift-showcase__summary {
    font-size: 14px;
  }

  .mgx-gift-showcase__secondary {
    font-size: 14px;
    text-align: center;
  }

  .mgx-gift-showcase__assurances {
    grid-template-columns: 1fr;
    gap: 0;
    margin-bottom: 64px;
    padding-block: 12px;
  }

  .mgx-gift-showcase__assurances > span {
    min-height: 48px;
    justify-content: flex-start;
    border-right: 0;
    border-bottom: 1px solid var(--mgx-line);
  }

  .mgx-gift-showcase__assurances > span:last-child {
    border-bottom: 0;
  }

  .mgx-gift-page__main {
    margin-top: 0;
    border-radius: 0;
  }

  .mgx-gift-builder-section {
    padding-block: 64px;
  }

  .mgx-gift-builder-section > header {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 30px;
  }

  .mgx-gift-builder-section > header .mgx-home-v4-kicker,
  .mgx-gift-builder-section .mgx-gift-page__budget {
    grid-column: 1;
    margin: 0;
  }

  .mgx-gift-builder-section > header h2 {
    font-size: clamp(40px, 12vw, 54px);
  }

  .mgx-gift-occasions {
    padding-block: 70px;
  }

  .mgx-gift-occasions > header,
  .mgx-gift-faq {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .mgx-gift-occasions h2,
  .mgx-gift-arrival h2,
  .mgx-gift-corporate h2,
  .mgx-gift-faq h2 {
    font-size: clamp(40px, 12vw, 54px);
  }

  .mgx-gift-occasions > header > p {
    font-size: 15px;
  }

  .mgx-gift-occasions__grid {
    display: flex;
    gap: 10px;
    margin-right: -14px;
    overflow-x: auto;
    padding: 0 14px 12px 0;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .mgx-gift-occasions__grid::-webkit-scrollbar {
    display: none;
  }

  .mgx-gift-occasions__grid > a,
  .mgx-gift-occasions__grid > a:nth-child(n),
  .mgx-gift-occasions__grid > a:last-child {
    width: min(82vw, 310px);
    min-width: min(82vw, 310px);
    min-height: 190px;
    grid-column: auto;
    padding: 22px;
    border-radius: 20px;
    scroll-snap-align: start;
  }

  .mgx-gift-arrival {
    width: 100%;
    border-radius: 22px;
  }

  .mgx-gift-arrival__media,
  .mgx-gift-arrival__media img {
    min-height: 430px;
  }

  .mgx-gift-arrival__copy {
    padding: 42px 20px 30px;
  }

  .mgx-gift-arrival ol {
    grid-template-columns: 1fr;
  }

  .mgx-gift-arrival li {
    min-height: 0;
  }

  .mgx-gift-arrival__cta {
    width: 100%;
    justify-content: center;
  }

  .mgx-gift-corporate {
    width: 100%;
    margin-top: 14px;
    padding: 42px 22px;
    border-radius: 22px;
  }

  .mgx-gift-corporate a {
    width: 100%;
    justify-content: center;
  }

  .mgx-gift-faq {
    padding-block: 76px;
  }

  .mgx-gift-faq > header {
    position: static;
  }

  .mgx-gift-faq summary {
    min-height: 76px;
    font-size: 16px;
  }

  .mgx-bottega-experience .mgx-toolbar {
    align-items: stretch;
    flex-direction: column;
    border-radius: var(--mgx-radius-lg);
  }

  .mgx-bottega-experience .mgx-filters {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mgx-bottega-experience .mgx-filters button {
    width: 100%;
  }

  .mgx-bottega-experience .mgx-search {
    width: 100%;
    border: 0;
  }

  .mgx-product-experience {
    width: calc(100% - 28px);
  }

  .mgx-product-experience .mgx-standalone-breadcrumb {
    overflow: hidden;
    font-size: 9px;
  }

  .mgx-product-experience .mgx-standalone-breadcrumb strong {
    display: none;
  }

  .mgx-product-experience .mgx-product-hero {
    border-radius: 22px;
  }

  .mgx-product-experience .mgx-product-gallery-v2 {
    min-height: 0;
    grid-template-columns: 1fr;
    grid-template-rows: minmax(390px, 64vh) auto;
    gap: 12px;
    padding: 14px;
  }

  .mgx-product-experience .mgx-product-gallery-stage {
    min-height: 390px;
    grid-column: 1;
    grid-row: 1;
    border-radius: 17px;
  }

  .mgx-product-experience .mgx-product-thumbs {
    width: auto;
    grid-column: 1;
    grid-row: 2;
    grid-template-columns: repeat(2, 64px);
    justify-content: center;
  }

  .mgx-product-experience .mgx-product-thumbs button,
  .mgx-product-experience .mgx-product-thumbs button:hover,
  .mgx-product-experience .mgx-product-thumbs button:focus {
    width: 64px;
    height: 64px;
    min-width: 64px;
    min-height: 64px;
  }

  .mgx-product-experience .mgx-product-purchase-v2 {
    margin: -1px 0 0;
    padding: 36px 20px 30px;
    border-radius: 0 0 22px 22px;
  }

  .mgx-product-experience .mgx-product-purchase-v2 > h1 {
    max-width: 11ch;
    font-size: clamp(40px, 12vw, 54px);
  }

  .mgx-product-experience .mgx-product-description {
    margin-block: 17px 20px;
    font-size: 15px;
  }

  .mgx-product-experience .mgx-product-commercial-line {
    gap: 24px;
  }

  .mgx-product-experience .mgx-product-order > form.cart,
  .mgx-product-experience .mgx-product-native-form .single_variation_wrap .woocommerce-variation-add-to-cart {
    grid-template-columns: 1fr;
  }

  .mgx-product-experience .mgx-product-quantity {
    grid-template-columns: minmax(0, 1fr) 56px 60px 56px;
  }

  .mgx-product-experience .mgx-product-gift-link {
    min-height: 48px;
  }

  .mgx-product-experience .mgx-product-assurances {
    flex-wrap: wrap;
  }

  .mgx-product-experience .mgx-product-below-fold {
    grid-template-columns: 1fr;
    padding-top: 4px;
  }

  .mgx-product-experience .mgx-product-method-link {
    width: 100%;
    justify-content: center;
  }

  .mgx-product-experience .mgx-product-transparency {
    grid-template-columns: 1fr;
    margin-inline: calc(50% - 50vw);
    padding: 64px 14px;
  }

  .mgx-gift-builder > footer {
    bottom: 6px;
    align-items: stretch;
    flex-direction: column;
    border-radius: var(--mgx-radius-md);
  }

  .mgx-gift-builder > footer button {
    width: 100%;
  }

  .mgx-cart-drawer {
    border-radius: 22px 22px 0 0;
  }

  body.mgx-checkout-page .mgx-co-card,
  body.mgx-checkout-page .mgx-live-step,
  body.mgx-checkout-page .mgx-live-review,
  body.mgx-checkout-page #payment,
  body.mgx-checkout-page .woocommerce-checkout-review-order {
    border-radius: var(--mgx-radius-md) !important;
  }
}

@media (max-width: 380px) {
  .mgx-product-experience .mgx-product-gallery-v2 {
    grid-template-rows: 350px auto;
  }

  .mgx-product-experience .mgx-product-gallery-stage {
    min-height: 350px;
  }

  .mgx-product-experience .mgx-product-commercial-line {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mgx-shop *,
  .mgx-recipes *,
  .mgx-co * {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Home 3.18.6 — Ricette: una proposta editoriale, non un elenco. */
.mgx-gift-occasion-context {
  padding: 20px;
  border-left: 3px solid var(--mgx-salmon);
  border-radius: 12px;
  background: rgba(255, 250, 245, .94);
  line-height: 1.7;
}
.mgx-gift-occasion-context a { display: block; width: fit-content; margin-top: 10px; }
#mgx-regali-aziendali, #mgx-componi, #mgx-gift-creazione, #mgx-gift-abbinamento, #mgx-gift-dedica { scroll-margin-top: 140px; }
.mgx-home-v4-recipes.mgx-home-recipes-feature {
  width: min(1344px, calc(100% - 64px));
  min-height: 760px;
  display: grid;
  grid-template-columns: minmax(0, 1.58fr) minmax(390px, 1fr);
  align-items: stretch;
  gap: clamp(44px, 5vw, 72px);
  margin: clamp(64px, 8vw, 116px) auto;
  padding: 40px;
  overflow: hidden;
  border: 1px solid rgba(13, 42, 61, .07);
  border-radius: var(--mgx-radius-xl);
  background: rgba(255, 250, 245, .94);
  box-shadow: var(--mgx-shadow-soft);
}

.mgx-home-recipes-feature__visual {
  min-width: 0;
  min-height: 680px;
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: calc(var(--mgx-radius-xl) - 7px);
  background: #d8d5d1;
  color: #fff !important;
}

.mgx-home-recipes-feature__visual::after {
  position: absolute;
  inset: 42% 0 0;
  background: linear-gradient(180deg, rgba(7, 31, 45, 0), rgba(7, 31, 45, .86));
  content: "";
  pointer-events: none;
}

.mgx-home-recipes-feature__visual > img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  display: block;
  object-fit: cover;
  transition: transform .55s cubic-bezier(.2, .7, .2, 1);
}

.mgx-home-recipes-feature__visual:hover > img,
.mgx-home-recipes-feature__visual:focus-visible > img {
  transform: scale(1.025);
}

.mgx-home-recipes-feature__badge {
  position: absolute;
  z-index: 2;
  top: 24px;
  left: 24px;
  padding: 12px 17px;
  border-radius: 999px;
  background: rgba(255, 250, 245, .94);
  color: var(--mgx-ink);
  font-family: var(--mgx-sans);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .12em;
  line-height: 1;
  text-transform: uppercase;
}

.mgx-home-recipes-feature__visual-copy {
  position: absolute;
  z-index: 2;
  right: 32px;
  bottom: 34px;
  left: 32px;
  display: grid;
  gap: 12px;
}

.mgx-home-recipes-feature__visual-copy small {
  color: rgba(255, 255, 255, .84);
  font-family: var(--mgx-sans);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.mgx-home-recipes-feature__visual-copy strong {
  max-width: 650px;
  color: #fff;
  font-family: var(--mgx-display);
  font-size: clamp(27px, 2.6vw, 40px);
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.12;
}

.mgx-home-recipes-feature__content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px 10px 22px 0;
}

.mgx-home-recipes-feature__content h2 {
  max-width: 520px;
  margin: 18px 0 28px;
  color: var(--mgx-ink);
  font-family: var(--mgx-display);
  font-size: clamp(46px, 4.2vw, 64px);
  font-weight: 700;
  letter-spacing: -.04em;
  line-height: .99;
}

.mgx-home-recipes-feature__content h2 em {
  display: inline-block;
  color: var(--mgx-salmon);
  font-weight: 400;
}

.mgx-home-recipes-feature__lead {
  max-width: 470px;
  margin: 0;
  padding-top: 27px;
  border-top: 1px solid var(--mgx-line);
  color: rgba(13, 42, 61, .70);
  font-family: var(--mgx-display);
  font-size: 17px;
  line-height: 1.7;
}

.mgx-home-recipes-feature__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 25px;
  margin-top: 32px;
}

.mgx-home-recipes-feature__actions .mgx-home-v4-button {
  flex: 0 0 auto;
  max-width: 100%;
  border-color: var(--mgx-salmon);
  background: var(--mgx-salmon);
  color: #fff !important;
}

.mgx-home-recipes-feature__actions .mgx-home-v4-text-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border-bottom: 1px solid var(--mgx-ink);
  color: var(--mgx-ink);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.mgx-home-recipes-feature__secondary {
  min-width: 0;
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr) 48px;
  align-items: center;
  gap: 20px;
  margin-top: 38px;
  padding: 20px 0;
  border-top: 1px solid var(--mgx-line);
  border-bottom: 1px solid var(--mgx-line);
  color: var(--mgx-ink);
}

.mgx-home-recipes-feature__secondary-image {
  width: 118px;
  height: 112px;
  display: block;
  overflow: hidden;
  border-radius: var(--mgx-radius-md);
  background: #e5dfda;
}

.mgx-home-recipes-feature__secondary-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.mgx-home-recipes-feature__secondary-copy {
  min-width: 0;
  display: grid;
  gap: 9px;
}

.mgx-home-recipes-feature__secondary-copy small {
  color: var(--mgx-salmon);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .1em;
  line-height: 1.45;
  text-transform: uppercase;
}

.mgx-home-recipes-feature__secondary-copy strong {
  color: var(--mgx-ink);
  font-family: var(--mgx-display);
  font-size: clamp(17px, 1.5vw, 22px);
  line-height: 1.28;
}

.mgx-home-recipes-feature__secondary > i {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(13, 42, 61, .22);
  border-radius: 50%;
  font-size: 18px;
  font-style: normal;
  transition: transform .2s ease, background .2s ease;
}

.mgx-home-recipes-feature__secondary:hover > i,
.mgx-home-recipes-feature__secondary:focus-visible > i {
  background: #fff;
  transform: translateX(4px);
}

@media (max-width: 980px) {
  .mgx-home-v4-recipes.mgx-home-recipes-feature {
    min-height: 0;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    padding: 28px;
  }

  .mgx-home-recipes-feature__visual {
    min-height: 0;
    aspect-ratio: 1.18;
  }

  .mgx-home-recipes-feature__content {
    padding: 52px 20px 18px;
  }

  .mgx-home-recipes-feature__content h2,
  .mgx-home-recipes-feature__lead {
    max-width: 680px;
  }
}

@media (max-width: 620px) {
  .mgx-home-v4-recipes.mgx-home-recipes-feature {
    width: calc(100% - 28px);
    margin-block: 62px;
    padding: 12px;
    border-radius: 22px;
  }

  .mgx-home-recipes-feature__visual {
    aspect-ratio: .9;
    border-radius: 16px;
  }

  .mgx-home-recipes-feature__badge {
    top: 14px;
    left: 14px;
    padding: 10px 12px;
    font-size: 7.5px;
  }

  .mgx-home-recipes-feature__visual-copy {
    right: 18px;
    bottom: 20px;
    left: 18px;
  }

  .mgx-home-recipes-feature__visual-copy strong {
    font-size: 27px;
  }

  .mgx-home-recipes-feature__content {
    padding: 40px 8px 12px;
  }

  .mgx-home-recipes-feature__content h2 {
    margin-bottom: 24px;
    font-size: clamp(39px, 12vw, 52px);
  }

  .mgx-home-recipes-feature__lead {
    padding-top: 23px;
    font-size: 16px;
  }

  .mgx-home-recipes-feature__actions {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
    margin-top: 26px;
  }

  .mgx-home-recipes-feature__actions .mgx-home-v4-button {
    width: 100%;
  }

  .mgx-home-recipes-feature__actions .mgx-home-v4-text-link {
    width: fit-content;
  }

  .mgx-home-recipes-feature__secondary {
    grid-template-columns: 94px minmax(0, 1fr) 38px;
    gap: 13px;
    margin-top: 30px;
    padding: 16px 0;
  }

  .mgx-home-recipes-feature__secondary-image {
    width: 94px;
    height: 94px;
    border-radius: 12px;
  }

  .mgx-home-recipes-feature__secondary-copy strong {
    font-size: 16px;
  }

  .mgx-home-recipes-feature__secondary > i {
    width: 36px;
    height: 36px;
    font-size: 15px;
  }
}
