body.grb-body{
  margin:0;
  background:#05070d !important;
  color:#fff !important;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Yu Gothic UI",sans-serif;
}

.grb-header{
  position:sticky;
  top:0;
  z-index:100;
  height:72px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 42px;
  background:rgba(5,7,13,.72);
  backdrop-filter:blur(18px);
  border-bottom:1px solid rgba(255,255,255,.08);
}

.grb-logo{
  display:flex;
  align-items:center;
  gap:10px;
  color:#fff;
  text-decoration:none;
}

.grb-logo span{
  width:42px;
  height:42px;
  border-radius:14px;
  display:grid;
  place-items:center;
  background:linear-gradient(135deg,#0071e3,#38bdf8);
  font-weight:900;
}

.grb-logo strong{
  font-size:22px;
  letter-spacing:.02em;
}

.grb-header nav{
  display:flex;
  gap:24px;
}

.grb-header nav a{
  color:#cbd5e1;
  text-decoration:none;
  font-size:14px;
  font-weight:700;
}

.grb-header nav a:hover{
  color:#fff;
}

.grb-hero{
  position:relative;
  min-height:760px;
  display:grid;
  grid-template-columns:1fr 420px;
  align-items:center;
  gap:40px;
  padding:70px 8vw;
  overflow:hidden;
}

.grb-hero-bg{
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 20% 20%,rgba(0,113,227,.55),transparent 30%),
    radial-gradient(circle at 80% 40%,rgba(56,189,248,.25),transparent 28%),
    linear-gradient(135deg,#05070d 0%,#0f172a 52%,#020617 100%);
  z-index:0;
}

.grb-hero::after{
  content:"";
  position:absolute;
  right:-120px;
  top:120px;
  width:560px;
  height:560px;
  border-radius:50%;
  background:linear-gradient(135deg,rgba(59,130,246,.35),rgba(14,165,233,.04));
  filter:blur(10px);
}

.grb-hero-inner,
.grb-hero-card{
  position:relative;
  z-index:1;
}

.grb-kicker{
  color:#38bdf8;
  font-weight:900;
  letter-spacing:.12em;
  font-size:13px;
  text-transform:uppercase;
}

.grb-hero h1{
  font-size:76px;
  line-height:1.02;
  letter-spacing:-.055em;
  margin:18px 0;
}

.grb-lead{
  max-width:720px;
  color:#cbd5e1;
  font-size:20px;
  line-height:1.9;
}

.grb-actions{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  margin:34px 0;
}

.grb-primary,
.grb-secondary{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  padding:14px 24px;
  font-weight:900;
  text-decoration:none;
}

.grb-primary{
  background:#0071e3;
  color:#fff;
  box-shadow:0 14px 30px rgba(0,113,227,.35);
}

.grb-secondary{
  background:rgba(255,255,255,.12);
  color:#fff;
  border:1px solid rgba(255,255,255,.18);
}

.grb-hero-stats{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
  max-width:660px;
}

.grb-hero-stats div,
.grb-hero-card,
.grb-glass-card{
  background:rgba(255,255,255,.1);
  border:1px solid rgba(255,255,255,.14);
  backdrop-filter:blur(20px);
  border-radius:28px;
  padding:22px;
}

.grb-hero-stats strong{
  display:block;
  font-size:22px;
}

.grb-hero-stats span{
  color:#cbd5e1;
  font-size:13px;
}

.grb-hero-card{
  min-height:310px;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  box-shadow:0 24px 80px rgba(0,0,0,.35);
}

.grb-hero-card p{
  color:#38bdf8;
  font-weight:900;
}

.grb-hero-card h2{
  font-size:34px;
  line-height:1.12;
  margin:10px 0;
}

.grb-hero-card span{
  color:#cbd5e1;
}

.grb-main{
  background:#f5f5f7;
  color:#1d1d1f;
  padding:44px 8vw 80px;
}

.grb-category-row{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
  margin-top:-86px;
  position:relative;
  z-index:2;
}

.grb-category-row a{
  background:#fff;
  border-radius:28px;
  padding:28px;
  text-decoration:none;
  color:#1d1d1f;
  box-shadow:0 18px 50px rgba(0,0,0,.12);
}

.grb-category-row strong{
  display:block;
  font-size:22px;
  margin-bottom:8px;
}

.grb-category-row span{
  color:#6e6e73;
}

.grb-section{
  margin:70px 0;
}

.grb-section-head{
  display:flex;
  justify-content:space-between;
  align-items:end;
  margin-bottom:24px;
}

.grb-section-head p{
  color:#0071e3;
  font-weight:900;
  letter-spacing:.1em;
  margin:0;
}

.grb-section-head h2{
  font-size:42px;
  letter-spacing:-.04em;
  margin:8px 0 0;
}

.grb-section-head a{
  color:#0071e3;
  font-weight:900;
  text-decoration:none;
}

.grb-split,
.grb-business{
  border-radius:38px;
  padding:48px;
  background:linear-gradient(135deg,#0f172a,#111827);
  color:#fff;
  display:grid;
  grid-template-columns:1fr 360px;
  gap:32px;
  align-items:center;
  box-shadow:0 24px 70px rgba(15,23,42,.22);
}

.grb-split h2,
.grb-business h2{
  font-size:46px;
  line-height:1.08;
  letter-spacing:-.045em;
  margin:12px 0;
}

.grb-split p,
.grb-business p{
  color:#cbd5e1;
  line-height:1.8;
}

.grb-glass-card ul{
  margin:0;
  padding-left:20px;
  color:#e2e8f0;
  line-height:2;
}

.grb-business{
  display:block;
  text-align:center;
  margin-top:80px;
}

.grb-footer{
  background:#05070d;
  color:#94a3b8;
  padding:38px 8vw;
  display:flex;
  justify-content:space-between;
  gap:20px;
}

.grb-footer a{
  color:#cbd5e1;
  margin-left:16px;
  text-decoration:none;
}

@media(max-width:900px){
  .grb-header{
    padding:0 18px;
  }

  .grb-header nav{
    display:none;
  }

  .grb-hero{
    grid-template-columns:1fr;
    min-height:auto;
    padding:70px 24px 120px;
  }

  .grb-hero h1{
    font-size:48px;
  }

  .grb-hero-stats,
  .grb-category-row,
  .grb-split{
    grid-template-columns:1fr;
  }

  .grb-main{
    padding:36px 18px 60px;
  }

  .grb-category-row{
    margin-top:-90px;
  }

  .grb-section-head{
    display:block;
  }

  .grb-split,
  .grb-business{
    padding:30px;
  }

  .grb-split h2,
  .grb-business h2{
    font-size:34px;
  }

  .grb-footer{
    display:block;
  }
}


.grb-why{
  margin:80px 0;
}

.grb-why-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:20px;
}

.grb-why-grid div{
  background:#fff;
  border-radius:30px;
  padding:30px;
  box-shadow:0 18px 50px rgba(0,0,0,.08);
}

.grb-why-grid span{
  display:inline-flex;
  color:#0071e3;
  font-weight:900;
  margin-bottom:18px;
}

.grb-why-grid h3{
  color:#1d1d1f;
  font-size:22px;
  margin:0 0 12px;
}

.grb-why-grid p{
  color:#6e6e73;
  line-height:1.8;
  margin:0;
}

@media(max-width:900px){
  .grb-why-grid{
    grid-template-columns:1fr;
  }
}


/* GR Build BTO brand UI */
.bto-brand-hero{
  position:relative;
  background:
    radial-gradient(circle at 20% 20%,rgba(0,113,227,.5),transparent 28%),
    radial-gradient(circle at 80% 30%,rgba(56,189,248,.22),transparent 30%),
    linear-gradient(135deg,#05070d,#0f172a 58%,#020617);
  color:#fff;
  padding:90px 8vw 120px;
  overflow:hidden;
}

.bto-brand-hero h1{
  font-size:68px;
  line-height:1.03;
  letter-spacing:-.055em;
  margin:18px 0;
}

.bto-brand-hero p:not(.grb-kicker){
  color:#cbd5e1;
  font-size:19px;
  line-height:1.8;
  max-width:720px;
}

.bto-brand-layout{
  background:#f5f5f7;
  color:#1d1d1f;
  display:grid;
  grid-template-columns:minmax(0,1fr) 430px;
  gap:28px;
  padding:44px 8vw 90px;
  align-items:start;
}

.bto-config-panel,
.bto-result-panel{
  min-width:0;
}

.bto-config-panel h2{
  font-size:42px;
  letter-spacing:-.04em;
  margin:0 0 22px;
}

.bto-select-card,
.bto-price-card,
.bto-game-card,
.bto-summary-card{
  background:#fff;
  border-radius:34px;
  padding:30px;
  box-shadow:0 18px 50px rgba(0,0,0,.08);
}

.bto-select-card label{
  display:block;
  font-weight:900;
  color:#1d1d1f;
  margin-top:12px;
}

.bto-select-card select{
  background:#f5f5f7 !important;
  border:1px solid #e5e5ea !important;
  border-radius:18px !important;
  padding:16px !important;
  font-weight:700;
}

.bto-result-panel{
  position:sticky;
  top:92px;
  display:grid;
  gap:18px;
}

.bto-price-card{
  background:linear-gradient(135deg,#0f172a,#111827);
  color:#fff;
}

.bto-price-card p{
  color:#38bdf8;
  font-weight:900;
  margin:0 0 8px;
}

.bto-price-card strong{
  display:block;
  font-size:44px;
  letter-spacing:-.04em;
}

.bto-price-card span{
  color:#cbd5e1;
}

.bto-mini-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:12px;
}

.bto-mini-grid div{
  background:#fff;
  border-radius:24px;
  padding:18px;
  box-shadow:0 14px 38px rgba(0,0,0,.06);
}

.bto-mini-grid span{
  display:block;
  color:#6e6e73;
  font-size:13px;
  font-weight:900;
}

.bto-mini-grid strong{
  display:block;
  color:#1d1d1f;
  font-size:20px;
  margin-top:4px;
}

.bto-game-card h3,
.bto-summary-card h3{
  margin:0 0 16px;
  color:#1d1d1f;
}

.bto-game-card p{
  background:#f5f5f7;
  border-radius:16px;
  padding:12px 14px;
  margin:8px 0;
  font-weight:800;
}

.bto-summary-card table{
  font-size:13px;
}

.bto-actions{
  display:grid;
  gap:10px;
}

.bto-actions .grb-primary,
.bto-actions .grb-secondary{
  width:100%;
  box-sizing:border-box;
}

.bto-result-message{
  color:#0a7d33;
  font-weight:900;
  text-align:center;
}

@media(max-width:980px){
  .bto-brand-hero{
    padding:70px 24px 90px;
  }

  .bto-brand-hero h1{
    font-size:44px;
  }

  .bto-brand-layout{
    grid-template-columns:1fr;
    padding:32px 18px 70px;
  }

  .bto-result-panel{
    position:static;
  }
}


/* BTO quote cards */
.bto-quote-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:20px;
}

.bto-quote-card{
  background:#fff;
  border-radius:30px;
  padding:26px;
  box-shadow:0 18px 50px rgba(0,0,0,.08);
}

.bto-quote-head span{
  display:block;
  color:#6e6e73;
  font-size:13px;
  font-weight:900;
}

.bto-quote-head strong{
  display:block;
  color:#1d1d1f;
  font-size:18px;
  margin-top:4px;
}

.bto-quote-price{
  font-size:30px;
  font-weight:900;
  color:#0071e3;
  margin:20px 0;
}

.bto-quote-card ul{
  list-style:none;
  padding:0;
  margin:0;
}

.bto-quote-card li{
  display:flex;
  justify-content:space-between;
  gap:12px;
  border-top:1px solid #f0f0f2;
  padding:10px 0;
}

.bto-quote-card li span{
  color:#86868b;
}

.bto-quote-card li strong{
  color:#1d1d1f;
  text-align:right;
}

.bto-quote-date{
  color:#6e6e73;
  font-size:13px;
  margin:18px 0;
}

.bto-quote-actions{
  display:grid;
  gap:10px;
}


/* BTO Preview Phase 1 */
.preview-wrap{
  min-height:calc(100vh - 72px);
  display:grid;
  grid-template-columns:minmax(0,1fr) 420px;
  gap:28px;
  padding:42px 5vw;
  background:
    radial-gradient(circle at 30% 20%,rgba(124,58,237,.28),transparent 28%),
    linear-gradient(135deg,#05070d,#0f172a);
}

.preview-stage{
  position:relative;
  background:radial-gradient(circle at center,rgba(255,255,255,.09),rgba(255,255,255,.02));
  border:1px solid rgba(255,255,255,.1);
  border-radius:36px;
  min-height:720px;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}

.preview-glow{
  position:absolute;
  width:520px;
  height:520px;
  border-radius:50%;
  background:rgba(124,58,237,.32);
  filter:blur(60px);
}

.preview-pc{
  position:relative;
  width:620px;
  height:520px;
  transform:perspective(1200px) rotateY(-18deg) rotateX(4deg);
  transition:.35s ease;
}

.preview-pc.view-front{transform:perspective(1200px) rotateY(0deg) rotateX(0deg);}
.preview-pc.view-left{transform:perspective(1200px) rotateY(-26deg) rotateX(4deg);}
.preview-pc.view-right{transform:perspective(1200px) rotateY(22deg) rotateX(4deg);}
.preview-pc.view-top{transform:perspective(1200px) rotateY(-18deg) rotateX(24deg);}

.pc-case{
  position:absolute;
  inset:0;
  background:linear-gradient(135deg,#ffffff,#dfe3ea);
  border-radius:24px;
  box-shadow:
    0 40px 90px rgba(0,0,0,.55),
    inset 0 0 0 12px rgba(255,255,255,.75);
  overflow:hidden;
}

.glass{
  position:absolute;
  inset:34px;
  border-radius:18px;
  background:rgba(255,255,255,.18);
  border:2px solid rgba(255,255,255,.5);
  box-shadow:inset 0 0 40px rgba(255,255,255,.2);
}

.motherboard{
  position:absolute;
  left:170px;
  top:130px;
  width:270px;
  height:250px;
  background:#111827;
  border-radius:12px;
  box-shadow:inset 0 0 0 2px #202938;
}

.cpu-block{
  position:absolute;
  left:72px;
  top:38px;
  width:76px;
  height:76px;
  border-radius:50%;
  background:#f8fafc;
  color:#111827;
  display:grid;
  place-items:center;
  font-weight:900;
  box-shadow:0 0 26px var(--rgb-glow);
}

.ram{
  position:absolute;
  top:34px;
  width:14px;
  height:118px;
  border-radius:6px;
  background:linear-gradient(180deg,#111827,var(--rgb-color),#111827);
  box-shadow:0 0 20px var(--rgb-glow);
}
.ram1{right:54px;}
.ram2{right:32px;}

.gpu-card{
  position:absolute;
  left:-74px;
  top:150px;
  width:360px;
  height:108px;
  border-radius:16px;
  background:linear-gradient(135deg,#111,#2f2f35);
  color:#fff;
  box-shadow:0 16px 34px rgba(0,0,0,.45);
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:900;
  letter-spacing:.05em;
}

.gpu-fans{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:space-around;
  opacity:.55;
}
.gpu-fans i{
  width:72px;
  height:72px;
  border-radius:50%;
  border:12px solid #050505;
  box-shadow:inset 0 0 0 8px #222;
}

.top-fans,
.side-fans{
  position:absolute;
  display:flex;
  gap:14px;
}

.top-fans{
  left:150px;
  top:44px;
}

.side-fans{
  right:42px;
  top:118px;
  flex-direction:column;
}

.top-fans span,
.side-fans span,
.rear-fan{
  width:86px;
  height:86px;
  border-radius:50%;
  background:radial-gradient(circle,#fff 0 20%,var(--rgb-color) 45%,#f8fafc 70%);
  box-shadow:0 0 28px var(--rgb-glow);
}

.rear-fan{
  position:absolute;
  left:62px;
  top:178px;
}

.bottom-light{
  position:absolute;
  left:110px;
  right:110px;
  bottom:28px;
  height:18px;
  border-radius:50%;
  background:var(--rgb-color);
  filter:blur(18px);
  opacity:.85;
}

.preview-panel{
  background:rgba(255,255,255,.1);
  border:1px solid rgba(255,255,255,.14);
  border-radius:36px;
  padding:30px;
  color:#fff;
  backdrop-filter:blur(18px);
}

.preview-panel h1{
  font-size:42px;
  margin:10px 0;
}

.preview-panel p{
  color:#cbd5e1;
  line-height:1.7;
}

.preview-price{
  background:rgba(255,255,255,.12);
  border-radius:24px;
  padding:20px;
  margin:22px 0;
}

.preview-price span{
  color:#94a3b8;
  font-weight:900;
}

.preview-price strong{
  display:block;
  font-size:38px;
  margin-top:6px;
}

.preview-config{
  display:grid;
  gap:10px;
}

.preview-config div{
  display:flex;
  justify-content:space-between;
  gap:12px;
  border-top:1px solid rgba(255,255,255,.12);
  padding-top:10px;
}

.preview-config span{
  color:#94a3b8;
}

.preview-config strong{
  text-align:right;
}

.preview-controls{
  margin-top:24px;
}

.preview-controls button,
.preview-thumbs button{
  border:0;
  border-radius:999px;
  padding:10px 14px;
  margin:4px;
  background:rgba(255,255,255,.12);
  color:#fff;
  font-weight:800;
  cursor:pointer;
}

.preview-actions{
  display:grid;
  gap:10px;
  margin-top:24px;
}

.preview-actions .grb-primary,
.preview-actions .grb-secondary{
  width:100%;
  box-sizing:border-box;
}

.preview-thumbs{
  position:absolute;
  left:24px;
  bottom:24px;
}

body[data-rgb="purple"]{--rgb-color:#8b5cf6;--rgb-glow:rgba(139,92,246,.85);}
body[data-rgb="blue"]{--rgb-color:#38bdf8;--rgb-glow:rgba(56,189,248,.85);}
body[data-rgb="white"]{--rgb-color:#ffffff;--rgb-glow:rgba(255,255,255,.85);}
body[data-rgb="rainbow"]{--rgb-color:#ec4899;--rgb-glow:rgba(236,72,153,.85);}
body[data-rgb="off"]{--rgb-color:#64748b;--rgb-glow:rgba(100,116,139,.2);}

@media(max-width:1000px){
  .preview-wrap{
    grid-template-columns:1fr;
    padding:24px;
  }

  .preview-stage{
    min-height:520px;
  }

  .preview-pc{
    width:430px;
    height:360px;
    transform:scale(.8) perspective(1200px) rotateY(-18deg);
  }

  .preview-thumbs{
    position:static;
    margin-top:20px;
  }
}


/* BTO Preview Phase 2 */
.preview-pc.gpu-small .gpu-card{
  width:300px;
  height:96px;
}

.preview-pc.gpu-mid .gpu-card{
  width:360px;
  height:108px;
}

.preview-pc.gpu-large .gpu-card{
  width:420px;
  height:122px;
  left:-110px;
}

.preview-pc.case-black .pc-case{
  background:linear-gradient(135deg,#16181f,#05070d);
  box-shadow:
    0 40px 90px rgba(0,0,0,.65),
    inset 0 0 0 12px rgba(255,255,255,.08);
}

.preview-pc.case-black .glass{
  background:rgba(0,0,0,.28);
  border-color:rgba(255,255,255,.18);
}

.preview-pc.case-black .motherboard{
  background:#020617;
}

.preview-pc.case-black .top-fans span,
.preview-pc.case-black .side-fans span,
.preview-pc.case-black .rear-fan{
  background:radial-gradient(circle,#111827 0 20%,var(--rgb-color) 45%,#1f2937 70%);
}

body[data-theme="black"] .preview-stage{
  background:radial-gradient(circle at center,rgba(0,113,227,.14),rgba(255,255,255,.02));
}

body[data-theme="black"] .preview-glow{
  background:rgba(0,113,227,.28);
}


/* BTO Preview Phase 3 controls */
.preview-stage{
  cursor:grab;
}

.preview-stage.dragging{
  cursor:grabbing;
}

.preview-pc{
  will-change:transform;
}

.preview-gpu-grade{
  position:absolute;
  top:26px;
  left:26px;
  z-index:5;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.18);
  color:#fff;
  backdrop-filter:blur(18px);
  border-radius:999px;
  padding:10px 16px;
  font-weight:900;
  letter-spacing:.08em;
  font-size:12px;
}

.preview-range-label{
  display:flex;
  justify-content:space-between;
  color:#cbd5e1;
  font-weight:900;
  margin:12px 0 6px;
}

.preview-controls input[type="range"]{
  width:100% !important;
  accent-color:#38bdf8;
}

:root{
  --rgb-brightness:1;
}

.top-fans span,
.side-fans span,
.rear-fan,
.ram,
.cpu-block,
.bottom-light{
  filter:brightness(var(--rgb-brightness));
}

body[data-rgb="rainbow"] .top-fans span:nth-child(1),
body[data-rgb="rainbow"] .side-fans span:nth-child(1){
  --rgb-color:#ef4444;
  --rgb-glow:rgba(239,68,68,.85);
}

body[data-rgb="rainbow"] .top-fans span:nth-child(2),
body[data-rgb="rainbow"] .side-fans span:nth-child(2){
  --rgb-color:#22c55e;
  --rgb-glow:rgba(34,197,94,.85);
}

body[data-rgb="rainbow"] .top-fans span:nth-child(3),
body[data-rgb="rainbow"] .side-fans span:nth-child(3){
  --rgb-color:#3b82f6;
  --rgb-glow:rgba(59,130,246,.85);
}

body[data-rgb="rainbow"] .ram1{
  --rgb-color:#a855f7;
  --rgb-glow:rgba(168,85,247,.85);
}

body[data-rgb="rainbow"] .ram2{
  --rgb-color:#f59e0b;
  --rgb-glow:rgba(245,158,11,.85);
}


/* BTO Preview Phase 4 case models */
.preview-pc.case-standard .pc-case{
  border-radius:24px;
}

.preview-pc.case-h9 .pc-case{
  border-radius:30px;
  box-shadow:
    0 44px 100px rgba(0,0,0,.58),
    inset 0 0 0 14px rgba(255,255,255,.82);
}

.preview-pc.case-h9 .glass{
  inset:26px;
  border-radius:22px;
}

.preview-pc.case-h9 .side-fans{
  right:26px;
}

.preview-pc.case-h9 .top-fans{
  left:132px;
}

.preview-pc.case-o11 .pc-case{
  border-radius:14px;
  transform:skewX(-1deg);
}

.preview-pc.case-o11 .glass{
  inset:24px 24px 24px 28px;
  border-radius:10px;
  background:rgba(255,255,255,.24);
}

.preview-pc.case-o11 .side-fans{
  right:32px;
  top:94px;
}

.preview-pc.case-o11 .top-fans{
  top:36px;
}

.preview-pc.case-o11 .motherboard{
  left:150px;
}

.preview-pc.case-north .pc-case{
  border-radius:12px;
  overflow:hidden;
}

.preview-pc.case-north .pc-case::before{
  content:"";
  position:absolute;
  left:0;
  top:0;
  width:64px;
  height:100%;
  background:
    repeating-linear-gradient(
      90deg,
      #8b5a2b 0,
      #8b5a2b 5px,
      #6f451f 5px,
      #6f451f 10px
    );
  z-index:4;
  box-shadow:8px 0 20px rgba(0,0,0,.18);
}

.preview-pc.case-north .glass{
  left:82px;
  opacity:.75;
}

.preview-pc.case-north .rear-fan{
  left:92px;
}

.preview-pc.case-north .motherboard{
  left:190px;
}

.preview-pc.case-north .top-fans{
  left:188px;
}

.preview-pc.case-black.case-north .pc-case::before{
  background:
    repeating-linear-gradient(
      90deg,
      #3b2a1c 0,
      #3b2a1c 5px,
      #21160f 5px,
      #21160f 10px
    );
}


/* BTO Preview Ultimate */
.ultimate-performance{
  display:grid;
  gap:8px;
  margin-top:18px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.1);
  border-radius:22px;
  padding:16px;
}

.ultimate-performance div{
  display:flex;
  justify-content:space-between;
  gap:12px;
  border-top:1px solid rgba(255,255,255,.08);
  padding-top:8px;
}

.ultimate-performance div:first-child{
  border-top:0;
  padding-top:0;
}

.ultimate-performance span{
  color:#94a3b8;
  font-size:13px;
}

.ultimate-performance strong{
  color:#fff;
  text-align:right;
}

.preview-pc.gpu-tier-standard .gpu-card{
  width:300px;
  height:94px;
  left:-52px;
}

.preview-pc.gpu-tier-midhigh .gpu-card{
  width:370px;
  height:110px;
  left:-78px;
}

.preview-pc.gpu-tier-high .gpu-card{
  width:405px;
  height:122px;
  left:-98px;
}

.preview-pc.gpu-tier-ultra .gpu-card{
  width:450px;
  height:138px;
  left:-128px;
  top:144px;
  border-radius:20px;
}

.preview-pc.gpu-tier-ultra .gpu-fans i{
  width:84px;
  height:84px;
  border-width:14px;
}

.preview-pc.gpu-tier-standard .gpu-fans i{
  width:58px;
  height:58px;
  border-width:10px;
}

.preview-pc.cooler-air .cpu-block::after{
  content:"";
  position:absolute;
  inset:-18px;
  border-radius:14px;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(15,23,42,.9) 0,
      rgba(15,23,42,.9) 4px,
      rgba(148,163,184,.8) 4px,
      rgba(148,163,184,.8) 8px
    );
  z-index:-1;
  transform:rotate(8deg);
}

.preview-pc.cooler-aio240 .top-fans span:nth-child(3){
  opacity:.35;
}

.preview-pc.cooler-aio240 .pc-case::after{
  content:"240mm LIQUID";
  position:absolute;
  left:158px;
  top:28px;
  width:190px;
  height:26px;
  border-radius:999px;
  background:rgba(15,23,42,.85);
  color:#fff;
  display:grid;
  place-items:center;
  font-size:11px;
  font-weight:900;
  letter-spacing:.08em;
  z-index:5;
}

.preview-pc.cooler-aio360 .pc-case::after{
  content:"360mm LIQUID";
  position:absolute;
  left:136px;
  top:28px;
  width:270px;
  height:28px;
  border-radius:999px;
  background:rgba(15,23,42,.88);
  color:#fff;
  display:grid;
  place-items:center;
  font-size:11px;
  font-weight:900;
  letter-spacing:.08em;
  z-index:5;
}

.preview-pc.cooler-aio360 .top-fans span{
  transform:scale(1.08);
}

.preview-pc.fan-silent .side-fans span:nth-child(3),
.preview-pc.fan-silent .top-fans span:nth-child(3){
  opacity:.22;
}

.preview-pc.fan-max .top-fans span,
.preview-pc.fan-max .side-fans span,
.preview-pc.fan-max .rear-fan{
  transform:scale(1.08);
  box-shadow:
    0 0 34px var(--rgb-glow),
    0 0 70px var(--rgb-glow);
}

.preview-pc.fan-max .bottom-light{
  opacity:1;
  height:24px;
}

.preview-pc.gpu-tier-ultra .bottom-light{
  background:linear-gradient(90deg,var(--rgb-color),#fff,var(--rgb-color));
}

.preview-pc.gpu-tier-high .gpu-card{
  background:linear-gradient(135deg,#050505,#1f2937,#334155);
}

.preview-pc.gpu-tier-ultra .gpu-card{
  background:
    linear-gradient(135deg,#050505,#111827 45%,#3b0764);
  box-shadow:
    0 22px 46px rgba(0,0,0,.6),
    0 0 28px var(--rgb-glow);
}


/* Real CSS 3D case upgrade */
.preview-stage{
  perspective:1400px;
}

.preview-pc{
  transform-style:preserve-3d;
}

.pc-case{
  transform-style:preserve-3d;
  overflow:visible !important;
}

.case-face{
  position:absolute;
  background:linear-gradient(135deg,rgba(255,255,255,.88),rgba(210,216,226,.88));
  border:1px solid rgba(255,255,255,.45);
  box-shadow:inset 0 0 28px rgba(255,255,255,.18);
  pointer-events:none;
}

.case-front{
  inset:0;
  border-radius:24px;
  transform:translateZ(80px);
}

.case-back{
  inset:0;
  border-radius:24px;
  transform:translateZ(-80px);
  background:linear-gradient(135deg,#cbd5e1,#94a3b8);
}

.case-left{
  width:160px;
  height:100%;
  left:-80px;
  top:0;
  transform:rotateY(90deg);
  transform-origin:center;
  border-radius:22px;
  background:linear-gradient(135deg,#e5e7eb,#cbd5e1);
}

.case-right{
  width:160px;
  height:100%;
  right:-80px;
  top:0;
  transform:rotateY(90deg);
  transform-origin:center;
  border-radius:22px;
  background:linear-gradient(135deg,#f8fafc,#dbe3ef);
}

.case-top{
  width:100%;
  height:160px;
  left:0;
  top:-80px;
  transform:rotateX(90deg);
  transform-origin:center;
  border-radius:22px;
  background:linear-gradient(135deg,#f8fafc,#cbd5e1);
}

.case-bottom{
  width:100%;
  height:160px;
  left:0;
  bottom:-80px;
  transform:rotateX(90deg);
  transform-origin:center;
  border-radius:22px;
  background:linear-gradient(135deg,#cbd5e1,#64748b);
}

.glass,
.top-fans,
.side-fans,
.rear-fan,
.motherboard,
.bottom-light{
  transform:translateZ(92px);
}

.preview-pc.case-black .case-face{
  background:linear-gradient(135deg,#111827,#020617);
  border-color:rgba(255,255,255,.08);
}

.preview-pc.case-black .case-back,
.preview-pc.case-black .case-left,
.preview-pc.case-black .case-right,
.preview-pc.case-black .case-top,
.preview-pc.case-black .case-bottom{
  background:linear-gradient(135deg,#020617,#111827);
}

.preview-pc.case-h9 .case-front,
.preview-pc.case-h9 .case-back{
  border-radius:32px;
}

.preview-pc.case-h9 .case-left,
.preview-pc.case-h9 .case-right,
.preview-pc.case-h9 .case-top,
.preview-pc.case-h9 .case-bottom{
  border-radius:30px;
}

.preview-pc.case-o11 .case-front,
.preview-pc.case-o11 .case-back{
  border-radius:10px;
}

.preview-pc.case-o11 .case-left,
.preview-pc.case-o11 .case-right,
.preview-pc.case-o11 .case-top,
.preview-pc.case-o11 .case-bottom{
  border-radius:8px;
}

.preview-pc.case-north .case-front::before{
  content:"";
  position:absolute;
  left:0;
  top:0;
  width:72px;
  height:100%;
  border-radius:20px 0 0 20px;
  background:
    repeating-linear-gradient(
      90deg,
      #8b5a2b 0,
      #8b5a2b 5px,
      #6f451f 5px,
      #6f451f 10px
    );
  box-shadow:8px 0 20px rgba(0,0,0,.18);
}

.preview-pc.case-black.case-north .case-front::before{
  background:
    repeating-linear-gradient(
      90deg,
      #3b2a1c 0,
      #3b2a1c 5px,
      #21160f 5px,
      #21160f 10px
    );
}

.preview-pc.case-north .case-left{
  background:linear-gradient(135deg,#6f451f,#3b2a1c);
}

.preview-pc.case-north .glass{
  transform:translateZ(96px);
}

.preview-pc.case-o11 .glass{
  transform:translateZ(100px);
}

.preview-pc.case-h9 .glass{
  transform:translateZ(104px);
}

.preview-pc.gpu-tier-ultra .gpu-card{
  transform:translateZ(118px);
}

.gpu-card{
  transform:translateZ(112px);
}

.cpu-block,
.ram{
  transform:translateZ(116px);
}

.preview-pc:hover .case-right{
  box-shadow:
    inset 0 0 28px rgba(255,255,255,.18),
    0 0 22px rgba(56,189,248,.18);
}


/* Product view switch */
.gb-view-switch{
  display:flex;
  gap:8px;
  align-items:center;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.12);
  border-radius:999px;
  padding:6px;
}

.gb-view-switch button{
  border:0;
  border-radius:999px;
  padding:9px 14px;
  font-weight:900;
  cursor:pointer;
  background:transparent;
  color:#94a3b8;
}

.gb-view-switch button.active{
  background:#fff;
  color:#111827;
}

.gb2-product-list.view-grid{
  display:grid;
  gap:18px;
}

.gb2-product-list.view-list{
  display:grid;
  gap:12px;
}

.gb2-product-list.view-list .gb2-product-card{
  display:grid;
  grid-template-columns:150px 1fr 180px;
  align-items:center;
  gap:18px;
  padding:16px;
}

.gb2-product-list.view-list .gb2-product-img{
  height:120px;
}

.gb2-product-list.view-list .gb2-product-img img{
  height:120px;
  object-fit:contain;
}

.gb2-product-list.view-list .desc{
  display:none;
}

.gb2-product-list.view-list .gb2-specs{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:6px;
}

@media(max-width:800px){
  .gb2-product-list.view-list .gb2-product-card{
    grid-template-columns:1fr;
  }
}
