/* ============ GPU SELECTOR PRO — tema oscuro #0b0f14 + cyber-grid ============ */
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 500; font-display: swap; src: url('assets/fonts/spacegrotesk-500-latin.woff2') format('woff2'); }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 600; font-display: swap; src: url('assets/fonts/spacegrotesk-600-latin.woff2') format('woff2'); }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 700; font-display: swap; src: url('assets/fonts/spacegrotesk-700-latin.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('assets/fonts/inter-400-latin.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('assets/fonts/inter-600-latin.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url('assets/fonts/inter-700-latin.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 800; font-display: swap; src: url('assets/fonts/inter-800-latin.woff2') format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('assets/fonts/jetbrainsmono-400-latin.woff2') format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 600; font-display: swap; src: url('assets/fonts/jetbrainsmono-600-latin.woff2') format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 700; font-display: swap; src: url('assets/fonts/jetbrainsmono-700-latin.woff2') format('woff2'); }
* { margin: 0; padding: 0; box-sizing: border-box; }
img, video, iframe { max-width: 100%; }
:root {
  --bg: #0b0f14;
  --bg2: #0e141b;
  --panel: #111823;
  --panel2: #141c28;
  --line: rgba(255,255,255,.08);
  --txt: #e8eef4;
  --mut: #8b98a5;
  --lime: #a3e635;
  --nv: #76b900;
  --amd: #ed1c24;
  --in: #29b6f6;
  --mono: 'JetBrains Mono', monospace;
  --disp: 'Space Grotesk', sans-serif;
  --body: 'Inter', sans-serif;
}
body {
  background: var(--bg);
  color: var(--txt);
  font-family: var(--body);
  min-height: 100vh;
  min-height: 100dvh;
  overflow-wrap: break-word;
  position: relative;
}
::selection { background: var(--lime); color: #0b0f14; }
a:focus-visible, button:focus-visible, select:focus-visible, input:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}
.cyber-grid {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 20%, #000 30%, transparent 100%);
}
.vignette {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(163,230,53,.06), transparent 60%),
              radial-gradient(ellipse 120% 100% at 50% 50%, transparent 55%, rgba(0,0,0,.55) 100%);
}
.binary-bg {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  font-family: monospace; font-size: 22px; line-height: 1.4; letter-spacing: 4px;
  color: rgba(140,255,100,.04); white-space: pre-wrap; word-break: break-all;
  padding: 20px; user-select: none;
}
.binary-bg::after {
  content: "0101100101010011010100100101010010101010010010101001010100100101100101 00101010100100101010010101001001011001010100110101001001010100101010 0101100101010011010100100101010010101010010010101001010100100101100101 00101010100100101010010101001001011001010100110101001001010100101010";
}

/* ============ NAVBAR PRO ============ */
.pro-nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 28px;
  padding: 14px 28px;
  background: rgba(11,15,20,.85); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--txt); }
