/* hillbillyyacht.club/merch/ - product cards on the site's paper; reuses site.css's .paper / .button */
.merch-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:26px}
.merch-card{display:flex;flex-direction:column;background:var(--paper) center/cover,var(--cream);border-radius:6px;box-shadow:0 4px 0 #261e1855,0 10px 24px #0003;overflow:hidden}
/* The photo stage (Joe 2026-11-05 UX pass): a near-white studio sweep, not the paper - multiplied onto cream a white
   mug read as see-through. Fourthwall's white background multiplies away into it; a mug's render is cropped square. */
.merch-pic{position:relative;width:100%;aspect-ratio:3/4;background:radial-gradient(120% 90% at 50% 42%,#fff 55%,#f1ece2);isolation:isolate;overflow:hidden}
.merch-pic.sq{aspect-ratio:1/1}
.merch-track{display:flex;width:100%;height:100%;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain}
.merch-track::-webkit-scrollbar{display:none}
.merch-track img{flex:0 0 100%;width:100%;height:100%;object-fit:contain;scroll-snap-align:center;mix-blend-mode:multiply;user-select:none;-webkit-user-drag:none}
.merch-dots{position:absolute;left:0;right:0;bottom:10px;display:flex;justify-content:center;gap:2px}
.merch-dots button{width:24px;height:24px;padding:0;border:0;background:none;cursor:pointer}
.merch-dots button::after{content:"";display:block;width:8px;height:8px;margin:auto;border-radius:50%;background:#36271d40;transition:width .2s,background .2s}
.merch-dots button.on::after{width:20px;border-radius:4px;background:var(--red)}
.merch-arrow{position:absolute;top:50%;width:40px;height:40px;margin-top:-20px;padding:0 0 3px;border:0;border-radius:50%;background:#ffffffd9;box-shadow:0 2px 6px #0003;color:var(--ink);font:700 26px/1 Arial,sans-serif;cursor:pointer;opacity:0;transition:opacity .2s}
.merch-arrow.prev{left:8px}.merch-arrow.next{right:8px}
.merch-pic:hover .merch-arrow,.merch-arrow:focus-visible{opacity:1}
@media (hover:none){.merch-arrow{display:none}}
.merch-card [hidden]{display:none!important}
.merch-pic.sq .merch-track img{padding:5% 5% 9%;box-sizing:border-box}
.merch-desc{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;cursor:pointer}
.merch-desc.open{display:block}
.merch-body{padding:16px 18px 20px;color:var(--ink)}
.merch-body h2{font:400 26px/1.1 var(--paint);margin:0 0 6px;color:var(--ink)}
.merch-desc{font:15px/1.45 Arial,sans-serif;margin:0 0 8px;color:#3b3127}
.merch-price{font:800 20px/1 Arial,sans-serif;margin:0 0 12px;color:var(--red)}
.merch-fits,.merch-sizes{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 10px}
.merch-swatches{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 10px}
.merch-chip{min-width:44px;min-height:38px;padding:6px 11px;border:2px solid #36271d;border-radius:6px;background:#fffaf0;color:var(--ink);font:700 14px/1 Arial,sans-serif;cursor:pointer}
.merch-chip.on{background:var(--ink);color:var(--cream)}
.merch-chip:disabled{opacity:.35;text-decoration:line-through;cursor:not-allowed}
.merch-swatch{width:32px;height:32px;border-radius:50%;border:2px solid #fff;box-shadow:0 0 0 2px #36271d55;cursor:pointer;padding:0}
.merch-swatch.on{box-shadow:0 0 0 3px var(--red)}
.merch-colour{font:13px/1 Arial,sans-serif;color:#5a4a3a}
.merch-buy{width:100%;margin-top:4px;cursor:pointer}
.merch-buy:disabled{opacity:.6;cursor:default}
.merch-msg{min-height:1em;margin:6px 0 0;font:13px/1.3 Arial,sans-serif;color:var(--red)}
.merch-note{margin:28px auto 0;max-width:640px;text-align:center;font:14px/1.5 Arial,sans-serif;color:var(--cream)}
.merch-note a{color:var(--cream)}
@media (max-width:520px){.merch-grid{grid-template-columns:1fr;gap:18px}.merch-body h2{font-size:23px}}
/* ?band= / ?station= filter: a tin tag that clears it (Joe 2026-10-16) */
.merch-filter{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px;margin:0 0 18px}
.merch-tag{display:inline-flex;align-items:center;min-height:44px;padding:0 4px;border:solid transparent;border-width:10px 24px 12px;border-image:url('/assets/img/ui/g2-tag-tin.webp?v=1') 30 74 36 fill / 10px 24px 12px stretch;font:400 18px/1 var(--button);color:#2b2620;text-decoration:none;filter:sepia(.7) saturate(2.4) hue-rotate(-8deg) drop-shadow(0 4px 3px #000a);transform:rotate(-1.5deg)}
.merch-tag:hover{transform:rotate(0) scale(1.05)}
.merch-fnote{margin:0;font:600 18px/1.3 var(--condensed);color:#f3e6c8}
/* a design's own page + the thumbs/share row on every card (Joe 2026-11-10: shareable, likeable, findable) */
.merch-body h2 a{color:inherit;text-decoration:none}.merch-body h2 a:hover{text-decoration:underline}
.merch-foot{display:flex;gap:8px;margin-top:12px}
.merch-foot .k-btn{flex:1;font-size:17px}
.merch-like.pop img{animation:mlpop .4s}@keyframes mlpop{40%{transform:scale(1.5) rotate(-10deg)}}
@media(prefers-reduced-motion:reduce){.merch-like.pop img{animation:none}}
.merch-back{display:inline-flex;align-items:center;gap:8px;margin:0 0 14px;font:400 20px/1 var(--paint);color:var(--cream);text-decoration:none}
.merch-back:hover{text-decoration:underline}
.merch-grid.solo{display:block;max-width:1000px;margin:0 auto}
.merch-grid.solo .merch-card{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr)}
.merch-grid.solo .merch-body{padding:26px 28px}
.merch-grid.solo .merch-body h2{font-size:34px}
.merch-more{max-width:1000px;margin:26px auto 0;padding:22px 24px}
.merch-more h2 img{width:26px;height:26px;margin:0;flex:none}
.merch-more h2{display:flex;align-items:center;gap:8px;margin:0 0 14px;font:400 26px/1.1 var(--paint);color:#8c311f}
.merch-more ul{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:14px;margin:0;padding:0;list-style:none}
.merch-more a{display:block;color:var(--ink);text-decoration:none;font:400 16px/1.2 var(--paint);text-align:center}
.merch-more img{display:block;width:100%;height:auto;aspect-ratio:3/4;object-fit:contain;margin:0 0 6px;border-radius:4px;background:radial-gradient(120% 90% at 50% 42%,#fff 55%,#f1ece2);mix-blend-mode:multiply}
.merch-more a:hover span{text-decoration:underline}
@media(max-width:760px){.merch-grid.solo .merch-card{display:flex}.merch-grid.solo .merch-body{padding:16px 18px 20px}.merch-grid.solo .merch-body h2{font-size:26px}
  .merch-more{padding:18px 14px}.merch-more ul{grid-template-columns:repeat(3,1fr);gap:10px}.merch-more a{font-size:14px}}
