/* ONLINE PRICE — NEON LAB V4: artwork only; no API/JS/admin changes */
/* Desktop panorama is pre-composited at 1920×300 to avoid the bodybuilder's face being cropped. */
body:has(#store:not(.hidden)) .main-header {
  background-image: linear-gradient(90deg,rgba(1,6,4,.24),rgba(1,6,4,.02) 58%,rgba(1,6,4,.12)),url('/neon-hero-v4.webp') !important;
  background-position: center center !important;
  background-size: cover !important;
  min-height: 172px !important;
  padding-block: 18px 24px !important;
}
/* Use a genuine feathered transparent vignette rather than a rectangular cover background. */
#store .layout > section.panel::after {
  content: '' !important;
  display:block !important;
  width:100% !important;
  height: min(200px, 16vw) !important;
  min-height:120px;
  margin-top:8px !important;
  background: url('/neon-lab-v4.webp') center bottom / contain no-repeat !important;
  opacity: .88 !important;
  -webkit-mask-image: none !important;
  mask-image: none !important;
  pointer-events:none !important;
}
/* Mobile: shorter, focus on brand and navigation; no artwork between product cards. */
@media (max-width:850px) {
  body:has(#store:not(.hidden)) .main-header {
    min-height:132px !important;
    background-position: 68% center !important;
    padding:14px 16px 20px !important;
  }
  #store .layout > section.panel::after {height:105px !important;min-height:0 !important;opacity:.62 !important;}
}
@media (max-width:600px) {
  body:has(#store:not(.hidden)) .main-header {
    min-height:112px !important;
    background-position: 66% center !important;
    padding:12px 12px 16px !important;
  }
  #store .layout > section.panel::after {height:58px !important;min-height:0 !important;opacity:.38 !important;}
}

/* ONLINE PRICE NEON LAB V5 — image positioning */

/* Показываем голову и плечи бодибилдера */
body:has(#store:not(.hidden)) .main-header {
  background-position: center top !important;
}

/* Лабораторный фон плавно растворяется в каталоге */
#store .layout > section.panel::after {
  height: 220px !important;
  min-height: 220px !important;
  background-image: url('/neon-lab-v4.webp') !important;
  background-position: center bottom !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  opacity: .88 !important;
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0,0,0,.6) 25%,
    #000 70%,
    transparent 100%
  ) !important;
  mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0,0,0,.6) 25%,
    #000 70%,
    transparent 100%
  ) !important;
}

/* Планшет */
@media (max-width:850px) {
  body:has(#store:not(.hidden)) .main-header {
    background-position: 68% top !important;
  }

  #store .layout > section.panel::after {
    height: 130px !important;
    min-height: 130px !important;
    opacity: .7 !important;
  }
}

/* Телефон */
@media (max-width:600px) {
  body:has(#store:not(.hidden)) .main-header {
    background-position: 70% top !important;
  }

  #store .layout > section.panel::after {
    height: 75px !important;
    min-height: 75px !important;
    opacity: .48 !important;
  }
}
