/* template.css overrides
================================*/
.banner { padding-top: 41.667%; }
.banner-img {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  max-height: 300px;
  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; }
.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; }
.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: 2; line-clamp: 2; -webkit-box-orient: vertical; }
.item-container:hover { opacity: 1; filter: alpha(opacity=100); transition: all 0.2s ease-in-out; }

/* 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:      #F06C00;
  --ne-navy:        #00283A;
  --bg-dark-1:      #0a0a0f;
  --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: clamp(1rem, 2vw, 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: var(--bg-dark-1); margin: 0; }
.section-inner {
  max-width: 1920px; 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 — never exceeds 400px
================================*/
.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; }

/* 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-2) clamp(24px, 6vw, 80px); }

/* 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 ──────────── */

/* NVIDIA RTX Spark Laptops (26-0910) — vendor LP, rebuilt from NVIDIA lt-plp design.
   Desktop values follow Figma frame 1-620 (1350px); mobile (<=800px) follows frame 1-909 (640px).
================================*/
:root {
  --nv-gray:        #e1e4ea;   /* section background */
  --nv-footer:      #f7f7f7;   /* legal band background */
  --nv-white:       #ffffff;   /* cards */
  --nv-heading:     #000000;
  --nv-body:        #222222;
  --nv-legal:       #636363;
  --nv-shadow:      0 5px 5px 0 rgba(0, 0, 0, 0.18);
  --nv-wrap:        954px;
}

body { background: var(--nv-footer); }
.section-inner { color: var(--nv-body); background: var(--nv-gray); }
:where(.section-inner) :where(h1, h2, h3, p, ul, li) { margin: 0; padding: 0; }
:where(.section-inner) :where(ul) { list-style: none; }
.section-inner [class^="nv-"], .section-inner [class*=" nv-"] { box-sizing: border-box; }

.nv-wrap { width: min(var(--nv-wrap), calc(100% - 32px)); margin: 0 auto; }

/* Shared type */
.nv-section-title { font-family: var(--ngg-montserrat); font-weight: 700; font-size: 28px; line-height: 35px; color: var(--nv-heading); text-align: center; }
.nv-pretitle { font-family: var(--ngg-montserrat); font-weight: 600; font-size: 18px; line-height: 22.5px; color: var(--nv-heading); text-align: center; }
.nv-pretitle + .nv-section-title { margin-top: 12.5px; }
.nv-badge { width: 140px; height: 50px; margin: 0 auto; }

/* 1. Hero */
.nv-hero { position: relative; background: var(--nv-gray); }
.nv-hero-img { width: 100%; height: auto; }
.nv-hero-text { position: absolute; left: 0; right: 0; top: 13.3%; text-align: center; padding: 0 16px; }
.nv-hero-title { font-family: var(--ngg-montserrat); font-weight: 700; font-size: clamp(32px, 3.556vw, 68px); line-height: 1.25; color: var(--nv-heading); }
.nv-hero-sub { margin-top: clamp(12px, 1.556vw, 30px); font-family: var(--ngg-montserrat); font-weight: 600; font-size: clamp(20px, 2.074vw, 40px); line-height: 1.25; color: var(--nv-heading); }

/* 2. Intro */
.nv-intro { background: var(--nv-gray); padding: 59px 0 60px; }
.nv-intro-text { font-size: 20px; line-height: 35px; text-align: center; color: var(--nv-body); }
.nv-intro .nv-badge { margin-top: 31px; }

