/* CELFIX WEB 3.12 – refinamientos del comparador. */
/* Cabecera: fondo editable, texto legible y regreso claramente separado. */
.cfx42-compare-hero{position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(112deg,#071c30,#063a6b);padding:64px 0 57px;min-height:290px}
.cfx42-compare-hero-img{position:absolute;z-index:-2;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;display:block}
.cfx42-hero-overlay{position:absolute;z-index:-1;inset:0;pointer-events:none;background:linear-gradient(90deg,rgba(5,20,36,.93) 0%,rgba(7,31,53,.85) 48%,rgba(6,37,67,.54) 100%)}
.cfx42-hero-content{position:relative;z-index:1}
.cfx42-hero-content .label{display:inline-block;margin-bottom:9px}
.cfx42-hero-content h1{margin:12px 0 16px}
.cfx42-hero-content>p{margin:0;max-width:720px}
.cfx42-hero-links{margin-top:31px;padding-top:19px;border-top:1px solid rgba(222,242,255,.24);display:flex;align-items:center}
.cfx42-hero-links .cfx41-back{display:inline-flex;align-items:center;gap:8px;margin:0;border:1px solid rgba(195,229,255,.30);background:rgba(10,51,86,.48);border-radius:99px;padding:11px 18px;text-decoration:none;color:#e2f2ff;font-weight:750;transition:background .2s,border-color .2s}
.cfx42-hero-links .cfx41-back:hover,.cfx42-hero-links .cfx41-back:focus-visible{background:rgba(20,117,189,.56);border-color:#a5dbff}
/* Separar datos del equipo de fotografía y evitar solapamientos con etiquetas. */
.cfx41-compare-card{position:relative;overflow:hidden}
.cfx41-device-photo{flex:0 0 auto;position:relative;overflow:hidden;margin:12px 0 12px;padding:7px 5px}
.cfx41-device-photo img{display:block;object-fit:contain;object-position:center;width:100%;height:100%}
.cfx42-device-details{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:5px;min-height:100px;padding:5px 3px 8px;border-top:1px solid #e5eef6;width:100%}
.cfx42-device-details .cfx41-device-brand{position:static!important;float:none;inset:auto;transform:none!important;display:inline-flex;align-self:center;align-items:center;justify-content:center;background:#edf6ff;border:1px solid #cfe6fa;padding:5px 11px;border-radius:40px;max-width:100%;margin:3px 0 4px;line-height:1.3;color:#0768b2;letter-spacing:.05em;overflow-wrap:anywhere}
.cfx42-device-details h3{position:static!important;margin:0 0 3px;min-height:0;line-height:1.3;overflow-wrap:anywhere}
.cfx42-device-details .cfx41-device-price{margin:0;min-height:1.4em}
.cfx41-device-open{margin-top:auto}
/* Lista principal de navegación: comparación destacada sin iconos de doble flecha. */
.cfx-catalog-tabs .cfx41-catalog-tab{background:#0071ce!important;color:#fff!important;border:1px solid #0071ce!important;box-shadow:0 3px 12px rgba(0,113,206,.16);font-weight:800}
.cfx-catalog-tabs .cfx41-catalog-tab:hover{background:#075b9f!important;border-color:#075b9f!important}
.cfx-catalog-tabs .cfx41-catalog-tab::before,.cfx-catalog-tabs .cfx41-catalog-tab::after{content:none!important;display:none!important}
/* Ilustración más limpia y posibilidad de reemplazar con PNG transparente. */
.cfx42-compare-visual{height:170px;max-height:170px;margin:8px auto 14px;overflow:visible;display:grid;place-items:center}
.cfx42-compare-default-icon{width:min(100%,240px);height:155px;filter:drop-shadow(0 8px 15px rgba(0,14,29,.18))}
.cfx41-compare-category .cfx42-compare-custom-icon{display:block;width:auto;max-width:100%;max-height:158px;height:auto;object-fit:contain;margin:0 auto;filter:drop-shadow(0 10px 14px rgba(0,14,29,.17))}
/* Lista por marca; nativos optgroup mejoran lectura de equipos. */
.cfx41-compare-card select{appearance:auto;padding-right:10px}
.cfx41-compare-card select optgroup{font-size:13px;font-weight:800;color:#0c5791;background:#f3f8fc}
.cfx41-compare-card select option{font-size:13px;font-weight:500;color:#143b58;background:#fff}
@media(max-width:720px){.cfx42-compare-hero{padding:47px 0 39px;min-height:0}.cfx42-hero-links{margin-top:22px;padding-top:14px}.cfx42-compare-visual{height:150px;max-height:150px}.cfx42-compare-default-icon{height:132px}.cfx41-compare-category .cfx42-compare-custom-icon{max-height:136px}.cfx42-device-details{min-height:92px}}
@media(max-width:650px){.cfx41-device-photo{margin:8px 0 10px}.cfx42-device-details{min-height:106px}}
@media(prefers-reduced-motion:reduce){.cfx42-hero-links .cfx41-back{transition:none}}
