/* =========================================================
   Header zoekbalk
   assets/css/aoo/components/header-search.css
   ========================================================= */

.header-search-bar {
  background: #fff;
  padding: 6px 20px 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-bottom: 6px solid var(--brand, #e02020);
  margin-bottom: 16px; /* ruimte tussen rode lijn en homecards */
}

.header-search-bar form {
  display: flex;
  width: 100%;
  max-width: 580px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 6px rgba(0,0,0,0.1);
}

.header-search-bar input[type="search"],
.header-search-bar input[name="s"] {
  flex: 1;
  padding: 12px 18px;
  border: 1.5px solid #e0dbd5;
  border-right: 0;
  border-radius: 8px 0 0 8px;
  font-size: 0.95rem;
  color: #1a1a1a;
  background: #fff;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.header-search-bar input[type="search"]::placeholder {
  color: #bbb;
}

.header-search-bar input[type="search"]:focus {
  border-color: var(--brand, #e02020);
}

.header-search-bar button[type="submit"] {
  padding: 12px 22px;
  background: #1a1a1a;
  color: #fff;
  border: 0;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  border-radius: 0 8px 8px 0;
  transition: background 0.15s;
}

.header-search-bar button[type="submit"]:hover {
  background: var(--brand, #e02020);
}

@media (max-width: 768px) {
  .header-search-bar {
    padding: 6px 12px 12px;
    margin-bottom: 12px;
  }

  .header-search-bar input[type="search"] {
    font-size: 16px;
    padding: 11px 12px;
  }

  .header-search-bar button[type="submit"] {
    padding: 11px 14px;
    font-size: 0.9rem;
  }
}