/* Store catalog controls — readable page-owned styles. */
.nx-store-toolbar{margin:0 0 30px;padding:18px;border:1px solid rgba(255,255,255,.08);border-radius:18px;background:rgba(13,14,25,.76);box-shadow:0 18px 50px rgba(0,0,0,.18)}
.nx-store-search{position:relative;margin-bottom:14px}.nx-store-search i{position:absolute;left:15px;top:50%;transform:translateY(-50%);color:rgba(255,255,255,.45)}
.nx-store-search input{width:100%;min-height:48px;padding:10px 14px 10px 43px;border:1px solid rgba(255,255,255,.1);border-radius:12px;background:rgba(0,0,0,.26);color:#fff;outline:none}.nx-store-search input:focus{border-color:rgba(69,248,130,.55);box-shadow:0 0 0 3px rgba(69,248,130,.08)}
.nx-store-filter-row{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}.nx-store-categories{display:flex;flex-wrap:wrap;gap:7px}.nx-store-categories button,.nx-store-summary button{border:1px solid rgba(255,255,255,.1);border-radius:999px;background:rgba(255,255,255,.035);color:rgba(255,255,255,.68);padding:7px 12px;font-size:12px;font-weight:700;cursor:pointer}.nx-store-categories button:hover,.nx-store-categories button.active{border-color:rgba(69,248,130,.42);background:rgba(69,248,130,.1);color:#45f882}
.nx-store-selects{display:flex;gap:8px;flex:0 0 auto}.nx-store-selects select{min-height:38px;border:1px solid rgba(255,255,255,.1);border-radius:10px;background:#10111d;color:#fff;padding:7px 32px 7px 10px;font-size:12px}
.nx-store-summary{display:flex;justify-content:space-between;align-items:center;gap:12px;padding-top:13px;margin-top:14px;border-top:1px solid rgba(255,255,255,.06);color:rgba(255,255,255,.48);font-size:12px}.nx-store-summary button{padding:5px 10px;color:#45f882}
.gc-lowstock{position:absolute;left:10px;bottom:10px;z-index:4;padding:5px 8px;border-radius:999px;background:rgba(255,167,61,.92);color:#15100a;font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.04em}.game-card.gc-low .game-card-img{box-shadow:inset 0 0 0 1px rgba(255,167,61,.24)}
.nx-store-empty{grid-column:1/-1;text-align:center;padding:65px 15px}.nx-store-empty i{display:block;font-size:38px;color:rgba(69,248,130,.5);margin-bottom:13px}.nx-store-empty p{color:rgba(255,255,255,.55);margin-bottom:12px}
@media(max-width:991px){.nx-store-filter-row{display:block}.nx-store-selects{margin-top:12px}.nx-store-selects label{flex:1}.nx-store-selects select{width:100%}}
@media(max-width:575px){.nx-store-toolbar{padding:14px;border-radius:14px}.nx-store-categories{flex-wrap:nowrap;overflow-x:auto;padding-bottom:4px;scrollbar-width:none}.nx-store-categories::-webkit-scrollbar{display:none}.nx-store-categories button{white-space:nowrap}.nx-store-selects{display:grid;grid-template-columns:1fr 1fr}.nx-store-summary{align-items:flex-start}}

/* V27 — the catalog uses marketplace cards on phones, not tall poster cards. */
@media(max-width:575px){
  .breadcumb-wrapper{padding-block:38px!important}
  .breadcumb-wrapper .breadcumb-title{font-size:30px!important}
  .nx-store-toolbar{margin-bottom:18px!important}
  #storeGrid{--bs-gutter-x:10px;--bs-gutter-y:12px}
  #storeGrid>.col-6{width:50%!important;padding-inline:5px!important}
  #storeGrid .game-card{border-radius:14px!important;text-align:left!important;min-width:0!important}
  #storeGrid .game-card .game-card-img{padding:8px 8px 0!important;margin:0!important}
  #storeGrid .game-card .game-card-img>a{border-radius:10px!important}
  #storeGrid .game-card .game-card-img>a>img{height:auto!important;aspect-ratio:1/1!important;object-fit:contain!important;object-position:center!important;border-radius:10px!important;background:#080d13!important;padding:5px!important}
  #storeGrid .game-card .game-card-details{margin:0!important;padding:11px 10px 12px!important;text-align:left!important}
  #storeGrid .game-card .box-title{font-size:16px!important;line-height:1.14!important;margin:0 0 7px!important;min-height:36px!important}
  #storeGrid .game-card .game-content{font-size:9px!important;letter-spacing:.045em!important;margin:0 0 9px!important}
  #storeGrid .game-card .game-content .text-theme{font-size:15px!important;margin:3px 0 0!important}
  #storeGrid .game-card .game-buy-btn{padding:9px 7px!important;font-size:10px!important;letter-spacing:.045em!important;border-radius:9px!important}
  #storeGrid .game-card .game-card-tag{left:13px!important;bottom:7px!important;max-width:calc(100% - 52px)!important;font-size:7.5px!important;letter-spacing:.04em!important;padding:3px 6px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  #storeGrid .game-card .game-card-badge{top:13px!important;left:13px!important;font-size:8px!important;padding:4px 7px!important}
  #storeGrid .game-card .gc-wish{top:12px!important;right:12px!important;width:30px!important;height:30px!important;font-size:12px!important}
  #storeGrid .game-card .gc-lowstock,#storeGrid .game-card .gc-soldout,#storeGrid .game-card .gc-save{font-size:7.5px!important;padding:3px 6px!important}
}
@media(max-width:350px){
  #storeGrid>.col-6{width:100%!important}
  #storeGrid .game-card .game-card-img>a>img{aspect-ratio:16/10!important}
  #storeGrid .game-card .box-title{min-height:0!important}
}

/* V30 — mobile store becomes a focused one-card carousel instead of a cramped 2x2 grid. */
@media (max-width: 767.98px) {
  #storeGrid.nx-mobile-store-track {
    display: flex;
    flex-wrap: nowrap;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-left: 0;
    margin-right: 0;
    padding: 2px 2px 10px;
  }
  #storeGrid.nx-mobile-store-track::-webkit-scrollbar { display: none; }
  #storeGrid.nx-mobile-store-track > .nx-store-slide {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
    scroll-snap-align: start;
    padding: 0;
  }
  #storeGrid .game-card { min-height: 0; }
  #storeGrid .game-card-img { aspect-ratio: 4 / 3; }
  #storeGrid .game-card-img img { width: 100%; height: 100%; object-fit: contain; object-position: center; }
  .nx-mobile-store-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 12px 0 0;
  }
  .nx-mobile-store-nav button {
    width: 42px; height: 42px; border-radius: 50%;
    border: 1px solid rgba(69,248,130,.38);
    background: rgba(7,15,18,.92); color: #45F882;
  }
  .nx-mobile-store-nav .nx-store-page { min-width: 72px; text-align: center; color: rgba(255,255,255,.62); font-size: 12px; }
}
@media (min-width: 768px) { .nx-mobile-store-nav { display:none !important; } }

/* Sold-out cards offer "Save for later" as a real wishlist toggle (see wild-rift-skins.js).
   The base .is-out rule sets cursor:default because it used to be an inert <span>. */
.game-card .game-buy-btn.gc-save-cta { cursor: pointer; }
.game-card .game-buy-btn.gc-save-cta[aria-pressed="true"] {
  border-color: rgba(242,0,58,.55) !important;
  color: #ff8fa5 !important;
}
