/* Scoped to page UID 36 because this file is loaded from Winkelprofil.html only.
   All existing sitewide Header/Footer styles remain untouched. */
/* The old Main.html always wraps lib.headerslideshow in a .slider div.
   This page renders its own hero and the TypoScript snippet empties lib.headerslideshow.
   Hide the now empty wrapper. This selector is only loaded on the Winkelprofil page. */
div.slider { display: none; }

/* Avoid having old default paragraph margins introduced by page-wide CSS.
   Product component spacing is already defined by product.css. */
.fibrolux-product { width:100%; max-width: none; }
/* Check visual behavior in DEV before adjusting the legacy Main.html header height.
   Existing mobile-action-bar positions at top:0 in the original design; TYPO3
   header may overlap. Make any offset adjustments only after inspecting DEV. */

/* TYPO3 DEV UID 36: remove the standalone mobile Schnellaktionen bar.
   The actual buttons have been deleted from Winkelprofil.html.
   Preserve the TYPO3 hamburger menu and product component dimensions. */
@media (max-width: 768px) {
  .fibrolux-product .mobile-action-bar { display: none !important; }
  /* Old fixed bar reserved 44 px of the 54 px top padding. */
  .fibrolux-product .mobile-product-page { padding-top: 10px !important; }
}
@media (max-width: 350px) {
  /* The old fixed bar had 42 px height on narrow phones. */
  .fibrolux-product .mobile-product-page { padding-top: 12px !important; }
}

/* GFK Winkelprofil DEV (UID 36): reduce the empty gap between TYPO3
   navigation and the desktop hero by 48px. Preserve image size, internal
   product layout and all mobile styling. */
@media (min-width: 769px) {
  .fibrolux-product > .desktop-product-page {
    position: relative;
    top: -48px;
    margin-bottom: -48px;
  }
}
