/* Keep the wordmark in normal layout, with its own space alongside the two actions. */
body > header.store-header {
  position: sticky;
  inset-block-start: 0;
  z-index: 70;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  height: auto;
  min-height: 72px;
  padding: 10px clamp(14px, 4vw, 52px);
  background: #5a0d1f;
  color: #f8f5ee;
  border-bottom: 1px solid #f8f5ee33;
  overflow: visible;
}
.store-header .store-wordmark {
  display: block;
  color: inherit;
  text-decoration: none;
  font: 400 39px/1.08 Georgia, serif;
  letter-spacing: -1.4px;
}
.store-header .store-wordmark span {
  display: block;
  text-align: center;
  font: 600 8px/1.2 Arial, sans-serif;
  letter-spacing: 2.6px;
}
.store-header .store-header-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 44px;
  min-height: 44px;
  padding: 0 5px;
  border: 0;
  border-radius: 3px;
  background: transparent;
  color: inherit;
  text-decoration: none;
  font: 600 14px/1.2 'DM Sans', Arial, sans-serif;
  cursor: pointer;
}
.store-header #search-btn { justify-self: start; }
.store-header #bag-btn { justify-self: end; }
.store-header .store-header-action svg {
  width: 21px;
  height: 21px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}
.store-header .bag-count { font-size: 12px; font-variant-numeric: tabular-nums; }
.store-header .store-header-action:hover { background: #f8f5ee15; }
.store-header :is(a, button):focus-visible { outline: 2px solid #edc99b; outline-offset: 3px; }

#store-search {
  position: fixed;
  inset: 0 0 0 auto;
  box-sizing: border-box;
  margin: 0;
  width: min(calc(100% - 24px), 440px);
  max-width: none;
  height: 100%;
  max-height: none;
  padding: max(20px, env(safe-area-inset-top)) 24px max(24px, env(safe-area-inset-bottom));
  overflow-y: auto;
  overscroll-behavior: contain;
  background: #f8f5ee;
  color: #5a0d1f;
  border: 0;
  border-left: 1px solid #d9c9bf;
  box-shadow: -12px 0 36px #25010b35;
}
#store-search[open] { animation: store-panel-in .16s ease-out; }
@keyframes store-panel-in { from { opacity: .65; } }
#store-search::backdrop { background: #22030b99; }
html:has(#store-search[open]) { overflow: hidden; }
.store-search-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 20px; }
#store-search h2 { margin: 0; font: 400 clamp(28px, 7vw, 36px)/1.15 Georgia, serif; }
.store-search-close {
  width: 44px;
  height: 44px;
  border: 1px solid #d9c9bf;
  background: transparent;
  color: #5a0d1f;
  font: 28px/1 Arial, sans-serif;
  cursor: pointer;
}
#store-search label { display: block; margin-bottom: 8px; font: 600 14px/1.4 'DM Sans', Arial, sans-serif; }
#store-search-input {
  box-sizing: border-box;
  width: 100%;
  min-height: 46px;
  border: 1px solid #aa838a;
  border-radius: 3px;
  padding: 10px 12px;
  background: #fffdf8;
  color: #5a0d1f;
  font: 16px/1.4 'DM Sans', Arial, sans-serif;
}
#store-search :is(a, button, input):focus-visible { outline: 2px solid #5a0d1f; outline-offset: 2px; }
#store-search .store-search-status { margin: 12px 0; color: #6a404a; font-size: 14px; }
.store-search-status:empty { display: none; }
#store-search .store-search-links { position: static; display: grid; gap: 12px; margin-top: 22px; }
#store-search .store-search-links[hidden], #store-search .store-search-results[hidden] { display: none; }
#store-search h3 { margin: 0; font: 600 12px/1.4 'DM Sans', Arial, sans-serif; text-transform: uppercase; letter-spacing: 1px; }
#store-search .store-search-links > div { padding-top: 12px; border-top: 1px solid #d9c9bf; }
#store-search a { color: #5a0d1f; text-decoration: none; }
#store-search a:hover { text-decoration: underline; }
#store-search .store-search-links a, #store-search .store-search-results a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  font: 15px/1.4 'DM Sans', Arial, sans-serif;
}
.store-search-results { list-style: none; padding: 0; margin: 0; }
.store-search-results li + li { border-top: 1px solid #d9c9bf; }
.store-search-results span { text-align: right; font-size: 13px; }
.customer-account-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0; }
.customer-account-actions a { display: inline-flex; align-items: center; }
@media (max-width: 800px) {
  body.storefront #launch-offer:not([hidden]) { position: relative; top: auto; z-index: auto; }
  body.storefront:has(#launch-offer:not([hidden])) > header.store-header { top: 0; }
  html:has(body.storefront) { scroll-padding-top: 76px; }
  body.storefront > header.store-header, body > header.store-header { padding-inline: max(12px, env(safe-area-inset-left), env(safe-area-inset-right)); }
  .store-header .store-wordmark { font-size: clamp(30px, 9vw, 36px); }
}
@media (prefers-reduced-motion: reduce) {
  #store-search[open] { animation: none; }
}
