/* In-place polish: original theme, backgrounds, effects and navigation CSS stay intact. */
#books .book-grid .cover-link img{object-fit:contain}
#merch .fsc-merch-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2rem 1.3rem;align-items:stretch}
#merch .fsc-merch-card{display:flex;flex-direction:column;min-width:0}
#merch .fsc-merch-image{aspect-ratio:1;display:grid;place-items:center}
#merch .fsc-merch-image img{width:100%;height:100%;aspect-ratio:1;object-fit:contain}
#merch .fsc-merch-copy{display:flex;flex:1;flex-direction:column;align-items:flex-start;gap:.35rem}
#merch .fsc-merch-copy>a{margin-top:auto;min-height:44px;display:inline-flex;align-items:center}
#merch .fsc-section-action{margin-top:2rem;display:flex;align-items:center;gap:1.2rem;flex-wrap:wrap}
#merch .fsc-section-action p{margin:0}
@media(max-width:1000px){#merch .fsc-merch-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:430px){#merch .fsc-merch-grid{grid-template-columns:minmax(0,1fr)}}


.fsc-merch-collections { margin: 0 0 1.5rem; }
.fsc-merch-collections h3 { margin: 0 0 .8rem; }
.fsc-merch-collections ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
  gap: .65rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.fsc-merch-collections li { min-width: 0; }
.fsc-merch-collections a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .6rem;
  min-height: 48px;
  height: 100%;
  box-sizing: border-box;
  padding: .65rem .8rem;
  border: 1px solid #a27caf;
  border-radius: 12px;
  background: linear-gradient(135deg, #fbebff, #e3f9ff);
  color: #281b3a;
  font-weight: 700;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.fsc-merch-collections a:hover { background: #fff2bc; }
.fsc-merch-collections a:focus-visible { outline: 3px solid #6c379a; outline-offset: 3px; }
