/* =====================================================================================================================
   CryptoGiftCart V16.0 — catalogue fixes (phones first). Loaded after gp-v15.css on every page.
   1. "All gift cards" on phones showed one huge card per row with a long category list above it: now two compact cards
      per row, the categories are a horizontal chip row above the cards, the "Why buy here" box is hidden on phones.
   2. Desktop: smaller cards (five per row at 1200 px), a tighter top rail.
   ===================================================================================================================== */
.pgrid{grid-template-columns:repeat(auto-fill,minmax(165px,1fr));gap:14px}
.topstrip.pgridstrip{grid-auto-columns:182px}
.catlist a{align-items:center}
.catlist a b{flex:none}
@media(max-width:860px){
  .shop{gap:14px;grid-template-columns:minmax(0,1fr)}
  .shop>aside,.shop>div{min-width:0;max-width:100%}
  .shop aside .card:first-child{padding:10px!important;border-radius:14px}
  .shop aside .card+.card{display:none}                      /* "Why buy here" — the same promises sit on the home page */
  .shop aside input[type=search]{padding:10px 12px;font-size:.9rem}
  .catlist{flex-direction:row;flex-wrap:nowrap;gap:6px;overflow-x:auto;margin-top:10px!important;padding:2px 2px 6px;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch;scrollbar-width:none}
  .catlist::-webkit-scrollbar{display:none}
  .catlist a{flex:none;gap:6px;padding:8px 12px;border-radius:99px;border:1px solid var(--border);background:var(--surface);font-size:.82rem;white-space:nowrap;scroll-snap-align:start}
  .catlist a b{font-size:.72rem;padding:1px 6px;border-radius:99px;background:rgba(255,255,255,.08)}
  .catlist a.on{box-shadow:none;border-color:var(--accent,#7C5CFF);background:color-mix(in srgb,var(--accent,#7C5CFF) 18%,var(--surface));color:#fff}
  .catlist a.on b{background:var(--accent,#7C5CFF);color:#fff}
  .toolrow{margin-bottom:10px}
  .toolrow .n{font-size:.8rem}
}
@media(max-width:760px){
  .pgrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .ptile{padding:7px;border-radius:13px}
  .ptile .art{border-radius:9px}
  .ptile .art img{max-height:58%;max-width:70%}
  .ptile .art.full img{border-radius:9px;max-height:none;max-width:none}
  .ptile .pct{top:6px;right:6px;font-size:.66rem;padding:3px 7px;border-radius:7px}
  .ptile .soldout{top:6px;right:6px;font-size:.64rem;padding:3px 7px}
  .ptile .nm{margin:8px 2px 4px;font-size:.84rem}
  .ptile>span[style]{padding:0 4px!important}
  .ptile .gp-rgn{font-size:.64rem;padding:2px 7px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:inline-block;vertical-align:middle}
  .ptile .small.muted{font-size:.72rem}
  .ptile .view{margin-top:6px;padding:8px 8px;font-size:.78rem;border-radius:9px}
  .topstrip.pgridstrip{grid-auto-columns:150px;gap:10px}
}
@media(max-width:460px){
  .topstrip.pgridstrip{grid-auto-columns:150px}
}
