.price_sellby {
}    
.modal{
display: none !important;
}
/* ========= WESU / IDOSELL: HEADER NA BANERZE (OVERLAY) ========= */

/* 1) Zmienna: realna wysokość headera (dopasuj raz) */
:root{
  --hdr-h: 160px; /* spróbuj 140 / 160 / 180 */
}

/* 2) Header ma leżeć NA banerze */
header,
#header,
#rwdHeader,
.iai-header,
.rwd-header,
[class*="header"],
[id*="header"]{
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 99999 !important;
  background: transparent !important;
}

/* 3) Zdejmij „rezerwację miejsca” pod header, jeśli szablon ją dodaje */
body,
#content,
#container,
main,
#main{
  padding-top: 0 !important;
}

/* 4) Podciągnij pierwszy blok strony (baner/slider/first section) pod header */
#main,
main,
#content{
  margin-top: calc(var(--hdr-h) * -1) !important;
}

/* 5) Jeśli szablon ma dodatkowy wrapper strony głównej, podciągnij też jego */
.main_page,
#main_page,
.index .main_page,
body#index #main_page,
body.index #main_page{
  margin-top: calc(var(--hdr-h) * -1) !important;
}

/* 6) Baner/slider – niech nie ucina obrazów (ważne przy 3 grafikach RWD) */
img{
  max-width: 100%;
  height: auto;
}

/* 7) Jeśli baner/slider ma narzucone cover i ucina – wymuś „contain” dla obrazów baneru
      (działa, gdy baner to <img>, a nie background-image) */
#main img,
main img,
#content img{
  object-fit: contain;
  object-position: center top;
}

/* 8) Opcjonalnie: gradient pod header dla czytelności */
header::before,
#header::before,
#rwdHeader::before{
  content:"";
  position:absolute;
  left:0; right:0; top:0;
  height: var(--hdr-h);
  background: linear-gradient(to bottom, rgba(0,0,0,.45), rgba(0,0,0,0));
  pointer-events:none;
}