/* Storefront only. Header follows normal document flow at every width. */
.brand-theme.sc-store .sc-header { position:static; }
.brand-theme.sc-store #categories, .brand-theme.sc-store #products { scroll-margin-top:16px; }
.brand-theme.sc-store .sc-header [hidden] { display:none; }
.brand-theme.sc-store .sc-header .theme-switcher-compact { gap:0; }
.brand-theme.sc-store .sc-header .theme-switcher-compact button { width:44px; height:44px; min-height:44px; padding:10px; border:0; background:transparent; color:var(--brand-ink); }
.brand-theme.sc-store .sc-header .theme-switcher-compact button:hover { background:var(--brand-gold-soft); }
.brand-theme.sc-store .sc-header .theme-switcher-compact .sc-icon { display:block; width:20px; height:20px; }
.brand-theme.sc-store .sc-header .theme-toggle-sun { display:none; }
html[data-theme="dark"] .brand-theme.sc-store .sc-header .theme-toggle-sun { display:block; }
html[data-theme="dark"] .brand-theme.sc-store .sc-header .theme-toggle-moon { display:none; }
@media(min-width:761px) {
  .brand-theme.sc-store .sc-brand-strip { display:none; }
  .brand-theme.sc-store .sc-header-inner { min-height:64px; padding:8px 28px; gap:12px; }
  .brand-theme.sc-store .sc-header .sc-brand img { width:120px; height:48px; }
  .brand-theme.sc-store .sc-header-search-toggle { margin-left:auto; }
  .brand-theme.sc-store .sc-header-actions { gap:8px; margin-left:0; }
  .brand-theme.sc-store .sc-header .sc-search { flex:1; max-width:480px; }
  .brand-theme.sc-store .sc-header .sc-search input { flex:1; width:0; min-width:0; }
  .brand-theme.sc-store .sc-header .sc-search button { display:flex; align-items:center; justify-content:center; flex-shrink:0; }
}
@media(min-width:761px) and (pointer:fine) {
  .brand-theme.sc-store .sc-header .theme-switcher-compact button,
  .brand-theme.sc-store .sc-header .sc-icon-button { width:32px; height:32px; min-height:32px; min-width:32px; padding:7px; }
  .brand-theme.sc-store .sc-header .sc-icon,
  .brand-theme.sc-store .sc-header .theme-switcher-compact .sc-icon { width:18px; height:18px; }
  .brand-theme.sc-store .sc-header .sc-search input { min-height:36px; padding:8px 10px; }
  .brand-theme.sc-store .sc-header .sc-search button { min-width:36px; min-height:36px; padding:8px; }
}
@media(max-width:760px) {
  .brand-theme.sc-store .sc-header-inner { display:grid; grid-template-columns:44px minmax(88px,1fr) auto auto; gap:8px 0; align-items:center; min-height:64px; height:auto; padding:10px 8px; }
  .brand-theme.sc-store #sc-menu-toggle { grid-column:1; grid-row:1; }
  .brand-theme.sc-store .sc-header .sc-brand { grid-column:2; grid-row:1; justify-self:start; min-width:0; }
  .brand-theme.sc-store .sc-header-search-toggle { grid-column:3; grid-row:1; }
  .brand-theme.sc-store .sc-header .sc-brand img { width:104px; max-width:100%; height:42px; border-radius:6px; }
  .brand-theme.sc-store .sc-header-actions { grid-column:4; grid-row:1; gap:0; margin:0; }
  .brand-theme.sc-store .sc-header-actions .sc-desktop-account { display:none; }
  .brand-theme.sc-store .sc-header .sc-icon-button { width:44px; height:44px; min-width:44px; min-height:44px; padding:12px; }
  .brand-theme.sc-store .sc-header .sc-icon { width:20px; height:20px; }
  .brand-theme.sc-store .sc-header .sc-search { grid-column:1 / -1; grid-row:2; order:5; margin:0; width:100%; min-width:0; flex-basis:auto; border-radius:10px; }
  .brand-theme.sc-store .sc-header .sc-search input { flex:1; width:0; min-width:0; min-height:44px; padding:10px; font-size:16px; }
  .brand-theme.sc-store .sc-header .sc-search button { flex:0 0 44px; display:flex; align-items:center; justify-content:center; width:44px; height:44px; min-height:44px; padding:10px; }
}
