/* FerreImpulso 4.4 DEV5 · Original CSS using user-provided ATHENS layout references.
   Isolated layer on top of v4.3; no change to Woo checkout or tax logic. */
:root{--fi44-ink:#25282c;--fi44-quiet:#777b81;--fi44-rule:#e4e6e8;--fi44-action:var(--fi3-blue,#0052c7)}
body.fi3-premium{font-synthesis:none}
/* Reference-style white header and slim, crisp blue navigation. */
.fi3-topbar{background:#f7f7f7!important;border-bottom:1px solid #e6e6e6!important}
.fi3-head-layout{min-height:88px!important;gap:13px!important}
.fi3-logo{flex:0 0 auto}
.fi3-search{max-width:none;min-width:0}
.fi3-search input[type="search"]{min-width:0;overflow:hidden;text-overflow:ellipsis}
.fi3-head-actions{flex:0 0 auto}
.fi3-nav-inner{min-height:52px!important}
.fi3-nav .fi3-main-menu>li>a,.fi3-nav .fi3-all-categories,.fi3-nav-promo{font-size:12px!important;font-weight:650!important}
.fi3-nav .fi3-all-categories{white-space:nowrap}
.fi3-head-layout :is(button,a,input,select):focus-visible,.fi3-nav :is(button,a):focus-visible{outline:2px solid #ff912f!important;outline-offset:2px}
/* Hero: the editor supplies campaign photography. Optional mobile art overrides it only on phones. */
.fi3-hero{position:relative;overflow:hidden}
.fi3-hero-scene{position:relative;overflow:hidden}
.fi44-hero-mobile-photo{display:none;position:absolute;inset:0;z-index:1;background-repeat:no-repeat;background-size:cover;background-position:60% center}
.fi3-hero-copy{z-index:3}
.fi3-hero-copy h1{font-weight:600!important;max-width:565px!important;letter-spacing:-1.15px!important}
.fi3-hero-copy p{max-width:465px!important}
.fi3-hero-controls{z-index:15}
.fi3-hero-cta{border-radius:3px!important}
/* In a real store the fallback collage comes from WooCommerce images; no bundled cartoon art. */
.fi42-hero-with-products{background:#111925!important}
.fi42-hero-art{border-radius:0!important}
.fi42-hero-art img{mix-blend-mode:normal!important;filter:brightness(.76) contrast(1.11) saturate(.92)!important}
.fi42-hero-collage:before{background:linear-gradient(90deg,#06101df7 0%,#07121ee9 29%,#091322a8 52%,#15121c68 100%)!important}
/* Compact reference rhythm in category banners and content sections. */
.fi3-home .fi3-benefits{margin-bottom:4px}
.fi3-home .fi4-category-banners{margin-top:60px!important;margin-bottom:64px!important}
.fi4-banner-grid{gap:14px!important}
.fi4-banner-tile{border-radius:4px!important;background-position:center;background-size:cover}
.fi4-banner-caption{padding:26px 24px!important;max-width:95%}
.fi4-banner-caption h2{font-weight:650!important;letter-spacing:-.35px}
.fi4-banner-caption p{line-height:1.47!important}
.fi4-tile-label{font-size:10px!important;border-radius:0 0 3px 3px!important}
.fi3-home .fi3-section{scroll-margin-top:150px}
.fi3-heading h2,.fi42-deals-heading h2{font-family:Inter,Arial,sans-serif!important;font-weight:500!important;letter-spacing:-.45px}
.fi3-heading-link{display:inline-flex!important;align-items:center;gap:8px;border:1px solid #dedede!important;border-radius:3px!important;color:#333!important}
.fi3-category-tile{border-radius:4px!important;overflow:hidden}
.fi3-cat-image img{width:100%!important;height:100%!important;object-fit:cover!important}
.fi3-cat-shade{background:linear-gradient(180deg,#00000000 31%,#000000bd 100%)!important}
.fi3-cat-caption{padding:19px 22px!important}
.fi3-cat-caption strong{font-weight:650!important}
.fi3-cat-caption small{display:none!important}
/* Cards: same markup in home, category archives, related and search results. */
.fi3-product-card.fi-card{background:#fff!important;border-color:#e3e3e3!important;box-shadow:0 1px 2px #00000005!important;border-radius:4px!important}
.fi3-product-card.fi-card:hover{border-color:#b7cbe8!important;box-shadow:0 7px 20px #00000010!important}
.fi3-product-photo{padding:14px 11px 6px!important}
.fi3-product-photo>a{display:grid!important;place-items:center!important}
.fi3-product-photo img{width:100%!important;height:100%!important;object-fit:contain!important;object-position:center!important;max-width:100%!important}
.fi3-product-info{padding:11px 13px 13px!important;display:flex!important;flex-direction:column!important;min-width:0!important}
.fi3-product-meta{font-size:10px!important;color:#777!important;min-height:15px!important}
.fi3-product-name{font-size:12.6px!important;line-height:1.43!important;min-height:53px!important;max-height:4.35em!important;overflow:hidden!important;letter-spacing:0!important;font-weight:400!important}
.fi3-product-specs{font-size:10.8px!important;color:#7a7a7a!important;line-height:1.55!important;max-height:3.2em!important}
.fi4-card-stock-row{align-items:center!important;gap:7px!important;min-height:20px}
.fi3-product-card .fi3-stock{font-size:10px!important;display:inline-flex!important;align-items:center!important;border-radius:12px!important;white-space:nowrap!important;padding:4px 8px!important}
.fi4-card-rating{display:inline-flex;align-items:center;max-width:100%}
.fi4-card-rating .star-rating{font-size:12px!important}
.fi3-product-bottom{margin-top:auto!important;gap:9px!important}
.fi3-product-price{min-height:35px!important;line-height:1.35!important;font-size:15px!important}
.fi3-product-price del{font-size:11px!important;opacity:.7!important}
.fi3-product-price ins{color:#e31b23!important;text-decoration:none!important}
.fi3-card-button{background:#fff!important;color:var(--fi44-action)!important;border:1px solid var(--fi44-action)!important;min-height:43px!important;line-height:1.25!important;font-size:12px!important;font-weight:500!important;border-radius:3px!important;text-align:center;white-space:normal!important}
.fi3-card-button:hover,.fi3-card-button:focus-visible{background:var(--fi44-action)!important;color:white!important}
.fi41-quickview-trigger{padding:9px!important;bottom:11px!important;right:11px!important}
.fi3-products-grid .fi3-compare-add{font-size:11px!important;cursor:pointer}
/* Make price/button baselines consistent, regardless of SKU/spec lengths. */
.fi3-section-featured .fi3-product-info,.fi42-deals-grid .fi3-product-info{min-height:300px!important}
.fi3-section-popular .fi3-product-info{min-height:300px!important}
.fi3-section-featured .fi3-product-photo,.fi42-deals-grid .fi3-product-photo{height:227px!important}
/* Archive tracks the supplied 4-card grid/sidebar ratios. */
.fi3-shop{max-width:var(--fi3-max,1320px)}
.fi3-shop .fi3-archive-hero{min-height:150px!important;margin-top:17px!important;margin-bottom:21px!important;background-position:center!important;background-size:cover!important}
.fi3-shop .fi3-archive-hero h1{font-size:23px!important;font-weight:600!important}
.fi3-subcategory-strip{padding-bottom:8px}
.fi3-subcategory{color:#797979!important;line-height:1.3!important}
.fi3-subcategory small{font-size:10px;color:#9a9a9a}
.fi3-shop .fi3-shop-layout{gap:25px!important}
.fi3-shop .fi3-shop-toolbar{border-radius:2px!important;margin-bottom:19px!important}
.fi3-shop .fi3-archive-grid .fi3-product-photo{height:193px!important}
.fi3-shop .fi3-archive-grid:not(.fi43-list-view) .fi3-product-info{min-height:294px!important}
.fi3-shop .fi3-archive-grid .fi3-product-card{min-width:0}
.fi3-shop .fi43-list-view .fi3-product-photo{height:100%!important}
.fi3-shop .fi43-list-view .fi3-product-info{min-height:0!important}
.fi3-filter-toggle,.fi43-view-button{transition:border-color .15s,color .15s,background .15s}
.fi43-view-button:hover,.fi3-filter-toggle:hover{border-color:var(--fi44-action)!important;color:var(--fi44-action)!important}
/* Match ATHENS mobile: compact header, 2-column products, bottom icon dock, off-canvas filters. */
@media (max-width:1190px) and (min-width:768px){
 .fi3-head-layout{min-height:75px!important}
 .fi3-shop .fi3-archive-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:767px){
 .fi3-topbar{min-height:34px!important}.fi3-topbar-inner{justify-content:center!important;text-align:center!important}.fi3-topbar-links{display:none!important}
 .fi3-head-layout{height:72px!important;min-height:72px!important;gap:5px!important}
 .fi3-head-actions{gap:2px!important}
 .fi3-logo .fi-custom-logo{max-width:132px!important;max-height:43px!important}
 .fi44-hero-mobile-photo{display:block}
 .fi3-hero-slide.fi44-has-mobile-photo>.fi3-hero-bg,.fi3-hero-slide.fi44-has-mobile-photo>.fi42-hero-collage{display:none}
 .fi3-hero-scene,.fi3-hero-layout{height:365px!important;min-height:365px!important}
 .fi3-hero-copy{max-width:305px!important;width:89%!important}
 .fi3-hero-copy h1{font-size:30px!important;line-height:1.16!important;max-width:275px!important;letter-spacing:-.6px!important}
 .fi3-hero-copy p{font-size:13.5px!important;max-width:280px!important}
 .fi3-hero-controls{bottom:16px!important}
 .fi3-home .fi4-category-banners{margin-top:35px!important;margin-bottom:41px!important}
 .fi4-banner-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}
 .fi4-banner-2{grid-column:1/-1!important;grid-row:1!important}
 .fi4-banner-tile{min-width:0!important;height:187px!important}
 .fi4-banner-2{height:250px!important}
 .fi4-banner-caption{padding:15px 13px!important}
 .fi4-banner-caption h2{font-size:16px!important}
 .fi4-banner-caption p{display:none!important}
 .fi4-banner-caption .fi4-solid-link{min-height:34px!important;font-size:11px!important;padding:8px 11px!important}
 .fi3-heading h2,.fi42-deals-heading h2{font-size:20px!important}
 .fi3-section-featured .fi3-product-photo,.fi42-deals-grid .fi3-product-photo{height:162px!important}
 .fi3-product-photo{padding:9px 7px!important}
 .fi3-product-info,.fi3-section-featured .fi3-product-info,.fi42-deals-grid .fi3-product-info,.fi3-section-popular .fi3-product-info{min-height:268px!important;padding:9px 9px 10px!important}
 .fi3-product-meta{font-size:9.2px!important}
 .fi3-product-name{font-size:11.7px!important;min-height:51px!important}
 .fi3-product-specs{font-size:10px!important}
 .fi3-product-card .fi3-stock{font-size:9px!important;padding:3px 6px!important}
 .fi4-card-rating .star-rating{font-size:10px!important}
 .fi3-product-price{font-size:13.5px!important}
 .fi3-card-button{min-height:37px!important;font-size:11px!important}
 .fi41-quickview-trigger{display:none!important}
 .fi3-shop .fi3-archive-hero{min-height:158px!important;margin-top:5px!important;padding:19px!important}
 .fi3-shop .fi3-archive-hero h1{font-size:20px!important}
 .fi3-shop .fi3-subcategory-strip{margin-top:15px!important;margin-bottom:18px!important}
 .fi3-shop .fi3-subcategory{flex:0 0 150px!important}
 .fi3-shop .fi3-shop-toolbar{padding:10px!important}
 .fi3-shop .fi3-archive-grid:not(.fi43-list-view){grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .fi3-shop .fi3-archive-grid:not(.fi43-list-view) .fi3-product-photo{height:168px!important}
 .fi3-shop .fi3-archive-grid:not(.fi43-list-view) .fi3-product-info{min-height:268px!important}
 .fi3-shop .fi43-list-view .fi3-product-info{min-height:0!important}
 .fi3-mobile-bar{min-height:64px!important;padding-bottom:env(safe-area-inset-bottom)!important}
 .fi3-mobile-bar :is(button,a){gap:2px!important}
 .fi3-mobile-bar :is(button,a) span{font-size:10px!important}
 .fi3-footer{padding-bottom:80px}
}
@media(max-width:375px){
 .fi3-head-layout{gap:3px!important}
 .fi3-logo .fi-custom-logo{max-width:116px!important}
 .fi3-products-grid{gap:7px!important}
 .fi3-product-info,.fi3-section-featured .fi3-product-info,.fi42-deals-grid .fi3-product-info,.fi3-section-popular .fi3-product-info{padding:8px!important}
 .fi3-shop .fi3-archive-grid:not(.fi43-list-view) .fi3-product-photo{height:146px!important}
 .fi3-shop .fi3-archive-grid:not(.fi43-list-view) .fi3-product-info{min-height:275px!important}
}
@media(prefers-reduced-motion:reduce){.fi3-product-card,.fi3-product-photo img,.fi3-card-button{transition:none!important}}
