/* Comparar (EasyMac Core), con las medidas del wireframe v0.12 (index.html: barra blanca, hoja que sube desde abajo). */
.emx-cmp-bar,.emx-cmp-sheet{font-family:var(--wp--preset--font-family--montserrat,inherit);color:var(--emx-ink)}
.emx-cmp-bar[hidden],.emx-cmp-sheet[hidden]{display:none}

/* Barra fija: un espacio por equipo, "Limpiar" y "Comparar (N)" */
.emx-cmp-bar{position:fixed;left:50%;bottom:20px;transform:translateX(-50%);z-index:9990;display:flex;align-items:center;gap:14px;width:min(760px,calc(100% - 32px));
	padding:10px 10px 10px 18px;border:1px solid var(--emx-line);border-radius:24px;background:#fff;box-shadow:var(--wp--preset--shadow--panel,0 20px 48px rgba(33,36,39,.14))}
.emx-cmp-chips{list-style:none;display:flex;flex:1;gap:8px;min-width:0;margin:0;padding:0}
.emx-cmp-chips li{display:flex;flex:1;align-items:center;justify-content:space-between;gap:4px;min-width:0;min-height:40px;margin:0;padding:4px 4px 4px 10px;border:1px solid var(--emx-line);border-radius:12px;font-size:12px;font-weight:700;line-height:1.5}
.emx-cmp-chips li span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.emx-cmp-chips li.is-empty{justify-content:center;padding:4px;border-style:dashed;color:var(--wp--preset--color--gris-oscuro,#3B3F42);font-weight:400}
.emx-cmp-x{min-width:32px;min-height:32px;margin:0;padding:0;border:0;border-radius:8px;background:transparent;color:inherit;font:inherit;font-size:16px;font-weight:700;cursor:pointer}
.emx-cmp-n{display:none;font-size:12px;font-weight:700;white-space:nowrap}
.emx-cmp-clear{min-height:44px;margin:0;padding:0;border:0;background:transparent;color:var(--wp--preset--color--gris-oscuro,#3B3F42);font:inherit;font-size:12px;font-weight:700;text-decoration:underline;cursor:pointer;white-space:nowrap}
.emx-cmp-go{min-height:44px;margin:0;padding:10px 18px;border:0;border-radius:999px;background:var(--wp--preset--color--celestial,#2695D1);color:#fff;font:inherit;font-size:20px;font-weight:700;line-height:1.2;white-space:nowrap;cursor:pointer;transition:background-color .15s}
.emx-cmp-go:hover,.emx-cmp-go:focus-visible{background:var(--wp--preset--color--celestial-deep,#1F7DB0)}
/* Barra con las medidas del wireframe del 12 nov 2026 (categoria.html / computadores-usados.html, #app .cmp-bar): radio 20, sombra
   0 14px 34px, chips grises sin borde de 12px/400 y 38px de alto, espacio vacío punteado, "Limpiar" de 14px/400 y "Comparar" de
   14px/700 con borde de 2px; al pasar el mouse, celeste claro con letra tinta */
.emx-cmp-bar{gap:10px;padding:8px 8px 8px 16px;border-radius:20px;box-shadow:0 14px 34px rgba(0,0,0,.3)}
.emx-cmp-chips li{min-height:38px;padding:2px 2px 2px 12px;border-color:#F6F7F8;border-radius:999px;background:#F6F7F8;font-weight:400;line-height:1.45}
.emx-cmp-chips li.is-empty{padding:2px 2px 2px 12px;border-color:#5A5E67;background:transparent;color:#C4C8CF}
.emx-cmp-x{border-radius:999px;font-weight:400;transition:background-color .15s,color .15s}
.emx-cmp-x:hover,.emx-cmp-x:focus-visible{background:var(--emx-hover,#A8D5ED);color:var(--emx-ink,#212427)}
.emx-cmp-clear{padding:1px 6px;font-size:14px;font-weight:400;line-height:1.45}
.emx-cmp-go{padding:0 20px;border:2px solid var(--wp--preset--color--celestial,#2695D1);font-size:14px;transition:background-color .15s,border-color .15s,color .15s}
.emx-cmp-go:hover,.emx-cmp-go:focus-visible{background:var(--emx-hover,#A8D5ED);border-color:var(--emx-hover,#A8D5ED);color:var(--emx-ink,#212427)}
.emx-cmp-go[aria-disabled="true"]{border-color:var(--emx-line)}
.emx-cmp-go[aria-disabled="true"]{background:var(--emx-line);color:var(--wp--preset--color--gris-oscuro,#3B3F42);cursor:default}
html.emx-has-cmp .emx-fab-wrap{bottom:calc(100px + env(safe-area-inset-bottom,0px))}

/* Hoja: sube desde abajo, con velo; la tabla se desliza de lado si no cabe */
.emx-cmp-sheet{position:fixed;inset:0;z-index:100001;display:flex;flex-direction:column;justify-content:flex-end}
.emx-cmp-shade{position:absolute;inset:0;margin:0;padding:0;border:0;border-radius:0;background:rgba(0,0,0,.45);cursor:pointer}
.emx-cmp-panel{position:relative;max-height:88%;overflow:auto;overscroll-behavior:contain;padding:18px 24px 28px;border-radius:24px 24px 0 0;background:#fff;box-shadow:var(--wp--preset--shadow--panel,0 20px 48px rgba(33,36,39,.14))}
.emx-cmp-top{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px}
.emx-cmp-top h2{margin:0;font-size:24px;font-weight:700;line-height:1.5;letter-spacing:-.02em;color:var(--emx-ink)}
.emx-cmp-top h2:focus{outline:none}
.emx-cmp-close{display:grid;place-items:center;flex:none;width:44px;height:44px;margin:0;padding:0;border:0;border-radius:50%;background:transparent;color:var(--emx-ink);cursor:pointer}
.emx-cmp-close svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.emx-cmp-scroll{overflow-x:auto}
.emx-cmp-table{width:100%;min-width:520px;margin:0;border-collapse:collapse;font-size:14px;line-height:1.5}
.emx-cmp-table th,.emx-cmp-table td{padding:10px 12px;border:0;border-bottom:1px solid var(--emx-line);text-align:left;vertical-align:top}
.emx-cmp-table thead th{width:30%;font-weight:700}
.emx-cmp-table td.emx-cmp-wait{padding:40px 12px;border:0;text-align:center;color:var(--wp--preset--color--gris-oscuro,#3B3F42)}
.emx-cmp-table tbody th{width:120px;color:var(--wp--preset--color--gris-oscuro,#3B3F42);font-weight:700;white-space:nowrap}
.emx-cmp-img{display:block;height:90px;margin-bottom:8px;border:1px solid var(--emx-line);border-radius:12px;background:#fff;overflow:hidden}
.emx-cmp-img img{display:block;width:100%;height:100%;padding:4px;object-fit:contain;box-sizing:border-box}
.emx-cmp-k{display:block;margin-bottom:2px;font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--wp--preset--color--gris-oscuro,#3B3F42)}
.emx-cmp-k .deals{letter-spacing:.01em}
.emx-cmp-name{color:inherit;text-decoration:none}
.emx-cmp-name:hover{text-decoration:underline}
.emx-cmp-table thead .emx-cmp-x{display:block;min-height:32px;margin-top:4px;padding:0;font-size:12px;font-weight:700;text-decoration:underline;color:var(--wp--preset--color--gris-oscuro,#3B3F42)}
.emx-cmp-table td .emx-cmp-buy{display:inline-flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:44px;padding:10px 18px;font-size:14px;white-space:nowrap}
.emx-cmp-table td .emx-cmp-buy svg{width:16px;height:16px;flex:none}

/* Celular (vista "Móvil 375" del wireframe) */
@media (max-width:781px){
	.emx-cmp-bar{bottom:12px;gap:10px;width:calc(100% - 20px);padding:6px 6px 6px 14px}
	.emx-cmp-chips{display:none}
	.emx-cmp-n{display:block;flex:1;min-width:0;font-size:14px;line-height:1.45}
	.emx-cmp-go{flex:none;padding:0 16px}
	html.emx-has-cmp .emx-fab-wrap{bottom:calc(84px + env(safe-area-inset-bottom,0px))}
	.emx-cmp-panel{padding:14px 14px 22px}
	.emx-cmp-top h2{font-size:20px}
	.emx-cmp-table{min-width:0;font-size:12px}
	.emx-cmp-table th,.emx-cmp-table td{padding:8px 6px}
	.emx-cmp-table tbody th{width:74px;white-space:normal}
	.emx-cmp-img{height:56px}
}
