:root {
  --bolt-universal-radius: clamp(14px, 3vw, 25px);
}

#table-builder-table-view {
  width: 100% !important;
}

#generated_table_by_table_builder {
  width: 100% !important;
  text-align: center !important;
  display: block !important;
  overflow-x: auto !important;
  white-space: nowrap !important;
  margin-bottom: 0 !important;
}

#generated_table_by_table_builder tbody {
  display: table !important;
  width: 100% !important;
}

#show_more_rows_button_box {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #ffffff90;
  padding-top: 25px !important;
  transform: translateY(-80%);

  background: rgba(255, 255, 255, .75);
  background: -moz-linear-gradient(0deg, rgba(255, 255, 255, 1) 60%, rgba(255, 255, 255, 0) 100%);
  background: -webkit-linear-gradient(0deg, rgba(255, 255, 255, 1) 60%, rgba(255, 255, 255, 0) 100%);
  background: linear-gradient(0deg, rgba(255, 255, 255, 1) 60%, rgba(255, 255, 255, 0) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#ffffff", endColorstr="#ffffff", GradientType=1);
}

#table-builder-filter-panel-with-view-choice {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 100vw;
  margin: 0;
  padding: 16px !important;
  padding-bottom: 0 !important;
  flex-wrap: wrap;
}

#table-builder-filter-panel {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  margin: 0;
  gap: 12px;
  width: 100%;
}

label.table-builder-filter-panel-title {
  white-space: nowrap;
  color: black;
  font-weight: bold;
}

#table-builder-filter-panel-with-view-choice input[type=checkbox],
#table-builder-filter-panel-with-view-choice input[type=radio] {
  display: none !important;
}

#table-builder-filter-panel label {
  cursor: pointer !important;
  padding: 5px;
}

.table-builder-filter-panel-item-box {
  position: relative;
}

.table-builder-filter-panel-item-box .filter-container:not(.range_container) {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  text-wrap: nowrap;
  justify-content: center;
  gap: 5px;
}

#table-builder-filter-panel-with-view-choice #table-builder-filter-view-choice {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 16px;
  margin: 0;
  margin-left: 16px;
}

#table-builder-filter-view-choice input[type=radio]+svg {
  color: black !important;
  cursor: pointer;
}

#table-builder-filter-view-choice input[type=radio]:not(:checked)+svg:hover {
  color: #ffddb0 !important;
}

#table-builder-filter-view-choice input[type=radio]:checked+svg {
  color: goldenrod !important;
}

/* DO DOKUMENTACJI */
.table-builder-filter-choice+.table-builder-filter-choice-btn {
  color: white;
  background-color: black;
  margin: 0 1px !important;
  border-radius: 6px;
  font-size: .6em;
  font-weight: bold;
  line-height: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 20px;
}

.table-builder-filter-choice+.table-builder-filter-choice-btn:not(.square) {
  padding: 8px !important;
}

.square {
  aspect-ratio: 1/1;
  padding: 4px !important;
  width: 20px;
}

.table-builder-filter-btn:hover,
.table-builder-filter-choice-btn:hover {
  background-color: #ffddb0 !important;
  color: black;
}

.table-builder-filter-choice:checked+.table-builder-filter-choice-btn {
  background-color: goldenrod !important;
  color: black;
}

/*________*/

.table-builder-filter-btn-dropdown-icon {
  font-size: .5em;
  margin: 0;
  padding: 0;
  padding-left: 4px;
}

.table-builder-filter-panel-item-box .filter-container label {
  text-align: center !important;
}

.table-builder-filter-panel-item-box .filter-container.range_container {
  min-width: 200px;
  margin: 0 !important;
}

.--bolt-grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.generated_table_by_table_builder_link img {
  max-width: 36px;
  max-height: 36px;
}

@media (max-width: 1200px) {
  .--bolt-grid-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .--bolt-grid-container {
    grid-template-columns: 1fr;
  }
}

