/* CHURY'S PC — hoja de estilos única (tienda + panel)
   Paleta de marca (brand-originales/paleta-de-marca.html):
   #0088EE Azul Chury's (marca, botones, filtros activos) · #080F19 Negro azulado (fondo principal, texto sobre azul)
   #F5F7FA Blanco suave (textos sobre oscuro, fondo de catálogo) · #182332 Grafito (tarjetas y recuadros oscuros)
   #A9B4C2 Gris claro (texto secundario) · #69C7FF Azul hielo (acento en pequeñas dosis, foco, enlaces sobre oscuro)
   Apoyo: #26374A y #334155 (bordes y texto secundario sobre claro).
   Regla: botones azules con texto oscuro; no usar azul intenso para texto chico sobre negro. */

@font-face { font-family: "Inter"; src: url(/assets/fonts/Inter-Regular.woff) format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url(/assets/fonts/Inter-SemiBold.woff) format("woff"); font-weight: 600 700; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url(/assets/fonts/InterDisplay-ExtraBold.woff) format("woff"); font-weight: 800; font-display: swap; }

:root {
  --ink: #080F19; --navy: #182332; --slate: #26374A; --slate-2: #334155; --mist: #A9B4C2; --paper: #F5F7FA;
  --blue: #0088EE; --blue-hover: #2B9AF2; --sky: #69C7FF; --link: #0069B8;
  --line: #DDE3EA; --card: #FFFFFF; --soft: #E9EDF2; --ok: #0F7B4B; --warn: #A15C00; --err: #B42318;
  --radius: 8px; --wrap: 1280px; --header-h: 64px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --display: "Inter Display", "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body { margin: 0; font: 400 16px/1.55 var(--font); color: var(--ink); background: var(--paper); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
/* Red de seguridad: la página nunca se mueve hacia los costados (clip no rompe el encabezado fijo como hidden) */
html, body { overflow-x: clip; }
/* Textos con palabras o códigos muy largos (descripciones, especificaciones): se cortan dentro del ancho en vez de desbordar */
p, li, td, th, dd, h1, h2, h3, h4 { overflow-wrap: break-word; }
.product-info, .product-title, .pcard-title, .specs td { overflow-wrap: anywhere; }
img { max-width: 100%; display: block; }
a { color: var(--link); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--blue); color: var(--ink); padding: 10px 14px; border-radius: 6px; z-index: 100; }
.skip:focus { top: 12px; color: var(--ink); }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(16px, 3.2vw, 40px); }
.narrow { max-width: 760px; }
.muted { color: var(--slate-2); }
.fine { font-size: 13px; color: var(--slate-2); }
[hidden] { display: none !important; }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border-radius: 6px; border: 1.5px solid transparent;
  font-weight: 600; font-size: 15px; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; white-space: nowrap; }
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.btn-primary { background: var(--blue); color: var(--ink); }
.btn-primary:hover { background: var(--blue-hover); color: var(--ink); }
.btn-ghost { border-color: rgba(245, 247, 250, .85); color: var(--paper); background: transparent; }
.btn-ghost:hover { background: rgba(245, 247, 250, .1); color: #fff; }
.btn-outline { border-color: #C5CEDA; color: var(--ink); background: var(--card); }
.btn-outline:hover { border-color: var(--slate-2); color: var(--ink); }
.btn-link { background: none; border: 0; color: var(--link); padding: 6px 4px; text-decoration: underline; }
.btn-link.light { color: var(--mist); }
.btn-danger { background: #fff; border-color: #E9B4AE; color: var(--err); }
.btn-lg { padding: 14px 26px; font-size: 18px; border-radius: 8px; }
.btn-sm { padding: 5px 10px; font-size: 13px; }
.btn-pill { border-radius: 999px; padding: 9px 22px; font-size: 16px; }
.btn.block { display: flex; width: 100%; }
.btn[disabled], .btn.disabled { opacity: .45; pointer-events: none; }
.btn-wa svg { width: 22px; height: 22px; }

/* ---------- Encabezado ---------- */
.preview-bar { background: var(--slate); color: var(--paper); font-size: 12px; text-align: center; padding: 4px 8px; letter-spacing: .02em; }
.site-header { position: sticky; top: 0; z-index: 40; background: var(--ink); border-bottom: 1px solid rgba(169, 180, 194, .22); }
.header-row { height: var(--header-h); display: flex; align-items: center; gap: 28px; }
.brand { flex-shrink: 0; }
.brand img { height: 44px; width: auto; }
.main-nav { display: flex; gap: clamp(14px, 1.75vw, 32px); margin-left: auto; }
.main-nav a { white-space: nowrap; color: var(--paper); text-decoration: none; font-size: 16px; padding: 20px 0 18px; border-bottom: 2px solid transparent; }
.main-nav a:hover { color: var(--sky); }
.main-nav a[aria-current="page"] { border-bottom-color: var(--blue); color: #fff; font-weight: 600; }
.header-tools { display: flex; align-items: center; gap: 4px; margin-left: 12px; padding-left: 16px; border-left: 1px solid rgba(169, 180, 194, .3); }
.icon-btn { position: relative; display: inline-grid; place-items: center; width: 42px; height: 42px; border: 0; background: none; color: var(--paper); border-radius: 8px; cursor: pointer; }
.icon-btn:hover { background: rgba(245, 247, 250, .08); color: #fff; }
.icon-btn svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.cart-count { position: absolute; top: 3px; right: 1px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--blue); color: var(--ink); font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.menu-btn { display: none; }
.site-search { background: var(--navy); border-top: 1px solid rgba(169, 180, 194, .18); padding: 12px 0; }
.site-search .wrap { display: flex; gap: 10px; }
.site-search input { flex: 1; min-width: 0; padding: 12px 14px; border-radius: 6px; border: 1px solid var(--slate); background: var(--ink); color: var(--paper); }
.mobile-menu { background: var(--ink); border-top: 1px solid rgba(169, 180, 194, .18); padding: 6px 0 14px; }
.mobile-menu a { display: flex; justify-content: space-between; align-items: center; padding: 14px clamp(16px, 4vw, 40px); color: var(--paper); text-decoration: none; font-size: 17px; border-bottom: 1px solid rgba(169, 180, 194, .1); }
.mobile-menu svg, .tile-label svg, .subnav svg, .link-arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Portadas ---------- */
.hero { position: relative; background: var(--ink); color: var(--paper); overflow: hidden; isolation: isolate; min-height: clamp(380px, min(38vw, 62vh), 640px); display: flex; align-items: center; }
/* La foto ocupa hasta el 64 % del ancho a la derecha, con su proporción: nunca se recorta arriba ni abajo (--ar = ancho / alto) */
.hero-media { position: absolute; inset: 0 0 0 auto; height: 100%; width: auto; aspect-ratio: var(--ar, 1.75); max-width: 64%; z-index: -1; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.hero-media::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink) 0%, rgba(8, 15, 25, .78) 14%, rgba(8, 15, 25, .2) 36%, transparent 55%); z-index: 1; }
.hero-media::after { content: ""; position: absolute; inset: auto 0 0 0; height: 18%; background: linear-gradient(0deg, rgba(8, 15, 25, .35), transparent); z-index: 1; }
.hero-copy { padding-block: 64px; }
.hero-title { font: 800 clamp(46px, 6.6vw, 96px)/.95 var(--display); letter-spacing: -.035em; color: var(--paper); margin: 0 0 18px; max-width: 9.5em; text-shadow: 0 2px 24px rgba(8, 15, 25, .45); }
.hero-sub { font-size: clamp(18px, 1.75vw, 25px); color: var(--mist); max-width: 22em; line-height: 1.32; margin-bottom: 28px; font-weight: 500; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.eyebrow { display: inline-block; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--sky); font-weight: 600; margin-bottom: 14px; }
.eyebrow.dark { color: var(--link); }
.ilu-badge { position: absolute; right: 10px; bottom: 10px; z-index: 2; font-size: 11px; line-height: 1; padding: 5px 8px; border-radius: 4px; background: rgba(8, 15, 25, .72); color: var(--paper); letter-spacing: .02em; pointer-events: none; }

/* ---------- Secciones y mosaicos ---------- */
.section { padding-block: clamp(28px, 4vw, 48px); }
.section + .section { padding-top: 0; }
.section-title { font: 800 clamp(28px, 3vw, 42px)/1.1 var(--display); letter-spacing: -.025em; margin: 0 0 20px; }
.section-sub { margin: -14px 0 20px; color: var(--slate-2); font-size: 18px; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.page-title { font: 800 clamp(30px, 3.4vw, 46px)/1.08 var(--display); letter-spacing: -.025em; margin-bottom: 18px; }
.page-head { padding-top: 6px; padding-bottom: 6px; } .page-head h1 { font: 800 clamp(32px, 4vw, 52px)/1.05 var(--display); letter-spacing: -.03em; margin: 0; } .page-head p { color: var(--slate-2); margin: 6px 0 0; }
.link-arrow { color: var(--link); display: inline-flex; gap: 6px; align-items: center; font-weight: 600; text-decoration: none; margin-bottom: 22px; }
.lead { font-size: 19px; color: var(--slate-2); }

.tiles { display: grid; gap: 16px; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); }
.tiles.n4 { --cols: 4; }
.tile { position: relative; display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink); background: var(--card); box-shadow: 0 1px 2px rgba(8, 15, 25, .06), 0 8px 24px -12px rgba(8, 15, 25, .18); }
.tile-img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--soft); }
.tile-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s var(--ease); }
.tile:hover .tile-img img { transform: scale(1.035); }
.tile-label { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 14px 18px; font: 700 20px/1.2 var(--font); letter-spacing: -.01em; }
.tiles-bar .tile-label { background: #F0F2F5; }
.tiles-dark .tile-label { background: var(--navy); color: var(--paper); font: 800 clamp(22px, 2.2vw, 30px)/1.1 var(--display); padding: 18px 24px; }
.tiles-dark .tile-img { aspect-ratio: 1.19; } /* la proporción de sus fotos: no se recortan */
.tiles-overlay .tile-label, .tiles-top .tile-label, .tiles-badge .tile-label { position: absolute; color: var(--paper); }
.tiles-overlay .tile-img, .tiles-top .tile-img, .tiles-badge .tile-img { aspect-ratio: 16 / 9.5; }
.tiles-overlay .tile-label { left: 0; right: 0; bottom: 0; justify-content: flex-start; padding: 40px 24px 18px; font: 700 clamp(20px, 2vw, 28px)/1.1 var(--font); background: linear-gradient(0deg, rgba(8, 15, 25, .72), transparent); }
.tiles-top .tile-label { left: 0; right: 0; top: 0; justify-content: flex-start; padding: 16px 22px 36px; font: 800 clamp(22px, 2.2vw, 30px)/1.1 var(--display); background: linear-gradient(180deg, rgba(8, 15, 25, .62), transparent); }
.tiles-top .tile-label svg, .tiles-badge .tile-label svg { display: none; }
/* Tarjetas con etiqueta (Notebooks: Estudio, Trabajo, Gaming): la foto en casi su proporción original, sin zoom,
   y la etiqueta arriba a la izquierda (sobre la pared), para que el equipo se vea entero */
.tiles-badge .tile-label { left: 14px; top: 14px; padding: 8px 14px; border-radius: 6px; background: rgba(8, 15, 25, .78); font-size: 17px; font-weight: 600; }
.tiles-badge .tile-img { aspect-ratio: 1.92; }
.tiles-badge .tile:hover .tile-img img { transform: none; }
.tiles-badge .tile:hover { box-shadow: 0 1px 2px rgba(8, 15, 25, .08), 0 12px 28px -12px rgba(8, 15, 25, .35); }
.tiles-overlay { grid-template-columns: 1.65fr 1fr 1.15fr; }
.pill-row, .chips { display: flex; flex-wrap: wrap; gap: 10px; }
.pill-row { margin-top: 18px; }
.pill, .chip { display: inline-flex; align-items: center; padding: 8px 18px; border-radius: 999px; background: #E3E8EE; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; border: 1.5px solid transparent; }
.pill:hover, .chip:hover { background: #D7DEE6; color: var(--ink); }
.chip.active { background: var(--blue); color: var(--ink); }
.chip-outline { background: var(--card); border-color: #C5CEDA; border-radius: 6px; padding: 8px 22px; }
.chips-bar { padding-top: 18px; }
.chips-bar .chip { border-radius: 6px; padding: 9px 26px; }

.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.trust div { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; display: flex; flex-direction: column; }
.trust strong { font: 800 26px/1.1 var(--display); letter-spacing: -.02em; }
.trust span { color: var(--slate-2); font-size: 15px; }
.quote-band { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.quote-band > div { flex: 1; min-width: 260px; }
.seo-text { max-width: 820px; color: var(--slate-2); }
.seo-text h2 { font-size: 1.15rem; margin: 0 0 8px; }
.seo-text p { margin: 0 0 8px; line-height: 1.6; }
.quote-band { background: var(--navy); color: var(--paper); border-radius: 12px; padding: clamp(22px, 3vw, 36px) clamp(22px, 3vw, 40px); margin-bottom: 40px; max-width: calc(var(--wrap) - 2 * clamp(16px, 3.2vw, 40px)); }
.quote-band h2 { font: 800 clamp(24px, 2.4vw, 32px)/1.1 var(--display); letter-spacing: -.02em; margin-bottom: 6px; }
.quote-band p { margin: 0; color: var(--mist); }

/* ---------- Listado y filtros ---------- */
.listing { display: grid; grid-template-columns: 264px minmax(0, 1fr); grid-template-areas: "side results"; column-gap: 32px; align-items: start; }
.catalog-form { display: contents; }
.catalog-top { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; }
.filters { grid-area: side; max-height: calc(100vh - var(--header-h) - 32px); overflow: auto; padding-right: 6px; }
.catalog-main { grid-area: results; min-width: 0; }
.search-field { flex: 1; position: relative; min-width: 0; }
.search-field svg { position: absolute; left: 14px; top: 50%; translate: 0 -50%; width: 20px; height: 20px; fill: none; stroke: var(--slate-2); stroke-width: 2; }
.search-field input { width: 100%; padding: 12px 14px 12px 44px; border: 1px solid #C5CEDA; border-radius: 6px; background: var(--card); }
.sort { display: flex; align-items: center; gap: 10px; white-space: nowrap; font-weight: 500; }
.sort select { padding: 11px 36px 11px 14px; border-radius: 6px; border: 1px solid #C5CEDA; background: var(--card); }
.filter-open { display: none; }
.filters-head { display: none; }
.facet { border: 0; border-bottom: 1px solid var(--line); margin: 0; padding: 14px 0 16px; }
.facet legend { font-weight: 700; font-size: 17px; padding: 0; margin-bottom: 8px; float: left; width: 100%; }
.facet legend + * { clear: both; }
.check { display: flex; align-items: center; gap: 10px; padding: 4px 0; cursor: pointer; font-size: 15px; }
.check input { width: 18px; height: 18px; accent-color: var(--blue); flex: none; }
.check .count { margin-left: auto; color: var(--slate-2); font-size: 13px; font-variant-numeric: tabular-nums; }
.check.inline { display: inline-flex; margin-right: 18px; }
.range { display: flex; align-items: center; gap: 8px; clear: both; }
.range input { width: 100%; min-width: 0; padding: 9px 10px; border: 1px solid #C5CEDA; border-radius: 6px; background: var(--card); }
.filters-actions { display: flex; gap: 10px; align-items: center; padding-top: 16px; }
.results-count { color: var(--slate-2); font-size: 14px; margin-bottom: 12px; }
.badge { background: var(--blue); color: var(--ink); border-radius: 10px; padding: 0 7px; font-size: 12px; }
.subnav { display: flex; flex-direction: column; margin-bottom: 8px; }
.subnav h2 { font: 800 24px/1.1 var(--display); letter-spacing: -.02em; margin: 6px 0 14px; }
.subnav a { display: flex; align-items: center; gap: 12px; padding: 12px 12px; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); font-size: 16px; }
.subnav a svg { margin-left: auto; color: var(--slate-2); }
.subnav a.active { background: #DDEBFA; color: var(--link); border-radius: 6px; border-bottom-color: transparent; font-weight: 600; }
.subnav-ico { width: 22px; height: 22px; flex: 0 0 22px; display: inline-grid; place-items: center; color: var(--slate-2); }
img.subnav-ico { object-fit: contain; background: transparent; }
.subnav-label { min-width: 0; }
.with-side { display: grid; grid-template-columns: 264px minmax(0, 1fr); gap: 32px; }
.compare-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--ink); color: var(--paper); padding: 12px 0; box-shadow: 0 -8px 30px rgba(8, 15, 25, .25); }
.compare-bar .wrap { display: flex; align-items: center; gap: 16px; }
.compare-bar span { flex: 1; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(236px, 1fr)); gap: 20px; }
.pcard { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s, border-color .2s; }
.pcard:hover { border-color: #C9D2DD; box-shadow: 0 10px 28px -16px rgba(8, 15, 25, .35); }
.pcard-media { position: relative; display: block; aspect-ratio: 4 / 3; background: #FFFFFF; overflow: hidden; border-bottom: 1px solid var(--line); }
.pcard-media > img { width: 100%; height: 100%; object-fit: cover; }
.pcard-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pcard-title { font-size: 16px; font-weight: 600; line-height: 1.3; margin: 0; }
.pcard-title a { color: var(--ink); text-decoration: none; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pcard { position: relative; }
.pcard-specs { font-size: 13.5px; color: var(--slate-2); margin: 0; line-height: 1.4; }
.pcard-foot { margin-top: auto; padding-top: 8px; display: flex; flex-direction: column; gap: 4px; }
.pcard-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tag { display: inline-block; font-size: 11.5px; font-weight: 600; letter-spacing: .02em; padding: 3px 8px; border-radius: 4px; background: #E8EDF3; color: var(--slate-2); }
.tag-cond { background: #FFF1D6; color: #7A4A00; }
.tag-demo { background: #FDE2E1; color: #8A1C14; }
.compare-toggle { position: relative; z-index: 2; display: inline-flex; gap: 8px; align-items: center; font-size: 14px; margin-top: 8px; color: var(--slate-2); cursor: pointer; }
.compare-toggle input { width: 17px; height: 17px; accent-color: var(--blue); }
.ph { width: 100%; height: 100%; display: grid; place-content: center; justify-items: center; gap: 8px; color: var(--slate-2); font-size: 13px; background: linear-gradient(135deg, #EEF1F5, #E1E6EC); }
.ph img { width: 48px; opacity: .45; }
.ph.big { aspect-ratio: 4 / 3; }

.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; }
.price-now { font-size: 20px; font-weight: 700; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.price-was { color: #5B6675; font-size: 14px; }
.price-from { font-size: 12px; color: var(--slate-2); }
.price-cur { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--slate-2); }
.price-alt { font-size: 15px; font-weight: 600; color: var(--slate-2); white-space: nowrap; font-variant-numeric: tabular-nums; }
.price-lg .price-now { font-size: clamp(28px, 3vw, 36px); }
.stock { font-size: 13px; font-weight: 600; }
.stock.ok { color: var(--ok); } .stock.low { color: var(--warn); } .stock.out { color: var(--slate-2); }
.empty { background: var(--card); border: 1px dashed #C5CEDA; border-radius: var(--radius); padding: 32px; text-align: center; }
.empty .btn { margin: 4px; }

/* ---------- Ficha ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--slate-2); padding-top: 18px; padding-bottom: 6px; }
.crumbs a { color: var(--slate-2); }
.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr); grid-template-areas: "gallery buy" "info buy"; gap: 20px 48px; padding-top: 14px; padding-bottom: 32px; align-items: start; }
.gallery { grid-area: gallery; }
/* Galería de la ficha: un solo bloque oscuro. Visor 4:3 de borde a borde sobre el fondo gris carbón de las portadas
   (alto fijo: cambiar de foto no mueve el bloque de compra) y las miniaturas en una franja oscura debajo. */
.gallery { border-radius: 12px; overflow: hidden; background: #FFFFFF; border: 1px solid var(--line); min-width: 0; }
.gallery-main { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #FFFFFF; }
.gallery-main > img { display: block; width: 100%; height: 100%; object-fit: contain; }
.gallery-main > img.contain { padding: 5%; }
/* Escritorio: la foto principal usa casi todo el recuadro (04/12/2026, pedido del dueño) y se toca para ampliarla */
@media (min-width: 921px) { .product-main .gallery-main > img.contain { padding: 10px 56px; } }
.gallery-main > img[data-gallery-main] { cursor: zoom-in; }
/* Galería ampliada (lightbox) */
.lb { position: fixed; inset: 0; z-index: 1000; width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(6, 10, 20, .94); color: #fff; }
.lb::backdrop { background: rgba(6, 10, 20, .94); }
.lb[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.lb-top { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; font-size: 15px; }
.lb-close { width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; }
.lb-close:hover, .lb-close:focus-visible { background: rgba(255, 255, 255, .24); }
.lb-stage { position: relative; display: grid; place-items: center; min-height: 0; overflow: hidden; padding: 0 72px; }
.lb-img { width: auto; height: auto; max-width: min(100%, 1400px); max-height: calc(100dvh - 170px); object-fit: contain; background: #fff; border-radius: 10px; user-select: none; }
@media (max-width: 920px) { .lb-img { max-height: calc(100dvh - 150px); } }
.lb .gal-nav { background: rgba(255, 255, 255, .95); }
.lb .gal-prev { left: 16px; } .lb .gal-next { right: 16px; }
.lb-thumbs { display: flex; gap: 8px; justify-content: center; padding: 12px 16px 16px; overflow-x: auto; }
.lb-thumbs button { flex: none; width: 72px; height: 54px; border-radius: 6px; border: 2px solid transparent; background: #fff; padding: 0; cursor: pointer; opacity: .6; overflow: hidden; }
.lb-thumbs button.on { border-color: var(--blue); opacity: 1; }
.lb-thumbs img { width: 100%; height: 100%; object-fit: contain; }
@media (max-width: 920px) { .lb-stage { padding: 0 8px; } .lb-thumbs button { width: 56px; height: 42px; } }
.gallery-main > img.fill { object-fit: cover; }
.thumbs { display: flex; gap: 10px; padding: 12px; overflow-x: auto; background: #FFFFFF; border-top: 1px solid var(--line); scrollbar-width: thin; }
.thumb { flex: none; width: 88px; aspect-ratio: 4 / 3; border-radius: 6px; overflow: hidden; border: 2px solid var(--line); padding: 0; background: #FFFFFF; cursor: pointer; opacity: .9; transition: opacity .15s, border-color .15s; }
.thumb:hover { opacity: 1; }
.thumb img { width: 100%; height: 100%; object-fit: contain; }
.thumb.active { border-color: var(--blue); opacity: 1; }
.thumb:focus-visible { outline: 2px solid var(--sky); outline-offset: 2px; }
/* Flechas de la galería (04/12/2026) */
.gal-nav { position: absolute; top: 50%; z-index: 2; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255, 255, 255, .92);
  display: grid; place-items: center; cursor: pointer; box-shadow: 0 2px 10px rgba(6, 12, 24, .12); color: #0b1220; opacity: .85; transition: opacity .15s, transform .15s; }
.gal-nav:hover, .gal-nav:focus-visible { opacity: 1; }
.gal-nav svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.gal-prev { left: 12px; } .gal-prev svg { transform: scaleX(-1); }
.gal-next { right: 12px; }
@media (max-width: 920px) { .gal-nav { width: 38px; height: 38px; } .gal-prev { left: 8px; } .gal-next { right: 8px; } }
.buybox { grid-area: buy; position: sticky; top: calc(var(--header-h) + 16px); background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.product-title { font: 800 clamp(26px, 2.6vw, 36px)/1.1 var(--display); letter-spacing: -.02em; margin: 2px 0 0; }
.sku { color: var(--slate-2); font-size: 13px; margin: 0; }
.currency-note { font-size: 13px; color: var(--slate-2); margin: -4px 0 4px; }
.variants { border: 0; padding: 0; margin: 0 0 6px; display: flex; flex-wrap: wrap; gap: 8px; }
.variants legend { font-weight: 600; margin-bottom: 8px; padding: 0; }
.variant { position: relative; }
.variant input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.variant span { display: inline-block; padding: 8px 16px; border-radius: 6px; border: 1.5px solid #C5CEDA; background: #fff; font-weight: 600; font-size: 15px; }
.variant input:checked + span { border-color: var(--blue); background: #E6F3FD; color: #005FA8; }
.variant input:focus-visible + span { outline: 3px solid var(--sky); outline-offset: 2px; }
.variant.disabled span { color: #8A96A3; text-decoration: line-through; }
.buy-form { display: flex; flex-direction: column; gap: 12px; }
.availability { margin: 0; }
.buy-row { display: flex; gap: 10px; }
.buy-row .btn { flex: 1; }
.qty input { width: 76px; height: 100%; padding: 10px; border: 1.5px solid #C5CEDA; border-radius: 8px; text-align: center; font-size: 18px; }
.product-info { grid-area: info; }
.product-main { display: contents; }
.product-info section { margin-bottom: 26px; }
.product-info h2 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.specs { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.specs th, .specs td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs th { width: 38%; font-weight: 600; color: var(--slate-2); background: #F8FAFC; }
.used-box { background: #FFF8EA; border: 1px solid #F3DDAE; border-radius: var(--radius); padding: 16px 18px; }
.used-box dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; margin: 0; }
.used-box dl div { display: contents; } .used-box dt { font-weight: 600; } .used-box dd { margin: 0; }
.verified { font-size: 12px; background: var(--ok); color: #fff; border-radius: 4px; padding: 2px 6px; margin-left: 6px; }

/* ---------- Comparar ---------- */
.table-scroll { position: relative; overflow-x: auto; -webkit-overflow-scrolling: touch; } /* position: los textos ocultos para lectores de pantalla (absolutos) no estiran la página */
.compare-table { border-collapse: collapse; min-width: 640px; width: 100%; background: var(--card); border: 1px solid var(--line); }
.compare-table th, .compare-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare-table thead th { font-size: 16px; position: sticky; top: 0; background: var(--card); }
.compare-table thead a { color: var(--ink); text-decoration: none; }
.compare-table tbody th { color: var(--slate-2); font-weight: 600; width: 170px; background: #F8FAFC; }
.compare-table tr.diff td { background: #F1F8FF; }
/* Rendimiento en juegos en Comparar (05/12/2026) */
.compare-table tr.cmp-sec th { background: var(--ink, #0b1220); color: #fff; font-size: 15px; padding: 10px 14px; }
.compare-table tr.cmp-sec small { font-weight: 500; opacity: .75; margin-left: 8px; font-size: 13px; }
.cmp-game { display: inline-flex; align-items: center; gap: 10px; }
.cmp-game img { width: 54px; height: 32px; object-fit: cover; border-radius: 6px; flex: none; }
.cmp-best { color: #12803a; font-weight: 700; }
.cmp-dif { display: inline-block; margin-left: 8px; padding: 1px 7px; border-radius: 999px; background: #E7F6EC; color: #12803a; font-weight: 700; font-size: 12.5px; }
.cmp-resumen td { font-size: 16px; }
.cmp-mas { color: #12803a; } .cmp-ref { color: var(--slate-2); font-weight: 600; }

/* ---------- Formularios, carrito, checkout ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: clamp(18px, 2.4vw, 28px); margin-bottom: 20px; }
.card h2 { font-size: 20px; margin-bottom: 14px; }
.form { display: flex; flex-direction: column; gap: 14px; }
.form h2 { margin-top: 10px; margin-bottom: 0; }
.field { display: flex; flex-direction: column; gap: 6px; flex: 1; min-width: 0; border: 0; padding: 0; margin: 0; }
.field > span, .field legend { font-weight: 600; font-size: 14px; }
.field input, .field select, .field textarea, .filters-inline input, .filters-inline select { padding: 11px 12px; border: 1.5px solid #C5CEDA; border-radius: 6px; background: #fff; width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px rgba(105, 199, 255, .45); }
.field.small { flex: 0 0 160px; }
.field.grow { flex: 2; }
.field-row { display: flex; gap: 14px; flex-wrap: wrap; }
.alert { background: #FEF3F2; border: 1px solid #F5C2BD; color: #7A1A12; border-radius: 8px; padding: 12px 16px; margin-bottom: 16px; }
.alert p:last-child { margin: 0; }
.cart-grid, .checkout-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; }
.summary { position: sticky; top: calc(var(--header-h) + 16px); display: flex; flex-direction: column; gap: 10px; }
.sum-row { display: flex; justify-content: space-between; gap: 12px; margin: 0; }
.sum-row.total { font-size: 18px; padding-top: 10px; border-top: 1px solid var(--line); }
.cart-lines { list-style: none; padding: 0; margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: 12px; }
.cart-line { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto auto; gap: 16px; align-items: center; padding: 16px; border-bottom: 1px solid var(--line); }
.cart-line:last-child { border-bottom: 0; }
.cart-thumb { aspect-ratio: 4 / 3; border-radius: 6px; overflow: hidden; background: var(--soft); display: block; }
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-info { display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.cart-name { font-weight: 600; font-size: 16px; color: var(--ink); text-decoration: none; }
.cart-qty { display: flex; align-items: center; gap: 8px; }
.cart-qty input { width: 64px; padding: 8px; border: 1.5px solid #C5CEDA; border-radius: 6px; text-align: center; }
.cart-total { font-variant-numeric: tabular-nums; min-width: 96px; text-align: right; }
.options { display: grid; gap: 10px; }
.option { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1.5px solid #D2D9E2; border-radius: 8px; cursor: pointer; background: #fff; color: var(--ink); text-decoration: none; }
.option:has(input:checked) { border-color: var(--blue); background: #F2F9FF; }
.option input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--blue); flex: none; }
.option span { display: flex; flex-direction: column; gap: 2px; }
.option small { color: var(--slate-2); font-size: 14px; }
.option.disabled { opacity: .6; cursor: not-allowed; }
.link-option svg { width: 22px; height: 22px; fill: none; stroke: var(--ok); stroke-width: 1.8; flex: none; }
.mini-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 14px; }
.mini-lines li { display: flex; justify-content: space-between; gap: 12px; }
.msg-preview { white-space: pre-wrap; background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 16px; font: 14px/1.5 var(--font); }
.status { font-size: 17px; }
.inline-search { display: flex; gap: 10px; max-width: 520px; margin: 18px auto; }
.inline-search input { flex: 1; min-width: 0; padding: 12px; border: 1.5px solid #C5CEDA; border-radius: 6px; }
.inline-search .btn { flex: none; }

/* ---------- Franja de local y pie ---------- */
.info-strip { background: var(--navy); color: var(--paper); }
.info-row { display: flex; justify-content: center; align-items: center; gap: clamp(20px, 6vw, 120px); padding-block: 18px; flex-wrap: wrap; }
.info-row p, .info-row a { display: flex; align-items: center; gap: 10px; margin: 0; color: var(--paper); text-decoration: none; font-size: 17px; }
.info-row span { color: var(--mist); }
.info-row svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.info-row a:hover { color: var(--sky); }
.site-footer { background: var(--ink); color: var(--mist); padding: 44px 0 24px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid img { height: 32px; width: auto; margin-bottom: 14px; }
.footer-grid h2 { color: var(--paper); font-size: 15px; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 12px; }
.footer-grid a { display: block; color: var(--paper); text-decoration: none; padding: 3px 0; }
.footer-grid a:hover { color: var(--sky); }
.site-footer .fine { color: var(--mist); }
.copy { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--slate); }
.toast { position: fixed; left: 50%; bottom: 24px; translate: -50% 0; z-index: 60; background: var(--ink); color: var(--paper); padding: 12px 18px; border-radius: 8px; box-shadow: 0 12px 30px rgba(8, 15, 25, .3); display: flex; gap: 14px; align-items: center; animation: toast-in .2s var(--ease); }
.toast a { color: var(--sky); font-weight: 600; }
@keyframes toast-in { from { opacity: 0; translate: -50% 8px; } }

/* ---------- Responsive ---------- */
/* Menú de escritorio (7 categorías, con Sillas gamer): se compacta y, si no entra, pasa al botón de menú */
@media (max-width: 1200px) {
  .main-nav { gap: 16px; } .main-nav a { font-size: 15px; }
}
@media (max-width: 1100px) {
  .main-nav { gap: 12px; } .main-nav a { font-size: 14px; }
  .tiles.n4 { --cols: 2; }
  .trust { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1010px) {
  .main-nav { display: none; }
  .menu-btn { display: inline-grid; }
  .header-tools { margin-left: auto; border: 0; }
}
@media (max-width: 920px) {
  .listing, .with-side { grid-template-columns: minmax(0, 1fr); grid-template-areas: "results"; }
  .with-side .subnav { display: none; }
  .filter-open { display: inline-flex; }
  .filters { position: fixed; inset: 0 auto 0 0; width: min(88vw, 360px); max-height: none; z-index: 70; background: var(--paper); padding: 0 18px 18px; transform: translateX(-104%); transition: transform .25s var(--ease); box-shadow: 0 0 0 100vmax rgba(8, 15, 25, 0); }
  .filters.open { transform: none; box-shadow: 0 0 0 100vmax rgba(8, 15, 25, .5); }
  .filters-head { display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; background: var(--paper); padding: 14px 0; z-index: 1; font-size: 18px; }
  .filters-head .icon-btn { color: var(--ink); }
  .filters-actions { position: sticky; bottom: 0; background: var(--paper); padding-bottom: 6px; }
  .catalog-top { flex-wrap: wrap; }
  .search-field { flex-basis: 100%; }
  .product { grid-template-columns: minmax(0, 1fr); grid-template-areas: "gallery" "buy" "info"; }
  .buybox { position: static; }
  .cart-grid, .checkout-grid { grid-template-columns: minmax(0, 1fr); }
  .summary { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .hero { flex-direction: column; align-items: stretch; min-height: 0; }
  .hero-media { position: relative; inset: auto; width: 100%; height: auto; max-width: none; aspect-ratio: 16 / 11; z-index: 0; }
  .hero-media::before { background: linear-gradient(0deg, var(--ink) 0%, rgba(8, 15, 25, .5) 18%, transparent 42%); }
  .hero-copy { padding-block: 0 30px; margin-top: -56px; position: relative; z-index: 1; }
  .hero-title { font-size: clamp(40px, 12vw, 56px); }
  .hero .ilu-badge { top: 10px; bottom: auto; }
  .chips-bar .chips, .hero-ctas:has(.btn-pill) { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
  .chips-bar .chip, .btn-pill { flex: none; }
  .hero-sub { margin-bottom: 20px; }
  .hero-ctas .btn-lg { padding: 12px 20px; font-size: 16px; }
  .tiles, .tiles-overlay { grid-template-columns: 1fr 1fr; }
  .tiles-overlay .tile.wide { grid-column: 1 / -1; }
  .tile-label { font-size: 16px; padding: 11px 12px; }
  .tiles-dark .tile-label, .tiles-top .tile-label { font-size: 19px; padding: 12px 14px; }
  .tiles-overlay .tile-label { font-size: 18px; padding: 30px 14px 12px; }
  .tiles-badge { grid-template-columns: 1fr; }
  .tiles-badge .tile-label { font-size: 15px; left: 10px; top: 10px; padding: 6px 11px; }
  .tiles.n3:not(.tiles-overlay) > .tile:first-child { grid-column: 1 / -1; }
  .grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .pcard-body { padding: 10px 11px 12px; }
  .pcard-title { font-size: 14.5px; }
  .pcard-specs { font-size: 12.5px; }
  .price-now { font-size: 17px; }
  .sort span { display: none; }
  .info-row { justify-content: flex-start; flex-direction: column; align-items: flex-start; gap: 10px; }
  .info-row p { flex-wrap: wrap; font-size: 15px; } .info-row a { font-size: 15px; }
  .cart-line { grid-template-columns: 72px minmax(0, 1fr); }
  .cart-qty, .cart-total { grid-column: 2; text-align: left; }
  /* El recuadro es .wrap (ancho 100 %): con margen a los costados tiene que tomar el ancho que queda, si no desborda */
  .quote-band { margin-inline: 16px; width: auto; }
  /* Inicio: en celular, debajo de las tarjetas sólo «Todo el catálogo» (las categorías siguen en el menú y en el catálogo) */
  .pill-row .pill-cat { display: none; }
  .chips-bar .chip { padding: 8px 16px; }
  .compare-bar .wrap { flex-wrap: wrap; gap: 8px; }
}
@media (max-width: 420px) {
  .brand img { height: 36px; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ---------- Panel de administración ---------- */
body.admin { background: #EEF1F5; }
.admin-top { display: flex; align-items: center; gap: 20px; padding: 10px 24px; background: var(--ink); color: var(--paper); flex-wrap: wrap; }
.admin-top nav { display: flex; gap: 16px; flex-wrap: wrap; flex: 1; }
.admin-top nav a { color: var(--paper); text-decoration: none; font-size: 15px; }
.admin-top nav a:hover { color: var(--sky); }
.admin-top .brand img { height: 28px; }
.env-tag { font-size: 12px; background: var(--slate); padding: 3px 8px; border-radius: 4px; }
.admin-main { max-width: 1280px; margin: 0 auto; padding: 24px; }
.admin-main h1 { font: 800 30px/1.1 var(--display); letter-spacing: -.02em; }
.admin-main h1 small { font: 400 16px var(--font); color: var(--slate-2); }
.flash { background: #E7F6EE; border: 1px solid #B5E0C8; color: #0B5A37; padding: 10px 14px; border-radius: 8px; }
.stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; margin-bottom: 20px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 16px; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; }
.stat strong { font: 800 30px/1 var(--display); }
.stat span { color: var(--slate-2); font-size: 14px; }
.stat.warn { border-color: #F3C77B; background: #FFF8EA; }
.cols { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.admin-table th, .admin-table td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.admin-table th { color: var(--slate-2); font-weight: 600; font-size: 13px; }
.admin-table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.admin-table input { padding: 7px 8px; border: 1px solid #C5CEDA; border-radius: 5px; width: 100%; }
.admin-table img.mini { width: 56px; height: 42px; object-fit: cover; border-radius: 4px; background: var(--soft); }
.row-error td { background: #FEF3F2; }
.err { color: var(--err); font-size: 13px; }
.warn-text { color: var(--warn); }
.quick { display: flex; gap: 6px; align-items: center; }
.quick input { width: 74px; }
.quick label:nth-child(2) input { width: 52px; }
.head-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.filters-inline { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.filters-inline input { width: 280px; } .filters-inline select { width: auto; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.tabs a { padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-size: 14px; }
.tabs a.active { background: var(--blue); color: var(--ink); border-color: var(--blue); }
.st { font-size: 12px; font-weight: 600; padding: 3px 8px; border-radius: 4px; background: #E8EDF3; white-space: nowrap; }
.st-pendiente_pago { background: #FFF1D6; color: #7A4A00; } .st-pagado, .st-entregado { background: #E2F5EA; color: #0B5A37; }
.st-revision { background: #FDE2E1; color: #8A1C14; } .st-vencido, .st-cancelado { background: #ECEEF1; color: #59636E; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.dl { display: grid; grid-template-columns: 110px 1fr; gap: 6px 12px; margin: 0; } .dl dt { color: var(--slate-2); } .dl dd { margin: 0; }
.img-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; margin-bottom: 18px; }
.img-item { margin: 0; background: #F8FAFC; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.img-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--soft); }
.img-item figcaption { font-size: 12px; color: var(--slate-2); padding: 6px 8px 0; }
.img-actions { display: flex; flex-wrap: wrap; gap: 4px; padding: 8px; }
.sticky-actions { position: sticky; bottom: 0; background: linear-gradient(0deg, #EEF1F5 70%, transparent); padding: 14px 0; }
.variants-table input { min-width: 80px; }
.login { margin: 60px auto; }
@media (max-width: 900px) { .cols { grid-template-columns: 1fr; } .admin-main { padding: 14px; } }
.sum-row strong, .mini-lines strong, .cart-total { white-space: nowrap; }

/* Fotos de producto reales: completas, sobre blanco (no se recortan) */
.pcard-media > img.contain { background: #fff; }
.pcard-media > img.contain { object-fit: contain; padding: 6%; }
.pcard-media:has(img.contain) { background: #fff; border-bottom: 1px solid var(--line); }

/* ---------- Módulo de proveedores: disponibilidad por encargo ---------- */
.stock.order { color: var(--link); } .stock.ask { color: var(--warn); }
.encargo-note { font-size: 14px; color: var(--slate-2); margin: -4px 0 12px; }
.note-encargo { border-left: 4px solid var(--blue); }
.status-confirmacion strong, .st-confirmacion { background: #E3F1FC; color: #00508C; }
.admin .calc { font-size: 13px; margin: 0; padding-left: 18px; } .admin .calc li { margin: 2px 0; }
.admin .calc-box { background: #F8FAFC; border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; font-size: 13px; }
.admin .pill-st { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--soft); color: var(--slate-2); white-space: nowrap; }
.admin .pill-st.ok { background: #E2F5EA; color: #0B5A37; } .admin .pill-st.warn { background: #FFF1D6; color: #7A4A00; } .admin .pill-st.err { background: #FDE2E1; color: #8A1C14; } .admin .pill-st.info { background: #E3F1FC; color: #00508C; }
.admin .alert-list { list-style: none; padding: 0; margin: 0 0 16px; } .admin .alert-list li { margin-bottom: 8px; }
.admin .example { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.admin .example div { background: #F8FAFC; border: 1px solid var(--line); border-radius: 8px; padding: 12px; }
.admin .example strong { font: 800 24px/1.1 var(--display); display: block; }
.admin .row-actions { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.admin .row-actions input, .admin .row-actions select { width: auto; max-width: 160px; padding: 5px 6px; border: 1px solid #C5CEDA; border-radius: 5px; }
.admin details.help { margin: 8px 0 14px; } .admin details.help summary { cursor: pointer; color: var(--link); }
.admin .bulk-bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 12px; }
/* Panel en celular: menú en una sola fila desplazable */
@media (max-width: 900px) {
  .admin-top { padding: 10px 14px; gap: 10px 14px; }
  .admin-top nav { order: 3; flex: 1 1 100%; flex-wrap: nowrap; overflow-x: auto; white-space: nowrap; padding-bottom: 4px; scrollbar-width: thin; }
}

/* ---------- Portada de Inicio en carrusel (Computadoras, Celulares, Componentes) ---------- */
.hero-carousel { position: relative; display: grid; background: var(--ink); overflow: hidden; isolation: isolate; touch-action: pan-y; }
.hero-slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility 0s linear .7s; }
.hero-slide.is-active { opacity: 1; visibility: visible; transition: opacity .7s ease; z-index: 1; }
.hero-carousel .hero-copy { padding-bottom: 88px; }
.hero-model { color: var(--paper); font-weight: 600; }
.hero-carousel .hero-title { text-wrap: balance; }
/* Portadas con el producto en el centro de la foto (Celulares): el texto no pasa de la zona oscura de la izquierda */
.hero-slide.has-libre .hero-text { width: calc(var(--libre) - max(0px, (100vw - var(--wrap)) / 2) - clamp(16px, 3.2vw, 40px)); container-type: inline-size; }
.hero-slide.has-libre .hero-title { font-size: min(clamp(46px, 6.6vw, 96px), 17.5cqi); max-width: 6.2em; }
.hero-slide.has-libre .hero-media img { object-position: var(--foto-x) 50%; }
.hero-controls { position: absolute; left: 0; right: 0; bottom: 22px; z-index: 3; display: flex; align-items: center; gap: 6px; }
.hero-controls[hidden] { display: none; }
.hero-dots { display: flex; gap: 2px; }
.hero-dot { width: 32px; height: 32px; display: grid; place-items: center; padding: 0; border: 0; background: none; cursor: pointer; border-radius: 6px; }
.hero-dot span { display: block; width: 8px; height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .42); transition: width .3s ease, background-color .3s ease; }
.hero-dot:hover span { background: rgba(255, 255, 255, .75); }
.hero-dot[aria-current="true"] span { width: 24px; background: var(--paper); }
.hero-pause { width: 32px; height: 32px; display: grid; place-items: center; margin-left: 6px; padding: 0; border-radius: 99px; border: 1px solid rgba(255, 255, 255, .35); background: rgba(8, 15, 25, .35); color: var(--paper); cursor: pointer; }
.hero-pause:hover { border-color: var(--paper); }
.hero-pause svg { fill: currentColor; }
.hero-pause .i-play, .hero-pause[aria-pressed="true"] .i-pause { display: none; }
.hero-pause[aria-pressed="true"] .i-play { display: inline; }
.hero-dot:focus-visible, .hero-pause:focus-visible { outline: 2px solid var(--sky); outline-offset: 2px; }
/* Tablet en vertical y celular: foto arriba y texto abajo (con la portada tan alta, la foto al costado quedaría muy recortada) */
@media (max-width: 900px) {
  .hero-carousel .hero-slide { flex-direction: column; align-items: stretch; min-height: 0; }
  .hero-carousel .hero-media { position: relative; inset: auto; width: 100%; height: auto; max-width: none; aspect-ratio: 16 / 9; z-index: 0; }
  .hero-carousel .hero-media::before { background: linear-gradient(0deg, var(--ink) 0%, rgba(8, 15, 25, .5) 18%, transparent 42%); }
  .hero-carousel .hero-copy { padding-block: 0 66px; margin-top: -56px; position: relative; z-index: 1; }
  .hero-carousel .ilu-badge { top: 10px; bottom: auto; }
  .hero-carousel .hero-media img { object-position: var(--foco, 50%) 50%; }
  /* Celulares: texto e imagen en bloques separados, nada de texto sobre los teléfonos */
  .hero-slide.has-libre .hero-text { width: auto; container-type: normal; }
  .hero-slide.has-libre .hero-title { font-size: clamp(40px, 8vw, 64px); }
  .hero-slide.has-libre .hero-media::before { background: linear-gradient(0deg, var(--ink) 0%, transparent 14%); }
  .hero-slide.has-libre .hero-copy { margin-top: 0; padding-top: 18px; }
  .hero-slide.has-libre .ilu-badge { top: auto; bottom: 10px; }
  .hero-controls { bottom: 14px; }
}
@media (max-width: 760px) {
  .hero-carousel .hero-media { aspect-ratio: 16 / 11; }
  .hero-slide.has-libre .hero-title { font-size: clamp(40px, 12vw, 56px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide, .hero-slide.is-active, .hero-dot span { transition: none; }
}

/* ---------- Sillas gamer ---------- */
/* Tarjetas de material: más altas, para que se vea más de la silla */
.tiles-tall .tile-img { aspect-ratio: 4 / 3; }
/* Categoría sin modelos publicados: aviso con WhatsApp, sin filtros */
.listing-empty { grid-template-columns: minmax(0, 1fr); grid-template-areas: "results"; grid-template-rows: none; }
.empty-cat { max-width: 560px; margin: 8px auto 24px; padding: 32px 28px; text-align: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.empty-cat p { margin: 0 0 12px; }
.empty-cat p:last-child { margin: 18px 0 0; }
@media (max-width: 760px) {
  /* Portada con el producto entero: el texto va debajo de la foto, sin taparlo */
  .hero-sep .hero-media { width: 100%; max-width: none; aspect-ratio: 16 / 11; }
  .hero-sep .hero-copy { margin-top: 0; padding-top: 18px; }
  .hero-sep .hero-media::before { background: linear-gradient(0deg, var(--ink) 0%, transparent 12%); }
  .tiles-tall { grid-template-columns: 1fr; }
  .tiles-tall .tile-img { aspect-ratio: 3 / 2; }
}

/* ---------- Tarjetas de acceso con el nombre sobre la foto (todas las categorías) ----------
   Cada tarjeta tiene la proporción de su foto (--ar = ancho / alto) y el ancho de la fila se reparte según esa proporción:
   todas quedan del mismo alto, la foto ocupa la tarjeta de borde a borde y el producto no se recorta. */
.tiles-over { display: flex; gap: 16px; }
.tiles-over .tile { position: relative; display: block; flex: var(--ar, 1.6) 1 0; min-width: 0; border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--paper); background: var(--ink); box-shadow: 0 1px 2px rgba(8, 15, 25, .06), 0 8px 24px -12px rgba(8, 15, 25, .18); transition: box-shadow .25s var(--ease), translate .25s var(--ease); }
.tiles-over .tile:hover { box-shadow: 0 2px 4px rgba(8, 15, 25, .08), 0 14px 30px -12px rgba(8, 15, 25, .38); translate: 0 -2px; }
.tiles-over .tile-img { display: block; aspect-ratio: var(--ar, 1.6); }
.tiles-over .tile-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tiles-over .tile-label { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: flex-start; gap: 6px; padding: clamp(24px, 9%, 56px) 20px 16px; font: 700 clamp(17px, 1.7vw, 25px)/1.15 var(--font); letter-spacing: -.01em; color: var(--paper); text-shadow: 0 1px 12px rgba(8, 15, 25, .55); background: linear-gradient(0deg, rgba(8, 15, 25, .58) 0%, rgba(8, 15, 25, .24) 55%, transparent 100%); pointer-events: none; }
.tiles-over .tile-label svg { flex: none; width: 18px; height: 18px; transition: translate .2s var(--ease); }
.tiles-over .tile:hover .tile-label svg { translate: 3px 0; }
.tiles-over .tile:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; }
@media (max-width: 760px) {
  .tiles-over { flex-direction: column; gap: 12px; }
  .tiles-over .tile { flex: none; width: 100%; }
  .tiles-over .tile-label { padding: 44px 16px 12px; font-size: 19px; }
}

/* ---------- Panel: portadas del catálogo ---------- */
.cover-box { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; margin-bottom: 16px; background: #F7F9FB; }
.cover-box-imgs { display: grid; grid-template-columns: repeat(2, minmax(0, 220px)); gap: 12px; }
.cover-box-imgs figure { margin: 0; }
.cover-box-imgs img, .cover-box-preview { display: grid; place-items: center; width: 100%; aspect-ratio: 4 / 3; object-fit: contain; border-radius: 6px; background: #1D2127 url("/assets/img/fondo-portada.webp") center / cover; color: #C9D1DA; font-size: 13px; text-align: center; }
.cover-box-preview img { width: 100%; height: 100%; object-fit: cover; border-radius: 6px; }
.cover-box-imgs figcaption { font-size: 13px; margin-top: 4px; color: var(--muted, #5B6675); }
.cover-box-msg { margin: 10px 0 8px; font-size: 14px; }
.cover-box-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; }
.stats div { display: flex; flex-direction: column; gap: 2px; }
.stats strong { font-size: 28px; line-height: 1.1; }
.stats span { font-size: 13px; color: var(--muted, #5B6675); }
.portadas-log { max-height: 280px; overflow: auto; margin: 8px 0 0; padding-left: 18px; font-size: 13px; }
.portadas-log .err { color: var(--danger, #B42318); }
[data-portadas] progress { width: 100%; height: 10px; }
.portadas-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.portada-item { margin: 0; }
.portada-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; border-radius: 6px; background: #1D2127; }
.portada-item figcaption { font-size: 13px; margin: 6px 0; }
@media (max-width: 600px) { .cover-box-imgs { grid-template-columns: 1fr 1fr; } }
.alert-info { background: #EEF6FF; border-color: #BBD8F7; color: #0B3B66; } .alert-info a { color: inherit; font-weight: 600; }

/* ---------- Carrusel de Inicio: los dos botones siempre en una fila, mismo alto ---------- */
.hero-carousel .hero-ctas { flex-wrap: nowrap; align-items: stretch; }
.hero-carousel .hero-ctas .btn { display: inline-flex; align-items: center; justify-content: center; text-align: center; white-space: normal; line-height: 1.2; }
@media (max-width: 480px) {
  .hero-carousel .hero-ctas { gap: 10px; }
  .hero-carousel .hero-ctas .btn { flex: 1 1 0; min-width: 0; padding: 11px 12px; font-size: 15px; }
}
/* Foto del producto destacado (sin portada todavía): entera sobre el fondo gris carbón */
.hero-media.is-contain { background: #1D2127 url("/assets/img/fondo-portada.webp") center / cover; }
.hero-media.is-contain img { object-fit: contain; padding: 4% 6%; }

/* ---------- Inicio: beneficios y reseñas de Google ---------- */
.trust .trust-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; display: flex; flex-direction: column; color: inherit; text-decoration: none; }
a.trust-card:hover { border-color: var(--blue); }
.trust .star, .stars { color: var(--blue); }
.explore-all { margin: 14px 0 0; }
/* ---------- «Lo que dicen nuestros clientes»: banda oscura con reseñas de Google en carrusel continuo ---------- */
.rv-band { background: var(--ink); color: var(--paper); padding: clamp(40px, 6vw, 72px) 0 clamp(32px, 5vw, 56px); margin: 24px 0 40px; overflow: hidden; }
.rv-header { display: flex; justify-content: space-between; align-items: center; gap: 16px 32px; flex-wrap: wrap; margin-bottom: clamp(22px, 3vw, 36px); }
.rv-title { font: 800 clamp(30px, 4.2vw, 52px)/1.05 var(--display); letter-spacing: -.02em; margin: 0; color: var(--paper); }
.rv-title span { color: var(--sky); }
.rv-actions { display: flex; align-items: center; gap: 12px 22px; flex-wrap: wrap; }
.rv-summary { display: flex; align-items: center; gap: 10px; margin: 0; color: var(--mist); font-size: 15px; }
.rv-summary strong { font: 800 34px/1 var(--display); color: var(--paper); }
.rv-band .stars { color: #F5B301; letter-spacing: 2px; }
.rv-band .stars .off { color: rgba(255, 255, 255, .22); }
.rv-all { color: var(--mist); font-weight: 600; text-decoration: none; white-space: nowrap; }
.rv-all:hover, .rv-all:focus-visible { color: var(--paper); text-decoration: underline; text-underline-offset: 4px; }
.rv-write { background: transparent; color: var(--paper); border: 1.5px solid rgba(255, 255, 255, .35); border-radius: 999px; padding: 10px 22px; font-weight: 700; }
.rv-write:hover, .rv-write:focus-visible { border-color: var(--sky); color: var(--paper); }
.rv-empty { color: var(--mist); margin: 0; }
.rv-carousel { --gap: 22px; --card-w: clamp(280px, 30vw, 460px); position: relative; }
/* Bordes que se desvanecen a los costados (como en el ejemplo) */
.rv-carousel::before, .rv-carousel::after { content: ""; position: absolute; top: 0; bottom: 56px; width: clamp(16px, 6vw, 90px); z-index: 2; pointer-events: none; }
.rv-carousel::before { left: 0; background: linear-gradient(90deg, var(--ink), transparent); }
.rv-carousel::after { right: 0; background: linear-gradient(270deg, var(--ink), transparent); }
.rv-viewport { overflow-x: auto; scrollbar-width: none; outline-offset: 4px; padding: 4px 0; }
.rv-viewport::-webkit-scrollbar { display: none; }
.rv-viewport:focus-visible { outline: 2px solid var(--sky); }
.rv-track { display: flex; gap: var(--gap); width: max-content; padding: 0 clamp(16px, 3.2vw, 40px); }
.rv-card { width: var(--card-w); flex: none; background: #111A27; border: 1px solid rgba(169, 180, 194, .16); border-radius: 18px; padding: 26px 28px 22px; display: flex; flex-direction: column; gap: 14px; min-height: 300px; }
.rv-head { display: flex; align-items: center; gap: 14px; min-width: 0; }
.rv-avatar { width: 48px; height: 48px; border-radius: 50%; flex: none; object-fit: cover; }
.rv-initials { display: grid; place-items: center; background: var(--tone, var(--blue)); color: #fff; font: 700 19px/1 var(--font); }
.rv-who { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.rv-name { font-size: 17px; color: var(--paper); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rv-when { color: var(--mist); font-size: 14px; }
.rv-card .stars { font-size: 18px; }
.rv-text { margin: 0; font-size: 16px; line-height: 1.6; color: #E4E9EF; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; flex: 1; }
.rv-source { margin: 0; color: var(--mist); font-size: 13px; letter-spacing: .02em; }
.rv-controls { display: flex; justify-content: flex-end; margin-top: 16px; }
.rv-pause { background: none; border: 1px solid rgba(255, 255, 255, .25); color: var(--mist); border-radius: 999px; padding: 6px 14px; font: 600 13px var(--font); cursor: pointer; min-height: 36px; }
.rv-pause:hover, .rv-pause:focus-visible { color: var(--paper); border-color: var(--sky); }
@media (max-width: 640px) {
  .rv-carousel { --card-w: 82vw; --gap: 14px; }
  .rv-card { padding: 22px 20px 18px; min-height: 260px; }
  .rv-actions { width: 100%; }
  .rv-write { flex: 1; text-align: center; }
}
.stars { letter-spacing: 1px; font-size: 18px; }
.stars .off { color: #C9D1DA; }

/* ---------- Componentes: portadas dentro del listado (un solo panel lateral) ---------- */
/* La columna derecha apila portadas → buscador y orden → contador → productos. La fila de productos es flexible,
   así el panel lateral (más alto) no agranda las filas de arriba ni empuja el buscador. */
.listing.has-intro { grid-template-areas: "side intro" "side results"; grid-template-rows: auto 1fr; }
.listing-intro { grid-area: intro; margin-bottom: 28px; min-width: 0; }
.listing-intro .section-title { margin-top: 0; }
@media (max-width: 920px) {
  .listing.has-intro { grid-template-areas: "intro" "results"; grid-template-rows: none; }
}
/* Paginación del listado */
.pager { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 28px 0 8px; flex-wrap: wrap; }
.pager-nums { display: flex; gap: 6px; align-items: center; }
.pager-num { min-width: 40px; height: 40px; display: grid; place-items: center; border-radius: 6px; border: 1px solid var(--line); background: var(--card); text-decoration: none; color: inherit; font-weight: 600; }
.pager-num[aria-current="page"] { background: var(--blue); border-color: var(--blue); color: var(--ink); }
.pager .disabled { opacity: .45; pointer-events: none; }
.pager-gap { color: var(--slate-2); }
.price-uyu { flex-basis: 100%; color: var(--link); font-weight: 600; font-size: 16px; }
.price-uyu small { color: var(--slate-2); font-weight: 400; font-size: 13px; }
.compare-tools { margin: 0 0 14px; }
.pay-currency { border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 14px 12px; margin: 12px 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.pay-currency legend { font-weight: 700; padding: 0 4px; }
.pay-currency .check { margin: 0; }
.pay-currency .fine { flex-basis: 100%; margin: 4px 0 0; }
.credit-note { color: var(--link); }

/* ---------- Ficha: especificaciones ordenadas (una por fila) ---------- */
.spec-sheet h2 { margin-bottom: 10px; }
.spec-group { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 16px; overflow: hidden; }
.spec-group h3 { margin: 0; padding: 12px 16px 10px; font-size: 15px; letter-spacing: .02em; text-transform: uppercase; color: var(--slate-2); background: #F8FAFC; border-bottom: 1px solid var(--line); }
.spec-list { margin: 0; }
.spec-row { display: grid; grid-template-columns: minmax(150px, 38%) minmax(0, 1fr); gap: 4px 16px; padding: 10px 16px; border-bottom: 1px solid var(--line); }
.spec-row:last-child { border-bottom: 0; }
.spec-row dt { font-weight: 700; color: var(--ink); }
.spec-row dd { margin: 0; overflow-wrap: anywhere; }
.spec-main .spec-row dd { font-weight: 500; }
.product-desc p { line-height: 1.55; }
@media (max-width: 520px) {
  .spec-row { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .spec-row dt { font-size: 14px; color: var(--slate-2); }
}
/* Panel: portadas de todas las fotos del producto */
.cover-box-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.cover-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.cover-photo { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 8px; }
.cover-photo-imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.cover-photo-imgs > img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: #F3F5F8; border-radius: 6px; }
.cover-photo figcaption { font-size: 13px; margin: 6px 0 4px; }
.cover-state { font-weight: 700; }
.cover-state.st-lista { color: #157A3D; } .cover-state.st-error { color: #B42318; } .cover-state.st-dudosa { color: #B54708; } .cover-state.st-procesando { color: var(--link); }
.cover-photo .cover-box-actions { margin: 0; gap: 4px; }

/* Tarjetas: producto visible centrado y ampliado según sus límites medidos (la foto sigue entera, sin deformar) */
.pcard-media > img.fit { position: absolute; height: auto; max-width: none; object-fit: fill; }

/* Filtro «Marca» desplegable */
.facet-drop { padding: 4px 0 6px; }
.facet-drop > summary { list-style: none; cursor: pointer; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 8px; padding: 10px 0; font-weight: 700; font-size: 17px; min-height: 44px; }
.facet-drop > summary::-webkit-details-marker { display: none; }
.facet-drop > summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin: -4px 4px 0 auto; transition: transform .15s; }
.facet-drop[open] > summary::after { transform: rotate(-135deg); margin-top: 4px; }
.facet-drop-title { display: inline-flex; align-items: center; gap: 6px; }
.facet-drop-sel { order: 3; flex-basis: 100%; font-weight: 400; font-size: 13px; color: var(--slate-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.facet-drop-list { padding-bottom: 6px; }

/* Ficha: resumen, características principales y condiciones */
.product-summary p { font-size: 16px; line-height: 1.55; margin: 0 0 4px; }
.features h3, .product-notes h3 { font-size: 16px; margin: 14px 0 6px; }
.feature-list { margin: 0; padding-left: 20px; display: grid; gap: 6px; line-height: 1.5; }
.feature-list li::marker { color: var(--blue); }
.feature-list strong { font-weight: 600; }
.sum-note { margin: 10px 0 0; padding: 10px 12px; border-left: 3px solid var(--blue); background: #EEF5FC; border-radius: 6px; font-size: 14px; line-height: 1.45; }

/* ---------- Tarjeta de Computadoras (/computadoras): la torre es la protagonista ----------
   Exterior (.pcard-pc): sombra y elevación. Interior (.pcard-pc-inner): recorta la foto en las esquinas. */
.grid-pc { grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr)); gap: 24px; padding: 4px 2px 10px; }
.pcard-pc { position: relative; border-radius: 16px; background: var(--ink); box-shadow: 0 4px 12px rgba(8, 15, 25, .12);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.pcard-pc-inner { height: 100%; display: flex; flex-direction: column; border-radius: inherit; overflow: hidden; background: var(--ink); color: var(--paper); }
/* Foto: 4:5 (partimos de 9:10 y se ajustó en la grilla para que ocupe cerca de dos tercios), reservada desde el inicio */
.pcard-pc-media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; isolation: isolate;
  background: radial-gradient(120% 90% at 0% 45%, rgba(0, 136, 238, .55) 0%, rgba(0, 136, 238, .14) 38%, transparent 62%),
    radial-gradient(90% 70% at 100% 30%, rgba(0, 136, 238, .22) 0%, transparent 60%), var(--ink); }
.pcard-pc-photo { position: absolute; inset: 0; display: block; }
.pcard-pc-photo > img { width: 100%; height: 100%; display: block; }
.pcard-pc-media.is-photo .pcard-pc-photo > img { object-fit: cover; object-position: 50% 50%; }
.pcard-pc-media.is-cutout .pcard-pc-photo > img { object-fit: contain; padding: 8% 6% 4%; filter: drop-shadow(0 18px 22px rgba(0, 0, 0, .45)); }
/* Foto de proveedor sobre blanco: entera, en una placa clara apoyada sobre el azul noche (sin franja gris) */
.pcard-pc-media.is-plain .pcard-pc-photo { inset: 9% 8% 11%; }
.pcard-pc-media.is-plain .pcard-pc-photo > img { object-fit: contain; padding: 6%; background: #fff; border-radius: 12px; box-shadow: 0 14px 28px rgba(0, 0, 0, .35); }
/* Luz lateral azul y fundido del borde inferior con la ficha (desde el contenedor, sin tocar la foto) */
.pcard-pc-media::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(0deg, var(--ink) 0%, rgba(8, 15, 25, .72) 7%, rgba(8, 15, 25, 0) 26%),
    linear-gradient(90deg, rgba(0, 136, 238, .26) 0%, rgba(0, 136, 238, 0) 30%); }
.pcard-pc-media.is-cutout::after, .pcard-pc-media.is-plain::after { background: linear-gradient(0deg, var(--ink) 0%, rgba(8, 15, 25, 0) 16%); }
.pcard-pc-media .ph { background: transparent; color: var(--mist); }
/* Etiquetas, ampliar e «Imagen ilustrativa» sobre la foto */
.pcard-pc-tags { position: absolute; top: 12px; left: 12px; z-index: 2; display: flex; flex-wrap: wrap; gap: 6px; max-width: calc(100% - 70px); pointer-events: none; }
.pc-tag { font: 700 13px/1 var(--font); letter-spacing: .01em; padding: 7px 10px; border-radius: 7px; color: var(--paper); background: rgba(8, 15, 25, .78); border: 1px solid rgba(105, 199, 255, .75); }
.pc-tag-new { background: var(--sky); border-color: var(--sky); color: var(--ink); }
.pc-tag-cond { background: #FFD58A; border-color: #FFD58A; color: #3D2600; }
.pc-tag-demo { background: #FDE2E1; border-color: #FDE2E1; color: #8A1C14; }
.pc-zoom { position: absolute; top: 12px; right: 12px; z-index: 3; width: 40px; height: 40px; display: grid; place-items: center; padding: 0; cursor: zoom-in;
  border-radius: 9px; border: 1px solid rgba(105, 199, 255, .75); background: rgba(8, 15, 25, .72); color: var(--paper); transition: background .15s, border-color .15s; }
.pc-zoom svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pc-zoom:hover { background: rgba(0, 136, 238, .55); border-color: var(--sky); }
.pc-ilu { position: absolute; right: 12px; bottom: 14px; z-index: 2; font-size: 12px; line-height: 1; padding: 6px 9px; border-radius: 6px; background: rgba(8, 15, 25, .78); color: var(--paper); pointer-events: none; }
/* Panel de la ficha: línea celeste fina en la unión con un remate diagonal azul */
.pcard-pc-body { position: relative; flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 18px 18px 14px; background: var(--ink); border-top: 1px solid var(--sky); }
.pcard-pc-body::before { content: ""; position: absolute; left: 0; top: -1px; width: 27%; height: 4px; background: var(--blue); clip-path: polygon(0 0, 100% 0, calc(100% - 4px) 100%, 0 100%); }
.pcard-pc-title { margin: 0; font: 800 20px/1.12 var(--display); letter-spacing: -.01em; text-wrap: balance; min-height: 2.24em; }
.pcard-pc-title a { color: var(--paper); text-decoration: none; }
.pcard-pc-title a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--sky); text-underline-offset: 3px; }
.pcard-pc-price { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; margin-top: auto; font-variant-numeric: tabular-nums; }
.pc-line { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 10px; }
.pc-from { font-size: 12px; color: var(--mist); }
.pc-usd { font: 800 30px/1.05 var(--display); letter-spacing: -.02em; color: #fff; white-space: nowrap; }
.pc-was { font-size: 13px; color: var(--mist); }
.pc-uyu { font-size: 16px; font-weight: 700; color: var(--sky); white-space: nowrap; }
.pcard-pc-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 10px; min-height: 52px; padding-top: 12px; margin-top: 4px; border-top: 1px solid rgba(169, 180, 194, .18); }
.pc-stock { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; line-height: 1.25; color: var(--mist); max-width: 100%; }
.pc-stock:is(.pc-ok, .pc-low, .pc-order) { flex: none; white-space: nowrap; }
.pc-stock::before { content: ""; flex: none; width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.pc-stock.pc-ok, .pc-stock.pc-low { color: #4ADE80; }
.pc-stock.pc-order { color: var(--sky); }
.pc-stock.pc-ask { color: #FFC266; }
.pc-compare { display: inline-flex; align-items: center; gap: 8px; flex: none; font-size: 14px; color: var(--paper); cursor: pointer; min-height: 36px; }
.pc-compare input { flex: none; width: 18px; height: 18px; margin: 0; accent-color: var(--blue); cursor: pointer; }
/* Foco con teclado: visible sobre el azul noche */
.pcard-pc a:focus-visible, .pcard-pc button:focus-visible, .pc-compare input:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; border-radius: 4px; }
.pc-zoom:focus-visible { outline-offset: 2px; border-radius: 9px; }
.pcard-pc:focus-within { box-shadow: 0 9px 18px rgba(8, 15, 25, .17); }
/* Elevación sólo con mouse; en pantallas táctiles queda la sombra base */
@media (hover: hover) and (pointer: fine) {
  .pcard-pc:hover { transform: translateY(-4px); box-shadow: 0 9px 18px rgba(8, 15, 25, .17); }
}
@media (prefers-reduced-motion: reduce) {
  .pcard-pc { transition: box-shadow .2s; }
  .pcard-pc:hover { transform: none; box-shadow: 0 9px 18px rgba(8, 15, 25, .17); }
}
@media (max-width: 760px) {
  .grid-pc { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; padding: 2px 0 8px; }
  .pcard-pc { border-radius: 12px; }
  .pcard-pc-tags { top: 8px; left: 8px; gap: 4px; max-width: calc(100% - 52px); }
  .pc-tag { font-size: 11px; padding: 5px 7px; border-radius: 6px; }
  .pc-zoom { top: 8px; right: 8px; width: 34px; height: 34px; border-radius: 8px; }
  .pc-zoom svg { width: 17px; height: 17px; }
  .pc-ilu { right: 8px; bottom: 10px; font-size: 10.5px; padding: 5px 7px; }
  .pcard-pc-body { padding: 12px 11px 10px; gap: 8px; }
  .pcard-pc-title { font-size: 15.5px; }
  .pc-usd { font-size: 22px; }
  /* El precio anterior pasa al renglón de los pesos: así todos los precios quedan a la misma altura */
  .pcard-pc-price { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: baseline; column-gap: 6px; row-gap: 2px; }
  .pc-line { display: contents; }
  .pc-from, .pc-usd { grid-column: 1 / -1; }
  .pc-uyu { grid-row: 3; grid-column: 1; }
  .pc-was { grid-row: 3; grid-column: 2; font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .pc-uyu { font-size: 13.5px; }
  .pcard-pc-foot { gap: 4px 8px; padding-top: 9px; }
  .pc-stock, .pc-compare { font-size: 12.5px; }
  .pc-compare { min-height: 32px; }
}
@media (max-width: 380px) { .grid-pc { grid-template-columns: 1fr; } .pcard-pc-title { font-size: 19px; } .pc-usd { font-size: 28px; } }

/* Ampliar la foto (botón de la tarjeta de Computadoras) */
.zoom-dlg { padding: 0; border: 0; background: transparent; max-width: min(92vw, 1100px); max-height: 92vh; overflow: visible; }
.zoom-dlg::backdrop { background: rgba(8, 15, 25, .86); }
.zoom-dlg img { display: block; max-width: min(92vw, 1100px); max-height: 88vh; width: auto; height: auto; border-radius: 12px; background: var(--ink); }
.zoom-close { position: absolute; top: -14px; right: -14px; width: 40px; height: 40px; display: grid; place-items: center; padding: 0; border-radius: 50%; border: 1px solid var(--sky); background: var(--ink); color: var(--paper); cursor: pointer; }
.zoom-close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.zoom-close:focus-visible { outline: 2px solid var(--sky); outline-offset: 2px; }
@media (max-width: 760px) { .zoom-close { top: 8px; right: 8px; } }

/* ---------- Hogar y Oficina: menú desplegable (escritorio), acordeón (celular), tarjetas de rubro ---------- */
.nav-drop { position: relative; display: flex; }
.main-nav a.nav-drop-btn { display: inline-flex; align-items: center; gap: 6px; }
.nav-drop-btn svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .15s; }
.nav-drop.open .nav-drop-btn { color: var(--sky); }
.nav-drop.open .nav-drop-btn svg { transform: rotate(180deg); }
.nav-drop-panel { position: absolute; top: calc(100% + 1px); right: -12px; z-index: 50; width: min(680px, calc(100vw - 32px)); padding: 8px 12px 4px;
  background: var(--navy); border: 1px solid rgba(169, 180, 194, .22); border-top: 2px solid var(--blue); border-radius: 0 0 12px 12px;
  box-shadow: 0 18px 40px -12px rgba(8, 15, 25, .55); }
/* (23/11/2026) Más aire entre rubros: filas de igual alto, separadores y relleno de cada tarjeta. La regla general
   «.nav-drop-panel a { padding: 0 }» le ganaba a la del ítem y los dejaba pegados; ahora el ítem tiene más especificidad. */
.drop-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; }
.drop-grid li { display: flex; border-bottom: 1px solid rgba(169, 180, 194, .12); }
.drop-grid li:nth-last-child(-n+2):nth-child(odd), .drop-grid li:last-child { border-bottom: 0; }
.main-nav .nav-drop-panel a { white-space: normal; padding: 0; border: 0; font-size: inherit; }
.main-nav .nav-drop-panel a[aria-current] { border: 0; }
.main-nav .nav-drop-panel .drop-item { flex: 1; display: flex; gap: 10px; align-items: flex-start; margin: 3px 0; padding: 8px 8px; border-radius: 8px; color: var(--paper); text-decoration: none; }
.main-nav .drop-item:hover, .main-nav .drop-item:focus-visible { background: rgba(0, 136, 238, .14); color: #fff; }
.drop-ico { flex: none; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 8px; background: rgba(0, 136, 238, .16); color: var(--sky); }
.drop-ico svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.drop-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; padding-top: 1px; }
.drop-text strong { font-size: 14.5px; font-weight: 700; line-height: 1.2; }
.drop-text small { font-size: 12.5px; line-height: 1.4; color: var(--mist); }
.main-nav .nav-drop-panel .drop-all { display: flex; justify-content: space-between; align-items: center; margin: 4px 0 2px; padding: 10px 8px; font-size: 14.5px; border-top: 1px solid rgba(169, 180, 194, .22); border-radius: 0; color: var(--sky); font-weight: 700; text-decoration: none; }
.main-nav .drop-all:hover, .main-nav .drop-all:focus-visible { color: #fff; }
.drop-all svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.main-nav .nav-drop-panel a:focus-visible { outline: 2px solid var(--sky); outline-offset: 2px; }
/* Celular: acordeón dentro del menú */
.mm-acc { border-bottom: 1px solid rgba(169, 180, 194, .1); }
.mm-acc > summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 14px clamp(16px, 4vw, 40px); color: var(--paper); font-size: 17px; cursor: pointer; }
.mm-acc > summary::-webkit-details-marker { display: none; }
.mm-acc > summary svg { transition: transform .15s; }
.mm-acc[open] > summary { color: var(--sky); }
.mm-acc[open] > summary svg { transform: rotate(180deg); }
.mobile-menu .mm-acc > a { justify-content: flex-start; gap: 12px; align-items: flex-start; padding: 11px clamp(16px, 4vw, 40px) 11px calc(clamp(16px, 4vw, 40px) + 8px); font-size: 15px; background: rgba(24, 35, 50, .6); }
.mobile-menu .mm-acc > a .drop-text strong { font-size: 15px; }
.mobile-menu .mm-acc > a.mm-all { justify-content: space-between; color: var(--sky); font-weight: 700; }
.mobile-menu .drop-ico svg { width: 18px; height: 18px; stroke-width: 1.8; }
/* Página: categorías (rubros) como chips compactos — pedido del dueño, 24/11/2026: que ocupe menos y se lleguen
   rápido a los productos. Escritorio: una o dos filas; celular: una sola fila que se desliza de costado. */
.rubros-section { padding-bottom: 0; }
.rubro-title { font: 700 15px/1.2 var(--font); color: var(--slate-2); margin: 0 0 10px; letter-spacing: 0; }
.rubro-grid { list-style: none; margin: 0 0 4px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.rubro-card { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; background: var(--card); border: 1px solid var(--line); border-radius: 999px;
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: 14.5px; line-height: 1.2; white-space: nowrap; transition: border-color .15s, background .15s; }
.rubro-card .drop-ico { background: #E6F2FD; color: var(--link); width: 30px; height: 30px; border-radius: 999px; flex: none; }
.rubro-card .drop-ico svg { width: 17px; height: 17px; }
.rubro-card:hover { border-color: #B9D3EE; background: #F5FAFF; }
.rubro-card:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.rubro-card.is-active { border-color: var(--blue); background: #EAF5FD; box-shadow: inset 0 0 0 1px var(--blue); }
.rubro-head { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 12px); }
.btn-arrow { display: inline-flex; align-items: center; gap: 10px; }
.btn-arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 640px) {
  .rubro-grid { flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; scrollbar-width: none; margin: 0 -16px 4px; padding: 0 16px 4px; }
  .rubro-grid::-webkit-scrollbar { display: none; }
  .rubro-grid li { scroll-snap-align: start; flex: none; }
  .rubro-card { font-size: 14px; }
  .rubro-head { margin-top: 12px; padding-top: 12px; }
}

/* ---------- Pedido: confirmación, cambios, medios de pago ---------- */
.order-page .actions { align-items: center; margin: 12px 0 0; }
.order-page .actions form { margin: 0; }
.ok-note { border-color: var(--ok); }
.bank .pre { white-space: pre-line; background: var(--soft); border-radius: 8px; padding: 12px 14px; }
.cmp-table { width: 100%; border-collapse: collapse; margin: 8px 0 12px; font-size: 15px; }
.cmp-table th, .cmp-table td { text-align: left; padding: 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.change-pay { margin-top: 14px; }
.change-pay summary { cursor: pointer; font-weight: 600; }
/* Panel: verificación de cada artículo */
.verify-items { display: grid; gap: 12px; margin: 12px 0; }
.verify-item { border: 1px solid var(--line); border-radius: 10px; padding: 12px 16px; margin: 0; min-width: 0; }
.verify-item legend { padding: 0 6px; font-size: 15px; }
.verify-item .field-row { flex-wrap: wrap; }
/* Crédito mediante Mercado Pago: desglose (precio contado, costo adicional estimado, total estimado) */
.credit-box { margin: 12px 0 4px; padding: 12px 14px; border: 1px solid var(--line); border-left: 4px solid var(--blue); border-radius: 8px; background: var(--soft); }
.credit-box .sum-row { margin: 4px 0; }
.credit-box .sum-total { border-top: 1px solid var(--line); padding-top: 8px; margin-top: 8px; font-size: 1.05em; }
.credit-box .fine { margin: 8px 0 0; }

/* ---------- Panel › Ensambles ---------- */
.admin .ens-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.admin .ens-head .actions { margin: 0; } .admin .ens-head form.inline, .admin form.inline { display: inline; }
.admin .ens-title { display: flex; gap: 14px; align-items: flex-start; } .admin .ens-title img { width: 72px; height: 72px; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.admin .ens-name { font: 800 24px/1.2 var(--display); border: 1px solid transparent; border-radius: 6px; padding: 4px 6px; width: min(100%, 640px); background: transparent; }
.admin .ens-name:hover, .admin .ens-name:focus { border-color: #C5CEDA; background: #fff; }
.admin .ens-stats .stat strong { font-size: 24px; }
.admin .ens-bulk { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 4px 0 12px; }
.admin .ens-list, .admin .ens-opts, .admin .ens-results, .admin .ens-hist, .admin .ens-alerts, .admin .ens-sugg, .admin .ens-compat { list-style: none; padding: 0; margin: 0; }
.admin .ens-row { display: grid; grid-template-columns: auto 64px minmax(0, 1fr) auto auto; gap: 14px; align-items: center; padding: 12px 4px; border-bottom: 1px solid var(--line); }
.admin .ens-thumb img, .admin .ens-thumb span { width: 64px; height: 64px; object-fit: contain; border-radius: 6px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; font-size: 11px; color: var(--slate-2); }
.admin .ens-info { display: flex; flex-direction: column; gap: 3px; min-width: 0; } .admin .ens-info a { color: var(--ink); text-decoration: none; }
.admin .ens-info small { color: var(--slate-2); } .admin .ens-pills { display: flex; flex-wrap: wrap; gap: 4px; }
.admin .ens-nums, .admin .ens-opt-nums { display: flex; gap: 16px; margin: 0; text-align: right; } .admin .ens-nums dt, .admin .ens-opt-nums dt { font-size: 12px; color: var(--slate-2); }
.admin .ens-nums dd, .admin .ens-opt-nums dd { margin: 0; font-variant-numeric: tabular-nums; white-space: nowrap; }
.admin .ens-alerts li { margin-bottom: 6px; } .admin .ens-hist li { padding: 6px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.admin .ens-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; align-items: start; }
.admin .ens-col-side { position: sticky; top: 12px; }
.admin .ens-slot-head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: flex-end; }
.admin .ens-slot-head h3 { margin: 0; } .admin .ens-slot-cfg { display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-end; }
.admin .field.sm { margin: 0; } .admin .field.sm span { font-size: 12px; } .admin .field.sm input { width: 120px; padding: 6px 8px; }
.admin .ens-opt, .admin .ens-result { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 12px; padding: 10px; border: 1px solid var(--line); border-radius: 8px; margin-top: 8px; background: #fff; }
.admin .ens-opt.is-chosen { border-color: var(--blue); box-shadow: inset 3px 0 0 var(--blue); } .admin .ens-opt.is-off, .admin .ens-result.is-off { background: #FAFBFC; }
.admin .ens-opt-img img, .admin .ens-opt-img span { width: 56px; height: 56px; object-fit: contain; border-radius: 6px; background: #fff; display: grid; place-items: center; font-size: 11px; color: var(--slate-2); border: 1px solid var(--line); }
.admin .ens-result .ens-opt-img img { width: 48px; height: 48px; }
.admin .ens-opt-main { display: flex; flex-direction: column; gap: 2px; min-width: 0; } .admin .ens-opt-main small { color: var(--slate-2); }
.admin .ens-opt-ctrl { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; padding-top: 6px; border-top: 1px dashed var(--line); }
.admin .ens-opt-btns { display: flex; gap: 4px; align-items: center; margin-left: auto; }
.admin .ens-result { grid-template-columns: 48px minmax(0, 1fr) auto auto; align-items: center; }
.admin .ok-text { color: #0B5A37 !important; } .admin .err-text { color: #8A1C14 !important; }
.admin .btn-link.danger { color: #8A1C14; }
.admin .ens-add { margin-top: 12px; } .admin .ens-add summary { cursor: pointer; color: var(--link); font-weight: 600; }
.admin .ens-search { margin-top: 10px; } .admin .ens-search .filters-inline input[data-q] { width: 260px; }
.admin .ens-results { max-height: 420px; overflow: auto; }
.admin .ens-manual { margin-top: 12px; } .admin .ens-manual h4 { margin: 0 0 6px; font-size: 14px; }
.admin .ens-sugg li { padding: 4px 0; }
.admin .ens-compat li { padding: 6px 0 6px 12px; border-left: 4px solid var(--line); margin-bottom: 6px; font-size: 14px; }
.admin .ens-compat .c-ok { border-color: #2E9E61; } .admin .ens-compat .c-revisar { border-color: #E3A11A; } .admin .ens-compat .c-incompatible { border-color: #C8352B; background: #FEF3F2; }
.admin .ens-sum { display: grid; gap: 6px; margin: 0 0 12px; } .admin .ens-sum div { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; }
.admin .ens-sum dt { color: var(--slate-2); } .admin .ens-sum dd { margin: 0; font-variant-numeric: tabular-nums; font-weight: 600; }
.admin .ens-sum .total { border-top: 1px solid var(--line); padding-top: 6px; } .admin .ens-sum .neg dd { color: #8A1C14; }
.admin .ens-sum .final { background: #F1F8FE; border-radius: 6px; padding: 8px; } .admin .ens-sum .final dd { font: 800 22px/1 var(--display); }
.admin .ens-price .field { margin-bottom: 10px; } .admin .btn-block { width: 100%; }
@media (max-width: 1000px) {
  .admin .ens-grid { grid-template-columns: 1fr; } .admin .ens-col-side { position: static; order: -1; }
}
@media (max-width: 700px) {
  .admin .ens-row { grid-template-columns: auto 52px minmax(0, 1fr); } .admin .ens-thumb img, .admin .ens-thumb span { width: 52px; height: 52px; }
  .admin .ens-row .ens-nums { grid-column: 2 / -1; justify-content: flex-start; text-align: left; } .admin .ens-row > .btn { grid-column: 2 / -1; justify-self: start; }
  .admin .ens-opt { grid-template-columns: 48px minmax(0, 1fr); } .admin .ens-opt-nums { grid-column: 2; justify-content: flex-start; text-align: left; }
  .admin .ens-result { grid-template-columns: 48px minmax(0, 1fr); } .admin .ens-result .ens-opt-nums, .admin .ens-result .ens-opt-btns { grid-column: 2; margin-left: 0; }
  .admin .ens-search .filters-inline input, .admin .ens-search .filters-inline input[data-q] { width: 100%; }
}
.admin .filters-inline input[type="checkbox"] { width: auto; } .admin .filters-inline .check { display: inline-flex; align-items: center; gap: 6px; }
.admin .ens-result { grid-template-columns: 48px minmax(0, 1fr); align-items: start; }
.admin .ens-result .ens-opt-nums, .admin .ens-result .ens-opt-btns { grid-column: 2; margin-left: 0; justify-content: flex-start; text-align: left; }
.admin .ens-search .filters-inline input { width: 130px; } .admin .ens-search .filters-inline input[data-q] { width: 100%; flex: 1 1 100%; }
.admin .ens-slot-cfg .field.sm, .admin .ens-opt-ctrl .field.sm { flex: 0 0 auto; }
.admin .ens-title > div { flex: 1; min-width: 0; } .admin .ens-name { width: 100%; max-width: 640px; }
@media (max-width: 700px) {
  .admin .ens-slot-cfg { display: grid; grid-template-columns: 1fr 1fr; width: 100%; } .admin .ens-slot-cfg .field.sm input { width: 100%; }
  .admin .ens-name { font-size: 20px; } .admin .ens-title img { width: 56px; height: 56px; }
}
/* Ensambles: compra por proveedor y resumen de envíos */
.admin .ens-buy { margin-top: 12px; padding: 10px 12px; background: #F8FAFC; border: 1px solid var(--line); border-radius: 8px; }
.admin .ens-buy h4 { margin: 0 0 6px; font-size: 14px; } .admin .ens-buy p { margin: 4px 0; font-size: 14px; }
.admin .ens-offers { font-size: 13px; margin: 6px 0 10px; } .admin .ens-offers tr.is-chosen td, .admin .ens-logistics tr.is-chosen td { background: #EAF5FD; font-weight: 600; }
.admin .ens-buy .field.sm select { max-width: 100%; }
.admin .ens-logistics { margin-bottom: 16px; } .admin .ens-logistics details { margin: 8px 0; } .admin .ens-logistics summary { cursor: pointer; color: var(--link); }

/* ---------- Inicio: «Equipos destacados» (carrusel de PCs gama media/baja, 24/11/2026) ---------- */
.feat-pcs .section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.feat-nav { display: flex; gap: 8px; }
.feat-nav[hidden] { display: none; }
.feat-btn { width: 42px; height: 42px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: border-color .15s, background .15s; }
.feat-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.feat-prev svg { transform: rotate(180deg); }
.feat-btn:hover:not(:disabled) { border-color: var(--blue); background: #F1F8FE; }
.feat-btn:disabled { opacity: .35; cursor: default; }
.feat-btn:focus-visible, .feat-track:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.feat-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 16px) / 4); gap: 16px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x proximity;
  scrollbar-width: none; padding: 4px 2px 10px; }
.feat-track::-webkit-scrollbar { display: none; }
.feat-item { scroll-snap-align: start; min-width: 0; }
.feat-item .pcard-pc { height: 100%; }
.feat-item .pcard-pc-media { aspect-ratio: 4 / 3; max-height: 280px; flex: none; }
@media (max-width: 1100px) { .feat-track { grid-auto-columns: calc((100% - 2 * 16px) / 3); } }
@media (max-width: 800px) { .feat-track { grid-auto-columns: calc((100% - 16px) / 2); } }
@media (max-width: 560px) {
  .feat-track { grid-auto-columns: 80%; gap: 12px; margin: 0 -16px; padding: 4px 16px 10px; scroll-padding-left: 16px; }
  .feat-nav { display: none; }
}


/* ---------- Inicio: datos de confianza dentro de la banda oscura de reseñas (una sola sección) ---------- */
.rv-stats { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 0; margin-bottom: 26px; }
.rv-stats li { background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius); padding: 16px 18px; display: flex; flex-direction: column; transition: border-color .15s; }
.rv-stats a { display: flex; flex-direction: column; color: inherit; text-decoration: none; }
.rv-stats li:has(a:hover), .rv-stats li:has(a:focus-visible) { border-color: var(--sky); }
.rv-stats strong { font: 800 24px/1.15 var(--display); letter-spacing: -.02em; color: #fff; }
.rv-stats span { color: #A9B6C6; font-size: 14.5px; }
.rv-stats .star { color: var(--sky); }
@media (max-width: 800px) { .rv-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .rv-stats li { padding: 14px; } .rv-stats strong { font-size: 20px; } .rv-stats span { font-size: 13.5px; } }
.admin .table-wrap { overflow-x: auto; }

/* Computadoras: 4 equipos por fila en escritorio (pedido del dueño, 25/11/2026) */
@media (min-width: 1100px) {
  .grid-pc { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
}
/* Carga infinita de los listados: indicador mientras llega la página siguiente */
.grid-more { display: flex; justify-content: center; padding: 28px 0 8px; min-height: 40px; }
.grid-more-spin { width: 28px; height: 28px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--blue); opacity: 0; }
.grid-more.loading .grid-more-spin { opacity: 1; animation: grid-spin .8s linear infinite; }
@keyframes grid-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .grid-more.loading .grid-more-spin { animation: none; } }

/* =====================================================================================================
   /cotizar — Configurador de PC y recomendador por videojuegos (25/11/2026)
   ===================================================================================================== */
/* Portada de /cotizar: las dos opciones enteras (con su botón) apenas se abre la página, también en notebooks de
   pantalla baja (pedido del dueño, 25/11/2026); «¿Preferís que te asesoremos?» queda para cuando se desliza. */
.cfg-hero { background: var(--ink); color: #fff; padding: clamp(24px, 4vh, 44px) 0 100px; }
.cfg-hero h1 { font-size: clamp(32px, 4.4vw, 48px); margin: 4px 0 8px; letter-spacing: -.02em; }
.cfg-eyebrow { color: var(--sky); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: 13px; margin: 0; }
.cfg-lead { color: var(--mist); max-width: 900px; font-size: 18px; margin: 0; }
.cfg-modes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: -88px; position: relative; }
.cfg-mode { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; color: inherit; text-decoration: none; box-shadow: 0 10px 30px rgba(8, 15, 25, .08); transition: transform .2s ease, box-shadow .2s ease; }
.cfg-mode:hover, .cfg-mode:focus-visible { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(8, 15, 25, .14); }
.cfg-mode img { width: 100%; height: clamp(140px, 22vh, 220px); object-fit: cover; background: var(--navy); }
.cfg-mode-body { padding: 18px 24px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.cfg-mode-body h2 { margin: 0; font-size: 24px; }
.cfg-mode-body p { margin: 0; color: var(--slate-2); flex: 1; }
.cfg-mode-body .btn { align-self: flex-start; }
.cfg-help { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 28px; padding: 22px 26px; background: var(--soft); border-radius: 12px; }
.cfg-help h2 { margin: 0 0 4px; font-size: 20px; }
.cfg-help p { margin: 0; color: var(--slate-2); }
@media (max-width: 760px) { .cfg-hero { padding: 36px 0 96px; } .cfg-modes { grid-template-columns: 1fr; gap: 16px; } .cfg-mode img { height: 160px; } .cfg-help { flex-direction: column; align-items: flex-start; } }

.cfg-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 8px auto 16px; }
.cfg-top h1 { margin: 0 0 4px; font-size: clamp(26px, 4vw, 36px); }
.cfg-top p { margin: 0; }
.cfg-top-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.cfg-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; padding-bottom: 48px; }
.cfg-tip { background: #E3F1FC; color: #00508C; border-radius: 10px; padding: 12px 16px; margin: 0 0 16px; font-size: 15px; }
.cfg-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.cfg-step { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; scroll-margin-top: 90px; transition: border-color .2s; }
.cfg-step.open { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0, 136, 238, .12); }
.cfg-step.miss:not(.has) { border-left: 4px solid var(--warn); }
.cfg-step-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.cfg-step-head h2 { margin: 0; font-size: 17px; flex: 1; }
.cfg-num { width: 28px; height: 28px; border-radius: 50%; background: var(--soft); color: var(--slate); display: inline-grid; place-items: center; font-weight: 700; font-size: 14px; flex: none; }
.cfg-num.done { background: var(--ok); color: #fff; }
.cfg-badge { font-size: 12px; font-weight: 600; color: #7A4A00; background: #FFF1D6; border-radius: 999px; padding: 2px 8px; }
.cfg-badge.soft { color: var(--slate-2); background: var(--soft); }
.cfg-empty { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.cfg-pick { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto auto; gap: 14px; align-items: center; }
.cfg-pick.owned { grid-template-columns: minmax(0, 1fr) auto; }
.cfg-pick.out { opacity: .7; }
.cfg-pick img, .cfg-ph { width: 72px; height: 72px; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.cfg-pick-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cfg-pick-info strong { font-size: 15px; overflow-wrap: anywhere; }
.cfg-pick-info small, .cfg-pick-price small { color: var(--slate-2); font-size: 12px; }
.cfg-pick-price { text-align: right; font-weight: 700; display: flex; flex-direction: column; }
.cfg-pick-act { display: flex; flex-direction: column; gap: 4px; align-items: flex-end; }
.cfg-qty { font-size: 13px; color: var(--slate-2); display: inline-flex; gap: 6px; align-items: center; margin-top: 4px; }
.cfg-picker { margin-top: 14px; border-top: 1px solid var(--line); padding-top: 14px; animation: cfg-in .18s ease; }
@keyframes cfg-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.cfg-pk-bar { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 12px; }
.cfg-pk-bar input[type=search] { flex: 1 1 220px; min-width: 0; }
.cfg-pk-bar input, .cfg-pk-bar select { height: 40px; border: 1px solid var(--line); border-radius: 8px; padding: 0 10px; font: inherit; background: #fff; }
.cfg-pk-list { display: flex; flex-direction: column; gap: 10px; max-height: 620px; overflow: auto; padding-right: 4px; }
.cfg-item { display: grid; grid-template-columns: 96px minmax(0, 1fr) 150px; gap: 14px; align-items: center; border: 1px solid var(--line); border-radius: 10px; padding: 10px; background: #fff; }
.cfg-item img, .cfg-item .cfg-ph { width: 96px; height: 96px; object-fit: contain; border: 0; }
.cfg-item.bad { background: #FFF8F7; }
.cfg-item-body h3 { margin: 0 0 4px; font-size: 15px; overflow-wrap: anywhere; }
.cfg-item-body ul { list-style: none; margin: 0 0 4px; padding: 0; font-size: 13px; color: var(--slate-2); display: flex; flex-wrap: wrap; gap: 2px 12px; }
.cfg-item-body ul span { color: var(--slate); font-weight: 600; }
.cfg-compat { margin: 0; font-size: 13px; font-weight: 600; }
.cfg-compat.ok { color: var(--ok); }
.cfg-compat.warn { color: var(--warn); }
.cfg-compat.bad { color: var(--err); }
.cfg-power { border: 1px solid var(--line); border-left: 4px solid var(--blue); border-radius: 10px; padding: 10px 14px; margin: 0 0 10px; font-size: 14px; background: #fff; }
.cfg-power small { display: block; color: var(--slate-2); }
.cfg-fit { margin: 0 0 4px; font-size: 13px; color: var(--slate-2); }
.cfg-fit.rec { color: var(--ok); font-weight: 700; }
.cfg-compat small { font-weight: 400; }
.cfg-item-buy { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; text-align: right; }
.cfg-item-buy strong { font-size: 18px; }
.cfg-item-buy small { color: var(--slate-2); font-size: 12px; }
.cfg-extras { margin-top: 24px; }
.cfg-extras h2 { font-size: 18px; }
.cfg-extras h2 small { color: var(--slate-2); font-weight: 400; font-size: 14px; }
.cfg-extra-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.cfg-extra-list { list-style: none; padding: 0; margin: 0 0 10px; display: flex; flex-direction: column; gap: 8px; }
.cfg-extra-list li { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; }
.cfg-extra-list li span { flex: 1; }
.cfg-extra-list img { object-fit: contain; }
.cfg-summary { position: sticky; top: calc(var(--header-h) + 16px); }
.cfg-sum-inner { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 20px; box-shadow: 0 8px 24px rgba(8, 15, 25, .06); max-height: calc(100vh - var(--header-h) - 32px); overflow: auto; }
.cfg-sum-inner h2 { margin: 0 0 12px; font-size: 18px; }
.cfg-progress { height: 8px; background: var(--soft); border-radius: 999px; overflow: hidden; }
.cfg-progress span { display: block; height: 100%; background: var(--blue); border-radius: 999px; transition: width .3s ease; }
.cfg-progress-t { font-size: 13px; color: var(--slate-2); margin: 6px 0 12px; }
.cfg-lines { list-style: none; margin: 0 0 12px; padding: 0; font-size: 14px; display: flex; flex-direction: column; gap: 8px; }
.cfg-lines li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 10px; }
.cfg-lines li > span:first-child { color: var(--slate-2); font-size: 12px; grid-column: 1 / -1; }
.cfg-lines .nm { overflow-wrap: anywhere; }
.cfg-state { font-weight: 600; font-size: 14px; margin: 8px 0; }
.cfg-state.ok { color: var(--ok); }
.cfg-state.warn { color: var(--warn); }
.cfg-state.bad { color: var(--err); }
.cfg-checks { list-style: none; padding: 0; margin: 0 0 10px; font-size: 13px; display: flex; flex-direction: column; gap: 6px; }
.cfg-checks li { padding: 6px 8px; border-radius: 6px; }
.cfg-checks .bad { background: #FDE2E1; color: #8A1C14; }
.cfg-checks .warn { background: #FFF1D6; color: #7A4A00; }
.cfg-hint { font-size: 14px; color: var(--slate-2); background: var(--paper); border-radius: 8px; padding: 10px 12px; }
.cfg-prices { border-top: 1px solid var(--line); margin-top: 12px; padding-top: 12px; display: flex; flex-direction: column; gap: 6px; }
.cfg-prices p { margin: 0; display: flex; justify-content: space-between; gap: 10px; font-size: 14px; }
.cfg-prices .benefit { color: var(--ok); }
.cfg-prices .final { font-size: 16px; font-weight: 700; }
.cfg-prices .final strong { font-size: 24px; }
.cfg-save { margin: 10px 0 0; background: #E2F5EA; color: #0B5A37; font-weight: 700; border-radius: 8px; padding: 10px 12px; text-align: center; }
.cfg-uyu { font-size: 13px; color: var(--slate-2); margin: 6px 0 12px; }
.cfg-pay { margin: 8px 0 12px; }
.cfg-busy { position: absolute; inset: 0; background: rgba(255, 255, 255, .5); border-radius: 14px; }
.cfg-bar { display: none; }
.cfg-toast { position: fixed; left: 50%; bottom: 84px; transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; opacity: 0; transition: .2s; z-index: 80; max-width: calc(100% - 32px); pointer-events: none; }
.cfg-toast.on { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 1023px) {
  .cfg-layout { grid-template-columns: minmax(0, 1fr); padding-bottom: 96px; }
  .cfg-summary { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; transform: translateY(110%); transition: transform .25s ease; top: auto; }
  .cfg-summary.sheet { transform: none; }
  .cfg-sum-inner { border-radius: 16px 16px 0 0; max-height: 78vh; padding-bottom: 84px; }
  .cfg-bar:not([hidden]) { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 61; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px; background: var(--card); border-top: 1px solid var(--line); box-shadow: 0 -6px 18px rgba(8, 15, 25, .08); }
  .cfg-bar small { display: block; color: var(--slate-2); font-size: 12px; }
  .cfg-bar strong { font-size: 20px; }
  body.cfg-sheet-open { overflow: hidden; }
}
@media (max-width: 640px) {
  .cfg-pick { grid-template-columns: 56px minmax(0, 1fr); }
  .cfg-pick img, .cfg-pick .cfg-ph { width: 56px; height: 56px; }
  .cfg-pick-price { grid-column: 2; text-align: left; }
  .cfg-pick-act { grid-column: 1 / -1; flex-direction: row; justify-content: flex-end; }
  .cfg-item { grid-template-columns: 64px minmax(0, 1fr); }
  .cfg-item img, .cfg-item .cfg-ph { width: 64px; height: 64px; }
  .cfg-item-buy { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; }
  .cfg-pk-list { max-height: none; }
}
@media (prefers-reduced-motion: reduce) { .cfg-mode, .cfg-summary, .cfg-progress span, .cfg-picker { transition: none; animation: none; } }

/* Recomendador por videojuegos */
.gm-step { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 20px; margin-bottom: 16px; }
.gm-step h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: 20px; }
.gm-step h2 small { color: var(--slate-2); font-weight: 400; font-size: 14px; }
.gm-step h3 { font-size: 15px; margin: 16px 0 8px; }
.gm-step h3 small { color: var(--slate-2); font-weight: 400; }
.gm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 12px; }
.gm-card { position: relative; border: 2px solid transparent; border-radius: 10px; overflow: hidden; padding: 0; background: var(--navy); cursor: pointer; aspect-ratio: 2 / 3; text-align: left; transition: transform .15s ease, border-color .15s; }
.gm-card:hover { transform: translateY(-2px); }
.gm-card.on { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0, 136, 238, .25); }
.gm-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gm-ph { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-weight: 700; padding: 12px; text-align: center; background: linear-gradient(160deg, var(--slate), var(--ink)); }
.gm-name { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 8px 8px; color: #fff; font-size: 13px; font-weight: 600; background: linear-gradient(transparent, rgba(8, 15, 25, .9)); }
.gm-card img + .gm-name { opacity: 0; transition: opacity .15s; }
.gm-card:hover img + .gm-name, .gm-card.on img + .gm-name, .gm-card:focus-visible img + .gm-name { opacity: 1; }
.gm-check { position: absolute; top: 8px; right: 8px; width: 28px; height: 28px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-weight: 700; }
.cfg-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cfg-chip { border: 1px solid var(--line); background: #fff; border-radius: 10px; padding: 8px 12px; text-align: left; cursor: pointer; display: flex; flex-direction: column; max-width: 260px; font: inherit; }
.cfg-chip small { color: var(--slate-2); font-size: 12px; }
.cfg-chip.on { border-color: var(--blue); background: #E3F1FC; }
.gm-budget { display: flex; gap: 8px; margin-bottom: 16px; }
.gm-budget input, .gm-budget select { height: 44px; border: 1px solid var(--line); border-radius: 8px; padding: 0 12px; font: inherit; }
.gm-budget input { width: 180px; }
.gm-results h2 { font-size: 22px; }
.gm-results h2 small { display: block; color: var(--slate-2); font-weight: 400; font-size: 14px; }
.gm-picks { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; margin-bottom: 16px; }
.gm-pc { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px; display: flex; flex-direction: column; gap: 8px; }
.gm-pc img { width: 100%; height: 200px; object-fit: contain; }
.gm-pc h3 { margin: 0; font-size: 17px; }
.gm-pc-kind { margin: 0; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--blue); }
.gm-specs { list-style: none; padding: 0; margin: 0; font-size: 13px; display: flex; flex-direction: column; gap: 2px; }
.gm-specs span { color: var(--slate-2); display: inline-block; min-width: 104px; }
.gm-price { font-size: 24px; font-weight: 800; margin: 4px 0 0; }
.gm-price small { font-size: 13px; color: var(--slate-2); font-weight: 400; }
.gm-fps { width: 100%; border-collapse: collapse; font-size: 13px; }
.gm-fps th { text-align: left; color: var(--slate-2); font-weight: 600; padding: 4px 4px 4px 0; border-bottom: 1px solid var(--line); }
.gm-fps td { padding: 6px 4px 6px 0; border-bottom: 1px solid var(--soft); vertical-align: top; }
.gm-fps small { display: block; color: var(--slate-2); font-size: 11px; }
.gm-kind.ok { color: var(--ok); }
.gm-kind.warn { color: var(--warn); }
.gm-verd { font-weight: 700; font-size: 12px; }
.gm-verd.ok { color: var(--ok); }
.gm-verd.warn { color: var(--warn); }
.gm-verd.bad { color: var(--err); }
.gm-verd.none { color: var(--slate-2); }
.gm-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 8px; }
.gm-gen { border-color: var(--blue); }
.admin .cfg-admin-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 8px 24px; } .admin .cfg-admin-grid h3 { font-size: 15px; margin: 8px 0 4px; } .admin .cfg-admin-grid ol { margin: 0; padding-left: 20px; font-size: 14px; }
.gm-ph + .gm-name { display: none; }

/* ---------- App CHURY'S PC (25/11/2026): menú, marcos de dispositivos y bloque de Inicio ---------- */
.main-nav a.nav-app { display: inline-flex; align-items: center; gap: 6px; position: relative; }
.main-nav a.nav-app svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.nav-dot { position: absolute; top: 16px; right: -9px; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 3px rgba(0, 136, 238, .22); }
.nav-new { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 999px; background: rgba(0, 136, 238, .16); color: var(--sky); font-size: 12px; font-weight: 700; vertical-align: 2px; }
@media (max-width: 1360px) { .main-nav a.nav-app { font-size: 0; gap: 0; } .main-nav a.nav-app svg { width: 19px; height: 19px; } .nav-dot { right: -6px; } }

/* Marcos hechos con CSS: la captura real va adentro (sin imágenes extra) */
.ap-laptop { position: relative; width: 100%; }
.ap-laptop-screen { position: relative; border: clamp(6px, .9vw, 11px) solid #0E1622; border-bottom-width: clamp(8px, 1.1vw, 14px); border-radius: clamp(10px, 1.3vw, 16px) clamp(10px, 1.3vw, 16px) 4px 4px; background: #05090F; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(169, 180, 194, .22), 0 30px 60px -20px rgba(0, 0, 0, .65), 0 0 80px -30px rgba(0, 136, 238, .55); }
.ap-laptop-screen img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }
.ap-laptop-base { height: clamp(8px, 1vw, 13px); width: 114%; margin-left: -7%; border-radius: 0 0 14px 14px; background: linear-gradient(180deg, #D7DEE7, #8D99A8 70%, #5E6A79); box-shadow: 0 14px 24px -10px rgba(0, 0, 0, .6); position: relative; }
.ap-laptop-base::before { content: ""; position: absolute; left: 50%; top: 0; width: 16%; height: 45%; transform: translateX(-50%); border-radius: 0 0 8px 8px; background: rgba(8, 15, 25, .25); }
.ap-phone { position: relative; width: 100%; border-radius: clamp(22px, 3.2vw, 38px); padding: clamp(5px, .7vw, 8px); background: linear-gradient(145deg, #2A3646, #0B111B 40%, #1B2533);
  box-shadow: 0 0 0 1px rgba(169, 180, 194, .28), 0 30px 50px -18px rgba(0, 0, 0, .7), 0 0 60px -24px rgba(0, 136, 238, .6); }
.ap-phone-screen { position: relative; border-radius: clamp(17px, 2.6vw, 31px); overflow: hidden; background: #05090F; aspect-ratio: 390 / 844; }
.ap-phone-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.ap-phone-screen::before { content: ""; position: absolute; z-index: 2; top: 2.2%; left: 50%; width: 28%; height: 3.2%; transform: translateX(-50%); border-radius: 999px; background: #000; }

/* Bloque de Inicio: compacto, azul noche con vidrio; los productos siguen primero */
.ap-home { padding-top: clamp(8px, 2vw, 16px); }
.ap-home-card { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: clamp(16px, 3vw, 40px); overflow: hidden; isolation: isolate;
  border-radius: 22px; padding: clamp(24px, 3.4vw, 44px); color: var(--paper); background: var(--ink); min-height: 320px; }
.ap-home-bg { position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(60% 90% at 85% 40%, rgba(0, 136, 238, .45), transparent 65%),
  radial-gradient(40% 60% at 15% 110%, rgba(105, 199, 255, .16), transparent 70%),
  linear-gradient(135deg, #080F19 0%, #0B1A2D 55%, #0A2542 100%); }
.ap-home-bg::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(169, 180, 194, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(169, 180, 194, .07) 1px, transparent 1px); background-size: 44px 44px; -webkit-mask-image: radial-gradient(70% 80% at 70% 50%, #000, transparent); mask-image: radial-gradient(70% 80% at 70% 50%, #000, transparent); }
.ap-home-copy { position: relative; padding: clamp(18px, 2.4vw, 28px); border-radius: 18px; background: rgba(24, 35, 50, .94); border: 1px solid rgba(169, 180, 194, .18); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06); }
.ap-home-eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 12px; padding: 5px 12px; border-radius: 999px; font-size: 13.5px; font-weight: 700; color: var(--sky); background: rgba(0, 136, 238, .12); border: 1px solid rgba(105, 199, 255, .28); }
.ap-home-eyebrow svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ap-home-copy h2 { font: 800 clamp(26px, 2.8vw, 38px)/1.08 var(--display); letter-spacing: -.025em; margin: 0 0 10px; color: #fff; }
.ap-home-copy > p { color: #C9D3DF; margin: 0 0 18px; max-width: 46ch; }
.ap-home-ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.ap-home-ctas .btn-lg { font-size: 16.5px; padding: 12px 20px; }
.ap-home-ghost { color: var(--paper); border-color: rgba(245, 247, 250, .35); background: rgba(255, 255, 255, .04); }
.ap-home-ghost:hover { color: #fff; border-color: var(--sky); background: rgba(105, 199, 255, .08); }
.ap-home-ctas svg, .ap-home-plats svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ap-home-plats { display: flex; gap: 16px; margin: 14px 0 0; font-size: 13.5px; color: var(--mist); }
.ap-home-plats span { display: inline-flex; align-items: center; gap: 6px; }
.ap-home-devices { position: relative; height: 100%; min-height: 260px; display: flex; align-items: center; }
.ap-home-laptop { position: relative; width: 88%; }
.ap-home-phone { position: absolute; right: 0; bottom: -6%; width: 27%; min-width: 96px; }
.ap-home [data-depth] { will-change: transform; transition: transform .25s var(--ease); }
@media (max-width: 860px) {
  .ap-home-card { grid-template-columns: 1fr; min-height: 0; }
  .ap-home-devices { min-height: 0; height: clamp(170px, 44vw, 260px); order: -1; margin: -6px 0 0; }
  .ap-home-devices { align-items: flex-start; }
  .ap-home-laptop { width: 76%; margin-left: 2%; }
  .ap-home-phone { right: 2%; bottom: -10%; width: 24%; }
  .ap-home-copy { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) { .ap-home [data-depth] { transition: none; transform: none !important; } }
.mobile-menu a.mm-app .nav-new { vertical-align: 1px; }

/* ---------- P01 (26/11/2026): carrito lateral, cuotas estimadas, presupuesto mensual y solicitud por WhatsApp ---------- */
body.cd-lock { overflow: hidden; }
.cart-drawer { position: fixed; inset: 0; z-index: 80; }
.cart-drawer[hidden] { display: none; }
.cd-backdrop { position: absolute; inset: 0; background: rgba(8, 15, 25, .45); opacity: 0; transition: opacity .25s var(--ease); }
.cd-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 100%); display: flex; flex-direction: column; background: var(--card); color: var(--ink);
  box-shadow: -18px 0 40px rgba(8, 15, 25, .25); transform: translateX(100%); transition: transform .26s var(--ease); outline: none; }
.cart-drawer.open .cd-backdrop { opacity: 1; }
.cart-drawer.open .cd-panel { transform: none; }
.cd-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.cd-head h2 { margin: 0; font-size: 1.2rem; }
.cd-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 8px 16px; }
.cd-empty { padding: 24px 0; color: var(--slate-2); }
.cd-lines { list-style: none; margin: 0; padding: 0; }
.cd-line { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: start; }
.cd-thumb img { width: 64px; height: 64px; object-fit: contain; border-radius: 8px; background: var(--paper); }
.cd-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; font-size: 14px; }
.cd-name { font-weight: 600; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.cd-name:hover { color: var(--link); }
.cd-qty { display: flex; align-items: center; gap: 4px; margin-top: 6px; flex-wrap: wrap; }
.cd-qty input { width: 52px; height: 36px; text-align: center; border: 1px solid var(--line); border-radius: 8px; font: inherit; }
.cd-step { width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); font-size: 18px; line-height: 1; cursor: pointer; color: var(--ink); }
.cd-step:disabled { opacity: .4; cursor: not-allowed; }
.cd-remove { padding: 0 6px; font-size: 13px; }
.cd-total { font-size: 14px; white-space: nowrap; }
.cd-foot { border-top: 1px solid var(--line); padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); display: grid; gap: 8px; background: var(--card); }
.cd-foot .sum-row { margin: 0; font-size: 1.05rem; }
.cd-foot .fine { margin: 0; }
.cd-foot .btn.disabled { opacity: .5; pointer-events: none; }
.cd-full { text-align: center; font-size: 14px; color: var(--link); }
@media (prefers-reduced-motion: reduce) { .cd-panel, .cd-backdrop { transition: none; } }



.checkout-lead { margin-top: -6px; }
/* Finalizar pedido (por WhatsApp): menos aire arriba y un aviso compacto */
.checkout-req { padding-top: clamp(18px, 2.6vw, 32px); }
.checkout-req .page-title { margin-bottom: 6px; }
.checkout-req .checkout-lead { margin: 0 0 12px; font-size: 16px; }
/* Medio de pago: subtítulo e íconos */
.pay-sub { margin: -6px 0 0; font-size: 14px; color: var(--slate-2); line-height: 1.45; }
.pay-options .option { align-items: center; }
.pay-options .option input { margin-top: 0; }
.pay-ico { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 9px; background: #EEF3F8; color: var(--slate-1, #334155); }
.pay-ico svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pay-options .option:has(input:checked) .pay-ico { background: color-mix(in srgb, var(--blue) 14%, #fff); color: var(--blue-dark, #00508C); }
/* Solicitud lista (pedido por WhatsApp) */
.req-page { padding-top: clamp(18px, 3vw, 36px); }
.req-done { display: grid; gap: 16px; }
.req-head { text-align: center; display: grid; justify-items: center; gap: 6px; }
.req-ok { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #E6F6EC; color: #1E7A44; }
.req-ok svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.req-title { font: 800 clamp(26px, 3vw, 36px)/1.1 var(--display); letter-spacing: -.02em; margin: 4px 0 0; }
.req-meta { margin: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 10px; font-size: 14px; color: var(--slate-2); }
.req-meta strong { color: var(--ink); }
.req-state { background: #FFF4DB; color: #7A4B00; border-radius: 999px; padding: 2px 10px; font-weight: 600; font-size: 13px; }
.req-sub { margin: 2px 0 0; font-size: 16px; color: var(--ink); }
.req-sum { margin: 0; padding: clamp(14px, 2.2vw, 22px); }
.req-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.req-items li { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 12px; align-items: center; }
.req-img { width: 56px; height: 56px; border-radius: 8px; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; overflow: hidden; }
.req-img img { width: 100%; height: 100%; object-fit: contain; }
.req-name { font-size: 14.5px; font-weight: 600; line-height: 1.3; display: flex; flex-direction: column; gap: 2px; min-width: 0; overflow-wrap: anywhere; }
.req-name small { font-weight: 400; color: var(--slate-2); font-size: 13px; }
.req-price { white-space: nowrap; font-size: 15px; }
.req-facts { margin: 14px 0 0; padding: 12px 0 0; border-top: 1px solid var(--line); display: grid; gap: 8px; font-size: 14.5px; }
.req-facts > div { display: flex; justify-content: space-between; gap: 16px; }
.req-facts dt { color: var(--slate-2); }
.req-facts dd { margin: 0; text-align: right; font-weight: 600; display: flex; flex-direction: column; gap: 2px; }
.req-facts dd small { font-weight: 400; color: var(--slate-2); font-size: 13px; }
.req-total { padding-top: 8px; border-top: 1px dashed var(--line); font-size: 17px; }
.req-total dt { color: var(--ink); font-weight: 700; }
.req-total dd { font-weight: 800; }
.req-fin { font-size: 14px; }
.req-actions { display: grid; gap: 10px; }
.btn-wa-green { background: #25D366; color: #06281A; border-color: #25D366; width: 100%; font-weight: 700; }
.btn-wa-green:hover { background: #1FBF5B; border-color: #1FBF5B; color: #06281A; }
.req-sec { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.req-sec .btn { width: 100%; }
.req-copy { margin: 0; text-align: center; min-height: 1em; }
.req-copy:empty { display: none; }
.req-cancel { text-align: center; margin: 0; }
.req-cancel .btn-link { font-size: 13px; color: var(--slate-2); }
@media (max-width: 560px) {
  .req-items li { grid-template-columns: 48px minmax(0, 1fr) auto; gap: 10px; }
  .req-img { width: 48px; height: 48px; }
  .req-sec .btn { padding-inline: 8px; font-size: 14px; }
}
.checkout-req .card { margin-bottom: 0; }
.checkout-req .checkout-grid { gap: 20px; }
.checkout-req .form h2 { margin-top: 6px; }
.checkout-req .form h2:first-child { margin-top: 0; }
@media (max-width: 720px) {
  .checkout-req .checkout-grid { gap: 14px; }
  .checkout-req .field-row { flex-direction: column; gap: 14px; }
}
.wa-request textarea.msg-preview { width: 100%; resize: vertical; min-height: 220px; }
.wa-request .actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.cd-head .icon-btn { color: var(--ink); }
.wa-request .actions .btn { max-width: 100%; white-space: normal; }
@media (max-width: 560px) { .wa-request .actions .btn { width: 100%; justify-content: center; } }

/* ---------- Financiación con Mercado Pago (26/11/2026): una sola tarjeta en ficha, checkout, pedido y Armá tu PC ---------- */
.mpf { --mp: #009EE3; container-type: inline-size; display: grid; gap: 12px; margin: 12px 0 6px; padding: 16px; border: 1px solid #D3E8F7; border-radius: 16px; background: var(--card); color: var(--ink); box-shadow: 0 8px 24px -18px rgba(0, 94, 150, .45); text-align: left; }
.mpf[hidden] { display: none; }
.mpf-head { display: flex; align-items: center; gap: 12px; }
.mpf-logo { width: 52px; height: auto; flex: none; }
.mpf-title { margin: 0; font: 800 18px/1.2 var(--display); letter-spacing: -.01em; color: var(--ink); }
.mpf-sub { margin: 2px 0 0; font-size: 13.5px; color: var(--slate-2); }
.mpf-cuotas { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.mpf-cuotas li { display: flex; flex-direction: column; gap: 2px; min-width: 0; padding: 10px 12px; border-radius: 12px; background: #F0F8FE; border: 1px solid #D8ECFA; }
.mpf-n { font-size: 12.5px; color: var(--slate-2); white-space: nowrap; }
.mpf-amt { font: 800 19px/1.15 var(--display); letter-spacing: -.01em; color: var(--mp); white-space: nowrap; }
.mpf-sum { margin: 0; display: grid; gap: 4px; }
.mpf-sum div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.mpf-sum dt { font-size: 14px; color: var(--slate-2); }
.mpf-sum dd { margin: 0; font-weight: 600; white-space: nowrap; }
.mpf-tot dt { font-weight: 700; color: var(--ink); }
.mpf-tot dd { font: 800 19px/1.2 var(--display); color: var(--ink); }
.mpf-pct { margin: -6px 0 0; font-size: 12.5px; color: var(--slate-2); }
.mpf-note { display: flex; gap: 7px; align-items: flex-start; margin: 0; padding-top: 10px; border-top: 1px solid var(--line); font-size: 12.5px; line-height: 1.45; color: var(--slate-2); }
.mpf-note svg { flex: none; margin-top: 1px; color: var(--mp); }
.mpf-compact { padding: 14px; margin: 12px 0; }
@container (max-width: 440px) { .mpf-cuotas li { padding: 10px; } .mpf-amt { font-size: 17px; } }
/* Angosto (columna del checkout, celular chico): cada cuota en una fila, con el importe a la derecha */
@container (max-width: 340px) {
  .mpf-cuotas { grid-template-columns: 1fr; gap: 6px; }
  .mpf-cuotas li { flex-direction: row; justify-content: space-between; align-items: baseline; padding: 8px 12px; }
  .mpf-amt { font-size: 18px; }
  .mpf-title { font-size: 17px; }
}
@container (max-width: 260px) { .mpf-amt { font-size: 16px; } .mpf-cuotas li { padding: 8px 10px; gap: 8px; } .mpf-sum div { flex-wrap: wrap; } }

/* ---------- «Comprá según tu presupuesto» (26/11/2026): filtro por cuota mensual y cuota en las tarjetas ---------- */
.facet.budget { --mp: #009EE3; padding: 14px; border: 1px solid #D3E8F7; border-radius: 14px; background: linear-gradient(180deg, #F3F9FE, var(--card) 70%); display: grid; gap: 8px; }
.bud-head { display: flex; gap: 10px; align-items: center; }
.bud-ico { display: inline-grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: 11px; background: #E3F2FC; color: var(--link); }
.bud-title { display: block; font: 800 16px/1.2 var(--display); color: var(--ink); }
.bud-sub { display: block; font-size: 13px; color: var(--slate-2); }
.bud-q { margin: 4px 0 0; font-size: 13px; font-weight: 600; color: var(--slate); }
.bud-n { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.bud-chip { position: relative; }
.bud-chip input { position: absolute; opacity: 0; pointer-events: none; }
.bud-chip span { display: block; padding: 7px 4px; text-align: center; border: 1px solid var(--line); border-radius: 10px; background: var(--card); font-size: 13px; font-weight: 600; cursor: pointer; white-space: nowrap; transition: background .15s, border-color .15s; }
.bud-chip input:checked + span { background: var(--blue); border-color: var(--blue); color: var(--ink); }
.bud-chip input:focus-visible + span { outline: 2px solid var(--link); outline-offset: 2px; }
.bud-q-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 4px; }
.bud-q-row .bud-q { margin: 0; }
.bud-input-wrap { min-width: 0; display: flex; align-items: baseline; gap: 4px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); cursor: text; }
.bud-input-wrap:focus-within { border-color: var(--mp); box-shadow: 0 0 0 3px rgba(0, 158, 227, .18); }
.bud-cur { font: 800 18px/1 var(--display); color: var(--mp); }
.bud-input { flex: 1; min-width: 0; width: 100%; border: 0; padding: 0; background: none; font: 800 24px/1.1 var(--display); color: var(--mp); letter-spacing: -.01em; font-variant-numeric: tabular-nums; outline: none; }
.bud-input::placeholder { color: var(--mist); font-size: 18px; font-weight: 700; }
.bud-per { font-size: 12px; color: var(--slate-2); white-space: nowrap; }
.bud-nolimit { flex: none; padding: 4px 9px; border: 1px dashed var(--mist); border-radius: 10px; background: var(--card); font: 600 12.5px/1.2 var(--font); color: var(--slate-2); cursor: pointer; }
.bud-nolimit[aria-pressed="true"] { border-style: solid; border-color: var(--ink); background: var(--ink); color: var(--paper); }
.bud-range { width: 100%; margin: 4px 0 0; accent-color: var(--mp); }
.facet.budget:not(.is-on) .bud-range { opacity: .55; }
.bud-scale { display: flex; justify-content: space-between; margin-top: -4px; font-size: 11.5px; color: var(--slate-2); }
.bud-res { margin: 2px 0 0; font-size: 13.5px; color: var(--slate-2); }
.bud-res strong { color: var(--ink); }
.bud-total { display: block; margin-top: 2px; font-weight: 600; color: var(--ink); }
.bud-total[hidden] { display: none; }
.bud-reset { font-size: 13px; color: var(--link); }
.bud-note { margin: 2px 0 0; padding-top: 8px; border-top: 1px solid var(--line); font-size: 11.5px; line-height: 1.4; color: var(--slate-2); }
.results.is-loading { opacity: .55; transition: opacity .15s; pointer-events: none; }

/* Cuota en la tarjeta (con el filtro activo reemplaza al precio; el contado sigue a la vista) */
.pq { display: grid; gap: 1px; margin-top: auto; padding-top: 8px; }
.pq-l { font-size: 12.5px; color: var(--slate-2); }
.pq-amt { font: 800 clamp(17px, 5.2vw, 22px)/1.1 var(--display); white-space: nowrap; color: #0079B8; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.pq-cont { font-size: 13px; color: var(--slate-2); }
.pq-ok { display: inline-flex; align-items: center; gap: 4px; margin-top: 3px; font-size: 12.5px; font-weight: 600; color: var(--ok); }
.pcard.has-pq .pcard-foot { margin-top: 0; padding-top: 4px; }
.pcard-pc .pq { padding-top: 0; }
.pcard-pc .pq-l, .pcard-pc .pq-cont { color: var(--mist); }
.pcard-pc .pq-amt { color: var(--sky); font-size: 24px; }
.pcard-pc .pq-ok { color: #7EE2B0; }
.budget-empty-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }

/* ---------- App en Inicio (P02, 26/11/2026): «Tu PC sigue con vos después de la compra» con tres beneficios ---------- */
.ap-home-card { grid-template-columns: minmax(0, .9fr) minmax(0, 1.6fr); }
.ap-home-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--sky); text-decoration: none; }
.ap-home-link:hover { text-decoration: underline; }
.ap-home-link svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ap-home-bens { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ap-home-ben { display: flex; flex-direction: column; gap: 6px; padding: 10px 10px 14px; border-radius: 16px; background: rgba(24, 35, 50, .6); border: 1px solid rgba(169, 180, 194, .16); }
.ap-home-shot { overflow: hidden; border-radius: 10px; aspect-ratio: 16 / 10; background: #0B1524; border: 1px solid rgba(169, 180, 194, .14); }
.ap-home-shot img { width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.ap-home-ben h3 { margin: 4px 2px 0; font: 700 16px/1.25 var(--display); color: #fff; }
.ap-home-ben p { margin: 0 2px; font-size: 13.5px; line-height: 1.45; color: #C9D3DF; }
@media (max-width: 960px) {
  .ap-home-card { grid-template-columns: 1fr; }
  .ap-home-bens { grid-template-columns: repeat(3, minmax(210px, 1fr)); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 4px; scrollbar-width: thin; }
  .ap-home-ben { scroll-snap-align: start; }
}
.search-hint { margin: 0 0 12px; padding: 10px 14px; border-radius: 10px; background: #EEF6FD; border: 1px solid #D3E8F7; font-size: 14px; color: var(--slate); }
.search-hint p { margin: 0; } .search-hint p + p { margin-top: 4px; }

/* ---------- Buscador: sugerencias mientras se escribe (P02, 26/11/2026) ---------- */
.sugg-wrap { position: relative; display: block; flex: 1; min-width: 0; }
.sugg-wrap > input { width: 100%; }
.sugg { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 70; max-height: min(70vh, 520px); overflow-y: auto; overscroll-behavior: contain; padding: 6px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); box-shadow: 0 18px 40px -16px rgba(8, 15, 25, .35); text-align: left; }
.sugg[hidden] { display: none; }
.sugg-item { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px; border-radius: 10px; color: var(--ink); text-decoration: none; }
.sugg-item:hover, .sugg-item[aria-selected="true"] { background: #EEF6FD; }
.sugg-img { width: 48px; height: 48px; border-radius: 8px; background: var(--paper); display: grid; place-items: center; overflow: hidden; }
.sugg-img img { width: 100%; height: 100%; object-fit: contain; }
.sugg-txt { display: flex; flex-direction: column; min-width: 0; }
.sugg-name { font-size: 14px; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sugg-cat { font-size: 12px; color: var(--slate-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sugg-side { display: flex; flex-direction: column; align-items: flex-end; gap: 1px; font-size: 13.5px; white-space: nowrap; }
.sugg-side small { font-size: 11.5px; color: var(--slate-2); }
.sugg-side .stock { font-size: 11.5px; }
.sugg-all { display: block; margin-top: 4px; padding: 10px; border-top: 1px solid var(--line); text-align: center; font-weight: 600; color: var(--link); }
.sugg-note, .sugg-empty { margin: 4px 8px 6px; font-size: 13px; color: var(--slate-2); }
.sugg-empty { padding: 6px 0; }
@media (max-width: 560px) {
  .sugg-item { grid-template-columns: 40px minmax(0, 1fr) auto; gap: 8px; }
  .sugg-img { width: 40px; height: 40px; }
  .sugg-side { font-size: 12.5px; }
}

/* Chips de filtros activos (P02) */
.active-chips { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 0 0 12px; }
.achip { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; padding: 6px 10px; border-radius: 999px; background: #E6F2FC; border: 1px solid #CFE5F7; color: var(--ink); font-size: 13px; font-weight: 600; text-decoration: none; }
.achip span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.achip:hover { border-color: var(--link); }
.achip span[aria-hidden] { color: var(--slate-2); font-size: 11px; }
.achip-clear { font-size: 13px; color: var(--link); padding: 6px 4px; }
/* En el buscador del catálogo la lista se ubica respecto del campo (la lupa queda arriba del contenedor) */
.search-field .sugg-wrap { position: static; }
.search-field > svg { z-index: 1; pointer-events: none; }

/* Panel › Productos: acciones por fila y diálogo de eliminar (P03, 26/11/2026) */
.row-acts { white-space: nowrap; }
.act-btn { display: inline-grid; place-items: center; width: 34px; height: 34px; margin: 0 2px; border: 1px solid var(--line); border-radius: 8px; background: var(--card); color: var(--slate); cursor: pointer; vertical-align: middle; }
.act-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.act-edit:hover { border-color: var(--link); color: var(--link); }
.act-del { color: var(--err); }
.act-del:hover { border-color: var(--err); background: #FDECEA; }
.row-archived { opacity: .55; }
.del-dlg { max-width: min(520px, calc(100vw - 32px)); border: 0; border-radius: 14px; padding: 20px; box-shadow: 0 24px 60px rgba(8, 15, 25, .35); }
.del-dlg::backdrop { background: rgba(8, 15, 25, .45); }
.del-dlg h2 { margin: 0 0 6px; }
.del-dlg .actions { display: flex; gap: 8px; justify-content: flex-end; margin-top: 14px; flex-wrap: wrap; }
.del-dlg ul { margin: 6px 0; padding-left: 18px; }
@media (max-width: 700px) { .del-dlg[open] { position: fixed; inset: auto 0 0 0; margin: 0; width: 100%; max-width: none; max-height: 88dvh; overflow-y: auto; border-radius: 16px 16px 0 0; padding: 18px 16px calc(16px + env(safe-area-inset-bottom)); } .del-dlg .actions .btn { flex: 1 1 auto; } }
/* Cuentas compartidas con la app (Mi cuenta) — 26/11/2026 */
@media (max-width: 560px) { .acc-link-h { display: none; } }
.acc-note { display: flex; gap: 8px; align-items: center; margin: 0 0 14px; font-size: 14px; color: var(--slate-2); }
.acc-note svg, .acc-link > svg { flex: none; width: 18px; height: 18px; fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linecap: round; }
.acc-link { display: flex; flex-wrap: wrap; gap: 10px 12px; align-items: center; margin: 16px 0 0; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); font-size: 14px; }
.acc-link > span { flex: 1 1 220px; }
.acc-link .field { flex: 1 1 200px; margin: 0; }
.cuenta .cuenta-form { display: grid; gap: 14px; max-width: 460px; }
.cuenta .lead { margin-top: -6px; }
.cuenta-links { margin: 4px 0 0; font-size: 14px; text-align: center; }
.cuenta-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.cuenta-head .page-title { margin-bottom: 2px; }
.cuenta-head p { margin: 0 0 14px; }
.cuenta-nav { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 14px; }
.cuenta-nav a { padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; color: var(--ink); text-decoration: none; background: var(--card); }
.cuenta-sec { margin-bottom: 16px; }
.cuenta-sec h2 { margin-top: 0; }
.cuenta-orders { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.cuenta-orders a { display: grid; grid-template-columns: auto auto 1fr auto; gap: 4px 12px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); text-decoration: none; }
.cuenta-orders a:hover { border-color: var(--blue); }
.co-id { font-weight: 700; } .co-date { color: var(--slate-2); font-size: 13px; }
.co-items { grid-column: 1 / 4; color: var(--slate-2); font-size: 13px; }
.co-total { grid-row: 1; grid-column: 4; white-space: nowrap; }
.co-state { justify-self: start; font-size: 12.5px; font-weight: 600; padding: 2px 9px; border-radius: 999px; background: #EEF3F8; color: var(--ink); }
.co-state.st-nuevo, .co-state.st-en_revision { background: #FFF4DB; color: #7A4B00; }
.co-state.st-completado, .co-state.st-pago_confirmado, .co-state.st-listo_retirar { background: #E6F6EC; color: #1E7A44; }
.co-state.st-cancelado { background: #FDECEC; color: #9B1C1C; }
.cuenta-vincular { margin-top: 12px; font-size: 14px; }
.cuenta-vincular summary, .cuenta-sec details > summary { cursor: pointer; color: var(--blue-dark, #00508C); font-weight: 600; }
.cuenta-vincular form { margin-top: 10px; align-items: flex-end; }
.eq { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; margin-bottom: 8px; }
.eq summary { cursor: pointer; display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; }
.eq-id { font-weight: 700; }
.eq h3 { font-size: 15px; margin: 12px 0 6px; }
.eq-comps, .eq-servs { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; font-size: 14px; }
.eq-servs li { display: flex; justify-content: space-between; gap: 10px; }
.gar { font-size: 12px; padding: 1px 8px; border-radius: 999px; }
.gar.ok { background: #E6F6EC; color: #1E7A44; } .gar.off { background: #EEF3F8; color: var(--slate-2); }
@media (max-width: 560px) {
  .cuenta-orders a { grid-template-columns: 1fr auto; }
  .co-date { grid-column: 1; } .co-state { grid-column: 1; } .co-items { grid-column: 1 / 3; } .co-total { grid-column: 2; grid-row: 1; }
}
/* Panel › Ensambles › Competitividad (26/11/2026) */
.cmp-dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; vertical-align: middle; background: #A3ADB8; flex: none; }
.cmp-verde { background: #1E9E55; } .cmp-amarillo { background: #E0A400; } .cmp-rojo { background: #D13B3B; } .cmp-gris { background: #A3ADB8; }
.cmp-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.cmp-row { padding: 14px 16px; }
.cmp-head { display: flex; gap: 12px; align-items: center; margin-bottom: 8px; }
.cmp-head img { border-radius: 8px; object-fit: contain; background: #fff; border: 1px solid var(--line); }
.cmp-row details summary { cursor: pointer; font-weight: 600; margin-top: 8px; }
.ens-commercial .warn, .ens-nums .warn { color: #8A5A00; }
.ens-nums dd.neg, .ens-sum .neg dd { color: #B42318; }
.cmp-row form.filters-inline { align-items: flex-end; } .cmp-row form.filters-inline .btn { align-self: flex-end; height: auto; }

/* PC armada sin todos sus componentes confirmados (01/12/2026): sin precio vigente, sólo consulta */
.price-tbc .price-now { font-size: 1.15rem; color: var(--slate-2); }
.price-lg.price-tbc .price-now { font-size: 1.6rem; }
.pc-tbc { font-size: 1.05rem !important; }
.avail-tbc { margin: 0 0 12px; padding: 10px 12px; border-left: 3px solid var(--warn); background: var(--soft); border-radius: 6px; font-size: .92rem; color: var(--slate); }

/* «¡Instalación incluida!» en CPU, RAM, SSD y GPU (01/12/2026) */
.install-box { margin: 0 0 20px; padding: 14px 16px; border: 1px solid var(--line); border-left: 4px solid var(--blue); border-radius: var(--radius); background: var(--card); }
.install-box p { margin: 0 0 6px; }
.install-box .fine { margin: 6px 0 0; font-size: .85rem; color: var(--slate-2); }
.install-title { display: flex; align-items: center; gap: 8px; font-size: 1.05rem; color: var(--ink); }
.install-title svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--ok); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }

/* «Completá tu compra» (01/12/2026): carrito lateral y página del carrito. Tarjetas compactas; en el carrito lateral y en
   el celular, carrusel horizontal (se desliza con el dedo); en la página del carrito en escritorio, fila de tarjetas. */
.cd-rec, .cart-rec { margin: 18px 0 8px; padding-top: 14px; border-top: 1px solid var(--line); }
.cd-rec h3, .cart-rec h2 { margin: 0; font-size: 1rem; font-weight: 700; }
.cart-rec h2 { font-size: 1.15rem; }
.cd-rec > .muted, .cart-rec > .muted { margin: 2px 0 10px; font-size: .85rem; }
.rec-list { list-style: none; margin: 0; padding: 2px 2px 8px; display: grid; grid-auto-flow: column; grid-auto-columns: 150px; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; overscroll-behavior-x: contain; }
.rec { scroll-snap-align: start; display: flex; flex-direction: column; gap: 4px; padding: 8px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); min-width: 0; }
.rec-img { display: block; aspect-ratio: 4 / 3; border-radius: 6px; overflow: hidden; background: #fff; }
.rec-img img { display: block; width: 100%; height: 100%; object-fit: contain; background: #fff; }
.rec-name { font-size: .82rem; font-weight: 600; line-height: 1.25; color: var(--ink); text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.5em; }
.rec-name:hover { text-decoration: underline; }
.rec-why { font-size: .72rem; color: var(--slate-2); }
.rec-why.ok { color: var(--ok); font-weight: 600; }
.rec-price { font-size: .95rem; }
.rec form { margin: 0; }
.rec .btn { width: 100%; margin-top: auto; padding: 6px 10px; font-size: .85rem; }
@media (min-width: 900px) { .cart-rec .rec-list { grid-auto-flow: row; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); overflow: visible; } }

/* NAVIDAD20 en carrito, checkout y pedido (01/12/2026): líneas del beneficio (el cálculo es del servidor) */
.promo-row strong { color: var(--ok); }
.promo-row small, .promo-tag { display: block; font-size: .78rem; color: #b71c1c; font-weight: 600; }
.cd-gift, .promo-gift { background: #fff8f3; border-radius: var(--radius); }
.gift-ico { display: grid; place-items: center; width: 100%; height: 100%; font-size: 30px; }
.cd-gift .cd-thumb, .promo-gift .cart-thumb { display: grid; place-items: center; }
.sum-total { font-size: 1.05rem; }
.coupon-box { margin: 10px 0; padding: 10px 12px; border: 1px dashed var(--line); border-radius: var(--radius); }
.coupon-box form { margin: 0; }
.coupon-form { display: flex; gap: 8px; } .coupon-form label { flex: 1; } .coupon-form input { width: 100%; text-transform: uppercase; }
.coupon-state { margin: 0 0 4px; font-size: .9rem; } .coupon-state.aplicado { color: var(--ok); } .coupon-state.rechazado { color: var(--err); }
.promo-msg { color: var(--warn); }
.promo-gift-mini small { color: #b71c1c; }

/* Buscador (01/12/2026): modelos que coinciden con lo escrito (RTX 5060 / RTX 5060 Ti) arriba de los productos */
.sugg-models { display: grid; gap: 2px; padding: 4px 4px 8px; margin-bottom: 4px; border-bottom: 1px solid var(--line); }
.sugg-model, .sugg-group { display: block; padding: 6px 10px; border-radius: 8px; color: var(--ink); text-decoration: none; font-size: .92rem; }
.sugg-group { padding-left: 22px; color: var(--slate-2); font-size: .86rem; }
.sugg-model[aria-selected="true"], .sugg-group[aria-selected="true"], .sugg-model:hover, .sugg-group:hover { background: var(--soft); }

/* ---------- Ficha de PC armada: personalizar RAM y almacenamiento (01/12/2026) ---------- */
.pc-custom { --pc-price-top: calc(var(--header-h) + 8px); margin: 4px 0 14px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); scroll-margin-top: var(--pc-price-top); }
.pc-custom.is-custom { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0, 136, 238, .12); }
.pc-custom-title { margin: 0 0 10px; font-weight: 700; font-size: 1.05rem; }
.pc-loading { margin: 0; font-size: .85rem; color: var(--slate-2); }
.pc-custom.is-loading .pc-loading::before { content: ""; display: inline-block; width: 12px; height: 12px; margin-right: 8px; vertical-align: -1px; border: 2px solid var(--line); border-top-color: var(--blue); border-radius: 50%; animation: pcSpin .8s linear infinite; }
@keyframes pcSpin { to { transform: rotate(360deg); } }
.pc-opt { border: 0; margin: 0 0 8px; padding: 0; min-width: 0; }
.pc-opt legend { font-size: .85rem; font-weight: 600; color: var(--slate-2); margin-bottom: 6px; padding: 0; }
.pc-opt legend small { font-weight: 500; color: var(--slate-2); opacity: .8; }
.pc-chips { display: grid; grid-template-columns: repeat(auto-fit, minmax(74px, 1fr)); gap: 8px; }
.pc-chips-2 { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); }
.pc-chip { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-height: 48px; padding: 8px 10px; border: 1.5px solid var(--line); border-radius: 10px; cursor: pointer; background: #fff; color: var(--ink); font: inherit; text-align: left; }
.pc-chip:hover:not(:disabled) { border-color: var(--blue); }
.pc-chip.is-on { border-color: var(--blue); background: #eef7ff; box-shadow: inset 0 0 0 1px var(--blue); }
.pc-chip:focus-visible { scroll-margin-top: calc(var(--pc-price-top) + 4.75rem); outline: 3px solid var(--sky); outline-offset: 2px; }
.pc-chip:disabled { opacity: .5; cursor: not-allowed; }
.pc-chip-cap { font-weight: 700; white-space: nowrap; }
.pc-chip-delta { font-size: .76rem; color: var(--slate-2); min-height: 1em; line-height: 1.25; }
.pc-hint { margin: 6px 0 0; font-size: .78rem; color: var(--slate-2); }
.pc-hint:empty { display: none; }
.pc-summary { margin: 4px 0 10px; padding: 10px 12px; border-radius: 10px; background: #f5f7fa; }
.pc-sum-title { margin: 0 0 4px; font-size: .85rem; font-weight: 700; }
.pc-summary ul { list-style: none; margin: 0; padding: 0; font-size: .85rem; line-height: 1.5; }
.pc-summary li { display: grid; grid-template-columns: 52px 1fr; gap: 6px; }
.pc-summary li span { font-weight: 600; color: var(--slate-2); }
.pc-total { position: sticky; top: var(--pc-price-top); z-index: 2; margin-bottom: 10px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; padding: 7px 10px; border-radius: 10px; border: 1.5px solid var(--blue); background: #eef7ff; }
.pc-total-label { font-size: .8rem; font-weight: 600; color: var(--slate-2); }
.pc-total-price { font-size: 1.25rem; line-height: 1.1; color: var(--ink); }
.pc-total-uyu { font-size: .9rem; color: var(--slate-2); }
.pc-total-delta { flex-basis: 100%; font-size: .8rem; font-weight: 600; color: var(--ink); }
html.season-navidad .pc-custom { --pc-price-top: calc(var(--header-h) + var(--xg-h, 0px) + var(--xg-top, 0px) + 8px); }
@media (min-width: 921px) {
  html .buybox.scroll-panel .pc-custom { --pc-price-top: 6px; }
}
.pc-custom-note { margin: 8px 0 0; font-size: .76rem; color: var(--slate-2); }
@media (max-width: 760px) { .pc-custom { padding: 12px; } .pc-chips { grid-template-columns: repeat(auto-fit, minmax(62px, 1fr)); gap: 6px; } .pc-chip { padding: 7px 6px; } .pc-chip-cap { font-size: .95rem; } .pc-chip-delta { font-size: .7rem; } .pc-chips-2 { grid-template-columns: 1fr 1fr; } }
.pc-comp { list-style: none; margin: 4px 0 2px; padding: 0; font-size: .78rem; color: var(--slate-2); line-height: 1.35; }
.pc-comp span { font-weight: 600; color: var(--ink); }
.pc-comp-note { display: block; font-size: .74rem; color: var(--warn); }
/* «¿Cómo rinde esta PC?» (02/12/2026) */
.rinde { margin-top: 28px; }
.rinde-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.rinde-g { display: grid; grid-template-columns: 64px 1fr auto; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); }
.rinde-img { width: 64px; height: 40px; border-radius: 8px; overflow: hidden; background: var(--soft); }
.rinde-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rinde-tx { display: flex; flex-direction: column; min-width: 0; } .rinde-tx strong { font-size: 15px; line-height: 1.2; } .rinde-tx small { color: var(--slate-2); font-size: 12.5px; }
.rinde-fps { font-weight: 700; font-size: 14px; white-space: nowrap; color: var(--ok); text-align: right; }
.rinde-fps.na { color: var(--slate-2); font-weight: 600; white-space: normal; max-width: 9.5em; font-size: 12.5px; } .rinde-fps small { display: block; font-weight: 400; }
.rinde-mas { margin-top: 10px; } .rinde-mas summary { cursor: pointer; font-weight: 600; color: var(--link); padding: 6px 0; }
@media (max-width: 560px) { .rinde-list { grid-template-columns: 1fr; } }

/* Mi cuenta: rediseño (punto 25, 02/12/2026) — resumen, pestañas, pedidos con fotos y avance, presupuestos, ayuda */
.acc-hero { margin: 0 0 14px; }
.acc-who { display: flex; align-items: center; gap: 14px; }
.acc-who > div { flex: 1; min-width: 0; }
.acc-who .page-title { margin: 0 0 2px; }
.acc-who p { margin: 0; overflow-wrap: anywhere; }
.acc-avatar { flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--navy); color: var(--sky); font: 700 20px/1 var(--display); letter-spacing: .5px; }
.acc-out { align-self: flex-start; }
.acc-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.acc-stat { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); color: var(--ink); text-decoration: none; transition: border-color .15s var(--ease); }
.acc-stat:hover { border-color: var(--blue); }
.acc-stat strong { font: 700 26px/1.1 var(--display); }
.acc-stat span { font-size: 14px; color: var(--slate); }
.acc-stat small { font-size: 12.5px; color: var(--slate-2); }
.acc-tabs { display: flex; gap: 8px; margin: 0 0 14px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.acc-tabs::-webkit-scrollbar { display: none; }
.acc-tabs a { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: var(--ink); font-size: 14px; font-weight: 600; text-decoration: none; }
.acc-tabs a:hover { border-color: var(--blue); }
.acc-tabs svg { width: 16px; height: 16px; fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.acc-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 16px; align-items: start; }
.acc-sub { margin: 14px 0 8px; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--slate-2); }
.acc-sub:first-of-type { margin-top: 4px; }
.acc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.acc-order, .acc-quote { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); text-decoration: none; background: var(--card); transition: border-color .15s var(--ease); }
.acc-order:hover, .acc-quote:hover { border-color: var(--blue); }
.acc-quote { grid-template-columns: minmax(0, 1fr) auto auto; }
.ao-thumbs { display: flex; }
.ao-thumbs img, .ao-noimg { width: 56px; height: 56px; object-fit: contain; border-radius: 10px; border: 1px solid var(--line); background: #fff; }
.ao-thumbs > * + * { margin-left: -18px; box-shadow: -3px 0 0 var(--card); }
.ao-noimg { display: grid; place-items: center; }
.ao-noimg svg { width: 22px; height: 22px; fill: none; stroke: var(--slate-2); stroke-width: 1.6; }
.ao-main, .aq-main { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.ao-top { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; }
.ao-id { font-weight: 700; }
.ao-names { font-size: 14.5px; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.ao-meta { font-size: 13px; color: var(--slate-2); }
.ao-total { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; white-space: nowrap; }
.ao-total strong { font-size: 16px; }
.ao-go { display: inline-flex; align-items: center; gap: 2px; font-size: 13px; font-weight: 600; color: var(--link); }
.ao-go::after { content: '›'; font-size: 17px; line-height: 1; margin-left: 2px; }
.ao-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; margin-top: 6px; max-width: 460px; }
.ao-steps > span { display: flex; flex-direction: column; gap: 4px; }
.ao-steps i { display: block; height: 4px; border-radius: 4px; background: var(--line); }
.ao-steps .on i { background: var(--blue); }
.ao-steps em { font-style: normal; font-size: 11px; color: var(--slate-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ao-steps .cur em { color: var(--ink); font-weight: 700; }
.ao-step-txt { display: none; font-size: 12.5px; color: var(--slate); }
.ao-step-txt b { color: var(--ink); }
.aq-state { font-size: 12.5px; font-weight: 600; padding: 2px 9px; border-radius: 999px; white-space: nowrap; }
.aq-state.ok { background: #E6F6EC; color: #1E7A44; }
.aq-state.off { background: #EEF3F8; color: var(--slate); }
.acc-empty { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border: 1px dashed var(--line); border-radius: 12px; background: var(--soft); }
.acc-empty-ico { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--card); border: 1px solid var(--line); }
.acc-empty-ico svg { width: 20px; height: 20px; fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.acc-empty-t { margin: 2px 0 4px; font-weight: 700; }
.acc-empty .muted { margin: 0; }
.acc-empty-a { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; }
.acc-side .form { display: grid; gap: 12px; }
.acc-side .field { margin: 0; }
.acc-side input[disabled] { background: var(--soft); color: var(--slate); }
#ayuda .btn { white-space: normal; text-align: center; }
#ayuda .btn + .btn { margin-top: 8px; }
.acc-wa svg { width: 18px; height: 18px; fill: currentColor; vertical-align: -3px; margin-right: 6px; }
.cuenta-sec { scroll-margin-top: calc(var(--header-h) + 16px); }
@media (max-width: 1020px) { .acc-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 720px) {
  .acc-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .acc-avatar { width: 46px; height: 46px; font-size: 17px; }
  .acc-order { grid-template-columns: auto minmax(0, 1fr); }
  .acc-order .ao-total { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; padding-top: 8px; border-top: 1px solid var(--line); }
  .acc-quote { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .aq-state { justify-self: start; }
  .acc-quote .ao-total { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
  .ao-thumbs img, .ao-noimg { width: 48px; height: 48px; }
  .ao-steps em { display: none; }
  .ao-step-txt { display: block !important; }
}

/* ---------- Responsive: auditoría del 02/12/2026 (punto 24) ---------- */
/* Encabezado: el menú creció (Hogar y Oficina con desplegable, «Nuestra app») y a 1024–1440 px el carrito y la cuenta
   quedaban fuera de la pantalla. Se compacta antes y pasa al botón de menú a 1180 px. Nada se oculta: todo sigue en el menú. */
.header-tools { flex-shrink: 0; }
@media (max-width: 1560px) {
  .header-row { gap: 20px; }
  .main-nav { gap: 18px; } .main-nav a { font-size: 15px; }
  .main-nav a.nav-app { font-size: 0; gap: 0; } .main-nav a.nav-app svg { width: 19px; height: 19px; } .nav-dot { right: -6px; }
  .header-tools { margin-left: 8px; padding-left: 12px; }
}
@media (max-width: 1320px) { .header-row { gap: 16px; } .main-nav { gap: 13px; } .main-nav a { font-size: 14px; } }
@media (max-width: 1180px) {
  .main-nav { display: none; }
  .menu-btn { display: inline-grid; }
  .header-tools { margin-left: auto; border: 0; }
}
/* Celulares muy angostos (320 px): el botón de menú quedaba cortado */
@media (max-width: 380px) {
  .header-row { gap: 8px; }
  .brand img { height: 30px; }
  .header-tools { gap: 0; padding-left: 0; }
  .icon-btn { width: 38px; height: 40px; }
  .icon-btn svg { width: 24px; height: 24px; }
}
/* Ficha: «Agregar al carrito» se salía por la derecha a 320 px */
.buy-row .btn { min-width: 0; white-space: normal; line-height: 1.2; }
@media (max-width: 380px) { .qty input { width: 60px; } }
/* Toques cómodos (≥ 40 px de alto) en botones de filtros y vistas */
.filters-actions .btn, .filters-actions .btn-link { min-height: 40px; display: inline-flex; align-items: center; justify-content: center; }
.bud-nolimit { min-height: 36px; }

/* Desplazamiento independiente en paneles paralelos de la tienda. */
@media (min-width: 921px) {
  .scroll-panel {
    --panel-top: calc(var(--header-h) + 16px);
    min-height: 0;
    max-height: max(160px, calc(100dvh - var(--panel-top) - 16px));
    overflow-y: auto;
    overscroll-behavior-y: contain;
    /* Sin barra gris (04/12/2026, pedido del dueño): se baja con la rueda, el teclado o el dedo */
    scrollbar-width: none;
  }
  .scroll-panel::-webkit-scrollbar { display: none; }
  /* Ficha: fotos + información en un solo panel a la izquierda; precio y compra a la derecha */
  .product-main { grid-column: 1; grid-row: 1 / span 2; display: flex; flex-direction: column; gap: 20px; align-self: start; }
  .product-main > .gallery { flex: none; }
  /* Foto grande + miniaturas a la vista juntas al abrir la ficha (04/12/2026): la foto se ajusta al alto disponible */
  .product-main .has-thumbs .gallery-main { aspect-ratio: auto; height: clamp(260px, calc(100dvh - var(--panel-top) - 16px - 132px), 660px); }
  .product-main .gallery:not(.has-thumbs) .gallery-main { aspect-ratio: auto; height: clamp(260px, calc(100dvh - var(--panel-top) - 16px), 620px); }

  html.season-navidad .scroll-panel {
    --panel-top: calc(var(--header-h) + var(--xg-h, 0px) + var(--xg-top, 0px) + 16px);
  }

  .scroll-panel:is(.buybox, .summary) { top: var(--panel-top); }
  .arm-center.scroll-panel { min-height: 0; }
  .scroll-panel:focus-visible { outline: 2px solid var(--blue); outline-offset: -2px; }
  .listing-empty .scroll-panel { max-height: none; overflow: visible; }
}

/* Datos comerciales (sólo administrador; el contenido lo agrega admin-comercial.js con la sesión verificada) */
.adm-com { margin: 4px 0 2px; border: 1px dashed var(--line); border-radius: 10px; background: color-mix(in srgb, var(--card) 92%, var(--blue) 8%); }
.adm-com > summary { cursor: pointer; padding: 10px 14px; font-weight: 700; font-size: 14px; list-style-position: inside; }
.adm-com-slot, .adm-com-dslot { padding: 0 14px 12px; }
.adm-com-dl { margin: 0; display: grid; gap: 4px; font-size: 13.5px; }
.adm-com-dl > div { display: grid; grid-template-columns: minmax(130px, 42%) 1fr; gap: 10px; }
.adm-com-dl dt { color: var(--muted, #5b6472); }
.adm-com-dl dd { margin: 0; overflow-wrap: anywhere; }
.adm-com-strong dd, .adm-com-pos dd, .adm-com-neg dd { font-weight: 700; }
.adm-com-pos dd { color: #12803a; } .adm-com-neg dd { color: #b42318; } .adm-com-warn dd { color: #9a6700; }
.adm-com-prov { color: var(--blue); font-weight: 700; }
.adm-com-muted { margin: 6px 0 0; font-size: 12.5px; color: var(--muted, #5b6472); }
.adm-com-comp { width: 100%; margin-top: 8px; border-collapse: collapse; font-size: 12.5px; }
.adm-com-comp th, .adm-com-comp td { text-align: left; padding: 4px 6px; border-top: 1px solid var(--line); vertical-align: top; }
.adm-com-comp td:last-child, .adm-com-comp th:last-child { text-align: right; white-space: nowrap; }
.adm-com-var { margin: 12px 0 4px; font-size: 13px; }
.adm-com-btn { margin-top: 6px; align-self: flex-start; background: none; border: 0; padding: 2px 0; font-size: 12px; color: var(--muted, #5b6472); text-decoration: underline; cursor: pointer; }
.adm-com-btn:hover { color: var(--blue); }
.adm-com-dialog { width: min(560px, calc(100vw - 24px)); max-height: min(80vh, 720px); border: 1px solid var(--line); border-radius: 14px; padding: 0; background: var(--card, #fff); color: inherit; }
.adm-com-dialog::backdrop { background: rgba(6, 12, 24, .45); }
.adm-com-dhead { display: flex; align-items: center; gap: 10px; justify-content: space-between; padding: 12px 14px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: inherit; }
.adm-com-dtitle { font-size: 15px; }
.adm-com-close { border: 0; background: none; font-size: 22px; line-height: 1; cursor: pointer; padding: 2px 6px; }
.adm-com-dslot { padding-top: 10px; }

/* Indicador de paneles que se deslizan (04/12/2026): barrita fina del lado de afuera, discreta, más visible al pasar el mouse o al deslizar */
.sp-hint { position: fixed; z-index: 5; width: 4px; border-radius: 4px; background: rgba(11, 18, 32, .06); pointer-events: none; opacity: .75; transition: opacity .25s; }
.sp-hint[hidden] { display: none; }
.sp-hint-thumb { width: 100%; border-radius: 4px; background: var(--blue); opacity: .35; transition: opacity .25s; }
.sp-hint.hover, .sp-hint.on { opacity: 1; }
.sp-hint.hover .sp-hint-thumb, .sp-hint.on .sp-hint-thumb { opacity: .7; }
@media (prefers-reduced-motion: reduce) { .sp-hint, .sp-hint-thumb { transition: none; } }
@media (max-width: 920px) { .sp-hint { display: none; } }

/* Encabezado de subcategoría dentro de los márgenes del catálogo. */
.subcategory-head-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 8px;
  padding: clamp(14px, 2.1vw, 25px) clamp(16px, 2.5vw, 30px);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(110deg, var(--card) 35%, #eaf2fa);
}
.subcategory-head-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: color-mix(in srgb, var(--blue) 58%, var(--line));
}
.subcategory-head-card::after {
  content: "";
  position: absolute;
  inset: 0 0 0 58%;
  z-index: -1;
  background: radial-gradient(circle, #4677a52b 1px, transparent 1.5px) 0 0 / 15px 15px;
  mask-image: linear-gradient(to right, transparent, #000);
}
.subcategory-head-card h1 {
  margin: 0;
  font: 800 clamp(26px, 3vw, 42px)/1.12 var(--display);
  letter-spacing: -.025em;
  overflow-wrap: anywhere;
}
.subcategory-head-count {
  margin: 0;
  padding: 3px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  color: var(--slate-2);
  font-size: .875rem;
}

/* El calendario distingue una fecha estimada de la disponibilidad habitual. */
.stock.arriving, .pc-stock.arriving {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 1 auto;
  white-space: normal;
}
.stock.arriving::before, .pc-stock.arriving::before {
  content: "";
  flex: none;
  width: 1em;
  height: 1em;
  border-radius: 0;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M7 3v4m10-4v4M3 10h18m-13 5h2m4 0h2'/%3E%3C/svg%3E") center / contain no-repeat;
}
