.mps-header.mps-shared-header form.mps-site-search {
  background-color: #f3e9e3;
  border-color: #ded5cd;
}
.mps-header.mps-shared-header form.mps-site-search input[name="keyboard"],
form[action*="/e/search/"] input[name="keyboard"] {
  background-color: #f3e9e3;
  color: #4d5a54;
}
.mps-header.mps-shared-header form.mps-site-search input[name="keyboard"]::placeholder,
form[action*="/e/search/"] input[name="keyboard"]::placeholder {
  color: #68736c;
  opacity: 1;
}
.mps-header.mps-shared-header form.mps-site-search:focus-within {
  border-color: #17734e;
  box-shadow: 0 0 0 1px #17734e;
}
main .left-box .shop-left-sidebar {
  background-color: #f7f7f0;
}
.mps-mobile-category-button, .mps-mobile-company-contacts { display: none; }

@media (max-width: 767px) {
  body > .mps-header[data-mps-mobile-ready] {
    display: grid;
    box-sizing: border-box;
    grid-template-columns: minmax(80px,1fr) auto auto;
    grid-template-areas: "brand account menu" "search search search" "catalog catalog catalog";
    gap: 7px 6px;
    align-items: center;
    width: 100%;
    height: auto;
    min-height: 0;
    margin-inline: 0;
    padding: 7px 12px 0;
  }
  .mps-header[data-mps-mobile-ready] :is(.mps-utility,.mps-utility-inner,.mps-masthead) { display: contents !important; }
  .mps-header[data-mps-mobile-ready] .mps-utility-inner > .mps-contact { display: none !important; }
  .mps-header[data-mps-mobile-ready] .mps-brand { grid-area: brand; min-width: 0; margin: 0; }
  .mps-header[data-mps-mobile-ready] .mps-brand img { width: min(100%,144px); max-height:42px; object-fit:contain; }
  .mps-header[data-mps-mobile-ready] .mps-utility-inner > .mps-account,
  .mps-header[data-mps-mobile-ready]:not(.mps-shared-header) .mps-masthead > .mps-mobile-account {
    display: flex; grid-area: account; justify-self: end; align-items: center; flex-wrap: nowrap; gap: 0 6px;
    min-width: 0; font-size: .75rem;
  }
  .mps-header[data-mps-mobile-ready] :is(.mps-account,.mps-mobile-account) > a {
    min-height: 42px; width: auto; white-space: nowrap; gap: 3px;
  }
  .mps-header[data-mps-mobile-ready] :is(.mps-account,.mps-mobile-account) > a::before { display:none; }
  .mps-header[data-mps-mobile-ready] .mps-utility-inner > .mps-company-menu { grid-area: menu; justify-self: end; }
  .mps-header[data-mps-mobile-ready] .mps-company-menu-trigger {
    min-height: 42px; min-width: 50px; padding-inline: 8px; font-size: .875rem;
  }
  .mps-header[data-mps-mobile-ready] form.mps-site-search {
    grid-area: search; min-height: 43px; min-width: 0; width: 100%; margin: 0;
  }
  .mps-header[data-mps-mobile-ready] .mps-catalog.mps-catalog-v6 {
    grid-area: catalog; display: block; width: 100%; min-height: 0; border: 0;
  }
  .mps-header[data-mps-mobile-ready] .mps-mobile-category-button {
    display: flex; justify-content: space-between; align-items: center;
    width: 100%; min-height: 41px; padding: 5px 1px; border: 0;
    background: transparent; color: #15382c; font: inherit; font-size: .9rem; font-weight: 650; cursor: pointer;
  }
  .mps-mobile-category-button::after { content: ""; width: 8px; height: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); margin-inline-end: 5px; }
  .mps-mobile-category-button[aria-expanded="true"]::after { transform: rotate(225deg); }
  .mps-header[data-mps-mobile-ready] .mps-catalog.mps-catalog-v6 > .shell { width: 100%; }
  .mps-header[data-mps-mobile-ready] .mps-catalog.mps-catalog-v6:not([data-mobile-expanded]) > .shell { display: none !important; }
  .mps-header[data-mps-mobile-ready] .mps-catalog-v6 .mps-category-row {
    display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); grid-auto-flow: row; grid-auto-columns: auto;
    max-height: none; overflow: visible; scroll-snap-type: none;
  }
  .mps-mobile-company-contacts {
    display: flex; flex-wrap: wrap; gap: 7px 13px; margin: 6px 17px 14px; padding-top: 10px; border-top: 1px solid #d9e5dd;
    font-size: .82rem; overflow-wrap: anywhere;
  }
  .mps-mobile-company-contacts > a { color: #116448; }
}
