.fcl-toolbar {
  display: grid;
  grid-template-columns: var(--fcl-toolbar-template, minmax(240px, 1fr) auto auto);
  align-items: stretch;
  gap: 0.85rem;
  width: 100%;
}

.fcl-toolbar--panel {
  padding: 1.3rem;
}

.fcl-toolbar--single-filter {
  --fcl-toolbar-template: minmax(240px, 1.6fr) minmax(160px, 0.65fr) auto auto;
}

.fcl-toolbar--pills {
  grid-template-columns: minmax(180px, 0.35fr) minmax(0, 1fr);
  align-items: center;
  margin-bottom: 1.5rem;
  padding: 1rem 1.15rem;
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 1.25rem;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.94)),
    #ffffff;
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.06);
}

.fcl-toolbar__summary {
  min-width: 0;
}

.fcl-toolbar__eyebrow {
  display: block;
  color: #64748b;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.fcl-toolbar__summary strong {
  display: block;
  color: #0f172a;
  font-weight: 900;
}

.fcl-search-field {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 52px;
  padding: 0 1rem;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 999px;
  background: #f8fbfa;
  color: #0f766e;
}

.fcl-search-field input,
.fcl-filter-select {
  border: 0;
  background: transparent;
  color: #102a2e;
  font-weight: 800;
}

.fcl-search-field input {
  width: 100%;
  min-width: 0;
  outline: 0;
}

.fcl-filter-select {
  min-height: 52px;
  padding: 0 1rem;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 999px;
  outline: 0;
  background: #f8fbfa;
}

.fcl-toolbar__submit,
.fcl-toolbar__clear {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 52px;
  padding: 0 1.15rem;
  border: 0;
  border-radius: 999px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: 0.2s ease;
}

.fcl-toolbar__submit {
  background: linear-gradient(130deg, #0f766e, #0891b2);
  color: #ffffff;
}

.fcl-toolbar__clear {
  background: #f1f5f9;
  color: #334155;
}

.fcl-toolbar__submit:hover,
.fcl-toolbar__clear:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.1);
}

.fcl-toolbar__submit:hover {
  color: #ffffff;
}

.fcl-toolbar__clear:hover {
  color: #334155;
}

.fcl-filter-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem;
}

.fcl-filter-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.85rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: #f1f5f9;
  color: #334155;
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.fcl-filter-pill.is-active,
.fcl-filter-pill:hover {
  background: linear-gradient(130deg, #0f766e, #0891b2);
  color: #ffffff;
}

@media (max-width: 991.98px) {
  .fcl-toolbar,
  .fcl-toolbar--pills {
    grid-template-columns: 1fr;
  }

  .fcl-filter-pills {
    justify-content: flex-start;
  }
}

@media (max-width: 575.98px) {
  .fcl-toolbar--panel {
    padding: 1rem;
  }

  .fcl-search-field,
  .fcl-filter-select,
  .fcl-toolbar__submit,
  .fcl-toolbar__clear {
    min-height: 48px;
    width: 100%;
  }

  .fcl-filter-pill {
    width: 100%;
  }
}
