
.marketplace-header{
  max-width:960px;
  margin:24px auto 0;
  padding:0 20px;
}
.marketplace-header .brand{
  font-size:24px;
  font-weight:800;
  color:#173f32;
  letter-spacing:-.5px;
}
.marketplace-header .brand span{
  color:#2b7a5b;
}
.marketplace-nav{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:15px;
}
.marketplace-nav a{
  display:inline-block;
  padding:10px 14px;
  background:#e8efec;
  color:#173f32;
  text-decoration:none;
  border-radius:8px;
  font-weight:600;
}
.marketplace-nav a:hover{
  background:#cfd8d4;
}
@media(max-width:600px){
  .marketplace-header{padding:0 15px}
  .marketplace-nav a{flex:1;text-align:center}
}


/* CarCheck unified Marketplace header */
body > header.marketplace-header {
  max-width: none;
  margin: 0;
  padding: 22px max(20px, calc((100% - 1100px)/2));
  background: #ffffff;
  color: #16231e;
  border-bottom: 1px solid #e0e6e3;
}
.marketplace-header .brand {
  color: #173f32;
}
.marketplace-header .brand span {
  color: #2b7a5b;
}
.marketplace-nav a {
  color: #173f32;
  background: #e8efec;
}
.marketplace-nav a:hover {
  background: #cfd8d4;
}
input:focus, select:focus, textarea:focus {
  outline: 2px solid #2b7a5b;
  outline-offset: 1px;
}


/* Marketplace search filters V2 */
form.filters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: end;
}

form.filters > label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
  font-size: 14px;
  font-weight: 600;
  color: #173f32;
}

form.filters input,
form.filters select {
  display: block;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  height: 52px;
  padding: 0 14px;
  border: 1px solid #ccd8d2;
  border-radius: 9px;
  background: #ffffff;
  color: #173f32;
  font: inherit;
  font-size: 15px;
}

form.filters input::placeholder {
  color: #75847d;
  opacity: 1;
}

form.filters select {
  cursor: pointer;
}

form.filters button[type="submit"] {
  box-sizing: border-box;
  width: 100%;
  min-height: 52px;
  padding: 12px 20px;
  border: 0;
  border-radius: 9px;
  background: #173f32;
  color: white;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

form.filters button[type="submit"]:hover {
  background: #245a46;
}

@media (max-width: 850px) {
  form.filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 540px) {
  form.filters {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  form.filters input,
  form.filters select,
  form.filters button[type="submit"] {
    height: 50px;
  }
}
