/* =====================================================================================================================
   GiftShopr V16.0 — catalogue fixes (phones first). Loaded after qube-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.
   ===================================================================================================================== */
body.gq .pgrid{grid-template-columns:repeat(auto-fill,minmax(165px,1fr));gap:14px}
body.gq .topstrip.pgridstrip{grid-auto-columns:182px}
body.gq .catlist a{align-items:center}
body.gq .catlist a b{flex:none}
@media(max-width:860px){
  body.gq .shop{gap:14px;grid-template-columns:minmax(0,1fr)}
  body.gq .shop>aside,body.gq .shop>div{min-width:0;max-width:100%}
  body.gq .shop aside .card:first-child{padding:10px!important;border-radius:14px}
  body.gq .shop aside .card+.card{display:none}                      /* "Why buy here" — the same promises sit on the home page */
  body.gq .shop aside input[type=search]{padding:10px 12px;font-size:.9rem}
  body.gq .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}
  body.gq .catlist::-webkit-scrollbar{display:none}
  body.gq .catlist a{flex:none;gap:6px;padding:8px 12px;border-radius:99px;border:1px solid var(--gq-border2,#DDE5F2);background:#fff;font-size:.82rem;white-space:nowrap;scroll-snap-align:start;box-shadow:none}
  body.gq .catlist a img{width:18px;height:18px}
  body.gq .catlist a span{flex:none}
  body.gq .catlist a b{font-size:.72rem;padding:1px 6px;border-radius:99px;background:#EEF2F8}
  body.gq .catlist a.on{box-shadow:none;border-color:var(--gq-blue,#0A5CE0);background:var(--gq-blue-soft,#E8F1FF);color:var(--gq-blue-dark,#064AC8)}
  body.gq .catlist a.on b{background:var(--gq-blue,#0A5CE0);color:#fff}
  body.gq .toolrow{margin-bottom:10px}
  body.gq .toolrow .n{font-size:.8rem}
}
@media(max-width:760px){
  body.gq .pgrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  body.gq .ptile{padding:7px;border-radius:13px}
  body.gq .ptile .art{border-radius:9px}
  body.gq .ptile .art img{max-height:58%;max-width:70%}
  body.gq .ptile .art.full img{border-radius:9px;max-height:none;max-width:none}
  body.gq .ptile .pct{top:6px;right:6px;font-size:.66rem;padding:3px 7px;border-radius:7px}
  body.gq .ptile .soldout{top:6px;right:6px;font-size:.64rem;padding:3px 7px}
  body.gq .ptile .nm{margin:8px 2px 4px;font-size:.84rem}
  body.gq .ptile>span[style]{padding:0 4px!important}
  body.gq .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}
  body.gq .ptile .small.muted{font-size:.72rem}
  body.gq .ptile .view{margin-top:6px;padding:8px 8px;font-size:.78rem;border-radius:9px}
  body.gq .topstrip.pgridstrip{grid-auto-columns:150px;gap:10px}
  body.gq .gq-pagehead h1{font-size:1.7rem}
}
@media(max-width:460px){
  body.gq .topstrip.pgridstrip{grid-auto-columns:150px}
}
