/* Flying Penguin: preserve the theme's search styling and keep long products readable. */
.dgwt-wcas-suggestions-wrapp .dgwt-wcas-suggestion-product .dgwt-wcas-content-wrapp {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 8px;
    min-width: 0;
}
html:not(.dgwt-wcas-overlay-mobile-on) .dgwt-wcas-suggestions-wrapp {
    max-height: min(65vh, 620px) !important;
    overflow-y: auto;
    overscroll-behavior: contain;
}
html.dgwt-wcas-overlay-mobile-on .dgwt-wcas-suggestions-wrapp {
    max-height: calc(100vh - 45px) !important;
    max-height: calc(100dvh - 45px) !important;
}
.dgwt-wcas-suggestions-wrapp .dgwt-wcas-meta {
    width: 100%;
    text-align: start;
}
.dgwt-wcas-suggestions-wrapp .dgwt-wcas-suggestion-product .dgwt-wcas-st {
    flex: 1 1 160px;
    min-width: 0;
    width: auto;
    line-height: 1.35;
}
.dgwt-wcas-suggestions-wrapp .dgwt-wcas-suggestion-product .dgwt-wcas-sp {
    flex: 0 1 auto;
    padding-inline-start: 0;
    text-align: start;
    line-height: 1.4;
}
.dgwt-wcas-suggestions-wrapp .dgwt-wcas-sd {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: #595959;
    line-height: 1.4;
}
.dgwt-wcas-suggestions-wrapp .dgwt-wcas-suggestion-more {
    min-height: 44px;
}
.dgwt-wcas-suggestion a:focus-visible,
.dgwt-wcas-search-wrapp button:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
    .dgwt-wcas-search-wrapp *, .dgwt-wcas-suggestions-wrapp * {
        scroll-behavior: auto;
        transition: none;
    }
}

.fpps-search-error{background:#fff;color:#333;padding:12px 16px;font-size:14px;line-height:1.4;border:1px solid #ddd;border-radius:4px;position:relative;z-index:10000}

/* Preview content must not resize or anchor the product list during wheel scrolling. */
.dgwt-wcas-suggestions-wrapp { overflow-anchor: none; }
.dgwt-wcas-details-wrapp { overflow-y: auto !important; overscroll-behavior: contain; overflow-anchor: none; }