.--bolt-card-item {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  border-radius: var(--bolt-universal-radius);
  padding: 32px;
}

.--bolt-card-item-image {
  aspect-ratio: 3/2;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.--bolt-card-item-image img,
.--bolt-card-item-image a {
  max-width: 100%;
  height: 100%;
  object-fit: cover;
}

.--bolt-card-item-header {
  font-size: 1em;
  font-weight: bolder;
  margin-top: 16px;
  margin-bottom: 8px;
}

.--bolt-card-item-header :first-child {
  font-size: 1.2em;
}

.--bolt-card-item-footer {
  font-weight: bold;
  margin-top: 16px;
  padding-top: 16px;
  font-size: 1.2em !important;
  position: relative;
}

.--bolt-card-item-footer::before {
  content: '';
  position: absolute;
  height: 1px;
  width: 100%;
  background-color: #ccc;
  top: 0;
}

.--bolt-card-item-price {
  font-size: .9em !important;
  text-align: right !important;
}

.--bolt-card-item-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}

.--bolt-card-item-body * {
  text-wrap-mode: nowrap;
}

.--bolt-card-item-body span {
  font-weight: 700;
  text-align: right;
}

.--bolt-flex-row-space-between {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

#table-builder-filter-panel-container-and-view-selector {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 100%;
  padding: 24px;
}

#table-builder-filters-close-button {
  display: none;
}

@media only screen and (max-width: 750px) {
  #table-builder-filters-close-button {
    display: block;
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    cursor: pointer;
  }
}

@media only screen and (min-width: 751px) {
  #table-builder-filters-close-button {
    display: none !important;
  }
}


.filters-overlay-active {
  overflow: hidden;
}

@media only screen and (max-width: 750px) {
  #table-builder-filter-panel-container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    z-index: 100;
    overflow-y: auto;
    padding: 20px;
    padding-top: 50px;
  }

  #table-builder-filter-panel-container.active {
    display: block;
  }
}

@media only screen and (min-width: 751px) {
  #table-builder-filter-panel-container {
    display: flex !important;
  }
}


#artboard_change_panel {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

@media only screen and (max-width: 1000px) {

  #artboard_change_panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  #artboard_change_panel_buttons {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

/*
    END
*/

@media only screen and (max-width: 750px) {
  #table-builder-filter-panel-container {
    flex-direction: column;
  }

  #table-builder-filter-panel-with-view-choice {
    flex-direction: column;
  }

  .table-builder-filter-panel-spacer {
    display: none;
  }

  #table-builder-filter-panel {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 20px;
  }

  .table-builder-filter-panel-item-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 0 !important;
  }

  .table-builder-filter-panel-title {
    text-align: center !important;
  }

  .table-builder-filter-panel-item-box .filter-container {
    width: 100%;
  }
}

@media only screen and (min-width: 751px) and (max-width: 1000px) {

  .table-builder-filter-panel-spacer {
    display: none;
  }

  #table-builder-filter-panel {
    grid-template-columns: 1fr 1fr;
  }

  .table-builder-filter-panel-item-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .table-builder-filter-panel-title {
    text-align: center !important;
  }
}








/* ==================== STYLE PODSTAWOWE ==================== */
body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 100vh;
  background: #fff; /* Było: var(--bf-ui-white) */
  margin: 0;
  padding: 2rem;
  box-sizing: border-box;
}
/* Blokada przewijania tła, gdy panel mobilny jest otwarty */
body.filter-panel-open {
  overflow: hidden;
}

/* ==================== GŁÓWNY KONTENER FILTRA ==================== */
.blinx-filter-component {
  width: 100%;
  max-width: 1400px; 
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

/* ==================== NOWY PASEK MOBILNY ==================== */
.blinx-filter-mobile-bar {
  display: none; /* Ukryty na desktopie */
  width: 100%;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}
.blinx-filter-mobile-bar .button-group-right {
  margin-left: 0;
  padding-bottom: 0;
}


/* ==================== NOWY PANEL FILTRÓW (Wrapper) ==================== */
.blinx-filter-panel {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  width: 100%;
  transition:
    transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), /* Było: var(--bf-ui-bounce) */
    opacity 0.4s ease,
    visibility 0.4s ease;
}


