.vsf {
  overflow: hidden;
  border: 1px solid #dce5f1;
  border-radius: 6px;
  background: #fff;
  color: #061b3a;
  box-shadow: 0 12px 30px rgba(4, 20, 71, 0.06);
}

.vsf__heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem;
  border-bottom: 1px solid #e5ebf3;
}

.vsf__heading span {
  display: block;
  margin-bottom: 0.25rem;
  color: #0066df;
  font-size: 0.6875rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.vsf__heading h2 {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.1;
}

.vsf__clear,
.vsf__more {
  padding: 0;
  border: 0;
  background: transparent;
  color: #005bbb;
  cursor: pointer;
  font: inherit;
  font-size: 0.75rem;
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 0.2rem;
}

.vsf__heading-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.vsf__mobile-toggle {
  display: none;
}

.vsf__search {
  position: relative;
  display: block;
  margin: 1.25rem;
}

.vsf__search i {
  position: absolute;
  top: 50%;
  left: 0.875rem;
  color: #74849b;
  font-size: 0.875rem;
  transform: translateY(-50%);
  pointer-events: none;
}

.vsf__search input {
  box-sizing: border-box;
  width: 100%;
  height: 2.75rem;
  padding: 0 0.875rem 0 2.5rem;
  border: 1px solid #cfd9e7;
  border-radius: 4px;
  background: #f8fafd;
  color: #061b3a;
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 700;
  outline: 0;
}

.vsf__search input:focus,
.vsf__money:focus-within {
  border-color: #0066df;
  box-shadow: 0 0 0 3px rgba(0, 102, 223, 0.1);
}

.vsf__group {
  min-width: 0;
  margin: 0;
  padding: 1.25rem;
  border: 0;
  border-top: 1px solid #e5ebf3;
}

.vsf__group legend {
  width: 100%;
  margin: 0 0 0.875rem;
  padding: 0;
  color: #061b3a;
  font-size: 0.9375rem;
  font-weight: 900;
}

.vsf__options {
  display: grid;
  gap: 0.625rem;
}

.vsf__option {
  display: grid;
  grid-template-columns: 1rem minmax(0, 1fr) auto;
  align-items: start;
  gap: 0.625rem;
  color: #40536f;
  cursor: pointer;
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.35;
}

.vsf__option input {
  width: 1rem;
  height: 1rem;
  margin: 0.0625rem 0 0;
  accent-color: #0066df;
}

.vsf__option small {
  min-width: 1.75rem;
  padding: 0.1rem 0.4rem;
  border-radius: 999px;
  background: #edf3fb;
  color: #62738b;
  font-size: 0.6875rem;
  font-weight: 850;
  text-align: center;
}

.vsf__option:hover span,
.vsf__option:has(input:checked) span {
  color: #005bbb;
}

.vsf__options--machines:not(.is-expanded) .vsf__option:nth-child(n+7) {
  display: none;
}

.vsf__more {
  margin-top: 0.875rem;
}

.vsf__price {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: end;
  gap: 0.5rem;
}

.vsf__price > span {
  padding-bottom: 0.75rem;
  color: #7a8ba2;
  font-size: 0.6875rem;
  font-weight: 800;
}

.vsf__price label > span:first-child {
  display: block;
  margin-bottom: 0.35rem;
  color: #71829a;
  font-size: 0.6875rem;
  font-weight: 800;
}

.vsf__money {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  height: 2.5rem;
  overflow: hidden;
  border: 1px solid #cfd9e7;
  border-radius: 4px;
  background: #fff;
}

.vsf__money b {
  padding-left: 0.625rem;
  color: #40536f;
  font-size: 0.75rem;
}

.vsf__money input {
  min-width: 0;
  height: 100%;
  padding: 0 0.4rem;
  border: 0;
  background: transparent;
  color: #061b3a;
  font: inherit;
  font-size: 0.75rem;
  font-weight: 800;
  outline: 0;
}

.vsf__group--availability {
  display: grid;
  gap: 0.75rem;
}

.vsf__switch {
  display: grid;
  grid-template-columns: 2.25rem minmax(0, 1fr);
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
}

.vsf__switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.vsf__switch span {
  position: relative;
  width: 2.25rem;
  height: 1.25rem;
  border-radius: 999px;
  background: #cbd5e2;
  transition: background 0.18s ease;
}

.vsf__switch span::after {
  content: "";
  position: absolute;
  top: 0.1875rem;
  left: 0.1875rem;
  width: 0.875rem;
  height: 0.875rem;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(4, 20, 71, 0.25);
  transition: transform 0.18s ease;
}

.vsf__switch input:checked + span {
  background: #0066df;
}

.vsf__switch input:checked + span::after {
  transform: translateX(1rem);
}

.vsf__switch b {
  color: #40536f;
  font-size: 0.8125rem;
  font-weight: 800;
}

.vsf__status {
  min-height: 1rem;
  padding: 0 1.25rem 1.25rem;
  color: #71829a;
  font-size: 0.6875rem;
  font-weight: 750;
}

.category-results {
  position: relative;
}

.category-results::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 5;
  visibility: hidden;
  background: rgba(255, 255, 255, 0.72);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, visibility 0.18s ease;
}

