/* Backend layout "Produkt-Detail mit linker Navigation und Modulen volle Breite".
   Top: product navigation on the left and editable product intro/content on the right.
   Bottom: module areas render without an additional container wrapper so finished
   product-detail modules can keep their own full-width/static-template structure. */

.product-detail-fullwidth-modules-top-section {
  padding-bottom: 0;
}

.product-detail-fullwidth-modules-main > .content-area > .frame:first-child,
.product-detail-fullwidth-modules-main > .frame:first-child {
  margin-top: 0;
}

.product-detail-fullwidth-modules-bottom-section {
  background: #fff;
  color: #000;
}

.product-detail-fullwidth-modules-bottom-section > .content-area {
  width: 100%;
}

.product-detail-fullwidth-modules-bottom-section > .content-area > .frame:first-child {
  margin-top: 0;
}

.product-detail-fullwidth-modules-bottom-section > .content-area > .frame:last-child {
  margin-bottom: 0;
}

.product-detail-fullwidth-modules-bottom-section .content-area--empty {
  display: none !important;
}

body.theme-mono-light .product-detail-fullwidth-modules-bottom-section {
  background: #fff;
  color: #000;
}

body.theme-mono-dark .product-detail-fullwidth-modules-bottom-section {
  background: #000;
  color: #fff;
}

@media (max-width: 1199.98px) {
  .product-detail-fullwidth-modules-top-layout {
    grid-template-columns: 1fr;
  }

  .product-detail-fullwidth-modules-sidebar {
    display: none;
  }

  .product-detail-fullwidth-modules-main {
    grid-column: auto;
  }
}