.filter-level {
  width: 100%;
}

/* Etykieta (opis) nad grupą elementów */
.ui-label {
  display: block;
  font-weight: 700;
  color: #000; /* Było: var(--bf-ui-black) */
  margin-bottom: 20px;
  text-align: left;
  font-size: 1.1rem;
}

/* --- Poziom 1: Slidery --- */
.slider-row {
  display: flex;
  align-items: flex-end;
  width: 100%;
  gap: 40px;
}

.slider-group-wrapper {
  display: flex;
  gap: 40px;
  flex: 1;
  min-width: 0;
  max-width: 75%;
}

.slider-wrapper {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding-bottom: 10px;
}

/* --- Poziom 2: Przyciski --- */
.button-level {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  width: 100%;
  flex-wrap: wrap;
  gap: 20px;
}

.button-groups-left {
  display: flex;
  gap: 30px;
  align-items: flex-end;
  flex-wrap: wrap;
  flex: 1;
  min-width: 0;
}

/* Pojedyncza grupa (np. "Pokoje") */
.ui-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.ui-group .ui-label {
  margin-bottom: 12px;
}

/* Kontener na ikony wyrównany do prawej (na desktopie) */
.button-group-right {
  margin-left: auto;
  padding-bottom: 2px;
}

/* Nadpisanie dla przycisków statusowych w grupie */
.ui-group .ui-status-buttons {
  justify-content: flex-start;
}

/* ==================== STYLE SLIDERA (z frameworka) ==================== */
.noUi-target {
  background: #e5e5e5 !important;
  border: none !important;
  height: 10px !important;
  border-radius: 6px !important;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.1) !important;
  margin-top: 30px !important;
}

.noUi-connect {
  background: #000 !important; /* Było: var(--bf-ui-black) */
  height: 10px !important;
  border-radius: 6px !important;
  transition: background 0.3s ease !important;
}

.noUi-handle {
  width: 34px !important;
  min-width: 34px !important;
  border-radius: 10px !important; /* Było: var(--bf-ui-radius) */
  background: #000 !important; /* Było: var(--bf-ui-black) */
  color: #fff !important; /* Było: var(--bf-ui-white) */
  border: none !important;
  cursor: grab !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  padding: 0 !important;
  box-shadow: 0 6px 14px rgba(0,0,0,0.25) !important; /* Było: var(--bf-ui-shadow) */
  transition:
    transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), /* Było: var(--bf-ui-bounce) */
    box-shadow 0.25s cubic-bezier(0.34, 1.56, 0.64, 1); /* Było: var(--bf-ui-bounce) */
  top: -12px !important;
}

.noUi-horizontal .noUi-handle {
  height: 34px !important;
}

.noUi-handle[data-handle="0"] {
  transform: translateX(50%) !important;
}
.noUi-handle[data-handle="1"] {
  transform: translateX(-50%) !important;
}

.noUi-handle:hover,
.noUi-handle.noUi-active {
  box-shadow: 0 8px 20px rgba(0,0,0,0.35) !important; /* Było: var(--bf-ui-shadow-hover) */
}

.noUi-handle[data-handle="0"]:hover,
.noUi-handle[data-handle="0"].noUi-active {
  transform: translateX(50%) scale(1.12) !important;
}
.noUi-handle[data-handle="1"]:hover,
.noUi-handle[data-handle="1"].noUi-active {
  transform: translateX(-50%) scale(1.12) !important;
}

.noUi-handle::before,
.noUi-handle::after {
  display: none !important;
}

