body.subpage {
  --ink: #24344b;
  --muted: #475669;
  --line: #c5cdd4;
  --quiet: #edf0f4;
  --accent: #24344b;
}

.site-header {
  color: #fff;
  background: #24344b;
  --muted: #dae5f1;
  --line: #708094;
}
.site-header a:hover { color: #fff; }
.site-header .all-menu > nav { color: #fff; background: #24344b; border-color: var(--line); }
.site-header .all-menu a[aria-current="page"] { color: #fff; }
.page-heading h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); }
.article > .page-heading { margin-bottom: clamp(1.35rem, 3.45vw, 2.4rem); }
.article > .page-heading, .catalog-group > h2 {
  border-bottom: 1px solid var(--line);
  padding-bottom: .85rem;
}
.store-layout { grid-template-columns: minmax(0, 1fr); }
.store-layout > figure img {
  width: 100%;
  aspect-ratio: 719 / 355;
  object-fit: cover;
  object-position: center 40%;
}
.store-info { border-top: 1px solid var(--line); padding-top: 1.2rem; }
.site-footer { background: var(--quiet); }
.category-entry { border-bottom-color: var(--line); }

@media (min-width: 56rem) {
  .site-layout {
    display: grid;
    grid-template-columns: minmax(14rem, 25.4%) minmax(0, 1fr);
    grid-template-rows: 1fr auto;
    max-width: 80rem;
    min-height: 100svh;
    margin-inline: auto;
  }
  .site-header { grid-column: 1; grid-row: 1 / span 2; border: 0; }
  #main, .site-footer { grid-column: 2; min-width: 0; }
  .site-header .header-inner {
    display: flex;
    width: 100%;
    padding: 2.75rem clamp(1.3rem, 2.5vw, 2rem);
    flex-direction: column;
    align-items: stretch;
    gap: 1.65rem;
  }
  .site-header .site-brand { align-self: start; }
  .site-header .site-brand strong { font: 600 clamp(1.9rem, 3vw, 2.9rem) / 1.28 var(--mincho); }
  .site-header .primary-nav {
    flex: initial;
    display: grid;
    justify-content: stretch;
    gap: 0;
    margin: .1rem 0 0;
    padding-block: .6rem;
    border-block: 1px solid var(--line);
  }
  .site-header .primary-nav a { text-align: left; justify-content: start; white-space: normal; }
  .site-header .all-menu { margin: 0; }
  .site-header .all-menu > nav {
    position: static;
    width: auto;
    max-height: none;
    border: 0;
    box-shadow: none;
    padding: .3rem 0 0;
  }
  .site-header .all-menu > nav a { min-height: 2.75rem; }
  .footer-inner {
    grid-template-columns: minmax(9.5rem, .72fr) minmax(0, 1fr);
  }
  .footer-nav { grid-column: 1 / -1; }
  .category-entry {
    grid-template-columns: minmax(5.1rem, 30%) minmax(0, 1fr);
    gap: .9rem;
  }
}
@media (min-width: 56rem) and (max-width: 68rem) {
  .category-grid, .paired-list { grid-template-columns: minmax(0, 1fr); }
  .category-entry:nth-child(2) { padding-top: 1.25rem; }
  .category-entry .product-media img { margin-inline: auto; }
}
