/**
 * Header — recherche maquette (barre + 4 filtres)
 */

.ds30-header-search--mockup {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
  max-width: none;
}

.ds30-header-search--mockup .ds30-header-search__main {
  display: none;
  flex: 1 1 280px;
  min-width: 0;
  align-items: stretch;
  border: 0;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

.ds30-header-search--mockup .ds30-header-search__main.is-active {
  display: flex;
}

.ds30-header-search--mockup .ds30-header-search__main input[type="search"] {
  flex: 1;
  min-width: 0;
  border: 0;
  padding: 0.7rem 0.9rem;
  font-size: 0.8125rem;
  color: #334155;
  background: transparent;
}

.ds30-header-search--mockup .ds30-header-search__main input[type="search"]::placeholder {
  color: #94a3b8;
}

.ds30-header-search--mockup .ds30-header-search__main input[type="search"]:focus {
  outline: none;
}

.ds30-header-search--mockup .ds30-header-search__main button {
  border: 0;
  background: var(--ds30-blue, #006cff);
  color: #fff;
  padding: 0 0.95rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ds30-header-search--mockup .ds30-header-search__main button:hover {
  background: var(--ds30-blue-dark, #0056cc);
}

.ds30-header-search--mockup .ds30-header-search__main button .ds30-icon {
  width: 18px;
  height: 18px;
  stroke: #fff;
}

.ds30-header-search__quick {
  display: none;
  align-items: stretch;
  gap: 0.35rem;
  flex: 0 1 auto;
}

.ds30-header-search__quick-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  min-width: 72px;
  max-width: 92px;
  padding: 0.35rem 0.4rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 4px;
  background: transparent;
  color: #fff;
  cursor: pointer;
  text-align: center;
  transition: border-color 0.15s, background 0.15s;
}

.ds30-header-search__quick-btn:hover,
.ds30-header-search__quick-btn.is-active {
  border-color: rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.06);
}

.ds30-header-search__quick-icon .ds30-icon {
  width: 18px;
  height: 18px;
  stroke: #fff;
}

.ds30-header-search__quick-text {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  line-height: 1.15;
}

.ds30-header-search__quick-text strong {
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: none;
}

.ds30-header-search__quick-text small {
  font-size: 0.4375rem;
  font-weight: 600;
  opacity: 0.85;
}

@media (max-width: 767px) {
  .ds30-header-search__quick {
    display: flex !important;
  }
}

@media (min-width: 768px) and (max-width: 1099px) {
  .ds30-header-search__quick {
    display: flex;
    flex: 1 1 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .ds30-header-search__quick::-webkit-scrollbar {
    display: none;
  }
}

@media (min-width: 1100px) {
  .ds30-header-search__quick {
    display: flex;
  }
}

@media (max-width: 1099px) {
  .ds30-header-search--mockup {
    flex-wrap: wrap;
    width: 100%;
    order: 3;
  }

  .ds30-header-search--mockup .ds30-header-search__main.is-active {
    width: 100%;
    flex: 1 1 100%;
  }
}
