/* FERREIMPULSO 7.3 – single final scoped fidelity pass.
   Edits six popular cards, product listing consistency and mobile rhythm.
   No changes to cart/checkout/payment screens. */
body.fi3-premium .fi3-home .fi73-category-card {background:#171b21!important;min-width:0;overflow:hidden;isolation:isolate}
body.fi3-premium .fi3-home .fi73-category-card .fi3-cat-image {inset:0;position:absolute;overflow:hidden}
body.fi3-premium .fi3-home .fi73-category-card .fi69-category-picture {position:absolute;inset:0;display:block}
body.fi3-premium .fi3-home .fi73-category-card .fi69-category-picture img {width:100%;height:100%;object-fit:cover;object-position:var(--fi69-category-position,50%) center;transform:scale(1);transition:transform .52s cubic-bezier(.2,.65,.25,1)}
body.fi3-premium .fi3-home .fi73-category-card .fi73-category-video {position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:var(--fi69-category-position,50%) center;pointer-events:none;opacity:0;transition:opacity .4s ease}
body.fi3-premium .fi3-home .fi73-category-card .fi73-category-video.fi73-is-playing {opacity:1}
body.fi3-premium .fi3-home .fi73-category-card .fi3-cat-shade {position:absolute;inset:0;z-index:1;opacity:1;background:linear-gradient(to top,rgba(5,12,20,var(--fi73-overlay,.58)) 0%,rgba(5,12,20,.12) 60%,transparent 90%)!important}
body.fi3-premium .fi3-home .fi73-category-card .fi3-cat-caption {position:absolute;z-index:2;left:0;right:0;bottom:0;color:#fff;pointer-events:none;max-width:100%}
body.fi3-premium .fi3-home .fi73-category-card .fi3-cat-caption strong {text-shadow:0 1px 7px #0006;max-width:100%;white-space:normal;overflow-wrap:break-word}
body.fi3-premium .fi3-home .fi73-category-card:focus-visible {outline:3px solid #1681ff!important;outline-offset:3px}
@media (hover:hover) and (pointer:fine) {body.fi3-premium .fi3-home .fi73-category-card:hover .fi69-category-picture img {transform:scale(1.045)!important}}
/* Balanced cards across offers, home grid, related products and category archives. */
body.fi3-premium :is(.fi3-home,.fi3-shop,.fi3-related) .fi3-product-card {min-width:0;box-sizing:border-box;overflow:hidden;box-shadow:none;transition:border-color .18s ease,box-shadow .18s ease!important}
body.fi3-premium :is(.fi3-home,.fi3-shop,.fi3-related) .fi3-product-card .fi3-product-photo {overflow:hidden;min-width:0}
body.fi3-premium :is(.fi3-home,.fi3-shop,.fi3-related) .fi3-product-card .fi3-product-photo img {width:100%;max-width:100%;height:100%;object-fit:contain;object-position:center}
body.fi3-premium :is(.fi3-home,.fi3-shop,.fi3-related) .fi3-product-card .fi3-product-info {min-width:0;box-sizing:border-box}
body.fi3-premium :is(.fi3-home,.fi3-shop,.fi3-related) .fi3-product-card .fi3-product-bottom {margin-top:auto}
body.fi3-premium :is(.fi3-home,.fi3-shop,.fi3-related) .fi3-product-card .fi3-card-button {min-height:39px;display:flex;justify-content:center;align-items:center;text-align:center;line-height:1.25;max-width:100%}
body.fi3-premium :is(.fi3-home,.fi3-shop,.fi3-related) .fi3-product-card:focus-within {outline:2px solid var(--fi3-blue,#0052c7);outline-offset:-2px}
/* Preserve the image in visible cards; defer decorative media, not product information. */
body.fi3-premium .fi3-home :is(.fi49-section-shell,.fi3-heading,.fi3-section-products) {scroll-margin-top:116px}
@media(max-width:767px){
 body.fi3-premium .fi3-home>.fi49-section-shell {max-width:100%;min-width:0;box-sizing:border-box}
 body.fi3-premium .fi3-home :is(.fi3-container,.fi3-section,.fi49-section) {box-sizing:border-box;max-width:100%;min-width:0}
 body.fi3-premium .fi3-home .fi73-category-mosaic {margin-inline:auto!important;width:100%!important;max-width:100%!important}
 body.fi3-premium .fi3-home .fi73-category-card {flex:0 0 min(82vw,330px)!important;max-width:min(82vw,330px)!important;min-width:0!important}
 body.fi3-premium :is(.fi3-home,.fi3-shop,.fi3-related) .fi3-product-card .fi3-card-button {font-size:12px;min-height:42px}
 body.fi3-premium .fi3-mobile-bar :is(input,button,select) {touch-action:manipulation}
 body.fi3-premium .fi3-home :is(input,select,textarea),body.fi3-premium .fi3-shop :is(input,select,textarea) {font-size:16px!important}
}
@media(min-width:768px){body.fi3-premium .fi3-mobile-bar {display:none!important}}
@media(prefers-reduced-motion:reduce){body.fi3-premium .fi3-home .fi73-category-card :is(img,video) {transition:none!important}}