/* ==================== STYLE TOOLTIPÓW SLIDERA ==================== */
.noUi-tooltip {
  display: block !important;
  position: absolute !important;
  bottom: 110% !important;
  left: 50% !important;
  background: #000 !important; /* Było: var(--bf-ui-black) */
  color: #fff !important; /* Było: var(--bf-ui-white) */
  padding: 6px 10px !important;
  border-radius: 10px !important; /* Było: var(--bf-ui-radius) */
  font-weight: 700 !important;
  font-size: 0.9rem !important;
  white-space: nowrap;
  box-shadow: 0 6px 14px rgba(0,0,0,0.25) !important; /* Było: var(--bf-ui-shadow) */
  opacity: 0 !important;
  visibility: hidden !important;
  transform: translate(-50%, 10px) !important;
  transition:
    transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), /* Było: var(--bf-ui-bounce) */
    opacity 0.25s ease,
    visibility 0.25s ease;
  pointer-events: none !important;
}

.noUi-handle:hover .noUi-tooltip,
.noUi-handle.noUi-active .noUi-tooltip {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translate(-50%, 0) !important;
}

.noUi-handle[data-handle="0"] .noUi-tooltip {
  left: 0 !important;
  transform: translate(0, 10px) !important;
}
.noUi-handle[data-handle="0"]:hover .noUi-tooltip,
.noUi-handle[data-handle="0"].noUi-active .noUi-tooltip {
  transform: translate(0, 0) !important;
}

.noUi-handle[data-handle="1"] .noUi-tooltip {
  left: auto !important;
  right: 0 !important;
  transform: translate(0, 10px) !important;
}
.noUi-handle[data-handle="1"]:hover .noUi-tooltip,
.noUi-handle[data-handle="1"].noUi-active .noUi-tooltip {
  transform: translate(0, 0) !important;
}


/* ==================== PRZYCISKI NUMERYCZNE (z frameworka) ==================== */
.ui-buttons, .ui-status-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.ui-button {
  width: 40px;
  height: 40px;
  background: #000; /* Było: var(--bf-ui-black) */
  color: #fff; /* Było: var(--bf-ui-white) */
  border: none;
  border-radius: 10px; /* Było: var(--bf-ui-radius) */
  font-weight: 700;
  font-size: clamp(0.9rem, 1vw + 0.2rem, 1.1rem);
  cursor: pointer;
  box-shadow: 0 6px 14px rgba(0,0,0,0.25); /* Było: var(--bf-ui-shadow) */
  transition:
    transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), /* Było: var(--bf-ui-bounce) */
    box-shadow 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), /* Było: var(--bf-ui-bounce) */
    background-color 0.25s cubic-bezier(0.34, 1.56, 0.64, 1); /* Było: var(--bf-ui-bounce) */
  display: flex;
  align-items: center;
  justify-content: center;
}

.ui-button:hover,
.ui-button:active {
  transform: scale(1.12);
  box-shadow: 0 8px 20px rgba(0,0,0,0.35); /* Było: var(--bf-ui-shadow-hover) */
}

.ui-button.active {
  background-color: #40b372; /* Było: var(--bf-ui-green) */
}

/* ==================== PRZYCISKI IKON (z frameworka) ==================== */
.ui-icon-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
}

.ui-icon-button {
  width: 40px;
  height: 40px;
  background: #000; /* Było: var(--bf-ui-black) */
  color: #fff; /* Było: var(--bf-ui-white) */
  border: none;
  border-radius: 10px; /* Było: var(--bf-ui-radius) */
  cursor: pointer;
  box-shadow: 0 6px 14px rgba(0,0,0,0.25); /* Było: var(--bf-ui-shadow) */
  transition:
    transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), /* Było: var(--bf-ui-bounce) */
    box-shadow 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), /* Było: var(--bf-ui-bounce) */
    background-color 0.25s cubic-bezier(0.34, 1.56, 0.64, 1); /* Było: var(--bf-ui-bounce) */
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: clamp(0.9rem, 1vw + 0.2rem, 1.1rem);
}

