@charset "UTF-8";
/* QuestDL Neon Gaming — readability, keyboard focus, motion and contrast safeguards. */

/* Small functional labels remain legible at desktop and mobile sizes. These are intentionally
   scoped to theme/WooCommerce modules; SVG artwork text and screen-reader-only text are untouched. */
.qng-brand-text small,
.qng-cart-count,
.qng-menu-description,
.qng-search-option-sale,
.qng-search-option-price,
.qng-custom-menu-badge,
.qng-custom-mega-link-description,
.qng-mega-game-card-price,
.qng-mega-game-card-price del,
.qng-mega-category-card-count,
.qng-mega-promo-eyebrow,
.qng-mega-single-game-eyebrow,
.qng-mega-single-game-price del,
.qng-mega-single-game-cta,
.qng-meta-headset-eyebrow,
.qng-meta-headset-model-status,
.qng-meta-headset-model-link,
.qng-meta-headset-model-name,
.qng-meta-headset-description,
.qng-gaming-filters-heading .qng-eyebrow,
.qng-headset-badge,
.qng-eyebrow,
.qng-loyalty-home-heading .qng-eyebrow,
.qng-loyalty-quick-link-copy small,
.qng-quest-hub-heading .qng-eyebrow,
.qng-quest-hub-copy small,
.qng-announcement,
.qng-product-category,
.qng-product-badge,
.qng-product-stock-badge,
.qng-product-link,
.qng-action-label,
.qng-shop-category-pill,
.qng-account-quick-copy small,
.qng-player-avatar-option-copy small,
.qng-native-products-section .qng-native-products-output ul.products li.product .onsale,
.woocommerce ul.products li.product span.onsale,
.woocommerce-page ul.products li.product span.onsale,
.woocommerce ul.products li.product .proplus-pro-price,
.woocommerce-page ul.products li.product .proplus-pro-price,
.elementor-widget-woocommerce-products ul.products li.product .proplus-pro-price,
.single-product .qng-product-gallery-meta,
.single-product div.product p.price del,
.single-product div.product span.price del,
.qng-product-specs-header .qng-eyebrow,
.qng-product-attributes-heading>span:last-child,
.single-product .qng-product-gallery-shell>.onsale,
.qng-product-spec-item dt,
.single-product .qng-product-immersion-action,
.single-product .qng-product-info-tab-heading .qng-eyebrow,
.single-product #reviews .woocommerce-review__verified,
.single-product .qng-product-immersion-download-link,
.single-product .qng-product-immersion-account-link,
.single-product .qng-product-immersion-eyebrow,
.single-product .qng-product-immersion-description {
  font-size: max(0.75rem, 12px) !important;
  line-height: 1.45;
}

/* Long badges/prices may wrap rather than shrinking below a readable size or escaping cards. */
.qng-custom-menu-badge,
.qng-mega-game-card-price,
.qng-mega-category-card-count,
.qng-mega-single-game-cta,
.qng-meta-headset-model-status,
.qng-meta-headset-model-link,
.qng-headset-badge,
.qng-product-badge,
.qng-product-stock-badge,
.qng-shop-category-pill,
.single-product .qng-product-gallery-shell>.onsale,
.single-product .qng-product-immersion-action,
.single-product .qng-product-immersion-download-link {
  max-width: 100%;
  overflow-wrap: anywhere;
}

/* Consistent, clearly visible keyboard focus for native theme, WooCommerce, and Elementor controls. */
body :is(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--qng-cyan, #39c7f4) !important;
  outline-offset: 3px !important;
  box-shadow: 0 0 0 2px var(--qng-bg, #080d18) !important;
}

/* The former custom-menu hover/focus rules removed the outline; restore a real keyboard indicator. */
.qng-custom-menu-link:focus-visible,
.qng-custom-menu-trigger:focus-visible,
.qng-custom-mega-link a:focus-visible {
  outline: 3px solid var(--qng-cyan, #39c7f4) !important;
  outline-offset: 2px !important;
  box-shadow: 0 0 0 2px #080d18 !important;
}

/* Prevent narrow mobile viewports from clipping larger labels or creating horizontal page overflow. */
.qng-custom-menu-item-row,
.qng-custom-menu-link,
.qng-custom-menu-trigger,
.qng-custom-mega-link a,
.qng-product-details,
.qng-product-category,
.qng-product-badge,
.qng-product-stock-badge,
.qng-search-option,
.qng-loyalty-quick-link-copy,
.qng-quest-hub-copy,
.single-product .qng-product-gallery-meta,
.single-product .qng-product-spec-item,
.single-product .qng-product-immersion-console {
  min-width: 0;
  overflow-wrap: anywhere;
}

@media (max-width: 370px) {
  .qng-header-main { grid-template-columns: minmax(0, 1fr) auto; }
  .qng-brand-text { min-width: 0; max-width: 100%; }
  .qng-brand-text strong,
  .qng-brand-text small { overflow-wrap: anywhere; }
  .qng-header-actions { min-width: 0; }
  .qng-product-details h3 { overflow-wrap: anywhere; }
  .qng-product-link { white-space: normal; min-height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  html, body { scroll-behavior: auto !important; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

@media (forced-colors: active) {
  body :is(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
    outline: 2px solid Highlight !important;
    outline-offset: 3px !important;
    box-shadow: none !important;
  }
  .qng-custom-menu-badge,
  .qng-product-badge,
  .qng-product-stock-badge,
  .qng-headset-badge,
  .qng-shop-category-pill,
  .single-product .qng-product-gallery-shell>.onsale {
    border: 1px solid CanvasText !important;
    color: CanvasText !important;
    background: Canvas !important;
  }
}
