/* Search page — simple & clean */
.rs-search-page {
  background: #f8fafc;
  min-height: calc(100vh - 72px);
}

.rs-search-wrap {
  max-width: 820px;
  margin: 0 auto;
  padding: 32px 16px 48px;
}

.rs-search-intro {
  text-align: center;
  margin-bottom: 24px;
}

.rs-search-eyebrow {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #d4af37;
}

.rs-search-intro h1 {
  margin: 0 0 8px;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(26px, 4vw, 34px);
  font-weight: 800;
  color: #111827;
}

.rs-search-intro p {
  margin: 0;
  color: #6b7280;
  font-size: 15px;
}

.rs-search-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.06);
  overflow: hidden;
}

.rs-search-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid #f1f5f9;
  background: #fafafa;
}

.rs-search-tabs button {
  flex: 1;
  border: none;
  background: transparent;
  padding: 14px 12px;
  font-size: 14px;
  font-weight: 600;
  color: #6b7280;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.rs-search-tabs button:hover {
  color: #e11d48;
  background: #fff;
}

.rs-search-tabs button.active {
  color: #e11d48;
  background: #fff;
  border-bottom-color: #e11d48;
}

.rs-search-panel {
  display: none;
  padding: 24px;
}

.rs-search-panel.active {
  display: block;
}

.rs-search-form {
  display: grid;
  gap: 18px;
}

.rs-search-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.rs-search-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.rs-search-field label {
  font-size: 13px;
  font-weight: 600;
  color: #374151;
}

.rs-search-field select,
.rs-search-field input[type="text"] {
  width: 100%;
  height: 44px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  padding: 0 12px;
  font-size: 14px;
  color: #111827;
  background: #fff;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.rs-search-field select:focus,
.rs-search-field input[type="text"]:focus {
  border-color: #f97316;
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.12);
}

.rs-search-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
}

.rs-search-chips label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: #4b5563;
  cursor: pointer;
  transition: all 0.18s ease;
}

.rs-search-chips input {
  display: none;
}

.rs-search-chips label:has(input:checked) {
  border-color: #e11d48;
  background: #f5e9ed;
  color: #be123c;
}

.rs-search-check {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fafafa;
  font-size: 14px;
  font-weight: 500;
  color: #374151;
}

.rs-search-check input {
  width: 16px;
  height: 16px;
  accent-color: #e11d48;
}

.rs-search-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  padding-top: 4px;
}

.rs-search-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 22px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, #f97316 0%, #e11d48 100%);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(225, 29, 72, 0.22);
  transition: filter 0.2s, transform 0.15s;
}

.rs-search-btn:hover {
  filter: brightness(0.97);
  color: #fff;
}

.rs-search-btn:active {
  transform: translateY(1px);
}

.rs-search-btn-outline {
  background: #fff;
  color: #374151;
  border: 1px solid #d1d5db;
  box-shadow: none;
}

.rs-search-btn-outline:hover {
  border-color: #e11d48;
  color: #e11d48;
  background: #fff;
}

.rs-search-field-full {
  grid-column: 1 / -1;
}

@media (max-width: 640px) {
  .rs-search-wrap {
    padding: 20px 12px 36px;
  }

  .rs-search-grid {
    grid-template-columns: 1fr;
  }

  .rs-search-panel {
    padding: 18px 16px;
  }

  .rs-search-tabs button {
    font-size: 13px;
    padding: 12px 8px;
  }

  .rs-search-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .rs-search-btn {
    width: 100%;
  }
}
