#header .by-shop-header {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(6px, 1.1vw, 18px);
  direction: ltr;
  min-height: 64px;
  max-width: 1480px;
  margin-inline: auto;
  padding-inline: clamp(18px, 4vw, 60px);
  padding-block: 8px;
}

#header .by-shop-header .atelier-brand { display: grid; place-items: center; min-height: 44px; justify-self: start; }
#header .by-shop-header .byarslan-wordmark { display: block; width: clamp(150px, 13vw, 192px); height: auto; }
#header .by-shop-header .byasis-link {
  display: grid;
  place-items: center;
  justify-self: center;
  min-height: 44px;
}
#header .byasis-link:focus-visible { outline: 2px solid #13734c; outline-offset: 2px; border-radius: 3px; }
#header .by-shop-header .byasis-wordmark {
  display: block;
  width: clamp(90px, 8vw, 124px);
  height: auto;
  justify-self: center;
}
#header .by-shop-header .tools {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 6px;
}
#header .by-shop-header .tools > .store-language { order: 1; }
#header .by-shop-header .tools > a { position: relative; }
#header .by-shop-header .by-header-contact {
  display: inline-grid;
  place-items: center;
  width: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border-radius: 7px;
  color: #13734c;
}
#header .by-header-contact svg { display: block; width: 26px; height: 26px; }
#header .by-header-contact:focus-visible { outline: 2px solid currentColor; outline-offset: 1px; }
@media (hover: hover) {
  #header .by-header-contact:hover { background: #e9f4ec; }
}

@media (min-width: 761px) and (max-width: 800px) {
  #header .by-shop-header .tools > :is(a[href="#cart"], a[href="#account"]) { display: inline-grid !important; place-items: center; }
}
@media (max-width: 760px) {
  #header .by-shop-header { min-height: 54px; padding: 4px clamp(8px, 2.8vw, 18px); gap: 4px; }
  #header .by-shop-header .atelier-brand { font-size: clamp(16px, 4.5vw, 22px); letter-spacing: .08em; }
  #header .by-shop-header .byarslan-wordmark { width: clamp(92px, 25vw, 122px); }
  #header .by-shop-header .byasis-wordmark { width: clamp(76px, 25.5vw, 122px); }
  #header .by-shop-header .tools { gap: 2px; }
  body:has(#mobile-nav > a[href="#cart"]) #header .by-shop-header .tools > a[href="#cart"] { display: none; }
  #header .by-shop-header .by-header-contact { width: 40px; min-width: 40px; min-height: 42px; }
  #header .by-shop-header .store-language .store-language-trigger { width: 46px; padding: 0; }
  #header .by-shop-header .store-language { width: 46px; }
  #header .by-shop-header .store-language [data-language-code] { display: none; }
  body #mobile-nav.hub-mobile-nav:has(> .by-directory-link) { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)) !important; padding-inline: 0; }
  #mobile-nav:has(> .by-directory-link) > a { width: 100%; min-width: 0; text-align: center; }
}
@media (max-width: 359px) {
  #header .by-shop-header .tools { gap: 0; }
  #header .by-shop-header .store-language,
  #header .by-shop-header .store-language .store-language-trigger { width: 38px; }
}

.moda-search-row:has(.catalog-query) { display:block; position:relative; z-index:4; }
.moda-search-row .atelier-search:has(.catalog-query) { width:100%; max-width:none; }
.catalog-query { position:relative; margin:0; min-width:0; text-align:start; }
.catalog-query .live-search-field { display:flex; align-items:center; gap:.6rem; min-width:0; margin:0; padding:4px 6px 4px 12px; }
.catalog-query .live-search-field > svg { width:20px; height:20px; flex:none; }
body .catalog-query .live-search-field > input { flex:1 1 0; width:0; min-width:0; font-size:16px; padding:8px 0; text-align:start; }
.catalog-query .live-search-field > .catalog-submit { background:#1e5745; color:white; border:0; border-radius:6px; min-height:40px; padding:0 16px; font-size:.9rem; font-weight:600; flex:none; }
.catalog-query [data-search-clear] { flex:none; }
.catalog-query .search-status { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
.catalog-matches { position:absolute; z-index:21; inset-inline:0; top:calc(100% + 4px); background:#fff; border:1px solid #ded7ca; border-radius:9px; box-shadow:0 8px 20px #46372317; }
body .catalog-query .catalog-matches .live-search-results { position:static; max-height:min(44dvh,390px); box-shadow:none; border:0; margin:0; overflow:auto; overscroll-behavior:contain; }
.catalog-query [data-search-more] { display:block; width:100%; min-height:40px; border:0; border-top:1px solid #e7e0d5; background:white; color:#18563f; }
.catalog-query [hidden] { display:none !important; }
