/**
 * Shop toolbar — Bootstrap grid: mobile search top / filter+sort row;
 * desktop filter left / search center / sort right.
 */
.shop-toolbar__panel {
  padding: 0.85rem;
}

@media (min-width: 992px) {
  .shop-toolbar__panel {
    padding: 1.25rem 1.5rem;
  }
}

.shop-toolbar__count {
  margin-top: 0.85rem;
  font-size: 1.45rem;
  color: var(--text-color, #555);
}

.shop-toolbar__search {
  width: 100%;
  max-width: none;
  margin: 0;
}

.shop-toolbar__search-input {
  width: 100%;
}

.shop-toolbar__filter-btn {
  justify-content: center;
  min-height: 48px;
  border-radius: 0.5rem;
  margin: 0;
}

.shop-toolbar__sort {
  display: flex;
  align-items: stretch;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.shop-toolbar__select {
  min-height: 48px;
  margin: 0;
  font-size: 1.45rem;
  border-radius: 0.5rem;
  background-color: #fff;
  background-position: right 0.85rem center;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

@media (max-width: 991.98px) {
  .shop-toolbar__panel .row {
    --bs-gutter-y: 0.65rem;
  }

  .shop-toolbar__filter-btn,
  .shop-toolbar__select {
    min-height: 44px;
    font-size: 1.35rem;
  }

  .shop-toolbar__count {
    font-size: 1.35rem;
    text-align: center;
  }
}

@media (min-width: 992px) {
  .shop-toolbar__panel .order-lg-2 {
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }

  .shop-toolbar__search {
    max-width: none;
    margin: 0;
  }

  .shop-toolbar__sort {
    max-width: 280px;
    margin-left: auto;
  }
}