.ui-icon-button svg {
  width: 20px;
  height: 20px;
  vertical-align: middle;
  display: block;
  pointer-events: none;
}

.ui-icon-button:hover,
.ui-icon-button:active {
  transform: scale(1.12);
  box-shadow: 0 8px 20px rgba(0,0,0,0.35); /* Było: var(--bf-ui-shadow-hover) */
}

.ui-icon-button.active {
  background-color: #40b372; /* Było: var(--bf-ui-green) */
}

/* ==================== PRZYCISK FILTRA (z frameworka) ==================== */
.ui-filter-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 40px;
  padding: 0 20px;
  background: #000; /* Było: var(--bf-ui-black) */
  color: #fff; /* Było: var(--bf-ui-white) */
  border: none;
  border-radius: 10px; /* Było: var(--bf-ui-radius) */
  cursor: pointer;
  box-shadow: 0 6px 14px rgba(0,0,0,0.25); /* Było: var(--bf-ui-shadow) */
  font-weight: 700;
  font-size: clamp(0.9rem, 1vw + 0.2rem, 1.1rem);
  transition:
    transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), /* Było: var(--bf-ui-bounce) */
    box-shadow 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), /* Było: var(--bf-ui-bounce) */
    background-color 0.25s cubic-bezier(0.34, 1.56, 0.64, 1); /* Było: var(--bf-ui-bounce) */
}

.ui-filter-button:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 20px rgba(0,0,0,0.35); /* Było: var(--bf-ui-shadow-hover) */
}

.ui-filter-button svg {
  width: 18px;
  height: 18px;
  display: block;
  vertical-align: middle;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1); /* Było: var(--bf-ui-bounce) */
}

.ui-filter-button:hover svg {
  transform: rotate(20deg);
}

.ui-filter-button.active {
  background-color: #40b372; /* Było: var(--bf-ui-green) */
}

/* ==================== PRZYCISKI STATUSU (z frameworka) ==================== */
.ui-status-button {
  height: 40px;
  padding: 0 18px;
  background: #000; /* Było: var(--bf-ui-black) */
  color: #fff; /* Było: var(--bf-ui-white) */
  border: none;
  border-radius: 10px; /* Było: var(--bf-ui-radius) */
  font-weight: 700;
  font-size: clamp(0.9rem, 1vw + 0.2rem, 1.1rem);
  cursor: pointer;
  box-shadow: 0 6px 14px rgba(0,0,0,0.25); /* Było: var(--bf-ui-shadow) */
  transition:
    transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), /* Było: var(--bf-ui-bounce) */
    box-shadow 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), /* Było: var(--bf-ui-bounce) */
    background-color 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), /* Było: var(--bf-ui-bounce) */
    margin 0.25s cubic-bezier(0.34, 1.56, 0.64, 1); /* Było: var(--bf-ui-bounce) */
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.ui-status-button:hover {
  transform: scale(1.12);
  box-shadow: 0 8px 20px rgba(0,0,0,0.35); /* Było: var(--bf-ui-shadow-hover) */
}

.ui-status-button[data-color="green"]:hover { margin-right: 12px; margin-left: 0; }
.ui-status-button[data-color="yellow"]:hover { margin-left: 10px; margin-right: 10px; }
.ui-status-button[data-color="red"]:hover { margin-left: 12px; margin-right: 0; }