.category-results.vsf-is-loading::after {
  visibility: visible;
  opacity: 1;
}

.vsf-results-shell {
  min-height: 18rem;
}

.vsf-empty {
  display: grid;
  place-items: center;
  min-height: 24rem;
  padding: 2rem;
  border: 1px solid #dce5f1;
  background: #f8fafd;
  text-align: center;
}

.vsf-empty i {
  color: #0066df;
  font-size: 2rem;
}

.vsf-empty h3 {
  margin: 1rem 0 0.5rem;
  font-size: 1.5rem;
}

.vsf-empty p {
  max-width: 30rem;
  margin: 0;
  color: #61728a;
}

.vsf-empty button {
  min-height: 2.75rem;
  margin-top: 1.25rem;
  padding: 0 1.25rem;
  border: 0;
  border-radius: 4px;
  background: #0066df;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 900;
}

@media (max-width: 75rem) {
  .category-listing-section:has(.vsf) {
    grid-template-columns: 15.5rem minmax(0, 1fr);
    gap: 1.25rem;
  }
}

@media (max-width: 61.25rem) {
  .category-listing-section:has(.vsf) {
    grid-template-columns: 1fr;
  }

  .category-filter-panel:has(.vsf) {
    position: static;
  }

  .vsf {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .vsf__heading,
  .vsf__search,
  .vsf__status {
    grid-column: 1 / -1;
  }

  .vsf__group {
    border-top: 1px solid #e5ebf3;
  }
}

@media (max-width: 48rem) {
  .category-filter-panel:has(.vsf:not(.is-open)) {
    display: none;
  }

  .category-results > .category-filter-panel:has(.vsf.is-open) {
    margin: 0 0 1.125rem;
  }

  .vsf {
    display: block;
  }

  .vsf__heading {
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
  }

  .vsf__heading-actions {
    flex: 0 0 auto;
    gap: 0.5rem;
  }

  .vsf__clear {
    flex: 0 0 auto;
    height: 2.5rem;
    padding: 0 0.75rem;
    border: 1px solid #cfd9e7;
    border-radius: 4px;
    background: #fff;
    text-decoration: none;
    white-space: nowrap;
  }

  .vsf:not(.is-open) > :not(.vsf__heading) {
    display: none;
  }

  .vsf:not(.is-open) .vsf__clear {
    display: none;
  }

  .vsf__mobile-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: auto;
    height: 2.5rem;
    padding: 0 0.875rem;
    border: 1px solid #cfd9e7;
    border-radius: 4px;
    background: #fff;
    color: #005bbb;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 800;
    white-space: nowrap;
  }

  .vsf__mobile-toggle span {
    display: inline;
    margin: 0;
    color: inherit;
    font: inherit;
    letter-spacing: 0;
    text-transform: none;
  }
}
