html.po-catalog-v4 #po-choice-nav {
  position: sticky !important;
  top: 0;
  z-index: 900 !important;
  transition: padding .2s ease, box-shadow .2s ease;
}

html.po-catalog-v4 #po-choice-nav.po-choice-nav-compact {
  padding-top: 7px;
  padding-bottom: 8px;
  box-shadow: 0 8px 24px rgba(107, 89, 75, .12);
}

html.po-catalog-v4 #po-choice-nav.po-choice-nav-compact .po-choice-trigger {
  min-height: 56px;
  padding-top: 8px;
  padding-bottom: 8px;
}

html.po-catalog-v4 #po-choice-nav.po-choice-nav-compact .po-choice-kicker {
  font-size: 8px;
}

html.po-catalog-v4 .po-back-to-selection {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 24px;
  padding: 10px 16px;
  color: #6b594b !important;
  background: linear-gradient(135deg, #eadfd2 0%, #f8f3ed 100%);
  border: 1px solid rgba(107, 89, 75, .16);
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(107, 89, 75, .07);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none !important;
}

html.po-catalog-v4 body.type-category #content > .category-top,
html.po-catalog-v4 body.type-category #content > .category-top.po-category-heading-hidden,
html.po-catalog-v4 body.type-category #category-header.po-category-header-empty {
  display: none !important;
}

html.po-catalog-v4 body.type-category .breadcrumbs {
  margin-bottom: 20px;
}

html.po-catalog-v4 .po-catalog-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  width: 100%;
  margin: 0 0 14px;
  padding: 9px;
  background: #fffdfb;
  border: 1px solid rgba(107, 89, 75, .13);
  border-radius: 15px;
  box-shadow: 0 5px 18px rgba(107, 89, 75, .05);
}

html.po-catalog-v4 .po-v4-mobile-actions {
  display: none;
}

html.po-catalog-v4 .po-v4-desktop-filter-actions,
html.po-catalog-v4 .po-v4-sort-actions,
html.po-catalog-v4 .po-v4-sort-actions .listSorting,
html.po-catalog-v4 .po-v4-sort-actions .listSorting__controls {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}

html.po-catalog-v4 .po-v4-desktop-filter-actions {
  flex: 0 0 auto;
}

html.po-catalog-v4 .po-v4-sort-actions {
  min-width: 0;
  flex: 1 1 auto;
}

html.po-catalog-v4 .po-v4-sort-actions .listSorting {
  margin: 0;
}

html.po-catalog-v4 .po-v4-sort-actions .listSorting__controls {
  margin: 0;
  padding: 0;
  list-style: none;
}

html.po-catalog-v4 .po-catalog-controls button {
  min-height: 39px;
  margin: 0;
  padding: 8px 12px;
  color: #6b594b;
  border: 1px solid rgba(107, 89, 75, .15);
  border-radius: 10px;
  font-family: Arial, sans-serif !important;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

html.po-catalog-v4 .po-v4-panel-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: #eadfd2;
}

html.po-catalog-v4 .po-v4-panel-trigger:hover,
html.po-catalog-v4 .po-v4-panel-trigger:focus-visible,
html.po-catalog-v4 .po-v4-panel-trigger.is-active {
  color: #4f4036;
  background: #dfcbbb;
  border-color: rgba(107, 89, 75, .27);
  box-shadow: 0 4px 12px rgba(107, 89, 75, .10);
  transform: translateY(-1px);
}

html.po-catalog-v4 .po-control-chevron {
  width: 7px;
  height: 7px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform .18s ease;
}

html.po-catalog-v4 .po-v4-panel-trigger[aria-expanded='true'] .po-control-chevron {
  transform: translateY(2px) rotate(225deg);
}

html.po-catalog-v4 .po-v4-sort-actions .listSorting__control {
  background: #fcfaf7;
}

