/* Arama girdisi ortak headerda kalır; sonuç sayfası yalnızca sorgu bağlamını ve liste araçlarını gösterir. */
.search-results-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 18px;
  margin-bottom: 20px;
  border: 1px solid rgba(227, 222, 210, 0.92);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.9);
  padding: 17px 18px;
  box-shadow: 0 16px 38px rgba(17, 17, 15, 0.045);
}

.search-results-copy {
  min-width: 0;
}

.search-results-copy > span {
  display: block;
  margin-bottom: 5px;
  color: #9b815d;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.search-results-copy h1 {
  margin: 0;
  color: var(--site-text, #11110f);
  font-family: var(--theme-heading-font);
  font-size: clamp(24px, 2.4vw, 34px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.search-results-copy p {
  margin: 5px 0 0;
  color: var(--site-muted, #756f66);
  font-size: 12px;
  line-height: 1.45;
}

.search-results-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.search-results-head .sort-select {
  margin: 0;
}

.search-results-head .sort-select select {
  min-width: 210px;
}

.search-results-layout {
  margin-top: 0;
}

@media (max-width: 980px) {
  .search-results-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .search-results-actions {
    width: 100%;
  }

  .search-results-head .mobile-filter-button {
    width: auto;
    flex: 0 0 auto;
  }

  .search-results-head .sort-select {
    min-width: 0;
    flex: 1 1 auto;
  }

  .search-results-head .sort-select select {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 620px) {
  .search-results-head {
    gap: 12px;
    margin-top: 12px;
    margin-bottom: 14px;
    border-radius: 19px;
    padding: 14px;
  }

  .search-results-copy > span {
    margin-bottom: 4px;
    font-size: 9px;
  }

  .search-results-copy h1 {
    font-size: clamp(22px, 6.5vw, 27px);
  }

  .search-results-copy p {
    margin-top: 4px;
    font-size: 11px;
  }

  .search-results-actions {
    display: grid;
    grid-template-columns: minmax(102px, 0.72fr) minmax(0, 1.28fr);
    gap: 8px;
  }

  .search-results-head .mobile-filter-button,
  .search-results-head .sort-select,
  .search-results-head .sort-select select {
    width: 100%;
  }

  .search-results-head .sort-select > span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .search-results-head .sort-select select {
    min-height: 44px;
    padding-left: 13px;
    font-size: 11px;
  }
}
