/* The shopper pages and the local review tools share this masthead. */
@font-face {
  font-family: "Dysto header";
  src: url("/assets/dm-sans-latin.woff2") format("woff2");
  font-weight: 100 1000;
  font-display: swap;
}
.site-header {
  --header-ink: #28231e;
  --header-red: #a33224;
  background: #fff09a;
  border-bottom: 2px solid var(--header-ink);
  color: var(--header-ink);
  font-family: "Dysto header", system-ui, sans-serif;
  line-height: normal;
  flex: none;
}
.site-header, .site-header * { box-sizing: border-box; }
.site-header .header-inner {
  width: min(1200px, calc(100% - 108px));
  margin-inline: auto;
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.site-header .wordmark, .wordmark.dysto-wordmark {
  display: inline-block;
  white-space: nowrap;
  flex: none;
  padding: 0;
  color: #28231e;
  font-family: "Dysto header", system-ui, sans-serif;
  font-size: clamp(1.65rem, 3.5vw, 2.65rem);
  line-height: .9;
  font-weight: 900;
  letter-spacing: -.075em;
  text-decoration: none;
}
.site-header .wordmark .brand-period, .dysto-wordmark .brand-period {
  display: inline-block;
  width: .18em;
  height: .18em;
  margin-inline-start: .065em;
  overflow: hidden;
  border-radius: 50%;
  background: #a33224;
  color: transparent;
}
.site-header .header-nav { display: flex; align-items: center; gap: clamp(10px, 3vw, 34px); }
.site-header .nav-action {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--header-ink);
  font-size: .93rem;
  font-weight: 620;
  text-decoration: none;
  text-underline-offset: .22em;
}
.site-header .header-nav .nav-action:hover { text-decoration: underline; color: var(--header-ink); }
.site-header .nav-action--pill {
  border: 2px solid var(--header-ink);
  border-radius: 999px;
  padding: 0 15px;
  background: #fff;
  font-size: .98rem;
  font-weight: 780;
  white-space: nowrap;
}
.site-header :is(a,summary):focus-visible { outline: 3px solid var(--header-red); outline-offset: 3px; }
.site-header .account-menu { position: relative; flex: none; }
.site-header .beta-phone-link { display:none; }
@media (min-width:850px) {
  .site-header .beta-phone-link { display:inline-flex; align-items:center; min-height:44px; color:inherit; font-size:.87rem; font-weight:650; text-decoration:underline; text-underline-offset:3px; }
}
.site-header .account-menu summary {
  list-style: none; cursor: pointer; width: 44px; height: 44px; display: grid; place-items: center;
  border: 0; background: transparent; color: var(--header-ink);
}
.site-header .account-menu summary::-webkit-details-marker { display: none; }
.site-header .account-menu summary:hover,.site-header .account-menu[open] summary { color: var(--header-red); }
.site-header .account-links {
  position: absolute; z-index: 12; top: calc(100% + 6px); right: 0; padding: 5px; min-width: 10rem;
  border: 1.5px solid var(--header-ink); background: #fffdf4; border-radius: 12px; box-shadow: 2px 3px 0 #28231e;
}
.site-header .account-links a {
  display: flex; align-items: center; min-height: 40px; padding: 0 12px; border-radius: 7px;
  font-size: .92rem; font-weight: 600; text-decoration: none; color: var(--header-ink);
}
.site-header .account-links a:hover,.site-header .account-links a:focus-visible { background: #fff0a4; }
.local-tool-strip {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 7px clamp(14px, 4vw, 54px); border-bottom: 1px solid #d9d0bd;
  background: #fffbed; color: #514a40; font: 620 .85rem/1.45 "Dysto header", system-ui, sans-serif;
}
.local-tool-strip h1 { margin: 0; padding: 0; border: 0; font: inherit; }
.local-tool-strip a { color: inherit; text-underline-offset: 3px; }
@media (max-width: 840px) {
  .site-header .header-inner { width: calc(100% - 56px); }
}
@media (max-width: 560px) {
  .site-header .header-inner { width: calc(100% - 28px); min-height: 63px; gap: 8px; }
  .site-header .header-nav { gap: clamp(6px, 2.4vw, 12px); }
  .site-header .nav-action { min-height: 40px; font-size: .78rem; white-space: nowrap; }
  .site-header .nav-action--pill { padding-inline: 10px; border-width: 1.5px; font-size: .84rem; }
}
@media (max-width: 380px) {
  .site-header .header-inner { width: calc(100% - 24px); gap: 6px; }
  .site-header .header-nav { gap: 7px; }
  .site-header .nav-action--pill { padding-inline: 8px; }
}
@media (max-width: 340px) {
  .site-header .header-inner { width: calc(100% - 20px); gap: 4px; }
  .site-header .header-nav { gap: 6px; }
  .site-header .nav-action--pill { padding-inline: 7px; }
}
@media (forced-colors: active) {
  .site-header .wordmark .brand-period, .dysto-wordmark .brand-period { background: LinkText; forced-color-adjust: none; }
}
