.atlbr-shop-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  margin-bottom: 48px;
}

.atlbr-shop-layout__breadcrumbs {
  grid-column: 1 / -1;
  margin-bottom: 18px;
}

.atlbr-shop-layout__breadcrumbs .woocommerce-breadcrumb {
  margin: 0;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.atlbr-shop-filters {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 24px 0;
  position: sticky;
  top: 90px;
  align-self: start;
}

.atlbr-shop-filters__form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.atlbr-shop-filters__body {
  display: block;
}

.atlbr-shop-filters__mobile-toggle,
.atlbr-shop-filters__mobile-close {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 0;
  background: none;
  color: #1f1f1f;
  width: 100%;
  padding: 16px 12px;
  cursor: pointer;
}

.atlbr-shop-filters__mobile-close {
  justify-content: center;
  margin-top: 12px;
}

.atlbr-shop-filters__mobile-toggle .material-symbols-outlined,
.atlbr-shop-filters__mobile-close .material-symbols-outlined {
  font-size: 20px;
}

.atlbr-shop-filters__section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.atlbr-shop-filters__section:last-of-type {
  border-bottom: 0;
  padding-bottom: 0;
}

.atlbr-shop-filters__heading {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #1f1f1f;
}

.atlbr-shop-filters__range {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.atlbr-shop-filters__range-display {
  display: flex;
  margin-bottom: 10px;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #555;
}

.atlbr-shop-filters__range-inputs {
  position: relative;
  height: 32px;
}

.atlbr-shop-filters__range-inputs::before,
.atlbr-shop-filters__range-inputs::after {
  content: '';
  position: absolute;
  top: 50%;
  height: 4px;
  border-radius: 999px;
  transform: translateY(-50%);
}

.atlbr-shop-filters__range-inputs::before {
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.12);
}

.atlbr-shop-filters__range-inputs::after {
  left: var(--range-min, 0%);
  right: calc(100% - var(--range-max, 100%));
  background: #111;
}

.atlbr-shop-filters__range-inputs input[type="range"] {
  position: absolute;
  inset: 0;
  width: 100%;
  margin: 0;
  pointer-events: none;
  -webkit-appearance: none;
  background: none;
  z-index: 2;
}

.atlbr-shop-filters__range-inputs input[type="range"]:last-of-type {
  z-index: 3;
}

.atlbr-shop-filters__range-inputs input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #111;
  cursor: pointer;
  pointer-events: all;
  border: 0;
  transition: transform 0.15s ease;
}

.atlbr-shop-filters__range-inputs input[type="range"]::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #111;
  cursor: pointer;
  pointer-events: all;
  border: 0;
  transition: transform 0.15s ease;
}

.atlbr-shop-filters__range-inputs input[type="range"]::-ms-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #111;
  cursor: pointer;
  pointer-events: all;
  border: 0;
  transition: transform 0.15s ease;
}

.atlbr-shop-filters__range-inputs input[type="range"]:active::-webkit-slider-thumb,
.atlbr-shop-filters__range-inputs input[type="range"]:focus-visible::-webkit-slider-thumb,
.atlbr-shop-filters__range-inputs input[type="range"]:active::-moz-range-thumb,
.atlbr-shop-filters__range-inputs input[type="range"]:focus-visible::-moz-range-thumb {
  transform: scale(1.1);
}

.atlbr-shop-filters__range-inputs input[type="range"]::-webkit-slider-runnable-track {
  background: none;
}

.atlbr-shop-filters__range-inputs input[type="range"]::-moz-range-track {
  background: none;
}

.atlbr-shop-filters__format {
  display: flex;
  gap: 12px;
}

.atlbr-shop-filters__format input {
  display: none;
}

.atlbr-shop-filters__format input:disabled + .atlbr-shop-filters__format-label {
  opacity: 0.35;
  cursor: not-allowed;
}

.atlbr-shop-filters__format-label {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  border: 1px solid rgba(0, 0, 0, 0.18);
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.atlbr-shop-filters__format-label svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #333;
  stroke-width: 2;
}

.atlbr-shop-filters__format input:checked + .atlbr-shop-filters__format-label {
  border-color: #333;
  background: #ececec;
}

.atlbr-shop-filters__tax-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
}

.atlbr-shop-filters__tax-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.atlbr-shop-filters__tax-item input {
  flex-shrink: 0;
}

.atlbr-shop-filters__tax-label {
  font-size: 0.88rem;
  color: #1f1f1f;
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.atlbr-shop-filters__tax-count {
  color: rgba(0, 0, 0, 0.5);
  margin-left: 4px;
}

.atlbr-shop-filters__more,
.atlbr-shop-filters__more:focus,
.atlbr-shop-filters__more:active {
  background: none !important;
  border: 0;
  padding: 4px 0 0;
  align-self: flex-start;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #6c6c6c;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  -webkit-tap-highlight-color: transparent;
  text-decoration: none;
}

.atlbr-shop-filters__more .material-symbols-outlined {
  font-size: 18px;
}

.atlbr-shop-filters__tax-list.is-collapsed .atlbr-shop-filters__tax-item--extra {
  display: none;
}

.atlbr-shop-filters__actions {
  display: flex;
  gap: 12px;
  padding-top: 15px;
  align-items: center;
}

.atlbr-shop-filters__submit {
  flex: 1;
  background: #111;
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.atlbr-shop-filters__submit:hover,
.atlbr-shop-filters__submit:focus-visible {
  opacity: 0.85;
}

.atlbr-shop-filters__reset {
  background: none;
  border: 0;
  color: #6c6c6c;
  font-size: 0.85rem;
  cursor: pointer;
  text-decoration: underline;
}

.atlbr-shop-layout__content .woocommerce-products-header,
.atlbr-shop-layout__content .woocommerce-result-count {
  display: none;
}

.atlbr-shop-layout__content .products {
  padding: 0;
}

@media (max-width: 1024px) {
  .atlbr-shop-layout {
    grid-template-columns: 1fr;
    gap:10px;
  }

  .atlbr-shop-layout__breadcrumbs {
    margin: 0 0 12px;
    padding: 0 12px;
    order: -1;
  }

  .atlbr-shop-filters {
    position: static;
    order: 0;
    padding: 0;
  }

  .atlbr-shop-filters__mobile-toggle {
    display: inline-flex;
    padding: 10px;
  }

  .atlbr-shop-filters:not(.is-mobile-collapsed) .atlbr-shop-filters__mobile-toggle {
    display: none;
  }

  .atlbr-shop-filters__body {
    padding: 0 12px 20px;
  }

  .atlbr-shop-filters__mobile-close {
    display: inline-flex;
  }

  .atlbr-shop-layout__content {
    order: 1;
  }

  .atlbr-shop-filters.is-mobile-collapsed .atlbr-shop-filters__body,
  .atlbr-shop-filters.is-mobile-collapsed .atlbr-shop-filters__mobile-close {
    display: none;
  }

  .woocommerce .woocommerce-ordering{
    margin: 0 0 10px 0;
  }
}

@media (min-width: 1025px) {
  .atlbr-shop-layout {
    grid-template-columns: 220px 1fr;
  }

  .atlbr-shop-layout__breadcrumbs {
    margin-top: 8px;
  }

  .atlbr-shop-filters {
    position: sticky;
    order: 0;
    padding: 24px 0;
  }

  .atlbr-shop-filters__mobile-toggle,
  .atlbr-shop-filters__mobile-close {
    display: none !important;
  }
}
