.cat-cards-section {
      width: 100%;
      padding: 0 0 8px;
      margin-top: 18px;
    }
    .cat-cards-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
      gap: 12px;
    }
    .cat-card {
      position: relative;
      border-radius: 16px;
      overflow: hidden;
      cursor: pointer;
      height: 140px;
      background: rgba(255,255,255,0.04);
      border: 1px solid rgba(255,255,255,0.10);
      transition: transform .18s ease, border-color .2s ease, box-shadow .2s ease;
      user-select: none;
    }
    .cat-card:hover {
      transform: translateY(-3px);
      border-color: rgba(255,255,255,0.28);
      box-shadow: 0 12px 32px rgba(0,0,0,0.45);
    }
    .cat-card.active-category {
      border-color: rgba(255,255,255,0.75);
      box-shadow: 0 0 0 2px rgba(255,255,255,0.18), 0 12px 32px rgba(0,0,0,0.45);
    }
    .cat-card__bg {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center;
      pointer-events: none;
      transition: transform .3s ease;
    }
    .cat-card:hover .cat-card__bg {
      transform: scale(1.06);
    }
    .cat-card__overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(to top, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.18) 55%, transparent 100%);
    }
    .cat-card__label {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      padding: 8px 10px;
      font-size: 13px;
      font-weight: 700;
      color: #fff;
      line-height: 1.2;
      letter-spacing: 0.2px;
      text-shadow: 0 1px 4px rgba(0,0,0,0.7);
    }
    .cat-card__sub {
      font-size: 11px;
      font-weight: 400;
      opacity: 0.72;
      margin-top: 2px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .cat-card--plain {
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      padding: 10px;
    }
    .cat-card--plain .cat-card__label {
      position: static;
      padding: 0;
      font-size: 13px;
    }


    .server-toolbar--compact {
      display: flex;
      flex-direction: row !important;
      align-items: center;
      gap: 12px;
      flex-wrap: nowrap;
    }
    .server-toolbar--compact .global-server-select-custom {
      flex: 0 0 auto;
    }
    .server-toolbar--compact .product-search {
      flex: 1;
      max-width: none;
    }


    .purchase-buttons-row {
      display: flex;
      gap: 8px;
      margin-top: 12px;
    }
    .purchase-buttons-row .purchase-button {
      margin-top: 0;
      flex: 1;
    }
    .purchase-button--gift .price { display: none; }
    #giftSteamIdInput:focus {
      border-color: #00aaff !important;
      box-shadow: 0 0 0 3px rgba(0,170,255,0.18);
    }
    #giftSteamIdInput.is-valid   { border-color: rgba(0,200,100,0.6) !important; }
    #giftSteamIdInput.is-invalid { border-color: rgba(255,80,80,0.6) !important; }
    .auth-open-btn {
      appearance: none;
      -webkit-appearance: none;
      border: 0;
      background: transparent !important;
      padding: 0;
      cursor: pointer;
      font: inherit;
      outline: none;
    }
    .auth-open-btn:hover,
    .auth-open-btn:active,
    .auth-open-btn:focus,
    .auth-open-btn:focus-visible {
      background: transparent !important;
      box-shadow: none !important;
      outline: none;
    }
    .auth-open-btn .auth-login-box {
      border: 0;
      font: inherit;
      overflow: hidden;
      justify-content: center;
      border-radius: 8px;
      background: rgba(255,255,255,0.20) !important;
      box-shadow: none !important;
      background-clip: padding-box;
    }
    .auth-open-btn:hover .auth-login-box,
    .auth-open-btn .auth-login-box:hover {
      background: #ff5c5c !important;
      box-shadow: 0 4px 15px rgb(255 0 0 / 50%) !important;
    }
    .auth-login-icon {
      width: 16px;
      height: 16px;
      margin-right: 10px;
      color: #fff;
      font-size: 16px;
      line-height: 1;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      flex: 0 0 16px;
      font-family: "Font Awesome 6 Free";
      font-weight: 900;
    }
    .auth-modal-content {
      width: min(460px, 94vw);
      padding: 18px 18px 20px;
      text-align: center;
    }
    .auth-tabs {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 8px;
      margin: 10px 28px 18px;
    }
    .auth-tab {
      min-height: 44px;
      padding: 0 14px;
      border-radius: 8px;
      border: 1px solid rgba(255,255,255,.12);
      background: rgba(255,255,255,.20);
      color: #fff;
      font-family: 'Montserrat', sans-serif;
      font-size: 14px;
      font-weight: 500;
      cursor: pointer;
      transition: background .3s ease, box-shadow .3s ease, border-color .3s ease;
    }
    .auth-tab:hover,
    .auth-tab.is-active {
      color: #fff;
      border-color: rgba(255,92,92,.35);
      background: linear-gradient(90deg, #ff5c5c, #f33c3cc4);
      box-shadow: 0 4px 15px rgb(255 0 0 / 36%);
    }
    .auth-form { display: none; }
    .auth-form.is-active { display: block; }
    .auth-field {
      margin-bottom: 12px;
      text-align: left;
    }
    .auth-field label {
      display: block;
      margin-bottom: 7px;
      font-size: 13px;
      color: #bfc6d0;
      font-weight: 500;
    }
    .auth-field input {
      width: 100%;
      box-sizing: border-box;
      height: 46px;
      border-radius: 12px;
      border: 1px solid rgba(255,255,255,.15);
      background: rgba(255,255,255,.06);
      color: #fff;
      padding: 0 14px;
      outline: none;
      font-family: 'Montserrat', sans-serif;
      font-size: 14px;
      transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
    }
    .auth-field input:focus {
      border-color: rgba(255,92,92,.62);
      box-shadow: 0 0 0 3px rgba(255,92,92,.14);
      background: rgba(255,255,255,.08);
    }
    .auth-captcha-row {
      display: grid;
      grid-template-columns: 110px 1fr 42px;
      gap: 8px;
      align-items: center;
    }
    .auth-captcha-code {
      height: 44px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 12px;
      background: rgba(255,255,255,.06);
      border: 1px solid rgba(255,255,255,.15);
      font-weight: 900;
      letter-spacing: .18em;
      user-select: none;
      color: #fff;
    }
    .auth-icon-btn {
      height: 46px;
      border-radius: 12px;
      border: 1px solid rgba(255,255,255,.15);
      background: rgba(255,255,255,.06);
      color: #fff;
      cursor: pointer;
      transition: background .2s ease, border-color .2s ease, transform .2s ease;
    }
    .auth-icon-btn:hover {
      background: rgba(255,255,255,.14);
      border-color: rgba(255,255,255,.25);
      transform: translateY(-1px);
    }
    .auth-submit {
      width: 100%;
      min-height: 46px;
      margin-top: 4px;
      border: 1px solid rgba(255,255,255,.12);
      border-radius: 8px;
      color: #fff;
      font-family: 'Montserrat', sans-serif;
      font-size: 14px;
      font-weight: 500;
      cursor: pointer;
      background: rgba(255,255,255,.20);
      transition: background .3s ease, box-shadow .3s ease, transform .2s ease;
    }
    .auth-submit:hover {
      background: linear-gradient(90deg, #ff5c5c, #f33c3cc4);
      box-shadow: 0 4px 15px rgb(255 0 0 / 42%);
      transform: translateY(-1px);
    }
    .auth-link-btn {
      width: 100%;
      margin-top: 10px;
      border: 0;
      background: transparent !important;
      background-color: transparent !important;
      color: rgba(255,255,255,.72);
      font: inherit;
      font-size: 13px;
      font-weight: 600;
      cursor: pointer;
      text-align: center;
      box-shadow: none !important;
      transform: none !important;
      transition: color .18s ease;
    }
    .auth-link-btn:hover {
      color: #fff;
      background: transparent !important;
      background-color: transparent !important;
      box-shadow: none !important;
      transform: none !important;
    }
    .auth-resend-verify {
      display: none;
      margin-top: 6px;
      width: auto;
      margin-left: auto;
      margin-right: auto;
      align-self: center;
      justify-content: center;
    }
    .auth-resend-verify.is-visible {
      display: inline-flex;
    }
    .auth-resend-verify:disabled {
      opacity: .55;
      cursor: not-allowed;
    }
    .auth-message {
      min-height: 20px;
      margin: 10px 0 0;
      font-size: 13px;
      color: rgba(255,255,255,.72);
      line-height: 1.45;
    }
    .auth-message.is-error { color: #ff8a8a; }
    .auth-message.is-ok { color: #7ee787; }
    @media (max-width: 520px) {
      .auth-tabs { margin-left: 0; margin-right: 0; }
      .auth-captcha-row { grid-template-columns: 1fr 42px; }
      .auth-captcha-code { grid-column: 1 / -1; }
    }
