.shop-header-inner { grid-template-columns: minmax(170px,auto) auto minmax(180px,1fr) auto auto; gap: 16px; }
.shop-create-account { display:inline-flex; align-items:center; gap:4px; color:inherit; font-weight:700; line-height:1.15; text-decoration:none; white-space:nowrap; }
.shop-create-account img { display:block; width:70px; height:68px; object-fit:cover; }
.shop-create-account:focus-visible { outline:3px solid var(--shop-navy); outline-offset:3px; }
@media (max-width:1100px) {
  .shop-header-inner { grid-template-columns: minmax(0,1fr) auto auto; }
  .shop-brand { grid-column:1; grid-row:1; }
  .shop-create-account { grid-column:2; grid-row:1; }
  .shop-login { grid-column:3; grid-row:1; }
  .shop-subjects { grid-column:1; grid-row:2; }
  .shop-search { grid-column:2/4; grid-row:2; }
}
@media (max-width:560px) {
  .shop-header-inner { grid-template-columns: minmax(0,1fr) auto; }
  .shop-brand { grid-column:1/3; grid-row:1; }
  .shop-create-account { grid-column:1; grid-row:2; justify-self:end; font-size:14px; }
  .shop-create-account img { width:46px; height:46px; }
  .shop-login { grid-column:2; grid-row:2; }
  .shop-subjects { grid-column:1; grid-row:3; }
  .shop-search { grid-column:2; grid-row:3; }
}

/* Keep both mobile columns shrinkable so search cannot push account and subjects off screen. */
@media (max-width:560px) {
 .shop-header-inner { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .shop-search { min-width:0; padding-inline:10px; }
 .shop-create-account { min-width:0; justify-self:start; white-space:normal; font-size:13px; }
 .shop-create-account img { flex:0 0 46px; }
 .shop-subjects summary { padding-inline:8px; font-size:0.9rem; }
}
