/* Brand artwork only: preserve image files, theme links and carousel structure. */
html body .wd-brand-item img,
html body .wd-product-brands img,
html body img[data-fm-brand-logo] {filter: none !important;opacity: 1 !important;}
html body .fm-logo-slot {
    position: relative;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 0;
    overflow: hidden;
    box-sizing: border-box;
}
html body .wd-brand-item.fm-logo-slot {
    height: 84px !important;
    min-height: 84px !important;
    padding: 0 !important;
}
html body .fm-logo-inline {width:136px;height:84px;max-width:100%;vertical-align:middle;}
html body .fm-logo-slot img.fm-logo-normalized {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: var(--fm-logo-w) !important;
    height: var(--fm-logo-h) !important;
    max-width: none !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    object-fit: fill !important;
    transform: translate(calc(-50% + var(--fm-logo-x)), calc(-50% + var(--fm-logo-y))) !important;
    transform-origin: center;
    border-radius: 0 !important;
    filter: none !important;
    opacity: 1 !important;
}
html body .fm-logo-slot:hover img.fm-logo-normalized {opacity: 1 !important;}
/* Preserve WoodMart's grayscale-to-color hover style on brand display widgets. */
html body:not(.wp-admin) .wd-brands.wd-hover-alt .wd-brand-item img {
    filter: grayscale(1) !important;
    opacity: .5 !important;
    transition: filter .3s ease, opacity .3s ease !important;
}
html body:not(.wp-admin) .wd-brands.wd-hover-alt .wd-brand-item:hover img,
html body:not(.wp-admin) .wd-brands.wd-hover-alt .wd-brand-item:focus-within img {
    filter: none !important;
    opacity: 1 !important;
}
@media(hover:none), (pointer:coarse) {
    html body:not(.wp-admin) .wd-brands.wd-hover-alt .wd-brand-item img {
        filter: none !important;
        opacity: 1 !important;
    }
}
@media(prefers-reduced-motion:reduce) {
    html body:not(.wp-admin) .wd-brands.wd-hover-alt .wd-brand-item img {transition:none !important;}
}
html body .wd-product-brands a.fm-logo-slot {
    width: 136px !important;
    height: 76px !important;
    max-width: 100%;
}
html body.wp-admin .fm-logo-slot img.fm-logo-normalized {filter: none !important;opacity: 1 !important;}
html body.wp-admin .column-thumb .fm-logo-slot {width: 70px;height: 60px;}
html body.wp-admin .form-field .fm-logo-slot {width: 136px;height: 84px;}
html body.wp-admin .form-field .fm-logo-slot + div {line-height: 84px !important;}
html body.wp-admin .fm-brand-logo-guidance {font-size: 13px;color: #646970;max-width: 580px;}
html body .wd-brands .swiper-notification {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
}
@media(max-width:1024px) {
    html body .wd-brand-item.fm-logo-slot {height: 76px !important;min-height: 76px !important;}
}
@media(max-width:600px) {
    html body .wd-brand-item.fm-logo-slot {height: 72px !important;min-height: 72px !important;}
    html body .wd-product-brands a.fm-logo-slot {width: 112px !important;height: 64px !important;}
}
