/* Existencias iStuffs — vista pública. Todas las clases con prefijo ie-. Requiere Poppins 400–800. */
.ie-front {
	--ie-tinta: #0B1120;
	--ie-cuerpo: #5E626C;
	--ie-lienzo: #ECEEF3;
	--ie-papel: #FFFFFF;
	--ie-borde: rgba(11, 17, 32, .10);
	--ie-borde-f: rgba(11, 17, 32, .18);
	--ie-grad: linear-gradient(135deg, #E8172A, #D40F7D);
	--ie-sombra: 0 18px 48px rgba(11, 17, 32, .08);
	--ie-foco: #1A73E8;
	max-width: 1180px;
	margin: 0 auto;
	padding: 28px 16px 48px;
	font-family: 'Poppins', system-ui, sans-serif;
	color: var(--ie-tinta);
	-webkit-font-smoothing: antialiased;
}
.ie-front *, .ie-front *::before, .ie-front *::after { box-sizing: border-box; }
.ie-front [hidden] { display: none !important; }
:where(.ie-front) button { font-family: inherit; color: inherit; line-height: inherit; }
.ie-front :focus-visible { outline: 2px solid var(--ie-foco); outline-offset: 2px; }
.ie-sr { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ie-ico { display: inline-flex; width: 16px; height: 16px; flex: none; }
.ie-ico svg { width: 100%; height: 100%; display: block; }

/* Encabezado */
.ie-head { margin: 0 0 20px; }
.ie-eyebrow { display: block; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #D40F7D; margin-bottom: 8px; }
.ie-titulo { font-size: clamp(30px, 7.6vw, 52px); font-weight: 800; line-height: 1.05; letter-spacing: -.03em; margin: 0; text-wrap: balance; }
.ie-sub { margin: 12px 0 0; font-size: 15px; line-height: 1.55; color: var(--ie-cuerpo); max-width: 46ch; text-wrap: pretty; }

/* Tarjetas */
.ie-card {
	background: var(--ie-papel); border: 1px solid var(--ie-borde); border-radius: 22px; box-shadow: var(--ie-sombra); padding: 18px;
}
.ie-busca {
	position: relative; z-index: 5;
	background: linear-gradient(90deg, #3AB0E0, #6ABF2E, #F5C518, #E8172A, #D40F7D, #7B2D7D) 0 0 / 100% 4px no-repeat padding-box, var(--ie-papel);
	padding-top: 22px;
}

/* Sucursales (solo si hay más de una) */
.ie-sucs { display: flex; gap: 8px; overflow-x: auto; margin: 0 0 16px; padding: 2px; scrollbar-width: none; }
.ie-sucs::-webkit-scrollbar { display: none; }
.ie-tab {
	flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px;
	border: 1px solid var(--ie-borde); background: var(--ie-papel); font-size: 14px; font-weight: 600; cursor: pointer;
}
.ie-tab[aria-selected="true"] { background: var(--ie-tinta); border-color: var(--ie-tinta); color: #fff; }

/* Buscador */
.ie-busca-l { display: block; font-size: 14px; font-weight: 600; margin: 0 0 10px; }
.ie-campo { position: relative; }
.ie-lupa { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--ie-cuerpo); pointer-events: none; }
.ie-front .ie-q {
	display: block; width: 100%; height: 58px; margin: 0; padding: 0 54px 0 50px;
	border: 2px solid transparent; border-radius: 999px; background: var(--ie-lienzo); box-shadow: none; outline: none;
	font: inherit; font-size: 17px; font-weight: 500; color: var(--ie-tinta);
	-webkit-appearance: none; appearance: none; transition: background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.ie-front .ie-q::placeholder { color: var(--ie-cuerpo); opacity: 1; font-weight: 400; }
.ie-front .ie-q::-webkit-search-cancel-button { -webkit-appearance: none; display: none; }
.ie-front .ie-q:focus { background: var(--ie-papel); border-color: var(--ie-foco); box-shadow: 0 0 0 4px rgba(26, 115, 232, .14); }
.ie-limpia {
	position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 44px; height: 44px;
	display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 50%; background: transparent; cursor: pointer; color: var(--ie-cuerpo);
}
.ie-limpia:hover { background: rgba(11, 17, 32, .06); color: var(--ie-tinta); }

/* Sugerencias (listbox) */
.ie-sug {
	position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 20; margin: 0; padding: 6px; list-style: none;
	background: var(--ie-papel); border: 1px solid var(--ie-borde); border-radius: 18px; box-shadow: 0 18px 48px rgba(11, 17, 32, .18);
	max-height: min(372px, 60vh); overflow: auto;
}
.ie-sug-op { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 8px 12px; border-radius: 12px; cursor: pointer; }
.ie-sug-op:hover, .ie-sug-op[aria-selected="true"] { background: var(--ie-lienzo); }
.ie-sug-txt { flex: 1; min-width: 0; }
.ie-sug-n { display: block; font-size: 15px; font-weight: 600; overflow-wrap: anywhere; }
.ie-sug-n mark { background: none; color: inherit; font-weight: 800; box-shadow: inset 0 -2px 0 #D40F7D; }
.ie-sug-m { display: block; font-size: 12px; color: var(--ie-cuerpo); }

/* Ejemplos y ayuda */
.ie-ejemplos { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; font-size: 13px; color: var(--ie-cuerpo); }
.ie-ej {
	min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--ie-borde); background: var(--ie-papel);
	font-size: 13px; font-weight: 600; color: var(--ie-tinta); cursor: pointer; transition: border-color .2s ease;
}
.ie-ej:hover { border-color: var(--ie-tinta); }
.ie-ayuda { margin-top: 10px; font-size: 13px; line-height: 1.55; color: var(--ie-cuerpo); }
.ie-ayuda summary { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 600; color: var(--ie-tinta); cursor: pointer; list-style: none; }
.ie-ayuda summary::-webkit-details-marker { display: none; }
.ie-ayuda summary .ie-ico { transition: transform .2s ease; }
.ie-ayuda[open] summary .ie-ico { transform: rotate(180deg); }
.ie-ayuda p { margin: 0 0 4px; max-width: 60ch; }
.ie-ayuda b { color: var(--ie-tinta); font-weight: 600; }

/* Filtros */
.ie-filtros { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; margin-top: 12px; padding-top: 16px; border-top: 1px solid var(--ie-borde); }
.ie-filtro-l { font-size: 13px; color: var(--ie-cuerpo); margin-right: 4px; }
.ie-seg-w { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.ie-seg { display: inline-flex; gap: 2px; padding: 4px; border-radius: 999px; background: var(--ie-lienzo); }
.ie-seg-b { min-height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent; font-size: 14px; font-weight: 600; color: var(--ie-cuerpo); cursor: pointer; }
.ie-seg-b[aria-pressed="true"] { background: var(--ie-tinta); color: #fff; }
.ie-solo { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 14px; font-weight: 500; cursor: pointer; user-select: none; }
.ie-solo input {
	-webkit-appearance: none; appearance: none; position: relative; flex: none; width: 42px; height: 26px; margin: 0; border-radius: 999px;
	background: #C3C6CE; cursor: pointer; transition: background .2s ease;
}
.ie-solo input::before { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(11, 17, 32, .25); transition: transform .2s ease; }
.ie-solo input:checked { background: var(--ie-tinta); }
.ie-solo input:checked::before { transform: translateX(16px); }

/* Cuerpo: explorar + ficha */
.ie-cuerpo { display: grid; gap: 16px; margin-top: 16px; }
.ie-explora-h { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 4px 12px; margin-bottom: 14px; }
.ie-paso { display: block; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ie-cuerpo); }
.ie-h2 { margin: 4px 0 0; font-size: 21px; font-weight: 800; line-height: 1.2; letter-spacing: -.02em; outline: none; text-wrap: balance; }
.ie-cuenta { margin: 0; font-size: 13px; color: var(--ie-cuerpo); }
.ie-volver { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin: -8px 0 4px; padding: 0 8px 0 0; border: 0; background: none; font-size: 14px; font-weight: 600; cursor: pointer; }
.ie-volver:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Paso 1: marcas */
.ie-marcas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.ie-marca {
	width: 100%; min-height: 78px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px;
	padding: 14px 16px; border: 1px solid var(--ie-borde); border-radius: 16px; background: var(--ie-papel); text-align: left; cursor: pointer;
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.ie-marca:hover { transform: translateY(-2px); border-color: var(--ie-borde-f); box-shadow: 0 10px 24px rgba(11, 17, 32, .08); }
.ie-marca b { font-size: 16px; font-weight: 700; }
.ie-marca span { font-size: 12px; color: var(--ie-cuerpo); }

/* Listas de modelos */
.ie-grupo + .ie-grupo { margin-top: 22px; }
.ie-marca-h { display: flex; justify-content: space-between; gap: 12px; margin: 0; padding: 0 0 8px; border-bottom: 1px solid var(--ie-borde); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ie-cuerpo); }
.ie-marca-h span { letter-spacing: 0; text-transform: none; font-weight: 500; }
.ie-filas { margin: 0; padding: 0; list-style: none; }
.ie-filas li { border-bottom: 1px solid var(--ie-borde); padding: 3px 0; }
.ie-fila {
	width: 100%; min-height: 58px; display: flex; align-items: center; gap: 12px; padding: 8px 10px; margin: 0;
	border: 0; border-radius: 12px; background: none; text-align: left; cursor: pointer; transition: background .15s ease;
}
.ie-fila:hover { background: rgba(11, 17, 32, .04); }
.ie-fila[aria-current="true"] { background: var(--ie-lienzo); }
.ie-fila-txt { flex: 1; min-width: 0; }
.ie-modelo { display: block; font-size: 15px; font-weight: 600; overflow-wrap: anywhere; }
.ie-fila-det { display: block; margin-top: 1px; font-size: 12px; color: var(--ie-cuerpo); }
.ie-chev { color: var(--ie-cuerpo); }
.ie-mas { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-top: 4px; padding: 0; border: 0; background: none; font-size: 14px; font-weight: 600; cursor: pointer; }
.ie-mas:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Estados: tinte suave + texto oscuro + ícono (nunca solo color) */
.ie-estado { display: inline-flex; align-items: center; gap: 6px; flex: none; padding: 5px 11px 5px 8px; border-radius: 999px; font-size: 12px; font-weight: 600; line-height: 1.2; white-space: nowrap; }
.ie-estado .ie-ico { width: 14px; height: 14px; }
.ie-d { background: rgba(106, 191, 46, .16); color: #2d6a0f; }
.ie-a { background: rgba(232, 23, 42, .11); color: #b30f1f; }
.ie-s { background: rgba(245, 197, 24, .24); color: #7a5a00; }
.ie-p { background: rgba(58, 176, 224, .16); color: #0b6a93; }
.ie-n { background: var(--ie-lienzo); color: var(--ie-cuerpo); }

/* Ficha del modelo */
.ie-ficha-t { display: flex; flex-direction: column; align-items: center; gap: 10px; margin: 0; padding: 18px 16px; border-radius: 16px; background: var(--ie-papel); box-shadow: 0 10px 28px rgba(11, 17, 32, .12); text-align: center; font-size: 20px; font-weight: 800; line-height: 1.2; letter-spacing: -.02em; outline: none; overflow-wrap: anywhere; }
.ie-ficha-n { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ie-ficha-m { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ie-cuerpo); }
.ie-veredicto { padding: 0 0 18px; border-bottom: 1px solid var(--ie-borde); }
.ie-ver-ico { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 32px; height: 32px; border-radius: 50%; }
.ie-ver-ico .ie-ico { width: 16px; height: 16px; }
.ie-ver-t { margin: 4px 0 0; font-size: 26px; font-weight: 800; line-height: 1.15; letter-spacing: -.01em; }
.ie-ver-s { margin: 12px auto 0; max-width: 34ch; text-align: center; font-size: 14px; line-height: 1.5; color: var(--ie-cuerpo); text-wrap: pretty; }
.ie-ver-n { display: block; font-weight: 700; color: #D40F7D; }
.ie-ver-suc { display: block; }
.ie-acciones { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.ie-btn, .ie-btn-f {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 24px; border-radius: 999px;
	font-size: 15px; font-weight: 700; text-decoration: none; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.ie-btn { border: 0; background: var(--ie-grad); color: #fff !important; box-shadow: 0 10px 24px rgba(212, 15, 125, .24); }
.ie-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(212, 15, 125, .32); }
.ie-btn-f { border: 1px solid var(--ie-borde-f); background: transparent; color: var(--ie-tinta) !important; }
.ie-btn-f:hover { background: var(--ie-lienzo); }
.ie-grupo-t { margin: 24px 0 2px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ie-cuerpo); }
.ie-prods { margin: 0; padding: 0; list-style: none; }
.ie-prod { border-bottom: 1px solid var(--ie-borde); }
.ie-prod-r { display: flex; align-items: center; gap: 12px; width: calc(100% + 16px); margin: 0 -8px; padding: 10px 8px; border: 0; border-radius: 14px; background: none; text-align: left; }
button.ie-prod-r { cursor: pointer; transition: background .15s ease; }
button.ie-prod-r:hover { background: rgba(11, 17, 32, .04); }
.ie-prod-txt { flex: 1; min-width: 0; }
.ie-prod-th { position: relative; flex: none; display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 12px; overflow: hidden; background: var(--ie-lienzo); color: var(--ie-cuerpo); transition: box-shadow .2s ease; }
.ie-prod-th img { display: block; width: 100%; height: 100%; padding: 4px; object-fit: contain; }
.ie-prod-th .ie-ico { width: 20px; height: 20px; }
.ie-prod-r[aria-expanded="true"] .ie-prod-th { box-shadow: 0 0 0 2px #D40F7D; }
.ie-prod-pv { margin: 2px 0 14px; padding: 12px; border-radius: 16px; background: var(--ie-papel); box-shadow: 0 10px 28px rgba(11, 17, 32, .12); }
.ie-prod-pv img { display: block; width: 100%; max-height: 340px; object-fit: contain; border-radius: 10px; }
.ie-prod:last-child { border-bottom: 0; }
.ie-prod-n { display: block; font-size: 15px; font-weight: 600; }
.ie-prod-d { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-top: 3px; font-size: 12px; line-height: 1.4; color: var(--ie-cuerpo); }
.ie-prod-c { padding: 1px 7px; border: 1px solid var(--ie-borde-f); border-radius: 6px; font-size: 11px; font-weight: 600; letter-spacing: .04em; color: var(--ie-tinta); }
.ie-ficha-vacia { padding: 36px 12px; text-align: center; }
.ie-circ { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; background: var(--ie-lienzo); color: var(--ie-tinta); margin-bottom: 14px; }
.ie-circ .ie-ico { width: 24px; height: 24px; }
.ie-ficha-vacia .ie-h2 { font-size: 19px; }
.ie-ficha-vacia p, .ie-vacio p { margin: 8px auto 0; max-width: 34ch; font-size: 14px; line-height: 1.55; color: var(--ie-cuerpo); text-wrap: pretty; }

/* Vacío / error / cargando */
.ie-vacio { padding: 28px 4px 12px; text-align: center; }
.ie-vacio .ie-acciones { align-items: stretch; margin-top: 20px; }
.ie-esq { height: 58px; margin-bottom: 8px; border-radius: 12px; background: linear-gradient(90deg, var(--ie-lienzo) 0%, #F6F7FA 50%, var(--ie-lienzo) 100%) 0 0 / 200% 100%; animation: ie-brillo 1.4s linear infinite; }
@keyframes ie-brillo { to { background-position: -200% 0; } }

/* Pie */
.ie-pie { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 20px 0 0; font-size: 12px; color: var(--ie-cuerpo); }
.ie-vivo { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; color: #2d6a0f; }
.ie-vivo::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; animation: ie-pulso 2s ease infinite; }
.ie-vivo.ie-off { color: #7a5a00; }
.ie-vivo.ie-off::before { animation: none; }
@keyframes ie-pulso { 0% { box-shadow: 0 0 0 0 rgba(45, 106, 15, .45); } 70%, 100% { box-shadow: 0 0 0 7px rgba(45, 106, 15, 0); } }

/* Móvil: la ficha sustituye a la lista */
@media (max-width: 959px) {
	.ie-ficha { display: none; }
	.ie-modo-ficha .ie-ficha { display: block; }
	.ie-modo-ficha .ie-explora { display: none; }
}
@media (max-width: 599px) {
	.ie-front { padding-top: 20px; }
	.ie-head { margin-bottom: 16px; }
	.ie-titulo { font-size: 30px; }
	.ie-sub { margin-top: 8px; font-size: 14px; }
	.ie-busca { padding: 20px 16px 16px; }
	.ie-busca-l { margin-bottom: 8px; }
	.ie-ejemplos { flex-wrap: nowrap; overflow-x: auto; margin: 10px -16px 0; padding: 0 16px; scrollbar-width: none; }
	.ie-ejemplos::-webkit-scrollbar { display: none; }
	.ie-ejemplos > * { flex: none; }
	.ie-ej { min-height: 36px; padding: 0 12px; }
	.ie-ayuda { margin-top: 6px; }
	.ie-ayuda summary { min-height: 40px; }
	.ie-filtros { flex-direction: column; align-items: stretch; gap: 4px; margin-top: 6px; padding-top: 12px; }
	.ie-seg-w { display: block; }
	.ie-filtro-l { display: none; }
	.ie-seg { display: flex; width: 100%; }
	.ie-seg-b { flex: 1; padding: 0 8px; }
	.ie-solo { flex-direction: row-reverse; justify-content: space-between; }
}
@media (min-width: 600px) {
	.ie-marcas { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.ie-vacio .ie-acciones { flex-direction: row; flex-wrap: wrap; justify-content: center; }
}
@media (min-width: 960px) {
	.ie-front { padding: 56px 32px 80px; }
	.ie-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 400px); align-items: end; gap: 12px 48px; margin-bottom: 28px; }
	.ie-sub { margin: 0; font-size: 16px; }
	.ie-card { padding: 28px; }
	.ie-busca { padding: 30px 32px 24px; }
	.ie-front .ie-q { height: 64px; font-size: 18px; padding-left: 56px; }
	.ie-lupa { left: 22px; }
	.ie-cuerpo { grid-template-columns: minmax(0, 1fr) 400px; align-items: start; gap: 24px; margin-top: 24px; }
	.ie-ficha { position: sticky; top: 24px; }
	.ie-ficha .ie-volver { display: none; }
	.ie-h2 { font-size: 24px; }
	.ie-marcas { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (pointer: fine) {
	.ie-ej { min-height: 36px; }
	.ie-ayuda summary { min-height: 32px; }
}
@media (prefers-reduced-motion: reduce) {
	.ie-front *, .ie-front *::before { animation: none !important; transition: none !important; }
}

/* Blindaje contra el tema de istuffs.mx: el kit de Elementor pinta todo <button> de magenta y
   subraya los enlaces. Estos elementos heredan la tinta en el diseño; aquí se fija con más
   especificidad, sin cambiar ningún valor. */
.ie-front .ie-fila, .ie-front .ie-prod-r, .ie-front .ie-marca, .ie-front .ie-volver { color: var(--ie-tinta); }
.ie-front .ie-fila:hover, .ie-front .ie-fila:focus, .ie-front button.ie-prod-r:hover, .ie-front button.ie-prod-r:focus { color: var(--ie-tinta); background: rgba(11, 17, 32, .04); }
.ie-front .ie-fila[aria-current="true"] { background: var(--ie-lienzo); }
.ie-front .ie-marca:hover, .ie-front .ie-marca:focus { color: var(--ie-tinta); background: var(--ie-papel); }
.ie-front .ie-volver:hover, .ie-front .ie-volver:focus { color: var(--ie-tinta); background: none; }
.ie-front a.ie-btn, .ie-front a.ie-btn-f, .ie-front a.ie-btn:hover, .ie-front a.ie-btn-f:hover, .ie-front a.ie-btn:focus, .ie-front a.ie-btn-f:focus { text-decoration: none; }

/* ==========================================================================
   Ajustes de layout (PROMPT-existencias-fix, 23-oct-2026). Solo presentación.
   ========================================================================== */
.ie-front { max-width: 1200px; margin: 0 auto; padding: 56px 24px 72px; box-sizing: border-box; }

/* Encabezado en una columna, centrado */
.ie-front .ie-head { display: flex; flex-direction: column; align-items: center; text-align: center; margin: 0 0 28px; }
.ie-front .ie-head-t { display: flex; flex-direction: column; align-items: center; }
.ie-front .ie-eyebrow { margin: 0 0 10px; font-size: 12px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: #D40F7D; }
.ie-front .ie-titulo { font-family: "Poppins", sans-serif; font-size: 48px; font-weight: 800; line-height: 1.05; letter-spacing: -1.6px; color: #0B1120; }
.ie-front .ie-sub { max-width: 560px; margin: 12px auto 0; font-size: 17px; color: rgba(11, 17, 32, .62); }

/* Todas las tarjetas: mismo estilo y mismos bordes */
.ie-front .ie-card { background: #fff; border: 1px solid rgba(11, 17, 32, .10); border-radius: 22px; box-shadow: 0 18px 48px rgba(11, 17, 32, .08); padding: 28px; }

/* Tarjeta del buscador. El filete va en un ::before con el mismo radio de la tarjeta:
   así se recorta en las esquinas SIN overflow:hidden, que cortaría las sugerencias. */
.ie-front .ie-busca { position: relative; background: #fff; padding: 28px; }
.ie-front .ie-busca::before {
	content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; border-radius: 21px;
	background: linear-gradient(90deg, #3AB0E0, #6ABF2E, #F5C518, #E8172A, #D40F7D, #7B2D7D) 0 0 / 100% 4px no-repeat;
}
.ie-front .ie-q { height: 56px; border: 1px solid rgba(11, 17, 32, .10); border-radius: 35px; background: #F4F5F8; font-size: 16px; }
.ie-front .ie-q:focus { border-color: #D40F7D; background: #fff; box-shadow: none; }

/* Filtros */
.ie-front .ie-filtros { justify-content: space-between; align-items: center; margin-top: 20px; padding-top: 20px; border-top: 1px solid rgba(11, 17, 32, .08); }
.ie-front .ie-seg-w { align-items: center; }
.ie-front .ie-filtro-l { line-height: 40px; }
.ie-front .ie-seg { padding: 4px; border-radius: 35px; background: rgba(11, 17, 32, .05); }
.ie-front .ie-seg-b { height: 40px; min-height: 40px; padding: 0 20px; border-radius: 35px; }
.ie-front .ie-seg-b[aria-pressed="true"] { background: #fff; color: #0B1120; box-shadow: 0 2px 8px rgba(11, 17, 32, .12); }
.ie-front .ie-solo input:checked { background: #D40F7D; }

/* Paneles */
.ie-front .ie-cuerpo { gap: 20px; margin-top: 20px; }
.ie-front .ie-explora-h { align-items: baseline; margin-bottom: 0; }
.ie-front .ie-paso { font-size: 12px; font-weight: 700; text-transform: uppercase; color: rgba(11, 17, 32, .45); }
.ie-front .ie-explora-h .ie-h2 { font-size: 22px; font-weight: 700; }
.ie-front .ie-cuenta { font-size: 14px; }
.ie-front .ie-marcas { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin-top: 20px; }
.ie-front .ie-marca { min-height: 0; padding: 14px 16px; border: 1px solid rgba(11, 17, 32, .10); border-radius: 16px; background: #fff; text-align: left; }
.ie-front .ie-marca:hover, .ie-front .ie-marca:focus { transform: none; box-shadow: none; background: #F6F7FA; border-color: rgba(11, 17, 32, .18); }
.ie-front .ie-marca b { font-size: 15px; font-weight: 700; }
.ie-front .ie-marca span { font-size: 12px; }

/* "Elige tu modelo" vacío: centrado, ícono en cuadro redondeado */
.ie-front .ie-ficha-vacia { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; height: 100%; padding: 0; text-align: center; }
.ie-front .ie-circ { width: 48px; height: 48px; margin: 0; border-radius: 14px; background: #F4F5F8; }
.ie-front .ie-ficha-vacia .ie-h2 { margin: 0; font-size: 18px; font-weight: 700; }
.ie-front .ie-ficha-vacia p { max-width: 240px; margin: 0; font-size: 14px; }

/* Notas al pie: 3 filas centradas; la primera (fecha de corte) en magenta */
.ie-front .ie-pie { flex-direction: column; flex-wrap: nowrap; align-items: center; gap: 4px; margin: 18px 0 0; padding: 0 4px; text-align: center; font-size: 13px; line-height: 1.5; color: rgba(11, 17, 32, .62); }
.ie-front .ie-pie > span:first-child:not(.ie-vivo) { font-weight: 700; color: #D40F7D; }

/* Escritorio: dos paneles del mismo alto. El corte sigue en 960 px porque ahí cambia
   también la lógica (ficha fija vs. ficha que sustituye a la lista). */
@media (min-width: 960px) {
	.ie-front { padding: 56px 24px 72px; }
	.ie-front .ie-busca { padding: 28px; }
	.ie-front .ie-q { height: 56px; font-size: 16px; }
	.ie-front .ie-cuerpo { grid-template-columns: minmax(0, 1fr) 360px; align-items: stretch; gap: 20px; margin-top: 20px; }
	.ie-front .ie-ficha { align-self: stretch; }
	.ie-front .ie-ficha:has(.ie-ficha-vacia) { display: flex; flex-direction: column; justify-content: center; }
}

/* Móvil */
@media (max-width: 820px) {
	.ie-front { padding: 32px 16px 48px; }
	.ie-front .ie-titulo { font-size: 32px; }
	.ie-front .ie-sub { font-size: 15px; }
	.ie-front .ie-busca { padding: 18px; }
	.ie-front .ie-card { padding: 18px; }
	.ie-front .ie-filtros { flex-direction: column; align-items: stretch; gap: 12px; }
	.ie-front .ie-seg-w { display: block; }
	.ie-front .ie-filtro-l { display: none; }
	.ie-front .ie-seg { display: flex; width: 100%; }
	.ie-front .ie-seg-b { flex: 1; padding: 0 8px; }
	.ie-front .ie-solo { flex-direction: row; justify-content: flex-end; align-self: flex-end; }
	.ie-front .ie-ejemplos { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
	.ie-front .ie-ejemplos::-webkit-scrollbar { display: none; }
	.ie-front .ie-ejemplos > span:first-child { display: none; } /* "Prueba con:" */
	.ie-front .ie-marcas { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
	.ie-front .ie-pie { font-size: 12px; }
}

/* "Ver opciones disponibles" no cabe en una línea en celular: se parte en dos dentro de la pastilla */
@media (max-width: 599px) {
	.ie-front .ie-fila .ie-estado, .ie-front .ie-sug .ie-estado { flex: none; max-width: 136px; white-space: normal; line-height: 1.25; border-radius: 12px; padding-top: 4px; padding-bottom: 4px; text-align: left; }
	.ie-front .ie-fila .ie-estado .ie-ico, .ie-front .ie-sug .ie-estado .ie-ico { flex: none; }
}

/* Celular: la ficha no debe ensancharse por su contenido (las pastillas MTY · GDL no se parten) */
.ie-front .ie-cuerpo > * { min-width: 0; }
@media (max-width: 599px) {
	.ie-front .ie-prod-r > .iee-sucs { flex-direction: column; align-items: flex-end; gap: 4px; }
}

/* ==========================================================================
   Resultados por categoría en la ficha (23-oct-2026)
   ========================================================================== */
.ie-front .ie-blq { margin-top: 20px; }
.ie-front .ie-blq + .ie-blq { margin-top: 28px; }
.ie-front .ie-blq-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.ie-front .ie-blq-t { margin: 0; font-size: 12px; font-weight: 700; line-height: 1.4; letter-spacing: 1.4px; text-transform: uppercase; min-width: 0; overflow-wrap: anywhere; }
.ie-front .ie-blq-f { color: #D40F7D; }
.ie-front .ie-blq-m { color: #1A73E8; }
.ie-front .ie-blq-n { flex: none; font-size: 12px; color: rgba(11, 17, 32, .55); white-space: nowrap; }

/* Encabezados de sucursal, alineados con los cuadros de cada fila */
.ie-front .ie-cols { display: flex; justify-content: flex-end; gap: 16px; margin-top: 10px; }
.ie-front .ie-cols span { width: 40px; text-align: center; font-size: 11px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: rgba(11, 17, 32, .45); }

/* Filas de producto */
.ie-front .ie-blq .ie-prods { margin: 4px 0 0; }
.ie-front .ie-blq .ie-prod { border-bottom: 1px solid rgba(11, 17, 32, .08); }
.ie-front .ie-blq .ie-prod:last-child { border-bottom: 0; }
.ie-front .ie-blq .ie-prod-th { width: 56px; height: 56px; border-radius: 14px; background: #F4F5F8; }
.ie-front .ie-blq .ie-prod-n { display: block; font-size: 15px; font-weight: 700; line-height: 1.3; color: #0B1120; }
.ie-front .ie-blq .ie-prod-d { display: block; margin-top: 2px; font-size: 12px; line-height: 1.4; color: rgba(11, 17, 32, .62); }
.ie-front .ie-cajas { display: flex; flex: none; gap: 16px; }
.ie-front .ie-caja { display: flex; align-items: center; justify-content: center; width: 40px; height: 32px; border-radius: 10px; font-size: 14px; font-weight: 800; line-height: 1; }
.ie-front .ie-caja-ok { background: rgba(106, 191, 46, .14); color: #2E7D0F; }
.ie-front .ie-caja-1 { background: rgba(245, 197, 24, .18); color: #8A6A00; }
.ie-front .ie-caja-0 { background: rgba(11, 17, 32, .05); color: rgba(11, 17, 32, .40); font-weight: 700; }

/* Tarjeta secundaria "También para tu [modelo]" */
.ie-front .ie-tam { margin-top: 12px; padding: 16px; background: #F6F7FA; border: 1px dashed rgba(11, 17, 32, .16); border-radius: 22px; }
.ie-front .ie-tam-t { margin: 0; font-size: 14px; font-weight: 700; line-height: 1.35; color: #0B1120; }
.ie-front .ie-tam-s { margin: 2px 0 0; font-size: 12px; line-height: 1.4; color: rgba(11, 17, 32, .62); }
.ie-front .ie-chips { display: flex; gap: 8px; margin-top: 12px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.ie-front .ie-chips::-webkit-scrollbar { display: none; }
.ie-front a.ie-chip, .ie-front a.ie-chip:hover, .ie-front a.ie-chip:focus { flex: none; display: flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; background: #fff; border: 1px solid rgba(11, 17, 32, .10); border-radius: 14px; color: #0B1120; text-decoration: none; }
.ie-front .ie-chip-th { flex: none; width: 36px; height: 36px; border-radius: 10px; overflow: hidden; background: #ECEEF3; }
.ie-front .ie-chip-th img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ie-front .ie-chip-txt { display: flex; flex-direction: column; }
.ie-front .ie-chip-n { font-size: 13px; font-weight: 700; line-height: 1.3; white-space: nowrap; }
.ie-front .ie-chip-d { font-size: 11px; font-weight: 600; line-height: 1.3; color: #2E7D0F; white-space: nowrap; }
.ie-front .ie-chip-d.ie-chip-0 { color: rgba(11, 17, 32, .40); }
/* El tema pone white-space:nowrap a todo <button>: los nombres largos se encimaban en los cuadros */
.ie-front button.ie-prod-r { white-space: normal; }
.ie-front .ie-blq .ie-prod-txt { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; }
