/* ===== GÓRNA I DOLNA LINIA ===== */
#search_filters_wrapper {
  border-top: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
  padding: 12px 0 14px 0;
  margin: 10px 0 20px 0;
}

/* ===== ODSTĘPY MIĘDZY KOLUMNAMI ===== */
#search_filters {
  gap: 25px !important; /* kontrola odległości między filtrami */
}

/* ===== KAŻDY FILTR - LEKKIE ODSEPAROWANIE ===== */
#search_filters > section.facet {
  padding-right: 10px;
}

/* ===== DELIKATNE LINIE POD LISTĄ ===== */
#search_filters > section.facet ul {
  padding-bottom: 10px;
  border-bottom: 1px solid #f0f0f0;
}

/* ale NIE dla ceny */
#search_filters > section.facet[data-type="price"] ul {
  border-bottom: none !important;
}

/* ===== ODDECH POD TUTUŁEM ===== */
#search_filters > section.facet > h1,
#search_filters > section.facet > h2,
#search_filters > section.facet > h3,
#search_filters > section.facet > h4,
#search_filters > section.facet > h5,
#search_filters > section.facet > p:first-child,
#search_filters > section.facet > div:first-child {
  margin-bottom: 8px !important;
}

/* ===== LEKKIE WYRÓWNANIE CHECKBOXÓW ===== */
#search_filters .custom-checkbox {
  margin-right: 8px !important;
}

/* usuń linie pod filtrami */
#search_filters .facet ul {
  border-bottom: none !important;
}

#search_filters .facet::after,
#search_filters .facet ul::after {
  display: none !important;
  content: none !important;
}

/* jeśli LeoTheme dodaje separator jako hr */
#search_filters .facet hr {
  display: none !important;
}
#search_filters .facet {
  border-bottom: none !important;
}

#search_filters_wrapper {
  margin-bottom: 4px !important;
}
/* usuń duży odstęp nad produktami */
#js-product-list,
.products,
.product-list {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* czasem grid siedzi w jeszcze jednym wrapperze */
#products,
#main .products {
  margin-top: 0 !important;
}

/* dodatkowo sortowanie (często robi pustą przestrzeń) */
.products-selection {
  margin-bottom: 5px !important;
  margin-top: 0 !important;
}
/* zabicie wszystkich marginesów między sekcjami */
#search_filters_wrapper + * {
  margin-top: 0 !important;
}
/* HERO VIDEO */
.hero-video-section {
  position: relative;
  width: 100%;
  height: 650px;
  overflow: hidden;
}

.hero-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.35);
  z-index: 2;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #ffffff;
  text-align: center;
  padding: 20px;
}

.hero-content h1 {
  color: #ffffff;
  font-size: 44px;
  margin-bottom: 15px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}

.hero-content p {
  font-size: 18px;
  margin-bottom: 25px;
  max-width: 600px;
}

.hero-btn {
  display: inline-block;
  padding: 14px 30px;
  background: #c2ad90;
  color: #000;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.hero-btn:hover {
  background: #97754d;
  color: #fff;
}

/* MOBILE */
@media (max-width: 768px) {
  .hero-video-section {
    height: 420px;
  }

  .hero-content h1 {
    font-size: 28px;
  }

  .hero-content p {
    font-size: 16px;
  }
}

/* ZABEZPIECZENIE SCROLLA */
html, body {
  overflow-y: auto !important;
}

.hero-video-mobile {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.hero-video-mobile video {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}