/* Scope fixes to the search overlay; keep product and cart layouts unchanged. */
body .xboats-search-card__image img {
    object-fit: contain !important;
    object-position: center !important;
}
body button.xboats-search-close {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    min-width: 44px;
    min-height: 44px;
    font-size: 0 !important;
    line-height: 1 !important;
}
body button.xboats-search-close::before,
body button.xboats-search-close::after {
    content: '' !important;
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    width: 18px !important;
    height: 2px !important;
    margin: 0 !important;
    background: currentColor !important;
    border-radius: 2px;
    transform: translate(-50%, -50%) rotate(45deg) !important;
}
body button.xboats-search-close::after {
    transform: translate(-50%, -50%) rotate(-45deg) !important;
}
