/* Homepage merch grid (2026-11-23). Layout only; brand colors, fonts and .button styles stay as-is. */

body.page-home #merch.jh-merch{
  border-top:1px solid #493b2c;
}

body.page-home .jh-merch-head{
  margin:0 0 20px;
}

body.page-home .jh-merch-head .kicker{
  margin:0 0 8px;
}

body.page-home .jh-merch-head h2{
  margin:0;
}

body.page-home .jh-merch-grid{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:12px;
}

@media(min-width:801px){
  body.page-home .jh-merch-grid{
    grid-template-columns:repeat(4, minmax(0,1fr));
    gap:16px;
  }
}

body.page-home .jh-merch-card{
  display:flex;
  flex-direction:column;
  height:100%;
  text-decoration:none;
  color:inherit;
  background:#1c1914;
  border:1px solid #493b2c;
  min-width:0;
}

body.page-home .jh-merch-card:hover{
  border-color:#a67a50;
}

body.page-home .jh-merch-card:focus-visible{
  outline:2px solid #eadabe;
  outline-offset:4px;
}

body.page-home .jh-merch-figure{
  margin:0;
  line-height:0;
  background:#000;
}

body.page-home .jh-merch-card img{
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:3 / 4;
  object-fit:contain;
  background:#000;
}

body.page-home .jh-merch-meta{
  display:flex;
  flex-direction:column;
  gap:4px;
  padding:10px 12px 12px;
  min-width:0;
}

body.page-home .jh-merch-name{
  margin:0;
  color:#eadabe;
  font-size:14px;
  font-weight:700;
  line-height:1.3;
  letter-spacing:.02em;
}

body.page-home .jh-merch-price{
  margin:0;
  color:#c7b79d;
  font-size:13px;
  font-weight:700;
  letter-spacing:.04em;
  font-variant-numeric:tabular-nums;
}

body.page-home .jh-merch-actions{
  margin:20px 0 0;
}

body.page-home .jh-merch-actions .button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
}

body.page-home .jh-merch-actions .button:focus-visible{
  outline:2px solid #eadabe;
  outline-offset:4px;
}

@media(max-width:600px){
  body.page-home .jh-merch-head{
    margin-bottom:16px;
  }
  body.page-home .jh-merch-grid{
    gap:10px;
  }
  body.page-home .jh-merch-meta{
    padding:8px 10px 10px;
  }
  body.page-home .jh-merch-name{
    font-size:13px;
  }
  body.page-home .jh-merch-actions{
    margin-top:16px;
  }
}

/* Desktop nav: keep Merch + Book Jonny on one row without trimming items.
   Gap is slightly tighter than the previous 14–24px so the extra link fits. */
@media(min-width:801px){
  header nav{flex-wrap:nowrap;gap:clamp(8px,0.9vw,12px)}
  header nav a.nav-book,header .nav-book{margin-left:4px}
}
