/* 3.19.11 — Bottega and product proportions, within the Diario visual system. */

/* The opening remains a gift introduction, with room for the catalogue below. */
.mgx-shop.mgx-bottega-3190 .mgx-gift-opening--3192 { margin-block: 0 0; }
.mgx-shop.mgx-bottega-3190 .mgx-gift-opening--3192.is-single {
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  min-height: 0;
}
.mgx-shop.mgx-bottega-3190 .mgx-gift-opening--3192.is-single > header {
  padding: 28px 32px;
  gap: 18px;
}
.mgx-shop.mgx-bottega-3190 .mgx-gift-opening--3192 h2 {
  max-width: 24ch;
  font-size: clamp(27px,2.5vw,32px);
  line-height: 1.3;
}
.mgx-shop.mgx-bottega-3190 .mgx-gift-opening__kicker { margin-bottom: 12px; }
.mgx-shop.mgx-bottega-3190 .mgx-gift-opening--3192.is-single .mgx-gift-opening__rail,
.mgx-shop.mgx-bottega-3190 .mgx-gift-opening--3192.is-single .mgx-gift-opening__rail > a { min-height: 0; height: 100%; }
.mgx-shop.mgx-bottega-3190 .mgx-gift-opening--3192.is-single .mgx-gift-opening__rail img {
  width: 100%; height: 330px; aspect-ratio: auto; object-fit: contain;
}
.mgx-shop.mgx-bottega-3190 .mgx-gift-opening--3192:not(.is-single) > header { margin-bottom: 20px; }
.mgx-shop.mgx-bottega-3190 .mgx-gift-opening--3192:not(.is-single) .mgx-gift-opening__rail img {
  height: 230px; aspect-ratio: auto; object-fit: contain;
}

/* A compact, visible toolbar and one rhythm between the five families. */
.mgx-shop.mgx-catalogue-3190 .mgx-catalogue { padding-block: 48px; }
.mgx-shop.mgx-catalogue-3190 #mgx-bottega { scroll-margin-top: 112px; }
.mgx-shop.mgx-catalogue-3190 .mgx-heading { margin-bottom: 24px; gap: 24px 32px; }
.mgx-shop.mgx-catalogue-3190 .mgx-toolbar {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(200px,260px);
  align-items: start; gap: 16px; padding: 12px;
}
.mgx-shop.mgx-catalogue-3190 .mgx-filters { min-width: 0; gap: 6px; }
.mgx-shop.mgx-catalogue-3190 .mgx-filters button { min-height: 44px; padding: 10px 12px; }
.mgx-shop.mgx-catalogue-3190 .mgx-search { min-width: 0; width: 100%; max-width: none; }
.mgx-shop.mgx-catalogue-3190 .mgx-search input { min-height: 46px; }
.mgx-shop.mgx-catalogue-3190 .mgx-catalogue-status { margin-top: 12px; }
.mgx-shop.mgx-catalogue-3190 .mgx-category-group { margin-top: 32px; }
.mgx-shop.mgx-catalogue-3190 .mgx-category-group + .mgx-category-group { margin-top: 48px; padding-top: 32px; }
.mgx-shop.mgx-catalogue-3190 .mgx-category-heading { margin-bottom: 24px; }
.mgx-shop.mgx-catalogue-3190 .mgx-products { gap: 24px; }
.mgx-shop.mgx-catalogue-3190 .mgx-products.has-few-products { grid-template-columns: repeat(2,minmax(0,1fr)); }
.mgx-shop.mgx-catalogue-3190 .mgx-products.has-few-products > .mgx-product:only-child { grid-column: 1 / -1; }
.mgx-shop.mgx-catalogue-3190 .mgx-product__image { aspect-ratio: 4 / 3; max-height: 290px; }
.mgx-shop.mgx-catalogue-3190 .mgx-creation__visual > img { width: 100%; height: 100%; object-fit: contain !important; }
.mgx-shop.mgx-catalogue-3190 .mgx-product__info { padding: 22px; }
.mgx-shop.mgx-catalogue-3190 .mgx-product__info h4 { font-size: 23px; line-height: 1.35; }
.mgx-shop.mgx-catalogue-3190 .mgx-creation__description { margin-top: 10px; }
.mgx-shop.mgx-catalogue-3190 .mgx-creation__formats { margin-top: 16px; }
.mgx-shop.mgx-catalogue-3190 .mgx-creation__formats legend { margin-bottom: 8px; }
.mgx-shop.mgx-catalogue-3190 .mgx-creation__formats a { min-height: 44px; padding-block: 9px; }
.mgx-shop.mgx-catalogue-3190 .mgx-creation__status { min-height: 0; margin-top: 10px; }
/* Keep the live announcement in the accessibility tree, even with no stock warning. */
.mgx-shop.mgx-catalogue-3190 .mgx-creation__status:has(> [data-creation-stock][hidden]) { margin-top: 0; }
.mgx-shop.mgx-catalogue-3190 .mgx-product__buy { margin-top: auto; padding-top: 18px; gap: 12px; }
.mgx-shop.mgx-catalogue-3190 .mgx-product__buy > strong { font-size: 26px; line-height: 1.35; }
.mgx-shop.mgx-catalogue-3190 .mgx-product__buy .mgx-add { min-height: 52px; }
.mgx-shop.mgx-catalogue-3190 .mgx-product .mgx-quickview-trigger { min-height: 44px; margin-top: 10px; padding-top: 10px; }