.ui-status-button.active-green { background-color: #40b372; } /* Było: var(--bf-ui-green) */
.ui-status-button.active-yellow { background-color: #FFA915; } /* Było: var(--bf-ui-yellow) */
.ui-status-button.active-red { background-color: #FF605C; } /* Było: var(--bf-ui-red) */


/* ==================== NOWY PRZYCISK SZUKAJ (Mobilny) ==================== */
.ui-search-button {
  display: none; /* Ukryty na desktopie */
  padding: 15px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  height: 50px;
  background: #40b372; /* Było: var(--bf-ui-green) */
  color: #fff; /* Było: var(--bf-ui-white) */
  border: none;
  border-radius: 10px; /* Było: var(--bf-ui-radius) */
  cursor: pointer;
  box-shadow: 0 6px 14px rgba(0,0,0,0.25); /* Było: var(--bf-ui-shadow) */
  font-weight: 700;
  font-size: 1.1rem;
  transition:
    transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), /* Było: var(--bf-ui-bounce) */
    box-shadow 0.25s cubic-bezier(0.34, 1.56, 0.64, 1); /* Było: var(--bf-ui-bounce) */
  
  margin-top: auto; 
}

.ui-search-button:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 20px rgba(0,0,0,0.35); /* Było: var(--bf-ui-shadow-hover) */
}

.ui-search-button svg {
  width: 20px;
  height: 20px;
  stroke: #fff; /* Było: var(--bf-ui-white) */
  stroke-width: 2.5;
  display: block;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1); /* Było: var(--bf-ui-bounce) */
}

.ui-search-button:hover svg {
  transform: rotate(15deg) scale(1.1);
}


/* ==================== RESPONSIVE (MOBILE) ==================== */
@media (max-width: 950px) {
  
  /* 1. Pokaż pasek mobilny */
  .blinx-filter-mobile-bar {
    display: flex;
  }

  /* 2. Ukryj domyślny kontener na ikony z sekcji przycisków */
  .button-level .button-group-right {
    display: none;
  }

  /* 3. Ustaw panel filtrów jako pełnoekranowy, ukryty overlay */
  .blinx-filter-panel {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100dvh; 
    background: #fff; /* Było: var(--bf-ui-white) */
    z-index: 1000;
    
    transform: translateY(30px);
    opacity: 0;
    visibility: hidden;
    
    padding: 1.5rem;
    box-sizing: border-box;
    gap: 1.5rem;
    overflow-y: auto;
  }
  
  /* 4. Stan otwarty panelu mobilnego (animacja z lewej) */
  .blinx-filter-panel.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  /* 5. Pokaż przycisk "Szukaj" w panelu */
  .blinx-filter-panel .ui-search-button {
    display: flex;
  }
  
  /* 6. Dostosuj layout filtrów WEWNĄTRZ panelu mobilnego */
  .slider-row {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .slider-group-wrapper {
    width: 100%;
    flex-direction: column;
    gap: 30px;
    max-width: 100%;
  }
  .button-level {
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
  }
  .button-groups-left {
    gap: 25px;
    width: 100%;
  }
  .ui-group {
    width: 100%;
  }
  
  .noUi-target {
    margin-top: 40px;
  }
}

/* Mniejsze poprawki na bardzo małych ekranach */
@media (max-width: 480px) {
  body {
    padding: 1rem;
  }
  .blinx-filter-mobile-bar {
    margin-bottom: 1rem;
  }
  .blinx-filter-panel {
    padding: 1rem;
  }
  
  .noUi-handle,
  .ui-button,
  .ui-status-button,
  .ui-icon-button,
  .ui-filter-button {
    height: 34px;
  }
  
  .noUi-handle {
    width: 34px;
    min-width: 34px;
    top: -12px !important;
  }
  .noUi-horizontal .noUi-handle {
    height: 34px;
  }
  
  .ui-icon-button, .ui-button {
    width: 34px;
  }
  .ui-status-button {
    padding: 0 14px;
  }
  
  /* Wyjątek: przycisk "Filtruj" na pasku mobilnym pozostaje wyższy */
  .blinx-filter-mobile-bar .ui-filter-button {
    height: 40px;
  }
  /* Wyjątek: przycisk "Promocja" w sliderach dostosowuje się do reszty */
  .slider-row .ui-filter-button {
    height: 34px;
  }

  .ui-search-button {
    height: 44px;
    font-size: 1rem;
  }
  .ui-search-button svg {
    width: 18px;
    height: 18px;
  }
}