/* Stable, roomy storefront search. Mobile keeps FiboSearch's native overlay. */
@media (min-width: 900px) {
    body.solartek-storefront-v3 .l-header .w-html.ush_html_1,
    body.solartek-storefront-v3 .l-header .dgwt-wcas-search-wrapp {
        width: clamp(360px, 30vw, 500px) !important;
        max-width: 500px;
    }

    body.solartek-storefront-v3 .l-header .w-html.ush_html_1 {
        flex: 0 1 500px;
    }

    body.solartek-storefront-v3 .l-header .dgwt-wcas-search-form {
        width: 100%;
    }

    body.solartek-storefront-v3 .dgwt-wcas-suggestions-wrapp.dgwt-wcas-suggestions-wrapp-fixed {
        width: min(680px, calc(100vw - 32px)) !important;
        max-width: 680px !important;
        border: 1px solid var(--st-line, #dedfe2);
        border-radius: 0 0 10px 10px;
        box-shadow: 0 18px 50px rgba(24, 25, 27, .14);
        overflow: hidden auto;
    }

    body.solartek-storefront-v3 .dgwt-wcas-suggestions-wrapp .dgwt-wcas-suggestion {
        min-height: 44px;
        padding-inline: 14px;
    }

    body.solartek-storefront-v3 .dgwt-wcas-details-wrapp {
        display: none !important;
    }
}

@media (min-width: 900px) and (max-width: 1279px) {
    body.solartek-storefront-v3 .l-header .w-html.ush_html_1,
    body.solartek-storefront-v3 .l-header .dgwt-wcas-search-wrapp {
        width: clamp(340px, 29vw, 400px) !important;
        max-width: 400px;
    }

    body.solartek-storefront-v3 .l-header .w-html.ush_html_1 {
        flex-basis: 400px;
    }

    body.solartek-storefront-v3 .dgwt-wcas-suggestions-wrapp.dgwt-wcas-suggestions-wrapp-fixed {
        width: min(620px, calc(100vw - 32px)) !important;
        max-width: 620px !important;
    }
}

@media (max-width: 899px) {
    body.solartek-storefront-v3 .dgwt-wcas-search-wrapp-mobile,
    body.solartek-storefront-v3 .dgwt-wcas-search-wrapp-mobile .dgwt-wcas-search-form,
    body.solartek-storefront-v3 .dgwt-wcas-search-wrapp-mobile + .dgwt-wcas-suggestions-wrapp {
        width: 100% !important;
        max-width: none !important;
    }
}