/* Riserva and Bottarga keep their featured composition without an oversized image. */
.mgx-shop.mgx-catalogue-3190 .mgx-products.has-few-products > .mgx-product:only-child {
  grid-template-columns: minmax(0,.45fr) minmax(0,.55fr);
  align-items: stretch;
}
.mgx-shop.mgx-catalogue-3190 .mgx-products.has-few-products > .mgx-product:only-child > .mgx-product__image {
  align-self: center; min-height: 0; height: 360px; max-height: 360px; aspect-ratio: auto;
}
.mgx-shop.mgx-catalogue-3190 .mgx-products.has-few-products > .mgx-product:only-child .mgx-product__info {
  padding: 28px 32px; justify-content: center;
}
.mgx-shop.mgx-catalogue-3190 .mgx-products.has-few-products > .mgx-product:only-child .mgx-product__info h4 { font-size: 28px; line-height: 1.35; }
.mgx-shop.mgx-catalogue-3190 .mgx-products.has-few-products > .mgx-product:only-child .mgx-product__buy { margin-top: 0; width: 100%; max-width: 430px; }
.mgx-shop.mgx-catalogue-3190 .mgx-products.has-few-products > .mgx-product:only-child > .mgx-media-trigger { right: calc(55% + 18px); }

/* Product shares the header's exact width; thumbnail navigation sits below the photo. */
body.mgx-product-page .mgx-shop .mgx-standalone-product.mgx-product-experience,
.mgx-shop .mgx-standalone-product.mgx-product-experience {
  width: min(1280px,calc(100% - 2 * var(--mgx-premium-gutter,24px)));
  max-width: none; margin-inline: auto;
}
.mgx-shop .mgx-product-experience .mgx-standalone-breadcrumb { min-height: 0; margin-bottom: 12px; padding-block: 16px; flex-wrap: wrap; }
.mgx-shop .mgx-product-experience .mgx-product-hero {
  grid-template-columns: minmax(0,1.04fr) minmax(0,.96fr);
  align-items: start; min-height: 0; gap: 0; margin-bottom: 24px; padding: 0;
  background: #fffdf9;
}
.mgx-shop .mgx-product-experience .mgx-product-gallery-v2,
.mgx-shop .mgx-product-experience .mgx-product-gallery-v2.is-single {
  grid-template-columns: minmax(0,1fr); grid-template-rows: auto auto;
  align-content: start; min-height: 0; min-width: 0; padding: 20px; gap: 14px;
}
.mgx-shop .mgx-product-experience .mgx-product-gallery-v2.is-single { grid-template-rows: auto; }
.mgx-shop .mgx-product-experience .mgx-product-gallery-stage {
  grid-column: 1; grid-row: 1; min-width: 0; min-height: 0;
  width: 100%; height: clamp(300px,34vw,440px); padding: 0;
}
.mgx-shop .mgx-product-experience .mgx-product-gallery-stage .mgx-product-main-image {
  width: 100%; height: 100%; max-width: 100%; max-height: 100%; object-fit: contain !important;
}
.mgx-shop .mgx-product-experience .mgx-product-thumbs {
  position: static; inset: auto; grid-column: 1; grid-row: 2;
  display: flex; flex-wrap: nowrap; justify-content: flex-start; gap: 10px;
  width: 100%; max-width: 100%; max-height: none; margin: 0; padding: 3px 2px 7px;
  overflow-x: auto; overflow-y: hidden; scrollbar-width: thin;
}
.mgx-shop .mgx-product-experience .mgx-product-thumbs button,
.mgx-shop .mgx-product-experience .mgx-product-thumbs button:hover,
.mgx-shop .mgx-product-experience .mgx-product-thumbs button:focus {
  flex: 0 0 64px; width: 64px; min-width: 64px; height: 64px; min-height: 64px;
}
.mgx-shop .mgx-product-experience .mgx-product-purchase-v2 {
  align-self: start; justify-content: flex-start; margin: 0; padding: 32px; min-width: 0;
}
.mgx-shop .mgx-product-experience .mgx-product-overline { margin-bottom: 12px; }
.mgx-shop .mgx-product-experience .mgx-product-purchase-v2 > h1 { max-width: none; }
.mgx-shop .mgx-product-experience .mgx-product-description { margin-block: 14px 18px; }
.mgx-shop .mgx-product-experience .mgx-product-commercial-line { gap: 16px 24px; padding-block: 14px; }
.mgx-shop .mgx-product-experience .mgx-product-order { padding: 0; }
.mgx-shop .mgx-product-experience .mgx-product-order > form.cart { grid-template-columns: minmax(0,1fr); gap: 12px; margin-top: 12px; }
.mgx-shop .mgx-product-experience .mgx-product-quantity {
  grid-template-columns: minmax(0,1fr) 44px 48px 44px;
  width: min(100%,220px); min-height: 54px; overflow: visible;
}
/* Legacy quantity rules use important sizes, including hovered and focused buttons. */
.mgx-shop .mgx-product-experience .mgx-product-quantity > button,
.mgx-shop .mgx-product-experience .mgx-product-quantity > button:hover,
.mgx-shop .mgx-product-experience .mgx-product-quantity > button:focus {
  min-width: 44px !important; height: 52px !important; min-height: 52px !important;
  padding: 0 !important; font-size: 20px !important; line-height: 1 !important;
  justify-content: center !important; justify-items: center; align-items: center;
}
.mgx-shop .mgx-product-experience .mgx-product-quantity > input[type="number"] { font-size: 17px !important; line-height: 1.2 !important; }
.mgx-shop .mgx-product-experience .mgx-product-order > form.cart > button[type="submit"] {
  min-height: 54px; height: auto; justify-content: center; gap: 12px;
  padding: 14px 18px !important; font-size: 16px !important; line-height: 1.5;
  white-space: normal; overflow-wrap: break-word;
}
.mgx-shop .mgx-product-experience .mgx-product-gift-link { margin-top: 12px; }
.mgx-shop .mgx-product-experience .mgx-product-assurances { margin-top: 8px; padding-top: 12px; gap: 8px; }
.mgx-shop .mgx-product-experience .mgx-product-assurances span { min-height: 0; border: 0; }

