@charset "UTF-8";
.category-page {
  padding-bottom: 44px;
}

.category-layout {
  margin-top: 20px;
  margin-bottom: 20px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 16px 0;
  font-size: 13px;
  color: var(--muted);
}
.breadcrumb a:hover {
  color: var(--brand);
}
.breadcrumb .sep {
  opacity: 0.5;
}

.shop-top-block {
  margin-bottom: 8px;
}
.shop-top-block > section {
  padding-top: 0;
}

.page-head h1 {
  font-size: 30px;
}
.page-head p {
  max-width: 70ch;
  color: var(--muted);
}

.term-description {
  margin: 6px 0 28px;
  padding: 22px 24px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.7;
}
.term-description p {
  margin: 0;
}
.term-description strong {
  color: var(--ink);
}
.term-description a:not(.btn) {
  color: var(--brand);
  font-weight: 700;
  white-space: nowrap;
}
.term-description .term-more {
  margin-top: 10px;
}
.term-description .nfz-box {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.55;
}

.subcategories .section-head {
  margin-bottom: 14px;
}
.subcategories .section-head h2 {
  margin: 0;
  font-size: 20px;
}

.subcats-grid > [class^=col-] {
  margin-bottom: var(--gutter);
}
@media (max-width: 992px) {
  .subcats-grid > [class^=col-].col-md-3 {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }
}
@media (max-width: 620px) {
  .subcats-grid > [class^=col-].col-md-3 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

.subcat-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: 0.15s ease;
}
.subcat-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.subcat-card:hover .subcat-title {
  color: var(--brand);
}

.subcat-thumb {
  width: 100%;
  aspect-ratio: 1/1;
  background-color: #fff;
  background-repeat: no-repeat;
  background-size: 76%;
  background-position: center;
}

.subcat-overlay {
  padding: 14px 12px 16px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.subcat-title {
  font-family: var(--ff-head);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
}

.subcat-count {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12.5px;
}

.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 22px;
}
.toolbar .count {
  color: var(--muted);
  font-size: 14px;
}
.toolbar .count strong {
  color: var(--ink);
}
.toolbar .sort {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
}
.toolbar select {
  height: 38px;
  padding: 0 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--ink);
  font-family: inherit;
  font-size: 14px;
}

.term-bottom {
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.7;
}
.term-bottom h2,
.term-bottom h3 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 20px;
}
.term-bottom p {
  margin: 0 0 14px;
}
.term-bottom p:last-child {
  margin-bottom: 0;
}
.term-bottom strong {
  color: var(--ink);
}
.term-bottom a {
  color: var(--brand);
  font-weight: 600;
}
.term-bottom ul,
.term-bottom ol {
  margin: 0 0 14px;
  padding-left: 20px;
}
.term-bottom ul {
  list-style: disc;
}
.term-bottom ol {
  list-style: decimal;
}

.catalog-empty {
  padding: 28px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
}
.catalog-empty a {
  color: var(--brand);
  font-weight: 600;
}

.filters-box {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.filters {
  display: block;
}

.filters-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 15px 18px;
  background: var(--bg-soft);
  list-style: none;
  cursor: pointer;
  font-size: 17px;
  font-weight: 700;
}
.filters-toggle::-webkit-details-marker {
  display: none;
}
.filters-toggle .icon {
  width: 18px;
  height: 18px;
  flex: none;
  color: var(--brand);
}
.filters-toggle::after {
  content: "▾";
  margin-left: auto;
  font-size: 13px;
  color: var(--muted);
  transition: transform 0.15s ease;
}

.filters-box[open] > .filters-toggle {
  border-bottom: 1px solid var(--line);
}
.filters-box[open] > .filters-toggle::after {
  transform: rotate(180deg);
}

.filters-count {
  display: grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 20px;
  background: var(--brand);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.filters-active {
  flex: 1 1 100%;
  order: 3;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (min-width: 992px) {
  .filters-toggle {
    cursor: default;
    border-bottom: 1px solid var(--line);
  }
  .filters-toggle::after {
    display: none;
  }
  .filters-active {
    display: none;
  }
}
@media (max-width: 991px) {
  .filters-box[open] > .filters {
    max-height: 70vh;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
}
.filter-group {
  border-top: 1px solid var(--line);
}
.filter-group:first-of-type {
  border-top: 0;
}
.filter-group label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 0;
  color: var(--ink);
  font-size: 14px;
  cursor: pointer;
}

.filter-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  font-size: 15px;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
  user-select: none;
}
.filter-title::-webkit-details-marker {
  display: none;
}
.filter-title::after {
  content: "⌄";
  color: var(--muted);
  font-size: 15px;
  line-height: 1;
  transition: transform 0.2s;
}

.filter-group[open] > .filter-title::after {
  transform: rotate(180deg);
}

.filter-body {
  padding: 0 18px 16px;
}

.filter-scroll {
  max-height: 210px;
  overflow-y: auto;
  margin-right: -8px;
  padding-right: 8px;
}
.filter-scroll::-webkit-scrollbar {
  width: 6px;
}
.filter-scroll::-webkit-scrollbar-thumb {
  background: var(--line);
  border-radius: 6px;
}

.range {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 13px;
}

.price-row {
  display: flex;
  gap: 8px;
}
.price-row input {
  width: 100%;
  min-width: 0;
  height: 38px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 14px;
  color: var(--ink);
}

.cat-tree {
  font-size: 14px;
}
.cat-tree li {
  padding: 4px 0;
}
.cat-tree a:hover {
  color: var(--brand);
}
.cat-tree .count {
  color: var(--muted);
  font-size: 12px;
}
.cat-tree > li.current > a {
  color: var(--brand);
  font-weight: 700;
}
.cat-tree ul {
  margin-top: 4px;
  padding-left: 14px;
  border-left: 1px solid var(--line);
}

.filter-actions {
  display: flex;
  gap: 8px;
  padding: 16px 18px;
  border-top: 1px solid var(--line);
}
.filter-actions .btn {
  flex: 1;
  padding-inline: 12px;
}

.faq-section {
  padding: 8px 0;
}
.faq-section .section-head h2 {
  font-size: 24px;
}

.faq-item {
  margin-bottom: 10px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.faq-item > summary {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}
.faq-item > summary::-webkit-details-marker {
  display: none;
}
.faq-item > summary::before {
  content: "+";
  flex: none;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: 16px;
  line-height: 1;
}
.faq-item[open] > summary {
  color: var(--brand);
}
.faq-item[open] > summary::before {
  content: "−";
}

.faq-body {
  padding: 0 20px 18px 56px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}
.faq-body p {
  margin: 0 0 12px;
}
.faq-body p:last-child {
  margin-bottom: 0;
}
.faq-body ul {
  margin: 0 0 12px;
  padding-left: 18px;
  list-style: disc;
}
.faq-body li {
  margin-bottom: 8px;
}
.faq-body strong {
  color: var(--ink);
}
@media (max-width: 560px) {
  .faq-body {
    padding-left: 20px;
  }
}

/*# sourceMappingURL=category.css.map */
