/* Unified storefront navigation. Scoped to preserve footer and admin styling. */
.site-header.compact-header { background: #164f3e; color: #fff; position: relative; z-index: 100; border: 0; box-shadow: 0 3px 16px #143c3010; }
.compact-header .header-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 88px; }
.compact-header .header-brand { display: flex; align-items: center; gap: 11px; color: #fff; font-size: 15px; line-height: 1.45; letter-spacing: -.2px; flex-shrink: 0; }
.compact-header .logo-icon { display: grid; place-items: center; width: 38px; height: 42px; background: #e1edcf; color: #164f3e; border-radius: 11px; font-size: 23px; font-weight: 800; }
.compact-header .brand-name { max-width: 165px; }
.primary-nav { margin-left: auto; }
.primary-menu { display: flex; align-items: center; gap: 3px; list-style: none; margin: 0; padding: 0; }
.primary-menu a { display: block; padding: 11px 10px; color: #edf5ef; font-size: 12px; font-weight: 500; line-height: 1.8; white-space: nowrap; border-radius: 9px; transition: background .18s; }
.primary-menu a:hover { background: #ffffff14; color: #fff; }
.primary-menu a[aria-current="page"] { background: #e1edcf; color: #164f3e; font-weight: 700; }
.compact-header .header-actions { display: flex; align-items: center; gap: 5px; margin: 0; flex-shrink: 0; }
.compact-header .action-item, .store-search summary, .compact-header .btn-mobile-menu { display: inline-flex; align-items: center; justify-content: center; position: relative; width: 40px; height: 44px; min-height: 44px; padding: 10px; color: #fff; border: 0; border-radius: 10px; background: transparent; cursor: pointer; }
.compact-header svg { display: block; width: 21px; height: 21px; flex-shrink: 0; }
.compact-header .action-item:hover, .store-search summary:hover, .store-search[open] summary, .compact-header .btn-mobile-menu:hover { color: #fff; background: #ffffff18; }
.compact-header .action-badge { position: absolute; top: 0; right: -1px; display: grid; place-items: center; min-width: 16px; height: 16px; padding: 0 4px; background: #e1edcf; color: #164f3e; font-size: 10px; font-weight: 700; border-radius: 20px; border: 1px solid #164f3e; line-height: 1; }
.compact-header .btn-mobile-menu { display: none; }
.store-search { position: relative; }
.store-search summary { list-style: none; }
.store-search summary::-webkit-details-marker { display: none; }
.store-search-panel { position: absolute; top: calc(100% + 17px); right: 0; width: 420px; max-width: calc(100vw - 32px); padding: 22px; border: 1px solid #dce6dc; border-radius: 16px; background: #fff; color: #164f3e; box-shadow: 0 16px 48px #143c3026; }
.compact-search-form label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 12px; }
.compact-search-fields { display: flex; align-items: stretch; gap: 8px; }
.compact-search-fields input { flex: 1; min-width: 0; width: 100%; min-height: 48px; padding: 10px 12px; background: #f5f7f1; border: 1px solid #d9e2d8; border-radius: 9px; font: inherit; font-size: 14px; color: #1c3e30; }
.compact-search-fields button { display: grid; place-items: center; width: 48px; flex-shrink: 0; background: #164f3e; color: #fff; border: 0; border-radius: 9px; cursor: pointer; }
.compact-header :is(a,button,summary,input):focus-visible { outline: 3px solid #b9d797; outline-offset: 3px; }
.store-drawer-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid #dfe6dc; padding-bottom: 20px; color: #164f3e; }
.store-drawer-heading button { border: 0; background: #edf2e7; color: #164f3e; width: 44px; height: 44px; border-radius: 10px; font-size: 20px; cursor: pointer; flex-shrink: 0; }
.store-drawer-menu { list-style: none; display: grid; gap: 8px; padding: 20px 0; margin: 0; }
.store-drawer-menu a { display: block; padding: 13px 16px; border-radius: 10px; font-size: 15px; color: #164f3e; }
.store-drawer-menu a:hover, .store-drawer-menu a[aria-current="page"] { background: #edf2e7; font-weight: 700; }
@media (max-width: 1179px) {
  .compact-header .primary-nav { display: none; }
  .compact-header .btn-mobile-menu { display: inline-flex; }
  .compact-header .header-actions { margin-left: auto; }
}
@media (max-width: 600px) {
  .compact-header .header-row { min-height: 76px; padding-inline: 16px; gap: 10px; }
  .compact-header .header-brand { gap: 8px; font-size: 12px; min-width: 0; flex-shrink: 1; }
  .compact-header .brand-name { max-width: 125px; overflow-wrap: anywhere; }
  .compact-header .logo-icon { width: 30px; height: 36px; border-radius: 9px; font-size: 20px; }
  .compact-header .header-actions { gap: 0; }
  .compact-header .action-item, .store-search summary, .compact-header .btn-mobile-menu { width: 34px; padding-inline: 7px; }
  .compact-header .header-actions > .action-item:first-child { display: inline-flex; }
  .compact-header svg { width: 20px; height: 20px; }
  .store-search { position: static; }
  .store-search-panel { top: calc(100% + 8px); left: 12px; right: 12px; width: auto; max-width: none; padding: 18px; }
}