/* 3. Buy RTX Spark — product card (original style), 4 products in one row */
.nv-buy { background: var(--nv-white); padding: 75px 0; }
.nv-buy-item { width: 298px; margin: 30px auto 0; text-align: center; }
.nv-buy-img { display: flex; align-items: center; justify-content: center; height: 168px; }
.nv-buy-img img { max-height: 168px; width: auto; margin: 0 auto; }
.nv-buy-title { margin-top: 20px; }
.nv-buy .item-title a { display: block; font-family: var(--ngg-montserrat); font-weight: 600; font-size: 20px; line-height: 25px; color: var(--nv-heading); -webkit-line-clamp: unset; line-clamp: unset; }
.nv-buy-title span { display: block; }
.nv-buy .price { margin: 12px 0 0; color: var(--nv-heading); }
.nv-buy .price:empty, .nv-buy .mir:empty { display: none; }
.nv-buy .btn-area { margin-top: 20px; }
.nv-buy .ngg-item-btn a.btn { display: inline-block; text-transform: none; font-family: var(--ngg-opensans); border: 0; border-radius: 35px; background-color: var(--ngg-orange); color: var(--ngg-btn-txt); width: auto; min-width: 115px; min-height: 44px; padding: 12px 24px; font-size: 16px; line-height: 20px; font-weight: 700; }
.nv-buy .ngg-item-btn a.btn:hover { background-color: var(--ngg-darkorange); color: var(--ngg-btn-txt); }
.nv-buy .ngg-item-btn a:focus-visible { outline: 3px solid var(--ne-yellow); outline-offset: 3px; }
.nv-buy-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 30px; }
.nv-buy .nv-buy-grid .nv-buy-item { width: auto; margin: 0; padding: 24px 16px; background: var(--gray-bg); box-shadow: var(--nv-shadow); }
.nv-buy-grid .nv-buy-img img { max-width: 100%; mix-blend-mode: multiply; }
.nv-buy .nv-buy-title { min-height: 44px; }
.nv-buy-grid .item-title a { font-size: 16px; line-height: 22px; }
.nv-buy .nv-buy-title .nv-buy-name { display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* 4. RTX Spark Superchip (background art fixed at design width so the chip stays put) */
.nv-platform { background: var(--nv-gray) url(../imgs/platform-desktop.jpg) center top / 1350px auto no-repeat; padding: 89px 0 138px; }
.nv-specs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; margin-top: 402px; }
.nv-spec { background: var(--nv-white); box-shadow: var(--nv-shadow); height: 214px; padding: 26px 16px 0; display: flex; flex-direction: column; align-items: center; text-align: center; }
.nv-spec-icon { height: 70px; display: flex; align-items: center; justify-content: center; }
.nv-ic-gpu, .nv-ic-cpu { width: 66px; height: 66px; }
.nv-ic-fp4 { width: 70px; height: 65px; }
.nv-ic-mem { width: 78px; height: 54px; }
.nv-spec-text { margin-top: 23px; max-width: 154px; font-family: var(--ngg-montserrat); font-weight: 600; font-size: 20px; line-height: 25px; color: var(--nv-heading); }
.nv-features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 35px 36px; margin-top: 40px; }
.nv-feature { background: var(--nv-white); box-shadow: var(--nv-shadow); min-height: 118px; padding: 24px 20px 20px 19px; display: flex; gap: 21px; }
.nv-feature-icon { flex: 0 0 50px; height: 42px; display: flex; align-items: center; justify-content: center; margin-top: 3px; }
.nv-ic-agents { width: 42px; height: 42px; }
.nv-ic-battery { width: 21px; height: 42px; }
.nv-ic-creator { width: 50px; height: 32px; }
.nv-ic-mouse { width: 26px; height: 46px; }
.nv-feature-title { font-family: var(--ngg-montserrat); font-weight: 700; font-size: 18px; line-height: 22.5px; color: var(--nv-heading); }
.nv-feature-text { margin-top: 10px; font-size: 15px; line-height: 25px; color: var(--nv-body); }

/* 5. Agents */
.nv-agents { background: var(--nv-gray); padding: 30px 0 74px; }
.nv-agents-row { display: flex; gap: 30px; align-items: flex-start; }
.nv-agents-copy { flex: 0 0 216px; padding-top: 13px; }
.nv-agents-copy .nv-pretitle, .nv-agents-copy .nv-section-title { text-align: left; }
.nv-agents-text { margin-top: 30px; font-size: 15px; line-height: 25px; color: var(--nv-body); }
.nv-agents-img { flex: 1 1 auto; min-width: 0; }
.nv-agents-img img { width: 100%; aspect-ratio: 708 / 398; object-fit: cover; }

/* 6. Make More, Code More, Play More */
.nv-media { background: var(--nv-gray); padding: 74px 0 75px; }
.nv-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 61px; }
.nv-card { background: var(--nv-white); box-shadow: var(--nv-shadow); display: flex; flex-direction: column; }
.nv-card-img img { width: 100%; aspect-ratio: 298 / 398; object-fit: cover; }
.nv-card-body { padding: 20px 20px 24px; min-height: 375px; }
.nv-pill { display: inline-block; height: 20px; padding: 0 8px; font-size: 12px; line-height: 20px; color: var(--nv-heading); background: center / 100% 100% no-repeat; }
.nv-pill-creators { width: 65px; background-image: url(../imgs/pill-creators.png); }
.nv-pill-developers { width: 79px; background-image: url(../imgs/pill-developers.png); }
.nv-pill-gamers { width: 60px; background-image: url(../imgs/pill-gamers.png); }
.nv-card-title { margin-top: 19px; min-height: 50px; font-family: var(--ngg-montserrat); font-weight: 700; font-size: 20px; line-height: 25px; color: var(--nv-heading); }
.nv-card-text { margin-top: 21px; font-size: 15px; line-height: 25px; color: var(--nv-body); }

/* 7. RTX Platform */
.nv-rtx { background: var(--nv-gray); padding: 90px 0 89px; }
.nv-rtx-text { margin-top: 19px; font-size: 20px; line-height: 35px; text-align: center; color: var(--nv-body); }
.nv-rtx-img { width: 100%; max-width: 956px; margin: 51px auto 0; }

