.accessories-main {
  position: relative;
  padding-bottom: 28px;
  background: #fff;
}

.catalog-header__cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
}

.catalog-header__cart img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.filter-bar {
  position: sticky;
  top: 136px;
  z-index: 15;
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: 18px;
  padding: 10px var(--page-side) 12px;
  background: rgba(255, 255, 255, 0.98);
}

.filter-trigger,
.filter-reset,
.filter-option,
.filter-suboption,
.filter-group__toggle {
  border: 0;
  background: transparent;
  text-align: left;
}

.filter-trigger {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #212121;
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
}

.filter-trigger::after,
.filter-group__toggle::after {
  content: "";
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  margin-top: -2px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.filter-trigger.is-open::after,
.filter-group__toggle.is-open::after {
  transform: rotate(-135deg);
}

.accessories-sheet[data-panel-body="category"] > .filter-option::after,
.accessories-sheet[data-panel-body="sort"] .filter-option::after,
.filter-suboption::after {
  content: none;
}

.filter-reset {
  justify-self: end;
  color: #0a7c4d;
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
}

.accessories-panel {
  position: absolute;
  inset: 66px 0 0;
  z-index: 14;
  display: none;
}

.accessories-panel.is-open {
  display: block;
}

.accessories-panel__scrim {
  position: absolute;
  inset: 0;
  background: rgba(22, 22, 22, 0.44);
}

.accessories-sheet {
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding: 0 var(--page-side) 12px;
  border-radius: 0 0 12px 12px;
  background: #fff;
  box-shadow: 0 18px 38px rgba(17, 24, 39, 0.12);
}

.filter-option,
.filter-group__toggle,
.filter-suboption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 56px;
  padding: 0;
  color: #222;
  font-size: 16px;
  line-height: 24px;
}

.filter-option,
.filter-group__toggle,
.filter-suboption {
  border-bottom: 1px solid rgba(17, 24, 39, 0.08);
}

.filter-group {
  border-bottom: 1px solid rgba(17, 24, 39, 0.08);
}

.filter-group__toggle {
  font-weight: 500;
}

.filter-group.is-open .filter-group__toggle {
  border-bottom-color: transparent;
}

.filter-suboptions {
  display: none;
  padding-left: 32px;
}

.filter-group.is-open .filter-suboptions {
  display: block;
}

.filter-suboption {
  color: #8f949b;
}

.filter-suboptions .filter-suboption:last-child {
  border-bottom: 0;
}

.filter-option.is-active,
.filter-suboption.is-active,
.filter-group__toggle.is-active {
  color: #0a7c4d;
  font-weight: 600;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 2px var(--page-side) 0;
}

.product-card {
  display: block;
  overflow: hidden;
  border-radius: 8px;
  background: #f7f8fb;
  padding: 8px 8px 12px;
}

.product-card__media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 128px;
}

.product-card__media img {
  max-width: 84%;
  max-height: 114px;
  object-fit: contain;
}

.product-card h2 {
  min-height: 40px;
  margin-top: 4px;
  color: #252525;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 600;
}

.product-card__price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 8px;
}

.product-card__price strong {
  color: #292929;
  font-size: 15px;
  line-height: 21px;
  font-weight: 500;
}

.product-card__price del {
  color: #b1b5bc;
  font-size: 12px;
  line-height: 18px;
}

.product-card__meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 10px;
  color: #b1b5bc;
  font-size: 11px;
  line-height: 16px;
}

@media (max-width: 430px) {
  .filter-bar {
    top: 131px;
    gap: 16px;
    padding-top: 10px;
    padding-bottom: 12px;
  }

  .filter-trigger,
  .filter-reset,
  .filter-option,
  .filter-suboption,
  .filter-group__toggle {
    font-size: 16px;
    line-height: 22px;
  }

  .accessories-panel {
    inset: 66px 0 0;
  }

  .product-card h2 {
    min-height: 40px;
  }

  .product-card__price {
    margin-top: 8px;
  }

  .product-card__meta {
    margin-top: 10px;
    font-size: 11px;
  }
}

@media (max-width: 359px) {
  .filter-bar {
    gap: 14px;
  }

  .product-grid {
    gap: 12px;
  }
}
