/* ================================
   Search page (#product-search)
   ================================ */

#product-search {
  padding-bottom: 80px;
}

.search-page__title {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 34px;
  color: #000;
  margin: 0 0 24px 0;
  border: none;
}

/* Form */
.search-form {
  margin-bottom: 40px;
}

.search-form__row {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}

.search-form__input {
  flex: 1 1 auto;
  height: 48px;
  padding: 0 16px;
  font-family: var(--font-family);
  font-size: 15px;
  color: #000;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 0;
  box-shadow: none;
  outline: none;
}

.search-form__input::placeholder {
  color: rgba(0, 0, 0, 0.35);
}

.search-form__input:focus {
  border-color: #A2947A;
  box-shadow: none;
  outline: none;
}

.search-form__select {
  flex: 0 0 220px;
  height: 48px;
  padding: 0 16px;
  font-family: var(--font-family);
  font-size: 15px;
  color: #000;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 0;
  box-shadow: none;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23000' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  cursor: pointer;
}

.search-form__select:focus {
  border-color: #A2947A;
  outline: none;
}

.search-form__checkboxes {
  display: flex;
  gap: 24px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.search-form__checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-family);
  font-size: 14px;
  color: #000;
  cursor: pointer;
  margin: 0;
  font-weight: 400;
}

.search-form__checkbox-label span {
  opacity: 0.4;
  position: relative;
  top: 2px;
}

.search-form__checkbox-label input {
  opacity: 0.4;
}

.search-form__checkbox-label input:checked {
  opacity: 1;
}

.search-form__checkbox-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #000;
  cursor: pointer;
  flex-shrink: 0;
}

.search-form__btn {
  display: block;
  width: 100%;
  height: 52px;
  background: #000;
  color: #fff;
  border: none;
  border-radius: 0;
  font-family: var(--font-family);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.2s ease;
}

.search-form__btn:hover {
  background: #222;
}

/* Results */
.search-results__title {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 34px;
  color: #000;
  margin: 0 0 20px 0;
  border: none;
}

.search-results__empty {
  font-family: var(--font-family);
  font-size: 16px;
  color: #000;
  margin-bottom: 24px;
}

/* Responsive */
@media (max-width: 767px) {
  .search-form__row {
    flex-direction: column;
  }

  .search-form__select {
    flex: 0 0 auto;
    width: 100%;
  }

  .search-form__checkboxes {
    gap: 16px;
  }
}
