/* No desktop layout overrides. The mobile button is progressive enhancement. */
.dn-header .dn-menu-toggle { display: none; }
.dn-header button.cart-btn { font-family: inherit; }
@media (max-width: 1024px) {
  body .dn-header { position: fixed; top: 0; z-index: 200; }
  body.admin-bar .dn-header { top: 32px; }
  body .dn-header .hdr {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start;
    height: auto; min-height: 72px; padding: 10px 12px; gap: 8px;
    width: 100%; max-width: 100%; box-sizing: border-box; position: relative;
  }
  body .dn-header .logo { gap: 7px; min-width: 0; flex: 1 1 0; }
  body .dn-header .logo svg { width: 34px; height: 34px; flex-shrink: 0; }
  body .dn-header .logo-text { min-width: 0; }
  body .dn-header .logo-name { font-size: 17px; letter-spacing: 1px; white-space: nowrap; }
  body .dn-header .logo-sub { font-size: 9px; letter-spacing: 2px; color: #bdb5a8; }
  body .dn-header .hdr-right { display: contents; }
  body .dn-header .cart-btn {
    order: 2; display: flex; justify-content: center; gap: 6px;
    min-width: 52px; min-height: 44px; padding: 6px; margin: 0;
    flex: 0 0 auto; box-sizing: border-box; color: #f0e6d0;
  }
  body .dn-header .cart-btn .dn-cart-label { display: none !important; }
  body .dn-header .cart-count { min-width: 20px; width: auto; height: 20px; padding: 0 4px; font-size: 11px; }
  body .dn-header.dn-mobile-ready .dn-menu-toggle {
    display: flex; align-items: center; justify-content: center; order: 3;
    width: 44px; height: 44px; padding: 0; flex: 0 0 44px;
    background: #111; color: #e8cb80; border: 1px solid #81735a;
    border-radius: 3px; cursor: pointer;
  }
  body .dn-header nav#dn-primary-menu {
    position: static; left: auto; transform: none; order: 4;
    display: flex !important; flex-direction: column; flex-wrap: nowrap !important;
    align-items: stretch; justify-content: flex-start; flex: 1 1 100%;
    width: 100%; max-width: 100%; min-width: 0; padding: 10px 0 0; gap: 4px;
    white-space: normal; max-height: calc(100vh - 92px); max-height: calc(100dvh - 92px); overflow-y: auto;
    border-top: 1px solid #40392c; box-sizing: border-box;
  }
  body .dn-header.dn-mobile-ready nav#dn-primary-menu[hidden] { display: none !important; }
  body .dn-header nav#dn-primary-menu > a {
    display: flex; align-items: center; flex-shrink: 0;
    min-height: 44px; margin: 0; padding: 10px 14px;
    box-sizing: border-box; font-size: 16px; line-height: 1.5;
    letter-spacing: .025em; white-space: normal; overflow-wrap: anywhere;
  }
  body .dn-header .lang-wrap {
    order: 5; display: flex; flex: 1 1 100%; justify-content: flex-start;
    gap: 8px; padding: 12px 0 4px; border-top: 1px solid #40392c;
  }
  body .dn-header .lang-wrap .lb {
    display: inline-flex; justify-content: center; align-items: center;
    min-width: 48px; min-height: 44px; margin: 0; padding: 8px 12px;
    box-sizing: border-box; font-size: 14px; line-height: 1.4; letter-spacing: .03em;
    color: #e9dfcb;
  }
  body .dn-header .lang-wrap .lb.on { color: #080808; }
  body .dn-header nav#dn-primary-menu .lang-wrap { flex: 0 0 auto; }
  body .dn-header a:focus-visible,
  body .dn-header button:focus-visible { outline: 2px solid #e8cb80; outline-offset: 2px; }
  body .dn-header .dn-menu-toggle[aria-expanded="true"] { background: #30291b; }
}
@media (max-width: 782px) {
  body.admin-bar .dn-header { top: 46px; }
}
