/* FiboSearch presentation only: preserve its result order, links and keyboard selection. */
.dgwt-wcas-suggestions-wrapp {
    border: 1px solid #d5dee8 !important;
    border-radius: 12px !important;
    background: #fff;
    box-shadow: 0 12px 32px rgba(16, 24, 40, .16), 0 2px 6px rgba(16, 24, 40, .06);
    max-height: min(600px, 60dvh) !important;
    overscroll-behavior: contain;
    scroll-padding-bottom: 52px;
    container-type: inline-size;
}
.dgwt-wcas-suggestions-wrapp .dgwt-wcas-suggestion {
    padding: 12px 16px;
    border-bottom: 1px solid #edf1f5;
    color: #20252d;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.4;
}
.dgwt-wcas-suggestions-wrapp .dgwt-wcas-suggestion.dgwt-wcas-suggestion-product {
    min-height: 80px;
    gap: 12px;
}
.dgwt-wcas-suggestions-wrapp .dgwt-wcas-si {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    margin: 0;
}
.dgwt-wcas-suggestions-wrapp .dgwt-wcas-si img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border: 0;
}
.dgwt-wcas-suggestions-wrapp .dgwt-wcas-content-wrapp {
    min-width: 0;
    padding: 0;
    gap: 16px;
    flex: 1;
}
.dgwt-wcas-suggestions-wrapp .dgwt-wcas-st {
    min-width: 0;
    overflow-wrap: anywhere;
}
.dgwt-wcas-suggestions-wrapp .dgwt-wcas-meta { flex-shrink: 0; }
.dgwt-wcas-suggestions-wrapp .dgwt-wcas-sp {
    display: block;
    padding: 0;
    white-space: nowrap;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    color: #6439ee;
}
/* Override the plugin's block amounts without revealing screen-reader-only price labels. */
.dgwt-wcas-suggestions-wrapp .dgwt-wcas-sp > .amount,
.dgwt-wcas-suggestions-wrapp .dgwt-wcas-sp > span[aria-hidden="true"],
.dgwt-wcas-suggestions-wrapp .dgwt-wcas-sp > ins,
.dgwt-wcas-suggestions-wrapp .dgwt-wcas-sp > del { display: inline; }
.dgwt-wcas-suggestions-wrapp .dgwt-wcas-sp ins { background: none; text-decoration: none; }
.dgwt-wcas-suggestions-wrapp .dgwt-wcas-sp .amount,
.dgwt-wcas-suggestions-wrapp .dgwt-wcas-sp bdi,
.dgwt-wcas-suggestions-wrapp .dgwt-wcas-sp .woocommerce-Price-currencySymbol,
.dgwt-wcas-suggestions-wrapp .dgwt-wcas-sp > span[aria-hidden="true"] { color: inherit !important; }
.dgwt-wcas-suggestions-wrapp .dgwt-wcas-sp del { color: #6c7583; font-weight: 400; opacity: 1; margin-right: 5px; }
.dgwt-wcas-suggestions-wrapp .dgwt-wcas-suggestion-headline {
    background: #f7fafd;
    color: #596577;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .04em;
    min-height: 36px;
    padding-top: 8px;
    padding-bottom: 8px;
}
.dgwt-wcas-suggestions-wrapp .dgwt-wcas-suggestion:hover,
.dgwt-wcas-suggestions-wrapp .dgwt-wcas-suggestion-selected { background: #f7fafd; }
.dgwt-wcas-suggestions-wrapp .dgwt-wcas-suggestion:focus-visible {
    outline: 2px solid #6439ee;
    outline-offset: -3px;
}
.dgwt-wcas-suggestions-wrapp .dgwt-wcas-suggestion.dgwt-wcas-suggestion-more {
    position: sticky;
    bottom: 0;
    z-index: 2;
    min-height: 48px;
    background: #6439ee;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-transform: none;
    border: 0;
    box-shadow: 0 -4px 12px rgba(16, 24, 40, .08);
}
.dgwt-wcas-suggestions-wrapp .dgwt-wcas-suggestion-more:focus-visible { outline-color: #fff; }
.dgwt-wcas-suggestions-wrapp .dgwt-wcas-st-more,
.dgwt-wcas-suggestions-wrapp .dgwt-wcas-st-more-total { color: #fff !important; opacity: 1; }
/* A narrow desktop search box needs the same layout as a phone. */
@container (max-width: 560px) {
    .dgwt-wcas-suggestions-wrapp .dgwt-wcas-content-wrapp {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
    .dgwt-wcas-suggestions-wrapp .dgwt-wcas-sp { text-align: left; }
}
.search-holder .search-holder-header { gap: 16px; }
.search-holder .search-holder-header .site-close { flex-shrink: 0; }
.search-holder .site-close a { display: flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; }
.search-holder .site-close a:focus-visible { outline: 2px solid #6439ee; outline-offset: -2px; }
@media (max-width: 991px) {
    .search-holder .search-holder-header { display: flex; justify-content: space-between; align-items: center; padding-top: 12px; }
    .search-holder .search-holder-header .site-close { position: static; }
    body.admin-bar .search-holder { padding-top: 46px; }
    .dgwt-wcas-suggestions-wrapp .dgwt-wcas-suggestion { padding-left: 12px; padding-right: 12px; }
}
