/* EDS: mobile-only spacing update. Existing controls and theme colours remain. */
@media (max-width: 767px) {
  body #top-bar .row > .col-sm-6:not(#top-bar-right) {
    display: none;
  }
  body #top-bar .pattern > .container {
    padding-top: 0;
    padding-bottom: 0;
  }
  body #top-bar-right {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    column-gap: 10px;
    width: 100% !important;
    float: none !important;
    min-height: 36px;
    padding: 0 12px !important;
  }
  body #top-bar-right form {
    display: block !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    width: auto !important;
    flex: 0 1 auto;
    font-size: 11px;
  }
  body #top-bar-right form > .dropdown {
    margin: 0 !important;
    font-size: 11px;
    line-height: 36px;
    padding-top: 0;
    padding-bottom: 0;
    white-space: nowrap;
  }
  body #top-bar-right .dropdown-toggle {
    font-size: inherit;
  }
  body #top-bar-right .dropdown-menu {
    line-height: 1.5;
    right: 0;
    left: auto;
  }
  body #top-bar-right #currency_form .dropdown-menu {
    left: 0;
    right: auto;
  }
  body #top-bar-right .eds-pref-open > .dropdown-menu {
    display: block !important;
  }
  body #top > .background > .pattern > .container {
    padding-top: 12px !important;
    padding-bottom: 0 !important;
  }
  body #header-left h1 {
    margin: 0 !important;
    padding: 0 !important;
  }
  body #header-left h1 img {
    width: 200px !important;
    max-width: 75% !important;
    height: auto !important;
  }
  body #header-center {
    padding-top: 8px !important;
    padding-bottom: 0 !important;
  }
  body #header-center .search_form {
    width: 100% !important;
    max-width: none;
    margin: 0 !important;
    padding: 0 !important;
  }
  body #header-center #search_query {
    height: 42px !important;
    font-size: 16px !important;
    padding-inline-start: 12px;
    padding-inline-end: 44px;
  }
  body #header-center .button-search {
    top: 0;
    width: 42px;
    height: 42px;
    background-position: center;
  }
  body #header-center .button-search::before {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
  }
  body #header-center .header-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    column-gap: 12px;
    margin: 0 !important;
    padding: 4px 0 0 !important;
  }
  body #header-center .header-links li {
    float: none;
    display: block;
    margin: 0;
    padding: 0;
  }
  body #header-center .header-links a {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    font-size: 11px;
    line-height: 16px;
  }
  body #header-right {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
  body #header-right #cart_block {
    display: table;
    float: none !important;
    margin: 6px auto 0 !important;
    padding: 0 !important;
  }
  body #top .container-megamenu.horizontal {
    margin-top: 12px !important;
  }
}