/* Remove the old 72 + 72 pixel section gap and size headings by their role. */
.mgx-shop .mgx-product-experience .mgx-product-below-fold {
  grid-template-columns: repeat(auto-fit,minmax(min(100%,220px),1fr));
  gap: 16px 24px; margin: 0; padding: 0 0 32px;
}
.mgx-shop .mgx-product-experience .mgx-product-copy-details { min-width: 0; margin: 0; }
.mgx-shop .mgx-product-experience .mgx-product-copy-details > summary {
  min-height: 56px; padding-block: 16px; font-size: 16px; font-weight: 400;
  letter-spacing: 0; text-transform: none;
}
.mgx-shop .mgx-product-experience .mgx-product-method-link { min-height: 56px; padding-block: 16px; }
.mgx-shop .mgx-product-experience :is(.mgx-product-related,.mgx-product-recipes) { padding-block: 48px; }
.mgx-shop .mgx-product-experience .mgx-product-below-fold + .mgx-product-related { padding-top: 16px; }
.mgx-shop .mgx-product-experience .mgx-product-recipes + .mgx-product-related { padding-top: 0; }
.mgx-shop .mgx-product-experience :is(.mgx-product-related,.mgx-product-recipes) > header { margin-bottom: 24px; gap: 20px 32px; }
.mgx-shop .mgx-product-experience :is(.mgx-product-related,.mgx-product-recipes,.mgx-product-transparency,.mgx-riserva-brochure) h2 {
  font-size: clamp(28px,3.2vw,40px); line-height: 1.3;
}
.mgx-shop .mgx-product-experience .mgx-product-transparency { padding: 32px; gap: 32px; }
.mgx-shop .mgx-product-experience .mgx-product-related article .mgx-related-visual { min-height: 0; height: 260px; padding: 20px; }
.mgx-shop .mgx-product-experience .mgx-product-related article .mgx-related-visual img { width: 100%; height: 100%; max-height: 100%; object-fit: contain !important; }

