/* Search results — clean white toolbar aligned like shop */

.search-results-page {
  background: transparent;
}

.search-results-body {
  padding: 0 15px 80px;
}

/* One row: compact search (left) + sort (right) */
.search-results-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 20px;
  margin: 0 0 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #eee;
}

.search-results-refine {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
  max-width: 420px;
}

.search-results-refine__field {
  display: flex;
  align-items: stretch;
  width: 100%;
  height: 42px;
  border: 1px solid #e5e5e5;
  border-radius: 5px;
  background: #fff;
  overflow: hidden;
  transition: border-color 0.15s ease;
}

.search-results-refine__field:focus-within {
  border-color: #1d1d1d;
}

.search-results-refine__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  color: #999;
  font-size: 15px;
  line-height: 1;
}

.search-results-refine__input {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  outline: 0;
  box-shadow: none;
  background: transparent;
  font-family: Poppins, sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #1d1d1d;
  padding: 0 8px 0 0;
}

.search-results-refine__input::-webkit-search-cancel-button,
.search-results-refine__input::-webkit-search-decoration {
  -webkit-appearance: none;
  appearance: none;
}

.search-results-refine__input::placeholder {
  color: #b0b0b0;
}

.search-results-refine__submit {
  flex-shrink: 0;
  height: 100%;
  padding: 0 16px;
  border: 0;
  border-left: 1px solid #e5e5e5;
  border-radius: 0;
  background: #fff;
  color: #1d1d1d;
  font-family: Poppins, sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.search-results-refine__submit:hover {
  background: #1d1d1d;
  color: #fff;
  border-left-color: #1d1d1d;
}

.search-results-sort-form {
  margin: 0;
  flex-shrink: 0;
  margin-left: auto;
}

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

.search-results-sort label {
  margin: 0;
  font-family: Poppins, sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: #666;
  white-space: nowrap;
}

.search-results-sort__select {
  appearance: none;
  -webkit-appearance: none;
  min-width: 140px;
  height: 42px;
  padding: 0 34px 0 12px;
  border: 1px solid #e5e5e5;
  border-radius: 5px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23666' d='M1.4.6 6 5.2 10.6.6 12 2 6 8 0 2z'/%3E%3C/svg%3E") no-repeat right 12px center;
  font-family: Poppins, sans-serif;
  font-size: 13px;
  color: #1d1d1d;
  cursor: pointer;
}

.search-results-sort__select:focus {
  outline: none;
  border-color: #1d1d1d;
}

/* One quiet meta line under the toolbar */
.search-results-meta {
  margin: 0 0 28px;
  font-family: Poppins, sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
  color: #888;
}

.search-results-meta__label {
  color: #888;
}

.search-results-meta__query {
  color: #1d1d1d;
  font-weight: 500;
}

.search-results-meta__sep {
  margin: 0 6px;
  color: #ccc;
}

.search-results-meta__count {
  color: #888;
}

/* Empty — centered, quiet */
.search-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 16px 24px;
}

.search-empty__message {
  margin: 0 0 24px;
  max-width: 420px;
  font-family: Poppins, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
  color: #666;
}

.search-empty__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  height: 44px;
  padding: 0 24px;
  border: 1px solid #ec6b81;
  border-radius: 5px;
  background: #ec6b81;
  color: #fff;
  font-family: Poppins, sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.search-empty__btn:hover {
  background: #fff;
  color: #ec6b81;
  text-decoration: none;
}

.search-results-grid {
  margin-left: -12px;
  margin-right: -12px;
}

.search-results-grid > [class*='col-'] {
  padding-left: 12px;
  padding-right: 12px;
  margin-bottom: 28px;
}

.search-results-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 8px;
  padding-top: 24px;
  border-top: 1px solid #eee;
}

.search-results-pagination__meta {
  font-family: Poppins, sans-serif;
  font-size: 13px;
  color: #888;
}

.search-results-pagination__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  height: 36px;
  padding: 0 14px;
  border: 1px solid #e5e5e5;
  border-radius: 5px;
  background: #fff;
  color: #1d1d1d;
  font-family: Poppins, sans-serif;
  font-size: 12px;
  text-decoration: none;
}

.search-results-pagination__btn:hover {
  border-color: #1d1d1d;
  text-decoration: none;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 767px) {
  .search-results-body {
    padding-bottom: 56px;
  }

  .search-results-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .search-results-refine {
    max-width: none;
  }

  .search-results-sort-form {
    margin-left: 0;
    width: 100%;
  }

  .search-results-sort {
    width: 100%;
    justify-content: space-between;
  }

  .search-results-sort__select {
    flex: 1 1 auto;
  }
}