html.po-catalog-v4 .po-v4-sort-actions .listSorting__control:hover,
html.po-catalog-v4 .po-v4-sort-actions .listSorting__control:focus-visible,
html.po-catalog-v4 .po-v4-sort-actions .listSorting__control--current {
  color: #4f4036;
  background: #f1e5d8;
  border-color: rgba(107, 89, 75, .24);
  box-shadow: 0 3px 10px rgba(107, 89, 75, .07);
}

html.po-catalog-v4 .po-catalog-controls button:focus-visible,
html.po-catalog-v4 .po-filter-panel-close:focus-visible {
  outline: 2px solid rgba(189, 167, 155, .65);
  outline-offset: 2px;
}

html.po-catalog-v4 .filters-wrapper {
  margin: 0 0 18px;
}

html.po-catalog-v4 .filters-unveil-button-wrapper,
html.po-catalog-v4 .filters .filter-section-button,
html.po-catalog-v4 .filters .po-filter-intro {
  display: none !important;
}

html.po-catalog-v4 .filters {
  display: none !important;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: #fffdfb;
  border: 1px solid rgba(107, 89, 75, .14);
  border-radius: 15px;
  box-shadow: 0 7px 22px rgba(107, 89, 75, .06);
}

html.po-catalog-v4 .filters.po-v4-panel-open {
  display: block !important;
}

html.po-catalog-v4 .filters .po-filter-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 47px;
  padding: 8px 13px 8px 17px;
  background: linear-gradient(135deg, #eadfd2 0%, #f8f3ed 60%, #fffdfb 100%);
  border-bottom: 1px solid rgba(107, 89, 75, .11);
}

html.po-catalog-v4 .filters .po-filter-panel-title {
  color: #6b594b;
  font-family: Georgia, 'Times New Roman', serif !important;
  font-size: 17px;
  font-weight: 400;
}

html.po-catalog-v4 .filters .po-filter-panel-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 29px;
  min-height: 29px;
  padding: 0;
  color: #6b594b;
  background: #fffdfb;
  border-radius: 50%;
  font-size: 21px;
  font-weight: 400;
  line-height: 1;
}

html.po-catalog-v4 .filters .po-filter-panel-close:hover {
  background: #f1e5d8;
}

html.po-catalog-v4 .filters #category-filter-hover {
  display: block !important;
}

html.po-catalog-v4 .filters .filter-sections {
  margin: 0;
  padding: 13px 16px 16px;
}

html.po-catalog-v4 .filters .po-v4-section-hidden,
html.po-catalog-v4 .filters .filter-section-count {
  display: none !important;
}

html.po-catalog-v4 .filters .po-v4-accordion {
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
}

html.po-catalog-v4 .filters .po-v4-accordion h4 {
  position: relative;
  margin: 0 0 11px;
  padding: 0 27px 0 0;
  color: #6b594b;
  font-family: Georgia, 'Times New Roman', serif !important;
  font-size: 17px;
  font-weight: 400;
}

html.po-catalog-v4 .filters .po-v4-accordion h4::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 4px;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid #6b594b;
  border-bottom: 1.5px solid #6b594b;
  transform: translateY(-70%) rotate(45deg);
  transition: transform .18s ease;
}

html.po-catalog-v4 .filters .po-v4-accordion-open h4::after {
  transform: translateY(-25%) rotate(225deg);
}

html.po-catalog-v4 .filters .po-v4-accordion-content {
  margin-bottom: 16px;
}

html.po-catalog-v4 .filters .filter-section-parametric fieldset,
html.po-catalog-v4 .filters .filter-section-manufacturer fieldset,
html.po-catalog-v4 .filters .filter-section-boolean fieldset {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px 12px;
  margin: 0;
  padding: 0;
  border: 0;
}

html.po-catalog-v4 .filters .filter-section-manufacturer fieldset {
  max-height: 300px;
  overflow-y: auto;
  padding-right: 5px;
}