/* 8. Legal band */
.nv-legal { background: var(--nv-footer); padding: 60px 0 54px; }
.nv-legal .nv-badge { width: 138px; height: 49px; }
.nv-legal-text { margin-top: 31px; font-size: 12px; line-height: 16px; text-align: center; color: var(--nv-legal); }
.nv-legal .disclaimer { padding: 12px 0 0; color: var(--nv-legal); }

/* Mid widths — keep 4/3 columns readable */
@media only screen and (max-width: 1000px) and (min-width: 801px) {
  .nv-specs { gap: 20px; }
  .nv-spec-text { font-size: 18px; line-height: 23px; }
  .nv-cards { gap: 20px; }
  .nv-buy-grid { gap: 16px; }
  .nv-buy-grid .item-title a { font-size: 15px; line-height: 20px; }
  .nv-buy .nv-buy-title { min-height: 40px; }
}

/* Mobile — frame 1-909 (<=800px)
================================*/
@media only screen and (max-width: 800px) {
  .nv-wrap { width: calc(100% - 30px); }
  .nv-section-title { font-size: 24px; line-height: 30px; }
  .nv-pretitle { font-size: 16px; line-height: 20px; }
  .nv-pretitle + .nv-section-title { margin-top: 10px; }

  /* hero copy scales with the 640px mobile composition so it stays above the laptop */
  .nv-hero-text { top: 12%; }
  .nv-hero-title { font-size: clamp(24px, 5.625vw, 36px); line-height: 1.25; }
  .nv-hero-sub { margin-top: clamp(10px, 3.125vw, 20px); font-size: clamp(16px, 3.75vw, 24px); line-height: 1.25; }

  .nv-intro { padding: 30px 0; }
  .nv-intro-text { font-size: 16px; line-height: 32px; }
  .nv-intro .nv-badge { margin-top: 30px; width: 138px; height: 49px; }

  .nv-buy { padding: 59px 0 60px; }
  .nv-buy-item { width: 100%; max-width: 400px; }
  .nv-buy-grid { grid-template-columns: 1fr; gap: 40px; }
  .nv-buy .nv-buy-grid .nv-buy-item { width: 100%; max-width: 400px; margin: 0 auto; padding: 20px 16px; }
  .nv-buy .nv-buy-title { min-height: 46px; }
  .nv-buy-img { height: auto; }
  .nv-buy-img img { max-height: none; width: 100%; max-width: 400px; }
  .nv-buy .item-title a { font-size: 18px; line-height: 23px; }

  .nv-platform { background: var(--nv-gray) url(../imgs/platform-mobile.jpg) center top / 640px auto no-repeat; padding: 59px 0 74px; }
  .nv-specs { grid-template-columns: 1fr; gap: 31px; margin-top: 287px; }
  .nv-spec { height: auto; min-height: 117px; padding: 0 20px 0 0; flex-direction: row; text-align: left; }
  .nv-spec-icon { flex: 0 0 66px; margin: 0 26px 0 29px; height: 117px; }
  .nv-spec-text { margin-top: 0; max-width: none; }
  .nv-features { grid-template-columns: 1fr; gap: 31px; margin-top: 31px; }
  .nv-feature { min-height: 117px; padding: 26px 20px 20px 18px; gap: 18px; }
  .nv-feature-icon { flex-basis: 54px; }
  .nv-feature-title { font-size: 16px; line-height: 20px; }
  .nv-feature-text { margin-top: 10px; font-size: 14px; line-height: 25px; }

  .nv-agents { padding: 60px 0; }
  .nv-agents-row { flex-direction: column; gap: 31px; }
  .nv-agents-copy { flex: none; padding-top: 0; }
  .nv-agents-text { margin-top: 30px; font-size: 14px; line-height: 25px; }
  .nv-agents-img { width: 100%; }

  .nv-media { padding: 59px 0 60px; }
  .nv-cards { grid-template-columns: 1fr; gap: 32px; margin-top: 31px; }
  .nv-card-body { min-height: 220px; }
  .nv-card-title { margin-top: 20px; min-height: 0; font-size: 18px; line-height: 23px; }
  .nv-card-text { margin-top: 20px; font-size: 14px; line-height: 25px; }

  .nv-rtx { padding: 59px 0 65px; }
  .nv-rtx .nv-section-title { max-width: 360px; margin-left: auto; margin-right: auto; }
  .nv-rtx-text { margin-top: 17px; font-size: 16px; line-height: 32px; }
  .nv-rtx-img { margin-top: 21px; }

  .nv-legal { padding: 60px 0 45px; }
  .nv-legal-text { margin-top: 30px; }
}
