/* Stessa larghezza del contenitore .lux-details nelle pagine Soft/Flexy.
   Hero, intestazione e footer restano a tutta larghezza. */
body > main > .benefits,
body > main > .twocol,
body > main > .section,
body > main > .feature {
  box-sizing: border-box;
  width: min(1180px, calc(100% - 32px)) !important;
  max-width: 1180px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
body > main > .twocol { grid-template-columns: repeat(3, minmax(0, 1fr)); }
body > main > .twocol > *,
body > main > .section .applications > *,
body > main > .feature > * { min-width: 0; }
body > main > .section img,
body > main > .feature img { max-width: 100%; }
@media (max-width: 850px) {
  body > main > .twocol { grid-template-columns: 1fr !important; }
}
@media (max-width: 600px) {
  body > main > .benefits,
  body > main > .twocol,
  body > main > .section,
  body > main > .feature {
    width: calc(100% - 28px) !important;
  }
}

/* Tre riquadri quadrati sotto la Hero: Soft, Flexy, Video. */
body > main > .twocol {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 16px !important;
  padding: 0 !important;
}
body > main > .twocol > article.product {
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: 1 / 1 !important;
  overflow: hidden;
}
body > main > .twocol > article.video-card video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Banner Eleganza a tutta larghezza, senza restringere il contenuto principale. */
body > main > section.feature {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
@media (max-width: 850px) {
  body > main > .twocol { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 600px) {
  body > main > .twocol { grid-template-columns: 1fr !important; gap: 14px !important; }
  body > main > section.feature { width: 100% !important; }
}

/* Centra i campioni Soft e Flexy nella sezione Colori. */
body > main > #colori .swatches {
  width: 100%;
  max-width: 850px;
  margin: 28px auto 0 !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
body > main > #colori .swatches > a { min-width: 0; }
@media (max-width: 520px) {
  body > main > #colori .swatches { grid-template-columns: 1fr; }
}