.logo-icon {
  width: 38px; height: 38px; border-radius: 10px; display: flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--lime); color: var(--lime);
  box-shadow: 0 0 14px rgba(163,230,53,.35);
}
.logo-icon svg { width: 20px; height: 20px; }
.logo-text { font-family: var(--disp); font-weight: 700; font-size: 17px; letter-spacing: .5px; line-height: 1.1; }
.logo-text em { font-style: normal; color: var(--lime); }
.pro-badge {
  font-family: var(--mono); font-size: 10px; font-style: normal; color: var(--lime);
  border: 1px solid rgba(163,230,53,.5); border-radius: 5px; padding: 2px 6px; margin-left: 6px; vertical-align: 2px;
}
.logo-text small { display: block; font-family: var(--mono); font-size: 9px; font-weight: 400; color: var(--mut); letter-spacing: 1.5px; }
.pro-menu { display: flex; gap: 26px; margin-left: 8px; }
.menu-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 34px; height: 34px; padding: 0; background: none; border: none; cursor: pointer;
  flex-shrink: 0;
}
.menu-toggle span { width: 100%; height: 2px; background: var(--txt); border-radius: 2px; transition: all .2s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.pro-menu a {
  color: var(--mut); text-decoration: none; font-family: var(--mono); font-size: 12px; letter-spacing: 1px;
  padding: 10px 2px; border-bottom: 2px solid transparent; transition: all .2s; white-space: nowrap;
}
.pro-menu a:hover { color: var(--txt); }
.pro-menu a.active { color: var(--lime); border-bottom-color: var(--lime); }
.pro-search {
  margin-left: auto; position: relative; display: flex; align-items: center;
  background: var(--panel); border: 1px solid var(--line); border-radius: 10px;
  padding: 0 10px; min-width: 280px; transition: border-color .2s;
}
.pro-search:focus-within { border-color: rgba(163,230,53,.5); }
.pro-search svg { width: 16px; height: 16px; color: var(--mut); flex-shrink: 0; }
.pro-search input {
  flex: 1; background: none; border: none; outline: none; color: var(--txt);
  font-family: var(--mono); font-size: 12px; padding: 10px 8px; min-width: 0;
}
.pro-search kbd {
  font-family: var(--mono); font-size: 10px; color: var(--mut);
  border: 1px solid var(--line); border-radius: 5px; padding: 2px 6px; background: rgba(255,255,255,.03);
}
.search-results {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0;
  background: var(--panel2); border: 1px solid var(--line); border-radius: 12px;
  overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,.6); z-index: 60;
}
.sr-item {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px; cursor: pointer;
  border-bottom: 1px solid rgba(255,255,255,.04); font-size: 13px;
}
.sr-item:last-child { border-bottom: none; }
.sr-item:hover { background: rgba(163,230,53,.07); }
.sr-item .sr-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.sr-item .sr-name { flex: 1; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sr-item .sr-price { font-family: var(--mono); font-size: 12px; color: var(--lime); }
.sr-empty { padding: 12px; color: var(--mut); font-size: 12px; font-family: var(--mono); text-align: center; }
.mypc-chip {
  display: flex; align-items: center; gap: 8px; flex-shrink: 0;
  border: 1px solid rgba(52,211,153,.4); border-radius: 12px; padding: 8px 12px;
  background: rgba(52,211,153,.06); font-family: var(--mono); font-size: 11px; line-height: 1.3;
}
.mypc-chip .dot { width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 8px #34d399; flex-shrink: 0; }
.mypc-label { color: var(--mut); }
.mypc-spec { color: #34d399; font-weight: 700; white-space: nowrap; }
.account-chip {
  display: flex; align-items: center; gap: 8px; flex-shrink: 0;
  border: 1px solid rgba(163,230,53,.4); border-radius: 12px; padding: 8px 12px;
  background: rgba(163,230,53,.06); font-family: var(--mono); font-size: 11px; line-height: 1.3;
  color: var(--txt); text-decoration: none; transition: border-color .2s;
}
.account-chip:hover { border-color: var(--lime); }
.acc-icon { font-size: 14px; }
.acc-icon svg { width: 18px; height: 18px; flex-shrink: 0; }
.acc-label { color: var(--mut); }
.acc-spec { color: var(--lime); font-weight: 700; white-space: nowrap; max-width: 140px; overflow: hidden; text-overflow: ellipsis; }

/* ============ HERO ============ */
.pro-main { position: relative; z-index: 1; max-width: 1240px; margin: 0 auto; padding: 40px 28px 60px; }
.pro-hero { text-align: center; padding: 36px 10px 30px; }
.update-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 12px; color: var(--txt);
  border: 1px solid var(--line); background: rgba(255,255,255,.02);
  padding: 8px 18px; border-radius: 100px; margin-bottom: 26px;
}
.update-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 8px var(--lime); }
.pro-hero h1 {
  font-family: var(--disp); font-weight: 700;
  font-size: clamp(34px, 5.4vw, 64px); line-height: 1.12; letter-spacing: 1px;
  text-shadow: 0 0 40px rgba(163,230,53,.15);
}
.hero-sub { color: var(--mut); font-size: clamp(14px, 1.8vw, 18px); max-width: 760px; margin: 20px auto 0; line-height: 1.7; }
.specbar {
  display: inline-flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: center;
  margin-top: 28px; padding: 14px 26px; border: 1px solid var(--line); border-radius: 14px;
  background: rgba(255,255,255,.02); font-family: var(--mono); font-size: 13px; color: var(--mut);
}
.spec-item b { color: var(--txt); }
.spec-sep { opacity: .4; }
.hero-featured { margin-top: 26px; }
.hero-featured-label {
  display: block; font-family: var(--mono); font-size: 11px; color: var(--mut);
  letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 10px;
}
.hero-featured-card {
  display: flex; align-items: center; gap: 16px;
  background: var(--panel); border: 1px solid var(--line); border-radius: 14px;
  padding: 16px 20px; max-width: 560px; margin: 0 auto;
}
.hero-featured-card img {
  width: 76px; height: 76px; object-fit: contain; border-radius: 10px;
  background: #0b0f14; padding: 6px; flex-shrink: 0;
}
.hero-featured-info { flex: 1; min-width: 0; }
.hero-featured-name {
  font-family: var(--disp); font-weight: 700; font-size: 17px; color: var(--txt);
  margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.hero-featured-tag {
  display: block; font-family: var(--mono); font-size: 11px; color: var(--mut);
  margin-bottom: 8px;
}
.hero-featured-price {
  font-size: 18px; font-weight: 700; color: var(--lime); margin-right: 10px;
}
.hero-featured-btn {
  background: var(--lime); color: #0b0f14; border: none; border-radius: 8px;
  padding: 8px 16px; font-family: var(--mono); font-weight: 700; font-size: 12px;
  cursor: pointer; white-space: nowrap;
}
.hero-featured-btn:hover { opacity: 0.9; }

/* ============ SKELETON LOADER ============ */
.hero-featured-skeleton {
  display: flex; align-items: center; gap: 16px;
  background: var(--panel); border: 1px solid var(--line); border-radius: 14px;
  padding: 16px 20px; max-width: 560px; margin: 0 auto;
}
.skeleton-img {
  width: 76px; height: 76px; border-radius: 10px; flex-shrink: 0;
  background: #141c28; animation: skeletonPulse 1.5s ease-in-out infinite;
}
.skeleton-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.skeleton-line {
  height: 14px; border-radius: 4px; background: #141c28;
  animation: skeletonPulse 1.5s ease-in-out infinite;
}
.skeleton-line-short { width: 45%; }
.skeleton-line-long { width: 75%; }
.skeleton-btn {
  width: 140px; height: 36px; border-radius: 8px; flex-shrink: 0;
  background: #141c28; animation: skeletonPulse 1.5s ease-in-out infinite;
}
@keyframes skeletonPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ============ BRAND CARDS PRO ============ */
.brand-selector { margin-top: 34px; }
.pro-brands { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pro-card {
  --brand: var(--lime);
  --tint: rgba(255,255,255,.025);
  background: linear-gradient(180deg, var(--tint), rgba(255,255,255,.008));
  border: 1px solid var(--line); border-top: 2px solid var(--brand);
  border-radius: 20px; padding: 28px 26px;
  transition: transform .3s, border-color .3s, box-shadow .3s; cursor: pointer;
}
.pro-card:hover { transform: translateY(-6px); border-color: var(--brand); box-shadow: 0 24px 50px rgba(0,0,0,.5), 0 0 34px -8px var(--brand); }
.b-nvidia { --brand: var(--nv); --tint: rgba(118,185,0,.13); }
.b-amd { --brand: var(--amd); --tint: rgba(237,28,36,.13); }
.b-intel { --brand: var(--in); --tint: rgba(41,182,246,.13); }
.pro-card-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 22px; }
.pro-icon {
  width: 56px; height: 56px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--brand); color: var(--brand); background: rgba(255,255,255,.02);
}
.pro-icon svg { width: 28px; height: 28px; }
.pro-icon.logo-box { width: 104px; height: 58px; background: #f2f4f6; padding: 9px 12px; }
.pro-icon.logo-box img { width: 100%; height: 100%; object-fit: contain; display: block; }
.models-badge {
  font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: 1px;
  color: var(--brand); border: 1px solid var(--brand); border-radius: 7px; padding: 5px 10px;
  background: rgba(255,255,255,.02); opacity: .9;
}
.pro-card h2 { font-family: var(--disp); font-size: 30px; letter-spacing: 2px; color: var(--brand); margin-bottom: 4px; }
.pro-sub { font-family: var(--mono); font-size: 13px; font-weight: 700; color: var(--txt); margin-bottom: 12px; }
.pro-desc { color: var(--mut); font-size: 14px; line-height: 1.7; margin-bottom: 18px; min-height: 96px; }
.tech-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.tech-chips span {
  font-family: var(--mono); font-size: 11px; color: var(--txt);
  border: 1px solid var(--line); background: var(--tint, rgba(255,255,255,.03));
  padding: 6px 10px; border-radius: 7px;
}
.dest-label { font-family: var(--mono); font-size: 11px; letter-spacing: 1.5px; color: var(--mut); margin-bottom: 10px; }
.model-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.model-tags button {
  font-family: var(--mono); font-size: 11px; color: var(--mut); cursor: pointer;
  border: 1px solid var(--line); background: rgba(255,255,255,.02);
  padding: 6px 10px; border-radius: 7px; transition: all .2s;
}
.model-tags button:hover { color: var(--txt); border-color: var(--brand); }
.model-tags button.hl { color: var(--brand); border-color: var(--brand); }
.btn-explore {
  width: 100%; padding: 15px; border-radius: 12px; cursor: pointer;
  background: rgba(255,255,255,.02); border: 1px solid var(--brand); color: var(--brand);
  font-family: var(--mono); font-size: 13px; font-weight: 700; letter-spacing: 1.5px;
  transition: all .25s;
}
.btn-explore:hover { border-color: var(--brand); box-shadow: 0 0 26px -4px var(--brand); }

/* ============ PRODUCT GRID ============ */
.gpu-grid-section { margin-top: 10px; }
.grid-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 24px; padding-bottom: 14px; border-bottom: 1px solid var(--line);
}
.grid-header h2 { font-family: var(--disp); font-size: 26px; letter-spacing: 1px; }
.btn-back {
  padding: 10px 20px; background: transparent; border: 1px solid var(--line);
  color: var(--mut); font-family: var(--mono); font-size: 12px; letter-spacing: 1px;
  border-radius: 9px; cursor: pointer; transition: all .2s;
}
.btn-back:hover { border-color: var(--lime); color: var(--lime); }
.gpu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.gpu-card {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 16px; overflow: hidden; transition: all .3s;
}
.gpu-card:hover { transform: translateY(-6px); border-color: var(--brand-color); box-shadow: 0 20px 44px rgba(0,0,0,.5), 0 0 30px -6px var(--brand-glow); }
.gpu-img { height: 200px; overflow: hidden; background: #0e141b; position: relative; padding: 8px; }
.gpu-img img { width: 100%; height: 100%; object-fit: contain; transition: transform .5s; }
.gpu-card:hover .gpu-img img { transform: scale(1.04); }
.gpu-tag {
  position: absolute; left: 12px; top: 12px; padding: 6px 12px; border-radius: 100px;
  font-size: 11px; font-weight: 800; letter-spacing: .5px;
  background: rgba(0,0,0,.65); border: 1px solid var(--brand-color); color: #fff; backdrop-filter: blur(4px);
}
.photo-credit {
  position: absolute; right: 10px; bottom: 8px; font-size: 10px; color: rgba(255,255,255,.65);
  background: rgba(0,0,0,.55); padding: 3px 8px; border-radius: 100px; text-decoration: none;
}
.photo-credit:hover { color: #fff; background: rgba(0,0,0,.85); }
.gpu-info { padding: 20px; }
.gpu-info h3 { font-size: 19px; font-weight: 800; margin-bottom: 6px; }
.price { display: block; font-family: var(--mono); font-size: 24px; font-weight: 700; color: var(--brand-color); margin-bottom: 12px; }
.specs { list-style: none; display: flex; flex-direction: column; gap: 5px; margin-bottom: 16px; font-size: 13px; color: var(--mut); }
.specs li { display: flex; gap: 6px; }
.specs li::before { content: "▸"; color: var(--brand-color); font-size: 10px; }
.btn-buy {
  width: 100%; padding: 13px; background: transparent; border: 1px solid var(--brand-color);
  color: var(--brand-color); font-family: var(--mono); font-size: 12px; font-weight: 700;
  letter-spacing: 1px; border-radius: 9px; cursor: pointer; transition: all .2s;
}
.btn-buy:hover { background: var(--brand-color); color: #0b0f14; box-shadow: 0 0 20px -4px var(--brand-glow); }

/* ============ COMPARADOR ============ */
.cmp-section {
  margin-top: 56px; padding: 36px 30px; border: 1px solid var(--line); border-radius: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,.02), transparent); text-align: center;
}
.cmp-section h2 { font-family: var(--disp); font-size: 26px; letter-spacing: 2px; }
.cmp-sub { color: var(--mut); font-size: 14px; margin: 8px 0 22px; }
.cmp-selects { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }
.cmp-selects .styled-select { max-width: 280px; }
.vs { font-family: var(--mono); font-weight: 700; color: var(--lime); }
.cmp-selects .btn-check { max-width: 200px; margin: 0; }
.cmp-result { margin-top: 24px; overflow-x: auto; }
.cmp-table { width: 100%; border-collapse: collapse; font-size: 14px; text-align: left; }
.cmp-table th, .cmp-table td { padding: 12px 14px; border-bottom: 1px solid rgba(255,255,255,.06); }
.cmp-table th { font-family: var(--mono); font-size: 11px; letter-spacing: 1px; color: var(--mut); text-transform: uppercase; }
.cmp-table td.win { color: var(--lime); font-weight: 700; }
.cmp-table img { width: 140px; height: 80px; object-fit: contain; border-radius: 8px; display: block; background: #0e141b; }
.cmp-teaser {
  margin: 30px auto 0; text-align: center; font-family: var(--mono); font-size: 13px; color: var(--mut);
  border: 1px solid var(--line); border-radius: 100px; padding: 14px 24px; max-width: 640px;
  background: rgba(255,255,255,.02);
}
.cmp-teaser a { color: var(--txt); font-weight: 700; }
.cmp-teaser a:hover { color: var(--lime); }

/* ============ FOOTER ============ */
.pro-footer {
  position: relative; z-index: 1;
  display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
  padding: 26px 28px; border-top: 1px solid var(--line);
  font-family: var(--mono); font-size: 11px; color: var(--mut);
  max-width: 1240px; margin: 0 auto;
}
.pro-footer p { flex: 1 1 300px; line-height: 1.7; }
.pro-footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
.pro-footer nav a { color: var(--mut); text-decoration: none; }
.pro-footer nav a:hover { color: var(--lime); }
.ver { color: #c9d3dc; }

/* ============ COMPRA ============ */
.purchase-main { position: relative; z-index: 1; padding: 36px 28px 70px; max-width: 1000px; margin: 0 auto; }
.purchase-header { text-align: center; margin-bottom: 36px; }
.purchase-header h1 {
  font-family: var(--disp); font-weight: 700; font-size: clamp(32px, 4.6vw, 54px);
  line-height: 1.12; letter-spacing: 1px;
  overflow-wrap: break-word; hyphens: auto;
}
.purchase-subtitle { color: var(--mut); font-size: 16px; margin-top: 12px; line-height: 1.8; letter-spacing: .4px; }
.product-selector h2, .system-specs h2, .requirements-info h2 { font-size: 20px; font-weight: 800; margin-bottom: 18px; }
.styled-select {
  width: 100%; min-width: 0; padding: 13px 16px; padding-right: 40px; background-color: var(--panel);
  border: 1px solid var(--line); border-radius: 10px;
  color: var(--txt); font-size: 14px; font-family: var(--body);
  text-overflow: ellipsis; white-space: nowrap; overflow: hidden; line-height: 1.3;
  appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23a3e635' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
.styled-select:focus { outline: none; border-color: var(--lime); box-shadow: 0 0 0 3px rgba(163,230,53,.15); }
.styled-select option, .styled-select optgroup { background: var(--panel2); }
.specs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 16px; margin-bottom: 22px; }
.spec-input { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
#storageInput { grid-column: 1 / -1; text-align: center; max-width: min(320px, 100%); margin: 0 auto; }
.spec-input label { font-size: 12px; font-weight: 700; color: var(--lime); text-transform: uppercase; letter-spacing: .5px; }
.spec-input .styled-select { padding: 12px 14px; font-size: 14px; }
.btn-check {
  width: 100%; max-width: 380px; margin: 0 auto; display: block;
  padding: 16px; background: var(--lime); color: #0b0f14; border: none;
  font-family: var(--mono); font-size: 14px; font-weight: 700; letter-spacing: 2px;
  border-radius: 10px; cursor: pointer; transition: all .2s;
  box-shadow: 0 0 22px -4px var(--lime);
}
.btn-check:hover { transform: scale(1.02); box-shadow: 0 0 32px -4px var(--lime); }

.result-section { margin-top: 28px; }
.result-card { padding: 30px; border-radius: 16px; text-align: center; }
.result-card.pass { background: rgba(118,185,0,.12); border: 1px solid var(--nv); box-shadow: 0 0 40px -8px rgba(118,185,0,.4); }
.result-card.warning { background: rgba(255,180,0,.1); border: 1px solid #ffb400; box-shadow: 0 0 40px -8px rgba(255,180,0,.4); }
.result-card.fail { background: rgba(237,28,36,.1); border: 1px solid var(--amd); box-shadow: 0 0 40px -8px rgba(237,28,36,.4); }
.result-header { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 18px; }
.result-icon { width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: 800; flex-shrink: 0; }
.result-card.pass .result-icon { background: var(--nv); color: #0b0f14; }
.result-card.warning .result-icon { background: #ffb400; color: #0b0f14; }
.result-card.fail .result-icon { background: var(--amd); color: #fff; }
.result-card h2 { font-family: var(--disp); font-size: 22px; letter-spacing: 1px; }
.result-body { text-align: left; margin-bottom: 22px; }
.result-body h3 { font-size: 14px; font-weight: 800; margin: 14px 0 8px; color: var(--lime); }
.result-body ul { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.result-body li { padding: 10px 12px; background: rgba(255,255,255,.03); border-radius: 8px; font-size: 13px; line-height: 1.55; }
.result-body .result-issues li { position: relative; padding-left: 22px; }
.result-body .result-issues li::before { content: ""; position: absolute; left: 6px; top: 50%; transform: translateY(-50%); width: 8px; height: 8px; border-radius: 50%; background: var(--amd); box-shadow: 0 0 8px var(--amd); }
.result-body .result-warnings li { position: relative; padding-left: 22px; }
.result-body .result-warnings li::before { content: ""; position: absolute; left: 6px; top: 50%; transform: translateY(-50%); width: 8px; height: 8px; border-radius: 50%; background: #ffb400; box-shadow: 0 0 8px #ffb400; }
.result-body .result-passed li { position: relative; padding-left: 22px; }
.result-body .result-passed li::before { content: ""; position: absolute; left: 6px; top: 50%; transform: translateY(-50%); width: 8px; height: 8px; border-radius: 50%; background: var(--nv); box-shadow: 0 0 8px var(--nv); }
.success-msg { color: var(--lime); font-weight: 700; text-align: center; margin-top: 14px; }
.result-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.result-actions .btn-check { width: auto; flex: 1 1 260px; max-width: 380px; margin: 0; }
.detect-note { margin-top: 16px; line-height: 1.65; }
#detectResults { margin-top: 12px; }
#detectResults p { line-height: 1.65; margin: 0 0 8px; }
.btn-proceed, .btn-adjust {
  padding: 14px 28px; border-radius: 10px; font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: 1px;
  cursor: pointer; transition: all .2s; border: none;
}
.btn-proceed { background: var(--lime); color: #0b0f14; box-shadow: 0 0 20px -4px var(--lime); }
.btn-proceed:hover { transform: scale(1.02); }
.btn-adjust { background: transparent; color: var(--txt); border: 1px solid var(--line); }
.danger-zone { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.danger-zone h3 { font-size: 13px; color: #ff6b74; margin-bottom: 8px; }
.danger-zone p { margin-bottom: 10px; }
.btn-danger { padding: 14px 28px; border-radius: 10px; font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: 1px; cursor: pointer; transition: all .2s; background: transparent; color: #ff6b74; border: 1px solid rgba(237,28,36,.55); min-height: 48px; }
.btn-danger:hover { background: rgba(237,28,36,.12); border-color: var(--amd); }
.order-card { padding: 14px 16px; background: rgba(255,255,255,.02); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; }
.order-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.order-card small { color: var(--mut); font-size: 11px; font-family: var(--mono); }
.order-card ul { margin-top: 8px; }
.btn-adjust:hover { border-color: var(--lime); color: var(--lime); }

.requirements-info { margin-top: 28px; padding-top: 26px; border-top: 1px solid var(--line); }
.reviews-info { margin-top: 28px; padding-top: 26px; border-top: 1px solid var(--line); }
.reviews-info h2 { font-size: 20px; font-weight: 800; margin-bottom: 18px; }
#reviewsAvg { font-family: var(--mono); font-size: 14px; color: var(--lime); }
#reviewsList .order-card { margin-top: 10px; }
.rev-avg { display: block; font-family: var(--mono); font-size: 11px; color: var(--lime); margin-bottom: 10px; }
.legal-doc h2 { font-size: 16px; font-weight: 800; color: var(--lime); margin: 22px 0 8px; }
.legal-doc p { color: #c9d3dc; font-size: 14px; line-height: 1.75; }
.consent-row { display: flex; align-items: flex-start; gap: 8px; font-size: 12px; color: var(--mut); line-height: 1.6; }
.consent-row input { width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0; accent-color: var(--lime); }
.consent-row a { color: var(--lime); }
.rev-avg {
  min-height: 1.4em;
  display: block;
}
.rev-avg:empty::before {
  content: "Sin reseñas aún";
  color: var(--mut);
}
.req-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 12px; }
.req-item { display: flex; flex-direction: column; gap: 5px; padding: 16px; background: rgba(255,255,255,.02); border: 1px solid var(--line); border-radius: 12px; }
.req-label { font-size: 11px; font-weight: 700; color: var(--mut); text-transform: uppercase; letter-spacing: .5px; }
.req-value { font-size: 15px; font-weight: 600; }

.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.85); backdrop-filter: blur(4px); z-index: 100; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal { background: var(--panel2); border: 1px solid var(--line); border-radius: 20px; max-width: 520px; width: 100%; max-height: 90dvh; display: flex; flex-direction: column; overflow: hidden; animation: modalIn .3s ease; }
@keyframes modalIn { from { opacity: 0; transform: scale(.95); } to { opacity: 1; transform: scale(1); } }
.modal-header { display: flex; align-items: center; justify-content: space-between; padding: 20px; border-bottom: 1px solid var(--line); flex-shrink: 0; }
.modal-header h3 { font-family: var(--mono); font-size: 16px; color: var(--amd); letter-spacing: 1px; }
.modal-close { background: none; border: none; color: var(--mut); font-size: 26px; cursor: pointer; line-height: 1; }
.modal-body { padding: 20px; color: #c9d3dc; line-height: 1.7; font-size: 14px; flex: 1 1 auto; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
.modal-body h4 { color: #ffb400; margin: 14px 0 6px; font-size: 14px; }
.modal-body .modal-note { margin-top: 18px; padding: 14px; background: rgba(237,28,36,.08); border: 1px solid rgba(237,28,36,.3); border-radius: 10px; font-size: 13px; color: #ffb400; }
.modal-footer { display: flex; gap: 10px; justify-content: flex-end; padding: 20px; border-top: 1px solid var(--line); flex-shrink: 0; flex-wrap: wrap; }
.btn-modal-cancel, .btn-modal-confirm { padding: 12px 22px; border-radius: 10px; font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: 1px; cursor: pointer; transition: all .2s; }
.btn-modal-cancel { background: transparent; color: var(--mut); border: 1px solid var(--line); }
.btn-modal-cancel:hover { color: #fff; border-color: rgba(255,255,255,.4); }
.btn-modal-confirm { background: var(--amd); color: #fff; border: none; box-shadow: 0 0 16px -4px var(--amd); }
.btn-modal-confirm:hover { background: #ff2d3a; }

/* ============ MOBILE BAR (solo movil, oculta en desktop) ============ */
.mobile-bar { display: none; }

/* ============ RESPONSIVE ============ */
/* El menú horizontal + buscador + chips necesita ~1953px; por debajo, drawer. */
@media (max-width: 2047px) {
  .menu-toggle { display: flex; width: 44px; height: 44px; }
  .pro-nav { gap: 12px; flex-wrap: wrap; align-items: center; }
  .pro-search { order: 2; flex: 1 1 200px; min-width: 0; max-width: 520px; margin-left: auto; }
  .pro-menu {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; margin: 0; padding: 8px 0;
    background: rgba(11,15,20,.98); backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px rgba(0,0,0,.5);
    max-height: calc(100dvh - 100%); overflow-y: auto;
  }
  .pro-menu.open { display: flex; }
  .pro-menu a { padding: 14px 24px; border-bottom: 1px solid rgba(255,255,255,.06); }
  .pro-menu a:last-child { border-bottom: none; }
}
@media (min-width: 2048px) {
  .pro-menu { gap: 18px; }
  .pro-search { min-width: 240px; }
}
@media (max-width: 1100px) {
  .pro-nav { flex-wrap: wrap; }
  .pro-search { order: 3; flex: 1 1 100%; max-width: none; }
}
@media (max-width: 1280px) {
  .pro-brands { grid-template-columns: 1fr; }
  .pro-desc { min-height: 0; }
  .gpu-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .pro-nav { flex-wrap: wrap; gap: 10px; padding: 10px 14px; }
  .logo-text { font-size: 15px; }
  .logo-text small { font-size: 8px; }
  .menu-toggle { width: 44px; height: 44px; }
  .pro-search { order: 3; flex: 1 1 100%; min-width: 0; }
  .pro-search kbd { display: none; }
  .pro-search input { font-size: 16px; padding: 12px 8px; }
  .mypc-chip { margin-left: auto; padding: 6px 10px; font-size: 11px; }
  .mypc-spec { max-width: 120px; overflow: hidden; text-overflow: ellipsis; font-size: 11px; }
  .account-chip { padding: 6px 10px; font-size: 11px; }
  .account-chip .acc-label { display: none; }
  .pro-main, .purchase-main { padding-left: 16px; padding-right: 16px; }
  .pro-hero { padding: 24px 4px 20px; }
  .gpu-grid { grid-template-columns: 1fr; }
  .specs-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .req-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .req-item { padding: 12px; }
  .req-value { font-size: 13px; }
  .cmp-selects .styled-select { max-width: 100%; }
  .styled-select, .styled-input { font-size: 16px; min-height: 48px; }
  .btn-check, .btn-confirm, .btn-proceed, .btn-adjust { min-height: 48px; }
  .payment-tabs { gap: 8px; }
  .pay-tab { flex: 1 1 auto; text-align: center; min-height: 44px; }
  .alert-panel { flex-direction: column; gap: 12px; padding: 16px; margin: 18px 0 4px; }
  .alert-icon { width: 40px; height: 40px; font-size: 20px; }
  .alert-badge { font-size: 11px; }
  .alert-chips { gap: 8px; }
  .alert-chip { flex: 1 1 100%; text-align: center; }
  .progress-bar { gap: 4px; padding: 0 4px; margin: 20px auto 26px; }
  .progress-step { min-width: 0; flex: 1; }
  .step-num { width: 30px; height: 30px; font-size: 12px; }
  .step-label { font-size: 9px; white-space: normal; text-align: center; }
  .modal-overlay { padding: 12px; align-items: flex-end; }
  .modal { border-radius: 16px 16px 0 0; max-width: 100%; }
  .result-card { padding: 20px 16px; }
  .result-actions .btn-check { flex: 1 1 100%; }
  .pro-hero h1 { font-size: 27px; line-height: 1.2; }
  .hero-sub { font-size: 14px; margin-top: 14px; }
  .update-badge { font-size: 11px; padding: 7px 14px; margin-bottom: 18px; }
  .specbar { font-size: 12px; padding: 10px 14px; gap: 8px; }
  .purchase-header h1 { font-size: 26px; }
  .purchase-subtitle { font-size: 14px; }
  .pro-card { padding: 20px 18px; }
  .pro-card h2 { font-size: 24px; }
  .pro-desc { font-size: 13px; margin-bottom: 14px; }
  .grid-header h2 { font-size: 20px; }
  .gpu-info h3 { font-size: 17px; }
  .price { font-size: 20px; }
  .cmp-section { padding: 26px 18px; margin-top: 36px; }
  .cmp-section h2 { font-size: 20px; }
  .checkout-section h2 { font-size: 16px; }
  .cart-price { font-size: 19px; }
  .mobile-bar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: rgba(11,15,20,.96); backdrop-filter: blur(12px);
    border-top: 1px solid var(--line);
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
  }
  .mobile-bar a {
    flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px;
    color: var(--mut); text-decoration: none; font-family: var(--mono);
    font-size: 11px; letter-spacing: .5px; padding: 6px 2px; border-radius: 8px;
    min-height: 48px; justify-content: center;
  }
  .mobile-bar a .ico { font-size: 18px; line-height: 1; }
.mobile-bar a .ico svg { width: 20px; height: 20px; flex-shrink: 0; }
  .mobile-bar a.active { color: var(--lime); background: rgba(163,230,53,.08); }
}

/* ============ ALERTA ÁMBAR PREVENTIVA ============ */
.alert-panel {
  display: flex; gap: 18px; margin: 26px 0 6px; padding: 22px 24px;
  border-radius: 16px; border: 1.5px solid #F59E0B;
  background: rgba(245,158,11,.06);
  box-shadow: 0 0 34px -6px rgba(245,158,11,.45);
}
.alert-panel.ok { border-color: var(--nv); background: rgba(118,185,0,.06); box-shadow: 0 0 34px -8px rgba(118,185,0,.4); }
.alert-icon {
  width: 48px; height: 48px; flex-shrink: 0; border-radius: 12px;
  display: flex; align-items: center; justify-content: center; font-size: 24px;
  border: 1.5px solid #F59E0B; background: rgba(245,158,11,.12);
}
.alert-panel.ok .alert-icon { border-color: var(--nv); background: rgba(118,185,0,.12); }
.alert-content { flex: 1; min-width: 0; }
.alert-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.alert-badge {
  font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: 1px;
  background: #F59E0B; color: #1a1005; padding: 6px 14px; border-radius: 7px;
}
.alert-panel.ok .alert-badge { background: var(--nv); color: #0b0f14; }
.alert-target { font-family: var(--mono); font-size: 12px; font-weight: 700; color: #F59E0B; letter-spacing: .5px; }
.alert-panel.ok .alert-target { color: var(--nv); }
.alert-msg { font-size: 14px; line-height: 1.75; color: #d6dde4; }
.alert-msg b { color: #F59E0B; }
.alert-panel.ok .alert-msg b { color: var(--nv); }
.alert-chips { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.alert-chip {
  font-family: var(--mono); font-size: 12px; color: var(--mut);
  border: 1px solid var(--line); background: rgba(0,0,0,.3);
  padding: 10px 14px; border-radius: 10px;
}
.alert-chip.bad { border-color: var(--amd); color: var(--txt); }
.alert-chip.bad b { color: #ff6b74; }
.alert-chip.good { border-color: var(--nv); color: var(--txt); }

/* Estados en vivo de cada selector */
.spec-input label { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-width: 0; overflow-wrap: break-word; }
.spec-status { font-family: var(--mono); font-size: 10px; font-weight: 700; padding: 3px 9px; border-radius: 100px; border: 1px solid transparent; }
.spec-status:empty { display: none; }
.spec-status.ok { color: #4ade80; border-color: rgba(74,222,128,.5); background: rgba(74,222,128,.08); }
.spec-status.warn { color: #F59E0B; border-color: rgba(245,158,11,.5); background: rgba(245,158,11,.08); }
.spec-status.bad { color: #ff6b74; border-color: rgba(237,28,36,.55); background: rgba(237,28,36,.1); }
.spec-input.ok .styled-select { border-color: rgba(74,222,128,.55); }
.spec-input.warn .styled-select { border-color: rgba(245,158,11,.6); }
.spec-input.bad .styled-select { border-color: rgba(237,28,36,.6); }
.req-sub { font-size: 12px; color: var(--mut); }
.req-sub.amber { color: #F59E0B; font-weight: 600; }

/* ============ PANEL DE MARCAS ============ */
.brand-panel { margin-top: 28px; padding-top: 26px; border-top: 1px solid var(--line); }
.brand-panel h2 { font-family: var(--disp); font-size: 20px; font-weight: 800; margin-bottom: 6px; }
.brand-panel-sub { color: var(--mut); font-size: 13px; margin-bottom: 18px; }
.brand-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 12px; }
.brand-card-h {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; background: rgba(255,255,255,.02);
  border: 1px solid var(--line); border-radius: 10px;
  font-family: var(--mono); font-size: 12px; transition: all .2s;
}
.brand-card-h:hover { border-color: rgba(163,230,53,.4); background: rgba(163,230,53,.04); }
.brand-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.brand-name { font-weight: 700; color: var(--txt); min-width: 100px; }
.brand-desc { color: var(--mut); font-size: 11px; min-width: 0; flex: 1; }

@media (max-width: 720px) {
  .brand-grid { grid-template-columns: 1fr; }
}

/* ============ CHECKOUT ============ */
.progress-bar {
  display: flex; align-items: center; justify-content: center;
  gap: 10px; margin: 28px auto 36px; max-width: 760px; padding: 0 20px;
}
.progress-step {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  position: relative; z-index: 1; min-width: 110px;
}
.step-num {
  width: 34px; height: 34px; border-radius: 50%; display: flex;
  align-items: center; justify-content: center; font-family: var(--mono);
  font-size: 13px; font-weight: 700; border: 2px solid var(--line);
  background: var(--panel); color: var(--mut); transition: all .3s;
}
.step-label { font-size: 11px; font-weight: 600; color: var(--mut); letter-spacing: 1.2px; line-height: 1.6; white-space: nowrap; }
.progress-line { width: 44px; height: 2px; background: var(--line); margin: 0 2px; margin-bottom: 22px; flex-shrink: 0; }
.progress-step.done .step-num { background: var(--nv); border-color: var(--nv); color: #0b0f14; box-shadow: 0 0 14px rgba(118,185,0,.4); }
.progress-step.done .step-label { color: var(--nv); }
.progress-step.active .step-num { background: var(--lime); border-color: var(--lime); color: #0b0f14; box-shadow: 0 0 18px rgba(163,230,53,.5); }
.progress-step.active .step-label { color: var(--lime); }

.checkout-layout { display: grid; grid-template-columns: 1fr 380px; gap: 24px; margin-top: 10px; }
.checkout-left { min-width: 0; }
.checkout-right { min-width: 0; }
.checkout-section { margin-bottom: 24px; }
.checkout-section h2 { font-family: var(--disp); font-size: 18px; font-weight: 700; margin-bottom: 16px; color: var(--lime); letter-spacing: 1px; line-height: 1.5; }
.checkout-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: flex; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 8px; flex: 1; }
.form-group.full { flex: 1 1 100%; }
.form-group label { font-size: 11px; font-weight: 700; color: var(--mut); text-transform: uppercase; letter-spacing: 1.2px; line-height: 1.6; }
.styled-input {
  width: 100%; padding: 12px 14px; background-color: var(--panel);
  border: 1px solid var(--line); border-radius: 8px;
  color: var(--txt); font-size: 14px; font-family: var(--body);
  outline: none; transition: border-color .2s;
}
.styled-input:focus { border-color: var(--lime); box-shadow: 0 0 0 3px rgba(163,230,53,.15); }

.payment-tabs { display: flex; gap: 10px; margin-bottom: 24px; flex-wrap: wrap; }
.pay-tab {
  padding: 10px 20px; background: var(--panel); border: 1px solid var(--line);
  border-radius: 8px; color: var(--mut); font-family: var(--mono);
  font-size: 12px; font-weight: 700; cursor: pointer; transition: all .2s;
}
.pay-tab:hover { border-color: var(--lime); color: var(--txt); }
.pay-tab.active { background: rgba(163,230,53,.1); border-color: var(--lime); color: var(--lime); }
.pay-content { display: flex; flex-direction: column; gap: 22px; padding-top: 4px; }
.pay-content .form-group label { margin-bottom: 4px; }

.card-brand-selector { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
.phone-row { display: flex; gap: 8px; }
.phone-prefix { max-width: 90px; flex-shrink: 0; }
.cuotas-detail { font-family: var(--mono); font-size: 11px; color: var(--lime); margin-top: 4px; }
.type-btn.selected { border-color: var(--nv); }
.brand-btn {
  padding: 8px 16px; background: var(--panel); border: 1px solid var(--line);
  border-radius: 6px; color: var(--mut); font-family: var(--mono);
  font-size: 12px; font-weight: 700; cursor: pointer; transition: all .2s;
}
.brand-btn:hover { border-color: var(--lime); }
.brand-btn.selected { background: rgba(163,230,53,.1); border-color: var(--lime); color: var(--lime); }

.shipping-option { margin-bottom: 8px; }
.shipping-option input { display: none; }
.shipping-label {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px;
  background: var(--panel); border: 1px solid var(--line); border-radius: 10px;
  cursor: pointer; transition: all .2s; font-size: 13px;
}
.shipping-option input:checked + .shipping-label {
  border-color: var(--nv); background: rgba(118,185,0,.06);
}
.ship-icon { font-size: 20px; }
.ship-text { flex: 1; display: flex; flex-direction: column; }
.ship-text small { color: var(--mut); font-size: 11px; }
.ship-price { font-family: var(--mono); font-weight: 700; color: var(--lime); white-space: nowrap; }

.sep-discount {
  padding: 12px 16px; background: rgba(163,230,53,.06); border: 1px solid rgba(163,230,53,.3);
  border-radius: 8px; font-family: var(--mono); font-size: 13px; color: var(--lime);
  margin-top: 12px; text-align: center;
}

.cart-summary {
  background: var(--panel); border: 1px solid var(--line); border-radius: 16px;
  padding: 24px; position: sticky; top: 80px;
}
.cart-summary h2 { font-family: var(--disp); font-size: 18px; font-weight: 700; margin-bottom: 14px; color: var(--lime); }
.validation-badge { margin-bottom: 16px; }
.val-badge {
  display: inline-block; padding: 6px 14px; border-radius: 7px;
  font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .5px;
}
.val-badge.ok { background: rgba(118,185,0,.15); color: #4ade80; border: 1px solid rgba(74,222,128,.4); }
.val-badge.warn { background: rgba(245,158,11,.15); color: #F59E0B; border: 1px solid rgba(245,158,11,.4); }
.validation-badge small { display: block; color: var(--mut); font-size: 11px; margin-top: 4px; }

.cart-card {
  display: flex; gap: 14px; padding: 16px; background: rgba(255,255,255,.02);
  border: 1px solid var(--line); border-radius: 12px; margin-bottom: 16px;
}
.cart-card-img { width: 90px; height: 90px; border-radius: 8px; overflow: hidden; flex-shrink: 0; background: #0e141b; padding: 4px; }
.cart-card-img img { width: 100%; height: 100%; object-fit: contain; }
.cart-card-body { flex: 1; min-width: 0; }
.cart-brand { font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: 1px; }
.cart-card-body h3 { font-size: 15px; font-weight: 700; margin: 4px 0 8px; }
.cart-specs { font-size: 11px; color: var(--mut); font-family: var(--mono); margin-bottom: 8px; }
.cart-specs ul { list-style: none; padding: 0; }
.cart-specs li { padding: 2px 0; }
.cart-price { font-family: var(--mono); font-size: 22px; font-weight: 700; color: var(--lime); }
.photo-credit { font-size: 9px; color: rgba(255,255,255,.5); text-decoration: none; }

.quick-upgrades { margin: 16px 0; padding-top: 16px; border-top: 1px solid var(--line); }
.quick-upgrades h3 { font-size: 13px; color: var(--mut); margin-bottom: 10px; }
.upgrade-btn {
  display: flex; justify-content: space-between; align-items: center;
  width: 100%; padding: 12px; margin-bottom: 8px; background: rgba(255,255,255,.02);
  border: 1px solid var(--line); border-radius: 8px; color: var(--txt);
  font-family: var(--mono); font-size: 11px; cursor: pointer; transition: all .2s;
}
.upgrade-btn:hover { border-color: var(--lime); }
.upgrade-btn.added { border-color: var(--nv); background: rgba(118,185,0,.06); }
.upgrade-name { font-weight: 600; }
.upgrade-price { color: var(--lime); }
.upgrade-btn.added .upgrade-price { color: #4ade80; }

.cost-breakdown { margin: 16px 0; }
.cost-line { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; font-size: 13px; color: var(--mut); line-height: 1.6; letter-spacing: .4px; }
.cost-line.total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 12px; font-size: 18px; font-weight: 700; color: var(--lime); }

.btn-confirm {
  width: 100%; padding: 18px; background: var(--lime); color: #0b0f14;
  border: none; border-radius: 12px; font-family: var(--mono); font-size: 14px;
  font-weight: 800; letter-spacing: 2px; cursor: pointer; transition: all .3s;
  box-shadow: 0 0 30px -6px rgba(163,230,53,.5); margin-top: 16px;
}
.btn-confirm:hover { transform: scale(1.02); box-shadow: 0 0 40px -4px rgba(163,230,53,.6); }

.btn-loading {
  opacity: 0.7;
  cursor: not-allowed;
  pointer-events: none;
}
.secure-note { text-align: center; font-size: 11px; color: var(--mut); margin-top: 12px; }
.form-error { margin-top: 12px; padding: 12px 14px; border-radius: 10px; font-size: 13px; line-height: 1.6; color: #ffb4b8; background: rgba(237,28,36,.1); border: 1px solid rgba(237,28,36,.45); }
#toastBox { position: fixed; left: 16px; right: 16px; bottom: 24px; z-index: 200; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; }
.toast { pointer-events: auto; cursor: pointer; max-width: 520px; width: 100%; padding: 12px 16px; border-radius: 10px; font-size: 13px; line-height: 1.6; background: var(--panel2); border: 1px solid var(--line); color: var(--txt); }
.toast.warn { border-color: rgba(245,158,11,.5); color: #F59E0B; }
.toast.error { border-color: rgba(237,28,36,.5); color: #ff6b74; }
.toast.info { border-color: rgba(163,230,53,.4); }
@media (max-width: 720px) {
  #toastBox { bottom: calc(76px + env(safe-area-inset-bottom)); }
}

@media (max-width: 1280px) {
  .checkout-layout { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
}
@media (max-width: 720px) {
  .form-row { flex-direction: column; }
  .progress-bar { flex-wrap: wrap; gap: 8px; }
  .progress-line { display: none; }
}
@media (max-width: 600px) {
  .mypc-chip, .account-chip { display: none; }
  .logo-text small { display: none; }
  .logo-text { font-size: 14px; }
  .grid-header { flex-direction: column; align-items: stretch; gap: 10px; }
  .grid-header h2 { font-size: 18px; }
  .btn-back { align-self: flex-start; }
  .result-actions { flex-direction: column; }
  .result-actions .btn-check, .result-actions .btn-proceed, .result-actions .btn-adjust { flex: 1 1 100%; width: 100%; }
  .brand-card-h { flex-wrap: wrap; }
  .brand-desc { flex-basis: 100%; }
  .modal-footer { flex-direction: column-reverse; gap: 8px; }
  .modal-footer button { width: 100%; min-height: 48px; }
}
@media (max-width: 480px) {
  .specs-grid { grid-template-columns: 1fr; }
}
@media (hover: none) {
  .pro-card:hover, .gpu-card:hover, .btn-buy:hover, .btn-check:hover, .btn-explore:hover, .btn-proceed:hover, .account-chip:hover, .brand-card-h:hover, .model-tags button:hover { transform: none; box-shadow: none; }
}

/* Chips de filtro del grid */
.chip-filter.active {
  background: var(--lime); color: #0b0f14; border-color: var(--lime);
}
.chip-clear { background: rgba(237,28,36,.12); color: #ff6b74; border: 1px solid rgba(237,28,36,.45); }
.chip-clear:hover { background: rgba(237,28,36,.2); border-color: var(--amd); }

/* Botón favorito en tarjetas del grid */
.btn-fav {
  position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; border-radius: 8px;
  border: 1px solid var(--line); background: rgba(255,255,255,.05); color: var(--mut);
  font-size: 16px; line-height: 1; cursor: pointer; display:flex;align-items:center;justify-content:center;
  transition: all .2s;
}
.btn-fav:hover { border-color: var(--lime); color: var(--lime); }
.btn-fav.active { border-color: var(--lime); color: var(--lime); background: rgba(163,230,53,.15); }
.gpu-img { position: relative; }

/* Skip link */
.skip-link {
  position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden;
}
.skip-link:focus {
  position: fixed; top: 14px; left: 14px; z-index: 1000; width: auto; height: auto;
  padding: 8px 14px; background: var(--lime); color: #0b0f14; font-weight: 700;
  font-family: var(--mono); font-size: 13px; border-radius: 6px;
}

/* Banner de cookies */
.cookies-banner {
  position: fixed; left: 50%; transform: translateX(-50%); bottom: 24px; z-index: 250;
  display: flex; flex-direction: column;
  background: var(--panel2); border: 1px solid var(--line); border-radius: 16px;
  padding: 18px 20px; max-width: 520px; width: 92vw;
  box-shadow: 0 20px 50px rgba(0,0,0,.6);
}
.cookies-content { display: flex; flex-direction: column; gap: 12px; }
.cookies-text strong { display: block; color: var(--txt); font-family: var(--disp); font-weight: 700; font-size: 15px; }
.cookies-text p { color: var(--mut); font-size: 13px; line-height: 1.6; margin: 0; }
.cookies-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.btn-cookies { flex: 1 1 140px; padding: 11px 16px; border-radius: 10px; border: none;
  font-family: var(--mono); font-size: 12px; font-weight: 700; cursor: pointer; }
.btn-cookies-accept { background: var(--lime); color: #0b0f14; }
.btn-cookies-essential, .btn-cookies-prefs { background: transparent; color: var(--txt); border: 1px solid var(--line); }
.btn-cookies-close { position: absolute; top: 10px; right: 12px; background: none; border: none;
  color: var(--mut); font-size: 22px; line-height: 1; cursor: pointer; }
@media (max-width: 720px) {
  .cookies-banner { bottom: calc(24px + env(safe-area-inset-bottom)); width: 90vw; }
  .btn-cookies { flex: 1 1 100%; }
}

/* Reducir movimiento para usuarios que lo prefieren */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .skeleton-img, .skeleton-line, .skeleton-btn { animation: none !important; opacity: 1 !important; }
}

/* Estado vacío (compra / checkout sin producto seleccionado) */
.empty-state { padding: 34px 16px 10px; text-align: center; }
.empty-panel { display: inline-block; text-align: left; max-width: 540px; width: 100%; padding: 28px 30px; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; }

/* ============================================================
   RESEÑAS — ficha de producto
   Panel oscuro, resumen de nota, distribución y tarjetas.
   ============================================================ */
.reviews-panel {
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(163,230,53,.06), transparent 55%),
    var(--panel);
  padding: 22px 22px 18px;
}
.reviews-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 18px; flex-wrap: wrap;
  padding-bottom: 16px; border-bottom: 1px solid var(--line);
}
.reviews-head h2 { font-family: var(--disp); font-size: 19px; letter-spacing: .5px; color: var(--txt); }
.reviews-head .reviews-sub { color: var(--mut); font-size: 12px; margin-top: 3px; }
.reviews-score { display: flex; align-items: center; gap: 14px; }
.reviews-score .score-num {
  font-family: var(--disp); font-size: 42px; font-weight: 800; line-height: 1;
  color: var(--lime); letter-spacing: -1px;
}
.reviews-score .score-meta { display: flex; flex-direction: column; gap: 4px; }
.reviews-score .score-count { font-family: var(--mono); font-size: 11px; color: var(--mut); }
.stars { display: inline-flex; gap: 2px; line-height: 1; }
.stars .star { color: #2b3644; font-size: 15px; }
.stars .star.filled { color: var(--lime); text-shadow: 0 0 10px rgba(163,230,53,.35); }

.reviews-body { display: grid; grid-template-columns: 240px 1fr; gap: 22px; padding-top: 18px; }
.reviews-summary { display: flex; flex-direction: column; gap: 14px; }
.rating-row { display: grid; grid-template-columns: 34px 1fr 26px; align-items: center; gap: 8px; }
.rating-row .rlabel { font-family: var(--mono); font-size: 11px; color: var(--mut); }
.rating-row .rtrack { height: 6px; border-radius: 99px; background: rgba(255,255,255,.06); overflow: hidden; }
.rating-row .rfill { height: 100%; border-radius: 99px; background: var(--lime); opacity: .85; transition: width .35s ease; }
.rating-row .rcount { font-family: var(--mono); font-size: 10px; color: var(--mut); text-align: right; }
.btn-write {
  margin-top: 2px; width: 100%; padding: 11px 14px; border-radius: 10px;
  border: 1px solid rgba(163,230,53,.45); background: rgba(163,230,53,.08);
  color: var(--lime); font-family: var(--mono); font-size: 12px; font-weight: 700;
  cursor: pointer; transition: background .18s ease, transform .18s ease;
}
.btn-write:hover { background: rgba(163,230,53,.16); transform: translateY(-1px); }

.reviews-list { display: flex; flex-direction: column; gap: 12px; }
.review-card {
  border: 1px solid var(--line); border-radius: 14px;
  background: rgba(255,255,255,.02);
  padding: 14px 16px;
  display: flex; flex-direction: column; gap: 10px;
}
.review-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.review-avatar {
  width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center;
  font-family: var(--mono); font-size: 12px; font-weight: 700; color: #0b0f14;
  background: linear-gradient(135deg, var(--lime), #6fae1c);
}
.review-ident { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.review-name { font-size: 13px; font-weight: 700; color: var(--txt); }
.review-date { font-family: var(--mono); font-size: 10px; color: var(--mut); }
.review-top .stars { margin-left: auto; }
.badge-verified {
  display: inline-flex; align-items: center; gap: 4px;
  font-family: var(--mono); font-size: 10px; color: var(--lime);
  border: 1px solid rgba(163,230,53,.35); background: rgba(163,230,53,.08);
  padding: 2px 7px; border-radius: 99px; white-space: nowrap;
}
.review-text { color: #c3cdd8; font-size: 13px; line-height: 1.65; }
.review-photo {
  display: block; width: 100%; max-width: 280px; border-radius: 10px;
  border: 1px solid var(--line); background: #05080c;
}
.review-foot {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  padding-top: 8px; border-top: 1px solid rgba(255,255,255,.05);
}
.vote-btn {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--mono); font-size: 11px; color: var(--mut);
  background: transparent; border: 1px solid var(--line); border-radius: 99px;
  padding: 5px 10px; cursor: pointer; transition: all .15s ease;
}
.vote-btn:hover { color: var(--txt); border-color: rgba(255,255,255,.2); }
.vote-btn.is-active { color: var(--lime); border-color: rgba(163,230,53,.4); background: rgba(163,230,53,.08); }
.vote-btn .vote-ico { font-size: 12px; }
.vendor-reply {
  margin-top: 2px; padding: 10px 12px; border-left: 2px solid var(--lime);
  background: rgba(163,230,53,.05); border-radius: 0 8px 8px 0;
  font-size: 12px; color: #b9c4cf; line-height: 1.55;
}
.vendor-reply strong { display: block; color: var(--lime); font-family: var(--mono); font-size: 10px; letter-spacing: .5px; text-transform: uppercase; margin-bottom: 3px; }
.reviews-empty {
  border: 1px dashed var(--line); border-radius: 14px; padding: 26px 16px;
  text-align: center; color: var(--mut); font-size: 13px;
}
.reviews-empty strong { display: block; color: var(--txt); font-family: var(--disp); font-size: 15px; margin-bottom: 4px; }

.review-form { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.review-form h3 { font-family: var(--disp); font-size: 15px; color: var(--txt); margin-bottom: 12px; }
.review-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.review-form label { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: .6px; text-transform: uppercase; color: var(--mut); margin-bottom: 6px; }
.review-form textarea, .review-form input[type="text"] {
  width: 100%; padding: 11px 12px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--bg2); color: var(--txt); font-family: var(--body); font-size: 13px;
  resize: vertical;
}
.review-form textarea:focus, .review-form input:focus { outline: none; border-color: rgba(163,230,53,.5); }
.review-form .upload {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  border: 1px dashed var(--line); border-radius: 10px; padding: 10px 12px;
  color: var(--mut); font-size: 12px;
}
.review-form .upload input[type="file"] { font-family: var(--mono); font-size: 11px; color: var(--mut); max-width: 100%; }
.review-form .form-actions { display: flex; align-items: center; gap: 12px; margin-top: 12px; flex-wrap: wrap; }
.review-form .form-actions button {
  padding: 10px 20px; border-radius: 9px; border: none; background: var(--lime);
  color: #0b0f14; font-family: var(--mono); font-weight: 700; font-size: 12px; cursor: pointer;
}
.review-form .form-actions button:disabled { opacity: .55; cursor: not-allowed; }
.review-form .form-msg { font-size: 12px; color: var(--mut); min-height: 1.4em; }
.review-login { font-size: 12px; color: var(--mut); text-align: center; margin-top: 12px; }
.review-login a { color: var(--lime); }

@media (max-width: 860px) {
  .reviews-body { grid-template-columns: 1fr; }
  .reviews-summary { order: 2; }
  .reviews-list { order: 1; }
  .review-form .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .reviews-panel { padding: 16px 14px; }
  .reviews-score .score-num { font-size: 34px; }
  .review-top .stars { margin-left: 0; }
}

/* ============================================================
   ANOTACIONES TÉCNICAS — ficha de producto
   Puntos sobre la imagen con tooltip en hover, foco o toque.
   ============================================================ */
.hotspot {
  position: absolute; transform: translate(-50%, -50%);
  width: 24px; height: 24px; padding: 0; border: 0;
  background: transparent; cursor: help; pointer-events: auto;
  display: grid; place-items: center; z-index: 2;
}
.hot-dot {
  width: 12px; height: 12px; border-radius: 50%;
  background: rgba(11, 15, 20, .85);
  border: 2px solid var(--lime);
  box-shadow: 0 0 0 4px rgba(163, 230, 53, .15), 0 0 12px rgba(163, 230, 53, .45);
  transition: transform .15s ease, box-shadow .15s ease;
}
.hotspot:hover .hot-dot,
.hotspot:focus-visible .hot-dot {
  transform: scale(1.2);
  box-shadow: 0 0 0 6px rgba(163, 230, 53, .2), 0 0 16px rgba(163, 230, 53, .6);
}
.hotspot:focus-visible { outline: none; }
.hot-tip {
  position: absolute; bottom: calc(100% + 8px); left: 50%;
  transform: translateX(-50%) translateY(4px);
  min-width: max-content; max-width: 170px;
  padding: 6px 9px; border-radius: 7px;
  background: rgba(11, 15, 20, .95);
  border: 1px solid rgba(163, 230, 53, .35);
  color: var(--txt); font-family: var(--mono); font-size: 10px;
  line-height: 1.45; text-align: center; white-space: normal;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .15s ease, transform .15s ease, visibility .15s;
  z-index: 3;
}
.hotspot:hover .hot-tip,
.hotspot:focus-visible .hot-tip,
.hotspot.is-open .hot-tip {
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.hot-tip-text {
  display: block; margin-top: 3px; padding-top: 3px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  color: var(--mut); font-size: 10px; font-weight: 400;
}

#prodReviews { margin-top: 34px; }
#prodRelated { margin-top: 34px; }
