/* template.css overrides
================================*/
.banner { padding-top: 41.667%; }
.banner-img {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  max-height: 360px;
  background: url('../imgs/hero.jpg') no-repeat 0 0;
  background-size: 289.722222%;
}
.header2021-logo-img > img { width: 102px !important; height: auto; }
.price { margin: 0 0 0.825em 0; text-align:center; }
.price-save-dollar,.price-save-label,.price-save-percent { position: relative; background: #cc4e00; color: #fff; font-weight: 700; font-size: 14px; }
.price-save-percent:after { left: 100%; border-bottom: 19px solid #cc4e00; border-right: 10px solid transparent; margin-bottom: 0; }
.price-save-label { padding: 2px 0 1px 6px; }
.price-save-dollar { padding: 2px 0 1px 2px; }
.price-save-percent { padding: 2px 6px 1px 2px; }
.price-save-label:before,.price-save-percent:after { content: ''; position: absolute; bottom: 0; width: 0; height: 0; }
.price-save span { font-size:1.65rem; }
.item-cell { border-bottom: none; }
.item-promo { margin-top: 1em; }
.item-promo-code { border-color: #888; }
.item-promo-title span { color: #333; }
.item-promo-info { color: #cc4e00; }
.item-promo-code { padding: 1.5em 5px 1em 5px; height: auto; color: #cc4e00; }
.item-promo-code-save { display: inline; }
li.mir { display: none; }
.instantSavings, .mir { display: block; }
.finalPrice { font-size: 1.6em; }
.instantSavings { font-size: 0.925em; }
.finalPrice, .instantSavings { color: #000; }
.shipping { visibility: hidden; }
.mir { font-size: 1em; margin: 0; color: #016B04; }
.header .logo { width: 125px; }
.items-grid:after { background: none; }
.item-title a { font-size: 14px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 4; line-clamp: 4; -webkit-box-orient: vertical; }
.item-container:hover { opacity: 1; filter: alpha(opacity=100); transition: all 0.2s ease-in-out; }

.banner2 { max-width:1366px; width:100%; }
.banner-img2 { max-height: 360px; background:url('../imgs/hero.jpg') no-repeat 0 0; background-size:cover; padding-top:21.667%; }
@media only screen and (max-width: 1000px) {
  .banner-img2 { background-image: url('../imgs/hero-sm.jpg'); padding-top: 42.161%; }
}

/* CSS Custom Properties — design tokens
================================*/
:root {
  --ne-logo-blue:   #09144F;
  --ne-blue:        #002D6A;
  --ne-light-blue:  #084BA6;
  --ne-yellow:      #FA9D28;
  --ne-lt-orange:   #FF8500;
  --ne-orange:      #ff7300;
  --ne-navy:        #00283A;
  --bg-dark-1:      #000;
  --bg-dark-2:      #0d0d14;
  --bg-dark-3:      #111118;
  --bg-light-1:     #f5f5f7;
  --bg-light-2:     #fafafa;
  --bg-light-3:     #f0f0f0;
  --surface-dark-1: #0f1a2e;
  --surface-dark-2: #0d1b33;
  --text-primary:   #f0f0f0;
  --text-secondary: #9e9e9e;
  --gray-bg:        #F2F2F2;
  --gray-line:      #E8E8E8;
  --gray-border:    #D1D1D1;
  --gray-aux-light: #6E6E6E;
  --gray-body:      #212121;
  --ngg-orange:     #FA9D28;
  --ngg-darkorange: #FF8500;
  --ngg-btn-txt:    #212121;
  --ngg-opensans:   'Open Sans', sans-serif;
  --ngg-montserrat: 'Montserrat', sans-serif;
  --sp-1:  8px;
  --sp-2:  16px;
  --sp-3:  24px;
  --sp-4:  32px;
  --sp-6:  48px;
  --sp-8:  64px;
  --sp-section:    40px;
  --sp-section-lg: 64px;
}

/* Newegg button standards
================================*/
.btn-primary, .button.button-primary, .ngg-shopall, .ngg-buynow {
  text-transform: none;
  font-family: var(--ngg-opensans);
  border: 0;
  background-color: var(--ngg-orange);
  color: var(--ngg-btn-txt);
}
.ngg-btn { border: 0; background: none; width: 100%; margin: 3% auto; text-align: center; }
.ngg-item-btn { margin: auto; text-align: center; }
.ngg-item-btn a { border-radius: 35px; width:100%; letter-spacing: 0; font-size: 14px; }
.ngg-shopall, .ngg-buynow { border-radius: 30px; text-align: center; transition: 0.5s; font-weight: 700; font-family: var(--ngg-opensans); }
.ngg-shopall { border-radius: 50px; background-color: var(--ngg-orange); color: var(--ngg-btn-txt); border: 0; padding: 10px 4%; font-weight: 700; text-transform: none; font-size: 1.5rem; }
.ngg-buynow { padding: 10px 8%; }
.ngg-shopall:hover, .ngg-buynow:hover, .ngg-item-btn a:hover { background-color: var(--ngg-darkorange); transition: 0.35s; }
.btn-primary:hover, .btn-primary:active, .button.button-primary:hover, .button.button-primary:active { background: var(--ngg-darkorange); color: var(--ngg-btn-txt); }

/* Global base — scoped to .section-inner only
   CRITICAL: Never apply color, font, or inherited rules to bare body, *, a, p, h1-h6.
   Newegg header and footer live outside .section-inner and must never be overridden.
   body may only receive background, margin, and padding.
================================*/
body { background: #fff; margin: 0; }
#ngg-index { background: var(--bg-dark-1); margin: 0; width:100%; overflow: hidden; }
.section-inner {
  max-width: 1366px;
  margin: 0 auto;
  overflow: hidden;
  font-size: 14px;
  font-family: var(--ngg-opensans);
  color: var(--text-primary);
}
.section-inner * { font-size: max(14px, inherit); }
img { max-width: 100%; display: block; }
a { text-decoration: none; }

/* Hero height cap
================================*/
.lp-hero {
  max-height: 400px;
  overflow: hidden;
  position: relative;
  width: 100%;
}
.lp-hero-bg {
  width: 100%;
  height: 400px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.video-box-wrap { margin:5% auto 0; }

/* Scroll reveal
================================*/
.reveal { opacity: 1; transform: none; }
.will-reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.55s ease-out, transform 0.55s ease-out; }
.will-reveal.visible { opacity: 1; transform: none; }

@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .will-reveal { opacity: 1; transform: none; }
}

/* Disclaimer */
.disclaimer { font-size: 12px; color: var(--text-secondary); text-align: center; padding: var(--sp-4) clamp(24px, 6vw, 80px); margin: 0; font-family:var(--ngg-opensans); }

/* Responsive breakpoints
================================*/
@media only screen and (max-width: 550px) {
  .items-grid .item-cell { width: 90%; text-align: center; border-bottom: 1px solid #333; padding-bottom: 8%; }
  .item-img > img { max-width: 300px; }
  .items-grid .item-title { height: auto; }
  .lp-hero { max-height: 200px; }
  .lp-hero-bg { height: 200px; }
}
@media only screen and (min-width: 375px) {}
@media only screen and (min-width: 481px) {}
@media only screen and (min-width: 641px) {
  .banner { padding-top: 21.96%; }
  .banner-img { background-position: 100% 0; background-size: 152.7086383601757%; }
  .items-grid .item-cell { width: 19%; margin: 0; }
}
@media only screen and (min-width: 769px) {}
@media only screen and (min-width: 1025px) {}
@media only screen and (min-width: 1440px) {}

/* ── PAGE-SPECIFIC STYLES BELOW THIS LINE ──────────── */

/* SIM Gaming Expo — sticky quick nav
================================*/
.lp-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
  background: rgba(10,10,15,0.85);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.lp-nav-inner {
  max-width: 1920px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px clamp(16px, 4vw, 48px);
  flex-wrap: wrap;
  gap: 10px;
}
.lp-nav-label {
  font-family: var(--ngg-montserrat);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #fff;
  font-size: 15px;
  white-space: nowrap;
}
.lp-nav-links { display: flex; gap: 4px; flex-wrap: wrap; }
.lp-nav-link {
  background: none;
  border: 0;
  color: var(--text-secondary);
  font-family: var(--ngg-opensans);
  font-weight: 600;
  font-size: 12px;
  padding: 10px 14px;
  border-radius: 20px;
  cursor: pointer;
  transition: 0.2s ease-out;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.lp-nav-link:hover, .lp-nav-link.active { color: var(--ngg-orange); background: rgba(250,157,40,0.1); }
.lp-nav-link:focus-visible { outline: 3px solid var(--ne-yellow); outline-offset: 3px; }
.lp-nav-cta { background: var(--ngg-orange); color: var(--ngg-btn-txt); font-weight: 700; }
.lp-nav-cta:hover { background: var(--ngg-darkorange); color: var(--ngg-btn-txt); }

/* Section rhythm
================================*/
.lp-section { padding: var(--sp-section) clamp(20px, 5vw, 80px); }
.main-title {
  text-align: center;
  margin: 0 0 var(--sp-4);
  background: none !important;
}
.main-title:before, .main-title:after { display: none !important; content: none !important; }
.main-title-text {
  font-family: var(--ngg-montserrat);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  font-size: clamp(26px, 4vw, 46px);
  color: #fff !important;
  background: none !important;
  padding: 0 !important;
}
.main-title-text:before, .main-title-text:after { display: none !important; content: none !important; }
.main-title-text .lowercase-s { text-transform: lowercase; }

/* Giveaway section
================================*/
.giveaway-section {
  padding: var(--sp-section-lg) clamp(20px, 5vw, 80px);
  background: linear-gradient(180deg, var(--bg-dark-1), var(--surface-dark-2));
}
.giveaway-inner { max-width: 1140px; margin: 0 auto; text-align: center; }

/* Video + copy side by side */
.giveaway-media-row {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  text-align: left;
}
.giveaway-media-row .video-box-wrap {
  flex: 0 0 42%;
  max-width: 460px;
  margin: 0;
}
.giveaway-copy-col {
  flex: 1;
  min-width: 0;
  text-align: left;
}
.giveaway-copy-col .giveaway-copy { margin: 0 0 var(--sp-3); max-width: none; }
.giveaway-copy-col .giveaway-cta { margin-top: 0; }

.giveaway-copy {
  font-family: var(--ngg-opensans);
  font-size: clamp(1.3rem, 1.6vw, 1.6rem);
  line-height: 1.6;
  color: var(--text-primary);
  max-width: 1000px;
  margin: 0 auto var(--sp-4);
}
.prize-spotlight {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-3);
  margin: var(--sp-4) 0;
}
.prize-spotlight-item {
  background: var(--surface-dark-1);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: var(--sp-3) var(--sp-4);
  min-width: 220px;
  text-align: left;
}
.prize-spotlight-label {
  display: block;
  font-family: var(--ngg-montserrat);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 11px;
  color: var(--ngg-orange);
  margin-bottom: 4px;
}
.prize-spotlight-value {
  display: block;
  font-family: var(--ngg-montserrat);
  font-weight: 800;
  font-size: 18px;
  color: #fff;
}
.giveaway-cta { margin-top: var(--sp-2); display: inline-flex; align-items: center; gap: 8px; }
.giveaway-cta:focus-visible { outline: 3px solid var(--ne-yellow); outline-offset: 3px; }

@media only screen and (max-width: 700px) {
  .giveaway-media-row { flex-direction: column; text-align: center; gap:0; }
  .giveaway-media-row .video-box-wrap { flex: none; width: 100%; max-width: 560px; margin: 0 auto; }
  .giveaway-copy-col { text-align: center; }
  .giveaway-copy-col .giveaway-copy { margin: var(--sp-3) auto; }
}

/* Category sections — alternating tone for rhythm, not hard color blocking
================================*/
#section-desktops { background: var(--bg-dark-2); }
#section-simulators { background: var(--surface-dark-1); }
#section-laptops { background: var(--bg-dark-2); }
#section-combos { background: var(--surface-dark-1); }

/* Equal-height product cards
   .items-grid is a floated layout from the external template.css by default,
   so cards only take their natural content height — a longer title makes a
   taller card. Overriding to flexbox lets every card in a row stretch to
   match the tallest one, then the card's own content is laid out in a
   column so the button always lands at the same spot at the bottom.
================================*/
.category-section .items-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: space-evenly;
}
.category-section .items-grid .item-cell {
  display: flex;
}
.category-section .item-cell .item-container {
  background: #fff;
  border-radius: 10px;
  padding: var(--sp-2);
  transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
  display: flex;
  flex-direction: column;
  width: 100%;
}
.category-section .item-cell .item-container:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
}
.category-section .item-title a { color: #111; font-family: var(--ngg-montserrat); font-weight: 700; }
.category-section .item-title a:hover { color: var(--ngg-orange); }
.category-section .item-img {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 160px;
  padding: var(--sp-1);
}
.category-section .item-img img { max-height: 100%; width: auto; object-fit: contain; }
.category-section .item-info { display: flex; flex-direction: column; flex: 1; }
.category-section .item-info .btn-area.ngg-item-btn { margin-top: auto; }

/* Price display inside white product cards */
.category-section .instantSavings { display: none !important; }
.category-section .price-save-dollar,
.category-section .price-save-label,
.category-section .price-save-percent {
  background: none !important;
  color: var(--ngg-orange) !important;
  padding: 0 !important;
  font-weight: 700;
}
.category-section .price-save-percent:after,
.category-section .price-save-label:before { display: none !important; content: none !important; }
.category-section .finalPrice { color: #111; }

/* View details button — flush-left, aligned with the price above it */
.category-section .ngg-item-btn { text-align: left; }
.category-section .ngg-item-btn a {
  padding-left: 20px;
  padding-right: 20px;
  justify-content: flex-start;
  padding-top: 10px;
  padding-bottom: 10px;
}


/* Combos
================================*/
.combos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-3);
  margin: 0 auto var(--sp-4);
  width: 100%;
  max-width: 1100px;
  box-sizing: border-box;
}
.combo-card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  max-width: calc(50% - var(--sp-3) / 2);
  margin: 0 auto;
}
.combo-card {
  background: #fff;
  border-radius: 10px;
  padding: var(--sp-3);
  display: flex;
  gap: var(--sp-3);
  align-items: center;
  box-sizing: border-box;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
}
.combo-img {
  max-width: 350px;
  height: auto;
  border-radius: 8px;
  flex-shrink: 0;
  overflow: hidden;
  background: #f5f5f5;
  width:100%;
}
.combo-img img { width: 100%; height: 100%; object-fit: contain; }
.combo-info { flex: 1; min-width: 0; }
.combo-title { font-family: var(--ngg-montserrat); font-weight: 800; color: #111; font-size: 15px; margin: 0 0 8px; overflow-wrap: break-word; }
.combo-info .combo-items { list-style: none; padding: 0; margin: 0 0 8px; font-size: 14px; color: #444; overflow-wrap: break-word; }
.combo-info .combo-items li {
  padding: 2px 0;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  background: none;
}
.combo-info .productList { list-style: none; padding: 0; margin: 0 0 10px; }
.combo-info .finalPrice { color: #111; font-weight: 700; }
.combo-cta {
  display: block;
  width: 35%;
  box-sizing: border-box;
  text-align: center;
  border-radius: 35px;
  padding: 10px 20px;
  font-size: 14px;
  margin-top: var(--sp-2);
  letter-spacing: 0;
}
.combo-shopmore-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  justify-content: center;
  margin-top: var(--sp-2);
}

/* Giveaway entry (Gleam)
================================*/
.giveaway-entry-section {
  padding: var(--sp-section-lg) clamp(20px, 5vw, 80px);
  text-align: center;
  background: linear-gradient(180deg, var(--surface-dark-2), var(--ne-logo-blue));
}
.blade-content {
  max-width: 720px;
  margin: var(--sp-4) auto 0;
}
.giveaway-widget {
  background: #fff;
  border-radius: 12px;
  padding: var(--sp-4);
  min-height: 200px;
}
.giveaway-legal {
  margin-top: var(--sp-4);
  text-align: left;
}
.giveaway-legal p {
  font-family: var(--ngg-opensans);
  font-size: 12px;
  line-height: 1.6;
  color: var(--text-secondary);
}
.giveaway-legal a { color: var(--ngg-orange); text-decoration: underline; }
.giveaway-legal a:hover { color: var(--ngg-darkorange); }



/* Responsive — SIM Gaming Expo page-specific
   Two breakpoints: 1000px (tablet) and 550px (mobile). Rules cascade from
   widest to narrowest so the 550px block can further override the 1000px
   block for the smallest screens.
================================*/

@media only screen and (max-width: 1000px) {
  /* Nav: slightly tighter so all 6 links still fit comfortably */
  .lp-nav-link { padding: 8px 10px; font-size: 11px; }

  /* Product grid: 2 per row instead of ~4-5 */
  .items-grid .item-cell { width: 48% !important; margin: 0 1% 16px !important; padding: 0 !important; }
  .category-section .item-img { height: 140px; }

  /* Giveaway copy: the desktop clamp floor (1.8rem) is too large for tablet body text */
  .giveaway-copy { font-size: 1.3rem; }
  .prize-spotlight-item { min-width: 180px; }

  /* Combos: keep 2-up, just tighten the card padding a touch */
  .combo-card { padding: var(--sp-2); }
  .combo-cta { width:65%; }
}

@media only screen and (max-width: 550px) {
  .lp-nav-inner { justify-content: center; text-align: center; }
  .lp-nav-label { width: 100%; text-align: center; margin-bottom: 4px; }
  .lp-nav-links { justify-content: center; width: 100%; }
  .combo-cta { margin:auto; width:50%; }
  .lp-nav { display: none; }

  /* Product grid: 1 per row */
  .items-grid .item-cell { width: 100% !important; margin: 0 0 16px !important; }
  .category-section .item-img { height: 180px; }

  /* Giveaway copy and prize cards sized for a phone screen */
  
  .prize-spotlight { gap: var(--sp-2); }
  .prize-spotlight-item { min-width: 0; width: 100%; padding: var(--sp-2) var(--sp-3); }

  /* Combos: 1 per row, card content centered */
  .combos-grid { grid-template-columns: 1fr; }
  .combo-card { flex-direction: column; text-align: center; }
  .combo-card:last-child:nth-child(odd) { max-width: 100%; grid-column: auto; }

  /* Gleam widget: less padding so the embed isn't squeezed */
  .giveaway-widget { padding: var(--sp-2); }
  .giveaway-legal { text-align: center; }

  /* Tighter vertical rhythm between sections on small screens */
  .lp-section { padding-top: 28px; padding-bottom: 28px; }
}

@media only screen and (min-width: 641px) {
  .combos-grid { grid-template-columns: repeat(2, 1fr); }
  .items-grid .item-cell { width: 22%; margin: 0; padding:1%; }
}

