.header-inner:has(#bagButton:not([hidden])) :is(#bagButton, .menu-toggle) {
  background: var(--primary-fill, var(--red));
  color: var(--primary-ink, var(--white));
  border-color: var(--primary-line, transparent);
}
.header-inner:has(#bagButton:not([hidden])) :is(#bagButton, .menu-toggle) .header-icon { stroke: currentColor; }
@media (hover: hover) {
  .header-inner:has(#bagButton:not([hidden])) :is(#bagButton, .menu-toggle):hover { background: var(--primary-hover, var(--red-hover)); }
}
.header-inner:has(#bagButton:not([hidden])) :is(#bagButton, .menu-toggle):active { background: var(--primary-hover, var(--red-hover)); }

#bagButton {
  flex: none;
  min-height: 45px;
  gap: 6px;
  padding: 6px 12px;
  white-space: nowrap;
}
@media (width > 620px) {
  .header-inner:has(#bagButton:not([hidden])) .header-nav { margin-inline-start: auto; }
}
@media (621px <= width <= 800px) {
  .header-inner:has(#bagButton:not([hidden])) { column-gap: 12px; }
  .header-inner:has(#bagButton:not([hidden])) .logo { width: clamp(112px, 22vw, 139px); }
  .header-inner:has(#bagButton:not([hidden])) .header-nav { gap: clamp(8px, 1.6vw, 16px); }
}
@media (max-width: 620px) {
  .header-inner:has(#bagButton:not([hidden])) { column-gap: 6px; }
  .header-inner:has(#bagButton:not([hidden])) .logo { width: clamp(85px, calc(100vw - 225px), 139px); }
  #bagButton { order: 1; margin-inline-start: auto; }
  .header-inner > .menu-toggle { order: 2; }
  .header-inner > .header-nav { order: 3; }
  .header-inner:has(#bagButton:not([hidden])) :is(#bagButton, .menu-toggle) {
    gap: 6px;
    padding-inline: 9px;
  }
}