html.po-catalog-v4 .filters .filter-section-parametric label,
html.po-catalog-v4 .filters .filter-section-manufacturer label,
html.po-catalog-v4 .filters .filter-section-boolean label {
  color: #6b594b;
  font-size: 13px;
  line-height: 1.3;
}

html.po-catalog-v4 .filters .filter-count {
  color: #8a776a;
  font-size: 11px;
}

html.po-catalog-v4 .filters .slider-wrapper {
  margin: 0;
  padding: 2px 4px 16px;
  background: transparent;
  border: 0;
}

html.po-catalog-v4 .filters .slider-wrapper .slider-header {
  color: #6b594b;
}

@media (max-width: 768px) {
  html.po-catalog-v4 #po-choice-nav {
    z-index: 900 !important;
  }

  html.po-catalog-v4 #po-choice-nav.po-choice-nav-compact {
    padding: 6px 8px 7px;
  }

  html.po-catalog-v4 #po-choice-nav.po-choice-nav-compact .po-choice-trigger {
    min-height: 56px;
  }

  html.po-catalog-v4 .po-catalog-controls {
    display: block;
    margin-bottom: 12px;
    padding: 7px;
  }

  html.po-catalog-v4 .po-v4-mobile-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  html.po-catalog-v4 .po-v4-desktop-filter-actions {
    display: none;
  }

  html.po-catalog-v4 .po-v4-sort-actions {
    display: none;
    margin-top: 7px;
    padding-top: 7px;
    border-top: 1px solid rgba(107, 89, 75, .11);
  }

  html.po-catalog-v4 .po-catalog-controls.po-v4-sort-open .po-v4-sort-actions {
    display: block;
  }

  html.po-catalog-v4 .po-v4-sort-actions .listSorting,
  html.po-catalog-v4 .po-v4-sort-actions .listSorting__controls {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  html.po-catalog-v4 .po-v4-sort-actions .listSorting__control {
    width: 100%;
  }

  html.po-catalog-v4 .filters.po-v4-panel-open[data-po-v4-panel='filter'] {
    position: fixed;
    inset: 0;
    z-index: 2000;
    height: 100dvh;
    overflow-y: auto;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  html.po-catalog-v4 .filters[data-po-v4-panel='filter'] .filter-sections {
    padding: 13px 14px 24px;
  }

  html.po-catalog-v4 .filters[data-po-v4-panel='filter'] .po-v4-accordion {
    padding: 14px 0 0;
    border-bottom: 1px solid rgba(107, 89, 75, .12);
  }

  html.po-catalog-v4 .filters[data-po-v4-panel='filter'] .po-v4-accordion h4 {
    min-height: 27px;
    margin: 0;
    padding: 0 32px 14px 0;
    cursor: pointer;
    font-family: Arial, sans-serif !important;
    font-size: 14px;
    font-weight: 600;
  }

  html.po-catalog-v4 .filters[data-po-v4-panel='filter'] .po-v4-accordion-content {
    margin-bottom: 14px;
  }

  html.po-catalog-v4 .filters[data-po-v4-panel='filter'] .po-v4-accordion:not(.po-v4-accordion-open) > .po-v4-accordion-content {
    display: none !important;
  }

  html.po-catalog-v4 .filters .filter-section-parametric fieldset,
  html.po-catalog-v4 .filters .filter-section-manufacturer fieldset,
  html.po-catalog-v4 .filters .filter-section-boolean fieldset {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  html.po-catalog-v4 .filters[data-po-v4-panel='filter'] .filter-section-manufacturer fieldset {
    max-height: none;
  }

  html.po-catalog-v4 .filters .po-filter-panel-header {
    position: sticky;
    top: 0;
    z-index: 1;
  }

  html.po-catalog-v4 .po-catalog-controls button {
    width: 100%;
    min-height: 42px;
  }

  html.po-catalog-v4 .po-back-to-selection {
    margin-bottom: 16px;
  }

  html.po-catalog-v4 body.po-v4-lock-scroll {
    overflow: hidden !important;
  }
}
