/* =============================
   repair.css – Finalna wersja z 5 kolumnami od 1515px
   ============================= */

header .navigation .mega_menu_full .mega_menu_bg {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) !important;
  gap: 15px !important;
  row-gap: 25px !important;
  max-width: 1280px !important;
  width: 100% !important;
  padding: 50px 55px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  position: absolute !important;
  top: 23px !important;
  background-color: #fff !important;
  box-shadow: 0px 0px 36px -15px rgba(66, 68, 90, 0.6) !important;
}

/* ✅ 3 kolumny: 1051px–1334px */
@media screen and (min-width: 1051px) and (max-width: 1334px) {
  header .navigation .mega_menu_full .mega_menu_bg {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

/* ✅ 4 kolumny: 1335px–1514px */
@media screen and (min-width: 1335px) and (max-width: 1514px) {
  header .navigation .mega_menu_full .mega_menu_bg {
    grid-template-columns: repeat(4, 1fr) !important;
  }
}

/* ✅ 5 kolumn: od 1515px */
@media screen and (min-width: 1515px) {
  header .navigation .mega_menu_full .mega_menu_bg {
    grid-template-columns: repeat(5, 1fr) !important;
  }
}

/* ✅ 2 kolumny: do 1024px */
@media screen and (max-width: 1024px) {
  header .navigation .mega_menu_full .mega_menu_bg {
    padding: 30px 25px !important;
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* ✅ 1 kolumna: do 768px */
@media screen and (max-width: 768px) {
  header .navigation .mega_menu_full .mega_menu_bg {
    padding: 20px 15px !important;
    grid-template-columns: 1fr !important;
  }
}

/* Obrazki – wysokości responsywne */
header .navigation .mega_menu_full .mega_menu_bg .thumb {
  width: 100% !important;
  height: 190px !important;
  display: flex !important;
}

@media screen and (max-width: 1450px) {
  header .navigation .mega_menu_full .mega_menu_bg .thumb {
    height: 150px !important;
  }
}

header .navigation .mega_menu_full .mega_menu_bg .thumb img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

header .navigation .mega_menu_full .mega_menu_bg .thumb.crop_image img {
  object-fit: contain !important;
}

