/* FerreImpulso 5.7 · unificación visual a partir de las capturas ATHENS.
 * No se usan fotos ni CSS propietarios de Shopify. Ajustes editables desde WP. */
:root{--fi57-ink:#202328;--fi57-muted:#707781;--fi57-rule:#e2e4e8;--fi57-blue:var(--fi3-blue,#0052c7);--fi57-ease:cubic-bezier(.22,1,.36,1)}
/* Layout consistente: el contenido no debe parecer una serie de bloques aislados. */
.fi3-home{background:#fff;color:var(--fi57-ink)}
.fi3-home > .fi49-section-shell:not(.fi49-shell-hero):not(.fi49-shell-benefits):not(.fi49-shell-ticker):not(.fi49-shell-benefits_bottom){padding-block:clamp(16px,2vw,27px)!important}
.fi3-home > .fi49-shell-benefits + .fi49-section-shell{padding-top:clamp(26px,4vw,52px)!important}
.fi3-home .fi3-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:22px!important}
.fi3-home .fi3-heading h2,.fi3-home .fi42-deals-heading>h2{font-size:clamp(19px,1.6vw,25px)!important;line-height:1.28!important;letter-spacing:-.035em!important;font-weight:650!important;color:var(--fi57-ink)!important;margin:0!important}
.fi3-home .fi3-heading-link{display:inline-flex;gap:6px;align-items:center;font-weight:600;border:1px solid #d6dbe2;color:#222;background:#fff;border-radius:3px;min-height:39px;padding:0 13px;text-decoration:none}
.fi3-home .fi3-heading-link:hover{border-color:var(--fi57-blue);color:var(--fi57-blue)}
/* Hero: ATHENS usa fotografías a sangría, texto a la izquierda y controles discretos centrados. */
.fi3-home .fi57-hero{position:relative;margin:0!important;padding:0!important;isolation:isolate;overflow:hidden;background:#08111e}
.fi3-home .fi57-hero .fi3-hero-scene,.fi3-home .fi57-hero .fi3-hero-layout{height:var(--fi57-hero-height,480px)!important;min-height:var(--fi57-hero-height,480px)!important}
.fi3-home .fi57-hero .fi3-hero-scene{position:relative;isolation:isolate;background:radial-gradient(circle at 65% 30%,#22425e,#080d16 75%);overflow:hidden}
.fi57-hero-slide[hidden]{display:none!important}
.fi57-hero-picture{display:block;position:absolute;inset:0;z-index:-2;width:100%;height:100%;overflow:hidden}
.fi57-hero-picture img{width:100%!important;height:100%!important;object-fit:cover!important;object-position:50% 50%;filter:contrast(1.06) saturate(.90);transform:none!important}
.fi57-hero-shade{position:absolute;inset:0;pointer-events:none;z-index:-1;background:linear-gradient(90deg,rgba(5,11,20,.90),rgba(7,13,23,.62) 45%,rgba(4,9,20,.12) 100%)}
.fi3-home .fi57-hero .fi3-hero-layout{display:flex!important;align-items:center!important;position:relative;z-index:1}
.fi3-home .fi57-hero .fi3-hero-copy{padding:0!important;margin:0!important;position:relative;max-width:575px!important}
.fi3-home .fi57-hero .fi3-hero-copy h1,.fi3-home .fi57-hero .fi3-hero-copy h2{font-size:clamp(33px,3.5vw,52px)!important;font-weight:650!important;letter-spacing:-.04em!important;line-height:1.12!important;color:white!important;max-width:590px!important;margin:0 0 14px!important}
.fi3-home .fi57-hero .fi3-hero-copy p{font-size:clamp(14px,1.15vw,17px)!important;font-weight:400;line-height:1.48!important;max-width:490px!important;color:#f0f3f8;margin:0 0 22px!important}
.fi3-home .fi57-hero .fi3-hero-cta{min-height:45px!important;padding:12px 23px!important;font-weight:650;border-radius:3px!important}
.fi57-hero .fi3-hero-controls{bottom:21px!important;z-index:5}
.fi57-hero .fi3-hero-controls>button{width:30px!important;height:30px!important;border:0!important;background:none!important;color:#fff!important;opacity:.92}
.fi57-hero .fi3-dots{display:flex!important;align-items:center;gap:8px}
/* Beneficios: banda clara continua sin altura excesiva. */
.fi3-home .fi3-benefits{background:#f7f8fa;border-bottom:1px solid #edf0f3}
.fi3-home .fi3-benefit-grid{min-height:83px;align-items:center;padding:13px 0!important;gap:20px}
.fi3-home .fi3-benefit{min-width:0}
.fi3-home .fi3-benefit strong{font-size:13px!important;font-weight:650;line-height:1.3}
.fi3-home .fi3-benefit small{font-size:11px!important;color:#5d6470;line-height:1.4}
/* Mosaico de acceso al catálogo: dos filas como la referencia, tarjetas asimétricas. */
.fi3-home .fi3-category-mosaic{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;grid-auto-rows:clamp(175px,18vw,280px)!important;gap:15px!important}
.fi3-home .fi3-category-mosaic .fi3-category-tile{min-width:0!important;grid-column:auto!important;grid-row:auto!important;height:auto!important;position:relative;overflow:hidden;border-radius:3px!important;background:#10161d}
.fi3-home .fi3-category-mosaic .fi3-cat-tile-1,.fi3-home .fi3-category-mosaic .fi3-cat-tile-6{grid-column:span 2!important}
.fi3-home .fi3-category-mosaic .fi3-cat-image,.fi3-home .fi3-category-mosaic .fi3-cat-image img{width:100%;height:100%;object-fit:cover;display:block}
.fi3-home .fi3-cat-image{position:absolute;inset:0}
.fi3-home .fi3-cat-shade{position:absolute;inset:0;background:linear-gradient(0deg,rgba(0,0,0,.78),rgba(0,0,0,.08) 70%)}
.fi3-home .fi3-category-mosaic .fi3-cat-caption{z-index:2;left:24px!important;bottom:23px!important}
.fi3-home .fi3-category-mosaic .fi3-cat-caption strong{font-size:clamp(15px,1.45vw,22px)!important;font-weight:650;letter-spacing:-.02em}
.fi3-home .fi3-category-mosaic .fi3-cat-caption small{font-size:11px;color:#fff}
@media(hover:hover) and (pointer:fine){
 .fi3-home .fi3-category-mosaic .fi3-cat-image img{transition:transform .60s var(--fi57-ease),filter .45s ease}
 .fi3-home .fi3-category-mosaic .fi3-category-tile:hover .fi3-cat-image img{transform:scale(1.035)!important;filter:saturate(1.08)}
}
/* Tarjetas comunes ATHENS: no saltan, misma altura de pie y borde discreto. */
.fi3-home .fi3-products-grid{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:11px!important;align-items:stretch}
.fi3-home .fi3-product-card{display:flex!important;flex-direction:column;min-width:0;overflow:hidden;background:#fff;border:1px solid #e1e4e8!important;box-shadow:none!important;border-radius:3px!important;transform:none!important}
.fi3-home .fi3-product-photo{height:var(--fi57-card-photo,205px)!important;min-height:var(--fi57-card-photo,205px)!important;position:relative;padding:12px!important;overflow:hidden;background:#fff!important}
.fi3-home .fi3-product-photo img{max-height:calc(var(--fi57-card-photo,205px) - 24px)!important;max-width:100%!important;object-fit:contain!important}
.fi3-home .fi3-product-info{display:flex!important;flex:1!important;min-height:282px!important;flex-direction:column!important;padding:10px 13px 13px!important}
.fi3-home .fi3-product-name{font-size:13px!important;line-height:1.44!important;color:#30333a!important;font-weight:450!important;min-height:55px!important;max-height:4.4em!important;margin:7px 0!important;letter-spacing:0}
.fi3-home .fi3-product-meta{font-size:10px!important;color:#888!important;min-height:16px}
.fi3-home .fi3-product-specs{font-size:10px!important;line-height:1.5!important;color:#6e747d;min-height:35px!important}
.fi3-home .fi3-product-bottom{margin-top:auto!important;gap:8px!important}
.fi3-home .fi3-product-price{font-weight:650!important;font-size:17px!important;min-height:32px!important;margin-top:4px}
.fi3-home .fi3-product-card .fi3-card-button{display:flex!important;justify-content:center;align-items:center;min-height:42px!important;border:1px solid var(--fi57-blue)!important;background:#fff!important;color:var(--fi57-blue)!important;font-weight:600!important;font-size:12px!important;border-radius:3px!important;text-align:center}
.fi3-home .fi3-product-card .fi3-card-button:hover{background:var(--fi57-blue)!important;color:#fff!important}
.fi3-home .fi4-card-stock-row{display:flex!important;align-items:center;justify-content:space-between;gap:3px;min-width:0}
.fi3-home .fi3-stock{flex:0 0 auto;font-size:9px!important;white-space:nowrap}
.fi3-home .fi3-sale-badge{z-index:3}
/* Las vistas de catálogo permanecen en cuatro columnas como ATHENS. */
.fi3-shop .fi3-archive-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}
/* Filas de marcas compactas, scroll horizontal con flechas en el mismo espacio. */
.fi3-home .fi3-brand-row{display:flex!important;gap:11px!important;overflow-x:auto!important;scroll-snap-type:x mandatory;scrollbar-width:thin}
.fi3-home .fi3-brand-item{flex:0 0 calc((100% - 55px)/6);min-width:130px!important;min-height:70px;scroll-snap-align:start;border:1px solid #e4e8ed!important;border-radius:3px!important;box-shadow:none!important}
.fi3-home .fi3-brand-item img{max-height:52px;max-width:100%;object-fit:contain}
/* Iconos de accesos y bloque editorial mejor alineados. */
.fi3-home .fi49-accessory-row{gap:10px!important}
.fi3-home .fi49-accessory img{aspect-ratio:1.25;object-fit:cover}
.fi3-home .fi4-editorial{border-radius:3px!important;overflow:hidden}
.fi3-home .fi3-blog-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:16px!important}
.fi3-home .fi3-blog-card{display:flex;flex-direction:column;min-width:0}
.fi3-home .fi3-blog-card>img,.fi3-home .fi3-blog-card .fi56-demo-cover{aspect-ratio:1.6!important;height:auto!important;object-fit:cover!important;min-width:0;border-radius:3px!important}
.fi3-home .fi3-blog-card strong{line-height:1.42!important;font-size:13px!important;font-weight:550}
/* Comparación por una subcategoría: cambia sin refrescar la tienda. */
.fi57-compare-families{display:flex;overflow-x:auto;gap:7px;margin:0 0 14px;padding:3px 0 6px;scrollbar-width:thin}
.fi57-compare-family{border:1px solid #dce2e9;color:#344355;background:#fff;white-space:nowrap;padding:9px 13px;border-radius:3px;font-size:12px;font-weight:550;cursor:pointer;min-height:36px}
.fi57-compare-family.is-active,.fi57-compare-family:hover,.fi57-compare-family:focus-visible{background:var(--fi57-blue);border-color:var(--fi57-blue);color:white;outline-offset:2px}
.fi57-compare-family:disabled{opacity:.6;cursor:progress}
.fi57-compare-feedback{font-size:12px;color:#4b5b6c;margin:3px 0 9px}
.fi57-loading .fi49-comp-scroll{opacity:.48;pointer-events:none}
/* Escritorio exclusivamente: nunca mostrar la barra inferior de celular. */
@media(min-width:768px){body.fi3-premium .fi3-mobile-bar{display:none!important;visibility:hidden!important;height:0!important}}
@media(min-width:768px) and (max-width:1200px){
 .fi3-home .fi3-products-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}
 .fi3-home .fi3-brand-item{flex-basis:calc((100% - 33px)/4)}
 .fi3-home .fi3-category-mosaic{grid-auto-rows:210px!important}
}
@media(max-width:767px){
 .fi3-home .fi57-hero .fi3-hero-scene,.fi3-home .fi57-hero .fi3-hero-layout{height:var(--fi57-hero-mobile-height,445px)!important;min-height:var(--fi57-hero-mobile-height,445px)!important}
 .fi57-hero-shade{background:linear-gradient(90deg,rgba(4,9,17,.85),rgba(4,9,17,.48) 72%,rgba(4,9,17,.28))}
 .fi3-home .fi57-hero .fi3-hero-copy{padding:0 18px!important;max-width:380px!important}
 .fi3-home .fi57-hero .fi3-hero-copy h1,.fi3-home .fi57-hero .fi3-hero-copy h2{font-size:clamp(29px,7.4vw,39px)!important;max-width:340px!important}
 .fi3-home .fi57-hero .fi3-hero-copy p{font-size:14px!important;max-width:315px!important}
 .fi3-home .fi3-benefit-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px 8px!important;padding:16px 0!important}
 .fi3-home .fi3-benefit strong{font-size:11px!important}.fi3-home .fi3-benefit small{font-size:10px!important}
 .fi3-home .fi3-category-mosaic{grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-auto-rows:160px!important;gap:8px!important}
 .fi3-home .fi3-category-mosaic .fi3-cat-tile-1,.fi3-home .fi3-category-mosaic .fi3-cat-tile-6{grid-column:span 2!important}
 .fi3-home .fi3-category-mosaic .fi3-cat-caption{bottom:12px!important;left:12px!important}
 .fi3-home .fi3-category-mosaic .fi3-cat-caption strong{font-size:16px!important}
 .fi3-home .fi3-products-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important}
 .fi3-home .fi3-product-photo{height:160px!important;min-height:160px!important;padding:7px!important}
 .fi3-home .fi3-product-photo img{max-height:146px!important}
 .fi3-home .fi3-product-info{min-height:272px!important;padding:9px 8px 10px!important}
 .fi3-home .fi3-product-name{font-size:11px!important;min-height:49px!important;margin:4px 0!important}
 .fi3-home .fi3-product-specs{font-size:9px!important;min-height:32px!important}
 .fi3-home .fi3-product-price{font-size:14px!important}
 .fi3-home .fi3-product-card .fi3-card-button{font-size:11px!important;min-height:40px!important}
 .fi3-shop .fi3-archive-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .fi3-home .fi3-brand-item{flex:0 0 42%;min-width:120px!important}
 .fi3-home .fi3-blog-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
 .fi3-home .fi3-blog-card strong{font-size:11px!important}
 .fi3-home .fi3-heading h2,.fi3-home .fi42-deals-heading>h2{font-size:19px!important}
 .fi57-compare-families{margin:0 0 9px}
}
@media(prefers-reduced-motion:reduce){.fi57-hero-picture img,.fi3-home .fi3-category-mosaic img,.fi3-home .fi3-product-card{animation:none!important;transition:none!important}}