@media (min-width: 1200px) {
  .mgx-shop .mgx-product-experience .mgx-product-order > form.cart { grid-template-columns: 200px minmax(0,1fr); align-items: stretch; }
  .mgx-shop .mgx-product-experience .mgx-product-quantity { width: 100%; }
}
@media (max-width: 1000px) {
  .mgx-shop.mgx-catalogue-3190 .mgx-toolbar { grid-template-columns: minmax(0,1fr); gap: 12px; }
  .mgx-shop.mgx-catalogue-3190 .mgx-products { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .mgx-shop.mgx-catalogue-3190 .mgx-products.has-few-products > .mgx-product:only-child .mgx-product__info { padding: 24px; }
}
@media (max-width: 980px) {
  .mgx-shop .mgx-product-experience .mgx-product-hero { grid-template-columns: minmax(0,1fr); }
  .mgx-shop .mgx-product-experience .mgx-product-purchase-v2 { padding: 28px; }
  .mgx-shop .mgx-product-experience .mgx-product-gallery-stage { height: clamp(300px,44vw,400px); }
  .mgx-shop .mgx-product-experience .mgx-product-transparency { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 760px) {
  .mgx-shop.mgx-bottega-3190 .mgx-gift-opening--3192.is-single { display: flex; flex-direction: column; }
  .mgx-shop.mgx-bottega-3190 .mgx-gift-opening--3192.is-single > header { padding: 24px; gap: 14px; }
  .mgx-shop.mgx-bottega-3190 .mgx-gift-opening--3192.is-single .mgx-gift-opening__rail img { height: 230px; }
  .mgx-shop.mgx-catalogue-3190 .mgx-catalogue { padding-block: 32px; }
  .mgx-shop.mgx-catalogue-3190 .mgx-category-group + .mgx-category-group { margin-top: 40px; padding-top: 28px; }
  .mgx-shop .mgx-product-experience .mgx-product-gallery-v2,
  .mgx-shop .mgx-product-experience .mgx-product-gallery-v2.is-single { padding: 16px; gap: 10px; }
  .mgx-shop .mgx-product-experience .mgx-product-gallery-stage { height: clamp(240px,72vw,320px); }
  .mgx-shop .mgx-product-experience .mgx-product-purchase-v2 { padding: 24px; }
  .mgx-shop .mgx-product-experience .mgx-product-below-fold { grid-template-columns: minmax(0,1fr); gap: 0; padding-bottom: 24px; }
  .mgx-shop .mgx-product-experience .mgx-product-below-fold + .mgx-product-related { padding-top: 24px; }
  .mgx-shop .mgx-product-experience .mgx-product-transparency { padding: 24px; gap: 24px; }
  .mgx-shop .mgx-product-experience :is(.mgx-product-related,.mgx-product-recipes) > header { flex-wrap: wrap; }
}
@media (max-width: 720px) {
  /* Match the existing mobile form selector so its old 12px CTA cannot win. */
  body.mgx-product-page .mgx-shop .mgx-product-experience .mgx-product-order form.cart > button[type="submit"] {
    min-height: 54px !important; padding: 14px 18px !important;
    font-size: 16px !important; line-height: 1.5 !important; justify-content: center !important;
    overflow: visible !important;
  }
}
@media (max-width: 680px) {
  .mgx-shop.mgx-catalogue-3190 .mgx-filters {
    display: grid; grid-template-columns: repeat(2,minmax(0,1fr));
    width: 100%; gap: 6px; overflow: visible;
  }
  .mgx-shop.mgx-catalogue-3190 .mgx-filters button {
    width: 100%; min-width: 0; min-height: 56px; padding: 8px !important;
    font-size: 14px !important; line-height: 1.4; white-space: normal;
  }
  .mgx-shop.mgx-catalogue-3190 .mgx-products,
  .mgx-shop.mgx-catalogue-3190 .mgx-products.has-few-products { grid-template-columns: minmax(0,1fr); gap: 20px; }
  .mgx-shop.mgx-catalogue-3190 .mgx-products.has-few-products > .mgx-product:only-child { display: flex; }
  .mgx-shop.mgx-catalogue-3190 .mgx-product__image,
  .mgx-shop.mgx-catalogue-3190 .mgx-products.has-few-products > .mgx-product:only-child > .mgx-product__image {
    width: 100%; height: auto; max-height: 280px; min-height: 0; aspect-ratio: 4 / 3;
  }
  .mgx-shop.mgx-catalogue-3190 .mgx-products.has-few-products > .mgx-product:only-child .mgx-product__info { padding: 22px; }
  .mgx-shop.mgx-catalogue-3190 .mgx-products.has-few-products > .mgx-product:only-child .mgx-product__info h4 { font-size: 25px; }
  .mgx-shop.mgx-catalogue-3190 .mgx-products.has-few-products > .mgx-product:only-child > .mgx-media-trigger { right: 18px; }
  .mgx-shop .mgx-product-experience .mgx-product-related article .mgx-related-visual { height: 230px; }
}
@media (max-width: 540px) {
  body.mgx-product-page .mgx-shop .mgx-standalone-product.mgx-product-experience,
  .mgx-shop .mgx-standalone-product.mgx-product-experience { width: calc(100% - 32px) !important; }
  .mgx-shop .mgx-product-experience .mgx-product-purchase-v2 { padding: 24px 20px; }
  .mgx-shop .mgx-product-experience .mgx-product-quantity { grid-template-columns: minmax(0,1fr) 44px 48px 44px !important; }
}

/* Filtering and progressive controls keep their native hidden state at every breakpoint. */
.mgx-shop.mgx-catalogue-3190 [hidden],
.mgx-shop.mgx-bottega-3190 .mgx-gift-opening--3192 [hidden] { display: none !important; }

/* 3.19.15 — Bottega: navy, coral and paper, scoped to the shop page. */
.mgx-shop.mgx-bottega-3190 {
  --mgx-boutique-navy: #0b2b3d;
  --mgx-boutique-coral: #d7644d;
  --mgx-boutique-rust: #9d4433;
  --mgx-boutique-blush: #f0b7a6;
  --mgx-boutique-paper: #fffaf5;
}
.mgx-shop.mgx-bottega-3190 .mgx-bottega-3190__heading {
  position: relative; overflow: hidden; align-items: center; gap: 32px 64px;
  margin-block: 24px; padding: clamp(30px,4.5vw,64px);
  border-radius: 12px; border-bottom: 5px solid var(--mgx-boutique-coral);
  background: var(--mgx-boutique-navy); color: var(--mgx-boutique-paper);
}
.mgx-shop.mgx-bottega-3190 .mgx-bottega-3190__heading h1 {
  color: var(--mgx-boutique-paper); font-size: clamp(44px,6.2vw,82px); line-height: 1.12; margin-bottom: 0;
}
.mgx-shop.mgx-bottega-3190 .mgx-bottega-3190__heading .mgx-kicker { color: var(--mgx-boutique-blush); font-size: 13px; }
.mgx-shop.mgx-bottega-3190 .mgx-bottega-3190__heading .mgx-kicker::before { background: var(--mgx-boutique-coral); }
.mgx-shop.mgx-bottega-3190 .mgx-bottega-intro > p { color: #f5e8de; font-size: 20px !important; line-height: 1.65; }
.mgx-shop.mgx-bottega-3190 .mgx-bottega-intro nav { gap: 12px; margin-top: 24px; }
.mgx-shop.mgx-bottega-3190 .mgx-bottega-intro nav a {
  min-height: 48px; padding: 12px 18px; border: 1px solid #81939a; border-radius: 6px;
  color: var(--mgx-boutique-paper); font-size: 16px; text-decoration: none;
}
.mgx-shop.mgx-bottega-3190 .mgx-bottega-intro nav a:first-child { background: var(--mgx-boutique-blush); color: var(--mgx-boutique-navy); border-color: var(--mgx-boutique-blush); }
.mgx-shop.mgx-bottega-3190 .mgx-bottega-intro nav a:hover { background: var(--mgx-boutique-paper); color: var(--mgx-boutique-navy); border-color: var(--mgx-boutique-paper); }
.mgx-shop.mgx-bottega-3190 .mgx-bottega-intro nav a:focus-visible { outline: 3px solid var(--mgx-boutique-blush); outline-offset: 4px; }

/* A warm invitation to gifts; the catalogue remains the main destination. */
.mgx-shop.mgx-bottega-3190 .mgx-gift-opening--3192 { border: 1px solid #d8ad9e; border-radius: 12px; background: #f4dcd1; }
.mgx-shop.mgx-bottega-3190 .mgx-gift-opening--3192.is-single { grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr); }
.mgx-shop.mgx-bottega-3190 .mgx-gift-opening--3192.is-single > header { padding: 28px 36px; background: transparent; }
.mgx-shop.mgx-bottega-3190 .mgx-gift-opening--3192 h2 { max-width: 27ch; font-size: clamp(27px,2.4vw,33px); }
.mgx-shop.mgx-bottega-3190 .mgx-gift-opening--3192.is-single .mgx-gift-opening__rail img { height: 290px; object-fit: cover; object-position: 50% 46%; }
.mgx-shop.mgx-bottega-3190 .mgx-gift-opening__kicker { color: var(--mgx-boutique-rust); }

/* Navigation and family introductions read as one editorial catalogue. */
.mgx-shop.mgx-bottega-3190 .mgx-catalogue-3190 .mgx-catalogue { padding-block: 64px; }
.mgx-shop.mgx-bottega-3190 .mgx-catalogue-3190 .mgx-heading { margin-bottom: 32px; }
.mgx-shop.mgx-bottega-3190 .mgx-catalogue-3190 .mgx-heading h2 { font-size: clamp(32px,3.8vw,49px); }
.mgx-shop.mgx-bottega-3190 .mgx-catalogue-3190 .mgx-toolbar {
  grid-template-columns: minmax(0,1fr) 250px; align-items: center; gap: 20px;
  border: 0; border-radius: 10px; padding: 18px; background: var(--mgx-boutique-navy);
}
.mgx-shop.mgx-bottega-3190 .mgx-catalogue-3190 .mgx-filters { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 6px; }
.mgx-shop.mgx-bottega-3190 .mgx-catalogue-3190 .mgx-filters button {
  min-height: 44px; padding: 10px 12px; border-radius: 5px !important; border: 1px solid transparent !important;
  background: transparent !important; color: var(--mgx-boutique-paper) !important; font-size: 15px !important;
}
.mgx-shop.mgx-bottega-3190 .mgx-catalogue-3190 .mgx-filters button.is-active {
  background: var(--mgx-boutique-blush) !important; color: var(--mgx-boutique-navy) !important; border-color: var(--mgx-boutique-blush) !important;
}
.mgx-shop.mgx-bottega-3190 .mgx-catalogue-3190 .mgx-filters button:not(.is-active):hover { background: #244e60 !important; color: #fffaf5 !important; border-color: #81939a !important; }
.mgx-shop.mgx-bottega-3190 .mgx-catalogue-3190 .mgx-toolbar :is(button,input):focus-visible { outline-color: var(--mgx-boutique-blush); outline-offset: 3px; }
.mgx-shop.mgx-bottega-3190 .mgx-catalogue-3190 .mgx-search input { background: var(--mgx-boutique-paper); border: 1px solid #c7b8ad; border-radius: 5px; font-size: 16px; }
.mgx-shop.mgx-bottega-3190 .mgx-catalogue-3190 .mgx-category-group { margin-top: 40px; }
.mgx-shop.mgx-bottega-3190 .mgx-catalogue-3190 .mgx-category-group + .mgx-category-group { margin-top: 64px; padding-top: 48px; border-top: 1px solid #c7b8ad; }
.mgx-shop.mgx-bottega-3190 .mgx-catalogue-3190 .mgx-category-heading {
  display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: end; gap: 24px;
  padding: 4px 0 4px 24px; margin-bottom: 28px; border-left: 3px solid var(--mgx-boutique-coral);
}
.mgx-shop.mgx-bottega-3190 .mgx-catalogue-3190 .mgx-category-heading h3 { font-size: clamp(30px,3.4vw,44px); line-height: 1.25; margin-bottom: 12px; }
.mgx-shop.mgx-bottega-3190 .mgx-catalogue-3190 .mgx-category-heading .mgx-category-lead { max-width: 67ch; font-size: 19px; line-height: 1.6; }
.mgx-shop.mgx-bottega-3190 .mgx-catalogue-3190 .mgx-category-count { position: static; white-space: nowrap; align-self: start; padding: 9px 13px; border: 1px solid #d5b2a6; border-radius: 4px; background: #f7e7df; color: #783526; font-size: 13px; }

/* Larger photographs and quieter cards, with a distinct purchase area. */
.mgx-shop.mgx-bottega-3190 .mgx-catalogue-3190 .mgx-products { gap: 28px; }
.mgx-shop.mgx-bottega-3190 .mgx-catalogue-3190 .mgx-product {
  border: 1px solid #cfc5ba; border-radius: 9px; background: var(--mgx-boutique-paper); overflow: hidden;
  box-shadow: 0 6px 22px rgba(11,43,61,.04); transition: border-color .2s ease,box-shadow .2s ease;
}
.mgx-shop.mgx-bottega-3190 .mgx-catalogue-3190 .mgx-product__image { height: auto; max-height: none; aspect-ratio: 4 / 5; background: #e9e2d7; border-bottom: 3px solid var(--mgx-boutique-coral); }
.mgx-shop.mgx-bottega-3190 .mgx-catalogue-3190 .mgx-creation__visual { width: 100%; height: 100%; }
.mgx-shop.mgx-bottega-3190 .mgx-catalogue-3190 .mgx-creation__visual > img { width: 100%; height: 100%; object-fit: contain !important; }
.mgx-shop.mgx-bottega-3190 .mgx-catalogue-3190 [data-family="cuore"] .mgx-creation__visual > img { object-fit: cover !important; object-position: 50% 57%; }
.mgx-shop.mgx-bottega-3190 .mgx-catalogue-3190 .mgx-product__info { padding: 26px; }
.mgx-shop.mgx-bottega-3190 .mgx-catalogue-3190 .mgx-product__info h4 { font-size: 25px; line-height: 1.3; }
.mgx-shop.mgx-bottega-3190 .mgx-catalogue-3190 .mgx-creation__description { display: block; color: #29434e; font-size: 17px; line-height: 1.6; margin-top: 12px; }
.mgx-shop.mgx-bottega-3190 .mgx-catalogue-3190 .mgx-creation__formats a { border-radius: 5px !important; }
.mgx-shop.mgx-bottega-3190 .mgx-catalogue-3190 .mgx-creation__formats a.is-selected { background: #f4dcd1; color: #783526; border-color: var(--mgx-boutique-rust); }
.mgx-shop.mgx-bottega-3190 .mgx-catalogue-3190 .mgx-product__buy { border-top: 1px solid #ded3c8; padding-top: 18px; margin-top: auto; gap: 12px; }
.mgx-shop.mgx-bottega-3190 .mgx-catalogue-3190 .mgx-product__buy > strong { font-size: 28px; }
.mgx-shop.mgx-bottega-3190 .mgx-catalogue-3190 .mgx-product__buy .mgx-add {
  min-height: 54px; border-radius: 5px !important; background: var(--mgx-boutique-rust) !important;
  border-color: var(--mgx-boutique-rust) !important; color: var(--mgx-boutique-paper) !important; font-size: 16px !important;
}
.mgx-shop.mgx-bottega-3190 .mgx-catalogue-3190 .mgx-product__buy .mgx-add:hover { background: #7e3327 !important; border-color: #7e3327 !important; }
.mgx-shop.mgx-bottega-3190 .mgx-catalogue-3190 .mgx-product .mgx-quickview-trigger { min-height: 46px; font-size: 15px; margin-top: 12px; }
.mgx-shop.mgx-bottega-3190 .mgx-catalogue-3190 .mgx-product .mgx-media-trigger { border-radius: 50%; border-color: #b6bcb9; background: var(--mgx-boutique-paper); }
.mgx-shop.mgx-bottega-3190 .mgx-catalogue-3190 .mgx-products.has-few-products > .mgx-product:only-child { grid-template-columns: minmax(0,1.2fr) minmax(0,1fr); }
.mgx-shop.mgx-bottega-3190 .mgx-catalogue-3190 .mgx-products.has-few-products > .mgx-product:only-child > .mgx-product__image { align-self: stretch; height: 100%; min-height: 400px; max-height: none; border-bottom: 0; border-right: 3px solid var(--mgx-boutique-coral); }
.mgx-shop.mgx-bottega-3190 .mgx-catalogue-3190 .mgx-products.has-few-products > .mgx-product:only-child .mgx-product__info { padding: 36px; }
.mgx-shop.mgx-bottega-3190 .mgx-catalogue-3190 .mgx-products.has-few-products > .mgx-product:only-child .mgx-product__buy { margin-top: 28px; max-width: none; }
.mgx-shop.mgx-bottega-3190 .mgx-catalogue-3190 .mgx-products.has-few-products > .mgx-product:only-child > .mgx-media-trigger { right: calc(45.455% + 18px); }

/* Missing product photography keeps an intentional, compact brand panel. */
.mgx-shop.mgx-bottega-3190 .mgx-catalogue-3190 .mgx-product__image.has-placeholder { height: 180px; min-height: 0; aspect-ratio: auto; }
.mgx-shop.mgx-bottega-3190 .mgx-catalogue-3190 .mgx-product__placeholder { background: var(--mgx-boutique-navy); color: var(--mgx-boutique-blush); }

/* Reserve is a signature chapter; all brochure paragraphs remain visible. */
.mgx-shop.mgx-bottega-3190 .mgx-catalogue-3190 [data-family="riserva"] > .mgx-category-heading { padding: 36px; border: 0; border-top: 4px solid var(--mgx-boutique-coral); border-radius: 9px; background: var(--mgx-boutique-navy); }
.mgx-shop.mgx-bottega-3190 .mgx-catalogue-3190 [data-family="riserva"] .mgx-category-heading h3 { color: var(--mgx-boutique-paper); }
.mgx-shop.mgx-bottega-3190 .mgx-catalogue-3190 [data-family="riserva"] .mgx-category-heading .mgx-category-lead { color: var(--mgx-boutique-blush); }
.mgx-shop.mgx-bottega-3190 .mgx-catalogue-3190 [data-family="riserva"] .mgx-category-story p { color: #f2e7de; font-size: 17px; line-height: 1.7; }
.mgx-shop.mgx-bottega-3190 .mgx-catalogue-3190 [data-family="riserva"] .mgx-category-heading .mgx-category-badge { background: #f0b7a6; color: #0b2b3d; border-color: #f0b7a6; }
.mgx-shop.mgx-bottega-3190 .mgx-catalogue-3190 [data-family="riserva"] .mgx-category-count { color: #f2e7de; background: transparent; border-color: #81939a; }

/* Continue the same colours into the gift guide, without touching its controls. */
.mgx-shop.mgx-bottega-3190 .mgx-bottega-gift-guide > header { padding: 32px; border-radius: 9px; background: #f4dcd1; border-top: 4px solid var(--mgx-boutique-coral); }
.mgx-shop.mgx-bottega-3190 .mgx-bottega-gift-guide__card { border-radius: 9px; border-color: #cfc5ba; }
.mgx-shop.mgx-bottega-3190 .mgx-regala-builder-heading { border-top: 3px solid var(--mgx-boutique-coral); padding-top: 32px; }
@media (hover:hover) {
  .mgx-shop.mgx-bottega-3190 .mgx-catalogue-3190 .mgx-product:hover { border-color: #9d4433; box-shadow: 0 12px 30px rgba(11,43,61,.08); }
}
@media (max-width: 1050px) {
  .mgx-shop.mgx-bottega-3190 .mgx-catalogue-3190 .mgx-toolbar { grid-template-columns: minmax(0,1fr); gap: 12px; }
  .mgx-shop.mgx-bottega-3190 .mgx-catalogue-3190 .mgx-search { max-width: none; }
}
@media (max-width: 760px) {
  .mgx-shop.mgx-bottega-3190 .mgx-bottega-3190__heading { grid-template-columns: minmax(0,1fr); padding: 28px 24px; gap: 24px; margin-block: 18px; }
  .mgx-shop.mgx-bottega-3190 .mgx-bottega-intro > p { font-size: 18px !important; }
  .mgx-shop.mgx-bottega-3190 .mgx-bottega-intro nav { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .mgx-shop.mgx-bottega-3190 .mgx-bottega-intro nav a { padding: 11px 10px; justify-content: space-between; gap: 6px; font-size: 15px; }
  .mgx-shop.mgx-bottega-3190 .mgx-gift-opening--3192.is-single > header { padding: 24px; }
  .mgx-shop.mgx-bottega-3190 .mgx-gift-opening--3192.is-single .mgx-gift-opening__rail img { height: 230px; }
  .mgx-shop.mgx-bottega-3190 .mgx-catalogue-3190 .mgx-catalogue { padding-block: 44px; }
  .mgx-shop.mgx-bottega-3190 .mgx-catalogue-3190 .mgx-category-group + .mgx-category-group { margin-top: 44px; padding-top: 32px; }
  .mgx-shop.mgx-bottega-3190 .mgx-catalogue-3190 .mgx-category-heading { padding-left: 16px; gap: 16px; }
  .mgx-shop.mgx-bottega-3190 .mgx-catalogue-3190 .mgx-category-heading .mgx-category-lead { font-size: 18px; }
  .mgx-shop.mgx-bottega-3190 .mgx-catalogue-3190 [data-family="riserva"] > .mgx-category-heading { padding: 24px; }
  .mgx-shop.mgx-bottega-3190 .mgx-bottega-gift-guide > header { padding: 24px; }
}
@media (max-width: 680px) {
  .mgx-shop.mgx-bottega-3190 .mgx-catalogue-3190 .mgx-toolbar { padding: 14px; }
  .mgx-shop.mgx-bottega-3190 .mgx-catalogue-3190 .mgx-filters { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .mgx-shop.mgx-bottega-3190 .mgx-catalogue-3190 .mgx-filters button { padding: 10px 8px; font-size: 14px !important; white-space: normal; }
  .mgx-shop.mgx-bottega-3190 .mgx-catalogue-3190 .mgx-category-heading { grid-template-columns: minmax(0,1fr); }
  .mgx-shop.mgx-bottega-3190 .mgx-catalogue-3190 .mgx-category-count { justify-self: start; }
  .mgx-shop.mgx-bottega-3190 .mgx-catalogue-3190 .mgx-products,
  .mgx-shop.mgx-bottega-3190 .mgx-catalogue-3190 .mgx-products.has-few-products { grid-template-columns: minmax(0,1fr); gap: 24px; }
  .mgx-shop.mgx-bottega-3190 .mgx-catalogue-3190 .mgx-product__image { aspect-ratio: 1; }
  .mgx-shop.mgx-bottega-3190 .mgx-catalogue-3190 [data-family="cuore"] .mgx-product__image { aspect-ratio: 4 / 5; }
  .mgx-shop.mgx-bottega-3190 .mgx-catalogue-3190 .mgx-product__info { padding: 24px; }
  .mgx-shop.mgx-bottega-3190 .mgx-catalogue-3190 .mgx-products.has-few-products > .mgx-product:only-child { display: flex; flex-direction: column; }
  .mgx-shop.mgx-bottega-3190 .mgx-catalogue-3190 .mgx-products.has-few-products > .mgx-product:only-child > .mgx-product__image { height: auto; min-height: 0; aspect-ratio: 4 / 3; border-right: 0; border-bottom: 3px solid var(--mgx-boutique-coral); }
  .mgx-shop.mgx-bottega-3190 .mgx-catalogue-3190 .mgx-products.has-few-products > .mgx-product:only-child .mgx-product__info { padding: 24px; }
  .mgx-shop.mgx-bottega-3190 .mgx-catalogue-3190 .mgx-products.has-few-products > .mgx-product:only-child > .mgx-media-trigger { right: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .mgx-shop.mgx-bottega-3190 .mgx-catalogue-3190 .mgx-product { transition: none; }
}

/* 3.19.16 — Keep the photograph and purchase action in the same viewing area.
   Only the media height is bounded: product text and controls may always grow. */
.mgx-shop.mgx-bottega-3190 .mgx-catalogue-3190 .mgx-product__image {
  height: clamp(180px,32vh,300px); height: clamp(180px,32svh,300px);
  min-height: 0; max-height: none; aspect-ratio: auto;
}
.mgx-shop.mgx-bottega-3190 .mgx-catalogue-3190 [data-family="cuore"] .mgx-creation__visual > img { object-position: 50% 56%; }
.mgx-shop.mgx-bottega-3190 .mgx-catalogue-3190 .mgx-product__info { padding: 20px; }
.mgx-shop.mgx-bottega-3190 .mgx-catalogue-3190 .mgx-product__info h4 { font-size: 23px; line-height: 1.3; }
.mgx-shop.mgx-bottega-3190 .mgx-catalogue-3190 .mgx-creation__description { font-size: 16px; line-height: 1.5; margin-top: 8px; margin-bottom: 12px; }
.mgx-shop.mgx-bottega-3190 .mgx-catalogue-3190 .mgx-creation__formats { margin-top: 0; margin-bottom: 12px; }
.mgx-shop.mgx-bottega-3190 .mgx-catalogue-3190 .mgx-creation__formats legend { margin-bottom: 6px; }
.mgx-shop.mgx-bottega-3190 .mgx-catalogue-3190 .mgx-product__buy {
  display: grid; grid-template-columns: minmax(64px,auto) minmax(0,1fr);
  align-items: center; gap: 10px; padding-top: 12px;
}
.mgx-shop.mgx-bottega-3190 .mgx-catalogue-3190 .mgx-product__buy > strong { font-size: 24px; min-width: 0; }
.mgx-shop.mgx-bottega-3190 .mgx-catalogue-3190 .mgx-product__buy .mgx-add {
  min-width: 0; min-height: 50px; padding: 10px 12px !important; font-size: 15px !important; line-height: 1.4;
}
.mgx-shop.mgx-bottega-3190 .mgx-catalogue-3190 .mgx-product__buy .mgx-add > span[aria-hidden="true"] { display: none; }
.mgx-shop.mgx-bottega-3190 .mgx-catalogue-3190 .mgx-product__buy .added_to_cart { grid-column: 1 / -1; }
.mgx-shop.mgx-bottega-3190 .mgx-catalogue-3190 .mgx-product .mgx-quickview-trigger {
  min-height: 44px; margin-top: 8px; padding-block: 8px; font-size: 14px;
}
.mgx-shop.mgx-bottega-3190 .mgx-catalogue-3190 .mgx-product__image.has-placeholder { height: 140px; }
.mgx-shop.mgx-bottega-3190 .mgx-catalogue-3190 .mgx-products.has-few-products > .mgx-product:only-child > .mgx-product__image {
  height: 100%; min-height: 280px; max-height: 400px; aspect-ratio: auto;
}
.mgx-shop.mgx-bottega-3190 .mgx-catalogue-3190 .mgx-products.has-few-products > .mgx-product:only-child .mgx-product__info { padding: 28px; }
.mgx-shop.mgx-bottega-3190 .mgx-catalogue-3190 .mgx-products.has-few-products > .mgx-product:only-child .mgx-product__buy { margin-top: 18px; }
@media (max-width: 680px) {
  .mgx-shop.mgx-bottega-3190 .mgx-catalogue-3190 .mgx-product__image,
  .mgx-shop.mgx-bottega-3190 .mgx-catalogue-3190 [data-family="cuore"] .mgx-product__image,
  .mgx-shop.mgx-bottega-3190 .mgx-catalogue-3190 .mgx-products.has-few-products > .mgx-product:only-child > .mgx-product__image {
    height: clamp(160px,29vh,245px); height: clamp(160px,29svh,245px);
    min-height: 0; max-height: none; aspect-ratio: auto;
  }
  .mgx-shop.mgx-bottega-3190 .mgx-catalogue-3190 .mgx-product__info,
  .mgx-shop.mgx-bottega-3190 .mgx-catalogue-3190 .mgx-products.has-few-products > .mgx-product:only-child .mgx-product__info { padding: 18px; }
  .mgx-shop.mgx-bottega-3190 .mgx-catalogue-3190 .mgx-products.has-few-products > .mgx-product:only-child .mgx-product__info h4 { font-size: 23px; }
  .mgx-shop.mgx-bottega-3190 .mgx-catalogue-3190 .mgx-products.has-few-products > .mgx-product:only-child .mgx-product__buy { margin-top: 12px; }
  .mgx-shop.mgx-bottega-3190 .mgx-catalogue-3190 .mgx-product__image.has-placeholder { height: 120px; }
}
