.header {
  background: var(--paper, #f5f5ee);
  border-bottom: 1px solid #d2dacb;
  box-shadow: 0 5px 22px #1820150a;
}
.header .nav { display: grid; grid-template-columns: minmax(155px,1fr) auto auto; gap: 14px; min-height: 78px; }
.header .brand {
  justify-self: start;
  border-radius: 6px;
  cursor: pointer;
  transform-origin: left center;
  transition: transform 240ms cubic-bezier(.22,.75,.32,1);
}
.header .brand svg {
  filter: drop-shadow(0 0 4px #b4d65380);
  transition: filter 240ms ease;
}
.header .brand:is(:hover, :focus-visible) svg {
  transform: none;
  filter: drop-shadow(0 0 6px #a5cb38b3);
}
.header .brand i { text-shadow: 0 0 7px #b4d653a6; }
@media (hover: hover) and (pointer: fine) {
  .header .brand:hover { transform: scale(1.045); }
}
@media (prefers-reduced-motion: reduce) {
  .header .brand { transition: none; }
  .header .brand:hover { transform: none; }
}
.header .navlinks { gap: 8px; padding: 2px 0; }
.header .navlinks > a { display: block; padding: 9px 10px; border-radius: 6px; }
.header .navlinks > a:hover { color: #263d1a; background: #e8eddd; }
.header .navlinks > a[aria-current] { color: #263d1a; box-shadow: inset 0 -2px #7d9c45; }
.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 9px; }
.header-client { display: inline-flex; align-items: center; min-height: 42px; padding: 8px 7px; color: #46543a; font-size: 12px; font-weight: 650; white-space: nowrap; text-underline-offset: 4px; }
.header-client:hover { color: #181c19; text-decoration: underline; }
.header-client-short { display: none; }
.header-store { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; gap: 7px; padding: 7px 12px; border: 1px solid #a8bb7f; border-radius: 9px; background: #e8f5c9; color: #24361b; font-size: 13px; font-weight: 750; white-space: nowrap; text-decoration: none; }
.header-store svg { flex-shrink: 0; }
.header-store:is(:hover,[aria-current]) { background: #d1ff62; border-color: #91af43; }
.header .header-quote { border-radius: 9px; }
.header :is(a,button):focus-visible, .header-store:focus-visible { outline: 2px solid #567022; outline-offset: 3px; }
.d-reviewbar .header-store { min-height: 36px; margin-inline-start: auto; }
@media (max-width: 1000px) {
  .header .nav { grid-template-columns: minmax(0,1fr) auto auto; gap: 8px; min-height: 68px; }
  .header .navlinks { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; padding: 8px 14px; margin-inline: 12px; border: 1px solid #d7ded0; border-radius: 12px; background: #f9faf4; box-shadow: 0 10px 24px #18201519; }
  .header .navlinks.open { display: flex; }
  .header .menu { display: inline-grid; place-items: center; width: 42px; min-height: 42px; padding: 0; border: 1px solid #c5cfb9; border-radius: 8px; background: transparent; color: #181c19; }
  .header .header-quote { display: none; }
  .header-client-full { display: none; }
  .header-client-short { display: inline; }
  .header-client { border: 1px solid #c5cfb9; border-radius: 9px; padding-inline: 9px; }
}
@media (max-width: 490px) {
  .header .header-quote { min-height: 42px; padding: 7px 8px; font-size: 12px; }
  .header .brand { font-size: 23px; }
  .header .brand svg { width: 27px; height: 27px; }
  .header-actions { gap: 6px; }
  .header-store { padding-inline: 8px; gap: 5px; font-size: 12px; }
  .header .brand { font-size: 22px; gap: 5px; }
  .header .menu { width: 36px; }
  .header .nav { gap: 6px; }
  .d-reviewbar .header-store { margin-inline-start: 0; }
}
@media (max-width: 370px) {
  .header .header-quote { display: none; }
}
@media (max-width: 390px) {
  .header .brand { font-size: 20px; gap: 4px; }
  .header .brand svg { width: 24px; height: 24px; }
  .header .brand i { font-size: 24px; }
  .header-client { padding-inline: 7px; }
  .header-store { padding-inline: 7px; gap: 3px; }
  .header-store svg { width: 16px; }
}
@media (max-width: 350px) {
  .header .brand svg { display: none; }
  .header .nav { gap: 4px; }
  .header .menu { width: 32px; }
}
