/* One aligned filter row, with a bounded search field and a single focus surface. */ .store .shop-filters {
  display:grid;
  grid-template-columns:minmax(240px,480px) minmax(210px,270px) auto;
  justify-content:start;
  align-items:end;
  gap:18px;
  padding:22px 0 30px
}
.store .shop-search-field,.store .shop-sort {
  display:flex;
  flex-direction:column;
  align-items:stretch;
  gap:10px;
  margin:0;
  min-width:0;
  color:var(--muted);
  font:23px/1.3 PixelUI,monospace
}
.store .shop-search {
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
  min-height:54px;
  padding:0 16px;
  margin:0;
  border:1px solid var(--border);
  border-radius:9px;
  background:var(--panel);
  transition:border-color .15s,box-shadow .15s
}
.store .shop-search svg {
  width:19px;
  height:19px;
  flex:none
}
.store .shop-search input {
  min-width:0;
  width:100%;
  height:52px;
  margin:0;
  padding:8px 0;
  border:0;
  background:transparent;
  font:23px/1.3 PixelUI,monospace;
  border-radius:8px;
  outline:none!important;
  box-shadow:none!important
}
.store .shop-search:focus-within {
  border-color:#79dce9;
  box-shadow:0 0 0 2px #79dce930,0 0 12px #79dce918
}
.store .shop-sort select {
  height:54px;
  min-height:54px;
  border-radius:9px;
  font:23px/1.3 PixelUI,monospace
}
.store .shop-filters .store-filter-button {
  height:54px;
  min-height:54px;
  margin:0;
  padding:10px 22px;
  border-radius:9px;
  align-self:end;
  white-space:nowrap
}
@media(max-width:760px) {
  .store .shop-filters {
    grid-template-columns:minmax(0,1fr) auto;
    gap:14px
  }
  .store .shop-search-field {
    grid-column:1/-1
  }
}
.shop-documentation {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  padding:18px 22px;
  margin-top:22px;
  border:1px solid #73518b;
  border-radius:10px;
  background:#171024;
  box-shadow:0 0 14px #ac52e515
}
.shop-documentation strong {
  font:24px/1.35 PixelUI,monospace;
  color:var(--text)
}
.shop-documentation p {
  font:21px/1.4 PixelUI,monospace;
  color:var(--muted);
  margin:5px 0 0
}
.shop-documentation .store-button {
  flex:none;
  margin:0;
  min-height:44px;
  padding:10px 16px;
  font:22px/1.3 PixelUI,monospace;
  white-space:nowrap
}
@media(max-width:700px) {
  .shop-documentation {
    align-items:flex-start;
    flex-direction:column;
    gap:12px;
    padding:16px
  }
  .shop-documentation .store-button {
    white-space:normal
  }
}

/* Additional category tabs wrap without creating horizontal page overflow. */
.shop-departments { flex-wrap:wrap; overflow-x:visible; border-radius:24px; }

/* A compact wrapping row keeps system selection separate from the main departments. */
.shop-subcategories { display:flex; flex-wrap:wrap; gap:8px; margin:14px 0 20px; }
.shop-subcategories a { display:block; padding:8px 15px; border:1px solid var(--border); border-radius:8px; color:var(--muted); text-decoration:none; font:inherit; }
.shop-subcategories a:hover,.shop-subcategories a[aria-current] { color:var(--text); background:var(--hover); border-color:#a77bbe; }
.shop-subcategories a:focus-visible { outline:2px solid #79e5ee; outline-offset:3px; }
